t880216t-server 1.5.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/LICENSE +124 -0
  2. package/README.md +191 -0
  3. package/bin/nohost.js +178 -0
  4. package/bin/plugin.js +70 -0
  5. package/bin/util.js +93 -0
  6. package/index.js +89 -0
  7. package/lib/config.js +42 -0
  8. package/lib/index.js +205 -0
  9. package/lib/main/cgi/getSettings.js +11 -0
  10. package/lib/main/cgi/getVersion.js +12 -0
  11. package/lib/main/cgi/login.js +14 -0
  12. package/lib/main/cgi/restart.js +5 -0
  13. package/lib/main/cgi/setAdmin.js +6 -0
  14. package/lib/main/cgi/setDomain.js +13 -0
  15. package/lib/main/cgi/status.js +122 -0
  16. package/lib/main/index.js +94 -0
  17. package/lib/main/router.js +79 -0
  18. package/lib/main/storage.js +132 -0
  19. package/lib/main/util.js +138 -0
  20. package/lib/main/whistleMgr.js +56 -0
  21. package/lib/main/worker.js +52 -0
  22. package/lib/main/workerNum.js +11 -0
  23. package/lib/plugins/account/whistle.share/menu.html +171 -0
  24. package/lib/plugins/account/whistle.share/package.json +20 -0
  25. package/lib/plugins/account/whistle.storage/index.js +43 -0
  26. package/lib/plugins/account/whistle.storage/package.json +8 -0
  27. package/lib/plugins/account/whistle.storage/rules.txt +1 -0
  28. package/lib/plugins/whistle.nohost/_rules.txt +38 -0
  29. package/lib/plugins/whistle.nohost/index.js +3 -0
  30. package/lib/plugins/whistle.nohost/initial.js +9 -0
  31. package/lib/plugins/whistle.nohost/lib/accountMgr.js +750 -0
  32. package/lib/plugins/whistle.nohost/lib/envMgr.js +114 -0
  33. package/lib/plugins/whistle.nohost/lib/rulesServer.js +85 -0
  34. package/lib/plugins/whistle.nohost/lib/tunnelRulesServer.js +71 -0
  35. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/account/changePassword.js +8 -0
  36. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/activeAccount.js +9 -0
  37. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/addAccount.js +8 -0
  38. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/allAccounts.js +9 -0
  39. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/changeNotice.js +8 -0
  40. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/changePassword.js +8 -0
  41. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/enableGuest.js +5 -0
  42. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/getAuthKey.js +3 -0
  43. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/getSettings.js +22 -0
  44. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/login.js +14 -0
  45. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/move.js +9 -0
  46. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/removeAccount.js +9 -0
  47. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/setAccountRules.js +5 -0
  48. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/setAuthKey.js +5 -0
  49. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/setDefaultRules.js +5 -0
  50. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/setEntryPatterns.js +6 -0
  51. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/setJsonData.js +5 -0
  52. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/setRulesTpl.js +5 -0
  53. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/setTestRules.js +5 -0
  54. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/admin/specPattern.js +4 -0
  55. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/allowlist.js +4 -0
  56. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/entryRules.js +4 -0
  57. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/follow.js +17 -0
  58. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/getEnv.js +12 -0
  59. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/list.js +43 -0
  60. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/patterns.js +14 -0
  61. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/pluginRules.js +61 -0
  62. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/proxy.js +42 -0
  63. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/proxyNetwork.js +12 -0
  64. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/redirect.js +10 -0
  65. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/selectEnv.js +30 -0
  66. package/lib/plugins/whistle.nohost/lib/uiServer/cgi/unfollow.js +4 -0
  67. package/lib/plugins/whistle.nohost/lib/uiServer/index.js +60 -0
  68. package/lib/plugins/whistle.nohost/lib/uiServer/network.js +38 -0
  69. package/lib/plugins/whistle.nohost/lib/uiServer/openAPI.js +94 -0
  70. package/lib/plugins/whistle.nohost/lib/uiServer/router.js +85 -0
  71. package/lib/plugins/whistle.nohost/lib/util.js +230 -0
  72. package/lib/plugins/whistle.nohost/lib/whistle.js +149 -0
  73. package/lib/plugins/whistle.nohost/lib/whistleMgr.js +94 -0
  74. package/lib/plugins/whistle.nohost/package.json +7 -0
  75. package/lib/plugins/whistle.nohost/rules.txt +3 -0
  76. package/lib/service/cgi/export.js +76 -0
  77. package/lib/service/cgi/import.js +33 -0
  78. package/lib/service/cgi/util.js +35 -0
  79. package/lib/service/index.js +37 -0
  80. package/lib/service/router.js +7 -0
  81. package/lib/service/server.js +25 -0
  82. package/lib/util/address.js +55 -0
  83. package/lib/util/getPort.js +19 -0
  84. package/lib/util/login.js +55 -0
  85. package/lib/util/parseDomain.js +17 -0
  86. package/lib/whistle.js +86 -0
  87. package/package.json +135 -0
  88. package/pnpm-workspace.yaml +6 -0
  89. package/public/admin.75d42731d4aa7f7a558d3abf2a375fcb.js +2 -0
  90. package/public/admin.75d42731d4aa7f7a558d3abf2a375fcb.js.LICENSE.txt +76 -0
  91. package/public/admin.html +11 -0
  92. package/public/button.js +2 -0
  93. package/public/button.js.LICENSE.txt +31 -0
  94. package/public/capture.7bab900f27c9bb1b0e33523e994554ae.js +2 -0
  95. package/public/capture.7bab900f27c9bb1b0e33523e994554ae.js.LICENSE.txt +83 -0
  96. package/public/capture.html +11 -0
  97. package/public/eed368d0656f03932671530c3132ed61.svg +1 -0
  98. package/public/favicon.ico +0 -0
  99. package/public/network.e4814ec8c966a8a789296679619ec573.js +2 -0
  100. package/public/network.e4814ec8c966a8a789296679619ec573.js.LICENSE.txt +76 -0
  101. package/public/network.html +11 -0
  102. package/public/select.cb638be6656d02a558f2690acd59901a.js +2 -0
  103. package/public/select.cb638be6656d02a558f2690acd59901a.js.LICENSE.txt +24 -0
  104. package/public/select.html +26 -0
@@ -0,0 +1,76 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /*!
8
+ * Sizzle CSS Selector Engine v2.3.3
9
+ * https://sizzlejs.com/
10
+ *
11
+ * Copyright jQuery Foundation and other contributors
12
+ * Released under the MIT license
13
+ * http://jquery.org/license
14
+ *
15
+ * Date: 2016-08-08
16
+ */
17
+
18
+ /*!
19
+ Copyright (c) 2017 Jed Watson.
20
+ Licensed under the MIT License (MIT), see
21
+ http://jedwatson.github.io/classnames
22
+ */
23
+
24
+ /*!
25
+ * jQuery JavaScript Library v3.3.1
26
+ * https://jquery.com/
27
+ *
28
+ * Includes Sizzle.js
29
+ * https://sizzlejs.com/
30
+ *
31
+ * Copyright JS Foundation and other contributors
32
+ * Released under the MIT license
33
+ * https://jquery.org/license
34
+ *
35
+ * Date: 2018-01-20T17:24Z
36
+ */
37
+
38
+ /** @license React v0.19.1
39
+ * scheduler.production.min.js
40
+ *
41
+ * Copyright (c) Facebook, Inc. and its affiliates.
42
+ *
43
+ * This source code is licensed under the MIT license found in the
44
+ * LICENSE file in the root directory of this source tree.
45
+ */
46
+
47
+ /** @license React v16.13.1
48
+ * react-is.production.min.js
49
+ *
50
+ * Copyright (c) Facebook, Inc. and its affiliates.
51
+ *
52
+ * This source code is licensed under the MIT license found in the
53
+ * LICENSE file in the root directory of this source tree.
54
+ */
55
+
56
+ /** @license React v16.14.0
57
+ * react-dom.production.min.js
58
+ *
59
+ * Copyright (c) Facebook, Inc. and its affiliates.
60
+ *
61
+ * This source code is licensed under the MIT license found in the
62
+ * LICENSE file in the root directory of this source tree.
63
+ */
64
+
65
+ /** @license React v16.14.0
66
+ * react.production.min.js
67
+ *
68
+ * Copyright (c) Facebook, Inc. and its affiliates.
69
+ *
70
+ * This source code is licensed under the MIT license found in the
71
+ * LICENSE file in the root directory of this source tree.
72
+ */
73
+
74
+ //! moment.js
75
+
76
+ //! moment.js locale configuration
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <link rel="shortcut icon" href="favicon.ico" />
6
+ <title>Nohost-管理平台</title>
7
+ </head>
8
+ <body>
9
+ <div id="root" class="vbox"></div>
10
+ <script type="text/javascript" src="admin.75d42731d4aa7f7a558d3abf2a375fcb.js"></script></body>
11
+ </html>
@@ -0,0 +1,2 @@
1
+ /*! For license information please see button.js.LICENSE.txt */
2
+ !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=744)}({23:function(t,e,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function s(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function u(t,e){for(var n={},r=[],o=0;o<t.length;o++){var i=t[o],u=e.base?i[0]+e.base:i[0],c=n[u]||0,l="".concat(u," ").concat(c);n[u]=c+1;var d=s(l),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:l,updater:v(f,e),references:1}),r.push(l)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,d=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function f(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=d(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function p(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(t,e){var n,r,o;if(e.singleton){var i=m++;n=h||(h=c(e)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=c(e),r=p.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=u(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=u(t,e),c=0;c<n.length;c++){var l=s(n[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},24:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(u," */")),i=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(i).concat([o]).join("\n")}var a,s,u;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<t.length;s++){var u=[].concat(t[s]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},32:function(t,e,n){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},448:function(t,e,n){"use strict";(function(t){var n,r,o,i,a="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};i=function(){return function(){var t={686:function(t,e,n){n.d(e,{default:function(){return C}});var r=n(279),o=n.n(r),i=n(370),s=n.n(i),u=n(817),c=n.n(u);function l(t){try{return document.execCommand(t)}catch(t){return!1}}var d=function(t){var e=c()(t);return l("cut"),e},f=function(t,e){var n=function(t){var e="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[e?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=t,n}(t);e.container.appendChild(n);var r=c()(n);return l("copy"),n.remove(),r},p=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=f(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=f(t.value,e):(n=c()(t),l("copy")),n};function h(t){return(h="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(t){return void 0===t?"undefined":a(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":a(t)})(t)}var m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,r=t.container,o=t.target,i=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==h(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?p(i,{container:r}):o?"cut"===n?d(o):p(o,{container:r}):void 0};function v(t){return(v="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(t){return void 0===t?"undefined":a(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":a(t)})(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=x(t);if(e){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t,e){var n="data-clipboard-".concat(t);if(e.hasAttribute(n))return e.getAttribute(n)}var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(i,t);var e,n,r,o=b(i);function i(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n}return e=i,r=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return p(t,e)}},{key:"cut",value:function(t){return d(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}],(n=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===v(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=s()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",r=m({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(r?"success":"error",{action:n,text:r,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return T("action",t)}},{key:"defaultTarget",value:function(t){var e=T("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return T("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&g(e.prototype,n),r&&g(e,r),i}(o())},828:function(t){if("undefined"!=typeof Element&&!Element.prototype.matches){var e=Element.prototype;e.matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var r=n(828);function o(t,e,n,r,o){var a=i.apply(this,arguments);return t.addEventListener(n,a,o),{destroy:function(){t.removeEventListener(n,a,o)}}}function i(t,e,n,o){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&o.call(t,n)}}t.exports=function(t,e,n,r,i){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return o(t,e,n,r,i)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var r=n(879),o=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!r.string(e))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(r.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}(t,e,n);if(r.string(t))return function(t,e,n){return o(document.body,t,e,n)}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(t),r.removeAllRanges(),r.addRange(o),e=r.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this;function o(){r.off(t,o),e.apply(n,arguments)}return o._=e,this.on(t,o,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],o=[];if(r&&e)for(var i=0,a=r.length;i<a;i++)r[i].fn!==e&&r[i].fn._!==e&&o.push(r[i]);return o.length?n[t]=o:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}return n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n(686)}().default},"object"===a(e)&&"object"===a(t)?t.exports=i():(r=[],void 0===(o="function"==typeof(n=i)?n.apply(e,r):n)||(t.exports=o))}).call(this,n(32)(t))},49:function(t,e,n){"use strict";(function(t){var n,r,o,i="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};r="undefined"!=typeof window?window:void 0,o=function(r,o){var a=[],s=r.document,u=Object.getPrototypeOf,c=a.slice,l=a.concat,d=a.push,f=a.indexOf,p={},h=p.toString,m=p.hasOwnProperty,v=m.toString,g=v.call(Object),y={},b=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},w=function(t){return null!=t&&t===t.window},x={type:!0,src:!0,noModule:!0};function T(t,e,n){var r,o=(e=e||s).createElement("script");if(o.text=t,n)for(r in x)n[r]&&(o[r]=n[r]);e.head.appendChild(o).parentNode.removeChild(o)}function C(t){return null==t?t+"":"object"===(void 0===t?"undefined":i(t))||"function"==typeof t?p[h.call(t)]||"object":void 0===t?"undefined":i(t)}var S=function t(e,n){return new t.fn.init(e,n)},E=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function k(t){var e=!!t&&"length"in t&&t.length,n=C(t);return!b(t)&&!w(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}S.fn=S.prototype={jquery:"3.3.1",constructor:S,length:0,toArray:function(){return c.call(this)},get:function(t){return null==t?c.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=S.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return S.each(this,t)},map:function(t){return this.pushStack(S.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:d,sort:a.sort,splice:a.splice},S.extend=S.fn.extend=function(){var t,e,n,r,o,a,s=arguments[0]||{},u=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[u]||{},u++),"object"===(void 0===s?"undefined":i(s))||b(s)||(s={}),u===c&&(s=this,u--);u<c;u++)if(null!=(t=arguments[u]))for(e in t)n=s[e],s!==(r=t[e])&&(l&&r&&(S.isPlainObject(r)||(o=Array.isArray(r)))?(o?(o=!1,a=n&&Array.isArray(n)?n:[]):a=n&&S.isPlainObject(n)?n:{},s[e]=S.extend(l,a,r)):void 0!==r&&(s[e]=r));return s},S.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==h.call(t)||(e=u(t))&&("function"!=typeof(n=m.call(e,"constructor")&&e.constructor)||v.call(n)!==g))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t){T(t)},each:function(t,e){var n,r=0;if(k(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(E,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(k(Object(t))?S.merge(n,"string"==typeof t?[t]:t):d.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:f.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,o=t.length;r<n;r++)t[o++]=e[r];return t.length=o,t},grep:function(t,e,n){for(var r=[],o=0,i=t.length,a=!n;o<i;o++)!e(t[o],o)!==a&&r.push(t[o]);return r},map:function(t,e,n){var r,o,i=0,a=[];if(k(t))for(r=t.length;i<r;i++)null!=(o=e(t[i],i,n))&&a.push(o);else for(i in t)null!=(o=e(t[i],i,n))&&a.push(o);return l.apply([],a)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=a[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){p["[object "+e+"]"]=e.toLowerCase()}));var N=function(t){var e,n,r,o,i,a,s,u,c,l,d,f,p,h,m,v,g,y,b,w="sizzle"+1*new Date,x=t.document,T=0,C=0,S=at(),E=at(),k=at(),N=function(t,e){return t===e&&(d=!0),0},A={}.hasOwnProperty,j=[],L=j.pop,D=j.push,O=j.push,H=j.slice,_=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+M+"*("+P+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+M+"*\\]",I=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",F=new RegExp(M+"+","g"),W=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),B=new RegExp("^"+M+"*,"+M+"*"),$=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),U=new RegExp(I),X=new RegExp("^"+P+"$"),V={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),tt=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){f()},ot=yt((function(t){return!0===t.disabled&&("form"in t||"label"in t)}),{dir:"parentNode",next:"legend"});try{O.apply(j=H.call(x.childNodes),x.childNodes),j[x.childNodes.length].nodeType}catch(t){O={apply:j.length?function(t,e){D.apply(t,H.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function it(t,e,r,o){var i,s,c,l,d,h,g,y=e&&e.ownerDocument,T=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==T&&9!==T&&11!==T)return r;if(!o&&((e?e.ownerDocument||e:x)!==p&&f(e),e=e||p,m)){if(11!==T&&(d=Q.exec(t)))if(i=d[1]){if(9===T){if(!(c=e.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(y&&(c=y.getElementById(i))&&b(e,c)&&c.id===i)return r.push(c),r}else{if(d[2])return O.apply(r,e.getElementsByTagName(t)),r;if((i=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return O.apply(r,e.getElementsByClassName(i)),r}if(n.qsa&&!k[t+" "]&&(!v||!v.test(t))){if(1!==T)y=e,g=t;else if("object"!==e.nodeName.toLowerCase()){for((l=e.getAttribute("id"))?l=l.replace(et,nt):e.setAttribute("id",l=w),s=(h=a(t)).length;s--;)h[s]="#"+l+" "+gt(h[s]);g=h.join(","),y=K.test(t)&&mt(e.parentNode)||e}if(g)try{return O.apply(r,y.querySelectorAll(g)),r}catch(t){}finally{l===w&&e.removeAttribute("id")}}}return u(t.replace(W,"$1"),e,r,o)}function at(){var t=[];return function e(n,o){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function st(t){return t[w]=!0,t}function ut(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var n=t.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=e}function lt(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ft(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function pt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ot(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ht(t){return st((function(e){return e=+e,st((function(n,r){for(var o,i=t([],n.length,e),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=it.support={},i=it.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},f=it.setDocument=function(t){var e,o,a=t?t.ownerDocument||t:x;return a!==p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!i(p),x!==p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",rt,!1):o.attachEvent&&o.attachEvent("onunload",rt)),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=ut((function(t){return h.appendChild(t).id=w,!p.getElementsByName||!p.getElementsByName(w).length})),n.getById?(r.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n,r,o,i=e.getElementById(t);if(i){if((n=i.getAttributeNode("id"))&&n.value===t)return[i];for(o=e.getElementsByName(t),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===t)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],o=0,i=e.getElementsByTagName(t);if("*"===t){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&m)return e.getElementsByClassName(t)},g=[],v=[],(n.qsa=J.test(p.querySelectorAll))&&(ut((function(t){h.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+q+")"),t.querySelectorAll("[id~="+w+"-]").length||v.push("~="),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||v.push(".#.+[+~]")})),ut((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=J.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),g.push("!=",I)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),e=J.test(h.compareDocumentPosition),b=e||J.test(h.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},N=e?function(t,e){if(t===e)return d=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t===p||t.ownerDocument===x&&b(x,t)?-1:e===p||e.ownerDocument===x&&b(x,e)?1:l?_(l,t)-_(l,e):0:4&r?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,r=0,o=t.parentNode,i=e.parentNode,a=[t],s=[e];if(!o||!i)return t===p?-1:e===p?1:o?-1:i?1:l?_(l,t)-_(l,e):0;if(o===i)return lt(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?lt(a[r],s[r]):a[r]===x?-1:s[r]===x?1:0},p):p},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&f(t),e=e.replace(z,"='$1']"),n.matchesSelector&&m&&!k[e+" "]&&(!g||!g.test(e))&&(!v||!v.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return it(e,p,null,[t]).length>0},it.contains=function(t,e){return(t.ownerDocument||t)!==p&&f(t),b(t,e)},it.attr=function(t,e){(t.ownerDocument||t)!==p&&f(t);var o=r.attrHandle[e.toLowerCase()],i=o&&A.call(r.attrHandle,e.toLowerCase())?o(t,e,!m):void 0;return void 0!==i?i:n.attributes||!m?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},it.escape=function(t){return(t+"").replace(et,nt)},it.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},it.uniqueSort=function(t){var e,r=[],o=0,i=0;if(d=!n.detectDuplicates,l=!n.sortStable&&t.slice(0),t.sort(N),d){for(;e=t[i++];)e===t[i]&&(o=r.push(i));for(;o--;)t.splice(r[o],1)}return l=null,t},o=it.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=o(e);return n},(r=it.selectors={cacheLength:50,createPseudo:st,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Z,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Z,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||it.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&it.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&U.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Z,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+M+")"+t+"("+M+"|$)"))&&S(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var o=it.attr(r,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o.replace(F," ")+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,o){var i="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===o?function(t){return!!t.parentNode}:function(e,n,u){var c,l,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",v=e.parentNode,g=s&&e.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(v){if(i){for(;m;){for(f=e;f=f[m];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=m="only"===t&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(p=(c=(l=(d=(f=v)[w]||(f[w]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]||[])[0]===T&&c[1])&&c[2],f=p&&v.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===e){l[t]=[T,p,b];break}}else if(y&&(b=p=(c=(l=(d=(f=e)[w]||(f[w]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]||[])[0]===T&&c[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&((l=(d=f[w]||(f[w]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]=[T,b]),f!==e)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(t,e){var n,o=r.pseudos[t]||r.setFilters[t.toLowerCase()]||it.error("unsupported pseudo: "+t);return o[w]?o(e):o.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?st((function(t,n){for(var r,i=o(t,e),a=i.length;a--;)t[r=_(t,i[a])]=!(n[r]=i[a])})):function(t){return o(t,0,n)}):o}},pseudos:{not:st((function(t){var e=[],n=[],r=s(t.replace(W,"$1"));return r[w]?st((function(t,e,n,o){for(var i,a=r(t,null,o,[]),s=t.length;s--;)(i=a[s])&&(t[s]=!(e[s]=i))})):function(t,o,i){return e[0]=t,r(e,null,i,n),e[0]=null,!n.pop()}})),has:st((function(t){return function(e){return it(t,e).length>0}})),contains:st((function(t){return t=t.replace(Z,tt),function(e){return(e.textContent||e.innerText||o(e)).indexOf(t)>-1}})),lang:st((function(t){return X.test(t||"")||it.error("unsupported lang: "+t),t=t.replace(Z,tt).toLowerCase(),function(e){var n;do{if(n=m?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return G.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ht((function(){return[0]})),last:ht((function(t,e){return[e-1]})),eq:ht((function(t,e,n){return[n<0?n+e:n]})),even:ht((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:ht((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:ht((function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t})),gt:ht((function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=dt(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=ft(e);function vt(){}function gt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function yt(t,e,n){var r=e.dir,o=e.next,i=o||r,a=n&&"parentNode"===i,s=C++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,o);return!1}:function(e,n,u){var c,l,d,f=[T,s];if(u){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(l=(d=e[w]||(e[w]={}))[e.uniqueID]||(d[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[r]||e;else{if((c=l[i])&&c[0]===T&&c[1]===s)return f[2]=c[2];if(l[i]=f,f[2]=t(e,n,u))return!0}return!1}}function bt(t){return t.length>1?function(e,n,r){for(var o=t.length;o--;)if(!t[o](e,n,r))return!1;return!0}:t[0]}function wt(t,e,n,r,o){for(var i,a=[],s=0,u=t.length,c=null!=e;s<u;s++)(i=t[s])&&(n&&!n(i,r,o)||(a.push(i),c&&e.push(s)));return a}function xt(t,e,n,r,o,i){return r&&!r[w]&&(r=xt(r)),o&&!o[w]&&(o=xt(o,i)),st((function(i,a,s,u){var c,l,d,f=[],p=[],h=a.length,m=i||function(t,e,n){for(var r=0,o=e.length;r<o;r++)it(t,e[r],n);return n}(e||"*",s.nodeType?[s]:s,[]),v=!t||!i&&e?m:wt(m,f,t,s,u),g=n?o||(i?t:h||r)?[]:a:v;if(n&&n(v,g,s,u),r)for(c=wt(g,p),r(c,[],s,u),l=c.length;l--;)(d=c[l])&&(g[p[l]]=!(v[p[l]]=d));if(i){if(o||t){if(o){for(c=[],l=g.length;l--;)(d=g[l])&&c.push(v[l]=d);o(null,g=[],c,u)}for(l=g.length;l--;)(d=g[l])&&(c=o?_(i,d):f[l])>-1&&(i[c]=!(a[c]=d))}}else g=wt(g===a?g.splice(h,g.length):g),o?o(null,a,g,u):O.apply(a,g)}))}function Tt(t){for(var e,n,o,i=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],u=a?1:0,l=yt((function(t){return t===e}),s,!0),d=yt((function(t){return _(e,t)>-1}),s,!0),f=[function(t,n,r){var o=!a&&(r||n!==c)||((e=n).nodeType?l(t,n,r):d(t,n,r));return e=null,o}];u<i;u++)if(n=r.relative[t[u].type])f=[yt(bt(f),n)];else{if((n=r.filter[t[u].type].apply(null,t[u].matches))[w]){for(o=++u;o<i&&!r.relative[t[o].type];o++);return xt(u>1&&bt(f),u>1&&gt(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(W,"$1"),n,u<o&&Tt(t.slice(u,o)),o<i&&Tt(t=t.slice(o)),o<i&&gt(t))}f.push(n)}return bt(f)}return vt.prototype=r.filters=r.pseudos,r.setFilters=new vt,a=it.tokenize=function(t,e){var n,o,i,a,s,u,c,l=E[t+" "];if(l)return e?0:l.slice(0);for(s=t,u=[],c=r.preFilter;s;){for(a in n&&!(o=B.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),n=!1,(o=$.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(W," ")}),s=s.slice(n.length)),r.filter)!(o=V[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return e?s.length:s?it.error(t):E(t,u).slice(0)},s=it.compile=function(t,e){var n,o=[],i=[],s=k[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=Tt(e[n]))[w]?o.push(s):i.push(s);(s=k(t,function(t,e){var n=e.length>0,o=t.length>0,i=function(i,a,s,u,l){var d,h,v,g=0,y="0",b=i&&[],w=[],x=c,C=i||o&&r.find.TAG("*",l),S=T+=null==x?1:Math.random()||.1,E=C.length;for(l&&(c=a===p||a||l);y!==E&&null!=(d=C[y]);y++){if(o&&d){for(h=0,a||d.ownerDocument===p||(f(d),s=!m);v=t[h++];)if(v(d,a||p,s)){u.push(d);break}l&&(T=S)}n&&((d=!v&&d)&&g--,i&&b.push(d))}if(g+=y,n&&y!==g){for(h=0;v=e[h++];)v(b,w,a,s);if(i){if(g>0)for(;y--;)b[y]||w[y]||(w[y]=L.call(u));w=wt(w)}O.apply(u,w),l&&!i&&w.length>0&&g+e.length>1&&it.uniqueSort(u)}return l&&(T=S,c=x),b};return n?st(i):i}(i,o))).selector=t}return s},u=it.select=function(t,e,n,o){var i,u,c,l,d,f="function"==typeof t&&t,p=!o&&a(t=f.selector||t);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===e.nodeType&&m&&r.relative[u[1].type]){if(!(e=(r.find.ID(c.matches[0].replace(Z,tt),e)||[])[0]))return n;f&&(e=e.parentNode),t=t.slice(u.shift().value.length)}for(i=V.needsContext.test(t)?0:u.length;i--&&(c=u[i],!r.relative[l=c.type]);)if((d=r.find[l])&&(o=d(c.matches[0].replace(Z,tt),K.test(u[0].type)&&mt(e.parentNode)||e))){if(u.splice(i,1),!(t=o.length&&gt(u)))return O.apply(n,o),n;break}}return(f||s(t,p))(o,e,!m,n,!e||K.test(t)&&mt(e.parentNode)||e),n},n.sortStable=w.split("").sort(N).join("")===w,n.detectDuplicates=!!d,f(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))})),ut((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ct("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ct("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||ct(q,(function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null})),it}(r);S.find=N,(S.expr=N.selectors)[":"]=S.expr.pseudos,S.uniqueSort=S.unique=N.uniqueSort,S.text=N.getText,S.isXMLDoc=N.isXML,S.contains=N.contains,S.escapeSelector=N.escape;var A=function(t,e,n){for(var r=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&S(t).is(n))break;r.push(t)}return r},j=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},L=S.expr.match.needsContext;function D(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var O=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(t,e,n){return b(e)?S.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?S.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?S.grep(t,(function(t){return f.call(e,t)>-1!==n})):S.filter(e,t,n)}S.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?S.find.matchesSelector(r,t)?[r]:[]:S.find.matches(t,S.grep(e,(function(t){return 1===t.nodeType})))},S.fn.extend({find:function(t){var e,n,r=this.length,o=this;if("string"!=typeof t)return this.pushStack(S(t).filter((function(){for(e=0;e<r;e++)if(S.contains(o[e],this))return!0})));for(n=this.pushStack([]),e=0;e<r;e++)S.find(t,o[e],n);return r>1?S.uniqueSort(n):n},filter:function(t){return this.pushStack(H(this,t||[],!1))},not:function(t){return this.pushStack(H(this,t||[],!0))},is:function(t){return!!H(this,"string"==typeof t&&L.test(t)?S(t):t||[],!1).length}});var _,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(t,e,n){var r,o;if(!t)return this;if(n=n||_,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:q.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof S?e[0]:e,S.merge(this,S.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:s,!0)),O.test(r[1])&&S.isPlainObject(e))for(r in e)b(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(o=s.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):b(t)?void 0!==n.ready?n.ready(t):t(S):S.makeArray(t,this)}).prototype=S.fn,_=S(s);var M=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function R(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}S.fn.extend({has:function(t){var e=S(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(S.contains(this,e[t]))return!0}))},closest:function(t,e){var n,r=0,o=this.length,i=[],a="string"!=typeof t&&S(t);if(!L.test(t))for(;r<o;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,t))){i.push(n);break}return this.pushStack(i.length>1?S.uniqueSort(i):i)},index:function(t){return t?"string"==typeof t?f.call(S(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),S.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return A(t,"parentNode")},parentsUntil:function(t,e,n){return A(t,"parentNode",n)},next:function(t){return R(t,"nextSibling")},prev:function(t){return R(t,"previousSibling")},nextAll:function(t){return A(t,"nextSibling")},prevAll:function(t){return A(t,"previousSibling")},nextUntil:function(t,e,n){return A(t,"nextSibling",n)},prevUntil:function(t,e,n){return A(t,"previousSibling",n)},siblings:function(t){return j((t.parentNode||{}).firstChild,t)},children:function(t){return j(t.firstChild)},contents:function(t){return D(t,"iframe")?t.contentDocument:(D(t,"template")&&(t=t.content||t),S.merge([],t.childNodes))}},(function(t,e){S.fn[t]=function(n,r){var o=S.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=S.filter(r,o)),this.length>1&&(P[t]||S.uniqueSort(o),M.test(t)&&o.reverse()),this.pushStack(o)}}));var I=/[^\x20\t\r\n\f]+/g;function F(t){return t}function W(t){throw t}function B(t,e,n,r){var o;try{t&&b(o=t.promise)?o.call(t).done(e).fail(n):t&&b(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}S.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return S.each(t.match(I)||[],(function(t,n){e[n]=!0})),e}(t):S.extend({},t);var e,n,r,o,i=[],a=[],s=-1,u=function(){for(o=o||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=i.length,n=!1);t.memory||(n=!1),e=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!e&&(s=i.length-1,a.push(n)),function e(n){S.each(n,(function(n,r){b(r)?t.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==C(r)&&e(r)}))}(arguments),n&&!e&&u()),this},remove:function(){return S.each(arguments,(function(t,e){for(var n;(n=S.inArray(e,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(t){return t?S.inArray(t,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||e||(i=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},S.extend({Deferred:function(t){var e=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return S.Deferred((function(n){S.each(e,(function(e,r){var o=b(t[r[4]])&&t[r[4]];a[r[1]]((function(){var t=o&&o.apply(this,arguments);t&&b(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,o){var a=0;function s(t,e,n,o){return function(){var u=this,c=arguments,l=function(){var r,l;if(!(t<a)){if((r=n.apply(u,c))===e.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"===(void 0===r?"undefined":i(r))||"function"==typeof r)&&r.then,b(l)?o?l.call(r,s(a,e,F,o),s(a,e,W,o)):(a++,l.call(r,s(a,e,F,o),s(a,e,W,o),s(a,e,F,e.notifyWith))):(n!==F&&(u=void 0,c=[r]),(o||e.resolveWith)(u,c))}},d=o?l:function(){try{l()}catch(r){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(r,d.stackTrace),t+1>=a&&(n!==W&&(u=void 0,c=[r]),e.rejectWith(u,c))}};t?d():(S.Deferred.getStackHook&&(d.stackTrace=S.Deferred.getStackHook()),r.setTimeout(d))}}return S.Deferred((function(r){e[0][3].add(s(0,r,b(o)?o:F,r.notifyWith)),e[1][3].add(s(0,r,b(t)?t:F)),e[2][3].add(s(0,r,b(n)?n:W))})).promise()},promise:function(t){return null!=t?S.extend(t,o):o}},a={};return S.each(e,(function(t,r){var i=r[2],s=r[5];o[r[1]]=i.add,s&&i.add((function(){n=s}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),i.add(r[3].fire),a[r[0]]=function(){return a[r[0]+"With"](this===a?void 0:this,arguments),this},a[r[0]+"With"]=i.fireWith})),o.promise(a),t&&t.call(a,a),a},when:function(t){var e=arguments.length,n=e,r=Array(n),o=c.call(arguments),i=S.Deferred(),a=function(t){return function(n){r[t]=this,o[t]=arguments.length>1?c.call(arguments):n,--e||i.resolveWith(r,o)}};if(e<=1&&(B(t,i.done(a(n)).resolve,i.reject,!e),"pending"===i.state()||b(o[n]&&o[n].then)))return i.then();for(;n--;)B(o[n],a(n),i.reject);return i.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(t,e){r.console&&r.console.warn&&t&&$.test(t.name)&&r.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},S.readyException=function(t){r.setTimeout((function(){throw t}))};var z=S.Deferred();function U(){s.removeEventListener("DOMContentLoaded",U),r.removeEventListener("load",U),S.ready()}S.fn.ready=function(t){return z.then(t).catch((function(t){S.readyException(t)})),this},S.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==t&&--S.readyWait>0||z.resolveWith(s,[S]))}}),S.ready.then=z.then,"complete"===s.readyState||"loading"!==s.readyState&&!s.documentElement.doScroll?r.setTimeout(S.ready):(s.addEventListener("DOMContentLoaded",U),r.addEventListener("load",U));var X=function t(e,n,r,o,i,a,s){var u=0,c=e.length,l=null==r;if("object"===C(r))for(u in i=!0,r)t(e,n,u,r[u],!0,a,s);else if(void 0!==o&&(i=!0,b(o)||(s=!0),l&&(s?(n.call(e,o),n=null):(l=n,n=function(t,e,n){return l.call(S(t),n)})),n))for(;u<c;u++)n(e[u],r,s?o:o.call(e[u],u,n(e[u],r)));return i?e:l?n.call(e):c?n(e[0],r):a},V=/^-ms-/,Y=/-([a-z])/g;function G(t,e){return e.toUpperCase()}function J(t){return t.replace(V,"ms-").replace(Y,G)}var Q=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function K(){this.expando=S.expando+K.uid++}K.uid=1,K.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Q(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,o=this.cache(t);if("string"==typeof e)o[J(e)]=n;else for(r in e)o[J(r)]=e[r];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][J(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(J):(e=J(e))in r?[e]:e.match(I)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||S.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var Z=new K,tt=new K,et=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,nt=/[A-Z]/g;function rt(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(nt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:et.test(t)?JSON.parse(t):t)}(n)}catch(t){}tt.set(t,e,n)}else n=void 0;return n}S.extend({hasData:function(t){return tt.hasData(t)||Z.hasData(t)},data:function(t,e,n){return tt.access(t,e,n)},removeData:function(t,e){tt.remove(t,e)},_data:function(t,e,n){return Z.access(t,e,n)},_removeData:function(t,e){Z.remove(t,e)}}),S.fn.extend({data:function(t,e){var n,r,o,a=this[0],s=a&&a.attributes;if(void 0===t){if(this.length&&(o=tt.get(a),1===a.nodeType&&!Z.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=J(r.slice(5)),rt(a,r,o[r]));Z.set(a,"hasDataAttrs",!0)}return o}return"object"===(void 0===t?"undefined":i(t))?this.each((function(){tt.set(this,t)})):X(this,(function(e){var n;if(a&&void 0===e)return void 0!==(n=tt.get(a,t))||void 0!==(n=rt(a,t))?n:void 0;this.each((function(){tt.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){tt.remove(this,t)}))}}),S.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Z.get(t,e),n&&(!r||Array.isArray(n)?r=Z.access(t,e,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){var n=S.queue(t,e=e||"fx"),r=n.length,o=n.shift(),i=S._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===e&&n.unshift("inprogress"),delete i.stop,o.call(t,(function(){S.dequeue(t,e)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Z.get(t,n)||Z.access(t,n,{empty:S.Callbacks("once memory").add((function(){Z.remove(t,[e+"queue",n])}))})}}),S.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?S.queue(this[0],t):void 0===e?this:this.each((function(){var n=S.queue(this,t,e);S._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&S.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){S.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,o=S.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Z.get(i[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(e)}});var ot=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+ot+")([a-z%]*)$","i"),at=["Top","Right","Bottom","Left"],st=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&S.contains(t.ownerDocument,t)&&"none"===S.css(t,"display")},ut=function(t,e,n,r){var o,i,a={};for(i in e)a[i]=t.style[i],t.style[i]=e[i];for(i in o=n.apply(t,r||[]),e)t.style[i]=a[i];return o};function ct(t,e,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return S.css(t,e,"")},u=s(),c=n&&n[3]||(S.cssNumber[e]?"":"px"),l=(S.cssNumber[e]||"px"!==c&&+u)&&it.exec(S.css(t,e));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)S.style(t,e,l+c),(1-i)*(1-(i=s()/u||.5))<=0&&(a=0),l/=i;S.style(t,e,(l*=2)+c),n=n||[]}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}var lt={};function dt(t){var e,n=t.ownerDocument,r=t.nodeName,o=lt[r];return o||(e=n.body.appendChild(n.createElement(r)),o=S.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),lt[r]=o,o)}function ft(t,e){for(var n,r,o=[],i=0,a=t.length;i<a;i++)(r=t[i]).style&&(n=r.style.display,e?("none"===n&&(o[i]=Z.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&st(r)&&(o[i]=dt(r))):"none"!==n&&(o[i]="none",Z.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(t[i].style.display=o[i]);return t}S.fn.extend({show:function(){return ft(this,!0)},hide:function(){return ft(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){st(this)?S(this).show():S(this).hide()}))}});var pt=/^(?:checkbox|radio)$/i,ht=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,mt=/^$|^module$|\/(?:java|ecma)script/i,vt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function gt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&D(t,e)?S.merge([t],n):n}function yt(t,e){for(var n=0,r=t.length;n<r;n++)Z.set(t[n],"globalEval",!e||Z.get(e[n],"globalEval"))}vt.optgroup=vt.option,vt.tbody=vt.tfoot=vt.colgroup=vt.caption=vt.thead,vt.th=vt.td;var bt,wt,xt=/<|&#?\w+;/;function Tt(t,e,n,r,o){for(var i,a,s,u,c,l,d=e.createDocumentFragment(),f=[],p=0,h=t.length;p<h;p++)if((i=t[p])||0===i)if("object"===C(i))S.merge(f,i.nodeType?[i]:i);else if(xt.test(i)){for(a=a||d.appendChild(e.createElement("div")),s=(ht.exec(i)||["",""])[1].toLowerCase(),u=vt[s]||vt._default,a.innerHTML=u[1]+S.htmlPrefilter(i)+u[2],l=u[0];l--;)a=a.lastChild;S.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(e.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&S.inArray(i,r)>-1)o&&o.push(i);else if(c=S.contains(i.ownerDocument,i),a=gt(d.appendChild(i),"script"),c&&yt(a),n)for(l=0;i=a[l++];)mt.test(i.type||"")&&n.push(i);return d}bt=s.createDocumentFragment().appendChild(s.createElement("div")),(wt=s.createElement("input")).setAttribute("type","radio"),wt.setAttribute("checked","checked"),wt.setAttribute("name","t"),bt.appendChild(wt),y.checkClone=bt.cloneNode(!0).cloneNode(!0).lastChild.checked,bt.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!bt.cloneNode(!0).lastChild.defaultValue;var Ct=s.documentElement,St=/^key/,Et=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,kt=/^([^.]*)(?:\.(.+)|)/;function Nt(){return!0}function At(){return!1}function jt(){try{return s.activeElement}catch(t){}}function Lt(t,e,n,r,o,a){var s,u;if("object"===(void 0===e?"undefined":i(e))){for(u in"string"!=typeof n&&(r=r||n,n=void 0),e)Lt(t,u,n,r,e[u],a);return t}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=At;else if(!o)return t;return 1===a&&(s=o,(o=function(t){return S().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=S.guid++)),t.each((function(){S.event.add(this,e,o,r,n)}))}S.event={global:{},add:function(t,e,n,r,o){var i,a,s,u,c,l,d,f,p,h,m,v=Z.get(t);if(v)for(n.handler&&(n=(i=n).handler,o=i.selector),o&&S.find.matchesSelector(Ct,o),n.guid||(n.guid=S.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(I)||[""]).length;c--;)p=m=(s=kt.exec(e[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=S.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=S.event.special[p]||{},l=S.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=u[p])||((f=u[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(p,a)),d.add&&(d.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,l):f.push(l),S.event.global[p]=!0)},remove:function(t,e,n,r,o){var i,a,s,u,c,l,d,f,p,h,m,v=Z.hasData(t)&&Z.get(t);if(v&&(u=v.events)){for(c=(e=(e||"").match(I)||[""]).length;c--;)if(p=m=(s=kt.exec(e[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=S.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)l=f[i],!o&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(i,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(t,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,h,v.handle)||S.removeEvent(t,p,v.handle),delete u[p])}else for(p in u)S.event.remove(t,p+e[c],n,r,!0);S.isEmptyObject(u)&&Z.remove(t,"handle events")}},dispatch:function(t){var e,n,r,o,i,a,s=S.event.fix(t),u=new Array(arguments.length),c=(Z.get(this,"events")||{})[s.type]||[],l=S.event.special[s.type]||{};for(u[0]=s,e=1;e<arguments.length;e++)u[e]=arguments[e];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(a=S.event.handlers.call(this,s,c),e=0;(o=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(r=((S.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,r,o,i,a,s=[],u=e.delegateCount,c=t.target;if(u&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(i=[],a={},n=0;n<u;n++)void 0===a[o=(r=e[n]).selector+" "]&&(a[o]=r.needsContext?S(o,this).index(c)>-1:S.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,u<e.length&&s.push({elem:c,handlers:e.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:b(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[S.expando]?t:new S.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==jt()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===jt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&D(this,"input"))return this.click(),!1},_default:function(t){return D(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},S.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},(S.Event=function(t,e){if(!(this instanceof S.Event))return new S.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Nt:At,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&S.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[S.expando]=!0}).prototype={constructor:S.Event,isDefaultPrevented:At,isPropagationStopped:At,isImmediatePropagationStopped:At,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Nt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Nt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Nt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&St.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&Et.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},S.event.addProp),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){S.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,o=t.relatedTarget,i=t.handleObj;return o&&(o===r||S.contains(r,o))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}})),S.fn.extend({on:function(t,e,n,r){return Lt(this,t,e,n,r)},one:function(t,e,n,r){return Lt(this,t,e,n,r,1)},off:function(t,e,n){var r,o;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,S(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===(void 0===t?"undefined":i(t))){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=At),this.each((function(){S.event.remove(this,t,n,e)}))}});var Dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ot=/<script|<style|<link/i,Ht=/checked\s*(?:[^=]|=\s*.checked.)/i,_t=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function qt(t,e){return D(t,"table")&&D(11!==e.nodeType?e:e.firstChild,"tr")&&S(t).children("tbody")[0]||t}function Mt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Pt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Rt(t,e){var n,r,o,i,a,s,u,c;if(1===e.nodeType){if(Z.hasData(t)&&(i=Z.access(t),a=Z.set(e,i),c=i.events))for(o in delete a.handle,a.events={},c)for(n=0,r=c[o].length;n<r;n++)S.event.add(e,o,c[o][n]);tt.hasData(t)&&(s=tt.access(t),u=S.extend({},s),tt.set(e,u))}}function It(t,e){var n=e.nodeName.toLowerCase();"input"===n&&pt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Ft(t,e,n,r){e=l.apply([],e);var o,i,a,s,u,c,d=0,f=t.length,p=f-1,h=e[0],m=b(h);if(m||f>1&&"string"==typeof h&&!y.checkClone&&Ht.test(h))return t.each((function(o){var i=t.eq(o);m&&(e[0]=h.call(this,o,i.html())),Ft(i,e,n,r)}));if(f&&(i=(o=Tt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=S.map(gt(o,"script"),Mt)).length;d<f;d++)u=o,d!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,gt(u,"script"))),n.call(t[d],u,d);if(s)for(c=a[a.length-1].ownerDocument,S.map(a,Pt),d=0;d<s;d++)u=a[d],mt.test(u.type||"")&&!Z.access(u,"globalEval")&&S.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&S._evalUrl(u.src):T(u.textContent.replace(_t,""),c,u))}return t}function Wt(t,e,n){for(var r,o=e?S.filter(e,t):t,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||S.cleanData(gt(r)),r.parentNode&&(n&&S.contains(r.ownerDocument,r)&&yt(gt(r,"script")),r.parentNode.removeChild(r));return t}S.extend({htmlPrefilter:function(t){return t.replace(Dt,"<$1></$2>")},clone:function(t,e,n){var r,o,i,a,s=t.cloneNode(!0),u=S.contains(t.ownerDocument,t);if(!(y.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||S.isXMLDoc(t)))for(a=gt(s),r=0,o=(i=gt(t)).length;r<o;r++)It(i[r],a[r]);if(e)if(n)for(i=i||gt(t),a=a||gt(s),r=0,o=i.length;r<o;r++)Rt(i[r],a[r]);else Rt(t,s);return(a=gt(s,"script")).length>0&&yt(a,!u&&gt(t,"script")),s},cleanData:function(t){for(var e,n,r,o=S.event.special,i=0;void 0!==(n=t[i]);i++)if(Q(n)){if(e=n[Z.expando]){if(e.events)for(r in e.events)o[r]?S.event.remove(n,r):S.removeEvent(n,r,e.handle);n[Z.expando]=void 0}n[tt.expando]&&(n[tt.expando]=void 0)}}}),S.fn.extend({detach:function(t){return Wt(this,t,!0)},remove:function(t){return Wt(this,t)},text:function(t){return X(this,(function(t){return void 0===t?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Ft(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qt(this,t).appendChild(t)}))},prepend:function(){return Ft(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=qt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Ft(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Ft(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(S.cleanData(gt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return S.clone(this,t,e)}))},html:function(t){return X(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Ot.test(t)&&!vt[(ht.exec(t)||["",""])[1].toLowerCase()]){t=S.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(S.cleanData(gt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Ft(this,arguments,(function(e){var n=this.parentNode;S.inArray(this,t)<0&&(S.cleanData(gt(this)),n&&n.replaceChild(e,this))}),t)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){S.fn[t]=function(t){for(var n,r=[],o=S(t),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),S(o[a])[e](n),d.apply(r,n.get());return this.pushStack(r)}}));var Bt=new RegExp("^("+ot+")(?!px)[a-z%]+$","i"),$t=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=r),e.getComputedStyle(t)},zt=new RegExp(at.join("|"),"i");function Ut(t,e,n){var r,o,i,a,s=t.style;return(n=n||$t(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||S.contains(t.ownerDocument,t)||(a=S.style(t,e)),!y.pixelBoxStyles()&&Bt.test(a)&&zt.test(e)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Xt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ct.appendChild(c).appendChild(l);var t=r.getComputedStyle(l);n="1%"!==t.top,u=12===e(t.marginLeft),l.style.right="60%",a=36===e(t.right),o=36===e(t.width),l.style.position="absolute",i=36===l.offsetWidth||"absolute",Ct.removeChild(c),l=null}}function e(t){return Math.round(parseFloat(t))}var n,o,i,a,u,c=s.createElement("div"),l=s.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),i}}))}();var Vt=/^(none|table(?!-c[ea]).+)/,Yt=/^--/,Gt={position:"absolute",visibility:"hidden",display:"block"},Jt={letterSpacing:"0",fontWeight:"400"},Qt=["Webkit","Moz","ms"],Kt=s.createElement("div").style;function Zt(t){var e=S.cssProps[t];return e||(e=S.cssProps[t]=function(t){if(t in Kt)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=Qt.length;n--;)if((t=Qt[n]+e)in Kt)return t}(t)||t),e}function te(t,e,n){var r=it.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ee(t,e,n,r,o,i){var a="width"===e?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(t,n+at[a],!0,o)),r?("content"===n&&(u-=S.css(t,"padding"+at[a],!0,o)),"margin"!==n&&(u-=S.css(t,"border"+at[a]+"Width",!0,o))):(u+=S.css(t,"padding"+at[a],!0,o),"padding"!==n?u+=S.css(t,"border"+at[a]+"Width",!0,o):s+=S.css(t,"border"+at[a]+"Width",!0,o));return!r&&i>=0&&(u+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-i-u-s-.5))),u}function ne(t,e,n){var r=$t(t),o=Ut(t,e,r),i="border-box"===S.css(t,"boxSizing",!1,r),a=i;if(Bt.test(o)){if(!n)return o;o="auto"}return a=a&&(y.boxSizingReliable()||o===t.style[e]),("auto"===o||!parseFloat(o)&&"inline"===S.css(t,"display",!1,r))&&(o=t["offset"+e[0].toUpperCase()+e.slice(1)],a=!0),(o=parseFloat(o)||0)+ee(t,e,n||(i?"border":"content"),a,r,o)+"px"}function re(t,e,n,r,o){return new re.prototype.init(t,e,n,r,o)}S.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ut(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,s,u=J(e),c=Yt.test(e),l=t.style;if(c||(e=Zt(u)),s=S.cssHooks[e]||S.cssHooks[u],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(t,!1,r))?o:l[e];"string"===(a=void 0===n?"undefined":i(n))&&(o=it.exec(n))&&o[1]&&(n=ct(t,e,o),a="number"),null!=n&&n==n&&("number"===a&&(n+=o&&o[3]||(S.cssNumber[u]?"":"px")),y.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(c?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var o,i,a,s=J(e);return Yt.test(e)||(e=Zt(s)),(a=S.cssHooks[e]||S.cssHooks[s])&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=Ut(t,e,r)),"normal"===o&&e in Jt&&(o=Jt[e]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),S.each(["height","width"],(function(t,e){S.cssHooks[e]={get:function(t,n,r){if(n)return!Vt.test(S.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ne(t,e,r):ut(t,Gt,(function(){return ne(t,e,r)}))},set:function(t,n,r){var o,i=$t(t),a="border-box"===S.css(t,"boxSizing",!1,i),s=r&&ee(t,e,r,a,i);return a&&y.scrollboxSize()===i.position&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(i[e])-ee(t,e,"border",!1,i)-.5)),s&&(o=it.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=S.css(t,e)),te(0,n,s)}}})),S.cssHooks.marginLeft=Xt(y.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-ut(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(t,e){S.cssHooks[t+e]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[t+at[r]+e]=i[r]||i[r-2]||i[0];return o}},"margin"!==t&&(S.cssHooks[t+e].set=te)})),S.fn.extend({css:function(t,e){return X(this,(function(t,e,n){var r,o,i={},a=0;if(Array.isArray(e)){for(r=$t(t),o=e.length;a<o;a++)i[e[a]]=S.css(t,e[a],!1,r);return i}return void 0!==n?S.style(t,e,n):S.css(t,e)}),t,e,arguments.length>1)}}),S.Tween=re,re.prototype={constructor:re,init:function(t,e,n,r,o,i){this.elem=t,this.prop=n,this.easing=o||S.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=i||(S.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.propHooks[this.prop];return this.options.duration?this.pos=e=S.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=S.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){S.fx.step[t.prop]?S.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[S.cssProps[t.prop]]&&!S.cssHooks[t.prop]?t.elem[t.prop]=t.now:S.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},S.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},(S.fx=re.prototype.init).step={};var oe,ie,ae=/^(?:toggle|show|hide)$/,se=/queueHooks$/;function ue(){ie&&(!1===s.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ue):r.setTimeout(ue,S.fx.interval),S.fx.tick())}function ce(){return r.setTimeout((function(){oe=void 0})),oe=Date.now()}function le(t,e){var n,r=0,o={height:t};for(e=e?1:0;r<4;r+=2-e)o["margin"+(n=at[r])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function de(t,e,n){for(var r,o=(fe.tweeners[e]||[]).concat(fe.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,e,t))return r}function fe(t,e,n){var r,o,i=0,a=fe.prefilters.length,s=S.Deferred().always((function(){delete u.elem})),u=function(){if(o)return!1;for(var e=oe||ce(),n=Math.max(0,c.startTime+c.duration-e),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(t,[c,r,n]),r<1&&a?n:(a||s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:e,originalOptions:n,startTime:oe||ce(),duration:n.duration,tweens:[],createTween:function(e,n){var r=S.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return e?(s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c,e])):s.rejectWith(t,[c,e]),this}}),l=c.props;for(function(t,e){var n,r,o,i,a;for(n in t)if(o=e[r=J(n)],i=t[n],Array.isArray(i)&&(o=i[1],i=t[n]=i[0]),n!==r&&(t[r]=i,delete t[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete t[r],i)n in t||(t[n]=i[n],e[n]=o);else e[r]=o}(l,c.opts.specialEasing);i<a;i++)if(r=fe.prefilters[i].call(c,t,l,c.opts))return b(r.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return S.map(l,de,c),b(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),S.fx.timer(S.extend(u,{elem:t,anim:c,queue:c.opts.queue})),c}S.Animation=S.extend(fe,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ct(n.elem,t,it.exec(e),n),n}]},tweener:function(t,e){b(t)?(e=t,t=["*"]):t=t.match(I);for(var n,r=0,o=t.length;r<o;r++)n=t[r],fe.tweeners[n]=fe.tweeners[n]||[],fe.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,o,i,a,s,u,c,l,d="width"in e||"height"in e,f=this,p={},h=t.style,m=t.nodeType&&st(t),v=Z.get(t,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,S.queue(t,"fx").length||a.empty.fire()}))}))),e)if(o=e[r],ae.test(o)){if(delete e[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;m=!0}p[r]=v&&v[r]||S.style(t,r)}if((u=!S.isEmptyObject(e))||!S.isEmptyObject(p))for(r in d&&1===t.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=v&&v.display)&&(c=Z.get(t,"display")),"none"===(l=S.css(t,"display"))&&(c?l=c:(ft([t],!0),c=t.style.display||c,l=S.css(t,"display"),ft([t]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===S.css(t,"float")&&(u||(f.done((function(){h.display=c})),null==c&&(l=h.display,c="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),u=!1,p)u||(v?"hidden"in v&&(m=v.hidden):v=Z.access(t,"fxshow",{display:c}),i&&(v.hidden=!m),m&&ft([t],!0),f.done((function(){for(r in m||ft([t]),Z.remove(t,"fxshow"),p)S.style(t,r,p[r])}))),u=de(m?v[r]:0,r,f),r in v||(v[r]=u.start,m&&(u.end=u.start,u.start=0))}],prefilter:function(t,e){e?fe.prefilters.unshift(t):fe.prefilters.push(t)}}),S.speed=function(t,e,n){var r=t&&"object"===(void 0===t?"undefined":i(t))?S.extend({},t):{complete:n||!n&&e||b(t)&&t,duration:t,easing:n&&e||e&&!b(e)&&e};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){b(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(t,e,n,r){return this.filter(st).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var o=S.isEmptyObject(t),i=S.speed(e,n,r),a=function(){var e=fe(this,S.extend({},t),i);(o||Z.get(this,"finish"))&&e.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each((function(){var e=!0,o=null!=t&&t+"queueHooks",i=S.timers,a=Z.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&se.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=t&&i[o].queue!==t||(i[o].anim.stop(n),e=!1,i.splice(o,1));!e&&n||S.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=Z.get(this),r=n[t+"queue"],o=n[t+"queueHooks"],i=S.timers,a=r?r.length:0;for(n.finish=!0,S.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===t&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish}))}}),S.each(["toggle","show","hide"],(function(t,e){var n=S.fn[e];S.fn[e]=function(t,r,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(le(e,!0),t,r,o)}})),S.each({slideDown:le("show"),slideUp:le("hide"),slideToggle:le("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){S.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}})),S.timers=[],S.fx.tick=function(){var t,e=0,n=S.timers;for(oe=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||S.fx.stop(),oe=void 0},S.fx.timer=function(t){S.timers.push(t),S.fx.start()},S.fx.interval=13,S.fx.start=function(){ie||(ie=!0,ue())},S.fx.stop=function(){ie=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(t,e){return t=S.fx&&S.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var o=r.setTimeout(e,t);n.stop=function(){r.clearTimeout(o)}}))},function(){var t=s.createElement("input"),e=s.createElement("select").appendChild(s.createElement("option"));t.type="checkbox",y.checkOn=""!==t.value,y.optSelected=e.selected,(t=s.createElement("input")).value="t",t.type="radio",y.radioValue="t"===t.value}();var pe,he=S.expr.attrHandle;S.fn.extend({attr:function(t,e){return X(this,S.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){S.removeAttr(this,t)}))}}),S.extend({attr:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===t.getAttribute?S.prop(t,e,n):(1===i&&S.isXMLDoc(t)||(o=S.attrHooks[e.toLowerCase()]||(S.expr.match.bool.test(e)?pe:void 0)),void 0!==n?null===n?void S.removeAttr(t,e):o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(r=o.get(t,e))?r:null==(r=S.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!y.radioValue&&"radio"===e&&D(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,o=e&&e.match(I);if(o&&1===t.nodeType)for(;n=o[r++];)t.removeAttribute(n)}}),pe={set:function(t,e,n){return!1===e?S.removeAttr(t,n):t.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=he[e]||S.find.attr;he[e]=function(t,e,r){var o,i,a=e.toLowerCase();return r||(i=he[a],he[a]=o,o=null!=n(t,e,r)?a:null,he[a]=i),o}}));var me=/^(?:input|select|textarea|button)$/i,ve=/^(?:a|area)$/i;function ge(t){return(t.match(I)||[]).join(" ")}function ye(t){return t.getAttribute&&t.getAttribute("class")||""}function be(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(I)||[]}S.fn.extend({prop:function(t,e){return X(this,S.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[S.propFix[t]||t]}))}}),S.extend({prop:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&S.isXMLDoc(t)||(e=S.propFix[e]||e,o=S.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:t[e]=n:o&&"get"in o&&null!==(r=o.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=S.find.attr(t,"tabindex");return e?parseInt(e,10):me.test(t.nodeName)||ve.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(S.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(t){var e,n,r,o,i,a,s,u=0;if(b(t))return this.each((function(e){S(this).addClass(t.call(this,e,ye(this)))}));if((e=be(t)).length)for(;n=this[u++];)if(o=ye(n),r=1===n.nodeType&&" "+ge(o)+" "){for(a=0;i=e[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=ge(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,o,i,a,s,u=0;if(b(t))return this.each((function(e){S(this).removeClass(t.call(this,e,ye(this)))}));if(!arguments.length)return this.attr("class","");if((e=be(t)).length)for(;n=this[u++];)if(o=ye(n),r=1===n.nodeType&&" "+ge(o)+" "){for(a=0;i=e[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=ge(r))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=void 0===t?"undefined":i(t),r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):b(t)?this.each((function(n){S(this).toggleClass(t.call(this,n,ye(this),e),e)})):this.each((function(){var e,o,i,a;if(r)for(o=0,i=S(this),a=be(t);e=a[o++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||((e=ye(this))&&Z.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Z.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+ge(ye(n))+" ").indexOf(e)>-1)return!0;return!1}});var we=/\r/g;S.fn.extend({val:function(t){var e,n,r,o=this[0];return arguments.length?(r=b(t),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?t.call(this,n,S(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=S.map(o,(function(t){return null==t?"":t+""}))),(e=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))}))):o?(e=S.valHooks[o.type]||S.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(we,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(t){var e=S.find.attr(t,"value");return null!=e?e:ge(S.text(t))}},select:{get:function(t){var e,n,r,o=t.options,i=t.selectedIndex,a="select-one"===t.type,s=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r<u;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!D(n.parentNode,"optgroup"))){if(e=S(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,r,o=t.options,i=S.makeArray(e),a=o.length;a--;)((r=o[a]).selected=S.inArray(S.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(t.selectedIndex=-1),i}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=S.inArray(S(t).val(),e)>-1}},y.checkOn||(S.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),y.focusin="onfocusin"in r;var xe=/^(?:focusinfocus|focusoutblur)$/,Te=function(t){t.stopPropagation()};S.extend(S.event,{trigger:function(t,e,n,o){var a,u,c,l,d,f,p,h,v=[n||s],g=m.call(t,"type")?t.type:t,y=m.call(t,"namespace")?t.namespace.split("."):[];if(u=h=c=n=n||s,3!==n.nodeType&&8!==n.nodeType&&!xe.test(g+S.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),d=g.indexOf(":")<0&&"on"+g,(t=t[S.expando]?t:new S.Event(g,"object"===(void 0===t?"undefined":i(t))&&t)).isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:S.makeArray(e,[t]),p=S.event.special[g]||{},o||!p.trigger||!1!==p.trigger.apply(n,e))){if(!o&&!p.noBubble&&!w(n)){for(l=p.delegateType||g,xe.test(l+g)||(u=u.parentNode);u;u=u.parentNode)v.push(u),c=u;c===(n.ownerDocument||s)&&v.push(c.defaultView||c.parentWindow||r)}for(a=0;(u=v[a++])&&!t.isPropagationStopped();)h=u,t.type=a>1?l:p.bindType||g,(f=(Z.get(u,"events")||{})[t.type]&&Z.get(u,"handle"))&&f.apply(u,e),(f=d&&u[d])&&f.apply&&Q(u)&&(t.result=f.apply(u,e),!1===t.result&&t.preventDefault());return t.type=g,o||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(v.pop(),e)||!Q(n)||d&&b(n[g])&&!w(n)&&((c=n[d])&&(n[d]=null),S.event.triggered=g,t.isPropagationStopped()&&h.addEventListener(g,Te),n[g](),t.isPropagationStopped()&&h.removeEventListener(g,Te),S.event.triggered=void 0,c&&(n[d]=c)),t.result}},simulate:function(t,e,n){var r=S.extend(new S.Event,n,{type:t,isSimulated:!0});S.event.trigger(r,null,e)}}),S.fn.extend({trigger:function(t,e){return this.each((function(){S.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return S.event.trigger(t,e,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){S.event.simulate(e,t.target,S.event.fix(t))};S.event.special[e]={setup:function(){var r=this.ownerDocument||this,o=Z.access(r,e);o||r.addEventListener(t,n,!0),Z.access(r,e,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Z.access(r,e)-1;o?Z.access(r,e,o):(r.removeEventListener(t,n,!0),Z.remove(r,e))}}}));var Ce=r.location,Se=Date.now(),Ee=/\?/;S.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new r.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+t),e};var ke=/\[\]$/,Ne=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,je=/^(?:input|select|textarea|keygen)/i;function Le(t,e,n,r){var o;if(Array.isArray(e))S.each(e,(function(e,o){n||ke.test(t)?r(t,o):Le(t+"["+("object"===(void 0===o?"undefined":i(o))&&null!=o?e:"")+"]",o,n,r)}));else if(n||"object"!==C(e))r(t,e);else for(o in e)Le(t+"["+o+"]",e[o],n,r)}S.param=function(t,e){var n,r=[],o=function(t,e){var n=b(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!S.isPlainObject(t))S.each(t,(function(){o(this.name,this.value)}));else for(n in t)Le(n,t[n],e,o);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=S.prop(this,"elements");return t?S.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!S(this).is(":disabled")&&je.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!pt.test(t))})).map((function(t,e){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(t){return{name:e.name,value:t.replace(Ne,"\r\n")}})):{name:e.name,value:n.replace(Ne,"\r\n")}})).get()}});var De=/%20/g,Oe=/#.*$/,He=/([?&])_=[^&]*/,_e=/^(.*?):[ \t]*([^\r\n]*)$/gm,qe=/^(?:GET|HEAD)$/,Me=/^\/\//,Pe={},Re={},Ie="*/".concat("*"),Fe=s.createElement("a");function We(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,o=0,i=e.toLowerCase().match(I)||[];if(b(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Be(t,e,n,r){var o={},i=t===Re;function a(s){var u;return o[s]=!0,S.each(t[s]||[],(function(t,s){var c=s(e,n,r);return"string"!=typeof c||i||o[c]?i?!(u=c):void 0:(e.dataTypes.unshift(c),a(c),!1)})),u}return a(e.dataTypes[0])||!o["*"]&&a("*")}function $e(t,e){var n,r,o=S.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:r||(r={}))[n]=e[n]);return r&&S.extend(!0,t,r),t}Fe.href=Ce.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ce.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ce.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ie,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":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?$e($e(t,S.ajaxSettings),e):$e(S.ajaxSettings,t)},ajaxPrefilter:We(Pe),ajaxTransport:We(Re),ajax:function(t,e){"object"===(void 0===t?"undefined":i(t))&&(e=t,t=void 0);var n,o,a,u,c,l,d,f,p,h,m=S.ajaxSetup({},e=e||{}),v=m.context||m,g=m.context&&(v.nodeType||v.jquery)?S(v):S.event,y=S.Deferred(),b=S.Callbacks("once memory"),w=m.statusCode||{},x={},T={},C="canceled",E={readyState:0,getResponseHeader:function(t){var e;if(d){if(!u)for(u={};e=_e.exec(a);)u[e[1].toLowerCase()]=e[2];e=u[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return d?a:null},setRequestHeader:function(t,e){return null==d&&(t=T[t.toLowerCase()]=T[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==d&&(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(d)E.always(t[E.status]);else for(e in t)w[e]=[w[e],t[e]];return this},abort:function(t){var e=t||C;return n&&n.abort(e),k(0,e),this}};if(y.promise(E),m.url=((t||m.url||Ce.href)+"").replace(Me,Ce.protocol+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(I)||[""],null==m.crossDomain){l=s.createElement("a");try{l.href=m.url,l.href=l.href,m.crossDomain=Fe.protocol+"//"+Fe.host!=l.protocol+"//"+l.host}catch(t){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=S.param(m.data,m.traditional)),Be(Pe,m,e,E),d)return E;for(p in(f=S.event&&m.global)&&0==S.active++&&S.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!qe.test(m.type),o=m.url.replace(Oe,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(De,"+")):(h=m.url.slice(o.length),m.data&&(m.processData||"string"==typeof m.data)&&(o+=(Ee.test(o)?"&":"?")+m.data,delete m.data),!1===m.cache&&(o=o.replace(He,"$1"),h=(Ee.test(o)?"&":"?")+"_="+Se+++h),m.url=o+h),m.ifModified&&(S.lastModified[o]&&E.setRequestHeader("If-Modified-Since",S.lastModified[o]),S.etag[o]&&E.setRequestHeader("If-None-Match",S.etag[o])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&E.setRequestHeader("Content-Type",m.contentType),E.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Ie+"; q=0.01":""):m.accepts["*"]),m.headers)E.setRequestHeader(p,m.headers[p]);if(m.beforeSend&&(!1===m.beforeSend.call(v,E,m)||d))return E.abort();if(C="abort",b.add(m.complete),E.done(m.success),E.fail(m.error),n=Be(Re,m,e,E)){if(E.readyState=1,f&&g.trigger("ajaxSend",[E,m]),d)return E;m.async&&m.timeout>0&&(c=r.setTimeout((function(){E.abort("timeout")}),m.timeout));try{d=!1,n.send(x,k)}catch(t){if(d)throw t;k(-1,t)}}else k(-1,"No Transport");function k(t,e,i,s){var u,l,p,h,x,T=e;d||(d=!0,c&&r.clearTimeout(c),n=void 0,a=s||"",E.readyState=t>0?4:0,u=t>=200&&t<300||304===t,i&&(h=function(t,e,n){for(var r,o,i,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||t.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(m,E,i)),h=function(t,e,n,r){var o,i,a,s,u,c={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(i=l.shift();i;)if(t.responseFields[i]&&(n[t.responseFields[i]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=c[u+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+u+" to "+i}}}return{state:"success",data:e}}(m,h,E,u),u?(m.ifModified&&((x=E.getResponseHeader("Last-Modified"))&&(S.lastModified[o]=x),(x=E.getResponseHeader("etag"))&&(S.etag[o]=x)),204===t||"HEAD"===m.type?T="nocontent":304===t?T="notmodified":(T=h.state,l=h.data,u=!(p=h.error))):(p=T,!t&&T||(T="error",t<0&&(t=0))),E.status=t,E.statusText=(e||T)+"",u?y.resolveWith(v,[l,T,E]):y.rejectWith(v,[E,T,p]),E.statusCode(w),w=void 0,f&&g.trigger(u?"ajaxSuccess":"ajaxError",[E,m,u?l:p]),b.fireWith(v,[E,T]),f&&(g.trigger("ajaxComplete",[E,m]),--S.active||S.event.trigger("ajaxStop")))}return E},getJSON:function(t,e,n){return S.get(t,e,n,"json")},getScript:function(t,e){return S.get(t,void 0,e,"script")}}),S.each(["get","post"],(function(t,e){S[e]=function(t,n,r,o){return b(n)&&(o=o||r,r=n,n=void 0),S.ajax(S.extend({url:t,type:e,dataType:o,data:n,success:r},S.isPlainObject(t)&&t))}})),S._evalUrl=function(t){return S.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},S.fn.extend({wrapAll:function(t){var e;return this[0]&&(b(t)&&(t=t.call(this[0])),e=S(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return b(t)?this.each((function(e){S(this).wrapInner(t.call(this,e))})):this.each((function(){var e=S(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=b(t);return this.each((function(n){S(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(t){return!S.expr.pseudos.visible(t)},S.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(t){}};var ze={0:200,1223:204},Ue=S.ajaxSettings.xhr();y.cors=!!Ue&&"withCredentials"in Ue,y.ajax=Ue=!!Ue,S.ajaxTransport((function(t){var e,n;if(y.cors||Ue&&!t.crossDomain)return{send:function(o,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);e=function(t){return function(){e&&(e=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(ze[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),n=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){e&&n()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),S.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return S.globalEval(t),t}}}),S.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),S.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain)return{send:function(r,o){e=S("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),s.head.appendChild(e[0])},abort:function(){n&&n()}}}));var Xe,Ve=[],Ye=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||S.expando+"_"+Se++;return this[t]=!0,t}}),S.ajaxPrefilter("json jsonp",(function(t,e,n){var o,i,a,s=!1!==t.jsonp&&(Ye.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ye.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=b(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ye,"$1"+o):!1!==t.jsonp&&(t.url+=(Ee.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||S.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?S(r).removeProp(o):r[o]=i,t[o]&&(t.jsonpCallback=e.jsonpCallback,Ve.push(o)),a&&b(i)&&i(a[0]),a=i=void 0})),"script"})),y.createHTMLDocument=((Xe=s.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xe.childNodes.length),S.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(y.createHTMLDocument?((r=(e=s.implementation.createHTMLDocument("")).createElement("base")).href=s.location.href,e.head.appendChild(r)):e=s),i=!n&&[],(o=O.exec(t))?[e.createElement(o[1])]:(o=Tt([t],e,i),i&&i.length&&S(i).remove(),S.merge([],o.childNodes)));var r,o,i},S.fn.load=function(t,e,n){var r,o,a,s=this,u=t.indexOf(" ");return u>-1&&(r=ge(t.slice(u)),t=t.slice(0,u)),b(e)?(n=e,e=void 0):e&&"object"===(void 0===e?"undefined":i(e))&&(o="POST"),s.length>0&&S.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done((function(t){a=arguments,s.html(r?S("<div>").append(S.parseHTML(t)).find(r):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,a||[t.responseText,e,t])}))}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){S.fn[e]=function(t){return this.on(e,t)}})),S.expr.pseudos.animated=function(t){return S.grep(S.timers,(function(e){return t===e.elem})).length},S.offset={setOffset:function(t,e,n){var r,o,i,a,s,u,c=S.css(t,"position"),l=S(t),d={};"static"===c&&(t.style.position="relative"),s=l.offset(),i=S.css(t,"top"),u=S.css(t,"left"),("absolute"===c||"fixed"===c)&&(i+u).indexOf("auto")>-1?(a=(r=l.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),b(e)&&(e=e.call(t,n,S.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+o),"using"in e?e.using.call(t,d):l.css(d)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){S.offset.setOffset(this,t,e)}));var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],o={top:0,left:0};if("fixed"===S.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===S.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((o=S(t).offset()).top+=S.css(t,"borderTopWidth",!0),o.left+=S.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-S.css(r,"marginTop",!0),left:e.left-o.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||Ct}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;S.fn[t]=function(r){return X(this,(function(t,r,o){var i;if(w(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===o)return i?i[e]:t[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):t[r]=o}),t,r,arguments.length)}})),S.each(["top","left"],(function(t,e){S.cssHooks[e]=Xt(y.pixelPosition,(function(t,n){if(n)return n=Ut(t,e),Bt.test(n)?S(t).position()[e]+"px":n}))})),S.each({Height:"height",Width:"width"},(function(t,e){S.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,r){S.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return X(this,(function(e,n,o){var i;return w(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===o?S.css(e,n,s):S.style(e,n,o,s)}),e,a?o:void 0,a)}}))})),S.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(t,e){S.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}})),S.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),S.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),S.proxy=function(t,e){var n,r,o;if("string"==typeof e&&(n=t[e],e=t,t=n),b(t))return r=c.call(arguments,2),(o=function(){return t.apply(e||this,r.concat(c.call(arguments)))}).guid=t.guid=t.guid||S.guid++,o},S.holdReady=function(t){t?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=D,S.isFunction=b,S.isWindow=w,S.camelCase=J,S.type=C,S.now=Date.now,S.isNumeric=function(t){var e=S.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},void 0===(n=function(){return S}.apply(e,[]))||(t.exports=n);var Ge=r.jQuery,Je=r.$;return S.noConflict=function(t){return r.$===S&&(r.$=Je),t&&r.jQuery===S&&(r.jQuery=Ge),S},o||(r.jQuery=r.$=S),S},"object"===i(t)&&"object"===i(t.exports)?t.exports=r.document?o(r,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return o(t)}:o(r)}).call(this,n(32)(t))},493:function(t,e,n){"use strict";function r(t,e){var n=t+"=;max-age=-1;expires=Thu, 01 Jan 1970 00:00:00 GMT;"+(e||"");document.cookie=n,document.cookie=n+";path=/"}Object.defineProperty(e,"__esModule",{value:!0}),e.clearCookie=function(){return document.cookie.split(";").forEach((function(t){var e=t.indexOf("="),n=e>-1?t.substr(0,e):t;if("whistle_nohost_env"!==n){r(n);for(var o=window.location.hostname.split("."),i=0,a=o.length-1;i<a;i++){var s=o.slice(i);s.unshift("domain="),r(n,s=s.join("."))}}})),!0},e.clearStorage=function(){if(localStorage.clear)return localStorage.clear(),!0;return!1},e.reloadPage=function(){window.location.reload(!0)},e.checkKeyword=function(t,e){if(!e)return!1;t=t.toLowerCase();for(var n=0,r=e.length;n<r;n++)if(-1===t.indexOf(e[n]))return!1;return!0},e.scrollToView=function(t,e){if(!t[0])return;var n=t.parent(),r=t.offset().top-n.offset().top;if(r<5)n.scrollTop(n.scrollTop()+r-(e?n.height()/2-20:0));else{var o=n[0].offsetHeight;r+35>o&&n.scrollTop(n.scrollTop()+(r-o+46)+(e?n.height()/2-20:0))}},e.getLocalStorage=function(t){try{return localStorage[t]}catch(t){}},e.setLocalStorage=function(t,e){try{localStorage[t]=e}catch(t){}},e.safeParse=function(t){try{return JSON.parse(t)}catch(t){return null}}},494:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.CUR_SELECTED_USER="__nohost_-_selected_user_id__",e.LAST_SELECTED_ENV="__nohost_-_last_selected_id__",e.ENV_HISTORY=5},744:function(t,e,n){"use strict";var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=d(n(49)),i=d(n(448)),a=d(n(745)),s=d(n(746)),u=n(493);n(747);var c=n(749),l=n(494);function d(t){return t&&t.__esModule?t:{default:t}}var f=void 0,p=void 0,h=void 0,m=void 0,v=void 0,g=void 0,y=void 0,b=void 0,w=void 0,x=void 0,T=void 0,C=void 0,S=void 0,E=void 0,k=void 0,N=void 0,A=void 0,j=void 0,L=void 0,D=void 0,O=void 0,H=!1,_=!1,q=!1,M=!1,P={x:null,y:null},R=void 0,I=void 0,F=void 0,W=void 0,B=(0,o.default)(document.createElement("div")),$=/[?#&]nohost=hide(?:[?#&]|$)/.test(window.location.href),z=function(t){return B.text(t).html()};function U(){m&&"none"===y.css("display")&&(0,o.default)(window).width()>750&&T.show()}var X=void 0;function V(){if(X)return X;if(X=window.__WHISTLE_PATH_PREFIX__,/^\/[\w./-]+$/.test(X)&&X.length<=128){var t=X.length-1;"/"===X[t]&&(X=X.substring(0,t))}else X="";return X}function Y(t,e){y.hide(),D.removeClass("w-nohost-toast-error"),D.removeClass("w-nohost-toast-countdown"),D.find(".w-nohost-toast-content").text(t),D.show(),e>0&&setTimeout((function(){D.hide()}),e)}function G(t,e){y.hide(),D.removeClass("w-nohost-toast-countdown"),D.addClass("w-nohost-toast-error"),D.find(".w-nohost-toast-content").text(t),D.show(),e>0&&setTimeout((function(){D.hide()}),e)}function J(){clearTimeout(O),O=null}function Q(t,e){if(!H&&!$){var n,r=(t?t+"/":"")+e,i="当前环境: "+r;Y(i,1500),L.attr("title",i),C.text(i),x.text(e),C.attr("data-clipboard-text","Nohost环境:"+r),(0,o.default)("#w-nohost-circle-copyUrl").attr("data-clipboard-text",(n=f.baseUrl+"redirect?url="+encodeURIComponent(window.location.href),h&&(h.name&&(n+="&name="+encodeURIComponent(h.name)),h.envName&&(n+="&env="+encodeURIComponent(h.envName))),n)),(0,c.getEnvHistory)().length>0?((0,c.initEnvHistoryDom)(),S.show()):S.hide(),H=!0}}function K(){if(g&&(h=g.curEnv,m=g.userList),!H){if(!m)return x.addClass("w-nohost-loading-circle"),void setTimeout(K,500);x.removeClass("w-nohost-loading-circle").addClass("w-nohost-loaded-circle")}var t=document.createDocumentFragment();m.forEach((function(e,n){var r=document.createElement("li");r.setAttribute("data-index",n.toString()),r.id="__nohost_-_"+e.name,r.innerHTML=z(e.name),0!==n||"~"!==h&&h?h&&h.name===e.name&&((0,o.default)(r).addClass("envSelected"),r.innerHTML=z(e.name+"("+(h.envName||"无代理环境")+")"),Q(e.name,h.envName||"无代理环境")):((0,o.default)(r).addClass("envSelected"),Q("","无代理环境")),0!==n&&(0,o.default)(r).addClass("liWithSub"),t.appendChild(r)})),N.html(t)}function Z(t){t=(0,o.default)(t);var e=Math.floor(((0,o.default)(document).height()-t.height())/2)-10;e<=0?e=20:e>100&&(e=100),t.css("margin-top",e)}function tt(){y.show(),Z("#w-nohost-list")}function et(t){return b.hide(),tt(),k.val().trim()?k.focus():(N.show(),A.hide(),L.removeClass("back").text(L.attr("title"))),K(),t||(0,u.scrollToView)((0,o.default)("#w-nohost-user-ul .envSelected"),!0),!1}function nt(t){N.hide(),A.show(),function(t){var e=document.createDocumentFragment();t.envList.forEach((function(n){var r=document.createElement("li");r.innerHTML=z(n.name),r.setAttribute("data-user-name",t.name),r.setAttribute("data-env-name",n.name),r.setAttribute("data-env-id",n.id),h&&t.name===h.name&&(h.envName?n.name===h.envName&&(r.className="envSelected"):n.id||(r.className="envSelected")),e.appendChild(r)})),A.html(e)}(t),L.addClass("back").text("返回账号列表 / "+t.name),(0,u.scrollToView)((0,o.default)("#w-nohost-env-ul .envSelected"),!0)}function rt(t){x.removeClass("w-nohost-active"),t.target===y[0]&&y.hide(),t.target===b[0]&&b.hide(),t.target===W[0]&&W.hide()}function ot(t,e){"~"!==(t=t||{name:"~"}).name&&(0,c.setEnvHistory)({name:t.name,envId:t.envId,envName:t.envName}),y.hide(),M=!0,e=e||window.onNohostEnvChange;var n=function(n){if("function"!=typeof e)return Y((n?"环境切换成功,":"")+"等待页面重新加载 ..."),void(0,u.reloadPage)();e(t,(function(t){Y(t),(0,u.reloadPage)()}))};o.default.ajax({url:V()+"/.whistle-path.5b6af7b9884e1165/whistle.nohost/cgi-bin/select",data:{name:t.name,envId:t.envId,time:Date.now()},timeout:3e3,error:function(){n()},success:function(t){n(0===t.ec)}})}function it(t){var e=t.target;if("LI"===e.nodeName){var n=e.getAttribute("data-index");return"0"===n?ot({name:"~"}):(v=m[n],k.val().trim()||nt(v),(0,u.setLocalStorage)(l.CUR_SELECTED_USER,"__nohost_-_"+v.name)),!1}}function at(t){if("LI"===t.target.tagName){var e=t.target;return ot({name:e.getAttribute("data-user-name"),envId:e.getAttribute("data-env-id"),envName:e.getAttribute("data-env-name")}),!1}}function st(){T.hide();var t=f.baseUrl+"data.html";h&&(h.name&&(t+="?name="+encodeURIComponent(h.name)),h.envName&&(t+="&env="+encodeURIComponent(h.envName))),window.open(t)}function ut(){M||(_=!0,P={x:w.position().left,y:w.position().top})}function ct(){y.is(":visible")||(b.show(),Z("#w-nohost-operations"),(0,o.default)("#w-nohost-copy-env").attr("data-clipboard-text",C.attr("data-clipboard-text")),(0,o.default)("#w-nohost-copy-location").attr("data-clipboard-text",(0,o.default)("#w-nohost-circle-copyUrl").attr("data-clipboard-text")))}function lt(){ut(),x.removeClass("w-nohost-active"),O=setInterval(ct,800)}function dt(t){var e=(0,o.default)(window).width()-x.width(),n=t-window.scrollX-x.width()/2;return n<0?n=0:n>e&&(n=e),Math.abs(n-P.x)>20?n:P.x}function ft(t){var e=(0,o.default)(window).height()-x.height(),n=t-window.scrollY-x.width()/2;return n<0?n=0:n>e&&(n=e),Math.abs(n-P.y)>20?n:P.y}function pt(t,e){w.css("left",t+"px"),w.css("top",e+"px"),w.css("right","unset"),w.css("bottom","unset")}function ht(t){_&&(pt(dt(t.touches[0].pageX),ft(t.touches[0].pageY)),Math.pow(w.position().left-P.x,2)+Math.pow(w.position().top-P.y,2)>Math.pow(20,2)&&J())}function mt(t){_&&(pt(dt(t.pageX),ft(t.pageY)),t.preventDefault())}function vt(){_&&(_=!1,q=!0,Math.pow(w.position().left-P.x,2)+Math.pow(w.position().top-P.y,2)<Math.pow(20,2)&&(q=!1,pt(P.x,P.y)))}function gt(){vt(),(b.is(":visible")||y.is(":visible"))&&x.addClass("w-nohost-active"),J()}function yt(){if(!M&&m)if(T.hide(),y.is(":visible"))y.hide(),x.removeClass("w-nohost-active");else if(!b.is(":visible")){et();var t=(0,u.getLocalStorage)(l.CUR_SELECTED_USER);t&&(0,o.default)("#"+t).click(),b.hide(),tt(),x.addClass("w-nohost-active"),k.focus()}}function bt(){q?(y.hide(),x.removeClass("w-nohost-active")):(yt(),U())}function wt(){w.css("left","5%"),w.css("bottom","10%"),w.css("right","unset"),w.css("top","unset");var t=.6*(0,o.default)(window).height();A.css("max-height",t),N.css("max-height",t),j.css("max-height",t)}window.__nohostAPI={switchEnv:ot,getEnvData:function(t){"function"==typeof t&&(p=t,f&&t(f))}};var xt=null;function Tt(){clearTimeout(xt),xt=setTimeout((function(){var t=k.val().trim().toLowerCase();t?(L.addClass("w-nohost-disabled"),j.show(),N.hide(),A.hide(),function(t){var e=document.createDocumentFragment();t=t&&t.split(/\s+/),g.userList.forEach((function(n){if(!n.envList){var r=document.createElement("li");return r.id="__nohost_-_"+n.name,r.innerHTML="无代理环境","~"!==h&&h||(r.className="envSelected"),void e.appendChild(r)}n.envList.forEach((function(r){if((0,u.checkKeyword)(n.name+"/"+r.name,t)){var o=document.createElement("li");o.innerHTML=z(n.name+" / "+r.name),o.setAttribute("data-user-name",n.name),o.setAttribute("data-env-name",r.name),o.setAttribute("data-env-id",r.id),h&&n.name===h.name&&(h.envName?r.name===h.envName&&(o.className="envSelected"):r.id||(o.className="envSelected")),e.appendChild(o)}}))})),j.html(e)}(t)):v?(L.removeClass("w-nohost-disabled"),j.hide(),N.hide(),A.show()):(L.removeClass("w-nohost-disabled"),j.hide(),N.show(),A.hide())}),600)}function Ct(){if(document.body&&0===(0,o.default)("#w-nohost").length){(0,o.default)(a.default).appendTo(document.body),y=(0,o.default)("#w-nohost-select-modal"),b=(0,o.default)("#w-nohost-operation-modal"),w=(0,o.default)("#w-nohost-circle"),x=(0,o.default)("#w-nohost-circle-icon"),T=(0,o.default)("#w-nohost-circle-context"),C=(0,o.default)("#w-nohost-circle-env"),k=(0,o.default)("#w-nohost-filter"),N=(0,o.default)("#w-nohost-user-ul"),j=(0,o.default)("#w-nohost-env-filter"),A=(0,o.default)("#w-nohost-env-ul"),L=(0,o.default)("#w-nohost-btn--top"),D=(0,o.default)("#w-nohost-toast"),S=(0,o.default)("#w-nohost-circle-history"),E=(0,o.default)("#w-nohost-circle-default"),R=(0,o.default)("#w-nohost-custom"),I=(0,o.default)("#w-nohost-custom-context"),F=(0,o.default)("#w-nohost-custom-btn"),W=(0,o.default)("#w-nohost-custom-context-modal"),(0,o.default)(".w-nohost-toast-close").click((function(t){O||(0,o.default)(t.target).parent(".w-nohost-toast").hide()})),w.mouseenter(U).mouseleave((function(){T.hide()}));k.on("keydown",(function(t){var e=t.keyCode,n=40===e;if((n||38===e)&&j.is(":visible"))return function(t,e){var n=j.find(".envSelected");n.length&&(n.removeClass("envSelected"),n=(0,o.default)(n[0])[e?"next":"prev"]("li")),n.length||(n=j.find("li:"+(e?"first":"last"))),n.addClass("envSelected"),(0,u.scrollToView)(n),t.preventDefault()}(t,n)})).on("keyup",(function(t){13===t.keyCode?j.find(".envSelected").trigger("click"):27===t.keyCode&&y.hide()})),(0,o.default)("#w-nohost-circle-user").on("click",st),S.on("click",(function(t){var e=t.target.getAttribute("data-user-name"),n=t.target.getAttribute("data-env-id"),r=t.target.getAttribute("data-env-name");e&&ot({name:e,envId:n,envName:r})})),E.on("click",(function(){ot({name:"~"})})),x.on("touchstart",lt).on("mousedown",ut).on("click",bt).hover((function(){x.addClass("w-nohost-active")}),(function(){y.is(":visible")||x.removeClass("w-nohost-active")})),(0,o.default)("#w-nohost-circle-open").on("click",yt),(0,o.default)(document).on("touchmove",ht).on("touchend",gt).on("mousemove",mt).on("mouseup",vt),(0,o.default)("#w-nohost-operations").on("click",".w-nohost-operation",(function(t){switch((0,o.default)(t.target).attr("id")){case"w-nohost-reload-page":(0,u.reloadPage)();break;case"w-nohost-clear-cookie":(0,u.clearCookie)()?Y("清除"+document.domain+"域cookie成功",1500):G("清除"+document.domain+"域cookie失败",1500);break;case"w-nohost-clear-storage":(0,u.clearStorage)()?Y("清除localStorage成功",1500):G("清除localStorage失败",1500);break;case"w-nohost-choose-env":b.hide(),yt();break;case"w-nohost-custom-btn":b.hide(),W.show(),Z("#w-nohost-custom-menu")}})),k.on("input",Tt),y.on("click",rt),b.on("click",rt),W.on("click",rt),(0,o.default)("#w-nohost-close-modal").on("click",(function(){b.hide()})),(0,o.default)("#w-nohost-close-custom-modal").on("click",(function(){W.hide()})),N.on("click",it),A.on("click",at),j.on("click",at),L.on("click",(function(t){L.hasClass("w-nohost-disabled")||(v?((0,u.setLocalStorage)(l.CUR_SELECTED_USER,""),v=null,k.val(""),et(t)):(0,u.scrollToView)((0,o.default)("#w-nohost-user-ul .envSelected"),!0))})),wt(),(0,o.default)(window).resize(wt),K(),function(){if(o.default.isArray(window.nohostContextMenuExtensions)&&window.nohostContextMenuExtensions.length>0){R.show();var t=document.createDocumentFragment(),e=document.createDocumentFragment();window.nohostContextMenuExtensions.map((function(n){var o=n.name,i=n.title,a=n.onClick,s=n.autoHide,u=void 0===s||s,c=document.createElement("div");c.className="w-nohost-second-item",c.innerHTML=o,c.title=i,c.onclick=function(t){a(r({},t,{hide:T.hide})),u&&T.hide()},t.appendChild(c);var l=document.createElement("button");l.className="w-nohost-operation",l.innerHTML=o,l.onclick=function(t){a(r({},t,{hide:W.hide})),u&&W.hide()},e.appendChild(l)})),I.html(t),(0,o.default)("#w-nohost-custom-menu").append(e)}else R.hide(),F.addClass("w-nohost-custom-btn-hide")}(),(0,c.initEnvHistoryDom)()}}window.top===window.self&&(!function t(){o.default.ajax({url:V()+"/.whistle-path.5b6af7b9884e1165/whistle.nohost/cgi-bin/list",type:"json",method:"get",cache:!1,error:function(){H||setTimeout(t,1e3)},success:function(t){f=t,g=(0,s.default)(t),p&&p(t)}})}(),function(){0===(0,o.default)("#w-nohost").length&&(Ct(),setInterval(Ct,3e3));var t=function(){return G("无法复制, 请重试或使用其它浏览器",1500)},e=new i.default(".w-nohost-copy-env");e.on("success",(function(t){Y("已复制当前环境到剪贴板",1500),t.clearSelection()})),e.on("error",t);var n=new i.default(".w-nohost-copy-link");n.on("success",(function(t){Y("已复制包含当前环境的URL到剪贴板",1500),t.clearSelection()})),n.on("error",t)}(),$&&w.hide())},745:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default='<div id="w-nohost">\n<div class="w-nohost-modal" id="w-nohost-select-modal">\n <div id="w-nohost-list">\n <div id="w-nohost-toolbar">\n <button type="button" id="w-nohost-btn--top">当前环境/返回账号列表</button>\n <input id="w-nohost-filter" placeholder="输入字符过滤(忽略大小写)" autocomplete="off" />\n </div>\n <ul id="w-nohost-user-ul"></ul>\n <ul id="w-nohost-env-ul"></ul>\n <ul id="w-nohost-env-filter"></ul>\n </div>\n</div>\n<div class="w-nohost-modal" id="w-nohost-operation-modal">\n <div id="w-nohost-operations">\n <h4>Nohost快捷操作<span id="w-nohost-close-modal">X</span></h4>\n <button id="w-nohost-reload-page" class="w-nohost-operation">刷新页面</button>\n <button id="w-nohost-clear-cookie" class="w-nohost-operation">清除Cookie</button>\n <button id="w-nohost-clear-storage" class="w-nohost-operation">清除Storage</button>\n <button id="w-nohost-copy-env" class="w-nohost-operation w-nohost-copy-env">复制环境</button>\n <button id="w-nohost-copy-location" class="w-nohost-operation w-nohost-copy-link">复制地址</button>\n <button id="w-nohost-choose-env" class="w-nohost-operation">选择环境</button>\n <button id="w-nohost-custom-btn" class="w-nohost-operation">自定义菜单</button>\n </div>\n</div>\n<div class="w-nohost-modal" id="w-nohost-custom-context-modal">\n <div id="w-nohost-custom-menu">\n <h4>自定义菜单<span id="w-nohost-close-custom-modal">X</span></h4>\n </div>\n</div>\n<div id="w-nohost-toast" class="w-nohost-toast">\n <div class="w-nohost-toast-content"></div>\n</div>\n<div id="w-nohost-circle">\n <div id="w-nohost-circle-context">\n <div id="w-nohost-circle-env" class="w-nohost-copy-env" title="点击复制">\n 当前环境\n </div>\n <div class="w-nohost-circle-items">\n <div id="w-nohost-circle-history" class="w-nohost-circle-item w-nohost-has-second">\n 切换记录\n <div class="w-nohost-second-content-wrap">\n <div id="w-nohost-circle-history-list" class="w-nohost-second-content-content">\n </div>\n </div>\n </div>\n <div id="w-nohost-circle-default" class="w-nohost-circle-item">\n 无代理环境\n </div>\n <div id="w-nohost-circle-copyUrl" class="w-nohost-circle-item w-nohost-copy-link">\n 复制链接\n </div>\n <div id="w-nohost-circle-user" class="w-nohost-circle-item">\n 查看抓包\n </div>\n <div id="w-nohost-circle-open" class="w-nohost-circle-item">\n 选择环境\n </div>\n <div id="w-nohost-custom" class="w-nohost-circle-item w-nohost-has-second">\n 自定义菜单\n <div id="w-nohost-custom-context-wrap" class="w-nohost-second-content-wrap">\n <div id="w-nohost-custom-context" class="w-nohost-second-content-content">\n </div>\n </div>\n </div>\n </div>\n </div>\n <div id="w-nohost-circle-icon" title="点击打开环境选择窗口"></div>\n</div>\n</div>'},746:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.list,n=t.curEnv,r=[{name:"无代理环境"}];return e.forEach((function(t){t.active&&(t.envList.unshift({id:"",name:"无代理环境"}),r.push({name:t.name,envList:t.envList}))})),{curEnv:n,userList:r}}},747:function(t,e,n){var r=n(23),o=n(748);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},748:function(t,e,n){(e=n(24)(!1)).push([t.i,'.w-nohost-modal {\r\n display: none;\r\n position: fixed !important;\r\n z-index: 999997 !important;\r\n left: 0 !important;\r\n top: 0 !important;\r\n box-sizing: border-box !important;\r\n width: 100% !important;\r\n height: 100% !important;\r\n overflow: hidden !important;\r\n background-color: rgba(0, 0, 0, 0.6) !important;\r\n font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB",\r\n "Hiragino Sans GB W3", "WenQuanYi Micro Hei", sans-serif;\r\n}\r\n\r\n.w-nohost-modal * {\r\n box-sizing: border-box !important;\r\n}\r\n\r\n#w-nohost-operations,\r\n#w-nohost-custom-menu {\r\n max-height: 80%;\r\n overflow-y: scroll;\r\n width: 250px !important;\r\n margin-left: auto !important;\r\n margin-right: auto !important;\r\n background: rgba(255, 255, 255, 0.9) !important;\r\n padding: 10px !important;\r\n transition: 0.3s !important;\r\n font-size: 12px !important;\r\n line-height: 14px !important;\r\n border-radius: 5px !important;\r\n user-select: none !important;\r\n}\r\n\r\n#w-nohost-operation-modal h4,\r\n#w-nohost-custom-context-modal h4 {\r\n font-weight: bold !important;\r\n text-align: center !important;\r\n margin: 5px !important;\r\n font-size: 14px !important;\r\n position: relative !important;\r\n}\r\n\r\n#w-nohost-close-modal,\r\n#w-nohost-close-custom-modal {\r\n cursor: pointer !important;\r\n color: #aaa !important;\r\n position: absolute !important;\r\n right: -12px !important;\r\n top: -12px !important;\r\n padding: 6px !important;\r\n}\r\n\r\n.w-nohost-operation {\r\n display: block !important;\r\n border: none !important;\r\n color: white !important;\r\n cursor: pointer !important;\r\n background: #6cafe7 !important;\r\n text-align: center !important;\r\n border-radius: 3px !important;\r\n padding: 10px 8px !important;\r\n margin: 15px 0 !important;\r\n width: 100% !important;\r\n font-size: 16px;\r\n box-sizing: border-box !important;\r\n}\r\n\r\n#w-nohost-list {\r\n box-sizing: border-box !important;\r\n max-width: 420px !important;\r\n width: 88% !important;\r\n margin-left: auto !important;\r\n margin-right: auto !important;\r\n}\r\n\r\n#w-nohost-toolbar {\r\n position: relative !important;\r\n font-size: 16px !important;\r\n transition: background-color 0.6s !important;\r\n}\r\n\r\n#w-nohost-toolbar input {\r\n width: 100% !important;\r\n box-sizing: border-box !important;\r\n height: 40px !important;\r\n padding: 10px !important;\r\n border: 1px solid white !important;\r\n background: black !important;\r\n color: white !important;\r\n font-weight: bold !important;\r\n font-size: 14px !important;\r\n}\r\n\r\n#w-nohost-toolbar .tool-item {\r\n cursor: pointer !important;\r\n}\r\n#w-nohost-user-ul,\r\n#w-nohost-env-ul,\r\n#w-nohost-env-filter {\r\n display: none;\r\n list-style-type: none !important;\r\n padding: 0 !important;\r\n margin: 0 !important;\r\n overflow-x: hidden !important;\r\n overflow-y: auto !important;\r\n position: relative !important;\r\n}\r\n\r\n#w-nohost-list li {\r\n float: none !important;\r\n border: 1px solid #ccc !important;\r\n border-left: none !important;\r\n border-right: none !important;\r\n margin: -1px 0 0 0 !important;\r\n text-decoration: none !important;\r\n font-size: 16px !important;\r\n color: black !important;\r\n padding: 10px 16px !important;\r\n display: block !important;\r\n background: white !important;\r\n cursor: pointer !important;\r\n transition: background-color 0.3s;\r\n position: relative !important;\r\n}\r\n\r\n#w-nohost-user-ul li:first-child {\r\n position: sticky !important;\r\n top: 0 !important;\r\n z-index: 1000 !important;\r\n}\r\n\r\n#w-nohost-list .liWithSub:after {\r\n content: " " !important;\r\n position: absolute !important;\r\n top: 16px !important;\r\n right: 24px !important;\r\n width: 12px !important;\r\n height: 12px !important;\r\n border: 1px solid #aaaaaa !important;\r\n transform: rotate(45deg) !important;\r\n border-left: none !important;\r\n border-bottom: none !important;\r\n}\r\n#w-nohost-list .envSelected.liWithSub:after {\r\n border-color: #000 !important;\r\n}\r\n\r\n#w-nohost-list li:hover:not(.envSelected) {\r\n background-color: #e5eaf0 !important;\r\n}\r\n#w-nohost-list li.w-nohost-choosed:not(.envSelected) {\r\n background-color: #e5eaf0 !important;\r\n}\r\n#w-nohost-list .envSelected {\r\n background-color: #bdbdbd !important;\r\n}\r\n\r\n#w-nohost-list #w-nohost-user-ul #w-nohost-error-hint,\r\n#w-nohost-list #w-nohost-env-ul #w-nohost-error-hint {\r\n border: 1px solid #f6f6f6 !important;\r\n text-decoration: none !important;\r\n color: black !important;\r\n padding: 8px 12px 8px 36px !important;\r\n display: block !important;\r\n background: white !important;\r\n cursor: pointer;\r\n}\r\n\r\n#w-nohost-btn--top {\r\n position: relative !important;\r\n width: 100% !important;\r\n line-height: 38px !important;\r\n background-color: #6cafe7 !important;\r\n outline: none !important;\r\n border: none !important;\r\n font-size: 16px !important;\r\n cursor: pointer !important;\r\n transition: background-color 0.6s !important;\r\n color: white !important;\r\n overflow: hidden !important;\r\n text-overflow: ellipsis !important;\r\n white-space: nowrap !important;\r\n padding: 5px 20px !important;\r\n}\r\n\r\n#w-nohost-btn--top.w-nohost-disabled {\r\n cursor: not-allowed !important;\r\n}\r\n\r\n#w-nohost-btn--top.back::after {\r\n content: " " !important;\r\n position: absolute !important;\r\n top: 16px !important;\r\n left: 24px !important;\r\n width: 12px !important;\r\n height: 12px !important;\r\n border: 2px solid #fff !important;\r\n transform: rotate(45deg) !important;\r\n border-top: none !important;\r\n border-right: none !important;\r\n}\r\n\r\n#w-nohost-list #w-nohost-btn--back:hover,\r\n#w-nohost-list #w-nohost-btn--back:focus {\r\n background-color: #4097e0 !important;\r\n}\r\n\r\n#w-nohost-list #w-nohost-btn--back:before {\r\n content: " " !important;\r\n position: absolute !important;\r\n top: 17px !important;\r\n left: 12px !important;\r\n width: 12px !important;\r\n height: 12px !important;\r\n border: 2px solid #fff !important;\r\n transform: rotate(45deg) !important;\r\n border-right: none !important;\r\n border-top: none !important;\r\n}\r\n\r\n#w-nohost-circle {\r\n user-select: none !important;\r\n position: fixed !important;\r\n z-index: 999999999 !important;\r\n padding-right: 5px !important;\r\n padding-top: 20px !important;\r\n}\r\n\r\n#w-nohost-circle-context {\r\n position: absolute !important;\r\n top: 61px !important;\r\n left: 41px !important;\r\n transform: translate(0, -100%) !important;\r\n font-size: 14px !important;\r\n white-space: nowrap !important;\r\n background: #fff !important;\r\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;\r\n line-height: 30px !important;\r\n border-radius: 5px !important;\r\n display: none;\r\n user-select: none !important;\r\n}\r\n.w-nohost-circle-envs {\r\n border-bottom-left-radius: 5px !important;\r\n border-bottom-right-radius: 5px !important;\r\n}\r\n\r\n#w-nohost-circle-env {\r\n padding: 0 8px !important;\r\n color: #5bc0de !important;\r\n border-bottom: 1px solid #ddd !important;\r\n max-width: 250px !important;\r\n overflow: hidden !important;\r\n text-overflow: ellipsis !important;\r\n white-space: nowrap !important;\r\n cursor: pointer !important;\r\n}\r\n\r\n.w-nohost-circle-item {\r\n padding: 0 8px !important;\r\n white-space: nowrap !important;\r\n cursor: pointer !important;\r\n color: #000 !important;\r\n}\r\n\r\n.w-nohost-circle-item:hover {\r\n background: #f5f5f5 !important;\r\n color: #000 !important;\r\n}\r\n\r\n.w-nohost-circle-item:last-child {\r\n border-radius: 0 0 5px 5px;\r\n}\r\n\r\n#w-nohost-circle-icon {\r\n cursor: pointer !important;\r\n user-select: none !important;\r\n box-sizing: border-box !important;\r\n width: 40px !important;\r\n height: 40px !important;\r\n border-radius: 50% !important;\r\n background-color: #5bc0de !important;\r\n background-color: rgba(91, 192, 222, 0.3) !important;\r\n color: #008cba !important;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n font-size: 12px !important;\r\n display: flex !important;\r\n align-items: center !important;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n}\r\n\r\n.w-nohost-loading-circle {\r\n border-top: 5px solid rgba(84, 189, 221, 0.3) !important;\r\n animation: spin 1.6s linear infinite;\r\n}\r\n\r\n.w-nohost-loaded-circle {\r\n border: 4px solid rgba(84, 189, 221, 0.3) !important;\r\n}\r\n\r\n#w-nohost-circle-icon.w-nohost-active {\r\n background-color: #008cba !important;\r\n color: white !important;\r\n}\r\n\r\n#w-nohost-loader {\r\n box-sizing: border-box !important;\r\n display: none;\r\n position: fixed !important;\r\n z-index: 9999998 !important;\r\n top: 25% !important;\r\n left: 0 !important;\r\n right: 0 !important;\r\n width: 50px !important;\r\n height: 50px !important;\r\n margin: auto !important;\r\n border: 8px solid #eee !important;\r\n border-top: 8px solid #008cba !important;\r\n border-radius: 50% !important;\r\n animation: spin 1.6s linear infinite;\r\n}\r\n\r\n@keyframes spin {\r\n 0% {\r\n transform: rotate(0deg);\r\n }\r\n 100% {\r\n transform: rotate(360deg);\r\n }\r\n}\r\n\r\n.w-nohost-toast {\r\n display: none;\r\n z-index: 999999999 !important;\r\n position: fixed !important;\r\n top: 15px !important;\r\n left: 0 !important;\r\n right: 0 !important;\r\n margin: auto !important;\r\n width: 400px !important;\r\n max-width: 90% !important;\r\n background-color: #13ce66;\r\n color: white !important;\r\n text-align: center !important;\r\n padding: 10px !important;\r\n transition: 0.3s !important;\r\n font-size: 16px !important;\r\n border-radius: 3px !important;\r\n line-height: 20px !important;\r\n}\r\n\r\n.w-nohost-toast.w-nohost-toast-error {\r\n background-color: #e80808 !important;\r\n}\r\n\r\n.w-nohost-toast.w-nohost-toast-countdown {\r\n width: 40px !important;\r\n border-radius: 20px !important;\r\n}\r\n\r\n.w-nohost-toast-close:hover {\r\n color: #fff;\r\n}\r\n\r\n.w-nohost-has-second {\r\n display: none;\r\n position: relative;\r\n}\r\n\r\n.w-nohost-has-second::after {\r\n content: " " !important;\r\n position: absolute !important;\r\n top: 12px !important;\r\n right: 12px !important;\r\n width: 6px !important;\r\n height: 6px !important;\r\n border: 1px solid #aaaaaa !important;\r\n transform: rotate(45deg) !important;\r\n border-left: none !important;\r\n border-bottom: none !important;\r\n}\r\n\r\n.w-nohost-second-content-wrap {\r\n position: absolute !important;\r\n left: 100% !important;\r\n display: none;\r\n transform: translate(0, -100%) !important;\r\n}\r\n\r\n#w-nohost-circle-history .w-nohost-second-content-wrap {\r\n transform: translate(0, -30px) !important;\r\n}\r\n\r\n.w-nohost-second-content-content {\r\n margin-left: 3px;\r\n min-width: 130px !important;\r\n font-size: 14px !important;\r\n white-space: nowrap !important;\r\n background: #fff !important;\r\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;\r\n line-height: 30px !important;\r\n border-radius: 5px !important;\r\n user-select: none !important;\r\n}\r\n\r\n.w-nohost-second-item {\r\n max-width: 250px !important;\r\n overflow: hidden !important;\r\n text-overflow: ellipsis !important;\r\n white-space: nowrap !important;\r\n padding: 0 8px !important;\r\n cursor: pointer !important;\r\n}\r\n\r\n.w-nohost-second-item:hover {\r\n background: #f5f5f5 !important;\r\n}\r\n\r\n.w-nohost-second-item:nth-child(1) {\r\n border-top-left-radius: 5px !important;\r\n border-top-right-radius: 5px !important;\r\n}\r\n\r\n.w-nohost-second-item:last-child {\r\n border-bottom-right-radius: 5px !important;\r\n border-bottom-left-radius: 5px !important;\r\n}\r\n\r\n.w-nohost-has-second:hover .w-nohost-second-content-wrap {\r\n display: block !important;\r\n}\r\n\r\n.w-nohost-custom-btn-hide {\r\n display: none !important;\r\n}\r\n',""]),t.exports=e},749:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEnvHistory=l,e.setEnvHistory=function(t){var e=l(),n=-1;e.some((function(e,r){if(e.envId===t.envId)return n=r,!0})),n>-1&&e.splice(n,1);e.unshift(t),e.length>s.ENV_HISTORY&&(e.length=s.ENV_HISTORY);(0,a.setLocalStorage)(s.LAST_SELECTED_ENV,JSON.stringify(e))},e.initEnvHistoryDom=function(){var t=(0,i.default)("#w-nohost-circle-history-list"),e=l();if(e.length<1)return;var n=document.createDocumentFragment();e.forEach((function(t){var e=t.name,r=t.envId,o=t.envName,i=document.createElement("div");i.className="w-nohost-second-item",i.innerText=e+"/"+o,i.setAttribute("data-user-name",e),i.setAttribute("data-env-id",r),i.setAttribute("data-env-name",o),n.appendChild(i)})),t.html(n)};var r,o=n(49),i=(r=o)&&r.__esModule?r:{default:r},a=n(493),s=n(494);var u=/^[\w.-]{1,24}$/;function c(t){return!!(t&&t.name&&u.test(t.name))&&(t.envName=t.envName||"",t.envId=t.envId||"","string"==typeof t.envName&&"string"==typeof t.envId)}function l(){var t=(0,a.getLocalStorage)(s.LAST_SELECTED_ENV);if(!t)return[];if("["!==t[0]){try{localStorage.removeItem(s.LAST_SELECTED_ENV)}catch(t){}return[]}return(t=(0,a.safeParse)(t)||[]).filter(c)}}});
@@ -0,0 +1,31 @@
1
+ /*!
2
+ * Sizzle CSS Selector Engine v2.3.3
3
+ * https://sizzlejs.com/
4
+ *
5
+ * Copyright jQuery Foundation and other contributors
6
+ * Released under the MIT license
7
+ * http://jquery.org/license
8
+ *
9
+ * Date: 2016-08-08
10
+ */
11
+
12
+ /*!
13
+ * clipboard.js v2.0.11
14
+ * https://clipboardjs.com/
15
+ *
16
+ * Licensed MIT © Zeno Rocha
17
+ */
18
+
19
+ /*!
20
+ * jQuery JavaScript Library v3.3.1
21
+ * https://jquery.com/
22
+ *
23
+ * Includes Sizzle.js
24
+ * https://sizzlejs.com/
25
+ *
26
+ * Copyright JS Foundation and other contributors
27
+ * Released under the MIT license
28
+ * https://jquery.org/license
29
+ *
30
+ * Date: 2018-01-20T17:24Z
31
+ */