iqvoc_skosxl 2.9.1 → 2.11.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +8 -10
  3. data/Gemfile.lock +475 -296
  4. data/README.md +1 -1
  5. data/app/assets/javascripts/iqvoc_skosxl/duplicate_check.js +104 -0
  6. data/app/assets/javascripts/iqvoc_skosxl/manifest.js +4 -0
  7. data/app/assets/javascripts/iqvoc_skosxl/new_label_modal.js +19 -0
  8. data/app/assets/javascripts/manifest.js +3 -3
  9. data/app/assets/stylesheets/manifest.scss +4 -0
  10. data/app/controllers/labels/versions_controller.rb +30 -50
  11. data/app/controllers/labels_controller.rb +71 -25
  12. data/app/controllers/rdf_controller.rb +8 -7
  13. data/app/controllers/xl_dashboard_controller.rb +43 -0
  14. data/app/helpers/iqvoc_skosxl_helper.rb +4 -0
  15. data/app/helpers/labels_helper.rb +8 -6
  16. data/app/models/application_record.rb +3 -0
  17. data/app/models/collection/skosxl/extension.rb +8 -0
  18. data/app/models/concept/skosxl/extension.rb +4 -2
  19. data/app/models/label/relation/base.rb +2 -2
  20. data/app/models/label/skosxl/base.rb +166 -29
  21. data/app/models/label/skosxl/properties/literal_form.rb +1 -1
  22. data/app/models/labeling/skosxl/alt_label.rb +12 -0
  23. data/app/models/labeling/skosxl/base.rb +65 -10
  24. data/app/models/labeling/skosxl/hidden_label.rb +2 -2
  25. data/app/models/labeling/skosxl/pref_label.rb +4 -0
  26. data/app/views/concepts/_form.html.erb +115 -0
  27. data/app/views/labels/_form.html.erb +11 -3
  28. data/app/views/labels/_language.html.erb +4 -0
  29. data/app/views/labels/_sidebar.html.erb +13 -7
  30. data/app/views/labels/duplicate.html.erb +4 -0
  31. data/app/views/labels/new.html.erb +1 -0
  32. data/app/views/labels/new_from_concept.html.erb +28 -0
  33. data/app/views/labels/notifications/_referenced_labels.html.erb +0 -1
  34. data/app/views/{rdf/show_label.iqrdf → labels/show.iqrdf} +1 -1
  35. data/app/views/labels/show_published.html.erb +5 -3
  36. data/app/views/labels/show_unpublished.html.erb +19 -22
  37. data/app/views/layouts/_label_in_concept_modal.html.erb +2 -0
  38. data/app/views/layouts/application.html.erb +51 -0
  39. data/app/views/partials/_modal.html.erb +17 -0
  40. data/app/views/partials/label/skosxl/_inline_base.html.erb +1 -0
  41. data/app/views/partials/label/skosxl/_new_link_base.html.erb +1 -1
  42. data/app/views/partials/labeling/skosxl/_base.html.erb +20 -13
  43. data/app/views/partials/labeling/skosxl/_edit_base.html.erb +3 -2
  44. data/config/application.rb +26 -14
  45. data/config/boot.rb +3 -3
  46. data/config/cable.yml +10 -0
  47. data/config/database.yml +21 -15
  48. data/config/database.yml.postgresql +12 -9
  49. data/config/environment.rb +1 -1
  50. data/config/initializers/content_security_policy.rb +25 -0
  51. data/config/initializers/filter_parameter_logging.rb +6 -2
  52. data/config/initializers/inflections.rb +4 -4
  53. data/config/initializers/iqvoc.rb +2 -0
  54. data/config/initializers/permissions_policy.rb +11 -0
  55. data/config/initializers/wrap_parameters.rb +2 -2
  56. data/config/initializers/zeitwerk.rb +7 -0
  57. data/config/locales/activerecord.de.yml +5 -2
  58. data/config/locales/activerecord.en.yml +3 -0
  59. data/config/locales/de.yml +13 -0
  60. data/config/locales/en.yml +13 -0
  61. data/config/routes.rb +8 -12
  62. data/config/storage.yml +34 -0
  63. data/db/migrate/20110408121540_extend_label.rb +3 -3
  64. data/db/migrate/20110408123644_add_label_relations.rb +1 -1
  65. data/db/migrate/20150108154312_add_fk_contraints_iqvoc_skosxl.rb +1 -1
  66. data/db/migrate/20150414083600_remove_fk_constraints_iqvoc_skosxl.rb +1 -1
  67. data/db/migrate/20231012174634_remove_locked_by_for_label.rb +5 -0
  68. data/db/schema.rb +173 -182
  69. data/iqvoc_skosxl.gemspec +2 -2
  70. data/lib/iqvoc/skosxl/version.rb +1 -1
  71. data/lib/iqvoc_skosxl.rb +8 -1
  72. data/public/assets/fonts/FiraMono-Regular-0b6138c5b386dc9125473fd851926f29.ttf +0 -0
  73. data/public/assets/fonts/FiraMono-Regular-690950e8d89c92cba41eeeb13f1de93e.woff +0 -0
  74. data/public/assets/fonts/FiraMono-Regular-98f97ed2dbf9d94d4fa5df048434b88d.eot +0 -0
  75. data/public/assets/fonts/FiraMono-Regular.eot +0 -0
  76. data/public/assets/fonts/FiraMono-Regular.ttf +0 -0
  77. data/public/assets/fonts/FiraMono-Regular.woff +0 -0
  78. data/public/assets/fonts/FiraSans-Bold-0de5f536bd0dc370449c0c67a49a6fe7.eot +0 -0
  79. data/public/assets/fonts/FiraSans-Bold-25037ef8d155e38b5df0c242a4c6cf2d.ttf +0 -0
  80. data/public/assets/fonts/FiraSans-Bold-494219a9639084eb9528ff47f79fcda1.woff +0 -0
  81. data/public/assets/fonts/FiraSans-Bold.eot +0 -0
  82. data/public/assets/fonts/FiraSans-Bold.ttf +0 -0
  83. data/public/assets/fonts/FiraSans-Bold.woff +0 -0
  84. data/public/assets/fonts/FiraSans-BoldItalic-5b3b812df9e1cb2b1f34baad65a2bdfb.ttf +0 -0
  85. data/public/assets/fonts/FiraSans-BoldItalic-90b8087c48feff2e828f658c49de5399.eot +0 -0
  86. data/public/assets/fonts/FiraSans-BoldItalic-b10e46158d50bf9b78968112acf87310.woff +0 -0
  87. data/public/assets/fonts/FiraSans-BoldItalic.eot +0 -0
  88. data/public/assets/fonts/FiraSans-BoldItalic.ttf +0 -0
  89. data/public/assets/fonts/FiraSans-BoldItalic.woff +0 -0
  90. data/public/assets/fonts/FiraSans-Book-659d252627051e785260ba445da8930f.woff +0 -0
  91. data/public/assets/fonts/FiraSans-Book-abc65ceb7bfaed729bff7a9d1367b7d4.eot +0 -0
  92. data/public/assets/fonts/FiraSans-Book-f0410501d5ecc5fe66bcdbc02b482c81.ttf +0 -0
  93. data/public/assets/fonts/FiraSans-Book.eot +0 -0
  94. data/public/assets/fonts/FiraSans-Book.ttf +0 -0
  95. data/public/assets/fonts/FiraSans-Book.woff +0 -0
  96. data/public/assets/fonts/FiraSans-ExtraLight-140f15ee97cb2099ff01c2b57dcd1a24.woff +0 -0
  97. data/public/assets/fonts/FiraSans-ExtraLight-28e5c2679df66406ebd117fbdded6753.eot +0 -0
  98. data/public/assets/fonts/FiraSans-ExtraLight-c15de70ebceffce178cbd2e82aa2c373.ttf +0 -0
  99. data/public/assets/fonts/FiraSans-ExtraLight.eot +0 -0
  100. data/public/assets/fonts/FiraSans-ExtraLight.ttf +0 -0
  101. data/public/assets/fonts/FiraSans-ExtraLight.woff +0 -0
  102. data/public/assets/fonts/FiraSans-Italic-ac4cb18fe14a7c90f29cdd2ce499ba59.woff +0 -0
  103. data/public/assets/fonts/FiraSans-Italic-bdea00fee0da5ca9176061e00c26a0da.eot +0 -0
  104. data/public/assets/fonts/FiraSans-Italic-e7e76a0ee170fd29b5d8100753eff569.ttf +0 -0
  105. data/public/assets/fonts/FiraSans-Italic.eot +0 -0
  106. data/public/assets/fonts/FiraSans-Italic.ttf +0 -0
  107. data/public/assets/fonts/FiraSans-Italic.woff +0 -0
  108. data/public/assets/fonts/FiraSans-Light-20adaf630b690c3e3184daaeae585f22.woff +0 -0
  109. data/public/assets/fonts/FiraSans-Light-3689e18b38d335ec0c43823adb6a2984.eot +0 -0
  110. data/public/assets/fonts/FiraSans-Light-55b04531e7a9ecdf58090d70b94b68e2.ttf +0 -0
  111. data/public/assets/fonts/FiraSans-Light-SC-098407a72b7ad46f7c2480d7ac11baf2.eot +0 -0
  112. data/public/assets/fonts/FiraSans-Light-SC-82763fe2ce9e6b897556c6f3c2aceb29.woff2 +0 -0
  113. data/public/assets/fonts/FiraSans-Light-SC-c73985985f0501c1845a5185b180fe6b.woff +0 -0
  114. data/public/assets/fonts/FiraSans-Light-SC-c9563f48d9cccd91f07e46801c27130f.ttf +0 -0
  115. data/public/assets/fonts/FiraSans-Light-SC.eot +0 -0
  116. data/public/assets/fonts/FiraSans-Light-SC.ttf +0 -0
  117. data/public/assets/fonts/FiraSans-Light-SC.woff +0 -0
  118. data/public/assets/fonts/FiraSans-Light-SC.woff2 +0 -0
  119. data/public/assets/fonts/FiraSans-Light.eot +0 -0
  120. data/public/assets/fonts/FiraSans-Light.ttf +0 -0
  121. data/public/assets/fonts/FiraSans-Light.woff +0 -0
  122. data/public/assets/fonts/FiraSans-Medium-082fab59048189168006bf2e914ba8b7.woff +0 -0
  123. data/public/assets/fonts/FiraSans-Medium-11706edfe8651c355b413bd24b4b5e10.eot +0 -0
  124. data/public/assets/fonts/FiraSans-Medium-3a0dacdeaba1b4c054f2d6cb5061965d.ttf +0 -0
  125. data/public/assets/fonts/FiraSans-Medium.eot +0 -0
  126. data/public/assets/fonts/FiraSans-Medium.ttf +0 -0
  127. data/public/assets/fonts/FiraSans-Medium.woff +0 -0
  128. data/public/assets/fonts/FiraSans-MediumItalic-6c8a2646d72641226527d574a8485b66.woff +0 -0
  129. data/public/assets/fonts/FiraSans-MediumItalic-b81e92794a6878b6c578d97b3ad5e6d7.ttf +0 -0
  130. data/public/assets/fonts/FiraSans-MediumItalic-eae7f4a3c4db9fe83025909ebfae5ad9.eot +0 -0
  131. data/public/assets/fonts/FiraSans-MediumItalic.eot +0 -0
  132. data/public/assets/fonts/FiraSans-MediumItalic.ttf +0 -0
  133. data/public/assets/fonts/FiraSans-MediumItalic.woff +0 -0
  134. data/public/assets/fonts/FiraSans-Regular-537188a19aeebdd74a92e114af7a02cb.ttf +0 -0
  135. data/public/assets/fonts/FiraSans-Regular-5d6a923de9be80ff5c2995cc03d93127.woff +0 -0
  136. data/public/assets/fonts/FiraSans-Regular-db689e5fea21ed4b7890811151968dc6.eot +0 -0
  137. data/public/assets/fonts/FiraSans-Regular.eot +0 -0
  138. data/public/assets/fonts/FiraSans-Regular.ttf +0 -0
  139. data/public/assets/fonts/FiraSans-Regular.woff +0 -0
  140. data/public/assets/fonts/FiraSans-UltraLight-3baefce4c224a0f0b26cdafe37dfa55d.eot +0 -0
  141. data/public/assets/fonts/FiraSans-UltraLight-e3909a352b87f853bb464836adfd602a.ttf +0 -0
  142. data/public/assets/fonts/FiraSans-UltraLight-f7289beeaa2353caf487553ee8b8ef03.woff +0 -0
  143. data/public/assets/fonts/FiraSans-UltraLight.eot +0 -0
  144. data/public/assets/fonts/FiraSans-UltraLight.ttf +0 -0
  145. data/public/assets/fonts/FiraSans-UltraLight.woff +0 -0
  146. data/public/assets/fonts/FontAwesome.otf +0 -0
  147. data/public/assets/fonts/fontawesome-webfont.eot +0 -0
  148. data/public/assets/fonts/fontawesome-webfont.svg +2671 -0
  149. data/public/assets/fonts/fontawesome-webfont.ttf +0 -0
  150. data/public/assets/fonts/fontawesome-webfont.woff +0 -0
  151. data/public/assets/fonts/fontawesome-webfont.woff2 +0 -0
  152. data/public/assets/images/ajax-loader-30d8e72bfdae694b1938658e1b087df0.gif +0 -0
  153. data/public/assets/images/ajax-loader.gif +0 -0
  154. data/public/assets/images/iqvoc_logo-165f17a46cf0a1bf9464db9d136fb843.svg +41 -0
  155. data/public/assets/images/iqvoc_logo.svg +41 -0
  156. data/public/assets/images/treeview-default-line-5e3c0e0c48f48c23c45aef7b72c739c0.gif +0 -0
  157. data/public/assets/images/treeview-default-line.gif +0 -0
  158. data/public/assets/javascripts/bootstrap.bundle.min-3e959f3b878396c38e4ca7787278131b.js +6 -0
  159. data/public/assets/javascripts/bootstrap.bundle.min-68b3c2f1c1f636f947fff1229d3ffbf5.js +7 -0
  160. data/public/assets/javascripts/bootstrap.bundle.min.js +31 -0
  161. data/public/assets/javascripts/jquery-d52dc3a9171f1fc89dd0f8e35e42c9d2.js +26 -0
  162. data/public/assets/javascripts/jquery.js +10701 -0
  163. data/public/assets/javascripts/manifest-d95423d4873e576e7ae0b6a57cf18ec5.js +5486 -0
  164. data/public/assets/javascripts/manifest.js +6981 -0
  165. data/public/assets/manifest.json +1 -0
  166. data/public/assets/stylesheets/manifest-bbb2857850990f13f777f3dec120a018.css +13 -0
  167. data/public/assets/stylesheets/manifest-c82b7dfb6cbb9f6284de38abacbf7d49.css +13 -0
  168. data/public/assets/stylesheets/manifest.css +13620 -0
  169. data/public/favicon.ico +0 -0
  170. data/test/controllers/rdf_rendering_test.rb +19 -0
  171. data/test/controllers/routing_test.rb +5 -1
  172. data/test/integration/concept_label_language_test.rb +1 -3
  173. data/test/integration/dashboard_test.rb +1 -1
  174. data/test/integration/duplicate_label_test.rb +52 -0
  175. data/test/integration/edit_labels_test.rb +2 -2
  176. data/test/integration/label_creation_test.rb +8 -0
  177. data/test/integration/label_relation_test.rb +2 -2
  178. data/test/integration/labels_order_test.rb +6 -6
  179. data/test/integration/search_test.rb +117 -0
  180. data/test/integration_test_helper.rb +2 -2
  181. data/test/models/concept_test.rb +12 -0
  182. data/test/models/skos_importer_test.rb +1 -1
  183. data/test/models/zeitwerk_compliance_test.rb +7 -0
  184. metadata +139 -26
  185. data/app/assets/stylesheets/manifest.css.scss +0 -4
  186. data/app/views/labels/_value_and_language.html.erb +0 -9
  187. data/config/initializers/backtrace_silencers.rb +0 -7
  188. data/config/initializers/cookies_serializer.rb +0 -3
  189. data/config/initializers/mime_types.rb +0 -4
  190. data/public/export/iqvoc_dump-2017-06-07_13-08.ttl +0 -70
@@ -0,0 +1,31 @@
1
+ (function (require$$0) {
2
+ 'use strict';
3
+
4
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
5
+
6
+ var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0);
7
+
8
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
9
+
10
+ function getDefaultExportFromCjs (x) {
11
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
12
+ }
13
+
14
+ var bootstrap_bundle_min$1 = {exports: {}};
15
+
16
+ /*!
17
+ * Bootstrap v4.3.1 (https://getbootstrap.com/)
18
+ * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
19
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
20
+ */
21
+
22
+ (function (module, exports) {
23
+ !function(t,e){e(exports,require$$0__default["default"]);}(commonjsGlobal,function(t,p){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}function s(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function l(o){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(t){var e,n,i;e=o,i=r[n=t],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i;});}return o}p=p&&p.hasOwnProperty("default")?p.default:p;var e="transitionend";function n(t){var e=this,n=!1;return p(this).one(m.TRANSITION_END,function(){n=!0;}),setTimeout(function(){n||m.triggerTransitionEnd(e);},t),this}var m={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():"";}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=p(t).css("transition-duration"),n=p(t).css("transition-delay"),i=parseFloat(e),o=parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){p(t).trigger(e);},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return (t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],s=r&&m.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a;},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?m.findShadowRoot(t.parentNode):null;var e=t.getRootNode();return e instanceof ShadowRoot?e:null}};p.fn.emulateTransitionEnd=n,p.event.special[m.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(p(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var o="alert",r="bs.alert",a="."+r,c=p.fn[o],h={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},u="alert",f="fade",d="show",g=function(){function i(t){this._element=t;}var t=i.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e);},t.dispose=function(){p.removeData(this._element,r),this._element=null;},t._getRootElement=function(t){var e=m.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=p(t).closest("."+u)[0]),n},t._triggerCloseEvent=function(t){var e=p.Event(h.CLOSE);return p(t).trigger(e),e},t._removeElement=function(e){var n=this;if(p(e).removeClass(d),p(e).hasClass(f)){var t=m.getTransitionDurationFromElement(e);p(e).one(m.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t);}else this._destroyElement(e);},t._destroyElement=function(t){p(t).detach().trigger(h.CLOSED).remove();},i._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(r);e||(e=new i(this),t.data(r,e)),"close"===n&&e[n](this);})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this);}},s(i,null,[{key:"VERSION",get:function(){return "4.3.1"}}]),i}();p(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',g._handleDismiss(new g)),p.fn[o]=g._jQueryInterface,p.fn[o].Constructor=g,p.fn[o].noConflict=function(){return p.fn[o]=c,g._jQueryInterface};var _="button",v="bs.button",y="."+v,E=".data-api",b=p.fn[_],w="active",C="btn",T="focus",S='[data-toggle^="button"]',D='[data-toggle="buttons"]',I='input:not([type="hidden"])',A=".active",O=".btn",N={CLICK_DATA_API:"click"+y+E,FOCUS_BLUR_DATA_API:"focus"+y+E+" blur"+y+E},k=function(){function n(t){this._element=t;}var t=n.prototype;return t.toggle=function(){var t=!0,e=!0,n=p(this._element).closest(D)[0];if(n){var i=this._element.querySelector(I);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(w))t=!1;else {var o=n.querySelector(A);o&&p(o).removeClass(w);}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(w),p(i).trigger("change");}i.focus(),e=!1;}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(w)),t&&p(this._element).toggleClass(w);},t.dispose=function(){p.removeData(this._element,v),this._element=null;},n._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(v);t||(t=new n(this),p(this).data(v,t)),"toggle"===e&&t[e]();})},s(n,null,[{key:"VERSION",get:function(){return "4.3.1"}}]),n}();p(document).on(N.CLICK_DATA_API,S,function(t){t.preventDefault();var e=t.target;p(e).hasClass(C)||(e=p(e).closest(O)),k._jQueryInterface.call(p(e),"toggle");}).on(N.FOCUS_BLUR_DATA_API,S,function(t){var e=p(t.target).closest(O)[0];p(e).toggleClass(T,/^focus(in)?$/.test(t.type));}),p.fn[_]=k._jQueryInterface,p.fn[_].Constructor=k,p.fn[_].noConflict=function(){return p.fn[_]=b,k._jQueryInterface};var L="carousel",x="bs.carousel",P="."+x,H=".data-api",j=p.fn[L],R={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},F={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},M="next",W="prev",U="left",B="right",q={SLIDE:"slide"+P,SLID:"slid"+P,KEYDOWN:"keydown"+P,MOUSEENTER:"mouseenter"+P,MOUSELEAVE:"mouseleave"+P,TOUCHSTART:"touchstart"+P,TOUCHMOVE:"touchmove"+P,TOUCHEND:"touchend"+P,POINTERDOWN:"pointerdown"+P,POINTERUP:"pointerup"+P,DRAG_START:"dragstart"+P,LOAD_DATA_API:"load"+P+H,CLICK_DATA_API:"click"+P+H},K="carousel",Q="active",V="slide",Y="carousel-item-right",z="carousel-item-left",X="carousel-item-next",G="carousel-item-prev",$="pointer-event",J=".active",Z=".active.carousel-item",tt=".carousel-item",et=".carousel-item img",nt=".carousel-item-next, .carousel-item-prev",it=".carousel-indicators",ot="[data-slide], [data-slide-to]",rt='[data-ride="carousel"]',st={TOUCH:"touch",PEN:"pen"},at=function(){function r(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(it),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners();}var t=r.prototype;return t.next=function(){this._isSliding||this._slide(M);},t.nextWhenVisible=function(){!document.hidden&&p(this._element).is(":visible")&&"hidden"!==p(this._element).css("visibility")&&this.next();},t.prev=function(){this._isSliding||this._slide(W);},t.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(nt)&&(m.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null;},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval));},t.to=function(t){var e=this;this._activeElement=this._element.querySelector(Z);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)p(this._element).one(q.SLID,function(){return e.to(t)});else {if(n===t)return this.pause(),void this.cycle();var i=n<t?M:W;this._slide(i,this._items[t]);}},t.dispose=function(){p(this._element).off(P),p.removeData(this._element,x),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null;},t._getConfig=function(t){return t=l({},R,t),m.typeCheckConfig(L,t,F),t},t._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;0<e&&this.prev(),e<0&&this.next();}},t._addEventListeners=function(){var e=this;this._config.keyboard&&p(this._element).on(q.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&p(this._element).on(q.MOUSEENTER,function(t){return e.pause(t)}).on(q.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners();},t._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var e=function(t){n._pointerEvent&&st[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX);},i=function(t){n._pointerEvent&&st[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval));};p(this._element.querySelectorAll(et)).on(q.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(p(this._element).on(q.POINTERDOWN,function(t){return e(t)}),p(this._element).on(q.POINTERUP,function(t){return i(t)}),this._element.classList.add($)):(p(this._element).on(q.TOUCHSTART,function(t){return e(t)}),p(this._element).on(q.TOUCHMOVE,function(t){var e;(e=t).originalEvent.touches&&1<e.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=e.originalEvent.touches[0].clientX-n.touchStartX;}),p(this._element).on(q.TOUCHEND,function(t){return i(t)}));}},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next();}},t._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(tt)):[],this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===M,i=t===W,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===W?-1:1))%this._items.length;return -1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(Z)),o=p.Event(q.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return p(this._element).trigger(o),o},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(J));p(e).removeClass(Q);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&p(n).addClass(Q);}},t._slide=function(t,e){var n,i,o,r=this,s=this._element.querySelector(Z),a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),c=this._getItemIndex(l),h=Boolean(this._interval);if(o=t===M?(n=z,i=X,U):(n=Y,i=G,B),l&&p(l).hasClass(Q))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&s&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var u=p.Event(q.SLID,{relatedTarget:l,direction:o,from:a,to:c});if(p(this._element).hasClass(V)){p(l).addClass(i),m.reflow(l),p(s).addClass(n),p(l).addClass(n);var f=parseInt(l.getAttribute("data-interval"),10);this._config.interval=f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,f):this._config.defaultInterval||this._config.interval;var d=m.getTransitionDurationFromElement(s);p(s).one(m.TRANSITION_END,function(){p(l).removeClass(n+" "+i).addClass(Q),p(s).removeClass(Q+" "+i+" "+n),r._isSliding=!1,setTimeout(function(){return p(r._element).trigger(u)},0);}).emulateTransitionEnd(d);}else p(s).removeClass(Q),p(l).addClass(Q),this._isSliding=!1,p(this._element).trigger(u);h&&this.cycle();}},r._jQueryInterface=function(i){return this.each(function(){var t=p(this).data(x),e=l({},R,p(this).data());"object"==typeof i&&(e=l({},e,i));var n="string"==typeof i?i:e.slide;if(t||(t=new r(this,e),p(this).data(x,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]();}else e.interval&&e.ride&&(t.pause(),t.cycle());})},r._dataApiClickHandler=function(t){var e=m.getSelectorFromElement(this);if(e){var n=p(e)[0];if(n&&p(n).hasClass(K)){var i=l({},p(n).data(),p(this).data()),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),r._jQueryInterface.call(p(n),i),o&&p(n).data(x).to(o),t.preventDefault();}}},s(r,null,[{key:"VERSION",get:function(){return "4.3.1"}},{key:"Default",get:function(){return R}}]),r}();p(document).on(q.CLICK_DATA_API,ot,at._dataApiClickHandler),p(window).on(q.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(rt)),e=0,n=t.length;e<n;e++){var i=p(t[e]);at._jQueryInterface.call(i,i.data());}}),p.fn[L]=at._jQueryInterface,p.fn[L].Constructor=at,p.fn[L].noConflict=function(){return p.fn[L]=j,at._jQueryInterface};var lt="collapse",ct="bs.collapse",ht="."+ct,ut=p.fn[lt],ft={toggle:!0,parent:""},dt={toggle:"boolean",parent:"(string|element)"},pt={SHOW:"show"+ht,SHOWN:"shown"+ht,HIDE:"hide"+ht,HIDDEN:"hidden"+ht,CLICK_DATA_API:"click"+ht+".data-api"},mt="show",gt="collapse",_t="collapsing",vt="collapsed",yt="width",Et="height",bt=".show, .collapsing",wt='[data-toggle="collapse"]',Ct=function(){function a(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(wt)),i=0,o=n.length;i<o;i++){var r=n[i],s=m.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(r));}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle();}var t=a.prototype;return t.toggle=function(){p(this._element).hasClass(mt)?this.hide():this.show();},t.show=function(){var t,e,n=this;if(!this._isTransitioning&&!p(this._element).hasClass(mt)&&(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(bt)).filter(function(t){return "string"==typeof n._config.parent?t.getAttribute("data-parent")===n._config.parent:t.classList.contains(gt)})).length&&(t=null),!(t&&(e=p(t).not(this._selector).data(ct))&&e._isTransitioning))){var i=p.Event(pt.SHOW);if(p(this._element).trigger(i),!i.isDefaultPrevented()){t&&(a._jQueryInterface.call(p(t).not(this._selector),"hide"),e||p(t).data(ct,null));var o=this._getDimension();p(this._element).removeClass(gt).addClass(_t),this._element.style[o]=0,this._triggerArray.length&&p(this._triggerArray).removeClass(vt).attr("aria-expanded",!0),this.setTransitioning(!0);var r="scroll"+(o[0].toUpperCase()+o.slice(1)),s=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(){p(n._element).removeClass(_t).addClass(gt).addClass(mt),n._element.style[o]="",n.setTransitioning(!1),p(n._element).trigger(pt.SHOWN);}).emulateTransitionEnd(s),this._element.style[o]=this._element[r]+"px";}}},t.hide=function(){var t=this;if(!this._isTransitioning&&p(this._element).hasClass(mt)){var e=p.Event(pt.HIDE);if(p(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",m.reflow(this._element),p(this._element).addClass(_t).removeClass(gt).removeClass(mt);var i=this._triggerArray.length;if(0<i)for(var o=0;o<i;o++){var r=this._triggerArray[o],s=m.getSelectorFromElement(r);if(null!==s)p([].slice.call(document.querySelectorAll(s))).hasClass(mt)||p(r).addClass(vt).attr("aria-expanded",!1);}this.setTransitioning(!0);this._element.style[n]="";var a=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(){t.setTransitioning(!1),p(t._element).removeClass(_t).addClass(gt).trigger(pt.HIDDEN);}).emulateTransitionEnd(a);}}},t.setTransitioning=function(t){this._isTransitioning=t;},t.dispose=function(){p.removeData(this._element,ct),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null;},t._getConfig=function(t){return (t=l({},ft,t)).toggle=Boolean(t.toggle),m.typeCheckConfig(lt,t,dt),t},t._getDimension=function(){return p(this._element).hasClass(yt)?yt:Et},t._getParent=function(){var t,n=this;m.isElement(this._config.parent)?(t=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(t.querySelectorAll(e));return p(i).each(function(t,e){n._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e]);}),t},t._addAriaAndCollapsedClass=function(t,e){var n=p(t).hasClass(mt);e.length&&p(e).toggleClass(vt,!n).attr("aria-expanded",n);},a._getTargetFromElement=function(t){var e=m.getSelectorFromElement(t);return e?document.querySelector(e):null},a._jQueryInterface=function(i){return this.each(function(){var t=p(this),e=t.data(ct),n=l({},ft,t.data(),"object"==typeof i&&i?i:{});if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new a(this,n),t.data(ct,e)),"string"==typeof i){if("undefined"==typeof e[i])throw new TypeError('No method named "'+i+'"');e[i]();}})},s(a,null,[{key:"VERSION",get:function(){return "4.3.1"}},{key:"Default",get:function(){return ft}}]),a}();p(document).on(pt.CLICK_DATA_API,wt,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=p(this),e=m.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(e));p(i).each(function(){var t=p(this),e=t.data(ct)?"toggle":n.data();Ct._jQueryInterface.call(t,e);});}),p.fn[lt]=Ct._jQueryInterface,p.fn[lt].Constructor=Ct,p.fn[lt].noConflict=function(){return p.fn[lt]=ut,Ct._jQueryInterface};for(var Tt="undefined"!=typeof window&&"undefined"!=typeof document,St=["Edge","Trident","Firefox"],Dt=0,It=0;It<St.length;It+=1)if(Tt&&0<=navigator.userAgent.indexOf(St[It])){Dt=1;break}var At=Tt&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t();}));}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t();},Dt));}};function Ot(t){return t&&"[object Function]"==={}.toString.call(t)}function Nt(t,e){if(1!==t.nodeType)return [];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function kt(t){return "HTML"===t.nodeName?t:t.parentNode||t.host}function Lt(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Nt(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return /(auto|scroll|overlay)/.test(n+o+i)?t:Lt(kt(t))}var xt=Tt&&!(!window.MSInputMethodContext||!document.documentMode),Pt=Tt&&/MSIE 10/.test(navigator.userAgent);function Ht(t){return 11===t?xt:10===t?Pt:xt||Pt}function jt(t){if(!t)return document.documentElement;for(var e=Ht(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Nt(n,"position")?jt(n):n:t?t.ownerDocument.documentElement:document.documentElement}function Rt(t){return null!==t.parentNode?Rt(t.parentNode):t}function Ft(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return "BODY"===(a=(s=l).nodeName)||"HTML"!==a&&jt(s.firstElementChild)!==s?jt(l):l;var c=Rt(t);return c.host?Ft(c.host,e):Ft(t,Rt(e).host)}function Mt(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"!==n&&"HTML"!==n)return t[e];var i=t.ownerDocument.documentElement;return (t.ownerDocument.scrollingElement||i)[e]}function Wt(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function Ut(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Ht(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function Bt(t){var e=t.body,n=t.documentElement,i=Ht(10)&&getComputedStyle(n);return {height:Ut("Height",e,n,i),width:Ut("Width",e,n,i)}}var qt=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}(),Kt=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);}return t};function Vt(t){return Qt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Yt(t){var e={};try{if(Ht(10)){e=t.getBoundingClientRect();var n=Mt(t,"top"),i=Mt(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i;}else e=t.getBoundingClientRect();}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?Bt(t.ownerDocument):{},s=r.width||t.clientWidth||o.right-o.left,a=r.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-s,c=t.offsetHeight-a;if(l||c){var h=Nt(t);l-=Wt(h,"x"),c-=Wt(h,"y"),o.width-=l,o.height-=c;}return Vt(o)}function zt(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=Ht(10),o="HTML"===e.nodeName,r=Yt(t),s=Yt(e),a=Lt(t),l=Nt(e),c=parseFloat(l.borderTopWidth,10),h=parseFloat(l.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=Vt({top:r.top-s.top-c,left:r.left-s.left-h,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var f=parseFloat(l.marginTop,10),d=parseFloat(l.marginLeft,10);u.top-=c-f,u.bottom-=c-f,u.left-=h-d,u.right-=h-d,u.marginTop=f,u.marginLeft=d;}return (i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=Mt(e,"top"),o=Mt(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}(u,e)),u}function Xt(t){if(!t||!t.parentElement||Ht())return document.documentElement;for(var e=t.parentElement;e&&"none"===Nt(e,"transform");)e=e.parentElement;return e||document.documentElement}function Gt(t,e,n,i){var o=4<arguments.length&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?Xt(t):Ft(t,e);if("viewport"===i)r=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=zt(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:Mt(n),a=e?0:Mt(n,"left");return Vt({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r})}(s,o);else {var a=void 0;"scrollParent"===i?"BODY"===(a=Lt(kt(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var l=zt(a,s,o);if("HTML"!==a.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return !1;if("fixed"===Nt(e,"position"))return !0;var i=kt(e);return !!i&&t(i)}(s))r=l;else {var c=Bt(t.ownerDocument),h=c.height,u=c.width;r.top+=l.top-l.marginTop,r.bottom=h+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left;}}var f="number"==typeof(n=n||0);return r.left+=f?n:n.left||0,r.top+=f?n:n.top||0,r.right-=f?n:n.right||0,r.bottom-=f?n:n.bottom||0,r}function $t(t,e,i,n,o){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=Gt(i,n,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return Qt({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e;}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),h=0<c.length?c[0].key:l[0].key,u=t.split("-")[1];return h+(u?"-"+u:"")}function Jt(t,e,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return zt(n,i?Xt(e):Ft(e,n),i)}function Zt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return {width:t.offsetWidth+i,height:t.offsetHeight+n}}function te(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function ee(t,e,n){n=n.split("-")[0];var i=Zt(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[te(a)],o}function ne(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function ie(t,n,e){return (void 0===e?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=ne(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&Ot(e)&&(n.offsets.popper=Vt(n.offsets.popper),n.offsets.reference=Vt(n.offsets.reference),n=e(n,t));}),n}function oe(t,n){return t.some(function(t){var e=t.name;return t.enabled&&e===n})}function re(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if("undefined"!=typeof document.body.style[r])return r}return null}function se(t){var e=t.ownerDocument;return e?e.defaultView:window}function ae(t,e,n,i){n.updateBound=i,se(t).addEventListener("resize",n.updateBound,{passive:!0});var o=Lt(t);return function t(e,n,i,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(n,i,{passive:!0}),r||t(Lt(s.parentNode),n,i,o),o.push(s);}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function le(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,se(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound);}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e));}function ce(t){return ""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function he(n,i){Object.keys(i).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&ce(i[t])&&(e="px"),n.style[t]=i[t]+e;});}var ue=Tt&&/Firefox/i.test(navigator.userAgent);function fe(t,e,n){var i=ne(t,function(t){return t.name===e}),o=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!o){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!");}return o}var de=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],pe=de.slice(3);function me(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=pe.indexOf(t),i=pe.slice(n+1).concat(pe.slice(0,n));return e?i.reverse():i}var ge="flip",_e="clockwise",ve="counterclockwise";function ye(t,o,r,e){var s=[0,0],a=-1!==["right","left"].indexOf(e),n=t.split(/(\+|\-)/).map(function(t){return t.trim()}),i=n.indexOf(ne(n,function(t){return -1!==t.search(/,|\s/)}));n[i]&&-1===n[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==i?[n.slice(0,i).concat([n[i].split(l)[0]]),[n[i].split(l)[1]].concat(n.slice(i+1))]:[n];return (c=c.map(function(t,e){var n=(1===e?!a:a)?"height":"width",i=!1;return t.reduce(function(t,e){return ""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,i=!0,t):i?(t[t.length-1]+=e,i=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0!==s.indexOf("%"))return "vh"!==s&&"vw"!==s?r:("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i;}return Vt(a)[e]/100*r}(t,n,o,r)})})).forEach(function(n,i){n.forEach(function(t,e){ce(t)&&(s[i]+=t*("-"===n[e-1]?-1:1));});}),s}var Ee={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",h={start:Kt({},l,r[l]),end:Kt({},l,r[l]+r[c]-s[c])};t.offsets.popper=Qt({},s,h[i]);}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=ce(+n)?[+n,0]:ye(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,i){var e=i.boundariesElement||jt(t.instance.popper);t.instance.reference===e&&(e=jt(e));var n=re("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=Gt(t.instance.popper,t.instance.reference,i.padding,e,t.positionFixed);o.top=r,o.left=s,o[n]=a,i.boundaries=l;var c=i.priority,h=t.offsets.popper,u={primary:function(t){var e=h[t];return h[t]<l[t]&&!i.escapeWithReference&&(e=Math.max(h[t],l[t])),Kt({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=h[e];return h[t]>l[t]&&!i.escapeWithReference&&(n=Math.min(h[e],l[t]-("right"===t?h.width:h.height))),Kt({},e,n)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=Qt({},h,u[e](t));}),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(i[l])&&(t.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!fe(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",u=h.toLowerCase(),f=l?"left":"top",d=l?"bottom":"right",p=Zt(i)[c];a[d]-p<s[u]&&(t.offsets.popper[u]-=s[u]-(a[d]-p)),a[u]+p>s[d]&&(t.offsets.popper[u]+=a[u]+p-s[d]),t.offsets.popper=Vt(t.offsets.popper);var m=a[u]+a[c]/2-p/2,g=Nt(t.instance.popper),_=parseFloat(g["margin"+h],10),v=parseFloat(g["border"+h+"Width"],10),y=m-t.offsets.popper[u]-_-v;return y=Math.max(Math.min(s[c]-p,y),0),t.arrowElement=i,t.offsets.arrow=(Kt(n={},u,Math.round(y)),Kt(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,m){if(oe(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var g=Gt(p.instance.popper,p.instance.reference,m.padding,m.boundariesElement,p.positionFixed),_=p.placement.split("-")[0],v=te(_),y=p.placement.split("-")[1]||"",E=[];switch(m.behavior){case ge:E=[_,v];break;case _e:E=me(_);break;case ve:E=me(_,!0);break;default:E=m.behavior;}return E.forEach(function(t,e){if(_!==t||E.length===e+1)return p;_=p.placement.split("-")[0],v=te(_);var n,i=p.offsets.popper,o=p.offsets.reference,r=Math.floor,s="left"===_&&r(i.right)>r(o.left)||"right"===_&&r(i.left)<r(o.right)||"top"===_&&r(i.bottom)>r(o.top)||"bottom"===_&&r(i.top)<r(o.bottom),a=r(i.left)<r(g.left),l=r(i.right)>r(g.right),c=r(i.top)<r(g.top),h=r(i.bottom)>r(g.bottom),u="left"===_&&a||"right"===_&&l||"top"===_&&c||"bottom"===_&&h,f=-1!==["top","bottom"].indexOf(_),d=!!m.flipVariations&&(f&&"start"===y&&a||f&&"end"===y&&l||!f&&"start"===y&&c||!f&&"end"===y&&h);(s||u||d)&&(p.flipped=!0,(s||u)&&(_=E[e+1]),d&&(y="end"===(n=y)?"start":"start"===n?"end":n),p.placement=_+(y?"-"+y:""),p.offsets.popper=Qt({},p.offsets.popper,ee(p.instance.popper,p.offsets.reference,p.placement)),p=ie(p.instance.modifiers,p,"flip"));}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=te(e),t.offsets.popper=Vt(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!fe(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=ne(t.instance.modifiers,function(t){return "preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]="";}else {if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1;}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=ne(t.instance.modifiers,function(t){return "applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,a,l,c,h,u,f,d,p,m,g,_,v,y,E=void 0!==r?r:e.gpuAcceleration,b=jt(t.instance.popper),w=Yt(b),C={position:o.position},T=(s=t,a=window.devicePixelRatio<2||!ue,l=s.offsets,c=l.popper,h=l.reference,u=Math.round,f=Math.floor,d=function(t){return t},p=u(h.width),m=u(c.width),g=-1!==["left","right"].indexOf(s.placement),_=-1!==s.placement.indexOf("-"),y=a?u:d,{left:(v=a?g||_||p%2==m%2?u:f:d)(p%2==1&&m%2==1&&!_&&a?c.left-1:c.left),top:y(c.top),bottom:y(c.bottom),right:v(c.right)}),S="bottom"===n?"top":"bottom",D="right"===i?"left":"right",I=re("transform"),A=void 0,O=void 0;if(O="bottom"===S?"HTML"===b.nodeName?-b.clientHeight+T.bottom:-w.height+T.bottom:T.top,A="right"===D?"HTML"===b.nodeName?-b.clientWidth+T.right:-w.width+T.right:T.left,E&&I)C[I]="translate3d("+A+"px, "+O+"px, 0)",C[S]=0,C[D]=0,C.willChange="transform";else {var N="bottom"===S?-1:1,k="right"===D?-1:1;C[S]=O*N,C[D]=A*k,C.willChange=S+", "+D;}var L={"x-placement":t.placement};return t.attributes=Qt({},L,t.attributes),t.styles=Qt({},C,t.styles),t.arrowStyles=Qt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return he(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t);}),t.arrowElement&&Object.keys(t.arrowStyles).length&&he(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=Jt(o,e,t,n.positionFixed),s=$t(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),he(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},be=function(){function r(t,e){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=At(this.update.bind(this)),this.options=Qt({},r.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(Qt({},r.Defaults.modifiers,i.modifiers)).forEach(function(t){n.options.modifiers[t]=Qt({},r.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{});}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Qt({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&Ot(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state);}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o;}return qt(r,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Jt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=$t(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=ee(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=ie(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t));}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,oe(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[re("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=ae(this.reference,this.options,this.state,this.scheduleUpdate));}.call(this)}},{key:"disableEventListeners",value:function(){return le.call(this)}}]),r}();be.Utils=("undefined"!=typeof window?window:commonjsGlobal).PopperUtils,be.placements=de,be.Defaults=Ee;var we="dropdown",Ce="bs.dropdown",Te="."+Ce,Se=".data-api",De=p.fn[we],Ie=new RegExp("38|40|27"),Ae={HIDE:"hide"+Te,HIDDEN:"hidden"+Te,SHOW:"show"+Te,SHOWN:"shown"+Te,CLICK:"click"+Te,CLICK_DATA_API:"click"+Te+Se,KEYDOWN_DATA_API:"keydown"+Te+Se,KEYUP_DATA_API:"keyup"+Te+Se},Oe="disabled",Ne="show",ke="dropup",Le="dropright",xe="dropleft",Pe="dropdown-menu-right",He="position-static",je='[data-toggle="dropdown"]',Re=".dropdown form",Fe=".dropdown-menu",Me=".navbar-nav",We=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ue="top-start",Be="top-end",qe="bottom-start",Ke="bottom-end",Qe="right-start",Ve="left-start",Ye={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},ze={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Xe=function(){function c(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners();}var t=c.prototype;return t.toggle=function(){if(!this._element.disabled&&!p(this._element).hasClass(Oe)){var t=c._getParentFromElement(this._element),e=p(this._menu).hasClass(Ne);if(c._clearMenus(),!e){var n={relatedTarget:this._element},i=p.Event(Ae.SHOW,n);if(p(t).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if("undefined"==typeof be)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var o=this._element;"parent"===this._config.reference?o=t:m.isElement(this._config.reference)&&(o=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&p(t).addClass(He),this._popper=new be(o,this._menu,this._getPopperConfig());}"ontouchstart"in document.documentElement&&0===p(t).closest(Me).length&&p(document.body).children().on("mouseover",null,p.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),p(this._menu).toggleClass(Ne),p(t).toggleClass(Ne).trigger(p.Event(Ae.SHOWN,n));}}}},t.show=function(){if(!(this._element.disabled||p(this._element).hasClass(Oe)||p(this._menu).hasClass(Ne))){var t={relatedTarget:this._element},e=p.Event(Ae.SHOW,t),n=c._getParentFromElement(this._element);p(n).trigger(e),e.isDefaultPrevented()||(p(this._menu).toggleClass(Ne),p(n).toggleClass(Ne).trigger(p.Event(Ae.SHOWN,t)));}},t.hide=function(){if(!this._element.disabled&&!p(this._element).hasClass(Oe)&&p(this._menu).hasClass(Ne)){var t={relatedTarget:this._element},e=p.Event(Ae.HIDE,t),n=c._getParentFromElement(this._element);p(n).trigger(e),e.isDefaultPrevented()||(p(this._menu).toggleClass(Ne),p(n).toggleClass(Ne).trigger(p.Event(Ae.HIDDEN,t)));}},t.dispose=function(){p.removeData(this._element,Ce),p(this._element).off(Te),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null);},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate();},t._addEventListeners=function(){var e=this;p(this._element).on(Ae.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle();});},t._getConfig=function(t){return t=l({},this.constructor.Default,p(this._element).data(),t),m.typeCheckConfig(we,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=c._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Fe));}return this._menu},t._getPlacement=function(){var t=p(this._element.parentNode),e=qe;return t.hasClass(ke)?(e=Ue,p(this._menu).hasClass(Pe)&&(e=Be)):t.hasClass(Le)?e=Qe:t.hasClass(xe)?e=Ve:p(this._menu).hasClass(Pe)&&(e=Ke),e},t._detectNavbar=function(){return 0<p(this._element).closest(".navbar").length},t._getOffset=function(){var e=this,t={};return "function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return "static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},c._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(Ce);if(t||(t=new c(this,"object"==typeof e?e:null),p(this).data(Ce,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new TypeError('No method named "'+e+'"');t[e]();}})},c._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(je)),n=0,i=e.length;n<i;n++){var o=c._getParentFromElement(e[n]),r=p(e[n]).data(Ce),s={relatedTarget:e[n]};if(t&&"click"===t.type&&(s.clickEvent=t),r){var a=r._menu;if(p(o).hasClass(Ne)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&p.contains(o,t.target))){var l=p.Event(Ae.HIDE,s);p(o).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),e[n].setAttribute("aria-expanded","false"),p(a).removeClass(Ne),p(o).removeClass(Ne).trigger(p.Event(Ae.HIDDEN,s)));}}}},c._getParentFromElement=function(t){var e,n=m.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},c._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||p(t.target).closest(Fe).length)):Ie.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!p(this).hasClass(Oe))){var e=c._getParentFromElement(this),n=p(e).hasClass(Ne);if(n&&(!n||27!==t.which&&32!==t.which)){var i=[].slice.call(e.querySelectorAll(We));if(0!==i.length){var o=i.indexOf(t.target);38===t.which&&0<o&&o--,40===t.which&&o<i.length-1&&o++,o<0&&(o=0),i[o].focus();}}else {if(27===t.which){var r=e.querySelector(je);p(r).trigger("focus");}p(this).trigger("click");}}},s(c,null,[{key:"VERSION",get:function(){return "4.3.1"}},{key:"Default",get:function(){return Ye}},{key:"DefaultType",get:function(){return ze}}]),c}();p(document).on(Ae.KEYDOWN_DATA_API,je,Xe._dataApiKeydownHandler).on(Ae.KEYDOWN_DATA_API,Fe,Xe._dataApiKeydownHandler).on(Ae.CLICK_DATA_API+" "+Ae.KEYUP_DATA_API,Xe._clearMenus).on(Ae.CLICK_DATA_API,je,function(t){t.preventDefault(),t.stopPropagation(),Xe._jQueryInterface.call(p(this),"toggle");}).on(Ae.CLICK_DATA_API,Re,function(t){t.stopPropagation();}),p.fn[we]=Xe._jQueryInterface,p.fn[we].Constructor=Xe,p.fn[we].noConflict=function(){return p.fn[we]=De,Xe._jQueryInterface};var Ge="modal",$e="bs.modal",Je="."+$e,Ze=p.fn[Ge],tn={backdrop:!0,keyboard:!0,focus:!0,show:!0},en={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},nn={HIDE:"hide"+Je,HIDDEN:"hidden"+Je,SHOW:"show"+Je,SHOWN:"shown"+Je,FOCUSIN:"focusin"+Je,RESIZE:"resize"+Je,CLICK_DISMISS:"click.dismiss"+Je,KEYDOWN_DISMISS:"keydown.dismiss"+Je,MOUSEUP_DISMISS:"mouseup.dismiss"+Je,MOUSEDOWN_DISMISS:"mousedown.dismiss"+Je,CLICK_DATA_API:"click"+Je+".data-api"},on="modal-dialog-scrollable",rn="modal-scrollbar-measure",sn="modal-backdrop",an="modal-open",ln="fade",cn="show",hn=".modal-dialog",un=".modal-body",fn='[data-toggle="modal"]',dn='[data-dismiss="modal"]',pn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",mn=".sticky-top",gn=function(){function o(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(hn),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0;}var t=o.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){p(this._element).hasClass(ln)&&(this._isTransitioning=!0);var n=p.Event(nn.SHOW,{relatedTarget:t});p(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),p(this._element).on(nn.CLICK_DISMISS,dn,function(t){return e.hide(t)}),p(this._dialog).on(nn.MOUSEDOWN_DISMISS,function(){p(e._element).one(nn.MOUSEUP_DISMISS,function(t){p(t.target).is(e._element)&&(e._ignoreBackdropClick=!0);});}),this._showBackdrop(function(){return e._showElement(t)}));}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=p.Event(nn.HIDE);if(p(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=p(this._element).hasClass(ln);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),p(document).off(nn.FOCUSIN),p(this._element).removeClass(cn),p(this._element).off(nn.CLICK_DISMISS),p(this._dialog).off(nn.MOUSEDOWN_DISMISS),i){var o=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(o);}else this._hideModal();}}},t.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return p(t).off(Je)}),p(document).off(nn.FOCUSIN),p.removeData(this._element,$e),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null;},t.handleUpdate=function(){this._adjustDialog();},t._getConfig=function(t){return t=l({},tn,t),m.typeCheckConfig(Ge,t,en),t},t._showElement=function(t){var e=this,n=p(this._element).hasClass(ln);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),p(this._dialog).hasClass(on)?this._dialog.querySelector(un).scrollTop=0:this._element.scrollTop=0,n&&m.reflow(this._element),p(this._element).addClass(cn),this._config.focus&&this._enforceFocus();var i=p.Event(nn.SHOWN,{relatedTarget:t}),o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,p(e._element).trigger(i);};if(n){var r=m.getTransitionDurationFromElement(this._dialog);p(this._dialog).one(m.TRANSITION_END,o).emulateTransitionEnd(r);}else o();},t._enforceFocus=function(){var e=this;p(document).off(nn.FOCUSIN).on(nn.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===p(e._element).has(t.target).length&&e._element.focus();});},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?p(this._element).on(nn.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide());}):this._isShown||p(this._element).off(nn.KEYDOWN_DISMISS);},t._setResizeEvent=function(){var e=this;this._isShown?p(window).on(nn.RESIZE,function(t){return e.handleUpdate(t)}):p(window).off(nn.RESIZE);},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){p(document.body).removeClass(an),t._resetAdjustments(),t._resetScrollbar(),p(t._element).trigger(nn.HIDDEN);});},t._removeBackdrop=function(){this._backdrop&&(p(this._backdrop).remove(),this._backdrop=null);},t._showBackdrop=function(t){var e=this,n=p(this._element).hasClass(ln)?ln:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=sn,n&&this._backdrop.classList.add(n),p(this._backdrop).appendTo(document.body),p(this._element).on(nn.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide());}),n&&m.reflow(this._backdrop),p(this._backdrop).addClass(cn),!t)return;if(!n)return void t();var i=m.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(m.TRANSITION_END,t).emulateTransitionEnd(i);}else if(!this._isShown&&this._backdrop){p(this._backdrop).removeClass(cn);var o=function(){e._removeBackdrop(),t&&t();};if(p(this._element).hasClass(ln)){var r=m.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(m.TRANSITION_END,o).emulateTransitionEnd(r);}else o();}else t&&t();},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px");},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight="";},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth();},t._setScrollbar=function(){var o=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(pn)),e=[].slice.call(document.querySelectorAll(mn));p(t).each(function(t,e){var n=e.style.paddingRight,i=p(e).css("padding-right");p(e).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px");}),p(e).each(function(t,e){var n=e.style.marginRight,i=p(e).css("margin-right");p(e).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px");});var n=document.body.style.paddingRight,i=p(document.body).css("padding-right");p(document.body).data("padding-right",n).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px");}p(document.body).addClass(an);},t._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(pn));p(t).each(function(t,e){var n=p(e).data("padding-right");p(e).removeData("padding-right"),e.style.paddingRight=n||"";});var e=[].slice.call(document.querySelectorAll(""+mn));p(e).each(function(t,e){var n=p(e).data("margin-right");"undefined"!=typeof n&&p(e).css("margin-right",n).removeData("margin-right");});var n=p(document.body).data("padding-right");p(document.body).removeData("padding-right"),document.body.style.paddingRight=n||"";},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className=rn,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},o._jQueryInterface=function(n,i){return this.each(function(){var t=p(this).data($e),e=l({},tn,p(this).data(),"object"==typeof n&&n?n:{});if(t||(t=new o(this,e),p(this).data($e,t)),"string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n](i);}else e.show&&t.show(i);})},s(o,null,[{key:"VERSION",get:function(){return "4.3.1"}},{key:"Default",get:function(){return tn}}]),o}();p(document).on(nn.CLICK_DATA_API,fn,function(t){var e,n=this,i=m.getSelectorFromElement(this);i&&(e=document.querySelector(i));var o=p(e).data($e)?"toggle":l({},p(e).data(),p(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var r=p(e).one(nn.SHOW,function(t){t.isDefaultPrevented()||r.one(nn.HIDDEN,function(){p(n).is(":visible")&&n.focus();});});gn._jQueryInterface.call(p(e),o,this);}),p.fn[Ge]=gn._jQueryInterface,p.fn[Ge].Constructor=gn,p.fn[Ge].noConflict=function(){return p.fn[Ge]=Ze,gn._jQueryInterface};var _n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],vn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},yn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,En=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function bn(t,s,e){if(0===t.length)return t;if(e&&"function"==typeof e)return e(t);for(var n=(new window.DOMParser).parseFromString(t,"text/html"),a=Object.keys(s),l=[].slice.call(n.body.querySelectorAll("*")),i=function(t,e){var n=l[t],i=n.nodeName.toLowerCase();if(-1===a.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var o=[].slice.call(n.attributes),r=[].concat(s["*"]||[],s[i]||[]);o.forEach(function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return -1===_n.indexOf(n)||Boolean(t.nodeValue.match(yn)||t.nodeValue.match(En));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return !0;return !1})(t,r)||n.removeAttribute(t.nodeName);});},o=0,r=l.length;o<r;o++)i(o);return n.body.innerHTML}var wn="tooltip",Cn="bs.tooltip",Tn="."+Cn,Sn=p.fn[wn],Dn="bs-tooltip",In=new RegExp("(^|\\s)"+Dn+"\\S+","g"),An=["sanitize","whiteList","sanitizeFn"],On={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},Nn={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},kn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:vn},Ln="show",xn="out",Pn={HIDE:"hide"+Tn,HIDDEN:"hidden"+Tn,SHOW:"show"+Tn,SHOWN:"shown"+Tn,INSERTED:"inserted"+Tn,CLICK:"click"+Tn,FOCUSIN:"focusin"+Tn,FOCUSOUT:"focusout"+Tn,MOUSEENTER:"mouseenter"+Tn,MOUSELEAVE:"mouseleave"+Tn},Hn="fade",jn="show",Rn=".tooltip-inner",Fn=".arrow",Mn="hover",Wn="focus",Un="click",Bn="manual",qn=function(){function i(t,e){if("undefined"==typeof be)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners();}var t=i.prototype;return t.enable=function(){this._isEnabled=!0;},t.disable=function(){this._isEnabled=!1;},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled;},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=p(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n);}else {if(p(this.getTipElement()).hasClass(jn))return void this._leave(null,this);this._enter(null,this);}},t.dispose=function(){clearTimeout(this._timeout),p.removeData(this.element,this.constructor.DATA_KEY),p(this.element).off(this.constructor.EVENT_KEY),p(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&p(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null;},t.show=function(){var e=this;if("none"===p(this.element).css("display"))throw new Error("Please use show on visible elements");var t=p.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){p(this.element).trigger(t);var n=m.findShadowRoot(this.element),i=p.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var o=this.getTipElement(),r=m.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&p(o).addClass(Hn);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();p(o).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(o).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new be(this.element,o,{placement:a,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Fn},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t);},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),p(o).addClass(jn),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,p(e.element).trigger(e.constructor.Event.SHOWN),t===xn&&e._leave(null,e);};if(p(this.tip).hasClass(Hn)){var h=m.getTransitionDurationFromElement(this.tip);p(this.tip).one(m.TRANSITION_END,c).emulateTransitionEnd(h);}else c();}},t.hide=function(t){var e=this,n=this.getTipElement(),i=p.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==Ln&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),p(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t();};if(p(this.element).trigger(i),!i.isDefaultPrevented()){if(p(n).removeClass(jn),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger[Un]=!1,this._activeTrigger[Wn]=!1,this._activeTrigger[Mn]=!1,p(this.tip).hasClass(Hn)){var r=m.getTransitionDurationFromElement(n);p(n).one(m.TRANSITION_END,o).emulateTransitionEnd(r);}else o();this._hoverState="";}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate();},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){p(this.getTipElement()).addClass(Dn+"-"+t);},t.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(p(t.querySelectorAll(Rn)),this.getTitle()),p(t).removeClass(Hn+" "+jn);},t.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=bn(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?p(e).parent().is(t)||t.empty().append(e):t.text(p(e).text());},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getOffset=function(){var e=this,t={};return "function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return !1===this.config.container?document.body:m.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},t._getAttachment=function(t){return Nn[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)p(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if(t!==Bn){var e=t===Mn?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===Mn?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;p(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)});}}),p(this.element).closest(".modal").on("hide.bs.modal",function(){i.element&&i.hide();}),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle();},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""));},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Wn:Mn]=!0),p(e.getTipElement()).hasClass(jn)||e._hoverState===Ln?e._hoverState=Ln:(clearTimeout(e._timeout),e._hoverState=Ln,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Ln&&e.show();},e.config.delay.show):e.show());},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Wn:Mn]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=xn,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===xn&&e.hide();},e.config.delay.hide):e.hide());},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return !0;return !1},t._getConfig=function(t){var e=p(this.element).data();return Object.keys(e).forEach(function(t){-1!==An.indexOf(t)&&delete e[t];}),"number"==typeof(t=l({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),m.typeCheckConfig(wn,t,this.constructor.DefaultType),t.sanitize&&(t.template=bn(t.template,t.whiteList,t.sanitizeFn)),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(In);null!==e&&e.length&&t.removeClass(e.join(""));},t._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement));},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(p(t).removeClass(Hn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e);},i._jQueryInterface=function(n){return this.each(function(){var t=p(this).data(Cn),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),p(this).data(Cn,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]();}})},s(i,null,[{key:"VERSION",get:function(){return "4.3.1"}},{key:"Default",get:function(){return kn}},{key:"NAME",get:function(){return wn}},{key:"DATA_KEY",get:function(){return Cn}},{key:"Event",get:function(){return Pn}},{key:"EVENT_KEY",get:function(){return Tn}},{key:"DefaultType",get:function(){return On}}]),i}();p.fn[wn]=qn._jQueryInterface,p.fn[wn].Constructor=qn,p.fn[wn].noConflict=function(){return p.fn[wn]=Sn,qn._jQueryInterface};var Kn="popover",Qn="bs.popover",Vn="."+Qn,Yn=p.fn[Kn],zn="bs-popover",Xn=new RegExp("(^|\\s)"+zn+"\\S+","g"),Gn=l({},qn.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),$n=l({},qn.DefaultType,{content:"(string|element|function)"}),Jn="fade",Zn="show",ti=".popover-header",ei=".popover-body",ni={HIDE:"hide"+Vn,HIDDEN:"hidden"+Vn,SHOW:"show"+Vn,SHOWN:"shown"+Vn,INSERTED:"inserted"+Vn,CLICK:"click"+Vn,FOCUSIN:"focusin"+Vn,FOCUSOUT:"focusout"+Vn,MOUSEENTER:"mouseenter"+Vn,MOUSELEAVE:"mouseleave"+Vn},ii=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){p(this.getTipElement()).addClass(zn+"-"+t);},o.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},o.setContent=function(){var t=p(this.getTipElement());this.setElementContent(t.find(ti),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(ei),e),t.removeClass(Jn+" "+Zn);},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(Xn);null!==e&&0<e.length&&t.removeClass(e.join(""));},i._jQueryInterface=function(n){return this.each(function(){var t=p(this).data(Qn),e="object"==typeof n?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),p(this).data(Qn,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]();}})},s(i,null,[{key:"VERSION",get:function(){return "4.3.1"}},{key:"Default",get:function(){return Gn}},{key:"NAME",get:function(){return Kn}},{key:"DATA_KEY",get:function(){return Qn}},{key:"Event",get:function(){return ni}},{key:"EVENT_KEY",get:function(){return Vn}},{key:"DefaultType",get:function(){return $n}}]),i}(qn);p.fn[Kn]=ii._jQueryInterface,p.fn[Kn].Constructor=ii,p.fn[Kn].noConflict=function(){return p.fn[Kn]=Yn,ii._jQueryInterface};var oi="scrollspy",ri="bs.scrollspy",si="."+ri,ai=p.fn[oi],li={offset:10,method:"auto",target:""},ci={offset:"number",method:"string",target:"(string|element)"},hi={ACTIVATE:"activate"+si,SCROLL:"scroll"+si,LOAD_DATA_API:"load"+si+".data-api"},ui="dropdown-item",fi="active",di='[data-spy="scroll"]',pi=".nav, .list-group",mi=".nav-link",gi=".nav-item",_i=".list-group-item",vi=".dropdown",yi=".dropdown-item",Ei=".dropdown-toggle",bi="offset",wi="position",Ci=function(){function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+mi+","+this._config.target+" "+_i+","+this._config.target+" "+yi,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on(hi.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process();}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?bi:wi,o="auto"===this._config.method?t:this._config.method,r=o===wi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,n=m.getSelectorFromElement(t);if(n&&(e=document.querySelector(n)),e){var i=e.getBoundingClientRect();if(i.width||i.height)return [p(e)[o]().top+r,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1]);});},t.dispose=function(){p.removeData(this._element,ri),p(this._scrollElement).off(si),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null;},t._getConfig=function(t){if("string"!=typeof(t=l({},li,"object"==typeof t&&t?t:{})).target){var e=p(t.target).attr("id");e||(e=m.getUID(oi),p(t.target).attr("id",e)),t.target="#"+e;}return m.typeCheckConfig(oi,t,ci),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);}else {if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o]);}}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),n=p([].slice.call(document.querySelectorAll(t.join(","))));n.hasClass(ui)?(n.closest(vi).find(Ei).addClass(fi),n.addClass(fi)):(n.addClass(fi),n.parents(pi).prev(mi+", "+_i).addClass(fi),n.parents(pi).prev(gi).children(mi).addClass(fi)),p(this._scrollElement).trigger(hi.ACTIVATE,{relatedTarget:e});},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(fi)}).forEach(function(t){return t.classList.remove(fi)});},n._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(ri);if(t||(t=new n(this,"object"==typeof e&&e),p(this).data(ri,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new TypeError('No method named "'+e+'"');t[e]();}})},s(n,null,[{key:"VERSION",get:function(){return "4.3.1"}},{key:"Default",get:function(){return li}}]),n}();p(window).on(hi.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(di)),e=t.length;e--;){var n=p(t[e]);Ci._jQueryInterface.call(n,n.data());}}),p.fn[oi]=Ci._jQueryInterface,p.fn[oi].Constructor=Ci,p.fn[oi].noConflict=function(){return p.fn[oi]=ai,Ci._jQueryInterface};var Ti="bs.tab",Si="."+Ti,Di=p.fn.tab,Ii={HIDE:"hide"+Si,HIDDEN:"hidden"+Si,SHOW:"show"+Si,SHOWN:"shown"+Si,CLICK_DATA_API:"click"+Si+".data-api"},Ai="dropdown-menu",Oi="active",Ni="disabled",ki="fade",Li="show",xi=".dropdown",Pi=".nav, .list-group",Hi=".active",ji="> li > .active",Ri='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Fi=".dropdown-toggle",Mi="> .dropdown-menu .active",Wi=function(){function i(t){this._element=t;}var t=i.prototype;return t.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass(Oi)||p(this._element).hasClass(Ni))){var t,i,e=p(this._element).closest(Pi)[0],o=m.getSelectorFromElement(this._element);if(e){var r="UL"===e.nodeName||"OL"===e.nodeName?ji:Hi;i=(i=p.makeArray(p(e).find(r)))[i.length-1];}var s=p.Event(Ii.HIDE,{relatedTarget:this._element}),a=p.Event(Ii.SHOW,{relatedTarget:i});if(i&&p(i).trigger(s),p(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(t=document.querySelector(o)),this._activate(this._element,e);var l=function(){var t=p.Event(Ii.HIDDEN,{relatedTarget:n._element}),e=p.Event(Ii.SHOWN,{relatedTarget:i});p(i).trigger(t),p(n._element).trigger(e);};t?this._activate(t,t.parentNode,l):l();}}},t.dispose=function(){p.removeData(this._element,Ti),this._element=null;},t._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?p(e).children(Hi):p(e).find(ji))[0],r=n&&o&&p(o).hasClass(ki),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=m.getTransitionDurationFromElement(o);p(o).removeClass(Li).one(m.TRANSITION_END,s).emulateTransitionEnd(a);}else s();},t._transitionComplete=function(t,e,n){if(e){p(e).removeClass(Oi);var i=p(e.parentNode).find(Mi)[0];i&&p(i).removeClass(Oi),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1);}if(p(t).addClass(Oi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),m.reflow(t),t.classList.contains(ki)&&t.classList.add(Li),t.parentNode&&p(t.parentNode).hasClass(Ai)){var o=p(t).closest(xi)[0];if(o){var r=[].slice.call(o.querySelectorAll(Fi));p(r).addClass(Oi);}t.setAttribute("aria-expanded",!0);}n&&n();},i._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(Ti);if(e||(e=new i(this),t.data(Ti,e)),"string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n]();}})},s(i,null,[{key:"VERSION",get:function(){return "4.3.1"}}]),i}();p(document).on(Ii.CLICK_DATA_API,Ri,function(t){t.preventDefault(),Wi._jQueryInterface.call(p(this),"show");}),p.fn.tab=Wi._jQueryInterface,p.fn.tab.Constructor=Wi,p.fn.tab.noConflict=function(){return p.fn.tab=Di,Wi._jQueryInterface};var Ui="toast",Bi="bs.toast",qi="."+Bi,Ki=p.fn[Ui],Qi={CLICK_DISMISS:"click.dismiss"+qi,HIDE:"hide"+qi,HIDDEN:"hidden"+qi,SHOW:"show"+qi,SHOWN:"shown"+qi},Vi="fade",Yi="hide",zi="show",Xi="showing",Gi={animation:"boolean",autohide:"boolean",delay:"number"},$i={animation:!0,autohide:!0,delay:500},Ji='[data-dismiss="toast"]',Zi=function(){function i(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners();}var t=i.prototype;return t.show=function(){var t=this;p(this._element).trigger(Qi.SHOW),this._config.animation&&this._element.classList.add(Vi);var e=function(){t._element.classList.remove(Xi),t._element.classList.add(zi),p(t._element).trigger(Qi.SHOWN),t._config.autohide&&t.hide();};if(this._element.classList.remove(Yi),this._element.classList.add(Xi),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(n);}else e();},t.hide=function(t){var e=this;this._element.classList.contains(zi)&&(p(this._element).trigger(Qi.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close();},this._config.delay));},t.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(zi)&&this._element.classList.remove(zi),p(this._element).off(Qi.CLICK_DISMISS),p.removeData(this._element,Bi),this._element=null,this._config=null;},t._getConfig=function(t){return t=l({},$i,p(this._element).data(),"object"==typeof t&&t?t:{}),m.typeCheckConfig(Ui,t,this.constructor.DefaultType),t},t._setListeners=function(){var t=this;p(this._element).on(Qi.CLICK_DISMISS,Ji,function(){return t.hide(!0)});},t._close=function(){var t=this,e=function(){t._element.classList.add(Yi),p(t._element).trigger(Qi.HIDDEN);};if(this._element.classList.remove(zi),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(n);}else e();},i._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(Bi);if(e||(e=new i(this,"object"==typeof n&&n),t.data(Bi,e)),"string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n](this);}})},s(i,null,[{key:"VERSION",get:function(){return "4.3.1"}},{key:"DefaultType",get:function(){return Gi}},{key:"Default",get:function(){return $i}}]),i}();p.fn[Ui]=Zi._jQueryInterface,p.fn[Ui].Constructor=Zi,p.fn[Ui].noConflict=function(){return p.fn[Ui]=Ki,Zi._jQueryInterface},function(){if("undefined"==typeof p)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=p.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=m,t.Alert=g,t.Button=k,t.Carousel=at,t.Collapse=Ct,t.Dropdown=Xe,t.Modal=gn,t.Popover=ii,t.Scrollspy=Ci,t.Tab=Wi,t.Toast=Zi,t.Tooltip=qn,Object.defineProperty(t,"__esModule",{value:!0});});
24
+
25
+ }(bootstrap_bundle_min$1, bootstrap_bundle_min$1.exports));
26
+
27
+ var bootstrap_bundle_min = /*@__PURE__*/getDefaultExportFromCjs(bootstrap_bundle_min$1.exports);
28
+
29
+ return bootstrap_bundle_min;
30
+
31
+ })(jQuery);
@@ -0,0 +1,26 @@
1
+ var jQuery=function(){"use strict";var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function t(e,t,r){return r={path:t,exports:{},require:function(e,t){return n(e,t===undefined||t===null?r.path:t)}},e(r,r.exports),r.exports}function n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var r=t((function(t){
2
+ /*!
3
+ * jQuery JavaScript Library v3.5.1
4
+ * https://jquery.com/
5
+ *
6
+ * Includes Sizzle.js
7
+ * https://sizzlejs.com/
8
+ *
9
+ * Copyright JS Foundation and other contributors
10
+ * Released under the MIT license
11
+ * https://jquery.org/license
12
+ *
13
+ * Date: 2020-05-04T22:49Z
14
+ */
15
+ (function(e,n){{t.exports=e.document?n(e,true):function(e){if(!e.document){throw new Error("jQuery requires a window with a document")}return n(e)}}})(typeof window!=="undefined"?window:e,(function(e,t){var n=[];var r=Object.getPrototypeOf;var i=n.slice;var o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)};var s=n.push;var a=n.indexOf;var u={};var f=u.toString;var l=u.hasOwnProperty;var c=l.toString;var d=c.call(Object);var p={};var h=function e(t){return typeof t==="function"&&typeof t.nodeType!=="number"};var g=function e(t){return t!=null&&t===t.window};var y=e.document;var m={type:true,src:true,nonce:true,noModule:true};function v(e,t,n){n=n||y;var r,i,o=n.createElement("script");o.text=e;if(t){for(r in m){i=t[r]||t.getAttribute&&t.getAttribute(r);if(i){o.setAttribute(r,i)}}}n.head.appendChild(o).parentNode.removeChild(o)}function x(e){if(e==null){return e+""}return typeof e==="object"||typeof e==="function"?u[f.call(e)]||"object":typeof e}var b="3.5.1",w=function(e,t){return new w.fn.init(e,t)};w.fn=w.prototype={jquery:b,constructor:w,length:0,toArray:function(){return i.call(this)},get:function(e){if(e==null){return i.call(this)}return e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);t.prevObject=this;return t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(w.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice};w.extend=w.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,f=false;if(typeof s==="boolean"){f=s;s=arguments[a]||{};a++}if(typeof s!=="object"&&!h(s)){s={}}if(a===u){s=this;a--}for(;a<u;a++){if((e=arguments[a])!=null){for(t in e){r=e[t];if(t==="__proto__"||s===r){continue}if(f&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))){n=s[t];if(i&&!Array.isArray(n)){o=[]}else if(!i&&!w.isPlainObject(n)){o={}}else{o=n}i=false;s[t]=w.extend(f,o,r)}else if(r!==undefined){s[t]=r}}}}return s};w.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:true,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;if(!e||f.call(e)!=="[object Object]"){return false}t=r(e);if(!t){return true}n=l.call(t,"constructor")&&t.constructor;return typeof n==="function"&&c.call(n)===d},isEmptyObject:function(e){var t;for(t in e){return false}return true},globalEval:function(e,t,n){v(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(T(e)){n=e.length;for(;r<n;r++){if(t.call(e[r],r,e[r])===false){break}}}else{for(r in e){if(t.call(e[r],r,e[r])===false){break}}}return e},makeArray:function(e,t){var n=t||[];if(e!=null){if(T(Object(e))){w.merge(n,typeof e==="string"?[e]:e)}else{s.call(n,e)}}return n},inArray:function(e,t,n){return t==null?-1:a.call(t,e,n)},merge:function(e,t){var n=+t.length,r=0,i=e.length;for(;r<n;r++){e[i++]=t[r]}e.length=i;return e},grep:function(e,t,n){var r,i=[],o=0,s=e.length,a=!n;for(;o<s;o++){r=!t(e[o],o);if(r!==a){i.push(e[o])}}return i},map:function(e,t,n){var r,i,s=0,a=[];if(T(e)){r=e.length;for(;s<r;s++){i=t(e[s],s,n);if(i!=null){a.push(i)}}}else{for(s in e){i=t(e[s],s,n);if(i!=null){a.push(i)}}}return o(a)},guid:1,support:p});if(typeof Symbol==="function"){w.fn[Symbol.iterator]=n[Symbol.iterator]}w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));function T(e){var t=!!e&&"length"in e&&e.length,n=x(e);if(h(e)||g(e)){return false}return n==="array"||t===0||typeof t==="number"&&t>0&&t-1 in e}var C=
16
+ /*!
17
+ * Sizzle CSS Selector Engine v2.3.5
18
+ * https://sizzlejs.com/
19
+ *
20
+ * Copyright JS Foundation and other contributors
21
+ * Released under the MIT license
22
+ * https://js.foundation/
23
+ *
24
+ * Date: 2020-03-14
25
+ */
26
+ function(e){var t,n,r,i,o,s,a,u,f,l,c,d,p,h,g,y,m,v,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ue(),S=ue(),k=ue(),A=ue(),N=function(e,t){if(e===t){c=true}return 0},D={}.hasOwnProperty,j=[],q=j.pop,L=j.push,H=j.push,O=j.slice,P=function(e,t){var n=0,r=e.length;for(;n<r;n++){if(e[n]===t){return n}}return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|"+"ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|"+".*"+")\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),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("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){if(t){if(e==="\0"){return"�"}return e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" "}return"\\"+e},oe=function(){d()},se=be((function(e){return e.disabled===true&&e.nodeName.toLowerCase()==="fieldset"}),{dir:"parentNode",next:"legend"});try{H.apply(j=O.call(w.childNodes),w.childNodes);j[w.childNodes.length].nodeType}catch(e){H={apply:j.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]){}e.length=n-1}}}function ae(e,t,r,i){var o,a,f,l,c,h,m,v=t&&t.ownerDocument,w=t?t.nodeType:9;r=r||[];if(typeof e!=="string"||!e||w!==1&&w!==9&&w!==11){return r}if(!i){d(t);t=t||p;if(g){if(w!==11&&(c=Z.exec(e))){if(o=c[1]){if(w===9){if(f=t.getElementById(o)){if(f.id===o){r.push(f);return r}}else{return r}}else{if(v&&(f=v.getElementById(o))&&x(t,f)&&f.id===o){r.push(f);return r}}}else if(c[2]){H.apply(r,t.getElementsByTagName(e));return r}else if((o=c[3])&&n.getElementsByClassName&&t.getElementsByClassName){H.apply(r,t.getElementsByClassName(o));return r}}if(n.qsa&&!A[e+" "]&&(!y||!y.test(e))&&(w!==1||t.nodeName.toLowerCase()!=="object")){m=e;v=t;if(w===1&&(U.test(e)||z.test(e))){v=ee.test(e)&&me(t.parentNode)||t;if(v!==t||!n.scope){if(l=t.getAttribute("id")){l=l.replace(re,ie)}else{t.setAttribute("id",l=b)}}h=s(e);a=h.length;while(a--){h[a]=(l?"#"+l:":scope")+" "+xe(h[a])}m=h.join(",")}try{H.apply(r,v.querySelectorAll(m));return r}catch(t){A(e,true)}finally{if(l===b){t.removeAttribute("id")}}}}}return u(e.replace($,"$1"),t,r,i)}function ue(){var e=[];function t(n,i){if(e.push(n+" ")>r.cacheLength){delete t[e.shift()]}return t[n+" "]=i}return t}function fe(e){e[b]=true;return e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return false}finally{if(t.parentNode){t.parentNode.removeChild(t)}t=null}}function ce(e,t){var n=e.split("|"),i=n.length;while(i--){r.attrHandle[n[i]]=t}}function de(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&e.sourceIndex-t.sourceIndex;if(r){return r}if(n){while(n=n.nextSibling){if(n===t){return-1}}}return e?1:-1}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function ge(e){return function(t){if("form"in t){if(t.parentNode&&t.disabled===false){if("label"in t){if("label"in t.parentNode){return t.parentNode.disabled===e}else{return t.disabled===e}}return t.isDisabled===e||t.isDisabled!==!e&&se(t)===e}return t.disabled===e}else if("label"in t){return t.disabled===e}return false}}function ye(e){return fe((function(t){t=+t;return fe((function(n,r){var i,o=e([],n.length,t),s=o.length;while(s--){if(n[i=o[s]]){n[i]=!(r[i]=n[i])}}}))}))}function me(e){return e&&typeof e.getElementsByTagName!=="undefined"&&e}n=ae.support={};o=ae.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")};d=ae.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:w;if(s==p||s.nodeType!==9||!s.documentElement){return p}p=s;h=p.documentElement;g=!o(p);if(w!=p&&(i=p.defaultView)&&i.top!==i){if(i.addEventListener){i.addEventListener("unload",oe,false)}else if(i.attachEvent){i.attachEvent("onunload",oe)}}n.scope=le((function(e){h.appendChild(e).appendChild(p.createElement("div"));return typeof e.querySelectorAll!=="undefined"&&!e.querySelectorAll(":scope fieldset div").length}));n.attributes=le((function(e){e.className="i";return!e.getAttribute("className")}));n.getElementsByTagName=le((function(e){e.appendChild(p.createComment(""));return!e.getElementsByTagName("*").length}));n.getElementsByClassName=K.test(p.getElementsByClassName);n.getById=le((function(e){h.appendChild(e).id=b;return!p.getElementsByName||!p.getElementsByName(b).length}));if(n.getById){r.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}};r.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&g){var n=t.getElementById(e);return n?[n]:[]}}}else{r.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){var n=typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id");return n&&n.value===t}};r.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&g){var n,r,i,o=t.getElementById(e);if(o){n=o.getAttributeNode("id");if(n&&n.value===e){return[o]}i=t.getElementsByName(e);r=0;while(o=i[r++]){n=o.getAttributeNode("id");if(n&&n.value===e){return[o]}}}return[]}}}r.find["TAG"]=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!=="undefined"){return t.getElementsByTagName(e)}else if(n.qsa){return t.querySelectorAll(e)}}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if(e==="*"){while(n=o[i++]){if(n.nodeType===1){r.push(n)}}return r}return o};r.find["CLASS"]=n.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!=="undefined"&&g){return t.getElementsByClassName(e)}};m=[];y=[];if(n.qsa=K.test(p.querySelectorAll)){le((function(e){var t;h.appendChild(e).innerHTML="<a id='"+b+"'></a>"+"<select id='"+b+"-\r\\' msallowcapture=''>"+"<option selected=''></option></select>";if(e.querySelectorAll("[msallowcapture^='']").length){y.push("[*^$]="+M+"*(?:''|\"\")")}if(!e.querySelectorAll("[selected]").length){y.push("\\["+M+"*(?:value|"+R+")")}if(!e.querySelectorAll("[id~="+b+"-]").length){y.push("~=")}t=p.createElement("input");t.setAttribute("name","");e.appendChild(t);if(!e.querySelectorAll("[name='']").length){y.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")")}if(!e.querySelectorAll(":checked").length){y.push(":checked")}if(!e.querySelectorAll("a#"+b+"+*").length){y.push(".#.+[+~]")}e.querySelectorAll("\\\f");y.push("[\\r\\n\\f]")}));le((function(e){e.innerHTML="<a href='' disabled='disabled'></a>"+"<select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");if(e.querySelectorAll("[name=d]").length){y.push("name"+M+"*[*^$|!~]?=")}if(e.querySelectorAll(":enabled").length!==2){y.push(":enabled",":disabled")}h.appendChild(e).disabled=true;if(e.querySelectorAll(":disabled").length!==2){y.push(":enabled",":disabled")}e.querySelectorAll("*,:x");y.push(",.*:")}))}if(n.matchesSelector=K.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector)){le((function(e){n.disconnectedMatch=v.call(e,"*");v.call(e,"[s!='']:x");m.push("!=",F)}))}y=y.length&&new RegExp(y.join("|"));m=m.length&&new RegExp(m.join("|"));t=K.test(h.compareDocumentPosition);x=t||K.test(h.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16))}:function(e,t){if(t){while(t=t.parentNode){if(t===e){return true}}}return false};N=t?function(e,t){if(e===t){c=true;return 0}var r=!e.compareDocumentPosition-!t.compareDocumentPosition;if(r){return r}r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1;if(r&1||!n.sortDetached&&t.compareDocumentPosition(e)===r){if(e==p||e.ownerDocument==w&&x(w,e)){return-1}if(t==p||t.ownerDocument==w&&x(w,t)){return 1}return l?P(l,e)-P(l,t):0}return r&4?-1:1}:function(e,t){if(e===t){c=true;return 0}var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o){return e==p?-1:t==p?1:i?-1:o?1:l?P(l,e)-P(l,t):0}else if(i===o){return de(e,t)}n=e;while(n=n.parentNode){s.unshift(n)}n=t;while(n=n.parentNode){a.unshift(n)}while(s[r]===a[r]){r++}return r?de(s[r],a[r]):s[r]==w?-1:a[r]==w?1:0};return p};ae.matches=function(e,t){return ae(e,null,null,t)};ae.matchesSelector=function(e,t){d(e);if(n.matchesSelector&&g&&!A[t+" "]&&(!m||!m.test(t))&&(!y||!y.test(t))){try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&e.document.nodeType!==11){return r}}catch(e){A(t,true)}}return ae(t,p,null,[e]).length>0};ae.contains=function(e,t){if((e.ownerDocument||e)!=p){d(e)}return x(e,t)};ae.attr=function(e,t){if((e.ownerDocument||e)!=p){d(e)}var i=r.attrHandle[t.toLowerCase()],o=i&&D.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):undefined;return o!==undefined?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null};ae.escape=function(e){return(e+"").replace(re,ie)};ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};ae.uniqueSort=function(e){var t,r=[],i=0,o=0;c=!n.detectDuplicates;l=!n.sortStable&&e.slice(0);e.sort(N);if(c){while(t=e[o++]){if(t===e[o]){i=r.push(o)}}while(i--){e.splice(r[i],1)}}l=null;return e};i=ae.getText=function(e){var t,n="",r=0,o=e.nodeType;if(!o){while(t=e[r++]){n+=i(t)}}else if(o===1||o===9||o===11){if(typeof e.textContent==="string"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){n+=i(e)}}}else if(o===3||o===4){return e.nodeValue}return n};r=ae.selectors={cacheLength:50,createPseudo:fe,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(te,ne);e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){ae.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+(e[7]+e[8]||e[3]==="odd")}else if(e[3]){ae.error(e[0])}return e},PSEUDO:function(e){var t,n=!e[6]&&e[2];if(G["CHILD"].test(e[0])){return null}if(e[3]){e[2]=e[4]||e[5]||""}else if(n&&X.test(n)&&(t=s(n,true))&&(t=n.indexOf(")",n.length-t)-n.length)){e[0]=e[0].slice(0,t);e[2]=n.slice(0,t)}return e.slice(0,3)}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return e==="*"?function(){return true}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,(function(e){return t.test(typeof e.className==="string"&&e.className||typeof e.getAttribute!=="undefined"&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ae.attr(r,e);if(i==null){return t==="!="}if(!t){return true}i+="";return t==="="?i===n:t==="!="?i!==n:t==="^="?n&&i.indexOf(n)===0:t==="*="?n&&i.indexOf(n)>-1:t==="$="?n&&i.slice(-n.length)===n:t==="~="?(" "+i.replace(B," ")+" ").indexOf(n)>-1:t==="|="?i===n||i.slice(0,n.length+1)===n+"-":false}},CHILD:function(e,t,n,r,i){var o=e.slice(0,3)!=="nth",s=e.slice(-4)!=="last",a=t==="of-type";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,u){var f,l,c,d,p,h,g=o!==s?"nextSibling":"previousSibling",y=t.parentNode,m=a&&t.nodeName.toLowerCase(),v=!u&&!a,x=false;if(y){if(o){while(g){d=t;while(d=d[g]){if(a?d.nodeName.toLowerCase()===m:d.nodeType===1){return false}}h=g=e==="only"&&!h&&"nextSibling"}return true}h=[s?y.firstChild:y.lastChild];if(s&&v){d=y;c=d[b]||(d[b]={});l=c[d.uniqueID]||(c[d.uniqueID]={});f=l[e]||[];p=f[0]===T&&f[1];x=p&&f[2];d=p&&y.childNodes[p];while(d=++p&&d&&d[g]||(x=p=0)||h.pop()){if(d.nodeType===1&&++x&&d===t){l[e]=[T,p,x];break}}}else{if(v){d=t;c=d[b]||(d[b]={});l=c[d.uniqueID]||(c[d.uniqueID]={});f=l[e]||[];p=f[0]===T&&f[1];x=p}if(x===false){while(d=++p&&d&&d[g]||(x=p=0)||h.pop()){if((a?d.nodeName.toLowerCase()===m:d.nodeType===1)&&++x){if(v){c=d[b]||(d[b]={});l=c[d.uniqueID]||(c[d.uniqueID]={});l[e]=[T,x]}if(d===t){break}}}}}x-=i;return x===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);if(i[b]){return i(t)}if(i.length>1){n=[e,e,"",t];return r.setFilters.hasOwnProperty(e.toLowerCase())?fe((function(e,n){var r,o=i(e,t),s=o.length;while(s--){r=P(e,o[s]);e[r]=!(n[r]=o[s])}})):function(e){return i(e,0,n)}}return i}},pseudos:{not:fe((function(e){var t=[],n=[],r=a(e.replace($,"$1"));return r[b]?fe((function(e,t,n,i){var o,s=r(e,null,i,[]),a=e.length;while(a--){if(o=s[a]){e[a]=!(t[a]=o)}}})):function(e,i,o){t[0]=e;r(t,null,o,n);t[0]=null;return!n.pop()}})),has:fe((function(e){return function(t){return ae(e,t).length>0}})),contains:fe((function(e){e=e.replace(te,ne);return function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:fe((function(e){if(!V.test(e||"")){ae.error("unsupported lang: "+e)}e=e.replace(te,ne).toLowerCase();return function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang")){n=n.toLowerCase();return n===e||n.indexOf(e+"-")===0}}while((t=t.parentNode)&&t.nodeType===1);return false}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(false),disabled:ge(true),checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return!r.pseudos["empty"](e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},first:ye((function(){return[0]})),last:ye((function(e,t){return[t-1]})),eq:ye((function(e,t,n){return[n<0?n+t:n]})),even:ye((function(e,t){var n=0;for(;n<t;n+=2){e.push(n)}return e})),odd:ye((function(e,t){var n=1;for(;n<t;n+=2){e.push(n)}return e})),lt:ye((function(e,t,n){var r=n<0?n+t:n>t?t:n;for(;--r>=0;){e.push(r)}return e})),gt:ye((function(e,t,n){var r=n<0?n+t:n;for(;++r<t;){e.push(r)}return e}))}};r.pseudos["nth"]=r.pseudos["eq"];for(t in{radio:true,checkbox:true,file:true,password:true,image:true}){r.pseudos[t]=pe(t)}for(t in{submit:true,reset:true}){r.pseudos[t]=he(t)}function ve(){}ve.prototype=r.filters=r.pseudos;r.setFilters=new ve;s=ae.tokenize=function(e,t){var n,i,o,s,a,u,f,l=S[e+" "];if(l){return t?0:l.slice(0)}a=e;u=[];f=r.preFilter;while(a){if(!n||(i=_.exec(a))){if(i){a=a.slice(i[0].length)||a}u.push(o=[])}n=false;if(i=z.exec(a)){n=i.shift();o.push({value:n,type:i[0].replace($," ")});a=a.slice(n.length)}for(s in r.filter){if((i=G[s].exec(a))&&(!f[s]||(i=f[s](i)))){n=i.shift();o.push({value:n,type:s,matches:i});a=a.slice(n.length)}}if(!n){break}}return t?a.length:a?ae.error(e):S(e,u).slice(0)};function xe(e){var t=0,n=e.length,r="";for(;t<n;t++){r+=e[t].value}return r}function be(e,t,n){var r=t.dir,i=t.next,o=i||r,s=n&&o==="parentNode",a=C++;return t.first?function(t,n,i){while(t=t[r]){if(t.nodeType===1||s){return e(t,n,i)}}return false}:function(t,n,u){var f,l,c,d=[T,a];if(u){while(t=t[r]){if(t.nodeType===1||s){if(e(t,n,u)){return true}}}}else{while(t=t[r]){if(t.nodeType===1||s){c=t[b]||(t[b]={});l=c[t.uniqueID]||(c[t.uniqueID]={});if(i&&i===t.nodeName.toLowerCase()){t=t[r]||t}else if((f=l[o])&&f[0]===T&&f[1]===a){return d[2]=f[2]}else{l[o]=d;if(d[2]=e(t,n,u)){return true}}}}}return false}}function we(e){return e.length>1?function(t,n,r){var i=e.length;while(i--){if(!e[i](t,n,r)){return false}}return true}:e[0]}function Te(e,t,n){var r=0,i=t.length;for(;r<i;r++){ae(e,t[r],n)}return n}function Ce(e,t,n,r,i){var o,s=[],a=0,u=e.length,f=t!=null;for(;a<u;a++){if(o=e[a]){if(!n||n(o,r,i)){s.push(o);if(f){t.push(a)}}}}return s}function Ee(e,t,n,r,i,o){if(r&&!r[b]){r=Ee(r)}if(i&&!i[b]){i=Ee(i,o)}return fe((function(o,s,a,u){var f,l,c,d=[],p=[],h=s.length,g=o||Te(t||"*",a.nodeType?[a]:a,[]),y=e&&(o||!t)?Ce(g,d,e,a,u):g,m=n?i||(o?e:h||r)?[]:s:y;if(n){n(y,m,a,u)}if(r){f=Ce(m,p);r(f,[],a,u);l=f.length;while(l--){if(c=f[l]){m[p[l]]=!(y[p[l]]=c)}}}if(o){if(i||e){if(i){f=[];l=m.length;while(l--){if(c=m[l]){f.push(y[l]=c)}}i(null,m=[],f,u)}l=m.length;while(l--){if((c=m[l])&&(f=i?P(o,c):d[l])>-1){o[f]=!(s[f]=c)}}}}else{m=Ce(m===s?m.splice(h,m.length):m);if(i){i(null,s,m,u)}else{H.apply(s,m)}}}))}function Se(e){var t,n,i,o=e.length,s=r.relative[e[0].type],a=s||r.relative[" "],u=s?1:0,l=be((function(e){return e===t}),a,true),c=be((function(e){return P(t,e)>-1}),a,true),d=[function(e,n,r){var i=!s&&(r||n!==f)||((t=n).nodeType?l(e,n,r):c(e,n,r));t=null;return i}];for(;u<o;u++){if(n=r.relative[e[u].type]){d=[be(we(d),n)]}else{n=r.filter[e[u].type].apply(null,e[u].matches);if(n[b]){i=++u;for(;i<o;i++){if(r.relative[e[i].type]){break}}return Ee(u>1&&we(d),u>1&&xe(e.slice(0,u-1).concat({value:e[u-2].type===" "?"*":""})).replace($,"$1"),n,u<i&&Se(e.slice(u,i)),i<o&&Se(e=e.slice(i)),i<o&&xe(e))}d.push(n)}}return we(d)}function ke(e,t){var n=t.length>0,i=e.length>0,o=function(o,s,a,u,l){var c,h,y,m=0,v="0",x=o&&[],b=[],w=f,C=o||i&&r.find["TAG"]("*",l),E=T+=w==null?1:Math.random()||.1,S=C.length;if(l){f=s==p||s||l}for(;v!==S&&(c=C[v])!=null;v++){if(i&&c){h=0;if(!s&&c.ownerDocument!=p){d(c);a=!g}while(y=e[h++]){if(y(c,s||p,a)){u.push(c);break}}if(l){T=E}}if(n){if(c=!y&&c){m--}if(o){x.push(c)}}}m+=v;if(n&&v!==m){h=0;while(y=t[h++]){y(x,b,s,a)}if(o){if(m>0){while(v--){if(!(x[v]||b[v])){b[v]=q.call(u)}}}b=Ce(b)}H.apply(u,b);if(l&&!o&&b.length>0&&m+t.length>1){ae.uniqueSort(u)}}if(l){T=E;f=w}return x};return n?fe(o):o}a=ae.compile=function(e,t){var n,r=[],i=[],o=k[e+" "];if(!o){if(!t){t=s(e)}n=t.length;while(n--){o=Se(t[n]);if(o[b]){r.push(o)}else{i.push(o)}}o=k(e,ke(i,r));o.selector=e}return o};u=ae.select=function(e,t,n,i){var o,u,f,l,c,d=typeof e==="function"&&e,p=!i&&s(e=d.selector||e);n=n||[];if(p.length===1){u=p[0]=p[0].slice(0);if(u.length>2&&(f=u[0]).type==="ID"&&t.nodeType===9&&g&&r.relative[u[1].type]){t=(r.find["ID"](f.matches[0].replace(te,ne),t)||[])[0];if(!t){return n}else if(d){t=t.parentNode}e=e.slice(u.shift().value.length)}o=G["needsContext"].test(e)?0:u.length;while(o--){f=u[o];if(r.relative[l=f.type]){break}if(c=r.find[l]){if(i=c(f.matches[0].replace(te,ne),ee.test(u[0].type)&&me(t.parentNode)||t)){u.splice(o,1);e=i.length&&xe(u);if(!e){H.apply(n,i);return n}break}}}}(d||a(e,p))(i,t,!g,n,!t||ee.test(e)&&me(t.parentNode)||t);return n};n.sortStable=b.split("").sort(N).join("")===b;n.detectDuplicates=!!c;d();n.sortDetached=le((function(e){return e.compareDocumentPosition(p.createElement("fieldset"))&1}));if(!le((function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"}))){ce("type|href|height|width",(function(e,t,n){if(!n){return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}}))}if(!n.attributes||!le((function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""}))){ce("value",(function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input"){return e.defaultValue}}))}if(!le((function(e){return e.getAttribute("disabled")==null}))){ce(R,(function(e,t,n){var r;if(!n){return e[t]===true?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}}))}return ae}(e);w.find=C;w.expr=C.selectors;w.expr[":"]=w.expr.pseudos;w.uniqueSort=w.unique=C.uniqueSort;w.text=C.getText;w.isXMLDoc=C.isXML;w.contains=C.contains;w.escapeSelector=C.escape;var E=function(e,t,n){var r=[],i=n!==undefined;while((e=e[t])&&e.nodeType!==9){if(e.nodeType===1){if(i&&w(e).is(n)){break}r.push(e)}}return r};var S=function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}}return n};var k=w.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,n){if(h(t)){return w.grep(e,(function(e,r){return!!t.call(e,r,e)!==n}))}if(t.nodeType){return w.grep(e,(function(e){return e===t!==n}))}if(typeof t!=="string"){return w.grep(e,(function(e){return a.call(t,e)>-1!==n}))}return w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];if(n){e=":not("+e+")"}if(t.length===1&&r.nodeType===1){return w.find.matchesSelector(r,e)?[r]:[]}return w.find.matches(e,w.grep(t,(function(e){return e.nodeType===1})))};w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if(typeof e!=="string"){return this.pushStack(w(e).filter((function(){for(t=0;t<r;t++){if(w.contains(i[t],this)){return true}}})))}n=this.pushStack([]);for(t=0;t<r;t++){w.find(e,i[t],n)}return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],false))},not:function(e){return this.pushStack(D(this,e||[],true))},is:function(e){return!!D(this,typeof e==="string"&&k.test(e)?w(e):e||[],false).length}});var j,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,L=w.fn.init=function(e,t,n){var r,i;if(!e){return this}n=n||j;if(typeof e==="string"){if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3){r=[null,e,null]}else{r=q.exec(e)}if(r&&(r[1]||!t)){if(r[1]){t=t instanceof w?t[0]:t;w.merge(this,w.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,true));if(N.test(r[1])&&w.isPlainObject(t)){for(r in t){if(h(this[r])){this[r](t[r])}else{this.attr(r,t[r])}}}return this}else{i=y.getElementById(r[2]);if(i){this[0]=i;this.length=1}return this}}else if(!t||t.jquery){return(t||n).find(e)}else{return this.constructor(t).find(e)}}else if(e.nodeType){this[0]=e;this.length=1;return this}else if(h(e)){return n.ready!==undefined?n.ready(e):e(w)}return w.makeArray(e,this)};L.prototype=w.fn;j=w(y);var H=/^(?:parents|prev(?:Until|All))/,O={children:true,contents:true,next:true,prev:true};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter((function(){var e=0;for(;e<n;e++){if(w.contains(this,t[e])){return true}}}))},closest:function(e,t){var n,r=0,i=this.length,o=[],s=typeof e!=="string"&&w(e);if(!k.test(e)){for(;r<i;r++){for(n=this[r];n&&n!==t;n=n.parentNode){if(n.nodeType<11&&(s?s.index(n)>-1:n.nodeType===1&&w.find.matchesSelector(n,e))){o.push(n);break}}}}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){if(!e){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof e==="string"){return a.call(w(e),this[0])}return a.call(this,e.jquery?e[0]:e)},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&e.nodeType!==1){}return e}w.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){if(e.contentDocument!=null&&r(e.contentDocument)){return e.contentDocument}if(A(e,"template")){e=e.content||e}return w.merge([],e.childNodes)}},(function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);if(e.slice(-5)!=="Until"){r=n}if(r&&typeof r==="string"){i=w.filter(r,i)}if(this.length>1){if(!O[e]){w.uniqueSort(i)}if(H.test(e)){i.reverse()}}return this.pushStack(i)}}));var R=/[^\x20\t\r\n\f]+/g;function M(e){var t={};w.each(e.match(R)||[],(function(e,n){t[n]=true}));return t}w.Callbacks=function(e){e=typeof e==="string"?M(e):w.extend({},e);var t,n,r,i,o=[],s=[],a=-1,u=function(){i=i||e.once;r=t=true;for(;s.length;a=-1){n=s.shift();while(++a<o.length){if(o[a].apply(n[0],n[1])===false&&e.stopOnFalse){a=o.length;n=false}}}if(!e.memory){n=false}t=false;if(i){if(n){o=[]}else{o=""}}},f={add:function(){if(o){if(n&&!t){a=o.length-1;s.push(n)}(function t(n){w.each(n,(function(n,r){if(h(r)){if(!e.unique||!f.has(r)){o.push(r)}}else if(r&&r.length&&x(r)!=="string"){t(r)}}))})(arguments);if(n&&!t){u()}}return this},remove:function(){w.each(arguments,(function(e,t){var n;while((n=w.inArray(t,o,n))>-1){o.splice(n,1);if(n<=a){a--}}}));return this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){if(o){o=[]}return this},disable:function(){i=s=[];o=n="";return this},disabled:function(){return!o},lock:function(){i=s=[];if(!n&&!t){o=n=""}return this},locked:function(){return!!i},fireWith:function(e,n){if(!i){n=n||[];n=[e,n.slice?n.slice():n];s.push(n);if(!t){u()}}return this},fire:function(){f.fireWith(this,arguments);return this},fired:function(){return!!r}};return f};function I(e){return e}function W(e){throw e}function F(e,t,n,r){var i;try{if(e&&h(i=e.promise)){i.call(e).done(t).fail(n)}else if(e&&h(i=e.then)){i.call(e,t,n)}else{t.apply(undefined,[e].slice(r))}}catch(e){n.apply(undefined,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){o.done(arguments).fail(arguments);return this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred((function(t){w.each(n,(function(n,r){var i=h(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);if(e&&h(e.promise)){e.promise().progress(t.notify).done(t.resolve).fail(t.reject)}else{t[r[0]+"With"](this,i?[e]:arguments)}}))}));e=null})).promise()},then:function(t,r,i){var o=0;function s(t,n,r,i){return function(){var a=this,u=arguments,f=function(){var e,f;if(t<o){return}e=r.apply(a,u);if(e===n.promise()){throw new TypeError("Thenable self-resolution")}f=e&&(typeof e==="object"||typeof e==="function")&&e.then;if(h(f)){if(i){f.call(e,s(o,n,I,i),s(o,n,W,i))}else{o++;f.call(e,s(o,n,I,i),s(o,n,W,i),s(o,n,I,n.notifyWith))}}else{if(r!==I){a=undefined;u=[e]}(i||n.resolveWith)(a,u)}},l=i?f:function(){try{f()}catch(e){if(w.Deferred.exceptionHook){w.Deferred.exceptionHook(e,l.stackTrace)}if(t+1>=o){if(r!==W){a=undefined;u=[e]}n.rejectWith(a,u)}}};if(t){l()}else{if(w.Deferred.getStackHook){l.stackTrace=w.Deferred.getStackHook()}e.setTimeout(l)}}}return w.Deferred((function(e){n[0][3].add(s(0,e,h(i)?i:I,e.notifyWith));n[1][3].add(s(0,e,h(t)?t:I));n[2][3].add(s(0,e,h(r)?r:W))})).promise()},promise:function(e){return e!=null?w.extend(e,i):i}},o={};w.each(n,(function(e,t){var s=t[2],a=t[5];i[t[1]]=s.add;if(a){s.add((function(){r=a}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock)}s.add(t[3].fire);o[t[0]]=function(){o[t[0]+"With"](this===o?undefined:this,arguments);return this};o[t[0]+"With"]=s.fireWith}));i.promise(o);if(t){t.call(o,o)}return o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=i.call(arguments),s=w.Deferred(),a=function(e){return function(n){r[e]=this;o[e]=arguments.length>1?i.call(arguments):n;if(!--t){s.resolveWith(r,o)}}};if(t<=1){F(e,s.done(a(n)).resolve,s.reject,!t);if(s.state()==="pending"||h(o[n]&&o[n].then)){return s.then()}}while(n--){F(o[n],a(n),s.reject)}return s.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){if(e.console&&e.console.warn&&t&&B.test(t.name)){e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)}};w.readyException=function(t){e.setTimeout((function(){throw t}))};var $=w.Deferred();w.fn.ready=function(e){$.then(e).catch((function(e){w.readyException(e)}));return this};w.extend({isReady:false,readyWait:1,ready:function(e){if(e===true?--w.readyWait:w.isReady){return}w.isReady=true;if(e!==true&&--w.readyWait>0){return}$.resolveWith(y,[w])}});w.ready.then=$.then;function _(){y.removeEventListener("DOMContentLoaded",_);e.removeEventListener("load",_);w.ready()}if(y.readyState==="complete"||y.readyState!=="loading"&&!y.documentElement.doScroll){e.setTimeout(w.ready)}else{y.addEventListener("DOMContentLoaded",_);e.addEventListener("load",_)}var z=function(e,t,n,r,i,o,s){var a=0,u=e.length,f=n==null;if(x(n)==="object"){i=true;for(a in n){z(e,t,a,n[a],true,o,s)}}else if(r!==undefined){i=true;if(!h(r)){s=true}if(f){if(s){t.call(e,r);t=null}else{f=t;t=function(e,t,n){return f.call(w(e),n)}}}if(t){for(;a<u;a++){t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)))}}}if(i){return e}if(f){return t.call(e)}return u?t(e[0],n):o};var U=/^-ms-/,X=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(U,"ms-").replace(X,V)}var Y=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1;Q.prototype={cache:function(e){var t=e[this.expando];if(!t){t={};if(Y(e)){if(e.nodeType){e[this.expando]=t}else{Object.defineProperty(e,this.expando,{value:t,configurable:true})}}}return t},set:function(e,t,n){var r,i=this.cache(e);if(typeof t==="string"){i[G(t)]=n}else{for(r in t){i[G(r)]=t[r]}}return i},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){if(t===undefined||t&&typeof t==="string"&&n===undefined){return this.get(e,t)}this.set(e,t,n);return n!==undefined?n:t},remove:function(e,t){var n,r=e[this.expando];if(r===undefined){return}if(t!==undefined){if(Array.isArray(t)){t=t.map(G)}else{t=G(t);t=t in r?[t]:t.match(R)||[]}n=t.length;while(n--){delete r[t[n]]}}if(t===undefined||w.isEmptyObject(r)){if(e.nodeType){e[this.expando]=undefined}else{delete e[this.expando]}}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!w.isEmptyObject(t)}};var J=new Q;var K=new Q;var Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e){if(e==="true"){return true}if(e==="false"){return false}if(e==="null"){return null}if(e===+e+""){return+e}if(Z.test(e)){return JSON.parse(e)}return e}function ne(e,t,n){var r;if(n===undefined&&e.nodeType===1){r="data-"+t.replace(ee,"-$&").toLowerCase();n=e.getAttribute(r);if(typeof n==="string"){try{n=te(n)}catch(e){}K.set(e,t,n)}else{n=undefined}}return n}w.extend({hasData:function(e){return K.hasData(e)||J.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}});w.fn.extend({data:function(e,t){var n,r,i,o=this[0],s=o&&o.attributes;if(e===undefined){if(this.length){i=K.get(o);if(o.nodeType===1&&!J.get(o,"hasDataAttrs")){n=s.length;while(n--){if(s[n]){r=s[n].name;if(r.indexOf("data-")===0){r=G(r.slice(5));ne(o,r,i[r])}}}J.set(o,"hasDataAttrs",true)}}return i}if(typeof e==="object"){return this.each((function(){K.set(this,e)}))}return z(this,(function(t){var n;if(o&&t===undefined){n=K.get(o,e);if(n!==undefined){return n}n=ne(o,e);if(n!==undefined){return n}return}this.each((function(){K.set(this,e,t)}))}),null,t,arguments.length>1,null,true)},removeData:function(e){return this.each((function(){K.remove(this,e)}))}});w.extend({queue:function(e,t,n){var r;if(e){t=(t||"fx")+"queue";r=J.get(e,t);if(n){if(!r||Array.isArray(n)){r=J.access(e,t,w.makeArray(n))}else{r.push(n)}}return r||[]}},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),s=function(){w.dequeue(e,t)};if(i==="inprogress"){i=n.shift();r--}if(i){if(t==="fx"){n.unshift("inprogress")}delete o.stop;i.call(e,s,o)}if(!r&&o){o.empty.fire()}},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}});w.fn.extend({queue:function(e,t){var n=2;if(typeof e!=="string"){t=e;e="fx";n--}if(arguments.length<n){return w.queue(this[0],e)}return t===undefined?this:this.each((function(){var n=w.queue(this,e,t);w._queueHooks(this,e);if(e==="fx"&&n[0]!=="inprogress"){w.dequeue(this,e)}}))},dequeue:function(e){return this.each((function(){w.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,s=this.length,a=function(){if(!--r){i.resolveWith(o,[o])}};if(typeof e!=="string"){t=e;e=undefined}e=e||"fx";while(s--){n=J.get(o[s],e+"queueHooks");if(n&&n.empty){r++;n.empty.add(a)}}a();return i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i");var oe=["Top","Right","Bottom","Left"];var se=y.documentElement;var ae=function(e){return w.contains(e.ownerDocument,e)},ue={composed:true};if(se.getRootNode){ae=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(ue)===e.ownerDocument}}var fe=function(e,t){e=t||e;return e.style.display==="none"||e.style.display===""&&ae(e)&&w.css(e,"display")==="none"};function le(e,t,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=a(),f=n&&n[3]||(w.cssNumber[t]?"":"px"),l=e.nodeType&&(w.cssNumber[t]||f!=="px"&&+u)&&ie.exec(w.css(e,t));if(l&&l[3]!==f){u=u/2;f=f||l[3];l=+u||1;while(s--){w.style(e,t,l+f);if((1-o)*(1-(o=a()/u||.5))<=0){s=0}l=l/o}l=l*2;w.style(e,t,l+f);n=n||[]}if(n){l=+l||+u||0;i=n[1]?l+(n[1]+1)*n[2]:+n[2];if(r){r.unit=f;r.start=l;r.end=i}}return i}var ce={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,i=ce[r];if(i){return i}t=n.body.appendChild(n.createElement(r));i=w.css(t,"display");t.parentNode.removeChild(t);if(i==="none"){i="block"}ce[r]=i;return i}function pe(e,t){var n,r,i=[],o=0,s=e.length;for(;o<s;o++){r=e[o];if(!r.style){continue}n=r.style.display;if(t){if(n==="none"){i[o]=J.get(r,"display")||null;if(!i[o]){r.style.display=""}}if(r.style.display===""&&fe(r)){i[o]=de(r)}}else{if(n!=="none"){i[o]="none";J.set(r,"display",n)}}}for(o=0;o<s;o++){if(i[o]!=null){e[o].style.display=i[o]}}return e}w.fn.extend({show:function(){return pe(this,true)},hide:function(){return pe(this)},toggle:function(e){if(typeof e==="boolean"){return e?this.show():this.hide()}return this.each((function(){if(fe(this)){w(this).show()}else{w(this).hide()}}))}});var he=/^(?:checkbox|radio)$/i;var ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var ye=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=y.createDocumentFragment(),t=e.appendChild(y.createElement("div")),n=y.createElement("input");n.setAttribute("type","radio");n.setAttribute("checked","checked");n.setAttribute("name","t");t.appendChild(n);p.checkClone=t.cloneNode(true).cloneNode(true).lastChild.checked;t.innerHTML="<textarea>x</textarea>";p.noCloneChecked=!!t.cloneNode(true).lastChild.defaultValue;t.innerHTML="<option></option>";p.option=!!t.lastChild})();var me={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,"",""]};me.tbody=me.tfoot=me.colgroup=me.caption=me.thead;me.th=me.td;if(!p.option){me.optgroup=me.option=[1,"<select multiple='multiple'>","</select>"]}function ve(e,t){var n;if(typeof e.getElementsByTagName!=="undefined"){n=e.getElementsByTagName(t||"*")}else if(typeof e.querySelectorAll!=="undefined"){n=e.querySelectorAll(t||"*")}else{n=[]}if(t===undefined||t&&A(e,t)){return w.merge([e],n)}return n}function xe(e,t){var n=0,r=e.length;for(;n<r;n++){J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}}var be=/<|&#?\w+;/;function we(e,t,n,r,i){var o,s,a,u,f,l,c=t.createDocumentFragment(),d=[],p=0,h=e.length;for(;p<h;p++){o=e[p];if(o||o===0){if(x(o)==="object"){w.merge(d,o.nodeType?[o]:o)}else if(!be.test(o)){d.push(t.createTextNode(o))}else{s=s||c.appendChild(t.createElement("div"));a=(ge.exec(o)||["",""])[1].toLowerCase();u=me[a]||me._default;s.innerHTML=u[1]+w.htmlPrefilter(o)+u[2];l=u[0];while(l--){s=s.lastChild}w.merge(d,s.childNodes);s=c.firstChild;s.textContent=""}}}c.textContent="";p=0;while(o=d[p++]){if(r&&w.inArray(o,r)>-1){if(i){i.push(o)}continue}f=ae(o);s=ve(c.appendChild(o),"script");if(f){xe(s)}if(n){l=0;while(o=s[l++]){if(ye.test(o.type||"")){n.push(o)}}}}return c}var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function Se(){return true}function ke(){return false}function Ae(e,t){return e===Ne()===(t==="focus")}function Ne(){try{return y.activeElement}catch(e){}}function De(e,t,n,r,i,o){var s,a;if(typeof t==="object"){if(typeof n!=="string"){r=r||n;n=undefined}for(a in t){De(e,a,n,r,t[a],o)}return e}if(r==null&&i==null){i=n;r=n=undefined}else if(i==null){if(typeof n==="string"){i=r;r=undefined}else{i=r;r=n;n=undefined}}if(i===false){i=ke}else if(!i){return e}if(o===1){s=i;i=function(e){w().off(e);return s.apply(this,arguments)};i.guid=s.guid||(s.guid=w.guid++)}return e.each((function(){w.event.add(this,t,i,r,n)}))}w.event={global:{},add:function(e,t,n,r,i){var o,s,a,u,f,l,c,d,p,h,g,y=J.get(e);if(!Y(e)){return}if(n.handler){o=n;n=o.handler;i=o.selector}if(i){w.find.matchesSelector(se,i)}if(!n.guid){n.guid=w.guid++}if(!(u=y.events)){u=y.events=Object.create(null)}if(!(s=y.handle)){s=y.handle=function(t){return typeof w!=="undefined"&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):undefined}}t=(t||"").match(R)||[""];f=t.length;while(f--){a=Ee.exec(t[f])||[];p=g=a[1];h=(a[2]||"").split(".").sort();if(!p){continue}c=w.event.special[p]||{};p=(i?c.delegateType:c.bindType)||p;c=w.event.special[p]||{};l=w.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o);if(!(d=u[p])){d=u[p]=[];d.delegateCount=0;if(!c.setup||c.setup.call(e,r,h,s)===false){if(e.addEventListener){e.addEventListener(p,s)}}}if(c.add){c.add.call(e,l);if(!l.handler.guid){l.handler.guid=n.guid}}if(i){d.splice(d.delegateCount++,0,l)}else{d.push(l)}w.event.global[p]=true}},remove:function(e,t,n,r,i){var o,s,a,u,f,l,c,d,p,h,g,y=J.hasData(e)&&J.get(e);if(!y||!(u=y.events)){return}t=(t||"").match(R)||[""];f=t.length;while(f--){a=Ee.exec(t[f])||[];p=g=a[1];h=(a[2]||"").split(".").sort();if(!p){for(p in u){w.event.remove(e,p+t[f],n,r,true)}continue}c=w.event.special[p]||{};p=(r?c.delegateType:c.bindType)||p;d=u[p]||[];a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)");s=o=d.length;while(o--){l=d[o];if((i||g===l.origType)&&(!n||n.guid===l.guid)&&(!a||a.test(l.namespace))&&(!r||r===l.selector||r==="**"&&l.selector)){d.splice(o,1);if(l.selector){d.delegateCount--}if(c.remove){c.remove.call(e,l)}}}if(s&&!d.length){if(!c.teardown||c.teardown.call(e,h,y.handle)===false){w.removeEvent(e,p,y.handle)}delete u[p]}}if(w.isEmptyObject(u)){J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=new Array(arguments.length),u=w.event.fix(e),f=(J.get(this,"events")||Object.create(null))[u.type]||[],l=w.event.special[u.type]||{};a[0]=u;for(t=1;t<arguments.length;t++){a[t]=arguments[t]}u.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,u)===false){return}s=w.event.handlers.call(this,u,f);t=0;while((i=s[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem;n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped()){if(!u.rnamespace||o.namespace===false||u.rnamespace.test(o.namespace)){u.handleObj=o;u.data=o.data;r=((w.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a);if(r!==undefined){if((u.result=r)===false){u.preventDefault();u.stopPropagation()}}}}}if(l.postDispatch){l.postDispatch.call(this,u)}return u.result},handlers:function(e,t){var n,r,i,o,s,a=[],u=t.delegateCount,f=e.target;if(u&&f.nodeType&&!(e.type==="click"&&e.button>=1)){for(;f!==this;f=f.parentNode||this){if(f.nodeType===1&&!(e.type==="click"&&f.disabled===true)){o=[];s={};for(n=0;n<u;n++){r=t[n];i=r.selector+" ";if(s[i]===undefined){s[i]=r.needsContext?w(i,this).index(f)>-1:w.find(i,this,null,[f]).length}if(s[i]){o.push(r)}}if(o.length){a.push({elem:f,handlers:o})}}}}f=this;if(u<t.length){a.push({elem:f,handlers:t.slice(u)})}return a},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:true,configurable:true,get:h(t)?function(){if(this.originalEvent){return t(this.originalEvent)}}:function(){if(this.originalEvent){return this.originalEvent[e]}},set:function(t){Object.defineProperty(this,e,{enumerable:true,configurable:true,writable:true,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:true},click:{setup:function(e){var t=this||e;if(he.test(t.type)&&t.click&&A(t,"input")){je(t,"click",Se)}return false},trigger:function(e){var t=this||e;if(he.test(t.type)&&t.click&&A(t,"input")){je(t,"click")}return true},_default:function(e){var t=e.target;return he.test(t.type)&&t.click&&A(t,"input")&&J.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){if(e.result!==undefined&&e.originalEvent){e.originalEvent.returnValue=e.result}}}}};function je(e,t,n){if(!n){if(J.get(e,t)===undefined){w.event.add(e,t,Se)}return}J.set(e,t,false);w.event.add(e,t,{namespace:false,handler:function(e){var r,o,s=J.get(this,t);if(e.isTrigger&1&&this[t]){if(!s.length){s=i.call(arguments);J.set(this,t,s);r=n(this,t);this[t]();o=J.get(this,t);if(s!==o||r){J.set(this,t,false)}else{o={}}if(s!==o){e.stopImmediatePropagation();e.preventDefault();return o.value}}else if((w.event.special[t]||{}).delegateType){e.stopPropagation()}}else if(s.length){J.set(this,t,{value:w.event.trigger(w.extend(s[0],w.Event.prototype),s.slice(1),this)});e.stopImmediatePropagation()}}})}w.removeEvent=function(e,t,n){if(e.removeEventListener){e.removeEventListener(t,n)}};w.Event=function(e,t){if(!(this instanceof w.Event)){return new w.Event(e,t)}if(e&&e.type){this.originalEvent=e;this.type=e.type;this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&e.returnValue===false?Se:ke;this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target;this.currentTarget=e.currentTarget;this.relatedTarget=e.relatedTarget}else{this.type=e}if(t){w.extend(this,t)}this.timeStamp=e&&e.timeStamp||Date.now();this[w.expando]=true};w.Event.prototype={constructor:w.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:false,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se;if(e&&!this.isSimulated){e.preventDefault()}},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se;if(e&&!this.isSimulated){e.stopPropagation()}},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se;if(e&&!this.isSimulated){e.stopImmediatePropagation()}this.stopPropagation()}};w.each({altKey:true,bubbles:true,cancelable:true,changedTouches:true,ctrlKey:true,detail:true,eventPhase:true,metaKey:true,pageX:true,pageY:true,shiftKey:true,view:true,char:true,code:true,charCode:true,key:true,keyCode:true,button:true,buttons:true,clientX:true,clientY:true,offsetX:true,offsetY:true,pointerId:true,pointerType:true,screenX:true,screenY:true,targetTouches:true,toElement:true,touches:true,which:function(e){var t=e.button;if(e.which==null&&Te.test(e.type)){return e.charCode!=null?e.charCode:e.keyCode}if(!e.which&&t!==undefined&&Ce.test(e.type)){if(t&1){return 1}if(t&2){return 3}if(t&4){return 2}return 0}return e.which}},w.event.addProp);w.each({focus:"focusin",blur:"focusout"},(function(e,t){w.event.special[e]={setup:function(){je(this,e,Ae);return false},trigger:function(){je(this,e);return true},delegateType:t}}));w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;if(!i||i!==r&&!w.contains(r,i)){e.type=o.origType;n=o.handler.apply(this,arguments);e.type=t}return n}}}));w.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj){r=e.handleObj;w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler);return this}if(typeof e==="object"){for(i in e){this.off(i,t,e[i])}return this}if(t===false||typeof t==="function"){n=t;t=undefined}if(n===false){n=ke}return this.each((function(){w.event.remove(this,e,n,t)}))}});var qe=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,He=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){if(A(e,"table")&&A(t.nodeType!==11?t:t.firstChild,"tr")){return w(e).children("tbody")[0]||e}return e}function Pe(e){e.type=(e.getAttribute("type")!==null)+"/"+e.type;return e}function Re(e){if((e.type||"").slice(0,5)==="true/"){e.type=e.type.slice(5)}else{e.removeAttribute("type")}return e}function Me(e,t){var n,r,i,o,s,a,u;if(t.nodeType!==1){return}if(J.hasData(e)){o=J.get(e);u=o.events;if(u){J.remove(t,"handle events");for(i in u){for(n=0,r=u[i].length;n<r;n++){w.event.add(t,i,u[i][n])}}}}if(K.hasData(e)){s=K.access(e);a=w.extend({},s);K.set(t,a)}}function Ie(e,t){var n=t.nodeName.toLowerCase();if(n==="input"&&he.test(e.type)){t.checked=e.checked}else if(n==="input"||n==="textarea"){t.defaultValue=e.defaultValue}}function We(e,t,n,r){t=o(t);var i,s,a,u,f,l,c=0,d=e.length,g=d-1,y=t[0],m=h(y);if(m||d>1&&typeof y==="string"&&!p.checkClone&&Le.test(y)){return e.each((function(i){var o=e.eq(i);if(m){t[0]=y.call(this,i,o.html())}We(o,t,n,r)}))}if(d){i=we(t,e[0].ownerDocument,false,e,r);s=i.firstChild;if(i.childNodes.length===1){i=s}if(s||r){a=w.map(ve(i,"script"),Pe);u=a.length;for(;c<d;c++){f=i;if(c!==g){f=w.clone(f,true,true);if(u){w.merge(a,ve(f,"script"))}}n.call(e[c],f,c)}if(u){l=a[a.length-1].ownerDocument;w.map(a,Re);for(c=0;c<u;c++){f=a[c];if(ye.test(f.type||"")&&!J.access(f,"globalEval")&&w.contains(l,f)){if(f.src&&(f.type||"").toLowerCase()!=="module"){if(w._evalUrl&&!f.noModule){w._evalUrl(f.src,{nonce:f.nonce||f.getAttribute("nonce")},l)}}else{v(f.textContent.replace(He,""),f,l)}}}}}}return e}function Fe(e,t,n){var r,i=t?w.filter(t,e):e,o=0;for(;(r=i[o])!=null;o++){if(!n&&r.nodeType===1){w.cleanData(ve(r))}if(r.parentNode){if(n&&ae(r)){xe(ve(r,"script"))}r.parentNode.removeChild(r)}}return e}w.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(true),u=ae(e);if(!p.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!w.isXMLDoc(e)){s=ve(a);o=ve(e);for(r=0,i=o.length;r<i;r++){Ie(o[r],s[r])}}if(t){if(n){o=o||ve(e);s=s||ve(a);for(r=0,i=o.length;r<i;r++){Me(o[r],s[r])}}else{Me(e,a)}}s=ve(a,"script");if(s.length>0){xe(s,!u&&ve(e,"script"))}return a},cleanData:function(e){var t,n,r,i=w.event.special,o=0;for(;(n=e[o])!==undefined;o++){if(Y(n)){if(t=n[J.expando]){if(t.events){for(r in t.events){if(i[r]){w.event.remove(n,r)}else{w.removeEvent(n,r,t.handle)}}}n[J.expando]=undefined}if(n[K.expando]){n[K.expando]=undefined}}}}});w.fn.extend({detach:function(e){return Fe(this,e,true)},remove:function(e){return Fe(this,e)},text:function(e){return z(this,(function(e){return e===undefined?w.text(this):this.empty().each((function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=e}}))}),null,e,arguments.length)},append:function(){return We(this,arguments,(function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Oe(this,e);t.appendChild(e)}}))},prepend:function(){return We(this,arguments,(function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return We(this,arguments,(function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}}))},after:function(){return We(this,arguments,(function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}}))},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){if(e.nodeType===1){w.cleanData(ve(e,false));e.textContent=""}}return this},clone:function(e,t){e=e==null?false:e;t=t==null?e:t;return this.map((function(){return w.clone(this,e,t)}))},html:function(e){return z(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&t.nodeType===1){return t.innerHTML}if(typeof e==="string"&&!qe.test(e)&&!me[(ge.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++){t=this[n]||{};if(t.nodeType===1){w.cleanData(ve(t,false));t.innerHTML=e}}t=0}catch(e){}}if(t){this.empty().append(e)}}),null,e,arguments.length)},replaceWith:function(){var e=[];return We(this,arguments,(function(t){var n=this.parentNode;if(w.inArray(this,e)<0){w.cleanData(ve(this));if(n){n.replaceChild(t,this)}}}),e)}});w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){w.fn[e]=function(e){var n,r=[],i=w(e),o=i.length-1,a=0;for(;a<=o;a++){n=a===o?this:this.clone(true);w(i[a])[t](n);s.apply(r,n.get())}return this.pushStack(r)}}));var Be=new RegExp("^("+re+")(?!px)[a-z%]+$","i");var $e=function(t){var n=t.ownerDocument.defaultView;if(!n||!n.opener){n=e}return n.getComputedStyle(t)};var _e=function(e,t,n){var r,i,o={};for(i in t){o[i]=e.style[i];e.style[i]=t[i]}r=n.call(e);for(i in t){e.style[i]=o[i]}return r};var ze=new RegExp(oe.join("|"),"i");(function(){function t(){if(!l){return}f.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%";se.appendChild(f).appendChild(l);var t=e.getComputedStyle(l);r=t.top!=="1%";u=n(t.marginLeft)===12;l.style.right="60%";s=n(t.right)===36;i=n(t.width)===36;l.style.position="absolute";o=n(l.offsetWidth/3)===12;se.removeChild(f);l=null}function n(e){return Math.round(parseFloat(e))}var r,i,o,s,a,u,f=y.createElement("div"),l=y.createElement("div");if(!l.style){return}l.style.backgroundClip="content-box";l.cloneNode(true).style.backgroundClip="";p.clearCloneStyle=l.style.backgroundClip==="content-box";w.extend(p,{boxSizingReliable:function(){t();return i},pixelBoxStyles:function(){t();return s},pixelPosition:function(){t();return r},reliableMarginLeft:function(){t();return u},scrollboxSize:function(){t();return o},reliableTrDimensions:function(){var t,n,r,i;if(a==null){t=y.createElement("table");n=y.createElement("tr");r=y.createElement("div");t.style.cssText="position:absolute;left:-11111px";n.style.height="1px";r.style.height="9px";se.appendChild(t).appendChild(n).appendChild(r);i=e.getComputedStyle(n);a=parseInt(i.height)>3;se.removeChild(t)}return a}})})();function Ue(e,t,n){var r,i,o,s,a=e.style;n=n||$e(e);if(n){s=n.getPropertyValue(t)||n[t];if(s===""&&!ae(e)){s=w.style(e,t)}if(!p.pixelBoxStyles()&&Be.test(s)&&ze.test(t)){r=a.width;i=a.minWidth;o=a.maxWidth;a.minWidth=a.maxWidth=a.width=s;s=n.width;a.width=r;a.minWidth=i;a.maxWidth=o}}return s!==undefined?s+"":s}function Xe(e,t){return{get:function(){if(e()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}var Ve=["Webkit","Moz","ms"],Ge=y.createElement("div").style,Ye={};function Qe(e){var t=e[0].toUpperCase()+e.slice(1),n=Ve.length;while(n--){e=Ve[n]+t;if(e in Ge){return e}}}function Je(e){var t=w.cssProps[e]||Ye[e];if(t){return t}if(e in Ge){return e}return Ye[e]=Qe(e)||e}var Ke=/^(none|table(?!-c[ea]).+)/,Ze=/^--/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"};function nt(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function rt(e,t,n,r,i,o){var s=t==="width"?1:0,a=0,u=0;if(n===(r?"border":"content")){return 0}for(;s<4;s+=2){if(n==="margin"){u+=w.css(e,n+oe[s],true,i)}if(!r){u+=w.css(e,"padding"+oe[s],true,i);if(n!=="padding"){u+=w.css(e,"border"+oe[s]+"Width",true,i)}else{a+=w.css(e,"border"+oe[s]+"Width",true,i)}}else{if(n==="content"){u-=w.css(e,"padding"+oe[s],true,i)}if(n!=="margin"){u-=w.css(e,"border"+oe[s]+"Width",true,i)}}}if(!r&&o>=0){u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-a-.5))||0}return u}function it(e,t,n){var r=$e(e),i=!p.boxSizingReliable()||n,o=i&&w.css(e,"boxSizing",false,r)==="border-box",s=o,a=Ue(e,t,r),u="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!n){return a}a="auto"}if((!p.boxSizingReliable()&&o||!p.reliableTrDimensions()&&A(e,"tr")||a==="auto"||!parseFloat(a)&&w.css(e,"display",false,r)==="inline")&&e.getClientRects().length){o=w.css(e,"boxSizing",false,r)==="border-box";s=u in e;if(s){a=e[u]}}a=parseFloat(a)||0;return a+rt(e,t,n||(o?"border":"content"),s,r,a)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return n===""?"1":n}}}},cssNumber:{animationIterationCount:true,columnCount:true,fillOpacity:true,flexGrow:true,flexShrink:true,fontWeight:true,gridArea:true,gridColumn:true,gridColumnEnd:true,gridColumnStart:true,gridRow:true,gridRowEnd:true,gridRowStart:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{},style:function(e,t,n,r){if(!e||e.nodeType===3||e.nodeType===8||!e.style){return}var i,o,s,a=G(t),u=Ze.test(t),f=e.style;if(!u){t=Je(a)}s=w.cssHooks[t]||w.cssHooks[a];if(n!==undefined){o=typeof n;if(o==="string"&&(i=ie.exec(n))&&i[1]){n=le(e,t,i);o="number"}if(n==null||n!==n){return}if(o==="number"&&!u){n+=i&&i[3]||(w.cssNumber[a]?"":"px")}if(!p.clearCloneStyle&&n===""&&t.indexOf("background")===0){f[t]="inherit"}if(!s||!("set"in s)||(n=s.set(e,n,r))!==undefined){if(u){f.setProperty(t,n)}else{f[t]=n}}}else{if(s&&"get"in s&&(i=s.get(e,false,r))!==undefined){return i}return f[t]}},css:function(e,t,n,r){var i,o,s,a=G(t),u=Ze.test(t);if(!u){t=Je(a)}s=w.cssHooks[t]||w.cssHooks[a];if(s&&"get"in s){i=s.get(e,true,n)}if(i===undefined){i=Ue(e,t,r)}if(i==="normal"&&t in tt){i=tt[t]}if(n===""||n){o=parseFloat(i);return n===true||isFinite(o)?o||0:i}return i}});w.each(["height","width"],(function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n){return Ke.test(w.css(e,"display"))&&(!e.getClientRects().length||!e.getBoundingClientRect().width)?_e(e,et,(function(){return it(e,t,r)})):it(e,t,r)}},set:function(e,n,r){var i,o=$e(e),s=!p.scrollboxSize()&&o.position==="absolute",a=s||r,u=a&&w.css(e,"boxSizing",false,o)==="border-box",f=r?rt(e,t,r,u,o):0;if(u&&s){f-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-rt(e,t,"border",false,o)-.5)}if(f&&(i=ie.exec(n))&&(i[3]||"px")!=="px"){e.style[t]=n;n=w.css(e,t)}return nt(e,n,f)}}}));w.cssHooks.marginLeft=Xe(p.reliableMarginLeft,(function(e,t){if(t){return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-_e(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"}}));w.each({margin:"",padding:"",border:"Width"},(function(e,t){w.cssHooks[e+t]={expand:function(n){var r=0,i={},o=typeof n==="string"?n.split(" "):[n];for(;r<4;r++){i[e+oe[r]+t]=o[r]||o[r-2]||o[0]}return i}};if(e!=="margin"){w.cssHooks[e+t].set=nt}}));w.fn.extend({css:function(e,t){return z(this,(function(e,t,n){var r,i,o={},s=0;if(Array.isArray(t)){r=$e(e);i=t.length;for(;s<i;s++){o[t[s]]=w.css(e,t[s],false,r)}return o}return n!==undefined?w.style(e,t,n):w.css(e,t)}),e,t,arguments.length>1)}});function ot(e,t,n,r,i){return new ot.prototype.init(e,t,n,r,i)}w.Tween=ot;ot.prototype={constructor:ot,init:function(e,t,n,r,i,o){this.elem=e;this.prop=n;this.easing=i||w.easing._default;this.options=t;this.start=this.now=this.cur();this.end=r;this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];if(this.options.duration){this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration)}else{this.pos=t=e}this.now=(this.end-this.start)*t+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(n&&n.set){n.set(this)}else{ot.propHooks._default.set(this)}return this}};ot.prototype.init.prototype=ot.prototype;ot.propHooks={_default:{get:function(e){var t;if(e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null){return e.elem[e.prop]}t=w.css(e.elem,e.prop,"");return!t||t==="auto"?0:t},set:function(e){if(w.fx.step[e.prop]){w.fx.step[e.prop](e)}else if(e.elem.nodeType===1&&(w.cssHooks[e.prop]||e.elem.style[Je(e.prop)]!=null)){w.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}};ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"};w.fx=ot.prototype.init;w.fx.step={};var st,at,ut=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;function lt(){if(at){if(y.hidden===false&&e.requestAnimationFrame){e.requestAnimationFrame(lt)}else{e.setTimeout(lt,w.fx.interval)}w.fx.tick()}}function ct(){e.setTimeout((function(){st=undefined}));return st=Date.now()}function dt(e,t){var n,r=0,i={height:e};t=t?1:0;for(;r<4;r+=2-t){n=oe[r];i["margin"+n]=i["padding"+n]=e}if(t){i.opacity=i.width=e}return i}function pt(e,t,n){var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,s=i.length;for(;o<s;o++){if(r=i[o].call(n,t,e)){return r}}}function ht(e,t,n){var r,i,o,s,a,u,f,l,c="width"in t||"height"in t,d=this,p={},h=e.style,g=e.nodeType&&fe(e),y=J.get(e,"fxshow");if(!n.queue){s=w._queueHooks(e,"fx");if(s.unqueued==null){s.unqueued=0;a=s.empty.fire;s.empty.fire=function(){if(!s.unqueued){a()}}}s.unqueued++;d.always((function(){d.always((function(){s.unqueued--;if(!w.queue(e,"fx").length){s.empty.fire()}}))}))}for(r in t){i=t[r];if(ut.test(i)){delete t[r];o=o||i==="toggle";if(i===(g?"hide":"show")){if(i==="show"&&y&&y[r]!==undefined){g=true}else{continue}}p[r]=y&&y[r]||w.style(e,r)}}u=!w.isEmptyObject(t);if(!u&&w.isEmptyObject(p)){return}if(c&&e.nodeType===1){n.overflow=[h.overflow,h.overflowX,h.overflowY];f=y&&y.display;if(f==null){f=J.get(e,"display")}l=w.css(e,"display");if(l==="none"){if(f){l=f}else{pe([e],true);f=e.style.display||f;l=w.css(e,"display");pe([e])}}if(l==="inline"||l==="inline-block"&&f!=null){if(w.css(e,"float")==="none"){if(!u){d.done((function(){h.display=f}));if(f==null){l=h.display;f=l==="none"?"":l}}h.display="inline-block"}}}if(n.overflow){h.overflow="hidden";d.always((function(){h.overflow=n.overflow[0];h.overflowX=n.overflow[1];h.overflowY=n.overflow[2]}))}u=false;for(r in p){if(!u){if(y){if("hidden"in y){g=y.hidden}}else{y=J.access(e,"fxshow",{display:f})}if(o){y.hidden=!g}if(g){pe([e],true)}d.done((function(){if(!g){pe([e])}J.remove(e,"fxshow");for(r in p){w.style(e,r,p[r])}}))}u=pt(g?y[r]:0,r,d);if(!(r in y)){y[r]=u.start;if(g){u.end=u.start;u.start=0}}}}function gt(e,t){var n,r,i,o,s;for(n in e){r=G(n);i=t[r];o=e[n];if(Array.isArray(o)){i=o[1];o=e[n]=o[0]}if(n!==r){e[r]=o;delete e[n]}s=w.cssHooks[r];if(s&&"expand"in s){o=s.expand(o);delete e[r];for(n in o){if(!(n in e)){e[n]=o[n];t[n]=i}}}else{t[r]=i}}}function yt(e,t,n){var r,i,o=0,s=yt.prefilters.length,a=w.Deferred().always((function(){delete u.elem})),u=function(){if(i){return false}var t=st||ct(),n=Math.max(0,f.startTime+f.duration-t),r=n/f.duration||0,o=1-r,s=0,u=f.tweens.length;for(;s<u;s++){f.tweens[s].run(o)}a.notifyWith(e,[f,o,n]);if(o<1&&u){return n}if(!u){a.notifyWith(e,[f,1,0])}a.resolveWith(e,[f]);return false},f=a.promise({elem:e,props:w.extend({},t),opts:w.extend(true,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:st||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,f.opts,t,n,f.opts.specialEasing[t]||f.opts.easing);f.tweens.push(r);return r},stop:function(t){var n=0,r=t?f.tweens.length:0;if(i){return this}i=true;for(;n<r;n++){f.tweens[n].run(1)}if(t){a.notifyWith(e,[f,1,0]);a.resolveWith(e,[f,t])}else{a.rejectWith(e,[f,t])}return this}}),l=f.props;gt(l,f.opts.specialEasing);for(;o<s;o++){r=yt.prefilters[o].call(f,e,l,f.opts);if(r){if(h(r.stop)){w._queueHooks(f.elem,f.opts.queue).stop=r.stop.bind(r)}return r}}w.map(l,pt,f);if(h(f.opts.start)){f.opts.start.call(e,f)}f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always);w.fx.timer(w.extend(u,{elem:e,anim:f,queue:f.opts.queue}));return f}w.Animation=w.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);le(n.elem,e,ie.exec(t),n);return n}]},tweener:function(e,t){if(h(e)){t=e;e=["*"]}else{e=e.match(R)}var n,r=0,i=e.length;for(;r<i;r++){n=e[r];yt.tweeners[n]=yt.tweeners[n]||[];yt.tweeners[n].unshift(t)}},prefilters:[ht],prefilter:function(e,t){if(t){yt.prefilters.unshift(e)}else{yt.prefilters.push(e)}}});w.speed=function(e,t,n){var r=e&&typeof e==="object"?w.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};if(w.fx.off){r.duration=0}else{if(typeof r.duration!=="number"){if(r.duration in w.fx.speeds){r.duration=w.fx.speeds[r.duration]}else{r.duration=w.fx.speeds._default}}}if(r.queue==null||r.queue===true){r.queue="fx"}r.old=r.complete;r.complete=function(){if(h(r.old)){r.old.call(this)}if(r.queue){w.dequeue(this,r.queue)}};return r};w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(fe).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),s=function(){var t=yt(this,w.extend({},e),o);if(i||J.get(this,"finish")){t.stop(true)}};s.finish=s;return i||o.queue===false?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop;t(n)};if(typeof e!=="string"){n=t;t=e;e=undefined}if(t){this.queue(e||"fx",[])}return this.each((function(){var t=true,i=e!=null&&e+"queueHooks",o=w.timers,s=J.get(this);if(i){if(s[i]&&s[i].stop){r(s[i])}}else{for(i in s){if(s[i]&&s[i].stop&&ft.test(i)){r(s[i])}}}for(i=o.length;i--;){if(o[i].elem===this&&(e==null||o[i].queue===e)){o[i].anim.stop(n);t=false;o.splice(i,1)}}if(t||!n){w.dequeue(this,e)}}))},finish:function(e){if(e!==false){e=e||"fx"}return this.each((function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,s=r?r.length:0;n.finish=true;w.queue(this,e,[]);if(i&&i.stop){i.stop.call(this,true)}for(t=o.length;t--;){if(o[t].elem===this&&o[t].queue===e){o[t].anim.stop(true);o.splice(t,1)}}for(t=0;t<s;t++){if(r[t]&&r[t].finish){r[t].finish.call(this)}}delete n.finish}))}});w.each(["toggle","show","hide"],(function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return e==null||typeof e==="boolean"?n.apply(this,arguments):this.animate(dt(t,true),e,r,i)}}));w.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}));w.timers=[];w.fx.tick=function(){var e,t=0,n=w.timers;st=Date.now();for(;t<n.length;t++){e=n[t];if(!e()&&n[t]===e){n.splice(t--,1)}}if(!n.length){w.fx.stop()}st=undefined};w.fx.timer=function(e){w.timers.push(e);w.fx.start()};w.fx.interval=13;w.fx.start=function(){if(at){return}at=true;lt()};w.fx.stop=function(){at=null};w.fx.speeds={slow:600,fast:200,_default:400};w.fn.delay=function(t,n){t=w.fx?w.fx.speeds[t]||t:t;n=n||"fx";return this.queue(n,(function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}}))};(function(){var e=y.createElement("input"),t=y.createElement("select"),n=t.appendChild(y.createElement("option"));e.type="checkbox";p.checkOn=e.value!=="";p.optSelected=n.selected;e=y.createElement("input");e.value="t";e.type="radio";p.radioValue=e.value==="t"})();var mt,vt=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return z(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){w.removeAttr(this,e)}))}});w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(o===3||o===8||o===2){return}if(typeof e.getAttribute==="undefined"){return w.prop(e,t,n)}if(o!==1||!w.isXMLDoc(e)){i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?mt:undefined)}if(n!==undefined){if(n===null){w.removeAttr(e,t);return}if(i&&"set"in i&&(r=i.set(e,n,t))!==undefined){return r}e.setAttribute(t,n+"");return n}if(i&&"get"in i&&(r=i.get(e,t))!==null){return r}r=w.find.attr(e,t);return r==null?undefined:r},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&t==="radio"&&A(e,"input")){var n=e.value;e.setAttribute("type",t);if(n){e.value=n}return t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(R);if(i&&e.nodeType===1){while(n=i[r++]){e.removeAttribute(n)}}}});mt={set:function(e,t,n){if(t===false){w.removeAttr(e,n)}else{e.setAttribute(n,n)}return n}};w.each(w.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=vt[t]||w.find.attr;vt[t]=function(e,t,r){var i,o,s=t.toLowerCase();if(!r){o=vt[s];vt[s]=i;i=n(e,t,r)!=null?s:null;vt[s]=o}return i}}));var xt=/^(?:input|select|textarea|button)$/i,bt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[w.propFix[e]||e]}))}});w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(o===3||o===8||o===2){return}if(o!==1||!w.isXMLDoc(e)){t=w.propFix[t]||t;i=w.propHooks[t]}if(n!==undefined){if(i&&"set"in i&&(r=i.set(e,n,t))!==undefined){return r}return e[t]=n}if(i&&"get"in i&&(r=i.get(e,t))!==null){return r}return e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");if(t){return parseInt(t,10)}if(xt.test(e.nodeName)||bt.test(e.nodeName)&&e.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!p.optSelected){w.propHooks.selected={get:function(e){var t=e.parentNode;if(t&&t.parentNode){t.parentNode.selectedIndex}return null},set:function(e){var t=e.parentNode;if(t){t.selectedIndex;if(t.parentNode){t.parentNode.selectedIndex}}}}}w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){w.propFix[this.toLowerCase()]=this}));function wt(e){var t=e.match(R)||[];return t.join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function Ct(e){if(Array.isArray(e)){return e}if(typeof e==="string"){return e.match(R)||[]}return[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,s,a,u=0;if(h(e)){return this.each((function(t){w(this).addClass(e.call(this,t,Tt(this)))}))}t=Ct(e);if(t.length){while(n=this[u++]){i=Tt(n);r=n.nodeType===1&&" "+wt(i)+" ";if(r){s=0;while(o=t[s++]){if(r.indexOf(" "+o+" ")<0){r+=o+" "}}a=wt(r);if(i!==a){n.setAttribute("class",a)}}}}return this},removeClass:function(e){var t,n,r,i,o,s,a,u=0;if(h(e)){return this.each((function(t){w(this).removeClass(e.call(this,t,Tt(this)))}))}if(!arguments.length){return this.attr("class","")}t=Ct(e);if(t.length){while(n=this[u++]){i=Tt(n);r=n.nodeType===1&&" "+wt(i)+" ";if(r){s=0;while(o=t[s++]){while(r.indexOf(" "+o+" ")>-1){r=r.replace(" "+o+" "," ")}}a=wt(r);if(i!==a){n.setAttribute("class",a)}}}}return this},toggleClass:function(e,t){var n=typeof e,r=n==="string"||Array.isArray(e);if(typeof t==="boolean"&&r){return t?this.addClass(e):this.removeClass(e)}if(h(e)){return this.each((function(n){w(this).toggleClass(e.call(this,n,Tt(this),t),t)}))}return this.each((function(){var t,i,o,s;if(r){i=0;o=w(this);s=Ct(e);while(t=s[i++]){if(o.hasClass(t)){o.removeClass(t)}else{o.addClass(t)}}}else if(e===undefined||n==="boolean"){t=Tt(this);if(t){J.set(this,"__className__",t)}if(this.setAttribute){this.setAttribute("class",t||e===false?"":J.get(this,"__className__")||"")}}}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++]){if(n.nodeType===1&&(" "+wt(Tt(n))+" ").indexOf(t)>-1){return true}}return false}});var Et=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];if(!arguments.length){if(i){t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()];if(t&&"get"in t&&(n=t.get(i,"value"))!==undefined){return n}n=i.value;if(typeof n==="string"){return n.replace(Et,"")}return n==null?"":n}return}r=h(e);return this.each((function(n){var i;if(this.nodeType!==1){return}if(r){i=e.call(this,n,w(this).val())}else{i=e}if(i==null){i=""}else if(typeof i==="number"){i+=""}else if(Array.isArray(i)){i=w.map(i,(function(e){return e==null?"":e+""}))}t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,i,"value")===undefined){this.value=i}}))}});w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return t!=null?t:wt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,s=e.type==="select-one",a=s?null:[],u=s?o+1:i.length;if(o<0){r=u}else{r=s?o:0}for(;r<u;r++){n=i[r];if((n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){t=w(n).val();if(s){return t}a.push(t)}}return a},set:function(e,t){var n,r,i=e.options,o=w.makeArray(t),s=i.length;while(s--){r=i[s];if(r.selected=w.inArray(w.valHooks.option.get(r),o)>-1){n=true}}if(!n){e.selectedIndex=-1}return o}}}});w.each(["radio","checkbox"],(function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t)){return e.checked=w.inArray(w(e).val(),t)>-1}}};if(!p.checkOn){w.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value}}}));p.focusin="onfocusin"in e;var St=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,r,i){var o,s,a,u,f,c,d,p,m=[r||y],v=l.call(t,"type")?t.type:t,x=l.call(t,"namespace")?t.namespace.split("."):[];s=p=a=r=r||y;if(r.nodeType===3||r.nodeType===8){return}if(St.test(v+w.event.triggered)){return}if(v.indexOf(".")>-1){x=v.split(".");v=x.shift();x.sort()}f=v.indexOf(":")<0&&"on"+v;t=t[w.expando]?t:new w.Event(v,typeof t==="object"&&t);t.isTrigger=i?2:3;t.namespace=x.join(".");t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;t.result=undefined;if(!t.target){t.target=r}n=n==null?[t]:w.makeArray(n,[t]);d=w.event.special[v]||{};if(!i&&d.trigger&&d.trigger.apply(r,n)===false){return}if(!i&&!d.noBubble&&!g(r)){u=d.delegateType||v;if(!St.test(u+v)){s=s.parentNode}for(;s;s=s.parentNode){m.push(s);a=s}if(a===(r.ownerDocument||y)){m.push(a.defaultView||a.parentWindow||e)}}o=0;while((s=m[o++])&&!t.isPropagationStopped()){p=s;t.type=o>1?u:d.bindType||v;c=(J.get(s,"events")||Object.create(null))[t.type]&&J.get(s,"handle");if(c){c.apply(s,n)}c=f&&s[f];if(c&&c.apply&&Y(s)){t.result=c.apply(s,n);if(t.result===false){t.preventDefault()}}}t.type=v;if(!i&&!t.isDefaultPrevented()){if((!d._default||d._default.apply(m.pop(),n)===false)&&Y(r)){if(f&&h(r[v])&&!g(r)){a=r[f];if(a){r[f]=null}w.event.triggered=v;if(t.isPropagationStopped()){p.addEventListener(v,kt)}r[v]();if(t.isPropagationStopped()){p.removeEventListener(v,kt)}w.event.triggered=undefined;if(a){r[f]=a}}}}return t.result},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:true});w.event.trigger(r,null,t)}});w.fn.extend({trigger:function(e,t){return this.each((function(){w.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n){return w.event.trigger(e,t,n,true)}}});if(!p.focusin){w.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,t);if(!i){r.addEventListener(e,n,true)}J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,t)-1;if(!i){r.removeEventListener(e,n,true);J.remove(r,t)}else{J.access(r,t,i)}}}}))}var At=e.location;var Nt={guid:Date.now()};var Dt=/\?/;w.parseXML=function(t){var n;if(!t||typeof t!=="string"){return null}try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=undefined}if(!n||n.getElementsByTagName("parsererror").length){w.error("Invalid XML: "+t)}return n};var jt=/\[\]$/,qt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Ht=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,n,r){var i;if(Array.isArray(t)){w.each(t,(function(t,i){if(n||jt.test(e)){r(e,i)}else{Ot(e+"["+(typeof i==="object"&&i!=null?t:"")+"]",i,n,r)}}))}else if(!n&&x(t)==="object"){for(i in t){Ot(e+"["+i+"]",t[i],n,r)}}else{r(e,t)}}w.param=function(e,t){var n,r=[],i=function(e,t){var n=h(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(n==null?"":n)};if(e==null){return""}if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e)){w.each(e,(function(){i(this.name,this.value)}))}else{for(n in e){Ot(n,e[n],t,i)}}return r.join("&")};w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Ht.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!he.test(e))})).map((function(e,t){var n=w(this).val();if(n==null){return null}if(Array.isArray(n)){return w.map(n,(function(e){return{name:t.name,value:e.replace(qt,"\r\n")}}))}return{name:t.name,value:n.replace(qt,"\r\n")}})).get()}});var Pt=/%20/g,Rt=/#.*$/,Mt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Wt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ft=/^(?:GET|HEAD)$/,Bt=/^\/\//,$t={},_t={},zt="*/".concat("*"),Ut=y.createElement("a");Ut.href=At.href;function Xt(e){return function(t,n){if(typeof t!=="string"){n=t;t="*"}var r,i=0,o=t.toLowerCase().match(R)||[];if(h(n)){while(r=o[i++]){if(r[0]==="+"){r=r.slice(1)||"*";(e[r]=e[r]||[]).unshift(n)}else{(e[r]=e[r]||[]).push(n)}}}}}function Vt(e,t,n,r){var i={},o=e===_t;function s(a){var u;i[a]=true;w.each(e[a]||[],(function(e,a){var f=a(t,n,r);if(typeof f==="string"&&!o&&!i[f]){t.dataTypes.unshift(f);s(f);return false}else if(o){return!(u=f)}}));return u}return s(t.dataTypes[0])||!i["*"]&&s("*")}function Gt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t){if(t[n]!==undefined){(i[n]?e:r||(r={}))[n]=t[n]}}if(r){w.extend(true,e,r)}return e}function Yt(e,t,n){var r,i,o,s,a=e.contents,u=e.dataTypes;while(u[0]==="*"){u.shift();if(r===undefined){r=e.mimeType||t.getResponseHeader("Content-Type")}}if(r){for(i in a){if(a[i]&&a[i].test(r)){u.unshift(i);break}}}if(u[0]in n){o=u[0]}else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}if(!s){s=i}}o=o||s}if(o){if(o!==u[0]){u.unshift(o)}return n[o]}}function Qt(e,t,n,r){var i,o,s,a,u,f={},l=e.dataTypes.slice();if(l[1]){for(s in e.converters){f[s.toLowerCase()]=e.converters[s]}}o=l.shift();while(o){if(e.responseFields[o]){n[e.responseFields[o]]=t}if(!u&&r&&e.dataFilter){t=e.dataFilter(t,e.dataType)}u=o;o=l.shift();if(o){if(o==="*"){o=u}else if(u!=="*"&&u!==o){s=f[u+" "+o]||f["* "+o];if(!s){for(i in f){a=i.split(" ");if(a[1]===o){s=f[u+" "+a[0]]||f["* "+a[0]];if(s){if(s===true){s=f[i]}else if(f[i]!==true){o=a[0];l.unshift(a[1])}break}}}}if(s!==true){if(s&&e.throws){t=s(t)}else{try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}}}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:Wt.test(At.protocol),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":true,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(e,t){return t?Gt(Gt(e,w.ajaxSettings),t):Gt(w.ajaxSettings,e)},ajaxPrefilter:Xt($t),ajaxTransport:Xt(_t),ajax:function(t,n){if(typeof t==="object"){n=t;t=undefined}n=n||{};var r,i,o,s,a,u,f,l,c,d,p=w.ajaxSetup({},n),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?w(h):w.event,m=w.Deferred(),v=w.Callbacks("once memory"),x=p.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(f){if(!s){s={};while(t=It.exec(o)){s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2])}}t=s[e.toLowerCase()+" "]}return t==null?null:t.join(", ")},getAllResponseHeaders:function(){return f?o:null},setRequestHeader:function(e,t){if(f==null){e=T[e.toLowerCase()]=T[e.toLowerCase()]||e;b[e]=t}return this},overrideMimeType:function(e){if(f==null){p.mimeType=e}return this},statusCode:function(e){var t;if(e){if(f){E.always(e[E.status])}else{for(t in e){x[t]=[x[t],e[t]]}}}return this},abort:function(e){var t=e||C;if(r){r.abort(t)}S(0,t);return this}};m.promise(E);p.url=((t||p.url||At.href)+"").replace(Bt,At.protocol+"//");p.type=n.method||n.type||p.method||p.type;p.dataTypes=(p.dataType||"*").toLowerCase().match(R)||[""];if(p.crossDomain==null){u=y.createElement("a");try{u.href=p.url;u.href=u.href;p.crossDomain=Ut.protocol+"//"+Ut.host!==u.protocol+"//"+u.host}catch(e){p.crossDomain=true}}if(p.data&&p.processData&&typeof p.data!=="string"){p.data=w.param(p.data,p.traditional)}Vt($t,p,n,E);if(f){return E}l=w.event&&p.global;if(l&&w.active++===0){w.event.trigger("ajaxStart")}p.type=p.type.toUpperCase();p.hasContent=!Ft.test(p.type);i=p.url.replace(Rt,"");if(!p.hasContent){d=p.url.slice(i.length);if(p.data&&(p.processData||typeof p.data==="string")){i+=(Dt.test(i)?"&":"?")+p.data;delete p.data}if(p.cache===false){i=i.replace(Mt,"$1");d=(Dt.test(i)?"&":"?")+"_="+Nt.guid+++d}p.url=i+d}else if(p.data&&p.processData&&(p.contentType||"").indexOf("application/x-www-form-urlencoded")===0){p.data=p.data.replace(Pt,"+")}if(p.ifModified){if(w.lastModified[i]){E.setRequestHeader("If-Modified-Since",w.lastModified[i])}if(w.etag[i]){E.setRequestHeader("If-None-Match",w.etag[i])}}if(p.data&&p.hasContent&&p.contentType!==false||n.contentType){E.setRequestHeader("Content-Type",p.contentType)}E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+(p.dataTypes[0]!=="*"?", "+zt+"; q=0.01":""):p.accepts["*"]);for(c in p.headers){E.setRequestHeader(c,p.headers[c])}if(p.beforeSend&&(p.beforeSend.call(h,E,p)===false||f)){return E.abort()}C="abort";v.add(p.complete);E.done(p.success);E.fail(p.error);r=Vt(_t,p,n,E);if(!r){S(-1,"No Transport")}else{E.readyState=1;if(l){g.trigger("ajaxSend",[E,p])}if(f){return E}if(p.async&&p.timeout>0){a=e.setTimeout((function(){E.abort("timeout")}),p.timeout)}try{f=false;r.send(b,S)}catch(e){if(f){throw e}S(-1,e)}}function S(t,n,s,u){var c,d,y,b,T,C=n;if(f){return}f=true;if(a){e.clearTimeout(a)}r=undefined;o=u||"";E.readyState=t>0?4:0;c=t>=200&&t<300||t===304;if(s){b=Yt(p,E,s)}if(!c&&w.inArray("script",p.dataTypes)>-1){p.converters["text script"]=function(){}}b=Qt(p,b,E,c);if(c){if(p.ifModified){T=E.getResponseHeader("Last-Modified");if(T){w.lastModified[i]=T}T=E.getResponseHeader("etag");if(T){w.etag[i]=T}}if(t===204||p.type==="HEAD"){C="nocontent"}else if(t===304){C="notmodified"}else{C=b.state;d=b.data;y=b.error;c=!y}}else{y=C;if(t||!C){C="error";if(t<0){t=0}}}E.status=t;E.statusText=(n||C)+"";if(c){m.resolveWith(h,[d,C,E])}else{m.rejectWith(h,[E,C,y])}E.statusCode(x);x=undefined;if(l){g.trigger(c?"ajaxSuccess":"ajaxError",[E,p,c?d:y])}v.fireWith(h,[E,C]);if(l){g.trigger("ajaxComplete",[E,p]);if(!--w.active){w.event.trigger("ajaxStop")}}}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,undefined,t,"script")}});w.each(["get","post"],(function(e,t){w[t]=function(e,n,r,i){if(h(n)){i=i||r;r=n;n=undefined}return w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}));w.ajaxPrefilter((function(e){var t;for(t in e.headers){if(t.toLowerCase()==="content-type"){e.contentType=e.headers[t]||""}}}));w._evalUrl=function(e,t,n){return w.ajax({url:e,type:"GET",dataType:"script",cache:true,async:false,global:false,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t,n)}})};w.fn.extend({wrapAll:function(e){var t;if(this[0]){if(h(e)){e=e.call(this[0])}t=w(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){t.insertBefore(this[0])}t.map((function(){var e=this;while(e.firstElementChild){e=e.firstElementChild}return e})).append(this)}return this},wrapInner:function(e){if(h(e)){return this.each((function(t){w(this).wrapInner(e.call(this,t))}))}return this.each((function(){var t=w(this),n=t.contents();if(n.length){n.wrapAll(e)}else{t.append(e)}}))},wrap:function(e){var t=h(e);return this.each((function(n){w(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){this.parent(e).not("body").each((function(){w(this).replaceWith(this.childNodes)}));return this}});w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)};w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Kt=w.ajaxSettings.xhr();p.cors=!!Kt&&"withCredentials"in Kt;p.ajax=Kt=!!Kt;w.ajaxTransport((function(t){var n,r;if(p.cors||Kt&&!t.crossDomain){return{send:function(i,o){var s,a=t.xhr();a.open(t.type,t.url,t.async,t.username,t.password);if(t.xhrFields){for(s in t.xhrFields){a[s]=t.xhrFields[s]}}if(t.mimeType&&a.overrideMimeType){a.overrideMimeType(t.mimeType)}if(!t.crossDomain&&!i["X-Requested-With"]){i["X-Requested-With"]="XMLHttpRequest"}for(s in i){a.setRequestHeader(s,i[s])}n=function(e){return function(){if(n){n=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null;if(e==="abort"){a.abort()}else if(e==="error"){if(typeof a.status!=="number"){o(0,"error")}else{o(a.status,a.statusText)}}else{o(Jt[a.status]||a.status,a.statusText,(a.responseType||"text")!=="text"||typeof a.responseText!=="string"?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders())}}}};a.onload=n();r=a.onerror=a.ontimeout=n("error");if(a.onabort!==undefined){a.onabort=r}else{a.onreadystatechange=function(){if(a.readyState===4){e.setTimeout((function(){if(n){r()}}))}}}n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n){throw e}}},abort:function(){if(n){n()}}}}}));w.ajaxPrefilter((function(e){if(e.crossDomain){e.contents.script=false}}));w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, "+"application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){w.globalEval(e);return e}}});w.ajaxPrefilter("script",(function(e){if(e.cache===undefined){e.cache=false}if(e.crossDomain){e.type="GET"}}));w.ajaxTransport("script",(function(e){if(e.crossDomain||e.scriptAttrs){var t,n;return{send:function(r,i){t=w("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove();n=null;if(e){i(e.type==="error"?404:200,e.type)}});y.head.appendChild(t[0])},abort:function(){if(n){n()}}}}}));var Zt=[],en=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Zt.pop()||w.expando+"_"+Nt.guid++;this[e]=true;return e}});w.ajaxPrefilter("json jsonp",(function(t,n,r){var i,o,s,a=t.jsonp!==false&&(en.test(t.url)?"url":typeof t.data==="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&en.test(t.data)&&"data");if(a||t.dataTypes[0]==="jsonp"){i=t.jsonpCallback=h(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback;if(a){t[a]=t[a].replace(en,"$1"+i)}else if(t.jsonp!==false){t.url+=(Dt.test(t.url)?"&":"?")+t.jsonp+"="+i}t.converters["script json"]=function(){if(!s){w.error(i+" was not called")}return s[0]};t.dataTypes[0]="json";o=e[i];e[i]=function(){s=arguments};r.always((function(){if(o===undefined){w(e).removeProp(i)}else{e[i]=o}if(t[i]){t.jsonpCallback=n.jsonpCallback;Zt.push(i)}if(s&&h(o)){o(s[0])}s=o=undefined}));return"script"}}));p.createHTMLDocument=function(){var e=y.implementation.createHTMLDocument("").body;e.innerHTML="<form></form><form></form>";return e.childNodes.length===2}();w.parseHTML=function(e,t,n){if(typeof e!=="string"){return[]}if(typeof t==="boolean"){n=t;t=false}var r,i,o;if(!t){if(p.createHTMLDocument){t=y.implementation.createHTMLDocument("");r=t.createElement("base");r.href=y.location.href;t.head.appendChild(r)}else{t=y}}i=N.exec(e);o=!n&&[];if(i){return[t.createElement(i[1])]}i=we([e],t,o);if(o&&o.length){w(o).remove()}return w.merge([],i.childNodes)};w.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");if(a>-1){r=wt(e.slice(a));e=e.slice(0,a)}if(h(t)){n=t;t=undefined}else if(t&&typeof t==="object"){i="POST"}if(s.length>0){w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments;s.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))})}return this};w.expr.pseudos.animated=function(e){return w.grep(w.timers,(function(t){return e===t.elem})).length};w.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,f,l=w.css(e,"position"),c=w(e),d={};if(l==="static"){e.style.position="relative"}a=c.offset();o=w.css(e,"top");u=w.css(e,"left");f=(l==="absolute"||l==="fixed")&&(o+u).indexOf("auto")>-1;if(f){r=c.position();s=r.top;i=r.left}else{s=parseFloat(o)||0;i=parseFloat(u)||0}if(h(t)){t=t.call(e,n,w.extend({},a))}if(t.top!=null){d.top=t.top-a.top+s}if(t.left!=null){d.left=t.left-a.left+i}if("using"in t){t.using.call(e,d)}else{if(typeof d.top==="number"){d.top+="px"}if(typeof d.left==="number"){d.left+="px"}c.css(d)}}};w.fn.extend({offset:function(e){if(arguments.length){return e===undefined?this:this.each((function(t){w.offset.setOffset(this,e,t)}))}var t,n,r=this[0];if(!r){return}if(!r.getClientRects().length){return{top:0,left:0}}t=r.getBoundingClientRect();n=r.ownerDocument.defaultView;return{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}},position:function(){if(!this[0]){return}var e,t,n,r=this[0],i={top:0,left:0};if(w.css(r,"position")==="fixed"){t=r.getBoundingClientRect()}else{t=this.offset();n=r.ownerDocument;e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&w.css(e,"position")==="static"){e=e.parentNode}if(e&&e!==r&&e.nodeType===1){i=w(e).offset();i.top+=w.css(e,"borderTopWidth",true);i.left+=w.css(e,"borderLeftWidth",true)}}return{top:t.top-i.top-w.css(r,"marginTop",true),left:t.left-i.left-w.css(r,"marginLeft",true)}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&w.css(e,"position")==="static"){e=e.offsetParent}return e||se}))}});w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return z(this,(function(e,r,i){var o;if(g(e)){o=e}else if(e.nodeType===9){o=e.defaultView}if(i===undefined){return o?o[t]:e[r]}if(o){o.scrollTo(!n?i:o.pageXOffset,n?i:o.pageYOffset)}else{e[r]=i}}),e,r,arguments.length)}}));w.each(["top","left"],(function(e,t){w.cssHooks[t]=Xe(p.pixelPosition,(function(e,n){if(n){n=Ue(e,t);return Be.test(n)?w(e).position()[t]+"px":n}}))}));w.each({Height:"height",Width:"width"},(function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){w.fn[r]=function(i,o){var s=arguments.length&&(n||typeof i!=="boolean"),a=n||(i===true||o===true?"margin":"border");return z(this,(function(t,n,i){var o;if(g(t)){return r.indexOf("outer")===0?t["inner"+e]:t.document.documentElement["client"+e]}if(t.nodeType===9){o=t.documentElement;return Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])}return i===undefined?w.css(t,n,a):w.style(t,n,i,a)}),t,s?i:undefined,s)}}))}));w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){w.fn[t]=function(e){return this.on(t,e)}}));w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});w.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(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var tn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.proxy=function(e,t){var n,r,o;if(typeof t==="string"){n=e[t];t=e;e=n}if(!h(e)){return undefined}r=i.call(arguments,2);o=function(){return e.apply(t||this,r.concat(i.call(arguments)))};o.guid=e.guid=e.guid||w.guid++;return o};w.holdReady=function(e){if(e){w.readyWait++}else{w.ready(true)}};w.isArray=Array.isArray;w.parseJSON=JSON.parse;w.nodeName=A;w.isFunction=h;w.isWindow=g;w.camelCase=G;w.type=x;w.now=Date.now;w.isNumeric=function(e){var t=w.type(e);return(t==="number"||t==="string")&&!isNaN(e-parseFloat(e))};w.trim=function(e){return e==null?"":(e+"").replace(tn,"")};var nn=e.jQuery,rn=e.$;w.noConflict=function(t){if(e.$===w){e.$=rn}if(t&&e.jQuery===w){e.jQuery=nn}return w};if(typeof t==="undefined"){e.jQuery=e.$=w}return w}))}));return r}();