@swisspost/internet-header 1.15.19 → 1.15.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +12 -12
- package/dist/cjs/{klp-widget.controller-0fcd9b93.js → klp-widget.controller-d8938377.js} +2 -2
- package/dist/cjs/{language.service-2a3c77d1.js → language.service-15af0e29.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/post-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/{post-internet-breadcrumbs-f571ccf3.js → post-internet-breadcrumbs-6c043d02.js} +2 -2
- package/dist/cjs/{post-internet-footer-f63a2510.js → post-internet-footer-9e46e1fc.js} +2 -2
- package/dist/cjs/{post-internet-header-6298512d.js → post-internet-header-08465783.js} +6 -5
- package/dist/cjs/{post-klp-login-widget-a917d397.js → post-klp-login-widget-0237ef6a.js} +11 -6
- package/dist/cjs/post-klp-login-widget.cjs.entry.js +2 -2
- package/dist/cjs/{post-language-switch-5c889101.js → post-language-switch-0730827b.js} +2 -2
- package/dist/cjs/post-language-switch.cjs.entry.js +3 -3
- package/dist/cjs/{post-logo-bcf3b0a3.js → post-logo-4c1f9387.js} +1 -1
- package/dist/cjs/{post-main-navigation-b0365de4.js → post-main-navigation-bd2473fb.js} +2 -2
- package/dist/cjs/post-main-navigation.cjs.entry.js +3 -3
- package/dist/cjs/{post-meta-navigation-f92f8f4c.js → post-meta-navigation-6cd7492f.js} +1 -1
- package/dist/cjs/post-meta-navigation.cjs.entry.js +2 -2
- package/dist/cjs/{post-search-4e14ac81.js → post-search-1894421f.js} +2 -2
- package/dist/cjs/post-search.cjs.entry.js +3 -3
- package/dist/cjs/{post-skiplinks-894eb1ca.js → post-skiplinks-469cc355.js} +2 -2
- package/dist/cjs/post-skiplinks.cjs.entry.js +3 -3
- package/dist/cjs/{store-eabc7f7a.js → store-c3e61d64.js} +2 -0
- package/dist/cjs/swisspost-internet-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/swisspost-internet-footer.cjs.entry.js +3 -3
- package/dist/cjs/swisspost-internet-header.cjs.entry.js +3 -3
- package/dist/cjs/swisspost-internet-header.cjs.js +1 -1
- package/dist/collection/assets/js/klp-login-widget.js +2 -2
- package/dist/collection/components/post-internet-header/post-internet-header.js +20 -2
- package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.js +27 -5
- package/dist/collection/data/store.js +2 -0
- package/dist/components/klp-widget.controller.js +2 -2
- package/dist/components/post-klp-login-widget2.js +10 -4
- package/dist/components/store.js +2 -0
- package/dist/components/swisspost-internet-header.js +5 -3
- package/dist/docs.json +51 -3
- package/dist/esm/index.js +12 -12
- package/dist/esm/{klp-widget.controller-923655c6.js → klp-widget.controller-e635b42e.js} +2 -2
- package/dist/esm/{language.service-490983de.js → language.service-2960ab93.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/post-header-logo.entry.js +2 -2
- package/dist/esm/{post-internet-breadcrumbs-9ba14fb7.js → post-internet-breadcrumbs-ee507bec.js} +2 -2
- package/dist/esm/{post-internet-footer-98e9a230.js → post-internet-footer-cae59692.js} +2 -2
- package/dist/esm/{post-internet-header-9851fcc6.js → post-internet-header-b1f7d595.js} +6 -5
- package/dist/esm/{post-klp-login-widget-86ab6b05.js → post-klp-login-widget-0eadcd31.js} +11 -6
- package/dist/esm/post-klp-login-widget.entry.js +2 -2
- package/dist/esm/{post-language-switch-b2d38e53.js → post-language-switch-d9159f47.js} +2 -2
- package/dist/esm/post-language-switch.entry.js +3 -3
- package/dist/esm/{post-logo-ca6f588b.js → post-logo-2c3faf36.js} +1 -1
- package/dist/esm/{post-main-navigation-077795f6.js → post-main-navigation-58b5c03d.js} +2 -2
- package/dist/esm/post-main-navigation.entry.js +3 -3
- package/dist/esm/{post-meta-navigation-f2660b07.js → post-meta-navigation-4bf72315.js} +1 -1
- package/dist/esm/post-meta-navigation.entry.js +2 -2
- package/dist/esm/{post-search-09d8d141.js → post-search-daf7d66d.js} +2 -2
- package/dist/esm/post-search.entry.js +3 -3
- package/dist/esm/{post-skiplinks-8c64cda3.js → post-skiplinks-0779348d.js} +2 -2
- package/dist/esm/post-skiplinks.entry.js +3 -3
- package/dist/esm/{store-b1332c1e.js → store-629cab77.js} +2 -0
- package/dist/esm/swisspost-internet-breadcrumbs.entry.js +3 -3
- package/dist/esm/swisspost-internet-footer.entry.js +3 -3
- package/dist/esm/swisspost-internet-header.entry.js +3 -3
- package/dist/esm/swisspost-internet-header.js +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{klp-widget.controller-923655c6.js → klp-widget.controller-e635b42e.js} +1 -1
- package/dist/esm-es5/{language.service-490983de.js → language.service-2960ab93.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/post-header-logo.entry.js +1 -1
- package/dist/esm-es5/{post-internet-breadcrumbs-9ba14fb7.js → post-internet-breadcrumbs-ee507bec.js} +1 -1
- package/dist/esm-es5/{post-internet-footer-98e9a230.js → post-internet-footer-cae59692.js} +1 -1
- package/dist/esm-es5/{post-internet-header-9851fcc6.js → post-internet-header-b1f7d595.js} +1 -1
- package/dist/esm-es5/{post-klp-login-widget-86ab6b05.js → post-klp-login-widget-0eadcd31.js} +1 -1
- package/dist/esm-es5/post-klp-login-widget.entry.js +1 -1
- package/dist/esm-es5/{post-language-switch-b2d38e53.js → post-language-switch-d9159f47.js} +1 -1
- package/dist/esm-es5/post-language-switch.entry.js +1 -1
- package/dist/esm-es5/{post-logo-ca6f588b.js → post-logo-2c3faf36.js} +1 -1
- package/dist/esm-es5/{post-main-navigation-077795f6.js → post-main-navigation-58b5c03d.js} +1 -1
- package/dist/esm-es5/post-main-navigation.entry.js +1 -1
- package/dist/esm-es5/{post-meta-navigation-f2660b07.js → post-meta-navigation-4bf72315.js} +1 -1
- package/dist/esm-es5/post-meta-navigation.entry.js +1 -1
- package/dist/esm-es5/{post-search-09d8d141.js → post-search-daf7d66d.js} +1 -1
- package/dist/esm-es5/post-search.entry.js +1 -1
- package/dist/esm-es5/{post-skiplinks-8c64cda3.js → post-skiplinks-0779348d.js} +1 -1
- package/dist/esm-es5/post-skiplinks.entry.js +1 -1
- package/dist/esm-es5/{store-b1332c1e.js → store-629cab77.js} +1 -1
- package/dist/esm-es5/swisspost-internet-breadcrumbs.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.js +1 -1
- package/dist/swisspost-internet-header/index.esm.js +1 -1
- package/dist/swisspost-internet-header/p-04fd7d46.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-d3e9f009.system.js → p-08153cdd.system.js} +1 -1
- package/dist/swisspost-internet-header/p-095131e8.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-4f27b110.system.js → p-0c889262.system.js} +1 -1
- package/dist/swisspost-internet-header/p-0fd62e04.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-d1aa2657.js → p-158715a0.js} +1 -1
- package/dist/swisspost-internet-header/{p-2e3b00b3.system.js → p-19871189.system.js} +1 -1
- package/dist/swisspost-internet-header/p-1a4bb959.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-1baf0e1e.entry.js +1 -0
- package/dist/swisspost-internet-header/p-1be3e7c9.js +1 -0
- package/dist/swisspost-internet-header/{p-a2409af3.js → p-1e791ed5.js} +1 -1
- package/dist/swisspost-internet-header/{p-0db751c1.system.js → p-1fd9f422.system.js} +1 -1
- package/dist/swisspost-internet-header/p-29d246c8.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-deb28532.js → p-2f3fec1b.js} +1 -1
- package/dist/swisspost-internet-header/{p-ac11dffc.system.js → p-33c4018e.system.js} +1 -1
- package/dist/swisspost-internet-header/p-34e560bf.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-b62fafd2.system.js → p-363c44ec.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-16ff6eec.system.js → p-45fcb989.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-370133d2.js → p-4d24ffae.js} +1 -1
- package/dist/swisspost-internet-header/{p-feac8b80.js → p-511f2bdf.js} +1 -1
- package/dist/swisspost-internet-header/p-5692afb1.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-bb23afab.js → p-63047c81.js} +1 -1
- package/dist/swisspost-internet-header/{p-7b27bee6.system.js → p-693ba981.system.js} +1 -1
- package/dist/swisspost-internet-header/p-695fe962.system.js +1 -1
- package/dist/swisspost-internet-header/{p-709f2c44.js → p-6c4128db.js} +1 -1
- package/dist/swisspost-internet-header/p-6c5a684e.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-8746e1f8.js → p-6dfbb3f2.js} +1 -1
- package/dist/swisspost-internet-header/{p-0eb7ba2b.system.js → p-6e7f7a32.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-3695c947.system.js → p-6fd592eb.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-50ec584b.js → p-707faa23.js} +1 -1
- package/dist/swisspost-internet-header/p-7158acfd.entry.js +1 -0
- package/dist/swisspost-internet-header/p-78d28548.js +1 -0
- package/dist/swisspost-internet-header/{p-aa1d92aa.system.js → p-7950c3fc.system.js} +1 -1
- package/dist/swisspost-internet-header/p-88295f48.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-f246e456.system.entry.js → p-8a40fd1c.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-67ca8b04.system.entry.js → p-95285051.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-9d5dbac8.entry.js +1 -0
- package/dist/swisspost-internet-header/p-a06f4e27.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-b44980bc.entry.js +1 -0
- package/dist/swisspost-internet-header/p-cce8bd3f.entry.js +1 -0
- package/dist/swisspost-internet-header/p-cdb473a4.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-4e88559b.js → p-dd01f7fe.js} +1 -1
- package/dist/swisspost-internet-header/p-e673cc0a.entry.js +1 -0
- package/dist/swisspost-internet-header/p-ee99fd0a.js +1 -0
- package/dist/swisspost-internet-header/{p-633542f8.system.js → p-f5d48ed5.system.js} +1 -1
- package/dist/swisspost-internet-header/p-f65ba1be.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-18b50f8f.system.js → p-fb69b98c.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-94cf1bb0.system.js → p-fc668bdc.system.js} +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
- package/dist/types/components/post-internet-header/post-internet-header.d.ts +6 -1
- package/dist/types/components/post-klp-login-widget/post-klp-login-widget.d.ts +5 -1
- package/dist/types/components.d.ts +20 -4
- package/dist/types/data/store.d.ts +2 -0
- package/dist/types/models/header.model.d.ts +1 -0
- package/package.json +2 -2
- package/dist/swisspost-internet-header/p-06d8731a.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-075110fc.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-13453cb0.js +0 -1
- package/dist/swisspost-internet-header/p-28574aa3.entry.js +0 -1
- package/dist/swisspost-internet-header/p-2e823f0f.js +0 -1
- package/dist/swisspost-internet-header/p-5d9ae175.entry.js +0 -1
- package/dist/swisspost-internet-header/p-71a0306d.entry.js +0 -1
- package/dist/swisspost-internet-header/p-7255d891.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-81e0005c.js +0 -1
- package/dist/swisspost-internet-header/p-8e88a2fb.entry.js +0 -1
- package/dist/swisspost-internet-header/p-a4f3685d.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-a79a6b41.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b0959ab6.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b516a447.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b99b4d2d.entry.js +0 -1
- package/dist/swisspost-internet-header/p-ccd889b7.entry.js +0 -1
- package/dist/swisspost-internet-header/p-d2ff0ac6.entry.js +0 -1
- package/dist/swisspost-internet-header/p-dcf62885.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-e6bc663c.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-f81a30ef.entry.js +0 -1
- package/dist/swisspost-internet-header/p-fb485a3a.entry.js +0 -1
|
@@ -8,4 +8,4 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(n)
|
|
|
8
8
|
* https://jquery.org/license
|
|
9
9
|
*
|
|
10
10
|
* Date: 2023-08-28T13:37Z
|
|
11
|
-
*/(function(n){(function(t,e){{n.exports=t.document?e(t,true):function(n){if(!n.document){throw new Error("jQuery requires a window with a document")}return e(n)}}})(typeof window!=="undefined"?window:t,(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 v=function n(t){return typeof t==="function"&&typeof t.nodeType!=="number"&&typeof t.item!=="function"};var p=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.7.1 -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=/HTML$/i,x=function(n,t){return new x.fn.init(n,t)};x.fn=x.prototype={jquery:y,constructor:x,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=x.merge(this.constructor(),n);t.prevObject=this;return t},each:function(n){return x.each(this,n)},map:function(n){return this.pushStack(x.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(x.grep(this,(function(n,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.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};x.extend=x.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"&&!v(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&&(x.isPlainObject(i)||(r=Array.isArray(i)))){e=o[t];if(r&&!Array.isArray(e)){u=[]}else if(!r&&!x.isPlainObject(e)){u={}}else{u=e}r=false;o[t]=x.extend(a,u,i)}else if(i!==undefined){o[t]=i}}}}return o};x.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(C(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},text:function(n){var t,e="",i=0,r=n.nodeType;if(!r){while(t=n[i++]){e+=x.text(t)}}if(r===1||r===11){return n.textContent}if(r===9){return n.documentElement.textContent}if(r===3||r===4){return n.nodeValue}return e},makeArray:function(n,t){var e=t||[];if(n!=null){if(C(Object(n))){x.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)},isXMLDoc:function(n){var t=n&&n.namespaceURI,e=n&&(n.ownerDocument||n).documentElement;return!k.test(t||e&&e.nodeName||"HTML")},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(C(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"){x.fn[Symbol.iterator]=e[Symbol.iterator]}x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(n,t){s["[object "+t+"]"]=t.toLowerCase()}));function C(n){var t=!!n&&"length"in n&&n.length,e=w(n);if(v(n)||p(n)){return false}return e==="array"||t===0||typeof t==="number"&&t>0&&t-1 in n}function S(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}var E=e.pop;var j=e.sort;var F=e.splice;var T="[\\x20\\t\\r\\n\\f]";var O=new RegExp("^"+T+"+|((?:^|[^\\\\])(?:\\\\.)*)"+T+"+$","g");x.contains=function(n,t){var e=t&&t.parentNode;return n===e||!!(e&&e.nodeType===1&&(n.contains?n.contains(e):n.compareDocumentPosition&&n.compareDocumentPosition(e)&16))};var A=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function R(n,t){if(t){if(n==="\0"){return"�"}return n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" "}return"\\"+n}x.escapeSelector=function(n){return(n+"").replace(A,R)};var I=g,N=o;(function(){var t,i,u,o,s,a=N,l,d,v,p,g,b=x.expando,m=0,w=0,y=tn(),k=tn(),C=tn(),A=tn(),R=function(n,t){if(n===t){s=true}return 0},_="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|"+"loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\["+T+"*("+L+")(?:"+T+"*([*^$|!~]?=)"+T+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+T+"*\\]",D=":("+L+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|"+".*"+")\\)|)",U=new RegExp(T+"+","g"),P=new RegExp("^"+T+"*,"+T+"*"),z=new RegExp("^"+T+"*([>+~]|"+T+")"+T+"*"),$=new RegExp(T+"|>"),q=new RegExp(D),J=new RegExp("^"+L+"$"),W={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+D),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+T+"*(even|odd|(([+-]|)(\\d*)n|)"+T+"*(?:([+-]|)"+T+"*(\\d+)|))"+T+"*\\)|)","i"),bool:new RegExp("^(?:"+_+")$","i"),needsContext:new RegExp("^"+T+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+T+"*((?:-\\d)?\\d*)"+T+"*\\)|)(?=[^-]|$)","i")},H=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,B=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,G=new RegExp("\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\([^\\r\\n\\f])","g"),Y=function(n,t){var e="0x"+n.slice(1)-65536;if(t){return t}return e<0?String.fromCharCode(e+65536):String.fromCharCode(e>>10|55296,e&1023|56320)},Z=function(){cn()},Q=vn((function(n){return n.disabled===true&&S(n,"fieldset")}),{dir:"parentNode",next:"legend"});function V(){try{return l.activeElement}catch(n){}}try{a.apply(e=r.call(I.childNodes),I.childNodes)}catch(n){a={apply:function(n,t){N.apply(n,r.call(t))},call:function(n){N.apply(n,r.call(arguments,1))}}}function nn(n,t,e,i){var r,u,o,f,s,c,d,g=t&&t.ownerDocument,m=t?t.nodeType:9;e=e||[];if(typeof n!=="string"||!n||m!==1&&m!==9&&m!==11){return e}if(!i){cn(t);t=t||l;if(v){if(m!==11&&(s=B.exec(n))){if(r=s[1]){if(m===9){if(o=t.getElementById(r)){if(o.id===r){a.call(e,o);return e}}else{return e}}else{if(g&&(o=g.getElementById(r))&&nn.contains(t,o)&&o.id===r){a.call(e,o);return e}}}else if(s[2]){a.apply(e,t.getElementsByTagName(n));return e}else if((r=s[3])&&t.getElementsByClassName){a.apply(e,t.getElementsByClassName(r));return e}}if(!A[n+" "]&&(!p||!p.test(n))){d=n;g=t;if(m===1&&($.test(n)||z.test(n))){g=X.test(n)&&an(t.parentNode)||t;if(g!=t||!h.scope){if(f=t.getAttribute("id")){f=x.escapeSelector(f)}else{t.setAttribute("id",f=b)}}c=dn(n);u=c.length;while(u--){c[u]=(f?"#"+f:":scope")+" "+hn(c[u])}d=c.join(",")}try{a.apply(e,g.querySelectorAll(d));return e}catch(t){A(n,true)}finally{if(f===b){t.removeAttribute("id")}}}}}return xn(n.replace(O,"$1"),t,e,i)}function tn(){var n=[];function t(e,r){if(n.push(e+" ")>i.cacheLength){delete t[n.shift()]}return t[e+" "]=r}return t}function en(n){n[b]=true;return n}function rn(n){var t=l.createElement("fieldset");try{return!!n(t)}catch(n){return false}finally{if(t.parentNode){t.parentNode.removeChild(t)}t=null}}function un(n){return function(t){return S(t,"input")&&t.type===n}}function on(n){return function(t){return(S(t,"input")||S(t,"button"))&&t.type===n}}function fn(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&&Q(t)===n}return t.disabled===n}else if("label"in t){return t.disabled===n}return false}}function sn(n){return en((function(t){t=+t;return en((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 an(n){return n&&typeof n.getElementsByTagName!=="undefined"&&n}function cn(n){var t,e=n?n.ownerDocument||n:I;if(e==l||e.nodeType!==9||!e.documentElement){return l}l=e;d=l.documentElement;v=!x.isXMLDoc(l);g=d.matches||d.webkitMatchesSelector||d.msMatchesSelector;if(d.msMatchesSelector&&I!=l&&(t=l.defaultView)&&t.top!==t){t.addEventListener("unload",Z)}h.getById=rn((function(n){d.appendChild(n).id=x.expando;return!l.getElementsByName||!l.getElementsByName(x.expando).length}));h.disconnectedMatch=rn((function(n){return g.call(n,"*")}));h.scope=rn((function(){return l.querySelectorAll(":scope")}));h.cssHas=rn((function(){try{l.querySelector(":has(*,:jqfake)");return false}catch(n){return true}}));if(h.getById){i.filter.ID=function(n){var t=n.replace(G,Y);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(G,Y);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=function(n,t){if(typeof t.getElementsByTagName!=="undefined"){return t.getElementsByTagName(n)}else{return t.querySelectorAll(n)}};i.find.CLASS=function(n,t){if(typeof t.getElementsByClassName!=="undefined"&&v){return t.getElementsByClassName(n)}};p=[];rn((function(n){var t;d.appendChild(n).innerHTML="<a id='"+b+"' href='' disabled='disabled'></a>"+"<select id='"+b+"-\r\\' disabled='disabled'>"+"<option selected=''></option></select>";if(!n.querySelectorAll("[selected]").length){p.push("\\["+T+"*(?:value|"+_+")")}if(!n.querySelectorAll("[id~="+b+"-]").length){p.push("~=")}if(!n.querySelectorAll("a#"+b+"+*").length){p.push(".#.+[+~]")}if(!n.querySelectorAll(":checked").length){p.push(":checked")}t=l.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");d.appendChild(n).disabled=true;if(n.querySelectorAll(":disabled").length!==2){p.push(":enabled",":disabled")}t=l.createElement("input");t.setAttribute("name","");n.appendChild(t);if(!n.querySelectorAll("[name='']").length){p.push("\\["+T+"*name"+T+"*="+T+"*(?:''|\"\")")}}));if(!h.cssHas){p.push(":has")}p=p.length&&new RegExp(p.join("|"));R=function(n,t){if(n===t){s=true;return 0}var e=!n.compareDocumentPosition-!t.compareDocumentPosition;if(e){return e}e=(n.ownerDocument||n)==(t.ownerDocument||t)?n.compareDocumentPosition(t):1;if(e&1||!h.sortDetached&&t.compareDocumentPosition(n)===e){if(n===l||n.ownerDocument==I&&nn.contains(I,n)){return-1}if(t===l||t.ownerDocument==I&&nn.contains(I,t)){return 1}return o?f.call(o,n)-f.call(o,t):0}return e&4?-1:1};return l}nn.matches=function(n,t){return nn(n,null,null,t)};nn.matchesSelector=function(n,t){cn(n);if(v&&!A[t+" "]&&(!p||!p.test(t))){try{var e=g.call(n,t);if(e||h.disconnectedMatch||n.document&&n.document.nodeType!==11){return e}}catch(n){A(t,true)}}return nn(t,l,null,[n]).length>0};nn.contains=function(n,t){if((n.ownerDocument||n)!=l){cn(n)}return x.contains(n,t)};nn.attr=function(n,t){if((n.ownerDocument||n)!=l){cn(n)}var e=i.attrHandle[t.toLowerCase()],r=e&&c.call(i.attrHandle,t.toLowerCase())?e(n,t,!v):undefined;if(r!==undefined){return r}return n.getAttribute(t)};nn.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n)};x.uniqueSort=function(n){var t,e=[],i=0,u=0;s=!h.sortStable;o=!h.sortStable&&r.call(n,0);j.call(n,R);if(s){while(t=n[u++]){if(t===n[u]){i=e.push(u)}}while(i--){F.call(n,e[i],1)}}o=null;return n};x.fn.uniqueSort=function(){return this.pushStack(x.uniqueSort(r.apply(this)))};i=x.expr={cacheLength:50,createPseudo:en,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){n[1]=n[1].replace(G,Y);n[3]=(n[3]||n[4]||n[5]||"").replace(G,Y);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]){nn.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]){nn.error(n[0])}return n},PSEUDO:function(n){var t,e=!n[6]&&n[2];if(W.CHILD.test(n[0])){return null}if(n[3]){n[2]=n[4]||n[5]||""}else if(e&&q.test(e)&&(t=dn(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(G,Y).toLowerCase();return n==="*"?function(){return true}:function(n){return S(n,t)}},CLASS:function(n){var t=y[n+" "];return t||(t=new RegExp("(^|"+T+")"+n+"("+T+"|$)"))&&y(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=nn.attr(i,n);if(r==null){return t==="!="}if(!t){return true}r+="";if(t==="="){return r===e}if(t==="!="){return r!==e}if(t==="^="){return e&&r.indexOf(e)===0}if(t==="*="){return e&&r.indexOf(e)>-1}if(t==="$="){return e&&r.slice(-e.length)===e}if(t==="~="){return(" "+r.replace(U," ")+" ").indexOf(e)>-1}if(t==="|="){return r===e||r.slice(0,e.length+1)===e+"-"}return 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,v=u!==o?"nextSibling":"previousSibling",p=t.parentNode,g=f&&t.nodeName.toLowerCase(),w=!s&&!f,y=false;if(p){if(u){while(v){l=t;while(l=l[v]){if(f?S(l,g):l.nodeType===1){return false}}h=v=n==="only"&&!h&&"nextSibling"}return true}h=[o?p.firstChild:p.lastChild];if(o&&w){c=p[b]||(p[b]={});a=c[n]||[];d=a[0]===m&&a[1];y=d&&a[2];l=d&&p.childNodes[d];while(l=++d&&l&&l[v]||(y=d=0)||h.pop()){if(l.nodeType===1&&++y&&l===t){c[n]=[m,d,y];break}}}else{if(w){c=t[b]||(t[b]={});a=c[n]||[];d=a[0]===m&&a[1];y=d}if(y===false){while(l=++d&&l&&l[v]||(y=d=0)||h.pop()){if((f?S(l,g):l.nodeType===1)&&++y){if(w){c=l[b]||(l[b]={});c[n]=[m,y]}if(l===t){break}}}}}y-=r;return y===i||y%i===0&&y/i>=0}}},PSEUDO:function(n,t){var e,r=i.pseudos[n]||i.setFilters[n.toLowerCase()]||nn.error("unsupported pseudo: "+n);if(r[b]){return r(t)}if(r.length>1){e=[n,n,"",t];return i.setFilters.hasOwnProperty(n.toLowerCase())?en((function(n,e){var i,u=r(n,t),o=u.length;while(o--){i=f.call(n,u[o]);n[i]=!(e[i]=u[o])}})):function(n){return r(n,0,e)}}return r}},pseudos:{not:en((function(n){var t=[],e=[],i=kn(n.replace(O,"$1"));return i[b]?en((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:en((function(n){return function(t){return nn(n,t).length>0}})),contains:en((function(n){n=n.replace(G,Y);return function(t){return(t.textContent||x.text(t)).indexOf(n)>-1}})),lang:en((function(n){if(!J.test(n||"")){nn.error("unsupported lang: "+n)}n=n.replace(G,Y).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===d},focus:function(n){return n===V()&&l.hasFocus()&&!!(n.type||n.href||~n.tabIndex)},enabled:fn(false),disabled:fn(true),checked:function(n){return S(n,"input")&&!!n.checked||S(n,"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 K.test(n.nodeName)},input:function(n){return H.test(n.nodeName)},button:function(n){return S(n,"input")&&n.type==="button"||S(n,"button")},text:function(n){var t;return S(n,"input")&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:sn((function(){return[0]})),last:sn((function(n,t){return[t-1]})),eq:sn((function(n,t,e){return[e<0?e+t:e]})),even:sn((function(n,t){var e=0;for(;e<t;e+=2){n.push(e)}return n})),odd:sn((function(n,t){var e=1;for(;e<t;e+=2){n.push(e)}return n})),lt:sn((function(n,t,e){var i;if(e<0){i=e+t}else if(e>t){i=t}else{i=e}for(;--i>=0;){n.push(i)}return n})),gt:sn((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]=un(t)}for(t in{submit:true,reset:true}){i.pseudos[t]=on(t)}function ln(){}ln.prototype=i.filters=i.pseudos;i.setFilters=new ln;function dn(n,t){var e,r,u,o,f,s,a,c=k[n+" "];if(c){return t?0:c.slice(0)}f=n;s=[];a=i.preFilter;while(f){if(!e||(r=P.exec(f))){if(r){f=f.slice(r[0].length)||f}s.push(u=[])}e=false;if(r=z.exec(f)){e=r.shift();u.push({value:e,type:r[0].replace(O," ")});f=f.slice(e.length)}for(o in i.filter){if((r=W[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}}if(t){return f.length}return f?nn.error(n):k(n,s).slice(0)}function hn(n){var t=0,e=n.length,i="";for(;t<e;t++){i+=n[t].value}return i}function vn(n,t,e){var i=t.dir,r=t.next,u=r||i,o=e&&u==="parentNode",f=w++;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=[m,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){c=t[b]||(t[b]={});if(r&&S(t,r)){t=t[i]||t}else if((a=c[u])&&a[0]===m&&a[1]===f){return l[2]=a[2]}else{c[u]=l;if(l[2]=n(t,e,s)){return true}}}}}return false}}function pn(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 gn(n,t,e){var i=0,r=t.length;for(;i<r;i++){nn(n,t[i],e)}return e}function bn(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 mn(n,t,e,i,r,u){if(i&&!i[b]){i=mn(i)}if(r&&!r[b]){r=mn(r,u)}return en((function(u,o,s,c){var l,d,h,v,p=[],g=[],b=o.length,m=u||gn(t||"*",s.nodeType?[s]:s,[]),w=n&&(u||!t)?bn(m,p,n,s,c):m;if(e){v=r||(u?n:b||i)?[]:o;e(w,v,s,c)}else{v=w}if(i){l=bn(v,g);i(l,[],s,c);d=l.length;while(d--){if(h=l[d]){v[g[d]]=!(w[g[d]]=h)}}}if(u){if(r||n){if(r){l=[];d=v.length;while(d--){if(h=v[d]){l.push(w[d]=h)}}r(null,v=[],l,c)}d=v.length;while(d--){if((h=v[d])&&(l=r?f.call(u,h):p[d])>-1){u[l]=!(o[l]=h)}}}}else{v=bn(v===o?v.splice(b,v.length):v);if(r){r(null,o,v,c)}else{a.apply(o,v)}}}))}function wn(n){var t,e,r,o=n.length,s=i.relative[n[0].type],a=s||i.relative[" "],c=s?1:0,l=vn((function(n){return n===t}),a,true),d=vn((function(n){return f.call(t,n)>-1}),a,true),h=[function(n,e,i){var r=!s&&(i||e!=u)||((t=e).nodeType?l(n,e,i):d(n,e,i));t=null;return r}];for(;c<o;c++){if(e=i.relative[n[c].type]){h=[vn(pn(h),e)]}else{e=i.filter[n[c].type].apply(null,n[c].matches);if(e[b]){r=++c;for(;r<o;r++){if(i.relative[n[r].type]){break}}return mn(c>1&&pn(h),c>1&&hn(n.slice(0,c-1).concat({value:n[c-2].type===" "?"*":""})).replace(O,"$1"),e,c<r&&wn(n.slice(c,r)),r<o&&wn(n=n.slice(r)),r<o&&hn(n))}h.push(e)}}return pn(h)}function yn(n,t){var e=t.length>0,r=n.length>0,o=function(o,f,s,c,d){var h,p,g,b=0,w="0",y=o&&[],k=[],C=u,S=o||r&&i.find.TAG("*",d),j=m+=C==null?1:Math.random()||.1,F=S.length;if(d){u=f==l||f||d}for(;w!==F&&(h=S[w])!=null;w++){if(r&&h){p=0;if(!f&&h.ownerDocument!=l){cn(h);s=!v}while(g=n[p++]){if(g(h,f||l,s)){a.call(c,h);break}}if(d){m=j}}if(e){if(h=!g&&h){b--}if(o){y.push(h)}}}b+=w;if(e&&w!==b){p=0;while(g=t[p++]){g(y,k,f,s)}if(o){if(b>0){while(w--){if(!(y[w]||k[w])){k[w]=E.call(c)}}}k=bn(k)}a.apply(c,k);if(d&&!o&&k.length>0&&b+t.length>1){x.uniqueSort(c)}}if(d){m=j;u=C}return y};return e?en(o):o}function kn(n,t){var e,i=[],r=[],u=C[n+" "];if(!u){if(!t){t=dn(n)}e=t.length;while(e--){u=wn(t[e]);if(u[b]){i.push(u)}else{r.push(u)}}u=C(n,yn(r,i));u.selector=n}return u}function xn(n,t,e,r){var u,o,f,s,c,l=typeof n==="function"&&n,d=!r&&dn(n=l.selector||n);e=e||[];if(d.length===1){o=d[0]=d[0].slice(0);if(o.length>2&&(f=o[0]).type==="ID"&&t.nodeType===9&&v&&i.relative[o[1].type]){t=(i.find.ID(f.matches[0].replace(G,Y),t)||[])[0];if(!t){return e}else if(l){t=t.parentNode}n=n.slice(o.shift().value.length)}u=W.needsContext.test(n)?0:o.length;while(u--){f=o[u];if(i.relative[s=f.type]){break}if(c=i.find[s]){if(r=c(f.matches[0].replace(G,Y),X.test(o[0].type)&&an(t.parentNode)||t)){o.splice(u,1);n=r.length&&hn(o);if(!n){a.apply(e,r);return e}break}}}}(l||kn(n,d))(r,t,!v,e,!t||X.test(n)&&an(t.parentNode)||t);return e}h.sortStable=b.split("").sort(R).join("")===b;cn();h.sortDetached=rn((function(n){return n.compareDocumentPosition(l.createElement("fieldset"))&1}));x.find=nn;x.expr[":"]=x.expr.pseudos;x.unique=x.uniqueSort;nn.compile=kn;nn.select=xn;nn.setDocument=cn;nn.tokenize=dn;nn.escape=x.escapeSelector;nn.getText=x.text;nn.isXML=x.isXMLDoc;nn.selectors=x.expr;nn.support=x.support;nn.uniqueSort=x.uniqueSort})();var _=function(n,t,e){var i=[],r=e!==undefined;while((n=n[t])&&n.nodeType!==9){if(n.nodeType===1){if(r&&x(n).is(e)){break}i.push(n)}}return i};var L=function(n,t){var e=[];for(;n;n=n.nextSibling){if(n.nodeType===1&&n!==t){e.push(n)}}return e};var M=x.expr.match.needsContext;var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function U(n,t,e){if(v(t)){return x.grep(n,(function(n,i){return!!t.call(n,i,n)!==e}))}if(t.nodeType){return x.grep(n,(function(n){return n===t!==e}))}if(typeof t!=="string"){return x.grep(n,(function(n){return f.call(t,n)>-1!==e}))}return x.filter(t,n,e)}x.filter=function(n,t,e){var i=t[0];if(e){n=":not("+n+")"}if(t.length===1&&i.nodeType===1){return x.find.matchesSelector(i,n)?[i]:[]}return x.find.matches(n,x.grep(t,(function(n){return n.nodeType===1})))};x.fn.extend({find:function(n){var t,e,i=this.length,r=this;if(typeof n!=="string"){return this.pushStack(x(n).filter((function(){for(t=0;t<i;t++){if(x.contains(r[t],this)){return true}}})))}e=this.pushStack([]);for(t=0;t<i;t++){x.find(n,r[t],e)}return i>1?x.uniqueSort(e):e},filter:function(n){return this.pushStack(U(this,n||[],false))},not:function(n){return this.pushStack(U(this,n||[],true))},is:function(n){return!!U(this,typeof n==="string"&&M.test(n)?x(n):n||[],false).length}});var P,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,$=x.fn.init=function(n,t,e){var i,r;if(!n){return this}e=e||P;if(typeof n==="string"){if(n[0]==="<"&&n[n.length-1]===">"&&n.length>=3){i=[null,n,null]}else{i=z.exec(n)}if(i&&(i[1]||!t)){if(i[1]){t=t instanceof x?t[0]:t;x.merge(this,x.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:g,true));if(D.test(i[1])&&x.isPlainObject(t)){for(i in t){if(v(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(v(n)){return e.ready!==undefined?e.ready(n):n(x)}return x.makeArray(n,this)};$.prototype=x.fn;P=x(g);var q=/^(?:parents|prev(?:Until|All))/,J={children:true,contents:true,next:true,prev:true};x.fn.extend({has:function(n){var t=x(n,this),e=t.length;return this.filter((function(){var n=0;for(;n<e;n++){if(x.contains(this,t[n])){return true}}}))},closest:function(n,t){var e,i=0,r=this.length,u=[],o=typeof n!=="string"&&x(n);if(!M.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&&x.find.matchesSelector(e,n))){u.push(e);break}}}}return this.pushStack(u.length>1?x.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(x(n),this[0])}return f.call(this,n.jquery?n[0]:n)},add:function(n,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});function W(n,t){while((n=n[t])&&n.nodeType!==1){}return n}x.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return _(n,"parentNode")},parentsUntil:function(n,t,e){return _(n,"parentNode",e)},next:function(n){return W(n,"nextSibling")},prev:function(n){return W(n,"previousSibling")},nextAll:function(n){return _(n,"nextSibling")},prevAll:function(n){return _(n,"previousSibling")},nextUntil:function(n,t,e){return _(n,"nextSibling",e)},prevUntil:function(n,t,e){return _(n,"previousSibling",e)},siblings:function(n){return L((n.parentNode||{}).firstChild,n)},children:function(n){return L(n.firstChild)},contents:function(n){if(n.contentDocument!=null&&i(n.contentDocument)){return n.contentDocument}if(S(n,"template")){n=n.content||n}return x.merge([],n.childNodes)}},(function(n,t){x.fn[n]=function(e,i){var r=x.map(this,t,e);if(n.slice(-5)!=="Until"){i=e}if(i&&typeof i==="string"){r=x.filter(i,r)}if(this.length>1){if(!J[n]){x.uniqueSort(r)}if(q.test(n)){r.reverse()}}return this.pushStack(r)}}));var H=/[^\x20\t\r\n\f]+/g;function K(n){var t={};x.each(n.match(H)||[],(function(n,e){t[e]=true}));return t}x.Callbacks=function(n){n=typeof n==="string"?K(n):x.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){x.each(e,(function(e,i){if(v(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(){x.each(arguments,(function(n,t){var e;while((e=x.inArray(t,u,e))>-1){u.splice(e,1);if(e<=f){f--}}}));return this},has:function(n){return n?x.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 B(n){return n}function X(n){throw n}function G(n,t,e,i){var r;try{if(n&&v(r=n.promise)){r.call(n).done(t).fail(e)}else if(n&&v(r=n.then)){r.call(n,t,e)}else{t.apply(undefined,[n].slice(i))}}catch(n){e.apply(undefined,[n])}}x.extend({Deferred:function(t){var e=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.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 x.Deferred((function(t){x.each(e,(function(e,i){var r=v(n[i[4]])&&n[i[4]];u[i[1]]((function(){var n=r&&r.apply(this,arguments);if(n&&v(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(v(a)){if(r){a.call(n,o(u,e,B,r),o(u,e,X,r))}else{u++;a.call(n,o(u,e,B,r),o(u,e,X,r),o(u,e,B,e.notifyWith))}}else{if(i!==B){f=undefined;s=[n]}(r||e.resolveWith)(f,s)}},c=r?a:function(){try{a()}catch(n){if(x.Deferred.exceptionHook){x.Deferred.exceptionHook(n,c.error)}if(t+1>=u){if(i!==X){f=undefined;s=[n]}e.rejectWith(f,s)}}};if(t){c()}else{if(x.Deferred.getErrorHook){c.error=x.Deferred.getErrorHook()}else if(x.Deferred.getStackHook){c.error=x.Deferred.getStackHook()}n.setTimeout(c)}}}return x.Deferred((function(n){e[0][3].add(o(0,n,v(r)?r:B,n.notifyWith));e[1][3].add(o(0,n,v(t)?t:B));e[2][3].add(o(0,n,v(i)?i:X))})).promise()},promise:function(n){return n!=null?x.extend(n,r):r}},u={};x.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=x.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){G(n,o.done(f(e)).resolve,o.reject,!t);if(o.state()==="pending"||v(u[e]&&u[e].then)){return o.then()}}while(e--){G(u[e],f(e),o.reject)}return o.promise()}});var Y=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,e){if(n.console&&n.console.warn&&t&&Y.test(t.name)){n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)}};x.readyException=function(t){n.setTimeout((function(){throw t}))};var Z=x.Deferred();x.fn.ready=function(n){Z.then(n).catch((function(n){x.readyException(n)}));return this};x.extend({isReady:false,readyWait:1,ready:function(n){if(n===true?--x.readyWait:x.isReady){return}x.isReady=true;if(n!==true&&--x.readyWait>0){return}Z.resolveWith(g,[x])}});x.ready.then=Z.then;function Q(){g.removeEventListener("DOMContentLoaded",Q);n.removeEventListener("load",Q);x.ready()}if(g.readyState==="complete"||g.readyState!=="loading"&&!g.documentElement.doScroll){n.setTimeout(x.ready)}else{g.addEventListener("DOMContentLoaded",Q);n.addEventListener("load",Q)}var V=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){V(n,t,f,e[f],true,u,o)}}else if(i!==undefined){r=true;if(!v(i)){o=true}if(a){if(o){t.call(n,i);t=null}else{a=t;t=function(n,t,e){return a.call(x(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 nn=/^-ms-/,tn=/-([a-z])/g;function en(n,t){return t.toUpperCase()}function rn(n){return n.replace(nn,"ms-").replace(tn,en)}var un=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};function on(){this.expando=x.expando+on.uid++}on.uid=1;on.prototype={cache:function(n){var t=n[this.expando];if(!t){t={};if(un(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[rn(t)]=e}else{for(i in t){r[rn(i)]=t[i]}}return r},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][rn(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(rn)}else{t=rn(t);t=t in i?[t]:t.match(H)||[]}e=t.length;while(e--){delete i[t[e]]}}if(t===undefined||x.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&&!x.isEmptyObject(t)}};var fn=new on;var sn=new on;var an=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,cn=/[A-Z]/g;function ln(n){if(n==="true"){return true}if(n==="false"){return false}if(n==="null"){return null}if(n===+n+""){return+n}if(an.test(n)){return JSON.parse(n)}return n}function dn(n,t,e){var i;if(e===undefined&&n.nodeType===1){i="data-"+t.replace(cn,"-$&").toLowerCase();e=n.getAttribute(i);if(typeof e==="string"){try{e=ln(e)}catch(n){}sn.set(n,t,e)}else{e=undefined}}return e}x.extend({hasData:function(n){return sn.hasData(n)||fn.hasData(n)},data:function(n,t,e){return sn.access(n,t,e)},removeData:function(n,t){sn.remove(n,t)},_data:function(n,t,e){return fn.access(n,t,e)},_removeData:function(n,t){fn.remove(n,t)}});x.fn.extend({data:function(n,t){var e,i,r,u=this[0],o=u&&u.attributes;if(n===undefined){if(this.length){r=sn.get(u);if(u.nodeType===1&&!fn.get(u,"hasDataAttrs")){e=o.length;while(e--){if(o[e]){i=o[e].name;if(i.indexOf("data-")===0){i=rn(i.slice(5));dn(u,i,r[i])}}}fn.set(u,"hasDataAttrs",true)}}return r}if(typeof n==="object"){return this.each((function(){sn.set(this,n)}))}return V(this,(function(t){var e;if(u&&t===undefined){e=sn.get(u,n);if(e!==undefined){return e}e=dn(u,n);if(e!==undefined){return e}return}this.each((function(){sn.set(this,n,t)}))}),null,t,arguments.length>1,null,true)},removeData:function(n){return this.each((function(){sn.remove(this,n)}))}});x.extend({queue:function(n,t,e){var i;if(n){t=(t||"fx")+"queue";i=fn.get(n,t);if(e){if(!i||Array.isArray(e)){i=fn.access(n,t,x.makeArray(e))}else{i.push(e)}}return i||[]}},dequeue:function(n,t){t=t||"fx";var e=x.queue(n,t),i=e.length,r=e.shift(),u=x._queueHooks(n,t),o=function(){x.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 fn.get(n,e)||fn.access(n,e,{empty:x.Callbacks("once memory").add((function(){fn.remove(n,[t+"queue",e])}))})}});x.fn.extend({queue:function(n,t){var e=2;if(typeof n!=="string"){t=n;n="fx";e--}if(arguments.length<e){return x.queue(this[0],n)}return t===undefined?this:this.each((function(){var e=x.queue(this,n,t);x._queueHooks(this,n);if(n==="fx"&&e[0]!=="inprogress"){x.dequeue(this,n)}}))},dequeue:function(n){return this.each((function(){x.dequeue(this,n)}))},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var e,i=1,r=x.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=fn.get(u[o],n+"queueHooks");if(e&&e.empty){i++;e.empty.add(f)}}f();return r.promise(t)}});var hn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var vn=new RegExp("^(?:([+-])=|)("+hn+")([a-z%]*)$","i");var pn=["Top","Right","Bottom","Left"];var gn=g.documentElement;var bn=function(n){return x.contains(n.ownerDocument,n)},mn={composed:true};if(gn.getRootNode){bn=function(n){return x.contains(n.ownerDocument,n)||n.getRootNode(mn)===n.ownerDocument}}var wn=function(n,t){n=t||n;return n.style.display==="none"||n.style.display===""&&bn(n)&&x.css(n,"display")==="none"};function yn(n,t,e,i){var r,u,o=20,f=i?function(){return i.cur()}:function(){return x.css(n,t,"")},s=f(),a=e&&e[3]||(x.cssNumber[t]?"":"px"),c=n.nodeType&&(x.cssNumber[t]||a!=="px"&&+s)&&vn.exec(x.css(n,t));if(c&&c[3]!==a){s=s/2;a=a||c[3];c=+s||1;while(o--){x.style(n,t,c+a);if((1-u)*(1-(u=f()/s||.5))<=0){o=0}c=c/u}c=c*2;x.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 kn={};function xn(n){var t,e=n.ownerDocument,i=n.nodeName,r=kn[i];if(r){return r}t=e.body.appendChild(e.createElement(i));r=x.css(t,"display");t.parentNode.removeChild(t);if(r==="none"){r="block"}kn[i]=r;return r}function Cn(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]=fn.get(i,"display")||null;if(!r[u]){i.style.display=""}}if(i.style.display===""&&wn(i)){r[u]=xn(i)}}else{if(e!=="none"){r[u]="none";fn.set(i,"display",e)}}}for(u=0;u<o;u++){if(r[u]!=null){n[u].style.display=r[u]}}return n}x.fn.extend({show:function(){return Cn(this,true)},hide:function(){return Cn(this)},toggle:function(n){if(typeof n==="boolean"){return n?this.show():this.hide()}return this.each((function(){if(wn(this)){x(this).show()}else{x(this).hide()}}))}});var Sn=/^(?:checkbox|radio)$/i;var En=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var jn=/^$|^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 Fn={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,"",""]};Fn.tbody=Fn.tfoot=Fn.colgroup=Fn.caption=Fn.thead;Fn.th=Fn.td;if(!h.option){Fn.optgroup=Fn.option=[1,"<select multiple='multiple'>","</select>"]}function Tn(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&&S(n,t)){return x.merge([n],e)}return e}function On(n,t){var e=0,i=n.length;for(;e<i;e++){fn.set(n[e],"globalEval",!t||fn.get(t[e],"globalEval"))}}var An=/<|&#?\w+;/;function Rn(n,t,e,i,r){var u,o,f,s,a,c,l=t.createDocumentFragment(),d=[],h=0,v=n.length;for(;h<v;h++){u=n[h];if(u||u===0){if(w(u)==="object"){x.merge(d,u.nodeType?[u]:u)}else if(!An.test(u)){d.push(t.createTextNode(u))}else{o=o||l.appendChild(t.createElement("div"));f=(En.exec(u)||["",""])[1].toLowerCase();s=Fn[f]||Fn._default;o.innerHTML=s[1]+x.htmlPrefilter(u)+s[2];c=s[0];while(c--){o=o.lastChild}x.merge(d,o.childNodes);o=l.firstChild;o.textContent=""}}}l.textContent="";h=0;while(u=d[h++]){if(i&&x.inArray(u,i)>-1){if(r){r.push(u)}continue}a=bn(u);o=Tn(l.appendChild(u),"script");if(a){On(o)}if(e){c=0;while(u=o[c++]){if(jn.test(u.type||"")){e.push(u)}}}}return l}var In=/^([^.]*)(?:\.(.+)|)/;function Nn(){return true}function _n(){return false}function Ln(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){Ln(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=_n}else if(!r){return n}if(u===1){o=r;r=function(n){x().off(n);return o.apply(this,arguments)};r.guid=o.guid||(o.guid=x.guid++)}return n.each((function(){x.event.add(this,t,r,i,e)}))}x.event={global:{},add:function(n,t,e,i,r){var u,o,f,s,a,c,l,d,h,v,p,g=fn.get(n);if(!un(n)){return}if(e.handler){u=e;e=u.handler;r=u.selector}if(r){x.find.matchesSelector(gn,r)}if(!e.guid){e.guid=x.guid++}if(!(s=g.events)){s=g.events=Object.create(null)}if(!(o=g.handle)){o=g.handle=function(t){return typeof x!=="undefined"&&x.event.triggered!==t.type?x.event.dispatch.apply(n,arguments):undefined}}t=(t||"").match(H)||[""];a=t.length;while(a--){f=In.exec(t[a])||[];h=p=f[1];v=(f[2]||"").split(".").sort();if(!h){continue}l=x.event.special[h]||{};h=(r?l.delegateType:l.bindType)||h;l=x.event.special[h]||{};c=x.extend({type:h,origType:p,data:i,handler:e,guid:e.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:v.join(".")},u);if(!(d=s[h])){d=s[h]=[];d.delegateCount=0;if(!l.setup||l.setup.call(n,i,v,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)}x.event.global[h]=true}},remove:function(n,t,e,i,r){var u,o,f,s,a,c,l,d,h,v,p,g=fn.hasData(n)&&fn.get(n);if(!g||!(s=g.events)){return}t=(t||"").match(H)||[""];a=t.length;while(a--){f=In.exec(t[a])||[];h=p=f[1];v=(f[2]||"").split(".").sort();if(!h){for(h in s){x.event.remove(n,h+t[a],e,i,true)}continue}l=x.event.special[h]||{};h=(i?l.delegateType:l.bindType)||h;d=s[h]||[];f=f[2]&&new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)");o=u=d.length;while(u--){c=d[u];if((r||p===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,v,g.handle)===false){x.removeEvent(n,h,g.handle)}delete s[h]}}if(x.isEmptyObject(s)){fn.remove(n,"handle events")}},dispatch:function(n){var t,e,i,r,u,o,f=new Array(arguments.length),s=x.event.fix(n),a=(fn.get(this,"events")||Object.create(null))[s.type]||[],c=x.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=x.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=((x.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?x(r,this).index(a)>-1:x.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(x.Event.prototype,n,{enumerable:true,configurable:true,get:v(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[x.expando]?n:new x.Event(n)},special:{load:{noBubble:true},click:{setup:function(n){var t=this||n;if(Sn.test(t.type)&&t.click&&S(t,"input")){Mn(t,"click",true)}return false},trigger:function(n){var t=this||n;if(Sn.test(t.type)&&t.click&&S(t,"input")){Mn(t,"click")}return true},_default:function(n){var t=n.target;return Sn.test(t.type)&&t.click&&S(t,"input")&&fn.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(n){if(n.result!==undefined&&n.originalEvent){n.originalEvent.returnValue=n.result}}}}};function Mn(n,t,e){if(!e){if(fn.get(n,t)===undefined){x.event.add(n,t,Nn)}return}fn.set(n,t,false);x.event.add(n,t,{namespace:false,handler:function(n){var e,i=fn.get(this,t);if(n.isTrigger&1&&this[t]){if(!i){i=r.call(arguments);fn.set(this,t,i);this[t]();e=fn.get(this,t);fn.set(this,t,false);if(i!==e){n.stopImmediatePropagation();n.preventDefault();return e}}else if((x.event.special[t]||{}).delegateType){n.stopPropagation()}}else if(i){fn.set(this,t,x.event.trigger(i[0],i.slice(1),this));n.stopPropagation();n.isImmediatePropagationStopped=Nn}}})}x.removeEvent=function(n,t,e){if(n.removeEventListener){n.removeEventListener(t,e)}};x.Event=function(n,t){if(!(this instanceof x.Event)){return new x.Event(n,t)}if(n&&n.type){this.originalEvent=n;this.type=n.type;this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===false?Nn:_n;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){x.extend(this,t)}this.timeStamp=n&&n.timeStamp||Date.now();this[x.expando]=true};x.Event.prototype={constructor:x.Event,isDefaultPrevented:_n,isPropagationStopped:_n,isImmediatePropagationStopped:_n,isSimulated:false,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=Nn;if(n&&!this.isSimulated){n.preventDefault()}},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=Nn;if(n&&!this.isSimulated){n.stopPropagation()}},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=Nn;if(n&&!this.isSimulated){n.stopImmediatePropagation()}this.stopPropagation()}};x.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},x.event.addProp);x.each({focus:"focusin",blur:"focusout"},(function(n,t){function e(n){if(g.documentMode){var e=fn.get(this,"handle"),i=x.event.fix(n);i.type=n.type==="focusin"?"focus":"blur";i.isSimulated=true;e(n);if(i.target===i.currentTarget){e(i)}}else{x.event.simulate(t,n.target,x.event.fix(n))}}x.event.special[n]={setup:function(){var i;Mn(this,n,true);if(g.documentMode){i=fn.get(this,t);if(!i){this.addEventListener(t,e)}fn.set(this,t,(i||0)+1)}else{return false}},trigger:function(){Mn(this,n);return true},teardown:function(){var n;if(g.documentMode){n=fn.get(this,t)-1;if(!n){this.removeEventListener(t,e);fn.remove(this,t)}else{fn.set(this,t,n)}}else{return false}},_default:function(t){return fn.get(t.target,n)},delegateType:t};x.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=g.documentMode?this:i,u=fn.get(r,t);if(!u){if(g.documentMode){this.addEventListener(t,e)}else{i.addEventListener(n,e,true)}}fn.set(r,t,(u||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=g.documentMode?this:i,u=fn.get(r,t)-1;if(!u){if(g.documentMode){this.removeEventListener(t,e)}else{i.removeEventListener(n,e,true)}fn.remove(r,t)}else{fn.set(r,t,u)}}}}));x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(n,t){x.event.special[n]={delegateType:t,bindType:t,handle:function(n){var e,i=this,r=n.relatedTarget,u=n.handleObj;if(!r||r!==i&&!x.contains(i,r)){n.type=u.origType;e=u.handler.apply(this,arguments);n.type=t}return e}}}));x.fn.extend({on:function(n,t,e,i){return Ln(this,n,t,e,i)},one:function(n,t,e,i){return Ln(this,n,t,e,i,1)},off:function(n,t,e){var i,r;if(n&&n.preventDefault&&n.handleObj){i=n.handleObj;x(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=_n}return this.each((function(){x.event.remove(this,n,e,t)}))}});var Dn=/<script|<style|<link/i,Un=/checked\s*(?:[^=]|=\s*.checked.)/i,Pn=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function zn(n,t){if(S(n,"table")&&S(t.nodeType!==11?t:t.firstChild,"tr")){return x(n).children("tbody")[0]||n}return n}function $n(n){n.type=(n.getAttribute("type")!==null)+"/"+n.type;return n}function qn(n){if((n.type||"").slice(0,5)==="true/"){n.type=n.type.slice(5)}else{n.removeAttribute("type")}return n}function Jn(n,t){var e,i,r,u,o,f,s;if(t.nodeType!==1){return}if(fn.hasData(n)){u=fn.get(n);s=u.events;if(s){fn.remove(t,"handle events");for(r in s){for(e=0,i=s[r].length;e<i;e++){x.event.add(t,r,s[r][e])}}}}if(sn.hasData(n)){o=sn.access(n);f=x.extend({},o);sn.set(t,f)}}function Wn(n,t){var e=t.nodeName.toLowerCase();if(e==="input"&&Sn.test(n.type)){t.checked=n.checked}else if(e==="input"||e==="textarea"){t.defaultValue=n.defaultValue}}function Hn(n,t,e,i){t=u(t);var r,o,f,s,a,c,l=0,d=n.length,p=d-1,g=t[0],b=v(g);if(b||d>1&&typeof g==="string"&&!h.checkClone&&Un.test(g)){return n.each((function(r){var u=n.eq(r);if(b){t[0]=g.call(this,r,u.html())}Hn(u,t,e,i)}))}if(d){r=Rn(t,n[0].ownerDocument,false,n,i);o=r.firstChild;if(r.childNodes.length===1){r=o}if(o||i){f=x.map(Tn(r,"script"),$n);s=f.length;for(;l<d;l++){a=r;if(l!==p){a=x.clone(a,true,true);if(s){x.merge(f,Tn(a,"script"))}}e.call(n[l],a,l)}if(s){c=f[f.length-1].ownerDocument;x.map(f,qn);for(l=0;l<s;l++){a=f[l];if(jn.test(a.type||"")&&!fn.access(a,"globalEval")&&x.contains(c,a)){if(a.src&&(a.type||"").toLowerCase()!=="module"){if(x._evalUrl&&!a.noModule){x._evalUrl(a.src,{nonce:a.nonce||a.getAttribute("nonce")},c)}}else{m(a.textContent.replace(Pn,""),a,c)}}}}}}return n}function Kn(n,t,e){var i,r=t?x.filter(t,n):n,u=0;for(;(i=r[u])!=null;u++){if(!e&&i.nodeType===1){x.cleanData(Tn(i))}if(i.parentNode){if(e&&bn(i)){On(Tn(i,"script"))}i.parentNode.removeChild(i)}}return n}x.extend({htmlPrefilter:function(n){return n},clone:function(n,t,e){var i,r,u,o,f=n.cloneNode(true),s=bn(n);if(!h.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!x.isXMLDoc(n)){o=Tn(f);u=Tn(n);for(i=0,r=u.length;i<r;i++){Wn(u[i],o[i])}}if(t){if(e){u=u||Tn(n);o=o||Tn(f);for(i=0,r=u.length;i<r;i++){Jn(u[i],o[i])}}else{Jn(n,f)}}o=Tn(f,"script");if(o.length>0){On(o,!s&&Tn(n,"script"))}return f},cleanData:function(n){var t,e,i,r=x.event.special,u=0;for(;(e=n[u])!==undefined;u++){if(un(e)){if(t=e[fn.expando]){if(t.events){for(i in t.events){if(r[i]){x.event.remove(e,i)}else{x.removeEvent(e,i,t.handle)}}}e[fn.expando]=undefined}if(e[sn.expando]){e[sn.expando]=undefined}}}}});x.fn.extend({detach:function(n){return Kn(this,n,true)},remove:function(n){return Kn(this,n)},text:function(n){return V(this,(function(n){return n===undefined?x.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 Hn(this,arguments,(function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=zn(this,n);t.appendChild(n)}}))},prepend:function(){return Hn(this,arguments,(function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=zn(this,n);t.insertBefore(n,t.firstChild)}}))},before:function(){return Hn(this,arguments,(function(n){if(this.parentNode){this.parentNode.insertBefore(n,this)}}))},after:function(){return Hn(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){x.cleanData(Tn(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 x.clone(this,n,t)}))},html:function(n){return V(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"&&!Dn.test(n)&&!Fn[(En.exec(n)||["",""])[1].toLowerCase()]){n=x.htmlPrefilter(n);try{for(;e<i;e++){t=this[e]||{};if(t.nodeType===1){x.cleanData(Tn(t,false));t.innerHTML=n}}t=0}catch(n){}}if(t){this.empty().append(n)}}),null,n,arguments.length)},replaceWith:function(){var n=[];return Hn(this,arguments,(function(t){var e=this.parentNode;if(x.inArray(this,n)<0){x.cleanData(Tn(this));if(e){e.replaceChild(t,this)}}}),n)}});x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(n,t){x.fn[n]=function(n){var e,i=[],r=x(n),u=r.length-1,f=0;for(;f<=u;f++){e=f===u?this:this.clone(true);x(r[f])[t](e);o.apply(i,e.get())}return this.pushStack(i)}}));var Bn=new RegExp("^("+hn+")(?!px)[a-z%]+$","i");var Xn=/^--/;var Gn=function(t){var e=t.ownerDocument.defaultView;if(!e||!e.opener){e=n}return e.getComputedStyle(t)};var Yn=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 Zn=new RegExp(pn.join("|"),"i");(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%";gn.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;gn.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";x.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="box-sizing:content-box;border:1px solid";e.style.height="1px";i.style.height="9px";i.style.display="block";gn.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;gn.removeChild(t)}return f}})})();function Qn(n,t,e){var i,r,u,o,f=Xn.test(t),s=n.style;e=e||Gn(n);if(e){o=e.getPropertyValue(t)||e[t];if(f&&o){o=o.replace(O,"$1")||undefined}if(o===""&&!bn(n)){o=x.style(n,t)}if(!h.pixelBoxStyles()&&Bn.test(o)&&Zn.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 Vn(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}var nt=["Webkit","Moz","ms"],tt=g.createElement("div").style,et={};function it(n){var t=n[0].toUpperCase()+n.slice(1),e=nt.length;while(e--){n=nt[e]+t;if(n in tt){return n}}}function rt(n){var t=x.cssProps[n]||et[n];if(t){return t}if(n in tt){return n}return et[n]=it(n)||n}var ut=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},ft={letterSpacing:"0",fontWeight:"400"};function st(n,t,e){var i=vn.exec(t);return i?Math.max(0,i[2]-(e||0))+(i[3]||"px"):t}function at(n,t,e,i,r,u){var o=t==="width"?1:0,f=0,s=0,a=0;if(e===(i?"border":"content")){return 0}for(;o<4;o+=2){if(e==="margin"){a+=x.css(n,e+pn[o],true,r)}if(!i){s+=x.css(n,"padding"+pn[o],true,r);if(e!=="padding"){s+=x.css(n,"border"+pn[o]+"Width",true,r)}else{f+=x.css(n,"border"+pn[o]+"Width",true,r)}}else{if(e==="content"){s-=x.css(n,"padding"+pn[o],true,r)}if(e!=="margin"){s-=x.css(n,"border"+pn[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+a}function ct(n,t,e){var i=Gn(n),r=!h.boxSizingReliable()||e,u=r&&x.css(n,"boxSizing",false,i)==="border-box",o=u,f=Qn(n,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(Bn.test(f)){if(!e){return f}f="auto"}if((!h.boxSizingReliable()&&u||!h.reliableTrDimensions()&&S(n,"tr")||f==="auto"||!parseFloat(f)&&x.css(n,"display",false,i)==="inline")&&n.getClientRects().length){u=x.css(n,"boxSizing",false,i)==="border-box";o=s in n;if(o){f=n[s]}}f=parseFloat(f)||0;return f+at(n,t,e||(u?"border":"content"),o,i,f)+"px"}x.extend({cssHooks:{opacity:{get:function(n,t){if(t){var e=Qn(n,"opacity");return e===""?"1":e}}}},cssNumber:{animationIterationCount:true,aspectRatio:true,borderImageSlice:true,columnCount: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,scale:true,widows:true,zIndex:true,zoom:true,fillOpacity:true,floodOpacity:true,stopOpacity:true,strokeMiterlimit:true,strokeOpacity:true},cssProps:{},style:function(n,t,e,i){if(!n||n.nodeType===3||n.nodeType===8||!n.style){return}var r,u,o,f=rn(t),s=Xn.test(t),a=n.style;if(!s){t=rt(f)}o=x.cssHooks[t]||x.cssHooks[f];if(e!==undefined){u=typeof e;if(u==="string"&&(r=vn.exec(e))&&r[1]){e=yn(n,t,r);u="number"}if(e==null||e!==e){return}if(u==="number"&&!s){e+=r&&r[3]||(x.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=rn(t),s=Xn.test(t);if(!s){t=rt(f)}o=x.cssHooks[t]||x.cssHooks[f];if(o&&"get"in o){r=o.get(n,true,e)}if(r===undefined){r=Qn(n,t,i)}if(r==="normal"&&t in ft){r=ft[t]}if(e===""||e){u=parseFloat(r);return e===true||isFinite(u)?u||0:r}return r}});x.each(["height","width"],(function(n,t){x.cssHooks[t]={get:function(n,e,i){if(e){return ut.test(x.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?Yn(n,ot,(function(){return ct(n,t,i)})):ct(n,t,i)}},set:function(n,e,i){var r,u=Gn(n),o=!h.scrollboxSize()&&u.position==="absolute",f=o||i,s=f&&x.css(n,"boxSizing",false,u)==="border-box",a=i?at(n,t,i,s,u):0;if(s&&o){a-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(u[t])-at(n,t,"border",false,u)-.5)}if(a&&(r=vn.exec(e))&&(r[3]||"px")!=="px"){n.style[t]=e;e=x.css(n,t)}return st(n,e,a)}}}));x.cssHooks.marginLeft=Vn(h.reliableMarginLeft,(function(n,t){if(t){return(parseFloat(Qn(n,"marginLeft"))||n.getBoundingClientRect().left-Yn(n,{marginLeft:0},(function(){return n.getBoundingClientRect().left})))+"px"}}));x.each({margin:"",padding:"",border:"Width"},(function(n,t){x.cssHooks[n+t]={expand:function(e){var i=0,r={},u=typeof e==="string"?e.split(" "):[e];for(;i<4;i++){r[n+pn[i]+t]=u[i]||u[i-2]||u[0]}return r}};if(n!=="margin"){x.cssHooks[n+t].set=st}}));x.fn.extend({css:function(n,t){return V(this,(function(n,t,e){var i,r,u={},o=0;if(Array.isArray(t)){i=Gn(n);r=t.length;for(;o<r;o++){u[t[o]]=x.css(n,t[o],false,i)}return u}return e!==undefined?x.style(n,t,e):x.css(n,t)}),n,t,arguments.length>1)}});x.fn.delay=function(t,e){t=x.fx?x.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 lt,dt=x.expr.attrHandle;x.fn.extend({attr:function(n,t){return V(this,x.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each((function(){x.removeAttr(this,n)}))}});x.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 x.prop(n,t,e)}if(u!==1||!x.isXMLDoc(n)){r=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?lt:undefined)}if(e!==undefined){if(e===null){x.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=x.find.attr(n,t);return i==null?undefined:i},attrHooks:{type:{set:function(n,t){if(!h.radioValue&&t==="radio"&&S(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(H);if(r&&n.nodeType===1){while(e=r[i++]){n.removeAttribute(e)}}}});lt={set:function(n,t,e){if(t===false){x.removeAttr(n,e)}else{n.setAttribute(e,e)}return e}};x.each(x.expr.match.bool.source.match(/\w+/g),(function(n,t){var e=dt[t]||x.find.attr;dt[t]=function(n,t,i){var r,u,o=t.toLowerCase();if(!i){u=dt[o];dt[o]=r;r=e(n,t,i)!=null?o:null;dt[o]=u}return r}}));var ht=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;x.fn.extend({prop:function(n,t){return V(this,x.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each((function(){delete this[x.propFix[n]||n]}))}});x.extend({prop:function(n,t,e){var i,r,u=n.nodeType;if(u===3||u===8||u===2){return}if(u!==1||!x.isXMLDoc(n)){t=x.propFix[t]||t;r=x.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=x.find.attr(n,"tabindex");if(t){return parseInt(t,10)}if(ht.test(n.nodeName)||vt.test(n.nodeName)&&n.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!h.optSelected){x.propHooks.selected={get:function(n){return null},set:function(n){}}}x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this}));function pt(n){var t=n.match(H)||[];return t.join(" ")}function gt(n){return n.getAttribute&&n.getAttribute("class")||""}function bt(n){if(Array.isArray(n)){return n}if(typeof n==="string"){return n.match(H)||[]}return[]}x.fn.extend({addClass:function(n){var t,e,i,r,u,o;if(v(n)){return this.each((function(t){x(this).addClass(n.call(this,t,gt(this)))}))}t=bt(n);if(t.length){return this.each((function(){i=gt(this);e=this.nodeType===1&&" "+pt(i)+" ";if(e){for(u=0;u<t.length;u++){r=t[u];if(e.indexOf(" "+r+" ")<0){e+=r+" "}}o=pt(e);if(i!==o){this.setAttribute("class",o)}}}))}return this},removeClass:function(n){var t,e,i,r,u,o;if(v(n)){return this.each((function(t){x(this).removeClass(n.call(this,t,gt(this)))}))}if(!arguments.length){return this.attr("class","")}t=bt(n);if(t.length){return this.each((function(){i=gt(this);e=this.nodeType===1&&" "+pt(i)+" ";if(e){for(u=0;u<t.length;u++){r=t[u];while(e.indexOf(" "+r+" ")>-1){e=e.replace(" "+r+" "," ")}}o=pt(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(v(n)){return this.each((function(e){x(this).toggleClass(n.call(this,e,gt(this),t),t)}))}if(typeof t==="boolean"&&f){return t?this.addClass(n):this.removeClass(n)}e=bt(n);return this.each((function(){if(f){u=x(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=gt(this);if(i){fn.set(this,"__className__",i)}if(this.setAttribute){this.setAttribute("class",i||n===false?"":fn.get(this,"__className__")||"")}}}))},hasClass:function(n){var t,e,i=0;t=" "+n+" ";while(e=this[i++]){if(e.nodeType===1&&(" "+pt(gt(e))+" ").indexOf(t)>-1){return true}}return false}});var mt=/\r/g;x.fn.extend({val:function(n){var t,e,i,r=this[0];if(!arguments.length){if(r){t=x.valHooks[r.type]||x.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(mt,"")}return e==null?"":e}return}i=v(n);return this.each((function(e){var r;if(this.nodeType!==1){return}if(i){r=n.call(this,e,x(this).val())}else{r=n}if(r==null){r=""}else if(typeof r==="number"){r+=""}else if(Array.isArray(r)){r=x.map(r,(function(n){return n==null?"":n+""}))}t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,r,"value")===undefined){this.value=r}}))}});x.extend({valHooks:{option:{get:function(n){var t=x.find.attr(n,"value");return t!=null?t:pt(x.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||!S(e.parentNode,"optgroup"))){t=x(e).val();if(o){return t}f.push(t)}}return f},set:function(n,t){var e,i,r=n.options,u=x.makeArray(t),o=r.length;while(o--){i=r[o];if(i.selected=x.inArray(x.valHooks.option.get(i),u)>-1){e=true}}if(!e){n.selectedIndex=-1}return u}}}});x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(n,t){if(Array.isArray(t)){return n.checked=x.inArray(x(n).val(),t)>-1}}};if(!h.checkOn){x.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value}}}));x.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){x.error("Invalid XML: "+(i?x.map(i.childNodes,(function(n){return n.textContent})).join("\n"):t))}return e};var wt=/^(?:focusinfocus|focusoutblur)$/,yt=function(n){n.stopPropagation()};x.extend(x.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(wt.test(m+x.event.triggered)){return}if(m.indexOf(".")>-1){w=m.split(".");m=w.shift();w.sort()}a=m.indexOf(":")<0&&"on"+m;t=t[x.expando]?t:new x.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]:x.makeArray(e,[t]);d=x.event.special[m]||{};if(!r&&d.trigger&&d.trigger.apply(i,e)===false){return}if(!r&&!d.noBubble&&!p(i)){s=d.delegateType||m;if(!wt.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=(fn.get(o,"events")||Object.create(null))[t.type]&&fn.get(o,"handle");if(l){l.apply(o,e)}l=a&&o[a];if(l&&l.apply&&un(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)&&un(i)){if(a&&v(i[m])&&!p(i)){f=i[a];if(f){i[a]=null}x.event.triggered=m;if(t.isPropagationStopped()){h.addEventListener(m,yt)}i[m]();if(t.isPropagationStopped()){h.removeEventListener(m,yt)}x.event.triggered=undefined;if(f){i[a]=f}}}}return t.result},simulate:function(n,t,e){var i=x.extend(new x.Event,e,{type:n,isSimulated:true});x.event.trigger(i,null,t)}});x.fn.extend({trigger:function(n,t){return this.each((function(){x.event.trigger(n,t,this)}))},triggerHandler:function(n,t){var e=this[0];if(e){return x.event.trigger(n,t,e,true)}}});var kt=/\[\]$/,xt=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function Et(n,t,e,i){var r;if(Array.isArray(t)){x.each(t,(function(t,r){if(e||kt.test(n)){i(n,r)}else{Et(n+"["+(typeof r==="object"&&r!=null?t:"")+"]",r,e,i)}}))}else if(!e&&w(t)==="object"){for(r in t){Et(n+"["+r+"]",t[r],e,i)}}else{i(n,t)}}x.param=function(n,t){var e,i=[],r=function(n,t){var e=v(t)?t():t;i[i.length]=encodeURIComponent(n)+"="+encodeURIComponent(e==null?"":e)};if(n==null){return""}if(Array.isArray(n)||n.jquery&&!x.isPlainObject(n)){x.each(n,(function(){r(this.name,this.value)}))}else{for(e in n){Et(e,n[e],t,r)}}return i.join("&")};x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var n=x.prop(this,"elements");return n?x.makeArray(n):this})).filter((function(){var n=this.type;return this.name&&!x(this).is(":disabled")&&St.test(this.nodeName)&&!Ct.test(n)&&(this.checked||!Sn.test(n))})).map((function(n,t){var e=x(this).val();if(e==null){return null}if(Array.isArray(e)){return x.map(e,(function(n){return{name:t.name,value:n.replace(xt,"\r\n")}}))}return{name:t.name,value:e.replace(xt,"\r\n")}})).get()}});x.fn.extend({wrapAll:function(n){var t;if(this[0]){if(v(n)){n=n.call(this[0])}t=x(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(v(n)){return this.each((function(t){x(this).wrapInner(n.call(this,t))}))}return this.each((function(){var t=x(this),e=t.contents();if(e.length){e.wrapAll(n)}else{t.append(n)}}))},wrap:function(n){var t=v(n);return this.each((function(e){x(this).wrapAll(t?n.call(this,e):n)}))},unwrap:function(n){this.parent(n).not("body").each((function(){x(this).replaceWith(this.childNodes)}));return this}});x.expr.pseudos.hidden=function(n){return!x.expr.pseudos.visible(n)};x.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}();x.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=D.exec(n);u=!e&&[];if(r){return[t.createElement(r[1])]}r=Rn([n],t,u);if(u&&u.length){x(u).remove()}return x.merge([],r.childNodes)};x.offset={setOffset:function(n,t,e){var i,r,u,o,f,s,a,c=x.css(n,"position"),l=x(n),d={};if(c==="static"){n.style.position="relative"}f=l.offset();u=x.css(n,"top");s=x.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(v(t)){t=t.call(n,e,x.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)}}};x.fn.extend({offset:function(n){if(arguments.length){return n===undefined?this:this.each((function(t){x.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(x.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)&&x.css(n,"position")==="static"){n=n.parentNode}if(n&&n!==i&&n.nodeType===1){r=x(n).offset();r.top+=x.css(n,"borderTopWidth",true);r.left+=x.css(n,"borderLeftWidth",true)}}return{top:t.top-r.top-x.css(i,"marginTop",true),left:t.left-r.left-x.css(i,"marginLeft",true)}},offsetParent:function(){return this.map((function(){var n=this.offsetParent;while(n&&x.css(n,"position")==="static"){n=n.offsetParent}return n||gn}))}});x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(n,t){var e="pageYOffset"===t;x.fn[n]=function(i){return V(this,(function(n,i,r){var u;if(p(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)}}));x.each(["top","left"],(function(n,t){x.cssHooks[t]=Vn(h.pixelPosition,(function(n,e){if(e){e=Qn(n,t);return Bn.test(e)?x(n).position()[t]+"px":e}}))}));x.each({Height:"height",Width:"width"},(function(n,t){x.each({padding:"inner"+n,content:t,"":"outer"+n},(function(e,i){x.fn[i]=function(r,u){var o=arguments.length&&(e||typeof r!=="boolean"),f=e||(r===true||u===true?"margin":"border");return V(this,(function(t,e,r){var u;if(p(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?x.css(t,e,f):x.style(t,e,r,f)}),t,o?r:undefined,o)}}))}));x.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.on("mouseenter",n).on("mouseleave",t||n)}});x.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){x.fn[t]=function(n,e){return arguments.length>0?this.on(t,null,n,e):this.trigger(t)}}));var jt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(n,t){var e,i,u;if(typeof t==="string"){e=n[t];t=n;n=e}if(!v(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||x.guid++;return u};x.holdReady=function(n){if(n){x.readyWait++}else{x.ready(true)}};x.isArray=Array.isArray;x.parseJSON=JSON.parse;x.nodeName=S;x.isFunction=v;x.isWindow=p;x.camelCase=rn;x.type=w;x.now=Date.now;x.isNumeric=function(n){var t=x.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))};x.trim=function(n){return n==null?"":(n+"").replace(jt,"$1")};var Ft=n.jQuery,Tt=n.$;x.noConflict=function(t){if(n.$===x){n.$=Tt}if(t&&n.jQuery===x){n.jQuery=Ft}return x};if(typeof t==="undefined"){n.jQuery=n.$=x}return x}))})(e);var i=e.exports;var r=window.vertx||{};!function(n){n(SockJS)}((function(n){r.EventBus=function(t,e){var i=this;var u=new n(t,undefined,e);var o={};var f={};var s=r.EventBus.CONNECTING;var a=null;var c=null;if(e){c=e.vertxbus_ping_interval}if(!c){c=5e3}i.onopen=null;i.onclose=null;i.login=function(n,t,e){d("send","vertx.basicauthmanager.login",{username:n,password:t},(function(n){if(n.status==="ok"){i.sessionID=n.sessionID}if(e){delete n.sessionID;e(n)}}))};i.send=function(n,t,e){d("send",n,t,e)};i.publish=function(n,t){d("publish",n,t,null)};i.registerHandler=function(n,t){v("address","string",n);v("handler","function",t);h();var e=o[n];if(!e){e=[t];o[n]=e;var i={type:"register",address:n};u.send(JSON.stringify(i))}else{e[e.length]=t}};i.unregisterHandler=function(n,t){v("address","string",n);v("handler","function",t);h();var e=o[n];if(e){var i=e.indexOf(t);if(i!==-1)e.splice(i,1);if(e.length===0){var r={type:"unregister",address:n};u.send(JSON.stringify(r));delete o[n]}}};i.close=function(){h();s=r.EventBus.CLOSING;u.close()};i.readyState=function(){return s};u.onopen=function(){l();a=setInterval(l,c);s=r.EventBus.OPEN;if(i.onopen){i.onopen()}};u.onclose=function(){s=r.EventBus.CLOSED;if(a)clearInterval(a);if(i.onclose){i.onclose()}};u.onmessage=function(n){var t=n.data;var e=JSON.parse(t);var r=e.body;var u=e.replyAddress;var s=e.address;var a;if(u){a=function(n,t){i.send(u,n,t)}}var c=o[s];if(c){var l=c.slice(0);for(var d=0,h=l;d<h.length;d++){var v=h[d];v(r,a)}}else{var p=f[s];if(p){delete f[s];p(r,a)}}};function l(){var n={type:"ping"};u.send(JSON.stringify(n))}function d(n,t,e,r){v("address","string",t);v("replyHandler","function",r,true);h();var o={type:n,address:t,body:e};if(i.sessionID){o.sessionID=i.sessionID}if(r){var s=p();o.replyAddress=s;f[s]=r}var a=JSON.stringify(o);u.send(a)}function h(){if(s!==r.EventBus.OPEN){throw new Error("INVALID_STATE_ERR")}}function v(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 p(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(n){return(n^crypto.getRandomValues(new Uint8Array(1))[0]&15>>n/4).toString(16)}))}};r.EventBus.CONNECTING=0;r.EventBus.OPEN=1;r.EventBus.CLOSING=2;r.EventBus.CLOSED=3;return r.EventBus}));(function(n){window.klpWidgetDev=function(t,e,i,u,o,f,s,a,c){var l=document.getElementsByTagName("header")[0];var d={attributes:true,childList:false,subtree:false};var h=function(e,i){for(var r=0,u=e;r<u.length;r++){var o=u[r];if(o.attributeName==="class"){if(n("header").hasClass("h-fixed-position")&&!n("header").hasClass("h-visible")){Rn().find(".klp-widget-authenticated-menu").css("display","none");Rn().find("#"+t).removeClass("bubble")}}}};var v=new MutationObserver(h);if(l){v.observe(l,d)}var p="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,C,S=false,E,j,F,T,O={},A="UNREAD_NOTIFICATIONS",R=true,I,N="de",_="",L=(new Date).getTime(),M="16.01.00.01",D=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}},z={audit:s.endPoint+"/v1/audit",keepalive:s.endPoint+"/v1/session/keepalive",subscribe:s.endPoint+"/v1/session/subscribe",eventbus:s.endPoint+"/eventbus"},$={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()}var q=function(n){return new URL(n)};var J=q(un());_=J.origin;var W=[{description:U[N].userProfile,url:_+"/selfadmin/?lang="+N,iconclass:"widget_icon_profile"}];var H=_+"/selfadmin/messages/?lang="+N;if(a!==undefined){$=__assign(__assign({},$),a)}function K(){try{return"sessionStorage"in window&&window.sessionStorage!==null}catch(n){X("No local storage available");return false}}function B(){var n=new Date;return n.getFullYear()+"-"+n.getMonth()+1+"-"+n.getDate()+" "+n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()+","+n.getMilliseconds()}function X(n){if($.debug&&window.console&&window.console.log){console.log("["+B()+"] - KLP.WIDGET - "+n)}}function G(n){var t=JSON.stringify({adr:C,evt:n});if(n.adt){X("Sending auditing event: "+t);fetch(z.audit,{method:"POST",credentials:"include",mode:"cors",body:t}).catch((function(n){if(n)console.error(n)}))}else{X("Auditing disabled: "+t)}}function Y(n,t){if($.debug&&window.console&&window.console.log){X("Method "+n+" executed on "+t+" ms")}}function Z(){return Math.floor(Math.random()*999999999+1)}function Q(n){return U[N][n]}function V(n){if($.accessKeys===false||P[n]["access-key"]==null){return""}return'accesskey="'+P[n]["access-key"]+'"'}function nn(n){if($.tabIndex<0){return 0}return P[n]["tab-index"]+$.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(){var t="";n.each({app:e,service:i,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(){var n="klp";var t=false;return tn(s.logoutURL,"app="+e+"&lang="+N+"&service="+n+"&inIframe="+t+"&logoutTargetURL="+$.logoutTargetURL)}function on(n){X("Clearing cache and sessionData before starting the logout process");E=undefined;dn();X("Proceeding to logoutUrl with following path "+n);window.location.href=n}function fn(){Rn().find("#"+t+" #klp-widget-authenticated-menu-changecompany").on("click touch",(function(n){n.preventDefault();Rn().find("#"+t+" #klp-widget-authenticated-menu-changecompany").focus();sn();return false}))}function sn(){var n;var e;if(E===null||E===void 0?void 0:E.support){if(Ln()){n=Q("change-account-support-dialog")}else{n=Q("change-company-support-dialog")}e=un()}else{if(Ln()){n=Q("change-account-confirm-dialog")}else{n=Q("change-company-confirm-dialog")}e=an()}if(Rn().find("#"+t+" #klp-widget-authenticated-changecompanydialog").length===0){var 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>";Rn().find("#"+t+" .klp-widget-authenticated").append(i);var r=Rn().find("#changeAccountModal");if(r.length&&r.length>=1){r=r[0]}r.style.display="table";var u=Rn().find("#changeAccountModal .close")[0];u.onclick=function(){r.parentElement.removeChild(r)};window.onclick=function(n){if(n.target===r){r.parentElement.removeChild(r)}};Rn().find("#klp-widget-authenticated-dochangecompany").on("click touch",(function(n){n.preventDefault();Rn().find("#"+t+" #klp-widget-authenticated-dochangecompany").focus();on(e);return false}))}}function an(){return un()+"&changecompany=true"}function cn(){R=true}function ln(n){if(K()){sessionStorage.setItem(g,JSON.stringify({ttl:(new Date).getTime()+n,sessionData:"If you're looking for this info, contact the Swiss Post Design System Team!",address:"If you're looking for this info, contact the Swiss Post Design System Team!"}));X("State persisted");gn("hash",encodeURIComponent(vn(E)))}else{X("State not persisted because HTML storage not supported")}}function dn(){if(K()){sessionStorage.removeItem(g);X("Persisted state removed");bn()}else{X("Persisted state not removed because HTML storage not supported")}}function hn(){return y.test(window.location.hostname)}function vn(n){n=JSON.stringify(n);var 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 pn(n){var t=k.exec(document.cookie);if(t!=null){var 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 gn(n,t){var e="; SameSite=None; Secure";switch(n){case"hash":document.cookie=m+"="+t+":"+pn("keepalive")+"; Path=/; domain="+w+e+"; Secure";break;case"keepalive":document.cookie=m+"="+pn("hash")+":"+t+"; Path=/; domain="+w+e+"; Secure";break;default:document.cookie=m+"="+t+"; Path=/; domain="+w+e+"; Secure";break}}function bn(){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+"; Secure";X("Control cookie removed")}}function mn(n,t){var e=b+t;if(K()){sessionStorage.setItem(e,JSON.stringify(n));X("Document "+t+" has been persisted on cached with value "+JSON.stringify(n))}}function wn(){yn(A)}function yn(n){var t=b+n;if(K()){sessionStorage.removeItem(t);X("Document "+n+" has been removed from cache")}}function kn(){if($.keepAliveListeningEvents.length>0){n(document).on($.keepAliveListeningEvents,cn)}}function xn(){if($.keepAliveListeningEvents.length>0){n(document).off($.keepAliveListeningEvents,cn)}}function Cn(){if(R){R=false;jn()}else{X("Keepalive call canceled due to user inactivity")}}function Sn(){if($.keepAlive&&I===undefined){kn();I=window.setInterval(Cn,$.keepAliveInterval*60*1e3)}}function En(){if($.keepAlive){xn();if(I){window.clearInterval(I);I=undefined}}}function jn(){if(qn()){var n="<img src='"+s.keepAliveURL+"/?"+Z()+"'><img src='"+z.keepalive+"?"+Z()+"'>";Rn().find("#"+p).html(n);if(typeof F=="function"){F()}gn("keepalive",(new Date).getTime())}}function Fn(){var n=(new Date).getTime();var t=pn("keepalive");if(isNaN(t)||n-parseInt(t)>$.keepAliveInterval*60*1e3){X("Running keepAliveSessionsOnInit");jn();return}X("keepAliveSessionsOnInit not running due to [now="+n+",last="+t+",interval="+$.keepAliveInterval*60*1e3)}function Tn(){X("Preparing for communication with iframe content");function n(n){var t=["post.ch","postauto.ch","postfinance.ch"];var e=new URL(n.origin);if(t.includes(e.host)&&n.data==="syncWidget"){X("PostMessage syncWidget received");Qn()}}if(window.addEventListener){window.addEventListener("message",n)}else{window.attachEvent("onmessage",n)}}function On(){if(L){X("Widget shows up in "+((new Date).getTime()-L)+" [msec]");L=undefined}}function An(n,t){Rn().find(n).append('<div id="'+t+'" style="display:none;"></div>')}function Rn(){return n(document.querySelector("swisspost-internet-header").shadowRoot.querySelector("post-klp-login-widget").shadowRoot.querySelector(".widget-wrapper"))}function In(){Rn().find("#"+t).addClass("anonymous");Rn().find("#"+t).attr("data-custom-focus-id","klp-widget");Rn().find("#"+t).html('<div class="klp-widget-anonymous"><div class="klp-widget-anonymous__wrapper">'+"<a "+V("sign-in")+' title="'+Q("sign-in")+'" href="'+en()+'" data-custom-focus-target="klp-widget" data-custom-focus-direction="parent" role="button"><span class="klp-widget-anonymous__text">'+Q("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>");Rn().find("#"+t).on("click touch",(function(n){n.preventDefault();document.location.href=en();return false}))}function Nn(){Rn().find("#"+t).off("click touch");var 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"}var i="klp-widget-authenticated";if(E.support){i+=" klp-widget-support"}Rn().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="'+Q("title-text-menu")+'" tabindex="'+nn("toggle-menu")+'" '+V("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>"+Mn(e,n,E)+"</div>"+"</div>");Rn().find(".notification-number").css("visibility","hidden");Rn().find(".notification-number-detail").css("visibility","hidden");An("#"+t,p);Rn().find("#"+t+" .klp-widget__user").on("click touch",(function(n){n.preventDefault();Rn().find("#"+t+" .klp-widget__user").focus();zn();$n();return false}));Rn().find("#"+t+" #klp-widget-authenticated-menu-logout").on("click touch",(function(n){n.preventDefault();Rn().find("#"+t+" #klp-widget-authenticated-menu-logout").focus();on(un());return false}));if(_n()||Ln()){fn()}ut()}function _n(){return E.userType==="B2B"&&E.canChangeCompany&&E.changeUserAndProfile==null||E.changeUserAndProfile!=null&&E.changeUserAndProfile==="profile"}function Ln(){return E.changeUserAndProfile!=null&&E.changeUserAndProfile==="userAndProfile"}function Mn(t,e,i){var r="";var u="name";var 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="'+Q("title-text-notifications")+'" href="'+H+'"><div class="widget_icon_notification" aria-hidden></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Q("title-text-notifications")+'</span><span class="notification-number-detail"></span></div></a>'+"</li>"}var f={dev01:"https://serviceint1.post.ch/kvm/app/ui",dev02:"https://serviceint1.post.ch/kvm/app/ui",devs1:"https://serviceint1.post.ch/kvm/app/ui",test:"https://serviceint1.post.ch/kvm/app/ui",int01:"https://serviceint1.post.ch/kvm/app/ui",int02:"https://serviceint2.post.ch/kvm/app/ui",prod:"https://service.post.ch/kvm/app/ui"};var s="".concat(f[c],"/settings?lang=").concat(N);r+='\n <li>\n <a class="notification-link" href="'.concat(s,'">\n <div class="widget_icon_settings" aria-hidden></div>\n <div class="linkContainer">\n <span class="klp-widget-notification-link-text">').concat(U[N].settings,"</span>\n </div>\n </a>\n </li>\n ");var a="";if(_n()){a="<li>"+'<a id="klp-widget-authenticated-menu-changecompany" class="notification-link" tabindex="'+nn("change-company")+'" '+V("change-company")+' href="about:blank" role="button" title="'+Q("change-company")+'"><div class="widget_icon_changecompany"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Q("change-company")+"</span></div></a>"+"</li>"}else if(Ln()){a="<li>"+'<a id="klp-widget-authenticated-menu-changecompany" class="notification-link" tabindex="'+nn("change-account")+'" '+V("change-company")+' href="about:blank" role="button" title="'+Q("change-account")+'"><div class="widget_icon_changecompany"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Q("change-account")+"</span></div></a>"+"</li>"}return'<div class="klp-widget-authenticated-menu" id="authenticated-menu" data-dropdown-toggler="klp-widget__user" style="display: none">'+"<ul>"+r+a+"<li>"+'<a id="klp-widget-authenticated-menu-logout" class="notification-link" tabindex="'+nn("sign-out")+'" '+V("sign-out")+' title="'+Q("sign-out")+'" href="about:blank" role="button"><div class="widget_icon_logout"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Q("sign-out")+"</span></div></a>"+"</li>"+"</ul>"+"</div>"}function Dn(n,t){switch(t){case A:Pn(n);mn(n,A);break;default:X("Unknown documentType received: "+t)}if(typeof O[t]=="function"){O[t](n)}}function Un(n){switch(n){case A:yn(A);break;default:X("Unknown documentType received: "+n)}if(typeof O[n]=="function"){O[n](undefined)}}function Pn(t){if(t!=null&&n(".notification-number").text()!==t.unreadNotifications){D=t.unreadNotifications;if(D===0){n(".notification-number").css("visibility","hidden")}else{n(".notification-number").css("visibility","visible")}}}function zn(){it(Rn().find("#"+t+" .klp-widget-authenticated-menu"))}function $n(){if(D!==0){if(D>99){Rn().find(".notification-number-detail").css("visibility","visible").text("99+")}else{Rn().find(".notification-number-detail").css("visibility","visible").text(D)}}else{Rn().find(".notification-number-detail").css("visibility","hidden")}}function qn(){return typeof E!=="undefined"}function Jn(){if(!qn()){return"NONE"}return E.userType}function Wn(){if(!qn()){return"NONE"}return E.authLevel}function Hn(n){if(n!==undefined){u=n;tt();X("Widget appLoginURL has been replaced with "+u)}}function Kn(t){if(t!==undefined){$=n.extend($,t);tt()}X("Widget has been updated")}function Bn(n,t,e){E=n;tt();Sn();ln(t);if(e&&typeof j=="function"){j();X("loginCallback has been called: "+j)}}function Xn(){E=undefined;C=undefined;dn();wn();tt();En();if(typeof T=="function"){T()}}function Gn(){if(x){x.registerHandler(C,(function(n,t){Yn(n)}))}}function Yn(n){X("Message received: "+JSON.stringify(n));G(n);S=false;switch(n.typ){case"ukn":if(n.sub){S=true;Xn();Qn()}else{Xn()}break;case"sub":C=n.adr;Bn(n.data,n.ttl,false);Vn();break;case"hi":Bn(n.data,n.ttl,true);yn(A);break;case"bye":Xn();break;case"doc":Dn(n.doc,n.doctyp);break;case"rem":Un(n.doctyp);break;default:X("Unknown event received: "+n.typ);Xn();break}}function Zn(){if(hn()){return null!=pn()}else{return true}}function Qn(){if(!C){if(Zn()){X("Subscribing to get an address");var n=(new Date).getTime();fetch(z.subscribe,{method:"GET",credentials:"include",mode:"cors"}).then((function(n){return n.json()})).then((function(n){return Yn(n)})).catch((function(n){X("Failed to subscribe: "+n.message);Xn();tt()}));Y("subscribe()",(new Date).getTime()-n)}else{X("Control cookie not found, skipping subscription");tt()}}else{X("Address available, skipping subscription");Vn()}}function Vn(){if(!x){x=new r.EventBus(z.eventbus,{debug:$.debug,devel:$.debug});x.onopen=function(){X("EventBus opened");Gn();n(window).on("beforeunload",nt)};x.onclose=function(){X("EventBus closed");X("Communication closed with retrySubscribeOnFail="+S+". Retrying subscribe");x=null;n(window).off("beforeunload",nt);if(S){S=false;C=undefined;Qn()}}}}function nt(){if(x){x.close()}}function tt(){if(typeof E!=="undefined"){Nn()}else{In()}document.dispatchEvent(new CustomEvent("wepploginwidget_widget_ready"));On()}function et(){Qn();if($.keepAliveOnInit&&qn()){Fn()}Tn()}function it(e){if(e.is(":visible")){Rn().find("#"+t).removeClass("bubble");rt();return}rt();Rn().find("."+e.attr("data-dropdown-toggler")).attr("aria-expanded",true);Rn().find("#"+t).addClass("bubble");e.show();n(document).on("click",rt);if(e.hasClass("klp-widget-authenticated-menu")){e.parent().removeClass("klp-widget-menu-close").addClass("klp-widget-menu-open")}}function rt(n){if(n!=null){if(Rn().find(n.target).parents("#"+t).length>0){return}}Rn().find(document).off("click",rt);Rn().find("#"+t).removeClass("bubble");Rn().find("#"+t+" .klp-widget-authenticated-menu").hide().parent().removeClass("klp-widget-menu-open").addClass("klp-widget-menu-close");Rn().find("."+Rn().find("#"+t+" .klp-widget-authenticated-menu").attr("data-dropdown-toggler")).attr("aria-expanded",false)}function ut(){Rn().find(".klp-widget__user").on("keydown",(function(n){if(n.which<37||n.which>40){return}n.preventDefault();var t=Rn().find(this).parent();var e=Rn().find("."+Rn().find(this).attr("data-dropdown"));switch(n.which){case 37:if(t.prev().length){t.prev().find("a").focus()}if(e.is(":visible")){Rn().find(this).click()}break;case 38:if(e.is(":visible")){Rn().find(this).click()}break;case 39:if(t.next().length){t.next().find("a").focus()}if(e.is(":visible")){Rn().find(this).click()}break;case 40:if(!e.is(":visible")){Rn().find(this).click()}e.find("li:first a").focus();break}}));Rn().find(".klp-widget-authenticated-menu").on("keydown","a",(function(n){if(n.which<37||n.which>40){return}n.preventDefault();var t=Rn().find(this).parent();var e=Rn().find("."+Rn().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}rt()}))}et();return{keepAliveSessions:function(){jn()},isUserAuthenticated:function(){return qn()},getUserType:function(){return Jn()},getCurrentAuthLevel:function(){return Wn()},changeAppLoginURL:function(n){Hn(n)},updateWidget:function(n){Kn(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){$.debug=n}}}})(i);var u=n("initializeKLPLoginWidget",(function(n,t){if(t===undefined)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)}}))}}}));
|
|
11
|
+
*/(function(n){(function(t,e){{n.exports=t.document?e(t,true):function(n){if(!n.document){throw new Error("jQuery requires a window with a document")}return e(n)}}})(typeof window!=="undefined"?window:t,(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 v=function n(t){return typeof t==="function"&&typeof t.nodeType!=="number"&&typeof t.item!=="function"};var p=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.7.1 -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=/HTML$/i,x=function(n,t){return new x.fn.init(n,t)};x.fn=x.prototype={jquery:y,constructor:x,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=x.merge(this.constructor(),n);t.prevObject=this;return t},each:function(n){return x.each(this,n)},map:function(n){return this.pushStack(x.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(x.grep(this,(function(n,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.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};x.extend=x.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"&&!v(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&&(x.isPlainObject(i)||(r=Array.isArray(i)))){e=o[t];if(r&&!Array.isArray(e)){u=[]}else if(!r&&!x.isPlainObject(e)){u={}}else{u=e}r=false;o[t]=x.extend(a,u,i)}else if(i!==undefined){o[t]=i}}}}return o};x.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(C(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},text:function(n){var t,e="",i=0,r=n.nodeType;if(!r){while(t=n[i++]){e+=x.text(t)}}if(r===1||r===11){return n.textContent}if(r===9){return n.documentElement.textContent}if(r===3||r===4){return n.nodeValue}return e},makeArray:function(n,t){var e=t||[];if(n!=null){if(C(Object(n))){x.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)},isXMLDoc:function(n){var t=n&&n.namespaceURI,e=n&&(n.ownerDocument||n).documentElement;return!k.test(t||e&&e.nodeName||"HTML")},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(C(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"){x.fn[Symbol.iterator]=e[Symbol.iterator]}x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(n,t){s["[object "+t+"]"]=t.toLowerCase()}));function C(n){var t=!!n&&"length"in n&&n.length,e=w(n);if(v(n)||p(n)){return false}return e==="array"||t===0||typeof t==="number"&&t>0&&t-1 in n}function S(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}var E=e.pop;var j=e.sort;var F=e.splice;var T="[\\x20\\t\\r\\n\\f]";var O=new RegExp("^"+T+"+|((?:^|[^\\\\])(?:\\\\.)*)"+T+"+$","g");x.contains=function(n,t){var e=t&&t.parentNode;return n===e||!!(e&&e.nodeType===1&&(n.contains?n.contains(e):n.compareDocumentPosition&&n.compareDocumentPosition(e)&16))};var A=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function R(n,t){if(t){if(n==="\0"){return"�"}return n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" "}return"\\"+n}x.escapeSelector=function(n){return(n+"").replace(A,R)};var I=g,N=o;(function(){var t,i,u,o,s,a=N,l,d,v,p,g,b=x.expando,m=0,w=0,y=tn(),k=tn(),C=tn(),A=tn(),R=function(n,t){if(n===t){s=true}return 0},_="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|"+"loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\["+T+"*("+L+")(?:"+T+"*([*^$|!~]?=)"+T+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+T+"*\\]",D=":("+L+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|"+".*"+")\\)|)",U=new RegExp(T+"+","g"),P=new RegExp("^"+T+"*,"+T+"*"),z=new RegExp("^"+T+"*([>+~]|"+T+")"+T+"*"),$=new RegExp(T+"|>"),q=new RegExp(D),J=new RegExp("^"+L+"$"),W={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+D),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+T+"*(even|odd|(([+-]|)(\\d*)n|)"+T+"*(?:([+-]|)"+T+"*(\\d+)|))"+T+"*\\)|)","i"),bool:new RegExp("^(?:"+_+")$","i"),needsContext:new RegExp("^"+T+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+T+"*((?:-\\d)?\\d*)"+T+"*\\)|)(?=[^-]|$)","i")},H=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,B=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,G=new RegExp("\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\([^\\r\\n\\f])","g"),Y=function(n,t){var e="0x"+n.slice(1)-65536;if(t){return t}return e<0?String.fromCharCode(e+65536):String.fromCharCode(e>>10|55296,e&1023|56320)},Z=function(){cn()},Q=vn((function(n){return n.disabled===true&&S(n,"fieldset")}),{dir:"parentNode",next:"legend"});function V(){try{return l.activeElement}catch(n){}}try{a.apply(e=r.call(I.childNodes),I.childNodes)}catch(n){a={apply:function(n,t){N.apply(n,r.call(t))},call:function(n){N.apply(n,r.call(arguments,1))}}}function nn(n,t,e,i){var r,u,o,f,s,c,d,g=t&&t.ownerDocument,m=t?t.nodeType:9;e=e||[];if(typeof n!=="string"||!n||m!==1&&m!==9&&m!==11){return e}if(!i){cn(t);t=t||l;if(v){if(m!==11&&(s=B.exec(n))){if(r=s[1]){if(m===9){if(o=t.getElementById(r)){if(o.id===r){a.call(e,o);return e}}else{return e}}else{if(g&&(o=g.getElementById(r))&&nn.contains(t,o)&&o.id===r){a.call(e,o);return e}}}else if(s[2]){a.apply(e,t.getElementsByTagName(n));return e}else if((r=s[3])&&t.getElementsByClassName){a.apply(e,t.getElementsByClassName(r));return e}}if(!A[n+" "]&&(!p||!p.test(n))){d=n;g=t;if(m===1&&($.test(n)||z.test(n))){g=X.test(n)&&an(t.parentNode)||t;if(g!=t||!h.scope){if(f=t.getAttribute("id")){f=x.escapeSelector(f)}else{t.setAttribute("id",f=b)}}c=dn(n);u=c.length;while(u--){c[u]=(f?"#"+f:":scope")+" "+hn(c[u])}d=c.join(",")}try{a.apply(e,g.querySelectorAll(d));return e}catch(t){A(n,true)}finally{if(f===b){t.removeAttribute("id")}}}}}return xn(n.replace(O,"$1"),t,e,i)}function tn(){var n=[];function t(e,r){if(n.push(e+" ")>i.cacheLength){delete t[n.shift()]}return t[e+" "]=r}return t}function en(n){n[b]=true;return n}function rn(n){var t=l.createElement("fieldset");try{return!!n(t)}catch(n){return false}finally{if(t.parentNode){t.parentNode.removeChild(t)}t=null}}function un(n){return function(t){return S(t,"input")&&t.type===n}}function on(n){return function(t){return(S(t,"input")||S(t,"button"))&&t.type===n}}function fn(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&&Q(t)===n}return t.disabled===n}else if("label"in t){return t.disabled===n}return false}}function sn(n){return en((function(t){t=+t;return en((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 an(n){return n&&typeof n.getElementsByTagName!=="undefined"&&n}function cn(n){var t,e=n?n.ownerDocument||n:I;if(e==l||e.nodeType!==9||!e.documentElement){return l}l=e;d=l.documentElement;v=!x.isXMLDoc(l);g=d.matches||d.webkitMatchesSelector||d.msMatchesSelector;if(d.msMatchesSelector&&I!=l&&(t=l.defaultView)&&t.top!==t){t.addEventListener("unload",Z)}h.getById=rn((function(n){d.appendChild(n).id=x.expando;return!l.getElementsByName||!l.getElementsByName(x.expando).length}));h.disconnectedMatch=rn((function(n){return g.call(n,"*")}));h.scope=rn((function(){return l.querySelectorAll(":scope")}));h.cssHas=rn((function(){try{l.querySelector(":has(*,:jqfake)");return false}catch(n){return true}}));if(h.getById){i.filter.ID=function(n){var t=n.replace(G,Y);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(G,Y);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=function(n,t){if(typeof t.getElementsByTagName!=="undefined"){return t.getElementsByTagName(n)}else{return t.querySelectorAll(n)}};i.find.CLASS=function(n,t){if(typeof t.getElementsByClassName!=="undefined"&&v){return t.getElementsByClassName(n)}};p=[];rn((function(n){var t;d.appendChild(n).innerHTML="<a id='"+b+"' href='' disabled='disabled'></a>"+"<select id='"+b+"-\r\\' disabled='disabled'>"+"<option selected=''></option></select>";if(!n.querySelectorAll("[selected]").length){p.push("\\["+T+"*(?:value|"+_+")")}if(!n.querySelectorAll("[id~="+b+"-]").length){p.push("~=")}if(!n.querySelectorAll("a#"+b+"+*").length){p.push(".#.+[+~]")}if(!n.querySelectorAll(":checked").length){p.push(":checked")}t=l.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");d.appendChild(n).disabled=true;if(n.querySelectorAll(":disabled").length!==2){p.push(":enabled",":disabled")}t=l.createElement("input");t.setAttribute("name","");n.appendChild(t);if(!n.querySelectorAll("[name='']").length){p.push("\\["+T+"*name"+T+"*="+T+"*(?:''|\"\")")}}));if(!h.cssHas){p.push(":has")}p=p.length&&new RegExp(p.join("|"));R=function(n,t){if(n===t){s=true;return 0}var e=!n.compareDocumentPosition-!t.compareDocumentPosition;if(e){return e}e=(n.ownerDocument||n)==(t.ownerDocument||t)?n.compareDocumentPosition(t):1;if(e&1||!h.sortDetached&&t.compareDocumentPosition(n)===e){if(n===l||n.ownerDocument==I&&nn.contains(I,n)){return-1}if(t===l||t.ownerDocument==I&&nn.contains(I,t)){return 1}return o?f.call(o,n)-f.call(o,t):0}return e&4?-1:1};return l}nn.matches=function(n,t){return nn(n,null,null,t)};nn.matchesSelector=function(n,t){cn(n);if(v&&!A[t+" "]&&(!p||!p.test(t))){try{var e=g.call(n,t);if(e||h.disconnectedMatch||n.document&&n.document.nodeType!==11){return e}}catch(n){A(t,true)}}return nn(t,l,null,[n]).length>0};nn.contains=function(n,t){if((n.ownerDocument||n)!=l){cn(n)}return x.contains(n,t)};nn.attr=function(n,t){if((n.ownerDocument||n)!=l){cn(n)}var e=i.attrHandle[t.toLowerCase()],r=e&&c.call(i.attrHandle,t.toLowerCase())?e(n,t,!v):undefined;if(r!==undefined){return r}return n.getAttribute(t)};nn.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n)};x.uniqueSort=function(n){var t,e=[],i=0,u=0;s=!h.sortStable;o=!h.sortStable&&r.call(n,0);j.call(n,R);if(s){while(t=n[u++]){if(t===n[u]){i=e.push(u)}}while(i--){F.call(n,e[i],1)}}o=null;return n};x.fn.uniqueSort=function(){return this.pushStack(x.uniqueSort(r.apply(this)))};i=x.expr={cacheLength:50,createPseudo:en,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){n[1]=n[1].replace(G,Y);n[3]=(n[3]||n[4]||n[5]||"").replace(G,Y);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]){nn.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]){nn.error(n[0])}return n},PSEUDO:function(n){var t,e=!n[6]&&n[2];if(W.CHILD.test(n[0])){return null}if(n[3]){n[2]=n[4]||n[5]||""}else if(e&&q.test(e)&&(t=dn(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(G,Y).toLowerCase();return n==="*"?function(){return true}:function(n){return S(n,t)}},CLASS:function(n){var t=y[n+" "];return t||(t=new RegExp("(^|"+T+")"+n+"("+T+"|$)"))&&y(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=nn.attr(i,n);if(r==null){return t==="!="}if(!t){return true}r+="";if(t==="="){return r===e}if(t==="!="){return r!==e}if(t==="^="){return e&&r.indexOf(e)===0}if(t==="*="){return e&&r.indexOf(e)>-1}if(t==="$="){return e&&r.slice(-e.length)===e}if(t==="~="){return(" "+r.replace(U," ")+" ").indexOf(e)>-1}if(t==="|="){return r===e||r.slice(0,e.length+1)===e+"-"}return 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,v=u!==o?"nextSibling":"previousSibling",p=t.parentNode,g=f&&t.nodeName.toLowerCase(),w=!s&&!f,y=false;if(p){if(u){while(v){l=t;while(l=l[v]){if(f?S(l,g):l.nodeType===1){return false}}h=v=n==="only"&&!h&&"nextSibling"}return true}h=[o?p.firstChild:p.lastChild];if(o&&w){c=p[b]||(p[b]={});a=c[n]||[];d=a[0]===m&&a[1];y=d&&a[2];l=d&&p.childNodes[d];while(l=++d&&l&&l[v]||(y=d=0)||h.pop()){if(l.nodeType===1&&++y&&l===t){c[n]=[m,d,y];break}}}else{if(w){c=t[b]||(t[b]={});a=c[n]||[];d=a[0]===m&&a[1];y=d}if(y===false){while(l=++d&&l&&l[v]||(y=d=0)||h.pop()){if((f?S(l,g):l.nodeType===1)&&++y){if(w){c=l[b]||(l[b]={});c[n]=[m,y]}if(l===t){break}}}}}y-=r;return y===i||y%i===0&&y/i>=0}}},PSEUDO:function(n,t){var e,r=i.pseudos[n]||i.setFilters[n.toLowerCase()]||nn.error("unsupported pseudo: "+n);if(r[b]){return r(t)}if(r.length>1){e=[n,n,"",t];return i.setFilters.hasOwnProperty(n.toLowerCase())?en((function(n,e){var i,u=r(n,t),o=u.length;while(o--){i=f.call(n,u[o]);n[i]=!(e[i]=u[o])}})):function(n){return r(n,0,e)}}return r}},pseudos:{not:en((function(n){var t=[],e=[],i=kn(n.replace(O,"$1"));return i[b]?en((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:en((function(n){return function(t){return nn(n,t).length>0}})),contains:en((function(n){n=n.replace(G,Y);return function(t){return(t.textContent||x.text(t)).indexOf(n)>-1}})),lang:en((function(n){if(!J.test(n||"")){nn.error("unsupported lang: "+n)}n=n.replace(G,Y).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===d},focus:function(n){return n===V()&&l.hasFocus()&&!!(n.type||n.href||~n.tabIndex)},enabled:fn(false),disabled:fn(true),checked:function(n){return S(n,"input")&&!!n.checked||S(n,"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 K.test(n.nodeName)},input:function(n){return H.test(n.nodeName)},button:function(n){return S(n,"input")&&n.type==="button"||S(n,"button")},text:function(n){var t;return S(n,"input")&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:sn((function(){return[0]})),last:sn((function(n,t){return[t-1]})),eq:sn((function(n,t,e){return[e<0?e+t:e]})),even:sn((function(n,t){var e=0;for(;e<t;e+=2){n.push(e)}return n})),odd:sn((function(n,t){var e=1;for(;e<t;e+=2){n.push(e)}return n})),lt:sn((function(n,t,e){var i;if(e<0){i=e+t}else if(e>t){i=t}else{i=e}for(;--i>=0;){n.push(i)}return n})),gt:sn((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]=un(t)}for(t in{submit:true,reset:true}){i.pseudos[t]=on(t)}function ln(){}ln.prototype=i.filters=i.pseudos;i.setFilters=new ln;function dn(n,t){var e,r,u,o,f,s,a,c=k[n+" "];if(c){return t?0:c.slice(0)}f=n;s=[];a=i.preFilter;while(f){if(!e||(r=P.exec(f))){if(r){f=f.slice(r[0].length)||f}s.push(u=[])}e=false;if(r=z.exec(f)){e=r.shift();u.push({value:e,type:r[0].replace(O," ")});f=f.slice(e.length)}for(o in i.filter){if((r=W[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}}if(t){return f.length}return f?nn.error(n):k(n,s).slice(0)}function hn(n){var t=0,e=n.length,i="";for(;t<e;t++){i+=n[t].value}return i}function vn(n,t,e){var i=t.dir,r=t.next,u=r||i,o=e&&u==="parentNode",f=w++;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=[m,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){c=t[b]||(t[b]={});if(r&&S(t,r)){t=t[i]||t}else if((a=c[u])&&a[0]===m&&a[1]===f){return l[2]=a[2]}else{c[u]=l;if(l[2]=n(t,e,s)){return true}}}}}return false}}function pn(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 gn(n,t,e){var i=0,r=t.length;for(;i<r;i++){nn(n,t[i],e)}return e}function bn(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 mn(n,t,e,i,r,u){if(i&&!i[b]){i=mn(i)}if(r&&!r[b]){r=mn(r,u)}return en((function(u,o,s,c){var l,d,h,v,p=[],g=[],b=o.length,m=u||gn(t||"*",s.nodeType?[s]:s,[]),w=n&&(u||!t)?bn(m,p,n,s,c):m;if(e){v=r||(u?n:b||i)?[]:o;e(w,v,s,c)}else{v=w}if(i){l=bn(v,g);i(l,[],s,c);d=l.length;while(d--){if(h=l[d]){v[g[d]]=!(w[g[d]]=h)}}}if(u){if(r||n){if(r){l=[];d=v.length;while(d--){if(h=v[d]){l.push(w[d]=h)}}r(null,v=[],l,c)}d=v.length;while(d--){if((h=v[d])&&(l=r?f.call(u,h):p[d])>-1){u[l]=!(o[l]=h)}}}}else{v=bn(v===o?v.splice(b,v.length):v);if(r){r(null,o,v,c)}else{a.apply(o,v)}}}))}function wn(n){var t,e,r,o=n.length,s=i.relative[n[0].type],a=s||i.relative[" "],c=s?1:0,l=vn((function(n){return n===t}),a,true),d=vn((function(n){return f.call(t,n)>-1}),a,true),h=[function(n,e,i){var r=!s&&(i||e!=u)||((t=e).nodeType?l(n,e,i):d(n,e,i));t=null;return r}];for(;c<o;c++){if(e=i.relative[n[c].type]){h=[vn(pn(h),e)]}else{e=i.filter[n[c].type].apply(null,n[c].matches);if(e[b]){r=++c;for(;r<o;r++){if(i.relative[n[r].type]){break}}return mn(c>1&&pn(h),c>1&&hn(n.slice(0,c-1).concat({value:n[c-2].type===" "?"*":""})).replace(O,"$1"),e,c<r&&wn(n.slice(c,r)),r<o&&wn(n=n.slice(r)),r<o&&hn(n))}h.push(e)}}return pn(h)}function yn(n,t){var e=t.length>0,r=n.length>0,o=function(o,f,s,c,d){var h,p,g,b=0,w="0",y=o&&[],k=[],C=u,S=o||r&&i.find.TAG("*",d),j=m+=C==null?1:Math.random()||.1,F=S.length;if(d){u=f==l||f||d}for(;w!==F&&(h=S[w])!=null;w++){if(r&&h){p=0;if(!f&&h.ownerDocument!=l){cn(h);s=!v}while(g=n[p++]){if(g(h,f||l,s)){a.call(c,h);break}}if(d){m=j}}if(e){if(h=!g&&h){b--}if(o){y.push(h)}}}b+=w;if(e&&w!==b){p=0;while(g=t[p++]){g(y,k,f,s)}if(o){if(b>0){while(w--){if(!(y[w]||k[w])){k[w]=E.call(c)}}}k=bn(k)}a.apply(c,k);if(d&&!o&&k.length>0&&b+t.length>1){x.uniqueSort(c)}}if(d){m=j;u=C}return y};return e?en(o):o}function kn(n,t){var e,i=[],r=[],u=C[n+" "];if(!u){if(!t){t=dn(n)}e=t.length;while(e--){u=wn(t[e]);if(u[b]){i.push(u)}else{r.push(u)}}u=C(n,yn(r,i));u.selector=n}return u}function xn(n,t,e,r){var u,o,f,s,c,l=typeof n==="function"&&n,d=!r&&dn(n=l.selector||n);e=e||[];if(d.length===1){o=d[0]=d[0].slice(0);if(o.length>2&&(f=o[0]).type==="ID"&&t.nodeType===9&&v&&i.relative[o[1].type]){t=(i.find.ID(f.matches[0].replace(G,Y),t)||[])[0];if(!t){return e}else if(l){t=t.parentNode}n=n.slice(o.shift().value.length)}u=W.needsContext.test(n)?0:o.length;while(u--){f=o[u];if(i.relative[s=f.type]){break}if(c=i.find[s]){if(r=c(f.matches[0].replace(G,Y),X.test(o[0].type)&&an(t.parentNode)||t)){o.splice(u,1);n=r.length&&hn(o);if(!n){a.apply(e,r);return e}break}}}}(l||kn(n,d))(r,t,!v,e,!t||X.test(n)&&an(t.parentNode)||t);return e}h.sortStable=b.split("").sort(R).join("")===b;cn();h.sortDetached=rn((function(n){return n.compareDocumentPosition(l.createElement("fieldset"))&1}));x.find=nn;x.expr[":"]=x.expr.pseudos;x.unique=x.uniqueSort;nn.compile=kn;nn.select=xn;nn.setDocument=cn;nn.tokenize=dn;nn.escape=x.escapeSelector;nn.getText=x.text;nn.isXML=x.isXMLDoc;nn.selectors=x.expr;nn.support=x.support;nn.uniqueSort=x.uniqueSort})();var _=function(n,t,e){var i=[],r=e!==undefined;while((n=n[t])&&n.nodeType!==9){if(n.nodeType===1){if(r&&x(n).is(e)){break}i.push(n)}}return i};var L=function(n,t){var e=[];for(;n;n=n.nextSibling){if(n.nodeType===1&&n!==t){e.push(n)}}return e};var M=x.expr.match.needsContext;var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function U(n,t,e){if(v(t)){return x.grep(n,(function(n,i){return!!t.call(n,i,n)!==e}))}if(t.nodeType){return x.grep(n,(function(n){return n===t!==e}))}if(typeof t!=="string"){return x.grep(n,(function(n){return f.call(t,n)>-1!==e}))}return x.filter(t,n,e)}x.filter=function(n,t,e){var i=t[0];if(e){n=":not("+n+")"}if(t.length===1&&i.nodeType===1){return x.find.matchesSelector(i,n)?[i]:[]}return x.find.matches(n,x.grep(t,(function(n){return n.nodeType===1})))};x.fn.extend({find:function(n){var t,e,i=this.length,r=this;if(typeof n!=="string"){return this.pushStack(x(n).filter((function(){for(t=0;t<i;t++){if(x.contains(r[t],this)){return true}}})))}e=this.pushStack([]);for(t=0;t<i;t++){x.find(n,r[t],e)}return i>1?x.uniqueSort(e):e},filter:function(n){return this.pushStack(U(this,n||[],false))},not:function(n){return this.pushStack(U(this,n||[],true))},is:function(n){return!!U(this,typeof n==="string"&&M.test(n)?x(n):n||[],false).length}});var P,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,$=x.fn.init=function(n,t,e){var i,r;if(!n){return this}e=e||P;if(typeof n==="string"){if(n[0]==="<"&&n[n.length-1]===">"&&n.length>=3){i=[null,n,null]}else{i=z.exec(n)}if(i&&(i[1]||!t)){if(i[1]){t=t instanceof x?t[0]:t;x.merge(this,x.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:g,true));if(D.test(i[1])&&x.isPlainObject(t)){for(i in t){if(v(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(v(n)){return e.ready!==undefined?e.ready(n):n(x)}return x.makeArray(n,this)};$.prototype=x.fn;P=x(g);var q=/^(?:parents|prev(?:Until|All))/,J={children:true,contents:true,next:true,prev:true};x.fn.extend({has:function(n){var t=x(n,this),e=t.length;return this.filter((function(){var n=0;for(;n<e;n++){if(x.contains(this,t[n])){return true}}}))},closest:function(n,t){var e,i=0,r=this.length,u=[],o=typeof n!=="string"&&x(n);if(!M.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&&x.find.matchesSelector(e,n))){u.push(e);break}}}}return this.pushStack(u.length>1?x.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(x(n),this[0])}return f.call(this,n.jquery?n[0]:n)},add:function(n,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});function W(n,t){while((n=n[t])&&n.nodeType!==1){}return n}x.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return _(n,"parentNode")},parentsUntil:function(n,t,e){return _(n,"parentNode",e)},next:function(n){return W(n,"nextSibling")},prev:function(n){return W(n,"previousSibling")},nextAll:function(n){return _(n,"nextSibling")},prevAll:function(n){return _(n,"previousSibling")},nextUntil:function(n,t,e){return _(n,"nextSibling",e)},prevUntil:function(n,t,e){return _(n,"previousSibling",e)},siblings:function(n){return L((n.parentNode||{}).firstChild,n)},children:function(n){return L(n.firstChild)},contents:function(n){if(n.contentDocument!=null&&i(n.contentDocument)){return n.contentDocument}if(S(n,"template")){n=n.content||n}return x.merge([],n.childNodes)}},(function(n,t){x.fn[n]=function(e,i){var r=x.map(this,t,e);if(n.slice(-5)!=="Until"){i=e}if(i&&typeof i==="string"){r=x.filter(i,r)}if(this.length>1){if(!J[n]){x.uniqueSort(r)}if(q.test(n)){r.reverse()}}return this.pushStack(r)}}));var H=/[^\x20\t\r\n\f]+/g;function K(n){var t={};x.each(n.match(H)||[],(function(n,e){t[e]=true}));return t}x.Callbacks=function(n){n=typeof n==="string"?K(n):x.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){x.each(e,(function(e,i){if(v(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(){x.each(arguments,(function(n,t){var e;while((e=x.inArray(t,u,e))>-1){u.splice(e,1);if(e<=f){f--}}}));return this},has:function(n){return n?x.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 B(n){return n}function X(n){throw n}function G(n,t,e,i){var r;try{if(n&&v(r=n.promise)){r.call(n).done(t).fail(e)}else if(n&&v(r=n.then)){r.call(n,t,e)}else{t.apply(undefined,[n].slice(i))}}catch(n){e.apply(undefined,[n])}}x.extend({Deferred:function(t){var e=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.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 x.Deferred((function(t){x.each(e,(function(e,i){var r=v(n[i[4]])&&n[i[4]];u[i[1]]((function(){var n=r&&r.apply(this,arguments);if(n&&v(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(v(a)){if(r){a.call(n,o(u,e,B,r),o(u,e,X,r))}else{u++;a.call(n,o(u,e,B,r),o(u,e,X,r),o(u,e,B,e.notifyWith))}}else{if(i!==B){f=undefined;s=[n]}(r||e.resolveWith)(f,s)}},c=r?a:function(){try{a()}catch(n){if(x.Deferred.exceptionHook){x.Deferred.exceptionHook(n,c.error)}if(t+1>=u){if(i!==X){f=undefined;s=[n]}e.rejectWith(f,s)}}};if(t){c()}else{if(x.Deferred.getErrorHook){c.error=x.Deferred.getErrorHook()}else if(x.Deferred.getStackHook){c.error=x.Deferred.getStackHook()}n.setTimeout(c)}}}return x.Deferred((function(n){e[0][3].add(o(0,n,v(r)?r:B,n.notifyWith));e[1][3].add(o(0,n,v(t)?t:B));e[2][3].add(o(0,n,v(i)?i:X))})).promise()},promise:function(n){return n!=null?x.extend(n,r):r}},u={};x.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=x.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){G(n,o.done(f(e)).resolve,o.reject,!t);if(o.state()==="pending"||v(u[e]&&u[e].then)){return o.then()}}while(e--){G(u[e],f(e),o.reject)}return o.promise()}});var Y=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,e){if(n.console&&n.console.warn&&t&&Y.test(t.name)){n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)}};x.readyException=function(t){n.setTimeout((function(){throw t}))};var Z=x.Deferred();x.fn.ready=function(n){Z.then(n).catch((function(n){x.readyException(n)}));return this};x.extend({isReady:false,readyWait:1,ready:function(n){if(n===true?--x.readyWait:x.isReady){return}x.isReady=true;if(n!==true&&--x.readyWait>0){return}Z.resolveWith(g,[x])}});x.ready.then=Z.then;function Q(){g.removeEventListener("DOMContentLoaded",Q);n.removeEventListener("load",Q);x.ready()}if(g.readyState==="complete"||g.readyState!=="loading"&&!g.documentElement.doScroll){n.setTimeout(x.ready)}else{g.addEventListener("DOMContentLoaded",Q);n.addEventListener("load",Q)}var V=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){V(n,t,f,e[f],true,u,o)}}else if(i!==undefined){r=true;if(!v(i)){o=true}if(a){if(o){t.call(n,i);t=null}else{a=t;t=function(n,t,e){return a.call(x(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 nn=/^-ms-/,tn=/-([a-z])/g;function en(n,t){return t.toUpperCase()}function rn(n){return n.replace(nn,"ms-").replace(tn,en)}var un=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};function on(){this.expando=x.expando+on.uid++}on.uid=1;on.prototype={cache:function(n){var t=n[this.expando];if(!t){t={};if(un(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[rn(t)]=e}else{for(i in t){r[rn(i)]=t[i]}}return r},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][rn(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(rn)}else{t=rn(t);t=t in i?[t]:t.match(H)||[]}e=t.length;while(e--){delete i[t[e]]}}if(t===undefined||x.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&&!x.isEmptyObject(t)}};var fn=new on;var sn=new on;var an=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,cn=/[A-Z]/g;function ln(n){if(n==="true"){return true}if(n==="false"){return false}if(n==="null"){return null}if(n===+n+""){return+n}if(an.test(n)){return JSON.parse(n)}return n}function dn(n,t,e){var i;if(e===undefined&&n.nodeType===1){i="data-"+t.replace(cn,"-$&").toLowerCase();e=n.getAttribute(i);if(typeof e==="string"){try{e=ln(e)}catch(n){}sn.set(n,t,e)}else{e=undefined}}return e}x.extend({hasData:function(n){return sn.hasData(n)||fn.hasData(n)},data:function(n,t,e){return sn.access(n,t,e)},removeData:function(n,t){sn.remove(n,t)},_data:function(n,t,e){return fn.access(n,t,e)},_removeData:function(n,t){fn.remove(n,t)}});x.fn.extend({data:function(n,t){var e,i,r,u=this[0],o=u&&u.attributes;if(n===undefined){if(this.length){r=sn.get(u);if(u.nodeType===1&&!fn.get(u,"hasDataAttrs")){e=o.length;while(e--){if(o[e]){i=o[e].name;if(i.indexOf("data-")===0){i=rn(i.slice(5));dn(u,i,r[i])}}}fn.set(u,"hasDataAttrs",true)}}return r}if(typeof n==="object"){return this.each((function(){sn.set(this,n)}))}return V(this,(function(t){var e;if(u&&t===undefined){e=sn.get(u,n);if(e!==undefined){return e}e=dn(u,n);if(e!==undefined){return e}return}this.each((function(){sn.set(this,n,t)}))}),null,t,arguments.length>1,null,true)},removeData:function(n){return this.each((function(){sn.remove(this,n)}))}});x.extend({queue:function(n,t,e){var i;if(n){t=(t||"fx")+"queue";i=fn.get(n,t);if(e){if(!i||Array.isArray(e)){i=fn.access(n,t,x.makeArray(e))}else{i.push(e)}}return i||[]}},dequeue:function(n,t){t=t||"fx";var e=x.queue(n,t),i=e.length,r=e.shift(),u=x._queueHooks(n,t),o=function(){x.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 fn.get(n,e)||fn.access(n,e,{empty:x.Callbacks("once memory").add((function(){fn.remove(n,[t+"queue",e])}))})}});x.fn.extend({queue:function(n,t){var e=2;if(typeof n!=="string"){t=n;n="fx";e--}if(arguments.length<e){return x.queue(this[0],n)}return t===undefined?this:this.each((function(){var e=x.queue(this,n,t);x._queueHooks(this,n);if(n==="fx"&&e[0]!=="inprogress"){x.dequeue(this,n)}}))},dequeue:function(n){return this.each((function(){x.dequeue(this,n)}))},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var e,i=1,r=x.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=fn.get(u[o],n+"queueHooks");if(e&&e.empty){i++;e.empty.add(f)}}f();return r.promise(t)}});var hn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var vn=new RegExp("^(?:([+-])=|)("+hn+")([a-z%]*)$","i");var pn=["Top","Right","Bottom","Left"];var gn=g.documentElement;var bn=function(n){return x.contains(n.ownerDocument,n)},mn={composed:true};if(gn.getRootNode){bn=function(n){return x.contains(n.ownerDocument,n)||n.getRootNode(mn)===n.ownerDocument}}var wn=function(n,t){n=t||n;return n.style.display==="none"||n.style.display===""&&bn(n)&&x.css(n,"display")==="none"};function yn(n,t,e,i){var r,u,o=20,f=i?function(){return i.cur()}:function(){return x.css(n,t,"")},s=f(),a=e&&e[3]||(x.cssNumber[t]?"":"px"),c=n.nodeType&&(x.cssNumber[t]||a!=="px"&&+s)&&vn.exec(x.css(n,t));if(c&&c[3]!==a){s=s/2;a=a||c[3];c=+s||1;while(o--){x.style(n,t,c+a);if((1-u)*(1-(u=f()/s||.5))<=0){o=0}c=c/u}c=c*2;x.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 kn={};function xn(n){var t,e=n.ownerDocument,i=n.nodeName,r=kn[i];if(r){return r}t=e.body.appendChild(e.createElement(i));r=x.css(t,"display");t.parentNode.removeChild(t);if(r==="none"){r="block"}kn[i]=r;return r}function Cn(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]=fn.get(i,"display")||null;if(!r[u]){i.style.display=""}}if(i.style.display===""&&wn(i)){r[u]=xn(i)}}else{if(e!=="none"){r[u]="none";fn.set(i,"display",e)}}}for(u=0;u<o;u++){if(r[u]!=null){n[u].style.display=r[u]}}return n}x.fn.extend({show:function(){return Cn(this,true)},hide:function(){return Cn(this)},toggle:function(n){if(typeof n==="boolean"){return n?this.show():this.hide()}return this.each((function(){if(wn(this)){x(this).show()}else{x(this).hide()}}))}});var Sn=/^(?:checkbox|radio)$/i;var En=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var jn=/^$|^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 Fn={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,"",""]};Fn.tbody=Fn.tfoot=Fn.colgroup=Fn.caption=Fn.thead;Fn.th=Fn.td;if(!h.option){Fn.optgroup=Fn.option=[1,"<select multiple='multiple'>","</select>"]}function Tn(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&&S(n,t)){return x.merge([n],e)}return e}function On(n,t){var e=0,i=n.length;for(;e<i;e++){fn.set(n[e],"globalEval",!t||fn.get(t[e],"globalEval"))}}var An=/<|&#?\w+;/;function Rn(n,t,e,i,r){var u,o,f,s,a,c,l=t.createDocumentFragment(),d=[],h=0,v=n.length;for(;h<v;h++){u=n[h];if(u||u===0){if(w(u)==="object"){x.merge(d,u.nodeType?[u]:u)}else if(!An.test(u)){d.push(t.createTextNode(u))}else{o=o||l.appendChild(t.createElement("div"));f=(En.exec(u)||["",""])[1].toLowerCase();s=Fn[f]||Fn._default;o.innerHTML=s[1]+x.htmlPrefilter(u)+s[2];c=s[0];while(c--){o=o.lastChild}x.merge(d,o.childNodes);o=l.firstChild;o.textContent=""}}}l.textContent="";h=0;while(u=d[h++]){if(i&&x.inArray(u,i)>-1){if(r){r.push(u)}continue}a=bn(u);o=Tn(l.appendChild(u),"script");if(a){On(o)}if(e){c=0;while(u=o[c++]){if(jn.test(u.type||"")){e.push(u)}}}}return l}var In=/^([^.]*)(?:\.(.+)|)/;function Nn(){return true}function _n(){return false}function Ln(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){Ln(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=_n}else if(!r){return n}if(u===1){o=r;r=function(n){x().off(n);return o.apply(this,arguments)};r.guid=o.guid||(o.guid=x.guid++)}return n.each((function(){x.event.add(this,t,r,i,e)}))}x.event={global:{},add:function(n,t,e,i,r){var u,o,f,s,a,c,l,d,h,v,p,g=fn.get(n);if(!un(n)){return}if(e.handler){u=e;e=u.handler;r=u.selector}if(r){x.find.matchesSelector(gn,r)}if(!e.guid){e.guid=x.guid++}if(!(s=g.events)){s=g.events=Object.create(null)}if(!(o=g.handle)){o=g.handle=function(t){return typeof x!=="undefined"&&x.event.triggered!==t.type?x.event.dispatch.apply(n,arguments):undefined}}t=(t||"").match(H)||[""];a=t.length;while(a--){f=In.exec(t[a])||[];h=p=f[1];v=(f[2]||"").split(".").sort();if(!h){continue}l=x.event.special[h]||{};h=(r?l.delegateType:l.bindType)||h;l=x.event.special[h]||{};c=x.extend({type:h,origType:p,data:i,handler:e,guid:e.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:v.join(".")},u);if(!(d=s[h])){d=s[h]=[];d.delegateCount=0;if(!l.setup||l.setup.call(n,i,v,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)}x.event.global[h]=true}},remove:function(n,t,e,i,r){var u,o,f,s,a,c,l,d,h,v,p,g=fn.hasData(n)&&fn.get(n);if(!g||!(s=g.events)){return}t=(t||"").match(H)||[""];a=t.length;while(a--){f=In.exec(t[a])||[];h=p=f[1];v=(f[2]||"").split(".").sort();if(!h){for(h in s){x.event.remove(n,h+t[a],e,i,true)}continue}l=x.event.special[h]||{};h=(i?l.delegateType:l.bindType)||h;d=s[h]||[];f=f[2]&&new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)");o=u=d.length;while(u--){c=d[u];if((r||p===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,v,g.handle)===false){x.removeEvent(n,h,g.handle)}delete s[h]}}if(x.isEmptyObject(s)){fn.remove(n,"handle events")}},dispatch:function(n){var t,e,i,r,u,o,f=new Array(arguments.length),s=x.event.fix(n),a=(fn.get(this,"events")||Object.create(null))[s.type]||[],c=x.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=x.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=((x.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?x(r,this).index(a)>-1:x.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(x.Event.prototype,n,{enumerable:true,configurable:true,get:v(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[x.expando]?n:new x.Event(n)},special:{load:{noBubble:true},click:{setup:function(n){var t=this||n;if(Sn.test(t.type)&&t.click&&S(t,"input")){Mn(t,"click",true)}return false},trigger:function(n){var t=this||n;if(Sn.test(t.type)&&t.click&&S(t,"input")){Mn(t,"click")}return true},_default:function(n){var t=n.target;return Sn.test(t.type)&&t.click&&S(t,"input")&&fn.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(n){if(n.result!==undefined&&n.originalEvent){n.originalEvent.returnValue=n.result}}}}};function Mn(n,t,e){if(!e){if(fn.get(n,t)===undefined){x.event.add(n,t,Nn)}return}fn.set(n,t,false);x.event.add(n,t,{namespace:false,handler:function(n){var e,i=fn.get(this,t);if(n.isTrigger&1&&this[t]){if(!i){i=r.call(arguments);fn.set(this,t,i);this[t]();e=fn.get(this,t);fn.set(this,t,false);if(i!==e){n.stopImmediatePropagation();n.preventDefault();return e}}else if((x.event.special[t]||{}).delegateType){n.stopPropagation()}}else if(i){fn.set(this,t,x.event.trigger(i[0],i.slice(1),this));n.stopPropagation();n.isImmediatePropagationStopped=Nn}}})}x.removeEvent=function(n,t,e){if(n.removeEventListener){n.removeEventListener(t,e)}};x.Event=function(n,t){if(!(this instanceof x.Event)){return new x.Event(n,t)}if(n&&n.type){this.originalEvent=n;this.type=n.type;this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===false?Nn:_n;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){x.extend(this,t)}this.timeStamp=n&&n.timeStamp||Date.now();this[x.expando]=true};x.Event.prototype={constructor:x.Event,isDefaultPrevented:_n,isPropagationStopped:_n,isImmediatePropagationStopped:_n,isSimulated:false,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=Nn;if(n&&!this.isSimulated){n.preventDefault()}},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=Nn;if(n&&!this.isSimulated){n.stopPropagation()}},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=Nn;if(n&&!this.isSimulated){n.stopImmediatePropagation()}this.stopPropagation()}};x.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},x.event.addProp);x.each({focus:"focusin",blur:"focusout"},(function(n,t){function e(n){if(g.documentMode){var e=fn.get(this,"handle"),i=x.event.fix(n);i.type=n.type==="focusin"?"focus":"blur";i.isSimulated=true;e(n);if(i.target===i.currentTarget){e(i)}}else{x.event.simulate(t,n.target,x.event.fix(n))}}x.event.special[n]={setup:function(){var i;Mn(this,n,true);if(g.documentMode){i=fn.get(this,t);if(!i){this.addEventListener(t,e)}fn.set(this,t,(i||0)+1)}else{return false}},trigger:function(){Mn(this,n);return true},teardown:function(){var n;if(g.documentMode){n=fn.get(this,t)-1;if(!n){this.removeEventListener(t,e);fn.remove(this,t)}else{fn.set(this,t,n)}}else{return false}},_default:function(t){return fn.get(t.target,n)},delegateType:t};x.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=g.documentMode?this:i,u=fn.get(r,t);if(!u){if(g.documentMode){this.addEventListener(t,e)}else{i.addEventListener(n,e,true)}}fn.set(r,t,(u||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=g.documentMode?this:i,u=fn.get(r,t)-1;if(!u){if(g.documentMode){this.removeEventListener(t,e)}else{i.removeEventListener(n,e,true)}fn.remove(r,t)}else{fn.set(r,t,u)}}}}));x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(n,t){x.event.special[n]={delegateType:t,bindType:t,handle:function(n){var e,i=this,r=n.relatedTarget,u=n.handleObj;if(!r||r!==i&&!x.contains(i,r)){n.type=u.origType;e=u.handler.apply(this,arguments);n.type=t}return e}}}));x.fn.extend({on:function(n,t,e,i){return Ln(this,n,t,e,i)},one:function(n,t,e,i){return Ln(this,n,t,e,i,1)},off:function(n,t,e){var i,r;if(n&&n.preventDefault&&n.handleObj){i=n.handleObj;x(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=_n}return this.each((function(){x.event.remove(this,n,e,t)}))}});var Dn=/<script|<style|<link/i,Un=/checked\s*(?:[^=]|=\s*.checked.)/i,Pn=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function zn(n,t){if(S(n,"table")&&S(t.nodeType!==11?t:t.firstChild,"tr")){return x(n).children("tbody")[0]||n}return n}function $n(n){n.type=(n.getAttribute("type")!==null)+"/"+n.type;return n}function qn(n){if((n.type||"").slice(0,5)==="true/"){n.type=n.type.slice(5)}else{n.removeAttribute("type")}return n}function Jn(n,t){var e,i,r,u,o,f,s;if(t.nodeType!==1){return}if(fn.hasData(n)){u=fn.get(n);s=u.events;if(s){fn.remove(t,"handle events");for(r in s){for(e=0,i=s[r].length;e<i;e++){x.event.add(t,r,s[r][e])}}}}if(sn.hasData(n)){o=sn.access(n);f=x.extend({},o);sn.set(t,f)}}function Wn(n,t){var e=t.nodeName.toLowerCase();if(e==="input"&&Sn.test(n.type)){t.checked=n.checked}else if(e==="input"||e==="textarea"){t.defaultValue=n.defaultValue}}function Hn(n,t,e,i){t=u(t);var r,o,f,s,a,c,l=0,d=n.length,p=d-1,g=t[0],b=v(g);if(b||d>1&&typeof g==="string"&&!h.checkClone&&Un.test(g)){return n.each((function(r){var u=n.eq(r);if(b){t[0]=g.call(this,r,u.html())}Hn(u,t,e,i)}))}if(d){r=Rn(t,n[0].ownerDocument,false,n,i);o=r.firstChild;if(r.childNodes.length===1){r=o}if(o||i){f=x.map(Tn(r,"script"),$n);s=f.length;for(;l<d;l++){a=r;if(l!==p){a=x.clone(a,true,true);if(s){x.merge(f,Tn(a,"script"))}}e.call(n[l],a,l)}if(s){c=f[f.length-1].ownerDocument;x.map(f,qn);for(l=0;l<s;l++){a=f[l];if(jn.test(a.type||"")&&!fn.access(a,"globalEval")&&x.contains(c,a)){if(a.src&&(a.type||"").toLowerCase()!=="module"){if(x._evalUrl&&!a.noModule){x._evalUrl(a.src,{nonce:a.nonce||a.getAttribute("nonce")},c)}}else{m(a.textContent.replace(Pn,""),a,c)}}}}}}return n}function Kn(n,t,e){var i,r=t?x.filter(t,n):n,u=0;for(;(i=r[u])!=null;u++){if(!e&&i.nodeType===1){x.cleanData(Tn(i))}if(i.parentNode){if(e&&bn(i)){On(Tn(i,"script"))}i.parentNode.removeChild(i)}}return n}x.extend({htmlPrefilter:function(n){return n},clone:function(n,t,e){var i,r,u,o,f=n.cloneNode(true),s=bn(n);if(!h.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!x.isXMLDoc(n)){o=Tn(f);u=Tn(n);for(i=0,r=u.length;i<r;i++){Wn(u[i],o[i])}}if(t){if(e){u=u||Tn(n);o=o||Tn(f);for(i=0,r=u.length;i<r;i++){Jn(u[i],o[i])}}else{Jn(n,f)}}o=Tn(f,"script");if(o.length>0){On(o,!s&&Tn(n,"script"))}return f},cleanData:function(n){var t,e,i,r=x.event.special,u=0;for(;(e=n[u])!==undefined;u++){if(un(e)){if(t=e[fn.expando]){if(t.events){for(i in t.events){if(r[i]){x.event.remove(e,i)}else{x.removeEvent(e,i,t.handle)}}}e[fn.expando]=undefined}if(e[sn.expando]){e[sn.expando]=undefined}}}}});x.fn.extend({detach:function(n){return Kn(this,n,true)},remove:function(n){return Kn(this,n)},text:function(n){return V(this,(function(n){return n===undefined?x.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 Hn(this,arguments,(function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=zn(this,n);t.appendChild(n)}}))},prepend:function(){return Hn(this,arguments,(function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=zn(this,n);t.insertBefore(n,t.firstChild)}}))},before:function(){return Hn(this,arguments,(function(n){if(this.parentNode){this.parentNode.insertBefore(n,this)}}))},after:function(){return Hn(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){x.cleanData(Tn(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 x.clone(this,n,t)}))},html:function(n){return V(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"&&!Dn.test(n)&&!Fn[(En.exec(n)||["",""])[1].toLowerCase()]){n=x.htmlPrefilter(n);try{for(;e<i;e++){t=this[e]||{};if(t.nodeType===1){x.cleanData(Tn(t,false));t.innerHTML=n}}t=0}catch(n){}}if(t){this.empty().append(n)}}),null,n,arguments.length)},replaceWith:function(){var n=[];return Hn(this,arguments,(function(t){var e=this.parentNode;if(x.inArray(this,n)<0){x.cleanData(Tn(this));if(e){e.replaceChild(t,this)}}}),n)}});x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(n,t){x.fn[n]=function(n){var e,i=[],r=x(n),u=r.length-1,f=0;for(;f<=u;f++){e=f===u?this:this.clone(true);x(r[f])[t](e);o.apply(i,e.get())}return this.pushStack(i)}}));var Bn=new RegExp("^("+hn+")(?!px)[a-z%]+$","i");var Xn=/^--/;var Gn=function(t){var e=t.ownerDocument.defaultView;if(!e||!e.opener){e=n}return e.getComputedStyle(t)};var Yn=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 Zn=new RegExp(pn.join("|"),"i");(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%";gn.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;gn.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";x.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="box-sizing:content-box;border:1px solid";e.style.height="1px";i.style.height="9px";i.style.display="block";gn.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;gn.removeChild(t)}return f}})})();function Qn(n,t,e){var i,r,u,o,f=Xn.test(t),s=n.style;e=e||Gn(n);if(e){o=e.getPropertyValue(t)||e[t];if(f&&o){o=o.replace(O,"$1")||undefined}if(o===""&&!bn(n)){o=x.style(n,t)}if(!h.pixelBoxStyles()&&Bn.test(o)&&Zn.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 Vn(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}var nt=["Webkit","Moz","ms"],tt=g.createElement("div").style,et={};function it(n){var t=n[0].toUpperCase()+n.slice(1),e=nt.length;while(e--){n=nt[e]+t;if(n in tt){return n}}}function rt(n){var t=x.cssProps[n]||et[n];if(t){return t}if(n in tt){return n}return et[n]=it(n)||n}var ut=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},ft={letterSpacing:"0",fontWeight:"400"};function st(n,t,e){var i=vn.exec(t);return i?Math.max(0,i[2]-(e||0))+(i[3]||"px"):t}function at(n,t,e,i,r,u){var o=t==="width"?1:0,f=0,s=0,a=0;if(e===(i?"border":"content")){return 0}for(;o<4;o+=2){if(e==="margin"){a+=x.css(n,e+pn[o],true,r)}if(!i){s+=x.css(n,"padding"+pn[o],true,r);if(e!=="padding"){s+=x.css(n,"border"+pn[o]+"Width",true,r)}else{f+=x.css(n,"border"+pn[o]+"Width",true,r)}}else{if(e==="content"){s-=x.css(n,"padding"+pn[o],true,r)}if(e!=="margin"){s-=x.css(n,"border"+pn[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+a}function ct(n,t,e){var i=Gn(n),r=!h.boxSizingReliable()||e,u=r&&x.css(n,"boxSizing",false,i)==="border-box",o=u,f=Qn(n,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(Bn.test(f)){if(!e){return f}f="auto"}if((!h.boxSizingReliable()&&u||!h.reliableTrDimensions()&&S(n,"tr")||f==="auto"||!parseFloat(f)&&x.css(n,"display",false,i)==="inline")&&n.getClientRects().length){u=x.css(n,"boxSizing",false,i)==="border-box";o=s in n;if(o){f=n[s]}}f=parseFloat(f)||0;return f+at(n,t,e||(u?"border":"content"),o,i,f)+"px"}x.extend({cssHooks:{opacity:{get:function(n,t){if(t){var e=Qn(n,"opacity");return e===""?"1":e}}}},cssNumber:{animationIterationCount:true,aspectRatio:true,borderImageSlice:true,columnCount: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,scale:true,widows:true,zIndex:true,zoom:true,fillOpacity:true,floodOpacity:true,stopOpacity:true,strokeMiterlimit:true,strokeOpacity:true},cssProps:{},style:function(n,t,e,i){if(!n||n.nodeType===3||n.nodeType===8||!n.style){return}var r,u,o,f=rn(t),s=Xn.test(t),a=n.style;if(!s){t=rt(f)}o=x.cssHooks[t]||x.cssHooks[f];if(e!==undefined){u=typeof e;if(u==="string"&&(r=vn.exec(e))&&r[1]){e=yn(n,t,r);u="number"}if(e==null||e!==e){return}if(u==="number"&&!s){e+=r&&r[3]||(x.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=rn(t),s=Xn.test(t);if(!s){t=rt(f)}o=x.cssHooks[t]||x.cssHooks[f];if(o&&"get"in o){r=o.get(n,true,e)}if(r===undefined){r=Qn(n,t,i)}if(r==="normal"&&t in ft){r=ft[t]}if(e===""||e){u=parseFloat(r);return e===true||isFinite(u)?u||0:r}return r}});x.each(["height","width"],(function(n,t){x.cssHooks[t]={get:function(n,e,i){if(e){return ut.test(x.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?Yn(n,ot,(function(){return ct(n,t,i)})):ct(n,t,i)}},set:function(n,e,i){var r,u=Gn(n),o=!h.scrollboxSize()&&u.position==="absolute",f=o||i,s=f&&x.css(n,"boxSizing",false,u)==="border-box",a=i?at(n,t,i,s,u):0;if(s&&o){a-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(u[t])-at(n,t,"border",false,u)-.5)}if(a&&(r=vn.exec(e))&&(r[3]||"px")!=="px"){n.style[t]=e;e=x.css(n,t)}return st(n,e,a)}}}));x.cssHooks.marginLeft=Vn(h.reliableMarginLeft,(function(n,t){if(t){return(parseFloat(Qn(n,"marginLeft"))||n.getBoundingClientRect().left-Yn(n,{marginLeft:0},(function(){return n.getBoundingClientRect().left})))+"px"}}));x.each({margin:"",padding:"",border:"Width"},(function(n,t){x.cssHooks[n+t]={expand:function(e){var i=0,r={},u=typeof e==="string"?e.split(" "):[e];for(;i<4;i++){r[n+pn[i]+t]=u[i]||u[i-2]||u[0]}return r}};if(n!=="margin"){x.cssHooks[n+t].set=st}}));x.fn.extend({css:function(n,t){return V(this,(function(n,t,e){var i,r,u={},o=0;if(Array.isArray(t)){i=Gn(n);r=t.length;for(;o<r;o++){u[t[o]]=x.css(n,t[o],false,i)}return u}return e!==undefined?x.style(n,t,e):x.css(n,t)}),n,t,arguments.length>1)}});x.fn.delay=function(t,e){t=x.fx?x.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 lt,dt=x.expr.attrHandle;x.fn.extend({attr:function(n,t){return V(this,x.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each((function(){x.removeAttr(this,n)}))}});x.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 x.prop(n,t,e)}if(u!==1||!x.isXMLDoc(n)){r=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?lt:undefined)}if(e!==undefined){if(e===null){x.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=x.find.attr(n,t);return i==null?undefined:i},attrHooks:{type:{set:function(n,t){if(!h.radioValue&&t==="radio"&&S(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(H);if(r&&n.nodeType===1){while(e=r[i++]){n.removeAttribute(e)}}}});lt={set:function(n,t,e){if(t===false){x.removeAttr(n,e)}else{n.setAttribute(e,e)}return e}};x.each(x.expr.match.bool.source.match(/\w+/g),(function(n,t){var e=dt[t]||x.find.attr;dt[t]=function(n,t,i){var r,u,o=t.toLowerCase();if(!i){u=dt[o];dt[o]=r;r=e(n,t,i)!=null?o:null;dt[o]=u}return r}}));var ht=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;x.fn.extend({prop:function(n,t){return V(this,x.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each((function(){delete this[x.propFix[n]||n]}))}});x.extend({prop:function(n,t,e){var i,r,u=n.nodeType;if(u===3||u===8||u===2){return}if(u!==1||!x.isXMLDoc(n)){t=x.propFix[t]||t;r=x.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=x.find.attr(n,"tabindex");if(t){return parseInt(t,10)}if(ht.test(n.nodeName)||vt.test(n.nodeName)&&n.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!h.optSelected){x.propHooks.selected={get:function(n){return null},set:function(n){}}}x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this}));function pt(n){var t=n.match(H)||[];return t.join(" ")}function gt(n){return n.getAttribute&&n.getAttribute("class")||""}function bt(n){if(Array.isArray(n)){return n}if(typeof n==="string"){return n.match(H)||[]}return[]}x.fn.extend({addClass:function(n){var t,e,i,r,u,o;if(v(n)){return this.each((function(t){x(this).addClass(n.call(this,t,gt(this)))}))}t=bt(n);if(t.length){return this.each((function(){i=gt(this);e=this.nodeType===1&&" "+pt(i)+" ";if(e){for(u=0;u<t.length;u++){r=t[u];if(e.indexOf(" "+r+" ")<0){e+=r+" "}}o=pt(e);if(i!==o){this.setAttribute("class",o)}}}))}return this},removeClass:function(n){var t,e,i,r,u,o;if(v(n)){return this.each((function(t){x(this).removeClass(n.call(this,t,gt(this)))}))}if(!arguments.length){return this.attr("class","")}t=bt(n);if(t.length){return this.each((function(){i=gt(this);e=this.nodeType===1&&" "+pt(i)+" ";if(e){for(u=0;u<t.length;u++){r=t[u];while(e.indexOf(" "+r+" ")>-1){e=e.replace(" "+r+" "," ")}}o=pt(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(v(n)){return this.each((function(e){x(this).toggleClass(n.call(this,e,gt(this),t),t)}))}if(typeof t==="boolean"&&f){return t?this.addClass(n):this.removeClass(n)}e=bt(n);return this.each((function(){if(f){u=x(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=gt(this);if(i){fn.set(this,"__className__",i)}if(this.setAttribute){this.setAttribute("class",i||n===false?"":fn.get(this,"__className__")||"")}}}))},hasClass:function(n){var t,e,i=0;t=" "+n+" ";while(e=this[i++]){if(e.nodeType===1&&(" "+pt(gt(e))+" ").indexOf(t)>-1){return true}}return false}});var mt=/\r/g;x.fn.extend({val:function(n){var t,e,i,r=this[0];if(!arguments.length){if(r){t=x.valHooks[r.type]||x.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(mt,"")}return e==null?"":e}return}i=v(n);return this.each((function(e){var r;if(this.nodeType!==1){return}if(i){r=n.call(this,e,x(this).val())}else{r=n}if(r==null){r=""}else if(typeof r==="number"){r+=""}else if(Array.isArray(r)){r=x.map(r,(function(n){return n==null?"":n+""}))}t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,r,"value")===undefined){this.value=r}}))}});x.extend({valHooks:{option:{get:function(n){var t=x.find.attr(n,"value");return t!=null?t:pt(x.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||!S(e.parentNode,"optgroup"))){t=x(e).val();if(o){return t}f.push(t)}}return f},set:function(n,t){var e,i,r=n.options,u=x.makeArray(t),o=r.length;while(o--){i=r[o];if(i.selected=x.inArray(x.valHooks.option.get(i),u)>-1){e=true}}if(!e){n.selectedIndex=-1}return u}}}});x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(n,t){if(Array.isArray(t)){return n.checked=x.inArray(x(n).val(),t)>-1}}};if(!h.checkOn){x.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value}}}));x.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){x.error("Invalid XML: "+(i?x.map(i.childNodes,(function(n){return n.textContent})).join("\n"):t))}return e};var wt=/^(?:focusinfocus|focusoutblur)$/,yt=function(n){n.stopPropagation()};x.extend(x.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(wt.test(m+x.event.triggered)){return}if(m.indexOf(".")>-1){w=m.split(".");m=w.shift();w.sort()}a=m.indexOf(":")<0&&"on"+m;t=t[x.expando]?t:new x.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]:x.makeArray(e,[t]);d=x.event.special[m]||{};if(!r&&d.trigger&&d.trigger.apply(i,e)===false){return}if(!r&&!d.noBubble&&!p(i)){s=d.delegateType||m;if(!wt.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=(fn.get(o,"events")||Object.create(null))[t.type]&&fn.get(o,"handle");if(l){l.apply(o,e)}l=a&&o[a];if(l&&l.apply&&un(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)&&un(i)){if(a&&v(i[m])&&!p(i)){f=i[a];if(f){i[a]=null}x.event.triggered=m;if(t.isPropagationStopped()){h.addEventListener(m,yt)}i[m]();if(t.isPropagationStopped()){h.removeEventListener(m,yt)}x.event.triggered=undefined;if(f){i[a]=f}}}}return t.result},simulate:function(n,t,e){var i=x.extend(new x.Event,e,{type:n,isSimulated:true});x.event.trigger(i,null,t)}});x.fn.extend({trigger:function(n,t){return this.each((function(){x.event.trigger(n,t,this)}))},triggerHandler:function(n,t){var e=this[0];if(e){return x.event.trigger(n,t,e,true)}}});var kt=/\[\]$/,xt=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function Et(n,t,e,i){var r;if(Array.isArray(t)){x.each(t,(function(t,r){if(e||kt.test(n)){i(n,r)}else{Et(n+"["+(typeof r==="object"&&r!=null?t:"")+"]",r,e,i)}}))}else if(!e&&w(t)==="object"){for(r in t){Et(n+"["+r+"]",t[r],e,i)}}else{i(n,t)}}x.param=function(n,t){var e,i=[],r=function(n,t){var e=v(t)?t():t;i[i.length]=encodeURIComponent(n)+"="+encodeURIComponent(e==null?"":e)};if(n==null){return""}if(Array.isArray(n)||n.jquery&&!x.isPlainObject(n)){x.each(n,(function(){r(this.name,this.value)}))}else{for(e in n){Et(e,n[e],t,r)}}return i.join("&")};x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var n=x.prop(this,"elements");return n?x.makeArray(n):this})).filter((function(){var n=this.type;return this.name&&!x(this).is(":disabled")&&St.test(this.nodeName)&&!Ct.test(n)&&(this.checked||!Sn.test(n))})).map((function(n,t){var e=x(this).val();if(e==null){return null}if(Array.isArray(e)){return x.map(e,(function(n){return{name:t.name,value:n.replace(xt,"\r\n")}}))}return{name:t.name,value:e.replace(xt,"\r\n")}})).get()}});x.fn.extend({wrapAll:function(n){var t;if(this[0]){if(v(n)){n=n.call(this[0])}t=x(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(v(n)){return this.each((function(t){x(this).wrapInner(n.call(this,t))}))}return this.each((function(){var t=x(this),e=t.contents();if(e.length){e.wrapAll(n)}else{t.append(n)}}))},wrap:function(n){var t=v(n);return this.each((function(e){x(this).wrapAll(t?n.call(this,e):n)}))},unwrap:function(n){this.parent(n).not("body").each((function(){x(this).replaceWith(this.childNodes)}));return this}});x.expr.pseudos.hidden=function(n){return!x.expr.pseudos.visible(n)};x.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}();x.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=D.exec(n);u=!e&&[];if(r){return[t.createElement(r[1])]}r=Rn([n],t,u);if(u&&u.length){x(u).remove()}return x.merge([],r.childNodes)};x.offset={setOffset:function(n,t,e){var i,r,u,o,f,s,a,c=x.css(n,"position"),l=x(n),d={};if(c==="static"){n.style.position="relative"}f=l.offset();u=x.css(n,"top");s=x.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(v(t)){t=t.call(n,e,x.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)}}};x.fn.extend({offset:function(n){if(arguments.length){return n===undefined?this:this.each((function(t){x.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(x.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)&&x.css(n,"position")==="static"){n=n.parentNode}if(n&&n!==i&&n.nodeType===1){r=x(n).offset();r.top+=x.css(n,"borderTopWidth",true);r.left+=x.css(n,"borderLeftWidth",true)}}return{top:t.top-r.top-x.css(i,"marginTop",true),left:t.left-r.left-x.css(i,"marginLeft",true)}},offsetParent:function(){return this.map((function(){var n=this.offsetParent;while(n&&x.css(n,"position")==="static"){n=n.offsetParent}return n||gn}))}});x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(n,t){var e="pageYOffset"===t;x.fn[n]=function(i){return V(this,(function(n,i,r){var u;if(p(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)}}));x.each(["top","left"],(function(n,t){x.cssHooks[t]=Vn(h.pixelPosition,(function(n,e){if(e){e=Qn(n,t);return Bn.test(e)?x(n).position()[t]+"px":e}}))}));x.each({Height:"height",Width:"width"},(function(n,t){x.each({padding:"inner"+n,content:t,"":"outer"+n},(function(e,i){x.fn[i]=function(r,u){var o=arguments.length&&(e||typeof r!=="boolean"),f=e||(r===true||u===true?"margin":"border");return V(this,(function(t,e,r){var u;if(p(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?x.css(t,e,f):x.style(t,e,r,f)}),t,o?r:undefined,o)}}))}));x.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.on("mouseenter",n).on("mouseleave",t||n)}});x.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){x.fn[t]=function(n,e){return arguments.length>0?this.on(t,null,n,e):this.trigger(t)}}));var jt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(n,t){var e,i,u;if(typeof t==="string"){e=n[t];t=n;n=e}if(!v(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||x.guid++;return u};x.holdReady=function(n){if(n){x.readyWait++}else{x.ready(true)}};x.isArray=Array.isArray;x.parseJSON=JSON.parse;x.nodeName=S;x.isFunction=v;x.isWindow=p;x.camelCase=rn;x.type=w;x.now=Date.now;x.isNumeric=function(n){var t=x.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))};x.trim=function(n){return n==null?"":(n+"").replace(jt,"$1")};var Ft=n.jQuery,Tt=n.$;x.noConflict=function(t){if(n.$===x){n.$=Tt}if(t&&n.jQuery===x){n.jQuery=Ft}return x};if(typeof t==="undefined"){n.jQuery=n.$=x}return x}))})(e);var i=e.exports;var r=window.vertx||{};!function(n){n(SockJS)}((function(n){r.EventBus=function(t,e){var i=this;var u=new n(t,undefined,e);var o={};var f={};var s=r.EventBus.CONNECTING;var a=null;var c=null;if(e){c=e.vertxbus_ping_interval}if(!c){c=5e3}i.onopen=null;i.onclose=null;i.login=function(n,t,e){d("send","vertx.basicauthmanager.login",{username:n,password:t},(function(n){if(n.status==="ok"){i.sessionID=n.sessionID}if(e){delete n.sessionID;e(n)}}))};i.send=function(n,t,e){d("send",n,t,e)};i.publish=function(n,t){d("publish",n,t,null)};i.registerHandler=function(n,t){v("address","string",n);v("handler","function",t);h();var e=o[n];if(!e){e=[t];o[n]=e;var i={type:"register",address:n};u.send(JSON.stringify(i))}else{e[e.length]=t}};i.unregisterHandler=function(n,t){v("address","string",n);v("handler","function",t);h();var e=o[n];if(e){var i=e.indexOf(t);if(i!==-1)e.splice(i,1);if(e.length===0){var r={type:"unregister",address:n};u.send(JSON.stringify(r));delete o[n]}}};i.close=function(){h();s=r.EventBus.CLOSING;u.close()};i.readyState=function(){return s};u.onopen=function(){l();a=setInterval(l,c);s=r.EventBus.OPEN;if(i.onopen){i.onopen()}};u.onclose=function(){s=r.EventBus.CLOSED;if(a)clearInterval(a);if(i.onclose){i.onclose()}};u.onmessage=function(n){var t=n.data;var e=JSON.parse(t);var r=e.body;var u=e.replyAddress;var s=e.address;var a;if(u){a=function(n,t){i.send(u,n,t)}}var c=o[s];if(c){var l=c.slice(0);for(var d=0,h=l;d<h.length;d++){var v=h[d];v(r,a)}}else{var p=f[s];if(p){delete f[s];p(r,a)}}};function l(){var n={type:"ping"};u.send(JSON.stringify(n))}function d(n,t,e,r){v("address","string",t);v("replyHandler","function",r,true);h();var o={type:n,address:t,body:e};if(i.sessionID){o.sessionID=i.sessionID}if(r){var s=p();o.replyAddress=s;f[s]=r}var a=JSON.stringify(o);u.send(a)}function h(){if(s!==r.EventBus.OPEN){throw new Error("INVALID_STATE_ERR")}}function v(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 p(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(n){return(n^crypto.getRandomValues(new Uint8Array(1))[0]&15>>n/4).toString(16)}))}};r.EventBus.CONNECTING=0;r.EventBus.OPEN=1;r.EventBus.CLOSING=2;r.EventBus.CLOSED=3;return r.EventBus}));(function(n){window.klpWidgetDev=function(t,e,i,u,o,f,s,a,c){var l;var d=document.getElementsByTagName("header")[0];var h={attributes:true,childList:false,subtree:false};var v=function(e,i){for(var r=0,u=e;r<u.length;r++){var o=u[r];if(o.attributeName==="class"){if(n("header").hasClass("h-fixed-position")&&!n("header").hasClass("h-visible")){Rn().find(".klp-widget-authenticated-menu").css("display","none");Rn().find("#"+t).removeClass("bubble")}}}};var p=new MutationObserver(v);if(d){p.observe(d,h)}var g="klp-widget-keepalive",b="klp.widget.state",m="klp.widget.document.",w="NCTRL",y="post.ch",k=new RegExp(y+"$"),x=new RegExp(w+"=([^;]+)"),C,S,E=false,j,F,T,O,A={},R="UNREAD_NOTIFICATIONS",I=true,N,_="de",L="",M=(new Date).getTime(),D="16.01.00.01",U=0,P={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"}},z={"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"},q={logoutTargetURL:"",keepAlive:true,keepAliveListeningEvents:"click touchstart keydown",keepAliveOnInit:true,keepAliveInterval:9,showLinks:true,tabIndex:-1,accessKeys:false,notificationsNrToLoad:5,debug:false};if(f!==undefined){_=f.toLowerCase()}var J=function(n){return new URL(n)};L=(l=s.selfAdminOrigin)!==null&&l!==void 0?l:J(un()).origin;var W=[{description:P[_].userProfile,url:L+"/selfadmin/?lang="+_,iconclass:"widget_icon_profile"}];var H=L+"/selfadmin/messages/?lang="+_;if(a!==undefined){q=__assign(__assign({},q),a)}function K(){try{return"sessionStorage"in window&&window.sessionStorage!==null}catch(n){X("No local storage available");return false}}function B(){var n=new Date;return n.getFullYear()+"-"+n.getMonth()+1+"-"+n.getDate()+" "+n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()+","+n.getMilliseconds()}function X(n){if(q.debug&&window.console&&window.console.log){console.log("["+B()+"] - KLP.WIDGET - "+n)}}function G(n){var t=JSON.stringify({adr:S,evt:n});if(n.adt){X("Sending auditing event: "+t);fetch($.audit,{method:"POST",credentials:"include",mode:"cors",body:t}).catch((function(n){if(n)console.error(n)}))}else{X("Auditing disabled: "+t)}}function Y(n,t){if(q.debug&&window.console&&window.console.log){X("Method "+n+" executed on "+t+" ms")}}function Z(){return Math.floor(Math.random()*999999999+1)}function Q(n){return P[_][n]}function V(n){if(q.accessKeys===false||z[n]["access-key"]==null){return""}return'accesskey="'+z[n]["access-key"]+'"'}function nn(n){if(q.tabIndex<0){return 0}return z[n]["tab-index"]+q.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(){var t="";n.each({app:e,service:i,lang:_},(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(){var n="klp";var t=false;return tn(s.logoutURL,"app="+e+"&lang="+_+"&service="+n+"&inIframe="+t+"&logoutTargetURL="+q.logoutTargetURL)}function on(n){X("Clearing cache and sessionData before starting the logout process");j=undefined;dn();X("Proceeding to logoutUrl with following path "+n);window.location.href=n}function fn(){Rn().find("#"+t+" #klp-widget-authenticated-menu-changecompany").on("click touch",(function(n){n.preventDefault();Rn().find("#"+t+" #klp-widget-authenticated-menu-changecompany").focus();sn();return false}))}function sn(){var n;var e;if(j===null||j===void 0?void 0:j.support){if(Ln()){n=Q("change-account-support-dialog")}else{n=Q("change-company-support-dialog")}e=un()}else{if(Ln()){n=Q("change-account-confirm-dialog")}else{n=Q("change-company-confirm-dialog")}e=an()}if(Rn().find("#"+t+" #klp-widget-authenticated-changecompanydialog").length===0){var 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>";Rn().find("#"+t+" .klp-widget-authenticated").append(i);var r=Rn().find("#changeAccountModal");if(r.length&&r.length>=1){r=r[0]}r.style.display="table";var u=Rn().find("#changeAccountModal .close")[0];u.onclick=function(){r.parentElement.removeChild(r)};window.onclick=function(n){if(n.target===r){r.parentElement.removeChild(r)}};Rn().find("#klp-widget-authenticated-dochangecompany").on("click touch",(function(n){n.preventDefault();Rn().find("#"+t+" #klp-widget-authenticated-dochangecompany").focus();on(e);return false}))}}function an(){return un()+"&changecompany=true"}function cn(){I=true}function ln(n){if(K()){sessionStorage.setItem(b,JSON.stringify({ttl:(new Date).getTime()+n,sessionData:"If you're looking for this info, contact the Swiss Post Design System Team!",address:"If you're looking for this info, contact the Swiss Post Design System Team!"}));X("State persisted");gn("hash",encodeURIComponent(vn(j)))}else{X("State not persisted because HTML storage not supported")}}function dn(){if(K()){sessionStorage.removeItem(b);X("Persisted state removed");bn()}else{X("Persisted state not removed because HTML storage not supported")}}function hn(){return k.test(window.location.hostname)}function vn(n){n=JSON.stringify(n);var 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 pn(n){var t=x.exec(document.cookie);if(t!=null){var 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 gn(n,t){var e="; SameSite=None; Secure";switch(n){case"hash":document.cookie=w+"="+t+":"+pn("keepalive")+"; Path=/; domain="+y+e+"; Secure";break;case"keepalive":document.cookie=w+"="+pn("hash")+":"+t+"; Path=/; domain="+y+e+"; Secure";break;default:document.cookie=w+"="+t+"; Path=/; domain="+y+e+"; Secure";break}}function bn(){if(E){document.cookie=w+"="+"sub"+"; Path=/; domain="+y;X("Control cookie set to sub")}else{document.cookie=w+"="+""+"; Path=/; Expires=Wed, 01 Apr 2014 01:00:00 GMT; domain="+y+"; Secure";X("Control cookie removed")}}function mn(n,t){var e=m+t;if(K()){sessionStorage.setItem(e,JSON.stringify(n));X("Document "+t+" has been persisted on cached with value "+JSON.stringify(n))}}function wn(){yn(R)}function yn(n){var t=m+n;if(K()){sessionStorage.removeItem(t);X("Document "+n+" has been removed from cache")}}function kn(){if(q.keepAliveListeningEvents.length>0){n(document).on(q.keepAliveListeningEvents,cn)}}function xn(){if(q.keepAliveListeningEvents.length>0){n(document).off(q.keepAliveListeningEvents,cn)}}function Cn(){if(I){I=false;jn()}else{X("Keepalive call canceled due to user inactivity")}}function Sn(){if(q.keepAlive&&N===undefined){kn();N=window.setInterval(Cn,q.keepAliveInterval*60*1e3)}}function En(){if(q.keepAlive){xn();if(N){window.clearInterval(N);N=undefined}}}function jn(){if(qn()){var n="<img src='"+s.keepAliveURL+"/?"+Z()+"'><img src='"+$.keepalive+"?"+Z()+"'>";Rn().find("#"+g).html(n);if(typeof T=="function"){T()}gn("keepalive",(new Date).getTime())}}function Fn(){var n=(new Date).getTime();var t=pn("keepalive");if(isNaN(t)||n-parseInt(t)>q.keepAliveInterval*60*1e3){X("Running keepAliveSessionsOnInit");jn();return}X("keepAliveSessionsOnInit not running due to [now="+n+",last="+t+",interval="+q.keepAliveInterval*60*1e3)}function Tn(){X("Preparing for communication with iframe content");function n(n){var t=["post.ch","postauto.ch","postfinance.ch"];var e=new URL(n.origin);if(t.includes(e.host)&&n.data==="syncWidget"){X("PostMessage syncWidget received");Qn()}}if(window.addEventListener){window.addEventListener("message",n)}else{window.attachEvent("onmessage",n)}}function On(){if(M){X("Widget shows up in "+((new Date).getTime()-M)+" [msec]");M=undefined}}function An(n,t){Rn().find(n).append('<div id="'+t+'" style="display:none;"></div>')}function Rn(){return n(document.querySelector("swisspost-internet-header").shadowRoot.querySelector("post-klp-login-widget").shadowRoot.querySelector(".widget-wrapper"))}function In(){Rn().find("#"+t).addClass("anonymous");Rn().find("#"+t).attr("data-custom-focus-id","klp-widget");Rn().find("#"+t).html('<div class="klp-widget-anonymous"><div class="klp-widget-anonymous__wrapper">'+"<a "+V("sign-in")+' title="'+Q("sign-in")+'" href="'+en()+'" data-custom-focus-target="klp-widget" data-custom-focus-direction="parent" role="button"><span class="klp-widget-anonymous__text">'+Q("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>");Rn().find("#"+t).on("click touch",(function(n){n.preventDefault();document.location.href=en();return false}))}function Nn(){Rn().find("#"+t).off("click touch");var n="",e="";if(j.userType==="B2C"){e="klp-widget-authenticated-session-name u_var_centered"}else{n=j.company;e="klp-widget-authenticated-session-name"}var i="klp-widget-authenticated";if(j.support){i+=" klp-widget-support"}Rn().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="'+Q("title-text-menu")+'" tabindex="'+nn("toggle-menu")+'" '+V("toggle-menu")+' data-dropdown="klp-widget-authenticated-menu" aria-expanded="false" aria-controls="authenticated-menu">'+'<div class="'+e+'">'+j.name+" "+j.surname+"</div>"+'<span class="initials-mobile">'+j.name.substring(0,1)+j.surname.substring(0,1)+"</span>"+'<span class="notification-number"></span>'+"</a>"+Mn(e,n,j)+"</div>"+"</div>");Rn().find(".notification-number").css("visibility","hidden");Rn().find(".notification-number-detail").css("visibility","hidden");An("#"+t,g);Rn().find("#"+t+" .klp-widget__user").on("click touch",(function(n){n.preventDefault();Rn().find("#"+t+" .klp-widget__user").focus();zn();$n();return false}));Rn().find("#"+t+" #klp-widget-authenticated-menu-logout").on("click touch",(function(n){n.preventDefault();Rn().find("#"+t+" #klp-widget-authenticated-menu-logout").focus();on(un());return false}));if(_n()||Ln()){fn()}ut()}function _n(){return j.userType==="B2B"&&j.canChangeCompany&&j.changeUserAndProfile==null||j.changeUserAndProfile!=null&&j.changeUserAndProfile==="profile"}function Ln(){return j.changeUserAndProfile!=null&&j.changeUserAndProfile==="userAndProfile"}function Mn(t,e,i){var r="";var u="name";var 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="'+Q("title-text-notifications")+'" href="'+H+'"><div class="widget_icon_notification" aria-hidden></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Q("title-text-notifications")+'</span><span class="notification-number-detail"></span></div></a>'+"</li>"}var f={dev01:"https://serviceint1.post.ch/kvm/app/ui",dev02:"https://serviceint1.post.ch/kvm/app/ui",devs1:"https://serviceint1.post.ch/kvm/app/ui",test:"https://serviceint1.post.ch/kvm/app/ui",int01:"https://serviceint1.post.ch/kvm/app/ui",int02:"https://serviceint2.post.ch/kvm/app/ui",prod:"https://service.post.ch/kvm/app/ui"};var s="".concat(f[c],"/settings?lang=").concat(_);r+='\n <li>\n <a class="notification-link" href="'.concat(s,'">\n <div class="widget_icon_settings" aria-hidden></div>\n <div class="linkContainer">\n <span class="klp-widget-notification-link-text">').concat(P[_].settings,"</span>\n </div>\n </a>\n </li>\n ");var a="";if(_n()){a="<li>"+'<a id="klp-widget-authenticated-menu-changecompany" class="notification-link" tabindex="'+nn("change-company")+'" '+V("change-company")+' href="about:blank" role="button" title="'+Q("change-company")+'"><div class="widget_icon_changecompany"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Q("change-company")+"</span></div></a>"+"</li>"}else if(Ln()){a="<li>"+'<a id="klp-widget-authenticated-menu-changecompany" class="notification-link" tabindex="'+nn("change-account")+'" '+V("change-company")+' href="about:blank" role="button" title="'+Q("change-account")+'"><div class="widget_icon_changecompany"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Q("change-account")+"</span></div></a>"+"</li>"}return'<div class="klp-widget-authenticated-menu" id="authenticated-menu" data-dropdown-toggler="klp-widget__user" style="display: none">'+"<ul>"+r+a+"<li>"+'<a id="klp-widget-authenticated-menu-logout" class="notification-link" tabindex="'+nn("sign-out")+'" '+V("sign-out")+' title="'+Q("sign-out")+'" href="about:blank" role="button"><div class="widget_icon_logout"></div><div class="linkContainer">'+'<span class="klp-widget-notification-link-text">'+Q("sign-out")+"</span></div></a>"+"</li>"+"</ul>"+"</div>"}function Dn(n,t){switch(t){case R:Pn(n);mn(n,R);break;default:X("Unknown documentType received: "+t)}if(typeof A[t]=="function"){A[t](n)}}function Un(n){switch(n){case R:yn(R);break;default:X("Unknown documentType received: "+n)}if(typeof A[n]=="function"){A[n](undefined)}}function Pn(t){if(t!=null&&n(".notification-number").text()!==t.unreadNotifications){U=t.unreadNotifications;if(U===0){n(".notification-number").css("visibility","hidden")}else{n(".notification-number").css("visibility","visible")}}}function zn(){it(Rn().find("#"+t+" .klp-widget-authenticated-menu"))}function $n(){if(U!==0){if(U>99){Rn().find(".notification-number-detail").css("visibility","visible").text("99+")}else{Rn().find(".notification-number-detail").css("visibility","visible").text(U)}}else{Rn().find(".notification-number-detail").css("visibility","hidden")}}function qn(){return typeof j!=="undefined"}function Jn(){if(!qn()){return"NONE"}return j.userType}function Wn(){if(!qn()){return"NONE"}return j.authLevel}function Hn(n){if(n!==undefined){u=n;tt();X("Widget appLoginURL has been replaced with "+u)}}function Kn(t){if(t!==undefined){q=n.extend(q,t);tt()}X("Widget has been updated")}function Bn(n,t,e){j=n;tt();Sn();ln(t);if(e&&typeof F=="function"){F();X("loginCallback has been called: "+F)}}function Xn(){j=undefined;S=undefined;dn();wn();tt();En();if(typeof O=="function"){O()}}function Gn(){if(C){C.registerHandler(S,(function(n,t){Yn(n)}))}}function Yn(n){X("Message received: "+JSON.stringify(n));G(n);E=false;switch(n.typ){case"ukn":if(n.sub){E=true;Xn();Qn()}else{Xn()}break;case"sub":S=n.adr;Bn(n.data,n.ttl,false);Vn();break;case"hi":Bn(n.data,n.ttl,true);yn(R);break;case"bye":Xn();break;case"doc":Dn(n.doc,n.doctyp);break;case"rem":Un(n.doctyp);break;default:X("Unknown event received: "+n.typ);Xn();break}}function Zn(){if(hn()){return null!=pn()}else{return true}}function Qn(){if(!S){if(Zn()){X("Subscribing to get an address");var n=(new Date).getTime();fetch($.subscribe,{method:"GET",credentials:"include",mode:"cors"}).then((function(n){return n.json()})).then((function(n){return Yn(n)})).catch((function(n){X("Failed to subscribe: "+n.message);Xn();tt()}));Y("subscribe()",(new Date).getTime()-n)}else{X("Control cookie not found, skipping subscription");tt()}}else{X("Address available, skipping subscription");Vn()}}function Vn(){if(!C){C=new r.EventBus($.eventbus,{debug:q.debug,devel:q.debug});C.onopen=function(){X("EventBus opened");Gn();n(window).on("beforeunload",nt)};C.onclose=function(){X("EventBus closed");X("Communication closed with retrySubscribeOnFail="+E+". Retrying subscribe");C=null;n(window).off("beforeunload",nt);if(E){E=false;S=undefined;Qn()}}}}function nt(){if(C){C.close()}}function tt(){if(typeof j!=="undefined"){Nn()}else{In()}document.dispatchEvent(new CustomEvent("wepploginwidget_widget_ready"));On()}function et(){Qn();if(q.keepAliveOnInit&&qn()){Fn()}Tn()}function it(e){if(e.is(":visible")){Rn().find("#"+t).removeClass("bubble");rt();return}rt();Rn().find("."+e.attr("data-dropdown-toggler")).attr("aria-expanded",true);Rn().find("#"+t).addClass("bubble");e.show();n(document).on("click",rt);if(e.hasClass("klp-widget-authenticated-menu")){e.parent().removeClass("klp-widget-menu-close").addClass("klp-widget-menu-open")}}function rt(n){if(n!=null){if(Rn().find(n.target).parents("#"+t).length>0){return}}Rn().find(document).off("click",rt);Rn().find("#"+t).removeClass("bubble");Rn().find("#"+t+" .klp-widget-authenticated-menu").hide().parent().removeClass("klp-widget-menu-open").addClass("klp-widget-menu-close");Rn().find("."+Rn().find("#"+t+" .klp-widget-authenticated-menu").attr("data-dropdown-toggler")).attr("aria-expanded",false)}function ut(){Rn().find(".klp-widget__user").on("keydown",(function(n){if(n.which<37||n.which>40){return}n.preventDefault();var t=Rn().find(this).parent();var e=Rn().find("."+Rn().find(this).attr("data-dropdown"));switch(n.which){case 37:if(t.prev().length){t.prev().find("a").focus()}if(e.is(":visible")){Rn().find(this).click()}break;case 38:if(e.is(":visible")){Rn().find(this).click()}break;case 39:if(t.next().length){t.next().find("a").focus()}if(e.is(":visible")){Rn().find(this).click()}break;case 40:if(!e.is(":visible")){Rn().find(this).click()}e.find("li:first a").focus();break}}));Rn().find(".klp-widget-authenticated-menu").on("keydown","a",(function(n){if(n.which<37||n.which>40){return}n.preventDefault();var t=Rn().find(this).parent();var e=Rn().find("."+Rn().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}rt()}))}et();return{keepAliveSessions:function(){jn()},isUserAuthenticated:function(){return qn()},getUserType:function(){return Jn()},getCurrentAuthLevel:function(){return Wn()},changeAppLoginURL:function(n){Hn(n)},updateWidget:function(n){Kn(n)},registerLoginCallback:function(n){X("Login callback has been registered");F=n},unregisterLoginCallback:function(){X("Login callback has been un-registered");F=undefined},registerKeepAliveCallback:function(n){X("KeepAlive callback has been registered");T=n},unregisterKeepAliveCallback:function(){X("KeepAlive callback has been un-registered");T=undefined},registerLogoutCallback:function(n){X("Logout callback has been registered");O=n},unregisterLogoutCallback:function(){X("Logout callback has been un-registered");O=undefined},registerDocumentCallback:function(n,t){X("Document callback for documentType "+n+" has been registered");A[n]=t},unregisterDocumentCallback:function(n){X("Document callback for documentType "+n+" has been un-registered");A[n]=undefined},version:function(){return D},setDebug:function(n){q.debug=n}}}})(i);var u=n("initializeKLPLoginWidget",(function(n,t){if(t===undefined)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)}}))}}}));
|