@swisspost/internet-header 1.5.5 → 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-aff25ac1.js → index-d5b7ae1a.js} +1 -1
- package/dist/cjs/{index-aff25ac1.js.map → index-d5b7ae1a.js.map} +1 -1
- package/dist/cjs/{klp-widget.controller-d8941c4e.js → klp-widget.controller-5d5afa10.js} +32 -60
- package/dist/cjs/klp-widget.controller-5d5afa10.js.map +1 -0
- package/dist/cjs/{language.service-167d5a9c.js → language.service-f769504f.js} +2 -2
- package/dist/cjs/{language.service-167d5a9c.js.map → language.service-f769504f.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/post-klp-login-widget.cjs.entry.js +5 -5
- package/dist/cjs/post-klp-login-widget.cjs.entry.js.map +1 -1
- package/dist/cjs/post-language-switch.cjs.entry.js +6 -6
- package/dist/cjs/post-language-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/post-logo.cjs.entry.js +2 -2
- package/dist/cjs/post-main-navigation.cjs.entry.js +5 -5
- package/dist/cjs/post-main-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/post-meta-navigation.cjs.entry.js +2 -2
- package/dist/cjs/post-search.cjs.entry.js +16 -54
- package/dist/cjs/post-search.cjs.entry.js.map +1 -1
- package/dist/cjs/post-skiplinks.cjs.entry.js +4 -4
- package/dist/cjs/{store-b0284e36.js → store-8b73c1d2.js} +2 -2
- package/dist/cjs/{store-b0284e36.js.map → store-8b73c1d2.js.map} +1 -1
- package/dist/cjs/{svg-icon.component-715db679.js → svg-icon.component-a7308b93.js} +2 -2
- package/dist/cjs/{svg-icon.component-715db679.js.map → svg-icon.component-a7308b93.js.map} +1 -1
- package/dist/cjs/{svg-sprite.component-22680222.js → svg-sprite.component-7cb54614.js} +2 -2
- package/dist/cjs/{svg-sprite.component-22680222.js.map → svg-sprite.component-7cb54614.js.map} +1 -1
- package/dist/cjs/swisspost-internet-breadcrumbs.cjs.entry.js +10 -1315
- package/dist/cjs/swisspost-internet-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/swisspost-internet-footer.cjs.entry.js +4 -4
- package/dist/cjs/swisspost-internet-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/swisspost-internet-header.cjs.entry.js +23 -23
- package/dist/cjs/swisspost-internet-header.cjs.entry.js.map +1 -1
- package/dist/cjs/swisspost-internet-header.cjs.js +2 -2
- package/dist/cjs/swisspost-internet-header.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.css +98 -352
- package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.js +1 -1
- package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.js.map +1 -1
- package/dist/collection/components/post-internet-footer/post-internet-footer.css +86 -348
- package/dist/collection/components/post-internet-header/post-internet-header.css +5 -10
- package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.css +6 -6
- package/dist/collection/components/post-language-switch/post-language-switch.css +3 -3
- package/dist/collection/components/post-main-navigation/post-main-navigation.css +7 -7
- package/dist/collection/components/post-search/post-search.css +197 -430
- package/dist/collection/components/post-search/post-search.js +1 -1
- package/dist/collection/components/post-search/post-search.js.map +1 -1
- package/dist/collection/services/search/places.service.js +8 -34
- package/dist/collection/services/search/places.service.js.map +1 -1
- package/dist/collection/services/search/search.service.js +1 -1
- package/dist/collection/services/search/search.service.js.map +1 -1
- package/dist/collection/utils/highlighted.component.js +2 -2
- package/dist/collection/utils/highlighted.component.js.map +1 -1
- package/dist/components/klp-widget.controller.js +31 -59
- package/dist/components/klp-widget.controller.js.map +1 -1
- package/dist/components/post-klp-login-widget2.js +1 -1
- package/dist/components/post-klp-login-widget2.js.map +1 -1
- package/dist/components/post-language-switch2.js +1 -1
- package/dist/components/post-language-switch2.js.map +1 -1
- package/dist/components/post-main-navigation2.js +1 -1
- package/dist/components/post-main-navigation2.js.map +1 -1
- package/dist/components/post-search2.js +12 -50
- package/dist/components/post-search2.js.map +1 -1
- package/dist/components/store.js.map +1 -1
- package/dist/components/swisspost-internet-breadcrumbs.js +5 -1310
- package/dist/components/swisspost-internet-breadcrumbs.js.map +1 -1
- package/dist/components/swisspost-internet-footer.js +1 -1
- package/dist/components/swisspost-internet-footer.js.map +1 -1
- package/dist/components/swisspost-internet-header.js +18 -18
- package/dist/components/swisspost-internet-header.js.map +1 -1
- package/dist/esm/{index-9351b1b6.js → index-2c50ce20.js} +1 -1
- package/dist/esm/{index-9351b1b6.js.map → index-2c50ce20.js.map} +1 -1
- package/dist/esm/{klp-widget.controller-55366e6a.js → klp-widget.controller-9f7e3c54.js} +32 -60
- package/dist/esm/klp-widget.controller-9f7e3c54.js.map +1 -0
- package/dist/esm/{language.service-7aefe1c5.js → language.service-1a20901e.js} +2 -2
- package/dist/esm/{language.service-7aefe1c5.js.map → language.service-1a20901e.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/post-klp-login-widget.entry.js +5 -5
- package/dist/esm/post-klp-login-widget.entry.js.map +1 -1
- package/dist/esm/post-language-switch.entry.js +6 -6
- package/dist/esm/post-language-switch.entry.js.map +1 -1
- package/dist/esm/post-logo.entry.js +2 -2
- package/dist/esm/post-main-navigation.entry.js +5 -5
- package/dist/esm/post-main-navigation.entry.js.map +1 -1
- package/dist/esm/post-meta-navigation.entry.js +2 -2
- package/dist/esm/post-search.entry.js +16 -54
- package/dist/esm/post-search.entry.js.map +1 -1
- package/dist/esm/post-skiplinks.entry.js +4 -4
- package/dist/esm/{store-f9ce3c4f.js → store-b8f9cf53.js} +2 -2
- package/dist/esm/{store-f9ce3c4f.js.map → store-b8f9cf53.js.map} +1 -1
- package/dist/esm/{svg-icon.component-cd0942cc.js → svg-icon.component-ecb1700c.js} +2 -2
- package/dist/esm/{svg-icon.component-cd0942cc.js.map → svg-icon.component-ecb1700c.js.map} +1 -1
- package/dist/esm/{svg-sprite.component-5ed9c3b8.js → svg-sprite.component-93c29b17.js} +2 -2
- package/dist/esm/{svg-sprite.component-5ed9c3b8.js.map → svg-sprite.component-93c29b17.js.map} +1 -1
- package/dist/esm/swisspost-internet-breadcrumbs.entry.js +10 -1315
- package/dist/esm/swisspost-internet-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/swisspost-internet-footer.entry.js +4 -4
- package/dist/esm/swisspost-internet-footer.entry.js.map +1 -1
- package/dist/esm/swisspost-internet-header.entry.js +23 -23
- package/dist/esm/swisspost-internet-header.entry.js.map +1 -1
- package/dist/esm/swisspost-internet-header.js +3 -3
- package/dist/esm/swisspost-internet-header.js.map +1 -1
- package/dist/esm-es5/{index-9351b1b6.js → index-2c50ce20.js} +1 -1
- package/dist/esm-es5/{index-9351b1b6.js.map → index-2c50ce20.js.map} +1 -1
- package/dist/esm-es5/klp-widget.controller-9f7e3c54.js +27 -0
- package/dist/esm-es5/klp-widget.controller-9f7e3c54.js.map +1 -0
- package/dist/esm-es5/{language.service-7aefe1c5.js → language.service-1a20901e.js} +2 -2
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/post-klp-login-widget.entry.js +1 -1
- package/dist/esm-es5/post-klp-login-widget.entry.js.map +1 -1
- package/dist/esm-es5/post-language-switch.entry.js +1 -1
- package/dist/esm-es5/post-language-switch.entry.js.map +1 -1
- package/dist/esm-es5/post-logo.entry.js +1 -1
- package/dist/esm-es5/post-main-navigation.entry.js +1 -1
- package/dist/esm-es5/post-main-navigation.entry.js.map +1 -1
- package/dist/esm-es5/post-meta-navigation.entry.js +1 -1
- package/dist/esm-es5/post-search.entry.js +1 -1
- package/dist/esm-es5/post-search.entry.js.map +1 -1
- package/dist/esm-es5/post-skiplinks.entry.js +1 -1
- package/dist/esm-es5/{store-f9ce3c4f.js → store-b8f9cf53.js} +2 -2
- package/dist/esm-es5/{store-f9ce3c4f.js.map → store-b8f9cf53.js.map} +1 -1
- package/dist/esm-es5/{svg-icon.component-cd0942cc.js → svg-icon.component-ecb1700c.js} +2 -2
- package/dist/esm-es5/{svg-sprite.component-5ed9c3b8.js → svg-sprite.component-93c29b17.js} +2 -2
- package/dist/esm-es5/swisspost-internet-breadcrumbs.entry.js +2 -2
- package/dist/esm-es5/swisspost-internet-breadcrumbs.entry.js.map +1 -1
- package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-footer.entry.js.map +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js.map +1 -1
- package/dist/esm-es5/swisspost-internet-header.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.js.map +1 -1
- package/dist/swisspost-internet-header/{p-698793da.js → p-0e63e0aa.js} +2 -2
- package/dist/swisspost-internet-header/{p-698793da.js.map → p-0e63e0aa.js.map} +1 -1
- package/dist/swisspost-internet-header/{p-ab97ab9d.entry.js → p-10dc2991.entry.js} +2 -2
- package/dist/swisspost-internet-header/{p-61b09b9b.js → p-12c07c17.js} +1 -1
- package/dist/swisspost-internet-header/{p-61b09b9b.js.map → p-12c07c17.js.map} +1 -1
- package/dist/swisspost-internet-header/{p-b9569693.system.js → p-15192462.system.js} +2 -2
- package/dist/swisspost-internet-header/p-15192462.system.js.map +1 -0
- package/dist/swisspost-internet-header/{p-5c0b352c.system.entry.js → p-19520037.system.entry.js} +2 -2
- package/dist/swisspost-internet-header/p-2c0aaaf5.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-60f3d251.system.entry.js.map → p-2c0aaaf5.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/{p-8927c282.system.entry.js → p-2ff142da.system.entry.js} +2 -2
- package/dist/swisspost-internet-header/{p-8927c282.system.entry.js.map → p-2ff142da.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/{p-633cde46.entry.js → p-3a566b21.entry.js} +2 -2
- package/dist/swisspost-internet-header/p-3da1c444.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-b52015b1.entry.js.map → p-3da1c444.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-42e2fc84.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-2bae3827.entry.js.map → p-42e2fc84.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-478e297c.system.entry.js +7 -0
- package/dist/swisspost-internet-header/p-478e297c.system.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-4a2492f9.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-118dc1da.system.entry.js.map → p-4a2492f9.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/{p-3b6966e6.system.entry.js → p-50910fe5.system.entry.js} +2 -2
- package/dist/swisspost-internet-header/p-58b4b6f9.entry.js +2 -0
- package/dist/swisspost-internet-header/p-58b4b6f9.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-5ac43fe4.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-ab0ff9c7.entry.js.map → p-5ac43fe4.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-5e362f9d.system.entry.js +2 -0
- package/dist/swisspost-internet-header/p-5e362f9d.system.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-62896d7a.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-c08318d1.system.entry.js.map → p-62896d7a.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/{p-9cf200bd.js → p-6423a6ea.js} +2 -2
- package/dist/swisspost-internet-header/{p-0739e499.system.js → p-6e24784e.system.js} +2 -2
- package/dist/swisspost-internet-header/p-9bc33c5f.js +2 -0
- package/dist/swisspost-internet-header/p-ad7071ea.system.js +27 -0
- package/dist/swisspost-internet-header/p-ad7071ea.system.js.map +1 -0
- package/dist/swisspost-internet-header/{p-0342245a.system.js → p-b8b59050.system.js} +2 -2
- package/dist/swisspost-internet-header/{p-0342245a.system.js.map → p-b8b59050.system.js.map} +1 -1
- package/dist/swisspost-internet-header/{p-89618eab.system.js → p-bb7f28f0.system.js} +2 -2
- package/dist/swisspost-internet-header/p-bc79a64a.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-91195287.entry.js.map → p-bc79a64a.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-cd85c4fe.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-c5dcb0f5.entry.js.map → p-cd85c4fe.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/{p-99f181e3.entry.js → p-d11cfbf6.entry.js} +2 -2
- package/dist/swisspost-internet-header/{p-c90a1412.js → p-d93a7553.js} +2 -2
- package/dist/swisspost-internet-header/{p-01b80755.system.entry.js → p-dc228941.system.entry.js} +2 -2
- package/dist/swisspost-internet-header/{p-bd9d660b.system.js → p-df383e1a.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-bd9d660b.system.js.map → p-df383e1a.system.js.map} +1 -1
- package/dist/swisspost-internet-header/p-e604a987.entry.js +7 -0
- package/dist/swisspost-internet-header/p-e604a987.entry.js.map +1 -0
- package/dist/swisspost-internet-header/{p-af58c52f.system.js → p-f115d8f1.system.js} +2 -2
- package/dist/swisspost-internet-header/p-f529e4b9.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-385ea6ec.system.entry.js.map → p-f529e4b9.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-fefa1082.js +27 -0
- package/dist/swisspost-internet-header/p-fefa1082.js.map +1 -0
- package/dist/swisspost-internet-header/swisspost-internet-header.css +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js.map +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.js +1 -1
- package/package.json +17 -17
- package/dist/cjs/klp-widget.controller-d8941c4e.js.map +0 -1
- package/dist/esm/klp-widget.controller-55366e6a.js.map +0 -1
- package/dist/esm-es5/klp-widget.controller-55366e6a.js +0 -27
- package/dist/esm-es5/klp-widget.controller-55366e6a.js.map +0 -1
- package/dist/swisspost-internet-header/p-118dc1da.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-2bae3827.entry.js +0 -2
- package/dist/swisspost-internet-header/p-3563d113.js +0 -2
- package/dist/swisspost-internet-header/p-385ea6ec.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-3c3d02ba.entry.js +0 -2
- package/dist/swisspost-internet-header/p-3c3d02ba.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-3ce9b132.system.entry.js +0 -7
- package/dist/swisspost-internet-header/p-3ce9b132.system.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-42695801.system.js +0 -27
- package/dist/swisspost-internet-header/p-42695801.system.js.map +0 -1
- package/dist/swisspost-internet-header/p-57d1ff07.entry.js +0 -7
- package/dist/swisspost-internet-header/p-57d1ff07.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-60f3d251.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-91195287.entry.js +0 -2
- package/dist/swisspost-internet-header/p-ab0ff9c7.entry.js +0 -2
- package/dist/swisspost-internet-header/p-b52015b1.entry.js +0 -2
- package/dist/swisspost-internet-header/p-b9569693.system.js.map +0 -1
- package/dist/swisspost-internet-header/p-c08318d1.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-c5dcb0f5.entry.js +0 -2
- package/dist/swisspost-internet-header/p-ed24b372.js +0 -27
- package/dist/swisspost-internet-header/p-ed24b372.js.map +0 -1
- package/dist/swisspost-internet-header/p-fb73f557.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-fb73f557.system.entry.js.map +0 -1
- /package/dist/esm-es5/{language.service-7aefe1c5.js.map → language.service-1a20901e.js.map} +0 -0
- /package/dist/esm-es5/{svg-icon.component-cd0942cc.js.map → svg-icon.component-ecb1700c.js.map} +0 -0
- /package/dist/esm-es5/{svg-sprite.component-5ed9c3b8.js.map → svg-sprite.component-93c29b17.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-ab97ab9d.entry.js.map → p-10dc2991.entry.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-5c0b352c.system.entry.js.map → p-19520037.system.entry.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-633cde46.entry.js.map → p-3a566b21.entry.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-3b6966e6.system.entry.js.map → p-50910fe5.system.entry.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-9cf200bd.js.map → p-6423a6ea.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-0739e499.system.js.map → p-6e24784e.system.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-3563d113.js.map → p-9bc33c5f.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-89618eab.system.js.map → p-bb7f28f0.system.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-99f181e3.entry.js.map → p-d11cfbf6.entry.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-c90a1412.js.map → p-d93a7553.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-01b80755.system.entry.js.map → p-dc228941.system.entry.js.map} +0 -0
- /package/dist/swisspost-internet-header/{p-af58c52f.system.js.map → p-f115d8f1.system.js.map} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import{a as n,c as t}from"./p-112455b1.js";(function(n){var t;if(typeof window!=="undefined"){t=window}else if(typeof self!=="undefined"){t=self}t.SockJS=n()})((function(){return function(){function n(t,e,i){function r(o,f){if(!e[o]){if(!t[o]){var s="function"==typeof require&&require;if(!f&&s)return s(o,!0);if(u)return u(o,!0);var a=new Error("Cannot find module '"+o+"'");throw a.code="MODULE_NOT_FOUND",a}var c=e[o]={exports:{}};t[o][0].call(c.exports,(function(n){var e=t[o][1][n];return r(e||n)}),c,c.exports,n,t,e,i)}return e[o].exports}for(var u="function"==typeof require&&require,o=0;o<i.length;o++)r(i[o]);return r}return n}()({1:[function(n,t,e){(function(e){(function(){var i=n("./transport-list");t.exports=n("./main")(i);if("_sockjs_onload"in e){setTimeout(e._sockjs_onload,1)}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./main":14,"./transport-list":16}],2:[function(n,t,e){var i=n("inherits"),r=n("./event");function u(){r.call(this);this.initEvent("close",false,false);this.wasClean=false;this.code=0;this.reason=""}i(u,r);t.exports=u},{"./event":4,inherits:57}],3:[function(n,t,e){var i=n("inherits"),r=n("./eventtarget");function u(){r.call(this)}i(u,r);u.prototype.removeAllListeners=function(n){if(n){delete this._listeners[n]}else{this._listeners={}}};u.prototype.once=function(n,t){var e=this,i=false;function r(){e.removeListener(n,r);if(!i){i=true;t.apply(this,arguments)}}this.on(n,r)};u.prototype.emit=function(){var n=arguments[0];var t=this._listeners[n];if(!t){return}var e=arguments.length;var i=new Array(e-1);for(var r=1;r<e;r++){i[r-1]=arguments[r]}for(var u=0;u<t.length;u++){t[u].apply(this,i)}};u.prototype.on=u.prototype.addListener=r.prototype.addEventListener;u.prototype.removeListener=r.prototype.removeEventListener;t.exports.EventEmitter=u},{"./eventtarget":5,inherits:57}],4:[function(n,t,e){function i(n){this.type=n}i.prototype.initEvent=function(n,t,e){this.type=n;this.bubbles=t;this.cancelable=e;this.timeStamp=+new Date;return this};i.prototype.stopPropagation=function(){};i.prototype.preventDefault=function(){};i.CAPTURING_PHASE=1;i.AT_TARGET=2;i.BUBBLING_PHASE=3;t.exports=i},{}],5:[function(n,t,e){function i(){this._listeners={}}i.prototype.addEventListener=function(n,t){if(!(n in this._listeners)){this._listeners[n]=[]}var e=this._listeners[n];if(e.indexOf(t)===-1){e=e.concat([t])}this._listeners[n]=e};i.prototype.removeEventListener=function(n,t){var e=this._listeners[n];if(!e){return}var i=e.indexOf(t);if(i!==-1){if(e.length>1){this._listeners[n]=e.slice(0,i).concat(e.slice(i+1))}else{delete this._listeners[n]}return}};i.prototype.dispatchEvent=function(){var n=arguments[0];var t=n.type;var e=arguments.length===1?[n]:Array.apply(null,arguments);if(this["on"+t]){this["on"+t].apply(this,e)}if(t in this._listeners){var i=this._listeners[t];for(var r=0;r<i.length;r++){i[r].apply(this,e)}}};t.exports=i},{}],6:[function(n,t,e){var i=n("inherits"),r=n("./event");function u(n){r.call(this);this.initEvent("message",false,false);this.data=n}i(u,r);t.exports=u},{"./event":4,inherits:57}],7:[function(n,t,e){var i=n("./utils/iframe");function r(n){this._transport=n;n.on("message",this._transportMessage.bind(this));n.on("close",this._transportClose.bind(this))}r.prototype._transportClose=function(n,t){i.postMessage("c",JSON.stringify([n,t]))};r.prototype._transportMessage=function(n){i.postMessage("t",n)};r.prototype._send=function(n){this._transport.send(n)};r.prototype._close=function(){this._transport.close();this._transport.removeAllListeners()};t.exports=r},{"./utils/iframe":47}],8:[function(n,t,e){(function(e){(function(){var e=n("./utils/url"),i=n("./utils/event"),r=n("./facade"),u=n("./info-iframe-receiver"),o=n("./utils/iframe"),f=n("./location");t.exports=function(n,t){var s={};t.forEach((function(n){if(n.facadeTransport){s[n.facadeTransport.transportName]=n.facadeTransport}}));s[u.transportName]=u;var a;n.bootstrap_iframe=function(){var t;o.currentWindowId=f.hash.slice(1);var u=function(i){if(i.source!==parent){return}if(typeof a==="undefined"){a=i.origin}if(i.origin!==a){return}var u;try{u=JSON.parse(i.data)}catch(n){return}if(u.windowId!==o.currentWindowId){return}switch(u.type){case"s":var c;try{c=JSON.parse(u.data)}catch(n){break}var l=c[0];var d=c[1];var h=c[2];var p=c[3];if(l!==n.version){throw new Error("Incompatible SockJS! Main site uses:"+' "'+l+'", the iframe:'+' "'+n.version+'".')}if(!e.isOriginEqual(h,f.href)||!e.isOriginEqual(p,f.href)){throw new Error("Can't connect to different domain from within an "+"iframe. ("+f.href+", "+h+", "+p+")")}t=new r(new s[d](h,p));break;case"m":t._send(u.data);break;case"c":if(t){t._close()}t=null;break}};i.attachEvent("message",u);o.postMessage("s")}}}).call(this)}).call(this,{env:{}})},{"./facade":7,"./info-iframe-receiver":10,"./location":13,"./utils/event":46,"./utils/iframe":47,"./utils/url":52,debug:55}],9:[function(n,t,e){(function(e){(function(){var e=n("events").EventEmitter,i=n("inherits"),r=n("./utils/object");function u(n,t){e.call(this);var i=this;var u=+new Date;this.xo=new t("GET",n);this.xo.once("finish",(function(n,t){var e,o;if(n===200){o=+new Date-u;if(t){try{e=JSON.parse(t)}catch(n){}}if(!r.isObject(e)){e={}}}i.emit("finish",e,o);i.removeAllListeners()}))}i(u,e);u.prototype.close=function(){this.removeAllListeners();this.xo.close()};t.exports=u}).call(this)}).call(this,{env:{}})},{"./utils/object":49,debug:55,events:3,inherits:57}],10:[function(n,t,e){var i=n("inherits"),r=n("events").EventEmitter,u=n("./transport/sender/xhr-local"),o=n("./info-ajax");function f(n){var t=this;r.call(this);this.ir=new o(n,u);this.ir.once("finish",(function(n,e){t.ir=null;t.emit("message",JSON.stringify([n,e]))}))}i(f,r);f.transportName="iframe-info-receiver";f.prototype.close=function(){if(this.ir){this.ir.close();this.ir=null}this.removeAllListeners()};t.exports=f},{"./info-ajax":9,"./transport/sender/xhr-local":37,events:3,inherits:57}],11:[function(n,t,e){(function(e,i){(function(){var e=n("events").EventEmitter,r=n("inherits"),u=n("./utils/event"),o=n("./transport/iframe"),f=n("./info-iframe-receiver");function s(n,t){var r=this;e.call(this);var s=function(){var e=r.ifr=new o(f.transportName,t,n);e.once("message",(function(n){if(n){var t;try{t=JSON.parse(n)}catch(n){r.emit("finish");r.close();return}var e=t[0],i=t[1];r.emit("finish",e,i)}r.close()}));e.once("close",(function(){r.emit("finish");r.close()}))};if(!i.document.body){u.attachEvent("load",s)}else{s()}}r(s,e);s.enabled=function(){return o.enabled()};s.prototype.close=function(){if(this.ifr){this.ifr.close()}this.removeAllListeners();this.ifr=null};t.exports=s}).call(this)}).call(this,{env:{}},typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./info-iframe-receiver":10,"./transport/iframe":22,"./utils/event":46,debug:55,events:3,inherits:57}],12:[function(n,t,e){(function(e){(function(){var e=n("events").EventEmitter,i=n("inherits"),r=n("./utils/url"),u=n("./transport/sender/xdr"),o=n("./transport/sender/xhr-cors"),f=n("./transport/sender/xhr-local"),s=n("./transport/sender/xhr-fake"),a=n("./info-iframe"),c=n("./info-ajax");function l(n,t){var i=this;e.call(this);setTimeout((function(){i.doXhr(n,t)}),0)}i(l,e);l._getReceiver=function(n,t,e){if(e.sameOrigin){return new c(t,f)}if(o.enabled){return new c(t,o)}if(u.enabled&&e.sameScheme){return new c(t,u)}if(a.enabled()){return new a(n,t)}return new c(t,s)};l.prototype.doXhr=function(n,t){var e=this,i=r.addPath(n,"/info");this.xo=l._getReceiver(n,i,t);this.timeoutRef=setTimeout((function(){e._cleanup(false);e.emit("finish")}),l.timeout);this.xo.once("finish",(function(n,t){e._cleanup(true);e.emit("finish",n,t)}))};l.prototype._cleanup=function(n){clearTimeout(this.timeoutRef);this.timeoutRef=null;if(!n&&this.xo){this.xo.close()}this.xo=null};l.prototype.close=function(){this.removeAllListeners();this._cleanup(false)};l.timeout=8e3;t.exports=l}).call(this)}).call(this,{env:{}})},{"./info-ajax":9,"./info-iframe":11,"./transport/sender/xdr":34,"./transport/sender/xhr-cors":35,"./transport/sender/xhr-fake":36,"./transport/sender/xhr-local":37,"./utils/url":52,debug:55,events:3,inherits:57}],13:[function(n,t,e){(function(n){(function(){t.exports=n.location||{origin:"http://localhost:80",protocol:"http:",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],14:[function(n,t,e){(function(e,i){(function(){n("./shims");var e=n("url-parse"),r=n("inherits"),u=n("./utils/random"),o=n("./utils/escape"),f=n("./utils/url"),s=n("./utils/event"),a=n("./utils/transport"),c=n("./utils/object"),l=n("./utils/browser"),d=n("./utils/log"),h=n("./event/event"),p=n("./event/eventtarget"),v=n("./location"),g=n("./event/close"),b=n("./event/trans-message"),m=n("./info-receiver");var w;function y(n,t,i){if(!(this instanceof y)){return new y(n,t,i)}if(arguments.length<1){throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present")}p.call(this);this.readyState=y.CONNECTING;this.extensions="";this.protocol="";i=i||{};if(i.protocols_whitelist){d.warn("'protocols_whitelist' is DEPRECATED. Use 'transports' instead.")}this._transportsWhitelist=i.transports;this._transportOptions=i.transportOptions||{};this._timeout=i.timeout||0;var r=i.sessionId||8;if(typeof r==="function"){this._generateSessionId=r}else if(typeof r==="number"){this._generateSessionId=function(){return u.string(r)}}else{throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.")}this._server=i.server||u.numberString(1e3);var o=new e(n);if(!o.host||!o.protocol){throw new SyntaxError("The URL '"+n+"' is invalid")}else if(o.hash){throw new SyntaxError("The URL must not contain a fragment")}else if(o.protocol!=="http:"&&o.protocol!=="https:"){throw new SyntaxError("The URL's scheme must be either 'http:' or 'https:'. '"+o.protocol+"' is not allowed.")}var s=o.protocol==="https:";if(v.protocol==="https:"&&!s){if(!f.isLoopbackAddr(o.hostname)){throw new Error("SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS")}}if(!t){t=[]}else if(!Array.isArray(t)){t=[t]}var a=t.sort();a.forEach((function(n,t){if(!n){throw new SyntaxError("The protocols entry '"+n+"' is invalid.")}if(t<a.length-1&&n===a[t+1]){throw new SyntaxError("The protocols entry '"+n+"' is duplicated.")}}));var c=f.getOrigin(v.href);this._origin=c?c.toLowerCase():null;o.set("pathname",o.pathname.replace(/\/+$/,""));this.url=o.href;this._urlInfo={nullOrigin:!l.hasDomain(),sameOrigin:f.isOriginEqual(this.url,v.href),sameScheme:f.isSchemeEqual(this.url,v.href)};this._ir=new m(this.url,this._urlInfo);this._ir.once("finish",this._receiveInfo.bind(this))}r(y,p);function k(n){return n===1e3||n>=3e3&&n<=4999}y.prototype.close=function(n,t){if(n&&!k(n)){throw new Error("InvalidAccessError: Invalid code")}if(t&&t.length>123){throw new SyntaxError("reason argument has an invalid length")}if(this.readyState===y.CLOSING||this.readyState===y.CLOSED){return}var e=true;this._close(n||1e3,t||"Normal closure",e)};y.prototype.send=function(n){if(typeof n!=="string"){n=""+n}if(this.readyState===y.CONNECTING){throw new Error("InvalidStateError: The connection has not been established yet")}if(this.readyState!==y.OPEN){return}this._transport.send(o.quote(n))};y.version=n("./version");y.CONNECTING=0;y.OPEN=1;y.CLOSING=2;y.CLOSED=3;y.prototype._receiveInfo=function(n,t){this._ir=null;if(!n){this._close(1002,"Cannot connect to server");return}this._rto=this.countRTO(t);this._transUrl=n.base_url?n.base_url:this.url;n=c.extend(n,this._urlInfo);var e=w.filterToEnabled(this._transportsWhitelist,n);this._transports=e.main;this._connect()};y.prototype._connect=function(){for(var n=this._transports.shift();n;n=this._transports.shift()){if(n.needBody){if(!i.document.body||typeof i.document.readyState!=="undefined"&&i.document.readyState!=="complete"&&i.document.readyState!=="interactive"){this._transports.unshift(n);s.attachEvent("load",this._connect.bind(this));return}}var t=Math.max(this._timeout,this._rto*n.roundTrips||5e3);this._transportTimeoutId=setTimeout(this._transportTimeout.bind(this),t);var e=f.addPath(this._transUrl,"/"+this._server+"/"+this._generateSessionId());var r=this._transportOptions[n.transportName];var u=new n(e,this._transUrl,r);u.on("message",this._transportMessage.bind(this));u.once("close",this._transportClose.bind(this));u.transportName=n.transportName;this._transport=u;return}this._close(2e3,"All transports failed",false)};y.prototype._transportTimeout=function(){if(this.readyState===y.CONNECTING){if(this._transport){this._transport.close()}this._transportClose(2007,"Transport timed out")}};y.prototype._transportMessage=function(n){var t=this,e=n.slice(0,1),i=n.slice(1),r;switch(e){case"o":this._open();return;case"h":this.dispatchEvent(new h("heartbeat"));return}if(i){try{r=JSON.parse(i)}catch(n){}}if(typeof r==="undefined"){return}switch(e){case"a":if(Array.isArray(r)){r.forEach((function(n){t.dispatchEvent(new b(n))}))}break;case"m":this.dispatchEvent(new b(r));break;case"c":if(Array.isArray(r)&&r.length===2){this._close(r[0],r[1],true)}break}};y.prototype._transportClose=function(n,t){if(this._transport){this._transport.removeAllListeners();this._transport=null;this.transport=null}if(!k(n)&&n!==2e3&&this.readyState===y.CONNECTING){this._connect();return}this._close(n,t)};y.prototype._open=function(){if(this.readyState===y.CONNECTING){if(this._transportTimeoutId){clearTimeout(this._transportTimeoutId);this._transportTimeoutId=null}this.readyState=y.OPEN;this.transport=this._transport.transportName;this.dispatchEvent(new h("open"))}else{this._close(1006,"Server lost session")}};y.prototype._close=function(n,t,e){var i=false;if(this._ir){i=true;this._ir.close();this._ir=null}if(this._transport){this._transport.close();this._transport=null;this.transport=null}if(this.readyState===y.CLOSED){throw new Error("InvalidStateError: SockJS has already been closed")}this.readyState=y.CLOSING;setTimeout(function(){this.readyState=y.CLOSED;if(i){this.dispatchEvent(new h("error"))}var r=new g("close");r.wasClean=e||false;r.code=n||1e3;r.reason=t;this.dispatchEvent(r);this.onmessage=this.onclose=this.onerror=null}.bind(this),0)};y.prototype.countRTO=function(n){if(n>100){return 4*n}return 300+n};t.exports=function(t){w=a(t);n("./iframe-bootstrap")(y,t);return y}}).call(this)}).call(this,{env:{}},typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./event/close":2,"./event/event":4,"./event/eventtarget":5,"./event/trans-message":6,"./iframe-bootstrap":8,"./info-receiver":12,"./location":13,"./shims":15,"./utils/browser":44,"./utils/escape":45,"./utils/event":46,"./utils/log":48,"./utils/object":49,"./utils/random":50,"./utils/transport":51,"./utils/url":52,"./version":53,debug:55,inherits:57,"url-parse":60}],15:[function(n,t,e){var i=Array.prototype;var r=Object.prototype;var u=Function.prototype;var o=String.prototype;var f=i.slice;var s=r.toString;var a=function(n){return r.toString.call(n)==="[object Function]"};var c=function n(t){return s.call(t)==="[object Array]"};var l=function n(t){return s.call(t)==="[object String]"};var d=Object.defineProperty&&function(){try{Object.defineProperty({},"x",{});return true}catch(n){return false}}();var h;if(d){h=function(n,t,e,i){if(!i&&t in n){return}Object.defineProperty(n,t,{configurable:true,enumerable:false,writable:true,value:e})}}else{h=function(n,t,e,i){if(!i&&t in n){return}n[t]=e}}var p=function(n,t,e){for(var i in t){if(r.hasOwnProperty.call(t,i)){h(n,i,t[i],e)}}};var v=function(n){if(n==null){throw new TypeError("can't convert "+n+" to object")}return Object(n)};function g(n){var t=+n;if(t!==t){t=0}else if(t!==0&&t!==1/0&&t!==-(1/0)){t=(t>0||-1)*Math.floor(Math.abs(t))}return t}function b(n){return n>>>0}function m(){}p(u,{bind:function n(t){var e=this;if(!a(e)){throw new TypeError("Function.prototype.bind called on incompatible "+e)}var i=f.call(arguments,1);var r=function(){if(this instanceof c){var n=e.apply(this,i.concat(f.call(arguments)));if(Object(n)===n){return n}return this}else{return e.apply(t,i.concat(f.call(arguments)))}};var u=Math.max(0,e.length-i.length);var o=[];for(var s=0;s<u;s++){o.push("$"+s)}var c=Function("binder","return function ("+o.join(",")+"){ return binder.apply(this, arguments); }")(r);if(e.prototype){m.prototype=e.prototype;c.prototype=new m;m.prototype=null}return c}});p(Array,{isArray:c});var w=Object("a");var y=w[0]!=="a"||!(0 in w);var k=function n(t){var e=true;var i=true;if(t){t.call("foo",(function(n,t,i){if(typeof i!=="object"){e=false}}));t.call([1],(function(){i=typeof this==="string"}),"x")}return!!t&&e&&i};p(i,{forEach:function n(t){var e=v(this),i=y&&l(this)?this.split(""):e,r=arguments[1],u=-1,o=i.length>>>0;if(!a(t)){throw new TypeError}while(++u<o){if(u in i){t.call(r,i[u],u,e)}}}},!k(i.forEach));var x=Array.prototype.indexOf&&[0,1].indexOf(1,2)!==-1;p(i,{indexOf:function n(t){var e=y&&l(this)?this.split(""):v(this),i=e.length>>>0;if(!i){return-1}var r=0;if(arguments.length>1){r=g(arguments[1])}r=r>=0?r:Math.max(0,i+r);for(;r<i;r++){if(r in e&&e[r]===t){return r}}return-1}},x);var C=o.split;if("ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"test".split(/(?:)/,-1).length!==4||"".split(/.?/).length||".".split(/()()/).length>1){(function(){var n=/()??/.exec("")[1]===void 0;o.split=function(t,e){var r=this;if(t===void 0&&e===0){return[]}if(s.call(t)!=="[object RegExp]"){return C.call(this,t,e)}var u=[],o=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.extended?"x":"")+(t.sticky?"y":""),f=0,a,c,l,d;t=new RegExp(t.source,o+"g");r+="";if(!n){a=new RegExp("^"+t.source+"$(?!\\s)",o)}e=e===void 0?-1>>>0:b(e);while(c=t.exec(r)){l=c.index+c[0].length;if(l>f){u.push(r.slice(f,c.index));if(!n&&c.length>1){c[0].replace(a,(function(){for(var n=1;n<arguments.length-2;n++){if(arguments[n]===void 0){c[n]=void 0}}}))}if(c.length>1&&c.index<r.length){i.push.apply(u,c.slice(1))}d=c[0].length;f=l;if(u.length>=e){break}}if(t.lastIndex===c.index){t.lastIndex++}}if(f===r.length){if(d||!t.test("")){u.push("")}}else{u.push(r.slice(f))}return u.length>e?u.slice(0,e):u}})()}else if("0".split(void 0,0).length){o.split=function n(t,e){if(t===void 0&&e===0){return[]}return C.call(this,t,e)}}var S=o.substr;var E="".substr&&"0b".substr(-1)!=="b";p(o,{substr:function n(t,e){return S.call(this,t<0?(t=this.length+t)<0?0:t:t,e)}},E)},{}],16:[function(n,t,e){t.exports=[n("./transport/websocket"),n("./transport/xhr-streaming"),n("./transport/xdr-streaming"),n("./transport/eventsource"),n("./transport/lib/iframe-wrap")(n("./transport/eventsource")),n("./transport/htmlfile"),n("./transport/lib/iframe-wrap")(n("./transport/htmlfile")),n("./transport/xhr-polling"),n("./transport/xdr-polling"),n("./transport/lib/iframe-wrap")(n("./transport/xhr-polling")),n("./transport/jsonp-polling")]},{"./transport/eventsource":20,"./transport/htmlfile":21,"./transport/jsonp-polling":23,"./transport/lib/iframe-wrap":26,"./transport/websocket":38,"./transport/xdr-polling":39,"./transport/xdr-streaming":40,"./transport/xhr-polling":41,"./transport/xhr-streaming":42}],17:[function(n,t,e){(function(e,i){(function(){var e=n("events").EventEmitter,r=n("inherits"),u=n("../../utils/event"),o=n("../../utils/url"),f=i.XMLHttpRequest;function s(n,t,i,r){var u=this;e.call(this);setTimeout((function(){u._start(n,t,i,r)}),0)}r(s,e);s.prototype._start=function(n,t,e,i){var r=this;try{this.xhr=new f}catch(n){}if(!this.xhr){this.emit("finish",0,"no xhr support");this._cleanup();return}t=o.addQuery(t,"t="+ +new Date);this.unloadRef=u.unloadAdd((function(){r._cleanup(true)}));try{this.xhr.open(n,t,true);if(this.timeout&&"timeout"in this.xhr){this.xhr.timeout=this.timeout;this.xhr.ontimeout=function(){r.emit("finish",0,"");r._cleanup(false)}}}catch(n){this.emit("finish",0,"");this._cleanup(false);return}if((!i||!i.noCredentials)&&s.supportsCORS){this.xhr.withCredentials=true}if(i&&i.headers){for(var a in i.headers){this.xhr.setRequestHeader(a,i.headers[a])}}this.xhr.onreadystatechange=function(){if(r.xhr){var n=r.xhr;var t,e;switch(n.readyState){case 3:try{e=n.status;t=n.responseText}catch(n){}if(e===1223){e=204}if(e===200&&t&&t.length>0){r.emit("chunk",e,t)}break;case 4:e=n.status;if(e===1223){e=204}if(e===12005||e===12029){e=0}r.emit("finish",e,n.responseText);r._cleanup(false);break}}};try{r.xhr.send(e)}catch(n){r.emit("finish",0,"");r._cleanup(false)}};s.prototype._cleanup=function(n){if(!this.xhr){return}this.removeAllListeners();u.unloadDel(this.unloadRef);this.xhr.onreadystatechange=function(){};if(this.xhr.ontimeout){this.xhr.ontimeout=null}if(n){try{this.xhr.abort()}catch(n){}}this.unloadRef=this.xhr=null};s.prototype.close=function(){this._cleanup(true)};s.enabled=!!f;var a=["Active"].concat("Object").join("X");if(!s.enabled&&a in i){f=function(){try{return new i[a]("Microsoft.XMLHTTP")}catch(n){return null}};s.enabled=!!new f}var c=false;try{c="withCredentials"in new f}catch(n){}s.supportsCORS=c;t.exports=s}).call(this)}).call(this,{env:{}},typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../../utils/event":46,"../../utils/url":52,debug:55,events:3,inherits:57}],18:[function(n,t,e){(function(n){(function(){t.exports=n.EventSource}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],19:[function(n,t,e){(function(n){(function(){var e=n.WebSocket||n.MozWebSocket;if(e){t.exports=function n(t){return new e(t)}}else{t.exports=undefined}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],20:[function(n,t,e){var i=n("inherits"),r=n("./lib/ajax-based"),u=n("./receiver/eventsource"),o=n("./sender/xhr-cors"),f=n("eventsource");function s(n){if(!s.enabled()){throw new Error("Transport created when disabled")}r.call(this,n,"/eventsource",u,o)}i(s,r);s.enabled=function(){return!!f};s.transportName="eventsource";s.roundTrips=2;t.exports=s},{"./lib/ajax-based":24,"./receiver/eventsource":29,"./sender/xhr-cors":35,eventsource:18,inherits:57}],21:[function(n,t,e){var i=n("inherits"),r=n("./receiver/htmlfile"),u=n("./sender/xhr-local"),o=n("./lib/ajax-based");function f(n){if(!r.enabled){throw new Error("Transport created when disabled")}o.call(this,n,"/htmlfile",r,u)}i(f,o);f.enabled=function(n){return r.enabled&&n.sameOrigin};f.transportName="htmlfile";f.roundTrips=2;t.exports=f},{"./lib/ajax-based":24,"./receiver/htmlfile":30,"./sender/xhr-local":37,inherits:57}],22:[function(n,t,e){(function(e){(function(){var e=n("inherits"),i=n("events").EventEmitter,r=n("../version"),u=n("../utils/url"),o=n("../utils/iframe"),f=n("../utils/event"),s=n("../utils/random");function a(n,t,e){if(!a.enabled()){throw new Error("Transport created when disabled")}i.call(this);var r=this;this.origin=u.getOrigin(e);this.baseUrl=e;this.transUrl=t;this.transport=n;this.windowId=s.string(8);var c=u.addPath(e,"/iframe.html")+"#"+this.windowId;this.iframeObj=o.createIframe(c,(function(n){r.emit("close",1006,"Unable to load an iframe ("+n+")");r.close()}));this.onmessageCallback=this._message.bind(this);f.attachEvent("message",this.onmessageCallback)}e(a,i);a.prototype.close=function(){this.removeAllListeners();if(this.iframeObj){f.detachEvent("message",this.onmessageCallback);try{this.postMessage("c")}catch(n){}this.iframeObj.cleanup();this.iframeObj=null;this.onmessageCallback=this.iframeObj=null}};a.prototype._message=function(n){if(!u.isOriginEqual(n.origin,this.origin)){return}var t;try{t=JSON.parse(n.data)}catch(n){return}if(t.windowId!==this.windowId){return}switch(t.type){case"s":this.iframeObj.loaded();this.postMessage("s",JSON.stringify([r,this.transport,this.transUrl,this.baseUrl]));break;case"t":this.emit("message",t.data);break;case"c":var e;try{e=JSON.parse(t.data)}catch(n){return}this.emit("close",e[0],e[1]);this.close();break}};a.prototype.postMessage=function(n,t){this.iframeObj.post(JSON.stringify({windowId:this.windowId,type:n,data:t||""}),this.origin)};a.prototype.send=function(n){this.postMessage("m",n)};a.enabled=function(){return o.iframeEnabled};a.transportName="iframe";a.roundTrips=2;t.exports=a}).call(this)}).call(this,{env:{}})},{"../utils/event":46,"../utils/iframe":47,"../utils/random":50,"../utils/url":52,"../version":53,debug:55,events:3,inherits:57}],23:[function(n,t,e){(function(e){(function(){var i=n("inherits"),r=n("./lib/sender-receiver"),u=n("./receiver/jsonp"),o=n("./sender/jsonp");function f(n){if(!f.enabled()){throw new Error("Transport created when disabled")}r.call(this,n,"/jsonp",o,u)}i(f,r);f.enabled=function(){return!!e.document};f.transportName="jsonp-polling";f.roundTrips=1;f.needBody=true;t.exports=f}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./lib/sender-receiver":28,"./receiver/jsonp":31,"./sender/jsonp":33,inherits:57}],24:[function(n,t,e){(function(e){(function(){var e=n("inherits"),i=n("../../utils/url"),r=n("./sender-receiver");function u(n){return function(t,e,r){var u={};if(typeof e==="string"){u.headers={"Content-type":"text/plain"}}var o=i.addPath(t,"/xhr_send");var f=new n("POST",o,e,u);f.once("finish",(function(n){f=null;if(n!==200&&n!==204){return r(new Error("http status "+n))}r()}));return function(){f.close();f=null;var n=new Error("Aborted");n.code=1e3;r(n)}}}function o(n,t,e,i){r.call(this,n,t,u(i),e,i)}e(o,r);t.exports=o}).call(this)}).call(this,{env:{}})},{"../../utils/url":52,"./sender-receiver":28,debug:55,inherits:57}],25:[function(n,t,e){(function(e){(function(){var e=n("inherits"),i=n("events").EventEmitter;function r(n,t){i.call(this);this.sendBuffer=[];this.sender=t;this.url=n}e(r,i);r.prototype.send=function(n){this.sendBuffer.push(n);if(!this.sendStop){this.sendSchedule()}};r.prototype.sendScheduleWait=function(){var n=this;var t;this.sendStop=function(){n.sendStop=null;clearTimeout(t)};t=setTimeout((function(){n.sendStop=null;n.sendSchedule()}),25)};r.prototype.sendSchedule=function(){var n=this;if(this.sendBuffer.length>0){var t="["+this.sendBuffer.join(",")+"]";this.sendStop=this.sender(this.url,t,(function(t){n.sendStop=null;if(t){n.emit("close",t.code||1006,"Sending error: "+t);n.close()}else{n.sendScheduleWait()}}));this.sendBuffer=[]}};r.prototype._cleanup=function(){this.removeAllListeners()};r.prototype.close=function(){this._cleanup();if(this.sendStop){this.sendStop();this.sendStop=null}};t.exports=r}).call(this)}).call(this,{env:{}})},{debug:55,events:3,inherits:57}],26:[function(n,t,e){(function(e){(function(){var i=n("inherits"),r=n("../iframe"),u=n("../../utils/object");t.exports=function(n){function t(t,e){r.call(this,n.transportName,t,e)}i(t,r);t.enabled=function(t,i){if(!e.document){return false}var o=u.extend({},i);o.sameOrigin=true;return n.enabled(o)&&r.enabled()};t.transportName="iframe-"+n.transportName;t.needBody=true;t.roundTrips=r.roundTrips+n.roundTrips-1;t.facadeTransport=n;return t}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../../utils/object":49,"../iframe":22,inherits:57}],27:[function(n,t,e){(function(e){(function(){var e=n("inherits"),i=n("events").EventEmitter;function r(n,t,e){i.call(this);this.Receiver=n;this.receiveUrl=t;this.AjaxObject=e;this._scheduleReceiver()}e(r,i);r.prototype._scheduleReceiver=function(){var n=this;var t=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);t.on("message",(function(t){n.emit("message",t)}));t.once("close",(function(e,i){n.poll=t=null;if(!n.pollIsClosing){if(i==="network"){n._scheduleReceiver()}else{n.emit("close",e||1006,i);n.removeAllListeners()}}}))};r.prototype.abort=function(){this.removeAllListeners();this.pollIsClosing=true;if(this.poll){this.poll.abort()}};t.exports=r}).call(this)}).call(this,{env:{}})},{debug:55,events:3,inherits:57}],28:[function(n,t,e){(function(e){(function(){var e=n("inherits"),i=n("../../utils/url"),r=n("./buffered-sender"),u=n("./polling");function o(n,t,e,o,f){var s=i.addPath(n,t);var a=this;r.call(this,n,e);this.poll=new u(o,s,f);this.poll.on("message",(function(n){a.emit("message",n)}));this.poll.once("close",(function(n,t){a.poll=null;a.emit("close",n,t);a.close()}))}e(o,r);o.prototype.close=function(){r.prototype.close.call(this);this.removeAllListeners();if(this.poll){this.poll.abort();this.poll=null}};t.exports=o}).call(this)}).call(this,{env:{}})},{"../../utils/url":52,"./buffered-sender":25,"./polling":27,debug:55,inherits:57}],29:[function(n,t,e){(function(e){(function(){var e=n("inherits"),i=n("events").EventEmitter,r=n("eventsource");function u(n){i.call(this);var t=this;var e=this.es=new r(n);e.onmessage=function(n){t.emit("message",decodeURI(n.data))};e.onerror=function(n){var i=e.readyState!==2?"network":"permanent";t._cleanup();t._close(i)}}e(u,i);u.prototype.abort=function(){this._cleanup();this._close("user")};u.prototype._cleanup=function(){var n=this.es;if(n){n.onmessage=n.onerror=null;n.close();this.es=null}};u.prototype._close=function(n){var t=this;setTimeout((function(){t.emit("close",null,n);t.removeAllListeners()}),200)};t.exports=u}).call(this)}).call(this,{env:{}})},{debug:55,events:3,eventsource:18,inherits:57}],30:[function(n,t,e){(function(e,i){(function(){var e=n("inherits"),r=n("../../utils/iframe"),u=n("../../utils/url"),o=n("events").EventEmitter,f=n("../../utils/random");function s(n){o.call(this);var t=this;r.polluteGlobalNamespace();this.id="a"+f.string(6);n=u.addQuery(n,"c="+decodeURIComponent(r.WPrefix+"."+this.id));var e=s.htmlfileEnabled?r.createHtmlfile:r.createIframe;i[r.WPrefix][this.id]={start:function(){t.iframeObj.loaded()},message:function(n){t.emit("message",n)},stop:function(){t._cleanup();t._close("network")}};this.iframeObj=e(n,(function(){t._cleanup();t._close("permanent")}))}e(s,o);s.prototype.abort=function(){this._cleanup();this._close("user")};s.prototype._cleanup=function(){if(this.iframeObj){this.iframeObj.cleanup();this.iframeObj=null}delete i[r.WPrefix][this.id]};s.prototype._close=function(n){this.emit("close",null,n);this.removeAllListeners()};s.htmlfileEnabled=false;var a=["Active"].concat("Object").join("X");if(a in i){try{s.htmlfileEnabled=!!new i[a]("htmlfile")}catch(n){}}s.enabled=s.htmlfileEnabled||r.iframeEnabled;t.exports=s}).call(this)}).call(this,{env:{}},typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:55,events:3,inherits:57}],31:[function(n,t,e){(function(e,i){(function(){var e=n("../../utils/iframe"),r=n("../../utils/random"),u=n("../../utils/browser"),o=n("../../utils/url"),f=n("inherits"),s=n("events").EventEmitter;function a(n){var t=this;s.call(this);e.polluteGlobalNamespace();this.id="a"+r.string(6);var u=o.addQuery(n,"c="+encodeURIComponent(e.WPrefix+"."+this.id));i[e.WPrefix][this.id]=this._callback.bind(this);this._createScript(u);this.timeoutId=setTimeout((function(){t._abort(new Error("JSONP script loaded abnormally (timeout)"))}),a.timeout)}f(a,s);a.prototype.abort=function(){if(i[e.WPrefix][this.id]){var n=new Error("JSONP user aborted read");n.code=1e3;this._abort(n)}};a.timeout=35e3;a.scriptErrorTimeout=1e3;a.prototype._callback=function(n){this._cleanup();if(this.aborting){return}if(n){this.emit("message",n)}this.emit("close",null,"network");this.removeAllListeners()};a.prototype._abort=function(n){this._cleanup();this.aborting=true;this.emit("close",n.code,n.message);this.removeAllListeners()};a.prototype._cleanup=function(){clearTimeout(this.timeoutId);if(this.script2){this.script2.parentNode.removeChild(this.script2);this.script2=null}if(this.script){var n=this.script;n.parentNode.removeChild(n);n.onreadystatechange=n.onerror=n.onload=n.onclick=null;this.script=null}delete i[e.WPrefix][this.id]};a.prototype._scriptError=function(){var n=this;if(this.errorTimer){return}this.errorTimer=setTimeout((function(){if(!n.loadedOkay){n._abort(new Error("JSONP script loaded abnormally (onerror)"))}}),a.scriptErrorTimeout)};a.prototype._createScript=function(n){var t=this;var e=this.script=i.document.createElement("script");var o;e.id="a"+r.string(8);e.src=n;e.type="text/javascript";e.charset="UTF-8";e.onerror=this._scriptError.bind(this);e.onload=function(){t._abort(new Error("JSONP script loaded abnormally (onload)"))};e.onreadystatechange=function(){if(/loaded|closed/.test(e.readyState)){if(e&&e.htmlFor&&e.onclick){t.loadedOkay=true;try{e.onclick()}catch(n){}}if(e){t._abort(new Error("JSONP script loaded abnormally (onreadystatechange)"))}}};if(typeof e.async==="undefined"&&i.document.attachEvent){if(!u.isOpera()){try{e.htmlFor=e.id;e.event="onclick"}catch(n){}e.async=true}else{o=this.script2=i.document.createElement("script");o.text="try{var a = document.getElementById('"+e.id+"'); if(a)a.onerror();}catch(x){};";e.async=o.async=false}}if(typeof e.async!=="undefined"){e.async=true}var f=i.document.getElementsByTagName("head")[0];f.insertBefore(e,f.firstChild);if(o){f.insertBefore(o,f.firstChild)}};t.exports=a}).call(this)}).call(this,{env:{}},typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../../utils/browser":44,"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:55,events:3,inherits:57}],32:[function(n,t,e){(function(e){(function(){var e=n("inherits"),i=n("events").EventEmitter;function r(n,t){i.call(this);var e=this;this.bufferPosition=0;this.xo=new t("POST",n,null);this.xo.on("chunk",this._chunkHandler.bind(this));this.xo.once("finish",(function(n,t){e._chunkHandler(n,t);e.xo=null;var i=n===200?"network":"permanent";e.emit("close",null,i);e._cleanup()}))}e(r,i);r.prototype._chunkHandler=function(n,t){if(n!==200||!t){return}for(var e=-1;;this.bufferPosition+=e+1){var i=t.slice(this.bufferPosition);e=i.indexOf("\n");if(e===-1){break}var r=i.slice(0,e);if(r){this.emit("message",r)}}};r.prototype._cleanup=function(){this.removeAllListeners()};r.prototype.abort=function(){if(this.xo){this.xo.close();this.emit("close",null,"user");this.xo=null}this._cleanup()};t.exports=r}).call(this)}).call(this,{env:{}})},{debug:55,events:3,inherits:57}],33:[function(n,t,e){(function(e,i){(function(){var e=n("../../utils/random"),r=n("../../utils/url");var u,o;function f(n){try{return i.document.createElement('<iframe name="'+n+'">')}catch(e){var t=i.document.createElement("iframe");t.name=n;return t}}function s(){u=i.document.createElement("form");u.style.display="none";u.style.position="absolute";u.method="POST";u.enctype="application/x-www-form-urlencoded";u.acceptCharset="UTF-8";o=i.document.createElement("textarea");o.name="d";u.appendChild(o);i.document.body.appendChild(u)}t.exports=function(n,t,i){if(!u){s()}var a="a"+e.string(8);u.target=a;u.action=r.addQuery(r.addPath(n,"/jsonp_send"),"i="+a);var c=f(a);c.id=a;c.style.display="none";u.appendChild(c);try{o.value=t}catch(n){}u.submit();var l=function(n){if(!c.onerror){return}c.onreadystatechange=c.onerror=c.onload=null;setTimeout((function(){c.parentNode.removeChild(c);c=null}),500);o.value="";i(n)};c.onerror=function(){l()};c.onload=function(){l()};c.onreadystatechange=function(n){if(c.readyState==="complete"){l()}};return function(){l(new Error("Aborted"))}}}).call(this)}).call(this,{env:{}},typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../../utils/random":50,"../../utils/url":52,debug:55}],34:[function(n,t,e){(function(e,i){(function(){var e=n("events").EventEmitter,r=n("inherits"),u=n("../../utils/event"),o=n("../../utils/browser"),f=n("../../utils/url");function s(n,t,i){var r=this;e.call(this);setTimeout((function(){r._start(n,t,i)}),0)}r(s,e);s.prototype._start=function(n,t,e){var r=this;var o=new i.XDomainRequest;t=f.addQuery(t,"t="+ +new Date);o.onerror=function(){r._error()};o.ontimeout=function(){r._error()};o.onprogress=function(){r.emit("chunk",200,o.responseText)};o.onload=function(){r.emit("finish",200,o.responseText);r._cleanup(false)};this.xdr=o;this.unloadRef=u.unloadAdd((function(){r._cleanup(true)}));try{this.xdr.open(n,t);if(this.timeout){this.xdr.timeout=this.timeout}this.xdr.send(e)}catch(n){this._error()}};s.prototype._error=function(){this.emit("finish",0,"");this._cleanup(false)};s.prototype._cleanup=function(n){if(!this.xdr){return}this.removeAllListeners();u.unloadDel(this.unloadRef);this.xdr.ontimeout=this.xdr.onerror=this.xdr.onprogress=this.xdr.onload=null;if(n){try{this.xdr.abort()}catch(n){}}this.unloadRef=this.xdr=null};s.prototype.close=function(){this._cleanup(true)};s.enabled=!!(i.XDomainRequest&&o.hasDomain());t.exports=s}).call(this)}).call(this,{env:{}},typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../../utils/browser":44,"../../utils/event":46,"../../utils/url":52,debug:55,events:3,inherits:57}],35:[function(n,t,e){var i=n("inherits"),r=n("../driver/xhr");function u(n,t,e,i){r.call(this,n,t,e,i)}i(u,r);u.enabled=r.enabled&&r.supportsCORS;t.exports=u},{"../driver/xhr":17,inherits:57}],36:[function(n,t,e){var i=n("events").EventEmitter,r=n("inherits");function u(){var n=this;i.call(this);this.to=setTimeout((function(){n.emit("finish",200,"{}")}),u.timeout)}r(u,i);u.prototype.close=function(){clearTimeout(this.to)};u.timeout=2e3;t.exports=u},{events:3,inherits:57}],37:[function(n,t,e){var i=n("inherits"),r=n("../driver/xhr");function u(n,t,e){r.call(this,n,t,e,{noCredentials:true})}i(u,r);u.enabled=r.enabled;t.exports=u},{"../driver/xhr":17,inherits:57}],38:[function(n,t,e){(function(e){(function(){var e=n("../utils/event"),i=n("../utils/url"),r=n("inherits"),u=n("events").EventEmitter,o=n("./driver/websocket");function f(n,t,r){if(!f.enabled()){throw new Error("Transport created when disabled")}u.call(this);var s=this;var a=i.addPath(n,"/websocket");if(a.slice(0,5)==="https"){a="wss"+a.slice(5)}else{a="ws"+a.slice(4)}this.url=a;this.ws=new o(this.url,[],r);this.ws.onmessage=function(n){s.emit("message",n.data)};this.unloadRef=e.unloadAdd((function(){s.ws.close()}));this.ws.onclose=function(n){s.emit("close",n.code,n.reason);s._cleanup()};this.ws.onerror=function(n){s.emit("close",1006,"WebSocket connection broken");s._cleanup()}}r(f,u);f.prototype.send=function(n){var t="["+n+"]";this.ws.send(t)};f.prototype.close=function(){var n=this.ws;this._cleanup();if(n){n.close()}};f.prototype._cleanup=function(){var n=this.ws;if(n){n.onmessage=n.onclose=n.onerror=null}e.unloadDel(this.unloadRef);this.unloadRef=this.ws=null;this.removeAllListeners()};f.enabled=function(){return!!o};f.transportName="websocket";f.roundTrips=2;t.exports=f}).call(this)}).call(this,{env:{}})},{"../utils/event":46,"../utils/url":52,"./driver/websocket":19,debug:55,events:3,inherits:57}],39:[function(n,t,e){var i=n("inherits"),r=n("./lib/ajax-based"),u=n("./xdr-streaming"),o=n("./receiver/xhr"),f=n("./sender/xdr");function s(n){if(!f.enabled){throw new Error("Transport created when disabled")}r.call(this,n,"/xhr",o,f)}i(s,r);s.enabled=u.enabled;s.transportName="xdr-polling";s.roundTrips=2;t.exports=s},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,"./xdr-streaming":40,inherits:57}],40:[function(n,t,e){var i=n("inherits"),r=n("./lib/ajax-based"),u=n("./receiver/xhr"),o=n("./sender/xdr");function f(n){if(!o.enabled){throw new Error("Transport created when disabled")}r.call(this,n,"/xhr_streaming",u,o)}i(f,r);f.enabled=function(n){if(n.cookie_needed||n.nullOrigin){return false}return o.enabled&&n.sameScheme};f.transportName="xdr-streaming";f.roundTrips=2;t.exports=f},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,inherits:57}],41:[function(n,t,e){var i=n("inherits"),r=n("./lib/ajax-based"),u=n("./receiver/xhr"),o=n("./sender/xhr-cors"),f=n("./sender/xhr-local");function s(n){if(!f.enabled&&!o.enabled){throw new Error("Transport created when disabled")}r.call(this,n,"/xhr",u,o)}i(s,r);s.enabled=function(n){if(n.nullOrigin){return false}if(f.enabled&&n.sameOrigin){return true}return o.enabled};s.transportName="xhr-polling";s.roundTrips=2;t.exports=s},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:57}],42:[function(n,t,e){(function(e){(function(){var i=n("inherits"),r=n("./lib/ajax-based"),u=n("./receiver/xhr"),o=n("./sender/xhr-cors"),f=n("./sender/xhr-local"),s=n("../utils/browser");function a(n){if(!f.enabled&&!o.enabled){throw new Error("Transport created when disabled")}r.call(this,n,"/xhr_streaming",u,o)}i(a,r);a.enabled=function(n){if(n.nullOrigin){return false}if(s.isOpera()){return false}return o.enabled};a.transportName="xhr-streaming";a.roundTrips=2;a.needBody=!!e.document;t.exports=a}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../utils/browser":44,"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:57}],43:[function(n,t,e){(function(n){(function(){if(n.crypto&&n.crypto.getRandomValues){t.exports.randomBytes=function(t){var e=new Uint8Array(t);n.crypto.getRandomValues(e);return e}}else{t.exports.randomBytes=function(n){var t=new Array(n);for(var e=0;e<n;e++){t[e]=Math.floor(Math.random()*256)}return t}}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],44:[function(n,t,e){(function(n){(function(){t.exports={isOpera:function(){return n.navigator&&/opera/i.test(n.navigator.userAgent)},isKonqueror:function(){return n.navigator&&/konqueror/i.test(n.navigator.userAgent)},hasDomain:function(){if(!n.document){return true}try{return!!n.document.domain}catch(n){return false}}}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],45:[function(n,t,e){var i=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u05c4\u0610-\u0617\u0653-\u0654\u0657-\u065b\u065d-\u065e\u06df-\u06e2\u06eb-\u06ec\u0730\u0732-\u0733\u0735-\u0736\u073a\u073d\u073f-\u0741\u0743\u0745\u0747\u07eb-\u07f1\u0951\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e38-\u0e39\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u0f72-\u0f76\u0f78\u0f80-\u0f83\u0f93\u0f9d\u0fa2\u0fa7\u0fac\u0fb9\u1939-\u193a\u1a17\u1b6b\u1cda-\u1cdb\u1dc0-\u1dcf\u1dfc\u1dfe\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbe\u1fc9\u1fcb\u1fd3\u1fdb\u1fe3\u1feb\u1fee-\u1fef\u1ff9\u1ffb\u1ffd\u2000-\u2001\u20d0-\u20d1\u20d4-\u20d7\u20e7-\u20e9\u2126\u212a-\u212b\u2329-\u232a\u2adc\u302b-\u302c\uaab2-\uaab3\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufb4e\ufff0-\uffff]/g,r;var u=function(n){var t;var e={};var i=[];for(t=0;t<65536;t++){i.push(String.fromCharCode(t))}n.lastIndex=0;i.join("").replace(n,(function(n){e[n]="\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4);return""}));n.lastIndex=0;return e};t.exports={quote:function(n){var t=JSON.stringify(n);i.lastIndex=0;if(!i.test(t)){return t}if(!r){r=u(i)}return t.replace(i,(function(n){return r[n]}))}}},{}],46:[function(n,t,e){(function(e){(function(){var i=n("./random");var r={},u=false,o=e.chrome&&e.chrome.app&&e.chrome.app.runtime;t.exports={attachEvent:function(n,t){if(typeof e.addEventListener!=="undefined"){e.addEventListener(n,t,false)}else if(e.document&&e.attachEvent){e.document.attachEvent("on"+n,t);e.attachEvent("on"+n,t)}},detachEvent:function(n,t){if(typeof e.addEventListener!=="undefined"){e.removeEventListener(n,t,false)}else if(e.document&&e.detachEvent){e.document.detachEvent("on"+n,t);e.detachEvent("on"+n,t)}},unloadAdd:function(n){if(o){return null}var t=i.string(8);r[t]=n;if(u){setTimeout(this.triggerUnloadCallbacks,0)}return t},unloadDel:function(n){if(n in r){delete r[n]}},triggerUnloadCallbacks:function(){for(var n in r){r[n]();delete r[n]}}};var f=function(){if(u){return}u=true;t.exports.triggerUnloadCallbacks()};if(!o){t.exports.attachEvent("unload",f)}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./random":50}],47:[function(n,t,e){(function(e,i){(function(){var e=n("./event"),r=n("./browser");t.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){if(!(t.exports.WPrefix in i)){i[t.exports.WPrefix]={}}},postMessage:function(n,e){if(i.parent!==i){i.parent.postMessage(JSON.stringify({windowId:t.exports.currentWindowId,type:n,data:e||""}),"*")}},createIframe:function(n,t){var r=i.document.createElement("iframe");var u,o;var f=function(){clearTimeout(u);try{r.onload=null}catch(n){}r.onerror=null};var s=function(){if(r){f();setTimeout((function(){if(r){r.parentNode.removeChild(r)}r=null}),0);e.unloadDel(o)}};var a=function(n){if(r){s();t(n)}};var c=function(n,t){setTimeout((function(){try{if(r&&r.contentWindow){r.contentWindow.postMessage(n,t)}}catch(n){}}),0)};r.src=n;r.style.display="none";r.style.position="absolute";r.onerror=function(){a("onerror")};r.onload=function(){clearTimeout(u);u=setTimeout((function(){a("onload timeout")}),2e3)};i.document.body.appendChild(r);u=setTimeout((function(){a("timeout")}),15e3);o=e.unloadAdd(s);return{post:c,cleanup:s,loaded:f}},createHtmlfile:function(n,r){var u=["Active"].concat("Object").join("X");var o=new i[u]("htmlfile");var f,s;var a;var c=function(){clearTimeout(f);a.onerror=null};var l=function(){if(o){c();e.unloadDel(s);a.parentNode.removeChild(a);a=o=null;CollectGarbage()}};var d=function(n){if(o){l();r(n)}};var h=function(n,t){try{setTimeout((function(){if(a&&a.contentWindow){a.contentWindow.postMessage(n,t)}}),0)}catch(n){}};o.open();o.write("<html><s"+"cript>"+'document.domain="'+i.document.domain+'";'+"</s"+"cript></html>");o.close();o.parentWindow[t.exports.WPrefix]=i[t.exports.WPrefix];var p=o.createElement("div");o.body.appendChild(p);a=o.createElement("iframe");p.appendChild(a);a.src=n;a.onerror=function(){d("onerror")};f=setTimeout((function(){d("timeout")}),15e3);s=e.unloadAdd(l);return{post:h,cleanup:l,loaded:c}}};t.exports.iframeEnabled=false;if(i.document){t.exports.iframeEnabled=(typeof i.postMessage==="function"||typeof i.postMessage==="object")&&!r.isKonqueror()}}).call(this)}).call(this,{env:{}},typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./browser":44,"./event":46,debug:55}],48:[function(n,t,e){(function(n){(function(){var e={};["log","debug","warn"].forEach((function(t){var i;try{i=n.console&&n.console[t]&&n.console[t].apply}catch(n){}e[t]=i?function(){return n.console[t].apply(n.console,arguments)}:t==="log"?function(){}:e.log}));t.exports=e}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],49:[function(n,t,e){t.exports={isObject:function(n){var t=typeof n;return t==="function"||t==="object"&&!!n},extend:function(n){if(!this.isObject(n)){return n}var t,e;for(var i=1,r=arguments.length;i<r;i++){t=arguments[i];for(e in t){if(Object.prototype.hasOwnProperty.call(t,e)){n[e]=t[e]}}}return n}}},{}],50:[function(n,t,e){var i=n("crypto");var r="abcdefghijklmnopqrstuvwxyz012345";t.exports={string:function(n){var t=r.length;var e=i.randomBytes(n);var u=[];for(var o=0;o<n;o++){u.push(r.substr(e[o]%t,1))}return u.join("")},number:function(n){return Math.floor(Math.random()*n)},numberString:function(n){var t=(""+(n-1)).length;var e=new Array(t+1).join("0");return(e+this.number(n)).slice(-t)}}},{crypto:43}],51:[function(n,t,e){(function(n){(function(){t.exports=function(n){return{filterToEnabled:function(t,e){var i={main:[],facade:[]};if(!t){t=[]}else if(typeof t==="string"){t=[t]}n.forEach((function(n){if(!n){return}if(n.transportName==="websocket"&&e.websocket===false){return}if(t.length&&t.indexOf(n.transportName)===-1){return}if(n.enabled(e)){i.main.push(n);if(n.facadeTransport){i.facade.push(n.facadeTransport)}}}));return i}}}}).call(this)}).call(this,{env:{}})},{debug:55}],52:[function(n,t,e){(function(e){(function(){var e=n("url-parse");t.exports={getOrigin:function(n){if(!n){return null}var t=new e(n);if(t.protocol==="file:"){return null}var i=t.port;if(!i){i=t.protocol==="https:"?"443":"80"}return t.protocol+"//"+t.hostname+":"+i},isOriginEqual:function(n,t){var e=this.getOrigin(n)===this.getOrigin(t);return e},isSchemeEqual:function(n,t){return n.split(":")[0]===t.split(":")[0]},addPath:function(n,t){var e=n.split("?");return e[0]+t+(e[1]?"?"+e[1]:"")},addQuery:function(n,t){return n+(n.indexOf("?")===-1?"?"+t:"&"+t)},isLoopbackAddr:function(n){return/^127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(n)||/^\[::1\]$/.test(n)}}}).call(this)}).call(this,{env:{}})},{debug:55,"url-parse":60}],53:[function(n,t,e){t.exports="1.6.1"},{}],54:[function(n,t,e){var i=1e3;var r=i*60;var u=r*60;var o=u*24;var f=o*7;var s=o*365.25;t.exports=function(n,t){t=t||{};var e=typeof n;if(e==="string"&&n.length>0){return a(n)}else if(e==="number"&&isFinite(n)){return t.long?l(n):c(n)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(n))};function a(n){n=String(n);if(n.length>100){return}var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(n);if(!t){return}var e=parseFloat(t[1]);var a=(t[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return e*s;case"weeks":case"week":case"w":return e*f;case"days":case"day":case"d":return e*o;case"hours":case"hour":case"hrs":case"hr":case"h":return e*u;case"minutes":case"minute":case"mins":case"min":case"m":return e*r;case"seconds":case"second":case"secs":case"sec":case"s":return e*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return undefined}}function c(n){var t=Math.abs(n);if(t>=o){return Math.round(n/o)+"d"}if(t>=u){return Math.round(n/u)+"h"}if(t>=r){return Math.round(n/r)+"m"}if(t>=i){return Math.round(n/i)+"s"}return n+"ms"}function l(n){var t=Math.abs(n);if(t>=o){return d(n,t,o,"day")}if(t>=u){return d(n,t,u,"hour")}if(t>=r){return d(n,t,r,"minute")}if(t>=i){return d(n,t,i,"second")}return n+" ms"}function d(n,t,e,i){var r=t>=e*1.5;return Math.round(n/e)+" "+i+(r?"s":"")}},{}],55:[function(n,t,e){(function(i){(function(){function r(n){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){r=function n(t){return typeof t}}else{r=function n(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}}return r(n)}e.log=f;e.formatArgs=o;e.save=s;e.load=a;e.useColors=u;e.storage=c();e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function u(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(n){n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff);if(!this.useColors){return}var e="color: "+this.color;n.splice(1,0,e,"color: inherit");var i=0;var r=0;n[0].replace(/%[a-zA-Z%]/g,(function(n){if(n==="%%"){return}i++;if(n==="%c"){r=i}}));n.splice(r,0,e)}function f(){var n;return(typeof console==="undefined"?"undefined":r(console))==="object"&&console.log&&(n=console).log.apply(n,arguments)}function s(n){try{if(n){e.storage.setItem("debug",n)}else{e.storage.removeItem("debug")}}catch(n){}}function a(){var n;try{n=e.storage.getItem("debug")}catch(n){}if(!n&&typeof i!=="undefined"&&"env"in i){n=i.env.DEBUG}return n}function c(){try{return localStorage}catch(n){}}t.exports=n("./common")(e);var l=t.exports.formatters;l.j=function(n){try{return JSON.stringify(n)}catch(n){return"[UnexpectedJSONParseError]: "+n.message}}}).call(this)}).call(this,{env:{}})},{"./common":56}],56:[function(n,t,e){function i(t){i.debug=i;i.default=i;i.coerce=a;i.disable=f;i.enable=o;i.enabled=s;i.humanize=n("ms");Object.keys(t).forEach((function(n){i[n]=t[n]}));i.instances=[];i.names=[];i.skips=[];i.formatters={};function e(n){var t=0;for(var e=0;e<n.length;e++){t=(t<<5)-t+n.charCodeAt(e);t|=0}return i.colors[Math.abs(t)%i.colors.length]}i.selectColor=e;function i(n){var t;function o(){if(!o.enabled){return}for(var n=arguments.length,e=new Array(n),r=0;r<n;r++){e[r]=arguments[r]}var u=o;var f=Number(new Date);var s=f-(t||f);u.diff=s;u.prev=t;u.curr=f;t=f;e[0]=i.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}var a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(function(n,t){if(n==="%%"){return n}a++;var r=i.formatters[t];if(typeof r==="function"){var o=e[a];n=r.call(u,o);e.splice(a,1);a--}return n}));i.formatArgs.call(u,e);var c=u.log||i.log;c.apply(u,e)}o.namespace=n;o.enabled=i.enabled(n);o.useColors=i.useColors();o.color=e(n);o.destroy=r;o.extend=u;if(typeof i.init==="function"){i.init(o)}i.instances.push(o);return o}function r(){var n=i.instances.indexOf(this);if(n!==-1){i.instances.splice(n,1);return true}return false}function u(n,t){return i(this.namespace+(typeof t==="undefined"?":":t)+n)}function o(n){i.save(n);i.names=[];i.skips=[];var t;var e=(typeof n==="string"?n:"").split(/[\s,]+/);var r=e.length;for(t=0;t<r;t++){if(!e[t]){continue}n=e[t].replace(/\*/g,".*?");if(n[0]==="-"){i.skips.push(new RegExp("^"+n.substr(1)+"$"))}else{i.names.push(new RegExp("^"+n+"$"))}}for(t=0;t<i.instances.length;t++){var u=i.instances[t];u.enabled=i.enabled(u.namespace)}}function f(){i.enable("")}function s(n){if(n[n.length-1]==="*"){return true}var t;var e;for(t=0,e=i.skips.length;t<e;t++){if(i.skips[t].test(n)){return false}}for(t=0,e=i.names.length;t<e;t++){if(i.names[t].test(n)){return true}}return false}function a(n){if(n instanceof Error){return n.stack||n.message}return n}i.enable(i.load());return i}t.exports=i},{ms:54}],57:[function(n,t,e){if(typeof Object.create==="function"){t.exports=function n(t,e){if(e){t.super_=e;t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}}else{t.exports=function n(t,e){if(e){t.super_=e;var i=function(){};i.prototype=e.prototype;t.prototype=new i;t.prototype.constructor=t}}}},{}],58:[function(n,t,e){var i=Object.prototype.hasOwnProperty,r;function u(n){try{return decodeURIComponent(n.replace(/\+/g," "))}catch(n){return null}}function o(n){var t=/([^=?&]+)=?([^&]*)/g,e={},i;while(i=t.exec(n)){var r=u(i[1]),o=u(i[2]);if(r===null||o===null||r in e)continue;e[r]=o}return e}function f(n,t){t=t||"";var e=[],u,o;if("string"!==typeof t)t="?";for(o in n){if(i.call(n,o)){u=n[o];if(!u&&(u===null||u===r||isNaN(u))){u=""}o=encodeURIComponent(o);u=encodeURIComponent(u);if(o===null||u===null)continue;e.push(o+"="+u)}}return e.length?t+e.join("&"):""}e.stringify=f;e.parse=o},{}],59:[function(n,t,e){t.exports=function n(t,e){e=e.split(":")[0];t=+t;if(!t)return false;switch(e){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443;case"ftp":return t!==21;case"gopher":return t!==70;case"file":return false}return t!==0}},{}],60:[function(n,t,e){(function(e){(function(){var i=n("requires-port"),r=n("querystringify"),u=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o=/[\n\r\t]/g,f=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,s=/:\d+$/,a=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function l(n){return(n?n:"").toString().replace(u,"")}var d=[["#","hash"],["?","query"],function n(t,e){return v(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",undefined,1,1],[/:(\d*)$/,"port",undefined,1],[NaN,"hostname",undefined,1,1]];var h={hash:1,query:1};function p(n){var t;if(typeof window!=="undefined")t=window;else if(typeof e!=="undefined")t=e;else if(typeof self!=="undefined")t=self;else t={};var i=t.location||{};n=n||i;var r={},u=typeof n,o;if("blob:"===n.protocol){r=new m(unescape(n.pathname),{})}else if("string"===u){r=new m(n,{});for(o in h)delete r[o]}else if("object"===u){for(o in n){if(o in h)continue;r[o]=n[o]}if(r.slashes===undefined){r.slashes=f.test(n.href)}}return r}function v(n){return n==="file:"||n==="ftp:"||n==="http:"||n==="https:"||n==="ws:"||n==="wss:"}function g(n,t){n=l(n);n=n.replace(o,"");t=t||{};var e=a.exec(n);var i=e[1]?e[1].toLowerCase():"";var r=!!e[2];var u=!!e[3];var f=0;var s;if(r){if(u){s=e[2]+e[3]+e[4];f=e[2].length+e[3].length}else{s=e[2]+e[4];f=e[2].length}}else{if(u){s=e[3]+e[4];f=e[3].length}else{s=e[4]}}if(i==="file:"){if(f>=2){s=s.slice(2)}}else if(v(i)){s=e[4]}else if(i){if(r){s=s.slice(2)}}else if(f>=2&&v(t.protocol)){s=e[4]}return{protocol:i,slashes:r||v(i),slashesCount:f,rest:s}}function b(n,t){if(n==="")return t;var e=(t||"/").split("/").slice(0,-1).concat(n.split("/")),i=e.length,r=e[i-1],u=false,o=0;while(i--){if(e[i]==="."){e.splice(i,1)}else if(e[i]===".."){e.splice(i,1);o++}else if(o){if(i===0)u=true;e.splice(i,1);o--}}if(u)e.unshift("");if(r==="."||r==="..")e.push("");return e.join("/")}function m(n,t,e){n=l(n);n=n.replace(o,"");if(!(this instanceof m)){return new m(n,t,e)}var u,f,s,a,h,w,y=d.slice(),k=typeof t,x=this,C=0;if("object"!==k&&"string"!==k){e=t;t=null}if(e&&"function"!==typeof e)e=r.parse;t=p(t);f=g(n||"",t);u=!f.protocol&&!f.slashes;x.slashes=f.slashes||u&&t.slashes;x.protocol=f.protocol||t.protocol||"";n=f.rest;if(f.protocol==="file:"&&(f.slashesCount!==2||c.test(n))||!f.slashes&&(f.protocol||f.slashesCount<2||!v(x.protocol))){y[3]=[/(.*)/,"pathname"]}for(;C<y.length;C++){a=y[C];if(typeof a==="function"){n=a(n,x);continue}s=a[0];w=a[1];if(s!==s){x[w]=n}else if("string"===typeof s){h=s==="@"?n.lastIndexOf(s):n.indexOf(s);if(~h){if("number"===typeof a[2]){x[w]=n.slice(0,h);n=n.slice(h+a[2])}else{x[w]=n.slice(h);n=n.slice(0,h)}}}else if(h=s.exec(n)){x[w]=h[1];n=n.slice(0,h.index)}x[w]=x[w]||(u&&a[3]?t[w]||"":"");if(a[4])x[w]=x[w].toLowerCase()}if(e)x.query=e(x.query);if(u&&t.slashes&&x.pathname.charAt(0)!=="/"&&(x.pathname!==""||t.pathname!=="")){x.pathname=b(x.pathname,t.pathname)}if(x.pathname.charAt(0)!=="/"&&v(x.protocol)){x.pathname="/"+x.pathname}if(!i(x.port,x.protocol)){x.host=x.hostname;x.port=""}x.username=x.password="";if(x.auth){h=x.auth.indexOf(":");if(~h){x.username=x.auth.slice(0,h);x.username=encodeURIComponent(decodeURIComponent(x.username));x.password=x.auth.slice(h+1);x.password=encodeURIComponent(decodeURIComponent(x.password))}else{x.username=encodeURIComponent(decodeURIComponent(x.auth))}x.auth=x.password?x.username+":"+x.password:x.username}x.origin=x.protocol!=="file:"&&v(x.protocol)&&x.host?x.protocol+"//"+x.host:"null";x.href=x.toString()}function w(n,t,e){var u=this;switch(n){case"query":if("string"===typeof t&&t.length){t=(e||r.parse)(t)}u[n]=t;break;case"port":u[n]=t;if(!i(t,u.protocol)){u.host=u.hostname;u[n]=""}else if(t){u.host=u.hostname+":"+t}break;case"hostname":u[n]=t;if(u.port)t+=":"+u.port;u.host=t;break;case"host":u[n]=t;if(s.test(t)){t=t.split(":");u.port=t.pop();u.hostname=t.join(":")}else{u.hostname=t;u.port=""}break;case"protocol":u.protocol=t.toLowerCase();u.slashes=!e;break;case"pathname":case"hash":if(t){var o=n==="pathname"?"/":"#";u[n]=t.charAt(0)!==o?o+t:t}else{u[n]=t}break;case"username":case"password":u[n]=encodeURIComponent(t);break;case"auth":var f=t.indexOf(":");if(~f){u.username=t.slice(0,f);u.username=encodeURIComponent(decodeURIComponent(u.username));u.password=t.slice(f+1);u.password=encodeURIComponent(decodeURIComponent(u.password))}else{u.username=encodeURIComponent(decodeURIComponent(t))}}for(var a=0;a<d.length;a++){var c=d[a];if(c[4])u[c[1]]=u[c[1]].toLowerCase()}u.auth=u.password?u.username+":"+u.password:u.username;u.origin=u.protocol!=="file:"&&v(u.protocol)&&u.host?u.protocol+"//"+u.host:"null";u.href=u.toString();return u}function y(n){if(!n||"function"!==typeof n)n=r.stringify;var t,e=this,i=e.host,u=e.protocol;if(u&&u.charAt(u.length-1)!==":")u+=":";var o=u+(e.protocol&&e.slashes||v(e.protocol)?"//":"");if(e.username){o+=e.username;if(e.password)o+=":"+e.password;o+="@"}else if(e.password){o+=":"+e.password;o+="@"}else if(e.protocol!=="file:"&&v(e.protocol)&&!i&&e.pathname!=="/"){o+="@"}if(i[i.length-1]===":"||s.test(e.hostname)&&!e.port){i+=":"}o+=i+e.pathname;t="object"===typeof e.query?n(e.query):e.query;if(t)o+="?"!==t.charAt(0)?"?"+t:t;if(e.hash)o+=e.hash;return o}m.prototype={set:w,toString:y};m.extractProtocol=g;m.location=p;m.trimLeft=l;m.qs=r;t.exports=m}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{querystringify:58,"requires-port":59}]},{},[1])(1)}));(function(n){var t=function(){try{return!!Symbol.iterator}catch(n){return false}};var e=t();var i=function(n){var t={next:function(){var t=n.shift();return{done:t===void 0,value:t}}};if(e){t[Symbol.iterator]=function(){return t}}return t};var r=function(n){return encodeURIComponent(n).replace(/%20/g,"+")};var u=function(n){return decodeURIComponent(String(n).replace(/\+/g," "))};var o=function(){var t=function(n){Object.defineProperty(this,"_entries",{writable:true,value:{}});var e=typeof n;if(e==="undefined");else if(e==="string"){if(n!==""){this._fromString(n)}}else if(n instanceof t){var i=this;n.forEach((function(n,t){i.append(t,n)}))}else if(n!==null&&e==="object"){if(Object.prototype.toString.call(n)==="[object Array]"){for(var r=0;r<n.length;r++){var u=n[r];if(Object.prototype.toString.call(u)==="[object Array]"||u.length!==2){this.append(u[0],u[1])}else{throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input")}}}else{for(var o in n){if(n.hasOwnProperty(o)){this.append(o,n[o])}}}}else{throw new TypeError("Unsupported input's type for URLSearchParams")}};var u=t.prototype;u.append=function(n,t){if(n in this._entries){this._entries[n].push(String(t))}else{this._entries[n]=[String(t)]}};u.delete=function(n){delete this._entries[n]};u.get=function(n){return n in this._entries?this._entries[n][0]:null};u.getAll=function(n){return n in this._entries?this._entries[n].slice(0):[]};u.has=function(n){return n in this._entries};u.set=function(n,t){this._entries[n]=[String(t)]};u.forEach=function(n,t){var e;for(var i in this._entries){if(this._entries.hasOwnProperty(i)){e=this._entries[i];for(var r=0;r<e.length;r++){n.call(t,e[r],i,this)}}}};u.keys=function(){var n=[];this.forEach((function(t,e){n.push(e)}));return i(n)};u.values=function(){var n=[];this.forEach((function(t){n.push(t)}));return i(n)};u.entries=function(){var n=[];this.forEach((function(t,e){n.push([e,t])}));return i(n)};if(e){u[Symbol.iterator]=u.entries}u.toString=function(){var n=[];this.forEach((function(t,e){n.push(r(e)+"="+r(t))}));return n.join("&")};n.URLSearchParams=t};var f=function(){try{var t=n.URLSearchParams;return new t("?a=1").toString()==="a=1"&&typeof t.prototype.set==="function"&&typeof t.prototype.entries==="function"}catch(n){return false}};if(!f()){o()}var s=n.URLSearchParams.prototype;if(typeof s.sort!=="function"){s.sort=function(){var n=this;var t=[];this.forEach((function(e,i){t.push([i,e]);if(!n._entries){n.delete(i)}}));t.sort((function(n,t){if(n[0]<t[0]){return-1}else if(n[0]>t[0]){return+1}else{return 0}}));if(n._entries){n._entries={}}for(var e=0;e<t.length;e++){this.append(t[e][0],t[e][1])}}}if(typeof s._fromString!=="function"){Object.defineProperty(s,"_fromString",{enumerable:false,configurable:false,writable:false,value:function(n){if(this._entries){this._entries={}}else{var t=[];this.forEach((function(n,e){t.push(e)}));for(var e=0;e<t.length;e++){this.delete(t[e])}}n=n.replace(/^\?/,"");var i=n.split("&");var r;for(var e=0;e<i.length;e++){r=i[e].split("=");this.append(u(r[0]),r.length>1?u(r[1]):"")}}})}})(typeof n!=="undefined"?n:typeof window!=="undefined"?window:typeof self!=="undefined"?self:n);(function(n){var t=function(){try{var t=new n.URL("b","http://a");t.pathname="c d";return t.href==="http://a/c%20d"&&t.searchParams}catch(n){return false}};var e=function(){var t=n.URL;var e=function(t,e){if(typeof t!=="string")t=String(t);if(e&&typeof e!=="string")e=String(e);var i=document,r;if(e&&(n.location===void 0||e!==n.location.href)){e=e.toLowerCase();i=document.implementation.createHTMLDocument("");r=i.createElement("base");r.href=e;i.head.appendChild(r);try{if(r.href.indexOf(e)!==0)throw new Error(r.href)}catch(n){throw new Error("URL unable to set base "+e+" due to "+n)}}var u=i.createElement("a");u.href=t;if(r){i.body.appendChild(u);u.href=u.href}var o=i.createElement("input");o.type="url";o.value=t;if(u.protocol===":"||!/:/.test(u.href)||!o.checkValidity()&&!e){throw new TypeError("Invalid URL")}Object.defineProperty(this,"_anchorElement",{value:u});var f=new n.URLSearchParams(this.search);var s=true;var a=true;var c=this;["append","delete","set"].forEach((function(n){var t=f[n];f[n]=function(){t.apply(f,arguments);if(s){a=false;c.search=f.toString();a=true}}}));Object.defineProperty(this,"searchParams",{value:f,enumerable:true});var l=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:false,configurable:false,writable:false,value:function(){if(this.search!==l){l=this.search;if(a){s=false;this.searchParams._fromString(this.search);s=true}}}})};var i=e.prototype;var r=function(n){Object.defineProperty(i,n,{get:function(){return this._anchorElement[n]},set:function(t){this._anchorElement[n]=t},enumerable:true})};["hash","host","hostname","port","protocol"].forEach((function(n){r(n)}));Object.defineProperty(i,"search",{get:function(){return this._anchorElement["search"]},set:function(n){this._anchorElement["search"]=n;this._updateSearchParams()},enumerable:true});Object.defineProperties(i,{toString:{get:function(){var n=this;return function(){return n.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(n){this._anchorElement.href=n;this._updateSearchParams()},enumerable:true},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(n){this._anchorElement.pathname=n},enumerable:true},origin:{get:function(){var n={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol];var t=this._anchorElement.port!=n&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:true},password:{get:function(){return""},set:function(n){},enumerable:true},username:{get:function(){return""},set:function(n){},enumerable:true}});e.createObjectURL=function(n){return t.createObjectURL.apply(t,arguments)};e.revokeObjectURL=function(n){return t.revokeObjectURL.apply(t,arguments)};n.URL=e};if(!t()){e()}if(n.location!==void 0&&!("origin"in n.location)){var i=function(){return n.location.protocol+"//"+n.location.hostname+(n.location.port?":"+n.location.port:"")};try{Object.defineProperty(n.location,"origin",{get:i,enumerable:true})}catch(t){setInterval((function(){n.location.origin=i()}),100)}}})(typeof n!=="undefined"?n:typeof window!=="undefined"?window:typeof self!=="undefined"?self:n);var e=t((function(t){
|
|
2
|
+
/*!
|
|
3
|
+
* jQuery JavaScript Library v3.6.4 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween
|
|
4
|
+
* https://jquery.com/
|
|
5
|
+
*
|
|
6
|
+
* Includes Sizzle.js
|
|
7
|
+
* https://sizzlejs.com/
|
|
8
|
+
*
|
|
9
|
+
* Copyright OpenJS Foundation and other contributors
|
|
10
|
+
* Released under the MIT license
|
|
11
|
+
* https://jquery.org/license
|
|
12
|
+
*
|
|
13
|
+
* Date: 2023-03-08T15:29Z
|
|
14
|
+
*/
|
|
15
|
+
(function(n,e){{t.exports=n.document?e(n,true):function(n){if(!n.document){throw new Error("jQuery requires a window with a document")}return e(n)}}})(typeof window!=="undefined"?window:n,(function(n,t){var e=[];var i=Object.getPrototypeOf;var r=e.slice;var u=e.flat?function(n){return e.flat.call(n)}:function(n){return e.concat.apply([],n)};var o=e.push;var f=e.indexOf;var s={};var a=s.toString;var c=s.hasOwnProperty;var l=c.toString;var d=l.call(Object);var h={};var p=function n(t){return typeof t==="function"&&typeof t.nodeType!=="number"&&typeof t.item!=="function"};var v=function n(t){return t!=null&&t===t.window};var g=n.document;var b={type:true,src:true,nonce:true,noModule:true};function m(n,t,e){e=e||g;var i,r,u=e.createElement("script");u.text=n;if(t){for(i in b){r=t[i]||t.getAttribute&&t.getAttribute(i);if(r){u.setAttribute(i,r)}}}e.head.appendChild(u).parentNode.removeChild(u)}function w(n){if(n==null){return n+""}return typeof n==="object"||typeof n==="function"?s[a.call(n)]||"object":typeof n}var y="3.6.4 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween",k=function(n,t){return new k.fn.init(n,t)};k.fn=k.prototype={jquery:y,constructor:k,length:0,toArray:function(){return r.call(this)},get:function(n){if(n==null){return r.call(this)}return n<0?this[n+this.length]:this[n]},pushStack:function(n){var t=k.merge(this.constructor(),n);t.prevObject=this;return t},each:function(n){return k.each(this,n)},map:function(n){return this.pushStack(k.map(this,(function(t,e){return n.call(t,e,t)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(n,t){return(t+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(n,t){return t%2})))},eq:function(n){var t=this.length,e=+n+(n<0?t:0);return this.pushStack(e>=0&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:o,sort:e.sort,splice:e.splice};k.extend=k.fn.extend=function(){var n,t,e,i,r,u,o=arguments[0]||{},f=1,s=arguments.length,a=false;if(typeof o==="boolean"){a=o;o=arguments[f]||{};f++}if(typeof o!=="object"&&!p(o)){o={}}if(f===s){o=this;f--}for(;f<s;f++){if((n=arguments[f])!=null){for(t in n){i=n[t];if(t==="__proto__"||o===i){continue}if(a&&i&&(k.isPlainObject(i)||(r=Array.isArray(i)))){e=o[t];if(r&&!Array.isArray(e)){u=[]}else if(!r&&!k.isPlainObject(e)){u={}}else{u=e}r=false;o[t]=k.extend(a,u,i)}else if(i!==undefined){o[t]=i}}}}return o};k.extend({expando:"jQuery"+(y+Math.random()).replace(/\D/g,""),isReady:true,error:function(n){throw new Error(n)},noop:function(){},isPlainObject:function(n){var t,e;if(!n||a.call(n)!=="[object Object]"){return false}t=i(n);if(!t){return true}e=c.call(t,"constructor")&&t.constructor;return typeof e==="function"&&l.call(e)===d},isEmptyObject:function(n){var t;for(t in n){return false}return true},globalEval:function(n,t,e){m(n,{nonce:t&&t.nonce},e)},each:function(n,t){var e,i=0;if(x(n)){e=n.length;for(;i<e;i++){if(t.call(n[i],i,n[i])===false){break}}}else{for(i in n){if(t.call(n[i],i,n[i])===false){break}}}return n},makeArray:function(n,t){var e=t||[];if(n!=null){if(x(Object(n))){k.merge(e,typeof n==="string"?[n]:n)}else{o.call(e,n)}}return e},inArray:function(n,t,e){return t==null?-1:f.call(t,n,e)},merge:function(n,t){var e=+t.length,i=0,r=n.length;for(;i<e;i++){n[r++]=t[i]}n.length=r;return n},grep:function(n,t,e){var i,r=[],u=0,o=n.length,f=!e;for(;u<o;u++){i=!t(n[u],u);if(i!==f){r.push(n[u])}}return r},map:function(n,t,e){var i,r,o=0,f=[];if(x(n)){i=n.length;for(;o<i;o++){r=t(n[o],o,e);if(r!=null){f.push(r)}}}else{for(o in n){r=t(n[o],o,e);if(r!=null){f.push(r)}}}return u(f)},guid:1,support:h});if(typeof Symbol==="function"){k.fn[Symbol.iterator]=e[Symbol.iterator]}k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(n,t){s["[object "+t+"]"]=t.toLowerCase()}));function x(n){var t=!!n&&"length"in n&&n.length,e=w(n);if(p(n)||v(n)){return false}return e==="array"||t===0||typeof t==="number"&&t>0&&t-1 in n}var C=
|
|
16
|
+
/*!
|
|
17
|
+
* Sizzle CSS Selector Engine v2.3.10
|
|
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: 2023-02-14
|
|
25
|
+
*/
|
|
26
|
+
function(n){var t,e,i,r,u,o,f,s,a,c,l,d,h,p,v,g,b,m,w,y="sizzle"+1*new Date,k=n.document,x=0,C=0,S=an(),E=an(),j=an(),F=an(),T=function(n,t){if(n===t){l=true}return 0},O={}.hasOwnProperty,A=[],R=A.pop,I=A.push,N=A.push,L=A.slice,D=function(n,t){var e=0,i=n.length;for(;e<i;e++){if(n[e]===t){return e}}return-1},M="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|"+"ismap|loop|multiple|open|readonly|required|scoped",_="[\\x20\\t\\r\\n\\f]",U="(?:\\\\[\\da-fA-F]{1,6}"+_+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",P="\\["+_+"*("+U+")(?:"+_+"*([*^$|!~]?=)"+_+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+U+"))|)"+_+"*\\]",$=":("+U+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|"+".*"+")\\)|)",z=new RegExp(_+"+","g"),J=new RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),q=new RegExp("^"+_+"*,"+_+"*"),W=new RegExp("^"+_+"*([>+~]|"+_+")"+_+"*"),H=new RegExp(_+"|>"),B=new RegExp($),K=new RegExp("^"+U+"$"),X={ID:new RegExp("^#("+U+")"),CLASS:new RegExp("^\\.("+U+")"),TAG:new RegExp("^("+U+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,nn=/[+~]/,tn=new RegExp("\\\\[\\da-fA-F]{1,6}"+_+"?|\\\\([^\\r\\n\\f])","g"),en=function(n,t){var e="0x"+n.slice(1)-65536;return t?t:e<0?String.fromCharCode(e+65536):String.fromCharCode(e>>10|55296,e&1023|56320)},rn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,un=function(n,t){if(t){if(n==="\0"){return"�"}return n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" "}return"\\"+n},on=function(){d()},fn=kn((function(n){return n.disabled===true&&n.nodeName.toLowerCase()==="fieldset"}),{dir:"parentNode",next:"legend"});try{N.apply(A=L.call(k.childNodes),k.childNodes)}catch(n){N={apply:A.length?function(n,t){I.apply(n,L.call(t))}:function(n,t){var e=n.length,i=0;while(n[e++]=t[i++]){}n.length=e-1}}}function sn(n,t,i,r){var u,f,a,c,l,p,b,m=t&&t.ownerDocument,k=t?t.nodeType:9;i=i||[];if(typeof n!=="string"||!n||k!==1&&k!==9&&k!==11){return i}if(!r){d(t);t=t||h;if(v){if(k!==11&&(l=Q.exec(n))){if(u=l[1]){if(k===9){if(a=t.getElementById(u)){if(a.id===u){i.push(a);return i}}else{return i}}else{if(m&&(a=m.getElementById(u))&&w(t,a)&&a.id===u){i.push(a);return i}}}else if(l[2]){N.apply(i,t.getElementsByTagName(n));return i}else if((u=l[3])&&e.getElementsByClassName&&t.getElementsByClassName){N.apply(i,t.getElementsByClassName(u));return i}}if(e.qsa&&!F[n+" "]&&(!g||!g.test(n))&&(k!==1||t.nodeName.toLowerCase()!=="object")){b=n;m=t;if(k===1&&(H.test(n)||W.test(n))){m=nn.test(n)&&mn(t.parentNode)||t;if(m!==t||!e.scope){if(c=t.getAttribute("id")){c=c.replace(rn,un)}else{t.setAttribute("id",c=y)}}p=o(n);f=p.length;while(f--){p[f]=(c?"#"+c:":scope")+" "+yn(p[f])}b=p.join(",")}try{N.apply(i,m.querySelectorAll(b));return i}catch(t){F(n,true)}finally{if(c===y){t.removeAttribute("id")}}}}}return s(n.replace(J,"$1"),t,i,r)}function an(){var n=[];function t(e,r){if(n.push(e+" ")>i.cacheLength){delete t[n.shift()]}return t[e+" "]=r}return t}function cn(n){n[y]=true;return n}function ln(n){var t=h.createElement("fieldset");try{return!!n(t)}catch(n){return false}finally{if(t.parentNode){t.parentNode.removeChild(t)}t=null}}function dn(n,t){var e=n.split("|"),r=e.length;while(r--){i.attrHandle[e[r]]=t}}function hn(n,t){var e=t&&n,i=e&&n.nodeType===1&&t.nodeType===1&&n.sourceIndex-t.sourceIndex;if(i){return i}if(e){while(e=e.nextSibling){if(e===t){return-1}}}return n?1:-1}function pn(n){return function(t){var e=t.nodeName.toLowerCase();return e==="input"&&t.type===n}}function vn(n){return function(t){var e=t.nodeName.toLowerCase();return(e==="input"||e==="button")&&t.type===n}}function gn(n){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===n}else{return t.disabled===n}}return t.isDisabled===n||t.isDisabled!==!n&&fn(t)===n}return t.disabled===n}else if("label"in t){return t.disabled===n}return false}}function bn(n){return cn((function(t){t=+t;return cn((function(e,i){var r,u=n([],e.length,t),o=u.length;while(o--){if(e[r=u[o]]){e[r]=!(i[r]=e[r])}}}))}))}function mn(n){return n&&typeof n.getElementsByTagName!=="undefined"&&n}e=sn.support={};u=sn.isXML=function(n){var t=n&&n.namespaceURI,e=n&&(n.ownerDocument||n).documentElement;return!G.test(t||e&&e.nodeName||"HTML")};d=sn.setDocument=function(n){var t,r,o=n?n.ownerDocument||n:k;if(o==h||o.nodeType!==9||!o.documentElement){return h}h=o;p=h.documentElement;v=!u(h);if(k!=h&&(r=h.defaultView)&&r.top!==r){if(r.addEventListener){r.addEventListener("unload",on,false)}else if(r.attachEvent){r.attachEvent("onunload",on)}}e.scope=ln((function(n){p.appendChild(n).appendChild(h.createElement("div"));return typeof n.querySelectorAll!=="undefined"&&!n.querySelectorAll(":scope fieldset div").length}));e.cssHas=ln((function(){try{h.querySelector(":has(*,:jqfake)");return false}catch(n){return true}}));e.attributes=ln((function(n){n.className="i";return!n.getAttribute("className")}));e.getElementsByTagName=ln((function(n){n.appendChild(h.createComment(""));return!n.getElementsByTagName("*").length}));e.getElementsByClassName=Z.test(h.getElementsByClassName);e.getById=ln((function(n){p.appendChild(n).id=y;return!h.getElementsByName||!h.getElementsByName(y).length}));if(e.getById){i.filter["ID"]=function(n){var t=n.replace(tn,en);return function(n){return n.getAttribute("id")===t}};i.find["ID"]=function(n,t){if(typeof t.getElementById!=="undefined"&&v){var e=t.getElementById(n);return e?[e]:[]}}}else{i.filter["ID"]=function(n){var t=n.replace(tn,en);return function(n){var e=typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id");return e&&e.value===t}};i.find["ID"]=function(n,t){if(typeof t.getElementById!=="undefined"&&v){var e,i,r,u=t.getElementById(n);if(u){e=u.getAttributeNode("id");if(e&&e.value===n){return[u]}r=t.getElementsByName(n);i=0;while(u=r[i++]){e=u.getAttributeNode("id");if(e&&e.value===n){return[u]}}}return[]}}}i.find["TAG"]=e.getElementsByTagName?function(n,t){if(typeof t.getElementsByTagName!=="undefined"){return t.getElementsByTagName(n)}else if(e.qsa){return t.querySelectorAll(n)}}:function(n,t){var e,i=[],r=0,u=t.getElementsByTagName(n);if(n==="*"){while(e=u[r++]){if(e.nodeType===1){i.push(e)}}return i}return u};i.find["CLASS"]=e.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!=="undefined"&&v){return t.getElementsByClassName(n)}};b=[];g=[];if(e.qsa=Z.test(h.querySelectorAll)){ln((function(n){var t;p.appendChild(n).innerHTML="<a id='"+y+"'></a>"+"<select id='"+y+"-\r\\' msallowcapture=''>"+"<option selected=''></option></select>";if(n.querySelectorAll("[msallowcapture^='']").length){g.push("[*^$]="+_+"*(?:''|\"\")")}if(!n.querySelectorAll("[selected]").length){g.push("\\["+_+"*(?:value|"+M+")")}if(!n.querySelectorAll("[id~="+y+"-]").length){g.push("~=")}t=h.createElement("input");t.setAttribute("name","");n.appendChild(t);if(!n.querySelectorAll("[name='']").length){g.push("\\["+_+"*name"+_+"*="+_+"*(?:''|\"\")")}if(!n.querySelectorAll(":checked").length){g.push(":checked")}if(!n.querySelectorAll("a#"+y+"+*").length){g.push(".#.+[+~]")}n.querySelectorAll("\\\f");g.push("[\\r\\n\\f]")}));ln((function(n){n.innerHTML="<a href='' disabled='disabled'></a>"+"<select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");if(n.querySelectorAll("[name=d]").length){g.push("name"+_+"*[*^$|!~]?=")}if(n.querySelectorAll(":enabled").length!==2){g.push(":enabled",":disabled")}p.appendChild(n).disabled=true;if(n.querySelectorAll(":disabled").length!==2){g.push(":enabled",":disabled")}n.querySelectorAll("*,:x");g.push(",.*:")}))}if(e.matchesSelector=Z.test(m=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector)){ln((function(n){e.disconnectedMatch=m.call(n,"*");m.call(n,"[s!='']:x");b.push("!=",$)}))}if(!e.cssHas){g.push(":has")}g=g.length&&new RegExp(g.join("|"));b=b.length&&new RegExp(b.join("|"));t=Z.test(p.compareDocumentPosition);w=t||Z.test(p.contains)?function(n,t){var e=n.nodeType===9&&n.documentElement||n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(e.contains?e.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t){while(t=t.parentNode){if(t===n){return true}}}return false};T=t?function(n,t){if(n===t){l=true;return 0}var i=!n.compareDocumentPosition-!t.compareDocumentPosition;if(i){return i}i=(n.ownerDocument||n)==(t.ownerDocument||t)?n.compareDocumentPosition(t):1;if(i&1||!e.sortDetached&&t.compareDocumentPosition(n)===i){if(n==h||n.ownerDocument==k&&w(k,n)){return-1}if(t==h||t.ownerDocument==k&&w(k,t)){return 1}return c?D(c,n)-D(c,t):0}return i&4?-1:1}:function(n,t){if(n===t){l=true;return 0}var e,i=0,r=n.parentNode,u=t.parentNode,o=[n],f=[t];if(!r||!u){return n==h?-1:t==h?1:r?-1:u?1:c?D(c,n)-D(c,t):0}else if(r===u){return hn(n,t)}e=n;while(e=e.parentNode){o.unshift(e)}e=t;while(e=e.parentNode){f.unshift(e)}while(o[i]===f[i]){i++}return i?hn(o[i],f[i]):o[i]==k?-1:f[i]==k?1:0};return h};sn.matches=function(n,t){return sn(n,null,null,t)};sn.matchesSelector=function(n,t){d(n);if(e.matchesSelector&&v&&!F[t+" "]&&(!b||!b.test(t))&&(!g||!g.test(t))){try{var i=m.call(n,t);if(i||e.disconnectedMatch||n.document&&n.document.nodeType!==11){return i}}catch(n){F(t,true)}}return sn(t,h,null,[n]).length>0};sn.contains=function(n,t){if((n.ownerDocument||n)!=h){d(n)}return w(n,t)};sn.attr=function(n,t){if((n.ownerDocument||n)!=h){d(n)}var r=i.attrHandle[t.toLowerCase()],u=r&&O.call(i.attrHandle,t.toLowerCase())?r(n,t,!v):undefined;return u!==undefined?u:e.attributes||!v?n.getAttribute(t):(u=n.getAttributeNode(t))&&u.specified?u.value:null};sn.escape=function(n){return(n+"").replace(rn,un)};sn.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n)};sn.uniqueSort=function(n){var t,i=[],r=0,u=0;l=!e.detectDuplicates;c=!e.sortStable&&n.slice(0);n.sort(T);if(l){while(t=n[u++]){if(t===n[u]){r=i.push(u)}}while(r--){n.splice(i[r],1)}}c=null;return n};r=sn.getText=function(n){var t,e="",i=0,u=n.nodeType;if(!u){while(t=n[i++]){e+=r(t)}}else if(u===1||u===9||u===11){if(typeof n.textContent==="string"){return n.textContent}else{for(n=n.firstChild;n;n=n.nextSibling){e+=r(n)}}}else if(u===3||u===4){return n.nodeValue}return e};i=sn.selectors={cacheLength:50,createPseudo:cn,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){n[1]=n[1].replace(tn,en);n[3]=(n[3]||n[4]||n[5]||"").replace(tn,en);if(n[2]==="~="){n[3]=" "+n[3]+" "}return n.slice(0,4)},CHILD:function(n){n[1]=n[1].toLowerCase();if(n[1].slice(0,3)==="nth"){if(!n[3]){sn.error(n[0])}n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd"));n[5]=+(n[7]+n[8]||n[3]==="odd")}else if(n[3]){sn.error(n[0])}return n},PSEUDO:function(n){var t,e=!n[6]&&n[2];if(X["CHILD"].test(n[0])){return null}if(n[3]){n[2]=n[4]||n[5]||""}else if(e&&B.test(e)&&(t=o(e,true))&&(t=e.indexOf(")",e.length-t)-e.length)){n[0]=n[0].slice(0,t);n[2]=e.slice(0,t)}return n.slice(0,3)}},filter:{TAG:function(n){var t=n.replace(tn,en).toLowerCase();return n==="*"?function(){return true}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=S[n+" "];return t||(t=new RegExp("(^|"+_+")"+n+"("+_+"|$)"))&&S(n,(function(n){return t.test(typeof n.className==="string"&&n.className||typeof n.getAttribute!=="undefined"&&n.getAttribute("class")||"")}))},ATTR:function(n,t,e){return function(i){var r=sn.attr(i,n);if(r==null){return t==="!="}if(!t){return true}r+="";return t==="="?r===e:t==="!="?r!==e:t==="^="?e&&r.indexOf(e)===0:t==="*="?e&&r.indexOf(e)>-1:t==="$="?e&&r.slice(-e.length)===e:t==="~="?(" "+r.replace(z," ")+" ").indexOf(e)>-1:t==="|="?r===e||r.slice(0,e.length+1)===e+"-":false}},CHILD:function(n,t,e,i,r){var u=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",f=t==="of-type";return i===1&&r===0?function(n){return!!n.parentNode}:function(t,e,s){var a,c,l,d,h,p,v=u!==o?"nextSibling":"previousSibling",g=t.parentNode,b=f&&t.nodeName.toLowerCase(),m=!s&&!f,w=false;if(g){if(u){while(v){d=t;while(d=d[v]){if(f?d.nodeName.toLowerCase()===b:d.nodeType===1){return false}}p=v=n==="only"&&!p&&"nextSibling"}return true}p=[o?g.firstChild:g.lastChild];if(o&&m){d=g;l=d[y]||(d[y]={});c=l[d.uniqueID]||(l[d.uniqueID]={});a=c[n]||[];h=a[0]===x&&a[1];w=h&&a[2];d=h&&g.childNodes[h];while(d=++h&&d&&d[v]||(w=h=0)||p.pop()){if(d.nodeType===1&&++w&&d===t){c[n]=[x,h,w];break}}}else{if(m){d=t;l=d[y]||(d[y]={});c=l[d.uniqueID]||(l[d.uniqueID]={});a=c[n]||[];h=a[0]===x&&a[1];w=h}if(w===false){while(d=++h&&d&&d[v]||(w=h=0)||p.pop()){if((f?d.nodeName.toLowerCase()===b:d.nodeType===1)&&++w){if(m){l=d[y]||(d[y]={});c=l[d.uniqueID]||(l[d.uniqueID]={});c[n]=[x,w]}if(d===t){break}}}}}w-=r;return w===i||w%i===0&&w/i>=0}}},PSEUDO:function(n,t){var e,r=i.pseudos[n]||i.setFilters[n.toLowerCase()]||sn.error("unsupported pseudo: "+n);if(r[y]){return r(t)}if(r.length>1){e=[n,n,"",t];return i.setFilters.hasOwnProperty(n.toLowerCase())?cn((function(n,e){var i,u=r(n,t),o=u.length;while(o--){i=D(n,u[o]);n[i]=!(e[i]=u[o])}})):function(n){return r(n,0,e)}}return r}},pseudos:{not:cn((function(n){var t=[],e=[],i=f(n.replace(J,"$1"));return i[y]?cn((function(n,t,e,r){var u,o=i(n,null,r,[]),f=n.length;while(f--){if(u=o[f]){n[f]=!(t[f]=u)}}})):function(n,r,u){t[0]=n;i(t,null,u,e);t[0]=null;return!e.pop()}})),has:cn((function(n){return function(t){return sn(n,t).length>0}})),contains:cn((function(n){n=n.replace(tn,en);return function(t){return(t.textContent||r(t)).indexOf(n)>-1}})),lang:cn((function(n){if(!K.test(n||"")){sn.error("unsupported lang: "+n)}n=n.replace(tn,en).toLowerCase();return function(t){var e;do{if(e=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang")){e=e.toLowerCase();return e===n||e.indexOf(n+"-")===0}}while((t=t.parentNode)&&t.nodeType===1);return false}})),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(n){return n===p},focus:function(n){return n===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:gn(false),disabled:gn(true),checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.selected===true},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling){if(n.nodeType<6){return false}}return true},parent:function(n){return!i.pseudos["empty"](n)},header:function(n){return V.test(n.nodeName)},input:function(n){return Y.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:bn((function(){return[0]})),last:bn((function(n,t){return[t-1]})),eq:bn((function(n,t,e){return[e<0?e+t:e]})),even:bn((function(n,t){var e=0;for(;e<t;e+=2){n.push(e)}return n})),odd:bn((function(n,t){var e=1;for(;e<t;e+=2){n.push(e)}return n})),lt:bn((function(n,t,e){var i=e<0?e+t:e>t?t:e;for(;--i>=0;){n.push(i)}return n})),gt:bn((function(n,t,e){var i=e<0?e+t:e;for(;++i<t;){n.push(i)}return n}))}};i.pseudos["nth"]=i.pseudos["eq"];for(t in{radio:true,checkbox:true,file:true,password:true,image:true}){i.pseudos[t]=pn(t)}for(t in{submit:true,reset:true}){i.pseudos[t]=vn(t)}function wn(){}wn.prototype=i.filters=i.pseudos;i.setFilters=new wn;o=sn.tokenize=function(n,t){var e,r,u,o,f,s,a,c=E[n+" "];if(c){return t?0:c.slice(0)}f=n;s=[];a=i.preFilter;while(f){if(!e||(r=q.exec(f))){if(r){f=f.slice(r[0].length)||f}s.push(u=[])}e=false;if(r=W.exec(f)){e=r.shift();u.push({value:e,type:r[0].replace(J," ")});f=f.slice(e.length)}for(o in i.filter){if((r=X[o].exec(f))&&(!a[o]||(r=a[o](r)))){e=r.shift();u.push({value:e,type:o,matches:r});f=f.slice(e.length)}}if(!e){break}}return t?f.length:f?sn.error(n):E(n,s).slice(0)};function yn(n){var t=0,e=n.length,i="";for(;t<e;t++){i+=n[t].value}return i}function kn(n,t,e){var i=t.dir,r=t.next,u=r||i,o=e&&u==="parentNode",f=C++;return t.first?function(t,e,r){while(t=t[i]){if(t.nodeType===1||o){return n(t,e,r)}}return false}:function(t,e,s){var a,c,l,d=[x,f];if(s){while(t=t[i]){if(t.nodeType===1||o){if(n(t,e,s)){return true}}}}else{while(t=t[i]){if(t.nodeType===1||o){l=t[y]||(t[y]={});c=l[t.uniqueID]||(l[t.uniqueID]={});if(r&&r===t.nodeName.toLowerCase()){t=t[i]||t}else if((a=c[u])&&a[0]===x&&a[1]===f){return d[2]=a[2]}else{c[u]=d;if(d[2]=n(t,e,s)){return true}}}}}return false}}function xn(n){return n.length>1?function(t,e,i){var r=n.length;while(r--){if(!n[r](t,e,i)){return false}}return true}:n[0]}function Cn(n,t,e){var i=0,r=t.length;for(;i<r;i++){sn(n,t[i],e)}return e}function Sn(n,t,e,i,r){var u,o=[],f=0,s=n.length,a=t!=null;for(;f<s;f++){if(u=n[f]){if(!e||e(u,i,r)){o.push(u);if(a){t.push(f)}}}}return o}function En(n,t,e,i,r,u){if(i&&!i[y]){i=En(i)}if(r&&!r[y]){r=En(r,u)}return cn((function(u,o,f,s){var a,c,l,d=[],h=[],p=o.length,v=u||Cn(t||"*",f.nodeType?[f]:f,[]),g=n&&(u||!t)?Sn(v,d,n,f,s):v,b=e?r||(u?n:p||i)?[]:o:g;if(e){e(g,b,f,s)}if(i){a=Sn(b,h);i(a,[],f,s);c=a.length;while(c--){if(l=a[c]){b[h[c]]=!(g[h[c]]=l)}}}if(u){if(r||n){if(r){a=[];c=b.length;while(c--){if(l=b[c]){a.push(g[c]=l)}}r(null,b=[],a,s)}c=b.length;while(c--){if((l=b[c])&&(a=r?D(u,l):d[c])>-1){u[a]=!(o[a]=l)}}}}else{b=Sn(b===o?b.splice(p,b.length):b);if(r){r(null,o,b,s)}else{N.apply(o,b)}}}))}function jn(n){var t,e,r,u=n.length,o=i.relative[n[0].type],f=o||i.relative[" "],s=o?1:0,c=kn((function(n){return n===t}),f,true),l=kn((function(n){return D(t,n)>-1}),f,true),d=[function(n,e,i){var r=!o&&(i||e!==a)||((t=e).nodeType?c(n,e,i):l(n,e,i));t=null;return r}];for(;s<u;s++){if(e=i.relative[n[s].type]){d=[kn(xn(d),e)]}else{e=i.filter[n[s].type].apply(null,n[s].matches);if(e[y]){r=++s;for(;r<u;r++){if(i.relative[n[r].type]){break}}return En(s>1&&xn(d),s>1&&yn(n.slice(0,s-1).concat({value:n[s-2].type===" "?"*":""})).replace(J,"$1"),e,s<r&&jn(n.slice(s,r)),r<u&&jn(n=n.slice(r)),r<u&&yn(n))}d.push(e)}}return xn(d)}function Fn(n,t){var e=t.length>0,r=n.length>0,u=function(u,o,f,s,c){var l,p,g,b=0,m="0",w=u&&[],y=[],k=a,C=u||r&&i.find["TAG"]("*",c),S=x+=k==null?1:Math.random()||.1,E=C.length;if(c){a=o==h||o||c}for(;m!==E&&(l=C[m])!=null;m++){if(r&&l){p=0;if(!o&&l.ownerDocument!=h){d(l);f=!v}while(g=n[p++]){if(g(l,o||h,f)){s.push(l);break}}if(c){x=S}}if(e){if(l=!g&&l){b--}if(u){w.push(l)}}}b+=m;if(e&&m!==b){p=0;while(g=t[p++]){g(w,y,o,f)}if(u){if(b>0){while(m--){if(!(w[m]||y[m])){y[m]=R.call(s)}}}y=Sn(y)}N.apply(s,y);if(c&&!u&&y.length>0&&b+t.length>1){sn.uniqueSort(s)}}if(c){x=S;a=k}return w};return e?cn(u):u}f=sn.compile=function(n,t){var e,i=[],r=[],u=j[n+" "];if(!u){if(!t){t=o(n)}e=t.length;while(e--){u=jn(t[e]);if(u[y]){i.push(u)}else{r.push(u)}}u=j(n,Fn(r,i));u.selector=n}return u};s=sn.select=function(n,t,e,r){var u,s,a,c,l,d=typeof n==="function"&&n,h=!r&&o(n=d.selector||n);e=e||[];if(h.length===1){s=h[0]=h[0].slice(0);if(s.length>2&&(a=s[0]).type==="ID"&&t.nodeType===9&&v&&i.relative[s[1].type]){t=(i.find["ID"](a.matches[0].replace(tn,en),t)||[])[0];if(!t){return e}else if(d){t=t.parentNode}n=n.slice(s.shift().value.length)}u=X["needsContext"].test(n)?0:s.length;while(u--){a=s[u];if(i.relative[c=a.type]){break}if(l=i.find[c]){if(r=l(a.matches[0].replace(tn,en),nn.test(s[0].type)&&mn(t.parentNode)||t)){s.splice(u,1);n=r.length&&yn(s);if(!n){N.apply(e,r);return e}break}}}}(d||f(n,h))(r,t,!v,e,!t||nn.test(n)&&mn(t.parentNode)||t);return e};e.sortStable=y.split("").sort(T).join("")===y;e.detectDuplicates=!!l;d();e.sortDetached=ln((function(n){return n.compareDocumentPosition(h.createElement("fieldset"))&1}));if(!ln((function(n){n.innerHTML="<a href='#'></a>";return n.firstChild.getAttribute("href")==="#"}))){dn("type|href|height|width",(function(n,t,e){if(!e){return n.getAttribute(t,t.toLowerCase()==="type"?1:2)}}))}if(!e.attributes||!ln((function(n){n.innerHTML="<input/>";n.firstChild.setAttribute("value","");return n.firstChild.getAttribute("value")===""}))){dn("value",(function(n,t,e){if(!e&&n.nodeName.toLowerCase()==="input"){return n.defaultValue}}))}if(!ln((function(n){return n.getAttribute("disabled")==null}))){dn(M,(function(n,t,e){var i;if(!e){return n[t]===true?t.toLowerCase():(i=n.getAttributeNode(t))&&i.specified?i.value:null}}))}return sn}(n);k.find=C;k.expr=C.selectors;k.expr[":"]=k.expr.pseudos;k.uniqueSort=k.unique=C.uniqueSort;k.text=C.getText;k.isXMLDoc=C.isXML;k.contains=C.contains;k.escapeSelector=C.escape;var S=function(n,t,e){var i=[],r=e!==undefined;while((n=n[t])&&n.nodeType!==9){if(n.nodeType===1){if(r&&k(n).is(e)){break}i.push(n)}}return i};var E=function(n,t){var e=[];for(;n;n=n.nextSibling){if(n.nodeType===1&&n!==t){e.push(n)}}return e};var j=k.expr.match.needsContext;function F(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}var T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(n,t,e){if(p(t)){return k.grep(n,(function(n,i){return!!t.call(n,i,n)!==e}))}if(t.nodeType){return k.grep(n,(function(n){return n===t!==e}))}if(typeof t!=="string"){return k.grep(n,(function(n){return f.call(t,n)>-1!==e}))}return k.filter(t,n,e)}k.filter=function(n,t,e){var i=t[0];if(e){n=":not("+n+")"}if(t.length===1&&i.nodeType===1){return k.find.matchesSelector(i,n)?[i]:[]}return k.find.matches(n,k.grep(t,(function(n){return n.nodeType===1})))};k.fn.extend({find:function(n){var t,e,i=this.length,r=this;if(typeof n!=="string"){return this.pushStack(k(n).filter((function(){for(t=0;t<i;t++){if(k.contains(r[t],this)){return true}}})))}e=this.pushStack([]);for(t=0;t<i;t++){k.find(n,r[t],e)}return i>1?k.uniqueSort(e):e},filter:function(n){return this.pushStack(O(this,n||[],false))},not:function(n){return this.pushStack(O(this,n||[],true))},is:function(n){return!!O(this,typeof n==="string"&&j.test(n)?k(n):n||[],false).length}});var A,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,I=k.fn.init=function(n,t,e){var i,r;if(!n){return this}e=e||A;if(typeof n==="string"){if(n[0]==="<"&&n[n.length-1]===">"&&n.length>=3){i=[null,n,null]}else{i=R.exec(n)}if(i&&(i[1]||!t)){if(i[1]){t=t instanceof k?t[0]:t;k.merge(this,k.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:g,true));if(T.test(i[1])&&k.isPlainObject(t)){for(i in t){if(p(this[i])){this[i](t[i])}else{this.attr(i,t[i])}}}return this}else{r=g.getElementById(i[2]);if(r){this[0]=r;this.length=1}return this}}else if(!t||t.jquery){return(t||e).find(n)}else{return this.constructor(t).find(n)}}else if(n.nodeType){this[0]=n;this.length=1;return this}else if(p(n)){return e.ready!==undefined?e.ready(n):n(k)}return k.makeArray(n,this)};I.prototype=k.fn;A=k(g);var N=/^(?:parents|prev(?:Until|All))/,L={children:true,contents:true,next:true,prev:true};k.fn.extend({has:function(n){var t=k(n,this),e=t.length;return this.filter((function(){var n=0;for(;n<e;n++){if(k.contains(this,t[n])){return true}}}))},closest:function(n,t){var e,i=0,r=this.length,u=[],o=typeof n!=="string"&&k(n);if(!j.test(n)){for(;i<r;i++){for(e=this[i];e&&e!==t;e=e.parentNode){if(e.nodeType<11&&(o?o.index(e)>-1:e.nodeType===1&&k.find.matchesSelector(e,n))){u.push(e);break}}}}return this.pushStack(u.length>1?k.uniqueSort(u):u)},index:function(n){if(!n){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof n==="string"){return f.call(k(n),this[0])}return f.call(this,n.jquery?n[0]:n)},add:function(n,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});function D(n,t){while((n=n[t])&&n.nodeType!==1){}return n}k.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return S(n,"parentNode")},parentsUntil:function(n,t,e){return S(n,"parentNode",e)},next:function(n){return D(n,"nextSibling")},prev:function(n){return D(n,"previousSibling")},nextAll:function(n){return S(n,"nextSibling")},prevAll:function(n){return S(n,"previousSibling")},nextUntil:function(n,t,e){return S(n,"nextSibling",e)},prevUntil:function(n,t,e){return S(n,"previousSibling",e)},siblings:function(n){return E((n.parentNode||{}).firstChild,n)},children:function(n){return E(n.firstChild)},contents:function(n){if(n.contentDocument!=null&&i(n.contentDocument)){return n.contentDocument}if(F(n,"template")){n=n.content||n}return k.merge([],n.childNodes)}},(function(n,t){k.fn[n]=function(e,i){var r=k.map(this,t,e);if(n.slice(-5)!=="Until"){i=e}if(i&&typeof i==="string"){r=k.filter(i,r)}if(this.length>1){if(!L[n]){k.uniqueSort(r)}if(N.test(n)){r.reverse()}}return this.pushStack(r)}}));var M=/[^\x20\t\r\n\f]+/g;function _(n){var t={};k.each(n.match(M)||[],(function(n,e){t[e]=true}));return t}k.Callbacks=function(n){n=typeof n==="string"?_(n):k.extend({},n);var t,e,i,r,u=[],o=[],f=-1,s=function(){r=r||n.once;i=t=true;for(;o.length;f=-1){e=o.shift();while(++f<u.length){if(u[f].apply(e[0],e[1])===false&&n.stopOnFalse){f=u.length;e=false}}}if(!n.memory){e=false}t=false;if(r){if(e){u=[]}else{u=""}}},a={add:function(){if(u){if(e&&!t){f=u.length-1;o.push(e)}(function t(e){k.each(e,(function(e,i){if(p(i)){if(!n.unique||!a.has(i)){u.push(i)}}else if(i&&i.length&&w(i)!=="string"){t(i)}}))})(arguments);if(e&&!t){s()}}return this},remove:function(){k.each(arguments,(function(n,t){var e;while((e=k.inArray(t,u,e))>-1){u.splice(e,1);if(e<=f){f--}}}));return this},has:function(n){return n?k.inArray(n,u)>-1:u.length>0},empty:function(){if(u){u=[]}return this},disable:function(){r=o=[];u=e="";return this},disabled:function(){return!u},lock:function(){r=o=[];if(!e&&!t){u=e=""}return this},locked:function(){return!!r},fireWith:function(n,e){if(!r){e=e||[];e=[n,e.slice?e.slice():e];o.push(e);if(!t){s()}}return this},fire:function(){a.fireWith(this,arguments);return this},fired:function(){return!!i}};return a};function U(n){return n}function P(n){throw n}function $(n,t,e,i){var r;try{if(n&&p(r=n.promise)){r.call(n).done(t).fail(e)}else if(n&&p(r=n.then)){r.call(n,t,e)}else{t.apply(undefined,[n].slice(i))}}catch(n){e.apply(undefined,[n])}}k.extend({Deferred:function(t){var e=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){u.done(arguments).fail(arguments);return this},catch:function(n){return r.then(null,n)},pipe:function(){var n=arguments;return k.Deferred((function(t){k.each(e,(function(e,i){var r=p(n[i[4]])&&n[i[4]];u[i[1]]((function(){var n=r&&r.apply(this,arguments);if(n&&p(n.promise)){n.promise().progress(t.notify).done(t.resolve).fail(t.reject)}else{t[i[0]+"With"](this,r?[n]:arguments)}}))}));n=null})).promise()},then:function(t,i,r){var u=0;function o(t,e,i,r){return function(){var f=this,s=arguments,a=function(){var n,a;if(t<u){return}n=i.apply(f,s);if(n===e.promise()){throw new TypeError("Thenable self-resolution")}a=n&&(typeof n==="object"||typeof n==="function")&&n.then;if(p(a)){if(r){a.call(n,o(u,e,U,r),o(u,e,P,r))}else{u++;a.call(n,o(u,e,U,r),o(u,e,P,r),o(u,e,U,e.notifyWith))}}else{if(i!==U){f=undefined;s=[n]}(r||e.resolveWith)(f,s)}},c=r?a:function(){try{a()}catch(n){if(k.Deferred.exceptionHook){k.Deferred.exceptionHook(n,c.stackTrace)}if(t+1>=u){if(i!==P){f=undefined;s=[n]}e.rejectWith(f,s)}}};if(t){c()}else{if(k.Deferred.getStackHook){c.stackTrace=k.Deferred.getStackHook()}n.setTimeout(c)}}}return k.Deferred((function(n){e[0][3].add(o(0,n,p(r)?r:U,n.notifyWith));e[1][3].add(o(0,n,p(t)?t:U));e[2][3].add(o(0,n,p(i)?i:P))})).promise()},promise:function(n){return n!=null?k.extend(n,r):r}},u={};k.each(e,(function(n,t){var o=t[2],f=t[5];r[t[1]]=o.add;if(f){o.add((function(){i=f}),e[3-n][2].disable,e[3-n][3].disable,e[0][2].lock,e[0][3].lock)}o.add(t[3].fire);u[t[0]]=function(){u[t[0]+"With"](this===u?undefined:this,arguments);return this};u[t[0]+"With"]=o.fireWith}));r.promise(u);if(t){t.call(u,u)}return u},when:function(n){var t=arguments.length,e=t,i=Array(e),u=r.call(arguments),o=k.Deferred(),f=function(n){return function(e){i[n]=this;u[n]=arguments.length>1?r.call(arguments):e;if(!--t){o.resolveWith(i,u)}}};if(t<=1){$(n,o.done(f(e)).resolve,o.reject,!t);if(o.state()==="pending"||p(u[e]&&u[e].then)){return o.then()}}while(e--){$(u[e],f(e),o.reject)}return o.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,e){if(n.console&&n.console.warn&&t&&z.test(t.name)){n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)}};k.readyException=function(t){n.setTimeout((function(){throw t}))};var J=k.Deferred();k.fn.ready=function(n){J.then(n).catch((function(n){k.readyException(n)}));return this};k.extend({isReady:false,readyWait:1,ready:function(n){if(n===true?--k.readyWait:k.isReady){return}k.isReady=true;if(n!==true&&--k.readyWait>0){return}J.resolveWith(g,[k])}});k.ready.then=J.then;function q(){g.removeEventListener("DOMContentLoaded",q);n.removeEventListener("load",q);k.ready()}if(g.readyState==="complete"||g.readyState!=="loading"&&!g.documentElement.doScroll){n.setTimeout(k.ready)}else{g.addEventListener("DOMContentLoaded",q);n.addEventListener("load",q)}var W=function(n,t,e,i,r,u,o){var f=0,s=n.length,a=e==null;if(w(e)==="object"){r=true;for(f in e){W(n,t,f,e[f],true,u,o)}}else if(i!==undefined){r=true;if(!p(i)){o=true}if(a){if(o){t.call(n,i);t=null}else{a=t;t=function(n,t,e){return a.call(k(n),e)}}}if(t){for(;f<s;f++){t(n[f],e,o?i:i.call(n[f],f,t(n[f],e)))}}}if(r){return n}if(a){return t.call(n)}return s?t(n[0],e):u};var H=/^-ms-/,B=/-([a-z])/g;function K(n,t){return t.toUpperCase()}function X(n){return n.replace(H,"ms-").replace(B,K)}var G=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};function Y(){this.expando=k.expando+Y.uid++}Y.uid=1;Y.prototype={cache:function(n){var t=n[this.expando];if(!t){t={};if(G(n)){if(n.nodeType){n[this.expando]=t}else{Object.defineProperty(n,this.expando,{value:t,configurable:true})}}}return t},set:function(n,t,e){var i,r=this.cache(n);if(typeof t==="string"){r[X(t)]=e}else{for(i in t){r[X(i)]=t[i]}}return r},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][X(t)]},access:function(n,t,e){if(t===undefined||t&&typeof t==="string"&&e===undefined){return this.get(n,t)}this.set(n,t,e);return e!==undefined?e:t},remove:function(n,t){var e,i=n[this.expando];if(i===undefined){return}if(t!==undefined){if(Array.isArray(t)){t=t.map(X)}else{t=X(t);t=t in i?[t]:t.match(M)||[]}e=t.length;while(e--){delete i[t[e]]}}if(t===undefined||k.isEmptyObject(i)){if(n.nodeType){n[this.expando]=undefined}else{delete n[this.expando]}}},hasData:function(n){var t=n[this.expando];return t!==undefined&&!k.isEmptyObject(t)}};var V=new Y;var Z=new Y;var Q=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,nn=/[A-Z]/g;function tn(n){if(n==="true"){return true}if(n==="false"){return false}if(n==="null"){return null}if(n===+n+""){return+n}if(Q.test(n)){return JSON.parse(n)}return n}function en(n,t,e){var i;if(e===undefined&&n.nodeType===1){i="data-"+t.replace(nn,"-$&").toLowerCase();e=n.getAttribute(i);if(typeof e==="string"){try{e=tn(e)}catch(n){}Z.set(n,t,e)}else{e=undefined}}return e}k.extend({hasData:function(n){return Z.hasData(n)||V.hasData(n)},data:function(n,t,e){return Z.access(n,t,e)},removeData:function(n,t){Z.remove(n,t)},_data:function(n,t,e){return V.access(n,t,e)},_removeData:function(n,t){V.remove(n,t)}});k.fn.extend({data:function(n,t){var e,i,r,u=this[0],o=u&&u.attributes;if(n===undefined){if(this.length){r=Z.get(u);if(u.nodeType===1&&!V.get(u,"hasDataAttrs")){e=o.length;while(e--){if(o[e]){i=o[e].name;if(i.indexOf("data-")===0){i=X(i.slice(5));en(u,i,r[i])}}}V.set(u,"hasDataAttrs",true)}}return r}if(typeof n==="object"){return this.each((function(){Z.set(this,n)}))}return W(this,(function(t){var e;if(u&&t===undefined){e=Z.get(u,n);if(e!==undefined){return e}e=en(u,n);if(e!==undefined){return e}return}this.each((function(){Z.set(this,n,t)}))}),null,t,arguments.length>1,null,true)},removeData:function(n){return this.each((function(){Z.remove(this,n)}))}});k.extend({queue:function(n,t,e){var i;if(n){t=(t||"fx")+"queue";i=V.get(n,t);if(e){if(!i||Array.isArray(e)){i=V.access(n,t,k.makeArray(e))}else{i.push(e)}}return i||[]}},dequeue:function(n,t){t=t||"fx";var e=k.queue(n,t),i=e.length,r=e.shift(),u=k._queueHooks(n,t),o=function(){k.dequeue(n,t)};if(r==="inprogress"){r=e.shift();i--}if(r){if(t==="fx"){e.unshift("inprogress")}delete u.stop;r.call(n,o,u)}if(!i&&u){u.empty.fire()}},_queueHooks:function(n,t){var e=t+"queueHooks";return V.get(n,e)||V.access(n,e,{empty:k.Callbacks("once memory").add((function(){V.remove(n,[t+"queue",e])}))})}});k.fn.extend({queue:function(n,t){var e=2;if(typeof n!=="string"){t=n;n="fx";e--}if(arguments.length<e){return k.queue(this[0],n)}return t===undefined?this:this.each((function(){var e=k.queue(this,n,t);k._queueHooks(this,n);if(n==="fx"&&e[0]!=="inprogress"){k.dequeue(this,n)}}))},dequeue:function(n){return this.each((function(){k.dequeue(this,n)}))},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var e,i=1,r=k.Deferred(),u=this,o=this.length,f=function(){if(!--i){r.resolveWith(u,[u])}};if(typeof n!=="string"){t=n;n=undefined}n=n||"fx";while(o--){e=V.get(u[o],n+"queueHooks");if(e&&e.empty){i++;e.empty.add(f)}}f();return r.promise(t)}});var rn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var un=new RegExp("^(?:([+-])=|)("+rn+")([a-z%]*)$","i");var on=["Top","Right","Bottom","Left"];var fn=g.documentElement;var sn=function(n){return k.contains(n.ownerDocument,n)},an={composed:true};if(fn.getRootNode){sn=function(n){return k.contains(n.ownerDocument,n)||n.getRootNode(an)===n.ownerDocument}}var cn=function(n,t){n=t||n;return n.style.display==="none"||n.style.display===""&&sn(n)&&k.css(n,"display")==="none"};function ln(n,t,e,i){var r,u,o=20,f=i?function(){return i.cur()}:function(){return k.css(n,t,"")},s=f(),a=e&&e[3]||(k.cssNumber[t]?"":"px"),c=n.nodeType&&(k.cssNumber[t]||a!=="px"&&+s)&&un.exec(k.css(n,t));if(c&&c[3]!==a){s=s/2;a=a||c[3];c=+s||1;while(o--){k.style(n,t,c+a);if((1-u)*(1-(u=f()/s||.5))<=0){o=0}c=c/u}c=c*2;k.style(n,t,c+a);e=e||[]}if(e){c=+c||+s||0;r=e[1]?c+(e[1]+1)*e[2]:+e[2];if(i){i.unit=a;i.start=c;i.end=r}}return r}var dn={};function hn(n){var t,e=n.ownerDocument,i=n.nodeName,r=dn[i];if(r){return r}t=e.body.appendChild(e.createElement(i));r=k.css(t,"display");t.parentNode.removeChild(t);if(r==="none"){r="block"}dn[i]=r;return r}function pn(n,t){var e,i,r=[],u=0,o=n.length;for(;u<o;u++){i=n[u];if(!i.style){continue}e=i.style.display;if(t){if(e==="none"){r[u]=V.get(i,"display")||null;if(!r[u]){i.style.display=""}}if(i.style.display===""&&cn(i)){r[u]=hn(i)}}else{if(e!=="none"){r[u]="none";V.set(i,"display",e)}}}for(u=0;u<o;u++){if(r[u]!=null){n[u].style.display=r[u]}}return n}k.fn.extend({show:function(){return pn(this,true)},hide:function(){return pn(this)},toggle:function(n){if(typeof n==="boolean"){return n?this.show():this.hide()}return this.each((function(){if(cn(this)){k(this).show()}else{k(this).hide()}}))}});var vn=/^(?:checkbox|radio)$/i;var gn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var bn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var n=g.createDocumentFragment(),t=n.appendChild(g.createElement("div")),e=g.createElement("input");e.setAttribute("type","radio");e.setAttribute("checked","checked");e.setAttribute("name","t");t.appendChild(e);h.checkClone=t.cloneNode(true).cloneNode(true).lastChild.checked;t.innerHTML="<textarea>x</textarea>";h.noCloneChecked=!!t.cloneNode(true).lastChild.defaultValue;t.innerHTML="<option></option>";h.option=!!t.lastChild})();var mn={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,"",""]};mn.tbody=mn.tfoot=mn.colgroup=mn.caption=mn.thead;mn.th=mn.td;if(!h.option){mn.optgroup=mn.option=[1,"<select multiple='multiple'>","</select>"]}function wn(n,t){var e;if(typeof n.getElementsByTagName!=="undefined"){e=n.getElementsByTagName(t||"*")}else if(typeof n.querySelectorAll!=="undefined"){e=n.querySelectorAll(t||"*")}else{e=[]}if(t===undefined||t&&F(n,t)){return k.merge([n],e)}return e}function yn(n,t){var e=0,i=n.length;for(;e<i;e++){V.set(n[e],"globalEval",!t||V.get(t[e],"globalEval"))}}var kn=/<|&#?\w+;/;function xn(n,t,e,i,r){var u,o,f,s,a,c,l=t.createDocumentFragment(),d=[],h=0,p=n.length;for(;h<p;h++){u=n[h];if(u||u===0){if(w(u)==="object"){k.merge(d,u.nodeType?[u]:u)}else if(!kn.test(u)){d.push(t.createTextNode(u))}else{o=o||l.appendChild(t.createElement("div"));f=(gn.exec(u)||["",""])[1].toLowerCase();s=mn[f]||mn._default;o.innerHTML=s[1]+k.htmlPrefilter(u)+s[2];c=s[0];while(c--){o=o.lastChild}k.merge(d,o.childNodes);o=l.firstChild;o.textContent=""}}}l.textContent="";h=0;while(u=d[h++]){if(i&&k.inArray(u,i)>-1){if(r){r.push(u)}continue}a=sn(u);o=wn(l.appendChild(u),"script");if(a){yn(o)}if(e){c=0;while(u=o[c++]){if(bn.test(u.type||"")){e.push(u)}}}}return l}var Cn=/^([^.]*)(?:\.(.+)|)/;function Sn(){return true}function En(){return false}function jn(n,t){return n===Fn()===(t==="focus")}function Fn(){try{return g.activeElement}catch(n){}}function Tn(n,t,e,i,r,u){var o,f;if(typeof t==="object"){if(typeof e!=="string"){i=i||e;e=undefined}for(f in t){Tn(n,f,e,i,t[f],u)}return n}if(i==null&&r==null){r=e;i=e=undefined}else if(r==null){if(typeof e==="string"){r=i;i=undefined}else{r=i;i=e;e=undefined}}if(r===false){r=En}else if(!r){return n}if(u===1){o=r;r=function(n){k().off(n);return o.apply(this,arguments)};r.guid=o.guid||(o.guid=k.guid++)}return n.each((function(){k.event.add(this,t,r,i,e)}))}k.event={global:{},add:function(n,t,e,i,r){var u,o,f,s,a,c,l,d,h,p,v,g=V.get(n);if(!G(n)){return}if(e.handler){u=e;e=u.handler;r=u.selector}if(r){k.find.matchesSelector(fn,r)}if(!e.guid){e.guid=k.guid++}if(!(s=g.events)){s=g.events=Object.create(null)}if(!(o=g.handle)){o=g.handle=function(t){return typeof k!=="undefined"&&k.event.triggered!==t.type?k.event.dispatch.apply(n,arguments):undefined}}t=(t||"").match(M)||[""];a=t.length;while(a--){f=Cn.exec(t[a])||[];h=v=f[1];p=(f[2]||"").split(".").sort();if(!h){continue}l=k.event.special[h]||{};h=(r?l.delegateType:l.bindType)||h;l=k.event.special[h]||{};c=k.extend({type:h,origType:v,data:i,handler:e,guid:e.guid,selector:r,needsContext:r&&k.expr.match.needsContext.test(r),namespace:p.join(".")},u);if(!(d=s[h])){d=s[h]=[];d.delegateCount=0;if(!l.setup||l.setup.call(n,i,p,o)===false){if(n.addEventListener){n.addEventListener(h,o)}}}if(l.add){l.add.call(n,c);if(!c.handler.guid){c.handler.guid=e.guid}}if(r){d.splice(d.delegateCount++,0,c)}else{d.push(c)}k.event.global[h]=true}},remove:function(n,t,e,i,r){var u,o,f,s,a,c,l,d,h,p,v,g=V.hasData(n)&&V.get(n);if(!g||!(s=g.events)){return}t=(t||"").match(M)||[""];a=t.length;while(a--){f=Cn.exec(t[a])||[];h=v=f[1];p=(f[2]||"").split(".").sort();if(!h){for(h in s){k.event.remove(n,h+t[a],e,i,true)}continue}l=k.event.special[h]||{};h=(i?l.delegateType:l.bindType)||h;d=s[h]||[];f=f[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)");o=u=d.length;while(u--){c=d[u];if((r||v===c.origType)&&(!e||e.guid===c.guid)&&(!f||f.test(c.namespace))&&(!i||i===c.selector||i==="**"&&c.selector)){d.splice(u,1);if(c.selector){d.delegateCount--}if(l.remove){l.remove.call(n,c)}}}if(o&&!d.length){if(!l.teardown||l.teardown.call(n,p,g.handle)===false){k.removeEvent(n,h,g.handle)}delete s[h]}}if(k.isEmptyObject(s)){V.remove(n,"handle events")}},dispatch:function(n){var t,e,i,r,u,o,f=new Array(arguments.length),s=k.event.fix(n),a=(V.get(this,"events")||Object.create(null))[s.type]||[],c=k.event.special[s.type]||{};f[0]=s;for(t=1;t<arguments.length;t++){f[t]=arguments[t]}s.delegateTarget=this;if(c.preDispatch&&c.preDispatch.call(this,s)===false){return}o=k.event.handlers.call(this,s,a);t=0;while((r=o[t++])&&!s.isPropagationStopped()){s.currentTarget=r.elem;e=0;while((u=r.handlers[e++])&&!s.isImmediatePropagationStopped()){if(!s.rnamespace||u.namespace===false||s.rnamespace.test(u.namespace)){s.handleObj=u;s.data=u.data;i=((k.event.special[u.origType]||{}).handle||u.handler).apply(r.elem,f);if(i!==undefined){if((s.result=i)===false){s.preventDefault();s.stopPropagation()}}}}}if(c.postDispatch){c.postDispatch.call(this,s)}return s.result},handlers:function(n,t){var e,i,r,u,o,f=[],s=t.delegateCount,a=n.target;if(s&&a.nodeType&&!(n.type==="click"&&n.button>=1)){for(;a!==this;a=a.parentNode||this){if(a.nodeType===1&&!(n.type==="click"&&a.disabled===true)){u=[];o={};for(e=0;e<s;e++){i=t[e];r=i.selector+" ";if(o[r]===undefined){o[r]=i.needsContext?k(r,this).index(a)>-1:k.find(r,this,null,[a]).length}if(o[r]){u.push(i)}}if(u.length){f.push({elem:a,handlers:u})}}}}a=this;if(s<t.length){f.push({elem:a,handlers:t.slice(s)})}return f},addProp:function(n,t){Object.defineProperty(k.Event.prototype,n,{enumerable:true,configurable:true,get:p(t)?function(){if(this.originalEvent){return t(this.originalEvent)}}:function(){if(this.originalEvent){return this.originalEvent[n]}},set:function(t){Object.defineProperty(this,n,{enumerable:true,configurable:true,writable:true,value:t})}})},fix:function(n){return n[k.expando]?n:new k.Event(n)},special:{load:{noBubble:true},click:{setup:function(n){var t=this||n;if(vn.test(t.type)&&t.click&&F(t,"input")){On(t,"click",Sn)}return false},trigger:function(n){var t=this||n;if(vn.test(t.type)&&t.click&&F(t,"input")){On(t,"click")}return true},_default:function(n){var t=n.target;return vn.test(t.type)&&t.click&&F(t,"input")&&V.get(t,"click")||F(t,"a")}},beforeunload:{postDispatch:function(n){if(n.result!==undefined&&n.originalEvent){n.originalEvent.returnValue=n.result}}}}};function On(n,t,e){if(!e){if(V.get(n,t)===undefined){k.event.add(n,t,Sn)}return}V.set(n,t,false);k.event.add(n,t,{namespace:false,handler:function(n){var i,u,o=V.get(this,t);if(n.isTrigger&1&&this[t]){if(!o.length){o=r.call(arguments);V.set(this,t,o);i=e(this,t);this[t]();u=V.get(this,t);if(o!==u||i){V.set(this,t,false)}else{u={}}if(o!==u){n.stopImmediatePropagation();n.preventDefault();return u&&u.value}}else if((k.event.special[t]||{}).delegateType){n.stopPropagation()}}else if(o.length){V.set(this,t,{value:k.event.trigger(k.extend(o[0],k.Event.prototype),o.slice(1),this)});n.stopImmediatePropagation()}}})}k.removeEvent=function(n,t,e){if(n.removeEventListener){n.removeEventListener(t,e)}};k.Event=function(n,t){if(!(this instanceof k.Event)){return new k.Event(n,t)}if(n&&n.type){this.originalEvent=n;this.type=n.type;this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===false?Sn:En;this.target=n.target&&n.target.nodeType===3?n.target.parentNode:n.target;this.currentTarget=n.currentTarget;this.relatedTarget=n.relatedTarget}else{this.type=n}if(t){k.extend(this,t)}this.timeStamp=n&&n.timeStamp||Date.now();this[k.expando]=true};k.Event.prototype={constructor:k.Event,isDefaultPrevented:En,isPropagationStopped:En,isImmediatePropagationStopped:En,isSimulated:false,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=Sn;if(n&&!this.isSimulated){n.preventDefault()}},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=Sn;if(n&&!this.isSimulated){n.stopPropagation()}},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=Sn;if(n&&!this.isSimulated){n.stopImmediatePropagation()}this.stopPropagation()}};k.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:true},k.event.addProp);k.each({focus:"focusin",blur:"focusout"},(function(n,t){k.event.special[n]={setup:function(){On(this,n,jn);return false},trigger:function(){On(this,n);return true},_default:function(t){return V.get(t.target,n)},delegateType:t}}));k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(n,t){k.event.special[n]={delegateType:t,bindType:t,handle:function(n){var e,i=this,r=n.relatedTarget,u=n.handleObj;if(!r||r!==i&&!k.contains(i,r)){n.type=u.origType;e=u.handler.apply(this,arguments);n.type=t}return e}}}));k.fn.extend({on:function(n,t,e,i){return Tn(this,n,t,e,i)},one:function(n,t,e,i){return Tn(this,n,t,e,i,1)},off:function(n,t,e){var i,r;if(n&&n.preventDefault&&n.handleObj){i=n.handleObj;k(n.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);return this}if(typeof n==="object"){for(r in n){this.off(r,t,n[r])}return this}if(t===false||typeof t==="function"){e=t;t=undefined}if(e===false){e=En}return this.each((function(){k.event.remove(this,n,e,t)}))}});var An=/<script|<style|<link/i,Rn=/checked\s*(?:[^=]|=\s*.checked.)/i,In=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Nn(n,t){if(F(n,"table")&&F(t.nodeType!==11?t:t.firstChild,"tr")){return k(n).children("tbody")[0]||n}return n}function Ln(n){n.type=(n.getAttribute("type")!==null)+"/"+n.type;return n}function Dn(n){if((n.type||"").slice(0,5)==="true/"){n.type=n.type.slice(5)}else{n.removeAttribute("type")}return n}function Mn(n,t){var e,i,r,u,o,f,s;if(t.nodeType!==1){return}if(V.hasData(n)){u=V.get(n);s=u.events;if(s){V.remove(t,"handle events");for(r in s){for(e=0,i=s[r].length;e<i;e++){k.event.add(t,r,s[r][e])}}}}if(Z.hasData(n)){o=Z.access(n);f=k.extend({},o);Z.set(t,f)}}function _n(n,t){var e=t.nodeName.toLowerCase();if(e==="input"&&vn.test(n.type)){t.checked=n.checked}else if(e==="input"||e==="textarea"){t.defaultValue=n.defaultValue}}function Un(n,t,e,i){t=u(t);var r,o,f,s,a,c,l=0,d=n.length,v=d-1,g=t[0],b=p(g);if(b||d>1&&typeof g==="string"&&!h.checkClone&&Rn.test(g)){return n.each((function(r){var u=n.eq(r);if(b){t[0]=g.call(this,r,u.html())}Un(u,t,e,i)}))}if(d){r=xn(t,n[0].ownerDocument,false,n,i);o=r.firstChild;if(r.childNodes.length===1){r=o}if(o||i){f=k.map(wn(r,"script"),Ln);s=f.length;for(;l<d;l++){a=r;if(l!==v){a=k.clone(a,true,true);if(s){k.merge(f,wn(a,"script"))}}e.call(n[l],a,l)}if(s){c=f[f.length-1].ownerDocument;k.map(f,Dn);for(l=0;l<s;l++){a=f[l];if(bn.test(a.type||"")&&!V.access(a,"globalEval")&&k.contains(c,a)){if(a.src&&(a.type||"").toLowerCase()!=="module"){if(k._evalUrl&&!a.noModule){k._evalUrl(a.src,{nonce:a.nonce||a.getAttribute("nonce")},c)}}else{m(a.textContent.replace(In,""),a,c)}}}}}}return n}function Pn(n,t,e){var i,r=t?k.filter(t,n):n,u=0;for(;(i=r[u])!=null;u++){if(!e&&i.nodeType===1){k.cleanData(wn(i))}if(i.parentNode){if(e&&sn(i)){yn(wn(i,"script"))}i.parentNode.removeChild(i)}}return n}k.extend({htmlPrefilter:function(n){return n},clone:function(n,t,e){var i,r,u,o,f=n.cloneNode(true),s=sn(n);if(!h.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!k.isXMLDoc(n)){o=wn(f);u=wn(n);for(i=0,r=u.length;i<r;i++){_n(u[i],o[i])}}if(t){if(e){u=u||wn(n);o=o||wn(f);for(i=0,r=u.length;i<r;i++){Mn(u[i],o[i])}}else{Mn(n,f)}}o=wn(f,"script");if(o.length>0){yn(o,!s&&wn(n,"script"))}return f},cleanData:function(n){var t,e,i,r=k.event.special,u=0;for(;(e=n[u])!==undefined;u++){if(G(e)){if(t=e[V.expando]){if(t.events){for(i in t.events){if(r[i]){k.event.remove(e,i)}else{k.removeEvent(e,i,t.handle)}}}e[V.expando]=undefined}if(e[Z.expando]){e[Z.expando]=undefined}}}}});k.fn.extend({detach:function(n){return Pn(this,n,true)},remove:function(n){return Pn(this,n)},text:function(n){return W(this,(function(n){return n===undefined?k.text(this):this.empty().each((function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=n}}))}),null,n,arguments.length)},append:function(){return Un(this,arguments,(function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Nn(this,n);t.appendChild(n)}}))},prepend:function(){return Un(this,arguments,(function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Nn(this,n);t.insertBefore(n,t.firstChild)}}))},before:function(){return Un(this,arguments,(function(n){if(this.parentNode){this.parentNode.insertBefore(n,this)}}))},after:function(){return Un(this,arguments,(function(n){if(this.parentNode){this.parentNode.insertBefore(n,this.nextSibling)}}))},empty:function(){var n,t=0;for(;(n=this[t])!=null;t++){if(n.nodeType===1){k.cleanData(wn(n,false));n.textContent=""}}return this},clone:function(n,t){n=n==null?false:n;t=t==null?n:t;return this.map((function(){return k.clone(this,n,t)}))},html:function(n){return W(this,(function(n){var t=this[0]||{},e=0,i=this.length;if(n===undefined&&t.nodeType===1){return t.innerHTML}if(typeof n==="string"&&!An.test(n)&&!mn[(gn.exec(n)||["",""])[1].toLowerCase()]){n=k.htmlPrefilter(n);try{for(;e<i;e++){t=this[e]||{};if(t.nodeType===1){k.cleanData(wn(t,false));t.innerHTML=n}}t=0}catch(n){}}if(t){this.empty().append(n)}}),null,n,arguments.length)},replaceWith:function(){var n=[];return Un(this,arguments,(function(t){var e=this.parentNode;if(k.inArray(this,n)<0){k.cleanData(wn(this));if(e){e.replaceChild(t,this)}}}),n)}});k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(n,t){k.fn[n]=function(n){var e,i=[],r=k(n),u=r.length-1,f=0;for(;f<=u;f++){e=f===u?this:this.clone(true);k(r[f])[t](e);o.apply(i,e.get())}return this.pushStack(i)}}));var $n=new RegExp("^("+rn+")(?!px)[a-z%]+$","i");var zn=/^--/;var Jn=function(t){var e=t.ownerDocument.defaultView;if(!e||!e.opener){e=n}return e.getComputedStyle(t)};var qn=function(n,t,e){var i,r,u={};for(r in t){u[r]=n.style[r];n.style[r]=t[r]}i=e.call(n);for(r in t){n.style[r]=u[r]}return i};var Wn=new RegExp(on.join("|"),"i");var Hn="[\\x20\\t\\r\\n\\f]";var Bn=new RegExp("^"+Hn+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Hn+"+$","g");(function(){function t(){if(!c){return}a.style.cssText="position:absolute;left:-11111px;width:60px;"+"margin-top:1px;padding:0;border:0";c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;"+"margin:auto;border:1px;padding:1px;"+"width:60%;top:1%";fn.appendChild(a).appendChild(c);var t=n.getComputedStyle(c);i=t.top!=="1%";s=e(t.marginLeft)===12;c.style.right="60%";o=e(t.right)===36;r=e(t.width)===36;c.style.position="absolute";u=e(c.offsetWidth/3)===12;fn.removeChild(a);c=null}function e(n){return Math.round(parseFloat(n))}var i,r,u,o,f,s,a=g.createElement("div"),c=g.createElement("div");if(!c.style){return}c.style.backgroundClip="content-box";c.cloneNode(true).style.backgroundClip="";h.clearCloneStyle=c.style.backgroundClip==="content-box";k.extend(h,{boxSizingReliable:function(){t();return r},pixelBoxStyles:function(){t();return o},pixelPosition:function(){t();return i},reliableMarginLeft:function(){t();return s},scrollboxSize:function(){t();return u},reliableTrDimensions:function(){var t,e,i,r;if(f==null){t=g.createElement("table");e=g.createElement("tr");i=g.createElement("div");t.style.cssText="position:absolute;left:-11111px;border-collapse:separate";e.style.cssText="border:1px solid";e.style.height="1px";i.style.height="9px";i.style.display="block";fn.appendChild(t).appendChild(e).appendChild(i);r=n.getComputedStyle(e);f=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===e.offsetHeight;fn.removeChild(t)}return f}})})();function Kn(n,t,e){var i,r,u,o,f=zn.test(t),s=n.style;e=e||Jn(n);if(e){o=e.getPropertyValue(t)||e[t];if(f&&o){o=o.replace(Bn,"$1")||undefined}if(o===""&&!sn(n)){o=k.style(n,t)}if(!h.pixelBoxStyles()&&$n.test(o)&&Wn.test(t)){i=s.width;r=s.minWidth;u=s.maxWidth;s.minWidth=s.maxWidth=s.width=o;o=e.width;s.width=i;s.minWidth=r;s.maxWidth=u}}return o!==undefined?o+"":o}function Xn(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}var Gn=["Webkit","Moz","ms"],Yn=g.createElement("div").style,Vn={};function Zn(n){var t=n[0].toUpperCase()+n.slice(1),e=Gn.length;while(e--){n=Gn[e]+t;if(n in Yn){return n}}}function Qn(n){var t=k.cssProps[n]||Vn[n];if(t){return t}if(n in Yn){return n}return Vn[n]=Zn(n)||n}var nt=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function it(n,t,e){var i=un.exec(t);return i?Math.max(0,i[2]-(e||0))+(i[3]||"px"):t}function rt(n,t,e,i,r,u){var o=t==="width"?1:0,f=0,s=0;if(e===(i?"border":"content")){return 0}for(;o<4;o+=2){if(e==="margin"){s+=k.css(n,e+on[o],true,r)}if(!i){s+=k.css(n,"padding"+on[o],true,r);if(e!=="padding"){s+=k.css(n,"border"+on[o]+"Width",true,r)}else{f+=k.css(n,"border"+on[o]+"Width",true,r)}}else{if(e==="content"){s-=k.css(n,"padding"+on[o],true,r)}if(e!=="margin"){s-=k.css(n,"border"+on[o]+"Width",true,r)}}}if(!i&&u>=0){s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-u-s-f-.5))||0}return s}function ut(n,t,e){var i=Jn(n),r=!h.boxSizingReliable()||e,u=r&&k.css(n,"boxSizing",false,i)==="border-box",o=u,f=Kn(n,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if($n.test(f)){if(!e){return f}f="auto"}if((!h.boxSizingReliable()&&u||!h.reliableTrDimensions()&&F(n,"tr")||f==="auto"||!parseFloat(f)&&k.css(n,"display",false,i)==="inline")&&n.getClientRects().length){u=k.css(n,"boxSizing",false,i)==="border-box";o=s in n;if(o){f=n[s]}}f=parseFloat(f)||0;return f+rt(n,t,e||(u?"border":"content"),o,i,f)+"px"}k.extend({cssHooks:{opacity:{get:function(n,t){if(t){var e=Kn(n,"opacity");return e===""?"1":e}}}},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(n,t,e,i){if(!n||n.nodeType===3||n.nodeType===8||!n.style){return}var r,u,o,f=X(t),s=zn.test(t),a=n.style;if(!s){t=Qn(f)}o=k.cssHooks[t]||k.cssHooks[f];if(e!==undefined){u=typeof e;if(u==="string"&&(r=un.exec(e))&&r[1]){e=ln(n,t,r);u="number"}if(e==null||e!==e){return}if(u==="number"&&!s){e+=r&&r[3]||(k.cssNumber[f]?"":"px")}if(!h.clearCloneStyle&&e===""&&t.indexOf("background")===0){a[t]="inherit"}if(!o||!("set"in o)||(e=o.set(n,e,i))!==undefined){if(s){a.setProperty(t,e)}else{a[t]=e}}}else{if(o&&"get"in o&&(r=o.get(n,false,i))!==undefined){return r}return a[t]}},css:function(n,t,e,i){var r,u,o,f=X(t),s=zn.test(t);if(!s){t=Qn(f)}o=k.cssHooks[t]||k.cssHooks[f];if(o&&"get"in o){r=o.get(n,true,e)}if(r===undefined){r=Kn(n,t,i)}if(r==="normal"&&t in et){r=et[t]}if(e===""||e){u=parseFloat(r);return e===true||isFinite(u)?u||0:r}return r}});k.each(["height","width"],(function(n,t){k.cssHooks[t]={get:function(n,e,i){if(e){return nt.test(k.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?qn(n,tt,(function(){return ut(n,t,i)})):ut(n,t,i)}},set:function(n,e,i){var r,u=Jn(n),o=!h.scrollboxSize()&&u.position==="absolute",f=o||i,s=f&&k.css(n,"boxSizing",false,u)==="border-box",a=i?rt(n,t,i,s,u):0;if(s&&o){a-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(u[t])-rt(n,t,"border",false,u)-.5)}if(a&&(r=un.exec(e))&&(r[3]||"px")!=="px"){n.style[t]=e;e=k.css(n,t)}return it(n,e,a)}}}));k.cssHooks.marginLeft=Xn(h.reliableMarginLeft,(function(n,t){if(t){return(parseFloat(Kn(n,"marginLeft"))||n.getBoundingClientRect().left-qn(n,{marginLeft:0},(function(){return n.getBoundingClientRect().left})))+"px"}}));k.each({margin:"",padding:"",border:"Width"},(function(n,t){k.cssHooks[n+t]={expand:function(e){var i=0,r={},u=typeof e==="string"?e.split(" "):[e];for(;i<4;i++){r[n+on[i]+t]=u[i]||u[i-2]||u[0]}return r}};if(n!=="margin"){k.cssHooks[n+t].set=it}}));k.fn.extend({css:function(n,t){return W(this,(function(n,t,e){var i,r,u={},o=0;if(Array.isArray(t)){i=Jn(n);r=t.length;for(;o<r;o++){u[t[o]]=k.css(n,t[o],false,i)}return u}return e!==undefined?k.style(n,t,e):k.css(n,t)}),n,t,arguments.length>1)}});k.fn.delay=function(t,e){t=k.fx?k.fx.speeds[t]||t:t;e=e||"fx";return this.queue(e,(function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}}))};(function(){var n=g.createElement("input"),t=g.createElement("select"),e=t.appendChild(g.createElement("option"));n.type="checkbox";h.checkOn=n.value!=="";h.optSelected=e.selected;n=g.createElement("input");n.value="t";n.type="radio";h.radioValue=n.value==="t"})();var ot,ft=k.expr.attrHandle;k.fn.extend({attr:function(n,t){return W(this,k.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each((function(){k.removeAttr(this,n)}))}});k.extend({attr:function(n,t,e){var i,r,u=n.nodeType;if(u===3||u===8||u===2){return}if(typeof n.getAttribute==="undefined"){return k.prop(n,t,e)}if(u!==1||!k.isXMLDoc(n)){r=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?ot:undefined)}if(e!==undefined){if(e===null){k.removeAttr(n,t);return}if(r&&"set"in r&&(i=r.set(n,e,t))!==undefined){return i}n.setAttribute(t,e+"");return e}if(r&&"get"in r&&(i=r.get(n,t))!==null){return i}i=k.find.attr(n,t);return i==null?undefined:i},attrHooks:{type:{set:function(n,t){if(!h.radioValue&&t==="radio"&&F(n,"input")){var e=n.value;n.setAttribute("type",t);if(e){n.value=e}return t}}}},removeAttr:function(n,t){var e,i=0,r=t&&t.match(M);if(r&&n.nodeType===1){while(e=r[i++]){n.removeAttribute(e)}}}});ot={set:function(n,t,e){if(t===false){k.removeAttr(n,e)}else{n.setAttribute(e,e)}return e}};k.each(k.expr.match.bool.source.match(/\w+/g),(function(n,t){var e=ft[t]||k.find.attr;ft[t]=function(n,t,i){var r,u,o=t.toLowerCase();if(!i){u=ft[o];ft[o]=r;r=e(n,t,i)!=null?o:null;ft[o]=u}return r}}));var st=/^(?:input|select|textarea|button)$/i,at=/^(?:a|area)$/i;k.fn.extend({prop:function(n,t){return W(this,k.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each((function(){delete this[k.propFix[n]||n]}))}});k.extend({prop:function(n,t,e){var i,r,u=n.nodeType;if(u===3||u===8||u===2){return}if(u!==1||!k.isXMLDoc(n)){t=k.propFix[t]||t;r=k.propHooks[t]}if(e!==undefined){if(r&&"set"in r&&(i=r.set(n,e,t))!==undefined){return i}return n[t]=e}if(r&&"get"in r&&(i=r.get(n,t))!==null){return i}return n[t]},propHooks:{tabIndex:{get:function(n){var t=k.find.attr(n,"tabindex");if(t){return parseInt(t,10)}if(st.test(n.nodeName)||at.test(n.nodeName)&&n.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!h.optSelected){k.propHooks.selected={get:function(n){return null},set:function(n){}}}k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this}));function ct(n){var t=n.match(M)||[];return t.join(" ")}function lt(n){return n.getAttribute&&n.getAttribute("class")||""}function dt(n){if(Array.isArray(n)){return n}if(typeof n==="string"){return n.match(M)||[]}return[]}k.fn.extend({addClass:function(n){var t,e,i,r,u,o;if(p(n)){return this.each((function(t){k(this).addClass(n.call(this,t,lt(this)))}))}t=dt(n);if(t.length){return this.each((function(){i=lt(this);e=this.nodeType===1&&" "+ct(i)+" ";if(e){for(u=0;u<t.length;u++){r=t[u];if(e.indexOf(" "+r+" ")<0){e+=r+" "}}o=ct(e);if(i!==o){this.setAttribute("class",o)}}}))}return this},removeClass:function(n){var t,e,i,r,u,o;if(p(n)){return this.each((function(t){k(this).removeClass(n.call(this,t,lt(this)))}))}if(!arguments.length){return this.attr("class","")}t=dt(n);if(t.length){return this.each((function(){i=lt(this);e=this.nodeType===1&&" "+ct(i)+" ";if(e){for(u=0;u<t.length;u++){r=t[u];while(e.indexOf(" "+r+" ")>-1){e=e.replace(" "+r+" "," ")}}o=ct(e);if(i!==o){this.setAttribute("class",o)}}}))}return this},toggleClass:function(n,t){var e,i,r,u,o=typeof n,f=o==="string"||Array.isArray(n);if(p(n)){return this.each((function(e){k(this).toggleClass(n.call(this,e,lt(this),t),t)}))}if(typeof t==="boolean"&&f){return t?this.addClass(n):this.removeClass(n)}e=dt(n);return this.each((function(){if(f){u=k(this);for(r=0;r<e.length;r++){i=e[r];if(u.hasClass(i)){u.removeClass(i)}else{u.addClass(i)}}}else if(n===undefined||o==="boolean"){i=lt(this);if(i){V.set(this,"__className__",i)}if(this.setAttribute){this.setAttribute("class",i||n===false?"":V.get(this,"__className__")||"")}}}))},hasClass:function(n){var t,e,i=0;t=" "+n+" ";while(e=this[i++]){if(e.nodeType===1&&(" "+ct(lt(e))+" ").indexOf(t)>-1){return true}}return false}});var ht=/\r/g;k.fn.extend({val:function(n){var t,e,i,r=this[0];if(!arguments.length){if(r){t=k.valHooks[r.type]||k.valHooks[r.nodeName.toLowerCase()];if(t&&"get"in t&&(e=t.get(r,"value"))!==undefined){return e}e=r.value;if(typeof e==="string"){return e.replace(ht,"")}return e==null?"":e}return}i=p(n);return this.each((function(e){var r;if(this.nodeType!==1){return}if(i){r=n.call(this,e,k(this).val())}else{r=n}if(r==null){r=""}else if(typeof r==="number"){r+=""}else if(Array.isArray(r)){r=k.map(r,(function(n){return n==null?"":n+""}))}t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,r,"value")===undefined){this.value=r}}))}});k.extend({valHooks:{option:{get:function(n){var t=k.find.attr(n,"value");return t!=null?t:ct(k.text(n))}},select:{get:function(n){var t,e,i,r=n.options,u=n.selectedIndex,o=n.type==="select-one",f=o?null:[],s=o?u+1:r.length;if(u<0){i=s}else{i=o?u:0}for(;i<s;i++){e=r[i];if((e.selected||i===u)&&!e.disabled&&(!e.parentNode.disabled||!F(e.parentNode,"optgroup"))){t=k(e).val();if(o){return t}f.push(t)}}return f},set:function(n,t){var e,i,r=n.options,u=k.makeArray(t),o=r.length;while(o--){i=r[o];if(i.selected=k.inArray(k.valHooks.option.get(i),u)>-1){e=true}}if(!e){n.selectedIndex=-1}return u}}}});k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(n,t){if(Array.isArray(t)){return n.checked=k.inArray(k(n).val(),t)>-1}}};if(!h.checkOn){k.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value}}}));h.focusin="onfocusin"in n;var pt=/^(?:focusinfocus|focusoutblur)$/,vt=function(n){n.stopPropagation()};k.extend(k.event,{trigger:function(t,e,i,r){var u,o,f,s,a,l,d,h,b=[i||g],m=c.call(t,"type")?t.type:t,w=c.call(t,"namespace")?t.namespace.split("."):[];o=h=f=i=i||g;if(i.nodeType===3||i.nodeType===8){return}if(pt.test(m+k.event.triggered)){return}if(m.indexOf(".")>-1){w=m.split(".");m=w.shift();w.sort()}a=m.indexOf(":")<0&&"on"+m;t=t[k.expando]?t:new k.Event(m,typeof t==="object"&&t);t.isTrigger=r?2:3;t.namespace=w.join(".");t.rnamespace=t.namespace?new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;t.result=undefined;if(!t.target){t.target=i}e=e==null?[t]:k.makeArray(e,[t]);d=k.event.special[m]||{};if(!r&&d.trigger&&d.trigger.apply(i,e)===false){return}if(!r&&!d.noBubble&&!v(i)){s=d.delegateType||m;if(!pt.test(s+m)){o=o.parentNode}for(;o;o=o.parentNode){b.push(o);f=o}if(f===(i.ownerDocument||g)){b.push(f.defaultView||f.parentWindow||n)}}u=0;while((o=b[u++])&&!t.isPropagationStopped()){h=o;t.type=u>1?s:d.bindType||m;l=(V.get(o,"events")||Object.create(null))[t.type]&&V.get(o,"handle");if(l){l.apply(o,e)}l=a&&o[a];if(l&&l.apply&&G(o)){t.result=l.apply(o,e);if(t.result===false){t.preventDefault()}}}t.type=m;if(!r&&!t.isDefaultPrevented()){if((!d._default||d._default.apply(b.pop(),e)===false)&&G(i)){if(a&&p(i[m])&&!v(i)){f=i[a];if(f){i[a]=null}k.event.triggered=m;if(t.isPropagationStopped()){h.addEventListener(m,vt)}i[m]();if(t.isPropagationStopped()){h.removeEventListener(m,vt)}k.event.triggered=undefined;if(f){i[a]=f}}}}return t.result},simulate:function(n,t,e){var i=k.extend(new k.Event,e,{type:n,isSimulated:true});k.event.trigger(i,null,t)}});k.fn.extend({trigger:function(n,t){return this.each((function(){k.event.trigger(n,t,this)}))},triggerHandler:function(n,t){var e=this[0];if(e){return k.event.trigger(n,t,e,true)}}});if(!h.focusin){k.each({focus:"focusin",blur:"focusout"},(function(n,t){var e=function(n){k.event.simulate(t,n.target,k.event.fix(n))};k.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=V.access(i,t);if(!r){i.addEventListener(n,e,true)}V.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=V.access(i,t)-1;if(!r){i.removeEventListener(n,e,true);V.remove(i,t)}else{V.access(i,t,r)}}}}))}k.parseXML=function(t){var e,i;if(!t||typeof t!=="string"){return null}try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(n){}i=e&&e.getElementsByTagName("parsererror")[0];if(!e||i){k.error("Invalid XML: "+(i?k.map(i.childNodes,(function(n){return n.textContent})).join("\n"):t))}return e};var gt=/\[\]$/,bt=/\r?\n/g,mt=/^(?:submit|button|image|reset|file)$/i,wt=/^(?:input|select|textarea|keygen)/i;function yt(n,t,e,i){var r;if(Array.isArray(t)){k.each(t,(function(t,r){if(e||gt.test(n)){i(n,r)}else{yt(n+"["+(typeof r==="object"&&r!=null?t:"")+"]",r,e,i)}}))}else if(!e&&w(t)==="object"){for(r in t){yt(n+"["+r+"]",t[r],e,i)}}else{i(n,t)}}k.param=function(n,t){var e,i=[],r=function(n,t){var e=p(t)?t():t;i[i.length]=encodeURIComponent(n)+"="+encodeURIComponent(e==null?"":e)};if(n==null){return""}if(Array.isArray(n)||n.jquery&&!k.isPlainObject(n)){k.each(n,(function(){r(this.name,this.value)}))}else{for(e in n){yt(e,n[e],t,r)}}return i.join("&")};k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var n=k.prop(this,"elements");return n?k.makeArray(n):this})).filter((function(){var n=this.type;return this.name&&!k(this).is(":disabled")&&wt.test(this.nodeName)&&!mt.test(n)&&(this.checked||!vn.test(n))})).map((function(n,t){var e=k(this).val();if(e==null){return null}if(Array.isArray(e)){return k.map(e,(function(n){return{name:t.name,value:n.replace(bt,"\r\n")}}))}return{name:t.name,value:e.replace(bt,"\r\n")}})).get()}});k.fn.extend({wrapAll:function(n){var t;if(this[0]){if(p(n)){n=n.call(this[0])}t=k(n,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){t.insertBefore(this[0])}t.map((function(){var n=this;while(n.firstElementChild){n=n.firstElementChild}return n})).append(this)}return this},wrapInner:function(n){if(p(n)){return this.each((function(t){k(this).wrapInner(n.call(this,t))}))}return this.each((function(){var t=k(this),e=t.contents();if(e.length){e.wrapAll(n)}else{t.append(n)}}))},wrap:function(n){var t=p(n);return this.each((function(e){k(this).wrapAll(t?n.call(this,e):n)}))},unwrap:function(n){this.parent(n).not("body").each((function(){k(this).replaceWith(this.childNodes)}));return this}});k.expr.pseudos.hidden=function(n){return!k.expr.pseudos.visible(n)};k.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)};h.createHTMLDocument=function(){var n=g.implementation.createHTMLDocument("").body;n.innerHTML="<form></form><form></form>";return n.childNodes.length===2}();k.parseHTML=function(n,t,e){if(typeof n!=="string"){return[]}if(typeof t==="boolean"){e=t;t=false}var i,r,u;if(!t){if(h.createHTMLDocument){t=g.implementation.createHTMLDocument("");i=t.createElement("base");i.href=g.location.href;t.head.appendChild(i)}else{t=g}}r=T.exec(n);u=!e&&[];if(r){return[t.createElement(r[1])]}r=xn([n],t,u);if(u&&u.length){k(u).remove()}return k.merge([],r.childNodes)};k.offset={setOffset:function(n,t,e){var i,r,u,o,f,s,a,c=k.css(n,"position"),l=k(n),d={};if(c==="static"){n.style.position="relative"}f=l.offset();u=k.css(n,"top");s=k.css(n,"left");a=(c==="absolute"||c==="fixed")&&(u+s).indexOf("auto")>-1;if(a){i=l.position();o=i.top;r=i.left}else{o=parseFloat(u)||0;r=parseFloat(s)||0}if(p(t)){t=t.call(n,e,k.extend({},f))}if(t.top!=null){d.top=t.top-f.top+o}if(t.left!=null){d.left=t.left-f.left+r}if("using"in t){t.using.call(n,d)}else{l.css(d)}}};k.fn.extend({offset:function(n){if(arguments.length){return n===undefined?this:this.each((function(t){k.offset.setOffset(this,n,t)}))}var t,e,i=this[0];if(!i){return}if(!i.getClientRects().length){return{top:0,left:0}}t=i.getBoundingClientRect();e=i.ownerDocument.defaultView;return{top:t.top+e.pageYOffset,left:t.left+e.pageXOffset}},position:function(){if(!this[0]){return}var n,t,e,i=this[0],r={top:0,left:0};if(k.css(i,"position")==="fixed"){t=i.getBoundingClientRect()}else{t=this.offset();e=i.ownerDocument;n=i.offsetParent||e.documentElement;while(n&&(n===e.body||n===e.documentElement)&&k.css(n,"position")==="static"){n=n.parentNode}if(n&&n!==i&&n.nodeType===1){r=k(n).offset();r.top+=k.css(n,"borderTopWidth",true);r.left+=k.css(n,"borderLeftWidth",true)}}return{top:t.top-r.top-k.css(i,"marginTop",true),left:t.left-r.left-k.css(i,"marginLeft",true)}},offsetParent:function(){return this.map((function(){var n=this.offsetParent;while(n&&k.css(n,"position")==="static"){n=n.offsetParent}return n||fn}))}});k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(n,t){var e="pageYOffset"===t;k.fn[n]=function(i){return W(this,(function(n,i,r){var u;if(v(n)){u=n}else if(n.nodeType===9){u=n.defaultView}if(r===undefined){return u?u[t]:n[i]}if(u){u.scrollTo(!e?r:u.pageXOffset,e?r:u.pageYOffset)}else{n[i]=r}}),n,i,arguments.length)}}));k.each(["top","left"],(function(n,t){k.cssHooks[t]=Xn(h.pixelPosition,(function(n,e){if(e){e=Kn(n,t);return $n.test(e)?k(n).position()[t]+"px":e}}))}));k.each({Height:"height",Width:"width"},(function(n,t){k.each({padding:"inner"+n,content:t,"":"outer"+n},(function(e,i){k.fn[i]=function(r,u){var o=arguments.length&&(e||typeof r!=="boolean"),f=e||(r===true||u===true?"margin":"border");return W(this,(function(t,e,r){var u;if(v(t)){return i.indexOf("outer")===0?t["inner"+n]:t.document.documentElement["client"+n]}if(t.nodeType===9){u=t.documentElement;return Math.max(t.body["scroll"+n],u["scroll"+n],t.body["offset"+n],u["offset"+n],u["client"+n])}return r===undefined?k.css(t,e,f):k.style(t,e,r,f)}),t,o?r:undefined,o)}}))}));k.fn.extend({bind:function(n,t,e){return this.on(n,null,t,e)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,e,i){return this.on(t,n,e,i)},undelegate:function(n,t,e){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",e)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});k.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(n,t){k.fn[t]=function(n,e){return arguments.length>0?this.on(t,null,n,e):this.trigger(t)}}));var kt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;k.proxy=function(n,t){var e,i,u;if(typeof t==="string"){e=n[t];t=n;n=e}if(!p(n)){return undefined}i=r.call(arguments,2);u=function(){return n.apply(t||this,i.concat(r.call(arguments)))};u.guid=n.guid=n.guid||k.guid++;return u};k.holdReady=function(n){if(n){k.readyWait++}else{k.ready(true)}};k.isArray=Array.isArray;k.parseJSON=JSON.parse;k.nodeName=F;k.isFunction=p;k.isWindow=v;k.camelCase=X;k.type=w;k.now=Date.now;k.isNumeric=function(n){var t=k.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))};k.trim=function(n){return n==null?"":(n+"").replace(kt,"$1")};var xt=n.jQuery,Ct=n.$;k.noConflict=function(t){if(n.$===k){n.$=Ct}if(t&&n.jQuery===k){n.jQuery=xt}return k};if(typeof t==="undefined"){n.jQuery=n.$=k}return k}))}));const i=window.vertx||{};!function(n){n(SockJS)}((function(n){i.EventBus=function(t,e){const r=this;const u=new n(t,undefined,e);const o={};const f={};let s=i.EventBus.CONNECTING;let a=null;let c=null;if(e){c=e.vertxbus_ping_interval}if(!c){c=5e3}r.onopen=null;r.onclose=null;r.login=function(n,t,e){d("send","vertx.basicauthmanager.login",{username:n,password:t},(function(n){if(n.status==="ok"){r.sessionID=n.sessionID}if(e){delete n.sessionID;e(n)}}))};r.send=function(n,t,e){d("send",n,t,e)};r.publish=function(n,t){d("publish",n,t,null)};r.registerHandler=function(n,t){p("address","string",n);p("handler","function",t);h();let e=o[n];if(!e){e=[t];o[n]=e;const i={type:"register",address:n};u.send(JSON.stringify(i))}else{e[e.length]=t}};r.unregisterHandler=function(n,t){p("address","string",n);p("handler","function",t);h();const e=o[n];if(e){const i=e.indexOf(t);if(i!==-1)e.splice(i,1);if(e.length===0){const t={type:"unregister",address:n};u.send(JSON.stringify(t));delete o[n]}}};r.close=function(){h();s=i.EventBus.CLOSING;u.close()};r.readyState=function(){return s};u.onopen=function(){l();a=setInterval(l,c);s=i.EventBus.OPEN;if(r.onopen){r.onopen()}};u.onclose=function(){s=i.EventBus.CLOSED;if(a)clearInterval(a);if(r.onclose){r.onclose()}};u.onmessage=function(n){const t=n.data;const e=JSON.parse(t);const i=e.body;const u=e.replyAddress;const s=e.address;let a;if(u){a=function(n,t){r.send(u,n,t)}}const c=o[s];if(c){const n=c.slice(0);for(const t of n){t(i,a)}}else{const n=f[s];if(n){delete f[s];n(i,a)}}};function l(){const n={type:"ping"};u.send(JSON.stringify(n))}function d(n,t,e,i){p("address","string",t);p("replyHandler","function",i,true);h();const o={type:n,address:t,body:e};if(r.sessionID){o.sessionID=r.sessionID}if(i){const n=v();o.replyAddress=n;f[n]=i}const s=JSON.stringify(o);u.send(s)}function h(){if(s!==i.EventBus.OPEN){throw new Error("INVALID_STATE_ERR")}}function p(n,t,e,i){if(!i&&!e){throw new Error("Parameter "+n+" must be specified")}if(e&&typeof e!==t){throw new Error("Parameter "+n+" must be of type "+t)}}function v(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(n=>(n^crypto.getRandomValues(new Uint8Array(1))[0]&15>>n/4).toString(16)))}};i.EventBus.CONNECTING=0;i.EventBus.OPEN=1;i.EventBus.CLOSING=2;i.EventBus.CLOSED=3;return i.EventBus}));(function(n){window.klpWidgetDev=function(t,e,r,u,o,f,s,a,c){const l=document.getElementsByTagName("header")[0];const d={attributes:true,childList:false,subtree:false};const h=function(e,i){for(let i of e){if(i.attributeName==="class"){if(n("header").hasClass("h-fixed-position")&&!n("header").hasClass("h-visible")){Dn().find(".klp-widget-authenticated-menu").css("display","none");Dn().find("#"+t).removeClass("bubble")}}}};const p=new MutationObserver(h);if(l){p.observe(l,d)}let v="klp-widget-keepalive",g="klp.widget.state",b="klp.widget.document.",m="NCTRL",w="post.ch",y=new RegExp(w+"$"),k=new RegExp(m+"=([^;]+)"),x=undefined,C=undefined,S=false,E=undefined,j=undefined,F=undefined,T=undefined,O={},A="UNREAD_NOTIFICATIONS",R=true,I=undefined,N="de",L="",D=(new Date).getTime(),M="16.01.00.01",_=0,U={de:{"sign-in":"Login","sign-out":"Logout","change-company":"Firma wählen","change-company-confirm-dialog":'Möchten Sie die aktuelle Firma wechseln? </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Firma wählen</button>',"change-company-support-dialog":'Im Kunden-Supportlogin steht die Funktion "Firma wechseln" nicht zur Verfügung. Führen Sie stattdessen ein Logout durch und starten Sie das Kunden-Supportlogin auf einem neuen Benutzer oder einer neuen Firma. </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Logout</button>',"change-account":"Benutzerkonto wechseln","change-account-confirm-dialog":'Möchten Sie in ein anderes Benutzerkonto wechseln? </p></div></div><div class="modal-button-container row"><div class="item-centered d-flex justify-content-center col-lg-12 col-12 pe-0 me-0"><div class="col-lg-4 col-12 me-0 pe-0"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary w-100">Weiter</button>',"change-account-support-dialog":'Im Kunden-Supportlogin steht die Funktion "Benutzerkonto wechseln" nicht zur Verfügung. Führen Sie stattdessen ein Logout durch und starten Sie das Kunden-Supportlogin auf einem neuen Benutzer oder einer neuen Firma. </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Logout</button>',links:"Meine Onlinedienste",notifications:"Meldungen","toggle-menu":"toggle-menu","no-links":"Keine Favoriten bei Onlinedienste","no-notifications":"Keine ungelesenen Meldungen","more-notifications":"Alle Meldungen","title-text-menu":"Meine Übersicht","title-text-links":"Meine Onlinedienste","title-text-notifications":"Nachrichten",userProfile:"Mein Profil",settings:"Einstellungen"},fr:{"sign-in":"Login","sign-out":"Logout","change-company":"Changer entreprise","change-company-confirm-dialog":'Voulez-vous quitter l\'entreprise actuelle? </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Changer enterprise</button>.',"change-company-support-dialog":'Dans le Login-Support, la fonction changer entreprise n\'est pas disponible. Il faut quitter la session et puis démarrer un nouveau Login-Support avec un autre compte ou une société différente. </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Déconnexion</button>',"change-account":"Changer de compte","change-account-confirm-dialog":'Vous souhaitez changer de compte utilisateur? </p></div></div><div class="modal-button-container row"><div class="item-centered d-flex justify-content-center col-lg-12 col-12 pe-0 me-0"><div class="col-lg-4 col-12 me-0 pe-0"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary w-100">Continuer</button>',"change-account-support-dialog":'La fonction "Changer de compte" n\'est pas disponible dans le login de support client. Déconnectez-vous et démarrez le login de support client sur un autre compte utilisateur ou d\'entreprise. </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Déconnexion</button>',links:"Mes services en ligne",notifications:"notifications","toggle-menu":"toggle-menu","no-links":"Pas de favoris","no-notifications":"Pas de notifications non lues","more-notifications":"Toutes les notifications","title-text-menu":"Mon compte","title-text-links":"Mes services en ligne","title-text-notifications":"Messages",userProfile:"Mon profil",settings:"Paramètres"},it:{"sign-in":"Login","sign-out":"Logout","change-company":"Cambia la ditta","change-company-confirm-dialog":'È sicuro di voler uscire dall\'attuale ditta? </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Cambia la ditta</button>',"change-company-support-dialog":'Nell\'Assistenza clienti, il cambiamento di ditta non è disponibile. Bisogna prima eseguire un Logout, quindi avviare nuovamente l\'Assistenza clienti selezionando un utente o una ditta differente. </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Logout</button>',"change-account":"Cambia account utente","change-account-confirm-dialog":'Desidera accedere con un altro account utente? </p></div></div><div class="modal-button-container row"><div class="item-centered d-flex justify-content-center col-lg-12 col-12 pe-0 me-0"><div class="col-lg-4 col-12 me-0 pe-0"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary w-100">Avanti</button>',"change-account-support-dialog":'Nel login assistenza clienti non è disponibile la funzione "Modifica account utente". Si consiglia di effettuare il logout, quindi di riaccedere al login assistenza clienti tramite un nuovo account utente o una nuova ditta. </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Logout</button>',links:"I miei servizi online",notifications:"notifiche","toggle-menu":"toggle-menu","no-links":"Nessun preferito","no-notifications":"Nessuna notifica non letta","more-notifications":"Tutte le notifiche","title-text-menu":"Il mio riepilogo","title-text-links":"I miei servizi online","title-text-notifications":"Messaggi",userProfile:"Il mio profilo",settings:"Impostazioni"},en:{"sign-in":"Login","sign-out":"Logout","change-company":"Change company","change-company-confirm-dialog":'Would you like to sign-out from the current company? </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Next</button>.',"change-company-support-dialog":'On Kunden-Supportlogin, the function Change company is not available. You have to SignOut and then start again a new Kunden-Supportlogin selecting a different account or company. </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Logout</button>',"change-account":"Change user account","change-account-confirm-dialog":'Do you want to change to another user account? </p></div></div><div class="modal-button-container row"><div class="item-centered d-flex justify-content-center col-lg-12 col-12 pe-0 me-0"><div class="col-lg-4 col-12 me-0 pe-0"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary w-100">Next</button>',"change-account-support-dialog":'The "Change user account" function is not available in the customer support login. Instead, log out and start the customer support login using a new user or new company. </p></div></div><div class="modal-button-container row"><div class="col-6"></div><div class="col-6 item-centered"><button id="klp-widget-authenticated-dochangecompany" class="ppm-button btn btn-primary col-11">Logout</button>',links:"My online services",notifications:"notifications","toggle-menu":"toggle-menu","no-links":"No favorites","no-notifications":"No unread notifications","more-notifications":"All notifications","title-text-menu":"My overview","title-text-links":"My online services","title-text-notifications":"Inbox",userProfile:"My Profile",settings:"Settings"}},P={"sign-in":{"access-key":"i","tab-index":0},"sign-out":{"access-key":"o","tab-index":3},"toggle-menu":{"access-key":"m","tab-index":0},"change-company":{"access-key":"c","tab-index":2},"change-account":{"access-key":"c","tab-index":2},notifications:{"access-key":"n","tab-index":1},links:{"access-key":"l","tab-index":4}},$={audit:s.endPoint+"/v1/audit",keepalive:s.endPoint+"/v1/session/keepalive",subscribe:s.endPoint+"/v1/session/subscribe",eventbus:s.endPoint+"/eventbus"},z={logoutTargetURL:"",keepAlive:true,keepAliveListeningEvents:"click touchstart keydown",keepAliveOnInit:true,keepAliveInterval:9,showLinks:true,tabIndex:-1,accessKeys:false,notificationsNrToLoad:5,debug:false};if(f!==undefined){N=f.toLowerCase()}const J=function(n){return new URL(n)};const q=J(un());L=q.origin;const W=[{description:U[N].userProfile,url:L+"/selfadmin/?lang="+N,iconclass:"widget_icon_profile"}];const H=L+"/selfadmin/messages/?lang="+N;if(a!==undefined){z=Object.assign({},z,a)}function B(){try{return"sessionStorage"in window&&window.sessionStorage!==null}catch(n){X("No local storage available");return false}}function K(){const n=new Date;return n.getFullYear()+"-"+n.getMonth()+1+"-"+n.getDate()+" "+n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()+","+n.getMilliseconds()}function X(n){if(z.debug&&window.console&&window.console.log){console.log("["+K()+"] - KLP.WIDGET - "+n)}}function G(n){const t=JSON.stringify({adr:C,evt:n});if(n.adt){X("Sending auditing event: "+t);fetch($.audit,{method:"POST",credentials:"include",mode:"cors",body:t})}else{X("Auditing disabled: "+t)}}function Y(n,t){if(z.debug&&window.console&&window.console.log){X("Method "+n+" executed on "+t+" ms")}}function V(){return Math.floor(Math.random()*999999999+1)}function Z(n){return U[N][n]}function Q(n){if(z.accessKeys===false||P[n]["access-key"]==null){return""}return'accesskey="'+P[n]["access-key"]+'"'}function nn(n){if(z.tabIndex<0){return 0}return P[n]["tab-index"]+z.tabIndex}function tn(n,t){if(t===undefined){return n}if(n.indexOf("?")===-1){return n+"?"+t}else{return n+"&"+t}}function en(){return tn(u,rn())}function rn(){let t="";n.each({app:e,service:r,lang:N},(function(n,e){if(u.toLowerCase().indexOf(n.toLowerCase())===-1){if(t.length>0){t+="&"}t+=n+"="+e}}));return t.length>0?t:undefined}function un(){const n="klp";const t=false;return tn(s.logoutURL,"app="+e+"&lang="+N+"&service="+n+"&inIframe="+t+"&logoutTargetURL="+z.logoutTargetURL)}function on(n){X("Clearing cache and sessionData before starting the logout process");E=undefined;pn();X("Proceeding to logoutUrl with following path "+n);window.location.href=n}function fn(){Dn().find("#"+t+" #klp-widget-authenticated-menu-changecompany").on("click touch",(function(n){n.preventDefault();Dn().find("#"+t+" #klp-widget-authenticated-menu-changecompany").focus();sn();return false}))}function sn(){let n;let e;if(E!==undefined&&E.support){if(Pn()){n=Z("change-account-support-dialog")}else{n=Z("change-company-support-dialog")}e=un()}else{if(Pn()){n=Z("change-account-confirm-dialog")}else{n=Z("change-company-confirm-dialog")}e=an()}if(Dn().find("#"+t+" #klp-widget-authenticated-changecompanydialog").length===0){const i='<div id="changeAccountModal" class="modal"><div class="modal-content"><div class="modal-text-container row"><div class="col-12 text-align-center"><i class="pi pi-2086"></i></div><span class="close">×</span><div class="col-1"></div><div class="col-10 text-align-center"><p class="modal-text">'+n+"</div></div></div>";Dn().find("#"+t+" .klp-widget-authenticated").append(i);let r=Dn().find("#changeAccountModal");if(r.length&&r.length>=1){r=r[0]}r.style.display="table";const u=Dn().find("#changeAccountModal .close")[0];u.onclick=function(){r.parentElement.removeChild(r)};window.onclick=function(n){if(n.target===r){r.parentElement.removeChild(r)}};Dn().find("#klp-widget-authenticated-dochangecompany").on("click touch",(function(n){n.preventDefault();Dn().find("#"+t+" #klp-widget-authenticated-dochangecompany").focus();on(e);return false}))}}function an(){return un()+"&changecompany=true"}function cn(){R=true}function ln(){const n=dn();if(n){C=n.address;S=true;E=n.sessionData;ut();if(gn()){qn(kn(A))}}}function dn(){if(B()){const n=sessionStorage.getItem(g);if(n){try{const t=JSON.parse(n);if(t.ttl>(new Date).getTime()&&vn(t.sessionData)){X("Valid persisted state loaded: "+n);return t}else{X("Persisted state expired or invalid");pn();wn("all","sub")}}catch(n){X("Persisted state was invalid due to error '"+n+"'");pn();wn("all","sub")}}else{X("No persisted state found");pn();wn("all","sub")}}else{X("State not loaded because HTML storage not supported")}return null}function hn(n){if(B()){sessionStorage.setItem(g,'{"ttl": '+((new Date).getTime()+n)+',"sessionData": '+JSON.stringify(E)+', "address":"'+C+'"}');X("State persisted");wn("hash",encodeURIComponent(bn(E)))}else{X("State not persisted because HTML storage not supported")}}function pn(){if(B()){sessionStorage.removeItem(g);X("Persisted state removed");yn()}else{X("Persisted state not removed because HTML storage not supported")}}function vn(n){const t=bn(n).toString();const e=mn("hash");if(t===e){return true}if(e===undefined&&!gn()){X("Cache validated because on a different host=["+window.location.hostname+"] than control cookie domain=["+w+"]");return true}X("PersistedData are invalid [hashPersistedData="+t+",control cookie="+e+"]");return false}function gn(){return window.location.hostname.match(y)}function bn(n){n=JSON.stringify(n);let t=0,e,i,r;if(n.length===0)return t;for(e=0,r=n.length;e<r;e++){i=n.charCodeAt(e);t=(t<<5)-t+i;t|=0}return t}function mn(n){const t=k.exec(document.cookie);if(t!=null){const e=decodeURIComponent(t[1]).split(":");switch(n){case"hash":if(e[0]!=null)return e[0];break;case"keepalive":if(e[1]!=null)return e[1];break;default:return decodeURIComponent(t[1])}return null}else{X("Control cookie not found");return null}}function wn(n,t){const e="; SameSite=None; Secure";switch(n){case"hash":document.cookie=m+"="+t+":"+mn("keepalive")+"; Path=/; domain="+w+e;break;case"keepalive":document.cookie=m+"="+mn("hash")+":"+t+"; Path=/; domain="+w+e;break;default:document.cookie=m+"="+t+"; Path=/; domain="+w+e;break}}function yn(){if(S){document.cookie=m+"="+"sub"+"; Path=/; domain="+w;X("Control cookie set to sub")}else{document.cookie=m+"="+""+"; Path=/; Expires=Wed, 01 Apr 2014 01:00:00 GMT; domain="+w;X("Control cookie removed")}}function kn(t){const e=b+t;if(B()){const i=sessionStorage.getItem(e);if(i){const e=n.parseJSON(i);X("Document "+t+" has been read from cache with value "+e);return e}}return null}function xn(n,t){const e=b+t;if(B()){sessionStorage.setItem(e,JSON.stringify(n));X("Document "+t+" has been persisted on cached with value "+JSON.stringify(n))}}function Cn(){Sn(A)}function Sn(n){const t=b+n;if(B()){sessionStorage.removeItem(t);X("Document "+n+" has been removed from cache")}}function En(){if(z.keepAliveListeningEvents.length>0){n(document).on(z.keepAliveListeningEvents,cn)}}function jn(){if(z.keepAliveListeningEvents.length>0){n(document).off(z.keepAliveListeningEvents,cn)}}function Fn(){if(R){R=false;An()}else{X("Keepalive call canceled due to user inactivity")}}function Tn(){if(z.keepAlive&&I===undefined){En();I=window.setInterval(Fn,z.keepAliveInterval*60*1e3)}}function On(){if(z.keepAlive){jn();if(I){window.clearInterval(I);I=undefined}}}function An(){if(Bn()){const n="<img src='"+s.keepAliveURL+"/?"+V()+"'><img src='"+$.keepalive+"?"+V()+"'>";Dn().find("#"+v).html(n);if(typeof F=="function"){F()}wn("keepalive",(new Date).getTime())}}function Rn(){const n=(new Date).getTime();const t=mn("keepalive");if(isNaN(t)||n-parseInt(t)>z.keepAliveInterval*60*1e3){X("Running keepAliveSessionsOnInit");An();return}X("keepAliveSessionsOnInit not running due to [now="+n+",last="+t+",interval="+z.keepAliveInterval*60*1e3)}function In(){X("Preparing for communication with iframe content");function n(n){const t=["post.ch","postauto.ch","postfinance.ch"];const e=new URL(n.origin);if(t.includes(e.host)&&n.data==="syncWidget"){X("PostMessage syncWidget received");et()}}if(window.addEventListener){window.addEventListener("message",n)}else{window.attachEvent("onmessage",n)}}function Nn(){if(D){X("Widget shows up in "+((new Date).getTime()-D)+" [msec]");D=undefined}}function Ln(n,t){Dn().find(n).append('<div id="'+t+'" style="display:none;"></div>')}function Dn(){return n(document.querySelector("swisspost-internet-header").shadowRoot.querySelector("post-klp-login-widget").shadowRoot.querySelector(".widget-wrapper"))}function Mn(){Dn().find("#"+t).addClass("anonymous");Dn().find("#"+t).attr("data-custom-focus-id","klp-widget");Dn().find("#"+t).html('<div class="klp-widget-anonymous"><div class="klp-widget-anonymous__wrapper">'+'<a tabindex="'+nn("sign-in")+'" '+Q("sign-in")+' title="'+Z("sign-in")+'" href="'+en()+'" data-custom-focus-target="klp-widget" data-custom-focus-direction="parent" role="button"><span class="klp-widget-anonymous__text">'+Z("sign-in")+'</span><svg class="ppm-svg-icon ppm-main-navigation__login-icon" focusable="false"><use xlink:href="#2064_arrow-enter"></use></svg></a>'+"</div></div>");Dn().find("#"+t).on("click touch",(function(n){n.preventDefault();document.location.href=en();return false}))}function _n(){Dn().find("#"+t).off("click touch");let n="",e="";if(E.userType==="B2C"){e="klp-widget-authenticated-session-name u_var_centered"}else{n=E.company;e="klp-widget-authenticated-session-name"}let i="klp-widget-authenticated";if(E.support){i+=" klp-widget-support"}Dn().find("#"+t).html('<div class="'+i+'">'+'<div class="klp-widget-authenticated-session klp-widget-menu-close">'+'<a href="about:blank" role="button" class="klp-widget-authenticated-session-link klp-widget__user" title="'+Z("title-text-menu")+'" tabindex="'+nn("toggle-menu")+'" '+Q("toggle-menu")+' data-dropdown="klp-widget-authenticated-menu" aria-expanded="false" aria-controls="authenticated-menu">'+'<div class="'+e+'">'+E.name+" "+E.surname+"</div>"+'<span class="initials-mobile">'+E.name.substring(0,1)+E.surname.substring(0,1)+"</span>"+'<span class="notification-number"></span>'+"</a>"+$n(e,n,E)+"</div>"+"</div>");Dn().find(".notification-number").css("visibility","hidden");Dn().find(".notification-number-detail").css("visibility","hidden");Ln("#"+t,v);Dn().find("#"+t+" .klp-widget__user").on("click touch",(function(n){n.preventDefault();Dn().find("#"+t+" .klp-widget__user").focus();Wn();Hn();return false}));Dn().find("#"+t+" #klp-widget-authenticated-menu-logout").on("click touch",(function(n){n.preventDefault();Dn().find("#"+t+" #klp-widget-authenticated-menu-logout").focus();on(un());return false}));if(Un()||Pn()){fn()}at()}function Un(){return E.userType==="B2B"&&E.canChangeCompany&&E.changeUserAndProfile==null||E.changeUserAndProfile!=null&&E.changeUserAndProfile==="profile"}function Pn(){return E.changeUserAndProfile!=null&&E.changeUserAndProfile==="userAndProfile"}function $n(t,e,i){let r="";let u="name";let o="info";if(W!==undefined){if(t.indexOf("centered")!==-1){u="nameCentered"}if(e.length===0){o="infoHidden"}r+='<li class="name-and-surname">'+'<div class="initials-circle">'+'<div class="initials-container">'+"<div>"+i.name.substring(0,1)+i.surname.substring(0,1)+"</div>"+"</div>"+"</div>"+'<div class="nameAndInfoWrapper"><span class="'+u+'">'+i.name+" "+i.surname+"</span>"+'<span class="'+o+'">'+e+"</span></div>"+"</li>";n.each(W,(function(n,t){r+="<li>"+'<a class="notification-link" title="'+t.description+'" href="'+t.url+'"><div class="'+t.iconclass+'"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+t.description+"</span></div></a>"+"</li>"}));r+="<li>"+'<a class="notification-link" title="'+Z("title-text-notifications")+'" href="'+H+'"><div class="widget_icon_notification" aria-hidden></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Z("title-text-notifications")+'</span><span class="notification-number-detail"></span></div></a>'+"</li>"}if(i.userType==="B2C"){const n={int01:"https://serviceint1.post.ch/kvm/app/ui",int02:"https://serviceint2.post.ch/kvm/app/ui",prod:"https://service.post.ch/kvm/app/ui"};const t=`${n[c]}/settings`;r+=`\n <li>\n <a class="notification-link" href="${t}">\n <div class="widget_icon_settings" aria-hidden></div>\n <div class="linkContainer">\n <span class="klp-widget-notification-link-text">${U[N].settings}</span>\n </div>\n </a>\n </li>\n `}let f="";if(Un()){f="<li>"+'<a id="klp-widget-authenticated-menu-changecompany" class="notification-link" tabindex="'+nn("change-company")+'" '+Q("change-company")+' href="about:blank" role="button" title="'+Z("change-company")+'"><div class="widget_icon_changecompany"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Z("change-company")+"</span></div></a>"+"</li>"}else if(Pn()){f="<li>"+'<a id="klp-widget-authenticated-menu-changecompany" class="notification-link" tabindex="'+nn("change-account")+'" '+Q("change-company")+' href="about:blank" role="button" title="'+Z("change-account")+'"><div class="widget_icon_changecompany"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Z("change-account")+"</span></div></a>"+"</li>"}return'<div class="klp-widget-authenticated-menu" id="authenticated-menu" data-dropdown-toggler="klp-widget__user">'+"<ul>"+r+f+"<li>"+'<a id="klp-widget-authenticated-menu-logout" class="notification-link" tabindex="'+nn("sign-out")+'" '+Q("sign-out")+' title="'+Z("sign-out")+'" href="about:blank" role="button"><div class="widget_icon_logout"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Z("sign-out")+"</span></div></a>"+"</li>"+"</ul>"+"</div>"}function zn(n,t){switch(t){case A:qn(n);xn(n,A);break;default:X("Unknown documentType received: "+t)}if(typeof O[t]=="function"){O[t](n)}}function Jn(n){switch(n){case A:Sn(A);break;default:X("Unknown documentType received: "+n)}if(typeof O[n]=="function"){O[n](undefined)}}function qn(t){if(t!=null&&n(".notification-number").text()!==t.unreadNotifications){_=t.unreadNotifications;if(_===0){n(".notification-number").css("visibility","hidden")}else{n(".notification-number").css("visibility","visible")}}}function Wn(){ft(Dn().find("#"+t+" .klp-widget-authenticated-menu"))}function Hn(){if(_!==0){if(_>99){Dn().find(".notification-number-detail").css("visibility","visible").text("99+")}else{Dn().find(".notification-number-detail").css("visibility","visible").text(_)}}else{Dn().find(".notification-number-detail").css("visibility","hidden")}}function Bn(){return typeof E!=="undefined"}function Kn(){if(!Bn()){return"NONE"}return E.userType}function Xn(){if(!Bn()){return"NONE"}return E.authLevel}function Gn(n){if(n!==undefined){u=n;ut();X("Widget appLoginURL has been replaced with "+u)}}function Yn(t){if(t!==undefined){z=n.extend(z,t);ut()}X("Widget has been updated")}function Vn(n,t,e){E=n;ut();Tn();hn(t);if(e&&typeof j=="function"){j();X("loginCallback has been called: "+j)}}function Zn(){E=undefined;C=undefined;pn();Cn();ut();On();if(typeof T=="function"){T()}}function Qn(){if(x){x.registerHandler(C,(function(n,t){nt(n)}))}}function nt(n){X("Message received: "+JSON.stringify(n));G(n);S=false;switch(n.typ){case"ukn":if(n.sub){S=true;Zn();et()}else{Zn()}break;case"sub":C=n.adr;Vn(n.data,n.ttl,false);it();break;case"hi":Vn(n.data,n.ttl,true);Sn(A);break;case"bye":Zn();break;case"doc":zn(n.doc,n.doctyp);break;case"rem":Jn(n.doctyp);break;default:X("Unknown event received: "+n.typ);Zn();break}}function tt(){if(gn()){return null!=mn()}else{return true}}function et(){if(!C){if(tt()){X("Subscribing to get an address");const n=(new Date).getTime();fetch($.subscribe,{method:"GET",credentials:"include",mode:"cors"}).then((n=>n.json())).then((n=>nt(n))).catch((n=>{X("Failed to subscribe: "+n.message);Zn();ut()}));Y("subscribe()",(new Date).getTime()-n)}else{X("Control cookie not found, skipping subscription");ut()}}else{X("Address available, skipping subscription");it()}}function it(){if(!x){x=new i.EventBus($.eventbus,{debug:z.debug,devel:z.debug});x.onopen=function(){X("EventBus opened");Qn();n(window).on("beforeunload",rt)};x.onclose=function(){X("EventBus closed");X("Communication closed with retrySubscribeOnFail="+S+". Retrying subscribe");x=null;n(window).off("beforeunload",rt);if(S){S=false;C=undefined;et()}}}}function rt(){if(x){x.close()}}function ut(){if(typeof E!=="undefined"){_n()}else{Mn()}document.dispatchEvent(new CustomEvent("wepploginwidget_widget_ready"));Nn();Dn().find(".klp-widget-authenticated-session-link").click()}function ot(){ln();et();if(z.keepAliveOnInit&&Bn()){Rn()}In()}function ft(e){if(e.is(":visible")){Dn().find("#"+t).removeClass("bubble");st();return}st();Dn().find("."+e.attr("data-dropdown-toggler")).attr("aria-expanded",true);Dn().find("#"+t).addClass("bubble");e.show();n(document).on("click",st);if(e.hasClass("klp-widget-authenticated-menu")){e.parent().removeClass("klp-widget-menu-close").addClass("klp-widget-menu-open")}}function st(n){if(n!=null){if(Dn().find(n.target).parents("#"+t).length>0){return}}Dn().find(document).off("click",st);Dn().find("#"+t).removeClass("bubble");Dn().find("#"+t+" .klp-widget-authenticated-menu").hide().parent().removeClass("klp-widget-menu-open").addClass("klp-widget-menu-close");Dn().find("."+Dn().find("#"+t+" .klp-widget-authenticated-menu").attr("data-dropdown-toggler")).attr("aria-expanded",false)}function at(){Dn().find(".klp-widget__user").on("keydown",(function(n){if(n.which<37||n.which>40){return}n.preventDefault();const t=Dn().find(this).parent();const e=Dn().find("."+Dn().find(this).attr("data-dropdown"));switch(n.which){case 37:if(t.prev().length){t.prev().find("a").focus()}if(e.is(":visible")){Dn().find(this).click()}break;case 38:if(e.is(":visible")){Dn().find(this).click()}break;case 39:if(t.next().length){t.next().find("a").focus()}if(e.is(":visible")){Dn().find(this).click()}break;case 40:if(!e.is(":visible")){Dn().find(this).click()}e.find("li:first a").focus();break}}));Dn().find(".klp-widget-authenticated-menu").on("keydown","a",(function(n){if(n.which<37||n.which>40){return}n.preventDefault();const t=Dn().find(this).parent();const e=Dn().find("."+Dn().find(this).parents("div").first().attr("data-dropdown-toggler"));switch(n.which){case 37:case 38:if(t.prev("li").length>0){t.prev("li").find("a").focus()}else{e.click().focus()}break;case 39:case 40:if(t.next("li").length>0){t.next("li").find("a").focus()}break}}));n("body").on("keydown",(function(n){if(n.which!==27){return}st()}))}ot();return{keepAliveSessions:function(){An()},isUserAuthenticated:function(){return Bn()},getUserType:function(){return Kn()},getCurrentAuthLevel:function(){return Xn()},changeAppLoginURL:function(n){Gn(n)},updateWidget:function(n){Yn(n)},registerLoginCallback:function(n){X("Login callback has been registered");j=n},unregisterLoginCallback:function(){X("Login callback has been un-registered");j=undefined},registerKeepAliveCallback:function(n){X("KeepAlive callback has been registered");F=n},unregisterKeepAliveCallback:function(){X("KeepAlive callback has been un-registered");F=undefined},registerLogoutCallback:function(n){X("Logout callback has been registered");T=n},unregisterLogoutCallback:function(){X("Logout callback has been un-registered");T=undefined},registerDocumentCallback:function(n,t){X("Document callback for documentType "+n+" has been registered");O[n]=t},unregisterDocumentCallback:function(n){X("Document callback for documentType "+n+" has been un-registered");O[n]=undefined},version:function(){return M},setDebug:function(n){z.debug=n}}}})(e);const r=(n,t)=>{if(!t){return}try{window.OPPklpWidget=window.klpWidgetDev(n,t.applicationId,t.serviceId,t.appLoginUrl,null,t.currentLang,t.platform,t.options,t.environment)}catch(n){console.error(n)}};export{r as initializeKLPLoginWidget};
|
|
27
|
+
//# sourceMappingURL=p-fefa1082.js.map
|