diff --git a/.bowerrc b/.bowerrc deleted file mode 100644 index 6c24ccbe..00000000 --- a/.bowerrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "directory": "_bower_components/", - "resolvers": [ - ] -} \ No newline at end of file diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..0cb4383a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.elm] +end_of_line = lf 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/.gitignore b/.gitignore index a4aaaf24..f500d87c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ -bower_components/ -_bower_components/ -_InstallPackages/ +/_InstallPackages/ /node_modules/ 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/.yarnrc b/.yarnrc new file mode 100644 index 00000000..b20c7c1b --- /dev/null +++ b/.yarnrc @@ -0,0 +1 @@ +--add.exact true diff --git a/Blob_079824b6c1/Blob.min.js b/Blob_079824b6c1/Blob.min.js deleted file mode 100644 index 26d63250..00000000 --- a/Blob_079824b6c1/Blob.min.js +++ /dev/null @@ -1,9 +0,0 @@ -/* Blob.js - * A Blob implementation. - * 2014-07-24 - * - * By Eli Grey, http://eligrey.com - * By Devin Samarin, https://github.com/dsamarin - * License: MIT - * See https://github.com/eligrey/Blob.js/blob/master/LICENSE.md - */!function(t){"use strict";if(t.URL=t.URL||t.webkitURL,t.Blob&&t.URL)try{return void new Blob}catch(t){}var e=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||function(t){var e=function(t){return Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1]},n=function(){this.data=[]},o=function(t,e,n){this.data=t,this.size=t.length,this.type=e,this.encoding=n},i=n.prototype,a=o.prototype,r=t.FileReaderSync,c=function(t){this.code=this[this.name=t]},l="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),s=l.length,d=t.URL||t.webkitURL||t,u=d.createObjectURL,f=d.revokeObjectURL,R=d,p=t.btoa,h=t.atob,b=t.ArrayBuffer,g=t.Uint8Array,w=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(o.fake=a.fake=!0;s--;)c.prototype[l[s]]=s+1;return d.createObjectURL||(R=t.URL=function(t){var e,n=document.createElementNS("http://www.w3.org/1999/xhtml","a");return n.href=t,"origin"in n||("data:"===n.protocol.toLowerCase()?n.origin=null:(e=t.match(w),n.origin=e&&e[1])),n}),R.createObjectURL=function(t){var e,n=t.type;return null===n&&(n="application/octet-stream"),t instanceof o?(e="data:"+n,"base64"===t.encoding?e+";base64,"+t.data:"URI"===t.encoding?e+","+decodeURIComponent(t.data):p?e+";base64,"+p(t.data):e+","+encodeURIComponent(t.data)):u?u.call(d,t):void 0},R.revokeObjectURL=function(t){"data:"!==t.substring(0,5)&&f&&f.call(d,t)},i.append=function(t){var n=this.data;if(g&&(t instanceof b||t instanceof g)){for(var i="",a=new g(t),l=0,s=a.length;l1?e:this.data.length),n,this.encoding)},a.toString=function(){return"[object Blob]"},a.close=function(){this.size=0,delete this.data},n}(t);t.Blob=function(t,n){var o=n?n.type||"":"",i=new e;if(t)for(var a=0,r=t.length;a -HTML Skins ---------------- -The skin object mentioned above can also be used from HTML skins. It would +## HTML Skins + +The skin object mentioned above can also be used from HTML skins. It would look something like this: - -Code ---------------- -There is also an API to request JavaScript Libraries from code. This is needed + +## Code + +There is also an API to request JavaScript Libraries from code. This is needed in skins prior to DNN 7.3 and the introduction of the `JavaScriptLibraryInclude` -skin object, as well as from extension code (though extensions can also make use -of the skin object, if desired). The primary entry point for the API is the -`RequestRegistration` method of the `JavaScript` static class in the -`DotNetNuke.Framework.JavaScriptLibraries` namespace. There are three overloads +skin object, as well as from extension code (though extensions can also make use +of the skin object, if desired). The primary entry point for the API is the +`RequestRegistration` method of the `JavaScript` static class in the +`DotNetNuke.Framework.JavaScriptLibraries` namespace. There are three overloads to `RequestRegistration`: JavaScript.RequestRegistration(String libraryName) @@ -78,66 +87,39 @@ to `RequestRegistration`: JavaScript.RequestRegistration(String libraryName, Version version, SpecificVersion specificity) The overload which doesn't specify a version will request the latest version of -the library. In order to avoid your extensions breaking unexpectedly, it's -probably best to always specify a version number. The second overload, which +the library. In order to avoid your extensions breaking unexpectedly, it's +probably best to always specify a version number. The second overload, which includes the version number will request that specific version of the library. -If that version isn't installed, it will instead display an error. The third +If that version isn't installed, it will instead display an error. The third overload is probably the best to use for most scenarios. It allows you to pass -a value indicating how specific the version is, as a value of the -`SpecificVersion` enum. The possible values are `Latest`, `LatestMajor`, -`LatestMinor`, and `Exact`. `Latest` is the behavior of the overload with one -argument, `Exact` is the behavior of the overload with two arguments, while the -other two values allow you to get behavior that is in between strict and loose. - +a value indicating how specific the version is, as a value of the +`SpecificVersion` enum. The possible values are `Latest`, `LatestMajor`, +`LatestMinor`, and `Exact`. `Latest` is the behavior of the overload with one +argument, `Exact` is the behavior of the overload with two arguments, while the +other two values allow you to get behavior that is in between strict and loose. -JavaScript Library Features -=============== +# JavaScript Library Features -When requesting that a JavaScript Library is registered, DNN ensures that -both that library's JavaScript file and all of its dependencies' JavaScript +When requesting that a JavaScript Library is registered, DNN ensures that +both that library's JavaScript file and all of its dependencies' JavaScript files, get included on the page. The JavaScript library itself will define the -properties that determine how the file is included on the page. Specifically, +properties that determine how the file is included on the page. Specifically, the library will indicate its preferred location (from page head, body top, and -body bottom), and can provide a URL to the script on a +body bottom), and can provide a URL to the script on a CDN (along with a JavaScript expression to use to verify that the CDN loaded the script correctly, so that DNN can fallback to the local version if the CDN is down). The host -administrator can configure whether to use the CDN or not (it is off by +administrator can configure whether to use the CDN or not (it is off by default). The other main feature that JavaScript Libraries give you is de-duplication of -scripts. This means that if your module and your skin both request the +scripts. This means that if your module and your skin both request the [html5shiv library](http://www.dnnsoftware.com/forge/html5shiv), it only gets -included on the page once (rather than both components including their own -version of the script). Likewise, if both components request different versions +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. +# License -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). +This code is released under the [MIT license](LICENSE.md). However, the individual libraries are licensed by their respective owners. diff --git a/UpdateBowerLibraries.ps1 b/UpdateBowerLibraries.ps1 deleted file mode 100644 index 3af9e9e3..00000000 --- a/UpdateBowerLibraries.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -Remove-Module JsLibraryPackaging -ErrorAction:SilentlyContinue -Import-Module .\JsLibraryPackaging.psm1 -Update-BowerLibraries diff --git a/UpdateBowerLibrary.ps1 b/UpdateBowerLibrary.ps1 deleted file mode 100644 index 43847fda..00000000 --- a/UpdateBowerLibrary.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -param ($name) -Remove-Module JsLibraryPackaging -ErrorAction:SilentlyContinue -Import-Module .\JsLibraryPackaging.psm1 -Update-BowerLibrary $name \ No newline at end of file diff --git a/ZipAllLibraries.ps1 b/ZipAllLibraries.ps1 deleted file mode 100644 index 866148f6..00000000 --- a/ZipAllLibraries.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -Remove-Module JsLibraryPackaging -ErrorAction:SilentlyContinue -Import-Module .\JsLibraryPackaging.psm1 -rmdir .\_InstallPackages -Recurse -Force -ErrorAction SilentlyContinue -mkdir .\_InstallPackages | Out-Null -New-Package -Recurse \ No newline at end of file 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 new file mode 100644 index 00000000..ab5e99ec --- /dev/null +++ b/_new/templates/CHANGES.htm @@ -0,0 +1,3 @@ +

+ See the <%=friendlyName%> changelog +

diff --git a/_new/templates/LICENSE.htm b/_new/templates/LICENSE.htm new file mode 100644 index 00000000..84466f3e --- /dev/null +++ b/_new/templates/LICENSE.htm @@ -0,0 +1,3 @@ +

+ <%=friendlyName%> is licensed under the <%=licenseName%> license. +

diff --git a/_new/templates/dnn-library.json b/_new/templates/dnn-library.json new file mode 100644 index 00000000..1a9b6562 --- /dev/null +++ b/_new/templates/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/<%-libraryName%>/<%-relativePath%>"], + "resources": [] +} diff --git a/_new/templates/{libraryName}.dnn b/_new/templates/{libraryName}.dnn new file mode 100644 index 00000000..93081f01 --- /dev/null +++ b/_new/templates/{libraryName}.dnn @@ -0,0 +1,47 @@ + + + + <%=friendlyName%> + + ]]> + + + Engage Software + Engage Software + https://engagesoftware.com/ + support@engagesoftware.com + + + + true + + + + + <%=libraryName%> + <%=fileName%> + <%=preferredScriptLocation%> + <%=objectName%> + https://cdn.jsdelivr.net/npm/<%=libraryName%>@<~=version~>/<%=relativePath%> + + + + + <%=libraryName%> + + <%=fileName%> + + + + + + Resources\Libraries\<%=libraryName%>\<~=versionFolder~> + + Resources.zip + + + + + + + diff --git a/_template/CHANGES.htm b/_template/CHANGES.htm deleted file mode 100644 index 35f41034..00000000 --- a/_template/CHANGES.htm +++ /dev/null @@ -1 +0,0 @@ -

See the [friendlyName] changelog

\ No newline at end of file diff --git a/_template/LICENSE.htm b/_template/LICENSE.htm deleted file mode 100644 index 068c238d..00000000 --- a/_template/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

[friendlyName] is licensed under the MIT License.

\ No newline at end of file diff --git a/alpaca/CHANGES.htm b/alpaca/CHANGES.htm new file mode 100644 index 00000000..b457ace7 --- /dev/null +++ b/alpaca/CHANGES.htm @@ -0,0 +1,3 @@ +

See the + Alpaca changelog +

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/alpaca.dnn b/alpaca/alpaca.dnn new file mode 100644 index 00000000..01739b71 --- /dev/null +++ b/alpaca/alpaca.dnn @@ -0,0 +1,45 @@ + + + + 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 + https://engagesoftware.com/ + support@engagesoftware.com + + + + true + + + + + alpaca + alpaca.min.js + BodyBottom + jQuery.fn.alpaca + http://code.cloudcms.com/alpaca/<~=version~>/web/alpaca.min.js + + + + + alpaca + + alpaca.min.js + + + + + + 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/Blob_079824b6c1/Blob.dnn b/blob.js/Blob.dnn similarity index 65% rename from Blob_079824b6c1/Blob.dnn rename to blob.js/Blob.dnn index 4e41c02c..750f8de9 100644 --- a/Blob_079824b6c1/Blob.dnn +++ b/blob.js/Blob.dnn @@ -1,20 +1,22 @@ - + Blob.js - Blob interface in browsers that do -not natively support it.]]> + + Blob interface in browsers that do +not natively support it.]]> + Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com true - @@ -22,9 +24,9 @@ not natively support it.]]> Blob - Blob.min.js + Blob.js BodyBottom - https://cdn.jsdelivr.net/blob.js/0.1/Blob.js + https://cdn.jsdelivr.net/npm/blob.js@<~=version~>/Blob.min.js Blob @@ -32,7 +34,7 @@ not natively support it.]]> Blob - Blob.min.js + Blob.js diff --git a/Blob_079824b6c1/CHANGES.htm b/blob.js/CHANGES.htm similarity index 100% rename from Blob_079824b6c1/CHANGES.htm rename to blob.js/CHANGES.htm diff --git a/Blob_079824b6c1/LICENSE.htm b/blob.js/LICENSE.htm similarity index 100% rename from Blob_079824b6c1/LICENSE.htm rename to blob.js/LICENSE.htm diff --git a/blob.js/dnn-library.json b/blob.js/dnn-library.json new file mode 100644 index 00000000..de357715 --- /dev/null +++ b/blob.js/dnn-library.json @@ -0,0 +1,3 @@ +{ + "files": ["node_modules/blob.js/Blob.js"] +} 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 74% rename from bluebird_3.5.1/bluebird.dnn rename to bluebird/bluebird.dnn index 8994a042..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/bluebird/3.5.1/bluebird.min.js + https://cdn.jsdelivr.net/npm/bluebird@<~=version~>/js/browser/bluebird.min.js P @@ -35,6 +35,14 @@ + + + Resources\Libraries\bluebird\<~=versionFolder~> + + Resources.zip + + +
diff --git a/bluebird/dnn-library.json b/bluebird/dnn-library.json new file mode 100644 index 00000000..422288fc --- /dev/null +++ b/bluebird/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/bluebird/js/browser/bluebird.min.js"], + "resources": ["node_modules/bluebird/js/browser/**"] +} 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/bluebird_3.5.1/bluebird.min.js b/bluebird_3.5.1/bluebird.min.js deleted file mode 100644 index e02a9cdd..00000000 --- a/bluebird_3.5.1/bluebird.min.js +++ /dev/null @@ -1,31 +0,0 @@ -/* @preserve - * The MIT License (MIT) - * - * Copyright (c) 2013-2017 Petka Antonov - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - */ -/** - * bluebird build version 3.5.1 - * Features enabled: core, race, call_get, generators, map, nodeify, promisify, props, reduce, settle, some, using, timers, filter, any, each -*/ -!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.Promise=t()}}(function(){var t,e,n;return function r(t,e,n){function i(s,a){if(!e[s]){if(!t[s]){var c="function"==typeof _dereq_&&_dereq_;if(!a&&c)return c(s,!0);if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=e[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return i(n?n:e)},u,u.exports,r,t,e,n)}return e[s].exports}for(var o="function"==typeof _dereq_&&_dereq_,s=0;s0;){var e=t.shift();if("function"==typeof e){var n=t.shift(),r=t.shift();e.call(n,r)}else e._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},e.exports=r,e.exports.firstLineError=a},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,e,n){"use strict";e.exports=function(t,e,n,r){var i=!1,o=function(t,e){this._reject(e)},s=function(t,e){e.promiseRejectionQueued=!0,e.bindingPromise._then(o,o,null,this,t)},a=function(t,e){0===(50397184&this._bitField)&&this._resolveCallback(e.target)},c=function(t,e){e.promiseRejectionQueued||this._reject(t)};t.prototype.bind=function(o){i||(i=!0,t.prototype._propagateFrom=r.propagateFromFunction(),t.prototype._boundValue=r.boundValueFunction());var l=n(o),u=new t(e);u._propagateFrom(this,1);var p=this._target();if(u._setBoundTo(l),l instanceof t){var h={promiseRejectionQueued:!1,promise:u,target:p,bindingPromise:l};p._then(e,s,void 0,u,h),l._then(a,c,void 0,u,h),u._setOnCancel(l)}else u._resolveCallback(p);return u},t.prototype._setBoundTo=function(t){void 0!==t?(this._bitField=2097152|this._bitField,this._boundTo=t):this._bitField=-2097153&this._bitField},t.prototype._isBound=function(){return 2097152===(2097152&this._bitField)},t.bind=function(e,n){return t.resolve(n).bind(e)}}},{}],4:[function(t,e,n){"use strict";function r(){try{Promise===o&&(Promise=i)}catch(t){}return o}var i;"undefined"!=typeof Promise&&(i=Promise);var o=t("./promise")();o.noConflict=r,e.exports=o},{"./promise":22}],5:[function(t,e,n){"use strict";var r=Object.create;if(r){var i=r(null),o=r(null);i[" size"]=o[" size"]=0}e.exports=function(e){function n(t,n){var r;if(null!=t&&(r=t[n]),"function"!=typeof r){var i="Object "+a.classString(t)+" has no method '"+a.toString(n)+"'";throw new e.TypeError(i)}return r}function r(t){var e=this.pop(),r=n(t,e);return r.apply(t,this)}function i(t){return t[this]}function o(t){var e=+this;return 0>e&&(e=Math.max(0,e+t.length)),t[e]}var s,a=t("./util"),c=a.canEvaluate;a.isIdentifier;e.prototype.call=function(t){var e=[].slice.call(arguments,1);return e.push(t),this._then(r,void 0,void 0,e,void 0)},e.prototype.get=function(t){var e,n="number"==typeof t;if(n)e=o;else if(c){var r=s(t);e=null!==r?r:i}else e=i;return this._then(e,void 0,void 0,t,void 0)}}},{"./util":36}],6:[function(t,e,n){"use strict";e.exports=function(e,n,r,i){var o=t("./util"),s=o.tryCatch,a=o.errorObj,c=e._async;e.prototype["break"]=e.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var t=this,e=t;t._isCancellable();){if(!t._cancelBy(e)){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}var n=t._cancellationParent;if(null==n||!n._isCancellable()){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}t._isFollowing()&&t._followee().cancel(),t._setWillBeCancelled(),e=t,t=n}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(t){return t===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(t,e){if(o.isArray(t))for(var n=0;n=0?o[t]:void 0}var i=!1,o=[];return t.prototype._promiseCreated=function(){},t.prototype._pushContext=function(){},t.prototype._popContext=function(){return null},t._peekContext=t.prototype._peekContext=function(){},e.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},e.prototype._popContext=function(){if(void 0!==this._trace){var t=o.pop(),e=t._promiseCreated;return t._promiseCreated=null,e}return null},e.CapturedTrace=null,e.create=n,e.deactivateLongStackTraces=function(){},e.activateLongStackTraces=function(){var n=t.prototype._pushContext,o=t.prototype._popContext,s=t._peekContext,a=t.prototype._peekContext,c=t.prototype._promiseCreated;e.deactivateLongStackTraces=function(){t.prototype._pushContext=n,t.prototype._popContext=o,t._peekContext=s,t.prototype._peekContext=a,t.prototype._promiseCreated=c,i=!1},i=!0,t.prototype._pushContext=e.prototype._pushContext,t.prototype._popContext=e.prototype._popContext,t._peekContext=t.prototype._peekContext=r,t.prototype._promiseCreated=function(){var t=this._peekContext();t&&null==t._promiseCreated&&(t._promiseCreated=this)}},e}},{}],9:[function(t,e,n){"use strict";e.exports=function(e,n){function r(t,e){return{promise:e}}function i(){return!1}function o(t,e,n){var r=this;try{t(e,n,function(t){if("function"!=typeof t)throw new TypeError("onCancel must be a function, got: "+H.toString(t));r._attachCancellationCallback(t)})}catch(i){return i}}function s(t){if(!this._isCancellable())return this;var e=this._onCancel();void 0!==e?H.isArray(e)?e.push(t):this._setOnCancel([e,t]):this._setOnCancel(t)}function a(){return this._onCancelField}function c(t){this._onCancelField=t}function l(){this._cancellationParent=void 0,this._onCancelField=void 0}function u(t,e){if(0!==(1&e)){this._cancellationParent=t;var n=t._branchesRemainingToCancel;void 0===n&&(n=0),t._branchesRemainingToCancel=n+1}0!==(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}function p(t,e){0!==(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}function h(){var t=this._boundTo;return void 0!==t&&t instanceof e?t.isFulfilled()?t.value():void 0:t}function f(){this._trace=new S(this._peekContext())}function _(t,e){if(N(t)){var n=this._trace;if(void 0!==n&&e&&(n=n._parent),void 0!==n)n.attachExtraTrace(t);else if(!t.__stackCleaned__){var r=j(t);H.notEnumerableProp(t,"stack",r.message+"\n"+r.stack.join("\n")),H.notEnumerableProp(t,"__stackCleaned__",!0)}}}function d(t,e,n,r,i){if(void 0===t&&null!==e&&W){if(void 0!==i&&i._returnedNonUndefined())return;if(0===(65535&r._bitField))return;n&&(n+=" ");var o="",s="";if(e._trace){for(var a=e._trace.stack.split("\n"),c=w(a),l=c.length-1;l>=0;--l){var u=c[l];if(!U.test(u)){var p=u.match(M);p&&(o="at "+p[1]+":"+p[2]+":"+p[3]+" ");break}}if(c.length>0)for(var h=c[0],l=0;l0&&(s="\n"+a[l-1]);break}}var f="a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+s;r._warn(f,!0,e)}}function v(t,e){var n=t+" is deprecated and will be removed in a future version.";return e&&(n+=" Use "+e+" instead."),y(n)}function y(t,n,r){if(ot.warnings){var i,o=new L(t);if(n)r._attachExtraTrace(o);else if(ot.longStackTraces&&(i=e._peekContext()))i.attachExtraTrace(o);else{var s=j(o);o.stack=s.message+"\n"+s.stack.join("\n")}tt("warning",o)||E(o,"",!0)}}function m(t,e){for(var n=0;n=0;--a)if(r[a]===o){s=a;break}for(var a=s;a>=0;--a){var c=r[a];if(e[i]!==c)break;e.pop(),i--}e=r}}function w(t){for(var e=[],n=0;n0&&"SyntaxError"!=t.name&&(e=e.slice(n)),e}function j(t){var e=t.stack,n=t.toString();return e="string"==typeof e&&e.length>0?C(t):[" (No stack trace)"],{message:n,stack:"SyntaxError"==t.name?e:w(e)}}function E(t,e,n){if("undefined"!=typeof console){var r;if(H.isObject(t)){var i=t.stack;r=e+Q(i,t)}else r=e+String(t);"function"==typeof D?D(r,n):("function"==typeof console.log||"object"==typeof console.log)&&console.log(r)}}function k(t,e,n,r){var i=!1;try{"function"==typeof e&&(i=!0,"rejectionHandled"===t?e(r):e(n,r))}catch(o){I.throwLater(o)}"unhandledRejection"===t?tt(t,n,r)||i||E(n,"Unhandled rejection "):tt(t,r)}function F(t){var e;if("function"==typeof t)e="[function "+(t.name||"anonymous")+"]";else{e=t&&"function"==typeof t.toString?t.toString():H.toString(t);var n=/\[object [a-zA-Z0-9$_]+\]/;if(n.test(e))try{var r=JSON.stringify(t);e=r}catch(i){}0===e.length&&(e="(empty array)")}return"(<"+x(e)+">, no stack trace)"}function x(t){var e=41;return t.lengths||0>a||!n||!r||n!==r||s>=a||(nt=function(t){if(B.test(t))return!0;var e=P(t);return e&&e.fileName===n&&s<=e.line&&e.line<=a?!0:!1})}}function S(t){this._parent=t,this._promisesCreated=0;var e=this._length=1+(void 0===t?0:t._length);it(this,S),e>32&&this.uncycle()}var O,A,D,V=e._getDomain,I=e._async,L=t("./errors").Warning,H=t("./util"),N=H.canAttachTrace,B=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,U=/\((?:timers\.js):\d+:\d+\)/,M=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,q=null,Q=null,$=!1,G=!(0==H.env("BLUEBIRD_DEBUG")||!H.env("BLUEBIRD_DEBUG")&&"development"!==H.env("NODE_ENV")),z=!(0==H.env("BLUEBIRD_WARNINGS")||!G&&!H.env("BLUEBIRD_WARNINGS")),X=!(0==H.env("BLUEBIRD_LONG_STACK_TRACES")||!G&&!H.env("BLUEBIRD_LONG_STACK_TRACES")),W=0!=H.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(z||!!H.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var t=this._target();t._bitField=-1048577&t._bitField|524288},e.prototype._ensurePossibleRejectionHandled=function(){if(0===(524288&this._bitField)){this._setRejectionIsUnhandled();var t=this;setTimeout(function(){t._notifyUnhandledRejection()},1)}},e.prototype._notifyUnhandledRejectionIsHandled=function(){k("rejectionHandled",O,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},e.prototype._returnedNonUndefined=function(){return 0!==(268435456&this._bitField)},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var t=this._settledValue();this._setUnhandledRejectionIsNotified(),k("unhandledRejection",A,t,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},e.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},e.prototype._warn=function(t,e,n){return y(t,e,n||this)},e.onPossiblyUnhandledRejection=function(t){var e=V();A="function"==typeof t?null===e?t:H.domainBind(e,t):void 0},e.onUnhandledRejectionHandled=function(t){var e=V();O="function"==typeof t?null===e?t:H.domainBind(e,t):void 0};var K=function(){};e.longStackTraces=function(){if(I.haveItemsQueued()&&!ot.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!ot.longStackTraces&&T()){var t=e.prototype._captureStackTrace,r=e.prototype._attachExtraTrace;ot.longStackTraces=!0,K=function(){if(I.haveItemsQueued()&&!ot.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");e.prototype._captureStackTrace=t,e.prototype._attachExtraTrace=r,n.deactivateLongStackTraces(),I.enableTrampoline(),ot.longStackTraces=!1},e.prototype._captureStackTrace=f,e.prototype._attachExtraTrace=_,n.activateLongStackTraces(),I.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return ot.longStackTraces&&T()};var J=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return H.global.dispatchEvent(t),function(t,e){var n=new CustomEvent(t.toLowerCase(),{detail:e,cancelable:!0});return!H.global.dispatchEvent(n)}}if("function"==typeof Event){var t=new Event("CustomEvent");return H.global.dispatchEvent(t),function(t,e){var n=new Event(t.toLowerCase(),{cancelable:!0});return n.detail=e,!H.global.dispatchEvent(n)}}var t=document.createEvent("CustomEvent");return t.initCustomEvent("testingtheevent",!1,!0,{}),H.global.dispatchEvent(t),function(t,e){var n=document.createEvent("CustomEvent");return n.initCustomEvent(t.toLowerCase(),!1,!0,e),!H.global.dispatchEvent(n)}}catch(e){}return function(){return!1}}(),Y=function(){return H.isNode?function(){return process.emit.apply(process,arguments)}:H.global?function(t){var e="on"+t.toLowerCase(),n=H.global[e];return n?(n.apply(H.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}(),Z={promiseCreated:r,promiseFulfilled:r,promiseRejected:r,promiseResolved:r,promiseCancelled:r,promiseChained:function(t,e,n){return{promise:e,child:n}},warning:function(t,e){return{warning:e}},unhandledRejection:function(t,e,n){return{reason:e,promise:n}},rejectionHandled:r},tt=function(t){var e=!1;try{e=Y.apply(null,arguments)}catch(n){I.throwLater(n),e=!0}var r=!1;try{r=J(t,Z[t].apply(null,arguments))}catch(n){I.throwLater(n),r=!0}return r||e};e.config=function(t){if(t=Object(t),"longStackTraces"in t&&(t.longStackTraces?e.longStackTraces():!t.longStackTraces&&e.hasLongStackTraces()&&K()),"warnings"in t){var n=t.warnings;ot.warnings=!!n,W=ot.warnings,H.isObject(n)&&"wForgottenReturn"in n&&(W=!!n.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!ot.cancellation){if(I.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=l,e.prototype._propagateFrom=u,e.prototype._onCancel=a,e.prototype._setOnCancel=c,e.prototype._attachCancellationCallback=s,e.prototype._execute=o,et=u,ot.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!ot.monitoring?(ot.monitoring=!0,e.prototype._fireEvent=tt):!t.monitoring&&ot.monitoring&&(ot.monitoring=!1,e.prototype._fireEvent=i)),e},e.prototype._fireEvent=i,e.prototype._execute=function(t,e,n){try{t(e,n)}catch(r){return r}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(t){},e.prototype._attachCancellationCallback=function(t){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(t,e){};var et=p,nt=function(){return!1},rt=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;H.inherits(S,Error),n.CapturedTrace=S,S.prototype.uncycle=function(){var t=this._length;if(!(2>t)){for(var e=[],n={},r=0,i=this;void 0!==i;++r)e.push(i),i=i._parent;t=this._length=r;for(var r=t-1;r>=0;--r){var o=e[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;t>r;++r){var s=e[r].stack,a=n[s];if(void 0!==a&&a!==r){a>0&&(e[a-1]._parent=void 0,e[a-1]._length=1),e[r]._parent=void 0,e[r]._length=1;var c=r>0?e[r-1]:this;t-1>a?(c._parent=e[a+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var l=c._length+1,u=r-2;u>=0;--u)e[u]._length=l,l++;return}}}},S.prototype.attachExtraTrace=function(t){if(!t.__stackCleaned__){this.uncycle();for(var e=j(t),n=e.message,r=[e.stack],i=this;void 0!==i;)r.push(w(i.stack.split("\n"))),i=i._parent;b(r),g(r),H.notEnumerableProp(t,"stack",m(n,r)),H.notEnumerableProp(t,"__stackCleaned__",!0)}};var it=function(){var t=/^\s*at\s*/,e=function(t,e){return"string"==typeof t?t:void 0!==e.name&&void 0!==e.message?e.toString():F(e)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,q=t,Q=e;var n=Error.captureStackTrace;return nt=function(t){return B.test(t)},function(t,e){Error.stackTraceLimit+=6,n(t,e),Error.stackTraceLimit-=6}}var r=new Error;if("string"==typeof r.stack&&r.stack.split("\n")[0].indexOf("stackDetection@")>=0)return q=/@/,Q=e,$=!0,function(t){t.stack=(new Error).stack};var i;try{throw new Error}catch(o){i="stack"in o}return"stack"in r||!i||"number"!=typeof Error.stackTraceLimit?(Q=function(t,e){return"string"==typeof t?t:"object"!=typeof e&&"function"!=typeof e||void 0===e.name||void 0===e.message?F(e):e.toString()},null):(q=t,Q=e,function(t){Error.stackTraceLimit+=6;try{throw new Error}catch(e){t.stack=e.stack}Error.stackTraceLimit-=6})}([]);"undefined"!=typeof console&&"undefined"!=typeof console.warn&&(D=function(t){console.warn(t)},H.isNode&&process.stderr.isTTY?D=function(t,e){var n=e?"":"";console.warn(n+t+"\n")}:H.isNode||"string"!=typeof(new Error).stack||(D=function(t,e){console.warn("%c"+t,e?"color: darkorange":"color: red")}));var ot={warnings:z,longStackTraces:!1,cancellation:!1,monitoring:!1};return X&&e.longStackTraces(),{longStackTraces:function(){return ot.longStackTraces},warnings:function(){return ot.warnings},cancellation:function(){return ot.cancellation},monitoring:function(){return ot.monitoring},propagateFromFunction:function(){return et},boundValueFunction:function(){return h},checkForgottenReturns:d,setBounds:R,warn:y,deprecated:v,CapturedTrace:S,fireDomEvent:J,fireGlobalEvent:Y}}},{"./errors":12,"./util":36}],10:[function(t,e,n){"use strict";e.exports=function(t){function e(){return this.value}function n(){throw this.reason}t.prototype["return"]=t.prototype.thenReturn=function(n){return n instanceof t&&n.suppressUnhandledRejections(),this._then(e,void 0,void 0,{value:n},void 0)},t.prototype["throw"]=t.prototype.thenThrow=function(t){return this._then(n,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:t},void 0);var e=arguments[1],r=function(){throw e};return this.caught(t,r)},t.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof t&&n.suppressUnhandledRejections(),this._then(void 0,e,void 0,{value:n},void 0);var r=arguments[1];r instanceof t&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t,e){function n(){return o(this)}function r(t,n){return i(t,n,e,e)}var i=t.reduce,o=t.all;t.prototype.each=function(t){return i(this,t,e,0)._then(n,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return i(this,t,e,e)},t.each=function(t,r){return i(t,r,e,0)._then(n,void 0,void 0,t,void 0)},t.mapSeries=r}},{}],12:[function(t,e,n){"use strict";function r(t,e){function n(r){return this instanceof n?(p(this,"message","string"==typeof r?r:e),p(this,"name",t),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return u(n,Error),n}function i(t){return this instanceof i?(p(this,"name","OperationalError"),p(this,"message",t),this.cause=t,this.isOperational=!0,void(t instanceof Error?(p(this,"message",t.message),p(this,"stack",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(t)}var o,s,a=t("./es5"),c=a.freeze,l=t("./util"),u=l.inherits,p=l.notEnumerableProp,h=r("Warning","warning"),f=r("CancellationError","cancellation error"),_=r("TimeoutError","timeout error"),d=r("AggregateError","aggregate error");try{o=TypeError,s=RangeError}catch(v){o=r("TypeError","type error"),s=r("RangeError","range error")}for(var y="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m1?t.cancelPromise._reject(e):t.cancelPromise._cancel(),t.cancelPromise=null,!0):!1}function a(){return l.call(this,this.promise._target()._settledValue())}function c(t){return s(this,t)?void 0:(h.e=t,h)}function l(t){var i=this.promise,l=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?l.call(i._boundValue()):l.call(i._boundValue(),t);if(u===r)return u;if(void 0!==u){i._setReturnedNonUndefined();var f=n(u,i);if(f instanceof e){if(null!=this.cancelPromise){if(f._isCancelled()){var _=new p("late cancellation observer");return i._attachExtraTrace(_),h.e=_,h}f.isPending()&&f._attachCancellationCallback(new o(this))}return f._then(a,c,void 0,this,void 0)}}}return i.isRejected()?(s(this),h.e=t,h):(s(this),t)}var u=t("./util"),p=e.CancellationError,h=u.errorObj,f=t("./catch_filter")(r);return i.prototype.isFinallyHandler=function(){return 0===this.type},o.prototype._resultCancelled=function(){s(this.finallyHandler)},e.prototype._passThrough=function(t,e,n,r){return"function"!=typeof t?this.then():this._then(n,r,void 0,new i(this,e,t),void 0)},e.prototype.lastly=e.prototype["finally"]=function(t){return this._passThrough(t,0,l,l)},e.prototype.tap=function(t){return this._passThrough(t,1,l)},e.prototype.tapCatch=function(t){var n=arguments.length;if(1===n)return this._passThrough(t,1,void 0,l);var r,i=new Array(n-1),o=0;for(r=0;n-1>r;++r){var s=arguments[r];if(!u.isObject(s))return e.reject(new TypeError("tapCatch statement predicate: expecting an object but got "+u.classString(s)));i[o++]=s}i.length=o;var a=arguments[r];return this._passThrough(f(i,a,this),1,void 0,l)},i}},{"./catch_filter":7,"./util":36}],16:[function(t,e,n){"use strict";e.exports=function(e,n,r,i,o,s){function a(t,n,r){for(var o=0;o0&&"function"==typeof arguments[e]){t=arguments[e];var r}var i=[].slice.call(arguments);t&&i.pop();var r=new n(i).promise();return void 0!==t?r.spread(t):r}}},{"./util":36}],18:[function(t,e,n){"use strict";e.exports=function(e,n,r,i,o,s){function a(t,e,n,r){this.constructor$(t),this._promise._captureStackTrace();var i=l();this._callback=null===i?e:u.domainBind(i,e),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=[],f.invoke(this._asyncInit,this,void 0)}function c(t,n,i,o){if("function"!=typeof n)return r("expecting a function but got "+u.classString(n));var s=0;if(void 0!==i){if("object"!=typeof i||null===i)return e.reject(new TypeError("options argument must be an object but it is "+u.classString(i)));if("number"!=typeof i.concurrency)return e.reject(new TypeError("'concurrency' must be a number but it is "+u.classString(i.concurrency)));s=i.concurrency}return s="number"==typeof s&&isFinite(s)&&s>=1?s:0,new a(t,n,s,o).promise()}var l=e._getDomain,u=t("./util"),p=u.tryCatch,h=u.errorObj,f=e._async;u.inherits(a,n),a.prototype._asyncInit=function(){this._init$(void 0,-2)},a.prototype._init=function(){},a.prototype._promiseFulfilled=function(t,n){var r=this._values,o=this.length(),a=this._preservedValues,c=this._limit;if(0>n){if(n=-1*n-1,r[n]=t,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return r[n]=t,this._queue.push(n),!1;null!==a&&(a[n]=t);var l=this._promise,u=this._callback,f=l._boundValue();l._pushContext();var _=p(u).call(f,t,n,o),d=l._popContext();if(s.checkForgottenReturns(_,d,null!==a?"Promise.filter":"Promise.map",l),_===h)return this._reject(_.e),!0;var v=i(_,this._promise);if(v instanceof e){v=v._target();var y=v._bitField;if(0===(50397184&y))return c>=1&&this._inFlight++,r[n]=v,v._proxy(this,-1*(n+1)),!1;if(0===(33554432&y))return 0!==(16777216&y)?(this._reject(v._reason()),!0):(this._cancel(),!0);_=v._value()}r[n]=_}var m=++this._totalResolved;return m>=o?(null!==a?this._filter(r,a):this._resolve(r),!0):!1},a.prototype._drainQueue=function(){for(var t=this._queue,e=this._limit,n=this._values;t.length>0&&this._inFlighto;++o)t[o]&&(r[i++]=e[o]);r.length=i,this._resolve(r)},a.prototype.preservedValues=function(){return this._preservedValues},e.prototype.map=function(t,e){return c(this,t,e,null)},e.map=function(t,e,n,r){return c(t,e,n,r)}}},{"./util":36}],19:[function(t,e,n){"use strict";e.exports=function(e,n,r,i,o){var s=t("./util"),a=s.tryCatch;e.method=function(t){if("function"!=typeof t)throw new e.TypeError("expecting a function but got "+s.classString(t));return function(){var r=new e(n);r._captureStackTrace(),r._pushContext();var i=a(t).apply(this,arguments),s=r._popContext();return o.checkForgottenReturns(i,s,"Promise.method",r),r._resolveFromSyncValue(i),r}},e.attempt=e["try"]=function(t){if("function"!=typeof t)return i("expecting a function but got "+s.classString(t));var r=new e(n);r._captureStackTrace(),r._pushContext();var c;if(arguments.length>1){o.deprecated("calling Promise.try with more than 1 argument");var l=arguments[1],u=arguments[2];c=s.isArray(l)?a(t).apply(u,l):a(t).call(u,l)}else c=a(t)();var p=r._popContext();return o.checkForgottenReturns(c,p,"Promise.try",r),r._resolveFromSyncValue(c),r},e.prototype._resolveFromSyncValue=function(t){t===s.errorObj?this._rejectCallback(t.e,!1):this._resolveCallback(t,!0)}}},{"./util":36}],20:[function(t,e,n){"use strict";function r(t){return t instanceof Error&&u.getPrototypeOf(t)===Error.prototype}function i(t){var e;if(r(t)){e=new l(t),e.name=t.name,e.message=t.message,e.stack=t.stack;for(var n=u.keys(t),i=0;i1){var n,r=new Array(e-1),i=0;for(n=0;e-1>n;++n){var o=arguments[n];if(!f.isObject(o))return p("Catch statement predicate: expecting an object but got "+f.classString(o));r[i++]=o}return r.length=i,t=arguments[n],this.then(void 0,P(r,t,this))}return this.then(void 0,t)},i.prototype.reflect=function(){return this._then(u,u,void 0,this,void 0)},i.prototype.then=function(t,e){if(x.warnings()&&arguments.length>0&&"function"!=typeof t&&"function"!=typeof e){var n=".then() only accepts functions but was passed: "+f.classString(t);arguments.length>1&&(n+=", "+f.classString(e)),this._warn(n)}return this._then(t,e,void 0,void 0,void 0)},i.prototype.done=function(t,e){var n=this._then(t,e,void 0,void 0,void 0);n._setIsFinal()},i.prototype.spread=function(t){return"function"!=typeof t?p("expecting a function but got "+f.classString(t)):this.all()._then(t,void 0,void 0,w,void 0)},i.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},i.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new E(this).promise()},i.prototype.error=function(t){return this.caught(f.originatesFromRejection,t)},i.getNewLibraryCopy=e.exports,i.is=function(t){return t instanceof i},i.fromNode=i.fromCallback=function(t){var e=new i(b);e._captureStackTrace();var n=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,r=O(t)(R(e,n));return r===S&&e._rejectCallback(r.e,!0),e._isFateSealed()||e._setAsyncGuaranteed(),e},i.all=function(t){return new E(t).promise()},i.cast=function(t){var e=j(t);return e instanceof i||(e=new i(b),e._captureStackTrace(),e._setFulfilled(),e._rejectionHandler0=t),e},i.resolve=i.fulfilled=i.cast,i.reject=i.rejected=function(t){var e=new i(b);return e._captureStackTrace(),e._rejectCallback(t,!0),e},i.setScheduler=function(t){if("function"!=typeof t)throw new m("expecting a function but got "+f.classString(t));return v.setScheduler(t)},i.prototype._then=function(t,e,n,r,o){var s=void 0!==o,a=s?o:new i(b),l=this._target(),u=l._bitField;s||(a._propagateFrom(this,3),a._captureStackTrace(),void 0===r&&0!==(2097152&this._bitField)&&(r=0!==(50397184&u)?this._boundValue():l===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,a));var p=c();if(0!==(50397184&u)){var h,_,d=l._settlePromiseCtx;0!==(33554432&u)?(_=l._rejectionHandler0,h=t):0!==(16777216&u)?(_=l._fulfillmentHandler0,h=e,l._unsetRejectionIsUnhandled()):(d=l._settlePromiseLateCancellationObserver,_=new g("late cancellation observer"),l._attachExtraTrace(_),h=e),v.invoke(d,l,{handler:null===p?h:"function"==typeof h&&f.domainBind(p,h),promise:a,receiver:r,value:_})}else l._addCallbacks(t,e,a,r,p);return a},i.prototype._length=function(){return 65535&this._bitField},i.prototype._isFateSealed=function(){return 0!==(117506048&this._bitField)},i.prototype._isFollowing=function(){return 67108864===(67108864&this._bitField)},i.prototype._setLength=function(t){this._bitField=-65536&this._bitField|65535&t},i.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},i.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},i.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},i.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},i.prototype._isFinal=function(){return(4194304&this._bitField)>0},i.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},i.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},i.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},i.prototype._setAsyncGuaranteed=function(){v.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},i.prototype._receiverAt=function(t){var e=0===t?this._receiver0:this[4*t-4+3];return e===h?void 0:void 0===e&&this._isBound()?this._boundValue():e},i.prototype._promiseAt=function(t){return this[4*t-4+2]},i.prototype._fulfillmentHandlerAt=function(t){return this[4*t-4+0]},i.prototype._rejectionHandlerAt=function(t){return this[4*t-4+1]},i.prototype._boundValue=function(){},i.prototype._migrateCallback0=function(t){var e=(t._bitField,t._fulfillmentHandler0),n=t._rejectionHandler0,r=t._promise0,i=t._receiverAt(0);void 0===i&&(i=h),this._addCallbacks(e,n,r,i,null)},i.prototype._migrateCallbackAt=function(t,e){var n=t._fulfillmentHandlerAt(e),r=t._rejectionHandlerAt(e),i=t._promiseAt(e),o=t._receiverAt(e);void 0===o&&(o=h),this._addCallbacks(n,r,i,o,null)},i.prototype._addCallbacks=function(t,e,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,"function"==typeof t&&(this._fulfillmentHandler0=null===i?t:f.domainBind(i,t)),"function"==typeof e&&(this._rejectionHandler0=null===i?e:f.domainBind(i,e));else{var s=4*o-4;this[s+2]=n,this[s+3]=r,"function"==typeof t&&(this[s+0]=null===i?t:f.domainBind(i,t)),"function"==typeof e&&(this[s+1]=null===i?e:f.domainBind(i,e))}return this._setLength(o+1),o},i.prototype._proxy=function(t,e){this._addCallbacks(void 0,void 0,e,t,null)},i.prototype._resolveCallback=function(t,e){if(0===(117506048&this._bitField)){if(t===this)return this._rejectCallback(l(),!1);var n=j(t,this);if(!(n instanceof i))return this._fulfill(t);e&&this._propagateFrom(n,2);var r=n._target();if(r===this)return void this._reject(l());var o=r._bitField;if(0===(50397184&o)){var s=this._length();s>0&&r._migrateCallback0(this);for(var a=1;s>a;++a)r._migrateCallbackAt(this,a);this._setFollowing(),this._setLength(0),this._setFollowee(r)}else if(0!==(33554432&o))this._fulfill(r._value());else if(0!==(16777216&o))this._reject(r._reason());else{var c=new g("late cancellation observer");r._attachExtraTrace(c),this._reject(c)}}},i.prototype._rejectCallback=function(t,e,n){var r=f.ensureErrorObject(t),i=r===t;if(!i&&!n&&x.warnings()){var o="a promise was rejected with a non-error: "+f.classString(t);this._warn(o,!0)}this._attachExtraTrace(r,e?i:!1),this._reject(t)},i.prototype._resolveFromExecutor=function(t){if(t!==b){var e=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(t,function(t){e._resolveCallback(t)},function(t){e._rejectCallback(t,n)});n=!1,this._popContext(),void 0!==r&&e._rejectCallback(r,!0)}},i.prototype._settlePromiseFromHandler=function(t,e,n,r){var i=r._bitField;if(0===(65536&i)){r._pushContext();var o;e===w?n&&"number"==typeof n.length?o=O(t).apply(this._boundValue(),n):(o=S,o.e=new m("cannot .spread() a non-array: "+f.classString(n))):o=O(t).call(e,n);var s=r._popContext();i=r._bitField,0===(65536&i)&&(o===C?r._reject(n):o===S?r._rejectCallback(o.e,!1):(x.checkForgottenReturns(o,s,"",r,this),r._resolveCallback(o)))}},i.prototype._target=function(){for(var t=this;t._isFollowing();)t=t._followee();return t},i.prototype._followee=function(){return this._rejectionHandler0},i.prototype._setFollowee=function(t){this._rejectionHandler0=t},i.prototype._settlePromise=function(t,e,r,o){var s=t instanceof i,a=this._bitField,c=0!==(134217728&a);0!==(65536&a)?(s&&t._invokeInternalOnCancel(),r instanceof T&&r.isFinallyHandler()?(r.cancelPromise=t,O(e).call(r,o)===S&&t._reject(S.e)):e===u?t._fulfill(u.call(r)):r instanceof n?r._promiseCancelled(t):s||t instanceof E?t._cancel():r.cancel()):"function"==typeof e?s?(c&&t._setAsyncGuaranteed(),this._settlePromiseFromHandler(e,r,o,t)):e.call(r,o,t):r instanceof n?r._isResolved()||(0!==(33554432&a)?r._promiseFulfilled(o,t):r._promiseRejected(o,t)):s&&(c&&t._setAsyncGuaranteed(),0!==(33554432&a)?t._fulfill(o):t._reject(o))},i.prototype._settlePromiseLateCancellationObserver=function(t){var e=t.handler,n=t.promise,r=t.receiver,o=t.value;"function"==typeof e?n instanceof i?this._settlePromiseFromHandler(e,r,o,n):e.call(r,o,n):n instanceof i&&n._reject(o)},i.prototype._settlePromiseCtx=function(t){this._settlePromise(t.promise,t.handler,t.receiver,t.value)},i.prototype._settlePromise0=function(t,e,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,t,i,e)},i.prototype._clearCallbackDataAtIndex=function(t){var e=4*t-4;this[e+2]=this[e+3]=this[e+0]=this[e+1]=void 0},i.prototype._fulfill=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(t===this){var n=l();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=t,(65535&e)>0&&(0!==(134217728&e)?this._settlePromises():v.settlePromises(this))}},i.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16))return this._setRejected(),this._fulfillmentHandler0=t,this._isFinal()?v.fatalError(t,f.isNode):void((65535&e)>0?v.settlePromises(this):this._ensurePossibleRejectionHandled())},i.prototype._fulfillPromises=function(t,e){for(var n=1;t>n;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},i.prototype._rejectPromises=function(t,e){for(var n=1;t>n;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},i.prototype._settlePromises=function(){var t=this._bitField,e=65535&t;if(e>0){if(0!==(16842752&t)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,t),this._rejectPromises(e,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,t),this._fulfillPromises(e,r)}this._setLength(0)}this._clearCancellationData()},i.prototype._settledValue=function(){var t=this._bitField;return 0!==(33554432&t)?this._rejectionHandler0:0!==(16777216&t)?this._fulfillmentHandler0:void 0},i.defer=i.pending=function(){x.deprecated("Promise.defer","new Promise");var t=new i(b);return{promise:t,resolve:o,reject:s}},f.notEnumerableProp(i,"_makeSelfResolutionError",l),t("./method")(i,b,j,p,x),t("./bind")(i,b,j,x),t("./cancel")(i,E,p,x),t("./direct_resolve")(i),t("./synchronous_inspection")(i),t("./join")(i,E,j,b,v,c),i.Promise=i,i.version="3.5.1",t("./map.js")(i,E,p,j,b,x),t("./call_get.js")(i),t("./using.js")(i,p,j,F,b,x),t("./timers.js")(i,b,x),t("./generators.js")(i,p,b,j,n,x),t("./nodeify.js")(i),t("./promisify.js")(i,b),t("./props.js")(i,E,j,p),t("./race.js")(i,b,j,p),t("./reduce.js")(i,E,p,j,b,x),t("./settle.js")(i,E,x),t("./some.js")(i,E,p),t("./filter.js")(i,b),t("./each.js")(i,b),t("./any.js")(i),f.toFastProperties(i),f.toFastProperties(i.prototype),a({a:1}),a({b:2}),a({c:3}),a(1),a(function(){}),a(void 0),a(!1),a(new i(b)),x.setBounds(d.firstLineError,f.lastLineError),i}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(t,e,n){"use strict";e.exports=function(e,n,r,i,o){function s(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}function a(t){var r=this._promise=new e(n);t instanceof e&&r._propagateFrom(t,3),r._setOnCancel(this),this._values=t,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var c=t("./util");c.isArray;return c.inherits(a,o),a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function l(t,n){var o=r(this._values,this._promise);if(o instanceof e){o=o._target();var a=o._bitField;if(this._values=o,0===(50397184&a))return this._promise._setAsyncGuaranteed(),o._then(l,this._reject,void 0,this,n);if(0===(33554432&a))return 0!==(16777216&a)?this._reject(o._reason()):this._cancel();o=o._value()}if(o=c.asArray(o),null===o){var u=i("expecting an array or an iterable object but got "+c.classString(o)).reason();return void this._promise._rejectCallback(u,!1)}return 0===o.length?void(-5===n?this._resolveEmptyArray():this._resolve(s(n))):void this._iterate(o)},a.prototype._iterate=function(t){var n=this.getActualLength(t.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,s=null,a=0;n>a;++a){var c=r(t[a],i);c instanceof e?(c=c._target(),s=c._bitField):s=null,o?null!==s&&c.suppressUnhandledRejections():null!==s?0===(50397184&s)?(c._proxy(this,a),this._values[a]=c):o=0!==(33554432&s)?this._promiseFulfilled(c._value(),a):0!==(16777216&s)?this._promiseRejected(c._reason(),a):this._promiseCancelled(a):o=this._promiseFulfilled(c,a)}o||i._setAsyncGuaranteed()},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(t){this._values=null,this._promise._fulfill(t)},a.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},a.prototype._reject=function(t){this._values=null,this._promise._rejectCallback(t,!1)},a.prototype._promiseFulfilled=function(t,e){this._values[e]=t;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},a.prototype._promiseCancelled=function(){return this._cancel(),!0},a.prototype._promiseRejected=function(t){return this._totalResolved++,this._reject(t),!0},a.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof e)t.cancel();else for(var n=0;nc;c+=2){var u=s[c],p=s[c+1],_=u+e;if(r===k)t[_]=k(u,h,u,p,e,i);else{var d=r(p,function(){return k(u,h,u,p,e,i)});f.notEnumerableProp(d,"__isPromisified__",!0),t[_]=d}}return f.toFastProperties(t),t}function u(t,e,n){return k(t,e,void 0,t,null,n)}var p,h={},f=t("./util"),_=t("./nodeback"),d=f.withAppended,v=f.maybeWrapAsError,y=f.canEvaluate,m=t("./errors").TypeError,g="Async",b={__isPromisified__:!0},w=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],C=new RegExp("^(?:"+w.join("|")+")$"),j=function(t){return f.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t},E=function(t){return t.replace(/([$])/,"\\$")},k=y?p:c;e.promisify=function(t,e){if("function"!=typeof t)throw new m("expecting a function but got "+f.classString(t));if(i(t))return t;e=Object(e);var n=void 0===e.context?h:e.context,o=!!e.multiArgs,s=u(t,n,o);return f.copyDescriptors(t,s,r),s},e.promisifyAll=function(t,e){if("function"!=typeof t&&"object"!=typeof t)throw new m("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");e=Object(e);var n=!!e.multiArgs,r=e.suffix;"string"!=typeof r&&(r=g);var i=e.filter;"function"!=typeof i&&(i=j);var o=e.promisifier;if("function"!=typeof o&&(o=k),!f.isIdentifier(r))throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var s=f.inheritedDataKeys(t),a=0;ao;++o){var s=r[o];e[o]=t[s],e[o+i]=s}}this.constructor$(e),this._isMap=n,this._init$(void 0,n?-6:-3)}function s(t){var n,s=r(t);return l(s)?(n=s instanceof e?s._then(e.props,void 0,void 0,void 0,void 0):new o(s).promise(),s instanceof e&&n._propagateFrom(s,2),n):i("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}var a,c=t("./util"),l=c.isObject,u=t("./es5");"function"==typeof Map&&(a=Map);var p=function(){function t(t,r){this[e]=t,this[e+n]=r,e++}var e=0,n=0;return function(r){n=r.size,e=0;var i=new Array(2*r.size);return r.forEach(t,i),i}}(),h=function(t){for(var e=new a,n=t.length/2|0,r=0;n>r;++r){var i=t[n+r],o=t[r];e.set(i,o)}return e};c.inherits(o,n),o.prototype._init=function(){},o.prototype._promiseFulfilled=function(t,e){this._values[e]=t;var n=++this._totalResolved;if(n>=this._length){var r;if(this._isMap)r=h(this._values);else{r={};for(var i=this.length(),o=0,s=this.length();s>o;++o)r[this._values[o+i]]=this._values[o]}return this._resolve(r),!0}return!1},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(t){return t>>1},e.prototype.props=function(){return s(this)},e.props=function(t){return s(t)}}},{"./es5":13,"./util":36}],26:[function(t,e,n){"use strict";function r(t,e,n,r,i){for(var o=0;i>o;++o)n[o+r]=t[o+e],t[o+e]=void 0}function i(t){this._capacity=t,this._length=0,this._front=0}i.prototype._willBeOverCapacity=function(t){return this._capacityh;++h){var _=t[h];(void 0!==_||h in t)&&e.cast(_)._then(u,p,void 0,l,null)}return l}var s=t("./util"),a=function(t){return t.then(function(e){return o(e,t)})};e.race=function(t){return o(t,void 0)},e.prototype.race=function(){return o(this,void 0)}}},{"./util":36}],28:[function(t,e,n){"use strict";e.exports=function(e,n,r,i,o,s){function a(t,n,r,i){this.constructor$(t);var s=h();this._fn=null===s?n:f.domainBind(s,n),void 0!==r&&(r=e.resolve(r),r._attachCancellationCallback(this)),this._initialValue=r,this._currentCancellable=null,i===o?this._eachValues=Array(this._length):0===i?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function c(t,e){this.isFulfilled()?e._resolve(t):e._reject(t)}function l(t,e,n,i){if("function"!=typeof e)return r("expecting a function but got "+f.classString(e));var o=new a(t,e,n,i);return o.promise()}function u(t){this.accum=t,this.array._gotAccum(t);var n=i(this.value,this.array._promise);return n instanceof e?(this.array._currentCancellable=n,n._then(p,void 0,void 0,this,void 0)):p.call(this,n)}function p(t){var n=this.array,r=n._promise,i=_(n._fn);r._pushContext();var o;o=void 0!==n._eachValues?i.call(r._boundValue(),t,this.index,this.length):i.call(r._boundValue(),this.accum,t,this.index,this.length),o instanceof e&&(n._currentCancellable=o);var a=r._popContext();return s.checkForgottenReturns(o,a,void 0!==n._eachValues?"Promise.each":"Promise.reduce",r),o}var h=e._getDomain,f=t("./util"),_=f.tryCatch;f.inherits(a,n),a.prototype._gotAccum=function(t){void 0!==this._eachValues&&null!==this._eachValues&&t!==o&&this._eachValues.push(t)},a.prototype._eachComplete=function(t){return null!==this._eachValues&&this._eachValues.push(t),this._eachValues},a.prototype._init=function(){},a.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},a.prototype.shouldCopyValues=function(){return!1},a.prototype._resolve=function(t){this._promise._resolveCallback(t),this._values=null},a.prototype._resultCancelled=function(t){return t===this._initialValue?this._cancel():void(this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof e&&this._currentCancellable.cancel(),this._initialValue instanceof e&&this._initialValue.cancel()))},a.prototype._iterate=function(t){this._values=t;var n,r,i=t.length;if(void 0!==this._initialValue?(n=this._initialValue,r=0):(n=e.resolve(t[0]),r=1),this._currentCancellable=n,!n.isRejected())for(;i>r;++r){var o={accum:null,value:t[r],index:r,length:i,array:this};n=n._then(u,void 0,void 0,o,void 0)}void 0!==this._eachValues&&(n=n._then(this._eachComplete,void 0,void 0,this,void 0)),n._then(c,c,void 0,n,this)},e.prototype.reduce=function(t,e){return l(this,t,e,null)},e.reduce=function(t,e,n,r){return l(t,e,n,r)}}},{"./util":36}],29:[function(t,e,n){"use strict";var r,i=t("./util"),o=function(){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")},s=i.getNativePromise();if(i.isNode&&"undefined"==typeof MutationObserver){var a=global.setImmediate,c=process.nextTick;r=i.isRecentNode?function(t){a.call(global,t)}:function(t){c.call(process,t)}}else if("function"==typeof s&&"function"==typeof s.resolve){var l=s.resolve();r=function(t){l.then(t)}}else r="undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:"undefined"!=typeof setTimeout?function(t){setTimeout(t,0)}:o:function(){var t=document.createElement("div"),e={attributes:!0},n=!1,r=document.createElement("div"),i=new MutationObserver(function(){t.classList.toggle("foo"),n=!1});i.observe(r,e);var o=function(){n||(n=!0,r.classList.toggle("foo"))};return function(n){var r=new MutationObserver(function(){r.disconnect(),n()});r.observe(t,e),o()}}();e.exports=r},{"./util":36}],30:[function(t,e,n){"use strict";e.exports=function(e,n,r){function i(t){this.constructor$(t)}var o=e.PromiseInspection,s=t("./util");s.inherits(i,n),i.prototype._promiseResolved=function(t,e){this._values[t]=e;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},i.prototype._promiseFulfilled=function(t,e){var n=new o;return n._bitField=33554432,n._settledValueField=t,this._promiseResolved(e,n)},i.prototype._promiseRejected=function(t,e){var n=new o;return n._bitField=16777216,n._settledValueField=t,this._promiseResolved(e,n)},e.settle=function(t){return r.deprecated(".settle()",".reflect()"),new i(t).promise()},e.prototype.settle=function(){return e.settle(this)}}},{"./util":36}],31:[function(t,e,n){"use strict";e.exports=function(e,n,r){function i(t){this.constructor$(t), -this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(t,e){if((0|e)!==e||0>e)return r("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new i(t),o=n.promise();return n.setHowMany(e),n.init(),o}var s=t("./util"),a=t("./errors").RangeError,c=t("./errors").AggregateError,l=s.isArray,u={};s.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var t=l(this._values);!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(t){this._howMany=t},i.prototype._promiseFulfilled=function(t){return this._addFulfilled(t),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},i.prototype._promiseRejected=function(t){return this._addRejected(t),this._checkOutcome()},i.prototype._promiseCancelled=function(){return this._values instanceof e||null==this._values?this._cancel():(this._addRejected(u),this._checkOutcome())},i.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var t=new c,e=this.length();e0?this._reject(t):this._cancel(),!0}return!1},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(t){this._values.push(t)},i.prototype._addFulfilled=function(t){this._values[this._totalResolved++]=t},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(t){var e="Input array must contain at least "+this._howMany+" items but contains only "+t+" items";return new a(e)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},e.some=function(t,e){return o(t,e)},e.prototype.some=function(t){return o(this,t)},e._SomePromiseArray=i}},{"./errors":12,"./util":36}],32:[function(t,e,n){"use strict";e.exports=function(t){function e(t){void 0!==t?(t=t._target(),this._bitField=t._bitField,this._settledValueField=t._isFateSealed()?t._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}e.prototype._settledValue=function(){return this._settledValueField};var n=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},r=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=e.prototype.isFulfilled=function(){return 0!==(33554432&this._bitField)},o=e.prototype.isRejected=function(){return 0!==(16777216&this._bitField)},s=e.prototype.isPending=function(){return 0===(50397184&this._bitField)},a=e.prototype.isResolved=function(){return 0!==(50331648&this._bitField)};e.prototype.isCancelled=function(){return 0!==(8454144&this._bitField)},t.prototype.__isCancelled=function(){return 65536===(65536&this._bitField)},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return 0!==(8454144&this._target()._bitField)},t.prototype.isPending=function(){return s.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return i.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return n.call(this._target())},t.prototype.reason=function(){var t=this._target();return t._unsetRejectionIsUnhandled(),r.call(t)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}},{}],33:[function(t,e,n){"use strict";e.exports=function(e,n){function r(t,r){if(u(t)){if(t instanceof e)return t;var i=o(t);if(i===l){r&&r._pushContext();var c=e.reject(i.e);return r&&r._popContext(),c}if("function"==typeof i){if(s(t)){var c=new e(n);return t._then(c._fulfill,c._reject,void 0,c,null),c}return a(t,i,r)}}return t}function i(t){return t.then}function o(t){try{return i(t)}catch(e){return l.e=e,l}}function s(t){try{return p.call(t,"_promise0")}catch(e){return!1}}function a(t,r,i){function o(t){a&&(a._resolveCallback(t),a=null)}function s(t){a&&(a._rejectCallback(t,p,!0),a=null)}var a=new e(n),u=a;i&&i._pushContext(),a._captureStackTrace(),i&&i._popContext();var p=!0,h=c.tryCatch(r).call(t,o,s);return p=!1,a&&h===l&&(a._rejectCallback(h.e,!0,!0),a=null),u}var c=t("./util"),l=c.errorObj,u=c.isObject,p={}.hasOwnProperty;return r}},{"./util":36}],34:[function(t,e,n){"use strict";e.exports=function(e,n,r){function i(t){this.handle=t}function o(t){return clearTimeout(this.handle),t}function s(t){throw clearTimeout(this.handle),t}var a=t("./util"),c=e.TimeoutError;i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var l=function(t){return u(+this).thenReturn(t)},u=e.delay=function(t,o){var s,a;return void 0!==o?(s=e.resolve(o)._then(l,null,null,t,void 0),r.cancellation()&&o instanceof e&&s._setOnCancel(o)):(s=new e(n),a=setTimeout(function(){s._fulfill()},+t),r.cancellation()&&s._setOnCancel(new i(a)),s._captureStackTrace()),s._setAsyncGuaranteed(),s};e.prototype.delay=function(t){return u(t,this)};var p=function(t,e,n){var r;r="string"!=typeof e?e instanceof Error?e:new c("operation timed out"):new c(e),a.markAsOriginatingFromRejection(r),t._attachExtraTrace(r),t._reject(r),null!=n&&n.cancel()};e.prototype.timeout=function(t,e){t=+t;var n,a,c=new i(setTimeout(function(){n.isPending()&&p(n,e,a)},t));return r.cancellation()?(a=this.then(),n=a._then(o,s,void 0,c,void 0),n._setOnCancel(c)):n=this._then(o,s,void 0,c,void 0),n}}},{"./util":36}],35:[function(t,e,n){"use strict";e.exports=function(e,n,r,i,o,s){function a(t){setTimeout(function(){throw t},0)}function c(t){var e=r(t);return e!==t&&"function"==typeof t._isDisposable&&"function"==typeof t._getDisposer&&t._isDisposable()&&e._setDisposable(t._getDisposer()),e}function l(t,n){function i(){if(s>=l)return u._fulfill();var o=c(t[s++]);if(o instanceof e&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),t.promise)}catch(p){return a(p)}if(o instanceof e)return o._then(i,a,null,null,null)}i()}var s=0,l=t.length,u=new e(o);return i(),u}function u(t,e,n){this._data=t,this._promise=e,this._context=n}function p(t,e,n){this.constructor$(t,e,n)}function h(t){return u.isDisposer(t)?(this.resources[this.index]._setDisposable(t),t.promise()):t}function f(t){this.length=t,this.promise=null,this[t-1]=null}var _=t("./util"),d=t("./errors").TypeError,v=t("./util").inherits,y=_.errorObj,m=_.tryCatch,g={};u.prototype.data=function(){return this._data},u.prototype.promise=function(){return this._promise},u.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():g},u.prototype.tryDispose=function(t){var e=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=e!==g?this.doDispose(e,t):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},u.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},v(p,u),p.prototype.doDispose=function(t,e){var n=this.data();return n.call(t,t,e)},f.prototype._resultCancelled=function(){for(var t=this.length,n=0;t>n;++n){var r=this[n];r instanceof e&&r.cancel()}},e.using=function(){var t=arguments.length;if(2>t)return n("you must pass at least 2 arguments to Promise.using");var i=arguments[t-1];if("function"!=typeof i)return n("expecting a function but got "+_.classString(i));var o,a=!0;2===t&&Array.isArray(arguments[0])?(o=arguments[0],t=o.length,a=!1):(o=arguments,t--);for(var c=new f(t),p=0;t>p;++p){var d=o[p];if(u.isDisposer(d)){var v=d;d=d.promise(),d._setDisposable(v)}else{var g=r(d);g instanceof e&&(d=g._then(h,null,null,{resources:c,index:p},void 0))}c[p]=d}for(var b=new Array(c.length),p=0;p0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},e.prototype.disposer=function(t){if("function"==typeof t)return new p(t,this,i());throw new d}}},{"./errors":12,"./util":36}],36:[function(t,e,n){"use strict";function r(){try{var t=P;return P=null,t.apply(this,arguments)}catch(e){return T.e=e,T}}function i(t){return P=t,r}function o(t){return null==t||t===!0||t===!1||"string"==typeof t||"number"==typeof t}function s(t){return"function"==typeof t||"object"==typeof t&&null!==t}function a(t){return o(t)?new Error(v(t)):t}function c(t,e){var n,r=t.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=t[n];return i[n]=e,i}function l(t,e,n){if(!F.isES5)return{}.hasOwnProperty.call(t,e)?t[e]:void 0;var r=Object.getOwnPropertyDescriptor(t,e);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function u(t,e,n){if(o(t))return t;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return F.defineProperty(t,e,r),t}function p(t){throw t}function h(t){try{if("function"==typeof t){var e=F.names(t.prototype),n=F.isES5&&e.length>1,r=e.length>0&&!(1===e.length&&"constructor"===e[0]),i=A.test(t+"")&&F.names(t).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function f(t){function e(){}e.prototype=t;for(var n=8;n--;)new e;return t}function _(t){return D.test(t)}function d(t,e,n){for(var r=new Array(t),i=0;t>i;++i)r[i]=e+i+n;return r}function v(t){try{return t+""}catch(e){return"[no string representation]"}}function y(t){return t instanceof Error||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function m(t){try{u(t,"isOperational",!0)}catch(e){}}function g(t){return null==t?!1:t instanceof Error.__BluebirdErrorTypes__.OperationalError||t.isOperational===!0}function b(t){return y(t)&&F.propertyIsWritable(t,"stack")}function w(t){return{}.toString.call(t)}function C(t,e,n){for(var r=F.names(t),i=0;i10||t[0]>0}(),B.isNode&&B.toFastProperties(process);try{throw new Error}catch(U){B.lastLineError=U}e.exports=B},{"./es5":13}]},{},[4])(4)}),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise); \ No newline at end of file diff --git a/bootstrap.accessibility_1.0.4/CHANGES.htm b/bootstrap-accessibility-plugin/CHANGES.htm similarity index 100% rename from bootstrap.accessibility_1.0.4/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_1.0.4/bootstrap.accessibility.dnn b/bootstrap-accessibility-plugin/bootstrap.accessibility.dnn similarity index 68% rename from bootstrap.accessibility_1.0.4/bootstrap.accessibility.dnn rename to bootstrap-accessibility-plugin/bootstrap.accessibility.dnn index b2d7b9a1..d8c66131 100644 --- a/bootstrap.accessibility_1.0.4/bootstrap.accessibility.dnn +++ b/bootstrap-accessibility-plugin/bootstrap.accessibility.dnn @@ -1,12 +1,14 @@ - + Bootstrap Accessibility Plugin - http://paypal.github.io/bootstrap-accessibility-plugin/demo.html]]> + + http://paypal.github.io/bootstrap-accessibility-plugin/demo.html]]> + Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com @@ -19,21 +21,22 @@ bootstrap.accessibility - bootstrap-accessibility.js + bootstrap-accessibility.min.js BodyBottom + 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_04 + Resources\Libraries\bootstrap.accessibility\<~=versionFolder~> Resources.zip @@ -42,4 +45,4 @@ - \ No newline at end of file +
diff --git a/bootstrap-accessibility-plugin/dnn-library.json b/bootstrap-accessibility-plugin/dnn-library.json new file mode 100644 index 00000000..c1730832 --- /dev/null +++ b/bootstrap-accessibility-plugin/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/bootstrap-accessibility-plugin/plugins/js/bootstrap-accessibility.min.js"], + "resources": ["node_modules/bootstrap-accessibility-plugin/plugins/**"] +} 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 83% rename from bootstrap-datepicker_1.7.1/bootstrap-datepicker.dnn rename to bootstrap-datepicker/bootstrap-datepicker.dnn index 3bef81d9..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://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js + https://cdn.jsdelivr.net/npm/bootstrap-datepicker@<~=version~>/dist/js/bootstrap-datepicker.min.js jQuery.fn.datepicker.noConflict @@ -36,7 +36,7 @@ - Resources\Libraries\bootstrap-datepicker\01_07_01 + Resources\Libraries\bootstrap-datepicker\<~=versionFolder~> Resources.zip diff --git a/bootstrap-datepicker/dnn-library.json b/bootstrap-datepicker/dnn-library.json new file mode 100644 index 00000000..24f3b747 --- /dev/null +++ b/bootstrap-datepicker/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"], + "resources": ["node_modules/bootstrap-datepicker/dist/**"] +} 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-datepicker_1.7.1/Resources.zip b/bootstrap-datepicker_1.7.1/Resources.zip deleted file mode 100644 index c9b79c7e..00000000 Binary files a/bootstrap-datepicker_1.7.1/Resources.zip and /dev/null differ diff --git a/bootstrap-datepicker_1.7.1/bootstrap-datepicker.min.js b/bootstrap-datepicker_1.7.1/bootstrap-datepicker.min.js deleted file mode 100644 index 1474f09b..00000000 --- a/bootstrap-datepicker_1.7.1/bootstrap-datepicker.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! - * Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker) - * - * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) - */ - -!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a,b){function c(){return new Date(Date.UTC.apply(Date,arguments))}function d(){var a=new Date;return c(a.getFullYear(),a.getMonth(),a.getDate())}function e(a,b){return a.getUTCFullYear()===b.getUTCFullYear()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCDate()===b.getUTCDate()}function f(c,d){return function(){return d!==b&&a.fn.datepicker.deprecated(d),this[c].apply(this,arguments)}}function g(a){return a&&!isNaN(a.getTime())}function h(b,c){function d(a,b){return b.toLowerCase()}var e,f=a(b).data(),g={},h=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());for(var i in f)c.test(i)&&(e=i.replace(h,d),g[e]=f[i]);return g}function i(b){var c={};if(q[b]||(b=b.split("-")[0],q[b])){var d=q[b];return a.each(p,function(a,b){b in d&&(c[b]=d[b])}),c}}var j=function(){var b={get:function(a){return this.slice(a)[0]},contains:function(a){for(var b=a&&a.valueOf(),c=0,d=this.length;c]/g)||[]).length<=0)return!0;var d=a(c);return d.length>0}catch(a){return!1}},_process_options:function(b){this._o=a.extend({},this._o,b);var e=this.o=a.extend({},this._o),f=e.language;q[f]||(f=f.split("-")[0],q[f]||(f=o.language)),e.language=f,e.startView=this._resolveViewName(e.startView),e.minViewMode=this._resolveViewName(e.minViewMode),e.maxViewMode=this._resolveViewName(e.maxViewMode),e.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,e.startView)),e.multidate!==!0&&(e.multidate=Number(e.multidate)||!1,e.multidate!==!1&&(e.multidate=Math.max(0,e.multidate))),e.multidateSeparator=String(e.multidateSeparator),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;var g=r.parseFormat(e.format);e.startDate!==-(1/0)&&(e.startDate?e.startDate instanceof Date?e.startDate=this._local_to_utc(this._zero_time(e.startDate)):e.startDate=r.parseDate(e.startDate,g,e.language,e.assumeNearbyYear):e.startDate=-(1/0)),e.endDate!==1/0&&(e.endDate?e.endDate instanceof Date?e.endDate=this._local_to_utc(this._zero_time(e.endDate)):e.endDate=r.parseDate(e.endDate,g,e.language,e.assumeNearbyYear):e.endDate=1/0),e.daysOfWeekDisabled=this._resolveDaysOfWeek(e.daysOfWeekDisabled||[]),e.daysOfWeekHighlighted=this._resolveDaysOfWeek(e.daysOfWeekHighlighted||[]),e.datesDisabled=e.datesDisabled||[],a.isArray(e.datesDisabled)||(e.datesDisabled=e.datesDisabled.split(",")),e.datesDisabled=a.map(e.datesDisabled,function(a){return r.parseDate(a,g,e.language,e.assumeNearbyYear)});var h=String(e.orientation).toLowerCase().split(/\s+/g),i=e.orientation.toLowerCase();if(h=a.grep(h,function(a){return/^auto|left|right|top|bottom$/.test(a)}),e.orientation={x:"auto",y:"auto"},i&&"auto"!==i)if(1===h.length)switch(h[0]){case"top":case"bottom":e.orientation.y=h[0];break;case"left":case"right":e.orientation.x=h[0]}else i=a.grep(h,function(a){return/^left|right$/.test(a)}),e.orientation.x=i[0]||"auto",i=a.grep(h,function(a){return/^top|bottom$/.test(a)}),e.orientation.y=i[0]||"auto";else;if(e.defaultViewDate instanceof Date||"string"==typeof e.defaultViewDate)e.defaultViewDate=r.parseDate(e.defaultViewDate,g,e.language,e.assumeNearbyYear);else if(e.defaultViewDate){var j=e.defaultViewDate.year||(new Date).getFullYear(),k=e.defaultViewDate.month||0,l=e.defaultViewDate.day||1;e.defaultViewDate=c(j,k,l)}else e.defaultViewDate=d()},_events:[],_secondaryEvents:[],_applyEvents:function(a){for(var c,d,e,f=0;ff?(this.picker.addClass("datepicker-orient-right"),n+=m-b):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var p,q=this.o.orientation.y;if("auto"===q&&(p=-g+o-c,q=p<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+q),"top"===q?o-=c+parseInt(this.picker.css("padding-top")):o+=l,this.o.rtl){var r=f-(n+m);this.picker.css({top:o,right:r,zIndex:j})}else this.picker.css({top:o,left:n,zIndex:j});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var b=this.dates.copy(),c=[],d=!1;return arguments.length?(a.each(arguments,a.proxy(function(a,b){b instanceof Date&&(b=this._local_to_utc(b)),c.push(b)},this)),d=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),c=c&&this.o.multidate?c.split(this.o.multidateSeparator):[c],delete this.element.data().date),c=a.map(c,a.proxy(function(a){return r.parseDate(a,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),c=a.grep(c,a.proxy(function(a){return!this.dateWithinRange(a)||!a},this),!0),this.dates.replace(c),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),d?(this.setValue(),this.element.change()):this.dates.length&&String(b)!==String(this.dates)&&d&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&b.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var b=this.o.weekStart,c="";for(this.o.calendarWeeks&&(c+=' ');b";c+="",this.picker.find(".datepicker-days thead").append(c)}},fillMonths:function(){for(var a,b=this._utc_to_local(this.viewDate),c="",d=0;d<12;d++)a=b&&b.getMonth()===d?" focused":"",c+=''+q[this.o.language].monthsShort[d]+"";this.picker.find(".datepicker-months td").html(c)},setRange:function(b){b&&b.length?this.range=a.map(b,function(a){return a.valueOf()}):delete this.range,this.fill()},getClassNames:function(b){var c=[],f=this.viewDate.getUTCFullYear(),g=this.viewDate.getUTCMonth(),h=d();return b.getUTCFullYear()f||b.getUTCFullYear()===f&&b.getUTCMonth()>g)&&c.push("new"),this.focusDate&&b.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&e(b,h)&&c.push("today"),this.dates.contains(b)!==-1&&c.push("active"),this.dateWithinRange(b)||c.push("disabled"),this.dateIsDisabled(b)&&c.push("disabled","disabled-date"),a.inArray(b.getUTCDay(),this.o.daysOfWeekHighlighted)!==-1&&c.push("highlighted"),this.range&&(b>this.range[0]&&bh)&&j.push("disabled"),t===r&&j.push("focused"),i!==a.noop&&(l=i(new Date(t,0,1)),l===b?l={}:"boolean"==typeof l?l={enabled:l}:"string"==typeof l&&(l={classes:l}),l.enabled===!1&&j.push("disabled"),l.classes&&(j=j.concat(l.classes.split(/\s+/))),l.tooltip&&(k=l.tooltip)),m+='"+t+"";o.find(".datepicker-switch").text(p+"-"+q),o.find("td").html(m)},fill:function(){var d,e,f=new Date(this.viewDate),g=f.getUTCFullYear(),h=f.getUTCMonth(),i=this.o.startDate!==-(1/0)?this.o.startDate.getUTCFullYear():-(1/0),j=this.o.startDate!==-(1/0)?this.o.startDate.getUTCMonth():-(1/0),k=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,m=q[this.o.language].today||q.en.today||"",n=q[this.o.language].clear||q.en.clear||"",o=q[this.o.language].titleFormat||q.en.titleFormat;if(!isNaN(g)&&!isNaN(h)){this.picker.find(".datepicker-days .datepicker-switch").text(r.formatDate(f,o,this.o.language)),this.picker.find("tfoot .today").text(m).css("display",this.o.todayBtn===!0||"linked"===this.o.todayBtn?"table-cell":"none"),this.picker.find("tfoot .clear").text(n).css("display",this.o.clearBtn===!0?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var p=c(g,h,0),s=p.getUTCDate();p.setUTCDate(s-(p.getUTCDay()-this.o.weekStart+7)%7);var t=new Date(p);p.getUTCFullYear()<100&&t.setUTCFullYear(p.getUTCFullYear()),t.setUTCDate(t.getUTCDate()+42),t=t.valueOf();for(var u,v,w=[];p.valueOf()"),this.o.calendarWeeks)){var x=new Date(+p+(this.o.weekStart-u-7)%7*864e5),y=new Date(Number(x)+(11-x.getUTCDay())%7*864e5),z=new Date(Number(z=c(y.getUTCFullYear(),0,1))+(11-z.getUTCDay())%7*864e5),A=(y-z)/864e5/7+1;w.push(''+A+"")}v=this.getClassNames(p),v.push("day");var B=p.getUTCDate();this.o.beforeShowDay!==a.noop&&(e=this.o.beforeShowDay(this._utc_to_local(p)),e===b?e={}:"boolean"==typeof e?e={enabled:e}:"string"==typeof e&&(e={classes:e}),e.enabled===!1&&v.push("disabled"),e.classes&&(v=v.concat(e.classes.split(/\s+/))),e.tooltip&&(d=e.tooltip),e.content&&(B=e.content)),v=a.isFunction(a.uniqueSort)?a.uniqueSort(v):a.unique(v),w.push(''+B+""),d=null,u===this.o.weekEnd&&w.push(""),p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(w.join(""));var C=q[this.o.language].monthsTitle||q.en.monthsTitle||"Months",D=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?C:g).end().find("tbody span").removeClass("active");if(a.each(this.dates,function(a,b){b.getUTCFullYear()===g&&D.eq(b.getUTCMonth()).addClass("active")}),(gk)&&D.addClass("disabled"),g===i&&D.slice(0,j).addClass("disabled"),g===k&&D.slice(l+1).addClass("disabled"),this.o.beforeShowMonth!==a.noop){var E=this;a.each(D,function(c,d){var e=new Date(g,c,1),f=E.o.beforeShowMonth(e);f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),f.enabled!==!1||a(d).hasClass("disabled")||a(d).addClass("disabled"),f.classes&&a(d).addClass(f.classes),f.tooltip&&a(d).prop("title",f.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,g,i,k,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,g,i,k,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,g,i,k,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var a,b,c=new Date(this.viewDate),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=this.o.startDate!==-(1/0)?this.o.startDate.getUTCFullYear():-(1/0),g=this.o.startDate!==-(1/0)?this.o.startDate.getUTCMonth():-(1/0),h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,i=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,j=1;switch(this.viewMode){case 0:a=d<=f&&e<=g,b=d>=h&&e>=i;break;case 4:j*=10;case 3:j*=10;case 2:j*=10;case 1:a=Math.floor(d/j)*j<=f,b=Math.floor(d/j)*j+j>=h}this.picker.find(".prev").toggleClass("disabled",a),this.picker.find(".next").toggleClass("disabled",b)}},click:function(b){b.preventDefault(),b.stopPropagation();var e,f,g,h;e=a(b.target),e.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(d(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),f=1,1===this.viewMode?(h=e.parent().find("span").index(e),g=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(h)):(h=0,g=Number(e.text()),this.viewDate.setUTCFullYear(g)),this._trigger(r.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(c(g,h,f)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(b){var c=a(b.currentTarget),d=c.data("date"),e=new Date(d);this.o.updateViewDate&&(e.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),e.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(e)},navArrowsClick:function(b){var c=a(b.currentTarget),d=c.hasClass("prev")?-1:1;0!==this.viewMode&&(d*=12*r.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,d),this._trigger(r.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(a){var b=this.dates.contains(a);if(a||this.dates.clear(),b!==-1?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(b):this.o.multidate===!1?(this.dates.clear(),this.dates.push(a)):this.dates.push(a),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(a,b){b&&"date"!==b||this._toggle_multidate(a&&new Date(a)),(!b&&this.o.updateViewDate||"view"===b)&&(this.viewDate=a&&new Date(a)),this.fill(),this.setValue(),b&&"view"===b||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||b&&"date"!==b||this.hide()},moveDay:function(a,b){var c=new Date(a);return c.setUTCDate(a.getUTCDate()+b),c},moveWeek:function(a,b){return this.moveDay(a,7*b)},moveMonth:function(a,b){if(!g(a))return this.o.defaultViewDate;if(!b)return a;var c,d,e=new Date(a.valueOf()),f=e.getUTCDate(),h=e.getUTCMonth(),i=Math.abs(b);if(b=b>0?1:-1,1===i)d=b===-1?function(){return e.getUTCMonth()===h}:function(){return e.getUTCMonth()!==c},c=h+b,e.setUTCMonth(c),c=(c+12)%12;else{for(var j=0;j0},dateWithinRange:function(a){return a>=this.o.startDate&&a<=this.o.endDate},keydown:function(a){if(!this.picker.is(":visible"))return void(40!==a.keyCode&&27!==a.keyCode||(this.show(),a.stopPropagation()));var b,c,d=!1,e=this.focusDate||this.viewDate;switch(a.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),a.preventDefault(),a.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;b=37===a.keyCode||38===a.keyCode?-1:1,0===this.viewMode?a.ctrlKey?(c=this.moveAvailableDate(e,b,"moveYear"),c&&this._trigger("changeYear",this.viewDate)):a.shiftKey?(c=this.moveAvailableDate(e,b,"moveMonth"),c&&this._trigger("changeMonth",this.viewDate)):37===a.keyCode||39===a.keyCode?c=this.moveAvailableDate(e,b,"moveDay"):this.weekOfDateIsDisabled(e)||(c=this.moveAvailableDate(e,b,"moveWeek")):1===this.viewMode?(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveMonth")):2===this.viewMode&&(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveYear")),c&&(this.focusDate=this.viewDate=c,this.setValue(),this.fill(),a.preventDefault());break;case 13:if(!this.o.forceParse)break;e=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(e),d=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(a.preventDefault(),a.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}d&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(a){this.viewMode=a,this.picker.children("div").hide().filter(".datepicker-"+r.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var l=function(b,c){a.data(b,"datepicker",this),this.element=a(b),this.inputs=a.map(c.inputs,function(a){return a.jquery?a[0]:a}),delete c.inputs,this.keepEmptyValues=c.keepEmptyValues,delete c.keepEmptyValues,n.call(a(this.inputs),c).on("changeDate",a.proxy(this.dateUpdated,this)),this.pickers=a.map(this.inputs,function(b){return a.data(b,"datepicker")}),this.updateDates()};l.prototype={updateDates:function(){this.dates=a.map(this.pickers,function(a){return a.getUTCDate()}),this.updateRanges()},updateRanges:function(){var b=a.map(this.dates,function(a){return a.valueOf()});a.each(this.pickers,function(a,c){c.setRange(b)})},dateUpdated:function(c){if(!this.updating){this.updating=!0;var d=a.data(c.target,"datepicker");if(d!==b){var e=d.getUTCDate(),f=this.keepEmptyValues,g=a.inArray(c.target,this.inputs),h=g-1,i=g+1,j=this.inputs.length;if(g!==-1){if(a.each(this.pickers,function(a,b){b.getUTCDate()||b!==d&&f||b.setUTCDate(e)}),e=0&&ethis.dates[i])for(;ithis.dates[i];)this.pickers[i++].setUTCDate(e);this.updateDates(),delete this.updating}}}},destroy:function(){a.map(this.pickers,function(a){a.destroy()}),a(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var m=a.fn.datepicker,n=function(c){var d=Array.apply(null,arguments);d.shift();var e;if(this.each(function(){var b=a(this),f=b.data("datepicker"),g="object"==typeof c&&c;if(!f){var j=h(this,"date"),m=a.extend({},o,j,g),n=i(m.language),p=a.extend({},o,n,j,g);b.hasClass("input-daterange")||p.inputs?(a.extend(p,{inputs:p.inputs||b.find("input").toArray()}),f=new l(this,p)):f=new k(this,p),b.data("datepicker",f)}"string"==typeof c&&"function"==typeof f[c]&&(e=f[c].apply(f,d))}),e===b||e instanceof k||e instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+c+" function)");return e};a.fn.datepicker=n;var o=a.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:a.noop,beforeShowMonth:a.noop,beforeShowYear:a.noop,beforeShowDecade:a.noop,beforeShowCentury:a.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-(1/0),startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},p=a.fn.datepicker.locale_opts=["format","rtl","weekStart"];a.fn.datepicker.Constructor=k;var q=a.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},r={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(a){if("function"==typeof a.toValue&&"function"==typeof a.toDisplay)return a;var b=a.replace(this.validParts,"\0").split("\0"),c=a.match(this.validParts);if(!b||!b.length||!c||0===c.length)throw new Error("Invalid date format.");return{separators:b,parts:c}},parseDate:function(c,e,f,g){function h(a,b){return b===!0&&(b=10),a<100&&(a+=2e3,a>(new Date).getFullYear()+b&&(a-=100)),a}function i(){var a=this.slice(0,j[n].length),b=j[n].slice(0,a.length);return a.toLowerCase()===b.toLowerCase()}if(!c)return b;if(c instanceof Date)return c;if("string"==typeof e&&(e=r.parseFormat(e)),e.toValue)return e.toValue(c,e,f);var j,l,m,n,o,p={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},s={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(c in s&&(c=s[c]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(c)){for(j=c.match(/([\-+]\d+)([dmwy])/gi),c=new Date,n=0;n'+o.templates.leftArrow+''+o.templates.rightArrow+"", -contTemplate:'',footTemplate:''};r.template='
'+r.headTemplate+""+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+"
",a.fn.datepicker.DPGlobal=r,a.fn.datepicker.noConflict=function(){return a.fn.datepicker=m,this},a.fn.datepicker.version="1.7.1",a.fn.datepicker.deprecated=function(a){var b=window.console;b&&b.warn&&b.warn("DEPRECATED: "+a)},a(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(b){var c=a(this);c.data("datepicker")||(b.preventDefault(),n.call(c,"show"))}),a(function(){n.call(a('[data-provide="datepicker-inline"]'))})}); \ No newline at end of file diff --git a/bootstrap.accessibility_1.0.4/LICENSE.htm b/bootstrap.accessibility_1.0.4/LICENSE.htm deleted file mode 100644 index 6100fc7a..00000000 --- a/bootstrap.accessibility_1.0.4/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.accessibility_1.0.4/Resources.zip b/bootstrap.accessibility_1.0.4/Resources.zip deleted file mode 100644 index fb8a0d25..00000000 Binary files a/bootstrap.accessibility_1.0.4/Resources.zip and /dev/null differ diff --git a/bootstrap.accessibility_1.0.4/bootstrap-accessibility.js b/bootstrap.accessibility_1.0.4/bootstrap-accessibility.js deleted file mode 100644 index 56deb0e7..00000000 --- a/bootstrap.accessibility_1.0.4/bootstrap-accessibility.js +++ /dev/null @@ -1,434 +0,0 @@ -/* ======================================================================== -* Extends Bootstrap v3.1.1 - -* Copyright (c) <2014> eBay Software Foundation - -* 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 eBay or any of its subsidiaries or affiliates nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -* ======================================================================== */ - - - (function($) { - "use strict"; - - // GENERAL UTILITY FUNCTIONS - // =============================== - - var uniqueId = function(prefix) { - return (prefix || 'ui-id') + '-' + Math.floor((Math.random()*1000)+1) - } - - - var removeMultiValAttributes = function (el, attr, val) { - var describedby = (el.attr( attr ) || "").split( /\s+/ ) - , index = $.inArray(val, describedby) - if ( index !== -1 ) { - describedby.splice( index, 1 ) - } - describedby = $.trim( describedby.join( " " ) ) - if (describedby ) { - el.attr( attr, describedby ) - } else { - el.removeAttr( attr ) - } - } - -// selectors Courtesy: https://github.com/jquery/jquery-ui/blob/master/ui/core.js - var focusable = function ( element, isTabIndexNotNaN ) { - var map, mapName, img, - nodeName = element.nodeName.toLowerCase(); - if ( "area" === nodeName ) { - map = element.parentNode; - mapName = map.name; - if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) { - return false; - } - img = $( "img[usemap='#" + mapName + "']" )[ 0 ]; - return !!img && visible( img ); - } - return ( /input|select|textarea|button|object/.test( nodeName ) ? - !element.disabled : - "a" === nodeName ? - element.href || isTabIndexNotNaN :isTabIndexNotNaN) && visible( element ); // the element and all of its ancestors must be visible - } - var visible = function ( element ) { - return $.expr.filters.visible( element ) && - !$( element ).parents().addBack().filter(function() { - return $.css( this, "visibility" ) === "hidden"; - }).length; - } - - $.extend( $.expr[ ":" ], { - data: $.expr.createPseudo ? - $.expr.createPseudo(function( dataName ) { - return function( elem ) { - return !!$.data( elem, dataName ); - }; - }) : - // support: jQuery <1.8 - function( elem, i, match ) { - return !!$.data( elem, match[ 3 ] ); - }, - - focusable: function( element ) { - return focusable( element, !isNaN( $.attr( element, "tabindex" ) ) ); - }, - - tabbable: function( element ) { - var tabIndex = $.attr( element, "tabindex" ), - isTabIndexNaN = isNaN( tabIndex ); - return ( isTabIndexNaN || tabIndex >= 0 ) && focusable( element, !isTabIndexNaN ); - } - }); - -// Alert Extension -// =============================== - -$('.alert').attr('role', 'alert') -$('.close').removeAttr('aria-hidden').wrapInner('').append('Close') - - // Modal Extension - // =============================== - - $('.modal-dialog').attr( {'role' : 'document'}) - var modalhide = $.fn.modal.Constructor.prototype.hide - $.fn.modal.Constructor.prototype.hide = function(){ - var modalOpener = this.$element.parent().find('[data-target="#' + this.$element.attr('id') + '"]') - modalhide.apply(this, arguments) - modalOpener.focus() - $(document).off('keydown.bs.modal') - } - - var modalfocus = $.fn.modal.Constructor.prototype.enforceFocus - $.fn.modal.Constructor.prototype.enforceFocus = function(){ - var focEls = this.$element.find(":tabbable") - , lastEl = focEls[focEls.length-1] - $(document).on('keydown.bs.modal', $.proxy(function (ev) { - if(!this.$element.has(ev.target).length && ev.shiftKey && ev.keyCode === 9) { - lastEl.focus() - ev.preventDefault(); - } - }, this)) - - modalfocus.apply(this, arguments) - } - // DROPDOWN Extension - // =============================== - - var toggle = '[data-toggle=dropdown]' - , $par - , firstItem - , focusDelay = 200 - , menus = $(toggle).parent().find('ul').attr('role','menu') - , lis = menus.find('li').attr('role','presentation') - - lis.find('a').attr({'role':'menuitem', 'tabIndex':'-1'}) - $(toggle).attr({ 'aria-haspopup':'true', 'aria-expanded': 'false'}) - - $(toggle).parent().on('shown.bs.dropdown',function(e){ - $par = $(this) - var $toggle = $par.find(toggle) - $toggle.attr('aria-expanded','true') - $toggle.on('keydown.bs.modal', $.proxy(function (ev) { - setTimeout(function(){ - firstItem = $('.dropdown-menu [role=menuitem]:visible', $par)[0] - try{ firstItem.focus()} catch(ex) {} - }, focusDelay) - }, this)) - - }) - - $(toggle).parent().on('hidden.bs.dropdown',function(e){ - $par = $(this) - var $toggle = $par.find(toggle) - $toggle.attr('aria-expanded','false') - }) - - $(document) - .on('focusout.dropdown.data-api', '.dropdown-menu', function(e){ - var $this = $(this) - , that = this - setTimeout(function() { - if(!$.contains(that, document.activeElement)){ - $this.parent().removeClass('open') - $this.parent().find('[data-toggle=dropdown]').attr('aria-expanded','false') - } - }, 150) - }) - .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , $.fn.dropdown.Constructor.prototype.keydown) - // Tab Extension - // =============================== - - var $tablist = $('.nav-tabs, .nav-pills') - , $lis = $tablist.children('li') - , $tabs = $tablist.find('[data-toggle="tab"], [data-toggle="pill"]') - - $tablist.attr('role', 'tablist') - $lis.attr('role', 'presentation') - $tabs.attr('role', 'tab') - - $tabs.each(function( index ) { - var tabpanel = $($(this).attr('href')) - , tab = $(this) - , tabid = tab.attr('id') || uniqueId('ui-tab') - - tab.attr('id', tabid) - - if(tab.parent().hasClass('active')){ - tab.attr( { 'tabIndex' : '0', 'aria-selected' : 'true', 'aria-controls': tab.attr('href').substr(1) } ) - tabpanel.attr({ 'role' : 'tabpanel', 'tabIndex' : '0', 'aria-hidden' : 'false', 'aria-labelledby':tabid }) - }else{ - tab.attr( { 'tabIndex' : '-1', 'aria-selected' : 'false', 'aria-controls': tab.attr('href').substr(1) } ) - tabpanel.attr( { 'role' : 'tabpanel', 'tabIndex' : '-1', 'aria-hidden' : 'true', 'aria-labelledby':tabid } ) - } - }) - - $.fn.tab.Constructor.prototype.keydown = function (e) { - var $this = $(this) - , $items - , $ul = $this.closest('ul[role=tablist] ') - , index - , k = e.which || e.keyCode - - $this = $(this) - if (!/(37|38|39|40)/.test(k)) return - - $items = $ul.find('[role=tab]:visible') - index = $items.index($items.filter(':focus')) - - if (k == 38 || k == 37) index-- // up & left - if (k == 39 || k == 40) index++ // down & right - - - if(index < 0) index = $items.length -1 - if(index == $items.length) index = 0 - - var nextTab = $items.eq(index) - if(nextTab.attr('role') ==='tab'){ - - nextTab.tab('show') //Comment this line for dynamically loaded tabPabels, to save Ajax requests on arrow key navigation - .focus() - } - // nextTab.focus() - - e.preventDefault() - e.stopPropagation() - } - - $(document).on('keydown.tab.data-api','[data-toggle="tab"], [data-toggle="pill"]' , $.fn.tab.Constructor.prototype.keydown) - - var tabactivate = $.fn.tab.Constructor.prototype.activate; - $.fn.tab.Constructor.prototype.activate = function (element, container, callback) { - var $active = container.find('> .active') - $active.find('[data-toggle=tab], [data-toggle=pill]').attr({ 'tabIndex' : '-1','aria-selected' : false }) - $active.filter('.tab-pane').attr({ 'aria-hidden' : true,'tabIndex' : '-1' }) - - tabactivate.apply(this, arguments) - - element.addClass('active') - element.find('[data-toggle=tab], [data-toggle=pill]').attr({ 'tabIndex' : '0','aria-selected' : true }) - element.filter('.tab-pane').attr({ 'aria-hidden' : false,'tabIndex' : '0' }) - } - - // Collapse Extension - // =============================== - - var $colltabs = $('[data-toggle="collapse"]') - $colltabs.attr({ 'role':'tab', 'aria-selected':'false', 'aria-expanded':'false' }) - $colltabs.each(function( index ) { - var colltab = $(this) - , collpanel = (colltab.attr('data-target')) ? $(colltab.attr('data-target')) : $(colltab.attr('href')) - , parent = colltab.attr('data-parent') - , collparent = parent && $(parent) - , collid = colltab.attr('id') || uniqueId('ui-collapse') - - $(collparent).find('div:not(.collapse,.panel-body), h4').attr('role','presentation') - - colltab.attr('id', collid) - if(collparent){ - collparent.attr({ 'role' : 'tablist', 'aria-multiselectable' : 'true' }) - if(collpanel.hasClass('in')){ - colltab.attr({ 'aria-controls': collpanel.attr('id'), 'aria-selected':'true', 'aria-expanded':'true', 'tabindex':'0' }) - collpanel.attr({ 'role':'tabpanel', 'tabindex':'0', 'aria-labelledby':collid, 'aria-hidden':'false' }) - }else{ - colltab.attr({'aria-controls' : collpanel.attr('id'), 'tabindex':'-1' }) - collpanel.attr({ 'role':'tabpanel', 'tabindex':'-1', 'aria-labelledby':collid, 'aria-hidden':'true' }) - } - } - }) - - var collToggle = $.fn.collapse.Constructor.prototype.toggle - $.fn.collapse.Constructor.prototype.toggle = function(){ - var prevTab = this.$parent && this.$parent.find('[aria-expanded="true"]') , href - - if(prevTab){ - var prevPanel = prevTab.attr('data-target') || (href = prevTab.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') - , $prevPanel = $(prevPanel) - , $curPanel = this.$element - , par = this.$parent - , curTab - - if (this.$parent) curTab = this.$parent.find('[data-toggle=collapse][href="#' + this.$element.attr('id') + '"]') - - collToggle.apply(this, arguments) - - if ($.support.transition) { - this.$element.one($.support.transition.end, function(){ - - prevTab.attr({ 'aria-selected':'false','aria-expanded':'false', 'tabIndex':'-1' }) - $prevPanel.attr({ 'aria-hidden' : 'true','tabIndex' : '-1'}) - - curTab.attr({ 'aria-selected':'true','aria-expanded':'true', 'tabIndex':'0' }) - - if($curPanel.hasClass('in')){ - $curPanel.attr({ 'aria-hidden' : 'false','tabIndex' : '0' }) - }else{ - curTab.attr({ 'aria-selected':'false','aria-expanded':'false'}) - $curPanel.attr({ 'aria-hidden' : 'true','tabIndex' : '-1' }) - } - }) - } - }else{ - collToggle.apply(this, arguments) - } - } - - $.fn.collapse.Constructor.prototype.keydown = function (e) { - var $this = $(this) - , $items - , $tablist = $this.closest('div[role=tablist] ') - , index - , k = e.which || e.keyCode - - $this = $(this) - if (!/(32|37|38|39|40)/.test(k)) return - if(k==32) $this.click() - - $items = $tablist.find('[role=tab]') - index = $items.index($items.filter(':focus')) - - if (k == 38 || k == 37) index-- // up & left - if (k == 39 || k == 40) index++ // down & right - if(index < 0) index = $items.length -1 - if(index == $items.length) index = 0 - - $items.eq(index).focus() - - e.preventDefault() - e.stopPropagation() - - } - - $(document).on('keydown.collapse.data-api','[data-toggle="collapse"]' , $.fn.collapse.Constructor.prototype.keydown) - - // Carousel Extension - // =============================== - - $('.carousel').each(function (index) { - var $this = $(this) - , prev = $this.find('[data-slide="prev"]') - , next = $this.find('[data-slide="next"]') - , $options = $this.find('.item') - , $listbox = $options.parent() - - $this.attr( { 'data-interval' : 'false', 'data-wrap' : 'false' } ) - $listbox.attr('role', 'listbox') - $options.attr('role', 'option') - - var spanPrev = document.createElement('span') - spanPrev.setAttribute('class', 'sr-only') - spanPrev.innerHTML='Previous' - - var spanNext = document.createElement('span') - spanNext.setAttribute('class', 'sr-only') - spanNext.innerHTML='Next' - - prev.attr('role', 'button') - next.attr('role', 'button') - - prev.append(spanPrev) - next.append(spanNext) - - $options.each(function () { - var item = $(this) - if(item.hasClass('active')){ - item.attr({ 'aria-selected': 'true', 'tabindex' : '0' }) - }else{ - item.attr({ 'aria-selected': 'false', 'tabindex' : '-1' }) - } - }) - }) - - var slideCarousel = $.fn.carousel.Constructor.prototype.slide - $.fn.carousel.Constructor.prototype.slide = function (type, next) { - var $active = this.$element.find('.item.active') - , $next = next || $active[type]() - - slideCarousel.apply(this, arguments) - - $active - .one('bsTransitionEnd', function () { - $active.attr({'aria-selected':false, 'tabIndex': '-1'}) - $next.attr({'aria-selected':true, 'tabIndex': '0'}) - //.focus() - }) - } - - var $this; - $.fn.carousel.Constructor.prototype.keydown = function (e) { - $this = $this || $(this) - if(this instanceof Node) $this = $(this) - var $ul = $this.closest('div[role=listbox]') - , $items = $ul.find('[role=option]') - , $parent = $ul.parent() - , k = e.which || e.keyCode - , index - , i - - if (!/(37|38|39|40)/.test(k)) return - index = $items.index($items.filter('.active')) - if (k == 37 || k == 38) { // Up - - index-- - if(index < 0) index = $items.length -1 - else { - $parent.carousel('prev') - setTimeout(function () { - $items[index].focus() - // $this.prev().focus() - }, 150) - } - - } - if (k == 39 || k == 40) { // Down - index++ - if(index == $items.length) { - index = 0 - } - else { - $parent.carousel('next') - setTimeout(function () { - $items[index].focus() - // $this.next().focus() - }, 150) - } - - } - - e.preventDefault() - e.stopPropagation() - } - $(document).on('keydown.carousel.data-api', 'div[role=option]', $.fn.carousel.Constructor.prototype.keydown) - - - })(jQuery); \ No newline at end of file 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/dnn-library.json b/bootstrap/dnn-library.json new file mode 100644 index 00000000..5a6103cd --- /dev/null +++ b/bootstrap/dnn-library.json @@ -0,0 +1,7 @@ +{ + "files": ["node_modules/bootstrap/dist/js/bootstrap.min.js"], + "resources": [ + "node_modules/bootstrap/dist/**", + "!node_modules/bootstrap/dist/js/bootstrap.min.js" + ] +} 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/bootstrap_3.3.7/Resources.zip b/bootstrap_3.3.7/Resources.zip deleted file mode 100644 index d501b712..00000000 Binary files a/bootstrap_3.3.7/Resources.zip and /dev/null differ diff --git a/bootstrap_3.3.7/bootstrap.min.js b/bootstrap_3.3.7/bootstrap.min.js deleted file mode 100644 index 9bcd2fcc..00000000 --- a/bootstrap_3.3.7/bootstrap.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Bootstrap v3.3.7 (http://getbootstrap.com) - * Copyright 2011-2016 Twitter, Inc. - * Licensed under the MIT license - */ -if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); \ No newline at end of file diff --git a/bower.json b/bower.json deleted file mode 100644 index da831c66..00000000 --- a/bower.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "name": "engage-dnn-javascript-libraries", - "description": "Common JavaScript libraries packaged as DNN JavaScript Library extensions", - "authors": [ - "Brian Dukes " - ], - "license": "MIT", - "keywords": [ - "DNN Platform" - ], - "homepage": "https://github.com/EngageSoftware/DNN-JavaScript-Libraries/", - "private": true, - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "_bower_components/", - "test", - "tests" - ], - "dependencies": { - "bootstrap-datepicker": "1.7.1", - "bluebird": "3.5.1", - "bootstrap": "3.3.7", - "clipboard": "1.7.1", - "chart.js": "2.7.1", - "date-fns": "1.28.4", - "flexslider": "FlexSlider#2.6.4", - "es6-shim": "0.35.3", - "less": "less.js#2.7.2", - "lie": "3.1.1", - "numeral": "2.0.6", - "picturefill": "3.0.3", - "select2": "4.0.4", - "system.js": "0.20.19", - "urijs": "1.19.0", - "tota11y": "0.1.6", - "chosen": "1.8.2", - "html5shiv": "3.7.3", - "jquery.scrollTo": "2.1.2", - "jquery-mousewheel": "3.1.13", - "jszip": "3.1.5", - "KineticJS": "kineticjs#5.1.0", - "knockout-jqAutocomplete": "0.4.4", - "knockout-postbox": "0.6.0", - "knockout-sortable": "1.1.0", - "knockout-validation": "2.0.3", - "quill-editor-knockout-binding": "ko-quill#0.1.3", - "pepjs": "0.4.3", - "quill": "1.3.4", - "respond": "respond-minmax#1.4.2", - "responsive-tabs": "1.6.3", - "router.js": "1.0.10", - "spectrum": "1.8.0", - "underscore": "1.8.3", - "zeroclipboard": "2.3.0", - "file-saver": "filesaverjs#^1.3.3", - "swiper": "4.0.5", - "js-xlsx": "0.11.8", - "Blob": "*", - "tableexport.js": "4.0.1", - "tinymce": "4.7.2", - "jquery": "3.2.1", - "jquery-ui": "^1.12.1", - "unitegallery": "^1.7.40", - "jquery.localScroll": "^2.0.0", - "jquery.serialscroll": "jquery.serialScroll#^1.3.1", - "intl-tel-input": "12.1.3", - "pubsub-js": "^1.5.7" - } -} 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 59% rename from chart.js_2.7.1/chartjs.dnn rename to chart.js/chartjs.dnn index 7375a976..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/chart.js/2.7.1/Chart.min.js + https://cdn.jsdelivr.net/npm/chart.js@<~=version~>/dist/chart.umd.js Chart @@ -31,10 +31,18 @@ chartjs - Chart.min.js + Chart.umd.js
+ + + 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/chosen_1.8.2/CHANGES.htm b/chosen-js/CHANGES.htm similarity index 100% rename from chosen_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_1.8.2/chosen.dnn b/chosen-js/chosen.dnn similarity index 81% rename from chosen_1.8.2/chosen.dnn rename to chosen-js/chosen.dnn index 6fbbbb91..534e6cd1 100644 --- a/chosen_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://cdnjs.cloudflare.com/ajax/libs/chosen/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/dnn-library.json b/chosen-js/dnn-library.json new file mode 100644 index 00000000..ff7fb8a8 --- /dev/null +++ b/chosen-js/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/chosen-js/chosen.jquery.min.js"], + "resources": ["node_modules/chosen-js/**"] +} diff --git a/chosen_1.8.2/LICENSE.htm b/chosen_1.8.2/LICENSE.htm deleted file mode 100644 index 7eac781a..00000000 --- a/chosen_1.8.2/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

Chosen is licensed under the MIT License.

diff --git a/chosen_1.8.2/Resources.zip b/chosen_1.8.2/Resources.zip deleted file mode 100644 index 3f8e2cc3..00000000 Binary files a/chosen_1.8.2/Resources.zip and /dev/null differ diff --git a/chosen_1.8.2/chosen.jquery.min.js b/chosen_1.8.2/chosen.jquery.min.js deleted file mode 100644 index d67677fb..00000000 --- a/chosen_1.8.2/chosen.jquery.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/* Chosen v1.8.2 | (c) 2011-2017 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ - -(function(){var t,e,s,i,n=function(t,e){return function(){return t.apply(e,arguments)}},r=function(t,e){function s(){this.constructor=t}for(var i in e)o.call(e,i)&&(t[i]=e[i]);return s.prototype=e.prototype,t.prototype=new s,t.__super__=e.prototype,t},o={}.hasOwnProperty;(i=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,s,i,n,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),o=[],s=0,i=(r=t.childNodes).length;s"+t.group_label+""+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout(function(t){return function(){return t.container_mousedown()}}(this),50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(t){return function(){return t.blur_test()}}(this),100)},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var e,s,i,n,r,o,h;for(e="",h=0,n=0,r=(o=this.results_data).length;n=this.max_shown_results));n++);return e},t.prototype.result_add_option=function(t){var e,s;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),s.style.cssText=t.style,s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.highlighted_html||t.html,t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.result_add_group=function(t){var e,s;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),s.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,s,i,n;for(n=[],t=0,e=(s=this.results_data).length;t"+this.escape_html(e)+""+this.escape_html(d)),null!=_&&(_.group_match=!0)):null!=n.group_array_index&&this.results_data[n.group_array_index].search_match&&(n.search_match=!0)));return this.result_clear_highlight(),c<1&&o.length?(this.update_results_content(""),this.no_results(o)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,s;return s=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(s="^"+s),e=this.case_sensitive_search?"":"i",new RegExp(s,e)},t.prototype.search_string_match=function(t,e){var s;return s=e.exec(t),!this.search_contains&&(null!=s?s[1]:void 0)&&(s.index+=1),s},t.prototype.choices_count=function(){var t,e,s;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(s=this.form_field.options).length;t0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){if(!this.is_disabled)return setTimeout(function(t){return function(){return t.results_search()}}(this),50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'\n '+this.default_text+'\n
\n
\n
\n \n
    \n
    '},t.prototype.get_multi_html=function(){return'
      \n
    • \n \n
    • \n
    \n
    \n
      \n
      '},t.prototype.get_no_results_html=function(t){return'
    • \n '+this.results_none_found+" "+this.escape_html(t)+"\n
    • "},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=jQuery).fn.extend({chosen:function(i){return e.browser_is_supported()?this.each(function(e){var n,r;r=(n=t(this)).data("chosen"),"destroy"!==i?r instanceof s||n.data("chosen",new s(this,i)):r instanceof s&&r.destroy()}):this}}),s=function(s){function n(){return n.__super__.constructor.apply(this,arguments)}return r(n,e),n.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},n.prototype.set_up_html=function(){var e,s;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),s={"class":e.join(" "),title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("
      ",s),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},n.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},n.prototype.register_observers=function(){return this.container.on("touchstart.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",function(t){t.preventDefault()})},n.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},n.prototype.container_mousedown=function(e){var s;if(!this.is_disabled)return!e||"mousedown"!==(s=e.type)&&"touchstart"!==s||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},n.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},n.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},n.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},n.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},n.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(e){var s;return(s=t(e.target).closest(".chosen-container")).length&&this.container[0]===s[0]?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},n.prototype.result_do_highlight=function(t){var e,s,i,n,r;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),i=parseInt(this.search_results.css("maxHeight"),10),r=this.search_results.scrollTop(),n=i+r,s=this.result_highlight.position().top+this.search_results.scrollTop(),(e=s+this.result_highlight.outerHeight())>=n)return this.search_results.scrollTop(e-i>0?e-i:0);if(s0)return this.form_field_label.on("click.chosen",this.label_click_handler)},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(e){var s;if((s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=s,this.result_select(e),this.search_field.focus()},n.prototype.search_results_mouseover=function(e){var s;if(s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(s)},n.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight()},n.prototype.choice_build=function(e){var s,i;return s=t("
    • ",{"class":"search-choice"}).html(""+this.choice_label(e)+""),e.disabled?s.addClass("search-choice-disabled"):((i=t("",{"class":"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",function(t){return function(e){return t.choice_destroy_link_click(e)}}(this)),s.append(i)),this.search_container.before(s)},n.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},n.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},n.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(t){var e,s;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),s=this.results_data[e[0].getAttribute("data-option-array-index")],s.selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.search_field.val(""),this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?this.winnow_results():(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},n.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},n.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after(''),this.selected_item.addClass("chosen-single-with-deselect")},n.prototype.get_search_field_value=function(){return this.search_field.val()},n.prototype.get_search_text=function(){return t.trim(this.get_search_field_value())},n.prototype.escape_html=function(e){return t("
      ").text(e).html()},n.prototype.winnow_results_set_highlight=function(){var t,e;if(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(t=e.length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},n.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},n.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},n.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},n.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},n.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.search_field_scale=function(){var e,s,i,n,r,o,h;if(this.is_multiple){for(r={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},s=0,i=(o=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;s").css(r)).text(this.get_search_field_value()),t("body").append(e),h=e.width()+25,e.remove(),this.container.is(":visible")&&(h=Math.min(this.container.outerWidth()-10,h)),this.search_field.width(h)}},n.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},n}()}).call(this); \ No newline at end of file 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 19f9834c..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/clipboard.js/1.7.1/clipboard.min.js + https://cdn.jsdelivr.net/npm/clipboard@<~=version~>/dist/clipboard.min.js Clipboard diff --git a/clipboard/dnn-library.json b/clipboard/dnn-library.json new file mode 100644 index 00000000..c31e39e3 --- /dev/null +++ b/clipboard/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/clipboard/dist/clipboard.min.js"], + "resources": [] +} diff --git a/clipboard_1.7.1/clipboard.min.js b/clipboard_1.7.1/clipboard.min.js deleted file mode 100644 index 90fd15b1..00000000 --- a/clipboard_1.7.1/clipboard.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * clipboard.js v1.7.1 - * https://zenorocha.github.io/clipboard.js - * - * Licensed MIT © Zeno Rocha - */ -!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.Clipboard=t()}}(function(){var t,e,n;return function t(e,n,o){function i(a,c){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!c&&l)return l(a,!0);if(r)return r(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var u=n[a]={exports:{}};e[a][0].call(u.exports,function(t){var n=e[a][1][t];return i(n||t)},u,u.exports,t,e,n,o)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function t(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function t(){var e=this,n="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[n?"right":"left"]="-9999px";var o=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=o+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,i.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function t(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function t(){this.selectedText=(0,i.default)(this.target),this.copyText()}},{key:"copyText",value:function t(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function t(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function t(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function t(){this.removeFake()}},{key:"action",set:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function t(){return this._action}},{key:"target",set:function t(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":r(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function t(){return this._target}}]),t}();t.exports=c})},{select:5}],8:[function(e,n,o){!function(i,r){if("function"==typeof t&&t.amd)t(["module","./clipboard-action","tiny-emitter","good-listener"],r);else if(void 0!==o)r(n,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var a={exports:{}};r(a,i.clipboardAction,i.tinyEmitter,i.goodListener),i.clipboard=a.exports}}(this,function(t,e,n,o){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function l(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var s=i(e),u=i(n),f=i(o),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===d(e.container)?e.container:document.body}},{key:"listenClick",value:function t(e){var n=this;this.listener=(0,f.default)(e,"click",function(t){return n.onClick(t)})}},{key:"onClick",value:function t(e){var n=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new s.default({action:this.action(n),target:this.target(n),text:this.text(n),container:this.container,trigger:n,emitter:this})}},{key:"defaultAction",value:function t(e){return l("action",e)}},{key:"defaultTarget",value:function t(e){var n=l("target",e);if(n)return document.querySelector(n)}},{key:"defaultText",value:function t(e){return l("text",e)}},{key:"destroy",value:function t(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],n="string"==typeof e?[e]:e,o=!!document.queryCommandSupported;return n.forEach(function(t){o=o&&!!document.queryCommandSupported(t)}),o}}]),e}(u.default);t.exports=p})},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)}); \ No newline at end of file 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/croppic-js/croppic.dnn b/croppic-js/croppic.dnn new file mode 100644 index 00000000..847ea65b --- /dev/null +++ b/croppic-js/croppic.dnn @@ -0,0 +1,49 @@ + + + + croppic-js + + + + + Engage Software + Engage Software + https://engagesoftware.com/ + support@engagesoftware.com + + + + true + + jQuery + + + + + croppic-js + croppic.min.js + BodyBottom + Croppic + https://cdn.jsdelivr.net/npm/croppic-js@<~=version~>/croppic.min.js + + + + + croppic-js + + croppic.min.js + + + + + + 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-dt/LICENSE.htm b/datatables.net-buttons-dt/LICENSE.htm new file mode 100644 index 00000000..ec5da9a0 --- /dev/null +++ b/datatables.net-buttons-dt/LICENSE.htm @@ -0,0 +1,2 @@ +

      DataTables is licensed under the + MIT License.

      diff --git a/datatables.net-buttons-dt/datatables.net-buttons.dnn b/datatables.net-buttons-dt/datatables.net-buttons.dnn new file mode 100644 index 00000000..77629574 --- /dev/null +++ b/datatables.net-buttons-dt/datatables.net-buttons.dnn @@ -0,0 +1,47 @@ + + + + DataTables Buttons Extension + An extension to the DataTables JS library, providing a common framework for user interaction buttons.. + + Engage Software + Engage Software + https://engagesoftware.com/ + support@engagesoftware.com + + + + true + + datatables.net + + + + + datatables.net-buttons + dataTables.buttons.min.js + BodyBottom + jQuery.fn.DataTable.Buttons + https://cdn.datatables.net/buttons/<~=version~>/js/dataTables.buttons.min.js + + + + + datatables.net-buttons + + dataTables.buttons.min.js + + + + + + 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-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-dt/LICENSE.htm b/datatables.net-dt/LICENSE.htm new file mode 100644 index 00000000..7f914598 --- /dev/null +++ b/datatables.net-dt/LICENSE.htm @@ -0,0 +1,2 @@ +

      datatables is licensed under the + MIT License.

      diff --git a/datatables.net-dt/datatables.dnn b/datatables.net-dt/datatables.dnn new file mode 100644 index 00000000..f7eee982 --- /dev/null +++ b/datatables.net-dt/datatables.dnn @@ -0,0 +1,49 @@ + + + + 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. + + Engage Software + Engage Software + https://engagesoftware.com/ + support@engagesoftware.com + + + + true + + jQuery + + + + + datatables.net + dataTables.min.js + BodyBottom + jQuery.fn.DataTable + https://cdn.datatables.net/<~=version~>/js/dataTables.min.js + + + + + datatables.net + + dataTables.min.js + + + + + + Resources\Libraries\datatables.net\<~=versionFolder~> + + Resources.zip + + + + + + + \ 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/date-fns_1.28.4/CHANGES.htm b/date-fns_1.28.4/CHANGES.htm deleted file mode 100644 index b98f72d6..00000000 --- a/date-fns_1.28.4/CHANGES.htm +++ /dev/null @@ -1 +0,0 @@ -

      See the date-fns Change Log

      diff --git a/date-fns_1.28.4/LICENSE.htm b/date-fns_1.28.4/LICENSE.htm deleted file mode 100644 index ef77c4bf..00000000 --- a/date-fns_1.28.4/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

      date-fns is licensed under the MIT License.

      diff --git a/date-fns_1.28.4/date_fns.min.js b/date-fns_1.28.4/date_fns.min.js deleted file mode 100644 index e88794d4..00000000 --- a/date-fns_1.28.4/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=(daySee the + Bootstrap 3 Datepicker changelog +

      diff --git a/eonasdan-bootstrap-datetimepicker/LICENSE.htm b/eonasdan-bootstrap-datetimepicker/LICENSE.htm new file mode 100644 index 00000000..4ca52545 --- /dev/null +++ b/eonasdan-bootstrap-datetimepicker/LICENSE.htm @@ -0,0 +1,2 @@ +

      Bootstrap 3 Datepicker is licensed under the + MIT License.

      diff --git a/eonasdan-bootstrap-datetimepicker/dnn-library.json b/eonasdan-bootstrap-datetimepicker/dnn-library.json new file mode 100644 index 00000000..dc9d8ece --- /dev/null +++ b/eonasdan-bootstrap-datetimepicker/dnn-library.json @@ -0,0 +1,6 @@ +{ + "files": [ + "node_modules/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js" + ], + "resources": ["node_modules/eonasdan-bootstrap-datetimepicker/build/**"] +} diff --git a/eonasdan-bootstrap-datetimepicker/eonasdan-bootstrap-datetimepicker.dnn b/eonasdan-bootstrap-datetimepicker/eonasdan-bootstrap-datetimepicker.dnn new file mode 100644 index 00000000..a8766f6f --- /dev/null +++ b/eonasdan-bootstrap-datetimepicker/eonasdan-bootstrap-datetimepicker.dnn @@ -0,0 +1,50 @@ + + + + Bootstrap 3 Datepicker + Date/time picker widget based on twitter bootstrap + + Engage Software + Engage Software + https://engagesoftware.com/ + support@engagesoftware.com + + + + true + + moment + jQuery + + + + + + + eonasdan-bootstrap-datetimepicker + bootstrap-datetimepicker.min.js + BodyBottom + jQuery.fn.datetimepicker + https://cdn.jsdelivr.net/npm/eonasdan-bootstrap-datetimepicker@<~=version~>/build/js/bootstrap-datetimepicker.min.js + + + + + eonasdan-bootstrap-datetimepicker + + bootstrap-datetimepicker.min.js + + + + + + 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/dnn-library.json b/es6-shim/dnn-library.json new file mode 100644 index 00000000..882bdb45 --- /dev/null +++ b/es6-shim/dnn-library.json @@ -0,0 +1,9 @@ +{ + "files": ["node_modules/es6-shim/es6-shim.min.js"], + "resources": [ + "node_modules/es6-shim/*.js", + "node_modules/es6-shim/*.map", + "!node_modules/es6-shim/Gruntfile.js", + "!node_modules/es6-shim/es6-shim.min.js" + ] +} 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/es6-shim_0.35.3/es6-shim.min.js b/es6-shim_0.35.3/es6-shim.min.js deleted file mode 100644 index 0155837d..00000000 --- a/es6-shim_0.35.3/es6-shim.min.js +++ /dev/null @@ -1,12 +0,0 @@ -/*! - * https://github.com/paulmillr/es6-shim - * @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com) - * and contributors, MIT License - * es6-shim: v0.35.1 - * see https://github.com/paulmillr/es6-shim/blob/0.35.1/LICENSE - * Details and documentation: - * https://github.com/paulmillr/es6-shim/ - */ -(function(e,t){if(typeof define==="function"&&define.amd){define(t)}else if(typeof exports==="object"){module.exports=t()}else{e.returnExports=t()}})(this,function(){"use strict";var e=Function.call.bind(Function.apply);var t=Function.call.bind(Function.call);var r=Array.isArray;var n=Object.keys;var o=function notThunker(t){return function notThunk(){return!e(t,this,arguments)}};var i=function(e){try{e();return false}catch(e){return true}};var a=function valueOrFalseIfThrows(e){try{return e()}catch(e){return false}};var u=o(i);var f=function(){return!i(function(){Object.defineProperty({},"x",{get:function(){}})})};var s=!!Object.defineProperty&&f();var c=function foo(){}.name==="foo";var l=Function.call.bind(Array.prototype.forEach);var p=Function.call.bind(Array.prototype.reduce);var v=Function.call.bind(Array.prototype.filter);var y=Function.call.bind(Array.prototype.some);var h=function(e,t,r,n){if(!n&&t in e){return}if(s){Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:r})}else{e[t]=r}};var b=function(e,t,r){l(n(t),function(n){var o=t[n];h(e,n,o,!!r)})};var g=Function.call.bind(Object.prototype.toString);var d=typeof/abc/==="function"?function IsCallableSlow(e){return typeof e==="function"&&g(e)==="[object Function]"}:function IsCallableFast(e){return typeof e==="function"};var m={getter:function(e,t,r){if(!s){throw new TypeError("getters require true ES5 support")}Object.defineProperty(e,t,{configurable:true,enumerable:false,get:r})},proxy:function(e,t,r){if(!s){throw new TypeError("getters require true ES5 support")}var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,{configurable:n.configurable,enumerable:n.enumerable,get:function getKey(){return e[t]},set:function setKey(r){e[t]=r}})},redefine:function(e,t,r){if(s){var n=Object.getOwnPropertyDescriptor(e,t);n.value=r;Object.defineProperty(e,t,n)}else{e[t]=r}},defineByDescriptor:function(e,t,r){if(s){Object.defineProperty(e,t,r)}else if("value"in r){e[t]=r.value}},preserveToString:function(e,t){if(t&&d(t.toString)){h(e,"toString",t.toString.bind(t),true)}}};var O=Object.create||function(e,t){var r=function Prototype(){};r.prototype=e;var o=new r;if(typeof t!=="undefined"){n(t).forEach(function(e){m.defineByDescriptor(o,e,t[e])})}return o};var w=function(e,t){if(!Object.setPrototypeOf){return false}return a(function(){var r=function Subclass(t){var r=new e(t);Object.setPrototypeOf(r,Subclass.prototype);return r};Object.setPrototypeOf(r,e);r.prototype=O(e.prototype,{constructor:{value:r}});return t(r)})};var j=function(){if(typeof self!=="undefined"){return self}if(typeof window!=="undefined"){return window}if(typeof global!=="undefined"){return global}throw new Error("unable to locate global object")};var S=j();var T=S.isFinite;var I=Function.call.bind(String.prototype.indexOf);var E=Function.apply.bind(Array.prototype.indexOf);var P=Function.call.bind(Array.prototype.concat);var C=Function.call.bind(String.prototype.slice);var M=Function.call.bind(Array.prototype.push);var x=Function.apply.bind(Array.prototype.push);var N=Function.call.bind(Array.prototype.shift);var A=Math.max;var R=Math.min;var _=Math.floor;var k=Math.abs;var F=Math.exp;var L=Math.log;var D=Math.sqrt;var z=Function.call.bind(Object.prototype.hasOwnProperty);var q;var W=function(){};var G=S.Map;var H=G&&G.prototype["delete"];var V=G&&G.prototype.get;var B=G&&G.prototype.has;var U=G&&G.prototype.set;var $=S.Symbol||{};var J=$.species||"@@species";var X=Number.isNaN||function isNaN(e){return e!==e};var K=Number.isFinite||function isFinite(e){return typeof e==="number"&&T(e)};var Z=d(Math.sign)?Math.sign:function sign(e){var t=Number(e);if(t===0){return t}if(X(t)){return t}return t<0?-1:1};var Y=function isArguments(e){return g(e)==="[object Arguments]"};var Q=function isArguments(e){return e!==null&&typeof e==="object"&&typeof e.length==="number"&&e.length>=0&&g(e)!=="[object Array]"&&g(e.callee)==="[object Function]"};var ee=Y(arguments)?Y:Q;var te={primitive:function(e){return e===null||typeof e!=="function"&&typeof e!=="object"},string:function(e){return g(e)==="[object String]"},regex:function(e){return g(e)==="[object RegExp]"},symbol:function(e){return typeof S.Symbol==="function"&&typeof e==="symbol"}};var re=function overrideNative(e,t,r){var n=e[t];h(e,t,r,true);m.preserveToString(e[t],n)};var ne=typeof $==="function"&&typeof $["for"]==="function"&&te.symbol($());var oe=te.symbol($.iterator)?$.iterator:"_es6-shim iterator_";if(S.Set&&typeof(new S.Set)["@@iterator"]==="function"){oe="@@iterator"}if(!S.Reflect){h(S,"Reflect",{},true)}var ie=S.Reflect;var ae=String;var ue=typeof document==="undefined"||!document?null:document.all;var fe=ue==null?function isNullOrUndefined(e){return e==null}:function isNullOrUndefinedAndNotDocumentAll(e){return e==null&&e!==ue};var se={Call:function Call(t,r){var n=arguments.length>2?arguments[2]:[];if(!se.IsCallable(t)){throw new TypeError(t+" is not a function")}return e(t,r,n)},RequireObjectCoercible:function(e,t){if(fe(e)){throw new TypeError(t||"Cannot call method on "+e)}return e},TypeIsObject:function(e){if(e===void 0||e===null||e===true||e===false){return false}return typeof e==="function"||typeof e==="object"||e===ue},ToObject:function(e,t){return Object(se.RequireObjectCoercible(e,t))},IsCallable:d,IsConstructor:function(e){return se.IsCallable(e)},ToInt32:function(e){return se.ToNumber(e)>>0},ToUint32:function(e){return se.ToNumber(e)>>>0},ToNumber:function(e){if(g(e)==="[object Symbol]"){throw new TypeError("Cannot convert a Symbol value to a number")}return+e},ToInteger:function(e){var t=se.ToNumber(e);if(X(t)){return 0}if(t===0||!K(t)){return t}return(t>0?1:-1)*_(k(t))},ToLength:function(e){var t=se.ToInteger(e);if(t<=0){return 0}if(t>Number.MAX_SAFE_INTEGER){return Number.MAX_SAFE_INTEGER}return t},SameValue:function(e,t){if(e===t){if(e===0){return 1/e===1/t}return true}return X(e)&&X(t)},SameValueZero:function(e,t){return e===t||X(e)&&X(t)},IsIterable:function(e){return se.TypeIsObject(e)&&(typeof e[oe]!=="undefined"||ee(e))},GetIterator:function(e){if(ee(e)){return new q(e,"value")}var t=se.GetMethod(e,oe);if(!se.IsCallable(t)){throw new TypeError("value is not an iterable")}var r=se.Call(t,e);if(!se.TypeIsObject(r)){throw new TypeError("bad iterator")}return r},GetMethod:function(e,t){var r=se.ToObject(e)[t];if(fe(r)){return void 0}if(!se.IsCallable(r)){throw new TypeError("Method not callable: "+t)}return r},IteratorComplete:function(e){return!!e.done},IteratorClose:function(e,t){var r=se.GetMethod(e,"return");if(r===void 0){return}var n,o;try{n=se.Call(r,e)}catch(e){o=e}if(t){return}if(o){throw o}if(!se.TypeIsObject(n)){throw new TypeError("Iterator's return method returned a non-object.")}},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!se.TypeIsObject(t)){throw new TypeError("bad iterator")}return t},IteratorStep:function(e){var t=se.IteratorNext(e);var r=se.IteratorComplete(t);return r?false:t},Construct:function(e,t,r,n){var o=typeof r==="undefined"?e:r;if(!n&&ie.construct){return ie.construct(e,t,o)}var i=o.prototype;if(!se.TypeIsObject(i)){i=Object.prototype}var a=O(i);var u=se.Call(e,a,t);return se.TypeIsObject(u)?u:a},SpeciesConstructor:function(e,t){var r=e.constructor;if(r===void 0){return t}if(!se.TypeIsObject(r)){throw new TypeError("Bad constructor")}var n=r[J];if(fe(n)){return t}if(!se.IsConstructor(n)){throw new TypeError("Bad @@species")}return n},CreateHTML:function(e,t,r,n){var o=se.ToString(e);var i="<"+t;if(r!==""){var a=se.ToString(n);var u=a.replace(/"/g,""");i+=" "+r+'="'+u+'"'}var f=i+">";var s=f+o;return s+""},IsRegExp:function IsRegExp(e){if(!se.TypeIsObject(e)){return false}var t=e[$.match];if(typeof t!=="undefined"){return!!t}return te.regex(e)},ToString:function ToString(e){return ae(e)}};if(s&&ne){var ce=function defineWellKnownSymbol(e){if(te.symbol($[e])){return $[e]}var t=$["for"]("Symbol."+e);Object.defineProperty($,e,{configurable:false,enumerable:false,writable:false,value:t});return t};if(!te.symbol($.search)){var le=ce("search");var pe=String.prototype.search;h(RegExp.prototype,le,function search(e){return se.Call(pe,e,[this])});var ve=function search(e){var t=se.RequireObjectCoercible(this);if(!fe(e)){var r=se.GetMethod(e,le);if(typeof r!=="undefined"){return se.Call(r,e,[t])}}return se.Call(pe,t,[se.ToString(e)])};re(String.prototype,"search",ve)}if(!te.symbol($.replace)){var ye=ce("replace");var he=String.prototype.replace;h(RegExp.prototype,ye,function replace(e,t){return se.Call(he,e,[this,t])});var be=function replace(e,t){var r=se.RequireObjectCoercible(this);if(!fe(e)){var n=se.GetMethod(e,ye);if(typeof n!=="undefined"){return se.Call(n,e,[r,t])}}return se.Call(he,r,[se.ToString(e),t])};re(String.prototype,"replace",be)}if(!te.symbol($.split)){var ge=ce("split");var de=String.prototype.split;h(RegExp.prototype,ge,function split(e,t){return se.Call(de,e,[this,t])});var me=function split(e,t){var r=se.RequireObjectCoercible(this);if(!fe(e)){var n=se.GetMethod(e,ge);if(typeof n!=="undefined"){return se.Call(n,e,[r,t])}}return se.Call(de,r,[se.ToString(e),t])};re(String.prototype,"split",me)}var Oe=te.symbol($.match);var we=Oe&&function(){var e={};e[$.match]=function(){return 42};return"a".match(e)!==42}();if(!Oe||we){var je=ce("match");var Se=String.prototype.match;h(RegExp.prototype,je,function match(e){return se.Call(Se,e,[this])});var Te=function match(e){var t=se.RequireObjectCoercible(this);if(!fe(e)){var r=se.GetMethod(e,je);if(typeof r!=="undefined"){return se.Call(r,e,[t])}}return se.Call(Se,t,[se.ToString(e)])};re(String.prototype,"match",Te)}}var Ie=function wrapConstructor(e,t,r){m.preserveToString(t,e);if(Object.setPrototypeOf){Object.setPrototypeOf(e,t)}if(s){l(Object.getOwnPropertyNames(e),function(n){if(n in W||r[n]){return}m.proxy(e,n,t)})}else{l(Object.keys(e),function(n){if(n in W||r[n]){return}t[n]=e[n]})}t.prototype=e.prototype;m.redefine(e.prototype,"constructor",t)};var Ee=function(){return this};var Pe=function(e){if(s&&!z(e,J)){m.getter(e,J,Ee)}};var Ce=function(e,t){var r=t||function iterator(){return this};h(e,oe,r);if(!e[oe]&&te.symbol(oe)){e[oe]=r}};var Me=function createDataProperty(e,t,r){if(s){Object.defineProperty(e,t,{configurable:true,enumerable:true,writable:true,value:r})}else{e[t]=r}};var xe=function createDataPropertyOrThrow(e,t,r){Me(e,t,r);if(!se.SameValue(e[t],r)){throw new TypeError("property is nonconfigurable")}};var Ne=function(e,t,r,n){if(!se.TypeIsObject(e)){throw new TypeError("Constructor requires `new`: "+t.name)}var o=t.prototype;if(!se.TypeIsObject(o)){o=r}var i=O(o);for(var a in n){if(z(n,a)){var u=n[a];h(i,a,u,true)}}return i};if(String.fromCodePoint&&String.fromCodePoint.length!==1){var Ae=String.fromCodePoint;re(String,"fromCodePoint",function fromCodePoint(e){return se.Call(Ae,this,arguments)})}var Re={fromCodePoint:function fromCodePoint(e){var t=[];var r;for(var n=0,o=arguments.length;n1114111){throw new RangeError("Invalid code point "+r)}if(r<65536){M(t,String.fromCharCode(r))}else{r-=65536;M(t,String.fromCharCode((r>>10)+55296));M(t,String.fromCharCode(r%1024+56320))}}return t.join("")},raw:function raw(e){var t=se.ToObject(e,"bad callSite");var r=se.ToObject(t.raw,"bad raw value");var n=r.length;var o=se.ToLength(n);if(o<=0){return""}var i=[];var a=0;var u,f,s,c;while(a=o){break}f=a+1=ke){throw new RangeError("repeat count must be less than infinity and not overflow maximum string size")}return _e(t,r)},startsWith:function startsWith(e){var t=se.ToString(se.RequireObjectCoercible(this));if(se.IsRegExp(e)){throw new TypeError('Cannot call method "startsWith" with a regex')}var r=se.ToString(e);var n;if(arguments.length>1){n=arguments[1]}var o=A(se.ToInteger(n),0);return C(t,o,o+r.length)===r},endsWith:function endsWith(e){var t=se.ToString(se.RequireObjectCoercible(this));if(se.IsRegExp(e)){throw new TypeError('Cannot call method "endsWith" with a regex')}var r=se.ToString(e);var n=t.length;var o;if(arguments.length>1){o=arguments[1]}var i=typeof o==="undefined"?n:se.ToInteger(o);var a=R(A(i,0),n);return C(t,a-r.length,a)===r},includes:function includes(e){if(se.IsRegExp(e)){throw new TypeError('"includes" does not accept a RegExp')}var t=se.ToString(e);var r;if(arguments.length>1){r=arguments[1]}return I(this,t,r)!==-1},codePointAt:function codePointAt(e){var t=se.ToString(se.RequireObjectCoercible(this));var r=se.ToInteger(e);var n=t.length;if(r>=0&&r56319||i){return o}var a=t.charCodeAt(r+1);if(a<56320||a>57343){return o}return(o-55296)*1024+(a-56320)+65536}}};if(String.prototype.includes&&"a".includes("a",Infinity)!==false){re(String.prototype,"includes",Fe.includes)}if(String.prototype.startsWith&&String.prototype.endsWith){var Le=i(function(){"/a/".startsWith(/a/)});var De=a(function(){return"abc".startsWith("a",Infinity)===false});if(!Le||!De){re(String.prototype,"startsWith",Fe.startsWith);re(String.prototype,"endsWith",Fe.endsWith)}}if(ne){var ze=a(function(){var e=/a/;e[$.match]=false;return"/a/".startsWith(e)});if(!ze){re(String.prototype,"startsWith",Fe.startsWith)}var qe=a(function(){var e=/a/;e[$.match]=false;return"/a/".endsWith(e)});if(!qe){re(String.prototype,"endsWith",Fe.endsWith)}var We=a(function(){var e=/a/;e[$.match]=false;return"/a/".includes(e)});if(!We){re(String.prototype,"includes",Fe.includes)}}b(String.prototype,Fe);var Ge=["\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003","\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028","\u2029\ufeff"].join("");var He=new RegExp("(^["+Ge+"]+)|(["+Ge+"]+$)","g");var Ve=function trim(){return se.ToString(se.RequireObjectCoercible(this)).replace(He,"")};var Be=["\x85","\u200b","\ufffe"].join("");var Ue=new RegExp("["+Be+"]","g");var $e=/^[-+]0x[0-9a-f]+$/i;var Je=Be.trim().length!==Be.length;h(String.prototype,"trim",Ve,Je);var Xe=function(e){return{value:e,done:arguments.length===0}};var Ke=function(e){se.RequireObjectCoercible(e);this._s=se.ToString(e);this._i=0};Ke.prototype.next=function(){var e=this._s;var t=this._i;if(typeof e==="undefined"||t>=e.length){this._s=void 0;return Xe()}var r=e.charCodeAt(t);var n,o;if(r<55296||r>56319||t+1===e.length){o=1}else{n=e.charCodeAt(t+1);o=n<56320||n>57343?1:2}this._i=t+o;return Xe(e.substr(t,o))};Ce(Ke.prototype);Ce(String.prototype,function(){return new Ke(this)});var Ze={from:function from(e){var r=this;var n;if(arguments.length>1){n=arguments[1]}var o,i;if(typeof n==="undefined"){o=false}else{if(!se.IsCallable(n)){throw new TypeError("Array.from: when provided, the second argument must be a function")}if(arguments.length>2){i=arguments[2]}o=true}var a=typeof(ee(e)||se.GetMethod(e,oe))!=="undefined";var u,f,s;if(a){f=se.IsConstructor(r)?Object(new r):[];var c=se.GetIterator(e);var l,p;s=0;while(true){l=se.IteratorStep(c);if(l===false){break}p=l.value;try{if(o){p=typeof i==="undefined"?n(p,s):t(n,i,p,s)}f[s]=p}catch(e){se.IteratorClose(c,true);throw e}s+=1}u=s}else{var v=se.ToObject(e);u=se.ToLength(v.length);f=se.IsConstructor(r)?Object(new r(u)):new Array(u);var y;for(s=0;s2){f=arguments[2]}var s=typeof f==="undefined"?n:se.ToInteger(f);var c=s<0?A(n+s,0):R(s,n);var l=R(c-u,n-a);var p=1;if(u0){if(u in r){r[a]=r[u]}else{delete r[a]}u+=p;a+=p;l-=1}return r},fill:function fill(e){var t;if(arguments.length>1){t=arguments[1]}var r;if(arguments.length>2){r=arguments[2]}var n=se.ToObject(this);var o=se.ToLength(n.length);t=se.ToInteger(typeof t==="undefined"?0:t);r=se.ToInteger(typeof r==="undefined"?o:r);var i=t<0?A(o+t,0):R(t,o);var a=r<0?o+r:r;for(var u=i;u1?arguments[1]:null;for(var i=0,a;i1?arguments[1]:null;for(var i=0;i1&&typeof arguments[1]!=="undefined"){return se.Call(ot,this,arguments)}else{return t(ot,this,e)}})}var it=-(Math.pow(2,32)-1);var at=function(e,r){var n={length:it};n[r?(n.length>>>0)-1:0]=true;return a(function(){t(e,n,function(){throw new RangeError("should not reach here")},[]);return true})};if(!at(Array.prototype.forEach)){var ut=Array.prototype.forEach;re(Array.prototype,"forEach",function forEach(e){return se.Call(ut,this.length>=0?this:[],arguments)},true)}if(!at(Array.prototype.map)){var ft=Array.prototype.map;re(Array.prototype,"map",function map(e){return se.Call(ft,this.length>=0?this:[],arguments)},true)}if(!at(Array.prototype.filter)){var st=Array.prototype.filter;re(Array.prototype,"filter",function filter(e){return se.Call(st,this.length>=0?this:[],arguments)},true)}if(!at(Array.prototype.some)){var ct=Array.prototype.some;re(Array.prototype,"some",function some(e){return se.Call(ct,this.length>=0?this:[],arguments)},true)}if(!at(Array.prototype.every)){var lt=Array.prototype.every;re(Array.prototype,"every",function every(e){return se.Call(lt,this.length>=0?this:[],arguments)},true)}if(!at(Array.prototype.reduce)){var pt=Array.prototype.reduce;re(Array.prototype,"reduce",function reduce(e){return se.Call(pt,this.length>=0?this:[],arguments)},true)}if(!at(Array.prototype.reduceRight,true)){var vt=Array.prototype.reduceRight;re(Array.prototype,"reduceRight",function reduceRight(e){return se.Call(vt,this.length>=0?this:[],arguments)},true)}var yt=Number("0o10")!==8;var ht=Number("0b10")!==2;var bt=y(Be,function(e){return Number(e+0+e)===0});if(yt||ht||bt){var gt=Number;var dt=/^0b[01]+$/i;var mt=/^0o[0-7]+$/i;var Ot=dt.test.bind(dt);var wt=mt.test.bind(mt);var jt=function(e){var t;if(typeof e.valueOf==="function"){t=e.valueOf();if(te.primitive(t)){return t}}if(typeof e.toString==="function"){t=e.toString();if(te.primitive(t)){return t}}throw new TypeError("No default value")};var St=Ue.test.bind(Ue);var Tt=$e.test.bind($e);var It=function(){var e=function Number(t){var r;if(arguments.length>0){r=te.primitive(t)?t:jt(t,"number")}else{r=0}if(typeof r==="string"){r=se.Call(Ve,r);if(Ot(r)){r=parseInt(C(r,2),2)}else if(wt(r)){r=parseInt(C(r,2),8)}else if(St(r)||Tt(r)){r=NaN}}var n=this;var o=a(function(){gt.prototype.valueOf.call(n);return true});if(n instanceof e&&!o){return new gt(r)}return gt(r)};return e}();Ie(gt,It,{});b(It,{NaN:gt.NaN,MAX_VALUE:gt.MAX_VALUE,MIN_VALUE:gt.MIN_VALUE,NEGATIVE_INFINITY:gt.NEGATIVE_INFINITY,POSITIVE_INFINITY:gt.POSITIVE_INFINITY});Number=It;m.redefine(S,"Number",It)}var Et=Math.pow(2,53)-1;b(Number,{MAX_SAFE_INTEGER:Et,MIN_SAFE_INTEGER:-Et,EPSILON:2.220446049250313e-16,parseInt:S.parseInt,parseFloat:S.parseFloat,isFinite:K,isInteger:function isInteger(e){return K(e)&&se.ToInteger(e)===e},isSafeInteger:function isSafeInteger(e){return Number.isInteger(e)&&k(e)<=Number.MAX_SAFE_INTEGER},isNaN:X});h(Number,"parseInt",S.parseInt,Number.parseInt!==S.parseInt);if([,1].find(function(){return true})===1){re(Array.prototype,"find",Qe.find)}if([,1].findIndex(function(){return true})!==0){re(Array.prototype,"findIndex",Qe.findIndex)}var Pt=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable);var Ct=function ensureEnumerable(e,t){if(s&&Pt(e,t)){Object.defineProperty(e,t,{enumerable:false})}};var Mt=function sliceArgs(){var e=Number(this);var t=arguments.length;var r=t-e;var n=new Array(r<0?0:r);for(var o=e;o1){return NaN}if(t===-1){return-Infinity}if(t===1){return Infinity}if(t===0){return t}return.5*L((1+t)/(1-t))},cbrt:function cbrt(e){var t=Number(e);if(t===0){return t}var r=t<0;var n;if(r){t=-t}if(t===Infinity){n=Infinity}else{n=F(L(t)/3);n=(t/(n*n)+2*n)/3}return r?-n:n},clz32:function clz32(e){var t=Number(e);var r=se.ToUint32(t);if(r===0){return 32}return Er?se.Call(Er,r):31-_(L(r+.5)*Tr)},cosh:function cosh(e){var t=Number(e);if(t===0){return 1}if(X(t)){return NaN}if(!T(t)){return Infinity}if(t<0){t=-t}if(t>21){return F(t)/2}return(F(t)+F(-t))/2},expm1:function expm1(e){var t=Number(e);if(t===-Infinity){return-1}if(!T(t)||t===0){return t}if(k(t)>.5){return F(t)-1}var r=t;var n=0;var o=1;while(n+r!==n){n+=r;o+=1;r*=t/o}return n},hypot:function hypot(e,t){var r=0;var n=0;for(var o=0;o0?i/n*(i/n):i}}return n===Infinity?Infinity:n*D(r)},log2:function log2(e){return L(e)*Tr},log10:function log10(e){return L(e)*Ir},log1p:function log1p(e){var t=Number(e);if(t<-1||X(t)){return NaN}if(t===0||t===Infinity){return t}if(t===-1){return-Infinity}return 1+t-1===0?t:t*(L(1+t)/(1+t-1))},sign:Z,sinh:function sinh(e){var t=Number(e);if(!T(t)||t===0){return t}if(k(t)<1){return(Math.expm1(t)-Math.expm1(-t))/2}return(F(t-1)-F(-t-1))*Sr/2},tanh:function tanh(e){var t=Number(e);if(X(t)||t===0){return t}if(t>=20){return 1}if(t<=-20){return-1}return(Math.expm1(t)-Math.expm1(-t))/(F(t)+F(-t))},trunc:function trunc(e){var t=Number(e);return t<0?-_(-t):_(t)},imul:function imul(e,t){var r=se.ToUint32(e);var n=se.ToUint32(t);var o=r>>>16&65535;var i=r&65535;var a=n>>>16&65535;var u=n&65535;return i*u+(o*u+i*a<<16>>>0)|0},fround:function fround(e){var t=Number(e);if(t===0||t===Infinity||t===-Infinity||X(t)){return t}var r=Z(t);var n=k(t);if(nwr||X(i)){return r*Infinity}return r*i}};b(Math,Pr);h(Math,"log1p",Pr.log1p,Math.log1p(-1e-17)!==-1e-17);h(Math,"asinh",Pr.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7));h(Math,"tanh",Pr.tanh,Math.tanh(-2e-17)!==-2e-17);h(Math,"acosh",Pr.acosh,Math.acosh(Number.MAX_VALUE)===Infinity);h(Math,"cbrt",Pr.cbrt,Math.abs(1-Math.cbrt(1e-300)/1e-100)/Number.EPSILON>8);h(Math,"sinh",Pr.sinh,Math.sinh(-2e-17)!==-2e-17);var Cr=Math.expm1(10);h(Math,"expm1",Pr.expm1,Cr>22025.465794806718||Cr<22025.465794806718);var Mr=Math.round;var xr=Math.round(.5-Number.EPSILON/4)===0&&Math.round(-.5+Number.EPSILON/3.99)===1;var Nr=dr+1;var Ar=2*dr-1;var Rr=[Nr,Ar].every(function(e){return Math.round(e)===e});h(Math,"round",function round(e){var t=_(e);var r=t===-1?-0:t+1; -return e-t<.5?t:r},!xr||!Rr);m.preserveToString(Math.round,Mr);var _r=Math.imul;if(Math.imul(4294967295,5)!==-5){Math.imul=Pr.imul;m.preserveToString(Math.imul,_r)}if(Math.imul.length!==2){re(Math,"imul",function imul(e,t){return se.Call(_r,Math,arguments)})}var kr=function(){var e=S.setTimeout;if(typeof e!=="function"&&typeof e!=="object"){return}se.IsPromise=function(e){if(!se.TypeIsObject(e)){return false}if(typeof e._promise==="undefined"){return false}return true};var r=function(e){if(!se.IsConstructor(e)){throw new TypeError("Bad promise constructor")}var t=this;var r=function(e,r){if(t.resolve!==void 0||t.reject!==void 0){throw new TypeError("Bad Promise implementation!")}t.resolve=e;t.reject=r};t.resolve=void 0;t.reject=void 0;t.promise=new e(r);if(!(se.IsCallable(t.resolve)&&se.IsCallable(t.reject))){throw new TypeError("Bad promise constructor")}};var n;if(typeof window!=="undefined"&&se.IsCallable(window.postMessage)){n=function(){var e=[];var t="zero-timeout-message";var r=function(r){M(e,r);window.postMessage(t,"*")};var n=function(r){if(r.source===window&&r.data===t){r.stopPropagation();if(e.length===0){return}var n=N(e);n()}};window.addEventListener("message",n,true);return r}}var o=function(){var e=S.Promise;var t=e&&e.resolve&&e.resolve();return t&&function(e){return t.then(e)}};var i=se.IsCallable(S.setImmediate)?S.setImmediate:typeof process==="object"&&process.nextTick?process.nextTick:o()||(se.IsCallable(n)?n():function(t){e(t,0)});var a=function(e){return e};var u=function(e){throw e};var f=0;var s=1;var c=2;var l=0;var p=1;var v=2;var y={};var h=function(e,t,r){i(function(){g(e,t,r)})};var g=function(e,t,r){var n,o;if(t===y){return e(r)}try{n=e(r);o=t.resolve}catch(e){n=e;o=t.reject}o(n)};var d=function(e,t){var r=e._promise;var n=r.reactionLength;if(n>0){h(r.fulfillReactionHandler0,r.reactionCapability0,t);r.fulfillReactionHandler0=void 0;r.rejectReactions0=void 0;r.reactionCapability0=void 0;if(n>1){for(var o=1,i=0;o0){h(r.rejectReactionHandler0,r.reactionCapability0,t);r.fulfillReactionHandler0=void 0;r.rejectReactions0=void 0;r.reactionCapability0=void 0;if(n>1){for(var o=1,i=0;o2&&arguments[2]===y;if(b&&o===E){i=y}else{i=new r(o)}var g=se.IsCallable(e)?e:a;var d=se.IsCallable(t)?t:u;var m=n._promise;var O;if(m.state===f){if(m.reactionLength===0){m.fulfillReactionHandler0=g;m.rejectReactionHandler0=d;m.reactionCapability0=i}else{var w=3*(m.reactionLength-1);m[w+l]=g;m[w+p]=d;m[w+v]=i}m.reactionLength+=1}else if(m.state===s){O=m.result;h(g,i,O)}else if(m.state===c){O=m.result;h(d,i,O)}else{throw new TypeError("unexpected Promise state")}return i.promise}});y=new r(E);I=T.then;return E}();if(S.Promise){delete S.Promise.accept;delete S.Promise.defer;delete S.Promise.prototype.chain}if(typeof kr==="function"){b(S,{Promise:kr});var Fr=w(S.Promise,function(e){return e.resolve(42).then(function(){})instanceof e});var Lr=!i(function(){S.Promise.reject(42).then(null,5).then(null,W)});var Dr=i(function(){S.Promise.call(3,W)});var zr=function(e){var t=e.resolve(5);t.constructor={};var r=e.resolve(t);try{r.then(null,W).then(null,W)}catch(e){return true}return t===r}(S.Promise);var qr=s&&function(){var e=0;var t=Object.defineProperty({},"then",{get:function(){e+=1}});Promise.resolve(t);return e===1}();var Wr=function BadResolverPromise(e){var t=new Promise(e);e(3,function(){});this.then=t.then;this.constructor=BadResolverPromise};Wr.prototype=Promise.prototype;Wr.all=Promise.all;var Gr=a(function(){return!!Wr.all([1,2])});if(!Fr||!Lr||!Dr||zr||!qr||Gr){Promise=kr;re(S,"Promise",kr)}if(Promise.all.length!==1){var Hr=Promise.all;re(Promise,"all",function all(e){return se.Call(Hr,this,arguments)})}if(Promise.race.length!==1){var Vr=Promise.race;re(Promise,"race",function race(e){return se.Call(Vr,this,arguments)})}if(Promise.resolve.length!==1){var Br=Promise.resolve;re(Promise,"resolve",function resolve(e){return se.Call(Br,this,arguments)})}if(Promise.reject.length!==1){var Ur=Promise.reject;re(Promise,"reject",function reject(e){return se.Call(Ur,this,arguments)})}Ct(Promise,"all");Ct(Promise,"race");Ct(Promise,"resolve");Ct(Promise,"reject");Pe(Promise)}var $r=function(e){var t=n(p(e,function(e,t){e[t]=true;return e},{}));return e.join(":")===t.join(":")};var Jr=$r(["z","a","bb"]);var Xr=$r(["z",1,"a","3",2]);if(s){var Kr=function fastkey(e,t){if(!t&&!Jr){return null}if(fe(e)){return"^"+se.ToString(e)}else if(typeof e==="string"){return"$"+e}else if(typeof e==="number"){if(!Xr){return"n"+e}return e}else if(typeof e==="boolean"){return"b"+e}return null};var Zr=function emptyObject(){return Object.create?Object.create(null):{}};var Yr=function addIterableToMap(e,n,o){if(r(o)||te.string(o)){l(o,function(e){if(!se.TypeIsObject(e)){throw new TypeError("Iterator value "+e+" is not an entry object")}n.set(e[0],e[1])})}else if(o instanceof e){t(e.prototype.forEach,o,function(e,t){n.set(t,e)})}else{var i,a;if(!fe(o)){a=n.set;if(!se.IsCallable(a)){throw new TypeError("bad map")}i=se.GetIterator(o)}if(typeof i!=="undefined"){while(true){var u=se.IteratorStep(i);if(u===false){break}var f=u.value;try{if(!se.TypeIsObject(f)){throw new TypeError("Iterator value "+f+" is not an entry object")}t(a,n,f[0],f[1])}catch(e){se.IteratorClose(i,true);throw e}}}}};var Qr=function addIterableToSet(e,n,o){if(r(o)||te.string(o)){l(o,function(e){n.add(e)})}else if(o instanceof e){t(e.prototype.forEach,o,function(e){n.add(e)})}else{var i,a;if(!fe(o)){a=n.add;if(!se.IsCallable(a)){throw new TypeError("bad set")}i=se.GetIterator(o)}if(typeof i!=="undefined"){while(true){var u=se.IteratorStep(i);if(u===false){break}var f=u.value;try{t(a,n,f)}catch(e){se.IteratorClose(i,true);throw e}}}}};var en={Map:function(){var e={};var r=function MapEntry(e,t){this.key=e;this.value=t;this.next=null;this.prev=null};r.prototype.isRemoved=function isRemoved(){return this.key===e};var n=function isMap(e){return!!e._es6map};var o=function requireMapSlot(e,t){if(!se.TypeIsObject(e)||!n(e)){throw new TypeError("Method Map.prototype."+t+" called on incompatible receiver "+se.ToString(e))}};var i=function MapIterator(e,t){o(e,"[[MapIterator]]");this.head=e._head;this.i=this.head;this.kind=t};i.prototype={next:function next(){var e=this.i;var t=this.kind;var r=this.head;if(typeof this.i==="undefined"){return Xe()}while(e.isRemoved()&&e!==r){e=e.prev}var n;while(e.next!==r){e=e.next;if(!e.isRemoved()){if(t==="key"){n=e.key}else if(t==="value"){n=e.value}else{n=[e.key,e.value]}this.i=e;return Xe(n)}}this.i=void 0;return Xe()}};Ce(i.prototype);var a;var u=function Map(){if(!(this instanceof Map)){throw new TypeError('Constructor Map requires "new"')}if(this&&this._es6map){throw new TypeError("Bad construction")}var e=Ne(this,Map,a,{_es6map:true,_head:null,_map:G?new G:null,_size:0,_storage:Zr()});var t=new r(null,null);t.next=t.prev=t;e._head=t;if(arguments.length>0){Yr(Map,e,arguments[0])}return e};a=u.prototype;m.getter(a,"size",function(){if(typeof this._size==="undefined"){throw new TypeError("size method called on incompatible Map")}return this._size});b(a,{get:function get(e){o(this,"get");var t;var r=Kr(e,true);if(r!==null){t=this._storage[r];if(t){return t.value}else{return}}if(this._map){t=V.call(this._map,e);if(t){return t.value}else{return}}var n=this._head;var i=n;while((i=i.next)!==n){if(se.SameValueZero(i.key,e)){return i.value}}},has:function has(e){o(this,"has");var t=Kr(e,true);if(t!==null){return typeof this._storage[t]!=="undefined"}if(this._map){return B.call(this._map,e)}var r=this._head;var n=r;while((n=n.next)!==r){if(se.SameValueZero(n.key,e)){return true}}return false},set:function set(e,t){o(this,"set");var n=this._head;var i=n;var a;var u=Kr(e,true);if(u!==null){if(typeof this._storage[u]!=="undefined"){this._storage[u].value=t;return this}else{a=this._storage[u]=new r(e,t);i=n.prev}}else if(this._map){if(B.call(this._map,e)){V.call(this._map,e).value=t}else{a=new r(e,t);U.call(this._map,e,a);i=n.prev}}while((i=i.next)!==n){if(se.SameValueZero(i.key,e)){i.value=t;return this}}a=a||new r(e,t);if(se.SameValue(-0,e)){a.key=+0}a.next=this._head;a.prev=this._head.prev;a.prev.next=a;a.next.prev=a;this._size+=1;return this},delete:function(t){o(this,"delete");var r=this._head;var n=r;var i=Kr(t,true);if(i!==null){if(typeof this._storage[i]==="undefined"){return false}n=this._storage[i].prev;delete this._storage[i]}else if(this._map){if(!B.call(this._map,t)){return false}n=V.call(this._map,t).prev;H.call(this._map,t)}while((n=n.next)!==r){if(se.SameValueZero(n.key,t)){n.key=e;n.value=e;n.prev.next=n.next;n.next.prev=n.prev;this._size-=1;return true}}return false},clear:function clear(){o(this,"clear");this._map=G?new G:null;this._size=0;this._storage=Zr();var t=this._head;var r=t;var n=r.next;while((r=n)!==t){r.key=e;r.value=e;n=r.next;r.next=r.prev=t}t.next=t.prev=t},keys:function keys(){o(this,"keys");return new i(this,"key")},values:function values(){o(this,"values");return new i(this,"value")},entries:function entries(){o(this,"entries");return new i(this,"key+value")},forEach:function forEach(e){o(this,"forEach");var r=arguments.length>1?arguments[1]:null;var n=this.entries();for(var i=n.next();!i.done;i=n.next()){if(r){t(e,r,i.value[1],i.value[0],this)}else{e(i.value[1],i.value[0],this)}}}});Ce(a,a.entries);return u}(),Set:function(){var e=function isSet(e){return e._es6set&&typeof e._storage!=="undefined"};var r=function requireSetSlot(t,r){if(!se.TypeIsObject(t)||!e(t)){throw new TypeError("Set.prototype."+r+" called on incompatible receiver "+se.ToString(t))}};var o;var i=function Set(){if(!(this instanceof Set)){throw new TypeError('Constructor Set requires "new"')}if(this&&this._es6set){throw new TypeError("Bad construction")}var e=Ne(this,Set,o,{_es6set:true,"[[SetData]]":null,_storage:Zr()});if(!e._es6set){throw new TypeError("bad set")}if(arguments.length>0){Qr(Set,e,arguments[0])}return e};o=i.prototype;var a=function(e){var t=e;if(t==="^null"){return null}else if(t==="^undefined"){return void 0}else{var r=t.charAt(0);if(r==="$"){return C(t,1)}else if(r==="n"){return+C(t,1)}else if(r==="b"){return t==="btrue"}}return+t};var u=function ensureMap(e){if(!e["[[SetData]]"]){var t=new en.Map;e["[[SetData]]"]=t;l(n(e._storage),function(e){var r=a(e);t.set(r,r)});e["[[SetData]]"]=t}e._storage=null};m.getter(i.prototype,"size",function(){r(this,"size");if(this._storage){return n(this._storage).length}u(this);return this["[[SetData]]"].size});b(i.prototype,{has:function has(e){r(this,"has");var t;if(this._storage&&(t=Kr(e))!==null){return!!this._storage[t]}u(this);return this["[[SetData]]"].has(e)},add:function add(e){r(this,"add");var t;if(this._storage&&(t=Kr(e))!==null){this._storage[t]=true;return this}u(this);this["[[SetData]]"].set(e,e);return this},delete:function(e){r(this,"delete");var t;if(this._storage&&(t=Kr(e))!==null){var n=z(this._storage,t);return delete this._storage[t]&&n}u(this);return this["[[SetData]]"]["delete"](e)},clear:function clear(){r(this,"clear");if(this._storage){this._storage=Zr()}if(this["[[SetData]]"]){this["[[SetData]]"].clear()}},values:function values(){r(this,"values");u(this);return this["[[SetData]]"].values()},entries:function entries(){r(this,"entries");u(this);return this["[[SetData]]"].entries()},forEach:function forEach(e){r(this,"forEach");var n=arguments.length>1?arguments[1]:null;var o=this;u(o);this["[[SetData]]"].forEach(function(r,i){if(n){t(e,n,i,i,o)}else{e(i,i,o)}})}});h(i.prototype,"keys",i.prototype.values,true);Ce(i.prototype,i.prototype.values);return i}()};if(S.Map||S.Set){var tn=a(function(){return new Map([[1,2]]).get(1)===2});if(!tn){S.Map=function Map(){if(!(this instanceof Map)){throw new TypeError('Constructor Map requires "new"')}var e=new G;if(arguments.length>0){Yr(Map,e,arguments[0])}delete e.constructor;Object.setPrototypeOf(e,S.Map.prototype);return e};S.Map.prototype=O(G.prototype);h(S.Map.prototype,"constructor",S.Map,true);m.preserveToString(S.Map,G)}var rn=new Map;var nn=function(){var e=new Map([[1,0],[2,0],[3,0],[4,0]]);e.set(-0,e);return e.get(0)===e&&e.get(-0)===e&&e.has(0)&&e.has(-0)}();var on=rn.set(1,2)===rn;if(!nn||!on){re(Map.prototype,"set",function set(e,r){t(U,this,e===0?0:e,r);return this})}if(!nn){b(Map.prototype,{get:function get(e){return t(V,this,e===0?0:e)},has:function has(e){return t(B,this,e===0?0:e)}},true);m.preserveToString(Map.prototype.get,V);m.preserveToString(Map.prototype.has,B)}var an=new Set;var un=function(e){e["delete"](0);e.add(-0);return!e.has(0)}(an);var fn=an.add(1)===an;if(!un||!fn){var sn=Set.prototype.add;Set.prototype.add=function add(e){t(sn,this,e===0?0:e);return this};m.preserveToString(Set.prototype.add,sn)}if(!un){var cn=Set.prototype.has;Set.prototype.has=function has(e){return t(cn,this,e===0?0:e)};m.preserveToString(Set.prototype.has,cn);var ln=Set.prototype["delete"];Set.prototype["delete"]=function SetDelete(e){return t(ln,this,e===0?0:e)};m.preserveToString(Set.prototype["delete"],ln)}var pn=w(S.Map,function(e){var t=new e([]);t.set(42,42);return t instanceof e});var vn=Object.setPrototypeOf&&!pn;var yn=function(){try{return!(S.Map()instanceof S.Map)}catch(e){return e instanceof TypeError}}();if(S.Map.length!==0||vn||!yn){S.Map=function Map(){if(!(this instanceof Map)){throw new TypeError('Constructor Map requires "new"')}var e=new G;if(arguments.length>0){Yr(Map,e,arguments[0])}delete e.constructor;Object.setPrototypeOf(e,Map.prototype);return e};S.Map.prototype=G.prototype;h(S.Map.prototype,"constructor",S.Map,true);m.preserveToString(S.Map,G)}var hn=w(S.Set,function(e){var t=new e([]);t.add(42,42);return t instanceof e});var bn=Object.setPrototypeOf&&!hn;var gn=function(){try{return!(S.Set()instanceof S.Set)}catch(e){return e instanceof TypeError}}();if(S.Set.length!==0||bn||!gn){var dn=S.Set;S.Set=function Set(){if(!(this instanceof Set)){throw new TypeError('Constructor Set requires "new"')}var e=new dn;if(arguments.length>0){Qr(Set,e,arguments[0])}delete e.constructor;Object.setPrototypeOf(e,Set.prototype);return e};S.Set.prototype=dn.prototype;h(S.Set.prototype,"constructor",S.Set,true);m.preserveToString(S.Set,dn)}var mn=new S.Map;var On=!a(function(){return mn.keys().next().done});if(typeof S.Map.prototype.clear!=="function"||(new S.Set).size!==0||mn.size!==0||typeof S.Map.prototype.keys!=="function"||typeof S.Set.prototype.keys!=="function"||typeof S.Map.prototype.forEach!=="function"||typeof S.Set.prototype.forEach!=="function"||u(S.Map)||u(S.Set)||typeof mn.keys().next!=="function"||On||!pn){b(S,{Map:en.Map,Set:en.Set},true)}if(S.Set.prototype.keys!==S.Set.prototype.values){h(S.Set.prototype,"keys",S.Set.prototype.values,true)}Ce(Object.getPrototypeOf((new S.Map).keys()));Ce(Object.getPrototypeOf((new S.Set).keys()));if(c&&S.Set.prototype.has.name!=="has"){var wn=S.Set.prototype.has;re(S.Set.prototype,"has",function has(e){return t(wn,this,e)})}}b(S,en);Pe(S.Map);Pe(S.Set)}var jn=function throwUnlessTargetIsObject(e){if(!se.TypeIsObject(e)){throw new TypeError("target must be an object")}};var Sn={apply:function apply(){return se.Call(se.Call,null,arguments)},construct:function construct(e,t){if(!se.IsConstructor(e)){throw new TypeError("First argument must be a constructor.")}var r=arguments.length>2?arguments[2]:e;if(!se.IsConstructor(r)){throw new TypeError("new.target must be a constructor.")}return se.Construct(e,t,r,"internal")},deleteProperty:function deleteProperty(e,t){jn(e);if(s){var r=Object.getOwnPropertyDescriptor(e,t);if(r&&!r.configurable){return false}}return delete e[t]},has:function has(e,t){jn(e);return t in e}};if(Object.getOwnPropertyNames){Object.assign(Sn,{ownKeys:function ownKeys(e){jn(e);var t=Object.getOwnPropertyNames(e);if(se.IsCallable(Object.getOwnPropertySymbols)){x(t,Object.getOwnPropertySymbols(e))}return t}})}var Tn=function ConvertExceptionToBoolean(e){return!i(e)};if(Object.preventExtensions){Object.assign(Sn,{isExtensible:function isExtensible(e){jn(e);return Object.isExtensible(e)},preventExtensions:function preventExtensions(e){jn(e);return Tn(function(){Object.preventExtensions(e)})}})}if(s){var In=function get(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t);if(!n){var o=Object.getPrototypeOf(e);if(o===null){return void 0}return In(o,t,r)}if("value"in n){return n.value}if(n.get){return se.Call(n.get,r)}return void 0};var En=function set(e,r,n,o){var i=Object.getOwnPropertyDescriptor(e,r);if(!i){var a=Object.getPrototypeOf(e);if(a!==null){return En(a,r,n,o)}i={value:void 0,writable:true,enumerable:true,configurable:true}}if("value"in i){if(!i.writable){return false}if(!se.TypeIsObject(o)){return false}var u=Object.getOwnPropertyDescriptor(o,r);if(u){return ie.defineProperty(o,r,{value:n})}else{return ie.defineProperty(o,r,{value:n,writable:true,enumerable:true,configurable:true})}}if(i.set){t(i.set,o,n);return true}return false};Object.assign(Sn,{defineProperty:function defineProperty(e,t,r){jn(e);return Tn(function(){Object.defineProperty(e,t,r)})},getOwnPropertyDescriptor:function getOwnPropertyDescriptor(e,t){jn(e);return Object.getOwnPropertyDescriptor(e,t)},get:function get(e,t){jn(e);var r=arguments.length>2?arguments[2]:e;return In(e,t,r)},set:function set(e,t,r){jn(e);var n=arguments.length>3?arguments[3]:e;return En(e,t,r,n)}})}if(Object.getPrototypeOf){var Pn=Object.getPrototypeOf;Sn.getPrototypeOf=function getPrototypeOf(e){jn(e);return Pn(e)}}if(Object.setPrototypeOf&&Sn.getPrototypeOf){var Cn=function(e,t){var r=t;while(r){if(e===r){return true}r=Sn.getPrototypeOf(r)}return false};Object.assign(Sn,{setPrototypeOf:function setPrototypeOf(e,t){jn(e);if(t!==null&&!se.TypeIsObject(t)){throw new TypeError("proto must be an object or null")}if(t===ie.getPrototypeOf(e)){return true}if(ie.isExtensible&&!ie.isExtensible(e)){return false}if(Cn(e,t)){return false}Object.setPrototypeOf(e,t);return true}})}var Mn=function(e,t){if(!se.IsCallable(S.Reflect[e])){h(S.Reflect,e,t)}else{var r=a(function(){S.Reflect[e](1);S.Reflect[e](NaN);S.Reflect[e](true);return true});if(r){re(S.Reflect,e,t)}}};Object.keys(Sn).forEach(function(e){Mn(e,Sn[e])});var xn=S.Reflect.getPrototypeOf;if(c&&xn&&xn.name!=="getPrototypeOf"){re(S.Reflect,"getPrototypeOf",function getPrototypeOf(e){return t(xn,S.Reflect,e)})}if(S.Reflect.setPrototypeOf){if(a(function(){S.Reflect.setPrototypeOf(1,{});return true})){re(S.Reflect,"setPrototypeOf",Sn.setPrototypeOf)}}if(S.Reflect.defineProperty){if(!a(function(){var e=!S.Reflect.defineProperty(1,"test",{value:1});var t=typeof Object.preventExtensions!=="function"||!S.Reflect.defineProperty(Object.preventExtensions({}),"test",{});return e&&t})){re(S.Reflect,"defineProperty",Sn.defineProperty)}}if(S.Reflect.construct){if(!a(function(){var e=function F(){};return S.Reflect.construct(function(){},[],e)instanceof e})){re(S.Reflect,"construct",Sn.construct)}}if(String(new Date(NaN))!=="Invalid Date"){var Nn=Date.prototype.toString;var An=function toString(){var e=+this;if(e!==e){return"Invalid Date"}return se.Call(Nn,this)};re(Date.prototype,"toString",An)}var Rn={anchor:function anchor(e){return se.CreateHTML(this,"a","name",e)},big:function big(){return se.CreateHTML(this,"big","","")},blink:function blink(){return se.CreateHTML(this,"blink","","")},bold:function bold(){return se.CreateHTML(this,"b","","")},fixed:function fixed(){return se.CreateHTML(this,"tt","","")},fontcolor:function fontcolor(e){return se.CreateHTML(this,"font","color",e)},fontsize:function fontsize(e){return se.CreateHTML(this,"font","size",e)},italics:function italics(){return se.CreateHTML(this,"i","","")},link:function link(e){return se.CreateHTML(this,"a","href",e)},small:function small(){return se.CreateHTML(this,"small","","")},strike:function strike(){return se.CreateHTML(this,"strike","","")},sub:function sub(){return se.CreateHTML(this,"sub","","")},sup:function sub(){return se.CreateHTML(this,"sup","","")}};l(Object.keys(Rn),function(e){var r=String.prototype[e];var n=false;if(se.IsCallable(r)){var o=t(r,"",' " ');var i=P([],o.match(/"/g)).length;n=o!==o.toLowerCase()||i>2}else{n=true}if(n){re(String.prototype,e,Rn[e])}});var _n=function(){if(!ne){return false}var e=typeof JSON==="object"&&typeof JSON.stringify==="function"?JSON.stringify:null;if(!e){return false}if(typeof e($())!=="undefined"){return true}if(e([$()])!=="[null]"){return true}var t={a:$()};t[$()]=true;if(e(t)!=="{}"){return true}return false}();var kn=a(function(){if(!ne){return true}return JSON.stringify(Object($()))==="{}"&&JSON.stringify([Object($())])==="[{}]"});if(_n||!kn){var Fn=JSON.stringify;re(JSON,"stringify",function stringify(e){if(typeof e==="symbol"){return}var n;if(arguments.length>1){n=arguments[1]}var o=[e];if(!r(n)){var i=se.IsCallable(n)?n:null;var a=function(e,r){var n=i?t(i,this,e,r):r;if(typeof n!=="symbol"){if(te.symbol(n)){return xt({})(n)}else{return n}}};o.push(a)}else{o.push(n)}if(arguments.length>2){o.push(arguments[2])}return Fn.apply(this,o)})}return S}); -//# sourceMappingURL=es6-shim.map 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/router.js_1.0.10/router.js.dnn b/evrythng/evrythng.dnn similarity index 51% rename from router.js_1.0.10/router.js.dnn rename to evrythng/evrythng.dnn index a7d63da0..b48a7c15 100644 --- a/router.js_1.0.10/router.js.dnn +++ b/evrythng/evrythng.dnn @@ -1,34 +1,35 @@ - - Router.js - + + evrythng.js + + + Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com true - - history - + - router.js - router.min.js - Router + evrythng + evrythng.browser.js BodyBottom + evrythng + https://cdn.jsdelivr.net/npm/evrythng@<~=version~>/dist/evrythng.browser.js - router.js + evrythng - router.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/filesaverjs_1.3.3/CHANGES.htm b/file-saver/CHANGES.htm similarity index 100% rename from filesaverjs_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/filesaverjs_1.3.3/filesaverjs.dnn b/file-saver/filesaverjs.dnn similarity index 73% rename from filesaverjs_1.3.3/filesaverjs.dnn rename to file-saver/filesaverjs.dnn index e1839632..53141e1a 100644 --- a/filesaverjs_1.3.3/filesaverjs.dnn +++ b/file-saver/filesaverjs.dnn @@ -1,25 +1,25 @@ - + FileSaver.js - FileSaver.js implements the saveAs() FileSaver interface in browsers that do + + FileSaver.js implements the saveAs() FileSaver interface in browsers that do not natively support it. There is a FileSaver.js demo that demonstrates saving -various media types.

      - -

      FileSaver.js is the solution to saving files on the client-side, and is perfect for +various media types.

      FileSaver.js is the solution to saving files on the client-side, and is perfect for webapps that need to generate files, or for saving sensitive information that shouldn't be -sent to an external server.

      ]]>
      +sent to an external server.

      ]]> +
      Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com true - @@ -29,7 +29,7 @@ sent to an external server.

      ]]> filesaverjs FileSaver.min.js BodyBottom - + https://cdn.jsdelivr.net/npm/file-saver@<~=version~>/dist/FileSaver.min.js saveAs diff --git a/filesaverjs_1.3.3/FileSaver.min.js b/filesaverjs_1.3.3/FileSaver.min.js deleted file mode 100644 index 9a1e397f..00000000 --- a/filesaverjs_1.3.3/FileSaver.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */ -var saveAs=saveAs||function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,a=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},i=/constructor/i.test(e.HTMLElement)||e.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},s="application/octet-stream",d=1e3*40,c=function(e){var t=function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}};setTimeout(t,d)},l=function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(a){u(a)}}}},p=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e},v=function(t,u,d){if(!d){t=p(t)}var v=this,w=t.type,m=w===s,y,h=function(){l(v,"writestart progress write writeend".split(" "))},S=function(){if((f||m&&i)&&e.FileReader){var r=new FileReader;r.onloadend=function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()};r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)};v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout(function(){r.href=y;r.download=u;a(r);h();c(y);v.readyState=v.DONE});return}S()},w=v.prototype,m=function(e,t,n){return new v(e,t||e.name||"download",n)};if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)}}w.abort=function(){};w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m}(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define("FileSaver.js",function(){return saveAs})} diff --git a/filesaverjs_1.3.3/LICENSE.htm b/filesaverjs_1.3.3/LICENSE.htm deleted file mode 100644 index fd1035b3..00000000 --- a/filesaverjs_1.3.3/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

      FileSaver.js is licensed under the MIT License.

      diff --git a/fingerprintjs2_0.9.0/CHANGES.htm b/fingerprintjs2/CHANGES.htm similarity index 100% rename from fingerprintjs2_0.9.0/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/dnn-library.json b/fingerprintjs2/dnn-library.json new file mode 100644 index 00000000..a6b3813f --- /dev/null +++ b/fingerprintjs2/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/fingerprintjs2/dist/fingerprint2.min.js"], + "resources": [] +} diff --git a/fingerprintjs2_0.9.0/fingerprintjs2.dnn b/fingerprintjs2/fingerprintjs2.dnn similarity index 78% rename from fingerprintjs2_0.9.0/fingerprintjs2.dnn rename to fingerprintjs2/fingerprintjs2.dnn index bd361e91..c3bd401c 100644 --- a/fingerprintjs2_0.9.0/fingerprintjs2.dnn +++ b/fingerprintjs2/fingerprintjs2.dnn @@ -1,12 +1,14 @@ - + Fingerprintjs2 - + + + Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com @@ -19,7 +21,7 @@ fingerprint2.min.js Fingerprint2 BodyBottom - https://cdn.jsdelivr.net/fingerprintjs2/0.9.0/fingerprint2.min.js + https://cdn.jsdelivr.net/npm/fingerprintjs2@<~=version~>/dist/fingerprint2.min.js @@ -33,4 +35,4 @@
      -
      \ No newline at end of file +
      diff --git a/fingerprintjs2_0.9.0/LICENSE.htm b/fingerprintjs2_0.9.0/LICENSE.htm deleted file mode 100644 index 288ebc06..00000000 --- a/fingerprintjs2_0.9.0/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

      Fingerprintjs2 is licensed under "MIT or Apache, whichever you prefer."

      diff --git a/fingerprintjs2_0.9.0/fingerprint2.min.js b/fingerprintjs2_0.9.0/fingerprint2.min.js deleted file mode 100644 index 4f8e6323..00000000 --- a/fingerprintjs2_0.9.0/fingerprint2.min.js +++ /dev/null @@ -1,3 +0,0 @@ -!function(e,t,i){"use strict";"undefined"!=typeof module&&module.exports?module.exports=i():"function"==typeof define&&define.amd?define(i):t[e]=i()}("Fingerprint2",this,function(){"use strict";Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i;if(null==this)throw new TypeError("'this' is null or undefined");var a=Object(this),r=a.length>>>0;if(0===r)return-1;var n=+t||0;if(Math.abs(n)===1/0&&(n=0),n>=r)return-1;for(i=Math.max(n>=0?n:r-Math.abs(n),0);r>i;){if(i in a&&a[i]===e)return i;i++}return-1});var e=function(e){var t={swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",sortPluginsFor:[/palemoon/i]};this.options=this.extend(e,t),this.nativeForEach=Array.prototype.forEach,this.nativeMap=Array.prototype.map};return e.prototype={extend:function(e,t){if(null==e)return t;for(var i in e)null!=e[i]&&t[i]!==e[i]&&(t[i]=e[i]);return t},log:function(e){window.console&&console.log(e)},get:function(e){var t=[];t=this.userAgentKey(t),t=this.languageKey(t),t=this.colorDepthKey(t),t=this.screenResolutionKey(t),t=this.timezoneOffsetKey(t),t=this.sessionStorageKey(t),t=this.localStorageKey(t),t=this.indexedDbKey(t),t=this.addBehaviorKey(t),t=this.openDatabaseKey(t),t=this.cpuClassKey(t),t=this.platformKey(t),t=this.doNotTrackKey(t),t=this.pluginsKey(t),t=this.canvasKey(t),t=this.webglKey(t),t=this.adBlockKey(t),t=this.hasLiedLanguagesKey(t),t=this.hasLiedResolutionKey(t),t=this.hasLiedOsKey(t),t=this.hasLiedBrowserKey(t),t=this.touchSupportKey(t);var i=this;this.fontsKey(t,function(t){var a=i.x64hash128(t.join("~~~"),31);return e(a)})},userAgentKey:function(e){return this.options.excludeUserAgent||e.push(this.getUserAgent()),e},getUserAgent:function(){return navigator.userAgent},languageKey:function(e){return this.options.excludeLanguage||e.push(navigator.language),e},colorDepthKey:function(e){return this.options.excludeColorDepth||e.push(screen.colorDepth),e},screenResolutionKey:function(e){return this.options.excludeScreenResolution?e:this.getScreenResolution(e)},getScreenResolution:function(e){var t,i;return t=this.options.detectScreenOrientation&&screen.height>screen.width?[screen.height,screen.width]:[screen.width,screen.height],"undefined"!=typeof t&&e.push(t),screen.availWidth&&screen.availHeight&&(i=this.options.detectScreenOrientation?screen.availHeight>screen.availWidth?[screen.availHeight,screen.availWidth]:[screen.availWidth,screen.availHeight]:[screen.availHeight,screen.availWidth]),"undefined"!=typeof i&&e.push(i),e},timezoneOffsetKey:function(e){return this.options.excludeTimezoneOffset||e.push((new Date).getTimezoneOffset()),e},sessionStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasSessionStorage()&&e.push("sessionStorageKey"),e},localStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasLocalStorage()&&e.push("localStorageKey"),e},indexedDbKey:function(e){return!this.options.excludeIndexedDB&&this.hasIndexedDB()&&e.push("indexedDbKey"),e},addBehaviorKey:function(e){return document.body&&!this.options.excludeAddBehavior&&document.body.addBehavior&&e.push("addBehaviorKey"),e},openDatabaseKey:function(e){return!this.options.excludeOpenDatabase&&window.openDatabase&&e.push("openDatabase"),e},cpuClassKey:function(e){return this.options.excludeCpuClass||e.push(this.getNavigatorCpuClass()),e},platformKey:function(e){return this.options.excludePlatform||e.push(this.getNavigatorPlatform()),e},doNotTrackKey:function(e){return this.options.excludeDoNotTrack||e.push(this.getDoNotTrack()),e},canvasKey:function(e){return!this.options.excludeCanvas&&this.isCanvasSupported()&&e.push(this.getCanvasFp()),e},webglKey:function(e){return this.options.excludeWebGL?e:this.isWebGlSupported()?(e.push(this.getWebglFp()),e):e},adBlockKey:function(e){return this.options.excludeAdBlock||e.push(this.getAdBlock()),e},hasLiedLanguagesKey:function(e){return this.options.excludeHasLiedLanguages||e.push(this.getHasLiedLanguages()),e},hasLiedResolutionKey:function(e){return this.options.excludeHasLiedResolution||e.push(this.getHasLiedResolution()),e},hasLiedOsKey:function(e){return this.options.excludeHasLiedOs||e.push(this.getHasLiedOs()),e},hasLiedBrowserKey:function(e){return this.options.excludeHasLiedBrowser||e.push(this.getHasLiedBrowser()),e},fontsKey:function(e,t){return this.options.excludeJsFonts?this.flashFontsKey(e,t):this.jsFontsKey(e,t)},flashFontsKey:function(e,t){return this.options.excludeFlashFonts?t(e):this.hasSwfObjectLoaded()&&this.hasMinFlashInstalled()?"undefined"==typeof this.options.swfPath?t(e):void this.loadSwfAndDetectFonts(function(i){e.push(i.join(";")),t(e)}):t(e)},jsFontsKey:function(e,t){return setTimeout(function(){var i=["monospace","sans-serif","serif"],a="mmmmmmmmmmlli",r="72px",n=document.getElementsByTagName("body")[0],o=document.createElement("span");o.style.fontSize=r,o.innerHTML=a;var s={},h={};for(var l in i)o.style.fontFamily=i[l],n.appendChild(o),s[i[l]]=o.offsetWidth,h[i[l]]=o.offsetHeight,n.removeChild(o);for(var d=function(e){var t=!1;for(var a in i){o.style.fontFamily=e+","+i[a],n.appendChild(o);var r=o.offsetWidth!==s[i[a]]||o.offsetHeight!==h[i[a]];n.removeChild(o),t=t||r}return t},u=["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andale Mono","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Bitstream Vera Sans Mono","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Book Antiqua","Bookman Old Style","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Calibri","Californian FB","Calisto MT","Calligrapher","Cambria","Cambria Math","Candara","CaslonOpnface BT","Castellar","Centaur","Century","Century Gothic","Century Schoolbook","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Comic Sans","Comic Sans MS","Consolas","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Courier","Courier New","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","Devanagari Sangam MN","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","Estrangelo Edessa","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","Franklin Gothic","Franklin Gothic Book","Franklin Gothic Demi","Franklin Gothic Demi Cond","Franklin Gothic Heavy","Franklin Gothic Medium","Franklin Gothic Medium Cond","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Garamond","Gautami","Geeza Pro","Geneva","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","Georgia","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Helvetica","Helvetica Neue","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Impact","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Sans Serif","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Monaco","Mongolian Baiti","MONO","Monotype Corsiva","MoolBoran","Mrs Eaves","MS Gothic","MS LineDraw","MS Mincho","MS Outlook","MS PGothic","MS PMincho","MS Reference Sans Serif","MS Reference Specialty","MS Sans Serif","MS Serif","MS UI Gothic","MT Extra","MUSEO","MV Boli","MYRIAD","MYRIAD PRO","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Palatino","Palatino Linotype","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tahoma","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Times","Times New Roman","Times New Roman PS","Traditional Arabic","Trajan","TRAJAN PRO","Trebuchet MS","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Verdana","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","Wingdings","Wingdings 2","Wingdings 3","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"],c=[],g=0,p=u.length;p>g;g++)d(u[g])&&c.push(u[g]);e.push(c.join(";")),t(e)},1)},pluginsKey:function(e){return this.options.excludePlugins||e.push(this.isIE()?this.getIEPluginsString():this.getRegularPluginsString()),e},getRegularPluginsString:function(){for(var e=[],t=0,i=navigator.plugins.length;i>t;t++)e.push(navigator.plugins[t]);return this.pluginsShouldBeSorted()&&(e=e.sort(function(e,t){return e.name>t.name?1:e.namet;t++){var a=this.options.sortPluginsFor[t];if(navigator.userAgent.match(a)){e=!0;break}}return e},touchSupportKey:function(e){return this.options.excludeTouchSupport||e.push(this.getTouchSupport()),e},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},hasLocalStorage:function(){try{return!!window.localStorage}catch(e){return!0}},hasIndexedDB:function(){return!!window.indexedDB},getNavigatorCpuClass:function(){return navigator.cpuClass?"navigatorCpuClass: "+navigator.cpuClass:"navigatorCpuClass: unknown"},getNavigatorPlatform:function(){return navigator.platform?"navigatorPlatform: "+navigator.platform:"navigatorPlatform: unknown"},getDoNotTrack:function(){return navigator.doNotTrack?"doNotTrack: "+navigator.doNotTrack:"doNotTrack: unknown"},getTouchSupport:function(){var e=0,t=!1;"undefined"!=typeof navigator.maxTouchPoints?e=navigator.maxTouchPoints:"undefined"!=typeof navigator.msMaxTouchPoints&&(e=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(i){}var a="ontouchstart"in window;return[e,t,a]},getCanvasFp:function(){var e=[],t=document.createElement("canvas");t.width=2e3,t.height=200,t.style.display="inline";var i=t.getContext("2d");return i.rect(0,0,10,10),i.rect(2,2,6,6),e.push("canvas winding:"+(i.isPointInPath(5,5,"evenodd")===!1?"yes":"no")),i.textBaseline="alphabetic",i.fillStyle="#f60",i.fillRect(125,1,62,20),i.fillStyle="#069",i.font=this.options.dontUseFakeFontInCanvas?"11pt Arial":"11pt no-real-font-123",i.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),i.fillStyle="rgba(102, 204, 0, 0.7)",i.font="18pt Arial",i.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),i.globalCompositeOperation="multiply",i.fillStyle="rgb(255,0,255)",i.beginPath(),i.arc(50,50,50,0,2*Math.PI,!0),i.closePath(),i.fill(),i.fillStyle="rgb(0,255,255)",i.beginPath(),i.arc(100,50,50,0,2*Math.PI,!0),i.closePath(),i.fill(),i.fillStyle="rgb(255,255,0)",i.beginPath(),i.arc(75,100,50,0,2*Math.PI,!0),i.closePath(),i.fill(),i.fillStyle="rgb(255,0,255)",i.arc(75,75,75,0,2*Math.PI,!0),i.arc(75,75,25,0,2*Math.PI,!0),i.fill("evenodd"),e.push("canvas fp:"+t.toDataURL()),e.join("~")},getWebglFp:function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"},i=function(e){var t,i=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");return i?(t=e.getParameter(i.MAX_TEXTURE_MAX_ANISOTROPY_EXT),0===t&&(t=2),t):null};if(e=this.getWebglCanvas(),!e)return null;var a=[],r="attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}",n="precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}",o=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,o);var s=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,s,e.STATIC_DRAW),o.itemSize=3,o.numItems=3;var h=e.createProgram(),l=e.createShader(e.VERTEX_SHADER);e.shaderSource(l,r),e.compileShader(l);var d=e.createShader(e.FRAGMENT_SHADER);return e.shaderSource(d,n),e.compileShader(d),e.attachShader(h,l),e.attachShader(h,d),e.linkProgram(h),e.useProgram(h),h.vertexPosAttrib=e.getAttribLocation(h,"attrVertex"),h.offsetUniform=e.getUniformLocation(h,"uniformOffset"),e.enableVertexAttribArray(h.vertexPosArray),e.vertexAttribPointer(h.vertexPosAttrib,o.itemSize,e.FLOAT,!1,0,0),e.uniform2f(h.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,o.numItems),null!=e.canvas&&a.push(e.canvas.toDataURL()),a.push("extensions:"+e.getSupportedExtensions().join(";")),a.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),a.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),a.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),a.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),a.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),a.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),a.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),a.push("webgl max anisotropy:"+i(e)),a.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),a.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),a.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),a.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),a.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),a.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),a.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),a.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),a.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),a.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),a.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),a.push("webgl red bits:"+e.getParameter(e.RED_BITS)),a.push("webgl renderer:"+e.getParameter(e.RENDERER)),a.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),a.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),a.push("webgl vendor:"+e.getParameter(e.VENDOR)),a.push("webgl version:"+e.getParameter(e.VERSION)),e.getShaderPrecisionFormat?(a.push("webgl vertex shader high float precision:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).precision),a.push("webgl vertex shader high float precision rangeMin:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).rangeMin),a.push("webgl vertex shader high float precision rangeMax:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).rangeMax),a.push("webgl vertex shader medium float precision:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision),a.push("webgl vertex shader medium float precision rangeMin:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).rangeMin),a.push("webgl vertex shader medium float precision rangeMax:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).rangeMax),a.push("webgl vertex shader low float precision:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_FLOAT).precision),a.push("webgl vertex shader low float precision rangeMin:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_FLOAT).rangeMin),a.push("webgl vertex shader low float precision rangeMax:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_FLOAT).rangeMax),a.push("webgl fragment shader high float precision:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision),a.push("webgl fragment shader high float precision rangeMin:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).rangeMin),a.push("webgl fragment shader high float precision rangeMax:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).rangeMax),a.push("webgl fragment shader medium float precision:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision),a.push("webgl fragment shader medium float precision rangeMin:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).rangeMin),a.push("webgl fragment shader medium float precision rangeMax:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).rangeMax),a.push("webgl fragment shader low float precision:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_FLOAT).precision),a.push("webgl fragment shader low float precision rangeMin:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_FLOAT).rangeMin),a.push("webgl fragment shader low float precision rangeMax:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_FLOAT).rangeMax),a.push("webgl vertex shader high int precision:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_INT).precision),a.push("webgl vertex shader high int precision rangeMin:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_INT).rangeMin),a.push("webgl vertex shader high int precision rangeMax:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_INT).rangeMax),a.push("webgl vertex shader medium int precision:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_INT).precision),a.push("webgl vertex shader medium int precision rangeMin:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_INT).rangeMin),a.push("webgl vertex shader medium int precision rangeMax:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_INT).rangeMax),a.push("webgl vertex shader low int precision:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_INT).precision),a.push("webgl vertex shader low int precision rangeMin:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_INT).rangeMin),a.push("webgl vertex shader low int precision rangeMax:"+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_INT).rangeMax),a.push("webgl fragment shader high int precision:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_INT).precision),a.push("webgl fragment shader high int precision rangeMin:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_INT).rangeMin),a.push("webgl fragment shader high int precision rangeMax:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_INT).rangeMax),a.push("webgl fragment shader medium int precision:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_INT).precision),a.push("webgl fragment shader medium int precision rangeMin:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_INT).rangeMin),a.push("webgl fragment shader medium int precision rangeMax:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_INT).rangeMax),a.push("webgl fragment shader low int precision:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_INT).precision),a.push("webgl fragment shader low int precision rangeMin:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_INT).rangeMin),a.push("webgl fragment shader low int precision rangeMax:"+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_INT).rangeMax),a.join("~")):a.join("~")},getAdBlock:function(){var e=document.createElement("div");return e.setAttribute("id","ads"),document.body.appendChild(e),document.getElementById("ads")?!1:!0},getHasLiedLanguages:function(){if("undefined"!=typeof navigator.languages)try{var e=navigator.languages[0].substr(0,2);if(e!==navigator.language.substr(0,2))return!0}catch(t){return!0}return!1},getHasLiedResolution:function(){return screen.width=0?"Windows Phone":t.indexOf("win")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0?"iOS":t.indexOf("mac")>=0?"Mac":"Other";var r;if(r="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?!0:!1,r&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e)return!0;if("undefined"!=typeof i){if(i=i.toLowerCase(),i.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(i.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(i.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if(0===i.indexOf("win")&&0===i.indexOf("linux")&&i.indexOf("mac")>=0&&"other"!==e)return!0}return a.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e?!0:(a.indexOf("linux")>=0||a.indexOf("android")>=0||a.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e?!0:(a.indexOf("mac")>=0||a.indexOf("ipad")>=0||a.indexOf("ipod")>=0||a.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e?!0:0===a.indexOf("win")&&0===a.indexOf("linux")&&a.indexOf("mac")>=0&&"other"!==e?!0:"undefined"==typeof navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e?!0:!1},getHasLiedBrowser:function(){var e,t=navigator.userAgent.toLowerCase(),i=navigator.productSub;if(e=t.indexOf("firefox")>=0?"Firefox":t.indexOf("opera")>=0||t.indexOf("opr")>=0?"Opera":t.indexOf("chrome")>=0?"Chrome":t.indexOf("safari")>=0?"Safari":t.indexOf("trident")>=0?"Internet Explorer":"Other",("Chrome"===e||"Safari"===e||"Opera"===e)&&"20030107"!==i)return!0;var a=eval.toString().length;if(37===a&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===a&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===a&&"Chrome"!==e&&"Opera"!==e&&"Other"!==e)return!0;var r;try{throw"a"}catch(n){try{n.toSource(),r=!0}catch(o){r=!1}}return r&&"Firefox"!==e&&"Other"!==e?!0:!1},isCanvasSupported:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},isWebGlSupported:function(){if(!this.isCanvasSupported())return!1;var e,t=document.createElement("canvas");try{e=t.getContext&&(t.getContext("webgl")||t.getContext("experimental-webgl"))}catch(i){e=!1}return!!window.WebGLRenderingContext&&!!e},isIE:function(){return"Microsoft Internet Explorer"===navigator.appName?!0:"Netscape"===navigator.appName&&/Trident/.test(navigator.userAgent)?!0:!1},hasSwfObjectLoaded:function(){return"undefined"!=typeof window.swfobject},hasMinFlashInstalled:function(){return swfobject.hasFlashPlayerVersion("9.0.0")},addFlashDivNode:function(){var e=document.createElement("div");e.setAttribute("id",this.options.swfContainerId),document.body.appendChild(e)},loadSwfAndDetectFonts:function(e){var t="___fp_swf_loaded";window[t]=function(t){e(t)};var i=this.options.swfContainerId;this.addFlashDivNode();var a={onReady:t},r={allowScriptAccess:"always",menu:"false"};swfobject.embedSWF(this.options.swfPath,i,"1","1","9.0.0",!1,a,r,{})},getWebglCanvas:function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(i){}return t||(t=null),t},each:function(e,t,i){if(null!==e)if(this.nativeForEach&&e.forEach===this.nativeForEach)e.forEach(t,i);else if(e.length===+e.length){for(var a=0,r=e.length;r>a;a++)if(t.call(i,e[a],a,e)==={})return}else for(var n in e)if(e.hasOwnProperty(n)&&t.call(i,e[n],n,e)==={})return},map:function(e,t,i){var a=[];return null==e?a:this.nativeMap&&e.map===this.nativeMap?e.map(t,i):(this.each(e,function(e,r,n){a[a.length]=t.call(i,e,r,n)}),a)},x64Add:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var i=[0,0,0,0];return i[3]+=e[3]+t[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=e[2]+t[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=e[1]+t[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=e[0]+t[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]},x64Multiply:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var i=[0,0,0,0];return i[3]+=e[3]*t[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=e[2]*t[3],i[1]+=i[2]>>>16,i[2]&=65535,i[2]+=e[3]*t[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=e[1]*t[3],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=e[2]*t[2],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=e[3]*t[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]},x64Rotl:function(e,t){return t%=64,32===t?[e[1],e[0]]:32>t?[e[0]<>>32-t,e[1]<>>32-t]:(t-=32,[e[1]<>>32-t,e[0]<>>32-t])},x64LeftShift:function(e,t){return t%=64,0===t?e:32>t?[e[0]<>>32-t,e[1]<>>1]),e=this.x64Multiply(e,[4283543511,3981806797]),e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[3301882366,444984403]),e=this.x64Xor(e,[0,e[0]>>>1])},x64hash128:function(e,t){e=e||"",t=t||0;for(var i=e.length%16,a=e.length-i,r=[0,t],n=[0,t],o=[0,0],s=[0,0],h=[2277735313,289559509],l=[1291169091,658871167],d=0;a>d;d+=16)o=[255&e.charCodeAt(d+4)|(255&e.charCodeAt(d+5))<<8|(255&e.charCodeAt(d+6))<<16|(255&e.charCodeAt(d+7))<<24,255&e.charCodeAt(d)|(255&e.charCodeAt(d+1))<<8|(255&e.charCodeAt(d+2))<<16|(255&e.charCodeAt(d+3))<<24],s=[255&e.charCodeAt(d+12)|(255&e.charCodeAt(d+13))<<8|(255&e.charCodeAt(d+14))<<16|(255&e.charCodeAt(d+15))<<24,255&e.charCodeAt(d+8)|(255&e.charCodeAt(d+9))<<8|(255&e.charCodeAt(d+10))<<16|(255&e.charCodeAt(d+11))<<24],o=this.x64Multiply(o,h),o=this.x64Rotl(o,31),o=this.x64Multiply(o,l),r=this.x64Xor(r,o),r=this.x64Rotl(r,27),r=this.x64Add(r,n),r=this.x64Add(this.x64Multiply(r,[0,5]),[0,1390208809]),s=this.x64Multiply(s,l),s=this.x64Rotl(s,33),s=this.x64Multiply(s,h),n=this.x64Xor(n,s),n=this.x64Rotl(n,31),n=this.x64Add(n,r),n=this.x64Add(this.x64Multiply(n,[0,5]),[0,944331445]);switch(o=[0,0],s=[0,0],i){case 15:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(d+14)],48));case 14:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(d+13)],40));case 13:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(d+12)],32));case 12:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(d+11)],24));case 11:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(d+10)],16));case 10:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(d+9)],8));case 9:s=this.x64Xor(s,[0,e.charCodeAt(d+8)]),s=this.x64Multiply(s,l),s=this.x64Rotl(s,33),s=this.x64Multiply(s,h),n=this.x64Xor(n,s);case 8:o=this.x64Xor(o,this.x64LeftShift([0,e.charCodeAt(d+7)],56));case 7:o=this.x64Xor(o,this.x64LeftShift([0,e.charCodeAt(d+6)],48));case 6:o=this.x64Xor(o,this.x64LeftShift([0,e.charCodeAt(d+5)],40));case 5:o=this.x64Xor(o,this.x64LeftShift([0,e.charCodeAt(d+4)],32));case 4:o=this.x64Xor(o,this.x64LeftShift([0,e.charCodeAt(d+3)],24));case 3:o=this.x64Xor(o,this.x64LeftShift([0,e.charCodeAt(d+2)],16));case 2:o=this.x64Xor(o,this.x64LeftShift([0,e.charCodeAt(d+1)],8));case 1:o=this.x64Xor(o,[0,e.charCodeAt(d)]),o=this.x64Multiply(o,h),o=this.x64Rotl(o,31),o=this.x64Multiply(o,l),r=this.x64Xor(r,o)}return r=this.x64Xor(r,[0,e.length]),n=this.x64Xor(n,[0,e.length]),r=this.x64Add(r,n),n=this.x64Add(n,r),r=this.x64Fmix(r),n=this.x64Fmix(n),r=this.x64Add(r,n),n=this.x64Add(n,r),("00000000"+(r[0]>>>0).toString(16)).slice(-8)+("00000000"+(r[1]>>>0).toString(16)).slice(-8)+("00000000"+(n[0]>>>0).toString(16)).slice(-8)+("00000000"+(n[1]>>>0).toString(16)).slice(-8); - -}},e.VERSION="0.9.0",e}); \ No newline at end of file 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 f12f1c4d..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/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/dnn-library.json b/flexslider/dnn-library.json new file mode 100644 index 00000000..9458c8c3 --- /dev/null +++ b/flexslider/dnn-library.json @@ -0,0 +1,8 @@ +{ + "files": ["node_modules/flexslider/jquery.flexslider-min.js"], + "resources": [ + "node_modules/flexslider/*.css", + "node_modules/flexslider/fonts/**", + "node_modules/flexslider/images/**" + ] +} 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/flexslider_2.6.4/Resources.zip b/flexslider_2.6.4/Resources.zip deleted file mode 100644 index 163704ea..00000000 Binary files a/flexslider_2.6.4/Resources.zip and /dev/null differ diff --git a/flexslider_2.6.4/jquery.flexslider-min.js b/flexslider_2.6.4/jquery.flexslider-min.js deleted file mode 100644 index aefcfa2e..00000000 --- a/flexslider_2.6.4/jquery.flexslider-min.js +++ /dev/null @@ -1,5 +0,0 @@ -/* - * jQuery FlexSlider v2.6.4 - * Copyright 2012 WooThemes - * Contributing Author: Tyler Smith - */!function($){var e=!0;$.flexslider=function(t,a){var n=$(t);n.vars=$.extend({},$.flexslider.defaults,a);var i=n.vars.namespace,r=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,s=("ontouchstart"in window||r||window.DocumentTouch&&document instanceof DocumentTouch)&&n.vars.touch,o="click touchend MSPointerUp keyup",l="",c,d="vertical"===n.vars.direction,u=n.vars.reverse,v=n.vars.itemWidth>0,p="fade"===n.vars.animation,m=""!==n.vars.asNavFor,f={};$.data(t,"flexslider",n),f={init:function(){n.animating=!1,n.currentSlide=parseInt(n.vars.startAt?n.vars.startAt:0,10),isNaN(n.currentSlide)&&(n.currentSlide=0),n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=n.vars.selector.substr(0,n.vars.selector.search(" ")),n.slides=$(n.vars.selector,n),n.container=$(n.containerSelector,n),n.count=n.slides.length,n.syncExists=$(n.vars.sync).length>0,"slide"===n.vars.animation&&(n.vars.animation="swing"),n.prop=d?"top":"marginLeft",n.args={},n.manualPause=!1,n.stopped=!1,n.started=!1,n.startTimeout=null,n.transitions=!n.vars.video&&!p&&n.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return n.pfx=t[a].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",!0;return!1}(),n.ensureAnimationEnd="",""!==n.vars.controlsContainer&&(n.controlsContainer=$(n.vars.controlsContainer).length>0&&$(n.vars.controlsContainer)),""!==n.vars.manualControls&&(n.manualControls=$(n.vars.manualControls).length>0&&$(n.vars.manualControls)),""!==n.vars.customDirectionNav&&(n.customDirectionNav=2===$(n.vars.customDirectionNav).length&&$(n.vars.customDirectionNav)),n.vars.randomize&&(n.slides.sort(function(){return Math.round(Math.random())-.5}),n.container.empty().append(n.slides)),n.doMath(),n.setup("init"),n.vars.controlNav&&f.controlNav.setup(),n.vars.directionNav&&f.directionNav.setup(),n.vars.keyboard&&(1===$(n.containerSelector).length||n.vars.multipleKeyboard)&&$(document).bind("keyup",function(e){var t=e.keyCode;if(!n.animating&&(39===t||37===t)){var a=39===t?n.getTarget("next"):37===t&&n.getTarget("prev");n.flexAnimate(a,n.vars.pauseOnAction)}}),n.vars.mousewheel&&n.bind("mousewheel",function(e,t,a,i){e.preventDefault();var r=t<0?n.getTarget("next"):n.getTarget("prev");n.flexAnimate(r,n.vars.pauseOnAction)}),n.vars.pausePlay&&f.pausePlay.setup(),n.vars.slideshow&&n.vars.pauseInvisible&&f.pauseInvisible.init(),n.vars.slideshow&&(n.vars.pauseOnHover&&n.hover(function(){n.manualPlay||n.manualPause||n.pause()},function(){n.manualPause||n.manualPlay||n.stopped||n.play()}),n.vars.pauseInvisible&&f.pauseInvisible.isHidden()||(n.vars.initDelay>0?n.startTimeout=setTimeout(n.play,n.vars.initDelay):n.play())),m&&f.asNav.setup(),s&&n.vars.touch&&f.touch(),(!p||p&&n.vars.smoothHeight)&&$(window).bind("resize orientationchange focus",f.resize()),n.find("img").attr("draggable","false"),setTimeout(function(){n.vars.start(n)},200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(i+"active-slide").eq(n.currentItem).addClass(i+"active-slide"),r?(t._slider=n,n.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var t=$(this),a=t.index();$(n.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(n.direction=n.currentItem'),n.pagingCount>1)for(var s=0;s":''+t+"","thumbnails"===n.vars.controlNav&&!0===n.vars.thumbCaptions){var d=r.attr("data-thumbcaption");""!==d&&void 0!==d&&(a+=''+d+"")}n.controlNavScaffold.append("
    • "+a+"
    • "),t++}n.controlsContainer?$(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),f.controlNav.set(),f.controlNav.active(),n.controlNavScaffold.delegate("a, img",o,function(e){if(e.preventDefault(),""===l||l===e.type){var t=$(this),a=n.controlNav.index(t);t.hasClass(i+"active")||(n.direction=a>n.currentSlide?"next":"prev",n.flexAnimate(a,n.vars.pauseOnAction))}""===l&&(l=e.type),f.setToClearWatchedEvent()})},setupManual:function(){n.controlNav=n.manualControls,f.controlNav.active(),n.controlNav.bind(o,function(e){if(e.preventDefault(),""===l||l===e.type){var t=$(this),a=n.controlNav.index(t);t.hasClass(i+"active")||(a>n.currentSlide?n.direction="next":n.direction="prev",n.flexAnimate(a,n.vars.pauseOnAction))}""===l&&(l=e.type),f.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===n.vars.controlNav?"img":"a";n.controlNav=$("."+i+"control-nav li "+e,n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(i+"active").eq(n.animatingTo).addClass(i+"active")},update:function(e,t){n.pagingCount>1&&"add"===e?n.controlNavScaffold.append($('
    • '+n.count+"
    • ")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.controlNav.eq(t).closest("li").remove(),f.controlNav.set(),n.pagingCount>1&&n.pagingCount!==n.controlNav.length?n.update(t,e):f.controlNav.active()}},directionNav:{setup:function(){var e=$('");n.customDirectionNav?n.directionNav=n.customDirectionNav:n.controlsContainer?($(n.controlsContainer).append(e),n.directionNav=$("."+i+"direction-nav li a",n.controlsContainer)):(n.append(e),n.directionNav=$("."+i+"direction-nav li a",n)),f.directionNav.update(),n.directionNav.bind(o,function(e){e.preventDefault();var t;""!==l&&l!==e.type||(t=$(this).hasClass(i+"next")?n.getTarget("next"):n.getTarget("prev"),n.flexAnimate(t,n.vars.pauseOnAction)),""===l&&(l=e.type),f.setToClearWatchedEvent()})},update:function(){var e=i+"disabled";1===n.pagingCount?n.directionNav.addClass(e).attr("tabindex","-1"):n.vars.animationLoop?n.directionNav.removeClass(e).removeAttr("tabindex"):0===n.animatingTo?n.directionNav.removeClass(e).filter("."+i+"prev").addClass(e).attr("tabindex","-1"):n.animatingTo===n.last?n.directionNav.removeClass(e).filter("."+i+"next").addClass(e).attr("tabindex","-1"):n.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=$('
      ');n.controlsContainer?(n.controlsContainer.append(e),n.pausePlay=$("."+i+"pauseplay a",n.controlsContainer)):(n.append(e),n.pausePlay=$("."+i+"pauseplay a",n)),f.pausePlay.update(n.vars.slideshow?i+"pause":i+"play"),n.pausePlay.bind(o,function(e){e.preventDefault(),""!==l&&l!==e.type||($(this).hasClass(i+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())),""===l&&(l=e.type),f.setToClearWatchedEvent()})},update:function(e){"play"===e?n.pausePlay.removeClass(i+"pause").addClass(i+"play").html(n.vars.playText):n.pausePlay.removeClass(i+"play").addClass(i+"pause").html(n.vars.pauseText)}},touch:function(){function e(e){e.stopPropagation(),n.animating?e.preventDefault():(n.pause(),t._gesture.addPointer(e.pointerId),T=0,c=d?n.h:n.w,f=Number(new Date),l=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*c:(n.currentSlide+n.cloneOffset)*c)}function a(e){e.stopPropagation();var a=e.target._slider;if(a){var n=-e.translationX,i=-e.translationY;if(T+=d?i:n,m=T,y=d?Math.abs(T)500)&&(e.preventDefault(),!p&&a.transitions&&(a.vars.animationLoop||(m=T/(0===a.currentSlide&&T<0||a.currentSlide===a.last&&T>0?Math.abs(T)/c+2:1)),a.setProps(l+m,"setTouch")))}}function i(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!y&&null!==m){var a=u?-m:m,n=a>0?t.getTarget("next"):t.getTarget("prev");t.canAdvance(n)&&(Number(new Date)-f<550&&Math.abs(a)>50||Math.abs(a)>c/2)?t.flexAnimate(n,t.vars.pauseOnAction):p||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}s=null,o=null,m=null,l=null,T=0}}var s,o,l,c,m,f,g,h,S,y=!1,x=0,b=0,T=0;r?(t.style.msTouchAction="none",t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",e,!1),t._slider=n,t.addEventListener("MSGestureChange",a,!1),t.addEventListener("MSGestureEnd",i,!1)):(g=function(e){n.animating?e.preventDefault():(window.navigator.msPointerEnabled||1===e.touches.length)&&(n.pause(),c=d?n.h:n.w,f=Number(new Date),x=e.touches[0].pageX,b=e.touches[0].pageY,l=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*c:(n.currentSlide+n.cloneOffset)*c,s=d?b:x,o=d?x:b,t.addEventListener("touchmove",h,!1),t.addEventListener("touchend",S,!1))},h=function(e){x=e.touches[0].pageX,b=e.touches[0].pageY,m=d?s-b:s-x,y=d?Math.abs(m)500)&&(e.preventDefault(),!p&&n.transitions&&(n.vars.animationLoop||(m/=0===n.currentSlide&&m<0||n.currentSlide===n.last&&m>0?Math.abs(m)/c+2:1),n.setProps(l+m,"setTouch")))},S=function(e){if(t.removeEventListener("touchmove",h,!1),n.animatingTo===n.currentSlide&&!y&&null!==m){var a=u?-m:m,i=a>0?n.getTarget("next"):n.getTarget("prev");n.canAdvance(i)&&(Number(new Date)-f<550&&Math.abs(a)>50||Math.abs(a)>c/2)?n.flexAnimate(i,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}t.removeEventListener("touchend",S,!1),s=null,o=null,m=null,l=null},t.addEventListener("touchstart",g,!1))},resize:function(){!n.animating&&n.is(":visible")&&(v||n.doMath(),p?f.smoothHeight():v?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):d?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(n.vars.smoothHeight&&f.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(e){if(!d||p){var t=p?n:n.viewport;e?t.animate({height:n.slides.eq(n.animatingTo).innerHeight()},e):t.innerHeight(n.slides.eq(n.animatingTo).innerHeight())}},sync:function(e){var t=$(n.vars.sync).data("flexslider"),a=n.animatingTo;switch(e){case"animate":t.flexAnimate(a,n.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause();break}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=$(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=f.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){f.pauseInvisible.isHidden()?n.startTimeout?clearTimeout(n.startTimeout):n.pause():n.started?n.play():n.vars.initDelay>0?setTimeout(n.play,n.vars.initDelay):n.play()})}},isHidden:function(){var e=f.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;tn.currentSlide?"next":"prev"),m&&1===n.pagingCount&&(n.direction=n.currentItemn.limit&&1!==n.visible?n.limit:S):h=0===n.currentSlide&&e===n.count-1&&n.vars.animationLoop&&"next"!==n.direction?u?(n.count+n.cloneOffset)*c:0:n.currentSlide===n.last&&0===e&&n.vars.animationLoop&&"prev"!==n.direction?u?0:(n.count+1)*c:u?(n.count-1-e+n.cloneOffset)*c:(e+n.cloneOffset)*c,n.setProps(h,"",n.vars.animationSpeed),n.transitions?(n.vars.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(n.ensureAnimationEnd),n.wrapup(c)}),clearTimeout(n.ensureAnimationEnd),n.ensureAnimationEnd=setTimeout(function(){n.wrapup(c)},n.vars.animationSpeed+100)):n.container.animate(n.args,n.vars.animationSpeed,n.vars.easing,function(){n.wrapup(c)})}n.vars.smoothHeight&&f.smoothHeight(n.vars.animationSpeed)}},n.wrapup=function(e){p||v||(0===n.currentSlide&&n.animatingTo===n.last&&n.vars.animationLoop?n.setProps(e,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&n.vars.animationLoop&&n.setProps(e,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,n.vars.after(n)},n.animateSlides=function(){!n.animating&&e&&n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.animatedSlides=null,n.playing=!1,n.vars.pausePlay&&f.pausePlay.update("play"),n.syncExists&&f.sync("pause")},n.play=function(){n.playing&&clearInterval(n.animatedSlides),n.animatedSlides=n.animatedSlides||setInterval(n.animateSlides,n.vars.slideshowSpeed),n.started=n.playing=!0,n.vars.pausePlay&&f.pausePlay.update("pause"),n.syncExists&&f.sync("play")},n.stop=function(){n.pause(),n.stopped=!0},n.canAdvance=function(e,t){var a=m?n.pagingCount-1:n.last;return!!t||(!(!m||n.currentItem!==n.count-1||0!==e||"prev"!==n.direction)||(!m||0!==n.currentItem||e!==n.pagingCount-1||"next"===n.direction)&&(!(e===n.currentSlide&&!m)&&(!!n.vars.animationLoop||(!n.atEnd||0!==n.currentSlide||e!==a||"next"===n.direction)&&(!n.atEnd||n.currentSlide!==a||0!==e||"next"!==n.direction))))},n.getTarget=function(e){return n.direction=e,"next"===e?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(e,t,a){var i=function(){var a=e||(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo;return-1*function(){if(v)return"setTouch"===t?e:u&&n.animatingTo===n.last?0:u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:a;switch(t){case"setTotal":return u?(n.count-1-n.currentSlide+n.cloneOffset)*e:(n.currentSlide+n.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return u?e:n.count*e;case"jumpStart":return u?n.count*e:e;default:return e}}()+"px"}();n.transitions&&(i=d?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",a=void 0!==a?a/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",a),n.container.css("transition-duration",a)),n.args[n.prop]=i,(n.transitions||void 0===a)&&n.container.css(n.args),n.container.css("transform",i)},n.setup=function(e){if(p)n.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(s?n.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+n.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(n.currentSlide).css({opacity:1,zIndex:2}):0==n.vars.fadeFirstSlide?n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).css({opacity:1}):n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing)),n.vars.smoothHeight&&f.smoothHeight();else{var t,a;"init"===e&&(n.viewport=$('
      ').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,u&&(a=$.makeArray(n.slides).reverse(),n.slides=$(a),n.container.empty().append(n.slides))),n.vars.animationLoop&&!v&&(n.cloneCount=2,n.cloneOffset=1,"init"!==e&&n.container.find(".clone").remove(),n.container.append(f.uniqueID(n.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(f.uniqueID(n.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),n.newSlides=$(n.vars.selector,n),t=u?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,d&&!v?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(t*n.h,"init")},"init"===e?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(t*n.computedW,"init"),setTimeout(function(){n.doMath(),n.newSlides.css({width:n.computedW,marginRight:n.computedM,float:"left",display:"block"}),n.vars.smoothHeight&&f.smoothHeight()},"init"===e?100:0))}v||n.slides.removeClass(i+"active-slide").eq(n.currentSlide).addClass(i+"active-slide"),n.vars.init(n)},n.doMath=function(){var e=n.slides.first(),t=n.vars.itemMargin,a=n.vars.minItems,i=n.vars.maxItems;n.w=void 0===n.viewport?n.width():n.viewport.width(),n.h=e.height(),n.boxPadding=e.outerWidth()-e.width(),v?(n.itemT=n.vars.itemWidth+t,n.itemM=t,n.minW=a?a*n.itemT:n.w,n.maxW=i?i*n.itemT-t:n.w,n.itemW=n.minW>n.w?(n.w-t*(a-1))/a:n.maxWn.w?n.w:n.vars.itemWidth,n.visible=Math.floor(n.w/n.itemW),n.move=n.vars.move>0&&n.vars.moven.w?n.itemW*(n.count-1)+t*(n.count-1):(n.itemW+t)*n.count-n.w-t):(n.itemW=n.w,n.itemM=t,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding,n.computedM=n.itemM},n.update=function(e,t){n.doMath(),v||(en.controlNav.length?f.controlNav.update("add"):("remove"===t&&!v||n.pagingCountn.last&&(n.currentSlide-=1,n.animatingTo-=1),f.controlNav.update("remove",n.last))),n.vars.directionNav&&f.directionNav.update()},n.addSlide=function(e,t){var a=$(e);n.count+=1,n.last=n.count-1,d&&u?void 0!==t?n.slides.eq(n.count-t).after(a):n.container.prepend(a):void 0!==t?n.slides.eq(t).before(a):n.container.append(a),n.update(t,"add"),n.slides=$(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.added(n)},n.removeSlide=function(e){var t=isNaN(e)?n.slides.index($(e)):e;n.count-=1,n.last=n.count-1,isNaN(e)?$(e,n.slides).remove():d&&u?n.slides.eq(n.last).remove():n.slides.eq(e).remove(),n.doMath(),n.update(t,"remove"),n.slides=$(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.removed(n)},f.init()},$(window).blur(function(t){e=!1}).focus(function(t){e=!0}),$.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},$.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var t=$(this),a=e.selector?e.selector:".slides > li",n=t.find(a);1===n.length&&!1===e.allowOneSlide||0===n.length?(n.fadeIn(400),e.start&&e.start(t)):void 0===t.data("flexslider")&&new $.flexslider(this,e)});var t=$(this).data("flexslider");switch(e){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof e&&t.flexAnimate(e,!0)}}}(jQuery); \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100644 index e5abae66..00000000 --- a/gulpfile.js +++ /dev/null @@ -1,29 +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")) - ) - .add( - gulp.src(["LICENSE.htm", "CHANGES.htm", "*.dnn"], { - cwd: path.dirname(manifestPath) - }) - ) - .pipe(zip(path.basename(path.dirname(manifestPath)) + ".zip")) - .pipe(gulp.dest("./_InstallPackages/")) - ) - })) - .reduce((tasks, { manifestPath }) => tasks.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/date-fns_1.28.4/date-fns.dnn b/handlebars/handlebars.dnn similarity index 50% rename from date-fns_1.28.4/date-fns.dnn rename to handlebars/handlebars.dnn index 409da93b..0bd73caa 100644 --- a/date-fns_1.28.4/date-fns.dnn +++ b/handlebars/handlebars.dnn @@ -1,37 +1,34 @@ - - date-fns - + + Handlebars.js + + + Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com true - - - - date-fns - date_fns.min.js + handlebars + handlebars.min.js BodyBottom - http://cdn.date-fns.org/v1.28.4/date_fns.min.js - dateFns + Handlebars + https://cdn.jsdelivr.net/npm/handlebars@<~=version~>/dist/handlebars.min.js - date-fns + handlebars - date_fns.min.js + handlebars.min.js diff --git a/history_4.2.1/LICENSE.htm b/history_4.2.1/LICENSE.htm deleted file mode 100644 index b4109751..00000000 --- a/history_4.2.1/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

      HTML5 History API is dual licensed under the MIT License and GPL License.

      diff --git a/history_4.2.1/history.js b/history_4.2.1/history.js deleted file mode 100644 index 5dd05a02..00000000 --- a/history_4.2.1/history.js +++ /dev/null @@ -1,1068 +0,0 @@ -/*! - * History API JavaScript Library v4.2.1 - * - * Support: IE8+, FF3+, Opera 9+, Safari, Chrome and other - * - * Copyright 2011-2015, Dmitrii Pakhtinov ( spb.piksel@gmail.com ) - * - * http://spb-piksel.ru/ - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - * - * Update: 2015-05-22 13:02 - */ -(function(factory) { - if (typeof define === 'function' && define['amd']) { - // https://github.com/devote/HTML5-History-API/issues/73 - var rndKey = '[history' + (new Date()).getTime() + ']'; - var onError = requirejs['onError']; - factory.toString = function() { - return rndKey; - }; - requirejs['onError'] = function(err) { - if (err.message.indexOf(rndKey) === -1) { - onError.call(requirejs, err); - } - }; - define([], factory); - } - // execute anyway - factory(); -})(function() { - // Define global variable - var global = (typeof window === 'object' ? window : this) || {}; - // Prevent the code from running if there is no window.history object or library already loaded - if (!global.history || "emulate" in global.history) return global.history; - // symlink to document - var document = global.document; - // HTML element - var documentElement = document.documentElement; - // symlink to constructor of Object - var Object = global['Object']; - // symlink to JSON Object - var JSON = global['JSON']; - // symlink to instance object of 'Location' - var windowLocation = global.location; - // symlink to instance object of 'History' - var windowHistory = global.history; - // new instance of 'History'. The default is a reference to the original object instance - var historyObject = windowHistory; - // symlink to method 'history.pushState' - var historyPushState = windowHistory.pushState; - // symlink to method 'history.replaceState' - var historyReplaceState = windowHistory.replaceState; - // if the browser supports HTML5-History-API - var isSupportHistoryAPI = !!historyPushState; - // verifies the presence of an object 'state' in interface 'History' - var isSupportStateObjectInHistory = 'state' in windowHistory; - // symlink to method 'Object.defineProperty' - var defineProperty = Object.defineProperty; - // new instance of 'Location', for IE8 will use the element HTMLAnchorElement, instead of pure object - var locationObject = redefineProperty({}, 't') ? {} : document.createElement('a'); - // prefix for the names of events - var eventNamePrefix = ''; - // String that will contain the name of the method - var addEventListenerName = global.addEventListener ? 'addEventListener' : (eventNamePrefix = 'on') && 'attachEvent'; - // String that will contain the name of the method - var removeEventListenerName = global.removeEventListener ? 'removeEventListener' : 'detachEvent'; - // String that will contain the name of the method - var dispatchEventName = global.dispatchEvent ? 'dispatchEvent' : 'fireEvent'; - // reference native methods for the events - var addEvent = global[addEventListenerName]; - var removeEvent = global[removeEventListenerName]; - var dispatch = global[dispatchEventName]; - // default settings - var settings = {"basepath": '/', "redirect": 0, "type": '/', "init": 0}; - // key for the sessionStorage - var sessionStorageKey = '__historyAPI__'; - // Anchor Element for parseURL function - var anchorElement = document.createElement('a'); - // last URL before change to new URL - var lastURL = windowLocation.href; - // Control URL, need to fix the bug in Opera - var checkUrlForPopState = ''; - // for fix on Safari 8 - var triggerEventsInWindowAttributes = 1; - // trigger event 'onpopstate' on page load - var isFireInitialState = false; - // if used history.location of other code - var isUsedHistoryLocationFlag = 0; - // store a list of 'state' objects in the current session - var stateStorage = {}; - // in this object will be stored custom handlers - var eventsList = {}; - // stored last title - var lastTitle = document.title; - - /** - * Properties that will be replaced in the global - * object 'window', to prevent conflicts - * - * @type {Object} - */ - var eventsDescriptors = { - "onhashchange": null, - "onpopstate": null - }; - - /** - * Fix for Chrome in iOS - * See https://github.com/devote/HTML5-History-API/issues/29 - */ - var fastFixChrome = function(method, args) { - var isNeedFix = global.history !== windowHistory; - if (isNeedFix) { - global.history = windowHistory; - } - method.apply(windowHistory, args); - if (isNeedFix) { - global.history = historyObject; - } - }; - - /** - * Properties that will be replaced/added to object - * 'window.history', includes the object 'history.location', - * for a complete the work with the URL address - * - * @type {Object} - */ - var historyDescriptors = { - /** - * Setting library initialization - * - * @param {null|String} [basepath] The base path to the site; defaults to the root "/". - * @param {null|String} [type] Substitute the string after the anchor; by default "/". - * @param {null|Boolean} [redirect] Enable link translation. - */ - "setup": function(basepath, type, redirect) { - settings["basepath"] = ('' + (basepath == null ? settings["basepath"] : basepath)) - .replace(/(?:^|\/)[^\/]*$/, '/'); - settings["type"] = type == null ? settings["type"] : type; - settings["redirect"] = redirect == null ? settings["redirect"] : !!redirect; - }, - /** - * @namespace history - * @param {String} [type] - * @param {String} [basepath] - */ - "redirect": function(type, basepath) { - historyObject['setup'](basepath, type); - basepath = settings["basepath"]; - if (global.top == global.self) { - var relative = parseURL(null, false, true)._relative; - var path = windowLocation.pathname + windowLocation.search; - if (isSupportHistoryAPI) { - path = path.replace(/([^\/])$/, '$1/'); - if (relative != basepath && (new RegExp("^" + basepath + "$", "i")).test(path)) { - windowLocation.replace(relative); - } - } else if (path != basepath) { - path = path.replace(/([^\/])\?/, '$1/?'); - if ((new RegExp("^" + basepath, "i")).test(path)) { - windowLocation.replace(basepath + '#' + path. - replace(new RegExp("^" + basepath, "i"), settings["type"]) + windowLocation.hash); - } - } - } - }, - /** - * The method adds a state object entry - * to the history. - * - * @namespace history - * @param {Object} state - * @param {string} title - * @param {string} [url] - */ - pushState: function(state, title, url) { - var t = document.title; - if (lastTitle != null) { - document.title = lastTitle; - } - historyPushState && fastFixChrome(historyPushState, arguments); - changeState(state, url); - document.title = t; - lastTitle = title; - }, - /** - * The method updates the state object, - * title, and optionally the URL of the - * current entry in the history. - * - * @namespace history - * @param {Object} state - * @param {string} title - * @param {string} [url] - */ - replaceState: function(state, title, url) { - var t = document.title; - if (lastTitle != null) { - document.title = lastTitle; - } - delete stateStorage[windowLocation.href]; - historyReplaceState && fastFixChrome(historyReplaceState, arguments); - changeState(state, url, true); - document.title = t; - lastTitle = title; - }, - /** - * Object 'history.location' is similar to the - * object 'window.location', except that in - * HTML4 browsers it will behave a bit differently - * - * @namespace history - */ - "location": { - set: function(value) { - if (isUsedHistoryLocationFlag === 0) isUsedHistoryLocationFlag = 1; - global.location = value; - }, - get: function() { - if (isUsedHistoryLocationFlag === 0) isUsedHistoryLocationFlag = 1; - return isSupportHistoryAPI ? windowLocation : locationObject; - } - }, - /** - * A state object is an object representing - * a user interface state. - * - * @namespace history - */ - "state": { - get: function() { - return stateStorage[windowLocation.href] || null; - } - } - }; - - /** - * Properties for object 'history.location'. - * Object 'history.location' is similar to the - * object 'window.location', except that in - * HTML4 browsers it will behave a bit differently - * - * @type {Object} - */ - var locationDescriptors = { - /** - * Navigates to the given page. - * - * @namespace history.location - */ - assign: function(url) { - if (('' + url).indexOf('#') === 0) { - changeState(null, url); - } else { - windowLocation.assign(url); - } - }, - /** - * Reloads the current page. - * - * @namespace history.location - */ - reload: function() { - windowLocation.reload(); - }, - /** - * Removes the current page from - * the session history and navigates - * to the given page. - * - * @namespace history.location - */ - replace: function(url) { - if (('' + url).indexOf('#') === 0) { - changeState(null, url, true); - } else { - windowLocation.replace(url); - } - }, - /** - * Returns the current page's location. - * - * @namespace history.location - */ - toString: function() { - return this.href; - }, - /** - * Returns the current page's location. - * Can be set, to navigate to another page. - * - * @namespace history.location - */ - "href": { - get: function() { - return parseURL()._href; - } - }, - /** - * Returns the current page's protocol. - * - * @namespace history.location - */ - "protocol": null, - /** - * Returns the current page's host and port number. - * - * @namespace history.location - */ - "host": null, - /** - * Returns the current page's host. - * - * @namespace history.location - */ - "hostname": null, - /** - * Returns the current page's port number. - * - * @namespace history.location - */ - "port": null, - /** - * Returns the current page's path only. - * - * @namespace history.location - */ - "pathname": { - get: function() { - return parseURL()._pathname; - } - }, - /** - * Returns the current page's search - * string, beginning with the character - * '?' and to the symbol '#' - * - * @namespace history.location - */ - "search": { - get: function() { - return parseURL()._search; - } - }, - /** - * Returns the current page's hash - * string, beginning with the character - * '#' and to the end line - * - * @namespace history.location - */ - "hash": { - set: function(value) { - changeState(null, ('' + value).replace(/^(#|)/, '#'), false, lastURL); - }, - get: function() { - return parseURL()._hash; - } - } - }; - - /** - * Just empty function - * - * @return void - */ - function emptyFunction() { - // dummy - } - - /** - * Prepares a parts of the current or specified reference for later use in the library - * - * @param {string} [href] - * @param {boolean} [isWindowLocation] - * @param {boolean} [isNotAPI] - * @return {Object} - */ - function parseURL(href, isWindowLocation, isNotAPI) { - var re = /(?:(\w+\:))?(?:\/\/(?:[^@]*@)?([^\/:\?#]+)(?::([0-9]+))?)?([^\?#]*)(?:(\?[^#]+)|\?)?(?:(#.*))?/; - if (href != null && href !== '' && !isWindowLocation) { - var current = parseURL(), - base = document.getElementsByTagName('base')[0]; - if (!isNotAPI && base && base.getAttribute('href')) { - // Fix for IE ignoring relative base tags. - // See http://stackoverflow.com/questions/3926197/html-base-tag-and-local-folder-path-with-internet-explorer - base.href = base.href; - current = parseURL(base.href, null, true); - } - var _pathname = current._pathname, _protocol = current._protocol; - // convert to type of string - href = '' + href; - // convert relative link to the absolute - href = /^(?:\w+\:)?\/\//.test(href) ? href.indexOf("/") === 0 - ? _protocol + href : href : _protocol + "//" + current._host + ( - href.indexOf("/") === 0 ? href : href.indexOf("?") === 0 - ? _pathname + href : href.indexOf("#") === 0 - ? _pathname + current._search + href : _pathname.replace(/[^\/]+$/g, '') + href - ); - } else { - href = isWindowLocation ? href : windowLocation.href; - // if current browser not support History-API - if (!isSupportHistoryAPI || isNotAPI) { - // get hash fragment - href = href.replace(/^[^#]*/, '') || "#"; - // form the absolute link from the hash - // https://github.com/devote/HTML5-History-API/issues/50 - href = windowLocation.protocol.replace(/:.*$|$/, ':') + '//' + windowLocation.host + settings['basepath'] - + href.replace(new RegExp("^#[\/]?(?:" + settings["type"] + ")?"), ""); - } - } - // that would get rid of the links of the form: /../../ - anchorElement.href = href; - // decompose the link in parts - var result = re.exec(anchorElement.href); - // host name with the port number - var host = result[2] + (result[3] ? ':' + result[3] : ''); - // folder - var pathname = result[4] || '/'; - // the query string - var search = result[5] || ''; - // hash - var hash = result[6] === '#' ? '' : (result[6] || ''); - // relative link, no protocol, no host - var relative = pathname + search + hash; - // special links for set to hash-link, if browser not support History API - var nohash = pathname.replace(new RegExp("^" + settings["basepath"], "i"), settings["type"]) + search; - // result - return { - _href: result[1] + '//' + host + relative, - _protocol: result[1], - _host: host, - _hostname: result[2], - _port: result[3] || '', - _pathname: pathname, - _search: search, - _hash: hash, - _relative: relative, - _nohash: nohash, - _special: nohash + hash - } - } - - /** - * Initializing storage for the custom state's object - */ - function storageInitialize() { - var sessionStorage; - /** - * sessionStorage throws error when cookies are disabled - * Chrome content settings when running the site in a Facebook IFrame. - * see: https://github.com/devote/HTML5-History-API/issues/34 - * and: http://stackoverflow.com/a/12976988/669360 - */ - try { - sessionStorage = global['sessionStorage']; - sessionStorage.setItem(sessionStorageKey + 't', '1'); - sessionStorage.removeItem(sessionStorageKey + 't'); - } catch(_e_) { - sessionStorage = { - getItem: function(key) { - var cookie = document.cookie.split(key + "="); - return cookie.length > 1 && cookie.pop().split(";").shift() || 'null'; - }, - setItem: function(key, value) { - var state = {}; - // insert one current element to cookie - if (state[windowLocation.href] = historyObject.state) { - document.cookie = key + '=' + JSON.stringify(state); - } - } - } - } - - try { - // get cache from the storage in browser - stateStorage = JSON.parse(sessionStorage.getItem(sessionStorageKey)) || {}; - } catch(_e_) { - stateStorage = {}; - } - - // hang up the event handler to event unload page - addEvent(eventNamePrefix + 'unload', function() { - // save current state's object - sessionStorage.setItem(sessionStorageKey, JSON.stringify(stateStorage)); - }, false); - } - - /** - * This method is implemented to override the built-in(native) - * properties in the browser, unfortunately some browsers are - * not allowed to override all the properties and even add. - * For this reason, this was written by a method that tries to - * do everything necessary to get the desired result. - * - * @param {Object} object The object in which will be overridden/added property - * @param {String} prop The property name to be overridden/added - * @param {Object} [descriptor] An object containing properties set/get - * @param {Function} [onWrapped] The function to be called when the wrapper is created - * @return {Object|Boolean} Returns an object on success, otherwise returns false - */ - function redefineProperty(object, prop, descriptor, onWrapped) { - var testOnly = 0; - // test only if descriptor is undefined - if (!descriptor) { - descriptor = {set: emptyFunction}; - testOnly = 1; - } - // variable will have a value of true the success of attempts to set descriptors - var isDefinedSetter = !descriptor.set; - var isDefinedGetter = !descriptor.get; - // for tests of attempts to set descriptors - var test = {configurable: true, set: function() { - isDefinedSetter = 1; - }, get: function() { - isDefinedGetter = 1; - }}; - - try { - // testing for the possibility of overriding/adding properties - defineProperty(object, prop, test); - // running the test - object[prop] = object[prop]; - // attempt to override property using the standard method - defineProperty(object, prop, descriptor); - } catch(_e_) { - } - - // If the variable 'isDefined' has a false value, it means that need to try other methods - if (!isDefinedSetter || !isDefinedGetter) { - // try to override/add the property, using deprecated functions - if (object.__defineGetter__) { - // testing for the possibility of overriding/adding properties - object.__defineGetter__(prop, test.get); - object.__defineSetter__(prop, test.set); - // running the test - object[prop] = object[prop]; - // attempt to override property using the deprecated functions - descriptor.get && object.__defineGetter__(prop, descriptor.get); - descriptor.set && object.__defineSetter__(prop, descriptor.set); - } - - // Browser refused to override the property, using the standard and deprecated methods - if (!isDefinedSetter || !isDefinedGetter) { - if (testOnly) { - return false; - } else if (object === global) { - // try override global properties - try { - // save original value from this property - var originalValue = object[prop]; - // set null to built-in(native) property - object[prop] = null; - } catch(_e_) { - } - // This rule for Internet Explorer 8 - if ('execScript' in global) { - /** - * to IE8 override the global properties using - * VBScript, declaring it in global scope with - * the same names. - */ - global['execScript']('Public ' + prop, 'VBScript'); - global['execScript']('var ' + prop + ';', 'JavaScript'); - } else { - try { - /** - * This hack allows to override a property - * with the set 'configurable: false', working - * in the hack 'Safari' to 'Mac' - */ - defineProperty(object, prop, {value: emptyFunction}); - } catch(_e_) { - if (prop === 'onpopstate') { - /** - * window.onpopstate fires twice in Safari 8.0. - * Block initial event on window.onpopstate - * See: https://github.com/devote/HTML5-History-API/issues/69 - */ - addEvent('popstate', descriptor = function() { - removeEvent('popstate', descriptor, false); - var onpopstate = object.onpopstate; - // cancel initial event on attribute handler - object.onpopstate = null; - setTimeout(function() { - // restore attribute value after short time - object.onpopstate = onpopstate; - }, 1); - }, false); - // cancel trigger events on attributes in object the window - triggerEventsInWindowAttributes = 0; - } - } - } - // set old value to new variable - object[prop] = originalValue; - - } else { - // the last stage of trying to override the property - try { - try { - // wrap the object in a new empty object - var temp = Object.create(object); - defineProperty(Object.getPrototypeOf(temp) === object ? temp : object, prop, descriptor); - for(var key in object) { - // need to bind a function to the original object - if (typeof object[key] === 'function') { - temp[key] = object[key].bind(object); - } - } - try { - // to run a function that will inform about what the object was to wrapped - onWrapped.call(temp, temp, object); - } catch(_e_) { - } - object = temp; - } catch(_e_) { - // sometimes works override simply by assigning the prototype property of the constructor - defineProperty(object.constructor.prototype, prop, descriptor); - } - } catch(_e_) { - // all methods have failed - return false; - } - } - } - } - - return object; - } - - /** - * Adds the missing property in descriptor - * - * @param {Object} object An object that stores values - * @param {String} prop Name of the property in the object - * @param {Object|null} descriptor Descriptor - * @return {Object} Returns the generated descriptor - */ - function prepareDescriptorsForObject(object, prop, descriptor) { - descriptor = descriptor || {}; - // the default for the object 'location' is the standard object 'window.location' - object = object === locationDescriptors ? windowLocation : object; - // setter for object properties - descriptor.set = (descriptor.set || function(value) { - object[prop] = value; - }); - // getter for object properties - descriptor.get = (descriptor.get || function() { - return object[prop]; - }); - return descriptor; - } - - /** - * Wrapper for the methods 'addEventListener/attachEvent' in the context of the 'window' - * - * @param {String} event The event type for which the user is registering - * @param {Function} listener The method to be called when the event occurs. - * @param {Boolean} capture If true, capture indicates that the user wishes to initiate capture. - * @return void - */ - function addEventListener(event, listener, capture) { - if (event in eventsList) { - // here stored the event listeners 'popstate/hashchange' - eventsList[event].push(listener); - } else { - // FireFox support non-standart four argument aWantsUntrusted - // https://github.com/devote/HTML5-History-API/issues/13 - if (arguments.length > 3) { - addEvent(event, listener, capture, arguments[3]); - } else { - addEvent(event, listener, capture); - } - } - } - - /** - * Wrapper for the methods 'removeEventListener/detachEvent' in the context of the 'window' - * - * @param {String} event The event type for which the user is registered - * @param {Function} listener The parameter indicates the Listener to be removed. - * @param {Boolean} capture Was registered as a capturing listener or not. - * @return void - */ - function removeEventListener(event, listener, capture) { - var list = eventsList[event]; - if (list) { - for(var i = list.length; i--;) { - if (list[i] === listener) { - list.splice(i, 1); - break; - } - } - } else { - removeEvent(event, listener, capture); - } - } - - /** - * Wrapper for the methods 'dispatchEvent/fireEvent' in the context of the 'window' - * - * @param {Event|String} event Instance of Event or event type string if 'eventObject' used - * @param {*} [eventObject] For Internet Explorer 8 required event object on this argument - * @return {Boolean} If 'preventDefault' was called the value is false, else the value is true. - */ - function dispatchEvent(event, eventObject) { - var eventType = ('' + (typeof event === "string" ? event : event.type)).replace(/^on/, ''); - var list = eventsList[eventType]; - if (list) { - // need to understand that there is one object of Event - eventObject = typeof event === "string" ? eventObject : event; - if (eventObject.target == null) { - // need to override some of the properties of the Event object - for(var props = ['target', 'currentTarget', 'srcElement', 'type']; event = props.pop();) { - // use 'redefineProperty' to override the properties - eventObject = redefineProperty(eventObject, event, { - get: event === 'type' ? function() { - return eventType; - } : function() { - return global; - } - }); - } - } - if (triggerEventsInWindowAttributes) { - // run function defined in the attributes 'onpopstate/onhashchange' in the 'window' context - ((eventType === 'popstate' ? global.onpopstate : global.onhashchange) - || emptyFunction).call(global, eventObject); - } - // run other functions that are in the list of handlers - for(var i = 0, len = list.length; i < len; i++) { - list[i].call(global, eventObject); - } - return true; - } else { - return dispatch(event, eventObject); - } - } - - /** - * dispatch current state event - */ - function firePopState() { - var o = document.createEvent ? document.createEvent('Event') : document.createEventObject(); - if (o.initEvent) { - o.initEvent('popstate', false, false); - } else { - o.type = 'popstate'; - } - o.state = historyObject.state; - // send a newly created events to be processed - dispatchEvent(o); - } - - /** - * fire initial state for non-HTML5 browsers - */ - function fireInitialState() { - if (isFireInitialState) { - isFireInitialState = false; - firePopState(); - } - } - - /** - * Change the data of the current history for HTML4 browsers - * - * @param {Object} state - * @param {string} [url] - * @param {Boolean} [replace] - * @param {string} [lastURLValue] - * @return void - */ - function changeState(state, url, replace, lastURLValue) { - if (!isSupportHistoryAPI) { - // if not used implementation history.location - if (isUsedHistoryLocationFlag === 0) isUsedHistoryLocationFlag = 2; - // normalization url - var urlObject = parseURL(url, isUsedHistoryLocationFlag === 2 && ('' + url).indexOf("#") !== -1); - // if current url not equal new url - if (urlObject._relative !== parseURL()._relative) { - // if empty lastURLValue to skip hash change event - lastURL = lastURLValue; - if (replace) { - // only replace hash, not store to history - windowLocation.replace("#" + urlObject._special); - } else { - // change hash and add new record to history - windowLocation.hash = urlObject._special; - } - } - } else { - lastURL = windowLocation.href; - } - if (!isSupportStateObjectInHistory && state) { - stateStorage[windowLocation.href] = state; - } - isFireInitialState = false; - } - - /** - * Event handler function changes the hash in the address bar - * - * @param {Event} event - * @return void - */ - function onHashChange(event) { - // https://github.com/devote/HTML5-History-API/issues/46 - var fireNow = lastURL; - // new value to lastURL - lastURL = windowLocation.href; - // if not empty fireNow, otherwise skipped the current handler event - if (fireNow) { - // if checkUrlForPopState equal current url, this means that the event was raised popstate browser - if (checkUrlForPopState !== windowLocation.href) { - // otherwise, - // the browser does not support popstate event or just does not run the event by changing the hash. - firePopState(); - } - // current event object - event = event || global.event; - - var oldURLObject = parseURL(fireNow, true); - var newURLObject = parseURL(); - // HTML4 browser not support properties oldURL/newURL - if (!event.oldURL) { - event.oldURL = oldURLObject._href; - event.newURL = newURLObject._href; - } - if (oldURLObject._hash !== newURLObject._hash) { - // if current hash not equal previous hash - dispatchEvent(event); - } - } - } - - /** - * The event handler is fully loaded document - * - * @param {*} [noScroll] - * @return void - */ - function onLoad(noScroll) { - // Get rid of the events popstate when the first loading a document in the webkit browsers - setTimeout(function() { - // hang up the event handler for the built-in popstate event in the browser - addEvent('popstate', function(e) { - // set the current url, that suppress the creation of the popstate event by changing the hash - checkUrlForPopState = windowLocation.href; - // for Safari browser in OS Windows not implemented 'state' object in 'History' interface - // and not implemented in old HTML4 browsers - if (!isSupportStateObjectInHistory) { - e = redefineProperty(e, 'state', {get: function() { - return historyObject.state; - }}); - } - // send events to be processed - dispatchEvent(e); - }, false); - }, 0); - // for non-HTML5 browsers - if (!isSupportHistoryAPI && noScroll !== true && "location" in historyObject) { - // scroll window to anchor element - scrollToAnchorId(locationObject.hash); - // fire initial state for non-HTML5 browser after load page - fireInitialState(); - } - } - - /** - * Finds the closest ancestor anchor element (including the target itself). - * - * @param {HTMLElement} target The element to start scanning from. - * @return {HTMLElement} An element which is the closest ancestor anchor. - */ - function anchorTarget(target) { - while (target) { - if (target.nodeName === 'A') return target; - target = target.parentNode; - } - } - - /** - * Handles anchor elements with a hash fragment for non-HTML5 browsers - * - * @param {Event} e - */ - function onAnchorClick(e) { - var event = e || global.event; - var target = anchorTarget(event.target || event.srcElement); - var defaultPrevented = "defaultPrevented" in event ? event['defaultPrevented'] : event.returnValue === false; - if (target && target.nodeName === "A" && !defaultPrevented) { - var current = parseURL(); - var expect = parseURL(target.getAttribute("href", 2)); - var isEqualBaseURL = current._href.split('#').shift() === expect._href.split('#').shift(); - if (isEqualBaseURL && expect._hash) { - if (current._hash !== expect._hash) { - locationObject.hash = expect._hash; - } - scrollToAnchorId(expect._hash); - if (event.preventDefault) { - event.preventDefault(); - } else { - event.returnValue = false; - } - } - } - } - - /** - * Scroll page to current anchor in url-hash - * - * @param hash - */ - function scrollToAnchorId(hash) { - var target = document.getElementById(hash = (hash || '').replace(/^#/, '')); - if (target && target.id === hash && target.nodeName === "A") { - var rect = target.getBoundingClientRect(); - global.scrollTo((documentElement.scrollLeft || 0), rect.top + (documentElement.scrollTop || 0) - - (documentElement.clientTop || 0)); - } - } - - /** - * Library initialization - * - * @return {Boolean} return true if all is well, otherwise return false value - */ - function initialize() { - /** - * Get custom settings from the query string - */ - var scripts = document.getElementsByTagName('script'); - var src = (scripts[scripts.length - 1] || {}).src || ''; - var arg = src.indexOf('?') !== -1 ? src.split('?').pop() : ''; - arg.replace(/(\w+)(?:=([^&]*))?/g, function(a, key, value) { - settings[key] = (value || '').replace(/^(0|false)$/, ''); - }); - - /** - * hang up the event handler to listen to the events hashchange - */ - addEvent(eventNamePrefix + 'hashchange', onHashChange, false); - - // a list of objects with pairs of descriptors/object - var data = [locationDescriptors, locationObject, eventsDescriptors, global, historyDescriptors, historyObject]; - - // if browser support object 'state' in interface 'History' - if (isSupportStateObjectInHistory) { - // remove state property from descriptor - delete historyDescriptors['state']; - } - - // initializing descriptors - for(var i = 0; i < data.length; i += 2) { - for(var prop in data[i]) { - if (data[i].hasOwnProperty(prop)) { - if (typeof data[i][prop] === 'function') { - // If the descriptor is a simple function, simply just assign it an object - data[i + 1][prop] = data[i][prop]; - } else { - // prepare the descriptor the required format - var descriptor = prepareDescriptorsForObject(data[i], prop, data[i][prop]); - // try to set the descriptor object - if (!redefineProperty(data[i + 1], prop, descriptor, function(n, o) { - // is satisfied if the failed override property - if (o === historyObject) { - // the problem occurs in Safari on the Mac - global.history = historyObject = data[i + 1] = n; - } - })) { - // if there is no possibility override. - // This browser does not support descriptors, such as IE7 - - // remove previously hung event handlers - removeEvent(eventNamePrefix + 'hashchange', onHashChange, false); - - // fail to initialize :( - return false; - } - - // create a repository for custom handlers onpopstate/onhashchange - if (data[i + 1] === global) { - eventsList[prop] = eventsList[prop.substr(2)] = []; - } - } - } - } - } - - // check settings - historyObject['setup'](); - - // redirect if necessary - if (settings['redirect']) { - historyObject['redirect'](); - } - - // initialize - if (settings["init"]) { - // You agree that you will use window.history.location instead window.location - isUsedHistoryLocationFlag = 1; - } - - // If browser does not support object 'state' in interface 'History' - if (!isSupportStateObjectInHistory && JSON) { - storageInitialize(); - } - - // track clicks on anchors - if (!isSupportHistoryAPI) { - document[addEventListenerName](eventNamePrefix + "click", onAnchorClick, false); - } - - if (document.readyState === 'complete') { - onLoad(true); - } else { - if (!isSupportHistoryAPI && parseURL()._relative !== settings["basepath"]) { - isFireInitialState = true; - } - /** - * Need to avoid triggering events popstate the initial page load. - * Hang handler popstate as will be fully loaded document that - * would prevent triggering event onpopstate - */ - addEvent(eventNamePrefix + 'load', onLoad, false); - } - - // everything went well - return true; - } - - /** - * Starting the library - */ - if (!initialize()) { - // if unable to initialize descriptors - // therefore quite old browser and there - // is no sense to continue to perform - return; - } - - /** - * If the property history.emulate will be true, - * this will be talking about what's going on - * emulation capabilities HTML5-History-API. - * Otherwise there is no emulation, ie the - * built-in browser capabilities. - * - * @type {boolean} - * @const - */ - historyObject['emulate'] = !isSupportHistoryAPI; - - /** - * Replace the original methods on the wrapper - */ - global[addEventListenerName] = addEventListener; - global[removeEventListenerName] = removeEventListener; - global[dispatchEventName] = dispatchEvent; - - return historyObject; -}); diff --git a/history_4.2.1/CHANGES.htm b/html5-history-api/CHANGES.htm similarity index 100% rename from history_4.2.1/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/dnn-library.json b/html5-history-api/dnn-library.json new file mode 100644 index 00000000..bac61ed3 --- /dev/null +++ b/html5-history-api/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/html5-history-api/history.min.js"], + "resources": ["node_modules/html5-history-api/**"] +} diff --git a/history_4.2.1/history.dnn b/html5-history-api/history.dnn similarity index 54% rename from history_4.2.1/history.dnn rename to html5-history-api/history.dnn index ad2775d2..153edbab 100644 --- a/history_4.2.1/history.dnn +++ b/html5-history-api/history.dnn @@ -1,12 +1,14 @@ - + HTML5 History API - http://spb-piksel.ru]]> + + http://spb-piksel.ru]]> + Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com @@ -16,20 +18,29 @@ history - history.js + history.min.js window.history.location BodyBottom + https://cdn.jsdelivr.net/npm/html5-history-api@<~=version~>/history.min.js history - history.js + history.min.js + + + Resources\Libraries\history\<~=versionFolder~> + + Resources.zip + + +
      -
      \ No newline at end of file + 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 76% rename from html5shiv_3.7.3/html5shiv.dnn rename to html5shiv/html5shiv.dnn index 8f601681..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/html5shiv/3.7.3/html5shiv-printshiv.min.js + https://cdn.jsdelivr.net/npm/html5shiv@<~=version~>/dist/html5shiv.min.js @@ -33,7 +33,15 @@ + + + Resources\Libraries\html5shiv\<~=versionFolder~> + + Resources.zip + + + - \ 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/html5shiv-printshiv.min.js b/html5shiv_3.7.3/html5shiv-printshiv.min.js deleted file mode 100644 index e68716ce..00000000 --- a/html5shiv_3.7.3/html5shiv-printshiv.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** -* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=y.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=y.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),y.elements=c+" "+a,j(b)}function f(a){var b=x[a[v]];return b||(b={},w++,a[v]=w,x[w]=b),b}function g(a,c,d){if(c||(c=b),q)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():u.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||t.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),q)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return y.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(y,b.frag)}function j(a){a||(a=b);var d=f(a);return!y.shivCSS||p||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),q||i(a,d),a}function k(a){for(var b,c=a.getElementsByTagName("*"),e=c.length,f=RegExp("^(?:"+d().join("|")+")$","i"),g=[];e--;)b=c[e],f.test(b.nodeName)&&g.push(b.applyElement(l(b)));return g}function l(a){for(var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(A+":"+a.nodeName);d--;)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function m(a){for(var b,c=a.split("{"),e=c.length,f=RegExp("(^|[\\s,>+~])("+d().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),g="$1"+A+"\\:$2";e--;)b=c[e]=c[e].split("}"),b[b.length-1]=b[b.length-1].replace(f,g),c[e]=b.join("}");return c.join("{")}function n(a){for(var b=a.length;b--;)a[b].removeNode()}function o(a){function b(){clearTimeout(g._removeSheetTimer),d&&d.removeNode(!0),d=null}var d,e,g=f(a),h=a.namespaces,i=a.parentWindow;return!B||a.printShived?a:("undefined"==typeof h[A]&&h.add(A),i.attachEvent("onbeforeprint",function(){b();for(var f,g,h,i=a.styleSheets,j=[],l=i.length,n=Array(l);l--;)n[l]=i[l];for(;h=n.pop();)if(!h.disabled&&z.test(h.media)){try{f=h.imports,g=f.length}catch(o){g=0}for(l=0;g>l;l++)n.push(f[l]);try{j.push(h.cssText)}catch(o){}}j=m(j.reverse().join("")),e=k(a),d=c(a,j)}),i.attachEvent("onafterprint",function(){n(e),clearTimeout(g._removeSheetTimer),g._removeSheetTimer=setTimeout(b,500)}),a.printShived=!0,a)}var p,q,r="3.7.3",s=a.html5||{},t=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,v="_html5shiv",w=0,x={};!function(){try{var a=b.createElement("a");a.innerHTML="",p="hidden"in a,q=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){p=!0,q=!0}}();var y={elements:s.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:r,shivCSS:s.shivCSS!==!1,supportsUnknownElements:q,shivMethods:s.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=y,j(b);var z=/^$|\b(?:all|print)\b/,A="html5shiv",B=!q&&function(){var c=b.documentElement;return!("undefined"==typeof b.namespaces||"undefined"==typeof b.parentWindow||"undefined"==typeof c.applyElement||"undefined"==typeof c.removeNode||"undefined"==typeof a.attachEvent)}();y.type+=" print",y.shivPrint=o,o(b),"object"==typeof module&&module.exports&&(module.exports=y)}("undefined"!=typeof window?window:this,document); \ No newline at end of file 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.3/CHANGES.htm b/intl-tel-input/CHANGES.htm similarity index 100% rename from intl-tel-input_12.1.3/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/dnn-library.json b/intl-tel-input/dnn-library.json new file mode 100644 index 00000000..8cc983c7 --- /dev/null +++ b/intl-tel-input/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/intl-tel-input/build/js/intlTelInput.min.js"], + "resources": ["node_modules/intl-tel-input/build/**"] +} diff --git a/intl-tel-input_12.1.3/intl-tel-input.dnn b/intl-tel-input/intl-tel-input.dnn similarity index 71% rename from intl-tel-input_12.1.3/intl-tel-input.dnn rename to intl-tel-input/intl-tel-input.dnn index d34ce348..c8327a92 100644 --- a/intl-tel-input_12.1.3/intl-tel-input.dnn +++ b/intl-tel-input/intl-tel-input.dnn @@ -1,12 +1,14 @@ - + International Telephone Input - + + + Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com @@ -21,7 +23,7 @@ intl-tel-input intlTelInput.min.js BodyBottom - https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.3/js/intlTelInput.min.js + https://cdn.jsdelivr.net/npm/intl-tel-input@<~=version~>/build/js/intlTelInput.min.js jQuery.fn.intlTelInput @@ -35,7 +37,7 @@ - Resources\Libraries\intl-tel-input\12_01_03 + Resources\Libraries\intl-tel-input\<~=versionFolder~> Resources.zip diff --git a/intl-tel-input_12.1.3/LICENSE.htm b/intl-tel-input_12.1.3/LICENSE.htm deleted file mode 100644 index 0ee70302..00000000 --- a/intl-tel-input_12.1.3/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

      International Telephone Input is licensed under the MIT License.

      diff --git a/intl-tel-input_12.1.3/Resources.zip b/intl-tel-input_12.1.3/Resources.zip deleted file mode 100644 index 538b4554..00000000 Binary files a/intl-tel-input_12.1.3/Resources.zip and /dev/null differ diff --git a/intl-tel-input_12.1.3/intlTelInput.min.js b/intl-tel-input_12.1.3/intlTelInput.min.js deleted file mode 100644 index 932819a8..00000000 --- a/intl-tel-input_12.1.3/intlTelInput.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/* - * International Telephone Input v12.1.3 - * https://github.com/jackocnr/intl-tel-input.git - * Licensed under the MIT license - */ -!function(a){"function"==typeof define&&define.amd?define(["jquery"],function(b){a(b,window,document)}):"object"==typeof module&&module.exports?module.exports=a(require("jquery"),window,document):a(jQuery,window,document)}(function(a,b,c,d){"use strict";function e(b,c){this.a=a(b),this.b=a.extend({},h,c),this.ns="."+f+g++,this.d=Boolean(b.setSelectionRange),this.e=Boolean(a(b).attr("placeholder"))}var f="intlTelInput",g=1,h={allowDropdown:!0,autoHideDialCode:!0,autoPlaceholder:"polite",customPlaceholder:null,dropdownContainer:"",excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,utilsScript:""},i={b:38,c:40,d:13,e:27,f:43,A:65,Z:90,j:32,k:9},j=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"];a(b).on("load",function(){a.fn[f].windowLoaded=!0}),e.prototype={_a:function(){return this.b.nationalMode&&(this.b.autoHideDialCode=!1),this.b.separateDialCode&&(this.b.autoHideDialCode=this.b.nationalMode=!1),this.g=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.g&&(a("body").addClass("iti-mobile"),this.b.dropdownContainer||(this.b.dropdownContainer="body")),this.h=new a.Deferred,this.i=new a.Deferred,this.s={},this._b(),this._f(),this._h(),this._i(),this._i2(),[this.h,this.i]},_b:function(){this._d(),this._d2(),this._e()},_c:function(a,b,c){b in this.q||(this.q[b]=[]);var d=c||0;this.q[b][d]=a},_d:function(){if(this.b.onlyCountries.length){var a=this.b.onlyCountries.map(function(a){return a.toLowerCase()});this.p=k.filter(function(b){return a.indexOf(b.iso2)>-1})}else if(this.b.excludeCountries.length){var b=this.b.excludeCountries.map(function(a){return a.toLowerCase()});this.p=k.filter(function(a){return b.indexOf(a.iso2)===-1})}else this.p=k},_d2:function(){this.q={};for(var a=0;a",{"class":b})),this.k=a("
      ",{"class":"flag-container"}).insertBefore(this.a);var c=a("
      ",{"class":"selected-flag"});c.appendTo(this.k),this.l=a("
      ",{"class":"iti-flag"}).appendTo(c),this.b.separateDialCode&&(this.t=a("
      ",{"class":"selected-dial-code"}).appendTo(c)),this.b.allowDropdown?(c.attr("tabindex","0"),a("
      ",{"class":"iti-arrow"}).appendTo(c),this.m=a("
        ",{"class":"country-list hide"}),this.preferredCountries.length&&(this._g(this.preferredCountries,"preferred"),a("
      • ",{"class":"divider"}).appendTo(this.m)),this._g(this.p,""),this.o=this.m.children(".country"),this.b.dropdownContainer?this.dropdown=a("
        ",{"class":"intl-tel-input iti-container"}).append(this.m):this.m.appendTo(this.k)):this.o=a(),this.b.hiddenInput&&(this.hiddenInput=a("",{type:"hidden",name:this.b.hiddenInput}).insertBefore(this.a))},_g:function(a,b){for(var c="",d=0;d",c+="
        ",c+=""+e.name+"",c+="+"+e.dialCode+"",c+="
      • "}this.m.append(c)},_h:function(){var a=this.a.val();this._af(a)&&(!this._isRegionlessNanp(a)||this.b.nationalMode&&!this.b.initialCountry)?this._v(a):"auto"!==this.b.initialCountry&&(this.b.initialCountry?this._z(this.b.initialCountry.toLowerCase()):(this.j=this.preferredCountries.length?this.preferredCountries[0].iso2:this.p[0].iso2,a||this._z(this.j)),a||this.b.nationalMode||this.b.autoHideDialCode||this.b.separateDialCode||this.a.val("+"+this.s.dialCode)),a&&this._u(a)},_i:function(){this._j(),this.b.autoHideDialCode&&this._l(),this.b.allowDropdown&&this._i1(),this.hiddenInput&&this._initHiddenInputListener()},_initHiddenInputListener:function(){var a=this,b=this.a.closest("form");b.length&&b.submit(function(){a.hiddenInput.val(a.getNumber())})},_i1:function(){var a=this,b=this.a.closest("label");b.length&&b.on("click"+this.ns,function(b){a.m.hasClass("hide")?a.a.focus():b.preventDefault()}),this.l.parent().on("click"+this.ns,function(b){!a.m.hasClass("hide")||a.a.prop("disabled")||a.a.prop("readonly")||a._n()}),this.k.on("keydown"+a.ns,function(b){!a.m.hasClass("hide")||b.which!=i.b&&b.which!=i.c&&b.which!=i.j&&b.which!=i.d||(b.preventDefault(),b.stopPropagation(),a._n()),b.which==i.k&&a._ac()})},_i2:function(){var c=this;this.b.utilsScript?a.fn[f].windowLoaded?a.fn[f].loadUtils(this.b.utilsScript,this.i):a(b).on("load",function(){a.fn[f].loadUtils(c.b.utilsScript,c.i)}):this.i.resolve(),"auto"===this.b.initialCountry?this._i3():this.h.resolve()},_i3:function(){a.fn[f].autoCountry?this.handleAutoCountry():a.fn[f].startedLoadingAutoCountry||(a.fn[f].startedLoadingAutoCountry=!0,"function"==typeof this.b.geoIpLookup&&this.b.geoIpLookup(function(b){a.fn[f].autoCountry=b.toLowerCase(),setTimeout(function(){a(".intl-tel-input input").intlTelInput("handleAutoCountry")})}))},_j:function(){var a=this;this.a.on("keyup"+this.ns,function(){a._v(a.a.val())&&a._triggerCountryChange()}),this.a.on("cut"+this.ns+" paste"+this.ns,function(){setTimeout(function(){a._v(a.a.val())&&a._triggerCountryChange()})})},_j2:function(a){var b=this.a.attr("maxlength");return b&&a.length>b?a.substr(0,b):a},_l:function(){var b=this;this.a.on("mousedown"+this.ns,function(a){b.a.is(":focus")||b.a.val()||(a.preventDefault(),b.a.focus())}),this.a.on("focus"+this.ns,function(a){b.a.val()||b.a.prop("readonly")||!b.s.dialCode||(b.a.val("+"+b.s.dialCode),b.a.one("keypress.plus"+b.ns,function(a){a.which==i.f&&b.a.val("")}),setTimeout(function(){var a=b.a[0];if(b.d){var c=b.a.val().length;a.setSelectionRange(c,c)}}))});var c=this.a.prop("form");c&&a(c).on("submit"+this.ns,function(){b._removeEmptyDialCode()}),this.a.on("blur"+this.ns,function(){b._removeEmptyDialCode()})},_removeEmptyDialCode:function(){var a=this.a.val();if("+"==a.charAt(0)){var b=this._m(a);b&&this.s.dialCode!=b||this.a.val("")}this.a.off("keypress.plus"+this.ns)},_m:function(a){return a.replace(/\D/g,"")},_n:function(){this._o();var a=this.m.children(".active");a.length&&(this._x(a),this._ad(a)),this._p(),this.l.children(".iti-arrow").addClass("up"),this.a.trigger("open:countrydropdown")},_o:function(){var c=this;if(this.b.dropdownContainer&&this.dropdown.appendTo(this.b.dropdownContainer),this.n=this.m.removeClass("hide").outerHeight(),!this.g){var d=this.a.offset(),e=d.top,f=a(b).scrollTop(),g=e+this.a.outerHeight()+this.nf;if(this.m.toggleClass("dropup",!g&&h),this.b.dropdownContainer){var i=!g&&h?0:this.a.innerHeight();this.dropdown.css({top:e+i,left:d.left}),a(b).on("scroll"+this.ns,function(){c._ac()})}}},_p:function(){var b=this;this.m.on("mouseover"+this.ns,".country",function(c){b._x(a(this))}),this.m.on("click"+this.ns,".country",function(c){b._ab(a(this))});var d=!0;a("html").on("click"+this.ns,function(a){d||b._ac(),d=!1});var e="",f=null;a(c).on("keydown"+this.ns,function(a){a.preventDefault(),a.which==i.b||a.which==i.c?b._q(a.which):a.which==i.d?b._r():a.which==i.e?b._ac():(a.which>=i.A&&a.which<=i.Z||a.which==i.j)&&(f&&clearTimeout(f),e+=String.fromCharCode(a.which),b._s(e),f=setTimeout(function(){e=""},1e3))})},_q:function(a){var b=this.m.children(".highlight").first(),c=a==i.b?b.prev():b.next();c.length&&(c.hasClass("divider")&&(c=a==i.b?c.prev():c.next()),this._x(c),this._ad(c))},_r:function(){var a=this.m.children(".highlight").first();a.length&&this._ab(a)},_s:function(a){for(var b=0;b-1,h="+1"==c&&e.length>=4;if((!("1"==this.s.dialCode)||!this._isRegionlessNanp(e))&&(!g||h))for(var i=0;i-1}return!1},_x:function(a){this.o.removeClass("highlight"),a.addClass("highlight")},_y:function(a,b,c){for(var d=b?k:this.p,e=0;ef){b&&(j+=k);var l=d-g;c.scrollTop(j-l)}},_ae:function(a,b){var c,d=this.a.val();if(a="+"+a,"+"==d.charAt(0)){var e=this._af(d);c=e?d.replace(e,a):a}else{if(this.b.nationalMode||this.b.separateDialCode)return;if(d)c=a+d;else{if(!b&&this.b.autoHideDialCode)return;c=a}}this.a.val(c)},_af:function(b){var c="";if("+"==b.charAt(0))for(var d="",e=0;ejQuery.cookie is MIT licensed by Klaus Hartl

        \ No newline at end of file diff --git a/jQuery.cookie_1.4.1/jquery.cookie.js b/jQuery.cookie_1.4.1/jquery.cookie.js deleted file mode 100644 index c7f3a59b..00000000 --- a/jQuery.cookie_1.4.1/jquery.cookie.js +++ /dev/null @@ -1,117 +0,0 @@ -/*! - * jQuery Cookie Plugin v1.4.1 - * https://github.com/carhartl/jquery-cookie - * - * Copyright 2013 Klaus Hartl - * Released under the MIT license - */ -(function (factory) { - if (typeof define === 'function' && define.amd) { - // AMD - define(['jquery'], factory); - } else if (typeof exports === 'object') { - // CommonJS - factory(require('jquery')); - } else { - // Browser globals - factory(jQuery); - } -}(function ($) { - - var pluses = /\+/g; - - function encode(s) { - return config.raw ? s : encodeURIComponent(s); - } - - function decode(s) { - return config.raw ? s : decodeURIComponent(s); - } - - function stringifyCookieValue(value) { - return encode(config.json ? JSON.stringify(value) : String(value)); - } - - function parseCookieValue(s) { - if (s.indexOf('"') === 0) { - // This is a quoted cookie as according to RFC2068, unescape... - s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); - } - - try { - // Replace server-side written pluses with spaces. - // If we can't decode the cookie, ignore it, it's unusable. - // If we can't parse the cookie, ignore it, it's unusable. - s = decodeURIComponent(s.replace(pluses, ' ')); - return config.json ? JSON.parse(s) : s; - } catch(e) {} - } - - function read(s, converter) { - var value = config.raw ? s : parseCookieValue(s); - return $.isFunction(converter) ? converter(value) : value; - } - - var config = $.cookie = function (key, value, options) { - - // Write - - if (value !== undefined && !$.isFunction(value)) { - options = $.extend({}, config.defaults, options); - - if (typeof options.expires === 'number') { - var days = options.expires, t = options.expires = new Date(); - t.setTime(+t + days * 864e+5); - } - - return (document.cookie = [ - encode(key), '=', stringifyCookieValue(value), - options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE - options.path ? '; path=' + options.path : '', - options.domain ? '; domain=' + options.domain : '', - options.secure ? '; secure' : '' - ].join('')); - } - - // Read - - var result = key ? undefined : {}; - - // To prevent the for loop in the first place assign an empty array - // in case there are no cookies at all. Also prevents odd result when - // calling $.cookie(). - var cookies = document.cookie ? document.cookie.split('; ') : []; - - for (var i = 0, l = cookies.length; i < l; i++) { - var parts = cookies[i].split('='); - var name = decode(parts.shift()); - var cookie = parts.join('='); - - if (key && key === name) { - // If second argument (value) is a function it's a converter... - result = read(cookie, value); - break; - } - - // Prevent storing a cookie that we couldn't decode. - if (!key && (cookie = read(cookie)) !== undefined) { - result[name] = cookie; - } - } - - return result; - }; - - config.defaults = {}; - - $.removeCookie = function (key, options) { - if ($.cookie(key) === undefined) { - return false; - } - - // Must not alter options, thus extending a fresh object... - $.cookie(key, '', $.extend({}, options, { expires: -1 })); - return !$.cookie(key); - }; - -})); diff --git a/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jQuery.cycle2.core.dnn b/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jQuery.cycle2.core.dnn deleted file mode 100644 index 1c32d5db..00000000 --- a/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jQuery.cycle2.core.dnn +++ /dev/null @@ -1,38 +0,0 @@ - - - - - Cycle2 core - The bare minimum. If you're looking to shave as many bytes as possible off the weight of Cycle2, use just this library. - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - - - - - jQuery.cycle2.core - jQuery.cycle2.core.min.js - BodyBottom - - - - - jQuery.cycle2.core - - jQuery.cycle2.core.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jquery.cycle2.core.min.js b/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jquery.cycle2.core.min.js deleted file mode 100644 index 8fa3ec2d..00000000 --- a/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jquery.cycle2.core.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! -* jQuery Cycle2; version: 2.1.5 build: 20140415 -* http://jquery.malsup.com/cycle2/ -* Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL -*/ -!function(a){"use strict";function b(a){return(a||"").toLowerCase()}var c="2.1.5";a.fn.cycle=function(c){var d;return 0!==this.length||a.isReady?this.each(function(){var d,e,f,g,h=a(this),i=a.fn.cycle.log;if(!h.data("cycle.opts")){(h.data("cycle-log")===!1||c&&c.log===!1||e&&e.log===!1)&&(i=a.noop),i("--c2 init--"),d=h.data();for(var j in d)d.hasOwnProperty(j)&&/^cycle[A-Z]+/.test(j)&&(g=d[j],f=j.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),i(f+":",g,"("+typeof g+")"),d[f]=g);e=a.extend({},a.fn.cycle.defaults,d,c||{}),e.timeoutId=0,e.paused=e.paused||!1,e.container=h,e._maxZ=e.maxZ,e.API=a.extend({_container:h},a.fn.cycle.API),e.API.log=i,e.API.trigger=function(a,b){return e.container.trigger(a,b),e.API},h.data("cycle.opts",e),h.data("cycle.API",e.API),e.API.trigger("cycle-bootstrap",[e,e.API]),e.API.addInitialSlides(),e.API.preInitSlideshow(),e.slides.length&&e.API.initSlideshow()}}):(d={s:this.selector,c:this.context},a.fn.cycle.log("requeuing slideshow (dom not ready)"),a(function(){a(d.s,d.c).cycle(c)}),this)},a.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var b=this.opts(),c=b.slides;b.slideCount=0,b.slides=a(),c=c.jquery?c:b.container.find(c),b.random&&c.sort(function(){return Math.random()-.5}),b.API.add(c)},preInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-pre-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.preInit)&&c.preInit(b),b._preInitialized=!0},postInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-post-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.postInit)&&c.postInit(b)},initSlideshow:function(){var b,c=this.opts(),d=c.container;c.API.calcFirstSlide(),"static"==c.container.css("position")&&c.container.css("position","relative"),a(c.slides[c.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),c.API.stackSlides(c.slides[c.currSlide],c.slides[c.nextSlide],!c.reverse),c.pauseOnHover&&(c.pauseOnHover!==!0&&(d=a(c.pauseOnHover)),d.hover(function(){c.API.pause(!0)},function(){c.API.resume(!0)})),c.timeout&&(b=c.API.getSlideOpts(c.currSlide),c.API.queueTransition(b,b.timeout+c.delay)),c._initialized=!0,c.API.updateView(!0),c.API.trigger("cycle-initialized",[c]),c.API.postInitSlideshow()},pause:function(b){var c=this.opts(),d=c.API.getSlideOpts(),e=c.hoverPaused||c.paused;b?c.hoverPaused=!0:c.paused=!0,e||(c.container.addClass("cycle-paused"),c.API.trigger("cycle-paused",[c]).log("cycle-paused"),d.timeout&&(clearTimeout(c.timeoutId),c.timeoutId=0,c._remainingTimeout-=a.now()-c._lastQueue,(c._remainingTimeout<0||isNaN(c._remainingTimeout))&&(c._remainingTimeout=void 0)))},resume:function(a){var b=this.opts(),c=!b.hoverPaused&&!b.paused;a?b.hoverPaused=!1:b.paused=!1,c||(b.container.removeClass("cycle-paused"),0===b.slides.filter(":animated").length&&b.API.queueTransition(b.API.getSlideOpts(),b._remainingTimeout),b.API.trigger("cycle-resumed",[b,b._remainingTimeout]).log("cycle-resumed"))},add:function(b,c){var d,e=this.opts(),f=e.slideCount,g=!1;"string"==a.type(b)&&(b=a.trim(b)),a(b).each(function(){var b,d=a(this);c?e.container.prepend(d):e.container.append(d),e.slideCount++,b=e.API.buildSlideOpts(d),e.slides=c?a(d).add(e.slides):e.slides.add(d),e.API.initSlide(b,d,--e._maxZ),d.data("cycle.opts",b),e.API.trigger("cycle-slide-added",[e,b,d])}),e.API.updateView(!0),g=e._preInitialized&&2>f&&e.slideCount>=1,g&&(e._initialized?e.timeout&&(d=e.slides.length,e.nextSlide=e.reverse?d-1:1,e.timeoutId||e.API.queueTransition(e)):e.API.initSlideshow())},calcFirstSlide:function(){var a,b=this.opts();a=parseInt(b.startingSlide||0,10),(a>=b.slides.length||0>a)&&(a=0),b.currSlide=a,b.reverse?(b.nextSlide=a-1,b.nextSlide<0&&(b.nextSlide=b.slides.length-1)):(b.nextSlide=a+1,b.nextSlide==b.slides.length&&(b.nextSlide=0))},calcNextSlide:function(){var a,b=this.opts();b.reverse?(a=b.nextSlide-1<0,b.nextSlide=a?b.slideCount-1:b.nextSlide-1,b.currSlide=a?0:b.nextSlide+1):(a=b.nextSlide+1==b.slides.length,b.nextSlide=a?0:b.nextSlide+1,b.currSlide=a?b.slides.length-1:b.nextSlide-1)},calcTx:function(b,c){var d,e=b;return e._tempFx?d=a.fn.cycle.transitions[e._tempFx]:c&&e.manualFx&&(d=a.fn.cycle.transitions[e.manualFx]),d||(d=a.fn.cycle.transitions[e.fx]),e._tempFx=null,this.opts()._tempFx=null,d||(d=a.fn.cycle.transitions.fade,e.API.log('Transition "'+e.fx+'" not found. Using fade.')),d},prepareTx:function(a,b){var c,d,e,f,g,h=this.opts();return h.slideCount<2?void(h.timeoutId=0):(!a||h.busy&&!h.manualTrump||(h.API.stopTransition(),h.busy=!1,clearTimeout(h.timeoutId),h.timeoutId=0),void(h.busy||(0!==h.timeoutId||a)&&(d=h.slides[h.currSlide],e=h.slides[h.nextSlide],f=h.API.getSlideOpts(h.nextSlide),g=h.API.calcTx(f,a),h._tx=g,a&&void 0!==f.manualSpeed&&(f.speed=f.manualSpeed),h.nextSlide!=h.currSlide&&(a||!h.paused&&!h.hoverPaused&&h.timeout)?(h.API.trigger("cycle-before",[f,d,e,b]),g.before&&g.before(f,d,e,b),c=function(){h.busy=!1,h.container.data("cycle.opts")&&(g.after&&g.after(f,d,e,b),h.API.trigger("cycle-after",[f,d,e,b]),h.API.queueTransition(f),h.API.updateView(!0))},h.busy=!0,g.transition?g.transition(f,d,e,b,c):h.API.doTransition(f,d,e,b,c),h.API.calcNextSlide(),h.API.updateView()):h.API.queueTransition(f))))},doTransition:function(b,c,d,e,f){var g=b,h=a(c),i=a(d),j=function(){i.animate(g.animIn||{opacity:1},g.speed,g.easeIn||g.easing,f)};i.css(g.cssBefore||{}),h.animate(g.animOut||{},g.speed,g.easeOut||g.easing,function(){h.css(g.cssAfter||{}),g.sync||j()}),g.sync&&j()},queueTransition:function(b,c){var d=this.opts(),e=void 0!==c?c:b.timeout;return 0===d.nextSlide&&0===--d.loop?(d.API.log("terminating; loop=0"),d.timeout=0,e?setTimeout(function(){d.API.trigger("cycle-finished",[d])},e):d.API.trigger("cycle-finished",[d]),void(d.nextSlide=d.currSlide)):void 0!==d.continueAuto&&(d.continueAuto===!1||a.isFunction(d.continueAuto)&&d.continueAuto()===!1)?(d.API.log("terminating automatic transitions"),d.timeout=0,void(d.timeoutId&&clearTimeout(d.timeoutId))):void(e&&(d._lastQueue=a.now(),void 0===c&&(d._remainingTimeout=b.timeout),d.paused||d.hoverPaused||(d.timeoutId=setTimeout(function(){d.API.prepareTx(!1,!d.reverse)},e))))},stopTransition:function(){var a=this.opts();a.slides.filter(":animated").length&&(a.slides.stop(!1,!0),a.API.trigger("cycle-transition-stopped",[a])),a._tx&&a._tx.stopTransition&&a._tx.stopTransition(a)},advanceSlide:function(a){var b=this.opts();return clearTimeout(b.timeoutId),b.timeoutId=0,b.nextSlide=b.currSlide+a,b.nextSlide<0?b.nextSlide=b.slides.length-1:b.nextSlide>=b.slides.length&&(b.nextSlide=0),b.API.prepareTx(!0,a>=0),!1},buildSlideOpts:function(c){var d,e,f=this.opts(),g=c.data()||{};for(var h in g)g.hasOwnProperty(h)&&/^cycle[A-Z]+/.test(h)&&(d=g[h],e=h.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),f.API.log("["+(f.slideCount-1)+"]",e+":",d,"("+typeof d+")"),g[e]=d);g=a.extend({},a.fn.cycle.defaults,f,g),g.slideNum=f.slideCount;try{delete g.API,delete g.slideCount,delete g.currSlide,delete g.nextSlide,delete g.slides}catch(i){}return g},getSlideOpts:function(b){var c=this.opts();void 0===b&&(b=c.currSlide);var d=c.slides[b],e=a(d).data("cycle.opts");return a.extend({},c,e)},initSlide:function(b,c,d){var e=this.opts();c.css(b.slideCss||{}),d>0&&c.css("zIndex",d),isNaN(b.speed)&&(b.speed=a.fx.speeds[b.speed]||a.fx.speeds._default),b.sync||(b.speed=b.speed/2),c.addClass(e.slideClass)},updateView:function(a,b){var c=this.opts();if(c._initialized){var d=c.API.getSlideOpts(),e=c.slides[c.currSlide];!a&&b!==!0&&(c.API.trigger("cycle-update-view-before",[c,d,e]),c.updateView<0)||(c.slideActiveClass&&c.slides.removeClass(c.slideActiveClass).eq(c.currSlide).addClass(c.slideActiveClass),a&&c.hideNonActive&&c.slides.filter(":not(."+c.slideActiveClass+")").css("visibility","hidden"),0===c.updateView&&setTimeout(function(){c.API.trigger("cycle-update-view",[c,d,e,a])},d.speed/(c.sync?2:1)),0!==c.updateView&&c.API.trigger("cycle-update-view",[c,d,e,a]),a&&c.API.trigger("cycle-update-view-after",[c,d,e]))}},getComponent:function(b){var c=this.opts(),d=c[b];return"string"==typeof d?/^\s*[\>|\+|~]/.test(d)?c.container.find(d):a(d):d.jquery?d:a(d)},stackSlides:function(b,c,d){var e=this.opts();b||(b=e.slides[e.currSlide],c=e.slides[e.nextSlide],d=!e.reverse),a(b).css("zIndex",e.maxZ);var f,g=e.maxZ-2,h=e.slideCount;if(d){for(f=e.currSlide+1;h>f;f++)a(e.slides[f]).css("zIndex",g--);for(f=0;f=0;f--)a(e.slides[f]).css("zIndex",g--);for(f=h-1;f>e.currSlide;f--)a(e.slides[f]).css("zIndex",g--)}a(c).css("zIndex",e.maxZ-1)},getSlideIndex:function(a){return this.opts().slides.index(a)}},a.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},a.fn.cycle.version=function(){return"Cycle2: "+c},a.fn.cycle.transitions={custom:{},none:{before:function(a,b,c,d){a.API.stackSlides(c,b,d),a.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:0,visibility:"visible",display:"block"}),b.animIn={opacity:1},b.animOut={opacity:0}}},fadeout:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:1,visibility:"visible",display:"block"}),b.animOut={opacity:0}}},scrollHorz:{before:function(a,b,c,d){a.API.stackSlides(b,c,d);var e=a.container.css("overflow","hidden").width();a.cssBefore={left:d?e:-e,top:0,opacity:1,visibility:"visible",display:"block"},a.cssAfter={zIndex:a._maxZ-2,left:0},a.animIn={left:0},a.animOut={left:d?-e:e}}}},a.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},a(document).ready(function(){a(a.fn.cycle.defaults.autoSelector).cycle()})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jQuery.cycle2.tmpl.dnn b/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jQuery.cycle2.tmpl.dnn deleted file mode 100644 index 8f010d45..00000000 --- a/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jQuery.cycle2.tmpl.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Template plugin - the demo. It is included by default in the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.tmpl - jQuery.cycle2.tmpl.min.js - BodyBottom - - - - - jQuery.cycle2.tmpl - - jQuery.cycle2.tmpl.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jquery.cycle2.tmpl.min.js b/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jquery.cycle2.tmpl.min.js deleted file mode 100644 index 2210fe26..00000000 --- a/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jquery.cycle2.tmpl.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.extend(a.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),a.extend(a.fn.cycle.API,{tmpl:function(b,c){var d=new RegExp(c.tmplRegex||a.fn.cycle.defaults.tmplRegex,"g"),e=a.makeArray(arguments);return e.shift(),b.replace(d,function(b,c){var d,f,g,h,i=c.split(".");for(d=0;d1)for(h=g,f=0;fDual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jQuery.cycle2.autoheight.dnn b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jQuery.cycle2.autoheight.dnn deleted file mode 100644 index 7303030a..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jQuery.cycle2.autoheight.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Auto Height plugin - the demo. It is included by default in the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.autoheight - jQuery.cycle2.autoheight.min.js - BodyBottom - - - - - jQuery.cycle2.autoheight - - jQuery.cycle2.autoheight.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jquery.cycle2.autoheight.min.js b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jquery.cycle2.autoheight.min.js deleted file mode 100644 index 8be34882..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jquery.cycle2.autoheight.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";function b(b,d){var e,f,g,h=d.autoHeight;if("container"==h)f=a(d.slides[d.currSlide]).outerHeight(),d.container.height(f);else if(d._autoHeightRatio)d.container.height(d.container.width()/d._autoHeightRatio);else if("calc"===h||"number"==a.type(h)&&h>=0){if(g="calc"===h?c(b,d):h>=d.slides.length?0:h,g==d._sentinelIndex)return;d._sentinelIndex=g,d._sentinel&&d._sentinel.remove(),e=a(d.slides[g].cloneNode(!0)),e.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),e.css({position:"static",visibility:"hidden",display:"block"}).prependTo(d.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),e.find("*").css("visibility","hidden"),d._sentinel=e}}function c(b,c){var d=0,e=-1;return c.slides.each(function(b){var c=a(this).height();c>e&&(e=c,d=b)}),d}function d(b,c,d,e){var f=a(e).outerHeight();c.container.animate({height:f},c.autoHeightSpeed,c.autoHeightEasing)}function e(c,f){f._autoHeightOnResize&&(a(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null),f.container.off("cycle-slide-added cycle-slide-removed",b),f.container.off("cycle-destroyed",e),f.container.off("cycle-before",d),f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}a.extend(a.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),a(document).on("cycle-initialized",function(c,f){function g(){b(c,f)}var h,i=f.autoHeight,j=a.type(i),k=null;("string"===j||"number"===j)&&(f.container.on("cycle-slide-added cycle-slide-removed",b),f.container.on("cycle-destroyed",e),"container"==i?f.container.on("cycle-before",d):"string"===j&&/\d+\:\d+/.test(i)&&(h=i.match(/(\d+)\:(\d+)/),h=h[1]/h[2],f._autoHeightRatio=h),"number"!==j&&(f._autoHeightOnResize=function(){clearTimeout(k),k=setTimeout(g,50)},a(window).on("resize orientationchange",f._autoHeightOnResize)),setTimeout(g,30))})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jQuery.cycle2.caption.dnn b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jQuery.cycle2.caption.dnn deleted file mode 100644 index b1ac962f..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jQuery.cycle2.caption.dnn +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Cycle2 Caption plugin - the demo. It is included by default in the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - jQuery.cycle2.tmpl - - - - - jQuery.cycle2.caption - jQuery.cycle2.caption.min.js - BodyBottom - - - - - jQuery.cycle2.caption - - jQuery.cycle2.caption.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jquery.cycle2.caption.min.js b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jquery.cycle2.caption.min.js deleted file mode 100644 index 59aefbec..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jquery.cycle2.caption.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.extend(a.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"
        {{title}}
        {{desc}}
        ",captionModule:"caption"}),a(document).on("cycle-update-view",function(b,c,d,e){if("caption"===c.captionModule){a.each(["caption","overlay"],function(){var a=this,b=d[a+"Template"],f=c.API.getComponent(a);f.length&&b?(f.html(c.API.tmpl(b,d,c,e)),f.show()):f.hide()})}}),a(document).on("cycle-destroyed",function(b,c){var d;a.each(["caption","overlay"],function(){var a=this,b=c[a+"Template"];c[a]&&b&&(d=c.API.getComponent("caption"),d.empty())})})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jQuery.cycle2.command.dnn b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jQuery.cycle2.command.dnn deleted file mode 100644 index 9aadcfa9..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jQuery.cycle2.command.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Command plugin - the demo. It is included by default in the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.command - jQuery.cycle2.command.min.js - BodyBottom - - - - - jQuery.cycle2.command - - jQuery.cycle2.command.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jquery.cycle2.command.min.js b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jquery.cycle2.command.min.js deleted file mode 100644 index 570b0027..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jquery.cycle2.command.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";var b=a.fn.cycle;a.fn.cycle=function(c){var d,e,f,g=a.makeArray(arguments);return"number"==a.type(c)?this.cycle("goto",c):"string"==a.type(c)?this.each(function(){var h;return d=c,f=a(this).data("cycle.opts"),void 0===f?void b.log('slideshow must be initialized before sending commands; "'+d+'" ignored'):(d="goto"==d?"jump":d,e=f.API[d],a.isFunction(e)?(h=a.makeArray(g),h.shift(),e.apply(f.API,h)):void b.log("unknown command: ",d))}):b.apply(this,arguments)},a.extend(a.fn.cycle,b),a.extend(b.API,{next:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?-1:1;a.allowWrap===!1&&a.currSlide+b>=a.slideCount||(a.API.advanceSlide(b),a.API.trigger("cycle-next",[a]).log("cycle-next"))}},prev:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?1:-1;a.allowWrap===!1&&a.currSlide+b<0||(a.API.advanceSlide(b),a.API.trigger("cycle-prev",[a]).log("cycle-prev"))}},destroy:function(){this.stop();var b=this.opts(),c=a.isFunction(a._data)?a._data:a.noop;clearTimeout(b.timeoutId),b.timeoutId=0,b.API.stop(),b.API.trigger("cycle-destroyed",[b]).log("cycle-destroyed"),b.container.removeData(),c(b.container[0],"parsedAttrs",!1),b.retainStylesOnDestroy||(b.container.removeAttr("style"),b.slides.removeAttr("style"),b.slides.removeClass(b.slideActiveClass)),b.slides.each(function(){a(this).removeData(),c(this,"parsedAttrs",!1)})},jump:function(a,b){var c,d=this.opts();if(!d.busy||d.manualTrump){var e=parseInt(a,10);if(isNaN(e)||0>e||e>=d.slides.length)return void d.API.log("goto: invalid slide index: "+e);if(e==d.currSlide)return void d.API.log("goto: skipping, already on slide",e);d.nextSlide=e,clearTimeout(d.timeoutId),d.timeoutId=0,d.API.log("goto: ",e," (zero-index)"),c=d.currSlideDual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jQuery.cycle2.hash.dnn b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jQuery.cycle2.hash.dnn deleted file mode 100644 index 66fde259..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jQuery.cycle2.hash.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Hash plugin - the demo. It is included by default in the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.hash - jQuery.cycle2.hash.min.js - BodyBottom - - - - - jQuery.cycle2.hash - - jQuery.cycle2.hash.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jquery.cycle2.hash.min.js b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jquery.cycle2.hash.min.js deleted file mode 100644 index f6e0677a..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jquery.cycle2.hash.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";function b(b,c){var d;return b._hashFence?void(b._hashFence=!1):(d=window.location.hash.substring(1),void b.slides.each(function(e){if(a(this).data("cycle-hash")==d){if(c===!0)b.startingSlide=e;else{var f=b.currSlideDual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jQuery.cycle2.loader.dnn b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jQuery.cycle2.loader.dnn deleted file mode 100644 index d7e45f1f..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jQuery.cycle2.loader.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Loader plugin - the demo. It is included by default in the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.loader - jQuery.cycle2.loader.min.js - BodyBottom - - - - - jQuery.cycle2.loader - - jQuery.cycle2.loader.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jquery.cycle2.loader.min.js b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jquery.cycle2.loader.min.js deleted file mode 100644 index dbd6541d..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jquery.cycle2.loader.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.extend(a.fn.cycle.defaults,{loader:!1}),a(document).on("cycle-bootstrap",function(b,c){function d(b,d){function f(b){var f;"wait"==c.loader?(h.push(b),0===j&&(h.sort(g),e.apply(c.API,[h,d]),c.container.removeClass("cycle-loading"))):(f=a(c.slides[c.currSlide]),e.apply(c.API,[b,d]),f.show(),c.container.removeClass("cycle-loading"))}function g(a,b){return a.data("index")-b.data("index")}var h=[];if("string"==a.type(b))b=a.trim(b);else if("array"===a.type(b))for(var i=0;iDual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jQuery.cycle2.pager.dnn b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jQuery.cycle2.pager.dnn deleted file mode 100644 index 37cf458c..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jQuery.cycle2.pager.dnn +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Cycle2 Pager plugin - the demo. It is included by default in the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - jQuery.cycle2.tmpl - - - - - jQuery.cycle2.pager - jQuery.cycle2.pager.min.js - BodyBottom - - - - - jQuery.cycle2.pager - - jQuery.cycle2.pager.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jquery.cycle2.pager.min.js b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jquery.cycle2.pager.min.js deleted file mode 100644 index ea8c414c..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jquery.cycle2.pager.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";function b(b,c,d){var e,f=b.API.getComponent("pager");f.each(function(){var f=a(this);if(c.pagerTemplate){var g=b.API.tmpl(c.pagerTemplate,c,b,d[0]);e=a(g).appendTo(f)}else e=f.children().eq(b.slideCount-1);e.on(b.pagerEvent,function(a){b.pagerEventBubble||a.preventDefault(),b.API.page(f,a.currentTarget)})})}function c(a,b){var c=this.opts();if(!c.busy||c.manualTrump){var d=a.children().index(b),e=d,f=c.currSlide .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:""}),a(document).on("cycle-bootstrap",function(a,c,d){d.buildPagerLink=b}),a(document).on("cycle-slide-added",function(a,b,d,e){b.pager&&(b.API.buildPagerLink(b,d,e),b.API.page=c)}),a(document).on("cycle-slide-removed",function(b,c,d){if(c.pager){var e=c.API.getComponent("pager");e.each(function(){var b=a(this);a(b.children()[d]).remove()})}}),a(document).on("cycle-update-view",function(b,c){var d;c.pager&&(d=c.API.getComponent("pager"),d.each(function(){a(this).children().removeClass(c.pagerActiveClass).eq(c.currSlide).addClass(c.pagerActiveClass)}))}),a(document).on("cycle-destroyed",function(a,b){var c=b.API.getComponent("pager");c&&(c.children().off(b.pagerEvent),b.pagerTemplate&&c.empty())})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jQuery.cycle2.prevnext.dnn b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jQuery.cycle2.prevnext.dnn deleted file mode 100644 index f2456ae5..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jQuery.cycle2.prevnext.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Prev/Next plugin - the demo. It is included by default in the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.prevnext - jQuery.cycle2.prevnext.min.js - BodyBottom - - - - - jQuery.cycle2.prevnext - - jQuery.cycle2.prevnext.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jquery.cycle2.prevnext.min.js b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jquery.cycle2.prevnext.min.js deleted file mode 100644 index 95cd0a00..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jquery.cycle2.prevnext.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.extend(a.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),a(document).on("cycle-initialized",function(a,b){if(b.API.getComponent("next").on(b.nextEvent,function(a){a.preventDefault(),b.API.next()}),b.API.getComponent("prev").on(b.prevEvent,function(a){a.preventDefault(),b.API.prev()}),b.swipe){var c=b.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",d=b.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";b.container.on(c,function(){b._tempFx=b.swipeFx,b.API.next()}),b.container.on(d,function(){b._tempFx=b.swipeFx,b.API.prev()})}}),a(document).on("cycle-update-view",function(a,b){if(!b.allowWrap){var c=b.disabledClass,d=b.API.getComponent("next"),e=b.API.getComponent("prev"),f=b._prevBoundry||0,g=void 0!==b._nextBoundry?b._nextBoundry:b.slideCount-1;b.currSlide==g?d.addClass(c).prop("disabled",!0):d.removeClass(c).prop("disabled",!1),b.currSlide===f?e.addClass(c).prop("disabled",!0):e.removeClass(c).prop("disabled",!1)}}),a(document).on("cycle-destroyed",function(a,b){b.API.getComponent("prev").off(b.nextEvent),b.API.getComponent("next").off(b.prevEvent),b.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jQuery.cycle2.progressive.dnn b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jQuery.cycle2.progressive.dnn deleted file mode 100644 index fb39b921..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jQuery.cycle2.progressive.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Progressive Loader plugin - the demo. It is included by default in the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.progressive - jQuery.cycle2.progressive.min.js - BodyBottom - - - - - jQuery.cycle2.progressive - - jQuery.cycle2.progressive.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jquery.cycle2.progressive.min.js b/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jquery.cycle2.progressive.min.js deleted file mode 100644 index 2d75bb75..00000000 --- a/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jquery.cycle2.progressive.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.extend(a.fn.cycle.defaults,{progressive:!1}),a(document).on("cycle-pre-initialize",function(b,c){if(c.progressive){var d,e,f=c.API,g=f.next,h=f.prev,i=f.prepareTx,j=a.type(c.progressive);if("array"==j)d=c.progressive;else if(a.isFunction(c.progressive))d=c.progressive(c);else if("string"==j){if(e=a(c.progressive),d=a.trim(e.html()),!d)return;if(/^(\[)/.test(d))try{d=a.parseJSON(d)}catch(k){return void f.log("error parsing progressive slides",k)}else d=d.split(new RegExp(e.data("cycle-split")||"\n")),d[d.length-1]||d.pop()}i&&(f.prepareTx=function(a,b){var e,f;return a||0===d.length?void i.apply(c.API,[a,b]):void(b&&c.currSlide==c.slideCount-1?(f=d[0],d=d.slice(1),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.API.advanceSlide(1)},50)}),c.API.add(f)):b||0!==c.currSlide?i.apply(c.API,[a,b]):(e=d.length-1,f=d[e],d=d.slice(0,e),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.currSlide=1,b.API.advanceSlide(-1)},50)}),c.API.add(f,!0)))}),g&&(f.next=function(){var a=this.opts();if(d.length&&a.currSlide==a.slideCount-1){var b=d[0];d=d.slice(1),a.container.one("cycle-slide-added",function(a,b){g.apply(b.API),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(b)}else g.apply(a.API)}),h&&(f.prev=function(){var a=this.opts();if(d.length&&0===a.currSlide){var b=d.length-1,c=d[b];d=d.slice(0,b),a.container.one("cycle-slide-added",function(a,b){b.currSlide=1,b.API.advanceSlide(-1),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(c,!0)}else h.apply(a.API)})}})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jQuery.cycle2.dnn b/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jQuery.cycle2.dnn deleted file mode 100644 index fd4ea8b2..00000000 --- a/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jQuery.cycle2.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 - The successor to Cycle. Cycle2 is a mobile and desktop friendly slideshow built around ease-of-use with a declarative API. It supports responsive designs, dynamic slideshow manipulation, swipe events, and lots of options! - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - jQuery.cycle2.autoheight - jQuery.cycle2.caption - jQuery.cycle2.command - jQuery.cycle2.hash - jQuery.cycle2.loader - jQuery.cycle2.pager - jQuery.cycle2.prevnext - jQuery.cycle2.progressive - jQuery.cycle2.tmpl - - - - - jQuery.cycle2 - BodyBottom - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jquery.cycle2.js b/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jquery.cycle2.js deleted file mode 100644 index 2ce29173..00000000 --- a/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jquery.cycle2.js +++ /dev/null @@ -1,1545 +0,0 @@ -/*! -* jQuery Cycle2; version: 2.1.5 build: 20140415 -* http://jquery.malsup.com/cycle2/ -* Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL -*/ - -/* Cycle2 core engine */ -;(function($) { -"use strict"; - -var version = '2.1.5'; - -$.fn.cycle = function( options ) { - // fix mistakes with the ready state - var o; - if ( this.length === 0 && !$.isReady ) { - o = { s: this.selector, c: this.context }; - $.fn.cycle.log('requeuing slideshow (dom not ready)'); - $(function() { - $( o.s, o.c ).cycle(options); - }); - return this; - } - - return this.each(function() { - var data, opts, shortName, val; - var container = $(this); - var log = $.fn.cycle.log; - - if ( container.data('cycle.opts') ) - return; // already initialized - - if ( container.data('cycle-log') === false || - ( options && options.log === false ) || - ( opts && opts.log === false) ) { - log = $.noop; - } - - log('--c2 init--'); - data = container.data(); - for (var p in data) { - // allow props to be accessed sans 'cycle' prefix and log the overrides - if (data.hasOwnProperty(p) && /^cycle[A-Z]+/.test(p) ) { - val = data[p]; - shortName = p.match(/^cycle(.*)/)[1].replace(/^[A-Z]/, lowerCase); - log(shortName+':', val, '('+typeof val +')'); - data[shortName] = val; - } - } - - opts = $.extend( {}, $.fn.cycle.defaults, data, options || {}); - - opts.timeoutId = 0; - opts.paused = opts.paused || false; // #57 - opts.container = container; - opts._maxZ = opts.maxZ; - - opts.API = $.extend ( { _container: container }, $.fn.cycle.API ); - opts.API.log = log; - opts.API.trigger = function( eventName, args ) { - opts.container.trigger( eventName, args ); - return opts.API; - }; - - container.data( 'cycle.opts', opts ); - container.data( 'cycle.API', opts.API ); - - // opportunity for plugins to modify opts and API - opts.API.trigger('cycle-bootstrap', [ opts, opts.API ]); - - opts.API.addInitialSlides(); - opts.API.preInitSlideshow(); - - if ( opts.slides.length ) - opts.API.initSlideshow(); - }); -}; - -$.fn.cycle.API = { - opts: function() { - return this._container.data( 'cycle.opts' ); - }, - addInitialSlides: function() { - var opts = this.opts(); - var slides = opts.slides; - opts.slideCount = 0; - opts.slides = $(); // empty set - - // add slides that already exist - slides = slides.jquery ? slides : opts.container.find( slides ); - - if ( opts.random ) { - slides.sort(function() {return Math.random() - 0.5;}); - } - - opts.API.add( slides ); - }, - - preInitSlideshow: function() { - var opts = this.opts(); - opts.API.trigger('cycle-pre-initialize', [ opts ]); - var tx = $.fn.cycle.transitions[opts.fx]; - if (tx && $.isFunction(tx.preInit)) - tx.preInit( opts ); - opts._preInitialized = true; - }, - - postInitSlideshow: function() { - var opts = this.opts(); - opts.API.trigger('cycle-post-initialize', [ opts ]); - var tx = $.fn.cycle.transitions[opts.fx]; - if (tx && $.isFunction(tx.postInit)) - tx.postInit( opts ); - }, - - initSlideshow: function() { - var opts = this.opts(); - var pauseObj = opts.container; - var slideOpts; - opts.API.calcFirstSlide(); - - if ( opts.container.css('position') == 'static' ) - opts.container.css('position', 'relative'); - - $(opts.slides[opts.currSlide]).css({ - opacity: 1, - display: 'block', - visibility: 'visible' - }); - opts.API.stackSlides( opts.slides[opts.currSlide], opts.slides[opts.nextSlide], !opts.reverse ); - - if ( opts.pauseOnHover ) { - // allow pauseOnHover to specify an element - if ( opts.pauseOnHover !== true ) - pauseObj = $( opts.pauseOnHover ); - - pauseObj.hover( - function(){ opts.API.pause( true ); }, - function(){ opts.API.resume( true ); } - ); - } - - // stage initial transition - if ( opts.timeout ) { - slideOpts = opts.API.getSlideOpts( opts.currSlide ); - opts.API.queueTransition( slideOpts, slideOpts.timeout + opts.delay ); - } - - opts._initialized = true; - opts.API.updateView( true ); - opts.API.trigger('cycle-initialized', [ opts ]); - opts.API.postInitSlideshow(); - }, - - pause: function( hover ) { - var opts = this.opts(), - slideOpts = opts.API.getSlideOpts(), - alreadyPaused = opts.hoverPaused || opts.paused; - - if ( hover ) - opts.hoverPaused = true; - else - opts.paused = true; - - if ( ! alreadyPaused ) { - opts.container.addClass('cycle-paused'); - opts.API.trigger('cycle-paused', [ opts ]).log('cycle-paused'); - - if ( slideOpts.timeout ) { - clearTimeout( opts.timeoutId ); - opts.timeoutId = 0; - - // determine how much time is left for the current slide - opts._remainingTimeout -= ( $.now() - opts._lastQueue ); - if ( opts._remainingTimeout < 0 || isNaN(opts._remainingTimeout) ) - opts._remainingTimeout = undefined; - } - } - }, - - resume: function( hover ) { - var opts = this.opts(), - alreadyResumed = !opts.hoverPaused && !opts.paused, - remaining; - - if ( hover ) - opts.hoverPaused = false; - else - opts.paused = false; - - - if ( ! alreadyResumed ) { - opts.container.removeClass('cycle-paused'); - // #gh-230; if an animation is in progress then don't queue a new transition; it will - // happen naturally - if ( opts.slides.filter(':animated').length === 0 ) - opts.API.queueTransition( opts.API.getSlideOpts(), opts._remainingTimeout ); - opts.API.trigger('cycle-resumed', [ opts, opts._remainingTimeout ] ).log('cycle-resumed'); - } - }, - - add: function( slides, prepend ) { - var opts = this.opts(); - var oldSlideCount = opts.slideCount; - var startSlideshow = false; - var len; - - if ( $.type(slides) == 'string') - slides = $.trim( slides ); - - $( slides ).each(function(i) { - var slideOpts; - var slide = $(this); - - if ( prepend ) - opts.container.prepend( slide ); - else - opts.container.append( slide ); - - opts.slideCount++; - slideOpts = opts.API.buildSlideOpts( slide ); - - if ( prepend ) - opts.slides = $( slide ).add( opts.slides ); - else - opts.slides = opts.slides.add( slide ); - - opts.API.initSlide( slideOpts, slide, --opts._maxZ ); - - slide.data('cycle.opts', slideOpts); - opts.API.trigger('cycle-slide-added', [ opts, slideOpts, slide ]); - }); - - opts.API.updateView( true ); - - startSlideshow = opts._preInitialized && (oldSlideCount < 2 && opts.slideCount >= 1); - if ( startSlideshow ) { - if ( !opts._initialized ) - opts.API.initSlideshow(); - else if ( opts.timeout ) { - len = opts.slides.length; - opts.nextSlide = opts.reverse ? len - 1 : 1; - if ( !opts.timeoutId ) { - opts.API.queueTransition( opts ); - } - } - } - }, - - calcFirstSlide: function() { - var opts = this.opts(); - var firstSlideIndex; - firstSlideIndex = parseInt( opts.startingSlide || 0, 10 ); - if (firstSlideIndex >= opts.slides.length || firstSlideIndex < 0) - firstSlideIndex = 0; - - opts.currSlide = firstSlideIndex; - if ( opts.reverse ) { - opts.nextSlide = firstSlideIndex - 1; - if (opts.nextSlide < 0) - opts.nextSlide = opts.slides.length - 1; - } - else { - opts.nextSlide = firstSlideIndex + 1; - if (opts.nextSlide == opts.slides.length) - opts.nextSlide = 0; - } - }, - - calcNextSlide: function() { - var opts = this.opts(); - var roll; - if ( opts.reverse ) { - roll = (opts.nextSlide - 1) < 0; - opts.nextSlide = roll ? opts.slideCount - 1 : opts.nextSlide-1; - opts.currSlide = roll ? 0 : opts.nextSlide+1; - } - else { - roll = (opts.nextSlide + 1) == opts.slides.length; - opts.nextSlide = roll ? 0 : opts.nextSlide+1; - opts.currSlide = roll ? opts.slides.length-1 : opts.nextSlide-1; - } - }, - - calcTx: function( slideOpts, manual ) { - var opts = slideOpts; - var tx; - - if ( opts._tempFx ) - tx = $.fn.cycle.transitions[opts._tempFx]; - else if ( manual && opts.manualFx ) - tx = $.fn.cycle.transitions[opts.manualFx]; - - if ( !tx ) - tx = $.fn.cycle.transitions[opts.fx]; - - opts._tempFx = null; - this.opts()._tempFx = null; - - if (!tx) { - tx = $.fn.cycle.transitions.fade; - opts.API.log('Transition "' + opts.fx + '" not found. Using fade.'); - } - return tx; - }, - - prepareTx: function( manual, fwd ) { - var opts = this.opts(); - var after, curr, next, slideOpts, tx; - - if ( opts.slideCount < 2 ) { - opts.timeoutId = 0; - return; - } - if ( manual && ( !opts.busy || opts.manualTrump ) ) { - opts.API.stopTransition(); - opts.busy = false; - clearTimeout(opts.timeoutId); - opts.timeoutId = 0; - } - if ( opts.busy ) - return; - if ( opts.timeoutId === 0 && !manual ) - return; - - curr = opts.slides[opts.currSlide]; - next = opts.slides[opts.nextSlide]; - slideOpts = opts.API.getSlideOpts( opts.nextSlide ); - tx = opts.API.calcTx( slideOpts, manual ); - - opts._tx = tx; - - if ( manual && slideOpts.manualSpeed !== undefined ) - slideOpts.speed = slideOpts.manualSpeed; - - // if ( opts.nextSlide === opts.currSlide ) - // opts.API.calcNextSlide(); - - // ensure that: - // 1. advancing to a different slide - // 2. this is either a manual event (prev/next, pager, cmd) or - // a timer event and slideshow is not paused - if ( opts.nextSlide != opts.currSlide && - (manual || (!opts.paused && !opts.hoverPaused && opts.timeout) )) { // #62 - - opts.API.trigger('cycle-before', [ slideOpts, curr, next, fwd ]); - if ( tx.before ) - tx.before( slideOpts, curr, next, fwd ); - - after = function() { - opts.busy = false; - // #76; bail if slideshow has been destroyed - if (! opts.container.data( 'cycle.opts' ) ) - return; - - if (tx.after) - tx.after( slideOpts, curr, next, fwd ); - opts.API.trigger('cycle-after', [ slideOpts, curr, next, fwd ]); - opts.API.queueTransition( slideOpts); - opts.API.updateView( true ); - }; - - opts.busy = true; - if (tx.transition) - tx.transition(slideOpts, curr, next, fwd, after); - else - opts.API.doTransition( slideOpts, curr, next, fwd, after); - - opts.API.calcNextSlide(); - opts.API.updateView(); - } else { - opts.API.queueTransition( slideOpts ); - } - }, - - // perform the actual animation - doTransition: function( slideOpts, currEl, nextEl, fwd, callback) { - var opts = slideOpts; - var curr = $(currEl), next = $(nextEl); - var fn = function() { - // make sure animIn has something so that callback doesn't trigger immediately - next.animate(opts.animIn || { opacity: 1}, opts.speed, opts.easeIn || opts.easing, callback); - }; - - next.css(opts.cssBefore || {}); - curr.animate(opts.animOut || {}, opts.speed, opts.easeOut || opts.easing, function() { - curr.css(opts.cssAfter || {}); - if (!opts.sync) { - fn(); - } - }); - if (opts.sync) { - fn(); - } - }, - - queueTransition: function( slideOpts, specificTimeout ) { - var opts = this.opts(); - var timeout = specificTimeout !== undefined ? specificTimeout : slideOpts.timeout; - if (opts.nextSlide === 0 && --opts.loop === 0) { - opts.API.log('terminating; loop=0'); - opts.timeout = 0; - if ( timeout ) { - setTimeout(function() { - opts.API.trigger('cycle-finished', [ opts ]); - }, timeout); - } - else { - opts.API.trigger('cycle-finished', [ opts ]); - } - // reset nextSlide - opts.nextSlide = opts.currSlide; - return; - } - if ( opts.continueAuto !== undefined ) { - if ( opts.continueAuto === false || - ($.isFunction(opts.continueAuto) && opts.continueAuto() === false )) { - opts.API.log('terminating automatic transitions'); - opts.timeout = 0; - if ( opts.timeoutId ) - clearTimeout(opts.timeoutId); - return; - } - } - if ( timeout ) { - opts._lastQueue = $.now(); - if ( specificTimeout === undefined ) - opts._remainingTimeout = slideOpts.timeout; - - if ( !opts.paused && ! opts.hoverPaused ) { - opts.timeoutId = setTimeout(function() { - opts.API.prepareTx( false, !opts.reverse ); - }, timeout ); - } - } - }, - - stopTransition: function() { - var opts = this.opts(); - if ( opts.slides.filter(':animated').length ) { - opts.slides.stop(false, true); - opts.API.trigger('cycle-transition-stopped', [ opts ]); - } - - if ( opts._tx && opts._tx.stopTransition ) - opts._tx.stopTransition( opts ); - }, - - // advance slide forward or back - advanceSlide: function( val ) { - var opts = this.opts(); - clearTimeout(opts.timeoutId); - opts.timeoutId = 0; - opts.nextSlide = opts.currSlide + val; - - if (opts.nextSlide < 0) - opts.nextSlide = opts.slides.length - 1; - else if (opts.nextSlide >= opts.slides.length) - opts.nextSlide = 0; - - opts.API.prepareTx( true, val >= 0 ); - return false; - }, - - buildSlideOpts: function( slide ) { - var opts = this.opts(); - var val, shortName; - var slideOpts = slide.data() || {}; - for (var p in slideOpts) { - // allow props to be accessed sans 'cycle' prefix and log the overrides - if (slideOpts.hasOwnProperty(p) && /^cycle[A-Z]+/.test(p) ) { - val = slideOpts[p]; - shortName = p.match(/^cycle(.*)/)[1].replace(/^[A-Z]/, lowerCase); - opts.API.log('['+(opts.slideCount-1)+']', shortName+':', val, '('+typeof val +')'); - slideOpts[shortName] = val; - } - } - - slideOpts = $.extend( {}, $.fn.cycle.defaults, opts, slideOpts ); - slideOpts.slideNum = opts.slideCount; - - try { - // these props should always be read from the master state object - delete slideOpts.API; - delete slideOpts.slideCount; - delete slideOpts.currSlide; - delete slideOpts.nextSlide; - delete slideOpts.slides; - } catch(e) { - // no op - } - return slideOpts; - }, - - getSlideOpts: function( index ) { - var opts = this.opts(); - if ( index === undefined ) - index = opts.currSlide; - - var slide = opts.slides[index]; - var slideOpts = $(slide).data('cycle.opts'); - return $.extend( {}, opts, slideOpts ); - }, - - initSlide: function( slideOpts, slide, suggestedZindex ) { - var opts = this.opts(); - slide.css( slideOpts.slideCss || {} ); - if ( suggestedZindex > 0 ) - slide.css( 'zIndex', suggestedZindex ); - - // ensure that speed settings are sane - if ( isNaN( slideOpts.speed ) ) - slideOpts.speed = $.fx.speeds[slideOpts.speed] || $.fx.speeds._default; - if ( !slideOpts.sync ) - slideOpts.speed = slideOpts.speed / 2; - - slide.addClass( opts.slideClass ); - }, - - updateView: function( isAfter, isDuring, forceEvent ) { - var opts = this.opts(); - if ( !opts._initialized ) - return; - var slideOpts = opts.API.getSlideOpts(); - var currSlide = opts.slides[ opts.currSlide ]; - - if ( ! isAfter && isDuring !== true ) { - opts.API.trigger('cycle-update-view-before', [ opts, slideOpts, currSlide ]); - if ( opts.updateView < 0 ) - return; - } - - if ( opts.slideActiveClass ) { - opts.slides.removeClass( opts.slideActiveClass ) - .eq( opts.currSlide ).addClass( opts.slideActiveClass ); - } - - if ( isAfter && opts.hideNonActive ) - opts.slides.filter( ':not(.' + opts.slideActiveClass + ')' ).css('visibility', 'hidden'); - - if ( opts.updateView === 0 ) { - setTimeout(function() { - opts.API.trigger('cycle-update-view', [ opts, slideOpts, currSlide, isAfter ]); - }, slideOpts.speed / (opts.sync ? 2 : 1) ); - } - - if ( opts.updateView !== 0 ) - opts.API.trigger('cycle-update-view', [ opts, slideOpts, currSlide, isAfter ]); - - if ( isAfter ) - opts.API.trigger('cycle-update-view-after', [ opts, slideOpts, currSlide ]); - }, - - getComponent: function( name ) { - var opts = this.opts(); - var selector = opts[name]; - if (typeof selector === 'string') { - // if selector is a child, sibling combinator, adjancent selector then use find, otherwise query full dom - return (/^\s*[\>|\+|~]/).test( selector ) ? opts.container.find( selector ) : $( selector ); - } - if (selector.jquery) - return selector; - - return $(selector); - }, - - stackSlides: function( curr, next, fwd ) { - var opts = this.opts(); - if ( !curr ) { - curr = opts.slides[opts.currSlide]; - next = opts.slides[opts.nextSlide]; - fwd = !opts.reverse; - } - - // reset the zIndex for the common case: - // curr slide on top, next slide beneath, and the rest in order to be shown - $(curr).css('zIndex', opts.maxZ); - - var i; - var z = opts.maxZ - 2; - var len = opts.slideCount; - if (fwd) { - for ( i = opts.currSlide + 1; i < len; i++ ) - $( opts.slides[i] ).css( 'zIndex', z-- ); - for ( i = 0; i < opts.currSlide; i++ ) - $( opts.slides[i] ).css( 'zIndex', z-- ); - } - else { - for ( i = opts.currSlide - 1; i >= 0; i-- ) - $( opts.slides[i] ).css( 'zIndex', z-- ); - for ( i = len - 1; i > opts.currSlide; i-- ) - $( opts.slides[i] ).css( 'zIndex', z-- ); - } - - $(next).css('zIndex', opts.maxZ - 1); - }, - - getSlideIndex: function( el ) { - return this.opts().slides.index( el ); - } - -}; // API - -// default logger -$.fn.cycle.log = function log() { - /*global console:true */ - if (window.console && console.log) - console.log('[cycle2] ' + Array.prototype.join.call(arguments, ' ') ); -}; - -$.fn.cycle.version = function() { return 'Cycle2: ' + version; }; - -// helper functions - -function lowerCase(s) { - return (s || '').toLowerCase(); -} - -// expose transition object -$.fn.cycle.transitions = { - custom: { - }, - none: { - before: function( opts, curr, next, fwd ) { - opts.API.stackSlides( next, curr, fwd ); - opts.cssBefore = { opacity: 1, visibility: 'visible', display: 'block' }; - } - }, - fade: { - before: function( opts, curr, next, fwd ) { - var css = opts.API.getSlideOpts( opts.nextSlide ).slideCss || {}; - opts.API.stackSlides( curr, next, fwd ); - opts.cssBefore = $.extend(css, { opacity: 0, visibility: 'visible', display: 'block' }); - opts.animIn = { opacity: 1 }; - opts.animOut = { opacity: 0 }; - } - }, - fadeout: { - before: function( opts , curr, next, fwd ) { - var css = opts.API.getSlideOpts( opts.nextSlide ).slideCss || {}; - opts.API.stackSlides( curr, next, fwd ); - opts.cssBefore = $.extend(css, { opacity: 1, visibility: 'visible', display: 'block' }); - opts.animOut = { opacity: 0 }; - } - }, - scrollHorz: { - before: function( opts, curr, next, fwd ) { - opts.API.stackSlides( curr, next, fwd ); - var w = opts.container.css('overflow','hidden').width(); - opts.cssBefore = { left: fwd ? w : - w, top: 0, opacity: 1, visibility: 'visible', display: 'block' }; - opts.cssAfter = { zIndex: opts._maxZ - 2, left: 0 }; - opts.animIn = { left: 0 }; - opts.animOut = { left: fwd ? -w : w }; - } - } -}; - -// @see: http://jquery.malsup.com/cycle2/api -$.fn.cycle.defaults = { - allowWrap: true, - autoSelector: '.cycle-slideshow[data-cycle-auto-init!=false]', - delay: 0, - easing: null, - fx: 'fade', - hideNonActive: true, - loop: 0, - manualFx: undefined, - manualSpeed: undefined, - manualTrump: true, - maxZ: 100, - pauseOnHover: false, - reverse: false, - slideActiveClass: 'cycle-slide-active', - slideClass: 'cycle-slide', - slideCss: { position: 'absolute', top: 0, left: 0 }, - slides: '> img', - speed: 500, - startingSlide: 0, - sync: true, - timeout: 4000, - updateView: 0 -}; - -// automatically find and run slideshows -$(document).ready(function() { - $( $.fn.cycle.defaults.autoSelector ).cycle(); -}); - -})(jQuery); - -/*! Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130913 */ -(function($) { -"use strict"; - -$.extend($.fn.cycle.defaults, { - autoHeight: 0, // setting this option to false disables autoHeight logic - autoHeightSpeed: 250, - autoHeightEasing: null -}); - -$(document).on( 'cycle-initialized', function( e, opts ) { - var autoHeight = opts.autoHeight; - var t = $.type( autoHeight ); - var resizeThrottle = null; - var ratio; - - if ( t !== 'string' && t !== 'number' ) - return; - - // bind events - opts.container.on( 'cycle-slide-added cycle-slide-removed', initAutoHeight ); - opts.container.on( 'cycle-destroyed', onDestroy ); - - if ( autoHeight == 'container' ) { - opts.container.on( 'cycle-before', onBefore ); - } - else if ( t === 'string' && /\d+\:\d+/.test( autoHeight ) ) { - // use ratio - ratio = autoHeight.match(/(\d+)\:(\d+)/); - ratio = ratio[1] / ratio[2]; - opts._autoHeightRatio = ratio; - } - - // if autoHeight is a number then we don't need to recalculate the sentinel - // index on resize - if ( t !== 'number' ) { - // bind unique resize handler per slideshow (so it can be 'off-ed' in onDestroy) - opts._autoHeightOnResize = function () { - clearTimeout( resizeThrottle ); - resizeThrottle = setTimeout( onResize, 50 ); - }; - - $(window).on( 'resize orientationchange', opts._autoHeightOnResize ); - } - - setTimeout( onResize, 30 ); - - function onResize() { - initAutoHeight( e, opts ); - } -}); - -function initAutoHeight( e, opts ) { - var clone, height, sentinelIndex; - var autoHeight = opts.autoHeight; - - if ( autoHeight == 'container' ) { - height = $( opts.slides[ opts.currSlide ] ).outerHeight(); - opts.container.height( height ); - } - else if ( opts._autoHeightRatio ) { - opts.container.height( opts.container.width() / opts._autoHeightRatio ); - } - else if ( autoHeight === 'calc' || ( $.type( autoHeight ) == 'number' && autoHeight >= 0 ) ) { - if ( autoHeight === 'calc' ) - sentinelIndex = calcSentinelIndex( e, opts ); - else if ( autoHeight >= opts.slides.length ) - sentinelIndex = 0; - else - sentinelIndex = autoHeight; - - // only recreate sentinel if index is different - if ( sentinelIndex == opts._sentinelIndex ) - return; - - opts._sentinelIndex = sentinelIndex; - if ( opts._sentinel ) - opts._sentinel.remove(); - - // clone existing slide as sentinel - clone = $( opts.slides[ sentinelIndex ].cloneNode(true) ); - - // #50; remove special attributes from cloned content - clone.removeAttr( 'id name rel' ).find( '[id],[name],[rel]' ).removeAttr( 'id name rel' ); - - clone.css({ - position: 'static', - visibility: 'hidden', - display: 'block' - }).prependTo( opts.container ).addClass('cycle-sentinel cycle-slide').removeClass('cycle-slide-active'); - clone.find( '*' ).css( 'visibility', 'hidden' ); - - opts._sentinel = clone; - } -} - -function calcSentinelIndex( e, opts ) { - var index = 0, max = -1; - - // calculate tallest slide index - opts.slides.each(function(i) { - var h = $(this).height(); - if ( h > max ) { - max = h; - index = i; - } - }); - return index; -} - -function onBefore( e, opts, outgoing, incoming, forward ) { - var h = $(incoming).outerHeight(); - opts.container.animate( { height: h }, opts.autoHeightSpeed, opts.autoHeightEasing ); -} - -function onDestroy( e, opts ) { - if ( opts._autoHeightOnResize ) { - $(window).off( 'resize orientationchange', opts._autoHeightOnResize ); - opts._autoHeightOnResize = null; - } - opts.container.off( 'cycle-slide-added cycle-slide-removed', initAutoHeight ); - opts.container.off( 'cycle-destroyed', onDestroy ); - opts.container.off( 'cycle-before', onBefore ); - - if ( opts._sentinel ) { - opts._sentinel.remove(); - opts._sentinel = null; - } -} - -})(jQuery); - -/*! caption plugin for Cycle2; version: 20130306 */ -(function($) { -"use strict"; - -$.extend($.fn.cycle.defaults, { - caption: '> .cycle-caption', - captionTemplate: '{{slideNum}} / {{slideCount}}', - overlay: '> .cycle-overlay', - overlayTemplate: '
        {{title}}
        {{desc}}
        ', - captionModule: 'caption' -}); - -$(document).on( 'cycle-update-view', function( e, opts, slideOpts, currSlide ) { - if ( opts.captionModule !== 'caption' ) - return; - var el; - $.each(['caption','overlay'], function() { - var name = this; - var template = slideOpts[name+'Template']; - var el = opts.API.getComponent( name ); - if( el.length && template ) { - el.html( opts.API.tmpl( template, slideOpts, opts, currSlide ) ); - el.show(); - } - else { - el.hide(); - } - }); -}); - -$(document).on( 'cycle-destroyed', function( e, opts ) { - var el; - $.each(['caption','overlay'], function() { - var name = this, template = opts[name+'Template']; - if ( opts[name] && template ) { - el = opts.API.getComponent( 'caption' ); - el.empty(); - } - }); -}); - -})(jQuery); - -/*! command plugin for Cycle2; version: 20140415 */ -(function($) { -"use strict"; - -var c2 = $.fn.cycle; - -$.fn.cycle = function( options ) { - var cmd, cmdFn, opts; - var args = $.makeArray( arguments ); - - if ( $.type( options ) == 'number' ) { - return this.cycle( 'goto', options ); - } - - if ( $.type( options ) == 'string' ) { - return this.each(function() { - var cmdArgs; - cmd = options; - opts = $(this).data('cycle.opts'); - - if ( opts === undefined ) { - c2.log('slideshow must be initialized before sending commands; "' + cmd + '" ignored'); - return; - } - else { - cmd = cmd == 'goto' ? 'jump' : cmd; // issue #3; change 'goto' to 'jump' internally - cmdFn = opts.API[ cmd ]; - if ( $.isFunction( cmdFn )) { - cmdArgs = $.makeArray( args ); - cmdArgs.shift(); - return cmdFn.apply( opts.API, cmdArgs ); - } - else { - c2.log( 'unknown command: ', cmd ); - } - } - }); - } - else { - return c2.apply( this, arguments ); - } -}; - -// copy props -$.extend( $.fn.cycle, c2 ); - -$.extend( c2.API, { - next: function() { - var opts = this.opts(); - if ( opts.busy && ! opts.manualTrump ) - return; - - var count = opts.reverse ? -1 : 1; - if ( opts.allowWrap === false && ( opts.currSlide + count ) >= opts.slideCount ) - return; - - opts.API.advanceSlide( count ); - opts.API.trigger('cycle-next', [ opts ]).log('cycle-next'); - }, - - prev: function() { - var opts = this.opts(); - if ( opts.busy && ! opts.manualTrump ) - return; - var count = opts.reverse ? 1 : -1; - if ( opts.allowWrap === false && ( opts.currSlide + count ) < 0 ) - return; - - opts.API.advanceSlide( count ); - opts.API.trigger('cycle-prev', [ opts ]).log('cycle-prev'); - }, - - destroy: function() { - this.stop(); //#204 - - var opts = this.opts(); - var clean = $.isFunction( $._data ) ? $._data : $.noop; // hack for #184 and #201 - clearTimeout(opts.timeoutId); - opts.timeoutId = 0; - opts.API.stop(); - opts.API.trigger( 'cycle-destroyed', [ opts ] ).log('cycle-destroyed'); - opts.container.removeData(); - clean( opts.container[0], 'parsedAttrs', false ); - - // #75; remove inline styles - if ( ! opts.retainStylesOnDestroy ) { - opts.container.removeAttr( 'style' ); - opts.slides.removeAttr( 'style' ); - opts.slides.removeClass( opts.slideActiveClass ); - } - opts.slides.each(function() { - $(this).removeData(); - clean( this, 'parsedAttrs', false ); - }); - }, - - jump: function( index, fx ) { - // go to the requested slide - var fwd; - var opts = this.opts(); - if ( opts.busy && ! opts.manualTrump ) - return; - var num = parseInt( index, 10 ); - if (isNaN(num) || num < 0 || num >= opts.slides.length) { - opts.API.log('goto: invalid slide index: ' + num); - return; - } - if (num == opts.currSlide) { - opts.API.log('goto: skipping, already on slide', num); - return; - } - opts.nextSlide = num; - clearTimeout(opts.timeoutId); - opts.timeoutId = 0; - opts.API.log('goto: ', num, ' (zero-index)'); - fwd = opts.currSlide < opts.nextSlide; - opts._tempFx = fx; - opts.API.prepareTx( true, fwd ); - }, - - stop: function() { - var opts = this.opts(); - var pauseObj = opts.container; - clearTimeout(opts.timeoutId); - opts.timeoutId = 0; - opts.API.stopTransition(); - if ( opts.pauseOnHover ) { - if ( opts.pauseOnHover !== true ) - pauseObj = $( opts.pauseOnHover ); - pauseObj.off('mouseenter mouseleave'); - } - opts.API.trigger('cycle-stopped', [ opts ]).log('cycle-stopped'); - }, - - reinit: function() { - var opts = this.opts(); - opts.API.destroy(); - opts.container.cycle(); - }, - - remove: function( index ) { - var opts = this.opts(); - var slide, slideToRemove, slides = [], slideNum = 1; - for ( var i=0; i < opts.slides.length; i++ ) { - slide = opts.slides[i]; - if ( i == index ) { - slideToRemove = slide; - } - else { - slides.push( slide ); - $( slide ).data('cycle.opts').slideNum = slideNum; - slideNum++; - } - } - if ( slideToRemove ) { - opts.slides = $( slides ); - opts.slideCount--; - $( slideToRemove ).remove(); - if (index == opts.currSlide) - opts.API.advanceSlide( 1 ); - else if ( index < opts.currSlide ) - opts.currSlide--; - else - opts.currSlide++; - - opts.API.trigger('cycle-slide-removed', [ opts, index, slideToRemove ]).log('cycle-slide-removed'); - opts.API.updateView(); - } - } - -}); - -// listen for clicks on elements with data-cycle-cmd attribute -$(document).on('click.cycle', '[data-cycle-cmd]', function(e) { - // issue cycle command - e.preventDefault(); - var el = $(this); - var command = el.data('cycle-cmd'); - var context = el.data('cycle-context') || '.cycle-slideshow'; - $(context).cycle(command, el.data('cycle-arg')); -}); - - -})(jQuery); - -/*! hash plugin for Cycle2; version: 20130905 */ -(function($) { -"use strict"; - -$(document).on( 'cycle-pre-initialize', function( e, opts ) { - onHashChange( opts, true ); - - opts._onHashChange = function() { - onHashChange( opts, false ); - }; - - $( window ).on( 'hashchange', opts._onHashChange); -}); - -$(document).on( 'cycle-update-view', function( e, opts, slideOpts ) { - if ( slideOpts.hash && ( '#' + slideOpts.hash ) != window.location.hash ) { - opts._hashFence = true; - window.location.hash = slideOpts.hash; - } -}); - -$(document).on( 'cycle-destroyed', function( e, opts) { - if ( opts._onHashChange ) { - $( window ).off( 'hashchange', opts._onHashChange ); - } -}); - -function onHashChange( opts, setStartingSlide ) { - var hash; - if ( opts._hashFence ) { - opts._hashFence = false; - return; - } - - hash = window.location.hash.substring(1); - - opts.slides.each(function(i) { - if ( $(this).data( 'cycle-hash' ) == hash ) { - if ( setStartingSlide === true ) { - opts.startingSlide = i; - } - else { - var fwd = opts.currSlide < i; - opts.nextSlide = i; - opts.API.prepareTx( true, fwd ); - } - return false; - } - }); -} - -})(jQuery); - -/*! loader plugin for Cycle2; version: 20131121 */ -(function($) { -"use strict"; - -$.extend($.fn.cycle.defaults, { - loader: false -}); - -$(document).on( 'cycle-bootstrap', function( e, opts ) { - var addFn; - - if ( !opts.loader ) - return; - - // override API.add for this slideshow - addFn = opts.API.add; - opts.API.add = add; - - function add( slides, prepend ) { - var slideArr = []; - if ( $.type( slides ) == 'string' ) - slides = $.trim( slides ); - else if ( $.type( slides) === 'array' ) { - for (var i=0; i < slides.length; i++ ) - slides[i] = $(slides[i])[0]; - } - - slides = $( slides ); - var slideCount = slides.length; - - if ( ! slideCount ) - return; - - slides.css('visibility','hidden').appendTo('body').each(function(i) { // appendTo fixes #56 - var count = 0; - var slide = $(this); - var images = slide.is('img') ? slide : slide.find('img'); - slide.data('index', i); - // allow some images to be marked as unimportant (and filter out images w/o src value) - images = images.filter(':not(.cycle-loader-ignore)').filter(':not([src=""])'); - if ( ! images.length ) { - --slideCount; - slideArr.push( slide ); - return; - } - - count = images.length; - images.each(function() { - // add images that are already loaded - if ( this.complete ) { - imageLoaded(); - } - else { - $(this).load(function() { - imageLoaded(); - }).on("error", function() { - if ( --count === 0 ) { - // ignore this slide - opts.API.log('slide skipped; img not loaded:', this.src); - if ( --slideCount === 0 && opts.loader == 'wait') { - addFn.apply( opts.API, [ slideArr, prepend ] ); - } - } - }); - } - }); - - function imageLoaded() { - if ( --count === 0 ) { - --slideCount; - addSlide( slide ); - } - } - }); - - if ( slideCount ) - opts.container.addClass('cycle-loading'); - - - function addSlide( slide ) { - var curr; - if ( opts.loader == 'wait' ) { - slideArr.push( slide ); - if ( slideCount === 0 ) { - // #59; sort slides into original markup order - slideArr.sort( sorter ); - addFn.apply( opts.API, [ slideArr, prepend ] ); - opts.container.removeClass('cycle-loading'); - } - } - else { - curr = $(opts.slides[opts.currSlide]); - addFn.apply( opts.API, [ slide, prepend ] ); - curr.show(); - opts.container.removeClass('cycle-loading'); - } - } - - function sorter(a, b) { - return a.data('index') - b.data('index'); - } - } -}); - -})(jQuery); - -/*! pager plugin for Cycle2; version: 20140415 */ -(function($) { -"use strict"; - -$.extend($.fn.cycle.defaults, { - pager: '> .cycle-pager', - pagerActiveClass: 'cycle-pager-active', - pagerEvent: 'click.cycle', - pagerEventBubble: undefined, - pagerTemplate: '' -}); - -$(document).on( 'cycle-bootstrap', function( e, opts, API ) { - // add method to API - API.buildPagerLink = buildPagerLink; -}); - -$(document).on( 'cycle-slide-added', function( e, opts, slideOpts, slideAdded ) { - if ( opts.pager ) { - opts.API.buildPagerLink ( opts, slideOpts, slideAdded ); - opts.API.page = page; - } -}); - -$(document).on( 'cycle-slide-removed', function( e, opts, index, slideRemoved ) { - if ( opts.pager ) { - var pagers = opts.API.getComponent( 'pager' ); - pagers.each(function() { - var pager = $(this); - $( pager.children()[index] ).remove(); - }); - } -}); - -$(document).on( 'cycle-update-view', function( e, opts, slideOpts ) { - var pagers; - - if ( opts.pager ) { - pagers = opts.API.getComponent( 'pager' ); - pagers.each(function() { - $(this).children().removeClass( opts.pagerActiveClass ) - .eq( opts.currSlide ).addClass( opts.pagerActiveClass ); - }); - } -}); - -$(document).on( 'cycle-destroyed', function( e, opts ) { - var pager = opts.API.getComponent( 'pager' ); - - if ( pager ) { - pager.children().off( opts.pagerEvent ); // #202 - if ( opts.pagerTemplate ) - pager.empty(); - } -}); - -function buildPagerLink( opts, slideOpts, slide ) { - var pagerLink; - var pagers = opts.API.getComponent( 'pager' ); - pagers.each(function() { - var pager = $(this); - if ( slideOpts.pagerTemplate ) { - var markup = opts.API.tmpl( slideOpts.pagerTemplate, slideOpts, opts, slide[0] ); - pagerLink = $( markup ).appendTo( pager ); - } - else { - pagerLink = pager.children().eq( opts.slideCount - 1 ); - } - pagerLink.on( opts.pagerEvent, function(e) { - if ( ! opts.pagerEventBubble ) - e.preventDefault(); - opts.API.page( pager, e.currentTarget); - }); - }); -} - -function page( pager, target ) { - /*jshint validthis:true */ - var opts = this.opts(); - if ( opts.busy && ! opts.manualTrump ) - return; - - var index = pager.children().index( target ); - var nextSlide = index; - var fwd = opts.currSlide < nextSlide; - if (opts.currSlide == nextSlide) { - return; // no op, clicked pager for the currently displayed slide - } - opts.nextSlide = nextSlide; - opts._tempFx = opts.pagerFx; - opts.API.prepareTx( true, fwd ); - opts.API.trigger('cycle-pager-activated', [opts, pager, target ]); -} - -})(jQuery); - -/*! prevnext plugin for Cycle2; version: 20140408 */ -(function($) { -"use strict"; - -$.extend($.fn.cycle.defaults, { - next: '> .cycle-next', - nextEvent: 'click.cycle', - disabledClass: 'disabled', - prev: '> .cycle-prev', - prevEvent: 'click.cycle', - swipe: false -}); - -$(document).on( 'cycle-initialized', function( e, opts ) { - opts.API.getComponent( 'next' ).on( opts.nextEvent, function(e) { - e.preventDefault(); - opts.API.next(); - }); - - opts.API.getComponent( 'prev' ).on( opts.prevEvent, function(e) { - e.preventDefault(); - opts.API.prev(); - }); - - if ( opts.swipe ) { - var nextEvent = opts.swipeVert ? 'swipeUp.cycle' : 'swipeLeft.cycle swipeleft.cycle'; - var prevEvent = opts.swipeVert ? 'swipeDown.cycle' : 'swipeRight.cycle swiperight.cycle'; - opts.container.on( nextEvent, function(e) { - opts._tempFx = opts.swipeFx; - opts.API.next(); - }); - opts.container.on( prevEvent, function() { - opts._tempFx = opts.swipeFx; - opts.API.prev(); - }); - } -}); - -$(document).on( 'cycle-update-view', function( e, opts, slideOpts, currSlide ) { - if ( opts.allowWrap ) - return; - - var cls = opts.disabledClass; - var next = opts.API.getComponent( 'next' ); - var prev = opts.API.getComponent( 'prev' ); - var prevBoundry = opts._prevBoundry || 0; - var nextBoundry = (opts._nextBoundry !== undefined)?opts._nextBoundry:opts.slideCount - 1; - - if ( opts.currSlide == nextBoundry ) - next.addClass( cls ).prop( 'disabled', true ); - else - next.removeClass( cls ).prop( 'disabled', false ); - - if ( opts.currSlide === prevBoundry ) - prev.addClass( cls ).prop( 'disabled', true ); - else - prev.removeClass( cls ).prop( 'disabled', false ); -}); - - -$(document).on( 'cycle-destroyed', function( e, opts ) { - opts.API.getComponent( 'prev' ).off( opts.nextEvent ); - opts.API.getComponent( 'next' ).off( opts.prevEvent ); - opts.container.off( 'swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle' ); -}); - -})(jQuery); - -/*! progressive loader plugin for Cycle2; version: 20130315 */ -(function($) { -"use strict"; - -$.extend($.fn.cycle.defaults, { - progressive: false -}); - -$(document).on( 'cycle-pre-initialize', function( e, opts ) { - if ( !opts.progressive ) - return; - - var API = opts.API; - var nextFn = API.next; - var prevFn = API.prev; - var prepareTxFn = API.prepareTx; - var type = $.type( opts.progressive ); - var slides, scriptEl; - - if ( type == 'array' ) { - slides = opts.progressive; - } - else if ($.isFunction( opts.progressive ) ) { - slides = opts.progressive( opts ); - } - else if ( type == 'string' ) { - scriptEl = $( opts.progressive ); - slides = $.trim( scriptEl.html() ); - if ( !slides ) - return; - // is it json array? - if ( /^(\[)/.test( slides ) ) { - try { - slides = $.parseJSON( slides ); - } - catch(err) { - API.log( 'error parsing progressive slides', err ); - return; - } - } - else { - // plain text, split on delimeter - slides = slides.split( new RegExp( scriptEl.data('cycle-split') || '\n') ); - - // #95; look for empty slide - if ( ! slides[ slides.length - 1 ] ) - slides.pop(); - } - } - - - - if ( prepareTxFn ) { - API.prepareTx = function( manual, fwd ) { - var index, slide; - - if ( manual || slides.length === 0 ) { - prepareTxFn.apply( opts.API, [ manual, fwd ] ); - return; - } - - if ( fwd && opts.currSlide == ( opts.slideCount-1) ) { - slide = slides[ 0 ]; - slides = slides.slice( 1 ); - opts.container.one('cycle-slide-added', function(e, opts ) { - setTimeout(function() { - opts.API.advanceSlide( 1 ); - },50); - }); - opts.API.add( slide ); - } - else if ( !fwd && opts.currSlide === 0 ) { - index = slides.length-1; - slide = slides[ index ]; - slides = slides.slice( 0, index ); - opts.container.one('cycle-slide-added', function(e, opts ) { - setTimeout(function() { - opts.currSlide = 1; - opts.API.advanceSlide( -1 ); - },50); - }); - opts.API.add( slide, true ); - } - else { - prepareTxFn.apply( opts.API, [ manual, fwd ] ); - } - }; - } - - if ( nextFn ) { - API.next = function() { - var opts = this.opts(); - if ( slides.length && opts.currSlide == ( opts.slideCount - 1 ) ) { - var slide = slides[ 0 ]; - slides = slides.slice( 1 ); - opts.container.one('cycle-slide-added', function(e, opts ) { - nextFn.apply( opts.API ); - opts.container.removeClass('cycle-loading'); - }); - opts.container.addClass('cycle-loading'); - opts.API.add( slide ); - } - else { - nextFn.apply( opts.API ); - } - }; - } - - if ( prevFn ) { - API.prev = function() { - var opts = this.opts(); - if ( slides.length && opts.currSlide === 0 ) { - var index = slides.length-1; - var slide = slides[ index ]; - slides = slides.slice( 0, index ); - opts.container.one('cycle-slide-added', function(e, opts ) { - opts.currSlide = 1; - opts.API.advanceSlide( -1 ); - opts.container.removeClass('cycle-loading'); - }); - opts.container.addClass('cycle-loading'); - opts.API.add( slide, true ); - } - else { - prevFn.apply( opts.API ); - } - }; - } -}); - -})(jQuery); - -/*! tmpl plugin for Cycle2; version: 20121227 */ -(function($) { -"use strict"; - -$.extend($.fn.cycle.defaults, { - tmplRegex: '{{((.)?.*?)}}' -}); - -$.extend($.fn.cycle.API, { - tmpl: function( str, opts /*, ... */) { - var regex = new RegExp( opts.tmplRegex || $.fn.cycle.defaults.tmplRegex, 'g' ); - var args = $.makeArray( arguments ); - args.shift(); - return str.replace(regex, function(_, str) { - var i, j, obj, prop, names = str.split('.'); - for (i=0; i < args.length; i++) { - obj = args[i]; - if ( ! obj ) - continue; - if (names.length > 1) { - prop = obj; - for (j=0; j < names.length; j++) { - obj = prop; - prop = prop[ names[j] ] || str; - } - } else { - prop = obj[str]; - } - - if ($.isFunction(prop)) - return prop.apply(obj, args); - if (prop !== undefined && prop !== null && prop != str) - return prop; - } - return str; - }); - } -}); - -})(jQuery); diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jQuery.cycle2.caption2.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jQuery.cycle2.caption2.dnn deleted file mode 100644 index 7523bbca..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jQuery.cycle2.caption2.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Caption2 plugin - the demo. This is an optional functional plugin for the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.caption2 - jQuery.cycle2.caption2.min.js - BodyBottom - - - - - jQuery.cycle2.caption2 - - jQuery.cycle2.caption2.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jquery.cycle2.caption2.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jquery.cycle2.caption2.min.js deleted file mode 100644 index 8c1cd108..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jquery.cycle2.caption2.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";function b(b,c,d,e){"caption2"===c.captionPlugin&&a.each(["caption","overlay"],function(){var a,b=this+"Fx",f=c[b+"Out"]||"hide",g=d[this+"Template"],h=c.API.getComponent(this),i=c[b+"Sel"],j=c.speed;c.sync&&(j/=2),a=i?h.find(i):h,h.length&&g?("hide"==f&&(j=0),a[f](j,function(){var k=c.API.tmpl(g,d,c,e);h.html(k),a=i?h.find(i):h,i&&a.hide(),f=c[b+"In"]||"show",a[f](j)})):h.hide()})}function c(b,c,d,e){"caption2"===c.captionPlugin&&a.each(["caption","overlay"],function(){var a=d[this+"Template"],b=c.API.getComponent(this);b.length&&a&&b.html(c.API.tmpl(a,d,c,e))})}a.extend(a.fn.cycle.defaults,{captionFxOut:"fadeOut",captionFxIn:"fadeIn",captionFxSel:void 0,overlayFxOut:"fadeOut",overlayFxIn:"fadeIn",overlayFxSel:void 0}),a(document).on("cycle-bootstrap",function(a,d){d.container.on("cycle-update-view-before",b),d.container.one("cycle-update-view-after",c)})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jQuery.cycle2.carousel.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jQuery.cycle2.carousel.dnn deleted file mode 100644 index 64dc0f1c..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jQuery.cycle2.carousel.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Carousel plugin - the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.carousel - jQuery.cycle2.carousel.min.js - BodyBottom - - - - - jQuery.cycle2.carousel - - jQuery.cycle2.carousel.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jquery.cycle2.carousel.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jquery.cycle2.carousel.min.js deleted file mode 100644 index 1ab5918c..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jquery.cycle2.carousel.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a(document).on("cycle-bootstrap",function(a,b,c){"carousel"===b.fx&&(c.getSlideIndex=function(a){var b=this.opts()._carouselWrap.children(),c=b.index(a);return c%b.length},c.next=function(){var a=b.reverse?-1:1;b.allowWrap===!1&&b.currSlide+a>b.slideCount-b.carouselVisible||(b.API.advanceSlide(a),b.API.trigger("cycle-next",[b]).log("cycle-next"))})}),a.fn.cycle.transitions.carousel={preInit:function(b){b.hideNonActive=!1,b.container.on("cycle-destroyed",a.proxy(this.onDestroy,b.API)),b.API.stopTransition=this.stopTransition;for(var c=0;cb.slideCount&&(b.carouselVisible=b.slideCount-1);var h=b.carouselVisible||b.slides.length,i={display:g?"block":"inline-block",position:"static"};if(b.container.css({position:"relative",overflow:"hidden"}),b.slides.css(i),b._currSlide=b.currSlide,f=a('').prependTo(b.container).css({margin:0,padding:0,top:0,left:0,position:"absolute"}).append(b.slides),b._carouselWrap=f,g||f.css("white-space","nowrap"),b.allowWrap!==!1){for(d=0;d<(void 0===b.carouselVisible?2:1);d++){for(c=0;c0;var l=b._currSlide,m=b.slideCount-b.carouselVisible;i>0&&b.nextSlide>m&&l==m?i=0:i>0&&b.nextSlide>m?i=b.nextSlide-l-(b.nextSlide-m):0>i&&b.currSlide>m&&b.nextSlide>m?i=0:0>i&&b.currSlide>m?i+=b.currSlide-m:l=b.currSlide,g=this.getScroll(b,j,l,i),b.API.opts()._currSlide=b.nextSlide>m?m:b.nextSlide}else e&&0===b.nextSlide?(g=this.getDim(b,b.currSlide,j),f=this.genCallback(b,e,j,f)):e||b.nextSlide!=b.slideCount-1?g=this.getScroll(b,j,b.currSlide,i):(g=this.getDim(b,b.currSlide,j),f=this.genCallback(b,e,j,f));h[j?"top":"left"]=e?"-="+g:"+="+g,b.throttleSpeed&&(k=g/a(b.slides[0])[j?"height":"width"]()*b.speed),b._carouselWrap.animate(h,k,b.easing,f)},getDim:function(b,c,d){var e=a(b.slides[c]);return e[d?"outerHeight":"outerWidth"](!0)},getScroll:function(a,b,c,d){var e,f=0;if(d>0)for(e=c;c+d>e;e++)f+=this.getDim(a,e,b);else for(e=c;e>c+d;e--)f+=this.getDim(a,e,b);return f},genCallback:function(b,c,d,e){return function(){var c=a(b.slides[b.nextSlide]).position(),f=0-c[d?"top":"left"]+(b.carouselOffset||0);b._carouselWrap.css(b.carouselVertical?"top":"left",f),e()}},stopTransition:function(){var a=this.opts();a.slides.stop(!1,!0),a._carouselWrap.stop(!1,!0)},onDestroy:function(){var b=this.opts();b._carouselResizeThrottle&&a(window).off("resize",b._carouselResizeThrottle),b.slides.prependTo(b.container),b._carouselWrap.remove()}}}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jQuery.cycle2.center.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jQuery.cycle2.center.dnn deleted file mode 100644 index c70234c8..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jQuery.cycle2.center.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Center plugin - the demo. This is an optional functional plugin for the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.center - jQuery.cycle2.center.min.js - BodyBottom - - - - - jQuery.cycle2.center - - jQuery.cycle2.center.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jquery.cycle2.center.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jquery.cycle2.center.min.js deleted file mode 100644 index 84a65e93..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jquery.cycle2.center.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.extend(a.fn.cycle.defaults,{centerHorz:!1,centerVert:!1}),a(document).on("cycle-pre-initialize",function(b,c){function d(){clearTimeout(i),i=setTimeout(g,50)}function e(){clearTimeout(i),clearTimeout(j),a(window).off("resize orientationchange",d)}function f(){c.slides.each(h)}function g(){h.apply(c.container.find("."+c.slideActiveClass)),clearTimeout(j),j=setTimeout(f,50)}function h(){var b=a(this),d=c.container.width(),e=c.container.height(),f=b.outerWidth(),g=b.outerHeight();f&&(c.centerHorz&&d>=f&&b.css("marginLeft",(d-f)/2),c.centerVert&&e>=g&&b.css("marginTop",(e-g)/2))}if(c.centerHorz||c.centerVert){var i,j;a(window).on("resize orientationchange load",d),c.container.on("cycle-destroyed",e),c.container.on("cycle-initialized cycle-slide-added cycle-slide-removed",function(){d()}),g()}})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jQuery.cycle2.flip.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jQuery.cycle2.flip.dnn deleted file mode 100644 index 62e3a304..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jQuery.cycle2.flip.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Flip plugin - the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.flip - jQuery.cycle2.flip.min.js - BodyBottom - - - - - jQuery.cycle2.flip - - jQuery.cycle2.flip.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jquery.cycle2.flip.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jquery.cycle2.flip.min.js deleted file mode 100644 index 207e5f67..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jquery.cycle2.flip.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";function b(b){return{preInit:function(a){a.slides.css(d)},transition:function(c,d,e,f,g){var h=c,i=a(d),j=a(e),k=h.speed/2;b.call(j,-90),j.css({display:"block",visibility:"visible","background-position":"-90px",opacity:1}),i.css("background-position","0px"),i.animate({backgroundPosition:90},{step:b,duration:k,easing:h.easeOut||h.easing,complete:function(){c.API.updateView(!1,!0),j.animate({backgroundPosition:0},{step:b,duration:k,easing:h.easeIn||h.easing,complete:g})}})}}}function c(b){return function(c){var d=a(this);d.css({"-webkit-transform":"rotate"+b+"("+c+"deg)","-moz-transform":"rotate"+b+"("+c+"deg)","-ms-transform":"rotate"+b+"("+c+"deg)","-o-transform":"rotate"+b+"("+c+"deg)",transform:"rotate"+b+"("+c+"deg)"})}}var d,e=document.createElement("div").style,f=a.fn.cycle.transitions,g=void 0!==e.transform||void 0!==e.MozTransform||void 0!==e.webkitTransform||void 0!==e.oTransform||void 0!==e.msTransform;g&&void 0!==e.msTransform&&(e.msTransform="rotateY(0deg)",e.msTransform||(g=!1)),g?(f.flipHorz=b(c("Y")),f.flipVert=b(c("X")),d={"-webkit-backface-visibility":"hidden","-moz-backface-visibility":"hidden","-o-backface-visibility":"hidden","backface-visibility":"hidden"}):(f.flipHorz=f.scrollHorz,f.flipVert=f.scrollVert||f.scrollHorz)}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jQuery.cycle2.ie-fade.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jQuery.cycle2.ie-fade.dnn deleted file mode 100644 index 5a6a662c..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jQuery.cycle2.ie-fade.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 ID-Fade plugin - - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.ie-fade - jQuery.cycle2.ie-fade.min.js - BodyBottom - - - - - jQuery.cycle2.ie-fade - - jQuery.cycle2.ie-fade.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jquery.cycle2.ie-fade.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jquery.cycle2.ie-fade.min.js deleted file mode 100644 index 713dcca1..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jquery.cycle2.ie-fade.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";function b(a,b,c){if(a&&c.style.filter){b._filter=c.style.filter;try{c.style.removeAttribute("filter")}catch(d){}}else!a&&b._filter&&(c.style.filter=b._filter)}a.extend(a.fn.cycle.transitions,{fade:{before:function(c,d,e,f){var g=c.API.getSlideOpts(c.nextSlide).slideCss||{};c.API.stackSlides(d,e,f),c.cssBefore=a.extend(g,{opacity:0,visibility:"visible",display:"block"}),c.animIn={opacity:1},c.animOut={opacity:0},b(!0,c,e)},after:function(a,c,d){b(!1,a,d)}},fadeout:{before:function(c,d,e,f){var g=c.API.getSlideOpts(c.nextSlide).slideCss||{};c.API.stackSlides(d,e,f),c.cssAfter=a.extend(g,{opacity:0,visibility:"hidden"}),c.cssBefore=a.extend(g,{opacity:1,visibility:"visible",display:"block"}),c.animOut={opacity:0},b(!0,c,e)},after:function(a,c,d){b(!1,a,d)}}})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jQuery.cycle2.scrollVert.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jQuery.cycle2.scrollVert.dnn deleted file mode 100644 index 6886b538..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jQuery.cycle2.scrollVert.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 ScrollVert plugin - scrollHorz transition effect, but moves slides vertically. See the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.scrollVert - jQuery.cycle2.scrollVert.min.js - BodyBottom - - - - - jQuery.cycle2.scrollVert - - jQuery.cycle2.scrollVert.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jquery.cycle2.scrollVert.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jquery.cycle2.scrollVert.min.js deleted file mode 100644 index 35991344..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jquery.cycle2.scrollVert.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.fn.cycle.transitions.scrollVert={before:function(a,b,c,d){a.API.stackSlides(a,b,c,d);var e=a.container.css("overflow","hidden").height();a.cssBefore={top:d?-e:e,left:0,opacity:1,display:"block",visibility:"visible"},a.animIn={top:0},a.animOut={top:d?e:-e}}}}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jQuery.cycle2.shuffle.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jQuery.cycle2.shuffle.dnn deleted file mode 100644 index 4ff9b112..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jQuery.cycle2.shuffle.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Shuffle plugin - the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.shuffle - jQuery.cycle2.shuffle.min.js - BodyBottom - - - - - jQuery.cycle2.shuffle - - jQuery.cycle2.shuffle.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jquery.cycle2.shuffle.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jquery.cycle2.shuffle.min.js deleted file mode 100644 index 3a1b81d8..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jquery.cycle2.shuffle.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.fn.cycle.transitions.shuffle={transition:function(b,c,d,e,f){function g(a){this.stack(b,c,d,e),a()}a(d).css({display:"block",visibility:"visible"});var h=b.container.css("overflow","visible").width(),i=b.speed/2,j=e?c:d;b=b.API.getSlideOpts(e?b.currSlide:b.nextSlide);var k={left:-h,top:15},l=b.slideCss||{left:0,top:0};void 0!==b.shuffleLeft?k.left=k.left+parseInt(b.shuffleLeft,10)||0:void 0!==b.shuffleRight&&(k.left=h+parseInt(b.shuffleRight,10)||0),b.shuffleTop&&(k.top=b.shuffleTop),a(j).animate(k,i,b.easeIn||b.easing).queue("fx",a.proxy(g,this)).animate(l,i,b.easeOut||b.easing,f)},stack:function(b,c,d,e){var f,g;if(e)b.API.stackSlides(d,c,e),a(c).css("zIndex",1);else{for(g=1,f=b.nextSlide-1;f>=0;f--)a(b.slides[f]).css("zIndex",g++);for(f=b.slideCount-1;f>b.nextSlide;f--)a(b.slides[f]).css("zIndex",g++);a(d).css("zIndex",b.maxZ),a(c).css("zIndex",b.maxZ-1)}}}}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jQuery.cycle2.swipe.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jQuery.cycle2.swipe.dnn deleted file mode 100644 index b73bf558..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jQuery.cycle2.swipe.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Swipe plugin - the demo. This is an optional functional plugin for the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.swipe - jQuery.cycle2.swipe.min.js - BodyBottom - - - - - jQuery.cycle2.swipe - - jQuery.cycle2.swipe.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jquery.cycle2.swipe.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jquery.cycle2.swipe.min.js deleted file mode 100644 index 5fead7ac..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jquery.cycle2.swipe.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.event.special.swipe=a.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var b=a(this);b.bind("touchstart",function(c){function d(b){if(g){var c=b.originalEvent.touches?b.originalEvent.touches[0]:b;e={time:(new Date).getTime(),coords:[c.pageX,c.pageY]},Math.abs(g.coords[0]-e.coords[0])>a.event.special.swipe.scrollSupressionThreshold&&b.preventDefault()}}var e,f=c.originalEvent.touches?c.originalEvent.touches[0]:c,g={time:(new Date).getTime(),coords:[f.pageX,f.pageY],origin:a(c.target)};b.bind("touchmove",d).one("touchend",function(){b.unbind("touchmove",d),g&&e&&e.time-g.timea.event.special.swipe.horizontalDistanceThreshold&&Math.abs(g.coords[1]-e.coords[1])e.coords[0]?"swipeleft":"swiperight"),g=e=void 0})})}},a.event.special.swipeleft=a.event.special.swipeleft||{setup:function(){a(this).bind("swipe",a.noop)}},a.event.special.swiperight=a.event.special.swiperight||a.event.special.swipeleft}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jQuery.cycle2.tile.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jQuery.cycle2.tile.dnn deleted file mode 100644 index df4a83da..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jQuery.cycle2.tile.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 Tile plugin - the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.tile - jQuery.cycle2.tile.min.js - BodyBottom - - - - - jQuery.cycle2.tile - - jQuery.cycle2.tile.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jquery.cycle2.tile.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jquery.cycle2.tile.min.js deleted file mode 100644 index b33b11a0..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jquery.cycle2.tile.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";a.fn.cycle.transitions.tileSlide=a.fn.cycle.transitions.tileBlind={before:function(b,c,d,e){b.API.stackSlides(c,d,e),a(c).css({display:"block",visibility:"visible"}),b.container.css("overflow","hidden"),b.tileDelay=b.tileDelay||"tileSlide"==b.fx?100:125,b.tileCount=b.tileCount||7,b.tileVertical=b.tileVertical!==!1,b.container.data("cycleTileInitialized")||(b.container.on("cycle-destroyed",a.proxy(this.onDestroy,b.API)),b.container.data("cycleTileInitialized",!0))},transition:function(b,c,d,e,f){function g(a){m.eq(a).animate(t,{duration:b.speed,easing:b.easing,complete:function(){(e?p-1===a:0===a)&&b._tileAniCallback()}}),setTimeout(function(){(e?p-1!==a:0!==a)&&g(e?a+1:a-1)},b.tileDelay)}b.slides.not(c).not(d).css("visibility","hidden");var h,i,j,k,l,m=a(),n=a(c),o=a(d),p=b.tileCount,q=b.tileVertical,r=b.container.height(),s=b.container.width();q?(i=Math.floor(s/p),k=s-i*(p-1),j=l=r):(i=k=s,j=Math.floor(r/p),l=r-j*(p-1)),b.container.find(".cycle-tiles-container").remove();var t,u={left:0,top:0,overflow:"hidden",position:"absolute",margin:0,padding:0};t=q?"tileSlide"==b.fx?{top:r}:{width:0}:"tileSlide"==b.fx?{left:s}:{height:0};var v=a('
        ');v.css({zIndex:n.css("z-index"),overflow:"visible",position:"absolute",top:0,left:0,direction:"ltr"}),v.insertBefore(d);for(var w=0;p>w;w++)h=a("
        ").css(u).css({width:p-1===w?k:i,height:p-1===w?l:j,marginLeft:q?w*i:0,marginTop:q?0:w*j}).append(n.clone().css({position:"relative",maxWidth:"none",width:n.width(),margin:0,padding:0,marginLeft:q?-(w*i):0,marginTop:q?0:-(w*j)})),m=m.add(h);v.append(m),n.css("visibility","hidden"),o.css({opacity:1,display:"block",visibility:"visible"}),g(e?0:p-1),b._tileAniCallback=function(){o.css({display:"block",visibility:"visible"}),n.css("visibility","hidden"),v.remove(),f()}},stopTransition:function(a){a.container.find("*").stop(!0,!0),a._tileAniCallback&&a._tileAniCallback()},onDestroy:function(){var a=this.opts();a.container.find(".cycle-tiles-container").remove()}}}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jQuery.cycle2.video.dnn b/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jQuery.cycle2.video.dnn deleted file mode 100644 index 2c9a76b9..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jQuery.cycle2.video.dnn +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Cycle2 YouTube plugin - the demo. This is an optional functional plugin for the jQuery.Cycle2 library.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - jQuery.cycle2.core - - - - - jQuery.cycle2.video - jQuery.cycle2.video.min.js - BodyBottom - - - - - jQuery.cycle2.video - - jQuery.cycle2.video.min.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jquery.cycle2.video.min.js b/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jquery.cycle2.video.min.js deleted file mode 100644 index cbf1ac3d..00000000 --- a/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jquery.cycle2.video.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ -!function(a){"use strict";function b(){try{this.playVideo()}catch(a){}}function c(){try{this.pauseVideo()}catch(a){}}var d='
        ';a.extend(a.fn.cycle.defaults,{youtubeAllowFullScreen:!0,youtubeAutostart:!1,youtubeAutostop:!0}),a(document).on("cycle-bootstrap",function(e,f){f.youtube&&(f.hideNonActive=!1,f.container.find(f.slides).each(function(b){if(void 0!==a(this).attr("href")){var c,e=a(this),g=e.attr("href"),h=f.youtubeAllowFullScreen?"true":"false";g+=(/\?/.test(g)?"&":"?")+"enablejsapi=1",f.youtubeAutostart&&f.startingSlide===b&&(g+="&autoplay=1"),c=f.API.tmpl(d,{url:g,allowFullScreen:h}),e.replaceWith(c)}}),f.slides=f.slides.replace(/(\b>?a\b)/,"div.cycle-youtube"),f.youtubeAutostart&&f.container.on("cycle-initialized cycle-after",function(c,d){var e="cycle-initialized"==c.type?d.currSlide:d.nextSlide;a(d.slides[e]).find("object,embed").each(b)}),f.youtubeAutostop&&f.container.on("cycle-before",function(b,d){a(d.slides[d.currSlide]).find("object,embed").each(c)}))})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/LICENSE.htm b/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/LICENSE.htm deleted file mode 100644 index ebef1aa5..00000000 --- a/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        Dual licensed as MIT and GPL

        \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jQuery.tcycle.dnn b/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jQuery.tcycle.dnn deleted file mode 100644 index 4ca5604f..00000000 --- a/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jQuery.tcycle.dnn +++ /dev/null @@ -1,38 +0,0 @@ - - - - - tCycle - the demo.]]> - - Engage Software - Engage Software - http://www.engagesoftware.com - support@engagesoftware.com - - - - true - - jQuery - - - - - jQuery.tcycle - jQuery.tcycle.js - BodyBottom - - - - - jQuery.tcycle - - jQuery.tcycle.js - - - - - - - \ No newline at end of file diff --git a/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jquery.tcycle.js b/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jquery.tcycle.js deleted file mode 100644 index 6293127f..00000000 --- a/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jquery.tcycle.js +++ /dev/null @@ -1,37 +0,0 @@ -/*! tCycle (c) 2013 M.Alsup MIT/GPL 20131130 */ -(function($){ -"use strict"; -$.fn.tcycle = function(){ - -return this.each(function(){ - var i=0, c=$(this), s=c.children(), o=$.extend({speed:500,timeout:4000},c.data()), f=o.fx!='scroll', - l=s.length, w=c.width(), z=o.speed, t=o.timeout, css={overflow:'hidden'}, p='position', a='absolute', - tfn=function(){setTimeout(tx,t);}, scss = $.extend({position:a,top:0}, f?{left:0}:{left:w}, o.scss); - if (c.css(p)=='static') - css[p]='relative'; - c.prepend($(s[0]).clone().css('visibility','hidden')).css(css); - s.css(scss); - if(f) - s.hide().eq(0).show(); - else - s.eq(0).css('left',0); - setTimeout(tx,t); - - function tx(){ - var n = i==(l-1) ? 0 : (i+1), w=c.width(), a=$(s[i]), b=$(s[n]); - if (f){ - a.fadeOut(z); - b.fadeIn(z,tfn); - }else{ - a.animate({left:-w},z,function(){ - a.hide(); - }); - b.css({'left':w,display:'block'}).animate({left:0},z,tfn); - } - i = i==(l-1) ? 0 : (i+1); - } -}); - -}; -$(function(){$('.tcycle').tcycle();}); -})(jQuery); \ No newline at end of file diff --git a/jQuery.easing_1.3.1/jquery.easing.1.3.js b/jQuery.easing_1.3.1/jquery.easing.1.3.js deleted file mode 100644 index ef743210..00000000 --- a/jQuery.easing_1.3.1/jquery.easing.1.3.js +++ /dev/null @@ -1,205 +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 -jQuery.easing['jswing'] = jQuery.easing['swing']; - -jQuery.extend( jQuery.easing, -{ - def: 'easeOutQuad', - swing: function (x, t, b, c, d) { - //alert(jQuery.easing.default); - return jQuery.easing[jQuery.easing.def](x, t, b, c, d); - }, - easeInQuad: function (x, t, b, c, d) { - return c*(t/=d)*t + b; - }, - easeOutQuad: function (x, t, b, c, d) { - return -c *(t/=d)*(t-2) + b; - }, - easeInOutQuad: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return c/2*t*t + b; - return -c/2 * ((--t)*(t-2) - 1) + b; - }, - easeInCubic: function (x, t, b, c, d) { - return c*(t/=d)*t*t + b; - }, - easeOutCubic: function (x, t, b, c, d) { - return c*((t=t/d-1)*t*t + 1) + b; - }, - easeInOutCubic: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return c/2*t*t*t + b; - return c/2*((t-=2)*t*t + 2) + b; - }, - easeInQuart: function (x, t, b, c, d) { - return c*(t/=d)*t*t*t + b; - }, - easeOutQuart: function (x, t, b, c, d) { - return -c * ((t=t/d-1)*t*t*t - 1) + b; - }, - easeInOutQuart: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return c/2*t*t*t*t + b; - return -c/2 * ((t-=2)*t*t*t - 2) + b; - }, - easeInQuint: function (x, t, b, c, d) { - return c*(t/=d)*t*t*t*t + b; - }, - easeOutQuint: function (x, t, b, c, d) { - return c*((t=t/d-1)*t*t*t*t + 1) + b; - }, - easeInOutQuint: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; - return c/2*((t-=2)*t*t*t*t + 2) + b; - }, - easeInSine: function (x, t, b, c, d) { - return -c * Math.cos(t/d * (Math.PI/2)) + c + b; - }, - easeOutSine: function (x, t, b, c, d) { - return c * Math.sin(t/d * (Math.PI/2)) + b; - }, - easeInOutSine: function (x, t, b, c, d) { - return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; - }, - easeInExpo: function (x, t, b, c, d) { - return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; - }, - easeOutExpo: function (x, t, b, c, d) { - return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; - }, - easeInOutExpo: function (x, t, b, c, d) { - if (t==0) return b; - if (t==d) return b+c; - if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; - return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; - }, - easeInCirc: function (x, t, b, c, d) { - return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; - }, - easeOutCirc: function (x, t, b, c, d) { - return c * Math.sqrt(1 - (t=t/d-1)*t) + b; - }, - easeInOutCirc: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; - return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; - }, - easeInElastic: function (x, t, b, c, d) { - var s=1.70158;var p=0;var a=c; - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; - if (a < Math.abs(c)) { a=c; var s=p/4; } - else var s = p/(2*Math.PI) * Math.asin (c/a); - return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; - }, - easeOutElastic: function (x, t, b, c, d) { - var s=1.70158;var p=0;var a=c; - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; - if (a < Math.abs(c)) { a=c; var s=p/4; } - else var s = p/(2*Math.PI) * Math.asin (c/a); - return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; - }, - easeInOutElastic: function (x, t, b, c, d) { - var s=1.70158;var p=0;var a=c; - if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); - if (a < Math.abs(c)) { a=c; var s=p/4; } - else var s = p/(2*Math.PI) * Math.asin (c/a); - if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; - return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; - }, - easeInBack: function (x, t, b, c, d, s) { - if (s == undefined) s = 1.70158; - return c*(t/=d)*t*((s+1)*t - s) + b; - }, - easeOutBack: function (x, t, b, c, d, s) { - if (s == undefined) s = 1.70158; - return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; - }, - easeInOutBack: function (x, t, b, c, d, s) { - if (s == undefined) s = 1.70158; - if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; - return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; - }, - easeInBounce: function (x, t, b, c, d) { - return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; - }, - easeOutBounce: function (x, t, b, c, d) { - if ((t/=d) < (1/2.75)) { - return c*(7.5625*t*t) + b; - } else if (t < (2/2.75)) { - return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; - } else if (t < (2.5/2.75)) { - return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; - } else { - return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; - } - }, - easeInOutBounce: function (x, t, b, c, d) { - if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; - return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; - } -}); - -/* - * - * TERMS OF USE - EASING EQUATIONS - * - * Open source under the BSD License. - * - * Copyright © 2001 Robert Penner - * 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. - * - */ \ 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/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.js b/jQuery.fancybox_1.3.4/jquery.fancybox-1.3.4.js deleted file mode 100644 index be772753..00000000 --- a/jQuery.fancybox_1.3.4/jquery.fancybox-1.3.4.js +++ /dev/null @@ -1,1156 +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($) { - var tmp, loading, overlay, wrap, outer, content, close, title, nav_left, nav_right, - - selectedIndex = 0, selectedOpts = {}, selectedArray = [], currentIndex = 0, currentOpts = {}, currentArray = [], - - ajaxLoader = null, imgPreloader = new Image(), imgRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i, swfRegExp = /[^\.]\.(swf)\s*$/i, - - loadingTimer, loadingFrame = 1, - - titleHeight = 0, titleStr = '', start_pos, final_pos, busy = false, fx = $.extend($('
        ')[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 '
        ' + title + '
        '; - } - - 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/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/dnn-library.json b/jquery-menu-aim/dnn-library.json new file mode 100644 index 00000000..9981c98f --- /dev/null +++ b/jquery-menu-aim/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/jquery-menu-aim/jquery.menu-aim.js"], + "resources": ["node_modules/jquery-menu-aim/**"] +} diff --git a/jquery.menu-aim_1.1.0/jquery.menu-aim.dnn b/jquery-menu-aim/jquery.menu-aim.dnn similarity index 73% rename from jquery.menu-aim_1.1.0/jquery.menu-aim.dnn rename to jquery-menu-aim/jquery.menu-aim.dnn index 9ce02f4e..efe1c3b9 100644 --- a/jquery.menu-aim_1.1.0/jquery.menu-aim.dnn +++ b/jquery-menu-aim/jquery.menu-aim.dnn @@ -1,19 +1,19 @@ - + jQuery-menu-aim - + jQuery plugin to fire events when user's cursor aims at particular dropdown menu items. For making responsive mega dropdowns like Amazon's. http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown - -

        -

        This package is based off of the parallax fork

        ]]>
        +

        This package is based off of the parallax fork

        ]]> + Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com @@ -40,6 +40,14 @@ + + + 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/dnn-library.json b/jquery-mousewheel/dnn-library.json new file mode 100644 index 00000000..b4d6ef9d --- /dev/null +++ b/jquery-mousewheel/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/jquery-mousewheel/jquery.mousewheel.js"], + "resources": [] +} 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-mousewheel_3.1.13/jquery.mousewheel.min.js b/jquery-mousewheel_3.1.13/jquery.mousewheel.min.js deleted file mode 100644 index 03bfd60c..00000000 --- a/jquery-mousewheel_3.1.13/jquery.mousewheel.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! - * jQuery Mousewheel 3.1.13 - * - * Copyright 2015 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ -!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}); \ No newline at end of file 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.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/dnn-library.json b/jquery.cookie/dnn-library.json new file mode 100644 index 00000000..d3c45641 --- /dev/null +++ b/jquery.cookie/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/jquery.cookie/jquery.cookie.js"], + "resources": [] +} diff --git a/jQuery.cookie_1.4.1/jQuery.cookie.dnn b/jquery.cookie/jQuery.cookie.dnn similarity index 87% rename from jQuery.cookie_1.4.1/jQuery.cookie.dnn rename to jquery.cookie/jQuery.cookie.dnn index 3028116a..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/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.3.1/CHANGES.htm b/jquery.easing/CHANGES.htm similarity index 100% rename from jQuery.easing_1.3.1/CHANGES.htm rename to jquery.easing/CHANGES.htm diff --git a/jQuery.easing_1.3.1/LICENSE.htm b/jquery.easing/LICENSE.htm similarity index 100% rename from jQuery.easing_1.3.1/LICENSE.htm rename to jquery.easing/LICENSE.htm diff --git a/jquery.easing/dnn-library.json b/jquery.easing/dnn-library.json new file mode 100644 index 00000000..a5f4b9ba --- /dev/null +++ b/jquery.easing/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/jquery.easing/jquery.easing.min.js"], + "resources": ["node_modules/jquery.easing/jquery.easing.compatibility.js"] +} diff --git a/jQuery.easing_1.3.1/jQuery.easing.dnn b/jquery.easing/jQuery.easing.dnn similarity index 64% rename from jQuery.easing_1.3.1/jQuery.easing.dnn rename to jquery.easing/jQuery.easing.dnn index 8bc7488a..452f3d78 100644 --- a/jQuery.easing_1.3.1/jQuery.easing.dnn +++ b/jquery.easing/jQuery.easing.dnn @@ -1,39 +1,47 @@ - + 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 true - jQuery + jQuery jQuery.easing - jQuery.easing.1.3.js + jQuery.easing.min.js jQuery.easing.easeInOutQuad PageHead - https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js + https://cdn.jsdelivr.net/npm/jquery.easing@<~=version~>/jquery.easing.min.js jQuery.easing - jQuery.easing.1.3.js + jQuery.easing.min.js + + + Resources\Libraries\jquery.easing\<~=versionFolder~> + + Resources.zip + + + - \ No newline at end of file +
        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/jquery.localScroll.min.js b/jquery.localScroll_2.0.0/jquery.localScroll.min.js deleted file mode 100644 index cc646031..00000000 --- a/jquery.localScroll_2.0.0/jquery.localScroll.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Copyright (c) 2007 Ariel Flesler - afleslergmailcom | https://github.com/flesler - * Licensed under MIT - * @author Ariel Flesler - * @version 2.0.0 - */ -!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){function t(t,o,n){var i=o.hash.slice(1),a=document.getElementById(i)||document.getElementsByName(i)[0];if(a){t&&t.preventDefault();var l=e(n.target);if(!(n.lock&&l.is(":animated")||n.onBefore&&!1===n.onBefore(t,a,l))){if(n.stop&&l.stop(!0),n.hash){var r=a.id===i?"id":"name",s=e(" ").attr(r,i).css({position:"absolute",top:e(window).scrollTop(),left:e(window).scrollLeft()});a[r]="",e("body").prepend(s),location.hash=o.hash,s.remove(),a[r]=i}l.scrollTo(a,n).trigger("notify.serialScroll",[a])}}}var o=location.href.replace(/#.*/,""),n=e.localScroll=function(t){e("body").localScroll(t)};return n.defaults={duration:1e3,axis:"y",event:"click",stop:!0,target:window,autoscroll:!0},e.fn.localScroll=function(i){function a(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,"")===o&&(!i.filter||e(this).is(i.filter))}return(i=e.extend({},n.defaults,i)).autoscroll&&i.hash&&location.hash&&(i.target&&window.scrollTo(0,0),t(0,location,i)),i.lazy?this.on(i.event,"a,area",function(e){a.call(this)&&t(e,this,i)}):this.find("a,area").filter(a).bind(i.event,function(e){t(e,this,i)}).end().end()},n.hash=function(){},n}); 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/dnn-library.json b/jquery.localscroll/dnn-library.json new file mode 100644 index 00000000..bcab41ea --- /dev/null +++ b/jquery.localscroll/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/jquery.localscroll/jquery.localScroll.min.js"], + "resources": [] +} diff --git a/jquery.localScroll_2.0.0/jquery.localScroll.dnn b/jquery.localscroll/jquery.localScroll.dnn similarity index 86% rename from jquery.localScroll_2.0.0/jquery.localScroll.dnn rename to jquery.localscroll/jquery.localScroll.dnn index 9fd2e095..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/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.menu-aim_1.1.0/jquery.menu-aim.js b/jquery.menu-aim_1.1.0/jquery.menu-aim.js deleted file mode 100644 index 186d319c..00000000 --- a/jquery.menu-aim_1.1.0/jquery.menu-aim.js +++ /dev/null @@ -1,361 +0,0 @@ -/** - * menu-aim is a jQuery plugin for dropdown menus that can differentiate - * between a user trying hover over a dropdown item vs trying to navigate into - * a submenu's contents. It will fire events when the user's mouse enters a - * new dropdown item *and* when that item is being intentionally hovered over. - * - * menu-aim assumes that you have are using a menu with submenus that expand - * to the menu's right. It will fire events when the user's mouse enters a new - * dropdown item *and* when that item is being intentionally hovered over. - * - * __________________________ - * | Monkeys >| Gorilla | - * | Gorillas >| Content | - * | Chimps >| Here | - * |___________|____________| - * - * In the above example, "Gorillas" is selected and its submenu content is - * being shown on the right. Imagine that the user's cursor is hovering over - * "Gorillas." When they move their mouse into the "Gorilla Content" area, they - * may briefly hover over "Chimps." This shouldn't close the "Gorilla Content" - * area. - * - * This problem is normally solved using timeouts and delays. menu-aim tries to - * solve this by detecting the direction of the user's mouse movement. This can - * make for quicker transitions when navigating up and down the menu. The - * experience is hopefully similar to amazon.com/'s "Shop by Department" - * dropdown. - * - * Use like so: - * - * $("#menu").menuAim({ - * activate: $.noop, // fired on row activation - * deactivate: $.noop // fired on row deactivation - * }); - * - * ...to receive events when a menu's row has been purposefully (de)activated. - * - * The following options can be passed to menuAim. All functions execute with - * the relevant row's HTML element as the execution context ('this'): - * - * .menuAim({ - * // Function to call when a row is purposefully activated. Use this - * // to show a submenu's content for the activated row. - * activate: function() {}, - * - * // Function to call when a row is deactivated. - * deactivate: function() {}, - * - * // Function to call when mouse enters a menu row. Entering a row - * // does not mean the row has been activated, as the user may be - * // mousing over to a submenu. - * enter: function() {}, - * - * // Function to call when mouse exits a menu row. - * exit: function() {}, - * - * // Selector for identifying which elements in the menu are rows - * // that can trigger the above events. Defaults to "> li". - * rowSelector: "> li", - * - * // You may have some menu rows that aren't submenus and therefore - * // shouldn't ever need to "activate." If so, filter submenu rows w/ - * // this selector. Defaults to "*" (all elements). - * submenuSelector: "*", - * - * // Direction the submenu opens relative to the main menu. Can be - * // left, right, above, or below. Defaults to "right". - * submenuDirection: "right" - * }); - * - * https://github.com/kamens/jQuery-menu-aim -*/ -(function($) { - - $.fn.menuAim = function(opts) { - // Initialize menu-aim for all elements in jQuery collection - this.each(function() { - init.call(this, opts); - }); - - return this; - }; - - function init(opts) { - var $menu = $(this), - activeRow = null, - mouseLocs = [], - lastDelayLoc = null, - timeoutId = null, - options = $.extend({ - rowSelector: "> li", - submenuSelector: "*", - submenuDirection: "right", - tolerance: 75, // bigger = more forgivey when entering submenu - enter: $.noop, - exit: $.noop, - activate: $.noop, - deactivate: $.noop, - exitMenu: $.noop, - delay: 300 - }, opts); - - var MOUSE_LOCS_TRACKED = 3; // number of past mouse locations to track - - /** - * Keep track of the last few locations of the mouse. - */ - var mousemoveDocument = function(e) { - mouseLocs.push({x: e.pageX, y: e.pageY}); - - if (mouseLocs.length > MOUSE_LOCS_TRACKED) { - mouseLocs.shift(); - } - }; - - /** - * Cancel possible row activations when leaving the menu entirely - */ - var mouseleaveMenu = function() { - if (timeoutId) { - clearTimeout(timeoutId); - } - - // If exitMenu is supplied and returns true, deactivate the - // currently active row on menu exit. - if (options.exitMenu(this)) { - if (activeRow) { - options.deactivate(activeRow); - } - - activeRow = null; - } - }; - - /** - * Trigger a possible row activation whenever entering a new row. - */ - var mouseenterRow = function() { - if (timeoutId) { - // Cancel any previous activation delays - clearTimeout(timeoutId); - } - - options.enter(this); - possiblyActivate(this); - }, - mouseleaveRow = function() { - - /* https://github.com/kamens/jQuery-menu-aim/pull/29/commits - thanks to magwo */ - if (timeoutId) { - // Cancel any pending activation - clearTimeout(timeoutId); - } - options.exit(this); - }; - - /* - * Immediately activate a row if the user clicks on it. - */ - var clickRow = function() { - activate(this); - }; - - /** - * Activate a menu row. - */ - var activate = function(row) { - if (row == activeRow) { - return; - } - - if (activeRow) { - options.deactivate(activeRow); - } - - /* https://github.com/kamens/jQuery-menu-aim/pull/33/commits */ - if (! $(row).is(options.submenuSelector)){ - activeRow = null; - return; - } - - options.activate(row); - activeRow = row; - }; - - /** - * Possibly activate a menu row. If mouse movement indicates that we - * shouldn't activate yet because user may be trying to enter - * a submenu's content, then delay and check again later. - */ - var possiblyActivate = function(row) { - var delay = activationDelay(); - - if (delay) { - timeoutId = setTimeout(function() { - possiblyActivate(row); - }, delay); - } else { - activate(row); - } - }; - - /** - * Return the amount of time that should be used as a delay before the - * currently hovered row is activated. - * - * Returns 0 if the activation should happen immediately. Otherwise, - * returns the number of milliseconds that should be delayed before - * checking again to see if the row should be activated. - */ - var activationDelay = function() { - if (!activeRow || !$(activeRow).is(options.submenuSelector)) { - // If there is no other submenu row already active, then - // go ahead and activate immediately. - return 0; - } - - var offset = $menu.offset(), - upperLeft = { - x: offset.left, - y: offset.top - }, - upperRight = { - x: offset.left + $menu.outerWidth(), - y: upperLeft.y - }, - lowerLeft = { - x: offset.left, - y: offset.top + $menu.outerHeight() - }, - lowerRight = { - x: offset.left + $menu.outerWidth(), - y: lowerLeft.y - }, - loc = mouseLocs[mouseLocs.length - 1], - prevLoc = mouseLocs[0]; - - if (!loc) { - return 0; - } - - if (!prevLoc) { - prevLoc = loc; - } - - /* https://github.com/kamens/jQuery-menu-aim/pull/22/commits - thanks to tuckbick */ - // Adjust the corner points to enable tolerance. - if (options.submenuDirection == "right") { - upperRight.y -= options.tolerance; - lowerRight.y += options.tolerance; - } else if (options.submenuDirection == "left") { - upperLeft.y -= options.tolerance; - lowerLeft.y += options.tolerance; - } else if (options.submenuDirection == "above") { - upperLeft.x -= options.tolerance; - upperRight.x += options.tolerance; - } else if (options.submenuDirection == "below") { - lowerLeft.x -= options.tolerance; - lowerRight.x += options.tolerance; - } - - if (prevLoc.x < offset.left || prevLoc.x > lowerRight.x || - prevLoc.y < offset.top || prevLoc.y > lowerRight.y) { - // If the previous mouse location was outside of the entire - // menu's bounds, immediately activate. - return 0; - } - - if (lastDelayLoc && - loc.x == lastDelayLoc.x && loc.y == lastDelayLoc.y) { - // If the mouse hasn't moved since the last time we checked - // for activation status, immediately activate. - return 0; - } - - // Detect if the user is moving towards the currently activated - // submenu. - // - // If the mouse is heading relatively clearly towards - // the submenu's content, we should wait and give the user more - // time before activating a new row. If the mouse is heading - // elsewhere, we can immediately activate a new row. - // - // We detect this by calculating the slope formed between the - // current mouse location and the upper/lower right points of - // the menu. We do the same for the previous mouse location. - // If the current mouse location's slopes are - // increasing/decreasing appropriately compared to the - // previous's, we know the user is moving toward the submenu. - // - // Note that since the y-axis increases as the cursor moves - // down the screen, we are looking for the slope between the - // cursor and the upper right corner to decrease over time, not - // increase (somewhat counterintuitively). - function slope(a, b) { - return (b.y - a.y) / (b.x - a.x); - }; - - var decreasingCorner = upperRight, - increasingCorner = lowerRight; - - // Our expectations for decreasing or increasing slope values - // depends on which direction the submenu opens relative to the - // main menu. By default, if the menu opens on the right, we - // expect the slope between the cursor and the upper right - // corner to decrease over time, as explained above. If the - // submenu opens in a different direction, we change our slope - // expectations. - if (options.submenuDirection == "left") { - decreasingCorner = lowerLeft; - increasingCorner = upperLeft; - } else if (options.submenuDirection == "below") { - decreasingCorner = lowerRight; - increasingCorner = lowerLeft; - } else if (options.submenuDirection == "above") { - decreasingCorner = upperLeft; - increasingCorner = upperRight; - } - - var decreasingSlope = slope(loc, decreasingCorner), - increasingSlope = slope(loc, increasingCorner), - prevDecreasingSlope = slope(prevLoc, decreasingCorner), - prevIncreasingSlope = slope(prevLoc, increasingCorner); - - if (decreasingSlope < prevDecreasingSlope && - increasingSlope > prevIncreasingSlope) { - // Mouse is moving from previous location towards the - // currently activated submenu. Delay before activating a - // new menu row, because user may be moving into submenu. - lastDelayLoc = loc; - return options.delay; - } - - lastDelayLoc = null; - return 0; - }; - - /** - * Hook up initial menu events - */ - $menu - .mouseleave(mouseleaveMenu) - .find(options.rowSelector) - .mouseenter(mouseenterRow) - .mouseleave(mouseleaveRow) - .click(clickRow); - - /* https://github.com/kamens/jQuery-menu-aim/pull/31/commits - thanks to saralk */ - $menu.bind('DOMNodeInserted', function(e) { - var $newEl = $(e.target); - if ($newEl.is(options.rowSelector)) { - $newEl.mouseenter(mouseenterRow) - .mouseleave(mouseleaveRow) - .click(clickRow); - } - }); - - $(document).mousemove(mousemoveDocument); - - }; -})(jQuery); \ No newline at end of file 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/jquery.scrollTo.min.js b/jquery.scrollTo_2.1.2/jquery.scrollTo.min.js deleted file mode 100644 index 65a020d9..00000000 --- a/jquery.scrollTo_2.1.2/jquery.scrollTo.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Copyright (c) 2007-2015 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com - * Licensed under MIT - * @author Ariel Flesler - * @version 2.1.2 - */ -;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1jquery.scrollTo is licened under the MIT License.

        diff --git a/jquery.scrollto/dnn-library.json b/jquery.scrollto/dnn-library.json new file mode 100644 index 00000000..b6ed26c9 --- /dev/null +++ b/jquery.scrollto/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/jquery.scrollto/jquery.scrollTo.min.js"], + "resources": [] +} diff --git a/jquery.scrollTo_2.1.2/jquery.scrollTo.dnn b/jquery.scrollto/jquery.scrollTo.dnn similarity index 86% rename from jquery.scrollTo_2.1.2/jquery.scrollTo.dnn rename to jquery.scrollto/jquery.scrollTo.dnn index 915ec3fe..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://cdnjs.cloudflare.com/ajax/libs/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.1/LICENSE.htm b/jquery.serialScroll_1.3.1/LICENSE.htm deleted file mode 100644 index 25339b58..00000000 --- a/jquery.serialScroll_1.3.1/LICENSE.htm +++ /dev/null @@ -1 +0,0 @@ -

        jQuery.serialScroll is licensed under the MIT License.

        diff --git a/jquery.serialScroll_1.3.1/jquery.serialScroll.min.js b/jquery.serialScroll_1.3.1/jquery.serialScroll.min.js deleted file mode 100644 index be1d22da..00000000 --- a/jquery.serialScroll_1.3.1/jquery.serialScroll.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Copyright (c) 2007-2015 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com - * Licensed under MIT. - * @author Ariel Flesler - * @version 1.3.1 - */ -;(function($){var f='.serialScroll';var g=$.serialScroll=function(a){return $(window).serialScroll(a)};g.defaults={duration:1000,axis:'x',event:'click',start:0,step:1,lock:true,cycle:true,constant:true};$.fn.serialScroll=function(d){return this.each(function(){var c=$.extend({},g.defaults,d),event=c.event,step=c.step,lazy=c.lazy,context=c.target?this:document,$pane=$(c.target||this,context),pane=$pane[0],items=c.items,active=c.start,auto=c.interval,nav=c.navigation,timer;delete c.step;delete c.start;if(!pane)return;if(!lazy){items=getItems()}if(c.force||auto){jump({},active)}$(c.prev||[],context).bind(event,-step,move);$(c.next||[],context).bind(event,step,move);if(!pane._bound_){$pane.bind('prev'+f,-step,move).bind('next'+f,step,move).bind('goto'+f,jump)}if(auto){$pane.bind('start'+f,function(e){if(!auto){clear();auto=true;next()}}).bind('stop'+f,function(){clear();auto=false})}$pane.bind('notify'+f,function(e,a){var i=index(a);if(i>-1){active=i}});pane._bound_=true;if(c.jump){(lazy?$pane:getItems()).bind(event,function(e){jump(e,index(e.target))})}if(nav){nav=$(nav,context).bind(event,function(e){e.data=Math.round(getItems().length/nav.length)*nav.index(this);jump(e,this)})}function move(e){e.data+=active;jump(e,this)}function jump(e,a){if(!$.isNumeric(a)){a=e.data}var n,real=e.type,$items=c.exclude?getItems().slice(0,-c.exclude):getItems(),limit=$items.length-1,elem=$items[a],duration=c.duration;if(real)e.preventDefault();if(auto){clear();timer=setTimeout(next,c.interval)}if(!elem){n=a<0?0:limit;if(active!==n){a=n}else if(!c.cycle){return}else{a=limit-n}elem=$items[a]}if(!elem||c.lock&&$pane.is(':animated')||real&&c.onBefore&&c.onBefore(e,elem,$pane,getItems(),a)===false)return;if(c.stop){$pane.stop(true)}if(c.constant){duration=Math.abs(duration/step*(active-a))}$pane.scrollTo(elem,duration,c);trigger('notify',a)}function next(){trigger('next')}function clear(){clearTimeout(timer)}function getItems(){return $(items,pane)}function trigger(a){$pane.trigger(a+f,[].slice.call(arguments,1))}function index(a){if($.isNumeric(a)){return a}var b=getItems(),i;while((i=b.index(a))===-1&&a!==pane){a=a.parentNode}return i}})}})(jQuery); \ No newline at end of file diff --git a/jquery.serialScroll_1.3.1/CHANGES.htm b/jquery.serialscroll/CHANGES.htm similarity index 100% rename from jquery.serialScroll_1.3.1/CHANGES.htm rename to jquery.serialscroll/CHANGES.htm diff --git a/jquery.serialscroll/LICENSE.htm b/jquery.serialscroll/LICENSE.htm new file mode 100644 index 00000000..afa313ab --- /dev/null +++ b/jquery.serialscroll/LICENSE.htm @@ -0,0 +1,2 @@ +

        jQuery.serialScroll is licensed under the + MIT License.

        diff --git a/jquery.serialscroll/dnn-library.json b/jquery.serialscroll/dnn-library.json new file mode 100644 index 00000000..9c7d147c --- /dev/null +++ b/jquery.serialscroll/dnn-library.json @@ -0,0 +1,4 @@ +{ + "files": ["node_modules/jquery.serialscroll/jquery.serialScroll.min.js"], + "resources": [] +} diff --git a/jquery.serialScroll_1.3.1/jquery.serialScroll.dnn b/jquery.serialscroll/jquery.serialScroll.dnn similarity index 80% rename from jquery.serialScroll_1.3.1/jquery.serialScroll.dnn rename to jquery.serialscroll/jquery.serialScroll.dnn index e6e41741..231f4728 100644 --- a/jquery.serialScroll_1.3.1/jquery.serialScroll.dnn +++ b/jquery.serialscroll/jquery.serialScroll.dnn @@ -1,12 +1,14 @@ - + jQuery.serialScroll - + + + Engage Software Engage Software - http://www.engagesoftware.com + https://engagesoftware.com/ support@engagesoftware.com @@ -22,7 +24,7 @@ jquery.serialScroll jquery.serialScroll.min.js BodyBottom - https://cdn.jsdelivr.net/jquery.serialscroll/1.3.1/jquery.serialScroll.min.js + https://cdn.jsdelivr.net/npm/jquery.serialscroll@<~=version~>/jquery.serialScroll.min.js jQuery.serialScroll diff --git a/tipsy_1.0.3/CHANGES.htm b/jquery.tipsy/CHANGES.htm similarity index 100% rename from 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/tipsy_1.0.3/dnn-library.json b/jquery.tipsy/dnn-library.json similarity index 100% rename from tipsy_1.0.3/dnn-library.json rename to jquery.tipsy/dnn-library.json diff --git a/tipsy_1.0.3/tipsy.dnn b/jquery.tipsy/tipsy.dnn similarity index 80% rename from tipsy_1.0.3/tipsy.dnn rename to jquery.tipsy/tipsy.dnn index 9bb7c187..5feabaf9 100644 --- a/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_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 57% rename from jquery_3.2.1/jquery.dnn rename to jquery/jquery.dnn index 16960fbc..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://code.jquery.com/jquery-3.2.1.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=/\s*$/g;function Ea(a,b){return B(a,"table")&&B(11!==b.nodeType?b:b.firstChild,"tr")?r(">tbody",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c1&&"string"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,"script"),Fa),i=h.length;l")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d0&&oa(g,!i&&na(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners["*"]),f=0,g=e.length;f1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b), -null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&B(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(" ")}function qb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=qb(this),b&&W.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":W.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+pb(qb(c))+" ").indexOf(b)>-1)return!0;return!1}});var rb=/\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(rb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g="select-one"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,"events")||{})[b.type]&&W.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var wb=/\[\]$/,xb=/\r?\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)Ab(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,"\r\n")}}):{name:b.name,value:c.replace(xb,"\r\n")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\/\//,Ib={},Jb={},Kb="*/".concat("*"),Lb=d.createElement("a");Lb.href=tb.href;function Mb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:"GET",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+"").replace(Hb,tb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(L)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+"//"+Lb.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(Bb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,"$1"),n=(vb.test(f)?"&":"?")+"_="+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Kb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&"withCredentials"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("