/*
 Nate Yolles 2016
 @license Apache-2.0
 @implements {URL}
 @see {@link https://developer.mozilla.org/en-US/docs/Web/API/URL} for URL interface
 @see {@link https://github.com/umdjs/umd/blob/master/templates/returnExports.js} for UMD boilerplate
 jQuery JavaScript Library v3.6.0
 https://jquery.com/

 Includes Sizzle.js
 https://sizzlejs.com/

 Copyright OpenJS Foundation and other contributors
 Released under the MIT license
 https://jquery.org/license

 Date: 2021-03-02T17:08Z
 Sizzle CSS Selector Engine v2.3.6
 https://sizzlejs.com/

 Copyright JS Foundation and other contributors
 Released under the MIT license
 https://js.foundation/

 Date: 2021-02-16
 jQuery UI - v1.12.1 - 2017-12-12
 http://jqueryui.com
 Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/dialog.js, widgets/mouse.js, widgets/slider.js
 Copyright jQuery Foundation and other contributors; Licensed MIT  jQuery UI Widget 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Position 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license

 http://api.jqueryui.com/position/
 jQuery UI :data 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Disable Selection 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Focusable 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Form Reset Mixin 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Keycode 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Labels 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Scroll Parent 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Tabbable 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Unique ID 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Mouse 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Draggable 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Droppable 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Resizable 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Controlgroup 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Checkboxradio 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Button 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Dialog 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Slider 1.12.1
 http://jqueryui.com

 Copyright jQuery Foundation and other contributors
 Released under the MIT license.
 http://jquery.org/license
 jQuery UI Touch Punch 0.2.3

 Copyright 2011–2014, Dave Furfero
 Dual licensed under the MIT or GPL Version 2 licenses.

 Depends:
  jquery.ui.widget.js
  jquery.ui.mouse.js
*/
(function(b,c){"object"===typeof module&&"object"===typeof module.exports?module.exports=b.document?c(b,!0):function(b){if(!b.document)throw Error("jQuery requires a window with a document");return c(b)}:c(b)})("undefined"!==typeof window?window:this,function(b,c){function f(a,b,d){d=d||G;var l,h=d.createElement("script");h.text=a;if(b)for(l in pa)(a=b[l]||b.getAttribute&&b.getAttribute(l))&&h.setAttribute(l,a);d.head.appendChild(h).parentNode.removeChild(h)}function e(a){return null==a?a+"":"object"===
typeof a||"function"===typeof a?S[ka.call(a)]||"object":typeof a}function g(a){var b=!!a&&"length"in a&&a.length,l=e(a);return K(a)||ra(a)?!1:"array"===l||0===b||"number"===typeof b&&0<b&&b-1 in a}function m(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}function a(a,b,d){return K(b)?k.grep(a,function(a,l){return!!b.call(a,l,a)!==d}):b.nodeType?k.grep(a,function(a){return a===b!==d}):"string"!==typeof b?k.grep(a,function(a){return-1<Y.call(b,a)!==d}):k.filter(b,a,d)}function d(a,
b){for(;(a=a[b])&&1!==a.nodeType;);return a}function h(a){var b={};k.each(a.match(qa)||[],function(a,l){b[l]=!0});return b}function n(a){return a}function p(a){throw a;}function u(a,b,d,h){var l;try{a&&K(l=a.promise)?l.call(a).done(b).fail(d):a&&K(l=a.then)?l.call(a,b,d):b.apply(void 0,[a].slice(h))}catch(nb){d.apply(void 0,[nb])}}function r(){G.removeEventListener("DOMContentLoaded",r);b.removeEventListener("load",r);k.ready()}function w(a,b){return b.toUpperCase()}function q(a){return a.replace(Hb,
"ms-").replace(Ib,w)}function t(){this.expando=k.expando+t.uid++}function A(a,b,d){if(void 0===d&&1===a.nodeType)if(d="data-"+b.replace(Jb,"-$\x26").toLowerCase(),d=a.getAttribute(d),"string"===typeof d){try{var l=d;d="true"===l?!0:"false"===l?!1:"null"===l?null:l===+l+""?+l:Kb.test(l)?JSON.parse(l):l}catch(Xa){}T.set(a,b,d)}else d=void 0;return d}function y(a,b,d,h){var l,c=20,e=h?function(){return h.cur()}:function(){return k.css(a,b,"")},g=e(),v=d&&d[3]||(k.cssNumber[b]?"":"px"),f=a.nodeType&&
(k.cssNumber[b]||"px"!==v&&+g)&&Oa.exec(k.css(a,b));if(f&&f[3]!==v){g/=2;v=v||f[3];for(f=+g||1;c--;)k.style(a,b,f+v),0>=(1-l)*(1-(l=e()/g||.5))&&(c=0),f/=l;f*=2;k.style(a,b,f+v);d=d||[]}if(d){f=+f||+g||0;var n=d[1]?f+(d[1]+1)*d[2]:+d[2];h&&(h.unit=v,h.start=f,h.end=n)}return n}function x(a,b){for(var d,l,h=[],c=0,e=a.length;c<e;c++)if(l=a[c],l.style)if(d=l.style.display,b){if("none"===d&&(h[c]=E.get(l,"display")||null,h[c]||(l.style.display="")),""===l.style.display&&Ya(l)){d=c;var g=l.ownerDocument;
l=l.nodeName;var f=ob[l];f||(g=g.body.appendChild(g.createElement(l)),f=k.css(g,"display"),g.parentNode.removeChild(g),"none"===f&&(f="block"),ob[l]=f);g=f;h[d]=g}}else"none"!==d&&(h[c]="none",E.set(l,"display",d));for(c=0;c<e;c++)null!=h[c]&&(a[c].style.display=h[c]);return a}function z(a,b){var d="undefined"!==typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!==typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&m(a,b)?k.merge([a],d):d}function F(a,
b){for(var d=0,l=a.length;d<l;d++)E.set(a[d],"globalEval",!b||E.get(b[d],"globalEval"))}function C(a,b,d,h,c){for(var l,g,f,v=b.createDocumentFragment(),n=[],D=0,p=a.length;D<p;D++)if((l=a[D])||0===l)if("object"===e(l))k.merge(n,l.nodeType?[l]:l);else if(Nb.test(l)){g=g||v.appendChild(b.createElement("div"));f=(pb.exec(l)||["",""])[1].toLowerCase();f=la[f]||la._default;g.innerHTML=f[1]+k.htmlPrefilter(l)+f[2];for(f=f[0];f--;)g=g.lastChild;k.merge(n,g.childNodes);g=v.firstChild;g.textContent=""}else n.push(b.createTextNode(l));
v.textContent="";for(D=0;l=n[D++];)if(h&&-1<k.inArray(l,h))c&&c.push(l);else if(a=La(l),g=z(v.appendChild(l),"script"),a&&F(g),d)for(f=0;l=g[f++];)qb.test(l.type||"")&&d.push(l);return v}function B(){return!0}function L(){return!1}function H(a,b){a:{try{var d=G.activeElement;break a}catch(R){}d=void 0}return a===d===("focus"===b)}function I(a,b,d,h,c,e){var l;if("object"===typeof b){"string"!==typeof d&&(h=h||d,d=void 0);for(l in b)I(a,l,d,h,b[l],e);return a}null==h&&null==c?(c=d,h=d=void 0):null==
c&&("string"===typeof d?(c=h,h=void 0):(c=h,h=d,d=void 0));if(!1===c)c=L;else if(!c)return a;if(1===e){var g=c;c=function(a){k().off(a);return g.apply(this,arguments)};c.guid=g.guid||(g.guid=k.guid++)}return a.each(function(){k.event.add(this,b,c,h,d)})}function da(a,b,d){d?(E.set(a,b,!1),k.event.add(a,b,{namespace:!1,handler:function(a){var l=E.get(this,b);if(a.isTrigger&1&&this[b])if(l.length)(k.event.special[b]||{}).delegateType&&a.stopPropagation();else{l=aa.call(arguments);E.set(this,b,l);var h=
d(this,b);this[b]();var c=E.get(this,b);l!==c||h?E.set(this,b,!1):c={};if(l!==c)return a.stopImmediatePropagation(),a.preventDefault(),c&&c.value}else l.length&&(E.set(this,b,{value:k.event.trigger(k.extend(l[0],k.Event.prototype),l.slice(1),this)}),a.stopImmediatePropagation())}})):void 0===E.get(a,b)&&k.event.add(a,b,B)}function Z(a,b){return m(a,"table")&&m(11!==b.nodeType?b:b.firstChild,"tr")?k(a).children("tbody")[0]||a:a}function va(a){a.type=(null!==a.getAttribute("type"))+"/"+a.type;return a}
function ma(a){"true/"===(a.type||"").slice(0,5)?a.type=a.type.slice(5):a.removeAttribute("type");return a}function Fa(a,b){var d,l,h;if(1===b.nodeType){if(E.hasData(a)){var c=E.get(a);if(h=c.events)for(l in E.remove(b,"handle events"),h)for(c=0,d=h[l].length;c<d;c++)k.event.add(b,l,h[l][c])}T.hasData(a)&&(a=T.access(a),a=k.extend({},a),T.set(b,a))}}function fa(a,b,d,h){b=V(b);var l,c=0,e=a.length,g=e-1,v=b[0],n=K(v);if(n||1<e&&"string"===typeof v&&!J.checkClone&&Ob.test(v))return a.each(function(l){var c=
a.eq(l);n&&(b[0]=v.call(this,l,c.html()));fa(c,b,d,h)});if(e){var p=C(b,a[0].ownerDocument,!1,a,h);var D=p.firstChild;1===p.childNodes.length&&(p=D);if(D||h){D=k.map(z(p,"script"),va);for(l=D.length;c<e;c++){var R=p;c!==g&&(R=k.clone(R,!0,!0),l&&k.merge(D,z(R,"script")));d.call(a[c],R,c)}if(l)for(p=D[D.length-1].ownerDocument,k.map(D,ma),c=0;c<l;c++)R=D[c],qb.test(R.type||"")&&!E.access(R,"globalEval")&&k.contains(p,R)&&(R.src&&"module"!==(R.type||"").toLowerCase()?k._evalUrl&&!R.noModule&&k._evalUrl(R.src,
{nonce:R.nonce||R.getAttribute("nonce")},p):f(R.textContent.replace(Qb,""),R,p))}}return a}function sa(a,b,d){for(var l=b?k.filter(b,a):a,c=0;null!=(b=l[c]);c++)d||1!==b.nodeType||k.cleanData(z(b)),b.parentNode&&(d&&La(b)&&F(z(b,"script")),b.parentNode.removeChild(b));return a}function wa(a,b,d){var l=a.style;if(d=d||Za(a)){var c=d.getPropertyValue(b)||d[b];""!==c||La(a)||(c=k.style(a,b));if(!J.pixelBoxStyles()&&fb.test(c)&&Rb.test(b)){a=l.width;b=l.minWidth;var h=l.maxWidth;l.minWidth=l.maxWidth=
l.width=c;c=d.width;l.width=a;l.minWidth=b;l.maxWidth=h}}return void 0!==c?c+"":c}function Pa(a,b){return{get:function(){if(a())delete this.get;else return(this.get=b).apply(this,arguments)}}}function Ma(a){var b=k.cssProps[a]||rb[a];if(b)return b;if(a in sb)return a;a:{b=a;for(var d=b[0].toUpperCase()+b.slice(1),l=tb.length;l--;)if(b=tb[l]+d,b in sb)break a;b=void 0}return rb[a]=b||a}function Qa(a,b,d){return(a=Oa.exec(b))?Math.max(0,a[2]-(d||0))+(a[3]||"px"):b}function ta(a,b,d,c,h,e){var l="width"===
b?1:0,g=0,f=0;if(d===(c?"border":"content"))return 0;for(;4>l;l+=2)"margin"===d&&(f+=k.css(a,d+Aa[l],!0,h)),c?("content"===d&&(f-=k.css(a,"padding"+Aa[l],!0,h)),"margin"!==d&&(f-=k.css(a,"border"+Aa[l]+"Width",!0,h))):(f+=k.css(a,"padding"+Aa[l],!0,h),"padding"!==d?f+=k.css(a,"border"+Aa[l]+"Width",!0,h):g+=k.css(a,"border"+Aa[l]+"Width",!0,h));!c&&0<=e&&(f+=Math.max(0,Math.ceil(a["offset"+b[0].toUpperCase()+b.slice(1)]-e-f-g-.5))||0);return f}function $a(a,b,d){var l=Za(a),c=(!J.boxSizingReliable()||
d)&&"border-box"===k.css(a,"boxSizing",!1,l),h=c,e=wa(a,b,l),g="offset"+b[0].toUpperCase()+b.slice(1);if(fb.test(e)){if(!d)return e;e="auto"}(!J.boxSizingReliable()&&c||!J.reliableTrDimensions()&&m(a,"tr")||"auto"===e||!parseFloat(e)&&"inline"===k.css(a,"display",!1,l))&&a.getClientRects().length&&(c="border-box"===k.css(a,"boxSizing",!1,l),(h=g in a)&&(e=a[g]));e=parseFloat(e)||0;return e+ta(a,b,d||(c?"border":"content"),h,l,e)+"px"}function W(a,b,d,c,h){return new W.prototype.init(a,b,d,c,h)}function na(){ab&&
(!1===G.hidden&&b.requestAnimationFrame?b.requestAnimationFrame(na):b.setTimeout(na,k.fx.interval),k.fx.tick())}function Da(){b.setTimeout(function(){Na=void 0});return Na=Date.now()}function ua(a,b){var d=0,l={height:a};for(b=b?1:0;4>d;d+=2-b){var c=Aa[d];l["margin"+c]=l["padding"+c]=a}b&&(l.opacity=l.width=a);return l}function bb(a,b,d){for(var l,c=(ha.tweeners[b]||[]).concat(ha.tweeners["*"]),h=0,e=c.length;h<e;h++)if(l=c[h].call(d,b,a))return l}function ia(a,b){var d,l;for(d in a){var c=q(d);
var h=b[c];var e=a[d];Array.isArray(e)&&(h=e[1],e=a[d]=e[0]);d!==c&&(a[c]=e,delete a[d]);if((l=k.cssHooks[c])&&"expand"in l)for(d in e=l.expand(e),delete a[c],e)d in a||(a[d]=e[d],b[d]=h);else b[c]=h}}function ha(a,b,d){var l,c=0,h=ha.prefilters.length,e=k.Deferred().always(function(){delete g.elem}),g=function(){if(l)return!1;var b=Na||Da();b=Math.max(0,f.startTime+f.duration-b);for(var d=1-(b/f.duration||0),c=0,h=f.tweens.length;c<h;c++)f.tweens[c].run(d);e.notifyWith(a,[f,d,b]);if(1>d&&h)return b;
h||e.notifyWith(a,[f,1,0]);e.resolveWith(a,[f]);return!1},f=e.promise({elem:a,props:k.extend({},b),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},d),originalProperties:b,originalOptions:d,startTime:Na||Da(),duration:d.duration,tweens:[],createTween:function(b,d){b=k.Tween(a,f.opts,b,d,f.opts.specialEasing[b]||f.opts.easing);f.tweens.push(b);return b},stop:function(b){var d=0,c=b?f.tweens.length:0;if(l)return this;for(l=!0;d<c;d++)f.tweens[d].run(1);b?(e.notifyWith(a,[f,1,0]),e.resolveWith(a,
[f,b])):e.rejectWith(a,[f,b]);return this}});d=f.props;for(ia(d,f.opts.specialEasing);c<h;c++)if(b=ha.prefilters[c].call(f,a,d,f.opts))return K(b.stop)&&(k._queueHooks(f.elem,f.opts.queue).stop=b.stop.bind(b)),b;k.map(d,bb,f);K(f.opts.start)&&f.opts.start.call(a,f);f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always);k.fx.timer(k.extend(g,{elem:a,anim:f,queue:f.opts.queue}));return f}function xa(a){return(a.match(qa)||[]).join(" ")}function oa(a){return a.getAttribute&&
a.getAttribute("class")||""}function Ga(a){return Array.isArray(a)?a:"string"===typeof a?a.match(qa)||[]:[]}function Ea(a,b,d,c){var l;if(Array.isArray(b))k.each(b,function(b,l){d||Sb.test(a)?c(a,l):Ea(a+"["+("object"===typeof l&&null!=l?b:"")+"]",l,d,c)});else if(d||"object"!==e(b))c(a,b);else for(l in b)Ea(a+"["+l+"]",b[l],d,c)}function cb(a){return function(b,d){"string"!==typeof b&&(d=b,b="*");var l=0,c=b.toLowerCase().match(qa)||[];if(K(d))for(;b=c[l++];)"+"===b[0]?(b=b.slice(1)||"*",(a[b]=a[b]||
[]).unshift(d)):(a[b]=a[b]||[]).push(d)}}function db(a,b,d,c){function l(f){var g;h[f]=!0;k.each(a[f]||[],function(a,f){a=f(b,d,c);if("string"===typeof a&&!e&&!h[a])return b.dataTypes.unshift(a),l(a),!1;if(e)return!(g=a)});return g}var h={},e=a===gb;return l(b.dataTypes[0])||!h["*"]&&l("*")}function ba(a,b){var d,l,c=k.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((c[d]?a:l||(l={}))[d]=b[d]);l&&k.extend(!0,a,l);return a}function P(a,b,d){for(var l,c,h,e,f=a.contents,g=a.dataTypes;"*"===
g[0];)g.shift(),void 0===l&&(l=a.mimeType||b.getResponseHeader("Content-Type"));if(l)for(c in f)if(f[c]&&f[c].test(l)){g.unshift(c);break}if(g[0]in d)h=g[0];else{for(c in d){if(!g[0]||a.converters[c+" "+g[0]]){h=c;break}e||(e=c)}h=h||e}if(h)return h!==g[0]&&g.unshift(h),d[h]}function U(a,b,d,c){var l,h,e={},f=a.dataTypes.slice();if(f[1])for(v in a.converters)e[v.toLowerCase()]=a.converters[v];for(h=f.shift();h;){a.responseFields[h]&&(d[a.responseFields[h]]=b);!g&&c&&a.dataFilter&&(b=a.dataFilter(b,
a.dataType));var g=h;if(h=f.shift())if("*"===h)h=g;else if("*"!==g&&g!==h){var v=e[g+" "+h]||e["* "+h];if(!v)for(l in e){var n=l.split(" ");if(n[1]===h&&(v=e[g+" "+n[0]]||e["* "+n[0]])){!0===v?v=e[l]:!0!==e[l]&&(h=n[0],f.unshift(n[1]));break}}if(!0!==v)if(v&&a.throws)b=v(b);else try{b=v(b)}catch(Mb){return{state:"parsererror",error:v?Mb:"No conversion from "+g+" to "+h}}}}return{state:"success",data:b}}var M=[],ea=Object.getPrototypeOf,aa=M.slice,V=M.flat?function(a){return M.flat.call(a)}:function(a){return M.concat.apply([],
a)},O=M.push,Y=M.indexOf,S={},ka=S.toString,ya=S.hasOwnProperty,Ha=ya.toString,za=Ha.call(Object),J={},K=function(a){return"function"===typeof a&&"number"!==typeof a.nodeType&&"function"!==typeof a.item},ra=function(a){return null!=a&&a===a.window},G=b.document,pa={type:!0,src:!0,nonce:!0,noModule:!0},k=function(a,b){return new k.fn.init(a,b)};k.fn=k.prototype={jquery:"3.6.0",constructor:k,length:0,toArray:function(){return aa.call(this)},get:function(a){return null==a?aa.call(this):0>a?this[a+this.length]:
this[a]},pushStack:function(a){a=k.merge(this.constructor(),a);a.prevObject=this;return a},each:function(a){return k.each(this,a)},map:function(a){return this.pushStack(k.map(this,function(b,d){return a.call(b,d,b)}))},slice:function(){return this.pushStack(aa.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,function(a,b){return(b+1)%2}))},odd:function(){return this.pushStack(k.grep(this,function(a,b){return b%
2}))},eq:function(a){var b=this.length;a=+a+(0>a?b:0);return this.pushStack(0<=a&&a<b?[this[a]]:[])},end:function(){return this.prevObject||this.constructor()},push:O,sort:M.sort,splice:M.splice};k.extend=k.fn.extend=function(){var a,b,d,c=arguments[0]||{},h=1,e=arguments.length,f=!1;"boolean"===typeof c&&(f=c,c=arguments[h]||{},h++);"object"===typeof c||K(c)||(c={});h===e&&(c=this,h--);for(;h<e;h++)if(null!=(a=arguments[h]))for(b in a){var g=a[b];if("__proto__"!==b&&c!==g)if(f&&g&&(k.isPlainObject(g)||
(d=Array.isArray(g)))){var n=c[b];n=d&&!Array.isArray(n)?[]:d||k.isPlainObject(n)?n:{};d=!1;c[b]=k.extend(f,n,g)}else void 0!==g&&(c[b]=g)}return c};k.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw Error(a);},noop:function(){},isPlainObject:function(a){if(!a||"[object Object]"!==ka.call(a))return!1;a=ea(a);if(!a)return!0;a=ya.call(a,"constructor")&&a.constructor;return"function"===typeof a&&Ha.call(a)===za},isEmptyObject:function(a){for(var b in a)return!1;
return!0},globalEval:function(a,b,d){f(a,{nonce:b&&b.nonce},d)},each:function(a,b){var d,l=0;if(g(a))for(d=a.length;l<d&&!1!==b.call(a[l],l,a[l]);l++);else for(l in a)if(!1===b.call(a[l],l,a[l]))break;return a},makeArray:function(a,b){b=b||[];null!=a&&(g(Object(a))?k.merge(b,"string"===typeof a?[a]:a):O.call(b,a));return b},inArray:function(a,b,d){return null==b?-1:Y.call(b,a,d)},merge:function(a,b){for(var d=+b.length,l=0,c=a.length;l<d;l++)a[c++]=b[l];a.length=c;return a},grep:function(a,b,d){for(var l=
[],c=0,h=a.length,e=!d;c<h;c++)d=!b(a[c],c),d!==e&&l.push(a[c]);return l},map:function(a,b,d){var l,c=0,h=[];if(g(a))for(l=a.length;c<l;c++){var e=b(a[c],c,d);null!=e&&h.push(e)}else for(c in a)e=b(a[c],c,d),null!=e&&h.push(e);return V(h)},guid:1,support:J});"function"===typeof Symbol&&(k.fn[Symbol.iterator]=M[Symbol.iterator]);k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){S["[object "+b+"]"]=b.toLowerCase()});var ja=function(a){function b(a,
b,d,l){var c,h,e,f,g=b&&b.ownerDocument;var n=b?b.nodeType:9;d=d||[];if("string"!==typeof a||!a||1!==n&&9!==n&&11!==n)return d;if(!l&&(na(b),b=b||I,ca)){if(11!==n&&(f=ea.exec(a)))if(c=f[1])if(9===n)if(h=b.getElementById(c)){if(h.id===c)return d.push(h),d}else return d;else{if(g&&(h=g.getElementById(c))&&Ja(b,h)&&h.id===c)return d.push(h),d}else{if(f[2])return J.apply(d,b.getElementsByTagName(a)),d;if((c=f[3])&&Q.getElementsByClassName&&b.getElementsByClassName)return J.apply(d,b.getElementsByClassName(c)),
d}if(!(!Q.qsa||Ia[a+" "]||X&&X.test(a)||1===n&&"object"===b.nodeName.toLowerCase())){c=a;g=b;if(1===n&&(V.test(a)||P.test(a))){g=aa.test(a)&&k(b.parentNode)||b;g===b&&Q.scope||((e=b.getAttribute("id"))?e=e.replace(ka,qa):b.setAttribute("id",e=B));c=ua(a);for(n=c.length;n--;)c[n]=(e?"#"+e:":scope")+" "+r(c[n]);c=c.join(",")}try{return J.apply(d,g.querySelectorAll(c)),d}catch(sc){Ia(a,!0)}finally{e===B&&b.removeAttribute("id")}}}return ra(a.replace(ta,"$1"),b,d,l)}function d(){function a(d,l){b.push(d+
" ")>N.cacheLength&&delete a[b.shift()];return a[d+" "]=l}var b=[];return a}function l(a){a[B]=!0;return a}function c(a){var b=I.createElement("fieldset");try{return!!a(b)}catch(qc){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}}function h(a,b){a=a.split("|");for(var d=a.length;d--;)N.attrHandle[a[d]]=b}function e(a,b){var d=b&&a,l=d&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(l)return l;if(d)for(;d=d.nextSibling;)if(d===b)return-1;return a?1:-1}function f(a){return function(b){return"input"===
b.nodeName.toLowerCase()&&b.type===a}}function g(a){return function(b){var d=b.nodeName.toLowerCase();return("input"===d||"button"===d)&&b.type===a}}function n(a){return function(b){return"form"in b?b.parentNode&&!1===b.disabled?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&pa(b)===a:b.disabled===a:"label"in b?b.disabled===a:!1}}function p(a){return l(function(b){b=+b;return l(function(d,l){for(var c,h=a([],d.length,b),e=h.length;e--;)d[c=
h[e]]&&(d[c]=!(l[c]=d[c]))})})}function k(a){return a&&"undefined"!==typeof a.getElementsByTagName&&a}function m(){}function r(a){for(var b=0,d=a.length,l="";b<d;b++)l+=a[b].value;return l}function u(a,b,d){var l=b.dir,c=b.next,h=c||l,e=d&&"parentNode"===h,f=va++;return b.first?function(b,d,c){for(;b=b[l];)if(1===b.nodeType||e)return a(b,d,c);return!1}:function(b,d,g){var n,v=[ma,f];if(g)for(;b=b[l];){if((1===b.nodeType||e)&&a(b,d,g))return!0}else for(;b=b[l];)if(1===b.nodeType||e){var p=b[B]||(b[B]=
{});p=p[b.uniqueID]||(p[b.uniqueID]={});if(c&&c===b.nodeName.toLowerCase())b=b[l]||b;else{if((n=p[h])&&n[0]===ma&&n[1]===f)return v[2]=n[2];p[h]=v;if(v[2]=a(b,d,g))return!0}}return!1}}function q(a){return 1<a.length?function(b,d,l){for(var c=a.length;c--;)if(!a[c](b,d,l))return!1;return!0}:a[0]}function w(a,b,d,l,c){for(var h,e=[],f=0,g=a.length,n=null!=b;f<g;f++)if(h=a[f])if(!d||d(h,l,c))e.push(h),n&&b.push(f);return e}function H(a,d,c,h,e,f){h&&!h[B]&&(h=H(h));e&&!e[B]&&(e=H(e,f));return l(function(l,
f,g,n){var v,p=[],k=[],D=f.length,m;if(!(m=l)){m=d||"*";for(var r=g.nodeType?[g]:g,R=[],u=0,q=r.length;u<q;u++)b(m,r[u],R);m=R}m=!a||!l&&d?m:w(m,p,a,g,n);r=c?e||(l?a:D||h)?[]:f:m;c&&c(m,r,g,n);if(h){var H=w(r,k);h(H,[],g,n);for(g=H.length;g--;)if(v=H[g])r[k[g]]=!(m[k[g]]=v)}if(l){if(e||a){if(e){H=[];for(g=r.length;g--;)(v=r[g])&&H.push(m[g]=v);e(null,r=[],H,n)}for(g=r.length;g--;)(v=r[g])&&-1<(H=e?fa(l,v):p[g])&&(l[H]=!(f[H]=v))}}else r=w(r===f?r.splice(D,r.length):r),e?e(null,f,r,n):J.apply(f,r)})}
function x(a){var b,d,l=a.length,c=N.relative[a[0].type];var h=c||N.relative[" "];for(var e=c?1:0,g=u(function(a){return a===b},h,!0),f=u(function(a){return-1<fa(b,a)},h,!0),n=[function(a,d,l){a=!c&&(l||d!==A)||((b=d).nodeType?g(a,d,l):f(a,d,l));b=null;return a}];e<l;e++)if(h=N.relative[a[e].type])n=[u(q(n),h)];else{h=N.filter[a[e].type].apply(null,a[e].matches);if(h[B]){for(d=++e;d<l&&!N.relative[a[d].type];d++);return H(1<e&&q(n),1<e&&r(a.slice(0,e-1).concat({value:" "===a[e-2].type?"*":""})).replace(ta,
"$1"),h,e<d&&x(a.slice(e,d)),d<l&&x(a=a.slice(d)),d<l&&r(a))}n.push(h)}return q(n)}function y(a,d){var c=0<d.length,h=0<a.length,e=function(l,e,g,f,n){var v,p,k=0,D="0",m=l&&[],r=[],R=A,u=l||h&&N.find.TAG("*",n),q=ma+=null==R?1:Math.random()||.1,H=u.length;for(n&&(A=e==I||e||n);D!==H&&null!=(v=u[D]);D++){if(h&&v){var Xa=0;e||v.ownerDocument==I||(na(v),g=!ca);for(;p=a[Xa++];)if(p(v,e||I,g)){f.push(v);break}n&&(ma=q)}c&&((v=!p&&v)&&k--,l&&m.push(v))}k+=D;if(c&&D!==k){for(Xa=0;p=d[Xa++];)p(m,r,e,g);
if(l){if(0<k)for(;D--;)m[D]||r[D]||(r[D]=K.call(f));r=w(r)}J.apply(f,r);n&&!l&&0<r.length&&1<k+d.length&&b.uniqueSort(f)}n&&(ma=q,A=R);return m};return c?l(e):e}var t,A,ja,z,I,L,ca,X,C,F,Ja,B="sizzle"+1*new Date,da=a.document,ma=0,va=0,Z=d(),eb=d(),Ra=d(),Ia=d(),E=function(a,b){a===b&&(z=!0);return 0},G={}.hasOwnProperty,Ba=[],K=Ba.pop,Fa=Ba.push,J=Ba.push,M=Ba.slice,fa=function(a,b){for(var d=0,l=a.length;d<l;d++)if(a[d]===b)return d;return-1},O=/[\x20\t\r\n\f]+/g,ta=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g,
W=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,P=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,V=/[\x20\t\r\n\f]|>/,ha=/:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,
Y=/^(?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+$/,U={ID:/^#((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,CLASS:/^\.((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,TAG:/^((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\]/,
PSEUDO:/^:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,
bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},ia=/HTML$/i,ba=/^(?:input|select|textarea|button)$/i,ib=/^h\d$/i,sa=/^[^{]+\{\s*\[native \w/,ea=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,S=/\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\([^\r\n\f])/g,T=function(a,b){a="0x"+a.slice(1)-
65536;return b?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,a&1023|56320)},ka=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,qa=function(a,b){return b?"\x00"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},la=function(){na()},pa=u(function(a){return!0===a.disabled&&"fieldset"===a.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(Ba=M.call(da.childNodes),da.childNodes),Ba[da.childNodes.length].nodeType}catch(pc){J={apply:Ba.length?
function(a,b){Fa.apply(a,M.call(b))}:function(a,b){for(var d=a.length,l=0;a[d++]=b[l++];);a.length=d-1}}}var Q=b.support={};var wa=b.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!ia.test(a&&a.namespaceURI||b&&b.nodeName||"HTML")};var na=b.setDocument=function(a){var b;a=a?a.ownerDocument||a:da;if(a==I||9!==a.nodeType||!a.documentElement)return I;I=a;L=I.documentElement;ca=!wa(I);da!=I&&(b=I.defaultView)&&b.top!==b&&(b.addEventListener?b.addEventListener("unload",la,!1):b.attachEvent&&
b.attachEvent("onunload",la));Q.scope=c(function(a){L.appendChild(a).appendChild(I.createElement("div"));return"undefined"!==typeof a.querySelectorAll&&!a.querySelectorAll(":scope fieldset div").length});Q.attributes=c(function(a){a.className="i";return!a.getAttribute("className")});Q.getElementsByTagName=c(function(a){a.appendChild(I.createComment(""));return!a.getElementsByTagName("*").length});Q.getElementsByClassName=sa.test(I.getElementsByClassName);Q.getById=c(function(a){L.appendChild(a).id=
B;return!I.getElementsByName||!I.getElementsByName(B).length});Q.getById?(N.filter.ID=function(a){var b=a.replace(S,T);return function(a){return a.getAttribute("id")===b}},N.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&ca)return(a=b.getElementById(a))?[a]:[]}):(N.filter.ID=function(a){var b=a.replace(S,T);return function(a){return(a="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===b}},N.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&
ca){var d,l=b.getElementById(a);if(l){if((d=l.getAttributeNode("id"))&&d.value===a)return[l];var c=b.getElementsByName(a);for(b=0;l=c[b++];)if((d=l.getAttributeNode("id"))&&d.value===a)return[l]}return[]}});N.find.TAG=Q.getElementsByTagName?function(a,b){if("undefined"!==typeof b.getElementsByTagName)return b.getElementsByTagName(a);if(Q.qsa)return b.querySelectorAll(a)}:function(a,b){var d=[],l=0;b=b.getElementsByTagName(a);if("*"===a){for(;a=b[l++];)1===a.nodeType&&d.push(a);return d}return b};
N.find.CLASS=Q.getElementsByClassName&&function(a,b){if("undefined"!==typeof b.getElementsByClassName&&ca)return b.getElementsByClassName(a)};C=[];X=[];if(Q.qsa=sa.test(I.querySelectorAll))c(function(a){L.appendChild(a).innerHTML="\x3ca id\x3d'"+B+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+B+"-\r\\' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";a.querySelectorAll("[msallowcapture^\x3d'']").length&&X.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||
X.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");a.querySelectorAll("[id~\x3d"+B+"-]").length||X.push("~\x3d");var b=I.createElement("input");b.setAttribute("name","");a.appendChild(b);a.querySelectorAll("[name\x3d'']").length||X.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll(":checked").length||X.push(":checked");a.querySelectorAll("a#"+
B+"+*").length||X.push(".#.+[+~]");a.querySelectorAll("\\\f");X.push("[\\r\\n\\f]")}),c(function(a){a.innerHTML="\x3ca href\x3d'' disabled\x3d'disabled'\x3e\x3c/a\x3e\x3cselect disabled\x3d'disabled'\x3e\x3coption/\x3e\x3c/select\x3e";var b=I.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");a.querySelectorAll("[name\x3dd]").length&&X.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");2!==a.querySelectorAll(":enabled").length&&X.push(":enabled",":disabled");
L.appendChild(a).disabled=!0;2!==a.querySelectorAll(":disabled").length&&X.push(":enabled",":disabled");a.querySelectorAll("*,:x");X.push(",.*:")});(Q.matchesSelector=sa.test(F=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&c(function(a){Q.disconnectedMatch=F.call(a,"*");F.call(a,"[s!\x3d'']:x");C.push("!\x3d",":((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?\x3d)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")});
X=X.length&&new RegExp(X.join("|"));C=C.length&&new RegExp(C.join("|"));Ja=(b=sa.test(L.compareDocumentPosition))||sa.test(L.contains)?function(a,b){var d=9===a.nodeType?a.documentElement:a;b=b&&b.parentNode;return a===b||!!(b&&1===b.nodeType&&(d.contains?d.contains(b):a.compareDocumentPosition&&a.compareDocumentPosition(b)&16))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1};E=b?function(a,b){if(a===b)return z=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;
if(d)return d;d=(a.ownerDocument||a)==(b.ownerDocument||b)?a.compareDocumentPosition(b):1;return d&1||!Q.sortDetached&&b.compareDocumentPosition(a)===d?a==I||a.ownerDocument==da&&Ja(da,a)?-1:b==I||b.ownerDocument==da&&Ja(da,b)?1:ja?fa(ja,a)-fa(ja,b):0:d&4?-1:1}:function(a,b){if(a===b)return z=!0,0;var d=0,l=a.parentNode,c=b.parentNode,h=[a],g=[b];if(!l||!c)return a==I?-1:b==I?1:l?-1:c?1:ja?fa(ja,a)-fa(ja,b):0;if(l===c)return e(a,b);for(;a=a.parentNode;)h.unshift(a);for(a=b;a=a.parentNode;)g.unshift(a);
for(;h[d]===g[d];)d++;return d?e(h[d],g[d]):h[d]==da?-1:g[d]==da?1:0};return I};b.matches=function(a,d){return b(a,null,null,d)};b.matchesSelector=function(a,d){na(a);if(!(!Q.matchesSelector||!ca||Ia[d+" "]||C&&C.test(d)||X&&X.test(d)))try{var l=F.call(a,d);if(l||Q.disconnectedMatch||a.document&&11!==a.document.nodeType)return l}catch(rc){Ia(d,!0)}return 0<b(d,I,null,[a]).length};b.contains=function(a,b){(a.ownerDocument||a)!=I&&na(a);return Ja(a,b)};b.attr=function(a,b){(a.ownerDocument||a)!=I&&
na(a);var d=N.attrHandle[b.toLowerCase()];d=d&&G.call(N.attrHandle,b.toLowerCase())?d(a,b,!ca):void 0;return void 0!==d?d:Q.attributes||!ca?a.getAttribute(b):(d=a.getAttributeNode(b))&&d.specified?d.value:null};b.escape=function(a){return(a+"").replace(ka,qa)};b.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};b.uniqueSort=function(a){var b,d=[],l=0,c=0;z=!Q.detectDuplicates;ja=!Q.sortStable&&a.slice(0);a.sort(E);if(z){for(;b=a[c++];)b===a[c]&&(l=d.push(c));for(;l--;)a.splice(d[l],
1)}ja=null;return a};var Da=b.getText=function(a){var b="",d=0;var l=a.nodeType;if(!l)for(;l=a[d++];)b+=Da(l);else if(1===l||9===l||11===l){if("string"===typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)b+=Da(a)}else if(3===l||4===l)return a.nodeValue;return b};var N=b.selectors={cacheLength:50,createPseudo:l,match:U,attrHandle:{},find:{},relative:{"\x3e":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},
preFilter:{ATTR:function(a){a[1]=a[1].replace(S,T);a[3]=(a[3]||a[4]||a[5]||"").replace(S,T);"~\x3d"===a[2]&&(a[3]=" "+a[3]+" ");return a.slice(0,4)},CHILD:function(a){a[1]=a[1].toLowerCase();"nth"===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&b.error(a[0]);return a},PSEUDO:function(a){var b,d=!a[6]&&a[2];if(U.CHILD.test(a[0]))return null;a[3]?a[2]=a[4]||a[5]||"":d&&ha.test(d)&&(b=ua(d,!0))&&(b=d.indexOf(")",
d.length-b)-d.length)&&(a[0]=a[0].slice(0,b),a[2]=d.slice(0,b));return a.slice(0,3)}},filter:{TAG:function(a){var b=a.replace(S,T).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=Z[a+" "];return b||(b=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"),Z(a,function(a){return b.test("string"===typeof a.className&&a.className||"undefined"!==typeof a.getAttribute&&a.getAttribute("class")||"")}))},ATTR:function(a,
d,l){return function(c){c=b.attr(c,a);if(null==c)return"!\x3d"===d;if(!d)return!0;c+="";return"\x3d"===d?c===l:"!\x3d"===d?c!==l:"^\x3d"===d?l&&0===c.indexOf(l):"*\x3d"===d?l&&-1<c.indexOf(l):"$\x3d"===d?l&&c.slice(-l.length)===l:"~\x3d"===d?-1<(" "+c.replace(O," ")+" ").indexOf(l):"|\x3d"===d?c===l||c.slice(0,l.length+1)===l+"-":!1}},CHILD:function(a,b,d,l,c){var h="nth"!==a.slice(0,3),e="last"!==a.slice(-4),g="of-type"===b;return 1===l&&0===c?function(a){return!!a.parentNode}:function(b,d,f){var n,
v;d=h!==e?"nextSibling":"previousSibling";var p=b.parentNode,k=g&&b.nodeName.toLowerCase();f=!f&&!g;var D=!1;if(p){if(h){for(;d;){for(n=b;n=n[d];)if(g?n.nodeName.toLowerCase()===k:1===n.nodeType)return!1;var m=d="only"===a&&!m&&"nextSibling"}return!0}m=[e?p.firstChild:p.lastChild];if(e&&f){n=p;var r=n[B]||(n[B]={});r=r[n.uniqueID]||(r[n.uniqueID]={});D=r[a]||[];D=(v=D[0]===ma&&D[1])&&D[2];for(n=v&&p.childNodes[v];n=++v&&n&&n[d]||(D=v=0)||m.pop();)if(1===n.nodeType&&++D&&n===b){r[a]=[ma,v,D];break}}else if(f&&
(n=b,r=n[B]||(n[B]={}),r=r[n.uniqueID]||(r[n.uniqueID]={}),D=r[a]||[],D=v=D[0]===ma&&D[1]),!1===D)for(;(n=++v&&n&&n[d]||(D=v=0)||m.pop())&&((g?n.nodeName.toLowerCase()!==k:1!==n.nodeType)||!++D||(f&&(r=n[B]||(n[B]={}),r=r[n.uniqueID]||(r[n.uniqueID]={}),r[a]=[ma,D]),n!==b)););D-=c;return D===l||0===D%l&&0<=D/l}}},PSEUDO:function(a,d){var c=N.pseudos[a]||N.setFilters[a.toLowerCase()]||b.error("unsupported pseudo: "+a);if(c[B])return c(d);if(1<c.length){var h=[a,a,"",d];return N.setFilters.hasOwnProperty(a.toLowerCase())?
l(function(a,b){for(var l,h=c(a,d),e=h.length;e--;)l=fa(a,h[e]),a[l]=!(b[l]=h[e])}):function(a){return c(a,0,h)}}return c}},pseudos:{not:l(function(a){var b=[],d=[],c=oa(a.replace(ta,"$1"));return c[B]?l(function(a,b,d,l){l=c(a,null,l,[]);for(var h=a.length;h--;)if(d=l[h])a[h]=!(b[h]=d)}):function(a,l,h){b[0]=a;c(b,null,h,d);b[0]=null;return!d.pop()}}),has:l(function(a){return function(d){return 0<b(a,d).length}}),contains:l(function(a){a=a.replace(S,T);return function(b){return-1<(b.textContent||
Da(b)).indexOf(a)}}),lang:l(function(a){Y.test(a||"")||b.error("unsupported lang: "+a);a=a.replace(S,T).toLowerCase();return function(b){var d;do if(d=ca?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return d=d.toLowerCase(),d===a||0===d.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var d=a.location&&a.location.hash;return d&&d.slice(1)===b.id},root:function(a){return a===L},focus:function(a){return a===I.activeElement&&(!I.hasFocus||I.hasFocus())&&
!!(a.type||a.href||~a.tabIndex)},enabled:n(!1),disabled:n(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(6>a.nodeType)return!1;return!0},parent:function(a){return!N.pseudos.empty(a)},header:function(a){return ib.test(a.nodeName)},input:function(a){return ba.test(a.nodeName)},button:function(a){var b=
a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:p(function(){return[0]}),last:p(function(a,b){return[b-1]}),eq:p(function(a,b,d){return[0>d?d+b:d]}),even:p(function(a,b){for(var d=0;d<b;d+=2)a.push(d);return a}),odd:p(function(a,b){for(var d=1;d<b;d+=2)a.push(d);return a}),lt:p(function(a,b,d){for(b=0>d?d+b:d>b?b:d;0<=--b;)a.push(b);
return a}),gt:p(function(a,b,d){for(d=0>d?d+b:d;++d<b;)a.push(d);return a})}};N.pseudos.nth=N.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})N.pseudos[t]=f(t);for(t in{submit:!0,reset:!0})N.pseudos[t]=g(t);m.prototype=N.filters=N.pseudos;N.setFilters=new m;var ua=b.tokenize=function(a,d){var l,c,h,e,g;if(e=eb[a+" "])return d?0:e.slice(0);e=a;var f=[];for(g=N.preFilter;e;){if(!n||(l=W.exec(e)))l&&(e=e.slice(l[0].length)||e),f.push(c=[]);var n=!1;if(l=P.exec(e))n=l.shift(),c.push({value:n,
type:l[0].replace(ta," ")}),e=e.slice(n.length);for(h in N.filter)!(l=U[h].exec(e))||g[h]&&!(l=g[h](l))||(n=l.shift(),c.push({value:n,type:h,matches:l}),e=e.slice(n.length));if(!n)break}return d?e.length:e?b.error(a):eb(a,f).slice(0)};var oa=b.compile=function(a,b){var d,l=[],c=[],h=Ra[a+" "];if(!h){b||(b=ua(a));for(d=b.length;d--;)h=x(b[d]),h[B]?l.push(h):c.push(h);h=Ra(a,y(c,l));h.selector=a}return h};var ra=b.select=function(a,b,d,l){var c,h,e,g="function"===typeof a&&a,f=!l&&ua(a=g.selector||
a);d=d||[];if(1===f.length){var n=f[0]=f[0].slice(0);if(2<n.length&&"ID"===(h=n[0]).type&&9===b.nodeType&&ca&&N.relative[n[1].type]){b=(N.find.ID(h.matches[0].replace(S,T),b)||[])[0];if(!b)return d;g&&(b=b.parentNode);a=a.slice(n.shift().value.length)}for(c=U.needsContext.test(a)?0:n.length;c--;){h=n[c];if(N.relative[e=h.type])break;if(e=N.find[e])if(l=e(h.matches[0].replace(S,T),aa.test(n[0].type)&&k(b.parentNode)||b)){n.splice(c,1);a=l.length&&r(n);if(!a)return J.apply(d,l),d;break}}}(g||oa(a,f))(l,
b,!ca,d,!b||aa.test(a)&&k(b.parentNode)||b);return d};Q.sortStable=B.split("").sort(E).join("")===B;Q.detectDuplicates=!!z;na();Q.sortDetached=c(function(a){return a.compareDocumentPosition(I.createElement("fieldset"))&1});c(function(a){a.innerHTML="\x3ca href\x3d'#'\x3e\x3c/a\x3e";return"#"===a.firstChild.getAttribute("href")})||h("type|href|height|width",function(a,b,d){if(!d)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)});Q.attributes&&c(function(a){a.innerHTML="\x3cinput/\x3e";a.firstChild.setAttribute("value",
"");return""===a.firstChild.getAttribute("value")})||h("value",function(a,b,d){if(!d&&"input"===a.nodeName.toLowerCase())return a.defaultValue});c(function(a){return null==a.getAttribute("disabled")})||h("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(a,b,d){var l;if(!d)return!0===a[b]?b.toLowerCase():(l=a.getAttributeNode(b))&&l.specified?l.value:null});return b}(b);k.find=ja;k.expr=ja.selectors;k.expr[":"]=k.expr.pseudos;
k.uniqueSort=k.unique=ja.uniqueSort;k.text=ja.getText;k.isXMLDoc=ja.isXML;k.contains=ja.contains;k.escapeSelector=ja.escape;var ca=function(a,b,d){for(var l=[],c=void 0!==d;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(c&&k(a).is(d))break;l.push(a)}return l},X=function(a,b){for(var d=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&d.push(a);return d},Ia=k.expr.match.needsContext,Ra=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;k.filter=function(a,b,d){var l=b[0];d&&(a=":not("+a+
")");return 1===b.length&&1===l.nodeType?k.find.matchesSelector(l,a)?[l]:[]:k.find.matches(a,k.grep(b,function(a){return 1===a.nodeType}))};k.fn.extend({find:function(a){var b,d=this.length,l=this;if("string"!==typeof a)return this.pushStack(k(a).filter(function(){for(b=0;b<d;b++)if(k.contains(l[b],this))return!0}));var c=this.pushStack([]);for(b=0;b<d;b++)k.find(a,l[b],c);return 1<d?k.uniqueSort(c):c},filter:function(b){return this.pushStack(a(this,b||[],!1))},not:function(b){return this.pushStack(a(this,
b||[],!0))},is:function(b){return!!a(this,"string"===typeof b&&Ia.test(b)?k(b):b||[],!1).length}});var Ja=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(a,b,d){if(!a)return this;d=d||eb;if("string"===typeof a){var l="\x3c"===a[0]&&"\x3e"===a[a.length-1]&&3<=a.length?[null,a,null]:Ja.exec(a);if(!l||!l[1]&&b)return!b||b.jquery?(b||d).find(a):this.constructor(b).find(a);if(l[1]){if(b=b instanceof k?b[0]:b,k.merge(this,k.parseHTML(l[1],b&&b.nodeType?b.ownerDocument||b:G,!0)),Ra.test(l[1])&&
k.isPlainObject(b))for(l in b)if(K(this[l]))this[l](b[l]);else this.attr(l,b[l])}else if(a=G.getElementById(l[2]))this[0]=a,this.length=1;return this}return a.nodeType?(this[0]=a,this.length=1,this):K(a)?void 0!==d.ready?d.ready(a):a(k):k.makeArray(a,this)}).prototype=k.fn;var eb=k(G);var Ba=/^(?:parents|prev(?:Until|All))/,ib={children:!0,contents:!0,next:!0,prev:!0};k.fn.extend({has:function(a){var b=k(a,this),d=b.length;return this.filter(function(){for(var a=0;a<d;a++)if(k.contains(this,b[a]))return!0})},
closest:function(a,b){var d,l=0,c=this.length,h=[],e="string"!==typeof a&&k(a);if(!Ia.test(a))for(;l<c;l++)for(d=this[l];d&&d!==b;d=d.parentNode)if(11>d.nodeType&&(e?-1<e.index(d):1===d.nodeType&&k.find.matchesSelector(d,a))){h.push(d);break}return this.pushStack(1<h.length?k.uniqueSort(h):h)},index:function(a){return a?"string"===typeof a?Y.call(k(a),this[0]):Y.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(k.uniqueSort(k.merge(this.get(),
k(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});k.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},parents:function(a){return ca(a,"parentNode")},parentsUntil:function(a,b,d){return ca(a,"parentNode",d)},next:function(a){return d(a,"nextSibling")},prev:function(a){return d(a,"previousSibling")},nextAll:function(a){return ca(a,"nextSibling")},prevAll:function(a){return ca(a,"previousSibling")},nextUntil:function(a,b,d){return ca(a,
"nextSibling",d)},prevUntil:function(a,b,d){return ca(a,"previousSibling",d)},siblings:function(a){return X((a.parentNode||{}).firstChild,a)},children:function(a){return X(a.firstChild)},contents:function(a){if(null!=a.contentDocument&&ea(a.contentDocument))return a.contentDocument;m(a,"template")&&(a=a.content||a);return k.merge([],a.childNodes)}},function(a,b){k.fn[a]=function(d,l){var c=k.map(this,b,d);"Until"!==a.slice(-5)&&(l=d);l&&"string"===typeof l&&(c=k.filter(l,c));1<this.length&&(ib[a]||
k.uniqueSort(c),Ba.test(a)&&c.reverse());return this.pushStack(c)}});var qa=/[^\x20\t\r\n\f]+/g;k.Callbacks=function(a){a="string"===typeof a?h(a):k.extend({},a);var b,d,l,c,g=[],f=[],n=-1,p=function(){c=c||a.once;for(l=b=!0;f.length;n=-1)for(d=f.shift();++n<g.length;)!1===g[n].apply(d[0],d[1])&&a.stopOnFalse&&(n=g.length,d=!1);a.memory||(d=!1);b=!1;c&&(g=d?[]:"")},m={add:function(){g&&(d&&!b&&(n=g.length-1,f.push(d)),function Pb(b){k.each(b,function(b,d){K(d)?a.unique&&m.has(d)||g.push(d):d&&d.length&&
"string"!==e(d)&&Pb(d)})}(arguments),d&&!b&&p());return this},remove:function(){k.each(arguments,function(a,b){for(var d;-1<(d=k.inArray(b,g,d));)g.splice(d,1),d<=n&&n--});return this},has:function(a){return a?-1<k.inArray(a,g):0<g.length},empty:function(){g&&(g=[]);return this},disable:function(){c=f=[];g=d="";return this},disabled:function(){return!g},lock:function(){c=f=[];d||b||(g=d="");return this},locked:function(){return!!c},fireWith:function(a,d){c||(d=d||[],d=[a,d.slice?d.slice():d],f.push(d),
b||p());return this},fire:function(){m.fireWith(this,arguments);return this},fired:function(){return!!l}};return m};k.extend({Deferred:function(a){var d=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],l="pending",c={state:function(){return l},always:function(){h.done(arguments).fail(arguments);return this},
"catch":function(a){return c.then(null,a)},pipe:function(){var a=arguments;return k.Deferred(function(b){k.each(d,function(d,l){var c=K(a[l[4]])&&a[l[4]];h[l[1]](function(){var a=c&&c.apply(this,arguments);if(a&&K(a.promise))a.promise().progress(b.notify).done(b.resolve).fail(b.reject);else b[l[0]+"With"](this,c?[a]:arguments)})});a=null}).promise()},then:function(a,l,c){function h(a,d,l,c){return function(){var g=this,f=arguments,v=function(){if(!(a<e)){var b=l.apply(g,f);if(b===d.promise())throw new TypeError("Thenable self-resolution");
var v=b&&("object"===typeof b||"function"===typeof b)&&b.then;K(v)?c?v.call(b,h(e,d,n,c),h(e,d,p,c)):(e++,v.call(b,h(e,d,n,c),h(e,d,p,c),h(e,d,n,d.notifyWith))):(l!==n&&(g=void 0,f=[b]),(c||d.resolveWith)(g,f))}},m=c?v:function(){try{v()}catch(ub){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(ub,m.stackTrace),a+1>=e&&(l!==p&&(g=void 0,f=[ub]),d.rejectWith(g,f))}};a?m():(k.Deferred.getStackHook&&(m.stackTrace=k.Deferred.getStackHook()),b.setTimeout(m))}}var e=0;return k.Deferred(function(b){d[0][3].add(h(0,
b,K(c)?c:n,b.notifyWith));d[1][3].add(h(0,b,K(a)?a:n));d[2][3].add(h(0,b,K(l)?l:p))}).promise()},promise:function(a){return null!=a?k.extend(a,c):c}},h={};k.each(d,function(a,b){var e=b[2],g=b[5];c[b[1]]=e.add;g&&e.add(function(){l=g},d[3-a][2].disable,d[3-a][3].disable,d[0][2].lock,d[0][3].lock);e.add(b[3].fire);h[b[0]]=function(){h[b[0]+"With"](this===h?void 0:this,arguments);return this};h[b[0]+"With"]=e.fireWith});c.promise(h);a&&a.call(h,h);return h},when:function(a){var b=arguments.length,d=
b,l=Array(d),c=aa.call(arguments),h=k.Deferred(),e=function(a){return function(d){l[a]=this;c[a]=1<arguments.length?aa.call(arguments):d;--b||h.resolveWith(l,c)}};if(1>=b&&(u(a,h.done(e(d)).resolve,h.reject,!b),"pending"===h.state()||K(c[d]&&c[d].then)))return h.then();for(;d--;)u(c[d],e(d),h.reject);return h.promise()}});var Tb=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(a,d){b.console&&b.console.warn&&a&&Tb.test(a.name)&&b.console.warn("jQuery.Deferred exception: "+
a.message,a.stack,d)};k.readyException=function(a){b.setTimeout(function(){throw a;})};var jb=k.Deferred();k.fn.ready=function(a){jb.then(a).catch(function(a){k.readyException(a)});return this};k.extend({isReady:!1,readyWait:1,ready:function(a){(!0===a?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==a&&0<--k.readyWait||jb.resolveWith(G,[k]))}});k.ready.then=jb.then;"complete"===G.readyState||"loading"!==G.readyState&&!G.documentElement.doScroll?b.setTimeout(k.ready):(G.addEventListener("DOMContentLoaded",
r),b.addEventListener("load",r));var Ca=function(a,b,d,c,h,g,f){var l=0,n=a.length,p=null==d;if("object"===e(d))for(l in h=!0,d)Ca(a,b,l,d[l],!0,g,f);else if(void 0!==c&&(h=!0,K(c)||(f=!0),p&&(f?(b.call(a,c),b=null):(p=b,b=function(a,b,d){return p.call(k(a),d)})),b))for(;l<n;l++)b(a[l],d,f?c:c.call(a[l],l,b(a[l],d)));return h?a:p?b.call(a):n?b(a[0],d):g},Hb=/^-ms-/,Ib=/-([a-z])/g,Sa=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};t.uid=1;t.prototype={cache:function(a){var b=a[this.expando];
b||(b={},Sa(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0})));return b},set:function(a,b,d){var c;a=this.cache(a);if("string"===typeof b)a[q(b)]=d;else for(c in b)a[q(c)]=b[c];return a},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][q(b)]},access:function(a,b,d){if(void 0===b||b&&"string"===typeof b&&void 0===d)return this.get(a,b);this.set(a,b,d);return void 0!==d?d:b},remove:function(a,b){var d,c=a[this.expando];
if(void 0!==c){if(void 0!==b)for(Array.isArray(b)?b=b.map(q):(b=q(b),b=b in c?[b]:b.match(qa)||[]),d=b.length;d--;)delete c[b[d]];if(void 0===b||k.isEmptyObject(c))a.nodeType?a[this.expando]=void 0:delete a[this.expando]}},hasData:function(a){a=a[this.expando];return void 0!==a&&!k.isEmptyObject(a)}};var E=new t,T=new t,Kb=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Jb=/[A-Z]/g;k.extend({hasData:function(a){return T.hasData(a)||E.hasData(a)},data:function(a,b,d){return T.access(a,b,d)},removeData:function(a,
b){T.remove(a,b)},_data:function(a,b,d){return E.access(a,b,d)},_removeData:function(a,b){E.remove(a,b)}});k.fn.extend({data:function(a,b){var d,c=this[0],l=c&&c.attributes;if(void 0===a){if(this.length){var h=T.get(c);if(1===c.nodeType&&!E.get(c,"hasDataAttrs")){for(d=l.length;d--;)if(l[d]){var e=l[d].name;0===e.indexOf("data-")&&(e=q(e.slice(5)),A(c,e,h[e]))}E.set(c,"hasDataAttrs",!0)}}return h}return"object"===typeof a?this.each(function(){T.set(this,a)}):Ca(this,function(b){if(c&&void 0===b){var d=
T.get(c,a);if(void 0!==d)return d;d=A(c,a);if(void 0!==d)return d}else this.each(function(){T.set(this,a,b)})},null,b,1<arguments.length,null,!0)},removeData:function(a){return this.each(function(){T.remove(this,a)})}});k.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var c=E.get(a,b);d&&(!c||Array.isArray(d)?c=E.access(a,b,k.makeArray(d)):c.push(d));return c||[]}},dequeue:function(a,b){b=b||"fx";var d=k.queue(a,b),c=d.length,l=d.shift(),h=k._queueHooks(a,b),e=function(){k.dequeue(a,b)};
"inprogress"===l&&(l=d.shift(),c--);l&&("fx"===b&&d.unshift("inprogress"),delete h.stop,l.call(a,e,h));!c&&h&&h.empty.fire()},_queueHooks:function(a,b){var d=b+"queueHooks";return E.get(a,d)||E.access(a,d,{empty:k.Callbacks("once memory").add(function(){E.remove(a,[b+"queue",d])})})}});k.fn.extend({queue:function(a,b){var d=2;"string"!==typeof a&&(b=a,a="fx",d--);return arguments.length<d?k.queue(this[0],a):void 0===b?this:this.each(function(){var d=k.queue(this,a,b);k._queueHooks(this,a);"fx"===
a&&"inprogress"!==d[0]&&k.dequeue(this,a)})},dequeue:function(a){return this.each(function(){k.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var d,c=1,h=k.Deferred(),l=this,e=this.length,g=function(){--c||h.resolveWith(l,[l])};"string"!==typeof a&&(b=a,a=void 0);for(a=a||"fx";e--;)(d=E.get(l[e],a+"queueHooks"))&&d.empty&&(c++,d.empty.add(g));g();return h.promise(b)}});var vb=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Oa=new RegExp("^(?:([+-])\x3d|)("+
vb+")([a-z%]*)$","i"),Aa=["Top","Right","Bottom","Left"],Ka=G.documentElement,La=function(a){return k.contains(a.ownerDocument,a)},Ub={composed:!0};Ka.getRootNode&&(La=function(a){return k.contains(a.ownerDocument,a)||a.getRootNode(Ub)===a.ownerDocument});var Ya=function(a,b){a=b||a;return"none"===a.style.display||""===a.style.display&&La(a)&&"none"===k.css(a,"display")},ob={};k.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(a){return"boolean"===typeof a?
a?this.show():this.hide():this.each(function(){Ya(this)?k(this).show():k(this).hide()})}});var Ta=/^(?:checkbox|radio)$/i,pb=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,qb=/^$|^module$|\/(?:java|ecma)script/i;(function(){var a=G.createDocumentFragment().appendChild(G.createElement("div")),b=G.createElement("input");b.setAttribute("type","radio");b.setAttribute("checked","checked");b.setAttribute("name","t");a.appendChild(b);J.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="\x3ctextarea\x3ex\x3c/textarea\x3e";
J.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue;a.innerHTML="\x3coption\x3e\x3c/option\x3e";J.option=!!a.lastChild})();var la={thead:[1,"\x3ctable\x3e","\x3c/table\x3e"],col:[2,"\x3ctable\x3e\x3ccolgroup\x3e","\x3c/colgroup\x3e\x3c/table\x3e"],tr:[2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"],td:[3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"],_default:[0,"",""]};la.tbody=la.tfoot=la.colgroup=la.caption=la.thead;la.th=la.td;J.option||
(la.optgroup=la.option=[1,"\x3cselect multiple\x3d'multiple'\x3e","\x3c/select\x3e"]);var Nb=/<|&#?\w+;/,wb=/^([^.]*)(?:\.(.+)|)/;k.event={global:{},add:function(a,b,d,c,h){var l,e,g,f;var n=E.get(a);if(Sa(a)){if(d.handler){var p=d;d=p.handler;h=p.selector}h&&k.find.matchesSelector(Ka,h);d.guid||(d.guid=k.guid++);(e=n.events)||(e=n.events=Object.create(null));(l=n.handle)||(l=n.handle=function(b){return"undefined"!==typeof k&&k.event.triggered!==b.type?k.event.dispatch.apply(a,arguments):void 0});
b=(b||"").match(qa)||[""];for(n=b.length;n--;){var v=wb.exec(b[n])||[];var m=g=v[1];var r=(v[2]||"").split(".").sort();m&&(v=k.event.special[m]||{},m=(h?v.delegateType:v.bindType)||m,v=k.event.special[m]||{},g=k.extend({type:m,origType:g,data:c,handler:d,guid:d.guid,selector:h,needsContext:h&&k.expr.match.needsContext.test(h),namespace:r.join(".")},p),(f=e[m])||(f=e[m]=[],f.delegateCount=0,v.setup&&!1!==v.setup.call(a,c,r,l)||a.addEventListener&&a.addEventListener(m,l)),v.add&&(v.add.call(a,g),g.handler.guid||
(g.handler.guid=d.guid)),h?f.splice(f.delegateCount++,0,g):f.push(g),k.event.global[m]=!0)}}},remove:function(a,b,d,c,h){var l,e,g,f,n,p=E.hasData(a)&&E.get(a);if(p&&(g=p.events)){b=(b||"").match(qa)||[""];for(f=b.length;f--;){var v=wb.exec(b[f])||[];var m=n=v[1];var r=(v[2]||"").split(".").sort();if(m){var D=k.event.special[m]||{};m=(c?D.delegateType:D.bindType)||m;var u=g[m]||[];v=v[2]&&new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)");for(e=l=u.length;l--;){var q=u[l];!h&&n!==q.origType||
d&&d.guid!==q.guid||v&&!v.test(q.namespace)||c&&c!==q.selector&&("**"!==c||!q.selector)||(u.splice(l,1),q.selector&&u.delegateCount--,D.remove&&D.remove.call(a,q))}e&&!u.length&&(D.teardown&&!1!==D.teardown.call(a,r,p.handle)||k.removeEvent(a,m,p.handle),delete g[m])}else for(m in g)k.event.remove(a,m+b[f],d,c,!0)}k.isEmptyObject(g)&&E.remove(a,"handle events")}},dispatch:function(a){var b,d,c,h=Array(arguments.length),l=k.event.fix(a);var e=(E.get(this,"events")||Object.create(null))[l.type]||[];
var g=k.event.special[l.type]||{};h[0]=l;for(b=1;b<arguments.length;b++)h[b]=arguments[b];l.delegateTarget=this;if(!g.preDispatch||!1!==g.preDispatch.call(this,l)){var f=k.event.handlers.call(this,l,e);for(b=0;(c=f[b++])&&!l.isPropagationStopped();)for(l.currentTarget=c.elem,e=0;(d=c.handlers[e++])&&!l.isImmediatePropagationStopped();)if(!l.rnamespace||!1===d.namespace||l.rnamespace.test(d.namespace))l.handleObj=d,l.data=d.data,d=((k.event.special[d.origType]||{}).handle||d.handler).apply(c.elem,
h),void 0!==d&&!1===(l.result=d)&&(l.preventDefault(),l.stopPropagation());g.postDispatch&&g.postDispatch.call(this,l);return l.result}},handlers:function(a,b){var d,c=[],h=b.delegateCount,l=a.target;if(h&&l.nodeType&&!("click"===a.type&&1<=a.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==a.type||!0!==l.disabled)){var e=[];var g={};for(d=0;d<h;d++){var f=b[d];var n=f.selector+" ";void 0===g[n]&&(g[n]=f.needsContext?-1<k(n,this).index(l):k.find(n,this,null,[l]).length);g[n]&&
e.push(f)}e.length&&c.push({elem:l,handlers:e})}h<b.length&&c.push({elem:this,handlers:b.slice(h)});return c},addProp:function(a,b){Object.defineProperty(k.Event.prototype,a,{enumerable:!0,configurable:!0,get:K(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[k.expando]?a:new k.Event(a)},special:{load:{noBubble:!0},
click:{setup:function(a){a=this||a;Ta.test(a.type)&&a.click&&m(a,"input")&&da(a,"click",B);return!1},trigger:function(a){a=this||a;Ta.test(a.type)&&a.click&&m(a,"input")&&da(a,"click");return!0},_default:function(a){a=a.target;return Ta.test(a.type)&&a.click&&m(a,"input")&&E.get(a,"click")||m(a,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}};k.removeEvent=function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d)};
k.Event=function(a,b){if(!(this instanceof k.Event))return new k.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&!1===a.returnValue?B:L,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a;b&&k.extend(this,b);this.timeStamp=a&&a.timeStamp||Date.now();this[k.expando]=!0};k.Event.prototype={constructor:k.Event,isDefaultPrevented:L,
isPropagationStopped:L,isImmediatePropagationStopped:L,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=B;a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=B;a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=B;a&&!this.isSimulated&&a.stopImmediatePropagation();this.stopPropagation()}};k.each({altKey:!0,
bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp);k.each({focus:"focusin",blur:"focusout"},function(a,b){k.event.special[a]={setup:function(){da(this,a,H);return!1},trigger:function(){da(this,a);
return!0},_default:function(){return!0},delegateType:b}});k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){k.event.special[a]={delegateType:b,bindType:b,handle:function(a){var d=a.relatedTarget,c=a.handleObj;if(!d||d!==this&&!k.contains(this,d)){a.type=c.origType;var h=c.handler.apply(this,arguments);a.type=b}return h}}});k.fn.extend({on:function(a,b,d,c){return I(this,a,b,d,c)},one:function(a,b,d,c){return I(this,a,b,d,c,1)},
off:function(a,b,d){if(a&&a.preventDefault&&a.handleObj){var c=a.handleObj;k(a.delegateTarget).off(c.namespace?c.origType+"."+c.namespace:c.origType,c.selector,c.handler);return this}if("object"===typeof a){for(c in a)this.off(c,b,a[c]);return this}if(!1===b||"function"===typeof b)d=b,b=void 0;!1===d&&(d=L);return this.each(function(){k.event.remove(this,a,d,b)})}});var Vb=/<script|<style|<link/i,Ob=/checked\s*(?:[^=]|=\s*.checked.)/i,Qb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;k.extend({htmlPrefilter:function(a){return a},
clone:function(a,b,d){var c,h=a.cloneNode(!0),e=La(a);if(!(J.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||k.isXMLDoc(a))){var l=z(h);var g=z(a);var f=0;for(c=g.length;f<c;f++){var n=g[f],p=l[f],m=p.nodeName.toLowerCase();if("input"===m&&Ta.test(n.type))p.checked=n.checked;else if("input"===m||"textarea"===m)p.defaultValue=n.defaultValue}}if(b)if(d)for(g=g||z(a),l=l||z(h),f=0,c=g.length;f<c;f++)Fa(g[f],l[f]);else Fa(a,h);l=z(h,"script");0<l.length&&F(l,!e&&z(a,"script"));return h},cleanData:function(a){for(var b,
d,c,h=k.event.special,e=0;void 0!==(d=a[e]);e++)if(Sa(d)){if(b=d[E.expando]){if(b.events)for(c in b.events)h[c]?k.event.remove(d,c):k.removeEvent(d,c,b.handle);d[E.expando]=void 0}d[T.expando]&&(d[T.expando]=void 0)}}});k.fn.extend({detach:function(a){return sa(this,a,!0)},remove:function(a){return sa(this,a)},text:function(a){return Ca(this,function(a){return void 0===a?k.text(this):this.empty().each(function(){if(1===this.nodeType||11===this.nodeType||9===this.nodeType)this.textContent=a})},null,
a,arguments.length)},append:function(){return fa(this,arguments,function(a){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Z(this,a).appendChild(a)})},prepend:function(){return fa(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Z(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return fa(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return fa(this,arguments,function(a){this.parentNode&&
this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(k.cleanData(z(a,!1)),a.textContent="");return this},clone:function(a,b){a=null==a?!1:a;b=null==b?a:b;return this.map(function(){return k.clone(this,a,b)})},html:function(a){return Ca(this,function(a){var b=this[0]||{},d=0,c=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"===typeof a&&!Vb.test(a)&&!la[(pb.exec(a)||["",""])[1].toLowerCase()]){a=k.htmlPrefilter(a);
try{for(;d<c;d++)b=this[d]||{},1===b.nodeType&&(k.cleanData(z(b,!1)),b.innerHTML=a);b=0}catch(nb){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return fa(this,arguments,function(b){var d=this.parentNode;0>k.inArray(this,a)&&(k.cleanData(z(this)),d&&d.replaceChild(b,this))},a)}});k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){k.fn[a]=function(a){for(var d=[],c=k(a),h=c.length-1,
e=0;e<=h;e++)a=e===h?this:this.clone(!0),k(c[e])[b](a),O.apply(d,a.get());return this.pushStack(d)}});var fb=new RegExp("^("+vb+")(?!px)[a-z%]+$","i"),Za=function(a){var d=a.ownerDocument.defaultView;d&&d.opener||(d=b);return d.getComputedStyle(a)},xb=function(a,b,d){var c,h={};for(c in b)h[c]=a.style[c],a.style[c]=b[c];d=d.call(a);for(c in b)a.style[c]=h[c];return d},Rb=new RegExp(Aa.join("|"),"i");(function(){function a(){if(p){n.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";
p.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";Ka.appendChild(n).appendChild(p);var a=b.getComputedStyle(p);d="1%"!==a.top;f=12===Math.round(parseFloat(a.marginLeft));p.style.right="60%";e=36===Math.round(parseFloat(a.right));c=36===Math.round(parseFloat(a.width));p.style.position="absolute";h=12===Math.round(parseFloat(p.offsetWidth/3));Ka.removeChild(n);p=null}}var d,c,h,e,g,f,n=G.createElement("div"),p=
G.createElement("div");p.style&&(p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",J.clearCloneStyle="content-box"===p.style.backgroundClip,k.extend(J,{boxSizingReliable:function(){a();return c},pixelBoxStyles:function(){a();return e},pixelPosition:function(){a();return d},reliableMarginLeft:function(){a();return f},scrollboxSize:function(){a();return h},reliableTrDimensions:function(){if(null==g){var a=G.createElement("table");var d=G.createElement("tr");var c=G.createElement("div");
a.style.cssText="position:absolute;left:-11111px;border-collapse:separate";d.style.cssText="border:1px solid";d.style.height="1px";c.style.height="9px";c.style.display="block";Ka.appendChild(a).appendChild(d).appendChild(c);c=b.getComputedStyle(d);g=parseInt(c.height,10)+parseInt(c.borderTopWidth,10)+parseInt(c.borderBottomWidth,10)===d.offsetHeight;Ka.removeChild(a)}return g}}))})();var tb=["Webkit","Moz","ms"],sb=G.createElement("div").style,rb={},Wb=/^(none|table(?!-c[ea]).+)/,yb=/^--/,Xb={position:"absolute",
visibility:"hidden",display:"block"},zb={letterSpacing:"0",fontWeight:"400"};k.extend({cssHooks:{opacity:{get:function(a,b){if(b)return a=wa(a,"opacity"),""===a?"1":a}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(a,b,d,c){if(a&&3!==
a.nodeType&&8!==a.nodeType&&a.style){var h,e=q(b),g=yb.test(b),f=a.style;g||(b=Ma(e));var l=k.cssHooks[b]||k.cssHooks[e];if(void 0!==d){var n=typeof d;"string"===n&&(h=Oa.exec(d))&&h[1]&&(d=y(a,b,h),n="number");null!=d&&d===d&&("number"!==n||g||(d+=h&&h[3]||(k.cssNumber[e]?"":"px")),J.clearCloneStyle||""!==d||0!==b.indexOf("background")||(f[b]="inherit"),l&&"set"in l&&void 0===(d=l.set(a,d,c))||(g?f.setProperty(b,d):f[b]=d))}else return l&&"get"in l&&void 0!==(h=l.get(a,!1,c))?h:f[b]}},css:function(a,
b,d,c){var h;var e=q(b);yb.test(b)||(b=Ma(e));(e=k.cssHooks[b]||k.cssHooks[e])&&"get"in e&&(h=e.get(a,!0,d));void 0===h&&(h=wa(a,b,c));"normal"===h&&b in zb&&(h=zb[b]);return""===d||d?(a=parseFloat(h),!0===d||isFinite(a)?a||0:h):h}});k.each(["height","width"],function(a,b){k.cssHooks[b]={get:function(a,d,c){if(d)return!Wb.test(k.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?$a(a,b,c):xb(a,Xb,function(){return $a(a,b,c)})},set:function(a,d,c){var h,e=Za(a),g=!J.scrollboxSize()&&
"absolute"===e.position,f=(g||c)&&"border-box"===k.css(a,"boxSizing",!1,e);c=c?ta(a,b,c,f,e):0;f&&g&&(c-=Math.ceil(a["offset"+b[0].toUpperCase()+b.slice(1)]-parseFloat(e[b])-ta(a,b,"border",!1,e)-.5));c&&(h=Oa.exec(d))&&"px"!==(h[3]||"px")&&(a.style[b]=d,d=k.css(a,b));return Qa(a,d,c)}}});k.cssHooks.marginLeft=Pa(J.reliableMarginLeft,function(a,b){if(b)return(parseFloat(wa(a,"marginLeft"))||a.getBoundingClientRect().left-xb(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"});
k.each({margin:"",padding:"",border:"Width"},function(a,b){k.cssHooks[a+b]={expand:function(d){var c=0,h={};for(d="string"===typeof d?d.split(" "):[d];4>c;c++)h[a+Aa[c]+b]=d[c]||d[c-2]||d[0];return h}};"margin"!==a&&(k.cssHooks[a+b].set=Qa)});k.fn.extend({css:function(a,b){return Ca(this,function(a,b,d){var c,h={},e=0;if(Array.isArray(b)){d=Za(a);for(c=b.length;e<c;e++)h[b[e]]=k.css(a,b[e],!1,d);return h}return void 0!==d?k.style(a,b,d):k.css(a,b)},a,b,1<arguments.length)}});k.Tween=W;W.prototype=
{constructor:W,init:function(a,b,d,c,h,e){this.elem=a;this.prop=d;this.easing=h||k.easing._default;this.options=b;this.start=this.now=this.cur();this.end=c;this.unit=e||(k.cssNumber[d]?"":"px")},cur:function(){var a=W.propHooks[this.prop];return a&&a.get?a.get(this):W.propHooks._default.get(this)},run:function(a){var b,d=W.propHooks[this.prop];this.pos=this.options.duration?b=k.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):b=a;this.now=(this.end-this.start)*b+this.start;
this.options.step&&this.options.step.call(this.elem,this.now,this);d&&d.set?d.set(this):W.propHooks._default.set(this);return this}};W.prototype.init.prototype=W.prototype;W.propHooks={_default:{get:function(a){return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(a=k.css(a.elem,a.prop,""))&&"auto"!==a?a:0},set:function(a){if(k.fx.step[a.prop])k.fx.step[a.prop](a);else 1!==a.elem.nodeType||!k.cssHooks[a.prop]&&null==a.elem.style[Ma(a.prop)]?a.elem[a.prop]=a.now:
k.style(a.elem,a.prop,a.now+a.unit)}}};W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}};k.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"};k.fx=W.prototype.init;k.fx.step={};var Na,ab,Yb=/^(?:toggle|show|hide)$/,Zb=/queueHooks$/;k.Animation=k.extend(ha,{tweeners:{"*":[function(a,b){var d=this.createTween(a,b);y(d.elem,a,Oa.exec(b),d);return d}]},tweener:function(a,b){K(a)?
(b=a,a=["*"]):a=a.match(qa);for(var d,c=0,h=a.length;c<h;c++)d=a[c],ha.tweeners[d]=ha.tweeners[d]||[],ha.tweeners[d].unshift(b)},prefilters:[function(a,b,d){var c;var h="width"in b||"height"in b;var e=this,g={},f=a.style,l=a.nodeType&&Ya(a),n=E.get(a,"fxshow");if(!d.queue){var p=k._queueHooks(a,"fx");if(null==p.unqueued){p.unqueued=0;var m=p.empty.fire;p.empty.fire=function(){p.unqueued||m()}}p.unqueued++;e.always(function(){e.always(function(){p.unqueued--;k.queue(a,"fx").length||p.empty.fire()})})}for(c in b){var r=
b[c];if(Yb.test(r)){delete b[c];var u=u||"toggle"===r;if(r===(l?"hide":"show"))if("show"===r&&n&&void 0!==n[c])l=!0;else continue;g[c]=n&&n[c]||k.style(a,c)}}if((b=!k.isEmptyObject(b))||!k.isEmptyObject(g)){if(h&&1===a.nodeType){d.overflow=[f.overflow,f.overflowX,f.overflowY];var v=n&&n.display;null==v&&(v=E.get(a,"display"));h=k.css(a,"display");"none"===h&&(v?h=v:(x([a],!0),v=a.style.display||v,h=k.css(a,"display"),x([a])));("inline"===h||"inline-block"===h&&null!=v)&&"none"===k.css(a,"float")&&
(b||(e.done(function(){f.display=v}),null==v&&(h=f.display,v="none"===h?"":h)),f.display="inline-block")}d.overflow&&(f.overflow="hidden",e.always(function(){f.overflow=d.overflow[0];f.overflowX=d.overflow[1];f.overflowY=d.overflow[2]}));b=!1;for(c in g)b||(n?"hidden"in n&&(l=n.hidden):n=E.access(a,"fxshow",{display:v}),u&&(n.hidden=!l),l&&x([a],!0),e.done(function(){l||x([a]);E.remove(a,"fxshow");for(c in g)k.style(a,c,g[c])})),b=bb(l?n[c]:0,c,e),c in n||(n[c]=b.start,l&&(b.end=b.start,b.start=0))}}],
prefilter:function(a,b){b?ha.prefilters.unshift(a):ha.prefilters.push(a)}});k.speed=function(a,b,d){var c=a&&"object"===typeof a?k.extend({},a):{complete:d||!d&&b||K(a)&&a,duration:a,easing:d&&b||b&&!K(b)&&b};k.fx.off?c.duration=0:"number"!==typeof c.duration&&(c.duration=c.duration in k.fx.speeds?k.fx.speeds[c.duration]:k.fx.speeds._default);if(null==c.queue||!0===c.queue)c.queue="fx";c.old=c.complete;c.complete=function(){K(c.old)&&c.old.call(this);c.queue&&k.dequeue(this,c.queue)};return c};k.fn.extend({fadeTo:function(a,
b,d,c){return this.filter(Ya).css("opacity",0).show().end().animate({opacity:b},a,d,c)},animate:function(a,b,d,c){var h=k.isEmptyObject(a),e=k.speed(b,d,c);b=function(){var b=ha(this,k.extend({},a),e);(h||E.get(this,"finish"))&&b.stop(!0)};b.finish=b;return h||!1===e.queue?this.each(b):this.queue(e.queue,b)},stop:function(a,b,d){var c=function(a){var b=a.stop;delete a.stop;b(d)};"string"!==typeof a&&(d=b,b=a,a=void 0);b&&this.queue(a||"fx",[]);return this.each(function(){var b=!0,h=null!=a&&a+"queueHooks",
e=k.timers,g=E.get(this);if(h)g[h]&&g[h].stop&&c(g[h]);else for(h in g)g[h]&&g[h].stop&&Zb.test(h)&&c(g[h]);for(h=e.length;h--;)e[h].elem!==this||null!=a&&e[h].queue!==a||(e[h].anim.stop(d),b=!1,e.splice(h,1));!b&&d||k.dequeue(this,a)})},finish:function(a){!1!==a&&(a=a||"fx");return this.each(function(){var b=E.get(this),d=b[a+"queue"];var c=b[a+"queueHooks"];var h=k.timers,e=d?d.length:0;b.finish=!0;k.queue(this,a,[]);c&&c.stop&&c.stop.call(this,!0);for(c=h.length;c--;)h[c].elem===this&&h[c].queue===
a&&(h[c].anim.stop(!0),h.splice(c,1));for(c=0;c<e;c++)d[c]&&d[c].finish&&d[c].finish.call(this);delete b.finish})}});k.each(["toggle","show","hide"],function(a,b){var d=k.fn[b];k.fn[b]=function(a,c,h){return null==a||"boolean"===typeof a?d.apply(this,arguments):this.animate(ua(b,!0),a,c,h)}});k.each({slideDown:ua("show"),slideUp:ua("hide"),slideToggle:ua("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){k.fn[a]=function(a,d,c){return this.animate(b,
a,d,c)}});k.timers=[];k.fx.tick=function(){var a=0,b=k.timers;for(Na=Date.now();a<b.length;a++){var d=b[a];d()||b[a]!==d||b.splice(a--,1)}b.length||k.fx.stop();Na=void 0};k.fx.timer=function(a){k.timers.push(a);k.fx.start()};k.fx.interval=13;k.fx.start=function(){ab||(ab=!0,na())};k.fx.stop=function(){ab=null};k.fx.speeds={slow:600,fast:200,_default:400};k.fn.delay=function(a,d){a=k.fx?k.fx.speeds[a]||a:a;return this.queue(d||"fx",function(d,c){var h=b.setTimeout(d,a);c.stop=function(){b.clearTimeout(h)}})};
(function(){var a=G.createElement("input"),b=G.createElement("select").appendChild(G.createElement("option"));a.type="checkbox";J.checkOn=""!==a.value;J.optSelected=b.selected;a=G.createElement("input");a.value="t";a.type="radio";J.radioValue="t"===a.value})();var Ua=k.expr.attrHandle;k.fn.extend({attr:function(a,b){return Ca(this,k.attr,a,b,1<arguments.length)},removeAttr:function(a){return this.each(function(){k.removeAttr(this,a)})}});k.extend({attr:function(a,b,d){var c,h,e=a.nodeType;if(3!==
e&&8!==e&&2!==e){if("undefined"===typeof a.getAttribute)return k.prop(a,b,d);1===e&&k.isXMLDoc(a)||(h=k.attrHooks[b.toLowerCase()]||(k.expr.match.bool.test(b)?$b:void 0));if(void 0!==d){if(null===d){k.removeAttr(a,b);return}if(h&&"set"in h&&void 0!==(c=h.set(a,d,b)))return c;a.setAttribute(b,d+"");return d}if(h&&"get"in h&&null!==(c=h.get(a,b)))return c;c=k.find.attr(a,b);return null==c?void 0:c}},attrHooks:{type:{set:function(a,b){if(!J.radioValue&&"radio"===b&&m(a,"input")){var d=a.value;a.setAttribute("type",
b);d&&(a.value=d);return b}}}},removeAttr:function(a,b){var d=0,c=b&&b.match(qa);if(c&&1===a.nodeType)for(;b=c[d++];)a.removeAttribute(b)}});var $b={set:function(a,b,d){!1===b?k.removeAttr(a,d):a.setAttribute(d,d);return d}};k.each(k.expr.match.bool.source.match(/\w+/g),function(a,b){var d=Ua[b]||k.find.attr;Ua[b]=function(a,b,c){var h=b.toLowerCase();if(!c){var e=Ua[h];Ua[h]=g;var g=null!=d(a,b,c)?h:null;Ua[h]=e}return g}});var ac=/^(?:input|select|textarea|button)$/i,bc=/^(?:a|area)$/i;k.fn.extend({prop:function(a,
b){return Ca(this,k.prop,a,b,1<arguments.length)},removeProp:function(a){return this.each(function(){delete this[k.propFix[a]||a]})}});k.extend({prop:function(a,b,d){var c,h=a.nodeType;if(3!==h&&8!==h&&2!==h){if(1!==h||!k.isXMLDoc(a)){b=k.propFix[b]||b;var e=k.propHooks[b]}return void 0!==d?e&&"set"in e&&void 0!==(c=e.set(a,d,b))?c:a[b]=d:e&&"get"in e&&null!==(c=e.get(a,b))?c:a[b]}},propHooks:{tabIndex:{get:function(a){var b=k.find.attr(a,"tabindex");return b?parseInt(b,10):ac.test(a.nodeName)||bc.test(a.nodeName)&&
a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});J.optSelected||(k.propHooks.selected={get:function(a){(a=a.parentNode)&&a.parentNode&&a.parentNode.selectedIndex;return null},set:function(a){if(a=a.parentNode)a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex}});k.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){k.propFix[this.toLowerCase()]=this});k.fn.extend({addClass:function(a){var b,d,c,h,e=
0;if(K(a))return this.each(function(b){k(this).addClass(a.call(this,b,oa(this)))});var g=Ga(a);if(g.length)for(;b=this[e++];){var f=oa(b);if(d=1===b.nodeType&&" "+xa(f)+" "){for(h=0;c=g[h++];)0>d.indexOf(" "+c+" ")&&(d+=c+" ");d=xa(d);f!==d&&b.setAttribute("class",d)}}return this},removeClass:function(a){var b,d,c,h,e=0;if(K(a))return this.each(function(b){k(this).removeClass(a.call(this,b,oa(this)))});if(!arguments.length)return this.attr("class","");var g=Ga(a);if(g.length)for(;b=this[e++];){var f=
oa(b);if(d=1===b.nodeType&&" "+xa(f)+" "){for(h=0;c=g[h++];)for(;-1<d.indexOf(" "+c+" ");)d=d.replace(" "+c+" "," ");d=xa(d);f!==d&&b.setAttribute("class",d)}}return this},toggleClass:function(a,b){var d=typeof a,c="string"===d||Array.isArray(a);return"boolean"===typeof b&&c?b?this.addClass(a):this.removeClass(a):K(a)?this.each(function(d){k(this).toggleClass(a.call(this,d,oa(this),b),b)}):this.each(function(){var b,h;if(c){var e=0;var g=k(this);for(h=Ga(a);b=h[e++];)g.hasClass(b)?g.removeClass(b):
g.addClass(b)}else if(void 0===a||"boolean"===d)(b=oa(this))&&E.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||!1===a?"":E.get(this,"__className__")||"")})},hasClass:function(a){var b,d=0;for(a=" "+a+" ";b=this[d++];)if(1===b.nodeType&&-1<(" "+xa(oa(b))+" ").indexOf(a))return!0;return!1}});var cc=/\r/g;k.fn.extend({val:function(a){var b,d,c=this[0];if(arguments.length){var h=K(a);return this.each(function(d){1===this.nodeType&&(d=h?a.call(this,d,k(this).val()):a,null==
d?d="":"number"===typeof d?d+="":Array.isArray(d)&&(d=k.map(d,function(a){return null==a?"":a+""})),b=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,d,"value")||(this.value=d))})}if(c){if((b=k.valHooks[c.type]||k.valHooks[c.nodeName.toLowerCase()])&&"get"in b&&void 0!==(d=b.get(c,"value")))return d;d=c.value;return"string"===typeof d?d.replace(cc,""):null==d?"":d}}});k.extend({valHooks:{option:{get:function(a){var b=k.find.attr(a,"value");return null!=
b?b:xa(k.text(a))}},select:{get:function(a){var b=a.options,d=a.selectedIndex,c="select-one"===a.type,h=c?null:[],e=c?d+1:b.length;for(a=0>d?e:c?d:0;a<e;a++){var g=b[a];if(!(!g.selected&&a!==d||g.disabled||g.parentNode.disabled&&m(g.parentNode,"optgroup"))){g=k(g).val();if(c)return g;h.push(g)}}return h},set:function(a,b){for(var d,c=a.options,h=k.makeArray(b),e=c.length;e--;)if(b=c[e],b.selected=-1<k.inArray(k.valHooks.option.get(b),h))d=!0;d||(a.selectedIndex=-1);return h}}}});k.each(["radio","checkbox"],
function(){k.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=-1<k.inArray(k(a).val(),b)}};J.checkOn||(k.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});J.focusin="onfocusin"in b;var Ab=/^(?:focusinfocus|focusoutblur)$/,Bb=function(a){a.stopPropagation()};k.extend(k.event,{trigger:function(a,d,c,h){var e,g,f,n=[c||G],l=ya.call(a,"type")?a.type:a;var p=ya.call(a,"namespace")?a.namespace.split("."):[];var m=f=e=c=c||G;if(3!==c.nodeType&&8!==
c.nodeType&&!Ab.test(l+k.event.triggered)){-1<l.indexOf(".")&&(p=l.split("."),l=p.shift(),p.sort());var r=0>l.indexOf(":")&&"on"+l;a=a[k.expando]?a:new k.Event(l,"object"===typeof a&&a);a.isTrigger=h?2:3;a.namespace=p.join(".");a.rnamespace=a.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;a.result=void 0;a.target||(a.target=c);d=null==d?[a]:k.makeArray(d,[a]);p=k.event.special[l]||{};if(h||!p.trigger||!1!==p.trigger.apply(c,d)){if(!h&&!p.noBubble&&!ra(c)){var u=p.delegateType||
l;Ab.test(u+l)||(m=m.parentNode);for(;m;m=m.parentNode)n.push(m),e=m;e===(c.ownerDocument||G)&&n.push(e.defaultView||e.parentWindow||b)}for(e=0;(m=n[e++])&&!a.isPropagationStopped();)f=m,a.type=1<e?u:p.bindType||l,(g=(E.get(m,"events")||Object.create(null))[a.type]&&E.get(m,"handle"))&&g.apply(m,d),(g=r&&m[r])&&g.apply&&Sa(m)&&(a.result=g.apply(m,d),!1===a.result&&a.preventDefault());a.type=l;h||a.isDefaultPrevented()||p._default&&!1!==p._default.apply(n.pop(),d)||!Sa(c)||!r||!K(c[l])||ra(c)||((e=
c[r])&&(c[r]=null),k.event.triggered=l,a.isPropagationStopped()&&f.addEventListener(l,Bb),c[l](),a.isPropagationStopped()&&f.removeEventListener(l,Bb),k.event.triggered=void 0,e&&(c[r]=e));return a.result}}},simulate:function(a,b,d){a=k.extend(new k.Event,d,{type:a,isSimulated:!0});k.event.trigger(a,null,b)}});k.fn.extend({trigger:function(a,b){return this.each(function(){k.event.trigger(a,b,this)})},triggerHandler:function(a,b){var d=this[0];if(d)return k.event.trigger(a,b,d,!0)}});J.focusin||k.each({focus:"focusin",
blur:"focusout"},function(a,b){var d=function(a){k.event.simulate(b,a.target,k.event.fix(a))};k.event.special[b]={setup:function(){var c=this.ownerDocument||this.document||this,h=E.access(c,b);h||c.addEventListener(a,d,!0);E.access(c,b,(h||0)+1)},teardown:function(){var c=this.ownerDocument||this.document||this,h=E.access(c,b)-1;h?E.access(c,b,h):(c.removeEventListener(a,d,!0),E.remove(c,b))}}});var Va=b.location,Cb=Date.now(),kb=/\?/;k.parseXML=function(a){if(!a||"string"!==typeof a)return null;
try{var d=(new b.DOMParser).parseFromString(a,"text/xml")}catch(R){}var c=d&&d.getElementsByTagName("parsererror")[0];d&&!c||k.error("Invalid XML: "+(c?k.map(c.childNodes,function(a){return a.textContent}).join("\n"):a));return d};var Sb=/\[\]$/,Db=/\r?\n/g,dc=/^(?:submit|button|image|reset|file)$/i,ec=/^(?:input|select|textarea|keygen)/i;k.param=function(a,b){var d,c=[],h=function(a,b){b=K(b)?b():b;c[c.length]=encodeURIComponent(a)+"\x3d"+encodeURIComponent(null==b?"":b)};if(null==a)return"";if(Array.isArray(a)||
a.jquery&&!k.isPlainObject(a))k.each(a,function(){h(this.name,this.value)});else for(d in a)Ea(d,a[d],b,h);return c.join("\x26")};k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=k.prop(this,"elements");return a?k.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!k(this).is(":disabled")&&ec.test(this.nodeName)&&!dc.test(a)&&(this.checked||!Ta.test(a))}).map(function(a,b){a=k(this).val();return null==
a?null:Array.isArray(a)?k.map(a,function(a){return{name:b.name,value:a.replace(Db,"\r\n")}}):{name:b.name,value:a.replace(Db,"\r\n")}}).get()}});var fc=/%20/g,gc=/#.*$/,hc=/([?&])_=[^&]*/,ic=/^(.*?):[ \t]*([^\r\n]*)$/mg,jc=/^(?:GET|HEAD)$/,kc=/^\/\//,Eb={},gb={},Fb="*/".concat("*"),lb=G.createElement("a");lb.href=Va.href;k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Va.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Va.protocol),global:!0,processData:!0,
async:!0,contentType:"application/x-www-form-urlencoded; charset\x3dUTF-8",accepts:{"*":Fb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?ba(ba(a,k.ajaxSettings),
b):ba(k.ajaxSettings,a)},ajaxPrefilter:cb(Eb),ajaxTransport:cb(gb),ajax:function(a,d){function c(a,d,c,g){var p,H=d;if(!A){A=!0;f&&b.clearTimeout(f);h=void 0;e=g||"";t.readyState=0<a?4:0;g=200<=a&&300>a||304===a;c&&(p=P(l,t,c));!g&&-1<k.inArray("script",l.dataTypes)&&0>k.inArray("json",l.dataTypes)&&(l.converters["text script"]=function(){});p=U(l,p,t,g);if(g)if(l.ifModified&&((c=t.getResponseHeader("Last-Modified"))&&(k.lastModified[v]=c),(c=t.getResponseHeader("etag"))&&(k.etag[v]=c)),204===a||
"HEAD"===l.type)H="nocontent";else if(304===a)H="notmodified";else{H=p.state;var x=p.data;var y=p.error;g=!y}else if(y=H,a||!H)H="error",0>a&&(a=0);t.status=a;t.statusText=(d||H)+"";g?u.resolveWith(m,[x,H,t]):u.rejectWith(m,[t,H,y]);t.statusCode(w);w=void 0;n&&r.trigger(g?"ajaxSuccess":"ajaxError",[t,l,g?x:y]);q.fireWith(m,[t,H]);n&&(r.trigger("ajaxComplete",[t,l]),--k.active||k.event.trigger("ajaxStop"))}}"object"===typeof a&&(d=a,a=void 0);d=d||{};var h,e,g,f,n,p,l=k.ajaxSetup({},d),m=l.context||
l,r=l.context&&(m.nodeType||m.jquery)?k(m):k.event,u=k.Deferred(),q=k.Callbacks("once memory"),w=l.statusCode||{},H={},x={},y="canceled",t={readyState:0,getResponseHeader:function(a){var b;if(A){if(!g)for(g={};b=ic.exec(e);)g[b[1].toLowerCase()+" "]=(g[b[1].toLowerCase()+" "]||[]).concat(b[2]);b=g[a.toLowerCase()+" "]}return null==b?null:b.join(", ")},getAllResponseHeaders:function(){return A?e:null},setRequestHeader:function(a,b){null==A&&(a=x[a.toLowerCase()]=x[a.toLowerCase()]||a,H[a]=b);return this},
overrideMimeType:function(a){null==A&&(l.mimeType=a);return this},statusCode:function(a){var b;if(a)if(A)t.always(a[t.status]);else for(b in a)w[b]=[w[b],a[b]];return this},abort:function(a){a=a||y;h&&h.abort(a);c(0,a);return this}};u.promise(t);l.url=((a||l.url||Va.href)+"").replace(kc,Va.protocol+"//");l.type=d.method||d.type||l.method||l.type;l.dataTypes=(l.dataType||"*").toLowerCase().match(qa)||[""];if(null==l.crossDomain){a=G.createElement("a");try{a.href=l.url,a.href=a.href,l.crossDomain=lb.protocol+
"//"+lb.host!==a.protocol+"//"+a.host}catch(hb){l.crossDomain=!0}}l.data&&l.processData&&"string"!==typeof l.data&&(l.data=k.param(l.data,l.traditional));db(Eb,l,d,t);if(A)return t;(n=k.event&&l.global)&&0===k.active++&&k.event.trigger("ajaxStart");l.type=l.type.toUpperCase();l.hasContent=!jc.test(l.type);var v=l.url.replace(gc,"");l.hasContent?l.data&&l.processData&&0===(l.contentType||"").indexOf("application/x-www-form-urlencoded")&&(l.data=l.data.replace(fc,"+")):(a=l.url.slice(v.length),l.data&&
(l.processData||"string"===typeof l.data)&&(v+=(kb.test(v)?"\x26":"?")+l.data,delete l.data),!1===l.cache&&(v=v.replace(hc,"$1"),a=(kb.test(v)?"\x26":"?")+"_\x3d"+Cb++ +a),l.url=v+a);l.ifModified&&(k.lastModified[v]&&t.setRequestHeader("If-Modified-Since",k.lastModified[v]),k.etag[v]&&t.setRequestHeader("If-None-Match",k.etag[v]));(l.data&&l.hasContent&&!1!==l.contentType||d.contentType)&&t.setRequestHeader("Content-Type",l.contentType);t.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?
l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Fb+"; q\x3d0.01":""):l.accepts["*"]);for(p in l.headers)t.setRequestHeader(p,l.headers[p]);if(l.beforeSend&&(!1===l.beforeSend.call(m,t,l)||A))return t.abort();y="abort";q.add(l.complete);t.done(l.success);t.fail(l.error);if(h=db(gb,l,d,t)){t.readyState=1;n&&r.trigger("ajaxSend",[t,l]);if(A)return t;l.async&&0<l.timeout&&(f=b.setTimeout(function(){t.abort("timeout")},l.timeout));try{var A=!1;h.send(H,c)}catch(hb){if(A)throw hb;c(-1,hb)}}else c(-1,
"No Transport");return t},getJSON:function(a,b,d){return k.get(a,b,d,"json")},getScript:function(a,b){return k.get(a,void 0,b,"script")}});k.each(["get","post"],function(a,b){k[b]=function(a,d,c,h){K(d)&&(h=h||c,c=d,d=void 0);return k.ajax(k.extend({url:a,type:b,dataType:h,data:d,success:c},k.isPlainObject(a)&&a))}});k.ajaxPrefilter(function(a){for(var b in a.headers)"content-type"===b.toLowerCase()&&(a.contentType=a.headers[b]||"")});k._evalUrl=function(a,b,d){return k.ajax({url:a,type:"GET",dataType:"script",
cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(a){k.globalEval(a,b,d)}})};k.fn.extend({wrapAll:function(a){this[0]&&(K(a)&&(a=a.call(this[0])),a=k(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&a.insertBefore(this[0]),a.map(function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;return a}).append(this));return this},wrapInner:function(a){return K(a)?this.each(function(b){k(this).wrapInner(a.call(this,b))}):this.each(function(){var b=
k(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){var b=K(a);return this.each(function(d){k(this).wrapAll(b?a.call(this,d):a)})},unwrap:function(a){this.parent(a).not("body").each(function(){k(this).replaceWith(this.childNodes)});return this}});k.expr.pseudos.hidden=function(a){return!k.expr.pseudos.visible(a)};k.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)};k.ajaxSettings.xhr=function(){try{return new b.XMLHttpRequest}catch(l){}};
var lc={0:200,1223:204},Wa=k.ajaxSettings.xhr();J.cors=!!Wa&&"withCredentials"in Wa;J.ajax=Wa=!!Wa;k.ajaxTransport(function(a){var d,c;if(J.cors||Wa&&!a.crossDomain)return{send:function(h,e){var g,f=a.xhr();f.open(a.type,a.url,a.async,a.username,a.password);if(a.xhrFields)for(g in a.xhrFields)f[g]=a.xhrFields[g];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);a.crossDomain||h["X-Requested-With"]||(h["X-Requested-With"]="XMLHttpRequest");for(g in h)f.setRequestHeader(g,h[g]);d=function(a){return function(){d&&
(d=c=f.onload=f.onerror=f.onabort=f.ontimeout=f.onreadystatechange=null,"abort"===a?f.abort():"error"===a?"number"!==typeof f.status?e(0,"error"):e(f.status,f.statusText):e(lc[f.status]||f.status,f.statusText,"text"!==(f.responseType||"text")||"string"!==typeof f.responseText?{binary:f.response}:{text:f.responseText},f.getAllResponseHeaders()))}};f.onload=d();c=f.onerror=f.ontimeout=d("error");void 0!==f.onabort?f.onabort=c:f.onreadystatechange=function(){4===f.readyState&&b.setTimeout(function(){d&&
c()})};d=d("abort");try{f.send(a.hasContent&&a.data||null)}catch(Lb){if(d)throw Lb;}},abort:function(){d&&d()}}});k.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)});k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){k.globalEval(a);return a}}});k.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1);a.crossDomain&&(a.type=
"GET")});k.ajaxTransport("script",function(a){if(a.crossDomain||a.scriptAttrs){var b,d;return{send:function(c,h){b=k("\x3cscript\x3e").attr(a.scriptAttrs||{}).prop({charset:a.scriptCharset,src:a.url}).on("load error",d=function(a){b.remove();d=null;a&&h("error"===a.type?404:200,a.type)});G.head.appendChild(b[0])},abort:function(){d&&d()}}}});var Gb=[],mb=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Gb.pop()||k.expando+"_"+Cb++;this[a]=!0;return a}});k.ajaxPrefilter("json jsonp",
function(a,d,c){var h,e=!1!==a.jsonp&&(mb.test(a.url)?"url":"string"===typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&mb.test(a.data)&&"data");if(e||"jsonp"===a.dataTypes[0]){var g=a.jsonpCallback=K(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback;e?a[e]=a[e].replace(mb,"$1"+g):!1!==a.jsonp&&(a.url+=(kb.test(a.url)?"\x26":"?")+a.jsonp+"\x3d"+g);a.converters["script json"]=function(){h||k.error(g+" was not called");return h[0]};a.dataTypes[0]="json";var f=b[g];
b[g]=function(){h=arguments};c.always(function(){void 0===f?k(b).removeProp(g):b[g]=f;a[g]&&(a.jsonpCallback=d.jsonpCallback,Gb.push(g));h&&K(f)&&f(h[0]);h=f=void 0});return"script"}});J.createHTMLDocument=function(){var a=G.implementation.createHTMLDocument("").body;a.innerHTML="\x3cform\x3e\x3c/form\x3e\x3cform\x3e\x3c/form\x3e";return 2===a.childNodes.length}();k.parseHTML=function(a,b,d){if("string"!==typeof a)return[];"boolean"===typeof b&&(d=b,b=!1);if(!b)if(J.createHTMLDocument){b=G.implementation.createHTMLDocument("");
var c=b.createElement("base");c.href=G.location.href;b.head.appendChild(c)}else b=G;c=Ra.exec(a);d=!d&&[];if(c)return[b.createElement(c[1])];c=C([a],b,d);d&&d.length&&k(d).remove();return k.merge([],c.childNodes)};k.fn.load=function(a,b,d){var c,h,e=this,g=a.indexOf(" ");if(-1<g){var f=xa(a.slice(g));a=a.slice(0,g)}K(b)?(d=b,b=void 0):b&&"object"===typeof b&&(c="POST");0<e.length&&k.ajax({url:a,type:c||"GET",dataType:"html",data:b}).done(function(a){h=arguments;e.html(f?k("\x3cdiv\x3e").append(k.parseHTML(a)).find(f):
a)}).always(d&&function(a,b){e.each(function(){d.apply(this,h||[a.responseText,b,a])})});return this};k.expr.pseudos.animated=function(a){return k.grep(k.timers,function(b){return a===b.elem}).length};k.offset={setOffset:function(a,b,d){var c=k.css(a,"position"),h=k(a),e={};"static"===c&&(a.style.position="relative");var g=h.offset();var f=k.css(a,"top");var n=k.css(a,"left");("absolute"===c||"fixed"===c)&&-1<(f+n).indexOf("auto")?(n=h.position(),f=n.top,n=n.left):(f=parseFloat(f)||0,n=parseFloat(n)||
0);K(b)&&(b=b.call(a,d,k.extend({},g)));null!=b.top&&(e.top=b.top-g.top+f);null!=b.left&&(e.left=b.left-g.left+n);"using"in b?b.using.call(a,e):h.css(e)}};k.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){k.offset.setOffset(this,a,b)});var b;if(b=this[0]){if(!b.getClientRects().length)return{top:0,left:0};var d=b.getBoundingClientRect();b=b.ownerDocument.defaultView;return{top:d.top+b.pageYOffset,left:d.left+b.pageXOffset}}},position:function(){if(this[0]){var a,
b=this[0],d={top:0,left:0};if("fixed"===k.css(b,"position"))var c=b.getBoundingClientRect();else{c=this.offset();var h=b.ownerDocument;for(a=b.offsetParent||h.documentElement;a&&(a===h.body||a===h.documentElement)&&"static"===k.css(a,"position");)a=a.parentNode;a&&a!==b&&1===a.nodeType&&(d=k(a).offset(),d.top+=k.css(a,"borderTopWidth",!0),d.left+=k.css(a,"borderLeftWidth",!0))}return{top:c.top-d.top-k.css(b,"marginTop",!0),left:c.left-d.left-k.css(b,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=
this.offsetParent;a&&"static"===k.css(a,"position");)a=a.offsetParent;return a||Ka})}});k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var d="pageYOffset"===b;k.fn[a]=function(c){return Ca(this,function(a,c,h){if(ra(a))var e=a;else 9===a.nodeType&&(e=a.defaultView);if(void 0===h)return e?e[b]:a[c];e?e.scrollTo(d?e.pageXOffset:h,d?h:e.pageYOffset):a[c]=h},a,c,arguments.length)}});k.each(["top","left"],function(a,b){k.cssHooks[b]=Pa(J.pixelPosition,function(a,d){if(d)return d=
wa(a,b),fb.test(d)?k(a).position()[b]+"px":d})});k.each({Height:"height",Width:"width"},function(a,b){k.each({padding:"inner"+a,content:b,"":"outer"+a},function(d,c){k.fn[c]=function(h,e){var g=arguments.length&&(d||"boolean"!==typeof h),f=d||(!0===h||!0===e?"margin":"border");return Ca(this,function(b,d,h){return ra(b)?0===c.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(d=b.documentElement,Math.max(b.body["scroll"+a],d["scroll"+a],b.body["offset"+a],d["offset"+
a],d["client"+a])):void 0===h?k.css(b,d,f):k.style(b,d,h,f)},b,g?h:void 0,g)}})});k.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){k.fn[b]=function(a){return this.on(b,a)}});k.fn.extend({bind:function(a,b,d){return this.on(a,null,b,d)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,d,c){return this.on(b,a,d,c)},undelegate:function(a,b,d){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",d)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||
a)}});k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){k.fn[b]=function(a,d){return 0<arguments.length?this.on(b,null,a,d):this.trigger(b)}});var mc=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(a,b){if("string"===typeof b){var d=a[b];b=a;a=d}if(K(a)){var c=aa.call(arguments,2);d=function(){return a.apply(b||this,c.concat(aa.call(arguments)))};
d.guid=a.guid=a.guid||k.guid++;return d}};k.holdReady=function(a){a?k.readyWait++:k.ready(!0)};k.isArray=Array.isArray;k.parseJSON=JSON.parse;k.nodeName=m;k.isFunction=K;k.isWindow=ra;k.camelCase=q;k.type=e;k.now=Date.now;k.isNumeric=function(a){var b=k.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))};k.trim=function(a){return null==a?"":(a+"").replace(mc,"")};"function"===typeof define&&define.amd&&define("jquery",[],function(){return k});var nc=b.jQuery,oc=b.$;k.noConflict=function(a){b.$===
k&&(b.$=oc);a&&b.jQuery===k&&(b.jQuery=nc);return k};"undefined"===typeof c&&(b.jQuery=b.$=k);return k});
(function(b){"function"===typeof define&&define.amd?define(["jquery"],b):b(jQuery)})(function(b){b.ui=b.ui||{};b.ui.version="1.12.1";var c=0,f=Array.prototype.slice;b.cleanData=function(a){return function(d){var c,e,g;for(g=0;null!=(e=d[g]);g++)try{(c=b._data(e,"events"))&&c.remove&&b(e).triggerHandler("remove")}catch(u){}a(d)}}(b.cleanData);b.widget=function(a,d,c){var h={},e=a.split(".")[0];a=a.split(".")[1];var g=e+"-"+a;c||(c=d,d=b.Widget);b.isArray(c)&&(c=b.extend.apply(null,[{}].concat(c)));
b.expr[":"][g.toLowerCase()]=function(a){return!!b.data(a,g)};b[e]=b[e]||{};var f=b[e][a];var m=b[e][a]=function(a,b){if(!this._createWidget)return new m(a,b);arguments.length&&this._createWidget(a,b)};b.extend(m,f,{version:c.version,_proto:b.extend({},c),_childConstructors:[]});var q=new d;q.options=b.widget.extend({},q.options);b.each(c,function(a,c){b.isFunction(c)?h[a]=function(){function b(){return d.prototype[a].apply(this,arguments)}function h(b){return d.prototype[a].apply(this,b)}return function(){var a=
this._super,d=this._superApply;this._super=b;this._superApply=h;var e=c.apply(this,arguments);this._super=a;this._superApply=d;return e}}():h[a]=c});m.prototype=b.widget.extend(q,{widgetEventPrefix:f?q.widgetEventPrefix||a:a},h,{constructor:m,namespace:e,widgetName:a,widgetFullName:g});f?(b.each(f._childConstructors,function(a,d){a=d.prototype;b.widget(a.namespace+"."+a.widgetName,m,d._proto)}),delete f._childConstructors):d._childConstructors.push(m);b.widget.bridge(a,m);return m};b.widget.extend=
function(a){for(var d=f.call(arguments,1),c=0,e=d.length,g,m;c<e;c++)for(g in d[c])m=d[c][g],d[c].hasOwnProperty(g)&&void 0!==m&&(b.isPlainObject(m)?a[g]=b.isPlainObject(a[g])?b.widget.extend({},a[g],m):b.widget.extend({},m):a[g]=m);return a};b.widget.bridge=function(a,d){var c=d.prototype.widgetFullName||a;b.fn[a]=function(h){var e="string"===typeof h,g=f.call(arguments,1),n=this;e?this.length||"instance"!==h?this.each(function(){var d=b.data(this,c);if("instance"===h)return n=d,!1;if(!d)return b.error("cannot call methods on "+
a+" prior to initialization; attempted to call method '"+h+"'");if(!b.isFunction(d[h])||"_"===h.charAt(0))return b.error("no such method '"+h+"' for "+a+" widget instance");var e=d[h].apply(d,g);if(e!==d&&void 0!==e)return n=e&&e.jquery?n.pushStack(e.get()):e,!1}):n=void 0:(g.length&&(h=b.widget.extend.apply(null,[h].concat(g))),this.each(function(){var a=b.data(this,c);a?(a.option(h||{}),a._init&&a._init()):b.data(this,c,new d(h,this))}));return n}};b.Widget=function(){};b.Widget._childConstructors=
[];b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"\x3cdiv\x3e",options:{classes:{},disabled:!1,create:null},_createWidget:function(a,d){d=b(d||this.defaultElement||this)[0];this.element=b(d);this.uuid=c++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=b();this.hoverable=b();this.focusable=b();this.classesElementLookup={};d!==this&&(b.data(d,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===d&&this.destroy()}}),this.document=
b(d.style?d.ownerDocument:d.document||d),this.window=b(this.document[0].defaultView||this.document[0].parentWindow));this.options=b.widget.extend({},this.options,this._getCreateOptions(),a);this._create();this.options.disabled&&this._setOptionDisabled(this.options.disabled);this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:b.noop,_create:b.noop,_init:b.noop,destroy:function(){var a=this;this._destroy();b.each(this.classesElementLookup,
function(b,c){a._removeClass(c,b)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:b.noop,widget:function(){return this.element},option:function(a,d){var c=a,e;if(0===arguments.length)return b.widget.extend({},this.options);if("string"===typeof a){c={};var g=a.split(".");a=g.shift();if(g.length){var f=c[a]=b.widget.extend({},this.options[a]);for(e=0;e<g.length-
1;e++)f[g[e]]=f[g[e]]||{},f=f[g[e]];a=g.pop();if(1===arguments.length)return void 0===f[a]?null:f[a];f[a]=d}else{if(1===arguments.length)return void 0===this.options[a]?null:this.options[a];c[a]=d}}this._setOptions(c);return this},_setOptions:function(a){for(var b in a)this._setOption(b,a[b]);return this},_setOption:function(a,b){"classes"===a&&this._setOptionClasses(b);this.options[a]=b;"disabled"===a&&this._setOptionDisabled(b);return this},_setOptionClasses:function(a){var d;for(d in a){var c=
this.classesElementLookup[d];if(a[d]!==this.options.classes[d]&&c&&c.length){var e=b(c.get());this._removeClass(c,d);e.addClass(this._classes({element:e,keys:d,classes:a,add:!0}))}}},_setOptionDisabled:function(a){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!a);a&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},
_classes:function(a){function d(d,h){var g;for(g=0;g<d.length;g++){var f=e.classesElementLookup[d[g]]||b();f=a.add?b(b.unique(f.get().concat(a.element.get()))):b(f.not(a.element).get());e.classesElementLookup[d[g]]=f;c.push(d[g]);h&&a.classes[d[g]]&&c.push(a.classes[d[g]])}}var c=[],e=this;a=b.extend({element:this.element,classes:this.options.classes||{}},a);this._on(a.element,{remove:"_untrackClassesElement"});a.keys&&d(a.keys.match(/\S+/g)||[],!0);a.extra&&d(a.extra.match(/\S+/g)||[]);return c.join(" ")},
_untrackClassesElement:function(a){var d=this;b.each(d.classesElementLookup,function(c,e){-1!==b.inArray(a.target,e)&&(d.classesElementLookup[c]=b(e.not(a.target).get()))})},_removeClass:function(a,b,c){return this._toggleClass(a,b,c,!1)},_addClass:function(a,b,c){return this._toggleClass(a,b,c,!0)},_toggleClass:function(a,b,c,e){e="boolean"===typeof e?e:c;var d="string"===typeof a||null===a;a={extra:d?b:c,keys:d?a:b,element:d?this.element:a,add:e};a.element.toggleClass(this._classes(a),e);return this},
_on:function(a,d,c){var h,e=this;"boolean"!==typeof a&&(c=d,d=a,a=!1);c?(d=h=b(d),this.bindings=this.bindings.add(d)):(c=d,d=this.element,h=this.widget());b.each(c,function(c,g){function f(){if(a||!0!==e.options.disabled&&!b(this).hasClass("ui-state-disabled"))return("string"===typeof g?e[g]:g).apply(e,arguments)}"string"!==typeof g&&(f.guid=g.guid=g.guid||f.guid||b.guid++);var n=c.match(/^([\w:-]*)\s*(.*)$/);c=n[1]+e.eventNamespace;if(n=n[2])h.on(c,n,f);else d.on(c,f)})},_off:function(a,d){d=(d||
"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;a.off(d).off(d);this.bindings=b(this.bindings.not(a).get());this.focusable=b(this.focusable.not(a).get());this.hoverable=b(this.hoverable.not(a).get())},_delay:function(a,b){var d=this;return setTimeout(function(){return("string"===typeof a?d[a]:a).apply(d,arguments)},b||0)},_hoverable:function(a){this.hoverable=this.hoverable.add(a);this._on(a,{mouseenter:function(a){this._addClass(b(a.currentTarget),null,"ui-state-hover")},mouseleave:function(a){this._removeClass(b(a.currentTarget),
null,"ui-state-hover")}})},_focusable:function(a){this.focusable=this.focusable.add(a);this._on(a,{focusin:function(a){this._addClass(b(a.currentTarget),null,"ui-state-focus")},focusout:function(a){this._removeClass(b(a.currentTarget),null,"ui-state-focus")}})},_trigger:function(a,d,c){var h,e=this.options[a];c=c||{};d=b.Event(d);d.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d.target=this.element[0];if(a=d.originalEvent)for(h in a)h in d||(d[h]=a[h]);this.element.trigger(d,
c);return!(b.isFunction(e)&&!1===e.apply(this.element[0],[d].concat(c))||d.isDefaultPrevented())}};b.each({show:"fadeIn",hide:"fadeOut"},function(a,d){b.Widget.prototype["_"+a]=function(c,e,g){"string"===typeof e&&(e={effect:e});var h=e?!0===e||"number"===typeof e?d:e.effect||d:a;e=e||{};"number"===typeof e&&(e={duration:e});var f=!b.isEmptyObject(e);e.complete=g;e.delay&&c.delay(e.delay);if(f&&b.effects&&b.effects.effect[h])c[a](e);else if(h!==a&&c[h])c[h](e.duration,e.easing,g);else c.queue(function(d){b(this)[a]();
g&&g.call(c[0]);d()})}});(function(){function a(a,b,d){return[parseFloat(a[0])*(t.test(a[0])?b/100:1),parseFloat(a[1])*(t.test(a[1])?d/100:1)]}function d(a){var d=a[0];return 9===d.nodeType?{width:a.width(),height:a.height(),offset:{top:0,left:0}}:b.isWindow(d)?{width:a.width(),height:a.height(),offset:{top:a.scrollTop(),left:a.scrollLeft()}}:d.preventDefault?{width:0,height:0,offset:{top:d.pageY,left:d.pageX}}:{width:a.outerWidth(),height:a.outerHeight(),offset:a.offset()}}var c,e=Math.max,g=Math.abs,
f=/left|center|right/,m=/top|center|bottom/,w=/[\+\-]\d+(\.[\d]+)?%?/,q=/^\w+/,t=/%$/,A=b.fn.position;b.position={scrollbarWidth:function(){if(void 0!==c)return c;var a=b("\x3cdiv style\x3d'display:block;position:absolute;width:50px;height:50px;overflow:hidden;'\x3e\x3cdiv style\x3d'height:100px;width:auto;'\x3e\x3c/div\x3e\x3c/div\x3e");var d=a.children()[0];b("body").append(a);var h=d.offsetWidth;a.css("overflow","scroll");d=d.offsetWidth;h===d&&(d=a[0].clientWidth);a.remove();return c=h-d},getScrollInfo:function(a){var d=
a.isWindow||a.isDocument?"":a.element.css("overflow-x"),c=a.isWindow||a.isDocument?"":a.element.css("overflow-y");d="scroll"===d||"auto"===d&&a.width<a.element[0].scrollWidth;return{width:"scroll"===c||"auto"===c&&a.height<a.element[0].scrollHeight?b.position.scrollbarWidth():0,height:d?b.position.scrollbarWidth():0}},getWithinInfo:function(a){var d=b(a||window),c=b.isWindow(d[0]),h=!!d[0]&&9===d[0].nodeType;return{element:d,isWindow:c,isDocument:h,offset:c||h?{left:0,top:0}:b(a).offset(),scrollLeft:d.scrollLeft(),
scrollTop:d.scrollTop(),width:d.outerWidth(),height:d.outerHeight()}}};b.fn.position=function(c){if(!c||!c.of)return A.apply(this,arguments);c=b.extend({},c);var h=b(c.of),n=b.position.getWithinInfo(c.within),p=b.position.getScrollInfo(n),r=(c.collision||"flip").split(" "),u={};var t=d(h);h[0].preventDefault&&(c.at="left top");var H=t.width;var I=t.height;var y=t.offset;var Z=b.extend({},y);b.each(["my","at"],function(){var a=(c[this]||"").split(" ");1===a.length&&(a=f.test(a[0])?a.concat(["center"]):
m.test(a[0])?["center"].concat(a):["center","center"]);a[0]=f.test(a[0])?a[0]:"center";a[1]=m.test(a[1])?a[1]:"center";var b=w.exec(a[0]);var d=w.exec(a[1]);u[this]=[b?b[0]:0,d?d[0]:0];c[this]=[q.exec(a[0])[0],q.exec(a[1])[0]]});1===r.length&&(r[1]=r[0]);"right"===c.at[0]?Z.left+=H:"center"===c.at[0]&&(Z.left+=H/2);"bottom"===c.at[1]?Z.top+=I:"center"===c.at[1]&&(Z.top+=I/2);var va=a(u.at,H,I);Z.left+=va[0];Z.top+=va[1];return this.each(function(){var d,f=b(this),m=f.outerWidth(),q=f.outerHeight(),
w=parseInt(b.css(this,"marginLeft"),10)||0,t=parseInt(b.css(this,"marginTop"),10)||0,x=m+w+(parseInt(b.css(this,"marginRight"),10)||0)+p.width,A=q+t+(parseInt(b.css(this,"marginBottom"),10)||0)+p.height,z=b.extend({},Z),L=a(u.my,f.outerWidth(),f.outerHeight());"right"===c.my[0]?z.left-=m:"center"===c.my[0]&&(z.left-=m/2);"bottom"===c.my[1]?z.top-=q:"center"===c.my[1]&&(z.top-=q/2);z.left+=L[0];z.top+=L[1];var C={marginLeft:w,marginTop:t};b.each(["left","top"],function(a,d){if(b.ui.position[r[a]])b.ui.position[r[a]][d](z,
{targetWidth:H,targetHeight:I,elemWidth:m,elemHeight:q,collisionPosition:C,collisionWidth:x,collisionHeight:A,offset:[va[0]+L[0],va[1]+L[1]],my:c.my,at:c.at,within:n,elem:f})});c.using&&(d=function(a){var b=y.left-z.left,d=b+H-m,n=y.top-z.top,p=n+I-q,r={target:{element:h,left:y.left,top:y.top,width:H,height:I},element:{element:f,left:z.left,top:z.top,width:m,height:q},horizontal:0>d?"left":0<b?"right":"center",vertical:0>p?"top":0<n?"bottom":"middle"};H<m&&g(b+d)<H&&(r.horizontal="center");I<q&&g(n+
p)<I&&(r.vertical="middle");e(g(b),g(d))>e(g(n),g(p))?r.important="horizontal":r.important="vertical";c.using.call(this,a,r)});f.offset(b.extend(z,{using:d}))})};b.ui.position={fit:{left:function(a,b){var d=b.within,c=d.isWindow?d.scrollLeft:d.offset.left,h=d.width,g=a.left-b.collisionPosition.marginLeft;d=c-g;var f=g+b.collisionWidth-h-c;b.collisionWidth>h?0<d&&0>=f?(b=a.left+d+b.collisionWidth-h-c,a.left+=d-b):a.left=0<f&&0>=d?c:d>f?c+h-b.collisionWidth:c:a.left=0<d?a.left+d:0<f?a.left-f:e(a.left-
g,a.left)},top:function(a,b){var d=b.within,c=d.isWindow?d.scrollTop:d.offset.top,h=b.within.height,g=a.top-b.collisionPosition.marginTop;d=c-g;var f=g+b.collisionHeight-h-c;b.collisionHeight>h?0<d&&0>=f?(b=a.top+d+b.collisionHeight-h-c,a.top+=d-b):a.top=0<f&&0>=d?c:d>f?c+h-b.collisionHeight:c:a.top=0<d?a.top+d:0<f?a.top-f:e(a.top-g,a.top)}},flip:{left:function(a,b){var d=b.within,c=d.offset.left+d.scrollLeft,h=d.width,e=d.isWindow?d.scrollLeft:d.offset.left,f=a.left-b.collisionPosition.marginLeft;
d=f-e;var n=f+b.collisionWidth-h-e;f="left"===b.my[0]?-b.elemWidth:"right"===b.my[0]?b.elemWidth:0;var p="left"===b.at[0]?b.targetWidth:"right"===b.at[0]?-b.targetWidth:0,m=-2*b.offset[0];if(0>d){if(b=a.left+f+p+m+b.collisionWidth-h-c,0>b||b<g(d))a.left+=f+p+m}else 0<n&&(b=a.left-b.collisionPosition.marginLeft+f+p+m-e,0<b||g(b)<n)&&(a.left+=f+p+m)},top:function(a,b){var d=b.within,c=d.offset.top+d.scrollTop,h=d.height,e=d.isWindow?d.scrollTop:d.offset.top,f=a.top-b.collisionPosition.marginTop;d=f-
e;var n=f+b.collisionHeight-h-e;f="top"===b.my[1]?-b.elemHeight:"bottom"===b.my[1]?b.elemHeight:0;var p="top"===b.at[1]?b.targetHeight:"bottom"===b.at[1]?-b.targetHeight:0,m=-2*b.offset[1];if(0>d){if(b=a.top+f+p+m+b.collisionHeight-h-c,0>b||b<g(d))a.top+=f+p+m}else 0<n&&(b=a.top-b.collisionPosition.marginTop+f+p+m-e,0<b||g(b)<n)&&(a.top+=f+p+m)}},flipfit:{left:function(){b.ui.position.flip.left.apply(this,arguments);b.ui.position.fit.left.apply(this,arguments)},top:function(){b.ui.position.flip.top.apply(this,
arguments);b.ui.position.fit.top.apply(this,arguments)}}}})();b.extend(b.expr[":"],{data:b.expr.createPseudo?b.expr.createPseudo(function(a){return function(d){return!!b.data(d,a)}}):function(a,d,c){return!!b.data(a,c[3])}});b.fn.extend({disableSelection:function(){var a="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}});
b.ui.focusable=function(a,d){var c=a.nodeName.toLowerCase();if("area"===c){d=a.parentNode;c=d.name;if(!a.href||!c||"map"!==d.nodeName.toLowerCase())return!1;a=b("img[usemap\x3d'#"+c+"']");return 0<a.length&&a.is(":visible")}/^(input|select|textarea|button|object)$/.test(c)?(d=!a.disabled)&&(c=b(a).closest("fieldset")[0])&&(d=!c.disabled):d="a"===c?a.href||d:d;if(d=d&&b(a).is(":visible")){a=b(a);for(d=a.css("visibility");"inherit"===d;)a=a.parent(),d=a.css("visibility");d="hidden"!==d}return d};b.extend(b.expr[":"],
{focusable:function(a){return b.ui.focusable(a,null!=b.attr(a,"tabindex"))}});b.fn.form=function(){return"string"===typeof this[0].form?this.closest("form"):b(this[0].form)};b.ui.formResetMixin={_formResetHandler:function(){var a=b(this);setTimeout(function(){var d=a.data("ui-form-reset-instances");b.each(d,function(){this.refresh()})})},_bindFormResetHandler:function(){this.form=this.element.form();if(this.form.length){var a=this.form.data("ui-form-reset-instances")||[];if(!a.length)this.form.on("reset.ui-form-reset",
this._formResetHandler);a.push(this);this.form.data("ui-form-reset-instances",a)}},_unbindFormResetHandler:function(){if(this.form.length){var a=this.form.data("ui-form-reset-instances");a.splice(b.inArray(this,a),1);a.length?this.form.data("ui-form-reset-instances",a):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};b.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,
UP:38};b.ui.escapeSelector=function(){var a=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(b){return b.replace(a,"\\$1")}}();b.fn.labels=function(){var a;if(this[0].labels&&this[0].labels.length)return this.pushStack(this[0].labels);var d=this.eq(0).parents("label");if(a=this.attr("id")){var c=this.eq(0).parents().last();c=c.add(c.length?c.siblings():this.siblings());a="label[for\x3d'"+b.ui.escapeSelector(a)+"']";d=d.add(c.find(a).addBack(a))}return this.pushStack(d)};b.fn.scrollParent=function(a){var d=
this.css("position"),c="absolute"===d,e=a?/(auto|scroll|hidden)/:/(auto|scroll)/;a=this.parents().filter(function(){var a=b(this);return c&&"static"===a.css("position")?!1:e.test(a.css("overflow")+a.css("overflow-y")+a.css("overflow-x"))}).eq(0);return"fixed"!==d&&a.length?a:b(this[0].ownerDocument||document)};b.extend(b.expr[":"],{tabbable:function(a){var d=b.attr(a,"tabindex"),c=null!=d;return(!c||0<=d)&&b.ui.focusable(a,c)}});b.fn.extend({uniqueId:function(){var a=0;return function(){return this.each(function(){this.id||
(this.id="ui-id-"+ ++a)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&b(this).removeAttr("id")})}});b.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var e=!1;b(document).on("mouseup",function(){e=!1});b.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.on("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).on("click."+
this.widgetName,function(d){if(!0===b.data(d.target,a.widgetName+".preventClickEvent"))return b.removeData(d.target,a.widgetName+".preventClickEvent"),d.stopImmediatePropagation(),!1});this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName);this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(a){if(!e){this._mouseMoved=!1;this._mouseStarted&&this._mouseUp(a);
this._mouseDownEvent=a;var d=this,c=1===a.which,g="string"===typeof this.options.cancel&&a.target.nodeName?b(a.target).closest(this.options.cancel).length:!1;if(!c||g||!this._mouseCapture(a))return!0;this.mouseDelayMet=!this.options.delay;this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)&&(this._mouseStarted=!1!==this._mouseStart(a),!this._mouseStarted))return a.preventDefault(),!0;!0===b.data(a.target,
this.widgetName+".preventClickEvent")&&b.removeData(a.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(a){return d._mouseMove(a)};this._mouseUpDelegate=function(a){return d._mouseUp(a)};this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return e=!0}},_mouseMove:function(a){if(this._mouseMoved){if(b.ui.ie&&(!document.documentMode||9>document.documentMode)&&!a.button)return this._mouseUp(a);
if(!a.which)if(a.originalEvent.altKey||a.originalEvent.ctrlKey||a.originalEvent.metaKey||a.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(a)}if(a.which||a.button)this._mouseMoved=!0;if(this._mouseStarted)return this._mouseDrag(a),a.preventDefault();this._mouseDistanceMet(a)&&this._mouseDelayMet(a)&&((this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,a))?this._mouseDrag(a):this._mouseUp(a));return!this._mouseStarted},_mouseUp:function(a){this.document.off("mousemove."+
this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate);this._mouseStarted&&(this._mouseStarted=!1,a.target===this._mouseDownEvent.target&&b.data(a.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(a));this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer);e=this.ignoreMissingWhich=!1;a.preventDefault()},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-
a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}});b.ui.plugin={add:function(a,d,c){var h;a=b.ui[a].prototype;for(h in c)a.plugins[h]=a.plugins[h]||[],a.plugins[h].push([d,c[h]])},call:function(a,b,c,e){if((b=a.plugins[b])&&(e||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))for(e=0;e<b.length;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,
c)}};b.ui.safeActiveElement=function(a){try{var b=a.activeElement}catch(h){b=a.body}b||(b=a.body);b.nodeName||(b=a.body);return b};b.ui.safeBlur=function(a){a&&"body"!==a.nodeName.toLowerCase()&&b(a).trigger("blur")};b.widget("ui.draggable",b.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,
scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative();this.options.addClasses&&this._addClass("ui-draggable");this._setHandleClassName();this._mouseInit()},_setOption:function(a,b){this._super(a,b);"handle"===a&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?
this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(a){var d=this.options;if(this.helper||d.disabled||0<b(a.target).closest(".ui-resizable-handle").length)return!1;this.handle=this._getHandle(a);if(!this.handle)return!1;this._blurActiveElement(a);this._blockFrames(!0===d.iframeFix?"iframe":d.iframeFix);return!0},_blockFrames:function(a){this.iframeBlocks=this.document.find(a).map(function(){var a=b(this);return b("\x3cdiv\x3e").css("position","absolute").appendTo(a.parent()).outerWidth(a.outerWidth()).outerHeight(a.outerHeight()).offset(a.offset())[0]})},
_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(a){var d=b.ui.safeActiveElement(this.document[0]);b(a.target).closest(d).length||b.ui.safeBlur(d)},_mouseStart:function(a){var d=this.options;this.helper=this._createHelper(a);this._addClass(this.helper,"ui-draggable-dragging");this._cacheHelperProportions();b.ui.ddmanager&&(b.ui.ddmanager.current=this);this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=
this.helper.scrollParent(!0);this.offsetParent=this.helper.offsetParent();this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===b(this).css("position")}).length;this.positionAbs=this.element.offset();this._refreshOffsets(a);this.originalPosition=this.position=this._generatePosition(a,!1);this.originalPageX=a.pageX;this.originalPageY=a.pageY;d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt);this._setContainment();if(!1===this._trigger("start",a))return this._clear(),!1;
this._cacheHelperProportions();b.ui.ddmanager&&!d.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,a);this._mouseDrag(a,!0);b.ui.ddmanager&&b.ui.ddmanager.dragStart(this,a);return!0},_refreshOffsets:function(a){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()};this.offset.click={left:a.pageX-this.offset.left,top:a.pageY-this.offset.top}},_mouseDrag:function(a,d){this.hasFixedAncestor&&
(this.offset.parent=this._getParentOffset());this.position=this._generatePosition(a,!0);this.positionAbs=this._convertPositionTo("absolute");if(!d){d=this._uiHash();if(!1===this._trigger("drag",a,d))return this._mouseUp(new b.Event("mouseup",a)),!1;this.position=d.position}this.helper[0].style.left=this.position.left+"px";this.helper[0].style.top=this.position.top+"px";b.ui.ddmanager&&b.ui.ddmanager.drag(this,a);return!1},_mouseStop:function(a){var d=this,c=!1;b.ui.ddmanager&&!this.options.dropBehaviour&&
(c=b.ui.ddmanager.drop(this,a));this.dropped&&(c=this.dropped,this.dropped=!1);"invalid"===this.options.revert&&!c||"valid"===this.options.revert&&c||!0===this.options.revert||b.isFunction(this.options.revert)&&this.options.revert.call(this.element,c)?b(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==d._trigger("stop",a)&&d._clear()}):!1!==this._trigger("stop",a)&&this._clear();return!1},_mouseUp:function(a){this._unblockFrames();b.ui.ddmanager&&
b.ui.ddmanager.dragStop(this,a);this.handleElement.is(a.target)&&this.element.trigger("focus");return b.ui.mouse.prototype._mouseUp.call(this,a)},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp(new b.Event("mouseup",{target:this.element[0]})):this._clear();return this},_getHandle:function(a){return this.options.handle?!!b(a.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):
this.element;this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(a){var d=this.options,c=b.isFunction(d.helper);a=c?b(d.helper.apply(this.element[0],[a])):"clone"===d.helper?this.element.clone().removeAttr("id"):this.element;a.parents("body").length||a.appendTo("parent"===d.appendTo?this.element[0].parentNode:d.appendTo);c&&a[0]===this.element[0]&&this._setPositionRelative();
a[0]===this.element[0]||/(fixed|absolute)/.test(a.css("position"))||a.css("position","absolute");return a},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(a){"string"===typeof a&&(a=a.split(" "));b.isArray(a)&&(a={left:+a[0],top:+a[1]||0});"left"in a&&(this.offset.click.left=a.left+this.margins.left);"right"in a&&(this.offset.click.left=this.helperProportions.width-a.right+this.margins.left);
"top"in a&&(this.offset.click.top=a.top+this.margins.top);"bottom"in a&&(this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top)},_isRootNode:function(a){return/(html|body)/i.test(a.tagName)||a===this.document[0]},_getParentOffset:function(){var a=this.offsetParent.offset(),d=this.document[0];"absolute"===this.cssPosition&&this.scrollParent[0]!==d&&b.contains(this.scrollParent[0],this.offsetParent[0])&&(a.left+=this.scrollParent.scrollLeft(),a.top+=this.scrollParent.scrollTop());
this._isRootNode(this.offsetParent[0])&&(a={top:0,left:0});return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var a=this.element.position(),b=this._isRootNode(this.scrollParent[0]);return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+(b?0:this.scrollParent.scrollTop()),left:a.left-(parseInt(this.helper.css("left"),
10)||0)+(b?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a;var d=this.options;var c=this.document[0];this.relativeContainer=
null;if(d.containment)if("window"===d.containment)this.containment=[b(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,b(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,b(window).scrollLeft()+b(window).width()-this.helperProportions.width-this.margins.left,b(window).scrollTop()+(b(window).height()||c.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];else if("document"===d.containment)this.containment=[0,0,b(c).width()-this.helperProportions.width-
this.margins.left,(b(c).height()||c.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];else if(d.containment.constructor===Array)this.containment=d.containment;else{if("parent"===d.containment&&(d.containment=this.helper[0].parentNode),c=b(d.containment),a=c[0])d=/(scroll|auto)/.test(c.css("overflow")),this.containment=[(parseInt(c.css("borderLeftWidth"),10)||0)+(parseInt(c.css("paddingLeft"),10)||0),(parseInt(c.css("borderTopWidth"),10)||0)+(parseInt(c.css("paddingTop"),
10)||0),(d?Math.max(a.scrollWidth,a.offsetWidth):a.offsetWidth)-(parseInt(c.css("borderRightWidth"),10)||0)-(parseInt(c.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(d?Math.max(a.scrollHeight,a.offsetHeight):a.offsetHeight)-(parseInt(c.css("borderBottomWidth"),10)||0)-(parseInt(c.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=c}else this.containment=null},_convertPositionTo:function(a,
b){b||(b=this.position);a="absolute"===a?1:-1;var d=this._isRootNode(this.scrollParent[0]);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-("fixed"===this.cssPosition?-this.offset.scroll.top:d?0:this.offset.scroll.top)*a,left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-("fixed"===this.cssPosition?-this.offset.scroll.left:d?0:this.offset.scroll.left)*a}},_generatePosition:function(a,b){var d=this.options,c=this._isRootNode(this.scrollParent[0]);var e=a.pageX;var g=
a.pageY;c&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()});if(b){if(this.containment){if(this.relativeContainer){var f=this.relativeContainer.offset();f=[this.containment[0]+f.left,this.containment[1]+f.top,this.containment[2]+f.left,this.containment[3]+f.top]}else f=this.containment;a.pageX-this.offset.click.left<f[0]&&(e=f[0]+this.offset.click.left);a.pageY-this.offset.click.top<f[1]&&(g=f[1]+this.offset.click.top);a.pageX-this.offset.click.left>
f[2]&&(e=f[2]+this.offset.click.left);a.pageY-this.offset.click.top>f[3]&&(g=f[3]+this.offset.click.top)}d.grid&&(g=d.grid[1]?this.originalPageY+Math.round((g-this.originalPageY)/d.grid[1])*d.grid[1]:this.originalPageY,g=f?g-this.offset.click.top>=f[1]||g-this.offset.click.top>f[3]?g:g-this.offset.click.top>=f[1]?g-d.grid[1]:g+d.grid[1]:g,e=d.grid[0]?this.originalPageX+Math.round((e-this.originalPageX)/d.grid[0])*d.grid[0]:this.originalPageX,e=f?e-this.offset.click.left>=f[0]||e-this.offset.click.left>
f[2]?e:e-this.offset.click.left>=f[0]?e-d.grid[0]:e+d.grid[0]:e);"y"===d.axis&&(e=this.originalPageX);"x"===d.axis&&(g=this.originalPageY)}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:c?0:this.offset.scroll.top),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:c?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,
"ui-draggable-dragging");this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove();this.helper=null;this.cancelHelperRemoval=!1;this.destroyOnClear&&this.destroy()},_trigger:function(a,d,c){c=c||this._uiHash();b.ui.plugin.call(this,a,[d,c,this],!0);/^(drag|start|stop)/.test(a)&&(this.positionAbs=this._convertPositionTo("absolute"),c.offset=this.positionAbs);return b.Widget.prototype._trigger.call(this,a,d,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,
originalPosition:this.originalPosition,offset:this.positionAbs}}});b.ui.plugin.add("draggable","connectToSortable",{start:function(a,d,c){var e=b.extend({},d,{item:c.element});c.sortables=[];b(c.options.connectToSortable).each(function(){var d=b(this).sortable("instance");d&&!d.options.disabled&&(c.sortables.push(d),d.refreshPositions(),d._trigger("activate",a,e))})},stop:function(a,d,c){var e=b.extend({},d,{item:c.element});c.cancelHelperRemoval=!1;b.each(c.sortables,function(){this.isOver?(this.isOver=
0,c.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(a),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",a,e))})},drag:function(a,d,c){b.each(c.sortables,function(){var e=!1,h=this;h.positionAbs=c.positionAbs;h.helperProportions=c.helperProportions;h.offset.click=c.offset.click;h._intersectsWith(h.containerCache)&&
(e=!0,b.each(c.sortables,function(){this.positionAbs=c.positionAbs;this.helperProportions=c.helperProportions;this.offset.click=c.offset.click;this!==h&&this._intersectsWith(this.containerCache)&&b.contains(h.element[0],this.element[0])&&(e=!1);return e}));e?(h.isOver||(h.isOver=1,c._parent=d.helper.parent(),h.currentItem=d.helper.appendTo(h.element).data("ui-sortable-item",!0),h.options._helper=h.options.helper,h.options.helper=function(){return d.helper[0]},a.target=h.currentItem[0],h._mouseCapture(a,
!0),h._mouseStart(a,!0,!0),h.offset.click.top=c.offset.click.top,h.offset.click.left=c.offset.click.left,h.offset.parent.left-=c.offset.parent.left-h.offset.parent.left,h.offset.parent.top-=c.offset.parent.top-h.offset.parent.top,c._trigger("toSortable",a),c.dropped=h.element,b.each(c.sortables,function(){this.refreshPositions()}),c.currentItem=c.element,h.fromOutside=c),h.currentItem&&(h._mouseDrag(a),d.position=h.position)):h.isOver&&(h.isOver=0,h.cancelHelperRemoval=!0,h.options._revert=h.options.revert,
h.options.revert=!1,h._trigger("out",a,h._uiHash(h)),h._mouseStop(a,!0),h.options.revert=h.options._revert,h.options.helper=h.options._helper,h.placeholder&&h.placeholder.remove(),d.helper.appendTo(c._parent),c._refreshOffsets(a),d.position=c._generatePosition(a,!0),c._trigger("fromSortable",a),c.dropped=!1,b.each(c.sortables,function(){this.refreshPositions()}))})}});b.ui.plugin.add("draggable","cursor",{start:function(a,d,c){a=b("body");c=c.options;a.css("cursor")&&(c._cursor=a.css("cursor"));a.css("cursor",
c.cursor)},stop:function(a,d,c){a=c.options;a._cursor&&b("body").css("cursor",a._cursor)}});b.ui.plugin.add("draggable","opacity",{start:function(a,d,c){a=b(d.helper);c=c.options;a.css("opacity")&&(c._opacity=a.css("opacity"));a.css("opacity",c.opacity)},stop:function(a,d,c){a=c.options;a._opacity&&b(d.helper).css("opacity",a._opacity)}});b.ui.plugin.add("draggable","scroll",{start:function(a,b,c){c.scrollParentNotHidden||(c.scrollParentNotHidden=c.helper.scrollParent(!1));c.scrollParentNotHidden[0]!==
c.document[0]&&"HTML"!==c.scrollParentNotHidden[0].tagName&&(c.overflowOffset=c.scrollParentNotHidden.offset())},drag:function(a,d,c){d=c.options;var e=!1,h=c.scrollParentNotHidden[0],g=c.document[0];h!==g&&"HTML"!==h.tagName?(d.axis&&"x"===d.axis||(c.overflowOffset.top+h.offsetHeight-a.pageY<d.scrollSensitivity?h.scrollTop=e=h.scrollTop+d.scrollSpeed:a.pageY-c.overflowOffset.top<d.scrollSensitivity&&(h.scrollTop=e=h.scrollTop-d.scrollSpeed)),d.axis&&"y"===d.axis||(c.overflowOffset.left+h.offsetWidth-
a.pageX<d.scrollSensitivity?h.scrollLeft=e=h.scrollLeft+d.scrollSpeed:a.pageX-c.overflowOffset.left<d.scrollSensitivity&&(h.scrollLeft=e=h.scrollLeft-d.scrollSpeed))):(d.axis&&"x"===d.axis||(a.pageY-b(g).scrollTop()<d.scrollSensitivity?e=b(g).scrollTop(b(g).scrollTop()-d.scrollSpeed):b(window).height()-(a.pageY-b(g).scrollTop())<d.scrollSensitivity&&(e=b(g).scrollTop(b(g).scrollTop()+d.scrollSpeed))),d.axis&&"y"===d.axis||(a.pageX-b(g).scrollLeft()<d.scrollSensitivity?e=b(g).scrollLeft(b(g).scrollLeft()-
d.scrollSpeed):b(window).width()-(a.pageX-b(g).scrollLeft())<d.scrollSensitivity&&(e=b(g).scrollLeft(b(g).scrollLeft()+d.scrollSpeed))));!1!==e&&b.ui.ddmanager&&!d.dropBehaviour&&b.ui.ddmanager.prepareOffsets(c,a)}});b.ui.plugin.add("draggable","snap",{start:function(a,d,c){a=c.options;c.snapElements=[];b(a.snap.constructor!==String?a.snap.items||":data(ui-draggable)":a.snap).each(function(){var a=b(this),d=a.offset();this!==c.element[0]&&c.snapElements.push({item:this,width:a.outerWidth(),height:a.outerHeight(),
top:d.top,left:d.left})})},drag:function(a,d,c){var e,g=c.options,h=g.snapTolerance,f=d.offset.left,m=f+c.helperProportions.width,q=d.offset.top,t=q+c.helperProportions.height;for(e=c.snapElements.length-1;0<=e;e--){var A=c.snapElements[e].left-c.margins.left;var y=A+c.snapElements[e].width;var x=c.snapElements[e].top-c.margins.top;var z=x+c.snapElements[e].height;if(m<A-h||f>y+h||t<x-h||q>z+h||!b.contains(c.snapElements[e].item.ownerDocument,c.snapElements[e].item))c.snapElements[e].snapping&&c.options.snap.release&&
c.options.snap.release.call(c.element,a,b.extend(c._uiHash(),{snapItem:c.snapElements[e].item})),c.snapElements[e].snapping=!1;else{if("inner"!==g.snapMode){var F=Math.abs(x-t)<=h;var C=Math.abs(z-q)<=h;var B=Math.abs(A-m)<=h;var L=Math.abs(y-f)<=h;F&&(d.position.top=c._convertPositionTo("relative",{top:x-c.helperProportions.height,left:0}).top);C&&(d.position.top=c._convertPositionTo("relative",{top:z,left:0}).top);B&&(d.position.left=c._convertPositionTo("relative",{top:0,left:A-c.helperProportions.width}).left);
L&&(d.position.left=c._convertPositionTo("relative",{top:0,left:y}).left)}var H=F||C||B||L;"outer"!==g.snapMode&&(F=Math.abs(x-q)<=h,C=Math.abs(z-t)<=h,B=Math.abs(A-f)<=h,L=Math.abs(y-m)<=h,F&&(d.position.top=c._convertPositionTo("relative",{top:x,left:0}).top),C&&(d.position.top=c._convertPositionTo("relative",{top:z-c.helperProportions.height,left:0}).top),B&&(d.position.left=c._convertPositionTo("relative",{top:0,left:A}).left),L&&(d.position.left=c._convertPositionTo("relative",{top:0,left:y-
c.helperProportions.width}).left));!c.snapElements[e].snapping&&(F||C||B||L||H)&&c.options.snap.snap&&c.options.snap.snap.call(c.element,a,b.extend(c._uiHash(),{snapItem:c.snapElements[e].item}));c.snapElements[e].snapping=F||C||B||L||H}}}});b.ui.plugin.add("draggable","stack",{start:function(a,d,c){a=b.makeArray(b(c.options.stack)).sort(function(a,d){return(parseInt(b(a).css("zIndex"),10)||0)-(parseInt(b(d).css("zIndex"),10)||0)});if(a.length){var e=parseInt(b(a[0]).css("zIndex"),10)||0;b(a).each(function(a){b(this).css("zIndex",
e+a)});this.css("zIndex",e+a.length)}}});b.ui.plugin.add("draggable","zIndex",{start:function(a,d,c){a=b(d.helper);c=c.options;a.css("zIndex")&&(c._zIndex=a.css("zIndex"));a.css("zIndex",c.zIndex)},stop:function(a,d,c){a=c.options;a._zIndex&&b(d.helper).css("zIndex",a._zIndex)}});b.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var a,
d=this.options,c=d.accept;this.isover=!1;this.isout=!0;this.accept=b.isFunction(c)?c:function(a){return a.is(c)};this.proportions=function(){if(arguments.length)a=arguments[0];else return a?a:a={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}};this._addToManager(d.scope);d.addClasses&&this._addClass("ui-droppable")},_addToManager:function(a){b.ui.ddmanager.droppables[a]=b.ui.ddmanager.droppables[a]||[];b.ui.ddmanager.droppables[a].push(this)},_splice:function(a){for(var b=0;b<
a.length;b++)a[b]===this&&a.splice(b,1)},_destroy:function(){this._splice(b.ui.ddmanager.droppables[this.options.scope])},_setOption:function(a,d){"accept"===a?this.accept=b.isFunction(d)?d:function(a){return a.is(d)}:"scope"===a&&(this._splice(b.ui.ddmanager.droppables[this.options.scope]),this._addToManager(d));this._super(a,d)},_activate:function(a){var d=b.ui.ddmanager.current;this._addActiveClass();d&&this._trigger("activate",a,this.ui(d))},_deactivate:function(a){var d=b.ui.ddmanager.current;
this._removeActiveClass();d&&this._trigger("deactivate",a,this.ui(d))},_over:function(a){var d=b.ui.ddmanager.current;d&&(d.currentItem||d.element)[0]!==this.element[0]&&this.accept.call(this.element[0],d.currentItem||d.element)&&(this._addHoverClass(),this._trigger("over",a,this.ui(d)))},_out:function(a){var d=b.ui.ddmanager.current;d&&(d.currentItem||d.element)[0]!==this.element[0]&&this.accept.call(this.element[0],d.currentItem||d.element)&&(this._removeHoverClass(),this._trigger("out",a,this.ui(d)))},
_drop:function(a,d){var c=d||b.ui.ddmanager.current,e=!1;if(!c||(c.currentItem||c.element)[0]===this.element[0])return!1;this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var d=b(this).droppable("instance");if(d.options.greedy&&!d.options.disabled&&d.options.scope===c.options.scope&&d.accept.call(d.element[0],c.currentItem||c.element)&&g(c,b.extend(d,{offset:d.element.offset()}),d.options.tolerance,a))return e=!0,!1});return e?!1:this.accept.call(this.element[0],
c.currentItem||c.element)?(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",a,this.ui(c)),this.element):!1},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});
var g=b.ui.intersect=function(){return function(a,b,c,e){if(!b.offset)return!1;var d=(a.positionAbs||a.position.absolute).left+a.margins.left,g=(a.positionAbs||a.position.absolute).top+a.margins.top,h=d+a.helperProportions.width,f=g+a.helperProportions.height,n=b.offset.left,m=b.offset.top,A=n+b.proportions().width,y=m+b.proportions().height;switch(c){case "fit":return n<=d&&h<=A&&m<=g&&f<=y;case "intersect":return n<d+a.helperProportions.width/2&&h-a.helperProportions.width/2<A&&m<g+a.helperProportions.height/
2&&f-a.helperProportions.height/2<y;case "pointer":a=e.pageY;c=b.proportions().height;if(m=a>=m&&a<m+c)e=e.pageX,b=b.proportions().width,m=e>=n&&e<n+b;return m;case "touch":return(g>=m&&g<=y||f>=m&&f<=y||g<m&&f>y)&&(d>=n&&d<=A||h>=n&&h<=A||d<n&&h>A);default:return!1}}}();b.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,d){var c,e=b.ui.ddmanager.droppables[a.options.scope]||[],g=d?d.type:null,f=(a.currentItem||a.element).find(":data(ui-droppable)").addBack();var m=0;
a:for(;m<e.length;m++)if(!(e[m].options.disabled||a&&!e[m].accept.call(e[m].element[0],a.currentItem||a.element))){for(c=0;c<f.length;c++)if(f[c]===e[m].element[0]){e[m].proportions().height=0;continue a}e[m].visible="none"!==e[m].element.css("display");e[m].visible&&("mousedown"===g&&e[m]._activate.call(e[m],d),e[m].offset=e[m].element.offset(),e[m].proportions({width:e[m].element[0].offsetWidth,height:e[m].element[0].offsetHeight}))}},drop:function(a,d){var c=!1;b.each((b.ui.ddmanager.droppables[a.options.scope]||
[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&g(a,this,this.options.tolerance,d)&&(c=this._drop.call(this,d)||c),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem||a.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,d)))});return c},dragStart:function(a,d){a.element.parentsUntil("body").on("scroll.droppable",function(){a.options.refreshPositions||b.ui.ddmanager.prepareOffsets(a,d)})},drag:function(a,d){a.options.refreshPositions&&
b.ui.ddmanager.prepareOffsets(a,d);b.each(b.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var c=g(a,this,this.options.tolerance,d);var e=!c&&this.isover?"isout":c&&!this.isover?"isover":null;if(e){if(this.options.greedy){var f=this.options.scope;c=this.element.parents(":data(ui-droppable)").filter(function(){return b(this).droppable("instance").options.scope===f});if(c.length){var m=b(c[0]).droppable("instance");m.greedyChild="isover"===
e}}m&&"isover"===e&&(m.isover=!1,m.isout=!0,m._out.call(m,d));this[e]=!0;this["isout"===e?"isover":"isout"]=!1;this["isover"===e?"_over":"_out"].call(this,d);m&&"isout"===e&&(m.isout=!1,m.isover=!0,m._over.call(m,d))}}})},dragStop:function(a,d){a.element.parentsUntil("body").off("scroll.droppable");a.options.refreshPositions||b.ui.ddmanager.prepareOffsets(a,d)}};!1!==b.uiBackCompat&&b.widget("ui.droppable",b.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super();
this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super();this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super();this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super();this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});b.widget("ui.resizable",b.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",
options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(a){return parseFloat(a)||0},_isNumber:function(a){return!isNaN(parseFloat(a))},_hasScroll:function(a,d){if("hidden"===b(a).css("overflow"))return!1;d=d&&"left"===
d?"scrollLeft":"scrollTop";if(0<a[d])return!0;a[d]=1;var c=0<a[d];a[d]=0;return c},_create:function(){var a=this.options,d=this;this._addClass("ui-resizable");b.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)){this.element.wrap(b("\x3cdiv class\x3d'ui-wrapper' style\x3d'overflow: hidden;'\x3e\x3c/div\x3e").css({position:this.element.css("position"),
width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance"));this.elementIsWrapper=!0;var c={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")};this.element.css(c);this.originalElement.css("margin",
0);this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css(c);this._proportionallyResize()}this._setupHandles();if(a.autoHide)b(this.element).on("mouseenter",function(){a.disabled||(d._removeClass("ui-resizable-autohide"),d._handles.show())}).on("mouseleave",function(){a.disabled||d.resizing||(d._addClass("ui-resizable-autohide"),
d._handles.hide())});this._mouseInit()},_destroy:function(){this._mouseDestroy();var a=function(a){b(a).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){a(this.element);var d=this.element;this.originalElement.css({position:d.css("position"),width:d.outerWidth(),height:d.outerHeight(),top:d.css("top"),left:d.css("left")}).insertAfter(d);d.remove()}this.originalElement.css("resize",this.originalResizeStyle);a(this.originalElement);
return this},_setOption:function(a,b){this._super(a,b);switch(a){case "handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var a=this.options,d,c=this;this.handles=a.handles||(b(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");this._handles=b();if(this.handles.constructor===String){"all"===this.handles&&
(this.handles="n,e,s,w,se,sw,ne,nw");var e=this.handles.split(",");this.handles={};for(d=0;d<e.length;d++){var g=b.trim(e[d]);var f="ui-resizable-"+g;var m=b("\x3cdiv\x3e");this._addClass(m,"ui-resizable-handle "+f);m.css({zIndex:a.zIndex});this.handles[g]=".ui-resizable-"+g;this.element.append(m)}}this._renderAxis=function(a){var d;a=a||this.element;for(d in this.handles){if(this.handles[d].constructor===String)this.handles[d]=this.element.children(this.handles[d]).first().show();else if(this.handles[d].jquery||
this.handles[d].nodeType)this.handles[d]=b(this.handles[d]),this._on(this.handles[d],{mousedown:c._mouseDown});if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)){var e=b(this.handles[d],this.element);var g=/sw|ne|nw|se|n|s/.test(d)?e.outerHeight():e.outerWidth();e=["padding",/ne|nw|n/.test(d)?"Top":/se|sw|s/.test(d)?"Bottom":/^e$/.test(d)?"Right":"Left"].join("");a.css(e,g);this._proportionallyResize()}this._handles=this._handles.add(this.handles[d])}};
this._renderAxis(this.element);this._handles=this._handles.add(this.element.find(".ui-resizable-handle"));this._handles.disableSelection();this._handles.on("mouseover",function(){c.resizing||(this.className&&(m=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),c.axis=m&&m[1]?m[1]:"se")});a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(a){var d,c=!1;for(d in this.handles){var e=b(this.handles[d])[0];
if(e===a.target||b.contains(e,a.target))c=!0}return!this.options.disabled&&c},_mouseStart:function(a){var d=this.options,c=this.element;this.resizing=!0;this._renderProxy();var e=this._num(this.helper.css("left"));var g=this._num(this.helper.css("top"));d.containment&&(e+=b(d.containment).scrollLeft()||0,g+=b(d.containment).scrollTop()||0);this.offset=this.helper.offset();this.position={left:e,top:g};this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:c.width(),height:c.height()};
this.originalSize=this._helper?{width:c.outerWidth(),height:c.outerHeight()}:{width:c.width(),height:c.height()};this.sizeDiff={width:c.outerWidth()-c.width(),height:c.outerHeight()-c.height()};this.originalPosition={left:e,top:g};this.originalMousePosition={left:a.pageX,top:a.pageY};this.aspectRatio="number"===typeof d.aspectRatio?d.aspectRatio:this.originalSize.width/this.originalSize.height||1;e=b(".ui-resizable-"+this.axis).css("cursor");b("body").css("cursor","auto"===e?this.axis+"-resize":e);
this._addClass("ui-resizable-resizing");this._propagate("start",a);return!0},_mouseDrag:function(a){var d=this.originalMousePosition;var c=a.pageX-d.left||0;d=a.pageY-d.top||0;var e=this._change[this.axis];this._updatePrevProperties();if(!e)return!1;c=e.apply(this,[a,c,d]);this._updateVirtualBoundaries(a.shiftKey);if(this._aspectRatio||a.shiftKey)c=this._updateRatio(c,a);c=this._respectSize(c,a);this._updateCache(c);this._propagate("resize",a);c=this._applyChanges();!this._helper&&this._proportionallyResizeElements.length&&
this._proportionallyResize();b.isEmptyObject(c)||(this._updatePrevProperties(),this._trigger("resize",a,this.ui()),this._applyChanges());return!1},_mouseStop:function(a){this.resizing=!1;var d,c=this.options;if(this._helper){var e=this._proportionallyResizeElements;e=(d=e.length&&/textarea/i.test(e[0].nodeName))&&this._hasScroll(e[0],"left")?0:this.sizeDiff.height;d=d?0:this.sizeDiff.width;d={width:this.helper.width()-d,height:this.helper.height()-e};e=parseFloat(this.element.css("left"))+(this.position.left-
this.originalPosition.left)||null;var g=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null;c.animate||this.element.css(b.extend(d,{top:g,left:e}));this.helper.height(this.size.height);this.helper.width(this.size.width);this._helper&&!c.animate&&this._proportionallyResize()}b("body").css("cursor","auto");this._removeClass("ui-resizable-resizing");this._propagate("stop",a);this._helper&&this.helper.remove();return!1},_updatePrevProperties:function(){this.prevPosition=
{top:this.position.top,left:this.position.left};this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var a={};this.position.top!==this.prevPosition.top&&(a.top=this.position.top+"px");this.position.left!==this.prevPosition.left&&(a.left=this.position.left+"px");this.size.width!==this.prevSize.width&&(a.width=this.size.width+"px");this.size.height!==this.prevSize.height&&(a.height=this.size.height+"px");this.helper.css(a);return a},_updateVirtualBoundaries:function(a){var b=
this.options;b={minWidth:this._isNumber(b.minWidth)?b.minWidth:0,maxWidth:this._isNumber(b.maxWidth)?b.maxWidth:Infinity,minHeight:this._isNumber(b.minHeight)?b.minHeight:0,maxHeight:this._isNumber(b.maxHeight)?b.maxHeight:Infinity};if(this._aspectRatio||a){a=b.minHeight*this.aspectRatio;var c=b.minWidth/this.aspectRatio;var e=b.maxHeight*this.aspectRatio;var g=b.maxWidth/this.aspectRatio;a>b.minWidth&&(b.minWidth=a);c>b.minHeight&&(b.minHeight=c);e<b.maxWidth&&(b.maxWidth=e);g<b.maxHeight&&(b.maxHeight=
g)}this._vBoundaries=b},_updateCache:function(a){this.offset=this.helper.offset();this._isNumber(a.left)&&(this.position.left=a.left);this._isNumber(a.top)&&(this.position.top=a.top);this._isNumber(a.height)&&(this.size.height=a.height);this._isNumber(a.width)&&(this.size.width=a.width)},_updateRatio:function(a){var b=this.position,c=this.size,e=this.axis;this._isNumber(a.height)?a.width=a.height*this.aspectRatio:this._isNumber(a.width)&&(a.height=a.width/this.aspectRatio);"sw"===e&&(a.left=b.left+
(c.width-a.width),a.top=null);"nw"===e&&(a.top=b.top+(c.height-a.height),a.left=b.left+(c.width-a.width));return a},_respectSize:function(a){var b=this._vBoundaries,c=this.axis,e=this._isNumber(a.width)&&b.maxWidth&&b.maxWidth<a.width,g=this._isNumber(a.height)&&b.maxHeight&&b.maxHeight<a.height,f=this._isNumber(a.width)&&b.minWidth&&b.minWidth>a.width,m=this._isNumber(a.height)&&b.minHeight&&b.minHeight>a.height,w=this.originalPosition.left+this.originalSize.width,q=this.originalPosition.top+this.originalSize.height,
t=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);f&&(a.width=b.minWidth);m&&(a.height=b.minHeight);e&&(a.width=b.maxWidth);g&&(a.height=b.maxHeight);f&&t&&(a.left=w-b.minWidth);e&&t&&(a.left=w-b.maxWidth);m&&c&&(a.top=q-b.minHeight);g&&c&&(a.top=q-b.maxHeight);a.width||a.height||a.left||!a.top?a.width||a.height||a.top||!a.left||(a.left=null):a.top=null;return a},_getPaddingPlusBorderDimensions:function(a){var b=0,c=[],e=[a.css("borderTopWidth"),a.css("borderRightWidth"),a.css("borderBottomWidth"),a.css("borderLeftWidth")];
for(a=[a.css("paddingTop"),a.css("paddingRight"),a.css("paddingBottom"),a.css("paddingLeft")];4>b;b++)c[b]=parseFloat(e[b])||0,c[b]+=parseFloat(a[b])||0;return{height:c[0]+c[2],width:c[1]+c[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var a,b=0,c=this.helper||this.element;b<this._proportionallyResizeElements.length;b++)a=this._proportionallyResizeElements[b],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(a)),a.css({height:c.height()-
this.outerDimensions.height||0,width:c.width()-this.outerDimensions.width||0})},_renderProxy:function(){var a=this.options;this.elementOffset=this.element.offset();this._helper?(this.helper=this.helper||b("\x3cdiv style\x3d'overflow:hidden;'\x3e\x3c/div\x3e"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++a.zIndex}),this.helper.appendTo("body").disableSelection()):
this.helper=this.element},_change:{e:function(a,b){return{width:this.originalSize.width+b}},w:function(a,b){return{left:this.originalPosition.left+b,width:this.originalSize.width-b}},n:function(a,b,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(a,b,c){return{height:this.originalSize.height+c}},se:function(a,d,c){return b.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[a,d,c]))},sw:function(a,d,c){return b.extend(this._change.s.apply(this,
arguments),this._change.w.apply(this,[a,d,c]))},ne:function(a,d,c){return b.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[a,d,c]))},nw:function(a,d,c){return b.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[a,d,c]))}},_propagate:function(a,d){b.ui.plugin.call(this,a,[d,this.ui()]);"resize"!==a&&this._trigger(a,d,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,
size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});b.ui.plugin.add("resizable","animate",{stop:function(a){var d=b(this).resizable("instance"),c=d.options,e=d._proportionallyResizeElements,g=e.length&&/textarea/i.test(e[0].nodeName),f=g&&d._hasScroll(e[0],"left")?0:d.sizeDiff.height;g={width:d.size.width-(g?0:d.sizeDiff.width),height:d.size.height-f};f=parseFloat(d.element.css("left"))+(d.position.left-d.originalPosition.left)||null;var m=parseFloat(d.element.css("top"))+
(d.position.top-d.originalPosition.top)||null;d.element.animate(b.extend(g,m&&f?{top:m,left:f}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var c={width:parseFloat(d.element.css("width")),height:parseFloat(d.element.css("height")),top:parseFloat(d.element.css("top")),left:parseFloat(d.element.css("left"))};e&&e.length&&b(e[0]).css({width:c.width,height:c.height});d._updateCache(c);d._propagate("resize",a)}})}});b.ui.plugin.add("resizable","containment",{start:function(){var a=
b(this).resizable("instance"),d=a.element;var c=a.options.containment;if(d=c instanceof b?c.get(0):/parent/.test(c)?d.parent().get(0):c)if(a.containerElement=b(d),/document/.test(c)||c===document)a.containerOffset={left:0,top:0},a.containerPosition={left:0,top:0},a.parentData={element:b(document),left:0,top:0,width:b(document).width(),height:b(document).height()||document.body.parentNode.scrollHeight};else{var e=b(d);var g=[];b(["Top","Right","Left","Bottom"]).each(function(b,d){g[b]=a._num(e.css("padding"+
d))});a.containerOffset=e.offset();a.containerPosition=e.position();a.containerSize={height:e.innerHeight()-g[3],width:e.innerWidth()-g[1]};c=a.containerOffset;var f=a.containerSize.height;var m=a.containerSize.width;m=a._hasScroll(d,"left")?d.scrollWidth:m;f=a._hasScroll(d)?d.scrollHeight:f;a.parentData={element:d,left:c.left,top:c.top,width:m,height:f}}},resize:function(a){var d=b(this).resizable("instance");var c=d.options;var e=d.containerOffset;var g=d.position;a=d._aspectRatio||a.shiftKey;var f=
{top:0,left:0},m=d.containerElement,w=!0;m[0]!==document&&/static/.test(m.css("position"))&&(f=e);g.left<(d._helper?e.left:0)&&(d.size.width+=d._helper?d.position.left-e.left:d.position.left-f.left,a&&(d.size.height=d.size.width/d.aspectRatio,w=!1),d.position.left=c.helper?e.left:0);g.top<(d._helper?e.top:0)&&(d.size.height+=d._helper?d.position.top-e.top:d.position.top,a&&(d.size.width=d.size.height*d.aspectRatio,w=!1),d.position.top=d._helper?e.top:0);c=d.containerElement.get(0)===d.element.parent().get(0);
g=/relative|absolute/.test(d.containerElement.css("position"));c&&g?(d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top):(d.offset.left=d.element.offset().left,d.offset.top=d.element.offset().top);c=Math.abs(d.sizeDiff.width+(d._helper?d.offset.left-f.left:d.offset.left-e.left));e=Math.abs(d.sizeDiff.height+(d._helper?d.offset.top-f.top:d.offset.top-e.top));c+d.size.width>=d.parentData.width&&(d.size.width=d.parentData.width-c,a&&(d.size.height=d.size.width/
d.aspectRatio,w=!1));e+d.size.height>=d.parentData.height&&(d.size.height=d.parentData.height-e,a&&(d.size.width=d.size.height*d.aspectRatio,w=!1));w||(d.position.left=d.prevPosition.left,d.position.top=d.prevPosition.top,d.size.width=d.prevSize.width,d.size.height=d.prevSize.height)},stop:function(){var a=b(this).resizable("instance"),d=a.options,c=a.containerOffset,e=a.containerPosition,g=a.containerElement,f=b(a.helper),m=f.offset(),w=f.outerWidth()-a.sizeDiff.width;f=f.outerHeight()-a.sizeDiff.height;
a._helper&&!d.animate&&/relative/.test(g.css("position"))&&b(this).css({left:m.left-e.left-c.left,width:w,height:f});a._helper&&!d.animate&&/static/.test(g.css("position"))&&b(this).css({left:m.left-e.left-c.left,width:w,height:f})}});b.ui.plugin.add("resizable","alsoResize",{start:function(){var a=b(this).resizable("instance").options;b(a.alsoResize).each(function(){var a=b(this);a.data("ui-resizable-alsoresize",{width:parseFloat(a.width()),height:parseFloat(a.height()),left:parseFloat(a.css("left")),
top:parseFloat(a.css("top"))})})},resize:function(a,d){a=b(this).resizable("instance");var c=a.originalSize,e=a.originalPosition,g={height:a.size.height-c.height||0,width:a.size.width-c.width||0,top:a.position.top-e.top||0,left:a.position.left-e.left||0};b(a.options.alsoResize).each(function(){var a=b(this),c=b(this).data("ui-resizable-alsoresize"),e={},f=a.parents(d.originalElement[0]).length?["width","height"]:["width","height","top","left"];b.each(f,function(a,b){(a=(c[b]||0)+(g[b]||0))&&0<=a&&
(e[b]=a||null)});a.css(e)})},stop:function(){b(this).removeData("ui-resizable-alsoresize")}});b.ui.plugin.add("resizable","ghost",{start:function(){var a=b(this).resizable("instance"),d=a.size;a.ghost=a.originalElement.clone();a.ghost.css({opacity:.25,display:"block",position:"relative",height:d.height,width:d.width,margin:0,left:0,top:0});a._addClass(a.ghost,"ui-resizable-ghost");!1!==b.uiBackCompat&&"string"===typeof a.options.ghost&&a.ghost.addClass(this.options.ghost);a.ghost.appendTo(a.helper)},
resize:function(){var a=b(this).resizable("instance");a.ghost&&a.ghost.css({position:"relative",height:a.size.height,width:a.size.width})},stop:function(){var a=b(this).resizable("instance");a.ghost&&a.helper&&a.helper.get(0).removeChild(a.ghost.get(0))}});b.ui.plugin.add("resizable","grid",{resize:function(){var a=b(this).resizable("instance"),d=a.options,c=a.size,e=a.originalSize,g=a.originalPosition,f=a.axis,m="number"===typeof d.grid?[d.grid,d.grid]:d.grid,w=m[0]||1,q=m[1]||1,t=Math.round((c.width-
e.width)/w)*w;c=Math.round((c.height-e.height)/q)*q;var A=e.width+t,y=e.height+c,x=d.maxWidth&&d.maxWidth<A,z=d.maxHeight&&d.maxHeight<y,F=d.minWidth&&d.minWidth>A,C=d.minHeight&&d.minHeight>y;d.grid=m;F&&(A+=w);C&&(y+=q);x&&(A-=w);z&&(y-=q);if(/^(se|s|e)$/.test(f))a.size.width=A,a.size.height=y;else if(/^(ne)$/.test(f))a.size.width=A,a.size.height=y,a.position.top=g.top-c;else if(/^(sw)$/.test(f))a.size.width=A,a.size.height=y,a.position.left=g.left-t;else{if(0>=y-q||0>=A-w)var B=a._getPaddingPlusBorderDimensions(this);
0<y-q?(a.size.height=y,a.position.top=g.top-c):(y=q-B.height,a.size.height=y,a.position.top=g.top+e.height-y);0<A-w?(a.size.width=A,a.position.left=g.left-t):(A=w-B.width,a.size.width=A,a.position.left=g.left+e.width-A)}}});var m=/ui-corner-([a-z]){2,6}/g;b.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"\x3cdiv\x3e",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type\x3dbutton], input[type\x3dsubmit], input[type\x3dreset], button, a",controlgroupLabel:".ui-controlgroup-label",
checkboxradio:"input[type\x3d'checkbox'], input[type\x3d'radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar");this.refresh()},_destroy:function(){this._callChildMethod("destroy");this.childWidgets.removeData("ui-controlgroup-data");this.element.removeAttr("role");this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},
_initWidgets:function(){var a=this,d=[];b.each(this.options.items,function(c,e){var g={};e&&("controlgroupLabel"===c?(e=a.element.find(e),e.each(function(){var a=b(this);a.children(".ui-controlgroup-label-contents").length||a.contents().wrapAll("\x3cspan class\x3d'ui-controlgroup-label-contents'\x3e\x3c/span\x3e")}),a._addClass(e,null,"ui-widget ui-widget-content ui-state-default"),d=d.concat(e.get())):b.fn[c]&&(g=a["_"+c+"Options"]?a["_"+c+"Options"]("middle"):{classes:{}},a.element.find(e).each(function(){var e=
b(this),f=e[c]("instance"),h=b.widget.extend({},g);"button"===c&&e.parent(".ui-spinner").length||(f||(f=e[c]()[c]("instance")),f&&(h.classes=a._resolveClassesValues(h.classes,f)),e[c](h),h=e[c]("widget"),b.data(h[0],"ui-controlgroup-data",f?f:e[c]("instance")),d.push(h[0]))})))});this.childWidgets=b(b.unique(d));this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(a){this.childWidgets.each(function(){var d=b(this).data("ui-controlgroup-data");if(d&&d[a])d[a]()})},_updateCornerClass:function(a,
b){b=this._buildSimpleOptions(b,"label").classes.label;this._removeClass(a,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all");this._addClass(a,null,b)},_buildSimpleOptions:function(a,b){var d="vertical"===this.options.direction,c={classes:{}};c.classes[b]={middle:"",first:"ui-corner-"+(d?"top":"left"),last:"ui-corner-"+(d?"bottom":"right"),only:"ui-corner-all"}[a];return c},_spinnerOptions:function(a){a=this._buildSimpleOptions(a,"ui-spinner");a.classes["ui-spinner-up"]=
"";a.classes["ui-spinner-down"]="";return a},_buttonOptions:function(a){return this._buildSimpleOptions(a,"ui-button")},_checkboxradioOptions:function(a){return this._buildSimpleOptions(a,"ui-checkboxradio-label")},_selectmenuOptions:function(a){var b="vertical"===this.options.direction;return{width:b?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(b?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+
(b?"top":"left")},last:{"ui-selectmenu-button-open":b?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(b?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[a]}},_resolveClassesValues:function(a,d){var c={};b.each(a,function(e){var g=d.options.classes[e]||"";g=b.trim(g.replace(m,""));c[e]=(g+" "+a[e]).replace(/\s+/g," ")});return c},_setOption:function(a,b){"direction"===a&&this._removeClass("ui-controlgroup-"+this.options.direction);
this._super(a,b);"disabled"===a?this._callChildMethod(b?"disable":"enable"):this.refresh()},refresh:function(){var a=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction);"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix");this._initWidgets();var d=this.childWidgets;this.options.onlyVisible&&(d=d.filter(":visible"));d.length&&(b.each(["first","last"],function(b,c){(b=d[c]().data("ui-controlgroup-data"))&&a["_"+b.widgetName+"Options"]?(c=a["_"+
b.widgetName+"Options"](1===d.length?"only":c),c.classes=a._resolveClassesValues(c.classes,b),b.element[b.widgetName](c)):a._updateCornerClass(d[c](),c)}),this._callChildMethod("refresh"))}});b.widget("ui.checkboxradio",[b.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var a=this,d=this._super()||{};this._readType();var c=this.element.labels();this.label=
b(c[c.length-1]);this.label.length||b.error("No label found for checkboxradio widget");this.originalLabel="";this.label.contents().not(this.element[0]).each(function(){a.originalLabel+=3===this.nodeType?b(this).text():this.outerHTML});this.originalLabel&&(d.label=this.originalLabel);c=this.element[0].disabled;null!=c&&(d.disabled=c);return d},_create:function(){var a=this.element[0].checked;this._bindFormResetHandler();null==this.options.disabled&&(this.options.disabled=this.element[0].disabled);
this._setOption("disabled",this.options.disabled);this._addClass("ui-checkboxradio","ui-helper-hidden-accessible");this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget");"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label");this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel);this._enhance();a&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&
this._addClass(this.icon,null,"ui-state-hover"));this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var a=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type;"input"===a&&/radio|checkbox/.test(this.type)||b.error("Can't create checkboxradio on element.nodeName\x3d"+a+" and element.type\x3d"+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},
widget:function(){return this.label},_getRadioGroup:function(){var a=this.element[0].name,d="input[name\x3d'"+b.ui.escapeSelector(a)+"']";return a?(this.form.length?b(this.form[0].elements).filter(d):b(d).filter(function(){return 0===b(this).form().length})).not(this.element):b([])},_toggleClasses:function(){var a=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",a);this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",
a)._toggleClass(this.icon,null,"ui-icon-blank",!a);"radio"===this.type&&this._getRadioGroup().each(function(){var a=b(this).checkboxradio("instance");a&&a._removeClass(a.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler();this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(a,b){if("label"!==a||b)this._super(a,b),"disabled"===a?(this._toggleClass(this.label,null,"ui-state-disabled",b),this.element[0].disabled=b):this.refresh()},
_updateIcon:function(a){var d="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=b("\x3cspan\x3e"),this.iconSpace=b("\x3cspan\x3e \x3c/span\x3e"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(d+=a?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,a?"ui-icon-blank":"ui-icon-check")):d+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",d),a||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),
this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var a=this.label.contents().not(this.element[0]);this.icon&&(a=a.not(this.icon[0]));this.iconSpace&&(a=a.not(this.iconSpace[0]));a.remove();this.label.append(this.options.label)},refresh:function(){var a=this.element[0].checked,b=this.element[0].disabled;this._updateIcon(a);this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",
a);null!==this.options.label&&this._updateLabel();b!==this.options.disabled&&this._setOptions({disabled:b})}}]);b.widget("ui.button",{version:"1.12.1",defaultElement:"\x3cbutton\x3e",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var a=this._super()||{};this.isInput=this.element.is("input");var b=this.element[0].disabled;null!=b&&(a.disabled=b);if(this.originalLabel=this.isInput?this.element.val():
this.element.html())a.label=this.originalLabel;return a},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0);null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1);this.hasTitle=!!this.element.attr("title");this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label));this._addClass("ui-button","ui-widget");this._setOption("disabled",this.options.disabled);
this._enhance();this.element.is("a")&&this._on({keyup:function(a){a.keyCode===b.ui.keyCode.SPACE&&(a.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button");this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title");this.options.showLabel||this.title||this.element.attr("title",this.options.label)},
_updateIcon:function(a,d){var c=(a="iconPosition"!==a)?this.options.iconPosition:d,e="top"===c||"bottom"===c;this.icon?a&&this._removeClass(this.icon,null,this.options.icon):(this.icon=b("\x3cspan\x3e"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only"));a&&this._addClass(this.icon,null,d);this._attachIcon(c);e?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=
b("\x3cspan\x3e \x3c/span\x3e"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(c))},_destroy:function(){this.element.removeAttr("role");this.icon&&this.icon.remove();this.iconSpace&&this.iconSpace.remove();this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(a){this.icon[/^(?:end|bottom)/.test(a)?"before":"after"](this.iconSpace)},_attachIcon:function(a){this.element[/^(?:end|bottom)/.test(a)?
"append":"prepend"](this.icon)},_setOptions:function(a){var b=void 0===a.icon?this.options.icon:a.icon;(void 0===a.showLabel?this.options.showLabel:a.showLabel)||b||(a.showLabel=!0);this._super(a)},_setOption:function(a,b){"icon"===a&&(b?this._updateIcon(a,b):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove()));"iconPosition"===a&&this._updateIcon(a,b);"showLabel"===a&&(this._toggleClass("ui-button-icon-only",null,!b),this._updateTooltip());"label"===a&&(this.isInput?this.element.val(b):
(this.element.html(b),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition))));this._super(a,b);"disabled"===a&&(this._toggleClass(null,"ui-state-disabled",b),(this.element[0].disabled=b)&&this.element.blur())},refresh:function(){var a=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");a!==this.options.disabled&&this._setOptions({disabled:a});this._updateTooltip()}});!1!==b.uiBackCompat&&(b.widget("ui.button",
b.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text);!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel);this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,
this.options.iconPosition="end");this._super()},_setOption:function(a,b){"text"===a?this._super("showLabel",b):("showLabel"===a&&(this.options.text=b),"icon"===a&&(this.options.icons.primary=b),"icons"===a&&(b.primary?(this._super("icon",b.primary),this._super("iconPosition","beginning")):b.secondary&&(this._super("icon",b.secondary),this._super("iconPosition","end"))),this._superApply(arguments))}}),b.fn.button=function(a){return function(){if(!this.length||this.length&&"INPUT"!==this[0].tagName||
this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type"))return a.apply(this,arguments);b.ui.checkboxradio||b.error("Checkboxradio widget missing");return 0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments)}}(b.fn.button),b.fn.buttonset=function(){b.ui.controlgroup||b.error("Controlgroup widget missing");if("option"===arguments[0]&&"items"===arguments[1]&&arguments[2])return this.controlgroup.apply(this,[arguments[0],
"items.button",arguments[2]]);if("option"===arguments[0]&&"items"===arguments[1])return this.controlgroup.apply(this,[arguments[0],"items.button"]);"object"===typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items});return this.controlgroup.apply(this,arguments)});b.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,
hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(a){var d=b(this).css(a).offset().top;0>d&&b(this).css("top",a.top-d)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,
width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height};this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)};this.originalTitle=this.element.attr("title");null==this.options.title&&null!=
this.originalTitle&&(this.options.title=this.originalTitle);this.options.disabled&&(this.options.disabled=!1);this._createWrapper();this.element.show().removeAttr("title").appendTo(this.uiDialog);this._addClass("ui-dialog-content","ui-widget-content");this._createTitlebar();this._createButtonPane();this.options.draggable&&b.fn.draggable&&this._makeDraggable();this.options.resizable&&b.fn.resizable&&this._makeResizable();this._isOpen=!1;this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},
_appendTo:function(){var a=this.options.appendTo;return a&&(a.jquery||a.nodeType)?b(a):this.document.find(a||"body").eq(0)},_destroy:function(){var a=this.originalPosition;this._untrackInstance();this._destroyOverlay();this.element.removeUniqueId().css(this.originalCss).detach();this.uiDialog.remove();this.originalTitle&&this.element.attr("title",this.originalTitle);var b=a.parent.children().eq(a.index);b.length&&b[0]!==this.element[0]?b.before(this.element):a.parent.append(this.element)},widget:function(){return this.uiDialog},
disable:b.noop,enable:b.noop,close:function(a){var d=this;this._isOpen&&!1!==this._trigger("beforeClose",a)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||b.ui.safeBlur(b.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){d._trigger("close",a)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(a,d){var c=
!1,e=this.uiDialog.siblings(".ui-front:visible").map(function(){return+b(this).css("z-index")}).get();e=Math.max.apply(null,e);e>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",e+1),c=!0);c&&!d&&this._trigger("focus",a);return c},open:function(){var a=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=b(b.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",
this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){a._focusTabbable();a._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var a=this._focusedElement;a||(a=this.element.find("[autofocus]"));a.length||(a=this.element.find(":tabbable"));a.length||(a=this.uiDialogButtonPane.find(":tabbable"));a.length||(a=this.uiDialogTitlebarClose.filter(":tabbable"));a.length||(a=this.uiDialog);a.eq(0).trigger("focus")},_keepFocus:function(a){function d(){var a=
b.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===a||b.contains(this.uiDialog[0],a)||this._focusTabbable()}a.preventDefault();d.call(this);this._delay(d)},_createWrapper:function(){this.uiDialog=b("\x3cdiv\x3e").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo());this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front");this._on(this.uiDialog,{keydown:function(a){if(this.options.closeOnEscape&&!a.isDefaultPrevented()&&a.keyCode&&a.keyCode===b.ui.keyCode.ESCAPE)a.preventDefault(),
this.close(a);else if(a.keyCode===b.ui.keyCode.TAB&&!a.isDefaultPrevented()){var d=this.uiDialog.find(":tabbable"),c=d.filter(":first"),e=d.filter(":last");a.target!==e[0]&&a.target!==this.uiDialog[0]||a.shiftKey?a.target!==c[0]&&a.target!==this.uiDialog[0]||!a.shiftKey||(this._delay(function(){e.trigger("focus")}),a.preventDefault()):(this._delay(function(){c.trigger("focus")}),a.preventDefault())}},mousedown:function(a){this._moveToTop(a)&&this._focusTabbable()}});this.element.find("[aria-describedby]").length||
this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){this.uiDialogTitlebar=b("\x3cdiv\x3e");this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix");this._on(this.uiDialogTitlebar,{mousedown:function(a){b(a.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}});this.uiDialogTitlebarClose=b("\x3cbutton type\x3d'button'\x3e\x3c/button\x3e").button({label:b("\x3ca\x3e").text(this.options.closeText).html(),
icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar);this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close");this._on(this.uiDialogTitlebarClose,{click:function(a){a.preventDefault();this.close(a)}});var a=b("\x3cspan\x3e").uniqueId().prependTo(this.uiDialogTitlebar);this._addClass(a,"ui-dialog-title");this._title(a);this.uiDialogTitlebar.prependTo(this.uiDialog);this.uiDialog.attr({"aria-labelledby":a.attr("id")})},_title:function(a){this.options.title?a.text(this.options.title):
a.html("\x26#160;")},_createButtonPane:function(){this.uiDialogButtonPane=b("\x3cdiv\x3e");this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix");this.uiButtonSet=b("\x3cdiv\x3e").appendTo(this.uiDialogButtonPane);this._addClass(this.uiButtonSet,"ui-dialog-buttonset");this._createButtons()},_createButtons:function(){var a=this,d=this.options.buttons;this.uiDialogButtonPane.remove();this.uiButtonSet.empty();b.isEmptyObject(d)||b.isArray(d)&&!d.length?
this._removeClass(this.uiDialog,"ui-dialog-buttons"):(b.each(d,function(d,c){c=b.isFunction(c)?{click:c,text:d}:c;c=b.extend({type:"button"},c);var e=c.click;d={icon:c.icon,iconPosition:c.iconPosition,showLabel:c.showLabel,icons:c.icons,text:c.text};delete c.click;delete c.icon;delete c.iconPosition;delete c.showLabel;delete c.icons;"boolean"===typeof c.text&&delete c.text;b("\x3cbutton\x3e\x3c/button\x3e",c).button(d).appendTo(a.uiButtonSet).on("click",function(){e.apply(a.element[0],arguments)})}),
this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function a(a){return{position:a.position,offset:a.offset}}var d=this,c=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(c,e){d._addClass(b(this),"ui-dialog-dragging");d._blockFrames();d._trigger("dragStart",c,a(e))},drag:function(b,c){d._trigger("drag",b,a(c))},stop:function(e,
g){var f=g.offset.left-d.document.scrollLeft(),h=g.offset.top-d.document.scrollTop();c.position={my:"left top",at:"left"+(0<=f?"+":"")+f+" top"+(0<=h?"+":"")+h,of:d.window};d._removeClass(b(this),"ui-dialog-dragging");d._unblockFrames();d._trigger("dragStop",e,a(g))}})},_makeResizable:function(){function a(a){return{originalPosition:a.originalPosition,originalSize:a.originalSize,position:a.position,size:a.size}}var d=this,c=this.options,e=c.resizable,g=this.uiDialog.css("position");e="string"===typeof e?
e:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:c.maxWidth,maxHeight:c.maxHeight,minWidth:c.minWidth,minHeight:this._minHeight(),handles:e,start:function(c,e){d._addClass(b(this),"ui-dialog-resizing");d._blockFrames();d._trigger("resizeStart",c,a(e))},resize:function(b,c){d._trigger("resize",b,a(c))},stop:function(e,g){var f=d.uiDialog.offset(),h=f.left-d.document.scrollLeft();f=f.top-d.document.scrollTop();c.height=
d.uiDialog.height();c.width=d.uiDialog.width();c.position={my:"left top",at:"left"+(0<=h?"+":"")+h+" top"+(0<=f?"+":"")+f,of:d.window};d._removeClass(b(this),"ui-dialog-resizing");d._unblockFrames();d._trigger("resizeStop",e,a(g))}}).css("position",g)},_trackFocus:function(){this._on(this.widget(),{focusin:function(a){this._makeFocusTarget();this._focusedElement=b(a.target)}})},_makeFocusTarget:function(){this._untrackInstance();this._trackingInstances().unshift(this)},_untrackInstance:function(){var a=
this._trackingInstances(),d=b.inArray(this,a);-1!==d&&a.splice(d,1)},_trackingInstances:function(){var a=this.document.data("ui-dialog-instances");a||(a=[],this.document.data("ui-dialog-instances",a));return a},_minHeight:function(){var a=this.options;return"auto"===a.height?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(){var a=this.uiDialog.is(":visible");a||this.uiDialog.show();this.uiDialog.position(this.options.position);a||this.uiDialog.hide()},_setOptions:function(a){var d=
this,c=!1,e={};b.each(a,function(a,b){d._setOption(a,b);a in d.sizeRelatedOptions&&(c=!0);a in d.resizableRelatedOptions&&(e[a]=b)});c&&(this._size(),this._position());this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",e)},_setOption:function(a,d){var c,e=this.uiDialog;"disabled"!==a&&(this._super(a,d),"appendTo"===a&&this.uiDialog.appendTo(this._appendTo()),"buttons"===a&&this._createButtons(),"closeText"===a&&this.uiDialogTitlebarClose.button({label:b("\x3ca\x3e").text(""+
this.options.closeText).html()}),"draggable"===a&&((c=e.is(":data(ui-draggable)"))&&!d&&e.draggable("destroy"),!c&&d&&this._makeDraggable()),"position"===a&&this._position(),"resizable"===a&&((c=e.is(":data(ui-resizable)"))&&!d&&e.resizable("destroy"),c&&"string"===typeof d&&e.resizable("option","handles",d),c||!1===d||this._makeResizable()),"title"===a&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var a=this.options;this.element.show().css({width:"auto",minHeight:0,
maxHeight:"none",height:0});a.minWidth>a.width&&(a.width=a.minWidth);var b=this.uiDialog.css({height:"auto",width:a.width}).outerHeight();var c=Math.max(0,a.minHeight-b);var e="number"===typeof a.maxHeight?Math.max(0,a.maxHeight-b):"none";"auto"===a.height?this.element.css({minHeight:c,maxHeight:e,height:"auto"}):this.element.height(Math.max(0,a.height-b));this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=
this.document.find("iframe").map(function(){var a=b(this);return b("\x3cdiv\x3e").css({position:"absolute",width:a.outerWidth(),height:a.outerHeight()}).appendTo(a.parent()).offset(a.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(a){return b(a.target).closest(".ui-dialog").length?!0:!!b(a.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var a=!0;this._delay(function(){a=
!1});this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(b){a||this._allowInteraction(b)||(b.preventDefault(),this._trackingInstances()[0]._focusTabbable())}});this.overlay=b("\x3cdiv\x3e").appendTo(this._appendTo());this._addClass(this.overlay,null,"ui-widget-overlay ui-front");this._on(this.overlay,{mousedown:"_keepFocus"});this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var a=
this.document.data("ui-dialog-overlays")-1;a?this.document.data("ui-dialog-overlays",a):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays"));this.overlay.remove();this.overlay=null}}});!1!==b.uiBackCompat&&b.widget("ui.dialog",b.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super();this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(a,b){"dialogClass"===a&&this.uiDialog.removeClass(this.options.dialogClass).addClass(b);this._superApply(arguments)}});
b.widget("ui.slider",b.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._mouseSliding=this._keySliding=!1;this._animateOff=!0;this._handleIndex=null;this._detectOrientation();this._mouseInit();
this._calculateNewMax();this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content");this._refresh();this._animateOff=!1},_refresh:function(){this._createRange();this._createHandles();this._setupEvents();this._refreshValue()},_createHandles:function(){var a=this.options;var d=this.element.find(".ui-slider-handle"),c=[];var e=a.values&&a.values.length||1;d.length>e&&(d.slice(e).remove(),d=d.slice(0,e));for(a=d.length;a<e;a++)c.push("\x3cspan tabindex\x3d'0'\x3e\x3c/span\x3e");
this.handles=d.add(b(c.join("")).appendTo(this.element));this._addClass(this.handles,"ui-slider-handle","ui-state-default");this.handle=this.handles.eq(0);this.handles.each(function(a){b(this).data("ui-slider-handle-index",a).attr("tabIndex",0)})},_createRange:function(){var a=this.options;a.range?(!0===a.range&&(a.values?a.values.length&&2!==a.values.length?a.values=[a.values[0],a.values[0]]:b.isArray(a.values)&&(a.values=a.values.slice(0)):a.values=[this._valueMin(),this._valueMin()]),this.range&&
this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=b("\x3cdiv\x3e").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==a.range&&"max"!==a.range||this._addClass(this.range,"ui-slider-range-"+a.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles);this._on(this.handles,this._handleEvents);this._hoverable(this.handles);this._focusable(this.handles)},
_destroy:function(){this.handles.remove();this.range&&this.range.remove();this._mouseDestroy()},_mouseCapture:function(a){var d,c,e=this,g=this.options;if(g.disabled)return!1;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();var f=this._normValueFromMouse({x:a.pageX,y:a.pageY});var m=this._valueMax()-this._valueMin()+1;this.handles.each(function(a){var h=Math.abs(f-e.values(a));if(m>h||m===h&&(a===e._lastChangedValue||e.values(a)===
g.min))m=h,d=b(this),c=a});if(!1===this._start(a,c))return!1;this._mouseSliding=!0;this._handleIndex=c;this._addClass(d,null,"ui-state-active");d.trigger("focus");var w=d.offset();this._clickOffset=b(a.target).parents().addBack().is(".ui-slider-handle")?{left:a.pageX-w.left-d.width()/2,top:a.pageY-w.top-d.height()/2-(parseInt(d.css("borderTopWidth"),10)||0)-(parseInt(d.css("borderBottomWidth"),10)||0)+(parseInt(d.css("marginTop"),10)||0)}:{left:0,top:0};this.handles.hasClass("ui-state-hover")||this._slide(a,
c,f);return this._animateOff=!0},_mouseStart:function(){return!0},_mouseDrag:function(a){var b=this._normValueFromMouse({x:a.pageX,y:a.pageY});this._slide(a,this._handleIndex,b);return!1},_mouseStop:function(a){this._removeClass(this.handles,null,"ui-state-active");this._mouseSliding=!1;this._stop(a,this._handleIndex);this._change(a,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?
"vertical":"horizontal"},_normValueFromMouse:function(a){if("horizontal"===this.orientation){var b=this.elementSize.width;a=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else b=this.elementSize.height,a=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0);b=a/b;1<b&&(b=1);0>b&&(b=0);"vertical"===this.orientation&&(b=1-b);a=this._valueMax()-this._valueMin();b=this._valueMin()+b*a;return this._trimAlignValue(b)},_uiHash:function(a,b,c){var d={handle:this.handles[a],
handleIndex:a,value:void 0!==b?b:this.value()};this._hasMultipleValues()&&(d.value=void 0!==b?b:this.values(a),d.values=c||this.values());return d},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(a,b){return this._trigger("start",a,this._uiHash(b))},_slide:function(a,b,c){var d=this.value(),e=this.values();if(this._hasMultipleValues()){var g=this.values(b?0:1);d=this.values(b);2===this.options.values.length&&!0===this.options.range&&(c=0===b?Math.min(g,
c):Math.max(g,c));e[b]=c}c!==d&&!1!==this._trigger("slide",a,this._uiHash(b,c,e))&&(this._hasMultipleValues()?this.values(b,c):this.value(c))},_stop:function(a,b){this._trigger("stop",a,this._uiHash(b))},_change:function(a,b){this._keySliding||this._mouseSliding||(this._lastChangedValue=b,this._trigger("change",a,this._uiHash(b)))},value:function(a){if(arguments.length)this.options.value=this._trimAlignValue(a),this._refreshValue(),this._change(null,0);else return this._value()},values:function(a,
d){var c;if(1<arguments.length)this.options.values[a]=this._trimAlignValue(d),this._refreshValue(),this._change(null,a);else if(arguments.length)if(b.isArray(arguments[0])){var e=this.options.values;var g=arguments[0];for(c=0;c<e.length;c+=1)e[c]=this._trimAlignValue(g[c]),this._change(null,c);this._refreshValue()}else return this._hasMultipleValues()?this._values(a):this.value();else return this._values()},_setOption:function(a,d){var c=0;"range"===a&&!0===this.options.range&&("min"===d?(this.options.value=
this._values(0),this.options.values=null):"max"===d&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null));b.isArray(this.options.values)&&(c=this.options.values.length);this._super(a,d);switch(a){case "orientation":this._detectOrientation();this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation);this._refreshValue();this.options.range&&this._refreshRange(d);this.handles.css("horizontal"===d?"bottom":"left","");break;
case "value":this._animateOff=!0;this._refreshValue();this._change(null,0);this._animateOff=!1;break;case "values":this._animateOff=!0;this._refreshValue();for(a=c-1;0<=a;a--)this._change(null,a);this._animateOff=!1;break;case "step":case "min":case "max":this._animateOff=!0;this._calculateNewMax();this._refreshValue();this._animateOff=!1;break;case "range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(a){this._super(a);this._toggleClass(null,"ui-state-disabled",
!!a)},_value:function(){var a=this.options.value;return a=this._trimAlignValue(a)},_values:function(a){var b;if(arguments.length){var c=this.options.values[a];return c=this._trimAlignValue(c)}if(this._hasMultipleValues()){c=this.options.values.slice();for(b=0;b<c.length;b+=1)c[b]=this._trimAlignValue(c[b]);return c}return[]},_trimAlignValue:function(a){if(a<=this._valueMin())return this._valueMin();if(a>=this._valueMax())return this._valueMax();var b=0<this.options.step?this.options.step:1,c=(a-this._valueMin())%
b;a-=c;2*Math.abs(c)>=b&&(a+=0<c?b:-b);return parseFloat(a.toFixed(5))},_calculateNewMax:function(){var a=this.options.max,b=this._valueMin(),c=this.options.step;a=Math.round((a-b)/c)*c+b;a>this.options.max&&(a-=c);this.max=parseFloat(a.toFixed(this._precision()))},_precision:function(){var a=this._precisionOf(this.options.step);null!==this.options.min&&(a=Math.max(a,this._precisionOf(this.options.min)));return a},_precisionOf:function(a){a=a.toString();var b=a.indexOf(".");return-1===b?0:a.length-
b-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(a){"vertical"===a&&this.range.css({width:"",left:""});"horizontal"===a&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var a,c=this.options.range,e=this.options,g=this,f=this._animateOff?!1:e.animate,m={};if(this._hasMultipleValues())this.handles.each(function(c){t=(g.values(c)-g._valueMin())/(g._valueMax()-g._valueMin())*100;m["horizontal"===g.orientation?"left":"bottom"]=
t+"%";b(this).stop(1,1)[f?"animate":"css"](m,e.animate);if(!0===g.options.range)if("horizontal"===g.orientation){if(0===c)g.range.stop(1,1)[f?"animate":"css"]({left:t+"%"},e.animate);if(1===c)g.range[f?"animate":"css"]({width:t-a+"%"},{queue:!1,duration:e.animate})}else{if(0===c)g.range.stop(1,1)[f?"animate":"css"]({bottom:t+"%"},e.animate);if(1===c)g.range[f?"animate":"css"]({height:t-a+"%"},{queue:!1,duration:e.animate})}a=t});else{var r=this.value();var w=this._valueMin();var q=this._valueMax();
var t=q!==w?(r-w)/(q-w)*100:0;m["horizontal"===this.orientation?"left":"bottom"]=t+"%";this.handle.stop(1,1)[f?"animate":"css"](m,e.animate);if("min"===c&&"horizontal"===this.orientation)this.range.stop(1,1)[f?"animate":"css"]({width:t+"%"},e.animate);if("max"===c&&"horizontal"===this.orientation)this.range.stop(1,1)[f?"animate":"css"]({width:100-t+"%"},e.animate);if("min"===c&&"vertical"===this.orientation)this.range.stop(1,1)[f?"animate":"css"]({height:t+"%"},e.animate);if("max"===c&&"vertical"===
this.orientation)this.range.stop(1,1)[f?"animate":"css"]({height:100-t+"%"},e.animate)}},_handleEvents:{keydown:function(a){var c,e=b(a.target).data("ui-slider-handle-index");switch(a.keyCode){case b.ui.keyCode.HOME:case b.ui.keyCode.END:case b.ui.keyCode.PAGE_UP:case b.ui.keyCode.PAGE_DOWN:case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(a.preventDefault(),!this._keySliding){this._keySliding=!0;this._addClass(b(a.target),null,"ui-state-active");var g=
this._start(a,e);if(!1===g)return}}var f=this.options.step;g=this._hasMultipleValues()?c=this.values(e):c=this.value();switch(a.keyCode){case b.ui.keyCode.HOME:c=this._valueMin();break;case b.ui.keyCode.END:c=this._valueMax();break;case b.ui.keyCode.PAGE_UP:c=this._trimAlignValue(g+(this._valueMax()-this._valueMin())/this.numPages);break;case b.ui.keyCode.PAGE_DOWN:c=this._trimAlignValue(g-(this._valueMax()-this._valueMin())/this.numPages);break;case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:if(g===
this._valueMax())return;c=this._trimAlignValue(g+f);break;case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(g===this._valueMin())return;c=this._trimAlignValue(g-f)}this._slide(a,e,c)},keyup:function(a){var c=b(a.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(a,c),this._change(a,c),this._removeClass(b(a.target),null,"ui-state-active"))}}})});
!function(b){function c(a,b){if(!(1<a.originalEvent.touches.length)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null);a.target.dispatchEvent(d)}}if(b.support.touch="ontouchend"in document,b.support.touch){var f,e=b.ui.mouse.prototype,g=e._mouseInit,m=e._mouseDestroy;e._touchStart=function(a){!f&&this._mouseCapture(a.originalEvent.changedTouches[0])&&(f=!0,this._touchMoved=
!1,c(a,"mouseover"),c(a,"mousemove"),c(a,"mousedown"))};e._touchMove=function(a){f&&(this._touchMoved=!0,c(a,"mousemove"))};e._touchEnd=function(a){f&&(c(a,"mouseup"),c(a,"mouseout"),this._touchMoved||c(a,"click"),f=!1)};e._mouseInit=function(){this.element.bind({touchstart:b.proxy(this,"_touchStart"),touchmove:b.proxy(this,"_touchMove"),touchend:b.proxy(this,"_touchEnd")});g.call(this)};e._mouseDestroy=function(){this.element.unbind({touchstart:b.proxy(this,"_touchStart"),touchmove:b.proxy(this,
"_touchMove"),touchend:b.proxy(this,"_touchEnd")});m.call(this)}}}(jQuery);
(function(b){"function"===typeof define&&define.amd?define(["jquery"],b):"object"===typeof exports&&"function"===typeof require?b(require("jquery")):b(jQuery)})(function(b){function c(e,g){var f=function(){};f={ajaxSettings:{},autoSelectFirst:!1,appendTo:document.body,serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:c.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onInit:f,onSearchStart:f,onSearchComplete:f,onSearchError:f,
preserveInput:!1,containerClass:"autocomplete-suggestions",suggestionsWrapperClass:".autocomplete-suggestions-wrapper",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(a,b,c){return-1!==a.value.toLowerCase().indexOf(c)},paramName:"query",transformResult:function(a){return"string"===typeof a?b.parseJSON(a):a},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1};var a=0;this.element=
e;this.el=b(e);this.suggestions=[];this.additionalSuggestions={setFlag:function(b){a|=b},clearFlag:function(b){a&=~b},isEmpty:function(){return 0==a}};this.badQueries=[];this.selectedIndex=-1;this.currentValue=this.element.value;this.intervalId=0;this.cachedResponse={};this.onChange=this.onChangeInterval=null;this.isLocal=!1;this.noSuggestionsContainer=this.suggestionsContainer=null;this.options=b.extend({},f,g);this.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"};
this.hint=null;this.hintValue="";this.selection=null;this.initialize();this.setOptions(g)}var f=function(){return{escapeRegExChars:function(b){return b.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$\x26")},createNode:function(b){var c=document.createElement("div");c.className=b;c.style.display="none";return c}}}();c.utils=f;b.Autocomplete=c;c.formatResult=function(b,c){b=b.value.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;").replace(/"/g,"\x26quot;");c="("+f.escapeRegExChars(c)+
")";return b.replace(new RegExp(c,"gi"),"\x3cstrong\x3e$1\x3c/strong\x3e")};c.prototype={killerFn:null,initialize:function(){var e=this,g="."+e.classes.suggestion,f=e.classes.selected,a=e.options;e.element.setAttribute("autocomplete","off");e.killerFn=function(a){0===b(a.target).closest("."+e.options.containerClass).length&&(e.killSuggestions(),e.disableKillerFn())};e.noSuggestionsContainer=b('\x3cdiv class\x3d"autocomplete-no-suggestion"\x3e\x3c/div\x3e').html(this.options.noSuggestionNotice).get(0);
e.suggestionsContainer=c.utils.createNode(a.containerClass);var d=b(e.suggestionsContainer);var h=b(a.suggestionsWrapperClass);d.appendTo(h);"auto"!==a.width&&d.width(a.width);d.on("mouseover.autocomplete",g,function(){e.activate(b(this).data("index"))});d.on("mouseout.autocomplete",function(){e.selectedIndex=-1;d.children("."+f).removeClass(f)});d.on("click.autocomplete",g,function(){e.select(b(this).data("index"))});e.fixPositionCapture=function(){e.visible&&e.fixPosition()};b(window).on("resize.autocomplete",
e.fixPositionCapture);e.el.on("keydown.autocomplete",function(a){e.onKeyPress(a)});e.el.on("keyup.autocomplete",function(a){e.onKeyUp(a)});e.el.on("blur.autocomplete",function(){e.onBlur()});e.el.on("focus.autocomplete",function(){e.onFocus()});e.el.on("change.autocomplete",function(a){e.onKeyUp(a)});e.el.on("input.autocomplete",function(a){e.onKeyUp(a)});e.options.onInit(e.additionalSuggestions)},onFocus:function(){this.fixPosition();if(this.options.minChars<=this.el.val().length)this.onValueChange()},
onBlur:function(){this.enableKillerFn()},setOptions:function(c){var e=this.options;b.extend(e,c);if(this.isLocal=b.isArray(e.lookup))e.lookup=this.verifySuggestionsFormat(e.lookup);e.orientation=this.validateOrientation(e.orientation,"bottom")},clearCache:function(){this.cachedResponse={};this.badQueries=[]},clear:function(){this.clearCache();this.currentValue="";this.suggestions=[]},disable:function(){this.disabled=!0;clearInterval(this.onChangeInterval);this.currentRequest&&this.currentRequest.abort()},
enable:function(){this.disabled=!1},fixPosition:function(){},enableKillerFn:function(){b(document).on("click.autocomplete",this.killerFn)},disableKillerFn:function(){b(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(){var b=this;b.stopKillSuggestions();b.intervalId=window.setInterval(function(){b.hide();b.stopKillSuggestions()},50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var b=this.el.val().length,c=this.element.selectionStart;
return"number"===typeof c?c===b:document.selection?(c=document.selection.createRange(),c.moveStart("character",-b),b===c.text.length):!0},onKeyPress:function(b){if(!this.disabled&&!this.visible&&40===b.which&&this.currentValue)this.suggest();else if(!this.disabled&&this.visible){switch(b.which){case 27:this.el.val(this.currentValue);this.hide();break;case 39:if(this.hint&&this.options.onHint&&this.isCursorAtEnd()){this.selectHint();break}return;case 9:if(this.hint&&this.options.onHint){this.selectHint();
return}if(-1===this.selectedIndex){this.hide();return}this.select(this.selectedIndex);if(!1===this.options.tabDisabled)return;break;case 13:if(-1===this.selectedIndex){this.hide();return}this.select(this.selectedIndex);break;case 38:this.moveUp();break;case 40:this.moveDown();break;default:return}b.stopImmediatePropagation();b.preventDefault()}},onKeyUp:function(b){var c=this;if(!c.disabled){switch(b.which){case 38:case 40:return}clearInterval(c.onChangeInterval);if(c.currentValue!==c.el.val())if(c.findBestHint(),
0<c.options.deferRequestBy)c.onChangeInterval=setInterval(function(){c.onValueChange()},c.options.deferRequestBy);else c.onValueChange()}},onValueChange:function(){var c=this.options,g=this.el.val(),f=this.getQuery(g);this.selection&&this.currentValue!==f&&(this.selection=null,(c.onInvalidateSelection||b.noop).call(this.element));clearInterval(this.onChangeInterval);this.currentValue=g;this.selectedIndex=-1;if(c.triggerSelectOnValidInput&&(g=this.findSuggestionIndex(f),-1!==g)){this.select(g);return}f.length<
c.minChars?this.hide():this.getSuggestions(f)},findSuggestionIndex:function(c){var e=-1,f=c.toLowerCase();b.each(this.suggestions,function(a,b){if(b.value.toLowerCase()===f)return e=a,!1});return e},getQuery:function(c){var e=this.options.delimiter;if(!e)return c;c=c.split(e);return b.trim(c[c.length-1])},getSuggestionsLocal:function(c){var e=this.options,f=c.toLowerCase(),a=e.lookupFilter,d=parseInt(e.lookupLimit,10);e={suggestions:b.grep(e.lookup,function(b){return a(b,c,f)})};d&&e.suggestions.length>
d&&(e.suggestions=e.suggestions.slice(0,d));return e},getSuggestions:function(c){var e=this,f=e.options,a=f.serviceUrl;f.params[f.paramName]=c;var d=f.ignoreParams?null:f.params;if(!1!==f.onSearchStart.call(e.element,f.params))if(b.isFunction(f.lookup))f.lookup(c,function(a){e.suggestions=a.suggestions;e.suggest();f.onSearchComplete.call(e.element,c,a.suggestions)});else{if(e.isLocal)var h=e.getSuggestionsLocal(c);else{b.isFunction(a)&&(a=a.call(e.element,c));var n=a+"?"+b.param(d||{});h=e.cachedResponse[n]}h&&
b.isArray(h.suggestions)?(e.suggestions=h.suggestions,e.suggest(),f.onSearchComplete.call(e.element,c,h.suggestions)):e.isBadQuery(c)?f.onSearchComplete.call(e.element,c,[]):(e.currentRequest&&e.currentRequest.abort(),h={url:a,data:d,type:f.type,dataType:f.dataType},b.extend(h,f.ajaxSettings),e.currentRequest=b.ajax(h).done(function(a){e.currentRequest=null;a=f.transformResult(a);e.processResponse(a,c,n);f.onSearchComplete.call(e.element,c,a.suggestions)}).fail(function(a,b,d){f.onSearchError.call(e.element,
c,a,b,d)}))}},isBadQuery:function(b){if(!this.options.preventBadQueries)return!1;for(var c=this.badQueries,e=c.length;e--;)if(0===b.indexOf(c[e]))return!0;return!1},hide:function(){var c=b(this.suggestionsContainer);b.isFunction(this.options.onHide)&&this.visible&&this.options.onHide.call(this.element,c);this.visible=!1;this.selectedIndex=-1;clearInterval(this.onChangeInterval);b(this.suggestionsContainer).hide();this.signalHint(null)},suggest:function(){if(0===this.suggestions.length&&this.additionalSuggestions.isEmpty())this.options.showNoSuggestionNotice?
this.noSuggestions():this.hide();else{var c=this.options,f=c.groupBy,m=c.formatResult,a=this.getQuery(this.currentValue),d=this.classes.suggestion,h=this.classes.selected,n=b(this.suggestionsContainer),p=b(this.noSuggestionsContainer),u=c.beforeRender,r="",w;if(c.triggerSelectOnValidInput){var q=this.findSuggestionIndex(a);if(-1!==q){this.select(q);return}}b.each(this.suggestions,function(b,c){if(f){var e=r;var g=c.data[f];w===g?g="":(w=g,g='\x3cdiv class\x3d"autocomplete-group"\x3e\x3cstrong\x3e'+
w+"\x3c/strong\x3e\x3c/div\x3e");r=e+g}r+='\x3cdiv class\x3d"'+d+'" data-index\x3d"'+b+'"\x3e'+m(c,a)+"\x3c/div\x3e"});this.adjustContainerWidth();p.detach();n.html(r);b.isFunction(u)&&u.call(this.element,n);this.fixPosition();0===this.suggestions.length?(n.hide(),n.closest(c.suggestionsWrapperClass).addClass("invisible")):(n.show(),n.closest(c.suggestionsWrapperClass).removeClass("invisible").show());c.autoSelectFirst&&(this.selectedIndex=0,n.scrollTop(0),n.children("."+d).first().addClass(h));this.visible=
!0;this.findBestHint()}},noSuggestions:function(){var c=b(this.suggestionsContainer),f=b(this.noSuggestionsContainer);this.adjustContainerWidth();f.detach();c.empty();c.append(f);this.fixPosition();c.show();this.visible=!0;c.closest(this.options.suggestionsWrapperClass).removeClass("invisible").show()},adjustContainerWidth:function(){},findBestHint:function(){var c=this.el.val().toLowerCase(),f=null;c&&(b.each(this.suggestions,function(b,a){(b=0===a.value.toLowerCase().indexOf(c))&&(f=a);return!b}),
this.signalHint(f))},signalHint:function(c){var e="";c&&(e=this.currentValue+c.value.substr(this.currentValue.length));this.hintValue!==e&&(this.hintValue=e,this.hint=c,(this.options.onHint||b.noop)(e))},verifySuggestionsFormat:function(c){return c.length&&"string"===typeof c[0]?b.map(c,function(b){return{value:b,data:null}}):c},validateOrientation:function(c,f){c=b.trim(c||"").toLowerCase();-1===b.inArray(c,["auto","bottom","top"])&&(c=f);return c},processResponse:function(b,c,f){var a=this.options;
b.suggestions=this.verifySuggestionsFormat(b.suggestions);a.noCache||(this.cachedResponse[f]=b,a.preventBadQueries&&0===b.suggestions.length&&this.badQueries.push(c));c===this.getQuery(this.currentValue)&&(this.suggestions=b.suggestions,this.suggest())},activate:function(c){var e=this.classes.selected,f=b(this.suggestionsContainer),a=f.find("."+this.classes.suggestion);f.find("."+e).removeClass(e);this.selectedIndex=c;return-1!==this.selectedIndex&&a.length>this.selectedIndex?(c=a.get(this.selectedIndex),
b(c).addClass(e),c):null},selectHint:function(){var c=b.inArray(this.hint,this.suggestions);this.select(c)},select:function(b){this.hide();this.onSelect(b)},moveUp:function(){-1!==this.selectedIndex&&(0===this.selectedIndex?(b(this.suggestionsContainer).children().first().removeClass(this.classes.selected),this.selectedIndex=-1,this.el.val(this.currentValue),this.findBestHint()):this.adjustScroll(this.selectedIndex-1))},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+
1)},adjustScroll:function(c){var e=this.activate(c);if(e){var f=b(e).outerHeight();e=e.offsetTop;var a=b(this.suggestionsContainer).scrollTop();var d=a+this.options.maxHeight-f;e<a?b(this.suggestionsContainer).scrollTop(e):e>d&&b(this.suggestionsContainer).scrollTop(e-this.options.maxHeight+f);this.options.preserveInput||this.el.val(this.getValue(this.suggestions[c].value));this.signalHint(null)}},onSelect:function(c){var e=this.options.onSelect;c=this.suggestions[c];this.currentValue=this.getValue(c.value);
this.currentValue===this.el.val()||this.options.preserveInput||this.el.val(this.currentValue);this.signalHint(null);this.suggestions=[];this.selection=c;b.isFunction(e)&&e.call(this.element,c)},getValue:function(b){var c=this.options.delimiter;if(!c)return b;var e=this.currentValue;c=e.split(c);return 1===c.length?b:e.substr(0,e.length-c[c.length-1].length)+b},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete");this.disableKillerFn();b(window).off("resize.autocomplete",this.fixPositionCapture);
b(this.suggestionsContainer).remove()}};b.fn.autocomplete=b.fn.devbridgeAutocomplete=function(e,f){return 0===arguments.length?this.first().data("autocomplete"):this.each(function(){var g=b(this),a=g.data("autocomplete");if("string"===typeof e){if(a&&"function"===typeof a[e])a[e](f)}else a&&a.dispose&&a.dispose(),a=new c(this,e),g.data("autocomplete",a)})}});jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(b,c,f,e,g){return jQuery.easing[jQuery.easing.def](b,c,f,e,g)},easeInQuad:function(b,c,f,e,g){return e*(c/=g)*c+f},easeOutQuad:function(b,c,f,e,g){return-e*(c/=g)*(c-2)+f},easeInOutQuad:function(b,c,f,e,g){return 1>(c/=g/2)?e/2*c*c+f:-e/2*(--c*(c-2)-1)+f},easeInCubic:function(b,c,f,e,g){return e*(c/=g)*c*c+f},easeOutCubic:function(b,c,f,e,g){return e*((c=c/g-1)*c*c+1)+f},easeInOutCubic:function(b,c,f,e,g){return 1>(c/=g/2)?e/2*c*c*c+f:
e/2*((c-=2)*c*c+2)+f},easeInQuart:function(b,c,f,e,g){return e*(c/=g)*c*c*c+f},easeOutQuart:function(b,c,f,e,g){return-e*((c=c/g-1)*c*c*c-1)+f},easeInOutQuart:function(b,c,f,e,g){return 1>(c/=g/2)?e/2*c*c*c*c+f:-e/2*((c-=2)*c*c*c-2)+f},easeInQuint:function(b,c,f,e,g){return e*(c/=g)*c*c*c*c+f},easeOutQuint:function(b,c,f,e,g){return e*((c=c/g-1)*c*c*c*c+1)+f},easeInOutQuint:function(b,c,f,e,g){return 1>(c/=g/2)?e/2*c*c*c*c*c+f:e/2*((c-=2)*c*c*c*c+2)+f},easeInSine:function(b,c,f,e,g){return-e*Math.cos(c/
g*(Math.PI/2))+e+f},easeOutSine:function(b,c,f,e,g){return e*Math.sin(c/g*(Math.PI/2))+f},easeInOutSine:function(b,c,f,e,g){return-e/2*(Math.cos(Math.PI*c/g)-1)+f},easeInExpo:function(b,c,f,e,g){return 0==c?f:e*Math.pow(2,10*(c/g-1))+f},easeOutExpo:function(b,c,f,e,g){return c==g?f+e:e*(-Math.pow(2,-10*c/g)+1)+f},easeInOutExpo:function(b,c,f,e,g){return 0==c?f:c==g?f+e:1>(c/=g/2)?e/2*Math.pow(2,10*(c-1))+f:e/2*(-Math.pow(2,-10*--c)+2)+f},easeInCirc:function(b,c,f,e,g){return-e*(Math.sqrt(1-(c/=g)*
c)-1)+f},easeOutCirc:function(b,c,f,e,g){return e*Math.sqrt(1-(c=c/g-1)*c)+f},easeInOutCirc:function(b,c,f,e,g){return 1>(c/=g/2)?-e/2*(Math.sqrt(1-c*c)-1)+f:e/2*(Math.sqrt(1-(c-=2)*c)+1)+f},easeInElastic:function(b,c,f,e,g){b=0;var m=e;if(0==c)return f;if(1==(c/=g))return f+e;b||(b=.3*g);m<Math.abs(e)?(m=e,e=b/4):e=b/(2*Math.PI)*Math.asin(e/m);return-(m*Math.pow(2,10*--c)*Math.sin(2*(c*g-e)*Math.PI/b))+f},easeOutElastic:function(b,c,f,e,g){var m=0,a=e;if(0==c)return f;if(1==(c/=g))return f+e;m||
(m=.3*g);a<Math.abs(e)?(a=e,b=m/4):b=m/(2*Math.PI)*Math.asin(e/a);return a*Math.pow(2,-10*c)*Math.sin(2*(c*g-b)*Math.PI/m)+e+f},easeInOutElastic:function(b,c,f,e,g){var m=0,a=e;if(0==c)return f;if(2==(c/=g/2))return f+e;m||(m=.3*g*1.5);a<Math.abs(e)?(a=e,b=m/4):b=m/(2*Math.PI)*Math.asin(e/a);return 1>c?-.5*a*Math.pow(2,10*--c)*Math.sin(2*(c*g-b)*Math.PI/m)+f:a*Math.pow(2,-10*--c)*Math.sin(2*(c*g-b)*Math.PI/m)*.5+e+f},easeInBack:function(b,c,f,e,g,m){void 0==m&&(m=1.70158);return e*(c/=g)*c*((m+1)*
c-m)+f},easeOutBack:function(b,c,f,e,g,m){void 0==m&&(m=1.70158);return e*((c=c/g-1)*c*((m+1)*c+m)+1)+f},easeInOutBack:function(b,c,f,e,g,m){void 0==m&&(m=1.70158);return 1>(c/=g/2)?e/2*c*c*(((m*=1.525)+1)*c-m)+f:e/2*((c-=2)*c*(((m*=1.525)+1)*c+m)+2)+f},easeInBounce:function(b,c,f,e,g){return e-jQuery.easing.easeOutBounce(b,g-c,0,e,g)+f},easeOutBounce:function(b,c,f,e,g){return(c/=g)<1/2.75?7.5625*e*c*c+f:c<2/2.75?e*(7.5625*(c-=1.5/2.75)*c+.75)+f:c<2.5/2.75?e*(7.5625*(c-=2.25/2.75)*c+.9375)+f:e*(7.5625*
(c-=2.625/2.75)*c+.984375)+f},easeInOutBounce:function(b,c,f,e,g){return c<g/2?.5*jQuery.easing.easeInBounce(b,2*c,0,e,g)+f:.5*jQuery.easing.easeOutBounce(b,2*c-g,0,e,g)+.5*e+f}});
(function(b){window.myif=b.extend(window.myif||{},{namespace:function(b,f){var c=f?f:window.myif;b.split(".").forEach(function(b){b&&(c[b]||(c[b]={}),c=c[b])});return c},bind:function(b,f){return function(){b.apply(f,arguments)}},Util:{typeOf:function(b){return Object.prototype.toString.call(b).replace(/\[|object\s|]/g,"").toLowerCase()},isObject:function(b){return"object"===myif.Util.typeOf(b)},isArray:function(b){return"array"===myif.Util.typeOf(b)},isFunction:function(b){return"function"===myif.Util.typeOf(b)},
isString:function(b){return"string"===myif.Util.typeOf(b)},isNumber:function(b){return"number"===myif.Util.typeOf(b)},isBoolean:function(b){return"boolean"===myif.Util.typeOf(b)},isEmpty:function(b){return myif.Util.isNull(b)||""===b},isNull:function(b){return void 0===b||null===b},each:function(b,f){if(b&&f)if(myif.Util.isArray(b))b.forEach(f);else if(myif.Util.isObject(b))for(var c in b)b.hasOwnProperty(c)&&f(b[c],c)},queryParameters:function(b,f){var c={};b.split(/[?&]/).forEach(function(b){if(b){b=
b.split("\x3d");var e=f?decodeURIComponent(b[0]):b[0],a=c[e];a?(myif.Util.isArray(a)||(c[e]=a=[a]),a.push(1<b.length?f?decodeURIComponent(b[1]):b[1]:null)):c[e]=1<b.length?f?decodeURIComponent(b[1]):b[1]:null}});return c}}})})(jQuery);
(function(b,c){b.View=function(b,e){this.el=b;this.$el=c(b);this.initialize.apply(this,[e||{}])};b.View.prototype.$=function(b){return this.$el.find(b)};b.View.prototype.bind=function(c){return b.bind(c,this)};b.View.prototype.initialize=function(){};b.View.extend=function(b){var e=this;b=c.extend({},e.prototype,b);var f=function(){return e.apply(this,arguments)};f.prototype=Object.create(b);f.prototype.constructor=f;f.extend=e.extend;f.supertype=e.prototype;return f};b.getView=function(f,e,g,m,a){f||
(f=document);f=c(f);e="string"===typeof e?f.is(e)?f:f.find(e):c(e);return b.addView("view",e,g,m,a)};b.addView=function(b,e,g,m,a){b||(b="view");e=c(e);var d=[];e&&e.each(function(){if(!this[b]||a)this[b]=new g(this,m);d.push(this[b])});return 0<d.length?1<d.length?d:d[0]:void 0};b.viewRegistry=[];b.registerView=function(c,e,g){var f={selector:c,viewClass:e,options:g};b.viewRegistry.push(f);return function(a){return b.getView(a,f.selector,f.viewClass,f.options)}};b.viewSetUp=function(c){c||(c=document);
b.viewRegistry.forEach(function(e){b.getView(c,e.selector,e.viewClass,e.options)})};b.isJQuery=function(b){return"object"===typeof b&&b.__proto__.jquery&&0<b.length};c(document).on("if6_page_ready",function(c,e){b.isJQuery(e)&&b.viewSetUp(e)});c(document).ready(function(){b.viewSetUp(document)})})(myif.namespace(""),jQuery);
$(function(){function b(){var b=$(".if6_eprivacy:visible");b&&0<b.length?b.each(function(){var b=$(this);b.find(".if6_inner").css({maxHeight:window.innerHeight+"px"});var c=b.find(".overlay").height();b.hasClass("initial")?($("body").addClass("eprivacy_initial_visible").find(".if6_main").animate({paddingTop:c+"px"},100),$(".if6_contact\x3ea, .if6_navigation\x3ea, .if6_contact\x3ediv, .if6_navigation\x3ediv, .if6_nav .nav-full-container, .nav-main .if6_nav .nav-background, .if6_lightbox.banking-login, .if6_lightbox.banking-login .if6_inner, .nav-banking1 .if6_nav .nav-full-container li.nav-banking, .nav-banking2 .if6_nav .nav-full-container li.nav-banking, .nav-banking1 .if6_header .logo, .nav-banking2 .if6_header .logo, .nav-banking9 .if6_header .logo, .nav-banking9.header-quit .if6_header .nav-back, .nbf-frame .if6_header .search form, .nbf-frame .if6_header .search .search-pageoverlay").each(function(){"fixed"===
$(this).css("position")?$(this).css({marginTop:c+"px"}):$(this).css({marginTop:""})})):(b.height(c),$(".if6_contact\x3ediv, .if6_navigation\x3ediv, .if6_nav .nav-full-container, .nav-main .if6_nav .nav-background, .nav-banking1 .if6_nav .nav-full-container li.nav-banking, .nav-banking2 .if6_nav .nav-full-container li.nav-banking, .nbf-frame .if6_header .search form, .nbf-frame .if6_header .search .search-pageoverlay").each(function(){"fixed"===$(this).css("position")?$(this).css({borderBottomWidth:c+
"px"}):$(this).css({borderBottomWidth:""})}),$('.nbf[class*\x3d"nav-banking"] .if6_nav .nav-full-container .nav-full-content .nav-concierge, .nbf[class*\x3d"nav-banking"] .if6_footer').each(function(){"fixed"===$(this).css("position")?$(this).css({marginBottom:c+"px"}):$(this).css({marginBottom:""})}))}):($("body").removeClass("eprivacy_initial_visible eprivacy_reminder_visible").find(".if6_main").css({paddingTop:""}),$(".if6_contact\x3ea, .if6_navigation\x3ea, .if6_contact\x3ediv, .if6_navigation\x3ediv, .if6_nav .nav-full-container, .nav-main .if6_nav .nav-background, .if6_lightbox.banking-login, .if6_lightbox.banking-login .if6_inner, .nav-banking1 .if6_nav .nav-full-container li.nav-banking, .nav-banking2 .if6_nav .nav-full-container li.nav-banking, .nav-banking1 .if6_header .logo, .nav-banking2 .if6_header .logo, .nav-banking9 .if6_header .logo, .nav-banking9.header-quit .if6_header .nav-back, .nbf-frame .if6_header .search form, .nbf-frame .if6_header .search .search-pageoverlay").each(function(){$(this).css({marginTop:"",
borderBottomWidth:""})}),$('.nbf[class*\x3d"nav-banking"] .if6_nav .nav-full-container .nav-full-content .nav-concierge, .nbf[class*\x3d"nav-banking"] .if6_footer').each(function(){$(this).css({marginBottom:""})}))}$(window).resize(b);b();$(".if6_eprivacy a.primary").click(function(c){c.preventDefault();var e=$(".eprivacy_optin_form");c=$("input",e).serialize();e=e.attr("action");$.ajax({type:"POST",url:e,data:c,timeout:1E3,success:function(){$(".eprivacy_auswahl_form").length&&location.reload(!0)}});
$(".if6_eprivacy").hide();b();$("body").css({paddingTop:"0.1px"});window.setTimeout(function(){$("body").css({paddingTop:""})},400)});$(".if6_eprivacy a.secondary").click(function(b){b=$(".eprivacy_optin_form").attr("action");$.ajax({type:"POST",url:b,data:{ePHide:"true"},timeout:1E3,async:!1})});$(".if6_eprivacy .close-icon").click(function(c){c.preventDefault();c=$(this).attr("href");"#"!==c&&$.ajax({type:"POST",url:c,data:{ePHide:"true"},timeout:1E3});$(this).closest(".if6_eprivacy").hide();b();
$("body").css({paddingTop:"0.1px"});window.setTimeout(function(){$("body").css({paddingTop:""})},400)});$(".eprivacy_optin.invisible").removeClass("invisible");$('.eprivacy_auswahl_form input[name\x3d"ePOptOutSubmit"]').attr("disabled","disabled").parent().addClass("disabled");var c=$('.eprivacy_auswahl_form input[name\x3d"ePOptInSubmit"]'),f=c.closest("form");0==parseInt(f.data("count_optin_unknown"))&&c.attr("disabled","disabled").parent().addClass("disabled");$('.eprivacy_auswahl_form input[name\x3d"ePOptIn[]"],.eprivacy_auswahl_form input[name\x3d"ePOptOut[]"]').change(function(b){$(b.target).closest(".eprivacy_auswahl_form").find('input[type\x3d"submit"]').removeAttr("disabled").parent().removeClass("disabled")});
IF6.showButton(".eprivacy_auswahl_form .ePrivacyZurueck")});
$(function(){function b(){var b=$(".if6_eprivacy:visible");b&&0<b.length?b.each(function(){var b=$(this);b.find(".if6_inner").css({maxHeight:window.innerHeight+"px"});var c=b.find(".overlay").height();b.hasClass("initial")?($("body").addClass("eprivacy_initial_visible").animate({borderTopWidth:c+"px"},100),$(".if6_contact\x3ea, .if6_navigation\x3ea, .if6_contact\x3ediv, .if6_navigation\x3ediv").each(function(){"fixed"===$(this).css("position")?$(this).css({marginTop:c+"px"}):$(this).css({marginTop:""})})):
(b.height(c),$(".if6_contact\x3ediv, .if6_navigation\x3ediv").each(function(){"fixed"===$(this).css("position")?$(this).css({borderBottomWidth:c+"px"}):$(this).css({borderBottomWidth:""})}))}):($("body").removeClass("eprivacy_initial_visible eprivacy_reminder_visible").css({borderTopWidth:""}),$(".if6_contact\x3ea, .if6_navigation\x3ea, .if6_contact\x3ediv, .if6_navigation\x3ediv").each(function(){$(this).css({marginTop:"",borderBottomWidth:""})}))}$(window).resize(b);b();$(".if6_eprivacy a.primary").click(function(c){c.preventDefault();
var e=$(".eprivacy_optin_form");c=$("input",e).serialize();e=e.attr("action");$.ajax({type:"POST",url:e,data:c,timeout:1E3,success:function(){$(".eprivacy_auswahl_form").length&&location.reload(!0)}});$(".if6_eprivacy").hide();b();$("body").css({paddingTop:"0.1px"});window.setTimeout(function(){$("body").css({paddingTop:""})},400)});$(".if6_eprivacy a.secondary").click(function(b){b=$(".eprivacy_optin_form").attr("action");$.ajax({type:"POST",url:b,data:{ePHide:"true"},timeout:1E3,async:!1})});$(".if6_eprivacy .close-icon").click(function(c){c.preventDefault();
c=$(this).attr("href");"#"!==c&&$.ajax({type:"POST",url:c,data:{ePHide:"true"},timeout:1E3});$(this).closest(".if6_eprivacy").hide();b();$("body").css({paddingTop:"0.1px"});window.setTimeout(function(){$("body").css({paddingTop:""})},400)});$(".eprivacy_optin.invisible").removeClass("invisible");$('.eprivacy_auswahl_form input[name\x3d"ePOptOutSubmit"]').attr("disabled","disabled").parent().addClass("disabled");var c=$('.eprivacy_auswahl_form input[name\x3d"ePOptInSubmit"]'),f=c.closest("form");0==
parseInt(f.data("count_optin_unknown"))&&c.attr("disabled","disabled").parent().addClass("disabled");$('.eprivacy_auswahl_form input[name\x3d"ePOptIn[]"],.eprivacy_auswahl_form input[name\x3d"ePOptOut[]"]').change(function(b){$(b.target).closest(".eprivacy_auswahl_form").find('input[type\x3d"submit"]').removeAttr("disabled").parent().removeClass("disabled")});IF6.showButton(".eprivacy_auswahl_form .ePrivacyZurueck")});
$(document).on("if6_page_ready",function(){$(".cbox-pslose").not(function(){var b=this.paging_added;this.paging_added=!0;return b}).each(function(){function b(b){var e=parseInt($(c).find(".count\x3espan:first-child").html(),10);e+=b;$(c).find(".count\x3espan:first-child").html(e);e+=$(c).find(".data:visible table").length-1;$(c).find(".count\x3espan:first-child+span").html(e)}var c=this;$(this).find(".left").click(function(){$(c).find(".data:visible").hide().prev(".data").show();b(-3);$(c).find(".right").css({display:"inline-block"});
0>=$(c).find(".data:visible").prev(".data").length&&$(c).find(".left").hide();return!1});$(this).find(".right").click(function(){$(c).find(".data:visible").hide().next(".data").show();b(3);$(c).find(".left").css({display:"inline-block"});0>=$(c).find(".data:visible").next(".data").length&&$(c).find(".right").hide();return!1})})});
(function(b){b.const=$.extend(b.const||{},{css:{base:"m-m-c-c-a-c-consultantlist",_:{filter:"_filter",item:"_item",action:"_action"},state:{filtered:"company-filter",off:"hidden"}}});b.View=myif.View.extend({initialize:function(c){var f=b.const.css;myif.View.prototype.initialize.apply(this,arguments);this.$filter=this.$("select."+f.base+f._.filter);this.$filter.change(this.doFilter.bind(this));this.$("."+f.base+f._.item+f._.action).click(this.doAction.bind(this))},doFilter:function(){var c=b.const.css,
f=this.$filter.val();f?this.$el.addClass(c.state.filtered):this.$el.removeClass(c.state.filtered);this.$("."+c.base+c._.item).each(function(){var b=$(this);f?0<=(b.data("companies")||[]).indexOf(f)?b.removeClass(c.state.off):b.addClass(c.state.off):b.removeClass(c.state.off)})},doAction:function(b){if((b=$(b.currentTarget).attr("href"))&&"#"!==b)return window.location=b,!1}});$(document).ready(function(){myif.registerView("."+b.const.css.base,b.View).call(this,document)})})(myif.namespace("master.c.c.a.contact.consultantlist"));
$(function(){$(".searchresult-item a").click(function(){$.ajax({url:$(this).attr("href").replace(/(?:\.html)?(?:\?\S*)?$/,"")+".searchresultclick.json",cache:!1,data:{resultType:"explizit",queryId:$(this).closest("ul.searchresult-items").attr("data-queryId")},timeout:500,async:!1,dataType:"json"})})});
(function(b,c){"function"===typeof define&&define.amd?define(c):"object"===typeof module&&module.exports?module.exports=c():b.SLURI=c()})(this,function(){function b(b){return encodeURI(b).replace(/%5B/g,"[").replace(/%5D/g,"]")}function c(b){return encodeURIComponent(b).replace(/[!'()*]/g,function(a){return"%"+a.charCodeAt(0).toString(16)})}function f(b){var a=[];if(b){b=(""+b).replace("?","");b=b.split("\x26");for(var d=0;d<b.length;d++){var e=b[d].split("\x3d");a.push({key:e[0],value:e[1]||""})}}this.toString=
function(){for(var b=[],d=0;d<a.length;d++)b.push(c(a[d].key)+"\x3d"+c(a[d].value));return 0<b.length?b.join("\x26"):""};this.toLocaleString=function(){return this.toString()};this.has=function(b){for(var c=0;c<a.length;c++)if(a[c].key===b)return!0;return!1};this.get=function(b){for(var c=0;c<a.length;c++)if(a[c].key===b)return a[c].value;return null};this.getAll=function(b){for(var c=[],d=0;d<a.length;d++)a[d].key===b&&c.push(a[d].value);return c};this.sluriDelete=function(b){for(var c=0;c<a.length;c++)a[c].key===
b&&a.splice(c,1)};this.append=function(b,c){a.push({key:b,value:c})};this.set=function(b,c){for(var d=0,e=0;e<a.length;e++)a[e].key===b&&(d?a.splice(e,1):a[e].value=c,d++);0===d&&this.append(b,c)};this.keys=function(){for(var b=[],c=0;c<a.length;c++)b.push(a[c].key);return b};this.values=function(){for(var b=[],c=0;c<a.length;c++)b.push(a[c].value);return b}}function e(c){var a=[];c&&(a=c.split("."));this.toString=function(){return b(a.join("."))};this.toLocaleString=function(){return this.toString()};
this.has=function(b){return-1!==a.indexOf(b)};this.append=function(b){a.push(b)};this.sluriDelete=function(b){b=a.indexOf(b);-1!==b&&a.splice(b,1)};this.values=function(){return a}}var g=function(c,a){function d(a){return a instanceof g||"undefined"!==typeof Location&&a instanceof Location||"undefined"!==typeof HTMLAnchorElement&&a instanceof HTMLAnchorElement||"undefined"!==typeof URL&&a instanceof URL}function h(a){var b,c=b="/",d="",e="",f="";a&&(a=""+a,0!==a.indexOf("/")&&(a="/"+a),b=a.split("."),
c=b[0],d=b.slice(1,b.length-1).join("."),e=b[b.length-1].split("/")[0],2<=b.length?(f=(f=b[b.length-1].split("/").slice(1).join("/"))?"/"+f:"",b=c+"."+(d&&d+".")+e):(b=a.split("/"),b=2<b.length?b[1]:a));return{pathname:b,resourcePath:c,selectorString:d,extension:e,suffix:f}}function m(a){var b=(new RegExp(/^(?:(?:(([^:\/#\?]+:)?(?:(?:\/\/)(?:(?:(?:([^:@\/#\?]+)(?::([^:@\/#\?]*))?)@)?(([^:\/#\?]+|\[[^\/\]@#?]+\])(?::([0-9]+))?))?)?)?((?:\/?(?:[^\/\?#]+\/+)*)(?:[^\?#]*)))?(\?[^#]+)?)(#.*)?/)).exec(a);
a=b[1]||"";var c=b[2]||"";var d=b[3]||"";var e=b[4]||"";var f=b[6]||"";var g=b[7]||"";var m=b[8]||"";var n=b[9]||"";b=b[10]||"";m=h(m);return{protocol:c,username:d,password:e,hostname:f,port:g,origin:a,pathname:m.pathname,resourcePath:m.resourcePath,selectorString:m.selectorString,extension:m.extension,suffix:m.suffix,search:n,hash:b}}function p(a){u.protocol=a.protocol;u.username=a.username;u.password=a.password;u.hostname=a.hostname;u.port=a.port;x=b(a.resourcePath);u.selectorString=a.selectorString;
F=b(a.extension);u.suffix=a.suffix;u.search=a.search;u.hash=a.hash}var u=this,r,w,q,t,A,y,x,z,F,C,B,L;if(!(this instanceof g))throw new TypeError("Failed to construct 'SLURI': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(1>arguments.length)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");Object.defineProperties(this,{protocol:{enumerable:!0,configurable:!0,get:function(){return w||""},set:function(a){a&&
/^[a-zA-Z][a-zA-Z0-9+\.-]+:?$/.test(a)&&(w=":"===a.substr(-1)?a:a+":")}},username:{enumerable:!0,configurable:!0,get:function(){return q||""},set:function(a){q=b(""+a)}},password:{enumerable:!0,configurable:!0,get:function(){return t||""},set:function(a){t=b(""+a)}},hostname:{enumerable:!0,configurable:!0,get:function(){return A||""},set:function(a){if(a)if(isNaN(a))A=b(a.split(":")[0]);else{for(var c=a%256,d=3;0<d;d--)a=Math.floor(a/256),c=a%256+"."+c;A=c}}},host:{enumerable:!0,configurable:!0,get:function(){var a=
A||"";y&&(a+=":"+y);return a},set:function(a){if(a){a=a.split(":");var b=a[1];this.hostname=a[0];b&&(this.port=b)}}},port:{enumerable:!0,configurable:!0,get:function(){return y||""},set:function(a){if(null!==a&&void 0!==a)if(""===a)y=a;else if("number"===typeof a||/^\d+(\.\d+)?$/.test(a))y=""+parseInt(a,10)}},origin:{enumerable:!0,configurable:!0,get:function(){return this.protocol+"//"+this.host},set:function(){}},pathname:{enumerable:!0,configurable:!0,get:function(){if(x&&"/"!==x){var a=x;this.selectorString&&
(a+="."+this.selectorString);F&&(a+="."+F)}return a||"/"},set:function(a){a=h(a);x=b(a.resourcePath);F=b(a.extension);this.selectorString=a.selectorString}},resourcePath:{enumerable:!0,configurable:!0,get:function(){return x},set:function(a){null!==a&&void 0!==a&&(x=b(a))}},selectorString:{enumerable:!0,configurable:!0,get:function(){return this.selectors.toString()},set:function(a){null!==a&&void 0!==a&&(this.selectors=new e(a))}},selectors:{enumerable:!0,configurable:!0,get:function(){return z},
set:function(a){a instanceof e&&(z=a)}},extension:{enumerable:!0,configurable:!0,get:function(){return F||""},set:function(a){F&&a&&(F=b(a))}},suffix:{enumerable:!0,configurable:!0,get:function(){return C},set:function(a){null!==a&&void 0!==a&&(C=b(a))}},search:{enumerable:!0,configurable:!0,get:function(){var a=B.toString();return a?"?"+a:""},set:function(a){null!==a&&void 0!==a&&(B=new f(a))}},searchParams:{enumerable:!0,configurable:!0,get:function(){return B},set:function(a){a instanceof f&&(B=
a)}},hash:{enumerable:!0,configurable:!0,get:function(){return L||""},set:function(a){L=a?0===a.indexOf("#")?a:"#"+a:""}},href:{enumerable:!0,configurable:!0,get:function(){var a=[];a.push(this.protocol+"//");a.push(this.username);a.push(this.password&&":"+this.password);a.push((this.username||this.password)&&"@");a.push(this.host);a.push(this.pathname);a.push(this.suffix);a.push(this.search);a.push(this.hash);return a.join("")},set:function(a){a&&(r=m(a),p(r))}}});(function(){if("string"===typeof c)if(0===
c.indexOf("/")){if(a){if(d(a))var b=a.origin;else b=m(a),b=b.hostname&&b.origin;b&&(c=b+c,r=m(c))}}else/^[a-zA-Z][a-zA-Z0-9+\.-]+:\/\//.test(c)&&(r=m(c));else d(c)&&(r=m(c.href));if(!r)throw new TypeError("Failed to construct 'URL': Invalid URL");})();p(r)};g.prototype.toString=function(){return this.href};g.prototype.toLocaleString=function(){return this.href};return g});
var IF6={focus_obj:null,last_window_width:0,lightbox_fragments:[],last_scroll_pos:0,statistics:{config:{pagenav:{delay:1E4},timeout:1E4},state:{pagenav:{scroll:{}}},event:function(b,c){IF6.statistics.config.url&&$.ajax({url:IF6.statistics.config.url,async:!c,type:"GET",dataType:"html",data:$.extend({type:"jslog",url:location.href},b),timeout:IF6.statistics.config.timeout})}}};$(document).ready(function(){var b=$("body");IF6.statistics.config.url=b.data("statistics-url")});
$(window).resize(function(){if(IF6.last_window_width!==window.innerWidth){var b=$("body");b.hasClass("navigation_visible")&&IF6.statistics.event({stref:"hnav-auto"});b.hasClass("contact_visible")&&(IF6.statistics.event({stref:"kontakt-auto"}),$(document).trigger("contact-auto"));b.removeClass("navigation_visible contact_visible pagenav_visible search_visible");$('.if6_navigation\x3ea,.if6_contact\x3ea[href\x3d"#"]').attr("aria-expanded","false");$(".if6_navigation div div").removeClass("navvisible");
$(".if6_navigation li").removeClass("focus anim hold");$(document).trigger("hide-bcontent",!0);IF6.last_window_width=window.innerWidth}$(".if6_lightbox\x3e.if6_inner").scroll()}).on("load",function(){$(window).resize()});$("html").removeClass("no-js").addClass("js");"ontouchstart"in document.documentElement&&$("html").removeClass("no-touch");!1===navigator.cookieEnabled&&$("html").addClass("no-cookies");document.createElement("section");document.createElement("header");document.createElement("footer");
document.createElement("nav");$(window).on("load",function(){IF6.focus_obj&&IF6.focus_obj.focus()});
$(function(){$(".if6_header .header-login").append("\x3cspan class\x3d\"close-icon\" onclick\x3d\"$('body').removeClass('login_visible');\"\x3e\x3c/span\x3e");$(".if6_header .secselect").click(function(){$(this).toggleClass("secselect_visible")});$(".if6_section").each(function(){$(this).attr("role","main");var b=$(this).find(".if6_inner\x3eh6").html();b&&$(this).attr("aria-label",b)});$(".if6_navigation").attr("role","navigation").attr("aria-label",$(".if6_navigation\x3ea").attr("title"));$(".if6_block\x3e.micronav").attr("role",
"navigation");$(".if6_contact").attr("role","complementary").attr("aria-label",$(".if6_contact\x3ea:first-child").attr("title"));$(".if6_header .search").attr("role","search");$(".iconbar_overlay").click(function(){IF6.page&&(IF6.page.navigation&&IF6.page.navigation.close(),IF6.page.contact&&IF6.page.contact.close());return!1});$(document).trigger("if6_page_ready");window.location.search&&0<=window.location.search.indexOf("stref\x3dfkp-plogin")&&$(".loginlogout\x3espan:visible").click();/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)||
$("body").addClass("is_no_apple_device")});$(document).on("if6_page_ready_again",function(){window.page_ready_timer&&window.clearTimeout(window.page_ready_timer);window.page_ready_timer=window.setTimeout(function(){window.page_ready_timer=null;$(document).trigger("if6_page_ready")},100)});$(document).on("if6_page_ready",function(){$(".h1").parent().addClass("contains-h1");$(".h2").parent().addClass("contains-h2");$(".h3").parent().addClass("contains-h3")});
$(document).on("if6_page_ready",function(){$('.if6_header input[type\x3d"text"],.if6_header input[type\x3d"password"],.login input[type\x3d"text"],.login input[type\x3d"password"]').not(function(){var b=this.placeholdersim_added;this.placeholdersim_added=!0;return b}).on("keyup",function(){this.className=this.value||this.in_focus?"nonempty":""}).on("paste",function(){var b=$(this);window.setTimeout(function(){b.trigger("keyup")},30)}).on("click",function(){this.className="nonempty";this.in_focus=
!0}).on("blur",function(){this.in_focus=!1;$(this).trigger("keyup")}).trigger("keyup")});
$(document).on("if6_page_ready",function(){$(".bline").not(function(){return 0<$(this).find("input,.ficon,.helptxt,select,textarea,.bslider,.bgauge,.fininst .blzbic,.bselect-list,.finaccount").length||$(this).is(".bmessage, .with-separator, .bstatus")}).addClass("btext-only");$(".bpulldown\x3e*:first-child").not(function(){var b=this.click_added;this.click_added=!0;return b}).click(function(){var b=$(this).closest(".nbf-box--hoverable"),c=$(".nbf-guided-tour-umsaetze-umsatzliste").find(".nbf-box--hoverable"),
f=$(this).closest(".umsatz-group"),e=$(".nbf-guided-tour-umsaetze-umsatzliste").find(".umsatz-group");c.removeClass("pulldown_visible");e.removeClass("pulldown_visible");$(this).closest(".bpulldown").each(function(){$(this).hasClass("pulldown_visible")?$(this).removeClass("pulldown_visible"):($(".bpulldown.pulldown_visible").removeClass("pulldown_visible"),$(this).addClass("pulldown_visible"),b.addClass("pulldown_visible"),f.addClass("pulldown_visible"))});return!1});$(".bpager div.active").each(function(){$(this.nextSibling).addClass("next");
$(this.previousSibling).addClass("prev")});$("div.ficon\x3einput,.buttonline input,.loginlogout .login input,.loginlogout .logout input").not(function(){var b=this.focus_added;this.focus_added=!0;return b}).focus(function(){$(this.parentNode).addClass("focus")}).blur(function(){$(this.parentNode).removeClass("focus")}).click(function(){$(this.parentNode).addClass("clicked");return!0});$(".buttonline\x3e.bgroup1\x3ediv").not(function(){var b=this.click_added;this.click_added=!0;return b}).on("click",
function(b){"DIV"===b.target.tagName&&$(this.firstChild).click()});$(".btableblock table.row-clickable tr.tablerowodd:not(.textbutton-column),.btableblock table.row-clickable tr.tableroweven:not(.textbutton-column)").not(function(){return this.click_added}).each(function(){this.click_added=!0;var b=$(this).find("td a:not([target]), td .ficon input");if(0<b.length)$(this).addClass("clickable hoverable").attr("title",$(this).find("td a").first().attr("title")).on("click",function(c){if(c&&c.target)switch(c.target.tagName){case "A":case "INPUT":break;
case "SPAN":if(!$(c.target).hasClass("checkbox")&&!$(c.target).hasClass("radio"))return b.last().get(0).click(),!1;break;default:return b.last().get(0).click(),!1}});else $(this).addClass("not-hoverable")});$(".btableblock table.row-clickable-no-opening-icon tr.tablerowodd,.btableblock table.row-clickable-no-opening-icon tr.tableroweven").each(function(){if(!$(this).is(".hoverable"))$(this).addClass("hoverable").on("click",function(b){var c=$(b.target);if(c){if(c.closest("td").is("td:last-child")&&
c.is("div.ficon, a.ficon"))return!0;switch(b.target.tagName){case "A":case "INPUT":break;case "SPAN":if(!$(b.target).hasClass("checkbox")&&!$(b.target).hasClass("radio"))return $(this).toggleClass("opened"),!1;break;default:return $(this).toggleClass("opened"),!1}}})});$("input.add-btag-marker").not(function(){return this.btag_marker_added}).each(function(){this.btag_marker_added=!0;$(this).before('\x3cspan class\x3d"btag-marker"\x3e\x3c/span\x3e')});$(".finaccount .iban").not(function(){return 0<
$(this).find("span").length}).each(function(){var b=$(this).html(),c,f=$(this).text();for(c=f.length-1;0<=c;--c)"A"<=f.charAt(c)&&"Z">=f.charAt(c)&&(f=f.substr(0,c+1)+"."+f.substr(c+1));$(this).html('\x3cspan aria-hidden\x3d"true"\x3e'+b+'\x3c/span\x3e\x3cspan class\x3d"offscreen"\x3eIBAN: '+f+"\x3c/span\x3e")})});
$(document).on("if6_page_ready",function(){$('.if6_main input[type\x3d"checkbox"]').not(function(){return $(this.nextSibling).hasClass("checkbox")?!0:0<$(this).closest(".no-if6-changes").length}).after('\x3cspan class\x3d"checkbox"\x3e\x3c/span\x3e').on("click blur",function(){this.checked?$(this.nextSibling).addClass("checked"):$(this.nextSibling).removeClass("checked")}).each(function(){var b=this.getAttribute("id"),c=$(this).closest(".has-nbf-checkbox").find("label"),f=$(this).closest(".has-nbf-checkbox").find(".checkbox");
c.hover(function(){$("#"+b).prop("disabled")||f.toggleClass("hovered")})});$("span.checkbox").each(function(){this.previousSibling.checked?$(this).addClass("checked"):$(this).removeClass("checked")}).not(function(){var b=this.click_added;this.click_added=!0;return b}).click(function(){this.previousSibling.disabled||$(this.previousSibling).click().focus()})});
$(document).on("if6_page_ready",function(){$('.if6_main input[type\x3d"radio"]').not(function(){return $(this.nextSibling).hasClass("radio")?!0:0<$(this).closest(".no-if6-changes").length}).after('\x3cspan class\x3d"radio"\x3e\x3c/span\x3e').click(function(){$('input[name\x3d"'+this.name+'"]+span.radio').each(function(){this.previousSibling.checked?$(this).addClass("checked"):$(this).removeClass("checked")})}).each(function(){var b=this.getAttribute("id");if("string"===typeof b)$(this).parents(".bline").find('input[type\x3d"text"],input[type\x3d"submit"],select').on("click change keypress",
function(){document.getElementById(b).checked=!0;$("#"+b).click()});var c=$(this).closest(".has-nbf-radio").find("label"),f=$(this).closest(".has-nbf-radio").find(".radio");c.hover(function(){$("#"+b).prop("disabled")||f.toggleClass("hovered")})});$("span.radio").each(function(){this.previousSibling.checked?$(this).addClass("checked"):$(this).removeClass("checked")}).not(function(){var b=this.click_added;this.click_added=!0;return b}).click(function(){this.previousSibling.disabled||(this.previousSibling.checked=
!0,$(this.previousSibling).click().focus())})});
$(document).on("if6_page_ready",function(){$("select").not(function(){return 0<$(this).closest(".no-if6-changes").length}).each(function(){function b(a){return!a||""===a.trim()}function c(){var a=0<=e.selectedIndex&&b(e.options[e.selectedIndex].text);$(e).toggleClass("empty-value",a);$(e).parent().toggleClass("empty-value",a)}if(!this.multiple){if($(this).hasClass("hide-following-submit")){var f=$(this).next(".ficon");if(f&&0<f.length){if($(this).data("json"))$(this).data("following-submit",f);else $(this).on("change",
function(){f.is("a")?f.click():f.find("input").click();return!1});f.addClass("js-hide");$(this).removeClass("followed-by-icon")}}var e=this;if(!$(this.nextSibling).hasClass("select")){var g=(g=$(this).attr("class"))?g+" ":"";$(this).wrap('\x3cdiv class\x3d"'+g+'select-wrap"\x3e\x3c/div\x3e');$(this).after('\x3cspan class\x3d"select"\x3e\x26nbsp;\x3c/span\x3e');$(this).removeClass("followed-by-icon");for(g=0;g<this.options.length;++g)if(b(this.options[g].text)){$(this).on("change",c);c();break}}g=
Math.round($(this).height());var m=Math.round($(this.nextSibling).height());$(this).addClass("select-modified");g===m+1&&$(this).addClass("select-reduce-by-one");g===m+2&&$(this).addClass("select-reduce-by-two");g===m+3&&$(this).addClass("select-reduce-by-three");g===m+4&&$(this).addClass("select-reduce-by-four");g===m+5&&$(this).addClass("select-reduce-by-five")}})});
$(function(){$(".if6_main").on("click",function(b){b&&b.target&&0>=$(b.target).closest("div.helptxt.visible, .helpovly\x3ea.visible").length&&($("div.helptxt.visible, .helpovly\x3e.visible").removeClass("visible"),$("body").hasClass("nbf")&&$(".nbf").find(".nbf-box--hoverable.helpovly-is-visible").removeClass("helpovly-is-visible"))}).on("click","div.helptxt, .helpovly\x3ea",function(){var b=$(this).is("a");if(!b){if(0>=$(this).closest(".no-if6-changes").length&&0>=$(this).children().length){var c=
this.getAttribute("title");c&&$(this).html('\x3cdiv title\x3d""\x3e\x3cdiv\x3e'+c+"\x3c/div\x3e\x3c/div\x3e")}if(0>=$(this).children().length)return}c=$(this).hasClass("visible");$("div.helptxt.visible, .helpovly\x3ea").removeClass("visible");$(".helpovly\x3ea").attr("aria-expanded","false");if(!c){$(this).addClass("visible");b&&$(this).attr("aria-expanded","true");var f=$(this).closest(".if6_contact\x3ediv\x3ediv");f&&0>=f.length&&(f=$(this).closest(".if6_inner"));b=f.offset().left;var e=b+f.innerWidth(),
g;if((g=$(this).hasClass("helptxt")?$(this).find("div div"):$(this).parent().find("\x3ediv\x3ediv"))&&0<g.length){g.css({width:"",left:""});var m=g.innerWidth();g.innerHeight()>m&&g.css({width:f.innerWidth()});f=g.offset().left;m=f+g.innerWidth();m>e?g.css({left:e-m+18}):f<b&&g.css({left:b-f+18})}}$("body").hasClass("nbf")||$(this).blur();$("body").hasClass("nbf")&&(b=$(this).closest(".nbf-finanzstatus").find(".nbf-box--hoverable"),e=$(this).closest(".nbf-box--hoverable"),0<b.length&&0<e.length&&
(b.removeClass("helpovly-is-visible"),c?e.removeClass("helpovly-is-visible"):e.addClass("helpovly-is-visible")));return!1})});$(document).on("if6_page_ready",function(){$(".helpovly\x3ea").attr("aria-expanded","false")});function getQueryParamValue(b,c){b=b.split("?")[1];if(void 0!==b){b=b.split("\x26");var f;for(f=0;f<b.length;f++){var e=b[f].split("\x3d");if(e[0]===c)return e[1]}}return!1}var IF6_lightbox_closeicon_text;
function overlayShow(b){var c=b.getAttribute("href");if("/"!==c.charAt(0))return!1;var f=getQueryParamValue(c,"lightbox");f=decodeURIComponent(f);var e=f.split("?")[1];f=f.split("?")[0];var g=f.replace(/\//g,"_");e&&(g+="_"+e.replace(/[&=+ .,;]/g,"-"));var m;if(0>=$("#"+g).length){var a=-1<c.split("?")[0].indexOf(".webview.html")?".webview":"",d=-1===c.indexOf("isVP\x3dtrue")?"/jcr:content/section/section":"";jQuery.ajax({url:f+d+a+".html"+(e?"?"+e:""),timeout:2E4}).done(function(a){IF6.lightbox_fragments[f]=
a;m='\x3cdiv id\x3d"'+g+'" class\x3d"if6_outer if6_lightbox lightbox-visible"\x3e\x3cdiv class\x3d"if6_inner"\x3e\x3ca href\x3d"#" title\x3d"'+IF6_lightbox_closeicon_text+'" class\x3d"close-icon" onclick\x3d"return overlayClose(this);"\x3e'+IF6_lightbox_closeicon_text+"\x3c/a\x3e"+IF6.lightbox_fragments[f]+"\x3c/div\x3e\x3c/div\x3e";$(".if6_main").append(m);a=$("#"+g);a.data("lightboxPreviousFocus",b);$("body").addClass("lightbox_visible");$(document).trigger("if6_page_ready",[a])}).fail(function(){window.location.href=
c})}else $("#"+g).addClass("lightbox-visible").data("lightboxPreviousFocus",b),$("body").addClass("lightbox_visible"),$(document).trigger("if6_page_ready");return!1}
IF6.adjustLightboxAriaHidden=function(){if(0<$(".lightbox-visible").length){var b=0<$(".lightbox-visible.session-countdown").length;$(".if6_outer").each(function(){!$(this).hasClass("lightbox-visible")||b&&!$(this).hasClass("session-countdown")?$(this).hasClass("if6_header")?$(this).attr("aria-hidden","false"):$(this).attr("aria-hidden","true"):($(this).attr("aria-hidden","false"),$(this).find(".if6_inner\x3ea.close-icon").not(function(){return this.lightbox_initially_focussed}).each(function(){this.lightbox_initially_focussed=
!0;0>=$(this).closest(".if6_inner").find(":focus").length&&$(this).focus()}))});IF6.page.navigation.close();IF6.page.contact.close()}else $(".if6_outer").each(function(){$(this).hasClass("if6_lightbox")?$(this).attr("aria-hidden","true"):$(this).attr("aria-hidden","false")})};
$(document).on("if6_page_ready",function(){$("a").not(function(){return $(this).hasClass("blightbox-link")?!0:this.lightbox_checked}).each(function(){this.lightbox_checked=!0;var b=this.getAttribute("href");if(b&&"/"===b.charAt(0)){var c=b.indexOf("lightbox\x3d");0>=c||"?"!==b.charAt(c-1)&&"\x26"!==b.charAt(c-1)||$("body").hasClass("templ-searchresultpage")||$(this).click(function(){return overlayShow(this)})}});$(".if6_lightbox\x3e.if6_inner").not(function(){var b=this.closeIconPosition;this.closeIconPosition=
!0;return b}).scroll(function(){var b=$(this).scrollTop();$(this).children(".close-icon").css({marginTop:b});var c=$(this).height();$(this).find(".cbox-banking .btopbuttonline\x3ediv").css({marginTop:b});$(this).find(".cbox-banking .bbottombuttonline\x3ediv").each(function(){$(this).css({bottom:"auto",top:b+c-parseInt($(this).css("height"),10)})});$(this).find('.cbox-banking input[type\x3d"text"]:visible, .cbox-banking textarea:visible').last().each(function(){if(20>$(this).closest(".if6_lightbox .if6_inner").offset().left){var b=
$(this).position().top+$(this).height(),c=$(this).closest(".cbox-banking").height();b=b+300-c;0<b&&$(this).closest(".cbox-banking").css({paddingBottom:b+"px"})}else $(this).closest(".cbox-banking").css({paddingBottom:""})})}).scroll();$(".if6_lightbox").not(function(){var b=this.click_added;this.click_added=!0;return b}).on("click",function(b){$(this).hasClass("lightbox-visible")&&b&&b.target&&b.target===this&&$(this).find(".if6_inner\x3ea.close-icon").not(".disable-overlay-close").click()});IF6.adjustLightboxAriaHidden()});
function overlayClose(b){b.lightbox_initially_focussed&&(b.lightbox_initially_focussed=!1);$(b).parents(".if6_lightbox").removeClass("lightbox-visible").attr("aria-hidden","true");var c=$(b).parents(".if6_lightbox").data("lightboxPreviousFocus");$(b).parents(".if6_lightbox").data("lightboxPreviousFocus",null);0<$(".if6_lightbox.lightbox-visible").length?$(".if6_lightbox.lightbox-visible").attr("aria-hidden","false"):$(".if6_outer").each(function(){$(this).hasClass("if6_lightbox")?$(this).attr("aria-hidden",
"true"):$(this).attr("aria-hidden","false")});$("body").removeClass("lightbox_visible");c&&($(c).hasClass("blightbox-link")&&$(b).parents("if6_lightbox").remove(),c.focus());return!1}$(window).scroll(function(){var b=window.pageYOffset,c=$(".if6_header").height();$("body").toggleClass("header-quit",b>=c);$(".if6_iconbar").toggleClass("iconbar-fixed",b>=c)});
$(document).on("if6_page_ready",function(){function b(b){var e;for(e=0;e<c.length&&$(c[e]).data("iconbar")!==b;++e);if(e<c.length&&$(c[e]).data("iconbar")===b){if("INPUT"===c[e].tagName){var f=c[e].value;var m=c[e].getAttribute("title")||"";var a=c[e].parentNode.getAttribute("class")}else f=c[e].innerHTML,m=c[e].getAttribute("title")||"",a=c[e].getAttribute("class");a=a?(a=a.match(/icon-[A-Za-z0-9_\-]*/))?a+" ":"":"";f='\x3ca href\x3d"#" class\x3d"'+a+b+'" title\x3d"'+m+'"\x3e'+f+"\x3c/a\x3e";$(".iconbarbuttons div").append(f);
"micronavback"===b?$(".iconbarbuttons .micronavback").click(function(){$(document).trigger("hide-bcontent");return!1}):$(".iconbarbuttons ."+b).click(function(){c[e].click();return!1});$(c[e]).addClass("iconbar-added")}}$(".iconbar-added").removeClass("iconbar-added");$(".iconbarbuttons").remove();var c=$(".if6_section").not(function(){return $(this).hasClass("ajstep-replace")}).find("a[data-iconbar],input[data-iconbar]").toArray();0<c.length&&($(".if6_iconbar .if6_inner").append('\x3cdiv class\x3d"iconbarbuttons"\x3e\x3cdiv\x3e\x3c/div\x3e\x3c/div\x3e'),
0>=$(".iconbarbuttons").length||(b("micronavback"),b("back"),b("right2"),b("right1")))});$(window).scroll(function(){IF6.last_scroll_pos!==window.pageYOffset&&($("body").hasClass("navigation_visible")||$("body").hasClass("contact_visible")||0<$(".lightbox-visible").length?$("html,body").scrollTop(IF6.last_scroll_pos):IF6.last_scroll_pos=window.pageYOffset)}).on("load",function(){$(window).scroll()});
$(document).on("if6_page_ready",function(){$('input[type\x3d"date"]').not(function(){return 0<$(this).closest(".no-if6-changes").length}).each(function(){if("date"!==this.type){var b=/^(\d\d\d\d)-(\d\d)-(\d\d)$/.exec(this.value);b&&(this.value=b[3]+"."+b[2]+"."+b[1])}else $(this).addClass("working-date")})});
$(function(){function b(b){var c,e=0;for(c=0;c<b.length;++c){var g=Math.abs(parseInt($(b[c]).css("left"),10));0<g&&(0===e||g<e)&&(e=g)}return e}$(".carousel,.if6_openerstage").on("swiperight",function(){$(this).trigger("carousel-prev",!1)}).on("swipeleft",function(){$(this).trigger("carousel-next",!1)}).on("carousel-next",function(c,f){if(!this.animated){this.animated=null!==c||!0;this.carouseltimer&&(window.clearTimeout(this.carouseltimer),this.carouseltimer=null);var e=this;c=$(this).find(".cbox:visible,.if6_opener:visible").toArray();
var g,m=b(c);$(this).find(".carousel_play li.active").removeClass("active");var a=function(){$(e).find(h).addClass("active");e.animated=!1};for(g=c.length-1;0<=g;--g){var d=parseInt($(c[g]).css("left"),10);0>d&&(d+=c.length*m,$(c[g]).css({left:d+"px"}));d-=m;0<=d&&d<m&&(d=0);if(0===d){var h=".carousel_play li:nth-child("+(g+1)+")";$(c[g]).animate({left:d+"px"},500,"easeInOutExpo",a)}else $(c[g]).animate({left:d+"px"},500,"easeInOutExpo")}f&&(this.carouseltimer=window.setTimeout(function(){$(e).trigger("carousel-auto-next")},
1E4))}}).on("carousel-prev",function(c,f){if(!this.animated){this.animated=null!==c||!0;this.carouseltimer&&(window.clearTimeout(this.carouseltimer),this.carouseltimer=null);var e=this;c=$(this).find(".cbox:visible,.if6_opener:visible").toArray();var g,m=b(c);$(this).find(".carousel_play li.active").removeClass("active");var a=function(){$(e).find(h).addClass("active");e.animated=!1};for(g=0;g<c.length;++g){var d=parseInt($(c[g]).css("left"),10);d+=m;d>(c.length-1)*m&&($(c[g]).css({left:-m+"px"}),
d=0);if(0===d){var h=".carousel_play li:nth-child("+(g+1)+")";$(c[g]).animate({left:d+"px"},500,"easeInOutExpo",a)}else $(c[g]).animate({left:d+"px"},500,"easeInOutExpo")}f&&(this.carouseltimer=window.setTimeout(function(){$(e).trigger("carousel-auto-prev")},1E4))}}).on("carousel-auto-next",function(){$("body").hasClass("cq-wcm-edit")||$(this).trigger("carousel-next",!0)}).on("carousel-auto-prev",function(){$("body").hasClass("cq-wcm-edit")||$(this).trigger("carousel-prev",!0)}).on("carousel-select",
function(c,f){if(!this.animated){this.animated=null!==c||!0;this.carouseltimer&&(window.clearTimeout(this.carouseltimer),this.carouseltimer=null);var e=this;c=$(this).find(".cbox:visible,.if6_opener:visible").toArray();var g,m=b(c);$(this).find(".carousel_play li.active").removeClass("active");if(!(isNaN(f)||0>f||f>=c.length)){for(g=0;g<c.length-1;++g)if(0===parseInt($(c[g]).css("left"),10)){var a=g;break}for(g=0;g<a;++g){var d=parseInt($(c[g]).css("left"),10);0<d&&(d-=c.length*m,$(c[g]).css({left:d+
"px"}))}for(g=a+1;g<c.length;++g)d=parseInt($(c[g]).css("left"),10),0>d&&(d+=c.length*m,$(c[g]).css({left:d+"px"}));f=parseInt($(c[f]).css("left"),10);m=function(){$(e).find(a).addClass("active");e.animated=!1};for(g=0;g<c.length;++g)d=parseInt($(c[g]).css("left"),10),d-=f,0===d?(a=".carousel_play li:nth-child("+(g+1)+")",$(c[g]).animate({left:d+"px"},500,"easeInOutExpo",m)):$(c[g]).animate({left:d+"px"},500,"easeInOutExpo")}}})});
(function(b){b.hasOwnProperty("chat")||(b.chat={});b.chat.textPopupOptions="width\x3d425,height\x3d790,scrollbars\x3dyes,resizable\x3dyes,toolbar\x3dno,status\x3dno,menubar\x3dno";b.chat.videoPopupOptions="scrollbars\x3dyes,resizable\x3dyes,toolbar\x3dno,status\x3dno,menubar\x3dno";b.chat.openPopupWithOptions=function(c,f){var e=window.innerWidth,g="wide";650>e?g="small":1080>e&&(g="medium");var m=c.split("?");e=m[0];var a=m[1];if(void 0===a)a=[],a.push(["device",g].join("\x3d")),a.push(["origin",
window.location].join("\x3d")),a=a.join("\x26");else{a=a.split("#");m=a[1];a=a[0].split("\x26");var d;for(d=a.length;0<d;d--){var h=a[d-1].split("\x3d");if("device"===h[0]){h[1]=g;a[d-1]=h.join("\x3d");break}}0===d&&(a[a.length]=["device",g].join("\x3d"));a.push(["origin",window.location].join("\x3d"));a=a.join("\x26");void 0!==m&&(a=[a,m].join("#"))}c=[e,a].join("?");g=function(){var a=window.open(c,"chat",f);$(document).trigger("chat-open");return a};b.chat.hasOwnProperty("popupHandle")?b.chat.popupHandle.closed&&
(b.chat.popupHandle=g()):b.chat.popupHandle=g();b.chat.popupHandle&&b.chat.popupHandle.focus()};b.chat.openTextPopup=function(c){b.chat.openPopupWithOptions(c,b.chat.textPopupOptions)};b.chat.openPopup=function(c){b.chat.openTextPopup(c)};b.chat.openVideoPopup=function(c){b.chat.openPopupWithOptions(c,b.chat.textPopupOptions)};b.chat.executeHandler=function(b,f){return b.href&&b.target?(f(b.href,b.target),!1):!0};b.chat.addClickHandlers=function(c,f){$(c).not(function(){if(0<$(this).closest(".no-if6-changes").length)return!0;
var b=this.click_added;this.click_added=!0;return b}).click(function(){return b.chat.executeHandler(this,f)})};$(document).on("if6_page_ready",function(){b.chat.addClickHandlers("a.chatlink",b.chat.openPopup);b.chat.addClickHandlers("a.videochatlink",b.chat.openVideoPopup)})})(IF6);
$(document).on("if6_page_ready",function(){$(".button-hide-remaining-block").not(function(){return this.hide_remaining_block_added}).each(function(){this.hide_remaining_block_added=!0;$(this).hasClass("hide-initial")?$(this).closest(".bline").addClass("hide-following-blines"):$(this).addClass("visible").attr({"aria-expanded":"true"});var b="ariabline"+Date.now(),c="";$(this).closest(".bline").nextAll().each(function(f){var e=$(this),g=e.attr("id");g||(e.attr({id:b+"-"+f}),g=e.attr("id"));c+=g+" "});
$(this).attr({tabindex:0,role:"button","aria-controls":c});$(this).on("click",function(){$(this).toggleClass("visible");$(this).closest(".bline").toggleClass("hide-following-blines");if($(this).hasClass("visible")){$(this).attr({"aria-expanded":"true"});var b="open";$(window).resize()}else $(this).removeAttr("aria-expanded"),b="closed";var c=$(this).data("json");if(c&&c.saveState&&c.saveState.url&&c.saveState.paramName){c=c.saveState;var g;if(c.restapiTemplate){for(g=0;g<c.restapiTemplate.process.processInput.processParameter.length;++g){var m=
c.restapiTemplate.process.processInput.processParameter[g];if(m.name&&m.name===c.paramName){m.value=b;break}}g>=c.restapiTemplate.process.processInput.processParameter.length&&c.restapiTemplate.process.processInput.processParameter.push({name:c.paramName,value:b});b=JSON.stringify(c.restapiTemplate);m="application/json; charset\x3dUTF-8"}else b=c.paramName+"\x3d"+encodeURIComponent(b),m="application/x-www-form-urlencoded; charset\x3dUTF-8";$.ajax({method:"POST",url:c.url,processData:!1,data:b,contentType:m,
timeout:2E4})}return!1})})});
$(document).on("if6_page_ready",function(){$("input.format-iban").not(function(){return this.format_iban_added}).each(function(){function b(){if(!f||!0===f(c.value)){var b=c.value;var e=c.value.length||0;0<=c.selectionStart&&(e=c.selectionStart);var a=e;var d=!1;if(b){var h=" "===b.charAt(b.length-1);a>=b.length?a=-1:(d=0<a&&" "===b.charAt(a-1),a=b.substr(0,a).replace(/[\s]/g,"").length);b=b.replace(/[\s]/g,"");if(4<b.length)for(b=b.toUpperCase(),e=4;e<b.length;e+=4)b=b.substr(0,e)+" "+b.substr(e),
a>=e&&a++,e++;h&&(b+=" ");b!==c.value&&(c.value=b,0<=a&&(!d&&0<a&&" "===b.charAt(a-1)&&a--,c.setSelectionRange&&c.setSelectionRange(a,a)))}}}this.format_iban_added=!0;var c=this,f=null,e=$(this).data("json");e&&e.formatIbanCallback&&"string"===typeof e.formatIbanCallback&&"function"===typeof window[e.formatIbanCallback]&&(f=window[e.formatIbanCallback]);$(this).on("input",b);b()});$('.nbf input.format-password-show[type\x3d"password"]').not(function(){return this.format_password_show_added}).each(function(){this.format_password_show_added=
!0;var b=this;$(this).closest(".bline").find("div.format-password-show").attr({tabindex:"0"}).on("click",function(){b.type="password"===b.type?"text":"password";$(b).focus();return!1})})});
$(document).on("if6_page_ready",function(){function b(b,a){var c=$.trim(b.val()).replace(/ {1,}/g," ").toLowerCase();a.find(".btag").removeClass("mark-doubling-entry").each(function(){this.btag_lc===c&&$(this).addClass("mark-doubling-entry")})}var c=function(b){var a={maxInputLength:25,maxTags:3,maxTagsNotify:""};(b=b.data("json"))&&b.taggingCfg&&(a.maxInputLength=b.taggingCfg.maxInputLength||a.maxInputLength,a.maxTags=isNaN(b.taggingCfg.maxTags)?a.maxTags:b.taggingCfg.maxTags,a.maxTagsNotify=b.taggingCfg.maxTagsNotify||
a.maxTagsNotify);return a},f=function(b){var a=c(b),d=$(document.createElement("div")).addClass("btag-wrapper "+b.attr("class")).insertAfter(b);d.append(b.prevAll(".btag-marker"));d.append(b);d.append($(document.createElement("div")).addClass("btag-reach-limiter-info").text(a.maxTagsNotify));d.append($(document.createElement("div")).addClass("btag-group"));b[0].btags=[];b.attr("value")&&0<b.attr("value").length&&(b[0].btags=JSON.parse(b.attr("value")),b.val(""));d.append($(document.createElement("input")).attr({type:"hidden",
value:"",id:b.attr("id"),name:b.attr("name")}));b.removeAttr("id").removeAttr("name");b.attr("maxlength",a.maxInputLength);return d},e=function(f,a){var d=c(f),g=a.find(".btag-group");g.empty();$.each(f[0].btags,function(){var a=$(document.createElement("a")).attr("href","#"),b=$(document.createElement("div")).addClass("btag").addClass("tag-deletable").appendTo(a);$(document.createElement("span")).html(this).appendTo(b);g.append(a);b[0].btag_lc=this.toLowerCase()});a.toggleClass("reach-max-count",
f[0].btags.length>=d.maxTags);a.find('input[type\x3d"hidden"]').val(JSON.stringify(f[0].btags));g.find("a").on("click",function(c){c.preventDefault();var d=this.innerText||"";f[0].btags=f[0].btags.filter(function(a){return a.toLowerCase()!==d.toLowerCase()});e(f,a);b(f,a);$(document).trigger("if6_page_ready_again");f.focus()})},g=function(b,a){var c=$.trim(b.val()).replace(/ {1,}/g," "),f=!1;b[0].btags.map(function(a){a.toLowerCase()===c.toLowerCase()&&(f=!0)});f?a.find(".btag").removeClass("mark-doubling-entry"):
(""!==c&&b[0].btags.push(c),e(b,a));""!==b.val()&&b.val("").trigger("input")};$("input.format-tag-input").not(function(){var b=this.btag_input_added;this.btag_input_added=!0;return b}).each(function(){function c(){a.btag_blur_timeout&&window.clearTimeout(a.btag_blur_timeout);a.btag_blur_timeout=window.setTimeout(function(){n.is(":focus")||0<h.find(":focus").length||g(d,h)},200)}var a=this,d=$(a),h=f(d);e(d,h);var n=h.next(".ficon").find("input");0<n.length&&d.addClass("has-inline-icon");$(a.form).on("submit, ajstep-presubmit",
function(){g(d,h);window.clearTimeout(a.btag_blur_timeout)});n.data("ajstep-disabled","true").on("click",function(a){a.preventDefault();g(d,h);d.focus()}).on("blur",c);d.on("value-replaced",function(){g($(this),h);d.focus()});d.on("keypress",function(a){if(13===a.which||10===a.which)a.preventDefault(),g($(this),h),d.focus()});d.on("blur",c);d.on("input",function(){b($(this),h)})})});
$(document).on("if6_page_ready",function(){$(".im+.ficon,.il+.ficon,.ixl+.ficon,.ixxl+.ficon,.im+.helptxt,.il+.helptxt,.ixl+.helptxt,.ixxl+.helptxt,.im+.helptxt,.il+.helpovly,.ixl+.helpovly,.ixxl+.helpovly,.bsearch input+.ficon").prev().not(function(){return $(this).hasClass("hide-following-submit")}).addClass("followed-by-icon").each(function(){var b=!1;if("INPUT"===this.tagName){if("text"!==this.type&&"password"!==this.type)return}else if($(this).is("div.btag-wrapper"))b=!0;else return;var c=$(this),
f=c.next(":visible");if(0>=f.length)b&&$(this).removeClass("followed-by-icon");else{c.css({marginRight:0});b=c.position().left+parseInt(c.css("width"),10);var e=f.position().left;e>b+10?c.css({marginRight:""}):(e>b&&c.css({marginRight:b-e+"px"}),c.addClass("has-inline-icon"),f.addClass("moved-icon"),c.removeClass("followed-by-icon"))}})});
$(document).on("if6_page_ready",function(){$(".bline input[data-sayt]").not(function(){return this.previousSibling&&$(this.previousSibling).hasClass("bsayt")}).on("keyup",function(){if(this.previousSibling&&$(this.previousSibling).hasClass("bsayt"))if(this.previousSibling.closeTimeout)window.clearTimeout(this.previousSibling.closeTimeout),this.previousSibling.closeTimeout=null;else if($(this.previousSibling).hide(),!(3>this.value.length)){var b=IF[this.getAttribute("data-sayt")],c,f="",e=this.value.toLowerCase();
for(c=0;c<b.length;++c)0>b[c].cmp.indexOf(e)||(f+="\x3cli\x3e\x3ch3\x3e"+b[c].value+"\x3c/h3\x3e",b[c].add&&(f+="\x3cp\x3e"+b[c].add+"\x3c/p\x3e"),f+='\x3cdiv\x3e\x3cinput type\x3d"submit" name\x3d"'+b[c].name+'" value\x3d"'+b[c].value+'" /\x3e\x3c/div\x3e\x3c/li\x3e');""!==f&&$(this.previousSibling).html('\x3cdiv onscroll\x3d"if (this.parentNode.closeTimeout){$(this.parentNode.nextSibling).focus();}return true;"\x3e\x3cul\x3e'+f+"\x3c/ul\x3e\x3c/div\x3e").css({display:"inline-block"})}}).before(function(){var b;
if((b=this.getAttribute("data-sayt"))&&b.length&&IF[b]&&IF[b].length){var c=IF[b];for(b=0;b<c.length;++b)c[b].cmp=c[b].value.toLowerCase();b=this.getAttribute("class")||"";b=b.replace(/\bhas-inline-icon\b/,"");return'\x3cdiv class\x3d"bsayt '+b+'"\x3e\x3c/div\x3e'}}).on("blur",function(){if(this.previousSibling&&$(this.previousSibling).hasClass("bsayt")){var b=this.previousSibling,c=$(b);b.closeTimeout=window.setTimeout(function(){c.hide()},300)}}).on("focus",function(){$(this).trigger("keyup")})});
$(document).on("if6_page_ready",function(){$("table.has-action-column").not(function(){var b=this.bpulldown_added;this.bpulldown_added=!0;return b}).each(function(){$(this).find("td:last-child").each(function(){if(!$(this).find(".ficon.rank5").length){var b=$(this).find(".ficon.rank3,.ficon.rank4").clone();1===b.length?$(this).find(".ficon.rank3,.ficon.rank4").removeClass("rank3 rank4"):1<b.length&&($(this).append('\x3cdiv class\x3d"bpulldown baction"\x3e\x3cspan class\x3d"ficon icon-if5_i_aktionen"\x3e\x3c/span\x3e\x3cdiv\x3e\x3cdiv\x3e\x3cul\x3e\x3c/ul\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'),
$(this).find(".bpulldown div div ul").append(b),$(this).find(".bpulldown div div ul .ficon").wrap("\x3cli\x3e\x3c/li\x3e"),$(this).find(".bpulldown\x3espan").not(function(){var b=this.click_added;this.click_added=!0;return b}).click(function(){var b=$(this).closest(".bpulldown").hasClass("pulldown_visible");$(".bpulldown").removeClass("pulldown_visible");b||$(this).closest(".bpulldown").addClass("pulldown_visible")}))}})})});
$(document).on("if6_page_ready",function(){$(".cbox-banking form").not(function(){var b=this.msgerror_checked;this.msgerror_checked=!0;return b}).each(function(){var b=$(this).find(".blineover .msgerror li:visible").first();if(b&&0<b.length){var c=$(this).attr("data-msg-hinweisvorhanden"),f=$(this).attr("data-msg-hinweislink");if(c&&f){$(this).prepend('\x3cdiv class\x3d"msglink"\x3e'+c+'\x3cdiv class\x3d"textbutton"\x3e\x3ca href\x3d"#"\x3e'+f+"\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e");var e=!1;if(0<b.closest(".if6_lightbox").length){e=
!0;var g=b.closest(".if6_inner");var m=parseInt(g.find(".cbox-banking .btopbuttonline\x3ediv").css("height"),10)||0}else g=$("html,body"),m="none"!==$(".if6_iconbar .iconbar").css("display")?$(".if6_iconbar .iconbar").height():$(".if6_pagenav").height();$(this).find(".msglink a").click(function(){var a=e?b.position().top:b.offset().top;g.animate({scrollTop:a-m},750,"easeInOutExpo");$(this).blur();return!1});var a=$(this).find(".msglink:visible");0<a.length&&window.setTimeout(function(){var b=e?a.position().top:
a.offset().top;g.scrollTop()>b-m&&g.scrollTop(b-m)},500)}}})});function focusBankingFormularElement(b){if(b&&!(0>=b.length)){var c=!1,f=b.not(function(){return 0<$(this).closest(".ajstep-replace").length}).find("a:visible, select:visible, textarea:visible, input:visible").toArray();for(b=0;!c&&b<f.length;++b)f[b].disabled||"INPUT"===f[b].tagName&&("hidden"===f[b].type||"submit"===f[b].type)||(f[b].focus(),"A"===f[b].tagName&&f[b].blur(),c=!0)}}
$(document).on("if6_page_ready",function(){function b(a){var b=a.indexOf("if6_outer");0<b&&(a=a.substr(0,b)+a.substr(b+9));b=a.indexOf("if6_inner");0<b&&(a=a.substr(0,b)+a.substr(b+9));return a}function c(a){a.find("form").each(function(){var a=$(this).attr("action");a&&(a=a.replace(/\.(ajstep|contactonly)/,""),$(this).attr("action",a))});a.find("a").each(function(){var a=$(this).attr("href");a&&(a=a.replace(/\.(ajstep|contactonly)/,""),$(this).attr("href",a))})}function f(b,e,f,g,m,r){function d(a){"current"!==
m&&"top"===m&&a.scrollTop(0)}function h(a){if(m&&1<m.length&&"#"===m.charAt(0)){var b=$(m);if(0<b.length){for(;b.is(":hidden");)b=b.parent();b=b.offset().top;a.scrollTop(b)}}}r||(r="none");b.attr("id",null);b.find("[id]").attr("id",null);b.attr("aria-hidden","true");var n=$(e).addClass("ajstep-new").insertAfter(b);n.next("[data-close-url]").each(function(){$(".nbf .header-misc a.nav-back").attr("href",$(this).data("close-url"));$(this).remove()});var p=b.closest(".if6_lightbox");if(0<p.length){if(0<
p.find(".lightbox-autoclose").length){var u=p.find(".lightbox-autoclose").siblings(".buttonline").find('input[type\x3d"submit"]').get(0);if(u){$(document).trigger("if6_page_ready");window.setTimeout(function(){u.click()},100);return}}d(p.find("\x3e.if6_inner"));a(n);focusBankingFormularElement(n)}else d($("html,body"));c(n);g&&(e=n.find(".bcontainer-content .cbox-banking").first(),0<e.length?e.prepend(g):(e=n.find(".cbox-banking").first(),0<e.length?e.prepend(g):n.prepend(g)));$(".if6_section").each(function(){$(this).attr("role",
"main");var a=$(this).find(".if6_inner\x3eh6").html();a&&$(this).attr("aria-label",a)});b.addClass("ajstep-replace");"none"===r&&b.fadeOut(400,function(){b.remove();n.removeClass("ajstep-new");0<p.length&&p.find("\x3e.if6_inner").scroll()});IF6.adjustBankingLevel();$(document).trigger("if6_page_ready");"function"===typeof setSessionTimeout&&setSessionTimeout();$(window).resize();window.setTimeout(function(){0<p.length?h(p.find("\x3e.if6_inner")):h($("html,body"))},100);f&&$(document).trigger(f)}function e(a,
b){return 0<a.indexOf(".webview.")?a.replace(/\.webview\./,"."+b+".webview."):0<a.indexOf(".html")?a.replace(/\.html/,"."+b+".html"):0<a.indexOf("?")?a.replace(/\?/,"."+b+".html?"):a+"."+b+".html"}function g(a,b,c,g,m){var d=g.closest(".if6_lightbox").data("ajstep-parent-section"),h=null;0<g.find(".lightbox-autoclose").length&&(h=g.find(".success-msg, .failure-msg").clone());$("body").removeClass("lightbox_visible");g.find("[id]").attr("id",null);g.attr("aria-hidden","true");g.closest(".if6_lightbox").removeClass("lightbox-visible");
window.setTimeout(function(){g.remove()},1E3);a&&$.ajax({method:"GET",url:e(a,b),timeout:0}).done(function(a){f(d,a,c,h,m||"current",null)}).fail(function(){window.location.href=a})}function m(d,g,n,p,u,r){$.ajax({method:"GET",url:e(d,"ajstep"),timeout:0}).done(function(e){var h=e.indexOf("REDIRECT_LOCATION\x3d");0<=h?window.location.href=e.substr(h+18):(h=e.indexOf("AJSTEP_LIGHTBOX_LOCATION\x3d"),0<=h?(d=decodeURIComponent(e.substr(h+25)),m(d,g,n,p,u,r)):(e=b(e),g?f(p,e,u,null,"top",null):(e='\x3cdiv class\x3d"if6_outer if6_lightbox lightbox-visible"'+
(n?' data-ajstep-parent-url\x3d"'+n+'"':"")+'\x3e\x3cdiv class\x3d"if6_inner"\x3e'+e+"\x3c/div\x3e\x3c/div\x3e",e=$(e).appendTo(".if6_main").data("ajstep-parent-section",p),c(e),a(e),$("body").addClass("lightbox_visible"),r&&e.data("lightboxPreviousFocus",r),focusBankingFormularElement(e),$(document).trigger("if6_page_ready"),"function"===typeof setSessionTimeout&&setSessionTimeout(),u&&$(document).trigger(u))))}).fail(function(){window.location.href=d})}IF6.ajstep||(IF6.ajstep={});IF6.ajstep.replaceAreas=
function(a,b,c,e,g){a.find(".block[id], .btableblock[id], .nbf-box[id], .nbf-container-box[id]").each(function(){var a=$(this),d=a.attr("id");b.replace&&"string"===typeof b.replace[d]&&(a.addClass("ajstep-start"),f(a,b.replace[d],g,null,c,e))})};var a=function(a){var b=a.closest(".if6_lightbox");b.find("\x3e.if6_inner\x3ea.close-icon").remove();if(0>=a.find("form").length&&0<a.find(".block.workflow_error").length||0<a.find(".add-lightbox-close-icon").length||0<a.find(".use-as-lightbox-close-icon").length)if(b.find("\x3e.if6_inner").prepend('\x3ca href\x3d"#" title\x3d"'+
IF6_lightbox_closeicon_text+'" class\x3d"close-icon disable-overlay-close"\x3e'+IF6_lightbox_closeicon_text+"\x3c/a\x3e"),0<a.find(".use-as-lightbox-close-icon").length){var c=a.find(".use-as-lightbox-close-icon");c.is("a")||(c=c.find("input").first());b.find("\x3e.if6_inner\x3e.close-icon").click(function(){c[0].click();return!1})}else b.find("\x3e.if6_inner\x3e.close-icon").click(function(){g(b.data("ajstep-parent-url"),"ajstep",null,a,"current");return!1})};$('form[data-ajstep] input[type\x3d"submit"], form[data-ajstep] input[type\x3d"image"], form[data-ajstep] a, form[data-ajstep] button').not(function(){var a=
this.ajstep_added;this.ajstep_added=!0;return this.target||$(this).data("ajstep-disabled")||this.href&&0===this.href.indexOf("javascript:")?!0:a}).on("click",function(){var a="ajstep";if($("body").hasClass("cq-wcm-edit")||$(this).data("ajstep-disabled"))return!0;if(0<$(this).closest(".ajstep-start").length)return!1;var c=this,n,p="",u=!1;if(this.form){var r,w,q=this.form,t=!1,A=[];var y=n=$(q).attr("action");var x=this.form.method;u="application/x-www-form-urlencoded; charset\x3dUTF-8";$(q).trigger("ajstep-presubmit");
for(r=0;r<q.elements.length;++r)switch(q.elements[r].type){case "image":case "submit":break;case "checkbox":case "radio":q.elements[r].checked&&(p+=q.elements[r].name+"\x3d"+encodeURIComponent(q.elements[r].value)+"\x26");break;case "file":t=!0;q.elements[r].files&&0===q.elements[r].files.length&&!q.elements[r].disabled&&(q.elements[r].disabled=!0,A.push(q.elements[r]));break;case "select-multiple":for(w=0;w<q.elements[r].options.length;++w)q.elements[r].options[w].selected&&(p+=q.elements[r].name+
"\x3d"+encodeURIComponent(q.elements[r].options[w].value)+"\x26");break;default:p+=q.elements[r].name+"\x3d"+encodeURIComponent(q.elements[r].value)+"\x26"}if(t)for(p=new FormData(q),p.append(this.name,this.value),u=!1,r=0;r<A.length;++r)A[r].disabled=!1;else p+=this.name+"\x3d"+encodeURIComponent(this.value)}else n=$(this).attr("href"),y=$(this).closest("form").attr("action"),x="GET";if(!n||"#"===n)return!0;var z=$(this).data("ajstep-anim")||"none",F=$(this).data("ajstep-scrollpos")||$(this).closest("form").data("ajstep-scrollpos")||
null,C=$(this).closest(".if6_section");0>=C.length&&(C=$(this).closest(".if6_contact\x3ediv\x3ediv"),a="contactonly");C.addClass("ajstep-start anim-"+z);var B=!1;0<C.closest(".if6_lightbox").length&&(B=!0);var L=$(this).data("ajstep-complete-event");$.ajax({method:x,url:e(n,a),timeout:0,processData:!1,contentType:u,data:p}).done(function(c){var d=!1,e=!1;if(0>c.indexOf("\x3csection")&&0>c.indexOf("\x3cdiv")){var h=c.indexOf("AJSTEP_LOCATION\x3d");if(0<=h){e=!0;var n=c.substr(h+16)}else h=c.indexOf("REDIRECT_LOCATION\x3d"),
0<=h?(e=!0,n=c.substr(h+18)):(h=c.indexOf("AJSTEP_LIGHTBOX_LOCATION\x3d"),0<=h&&(d=!0,n=c.substr(h+25)))}if(e){if(c=B)c=n,d=C.closest(".if6_lightbox").data("ajstep-parent-url"),c&&d?(e=c.indexOf("?"),0<e&&(c=c.substr(0,e)),e=d.indexOf("?"),0<e&&(d=d.substr(0,e)),c=c===d):c=!1;c?g(n,a,L,C,F||"current"):(window.location.href=n,C.removeClass("ajstep-start anim-"+z))}else d?m(n,B,y,C,L,null):(B&&(c=b(c)),f(C,c,L,null,F||"top",z))}).fail(function(){C.removeClass("ajstep-start anim-"+z);$(c).data("ajstep-disabled",
"true");window.setTimeout(function(){c.click()},100)});return!1});$("a").not(function(){return $(this).hasClass("blightbox-link")?this.lightbox_checked:!0}).each(function(){this.lightbox_checked=!0;var a=this.getAttribute("href");if(a&&"/"===a.charAt(0)){var b=a.indexOf("lightbox\x3d");if(!(0>=b||"?"!==a.charAt(b-1)&&"\x26"!==a.charAt(b-1)||$("body").hasClass("templ-searchresultpage"))){a=a.replace(/%26amp%3B/g,"%26");var c=getQueryParamValue(a,"lightbox");c=decodeURIComponent(c);b=c.indexOf("?");
c=0<b?c.substr(0,b)+".html"+c.substr(b):c+".html";this.target&&"_self"!==this.target&&"_top"!==this.target?this.setAttribute("href",c):$(this).click(function(){m(c,!1,null,null,null,this);return!1})}}})});var MutationObserver;
IF6.storeRowCondition=function(b){b.each(function(){return $(this).is(".btable.selfRestoringTableCondition, .btable.controlledTableConditionRestoration")});var c=$("body").data("btableCondition")||{};b.each(function(){var b=$(this).attr("class");c[b]={};var e=[];$(this).find("tr.tableroweven, tr.tablerowodd, tr.tableheader").not(".tablecampaign").each(function(b){var c="";$(this).is(".group-closed")&&(c+=" group-closed");$(this).is(".opened")&&(c+=" opened");$(this).is(".closed")&&(c+=" closed");
$(this).is(".invisible")&&(c+=" invisible");$(this).is(".visible")&&(c+=" visible");$(this).is(".depot-opened")&&(c+=" depot-opened");e[b]=c});c[b]={rowConditions:e}});$("body").data("btableCondition",c)};
$(document).on("if6_page_ready",function(){function b(a){var b=a.attr("class"),c=$("body").data("btableCondition");if(c&&c[b])for(a=a.find("tr.tableroweven, tr.tablerowodd, tr.tableheader").not(".tablecampaign"),a.removeClass("group-closed opened closed invisible visible depot-opened"),b=c[b].rowConditions,c=0;c<b.length;c++)$(a[c]).addClass(b[c])}function c(a){var b;a.hasClass("tablerowodd")?b=a.prevUntil("tr:not(.tablerowodd)").last():a.hasClass("tableroweven")&&(b=a.prevUntil("tr:not(.tableroweven)").last());
return b}function f(){$(".btable.row-clickable-except tr.tr-clickable").each(function(){$(this).removeClass("openRow goToInfo openMainRow");if($(this).hasClass("tablerowodd")&&$(this).prev("tr").hasClass("tablerowodd")||$(this).hasClass("tableroweven")&&$(this).prev("tr").hasClass("tableroweven")){var a=c($(this));a.hasClass("openRow")?$(this).addClass("openMainRow"):0<$(this).find(".icon-if5_symbol_banking_6:visible").length&&$(this).addClass("goToInfo");a.hasClass("goToInfo")&&0<$(this).find(".icon-if5_symbol_banking_6:visible").length&&
$(this).addClass("goToInfo")}else 0<$(this).find(".icon-if5_symbol_down:visible, .icon-if5_symbol_up:visible").length?$(this).addClass("openRow"):0<$(this).find(".icon-if5_symbol_banking_6:visible").length&&$(this).addClass("goToInfo")})}function e(a){var b,c=a.attr("class");if(!c)return null;c=c.split(" ");for(a=0;a<c.length;++a)if(b=m[c[a]])return b;return null}$(".btable.pfm-umsatz.clickFirstRowInitially").not(function(){var a=this.clickFirstRowInitially_added;this.clickFirstRowInitially_added=
!0;return a}).each(function(){var a=$(this).find("tr.tablerowodd, tr.tableroweven");4>a.length?a.click():a.first().click()});$(".btable.selfRestoringTableCondition, .btable.controlledTableConditionRestoration").not(function(){return 0<$(this).closest(".ajstep-replace").length}).each(function(){b($(this));if($(this).is(".selfRestoringTableCondition")){var a={attributes:!0,attributeFilter:["class"]},c=new MutationObserver(function(a){a.forEach(function(a){"attributes"===a.type&&"class"===a.attributeName&&
(a=$(a.target).closest(".btable"),IF6.storeRowCondition(a))})});$(this).find("tr.tableroweven, tr.tablerowodd, tr.tableheader").not(".tablecampaign").each(function(){c.observe(this,a)})}});var g=$(".btable.row-clickable-except tr.tablerowodd, .btable.row-clickable-except tr.tableroweven");(function(a){a.find("td").each(function(){0<$(this).find(".ficon").length?0<$(this).find(".icon-if5_symbol_down, .icon-if5_symbol_up").length&&$(this).addClass("td-clickable"):$(this).addClass("td-clickable")})})(g);
g.addClass("tr-clickable").not(function(){var a=this.clickHandlerAdded;this.clickHandlerAdded=!0;return a}).on("click","td.td-clickable",function(a){switch(a.target.tagName){case "INPUT":break;case "SPAN":if(!$(a.target).hasClass("checkbox")&&!$(a.target).hasClass("radio"))return!0;break;default:var b=$(this).closest(".goToInfo");if(0<b.length)return b.find(".ficon.icon-if5_symbol_banking_6 input:visible, a.ficon.icon-if5_symbol_banking_6:visible")[0].click(),!1;if($(a.target).is(".ficon.icon-if5_symbol_down, .ficon.icon-if5_symbol_up"))return!0;
a=$(this).closest(".openMainRow");if(0<a.length)return c(a).find(".ficon.icon-if5_symbol_down:visible, .ficon.icon-if5_symbol_up:visible").click(),!1;a=$(this).closest(".openRow");if(0<a.length)return a.find(".ficon.icon-if5_symbol_down:visible, .ficon.icon-if5_symbol_up:visible").click(),!1}});f();$(window).resize(function(){f()});var m={"mbf-finanzstatus-table":{baseAriaLevel:2,tableHeader:{switchColumn:2,ignoreRow:"tr.tablefooter.tablerowmarked"},switchedDataColumns:[5]},"pfm-umsatz":{baseAriaLevel:2,
tableHeader:{switchColumn:3},switchedDataColumns:[4]},"psd2-whitelist":{baseAriaLevel:2,tableHeader:{switchColumn:2},switchedDataColumns:[2]},"psd2-dienste":{baseAriaLevel:2,tableHeader:{switchColumn:2},switchedDataColumns:[2]},"psd2-karten":{baseAriaLevel:2,tableHeader:{switchColumn:2},switchedDataColumns:[2]}};$(".btableblock table").not(function(){var a=this.banking_aria_added;this.banking_aria_added=!0;return a}).each(function(a){var b=e($(this));if(b){var c={attributes:!0,attributeFilter:["class"]},
f="aria"+a+Date.now();b.tableHeader&&$(this).find("tr.tableheader").each(function(a){var d=$(this),e=d.attr("id");e||(e=f+"-"+a,d.attr({id:e}));d.attr({role:"heading","aria-level":b.baseAriaLevel});var g=d.find("td:nth-child("+b.tableHeader.switchColumn+") .ficon.icon-if5_symbol_up input, td:nth-child("+b.tableHeader.switchColumn+") .ficon.icon-if5_symbol_down input, td:nth-child("+b.tableHeader.switchColumn+") a.icon-if5_symbol_down, td:nth-child("+b.tableHeader.switchColumn+") a.icon-if5_symbol_up");
a=d.find("td:first-child");var h=a.attr("id");h||(h=e+"-td",a.attr({id:h}));var m="",n=!1;d.nextUntil("tr.tableheader").not(function(){var a=b.tableHeader.ignoreRow;if($(this).is($(a)))return $(a)}).each(function(a){var d=$(this),f=d.attr("id");f||(f=e+"-"+a,d.attr({id:f}));m+=f+" ";d.is(":visible")&&(n=!0);d.attr({role:"region","aria-labelledby":h,"aria-level":b.baseAriaLevel+1});d.find(".ficon input").each(function(){$(this).attr({role:"link"})});(new MutationObserver(function(a){a.forEach(function(a){"attributes"===
a.type&&"class"===a.attributeName&&g.attr({"aria-expanded":0===a.target.clientHeight?"false":"true"})})})).observe(this,c)});g.attr({"aria-labelledby":h,"aria-expanded":n?"true":"false","aria-controls":m})});b.switchedDataColumns&&$(this).find("tr.tableroweven, tr.tablerowodd").each(function(a){var d=$(this),e=!1,g,h="",m=new MutationObserver(function(a){a.forEach(function(a){"attributes"===a.type&&"class"===a.attributeName&&(a=0===a.target.querySelector("td:nth-child("+n+")").clientHeight,d.attr({"aria-expanded":a?
"false":"true"}))})});for(g=0;g<b.switchedDataColumns.length;++g){var n=b.switchedDataColumns[g];var p=d.find("td:nth-child("+n+")");if(0<p.length){p.is(":visible")&&(e=!0);var x=p.attr("id");x||(p.attr({id:f+"-"+a+"-td"+n}),x=p.attr("id"));h+=x+" ";m.observe(this,c)}}$(this).attr({"aria-expanded":e?"true":"false","aria-controls":h})})}})});
$(document).on("if6_tablecampaign",function(){function b(b,f,e){if(e.test(b.html()))return!0;(e=b.find(".iban\x3espan:first-child").text())||(e=b.find(".iban").text());if(e){if(e===f)return!0;e=e.replace(/ /g,"");if(e===f||e.substr(-10)===String("000000000"+f).substr(-10))return!0}return!1}$(".cbox-banking .campaign").each(function(){var c=$(this);$(this).find(".campaign-top").not(function(){var b=this.click_added;this.click_added=!0;return b}).on("click",function(){c.toggleClass("campaign-visible");
c.hasClass("campaign-visible")?c.attr("aria-expanded","true"):c.attr("aria-expanded","false");$(this).blur();return!1});c.attr("aria-expanded","false");var f=$(this).attr("data-campref"),e=$(this).attr("data-camprefcol");if(f){var g=new RegExp("\\b"+f.replace(/\*/g,"\\*")+"\\b");isNaN(e)?0<e.length&&"n"===e.charAt(0)&&1<e.length&&"b"===e.charAt(1)&&$(this).closest(".cbox-banking").find(".nbf-box").each(function(){var m=!1,a=$(this);if(2<e.length&&"c"===e.charAt(2)){var d=e.substr(3);isNaN(d)||(d=
a.find(".nbf-box__content").eq(d),0<d.length&&(m=b(d,f,g)))}if(m)return m=$('\x3cdiv class\x3d"nbf-row"\x3e\x3c/div\x3e').appendTo(a),$('\x3cdiv class\x3d"nbf-col"\x3e\x3c/div\x3e').appendTo(m).append(c.detach()),!1}):$(this).closest(".cbox-banking").find(".btableblock .btable").each(function(){var m,a=0,d;for(m=0;m<this.rows.length;++m)if(this.rows[m].cells.length>a&&(a=this.rows[m].cells.length),!(this.rows[m].cells.length<=e)&&(d=b($(this.rows[m].cells[e]),f,g))){if(m=this.insertRow(m+1))$(m).addClass("tablecampaign").html('\x3ctd colspan\x3d"'+
a+'"\x3e\x3c/td\x3e'),$(m).find("td").append(c.detach());e=null;break}})}})});$(document).on("if6_page_ready",function(){$(document).trigger("if6_tablecampaign")});
function toggleClassInRows(b){for(var c=!1,f=b,e=b.is(".tableheader"),g=b.is(".toggle-group-items"),m=b.is(".toggle-group");!1===c;)b=f.is(".tablerowodd")?".tablerowodd":f.is(".tableroweven")?".tableroweven":"",f=f.next(),0!==f.length?f.is(".tableheader")?c=!0:m?e?(f.addClass("toggle-group-row"),f.is(".toggle-group-open")&&f.addClass("toggle-group").removeClass("toggle-group-open toggle-table-row-open")):f.is(b)?f.addClass("toggle-group-row"):c=!0:f.is(".toggle-group-open")?f.addClass("toggle-table-row-open"):
f.is(b)?e||(f.removeClass("toggle-group-row toggle-table-row-open"),g&&0<f.children("td:last-child").children().length&&f.addClass("toggle-table-row-open").removeClass("hoverable")):e?f.removeClass("toggle-group-row"):c=!0:c=!0}
$(document).on("if6_page_ready",function(){function b(b){if(!b.closest(".btable").is(".restore-toggle-states"))return!1;var c=$("body").data("tableRowState")||{},f=b.attr("id");b=b.attr("class");c[f]=(b.match(/[a-z\-]*toggle-[a-z\-]*/gi)||[]).join(" ");$("body").data("tableRowState",c)}function c(b,c){return c.replace(/(^|\s)toggle-\S+/g,"")}(function(b){if(0===b.length)return!1;b=$("body").data("tableRowState");var e;if(b&&"object"===typeof b){for(e in b)b.hasOwnProperty(e)&&$("tr#"+e).attr("class",
c).addClass(b[e]);$("body").removeData("tableRowState")}})($(".btable.restore-toggle-states"));$(".btable.toggle-table-row tr.tablerowodd, .btable.toggle-table-row tr.tableroweven").not(".textbutton-column").each(function(){var c=$(this);c.is(".hoverable")||0<c.children("td:last-child").children().length&&c.addClass("hoverable").click(function(e){var f=$(e.target);if(f){if(f.closest("td").is("td:last-child")&&f.is("div.ficon, a.ficon"))return!0;switch(e.target.tagName){case "A":case "INPUT":break;
case "SPAN":if(!$(e.target).hasClass("checkbox")&&!$(e.target).hasClass("radio"))return c.toggleClass("toggle-table-row-open"),b(c),!1;break;default:return c.toggleClass("toggle-table-row-open"),b(c),!1}}})});$('.btable.toggle-table-row.close-on-check td input[type\x3d"checkbox"]').not(function(){var b=this.close_on_check_added;this.close_on_check_added=!0;return b}).on("click",function(){this.checked&&$(this).closest("tr.toggle-table-row-open").removeClass("toggle-table-row-open")});$(".btable.toggle-table-group tr.toggle-group, .btable.toggle-table-group tr.toggle-group-open").not(function(){var b=
this.toggle_group;this.toggle_group=!0;return b}).each(function(){var c=$(this);c.is(".toggle-group-items")&&c.addClass("hoverable");toggleClassInRows(c);c.click(function(){c.toggleClass("toggle-group-open toggle-group");b(c);toggleClassInRows(c)})})});
$(document).on("if6_page_ready",function(){function b(b){var c=b.find(".carousel_play .left"),f=b.find(".carousel_play .right"),m=b.find(".bcontent:visible"),a=b.children().first().width();if(0<m.length){m=m.length*parseFloat(m.css("width"));var d=b.children().first().scrollLeft();1>d?c.addClass("disabled"):c.removeClass("disabled");d>=Math.floor(m,10)-Math.ceil(a)?f.addClass("disabled"):f.removeClass("disabled")}else c.addClass("disabled"),f.addClass("disabled");b.has("width_reduced")&&(b=(b.width()-
a)/2,c.css({paddingLeft:b+"px"}),f.css({paddingRight:b+"px"}))}function c(c){$(".bcarousel").each(function(){if(!this.windowWidth||this.windowWidth!==window.innerWidth){this.windowWidth=window.innerWidth;var e=$(this),f=e.children().first();f.css({width:"100%"});var m=f.width();f=f.find(".bcontent:visible");if(f.css("minWidth")&&0!==parseInt(f.css("minWidth"),10)){e=parseInt(f.css("minWidth"),10);e=parseInt(m/e,10);var a=f.length;a<e&&(e=a);m/=e;f.add(".bcontent.error").css({width:m})}else f=parseFloat(f.css("width")),
m=Math.floor(m/f,10)*f,e.children().first().css({width:m}),e.addClass("width_reduced");!0===c&&(m=$(this).find(".carousel_play"))&&0>=m.length&&$(this).append('\x3cdiv class\x3d"carousel_play"\x3e\x3cspan class\x3d"left" onclick\x3d"$(this).closest(\'.bcarousel\').trigger(\'carousel-prev\');"\x3e\x3c/span\x3e\x3cspan class\x3d"right" onclick\x3d"$(this).closest(\'.bcarousel\').trigger(\'carousel-next\');"\x3e\x3c/span\x3e\x3c/div\x3e');$(this).children().first().animate({scrollLeft:0},0,"easeInOutExpo");
b($(this))}})}$(".bcarousel").not(function(){var b=this.handlerAttached;this.handlerAttached=!0;return b}).on("swiperight",function(){$(this).trigger("carousel-prev")}).on("swipeleft",function(){$(this).trigger("carousel-next")}).on("carousel-next",function(){var c=$(this),e=c.children().first(),g=e.scrollLeft()+Math.round(e.width());e.animate({scrollLeft:g},{easing:"easeInOutExpo",duration:500,complete:function(){b(c)}})}).on("carousel-prev",function(){var c=$(this),e=c.children().first(),g=e.scrollLeft()-
Math.round(e.width());e.animate({scrollLeft:g},{easing:"easeInOutExpo",duration:500,complete:function(){b(c)}})}).on("reorganize-elements",function(){$(this).find(".bcontent.error").removeClass("visible");$(this).children().first().animate({scrollLeft:0},0,"easeInOutExpo");0===$(this).find(".bcontent:visible").length&&$(this).find(".bcontent.error").addClass("visible");b($(this))});c(!0);$(window).not(function(){var b=this.bcarouselAttached;this.bcarouselAttached=!0;return b}).on("resize",c)});
$(document).on("if6_page_ready",function(){function b(b){var c=$(b).find(".scrollelement"),e=c.length;if(1>=e)return 0;c=parseFloat(c.css("width"));var g=$(b).parent().width();b=e*c-$(b).width();e=c-b/(e-1);3*c-2*e<=g?e*=3:2*c-e<=g&&(e*=2);return e}$(".block.swipe-horizontal, .bline.swipe-horizontal").not(function(){var b=this.swipe_added;this.swipe_added=!0;return b}).on("swipeleft",function(){var c=$(this).width();$(this).children(".scrollpane").each(function(){$(this).width()+$(this).position().left>
c+100&&$(this).animate({left:"-\x3d"+b(this)},500,"easeInOutExpo");return!1})}).on("swiperight",function(){$(this).children(".scrollpane").each(function(){-100>$(this).position().left&&$(this).animate({left:"+\x3d"+b(this)},500,"easeInOutExpo");return!1})})});$(window).on("resize",function(){$(".block.swipe-horizontal .scrollpane, .bline.swipe-horizontal .scrollpane").css({left:0})});
$(document).on("if6_page_ready",function(){$("select[data-json]").not(function(){var b=this.multiline_added;this.multiline_added=!0;return b}).each(function(){function b(){var a=h.value,b=d.data("json"),c="";a&&""!==a&&p.html(n.find('div[data-value\x3d"'+a+'"]\x3e*:first-child').clone());a&&""!==a&&b&&b.entries[a]&&b.entries[a].details&&(c=b.entries[a].details);n.find(".bselected-details").remove();""!==c&&n.append('\x3cdiv class\x3d"bselected-details"\x3e'+c+"\x3c/div\x3e")}function c(a,b){var d,
e="";for(d=0;d<a.length;++d){var f=a.eq(d);var g=f.get(0);if("OPTION"===g.tagName){var h=f.html();e+='\x3cli id\x3d"'+b+"-"+d+'" role\x3d"option"\x3e\x3cdiv data-value\x3d"'+g.value+'"';r.searchInitial&&(e+=' data-search\x3d"'+h.charAt(0).toLowerCase()+'"');e+='\x3e\x3cspan class\x3d"default"\x3e'+h+"\x3c/span\x3e\x3c/div\x3e\x3c/li\x3e"}else"OPTGROUP"===g.tagName&&(e+="\x3cli\x3e",(h=f.attr("label"))&&""!==h&&(e+='\x3cspan class\x3d"group"\x3e'+f.attr("label")+"\x3c/span\x3e"),e+="\x3cul\x3e",e+=
c(f.children(),b+"-"+d),e+="\x3c/ul\x3e\x3c/li\x3e")}return e}function f(){n.find("li.preselected").each(function(){var a=n.find(".active+ul").scrollTop(),b=n.find(".active+ul").height(),c=$(this).position().top;c+=parseInt($(this).css("borderTopWidth"),10);var d=$(this).height();0===c&&$(this).parent().parent("li").each(function(){c+=$(this).position().top});0>c?(a+=c,n.find(".active+ul").scrollTop(a)):c+d>b&&(a+=c+d-b,n.find(".active+ul").scrollTop(a))})}function e(){$(".bselect-multiline").removeClass("visible").find(".bselect-list\x3e.active").removeAttr("aria-expanded");
n.find("li").removeClass("preselected selected").removeAttr("aria-selected");var a=n.find('div[data-value\x3d"'+h.value+'"]').eq(0);a.parent().addClass("preselected selected").attr("aria-selected","true");n.addClass("visible");n.find(".active+ul").attr("aria-activedescendant",a.parent().attr("id")).focus();p.attr("aria-expanded","true");f()}function g(){var a,b=n.find("li.preselected\x3ediv").attr("data-value");for(a=0;a<h.options.length;++a)if(h.options[a].value===b){a!==h.selectedIndex&&(h.selectedIndex=
a,d.trigger("change"));break}}function m(a){u.eq(a).parent().removeClass("preselected").removeAttr("aria-selected")}function a(a){u.eq(a).parent().addClass("preselected").attr("aria-selected","true");n.find(".active+ul").attr("aria-activedescendant",u.eq(a).parent().attr("id"));p.html(u.eq(a).find("\x3e*:first-child").clone());f()}var d=$(this),h=d.get(0),n=d.parent(),p=null,u=null;d.on("refresh-selectbox",function(){var a=d.data("json");n.find("div[data-value]").each(function(){var b="",c=$(this).data("value");
a.entries[c]&&(b=a.entries[c].content,a.entries[c].onselectUrl&&(b+='\x3ca tabindex\x3d"-1" href\x3d"'+a.entries[c].onselectUrl+'"\x3e\x3c/a\x3e'),a.entries[c].search&&$(this).data("search",a.entries[c].search.toLowerCase()));b&&""!==b&&$(this).html(b)});b();d.find("option").each(function(){var a=n.find('div[data-value\x3d"'+this.value+'"]').parent();this.disabled?a.addClass("disabled").attr("aria-disabled","true"):a.removeClass("disabled").removeAttr("aria-disabled");"none"===$(this).css("display")?
a.addClass("hide"):a.removeClass("hide")});d.is("[disabled]")?p.attr("tabindex","-1").attr("aria-disabled","true"):p.attr("tabindex","0").removeAttr("aria-disabled");$(document).trigger("if6_page_ready_again");a.onloadUrl&&$.ajax({method:"GET",url:a.onloadUrl,timeout:2E4}).done(function(a){d.data("json",a);d.trigger("refresh-selectbox")});u=n.find("div[data-value]").not(function(){return $(this).parent().hasClass("disabled")})});var r=d.data("json");if(r.type&&r.type.match(/^select-/)&&r.entries&&
h.options.length){var w="bsml"+Date.now();var q=null;if(d.attr("id")){var t=n.siblings("[for\x3d"+d.attr("id")+"]");t&&0<t.length&&(t.attr("id")||t.attr("id",d.attr("id")+"lbl"),q=t.attr("id"),t.attr("aria-hidden","true"),t.on("click",function(){p.focus();return!1}))}q='\x3cdiv class\x3d"bselect-list"\x3e\x3cdiv role\x3d"button" class\x3d"active" aria-haspopup\x3d"listbox" id\x3d"'+w+'-button" aria-labelledby\x3d"'+(q?q+" ":"")+w+'-button"\x3e\x3c/div\x3e'+('\x3cul role\x3d"listbox" aria-orientation\x3d"vertical" aria-modal\x3d"true" tabindex\x3d"-1"'+
(q?' aria-labelledby\x3d"'+q+'"':"")+' class\x3d"'+d.attr("class")+'"\x3e');q+=c(d.children(),w);q+="\x3c/ul\x3e\x3c/div\x3e";n.addClass("bselect-multiline").addClass(r.type).append(q);p=n.find(".bselect-list\x3e.active");n.find("li\x3ediv").on("click",function(a){if(a&&a.target&&"A"===a.target.tagName)return!0;var b=$(this).attr("data-value");for(a=0;a<h.options.length;++a)if(h.options[a].value===b){a!==h.selectedIndex&&(h.selectedIndex=a,d.trigger("change"));break}n.removeClass("visible");p.removeAttr("aria-expanded").focus();
return!1}).on("mouseenter",function(){n.hasClass("visible")&&(n.find("li.preselected").removeClass("preselected").removeAttr("aria-selected"),$(this).closest("li").addClass("preselected").attr("aria-selected","true"),f())});d.on("change",function(){var a=n.find('div[data-value\x3d"'+this.value+'"]').eq(0),c;if(a&&a.length)if(n.removeClass("visible"),p.removeAttr("aria-expanded"),b(),c=a.find("a").get(0))window.setTimeout(function(){c.click()},100);else if(a=$(this).data("following-submit"))return a.is("a")?
a.click():a.find("input").click(),!1});p.on("click",function(){n.hasClass("visible")?(g(),n.removeClass("visible"),p.removeAttr("aria-expanded")):e();return!1});n.find(".active+ul").on("blur",function(){h.blur_timeout||(h.blur_timeout=window.setTimeout(function(){g();n.removeClass("visible");p.removeAttr("aria-expanded");h.blur_timeout=null},300))}).on("focus",function(){h.blur_timeout&&(window.clearTimeout(h.blur_timeout),h.blur_timeout=null)});n.find(".active, .active+ul").on("keydown",function(b){switch(b.which){case 9:case 10:case 13:case 27:return n.hasClass("visible")&&
n.find("li.preselected\x3ediv").click(),9===b.which;case 32:return n.hasClass("visible")||e(),!1;case 38:if(n.hasClass("visible"))for(b=1;b<u.length;++b){if(u.eq(b).parent().hasClass("preselected")){m(b);a(b-1);break}}else e();return!1;case 40:if(n.hasClass("visible"))for(b=0;b<u.length-1;++b){if(u.eq(b).parent().hasClass("preselected")){m(b);a(b+1);break}}else e();return!1}return!0}).on("keyup",function(b){if(r.searchInitial&&n.hasClass("visible")){b=b.originalEvent||b;b=b.key||String.fromCharCode(b.which);
b=b.toLowerCase();var c,d=-1;for(c=0;c<u.length;++c)if(u.eq(c).parent().hasClass("preselected")){d=c;break}for(c=0;c<u.length;++c){var e=(c+d+1)%u.length;if(String(u.eq(e).data("search"))===b)return 0<=d&&m(d),a(e),!1}}return!0});d.trigger("refresh-selectbox");d.attr("tabindex","-1");d.attr("aria-hidden","true")}})});
$(document).on("if6_page_ready",function(){function b(b,c){(new MutationObserver(function(b){b.forEach(function(a){a=a.target;var b=a.closest(".nbf-bselect-multiline");a.classList.contains("visible")?b.classList.add("inline-content-visible"):b.classList.remove("inline-content-visible")})})).observe(c,f)}var c=document.querySelectorAll(".select-wrap.bselect-multiline.select-default"),f={attributes:!0};0<c.length&&c.forEach(function(c,f){b(f,c)})});
$(document).on("if6_page_ready",function(){$("select.bselect-tab").not(function(){return this.selecttab_added}).each(function(){this.selecttab_added=!0;var b=this,c=$(this),f=c.closest(".select-wrap"),e,g='\x3cdiv class\x3d"';c.attr("class").split(" ").forEach(function(a){a.match(/^bselect-tab/)&&(g+=" b"+a.substr(8))});g+='"\x3e';for(e=0;e<b.options.length;++e)b.options[e].disabled?g+="\x3cspan\x3e"+b.options[e].text+"\x3c/span\x3e":(g+='\x3ca href\x3d"#" data-value\x3d"'+b.options[e].value+'"',
b.options[e].selected&&(g+=' class\x3d"active"'),g+="\x3e"+b.options[e].text+"\x3c/a\x3e");g+="\x3c/div\x3e";var m=0<f.length?$(g).insertBefore(f):$(g).insertBefore(c);m.find("a").on("click",function(){var a;for(a=0;a<b.options.length;++a)if(b.options[a].value===$(this).attr("data-value")){a!==b.selectedIndex&&(b.selectedIndex=a,m.find(".active").removeClass("active"),$(this).addClass("active"),c.trigger("change"));break}return!1})})});
$(document).on("if6_page_ready",function(){$("input[data-json]").not(function(){var b=this.sayt_added;this.sayt_added=!0;return b}).each(function(){function b(){x.toggleClass("has-sayt-elements",0<z.find(".binput-sayt-elements [data-value]").length)}function c(){if(z){var a=JSON.stringify(q.multipleInput);z.find('input[type\x3d"hidden"]').val(a)}}function f(a,b){var c;for(c=0;c<q.multipleInput.length;++c)if(q.multipleInput[c].category===a&&q.multipleInput[c].value===b){q.multipleInput.splice(c,1);
break}}function e(a,c){z.find(".binput-sayt-elements .cat-"+a+'[data-value\x3d"'+c+'"]').remove();b()}function g(a,d,e){e=F[a].deletable?'\x3ca href\x3d"#"\x3e'+e+"\x3c/a\x3e":"\x3cdiv\x3e"+e+"\x3c/div\x3e";var g=t.multipleInput.keepEnteredOrder?z.find(".binput-sayt-elements"):z.find(".binput-sayt-elements .container-"+a);$(e).appendTo(g).each(function(){$(this).addClass("cat-"+a).attr("data-value",d);b();$(this).find(".btag").addClass("tag-deletable");if($(this).is("a"))$(this).on("click",function(){if(t.multipleInput.keepEnteredOrder)f(a,
String($(this).data("value")));else{var d=q.multipleInput[a].indexOf($(this).data("value"));0<=d&&q.multipleInput[a].splice(d,1)}c();x.empty();$(this).remove();b();w.trigger("entry-deleted");return!1})})}function m(a,b){var c=b;if(t.internalSearchResults&&t.internalSearchResults.searchresult&&t.internalSearchResults.searchresult.categories){var d,e=t.internalSearchResults.searchresult.categories;for(d=0;d<e.length;++d){var f=e[d];if(f.name&&f.name===a&&f.results){for(a=0;a<f.results.length;++a)if(f.results[a].value===
b&&f.results[a].content){c=f.results[a].content;break}break}}}return c}function a(){x.removeClass("visible");w.removeAttr("aria-expanded").removeAttr("aria-activedescendant").css({marginBottom:""})}function d(b){var d=b.find("input");if(d&&0<d.length)d.click();else if(d=b.find("div[data-value]").data("value")){a();if(q.multipleInput){var h=b.parent().closest("li").data("name");if(h)if(t.multipleInput.keepEnteredOrder){e(h,d);f(h,d);var m,n=0;for(m=q.multipleInput.length-1;0<=m;--m)if(q.multipleInput[m].category===
h&&(n++,F[h].maxCount===n)){e(h,q.multipleInput[m].value);f(h,q.multipleInput[m].value);break}q.multipleInput.push({category:h,value:d});g(h,d,b.find("div[data-value]").html());f("_input",q.value);d="";c();x.empty()}else q.multipleInput[h]&&(m=q.multipleInput[h].indexOf(d),0<=m&&(q.multipleInput[h].splice(m,1),e(h,d)),F[h].maxCount===q.multipleInput[h].length&&(e(h,q.multipleInput[h][0]),q.multipleInput[h].shift()),q.multipleInput[h].push(d),g(h,d,b.find("div[data-value]").html()),d="",q.multipleInput._input[q.multipleInput._input.length-
1]="",c(),x.empty())}q.last_value=d;q.value=d;w.trigger("focus",!0);w.trigger("value-replaced")}}function h(){x.find("li.preselected").each(function(){var a=x.find("\x3eul").scrollTop(),b=x.find("\x3eul").height(),c=$(this).position().top;c+=parseInt($(this).css("borderTopWidth"),10);var d=$(this).height();0===c&&$(this).parent().parent("li").each(function(){c+=$(this).position().top});0>c?(a+=c,x.find("\x3eul").scrollTop(a)):c+d>b&&(a+=c+d-b,x.find("\x3eul").scrollTop(a))})}function n(){x.css({marginLeft:""}).addClass("visible");
var a=w,b=x,c=a.offset().left,d=c+parseFloat(a.css("width"));a=a.closest(".cbox").offset().left;var e=b.offset().left,f=parseFloat(b.css("width"));a<=d-f?b.css({marginLeft:d-(e+f)+"px"}):b.css({marginLeft:c-e+"px"});e=w;b=x;c=parseFloat(b.css("height"));a=b.offset().top+c;var g=d=e.closest(".if6_lightbox\x3e.if6_inner");0>=d.length&&(d=$("html"),g=$(".if6_main"));f=e.offset().top+parseFloat(e.css("height"));g=g.height();if(c+f>g){var h=parseFloat(e.css("marginBottom"))||0;e.css({marginBottom:h+f+
c-g+2})}g=d.scrollTop();h=g+d.height();a>h&&(f=e.offset().top,e=e.closest(".bline"),0<e.length&&(f=e.offset().top),f>g&&(a=g+a-h+1,a>f&&(a=f),d.scrollTop(a),g=d.scrollTop(),h=g+d.height(),a=b.offset().top+c),a>h&&(c-=a-h+1,b.find("\x3eul").css({maxHeight:c+"px"})));x.find("\x3eul").scrollTop(0);$("body").hasClass("nbf")&&0<x.next("input").length&&(b=x.next("input").offset().top-12,$("html, body").animate({scrollTop:b},1E3))}function p(a){var b="",c,e;if(a.categories&&0<a.categories.length){var f=
"bisayt"+Date.now();var g=null;w.attr("id")&&(c=w.siblings("[for\x3d"+w.attr("id")+"]"))&&0<c.length&&(c.attr("id")||c.attr("id",w.attr("id")+"lbl"),g=c.attr("id"));b+='\x3cul role\x3d"listbox" id\x3d"'+f+'"'+(g?' aria-labelledby\x3d"'+g+'"':"")+"\x3e";for(g=0;g<a.categories.length;++g){var m=a.categories[g];if(m.results&&0<m.results.length){if(m.name){if(t.multipleInput.keepEnteredOrder)for(c=e=0;c<q.multipleInput.length;++c)q.multipleInput[c].category===m.name&&e++;else e=q.multipleInput[m.name].length;
if(F[m.name]&&F[m.name].maxCount<=e&&!F[m.name].autodelete)continue;b+='\x3cli class\x3d"cat-'+m.name+'" data-name\x3d"'+m.name+'"\x3e'}else b+="\x3cli\x3e";m.title&&(b+='\x3cdiv class\x3d"group"\x3e'+m.title,m.link&&(b=m.link.internalSearchLinkParameter?b+('\x3ca tabindex\x3d"-1" href\x3d"#" data-linkdata\x3d"'+m.link.internalSearchLinkParameter+'"\x3e'+m.link.text+"\x3c/a\x3e"):b+('\x3ca tabindex\x3d"-1" aria-hidden\x3d"true" href\x3d"'+m.link.url+'"\x3e'+m.link.text+"\x3c/a\x3e")),b+="\x3c/div\x3e");
b+="\x3cul\x3e";for(c=0;c<m.results.length;++c)b+='\x3cli class\x3d"saytentry" role\x3d"option" id\x3d"'+f+"-"+g+"-"+c+'"\x3e',b=m.results[c].buttonName?b+("\x3cdiv\x3e"+m.results[c].content+'\x3cinput tabindex\x3d"-1" type\x3d"submit" name\x3d"'+m.results[c].buttonName+'" value\x3d"'+m.results[c].buttonName+'" /\x3e\x3c/div\x3e'):b+('\x3cdiv data-value\x3d"{\x26quot;i\x26quot;:'+g+",\x26quot;j\x26quot;:"+c+'}"\x3e'+m.results[c].content+"\x3c/div\x3e"),b+="\x3c/li\x3e";b+="\x3c/ul\x3e\x3c/li\x3e"}}x.html(b+
"\x3c/ul\x3e");n();x.find("div[data-value]").each(function(){var b=$(this).data("value");!b||isNaN(b.i)||isNaN(b.j)||(b=a.categories[b.i].results[b.j].value||a.categories[b.i].results[b.j].content,$(this).data("value",b))});x.find(".saytentry").on("click",function(a){$(a.target).is("input")||d($(this))}).on("mouseenter",function(){x.find("li.preselected").removeClass("preselected").removeAttr("aria-selected");$(this).closest("li").addClass("preselected").attr("aria-selected","true");h()});x.find("a[data-linkdata]").on("click",
function(){if(A){w.trigger("focus",!0);var a=A(q.multipleInput||q.value,$(this).data("linkdata"),t.internalSearchResults);a&&p(a.searchresult)}return!1});w.attr({role:"combobox","aria-haspopup":"listbox","aria-expanded":"true","aria-owns":f,"aria-autocomplete":"list","aria-controls":f});$(document).trigger("if6_page_ready_again")}else x.empty()}function u(){q.search_timeout=null;var b=q.value,c=q.multipleInput||b,d;if(t.restapiTemplate){for(d=0;d<t.restapiTemplate.process.processInput.processParameter.length;++d){var e=
t.restapiTemplate.process.processInput.processParameter[d];if(e.name&&e.name===t.paramName){e.value=c;break}}d>=t.restapiTemplate.process.processInput.processParameter.length&&t.restapiTemplate.process.processInput.processParameter.push({name:t.paramName,value:c});c=JSON.stringify(t.restapiTemplate);d="application/json; charset\x3dUTF-8";var f="restapi"}else c=t.paramName+"\x3d"+encodeURIComponent(JSON.stringify(c)),d="application/x-www-form-urlencoded; charset\x3dUTF-8",f="form";$.ajax({method:q.form.method.toUpperCase(),
url:t.searchUrl,processData:!1,data:c,contentType:d,timeout:2E4}).done(function(c){b===q.value&&($(".binput-sayt").removeClass("visible"),a(),"restapi"===f&&c.process&&c.process.processResult&&(c=c.process.processResult.processResultData),c&&(c.minChars&&(t.minChars=c.minChars),c.deferRequestBy&&(t.deferRequestBy=c.deferRequestBy),c.searchresult&&p(c.searchresult)))})}function r(){q.search_timeout=null;if(A){$(".binput-sayt").removeClass("visible");a();var b=A(q.multipleInput||q.value,null,t.internalSearchResults);
b&&b.searchresult&&p(b.searchresult)}else t.internalSearchResults&&t.internalSearchResults.searchresult&&p(t.internalSearchResults.searchresult)}var w=$(this),q=w.get(0),t=w.data("json");if(t.type&&t.type.match(/^input-sayt-/)&&t.searchUrl&&t.paramName){this.last_value=this.value;t.minChars||(t.minChars=3);t.deferRequestBy||(t.deferRequestBy=200);var A=null;t.internalSearchFunction&&"string"===typeof t.internalSearchFunction&&"function"===typeof window[t.internalSearchFunction]&&(A=window[t.internalSearchFunction]);
var y=q.getAttribute("class")||"";y=y.replace(/\bhas-inline-icon\b/,"");var x=$('\x3cdiv class\x3d"binput-sayt '+t.type+" "+y+'"\x3e\x3c/div\x3e').insertBefore(w),z=null,F={};if(t.multipleInput&&t.multipleInput.categories){z=$(document.createElement("div")).addClass("binput-sayt-wrapper "+y).insertAfter(w);z.append(w);z.append('\x3cdiv class\x3d"binput-sayt-elements"\x3e\x3c/div\x3e');z.append($(document.createElement("input")).attr({type:"hidden",value:w.val(),id:w.attr("id"),name:w.attr("name")}));
w.removeAttr("id").removeAttr("name");for(y=0;y<t.multipleInput.categories.length;++y){var C=t.multipleInput.categories[y].name;t.multipleInput.keepEnteredOrder||z.find(".binput-sayt-elements").append('\x3cdiv class\x3d"container-'+C+'"\x3e\x3c/div\x3e');F[C]=t.multipleInput.categories[y];isNaN(F[C].maxCount)&&(F[C].maxCount=1)}q.multipleInput=t.multipleInput.keepEnteredOrder?[]:{};w.attr("value")&&0<w.attr("value").length&&(q.multipleInput=JSON.parse(w.attr("value")),w.val(""),q.multipleInput||(q.multipleInput=
t.multipleInput.keepEnteredOrder?[]:{}),c());if(t.multipleInput.keepEnteredOrder){var B=-1;for(y=0;y<q.multipleInput.length;++y)C=q.multipleInput[y].category,"_input"===C&&(B=y),g(C,q.multipleInput[y].value,m(C,q.multipleInput[y].value));0<=B?(w.val(q.multipleInput[B].value),e("_input",q.multipleInput[B].value)):q.multipleInput.push({category:"_input",value:""})}else for(y=0;y<t.multipleInput.categories.length;++y)switch(C=t.multipleInput.categories[y].name,q.multipleInput[C]||(q.multipleInput[C]=
[]),C){case "_input":if(0<q.multipleInput[C].length)for(w.val(q.multipleInput[C][q.multipleInput[C].length-1]),B=0;B<q.multipleInput[C].length-1;++B)g(C,q.multipleInput[C][B],m(C,q.multipleInput[C][B]));else q.multipleInput[C]=[""];F[C]&&0<F[C].maxInputLength&&w.attr("maxlength",F[C].maxInputLength);break;default:for(B=0;B<q.multipleInput[C].length;++B)g(C,q.multipleInput[C][B],m(C,q.multipleInput[C][B]))}}w.on("keydown",function(b){var c=x.find("li.saytentry");switch(b.which){case 9:case 27:return a(),
9===b.which;case 10:case 13:if(x.hasClass("visible")&&(c=x.find(".preselected"),0<c.length))return d(c),!1;break;case 38:if(x.hasClass("visible")){for(b=1;b<c.length;++b)if(c.eq(b).hasClass("preselected")){c.eq(b).removeClass("preselected").removeAttr("aria-selected");c.eq(b-1).addClass("preselected").attr("aria-selected","true");w.attr("aria-activedescendant",c.eq(b-1).attr("id"));h();break}b>=c.length&&(c.eq(0).addClass("preselected").attr("aria-selected","true"),w.attr("aria-activedescendant",
c.eq(0).attr("id")),h())}return!1;case 40:if(x.hasClass("visible")){for(b=0;b<c.length-1;++b)if(c.eq(b).hasClass("preselected")){c.eq(b).removeClass("preselected").removeAttr("aria-selected");c.eq(b+1).addClass("preselected").attr("aria-selected","true");w.attr("aria-activedescendant",c.eq(b+1).attr("id"));h();break}b>=c.length-1&&(c.eq(0).addClass("preselected").attr("aria-selected","true"),w.attr("aria-activedescendant",c.eq(0).attr("id")),h())}return!1}return!0}).on("keyup input",function(b){if(b&&
this.value&&this.value.length>=t.minChars)this.last_value&&this.last_value===this.value||(this.search_timeout&&window.clearTimeout(this.search_timeout),this.search_timeout=window.setTimeout(u,t.deferRequestBy));else if(!isNaN(t.internalSearchMinChars)&&this.value.length>=t.internalSearchMinChars){if("string"!==typeof this.last_value||this.last_value!==this.value)this.search_timeout&&window.clearTimeout(this.search_timeout),this.search_timeout=window.setTimeout(r,t.deferRequestBy)}else a();this.last_value=
this.value;if(F._input){if(t.multipleInput.keepEnteredOrder){for(b=q.multipleInput.length-1;0<=b;--b)if("_input"===q.multipleInput[b].category){q.multipleInput.splice(b,1);break}q.multipleInput.push({category:"_input",value:this.value})}else q.multipleInput._input[q.multipleInput._input.length-1]=this.value;c()}return!0}).on("blur",function(){q.blur_timeout||(q.blur_timeout=window.setTimeout(function(){a();q.blur_timeout=null},300))}).on("focus",function(a,b){q.blur_timeout&&(window.clearTimeout(q.blur_timeout),
q.blur_timeout=null);b||(this.search_timeout&&(window.clearTimeout(this.search_timeout),this.search_timeout=null),0===t.internalSearchMinChars&&a&&""===q.value?this.search_timeout=window.setTimeout(r,$("html").hasClass("no-touch")?t.deferRequestBy:500):t.searchOnFocus&&(x.is(":empty")?(q.last_value=null,w.trigger("input")):this.search_timeout=window.setTimeout(n,t.deferRequestBy)))})}})});
$(document).on("if6_page_ready",function(){$(".textarea-count").not(function(){return this.textcount_added}).each(function(){this.textcount_added=!0;var b=$(this);b.find(".textarea-ok, .textarea-overflow").each(function(){var a=$(this).text();a=a.replace(/\b\d+\b/,"\x3cspan\x3e$\x26\x3c/span\x3e");$(this).html(a)});var c=b.closest(".bline"),f=c.find("textarea"),e=c.find("label"),g=parseInt(b.find(".textarea-ok span").text(),10),m=f.data("counter-visible-chars"),a=void 0!==m,d=f.hasClass("nbf-textarea-input");
d?f.attr("rows","1"):f.attr("rows","2");f.on("keyup change",function(){function c(a){d&&(f.css({height:a}),72<a&&f.css({height:a+14}));if(!d){var b=parseInt(f.css("maxHeight"),10);a>=b?f.css({height:b}).addClass("overflow"):f.css({height:a}).removeClass("overflow")}}var n=[f,b,e],p;var u=g-f.val().length;for(p=0;p<n.length;p++)n[p].toggleClass("error",0>u);b.find(".textarea-ok span").text(u);b.find(".textarea-overflow span").text(-u);b.find(".textarea-overflow, .overflow-message").toggleClass("invisible",
0<=u);b.find(".textarea-ok").toggleClass("invisible",0>u);a&&b.toggleClass("not-visible",u>m);f.css("height","auto");n=f.prop("scrollHeight");0!==n?c(n):setTimeout(function(){var a=f.prop("scrollHeight");0!==a&&c(a)},500)}).trigger("change");d&&setTimeout(function(){var a=f.prop("scrollHeight");72<a&&f.css({height:a+14})},100)})});
$(document).on("if6_page_ready",function(){$("input[data-json]").not(function(){var b=this.updatecheck_added;this.updatecheck_added=!0;return b}).each(function(){var b=$(this),c=b.data("json");c.type&&"button-updatecheck"===c.type&&(b.on("refresh-updatecheckbutton",function(){var c=b.data("json"),e=c.updateUrl;void 0!==c.timeout&&window.setTimeout(function(){0>=b.closest("body, .ajstep-start").length||(e?$.ajax({method:"GET",url:e,timeout:2E4}).done(function(c){b.data("json",c);b.trigger("refresh-updatecheckbutton")}):
b.click())},c.timeout)}),b.trigger("refresh-updatecheckbutton"))})});
$(document).on("if6_page_ready",function(){function b(b){var c=$(b),e=!1;c.find("img").each(function(){this.loaded&&(e=!0,this.loaded=!1)});if(e||b.windowWidth!==window.innerWidth){b.windowWidth=window.innerWidth;var g=0;c.find("tr").css({height:""}).each(function(){var b=parseFloat($(this).css("height"));b>g&&(g=b)}).css({height:g+"px"})}}$(".btableblock .bwebshop").each(function(){if(!this.imgload_added){this.imgload_added=!0;var c=this;$(this).find("img").on("load",function(){this.loaded=!0;b(c)})}b(this);
void 0===window.resizeBankingWebshopRowHeight&&(window.resizeBankingWebshopRowHeight=!0,$(window).on("resize",function(){$(".btableblock .bwebshop").each(function(){b(this)})}))})});IF6.findButton=function(b){b=$(b);return b.is("input")&&(b.parent().hasClass("ficon")||0<b.closest(".buttonline").length)?b.parent():b};IF6.hideButton=function(b){IF6.findButton(b).hide()};IF6.showButton=function(b){IF6.findButton(b).show()};IF6.disableButton=function(b){$(b).attr("disabled","disabled");IF6.findButton(b).addClass("disabled")};
IF6.enableButton=function(b){$(b).attr("disabled",null);IF6.findButton(b).removeClass("disabled")};
$(document).on("if6_page_ready",function(){$('.bfile-dropzone input[type\x3d"file"]:first').not(function(){return this.bfile_dropzone}).each(function(){this.bfile_dropzone=!0;var b=this,c=b.multiple,f=$(b).closest(".bfile-dropzone")[0];void 0!==f.ondrop&&b.files&&(f.addEventListener("dragover",function(b){this.dragleave_timeout&&(window.clearTimeout(this.dragleave_timeout),this.dragleave_timeout=null);b.stopPropagation();b.preventDefault();$(this).addClass("is-dragover");b.dataTransfer.dropEffect=
"copy"}),f.addEventListener("drop",function(e){e.stopPropagation();e.preventDefault();$(this).removeClass("is-dragover");if(c||1>=e.dataTransfer.files.length)b.files=e.dataTransfer.files}),f.addEventListener("dragleave",function(b){b.stopPropagation();b.preventDefault();var c=$(this);this.dragleave_timeout&&window.clearTimeout(this.dragleave_timeout);this.dragleave_timeout=window.setTimeout(function(){c.removeClass("is-dragover");this.dragleave_timeout=null},200)}),f.addEventListener("dragend",function(b){b.stopPropagation();
b.preventDefault();$(this).removeClass("is-dragover")}))})});
$(document).on("if6_page_ready",function(){$('a[data-json], input[type\x3d"submit"][data-json], button[data-json]').not(function(){var b=this.replace_fragment_added;this.replace_fragment_added=!0;return b}).each(function(){var b=$(this),c=b.data("json");if(c.type&&"replace-fragment"===c.type&&c.replaceUrl){var f=null;c.replaceFunction&&"string"===typeof c.replaceFunction&&"function"===typeof window[c.replaceFunction]&&(f=window[c.replaceFunction]);var e=b.closest("form"),g="POST";0<e.length?g=e[0].method.toUpperCase():
e=$(this).closest("form");b.attr("data-ajstep-disabled","true");b.on("click",function(){var m=b.data("ajstep-scrollpos")||"current",a=b.data("ajstep-anim")||"none";if(0>=e.closest("body").length||0<b.closest(".ajstep-replace").length)return!1;if(c.restapiTemplate){var d=JSON.stringify(c.restapiTemplate);var h="application/json; charset\x3dUTF-8";var n="restapi"}else d="",h="application/x-www-form-urlencoded; charset\x3dUTF-8",n="form";$.ajax({method:g,url:c.replaceUrl,processData:!1,data:d,contentType:h}).done(function(g){if(!(0>=
e.closest("body").length)){"restapi"===n&&g.process&&g.process.processResult&&(g=g.process.processResult.processResultData);g&&f&&(g=f(g));g&&g.fragments&&IF6.ajstep.replaceAreas(e,g.fragments,m,a);if(g&&g.contentUrl){var p="GET";g.restapiTemplate?(d=JSON.stringify(c.restapiTemplate),h="application/json; charset\x3dUTF-8",p="POST"):(d="",h=null);$.ajax({method:p,url:g.contentUrl,processData:!1,data:d,contentType:h}).done(function(b){var c=[];$("\x3cdiv\x3e"+b+"\x3c/div\x3e").children().each(function(){var a=
$(this),b=null,d=null;a.data("replaceid")&&(b="replace",d=a.data("replaceid"));c.push({type:b,id:d,content:this.outerHTML})});var d="";for(b=c.length-1;0<=b;--b)c[b].content+=d,d="",c[b].type||(d=c[b].content,c[b]=null);d={};for(b=0;b<c.length;++b)null!==c[b]&&(d[c[b].type]||(d[c[b].type]={}),d[c[b].type][c[b].id]=c[b].content);0>=e.closest("body").length||IF6.ajstep.replaceAreas(e,d,m,a)})}g&&!isNaN(g.autoreplace)&&window.setTimeout(function(){b.click()},g.autoreplace)}});return!1});c.autoreplace&&
!isNaN(c.autoreplace)&&window.setTimeout(function(){b.click()},c.autoreplace)}})});var SLURI;
IF6.urlutil={webviewSelector:"webview",resetWorkflowParameter:"n",isExternal:function(b){return"string"===typeof b&&-1<b.indexOf(":/")},isInternal:function(b){return"string"===typeof b&&!this.isExternal(b)},endsWith:function(b,c){return b.length>=c.length&&-1!==b.indexOf(c,b.length-c.length)},convertUrl:function(b){var c=new SLURI(window.location.href);this.isInternal(b)?("string"===typeof window.location.href&&0!==window.location.href.indexOf("http://localhost")&&0!==window.location.href.indexOf("https://localhost")&&
(0<=window.location.href.indexOf(".cqa.")?0!==b.indexOf("/cqa")&&(b="/cqa"+b):0<=window.location.href.indexOf(".cqd.")&&0!==b.indexOf("/cqd")&&(b="/cqd"+b)),b=new SLURI(b,window.location.href),c.selectors.has(this.webviewSelector)&&!b.selectors.has(this.webviewSelector)&&b.selectors.append(this.webviewSelector),"html"!==b.extension||b.searchParams.has(this.resetWorkflowParameter)||b.searchParams.set(this.resetWorkflowParameter,"true"),c=b.toString()):c=b;return c}};
$(document).on("if6_page_ready",function(){if($("html").hasClass("webview")){var b=!1,c=!1,f=null,e=window.location.search,g="true"===getQueryParamValue(e,"wstart");$("body").removeClass("backbutton_visible");0<$(".templ-bankingpage, .templ-bankingwidepage, .templ-bankingstartpage").length?($(".bgroup2 \x3e *").each(function(){$(this).closest(".if6_section").hasClass("ajstep-replace")||("micronavback"===$(this).find("input").data("iconbar")&&(b=!0),"back"===$(this).find("input").data("iconbar")&&
(c=!0),f=$(this).get(0))}),f&&!g||b||c?($("body").addClass("backbutton_visible"),(b||c)&&$("body").addClass("webview-micronav"),"DIV"===f.tagName&&f.firstChild&&"INPUT"===f.firstChild.tagName?f=f.firstChild:"A"!==f.tagName&&(f=null),$(".back-button a").data("webview-button",f),f&&$(".back-button a").not(function(){var b=this.clickHandlerAdded;this.clickHandlerAdded=!0;return b}).click(function(){var b=$(this).data("webview-button");if(!b)return!0;if("micronavback"===$(b).data("iconbar"))return $(document).trigger("hide-bcontent"),
!1;$(b).click();return!1})):"true"===getQueryParamValue(e,"n")&&1<history.length&&!g&&$("body").addClass("backbutton_visible")):1<history.length&&!g&&$("body").addClass("backbutton_visible")}});
$(function(){var b=0;$("body").on("if6_bannercampaign",function(){$(".if6_main .smartphonebanner .smartphone-banner_outer").each(function(){var c=this;b++;var f=$(c).closest(".smartphonebanner"),e=$(c).detach();$(".if6_main").append(e);e='\x3cdiv id\x3d"lightbox_smartphonebanner'+b+'" class\x3d"if6_outer if6_lightbox"\x3e\x3cdiv class\x3d"if6_inner"\x3e\x3ca href\x3d"#" title\x3d"'+IF6_lightbox_closeicon_text+'" class\x3d"close-icon" onclick\x3d"return overlayClose(this);"\x3e'+IF6_lightbox_closeicon_text+
"\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e";$(".if6_main").append(e);e=f.find(".cbox-bannerbox").detach();$("#lightbox_smartphonebanner"+b+" .if6_inner").append(e);f.not(function(){return 0<$(this).children().length}).remove();(f=$(c).find(".smartphone-banner_inner").attr("data-kampagne"))&&$("#lightbox_smartphonebanner"+b+" .if6_inner").attr("data-kampagne",f);(f=$(c).find(".smartphone-banner_inner").attr("data-mdi"))&&$("#lightbox_smartphonebanner"+b+" .if6_inner").attr("data-mdi",f);$(document).trigger("if6_page_ready");
var g=!0,m=0;0<$(".cbox-medium.cbox-banking, .cbox-large.cbox-banking").filter(":visible").length&&$(window).not(this.awaitingScroll).each(function(){this.awaitingScroll=!0}).scroll(function(){if(4<m){var a=0<$(".if6_outer.if6_lightbox .cbox-eyecatcher").filter(":visible").length;if(g&&!a){a=$(".cbox-medium.cbox-banking, .cbox-large.cbox-banking").filter(":visible").eq(-1).offset().top;var b=$(window).height(),e=$(window).scrollTop();a<b+e&&(g=!1,$("body").removeClass("smartphone-banner-visible"),
$(c).find(".smartphone-banner_inner").animate({bottom:"-80px"},3E3,"easeInOutQuad",function(){$(c).hide()}))}}m++});$(c).find(".smartphone-banner_inner a").not(this.awaitingClick).each(function(){this.awaitingClick=!0}).click(function(){g=!1;$("#lightbox_smartphonebanner"+b).addClass("lightbox-visible");$("body").addClass("lightbox_visible");$(document).trigger("if6_page_ready");$("body").removeClass("smartphone-banner-visible");$(c).find(".smartphone-banner_inner").hide();return!1})})});$("body").trigger("if6_bannercampaign")});
$(document).on("imageoptimize",function(){$(".img-optimize").each(function(){var b=$(this).attr("data-imgsrc"),c=$(this).attr("data-imgtitle")||"",f=$(this).attr("data-imgalt")||"",e=window.innerWidth*(window.devicePixelRatio||1);b&&(b=b.replace(/(\.img\.|\.epimgref\.)/,"$1"+(768>=e?"res768":1280>=e?"res1280":1920>=e?"res1920":"res2400")+"."),$(this).html('\x3cimg onload\x3d"this.loaded\x3dtrue;$(window).resize();" src\x3d"'+b+'" alt\x3d"'+f+'" title\x3d"'+c+'" /\x3e'),$(this).removeClass("img-optimize"))})}).on("ready if6_page_ready",
function(){$(this).trigger("imageoptimize")});function moveBContent(){var b=$(".banking-container .bcontainer-content").not(function(){return 0<$(this).closest(".ajstep-replace").length});b.css({marginTop:""});var c=b.offset().top,f=b.closest(".if6_section").offset().top;b.css({marginTop:f-c+"px"})}
$(document).on("if6_page_ready",function(){function b(b){var c=b.find(".tgroup-toggle"),f=c.offset().left+parseFloat(c.css("width"));c=b.find("ul");c.css({marginRight:""});var m=c.offset().left,a=m+parseFloat(c.css("width"));b=b.closest(".cbox").offset().left;a>f&&(f=a-f,m<b+f&&(f=m-b),c.css({marginRight:f+"px"}))}$(".tgroup-toggle").each(function(){var c=$(this),e=$(this).closest(".tgroup"),g=$(this).closest(".tsubgroup"),m=e.find(".tgroup-toggle+ul");c.attr({"aria-haspopup":"listbox","aria-expanded":"false",
role:"button"});m.attr({role:"listbox"});c.find("a+a").attr({"aria-hidden":"true"});c.find("\x3ea").not(function(){var a=this.click_added;this.click_added=!0;return a}).attr("data-ajstep-disabled","true").click(function(){var a=$(this);if(!a.hasClass("disabled")){var d=!1;g.hasClass("visible")?(e.removeClass("tsubgroup-open"),g.removeClass("visible"),c.attr("aria-expanded","false")):($(".tsubgroup").not(g).removeClass("visible"),e.addClass("tsubgroup-open"),g.addClass("visible"),d=!0,c.attr("aria-expanded",
"true"),b(g));var f=this.tabIndex;this.tabIndex=-1;this.blur();a.attr("aria-hidden","true");a.siblings().each(function(){this.tabIndex=f;$(this).attr("aria-hidden","false");d?this.focus():this.blur()})}return!1})});$(".if6_main").not(function(){var b=this.tgroup_close_added;this.tgroup_close_added=!0;return b}).on("click",function(b){b&&b.target&&(0>=$(b.target).closest(".tsubgroup").length||$(b.target).hasClass("tsubgroup"))&&($(".tsubgroup").removeClass("visible"),$(".tgroup-toggle").attr("aria-expanded",
"false"),$(".tgroup-toggle a+a").attr("aria-hidden","true"),$(".tgroup-toggle a:first-child").attr("aria-hidden","false"))});$(".tgroup").each(function(){var b=$(this).find(".ficon[data-tgroup-mode],.ficon\x3einput[data-tgroup-mode]");b&&0<b.length?b.closest(".cbox-banking").each(function(){function b(){var b=c.find('.btableblock td input[type\x3d"checkbox"]:checked').length;c.find(".ficon[data-tgroup-mode],.ficon\x3einput[data-tgroup-mode]").each(function(){var a=$(this).data("tgroup-mode"),c=$(this).closest(".ficon");
switch(a){case 1:1===b?(c.removeClass("disabled"),c.find("input").removeAttr("disabled")):(c.addClass("disabled"),c.find("input").attr("disabled","disabled"));break;case 2:1<=b?(c.removeClass("disabled"),c.find("input").removeAttr("disabled")):(c.addClass("disabled"),c.find("input").attr("disabled","disabled"))}a=$(this).closest("ul").siblings(".tgroup-toggle");0<a.length&&($(this).closest("ul").find(".ficon").length===$(this).closest("ul").find(".ficon.disabled").length?(a.find(".ficon").addClass("disabled").attr("tabindex",
"-1"),a.closest(".tsubgroup").removeClass("visible")):a.find(".ficon").removeClass("disabled").removeAttr("tabindex"))});var a=c.find(".tgroup");a.find(".ficon:visible").length>a.find(".ficon.disabled:visible").length?a.addClass("usable"):a.removeClass("usable");return!0}var c=$(this);b();$(this).find('.btableblock td input[type\x3d"checkbox"]').not(function(){var b=this.tgroup_check_added;this.tgroup_check_added=!0;return b}).on("click blur",b)}):$(this).addClass("usable")});$(".micronav li a").attr("data-ajstep-complete-event",
"show-bcontent");if(0>=$(".lightbox-visible").length){var c=$(".show-bcontent-completed .bcontainer-content");c&&0<c.length?focusBankingFormularElement(c):focusBankingFormularElement($(".bcontainer-micronav"))}$("body").hasClass("show-bcontent")&&moveBContent();$(".block.success-msg, .block.failure-msg").not(function(){return 0<$(this).closest(".ajstep-replace").length}).each(function(){var b=$(this),c=b.closest(".if6_lightbox\x3e.if6_inner");"absolute"===b.closest(".bcontainer-content").css("position")&&
$(".if6_section").not(".ajstep-replace").first().find(".parsys").prepend(b.detach());if(0<c.length||!$("body").hasClass("lightbox_visible"))0>=c.length&&$("html,body").animate({scrollTop:0},750,"easeInOutExpo"),b.hasClass("autohide")&&window.setTimeout(function(){var e=b.find(".bline"),f=e.css("height");e.animate({marginTop:"-"+f},800,"swing",function(){b.remove();c.scroll()})},6E3)})});
$(document).on("show-bcontent",function(){if("absolute"===$(".banking-container .bcontainer-content").css("position")){$("body").addClass("show-bcontent");moveBContent();$(".bcontainer-content,.iconbarbuttons\x3ediv").animate({left:0},1500,"easeInOutExpo",function(){$("body").addClass("show-bcontent-completed");focusBankingFormularElement($(".bcontainer-content"))});var b=$(".banking-container .bcontainer-content").closest(".if6_section").offset().top-$(".if6_iconbar").height()+10;window.pageYOffset>
b&&$("html,body").animate({scrollTop:b},750,"easeInOutExpo")}});$(document).on("hide-bcontent",function(b,c){$("body").removeClass("show-bcontent-completed");c||!b?($(".banking-container .bcontainer-content, .iconbarbuttons\x3ediv").css({marginTop:"",left:""}),$("body").removeClass("show-bcontent")):$(".bcontainer-content, .iconbarbuttons\x3ediv").animate({left:"110%"},1500,"easeInOutExpo",function(){$("body").removeClass("show-bcontent")})});
$(document).on("if6_page_ready",function(){function b(a){var b=!1;0<a.find($("tr.tablerowodd, tr.tableroweven")).find($("td:nth-child(4):visible")).length&&(b=!0);return b}function c(a){if(a.hasClass("tableheader")){var b=a;a=a.closest(".btable")}else if(a.hasClass("btable"))b=a.find("tr.tableheader");else return;var c=Math.floor(a.width());b.each(function(){var a;$(this).find("td:nth-child(2)").each(function(){$(this).css({width:"auto"});a=Math.ceil(parseFloat($(this).css("width")))});var b=Math.floor(c-
a);$(this).find("td:first-child").css({width:b})})}function f(a){var c=a.find("tr.tablerowodd, tr.tableroweven");if(b(a))c.find("td:first-child").each(function(){$(this).css("width","");$(this).find(".finaccount").css("width","")}),a.find("tr.tableheader td:first-child").css("width","");else{var d=c.find("td:first-child");c=c.find("td:nth-child(2)");var e=0;a.find("tr.tableheader td:first-child").css({width:"auto"});d.each(function(){$(this).css({width:"auto"}).find(".finaccount").css({width:""})});
c.each(function(){$(this).css({width:"auto"});var a=Math.ceil(parseFloat($(this).css("width")));a>e&&(e=a)});a=Math.floor(a.width());var f=Math.floor(a-e);d.each(function(){$(this).css({width:f});var a=$(this).width();$(this).find(".finaccount").css({width:a})});c.each(function(){$(this).css({width:e})})}}function e(a){var b=a.nextUntil(".tableheader").filter(".tablefooter").not(".tablefooter.tablerowmarked");a.hasClass("closed")?(b.addClass("invisible"),a.nextAll(".tableheader").first().find("td").addClass("additionalSpace")):
a.hasClass("opened")&&(b.removeClass("invisible"),a.nextAll(".tableheader").first().find("td").removeClass("additionalSpace"))}function g(a){var b;a?a.is("tr.tableroweven, tr.tablerowodd, .btable")?b=a.find(".bmessage"):a.is("tr.tableheader")&&(b=a.closest(".btable").find(".bmessage")):b=$(".bmessage");b&&b.each(function(){$(this).removeClass("multiline");$(this).height()>parseInt($(this).css("minHeight"),10)+5&&$(this).addClass("multiline")})}function m(a){var b=a.attr("class"),c=$("body").data("btableCondition")||
{};c[b]={};a.find(".tableheader").each(function(){var a=$.trim($(this).find("td:first-child").text().replace(/\*+/,""));var d=$(this).is(".tablerowmarked:not(.opened)")||$(this).is(".closed")?!0:!1;var e=$(this).nextUntil(".tablefooter, .tableheader").not(".tablecampaign"),f=e.length,g=[];e.each(function(a){var b=$(this).is(".tablerowmarked:not(.opened)")||$(this).is(".closed")?!0:!1;g[a]=b});c[b][a]={headerClosed:d,numberOfRows:f,rowsClosed:g}});$("body").data("btableCondition",c)}function a(a,b){var c=
a.closest(".btable");a.each(function(){$(this).removeClass("closed").addClass("opened").nextUntil(".tablefooter, .tableheader").removeClass("invisible");b&&a.find(".icon-if5_symbol_up:visible input").focus();c.hasClass("mbf-finanzstatus-table")&&e(a)})}function d(a,b){a.removeClass("opened").addClass("closed").nextUntil(".tablefooter, .tableheader").addClass("invisible");b&&a.find(".icon-if5_symbol_down:visible input").focus();a.closest(".btable").hasClass("mbf-finanzstatus-table")&&e(a)}function h(b){var c=
b.attr("class"),e=$("body").data("btableCondition")[c];e&&b.find(".tableheader").each(function(){var b=$.trim($(this).find("td:first-child").text().replace(/\*+/,""));if(e[b]){e[b].headerClosed?!$(this).is(".opened")&&$(this).is(".closed")&&$(this).is(".tablerowmarked")||d($(this),!1):($(this).is(".closed")||$(this).is(".tablerowmarked:not(.opened)"))&&a($(this),!1);var c=$(this).nextUntil(".tablefooter, .tableheader"),f=e[b].rowsClosed;b=0<e[b].numberOfRows&&e[b].numberOfRows===$(this).nextUntil(".tablefooter, .tableheader").length;
var g;for(g=0;g<f.length;g++){var h=$(c[g]);b?!0===f[g]?(h.addClass("closed"),h.removeClass("opened")):!1===f[g]&&(h.removeClass("closed"),h.addClass("opened")):(h.removeClass("opened closed"),h.hasClass("tablerowmarked")?h.addClass("closed"):h.addClass("opened"))}}else for($(this).is(".tablerowmarked")&&d($(this),!1),c=$(this).nextUntil(".tablefooter, .tableheader"),f=0;f<c.length;f++)b=$(c[f]),b.is(".tablerowmarked")?b.addClass("closed"):b.addClass("opened")})}function n(b){$("body").data("btableCondition")&&
$("body").data("btableCondition")[b.attr("class")]||m(b);a(b.find("tr.tableheader"),!1);b.find("tr.tableroweven, tr.tablerowodd").removeClass("opened closed");f(b);g(b);h(b);c(b)}$(".btable.groupOpenCloseable tr.tableheader").not(function(){var a=this.tableheaderOpenCloseableAttached;this.tableheaderOpenCloseableAttached=!0;return a}).hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")}).click(function(a){if(a&&a.target)switch(a.target.tagName){case "A":case "INPUT":break;
default:if(a=$(this).find("td a:visible, td input:visible").not(function(){return 0<$(this).closest(".skip-as-default-action").length}),0<a.length)return a.get(0).click(),!1}});var p=$(".mbf-finanzstatus-table").not(function(){return 0<$(this).closest(".ajstep-replace").length});if(1>p.length)return!1;var u=p.find("tr.tableheader");n(p);$("body").hasClass("templ-bankingstartpage")&&$(window).resize();p.find("tr.tableroweven, tr.tablerowodd").not(function(){var a=this.openTablerowFinaccountAttached;
this.openTablerowFinaccountAttached=!0;return a}).addClass("hoverable").click(function(a){if(a&&a.target){var b=$(a.target),c=$(this).find("td:first-child a, td:first-child input, td:nth-child(2) a, td:nth-child(2) input");if(0<c.length)switch(a.target.tagName){case "A":case "INPUT":return!0;default:return c.get(0).click(),!1}if(b.is("td:last-child div.ficon")||b.is("td:last-child a")||b.is("td:last-child input"))return!0;$(this).hasClass("opened")?($(this).removeClass("opened"),$(this).addClass("closed")):
$(this).hasClass("closed")&&($(this).removeClass("closed"),$(this).addClass("opened"));$("body").hasClass("templ-bankingstartpage")&&$(window).resize();m($(this).closest(".mbf-finanzstatus-table"));return!1}});u.find(".icon-if5_symbol_down").not(function(){var a=this.openHeaderFintableAttached;this.openHeaderFintableAttached=!0;return a}).data("ajstep-disabled","true").click(function(){var b=$(this).closest(".tableheader");a(b,!0);c(b);$("body").hasClass("templ-bankingstartpage")&&$(window).resize();
m(b.closest(".mbf-finanzstatus-table"));return!1});u.find(".icon-if5_symbol_up").not(function(){var a=this.closeHeaderFintableAttached;this.closeHeaderFintableAttached=!0;return a}).data("ajstep-disabled","true").click(function(){var a=$(this).closest(".tableheader");d(a,!0);c(a);$("body").hasClass("templ-bankingstartpage")&&$(window).resize();m($(this).closest(".mbf-finanzstatus-table"));return!1});p.data("lastWindowWidth",$(window).width());$(window).not(function(){var a=this.resizeFinaccountAttached;
this.resizeFinaccountAttached=!0;return a}).resize(function(){window.clearTimeout(window.finaccountTimerId);window.finaccountTimerId=window.setTimeout(function(){var a=$(window).width();p.data("lastWindowWidth")!==a&&n(p);p.data("lastWindowWidth",a)},500)})});
$(document).on("if6_page_ready",function(){$(".nbf-gv.finanzuebersicht").each(function(){$(".nbf-finanzstatus .nbf-box .nbf-box__action \x3e a").removeAttr("onclick");$(".nbf-finanzstatus .expandable-content").each(function(b){b=$(this);1<b.find(".nbf-box.nbf-box--hoverable").length&&(b.dragsort("destroy"),b.dragsort({dragSelector:"div.nbf-box.nbf-box--hoverable",dragSelectorExclude:"div.bline",dragCursor:'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADNSURBVHgB5ZW9DcIwEEa/AD2sQQVswAYwAlvQsgneADZAlFQwAiVUCSUdd/JZWKl88l2VJz0pjhKff+5sQMdRdIE7bsXiIOPC75bknLySN7IhX6IpB7GYEZyZQMeT7DAomux5Rm5RDy/hOTXyTb4gpmMtPMh7/+U6j2rACTLYfAYt7PggLrl/HaQAXYpoxDQ95FnEG/NAPG9qWCDu6aofgOEMsJgJJ8zAKj7BS7jT/KA9TdWV7l4HmitzT36lvSHfML4yA/6XfoATAcrOf6q3IdaX05RhAAAAAElFTkSuQmCC"), crosshair'}),
b.find(".nbf-box .nbf-box__action \x3e a").not(function(){var b=this.finanzstatus;this.finanzstatus=!0;return b}).on("click.dragSortHandler",function(b){return 0<$(this).closest(".object-in-drag-mode").length?!1:IF.checkFirstSubmit()}),b.find("div.nbf-box.nbf-box--hoverable").off(".dragSortHandler"),b.find("div.nbf-box.nbf-box--hoverable").on("mousedown.dragSortHandler",function(b){b.preventDefault();b=$(b.target).closest("div.nbf-box.nbf-box--hoverable").attr("data-tooltip");$('\x3cdiv class\x3d"nbf-drag-sort-tooltip"\x3e\x3c/div\x3e').text(b).appendTo("body").fadeIn("slow")}).on("mousemove.dragSortHandler",
function(b){b.preventDefault();$(".nbf-drag-sort-tooltip").css({top:b.pageY,left:b.pageX+30})}).on("mouseup.dragSortHandler mouseleave.dragSortHandler",function(){$(".nbf-drag-sort-tooltip").remove()}))});$(".nbf-gv-header .primary-cta").not(function(){var b=this.finanzstatus;this.finanzstatus=!0;return b}).append($(".nbf-finanzstatus .primary-cta").children());$(".nbf-finanzstatus .nbf-link.nbf-print-link").not(function(){var b=this.finanzstatus;this.finanzstatus=!0;return b}).append($(".nbf-finanzstatus .buttonline.main-buttons .bgroup4").children());
$(".nbf-finanzstatus .expandable-trigger a").not(function(){var b=this.finanzstatus;this.finanzstatus=!0;return b}).on("click",function(b){b.stopPropagation()});var b=$(".analyst .main").find(".image");if(0<b.length){var c=parseInt(b.css("width"),10);b=parseInt(b.css("margin-right"),10);$(".analystbox .analyst .footnote").css("margin-left",c+b+"px")}$(".mbf_infolightbox .nbf-box .nbf-box__action a").not(function(){var b=this.finanzstatus;this.finanzstatus=!0;return b}).focus(function(){$(this).closest(".nbf-box").addClass("nbf-box--focussed")}).focusout(function(){$(this).closest(".nbf-box").removeClass("nbf-box--focussed")}).on("mousedown",
function(){$(this).closest(".nbf-box").addClass("nbf-box--pressed")}).on("mouseup",function(){$(this).closest(".nbf-box").removeClass("nbf-box--pressed")});(function(){var b=$(".nbf .footer .balance-predecimal").outerWidth(),c=$(".nbf .footer .balance-decimal").outerWidth(),g=$(".nbf .footer .balance-label").width(),m=$(".nbf .footer .bline .nbf-balance");b+c+g-20>m.width()&&m.addClass("nbf-fullwidth-label")})()})});
$(document).on("if6_page_ready",function(){$(".primary-cta").each(function(){$(this).closest(".if6_main").addClass("nbf-primary-cta-mobile")});if(0<$(".nbf-finanzstatus").closest("body").length){var b=$(".nbf-finanzstatus"),c=0,f="primary-btn"+Date.now(),e=$("body.nbf").height();$(window).on("scroll."+f,function(){if(4<c){if(0>=b.closest("body").length){$(window).off("scroll."+f);return}var g=$("body.nbf").find(".block.nbf-gv-header .primary-cta");$(document).scrollTop()>=e/2?g.addClass("cta-button-hidden"):
g.removeClass("cta-button-hidden")}c++})}});
$(document).on("if6_page_ready",function(){var b=!1;$(".nbf-gv").each(function(){b=void 0===this.nbf_box_group_Added;this.nbf_box_group_Added=!0});b&&($(".nbf-box-group \x3e .group-top").click(function(){$(this).closest(".nbf-box-group").toggleClass("group-closed")}),$(".umsatzliste.nbf-gv div.bpulldown div div ul.ulist li:first-child, .umsatzdetails.nbf-gv div.bpulldown div div ul.ulist li:first-child").on("mouseenter",function(b){$(b.target).closest(".bpulldown").addClass("first-hovered")}).on("mouseleave",function(b){$(b.target).closest(".bpulldown").removeClass("first-hovered")}))});
(function(b){b.fn.dragsort=function(c){if("destroy"===c)b(this).trigger("dragsort-uninit");else{var f=b.extend({},b.fn.dragsort.defaults,c),e=[],g=null,m=null;this.each(function(a,c){c={draggedItem:null,placeHolderItem:null,pos:null,offset:null,offsetLimit:null,scroll:null,container:c,clickHandler:null,init:function(){f.tagName="div";f.placeHolderTemplate="\x3c"+f.tagName+"\x3e\x26nbsp;\x3c/"+f.tagName+"\x3e";""===f.dragSelector&&(f.dragSelector=f.tagName);1!==b(this.container).children(".nbf-box").length&&
(b(this.container).attr("data-listidx",a).on("mousedown",function(a,b){var c=0;return function(){var d=this,e=arguments;clearTimeout(c);c=setTimeout(function(){a.apply(d,e)},b||0)}}(this.grabItem,500)).on("dragsort-uninit",this.uninit),this.styleDragHandlers(!0))},uninit:function(){var a=e[b(this).attr("data-listidx")];b(a.container).off("mousedown",a.grabItem).off("dragsort-uninit");a.styleDragHandlers(!1)},getItems:function(){return b(this.container).children(f.tagName)},styleDragHandlers:function(a){this.getItems().map(function(){return b(this).is(f.dragSelector)?
this:b(this).find(f.dragSelector).get()}).css("cursor",a?"auto":"")},grabItem:function(a){var c=e[b(this).attr("data-listidx")];if(!(1!==a.which||b(a.target).is(f.dragSelectorExclude)||0<b(a.target).closest(f.dragSelectorExclude).size)){for(var d=a.target;!b(d).is(f.dragSelector);){if(d===this)return;d=d.parentNode}b(d).attr("data-cursor",b(d).css("cursor"));var g=this,h=function(){a.preventDefault();c.dragStart.call(g,a);b(g).off("click");b(c.container).off("mousemove",h)};b(c.container).on("mousemove",
h);b(c.container).on("mouseup",function(a){b(c.container).off("mousemove",h);setTimeout(function(){b(c.container).removeClass("object-in-drag-mode")},300);b(d).css("cursor",b(d).attr("data-cursor"))})}},dragStart:function(a){null!==g&&null!==g.draggedItem&&g.dropItem(a);g=e[b(this).attr("data-listidx")];b(g.container).addClass("object-in-drag-mode");g.draggedItem=b(a.target).closest("[data-listidx] \x3e "+f.tagName);g.draggedItem.attr("data-origpos",b(this).attr("data-listidx")+"-"+b(g.container).children().index(g.draggedItem));
b(g.draggedItem).css("cursor",""!==f.dragCursor?f.dragCursor:"move");var c=parseInt(g.draggedItem.css("marginTop"),10),d=parseInt(g.draggedItem.css("marginLeft"),10);g.offset=g.draggedItem.offset();g.offset.top=a.pageY-g.offset.top+(isNaN(c)?0:c)-1;g.offset.left=a.pageX-g.offset.left+(isNaN(d)?0:d)-1;c=0===b(g.container).outerHeight()?Math.max(1,Math.round(.5+g.getItems().size*g.draggedItem.outerWidth()/b(g.container).outerWidth()))*g.draggedItem.outerHeight():b(g.container).outerHeight();g.offsetLimit=
b(g.container).offset();g.offsetLimit.right=g.offsetLimit.left+b(g.container).outerWidth()-g.draggedItem.outerWidth();g.offsetLimit.bottom=g.offsetLimit.top+c-g.draggedItem.outerHeight();b(g.draggedItem).addClass("in-drag-mode");c=g.draggedItem.height();var h=g.draggedItem.outerHeight();d=g.draggedItem.width();g.draggedItem.after(f.placeHolderTemplate);g.placeHolderItem=g.draggedItem.next().css({height:h,width:d}).attr("data-placeholder",!0);h=g.draggedItem.attr("style");g.draggedItem.attr("data-origstyle",
h||"");g.draggedItem.css({position:"absolute",opacity:1,"z-index":999,height:c,width:d});g.scroll={moveX:0,moveY:0,maxX:b(document).width()-b(window).width(),maxY:b(document).height()-b(window).height()};g.scroll.scrollY=window.setInterval(function(){if(f.scrollContainer!==window)b(f.scrollContainer).scrollTop(b(f.scrollContainer).scrollTop()+g.scroll.moveY);else{var a=b(f.scrollContainer).scrollTop();if(0<g.scroll.moveY&&a<g.scroll.maxY||0>g.scroll.moveY&&0<a)b(f.scrollContainer).scrollTop(a+g.scroll.moveY),
g.draggedItem.css("top",g.draggedItem.offset().top+g.scroll.moveY+1)}},10);g.scroll.scrollX=window.setInterval(function(){if(f.scrollContainer!==window)b(f.scrollContainer).scrollLeft(b(f.scrollContainer).scrollLeft()+g.scroll.moveX);else{var a=b(f.scrollContainer).scrollLeft();if(0<g.scroll.moveX&&a<g.scroll.maxX||0>g.scroll.moveX&&0<a)b(f.scrollContainer).scrollLeft(a+g.scroll.moveX),g.draggedItem.css("left",g.draggedItem.offset().left+g.scroll.moveX+1)}},10);b(e).each(function(a,b){b.buildPositionTable()});
g.setPos(a.pageX,a.pageY);b(document).on("mousemove",g.swapItems);b(document).on("mouseup",g.dropItem);b(g.container).on("mouseleave",function(a){g.dropItem(a)});if(f.scrollContainer!==window)b(window).on("wheel",g.wheel)},setPos:function(a,c){var d=c-this.offset.top,e=a-this.offset.left;d=Math.min(this.offsetLimit.bottom,Math.max(d,this.offsetLimit.top));e=Math.min(this.offsetLimit.right,Math.max(e,this.offsetLimit.left));var h=this.draggedItem.offsetParent().not("body").offset();null!==h&&(d-=h.top,
e-=h.left);if(f.scrollContainer===window)c-=b(window).scrollTop(),a-=b(window).scrollLeft(),c=Math.max(0,c-b(window).height()+5)+Math.min(0,c-5),a=Math.max(0,a-b(window).width()+5)+Math.min(0,a-5);else{h=b(f.scrollContainer);var m=h.offset();c=Math.max(0,c-h.height()-m.top)+Math.min(0,c-m.top);a=Math.max(0,a-h.width()-m.left)+Math.min(0,a-m.left)}g.scroll.moveX=0===a?0:a*f.scrollSpeed/Math.abs(a);g.scroll.moveY=0===c?0:c*f.scrollSpeed/Math.abs(c);this.draggedItem.css({top:d,left:e})},wheel:function(a){if(g&&
f.scrollContainer!==window){var c=b(f.scrollContainer),d=c.offset();a=a.originalEvent;a.clientX>d.left&&a.clientX<d.left+c.width()&&a.clientY>d.top&&a.clientY<d.top+c.height()&&(d=(0===a.deltaMode?1:10)*a.deltaY,c.scrollTop(c.scrollTop()+d),a.preventDefault())}},buildPositionTable:function(){var a=[];this.getItems().not([g.draggedItem[0],g.placeHolderItem[0]]).each(function(c){var d=b(this).offset();d.right=d.left+b(this).outerWidth();d.bottom=d.top+b(this).outerHeight();d.elm=this;a[c]=d});this.pos=
a},dropItem:function(a){if(null!==g.draggedItem){var c=g.draggedItem.attr("data-origstyle");g.draggedItem.attr("style",c);""===c&&g.draggedItem.removeAttr("style");g.draggedItem.removeAttr("data-origstyle");b(g.draggedItem).removeClass("in-drag-mode");g.styleDragHandlers(!0);g.placeHolderItem.before(g.draggedItem);g.placeHolderItem.remove();b("[data-droptarget], .dragSortItem").remove();window.clearInterval(g.scroll.scrollY);window.clearInterval(g.scroll.scrollX);if(g.draggedItem.attr("data-origpos")!==
b(e).index(g)+"-"+b(g.container).children().index(g.draggedItem)&&!1===f.dragEnd.apply(g.draggedItem)){c=g.draggedItem.attr("data-origpos").split("-");var d=b(e[c[0]].container).children().not(g.draggedItem).eq(c[1]);0<d.size?d.before(g.draggedItem):0===c[1]?b(e[c[0]].container).prepend(g.draggedItem):b(e[c[0]].container).append(g.draggedItem)}g.draggedItem.removeAttr("data-origpos");g.draggedItem=null;b(document).off("mousemove",g.swapItems);b(document).off("mouseup",g.dropItem);(c=b(g.container).data("json"))&&
c.saveState&&c.saveState.url&&c.saveState.paramName&&g.sendState(c.saveState,g.getListWithOrder(g));f.scrollContainer!==window&&b(window).off("wheel",g.wheel);a.preventDefault();return!1}},swapItems:function(a){var c=g.findPos(a.pageX,a.pageY),d=g,h;if(null===g.draggedItem)return!1;g.setPos(a.pageX,a.pageY);for(h=0;-1===c&&h<e.length;h++)c=e[h].findPos(a.pageX,a.pageY),d=e[h];if(-1===c||a.pageY<=g.offsetLimit.top||a.pageY>=g.offsetLimit.bottom)return!1;var r=function(){return b(d.container).children().not(d.draggedItem)};
a=r().not(f.tagName).each(function(a){this.idx=r().index(this)});null===m||m.top>g.draggedItem.offset().top||m.left>g.draggedItem.offset().left?b(d.pos[c].elm).before(g.placeHolderItem):b(d.pos[c].elm).after(g.placeHolderItem);a.each(function(){var a=r().eq(this.idx).get(0);this!==a&&r().index(this)<this.idx?b(this).insertAfter(a):this!==a&&b(this).insertBefore(a)});b(e).each(function(a,b){b.buildPositionTable()});m=g.draggedItem.offset();return!1},getListWithOrder:function(a){var c="";b(a.container).children().each(function(a,
d){b(d).hasClass("nbf-box")&&(d=b(d).attr("data-sortid"))&&(c+=a+":"+d+",")});return c},sendState:function(a,c){var d;if(a.restapiTemplate){for(d=0;d<a.restapiTemplate.process.processInput.processParameter.length;++d){var e=a.restapiTemplate.process.processInput.processParameter[d];if(e.name&&e.name===a.paramName){e.value=c;break}}d>=a.restapiTemplate.process.processInput.processParameter.length&&a.restapiTemplate.process.processInput.processParameter.push({name:a.paramName,value:c});c=JSON.stringify(a.restapiTemplate);
e="application/json; charset\x3dUTF-8"}else c=a.paramName+"\x3d"+encodeURIComponent(c),e="application/x-www-form-urlencoded; charset\x3dUTF-8";b.ajax({method:"POST",url:a.url,processData:!1,data:c,contentType:e,timeout:2E4})},findPos:function(a,b){var c;for(c=0;c<this.pos.length;c++)if(this.pos[c].left<a&&this.pos[c].right>a&&this.pos[c].top<b&&this.pos[c].bottom>b)return c;return-1}};c.init();e.push(c)});return this}};b.fn.dragsort.defaults={dragSelector:"",dragSelectorExclude:"input, textarea",
dragEnd:function(){},scrollContainer:window,scrollSpeed:5,dragCursor:""}})(jQuery);
$(function(){$("body").on("if6_kmmstat",function(){var b=$(".cbox.cbox-campaign.cbox-small.kmm .description").attr("data-kampagne");b&&($(".cbox.cbox-campaign.cbox-small.kmm").attr("data-kampagne",b),$(".cbox.cbox-campaign.cbox-small.kmm .description").removeAttr("data-kampagne"));if(b=$(".cbox-campaign.cbox.cbox-large.kmm .image").attr("data-kampagne"))$(".cbox-campaign.cbox.cbox-large.kmm").attr("data-kampagne",b),$(".cbox-campaign.cbox.cbox-large.kmm .image").removeAttr("data-kampagne");$(".cbox-campaign.cbox.cbox-small.mdi").each(function(){if(b=
$(this).find(".description").attr("data-mdi"))$(this).attr("data-mdi",b),$(this).find(".description").removeAttr("data-mdi")});$(".cbox-campaign.cbox.cbox-large.mdi").each(function(){if(b=$(this).find(".image").attr("data-mdi"))$(this).attr("data-mdi",b),$(this).find(".image").removeAttr("data-mdi")})});$("body").trigger("if6_kmmstat")});var ifLoginHeaderTimer={clientTimeoutInMinuten:4.8,serverTimeoutInMinuten:5,showLayerInSekunden:20,timeoutID:null};
function refreshClientTimeout(){ifLoginHeaderTimer.clientTimeout=6E4*ifLoginHeaderTimer.clientTimeoutInMinuten+(new Date).getTime();IF6.hideCountdownLayer()}function refreshServerTimeout(){ifLoginHeaderTimer.serverTimeout<(new Date).getTime()+15E3&&ifLoginHeaderTimer.serverTimeout<ifLoginHeaderTimer.clientTimeout&&(IF6.refreshSessions(!1),ifLoginHeaderTimer.serverTimeout=(new Date).getTime()+6E4*ifLoginHeaderTimer.serverTimeoutInMinuten)}var startCountdownLayer;
function showCountdownLayer(b){b&&(b=(new Date).getTime()+1E3*ifLoginHeaderTimer.showLayerInSekunden,ifLoginHeaderTimer.clientTimeout<b&&b<ifLoginHeaderTimer.clientTimeout+1E3&&"function"!==typeof startCountdownLayer&&IF6.showCountdownLayer(ifLoginHeaderTimer.showLayerInSekunden))}
function updateHeaderLoginIfPresent(b,c){if(b){var f=b.getAttribute("data-label-minutes"),e=b.getAttribute("data-label-seconds"),g=b.getAttribute("data-label-pre"),m=b.getAttribute("data-label-post");b.nbf?(f=60<c?Math.ceil(c/60).toFixed(0)+" "+f:c.toFixed(0)+" "+e,g="\x3cspan\x3e"+g+f+m+"\x3c/span\x3e",g!==b.dauerText&&(b.innerHTML=g,b.dauerText=g,$("#sdauer").attr("aria-live",120>=c?"assertive":"polite")),b=100-100*c/(60*ifLoginHeaderTimer.clientTimeoutInMinuten),$(".time-used").css({width:b+"%"})):
(f=60<c?Math.ceil(c/60).toFixed(0)+" "+f:c.toFixed(0)+"  "+e,g='\x3cspan class\x3d"logout-time-information" aria-hidden\x3d"true"\x3e'+f+' \x3c/span\x3e\x3cspan class\x3d"logout-time-detail-information"\x3e\x3cspan\x3e'+g+f+m+"\x3c/span\x3e\x3c/span\x3e",g!==b.dauerText&&(b.innerHTML=g,b.dauerText=g,$("#sdauer").attr("aria-live",120>=c?"assertive":"polite")),60>c&&$("#sdauer").attr("aria-live","off"))}}
function tick(){ifLoginHeaderTimer.timeoutID=null;var b=ifLoginHeaderTimer.clientTimeout-(new Date).getTime();b=0>b?0:Math.round(b/1E3);var c=document.getElementById("sdauer");c&&void 0===c.nbf&&(c.nbf=$("body").hasClass("nbf-frame"));showCountdownLayer(c);updateHeaderLoginIfPresent(c,b);refreshServerTimeout();0!==b?ifLoginHeaderTimer.timeoutID=window.setTimeout("tick()",60<b?3E3:1E3):c&&location.replace(location.pathname+"?logout\x3dtimeout")}
function setSessionTimeout(){refreshClientTimeout();ifLoginHeaderTimer.timeoutID&&(window.clearTimeout(ifLoginHeaderTimer.timeoutID),ifLoginHeaderTimer.timeoutID=null);tick()}
$(document).one("if6_page_ready",function(){ifLoginHeaderTimer.clientTimeout=0;ifLoginHeaderTimer.serverTimeout=(new Date).getTime()+6E4*ifLoginHeaderTimer.serverTimeoutInMinuten;document.addEventListener("keyup",refreshClientTimeout);document.addEventListener("click",refreshClientTimeout);document.addEventListener("wheel",refreshClientTimeout,{passive:!0});document.addEventListener("touchend",refreshClientTimeout);setSessionTimeout()});
IF6.refreshSessions=function(b){function c(b){b=$("#"+b);if(0<b.length){var c=b.attr("data-src-orig");c||(c=b.attr("src"),b.attr("data-src-orig",c));b.attr("src",c+"\x26refresh\x3d"+$.now())}}!1!==b&&(b=!0);$.ajax("/if/services/tdg?refresh\x3d"+$.now());c("tdgpixel");c("vzgpixel");"function"===typeof setSessionTimeout&&b&&setSessionTimeout()};
IF6.showCountdownLayer=function(b){$(".if6_lightbox.session-countdown").addClass("lightbox-visible").data("lightboxPreviousFocus",$(":focus").get(0));$(document).trigger("if6_page_ready");$(".if6_lightbox.session-countdown a").focus();countdownShow(b)};IF6.hideCountdownLayer=function(b){$(".if6_lightbox.session-countdown").hasClass("lightbox-visible")&&(void 0!=b?overlayClose(b):$(".if6_lightbox.session-countdown").removeClass("lightbox-visible").attr("aria-hidden","true"),callBreakHtml());return!1};
function countdownShow(b){var c=9<b?"0:"+b:"0:0"+b,f=document.getElementById("countdownCounter");f&&(f.innerHTML=c,0<b&&setTimeout("countdownShow("+(b-1)+");",1E3))}function callBreakHtml(){var b=location.pathname.indexOf("/home");-1!=b&&(b=location.pathname.substring(0,b+5),$.get(b+"/misc/break.html?fortsetzen\x3dweiter"))}
$(function(){$("#llsiteselect").each(function(){var b=this,c=$(this).find("~.loginlogout ul.siteselect");$(this).on("click",function(){this.checked&&(b.blur_timeout&&(window.clearTimeout(b.blur_timeout),b.blur_timeout=null),c.find("li:not(.active) a").focus())});c.find(".active\x3ea").on("click",function(){return b.checked=!1});c.find("a").on("focus",function(){b.blur_timeout&&(window.clearTimeout(b.blur_timeout),b.blur_timeout=null);b.checked=!0});c.find("a").on("blur",function(){b.blur_timeout=
window.setTimeout(function(){b.blur_timeout=null;b.checked=!1},200)})})});
$(function(){function b(){if(parseInt($(".if6_main").css("height"),10)>window.innerHeight)$("body").removeClass("footer-fixed"),$(".if6_main").css({borderBottomWidth:""});else{$("body").addClass("footer-fixed");var b=$(".if6_footer").height();$(".if6_main").css({borderBottomWidth:b})}}0===$(".if6_footer .if6_social .icon").length&&$(".if6_footer .if6_impressum").addClass("no-social-icons");$("body").hasClass("nbf-frame")&&(b(),$(window).on("resize",b))});
$(document).on("if6_page_ready",function(){var b=$(".nbf-text-input, .nbf-date-input, .nbf-textarea-input");b.parents("div.bline").css({position:"relative"});b.each(function(){var b=$(this).attr("id"),f=$(this).parent(),e=f.find(".blineover"),g=f.find(".nbf-input-right-icon").length?f.find(".nbf-input-right-icon"):f.find('label[for\x3d"'+b+'"]');if($(this).hasClass("error")||$(this).hasClass("nbf-textarea-input"))g=f.find(".nbf-input-right-text").length?f.find(".nbf-input-right-text"):g,e.insertAfter(g),
e.addClass("blineunder"),e.removeClass("blineover"),e.find(".msgerror ul li").prepend("\x3cdiv\x3e\x3c/div\x3e");if($(this).hasClass("nbf-text-input")||$(this).hasClass("nbf-textarea-input"))$(this).attr("placeholder")||$(this).attr("placeholder"," ");if($(this).hasClass("nbf-textarea-input")){f.find('label[for\x3d"'+b+'"]').insertAfter($(this));var m=this;$(this).siblings("div.blineunder").each(function(){0<$(this).children(".msgerror").length&&$(m).addClass("error")})}});$(".nbf-bselect-multiline").each(function(){var b=
$(this).find(".bselect-multiline"),f=$(this).find(".blineover"),e=$(this).find(".bterm");b.hasClass("error")&&(f.insertAfter(e),f.addClass("blineunder"),f.removeClass("blineover"),f.find(".msgerror ul li").prepend("\x3cdiv\x3e\x3c/div\x3e"))})});
var nbfDatePicker=function(){function b(){if(850>=window.innerWidth)window.setTimeout(function(){a=window.scrollY;$(".calendar-container").css("top",a)},300);else{var a=V?$(".select-time").offset().top:$(O).offset().top+$(O).outerHeight()-4;$(".calendar-container").css("top",a)}V?$(".select-time").offset().left+850<window.innerWidth&&$(".calendar-container").css({left:$(".select-time").offset().left,transform:"unset",width:$("div.bline.nbf-umsatzsuchefilter").width()}):850>=window.innerWidth?$(".calendar-container").css({left:0,
transform:"unset",width:"100vw"}):$(".calendar-container").css({left:$(O).offset().left,transform:"unset",width:$(O).outerWidth()-2});$(window).trigger("nbf:calendarIsOpen",[{calendarInput:O}])}function c(){850<window.innerWidth&&$(".manual-input-container").hide();b()}function f(a){var b=new Date;b.setDate(b.getDate()+a-1);return b}function e(a){var b=new Date;b.setDate(b.getDate()-a);return b}function g(a,b,c){return ya="z"===a||"zss"===a||"zsst"===a?{start:f(b),end:f(c)}:"v"===a||"range"===a?{start:e(c),
end:e(b)}:{start:e(b),end:f(c)}}function m(a){return 10>parseInt(a,10)?"0"+parseInt(a,10):a}function a(a,b,c){a=m(a);a+=".";10>b&&(a+="0");return a+(b+"."+c)}function d(b){return a(b.getDate(),b.getMonth()+1,b.getFullYear())}function h(a){a=a.split(".");return new Date(a[2],a[1]-1,a[0])}function n(b){var c=$(b).text().substring(0,2),d=parseInt(b.dataset.month,10);return a(c,d+1,b.dataset.year)}function p(a){var b=parseInt(a.dataset.month,10);a=a.dataset.year;return m(b+1)+"."+a}function u(a){var b=
$(a).text().substring(0,2),c=m(parseInt(a.dataset.month,10)+1);return a.dataset.year+"-"+c+"-"+b}function r(){return(new Date(ba.getTime()-6E4*ba.getTimezoneOffset())).toISOString().substr(0,10)}function w(){return getArrayMonthNames().map(function(a){return a.substr(0,3)})}function q(a,b){var c="";"errors.datum"===a&&(c=b+": "+IF.get("FehlerDatumFormat"));"errors.datum.zuFrueh"===a&&(c=IF.get("FehlerDatumZuFrueh"),c=c.replace("{0}",b),c=c.replace("{1}",d(ya.start)));"errors.datum.zuSpaet"===a&&(c=
IF.get("FehlerDatumZuSpaet"),c=c.replace("{0}",b),c=c.replace("{1}",d(ya.end)));c||(c=b+": "+IF.get("FehlerDatumFalsch"));return c}function t(a,b){a.setDate(a.getDate()+b);return a}function A(a,b){a.setDate(a.getDate()-b);return a}function y(a){var b=a%19,c=parseInt(a/100,10),d=(c-parseInt(c/4,10)-parseInt((8*c+13)/25,10)+19*b+15)%30;b=d-parseInt(d/28,10)*(1-parseInt(29/(d+1),10)*parseInt((21-b)/11,10));c=(a+parseInt(a/4,10)+b+2-c+parseInt(c/4,10))%7;b-=c;c=3+parseInt((b+40)/44,10);b=b+28-31*parseInt(c/
4,10);return new Date(a,c-1,b)}function x(a){var b;a.match(/^\d\d\.\d\d\d\d$/)&&(b=a.substr(3,4)+"-"+a.substr(0,2));a.match(/^\d\d\.\d\d\.\d\d\d\d$/)&&(b=a.substr(6,4)+"-"+a.substr(3,2)+"-"+a.substr(0,2));return isNaN(Date.parse(b))?!1:b}function z(a){return a.toISOString().substr(0,10)}function F(a){$(window).trigger("nbf:calendarIsClosed",[{calendarInput:O}]);$("body .calendar-container").off("click mouseenter mouseleave change keypress","**");$(O).off("blur");if(a&&Y)if(za&&J){a=$('input[name\x3d"select-start"]')[0].value;
var b=$('input[name\x3d"select-end"]')[0].value;h(a)>h(b)?($(S).val($('input[name\x3d"select-start"]')[0].value),$(Y).val($('input[name\x3d"select-end"]')[0].value)):($(Y).val($('input[name\x3d"select-start"]')[0].value),$(S).val($('input[name\x3d"select-end"]')[0].value));$(Y).trigger($.Event("valueChanged"))}else $(Y).trigger($.Event("noValueChanged"));else!a&&Y&&$(Y).trigger($.Event("noValueChanged"));$(".calendar-container").remove();$("body").removeClass("calendar-open");$(window).off("resize",
c);aa=ea=M=null;Ha=!1}function C(a){M=u(a);$('input[name\x3d"select-start"]').val(n(a))}function B(a){ea=u(a);$('input[name\x3d"select-end"]').val(n(a))}function L(){ea=null;$('input[name\x3d"select-end"]').val("")}function H(){$(".calendar-day").removeClass(["hovered","hovered-first","hovered-last"])}function I(){$(".calendar-day").removeClass(["selected","selected-first","selected-last","selected-one"])}function da(a){a=$(a.target).closest("td")[0];M&&!ea&&(aa=u(a),H(),$(".calendar-day").toArray().forEach(function(a){var b=
u(a),c=b>=M&&b<=aa,d=b>=aa&&b<=M,e=b<=r(),f=b===r();(c||d)&&e&&($(a).addClass("hovered"),(c&&b===M||d&&b===aa)&&$(a).addClass("hovered-first"),(c&&b===aa||d&&b===M||f)&&$(a).addClass("hovered-last"))}))}function Z(a){a=$(a.target).closest("td");if(!a.hasClass("invalid-date"))if(M&&ea)I(),L(),C(a[0]),a.addClass("selected selected-one"),a.trigger("mouseenter");else if(M){if(u(a[0])<M){var b=$("td.calendar-day.selected")[0];L();M=null;$('input[name\x3d"select-start"]').val("");ea=u(b);M=u(a[0]);C(a[0]);
B(b)}else B(a[0]);H();$(".selected-one").addClass("selected-first").removeClass("selected-one");$(".calendar-day").toArray().forEach(function(a){u(a)>M&&u(a)<ea&&$(a).addClass("selected")});a.addClass("selected selected-last");J=za=ka=!0;F(ka)}else L(),C(a[0]),a.addClass("selected selected-one")}function va(a,b){var c=new Date(b,a,1);c=0===c.getDay()?1:8-c.getDay();c=Math.ceil(((new Date(b,a+1,0)).getDate()-c)/7)+1;var d=((new Date(b,a,1)).getDay()+6)%7,e=[],f=1,g,h;for(g=0;g<c;g++){var k=[];for(h=
0;7>h;h++)f<=(new Date(b,a+1,0)).getDate()?0===g?h>=d?(k.push(f),f++):k.push(0):(k.push(f),f++):k.push(0);e.push(k)}return e}function ma(){$(".calendar-day").toArray().forEach(function(a){u(a)===r()&&$(a).addClass("current-date")})}function Fa(a){$(".calendar-day").toArray().forEach(function(b){u(b)===z(a)&&$(b).addClass("selected selected-one")})}function fa(a,b){a===b?$(".calendar-day").toArray().forEach(function(b){u(b)===z(a)&&$(b).addClass("selected selected-one")}):a<b&&$(".calendar-day").toArray().forEach(function(c){u(c)===
z(a)&&$(c).addClass("selected selected-first");u(c)===z(b)&&$(c).addClass("selected selected-last");u(c)>z(a)&&u(c)<z(b)&&$(c).addClass("selected")})}function sa(a,b){$(".calendar-day").toArray().forEach(function(c){var e=new Date(u(c)),f=e.setHours(0,0,0,0),g=b.start.setHours(0,0,0,0),h=b.end.setHours(0,0,0,0);(f=f>h||f<g)||((f=!V&&"z"!==a)&&!(f=6===e.getDay()||0===e.getDay())&&(f=c.dataset.year,"zsst"===a?(g=Array(11),g[0]="01.01."+f,g[1]="01.05."+f,g[2]="25.12."+f,g[3]="26.12."+f,f=y(f),g[4]=d(t(f,
1)),g[5]=d(A(f,3)),f=g):(g=Array(11),g[0]="01.01."+f,g[1]="01.05."+f,g[2]="25.12."+f,g[3]="26.12."+f,h=y(f),g[4]=d(t(h,1)),g[5]=d(A(h,3)),g[6]=d(t(h,41)),g[7]=d(t(h,11)),g[8]="03.10."+f,g[9]="24.12."+f,g[10]="31.12."+f,f=g),f=-1!==f.indexOf(d(e))),f=f&&"z"!==a);f&&$(c).addClass("invalid-date")});$(".calendar-month-td").toArray().forEach(function(a){ba.getFullYear()===P&&a.dataset.month<ba.getMonth()&&$(a).addClass("invalid-date")})}function wa(a){var b=new Date(P,parseInt(U,10)+1,0)>a.end;a=new Date(P,
U)<a.start;b?$(".toggle-next-month").hide():$(".toggle-next-month").show();a?$(".toggle-prev-month").hide():$(".toggle-prev-month").show()}function Pa(a){new Date(parseInt(P,10)+1,0,0)>a.end&&$(".toggle-next-year").hide();new Date(P,0,1)<a.start&&$(".toggle-prev-year").hide()}function Ma(a){var b=(new Date).getMonth()+1;a===b||a+1===b?$("#untilTodayButtonWrapper").hide():$("#untilTodayButtonWrapper").show()}function Qa(a){return"z"===a?"":'\x3cdiv class\x3d"calendar-link"\x3e\x3ca href\x3d"javascript:void(0)"\x3e'+
("month"===a?getBezeichnungUnbegrenzt():getBezeichnungNaechstmoeglich())+"\x3c/a\x3e\x3c/div\x3e"}function ta(){return'\x3cdiv class\x3d"datepicker-error blineunder"\x3e\x3cdiv class\x3d"msgerror"\x3e\x3cul\x3e\x3cli class\x3d"select-start-error"\x3e\x3cdiv\x3e\x3c/div\x3e'+q(K,$('input[name\x3d"select-start"]').val())+'\x3c/li\x3e\x3cli class\x3d"select-end-error"\x3e\x3cdiv\x3e\x3c/div\x3e'+q(ra,$('input[name\x3d"select-end"]').val())+"\x3c/li\x3e\x3c/ul\x3e\x3c/div\x3e\x3c/div\x3e"}function $a(a,
b){var c="\x3ctr\x3e";getArrayWeekdayNames().forEach(function(a){c+="\x3cth\x3e"+a+"\x3c/th\x3e"});c+="\x3c/tr\x3e";var d=va(a,b),e="",f="",g,h;for(g=0;g<d.length;g++){f='\x3ctr role\x3d"row"\x3e';for(h=0;7>h;h++)0!==d[g][h]?(f+='\x3ctd role\x3d"gridcell" tabindex\x3d"-1" class\x3d"calendar-day" data-day\x3d"'+h+'" data-month\x3d"'+a+'" data-year\x3d"'+b+'"\x3e',f+="\x3cspan\x3e\x3cspan\x3e"+m(d[g][h])+"\x3c/span\x3e\x3c/span\x3e",f+="\x3c/td\x3e"):f+="\x3ctd\x3e\x3c/td\x3e";f+="\x3ctr/\x3e";e+=f}return'\x3ctable role\x3d"grid"\x3e\x3cthead\x3e'+
c+"\x3c/thead\x3e\x3ctbody\x3e"+e+"\x3c/tbody\x3e\x3c/table\x3e"}function W(a,b){var c='\x3cdiv class\x3d"month-head"\x3e\x3cdiv class\x3d"month-toggle toggle-prev-month"\x3e\x3c/div\x3e\x3cdiv class\x3d"month-label" id\x3d"month-name" role\x3d"region" aria-label\x3d"'+getArrayMonthNames()[a]+'"\x3e';var d=getArrayMonthNames()[a];return'\x3cdiv class\x3d"calendar-month" tabindex\x3d"0" aria-labelledby\x3d"month-name"\x3e'+(c+d+" "+b+'\x3c/div\x3e\x3cdiv class\x3d"month-toggle toggle-next-month"\x3e\x3c/div\x3e\x3c/div\x3e')+
$a(a,b)+"\x3c/div\x3e"}function na(a,b){return'\x3cdiv class\x3d"calendar-body"\x3e'+(0===a?W(11,b-1):W(a-1,b))+W(a,b)+"\x3c/div\x3e"}function Da(a,b,c){return'\x3cdiv class\x3d"calendar-body"\x3e'+W(a,b)+Qa(c)+"\x3c/div\x3e"}function ua(a){var b,c,d;O&&x($(O).val())&&(b=new Date(x($(O).val())));var e='\x3cdiv class\x3d"calendar-body"\x3e\x3cdiv class\x3d"month-select"\x3e'+('\x3cdiv class\x3d"year-head"\x3e\x3cdiv class\x3d"year-toggle toggle-prev-year"\x3e\x3c/div\x3e\x3cdiv class\x3d"year-label"\x3e'+
a+'\x3c/div\x3e\x3cdiv class\x3d"year-toggle toggle-next-year"\x3e\x3c/div\x3e\x3c/div\x3e')+"\x3ctable\x3e\x3ctbody\x3e";for(c=0;3>c;c++){e+="\x3ctr\x3e";for(d=0;4>d;d++)e+='\x3ctd data-month\x3d"'+(4*c+d)+'" data-year\x3d"'+a+'" class\x3d"calendar-month-td',ba.getFullYear()===a&&ba.getMonth()===4*c+d&&(e+=" current-date"),b&&b.getFullYear()===a&&b.getMonth()===4*c+d&&(e+=" selected selected-one"),e+='"\x3e\x3cspan\x3e\x3cspan\x3e'+w()[4*c+d]+"\x3c/span\x3e\x3c/span\x3e\x3c/td\x3e",3!==d&&(e+="\x3ctd\x3e\x3c/td\x3e");
e+="\x3c/tr\x3e"}return e+="\x3c/tbody\x3e\x3c/table\x3e\x3c/div\x3e"+Qa("month")+"\x3c/div\x3e"}function bb(a,b,e){ba=new Date;b=g(a,b,e);if(!V&&O&&x($(O).val())){var f=new Date(x($(O).val()));P=f>=b.start&&f<=b.end?f.getFullYear():ba.getFullYear();U=f>=b.start&&f<=b.end?f.getMonth():ba.getMonth()}else if(V&&Y&&S&&x($(Y).val())&&x($(S).val())){var h=new Date(x($(Y).val()));var k=new Date(x($(S).val()));P=k>=b.start&&k<=b.end?k.getFullYear():ba.getFullYear();U=k>=b.start&&k<=b.end?k.getMonth():ba.getMonth();
M=z(h);ea=z(k)}else P=ba.getFullYear(),U=ba.getMonth();e=$(".calendar-container");var m="";V?m='\x3cdiv class\x3d"calendar-head"\x3e\x3clabel for\x3d"select-start"\x3e'+getBezeichnungZeitraum()+': \x3c/label\x3e\x3cinput type\x3d"text" name\x3d"select-start" id\x3d"select-start" class\x3d"date-input" placeholder\x3d"tt.mm.jjjj" maxlength\x3d"10" aria-label\x3d"'+getBezeichnungVon()+'"/\x3e \x26ndash; \x3cinput type\x3d"text" name\x3d"select-end" id\x3d"select-end" class\x3d"date-input" placeholder\x3d"tt.mm.jjjj" maxlength\x3d"10" aria-label\x3d"'+
getBezeichnungBis()+'"/\x3e\x3cdiv class\x3d"calendar-close" aria-role\x3d"link" aria-label\x3d"'+getBezeichnungDatepickerSchliessen()+'"\x3e\x3c/div\x3e'+ta()+'\x3c/div\x3e\x3cdiv class\x3d"calendar-head-mobile"\x3e\x3cdiv class\x3d"calendar-head-label"\x3e'+getBezeichnungEigenenZeitraumWaehlen()+'\x3c/div\x3e\x3cdiv class\x3d"calendar-close" aria-role\x3d"link" aria-label\x3d"'+getBezeichnungDatepickerSchliessen()+'"\x3e\x3c/div\x3e\x3c/div\x3e'+na(U,P)+('\x3cdiv class\x3d"manual-input-trigger"\x3e\x3cdiv class\x3d"trigger-label" aria-role\x3d"link"\x3e'+
getBezeichnungZeitraumManuellEingeben()+'\x3c/div\x3e\x3cdiv class\x3d"trigger-icon"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"manual-input-container"\x3e\x3cdiv class\x3d"manual-input-body"\x3e\x3cdiv class\x3d"manual-input"\x3e\x3clabel\x3e'+getBezeichnungVon()+'\x3c/label\x3e\x3cinput type\x3d"text" name\x3d"select-start" class\x3d"manual-date-input" placeholder\x3d"tt.mm.jjjj" maxlength\x3d"10" aria-label\x3d"'+getBezeichnungVon()+'"/\x3e\x3c/div\x3e\x3cdiv class\x3d"manual-input"\x3e\x3clabel\x3e'+
getBezeichnungBis()+'\x3c/label\x3e\x3cinput type\x3d"text" name\x3d"select-end" class\x3d"manual-date-input" placeholder\x3d"tt.mm.jjjj" maxlength\x3d"10" aria-label\x3d"'+getBezeichnungBis()+'"/\x3e\x3c/div\x3e'+ta()+"\x3c/div\x3e\x3c/div\x3e")+'\x3cdiv id\x3d"untilTodayButtonWrapper" class\x3d"untilTodayButton"\x3e\x3cspan\x3ebis heute\x3c/span\x3e\x3c/div\x3e':(m='\x3cdiv class\x3d"calendar-head-mobile"\x3e\x3cdiv class\x3d"calendar-head-label"\x3e'+$(O).siblings("label").text()+'\x3c/div\x3e\x3cdiv class\x3d"calendar-close" aria-role\x3d"link" aria-label\x3d"'+
getBezeichnungDatepickerSchliessen()+'"\x3e\x3c/div\x3e\x3c/div\x3e',m+="month"===a?ua(P):Da(U,P,a));e.html(m);ma();!V&&f?Fa(f):V&&h&&k&&(fa(h,k),$('input[name\x3d"select-start"]').val(d(h)),$('input[name\x3d"select-end"]').val(d(k)));sa(a,b);wa(b);Pa(b);Ma(U);e.show();setTimeout(function(){$($(".date-input[name\x3dselect-start]")[0]).focus()},200);$(window).on("resize",c)}function ia(a,b,c,d){if(O&&x($(O).val()))var e=new Date(x($(O).val()));else if(Y&&S&&x($(Y).val())&&x($(S).val())){var f=new Date(x($(Y).val()));
var h=new Date(x($(S).val()))}"prev"===b?0>=U?(U=11,P--):U--:"next"===b&&(11<=U?(U=0,P++):U++);V?$(".calendar-body").replaceWith(na(U,P)):$(".calendar-body .calendar-month").replaceWith(W(U,P));b=g(a,c,d);ma();!V&&e?Fa(e):V&&f&&h&&fa(f,h);sa(a,b);wa(b);Ma(U);V&&$(".calendar-day").toArray().forEach(function(a){var b=new Date(Date.now()),c=Date.parse(u(a));90<Math.round((b-c)/864E5)&&$(a).addClass("tan-required");M&&ea?u(a)>=M&&u(a)<=ea&&($(a).addClass("selected"),u(a)===M&&$(a).addClass("selected-first"),
u(a)===ea&&$(a).addClass("selected-last")):M&&u(a)===M&&$(a).addClass("selected selected-one")})}function ha(a,b){a=g("month",a,b);$(".calendar-body").replaceWith(ua(P));Pa(a);sa("month",a)}function xa(a){clearTimeout(null);if(V)Z(a);else{var b=O;a=$(a.target).closest("td");a.hasClass("invalid-date")||($(b).val(n(a[0])),$(b).trigger("change"),F())}}function oa(){return $(".calendar-container .calendar-body tbody td.calendar-day").first()}function Ga(){return $(".calendar-container .calendar-body tbody td.calendar-day").last()}
function Ea(a){var b;$(".calendar-day").toArray().forEach(function(c){var d=new Date(u(c));a.getDate()===d.getDate()&&(b=c)});return b}function cb(a,b,c,d){var e=document.querySelector(".calendar-container"),f=null,g=null;e.addEventListener("touchstart",function(a){f=a.touches[0].clientX;g=a.touches[0].clientY},!1);e.addEventListener("touchmove",function(h){if(null!==f&&null!==g){var k=f-h.touches[0].clientX;Math.abs(k)>Math.abs(g-h.touches[0].clientY)&&(clearTimeout(a),0<k?$(e).find(".toggle-prev-month").is(":visible")&&
ia(b,"prev",c,d):$(e).find(".toggle-next-month").is(":visible")&&ia(b,"next",c,d));g=f=null;h.preventDefault()}},!1)}function db(a,c,e,f,g){J=za=Ha=!0;$("body").append('\x3cdiv class\x3d"calendar-container"\x3e\x3c/div\x3e');setTimeout(function(){$("body").addClass("calendar-open");cb(null,a,c,e)},100);V||""===f||(O=$('input[name\x3d"'+f+'"]')[0],$(".calendar-container").addClass("single-select"));V&&""!==f&&""!==g&&(Y=$('input[name\x3d"'+f+'"]')[0],S=$('input[name\x3d"'+g+'"]')[0]);b();bb(a,c,e);
$(window).trigger("nbf:calendarIsOpen",[{calendarInput:O}]);$(window).on("orientationchange",function(a){Ha&&setTimeout(function(){b()},100)});$("body .calendar-container").on("click",".calendar-close",function(){F(ka)});$("body .calendar-container").on("click",".toggle-prev-month",function(){clearTimeout(null);ia(a,"prev",c,e)});$("body .calendar-container").on("click",".toggle-next-month",function(){clearTimeout(null);ia(a,"next",c,e)});$("body .calendar-container").on("click",".toggle-prev-year",
function(){clearTimeout(null);P--;ha(c,e)});$("body .calendar-container").on("click",".toggle-next-year",function(){clearTimeout(null);P++;ha(c,e)});$("body .calendar-container").on("click",".calendar-day",function(a){a.stopImmediatePropagation();xa(a)});$("body .calendar-container").on("click",".calendar-month-td",function(a){a.stopImmediatePropagation();clearTimeout(null);var b=O;a=$(a.target).closest("td");a.hasClass("invalid-date")||($(b).val(p(a[0])),F())});$("body .calendar-container").on("click",
".calendar-link a",function(a){a.stopImmediatePropagation();clearTimeout(null);$(O).val("");$(O).trigger("change");F()});$("body .calendar-container").on("mouseenter",".calendar-day",function(a){V&&(a.stopImmediatePropagation(),da(a),a=$(a.target).closest("td"),a.hasClass("tan-required")&&(a.append('\x3cdiv class\x3d"nbf-datepicker-tooltip" style\x3d"opacity:0"\x3eggf. TAN erforderlich\x3c/div\x3e'),a.offset().left+$(".nbf-datepicker-tooltip").width()+55>window.innerWidth&&$(".nbf-datepicker-tooltip").addClass("tooltip-left"),
a.find(".nbf-datepicker-tooltip").animate({opacity:"1"},480)))});$("body .calendar-container").on("mouseenter",".nbf-datepicker-tooltip",function(a){$(a.target).remove()});$("body .calendar-container").on("mouseleave",".calendar-day",function(a){V&&(a.stopImmediatePropagation(),H(),$(a.target).closest("td").find(".nbf-datepicker-tooltip").remove())});$("body .calendar-container").on("change",'input[name\x3d"select-start"], input[name\x3d"select-end"]',function(a){ea=M=null;H();I();ka=!0;var b=$(this),
c="",d=$(b)[0].getAttribute("name");(b=x(b.val()))||(c="errors.datum");c||(b=new Date(b),b<ya.start?c="errors.datum.zuFrueh":b>ya.end?c="errors.datum.zuSpaet":"select-start"===d?(za=!0,K=""):(J=!0,ra=""));c&&("select-start"===d?(za=!1,K=c):(J=!1,ra=c));$(".datepicker-error").replaceWith(ta());za?($(".select-start-error").hide(),$("[name\x3dselect-start]").removeClass("error")):($(".select-start-error").css("display","flex"),$("[name\x3dselect-start]").addClass("error"));J?($(".select-end-error").hide(),
$("[name\x3dselect-end]").removeClass("error")):($(".select-end-error").css("display","flex"),$("[name\x3dselect-end]").addClass("error"));za&&J||$(".calendar-head .datepicker-error").css("padding-top","12px");"select-start"===a.target.getAttribute("name")?$('input[name\x3d"select-start"]').val(a.target.value):$('input[name\x3d"select-end"]').val(a.target.value)});$("body .calendar-container").on("keypress",'input[name\x3d"select-start"], input[name\x3d"select-end"]',function(a){a.key&&"ENTER"===
a.key.toUpperCase()&&($(this).trigger("change"),za&&J&&F(ka));var b=$(this),c=a.which;47<c&&58>c||46===c?47<c&&58>c&&(a=b.val().length,2===a&&/^\d{2}/.test(b.val())?b.val(b.val()+"."):5===a&&/^(\d{2}\.\d{2})/.test(b.val())&&b.val(b.val()+".")):a.preventDefault()});$("body .calendar-container").on("click",".manual-input-trigger",function(){clearTimeout(null);$(".manual-input-container").show();$(".manual-date-input[name\x3dselect-start]").focus()});if(850<$(window).width())$("#"+f).on("blur",function(a){$(".calendar-container .calendar-body tbody td.calendar-day:not(.invalid-date)").first().focus()});
$("body .calendar-container").on("keydown",".calendar-day",function(a){a.preventDefault();var b='td[data-day\x3d"'+$(this).attr("data-day")+'"]';switch(a.key){case "ArrowLeft":b=$(this).prev(".calendar-day");b.length||(b=$($(this).parent().prev().prev()).children().last());b.length||(ia(G,"prev",pa,k),Ga().focus());$(b).trigger("focus");break;case "ArrowRight":b=$(this).next(".calendar-day");b.length||(b=$($(this).parent().next().next()).children().first());b.length||(ia(G,"next",pa,k),oa().focus());
$(b).trigger("focus");break;case "ArrowUp":a=$(this).parent().prev().prev().find(b);a.length||(ia(G,"prev",pa,k),$(".calendar-container .calendar-body tbody "+b).last().focus());$(a).trigger("focus");break;case "ArrowDown":a=$(this).parent().next().next().find(b);a.length||(ia(G,"next",pa,k),$(".calendar-container .calendar-body tbody "+b).first().focus());$(a).trigger("focus");break;case "Enter":xa({target:document.activeElement});break;case "End":Ga().focus();break;case "Home":oa().focus();break;
case "PageUp":a.shiftKey?(P--,ia(G,"none",pa,k),Ea(new Date(u(this))).focus()):(ia(G,"prev",pa,k),b=new Date(u(this)),(b=Ea(b))||(b=Ga()),b.focus());break;case "PageDown":a.shiftKey?(P++,ia(G,"none",pa,k),Ea(new Date(u(this))).focus()):(ia(G,"next",pa,k),b=new Date(u(this)),(b=Ea(b))||(b=oa()),b.focus());break;case "Tab":F(ka)}});$("#untilTodayButtonWrapper").on("click",function(){clearTimeout(null);ea=r();$('input[name\x3d"select-end"]').val(d(new Date));ka=!0;F(ka)})}var ba,P,U,M,ea,aa,V,O,Y,S,
ka,ya,Ha=!1,za=!0,J=!0,K,ra="",G,pa,k;return{init:function(a,b,c,d,e){850<$(window).width()||$("#"+a).trigger("blur");G=b;pa=c;k=d;V="range"===b;ka=!1;Ha||db(b,c,d,a,e)},closeCalendar:F}}();$(document).on("if6_page_ready",function(){$("body.nbf").click(function(b){$("body").hasClass("calendar-open")&&0>=$(b.target).closest(".calendar-container").length&&0>=$(b.target).closest(".month-toggle").length&&0>=$(b.target).closest(".year-toggle").length&&nbfDatePicker.closeCalendar()})});
var nbfTanInput=function(){function b(b){var a='\x3cdiv class\x3d"tan-input" aria-hidden\x3d"true"\x3e',c;if(8===e){a+='\x3cdiv class\x3d"digit-box-line"\x3e\x3cdiv class\x3d"digit-box-block"\x3e';for(c=0;c<b/2;c++)a+='\x3cdiv class\x3d"tan-digit"\x3e\x3c/div\x3e';a+='\x3c/div\x3e\x3cdiv class\x3d"digit-box-block"\x3e';for(c=b/2;c<b;c++)a+='\x3cdiv class\x3d"tan-digit"\x3e\x3c/div\x3e';a+="\x3c/div\x3e\x3c/div\x3e"}else{a+='\x3cdiv class\x3d"digit-box-line"\x3e';for(c=0;c<b;c++)a+='\x3cdiv class\x3d"tan-digit"\x3e\x3c/div\x3e';
a+="\x3c/div\x3e"}0<$(".msgerror").length&&(a=a+'\x3cdiv class\x3d"message-error"\x3e'+$($(".msgerror")[$(".msgerror").length-1]).html(),a+="\x3c/div\x3e",$(".msgerror").hide());return a+"\x3c/div\x3e"}function c(){$(".tan-digit").removeClass("tan-digit-selected tan-digit-end-cursor")}function f(b){"last"===b?$($(".tan-digit:empty")[0]).addClass("tan-digit-selected"):$($(".tan-digit")[b]).addClass("tan-digit-selected")}var e,g;return{init:function(m){g=$(m);e=parseInt(g.attr("maxlength"),10);var a=
$(g.closest(".tan-input-line")[0]),d;a.hasClass("nbf-tan")&&(a.removeClass("nbf-tan"),$(".tan-input").remove());a.closest(".block").addClass("nbf-tan-block");a.addClass("nbf-tan").append(b(e));setTimeout(function(){a.height($(".tan-input").height()-10);if(g.val()&&0<g.val().length)for(d=0;d<g.val().length;d++)$($(".tan-digit")[d]).text(g.val()[d])},500);g.hasClass("error")&&$(".tan-digit").addClass("error");g.on("keydown",function(a){var b=this.value?this.value.length:0;if(a.key&&1===a.key.length&&
0<b&&(b<e||this.selectionEnd!==e)&&this.selectionStart===this.selectionEnd){a.preventDefault();var d=this.selectionStart;this.value=this.value.slice(0,this.selectionStart)+a.key+this.value.slice(this.selectionStart+1);this.selectionEnd=this.selectionStart=d+1}else{var h=["LEFT","ARROWLEFT","UP","ARROWUP"],m=["RIGHT","ARROWRIGHT","DOWN","ARROWDOWN"],w=[].concat(h,m,["HOME","END"]),q=a.key?a.key.toUpperCase():null;b=a.target;var t=b.value?b.value.length:0;b&&q&&0<=w.indexOf(q)?(c(),a.preventDefault(),
0<=h.indexOf(q)?d=0===b.selectionStart?0:b.selectionStart-1:0<=m.indexOf(q)?d=b.selectionEnd<=e?b.selectionEnd+1:e-1:"HOME"===q?d=0:"END"===q&&(d=t===e?t-1:t),a=g[0],"number"===typeof a.selectionStart&&(a.selectionStart=a.selectionEnd=d),f(b.selectionStart)):"TAB"!==q||!a.shiftKey&&(b.selectionEnd>=e-1||b.selectionEnd===t)||a.shiftKey&&0===b.selectionStart||(a.preventDefault(),a.shiftKey?$(b).trigger($.Event("keydown",{key:"ARROWLEFT"})):$(b).trigger($.Event("keydown",{key:"ARROWRIGHT"})))}});g.on("keyup",
function(){c();this.selectionStart!==this.selectionEnd?$(this).trigger("focus"):(f(this.selectionEnd),$(this).trigger("input"))});g.on("input",function(){c();var a=this.value,b=this.value?this.value.length:0;$(".tan-digit").text("");for(d=0;d<b;d++)$($(".tan-digit")[d]).text(a[d]);this.selectionStart===e?$(".tan-digit:last").addClass("tan-digit-end-cursor"):this.selectionStart<b?f(this.selectionStart):f(b)});g.on("focus",function(){c();if(this.selectionStart!==this.selectionEnd)for(d=this.selectionStart;d<
this.selectionEnd;d++)f(d);else f(this.selectionEnd)});g.on("blur",function(){c()});$(".tan-digit").click(function(){var a=4*$(this).closest(".digit-box-block").prev(".digit-box-block").length;g[0].selectionStart=g[0].selectionEnd=$(this).index()+a;g.focus();""===$(this).text()&&f("last")})}}}();
$(document).on("if6_page_ready",function(){$(".nbf [class*\x3dformat-tan][id]").not(function(){var b=this.nbf_tan_input_added;this.nbf_tan_input_added=!0;return b}).each(function(){nbfTanInput.init(this);$(".bline.tan-select").closest(".block").css("border-top","none")})});
$(function(){$(".nbf-frame .header-misc .nav-login button").on("click",function(){if($(".nbf-frame .header-misc .nav-main").is(":visible"))return!0;$(".if6_lightbox.banking-login").remove();$(".if6_main").append('\x3cdiv class\x3d"if6_outer if6_lightbox banking-login"\x3e\x3cdiv class\x3d"if6_inner"\x3e\x3csection class\x3d"if6_section"\x3e\x3cdiv class\x3d"parsys"\x3e\x3cdiv class\x3d"cbox cbox-banking cbox-large"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/section\x3e\x3c/div\x3e\x3c/div\x3e');$(".if6_lightbox.banking-login .cbox-large").append($(this).closest("form").clone());
$(".if6_lightbox.banking-login .cbox-large form").attr("data-ajstep","1");$(".if6_lightbox.banking-login .cbox-large button").attr("data-ajstep-complete-event","showBankingLogin").off("click");$(document).trigger("if6_page_ready");$(".if6_lightbox.banking-login form button").click();return!1});$(document).on("showBankingLogin",function(){$(".if6_lightbox.banking-login").addClass("lightbox-visible");$("body").addClass("lightbox_visible");IF6.adjustLightboxAriaHidden()})});
function selectListBoxItem(b,c){var f=$(".nbf-slider label",c),e=$(".toggle-listbox",c);$('\x3e div:not(.nbf-slider) input[type\x3d"checkbox"]',c).each(function(c){$(this).prop("checked",c===b)});$("li",e).removeClass("selected");$($("li",e)[b]).addClass("selected");f.text($("\x3e div:not(.nbf-slider)",c)[b].innerText);$('.nbf-slider input[type\x3d"checkbox"]',c).prop("checked",!0)}
$(document).on("if6_page_ready",function(){$(".nbf .nbf-geld-senden .bline div.helpovly").each(function(){$(this).parent("div").addClass("nbf-has-infoicon")});$(".nbf-toggle-with-listbox").length&&$(".nbf-toggle-with-listbox").each(function(b){var c=$(this);if(!$(".toggle-listbox",c).length){var f='\x3cdiv class\x3d"nbf-slider"\x3e';f+='\x3cinput type\x3d"checkbox" id\x3d"slider-toggle'+b+'"/\x3e\x3cspan class\x3d"checkbox"\x3e\x3c/span\x3e';f+='\x3clabel for\x3d"slider-toggle'+b+'"\x3e'+$("\x3e div",
c)[0].innerText+"\x3c/label\x3e";f+='\x3c/div\x3e\x3cdiv class\x3d"toggle-listbox"\x3e\x3cul\x3e';$("\x3e div",c).each(function(){f+="\x3cli\x3e"+$("label",$(this)).text()+"\x3c/li\x3e"});f+="\x3c/ul\x3e\x3c/div\x3e";c.append(f)}b=$(".nbf-slider label",c);var e=$(".toggle-listbox",c);e.hide();$("\x3e div:not(.nbf-slider)",c).each(function(b){$('input[type\x3d"checkbox"]',$(this)).is(":checked")&&selectListBoxItem(b,c)});1<$("li",e).length&&b.addClass("has-listbox").click(function(b){b.preventDefault();
$(".toggle-listbox").hide();e.show()});$("li",e).click(function(){var b=$(this).index();selectListBoxItem(b,c);e.hide()});$('.nbf-slider input[type\x3d"checkbox"]',c).change(function(){if($(this).is(":checked")){var b=$("li.selected",e).length?$("li.selected",e).index():0;selectListBoxItem(b,c)}else $('\x3e div:not(.nbf-slider) input[type\x3d"checkbox"]',c).each(function(){$(this).prop("checked",!1)});e.hide()});$("*").click(function(b){$(b.target).closest(".nbf-toggle-with-listbox").length||e.hide()})})});
$(document).on("if6_page_ready",function(){$(".nbf .nbf-box .campaign").each(function(){$(this).closest(".nbf-box").addClass("nbf-has-campaign")});0<$(".smartphone-banner_outer").length&&$("body").addClass("smartphone-banner-visible")});
$(document).on("if6_page_ready",function(){$(".nbf-finanzstatus .block .footer").closest(".block").addClass("has-footer").prev(".block").addClass("last-before-footer");$(".button-hide-remaining-block-nbf").not(function(){return this.nbf_expandable_added}).each(function(){this.nbf_expandable_added=!0;var b=$(this).closest(".nbf-container-box.expandable"),c=$(this).closest(".block");b.attr("data-animateable","true");$(this).hasClass("hide-initial")?b.addClass("expandable-is-hidden done-animating"):
b.addClass("expandable-is-visible done-animating");c.addClass("has-expandable-is-hidden");$(this).closest(".nbf-container-box.expandable-is-hidden").find(".expandable-content").css("display","none");$(this).on("click",function(c){c.stopPropagation();var e=$(this).data("json"),f;c=b.find(".expandable-content");var m=c.find(".nbf-box").length;m=3<m?90*m:500;var a=b.closest(".block");b.hasClass("done-animating")&&(b.closest(".if6_inner").css("overflow","hidden"),b.hasClass("done-animating")&&b.removeClass("done-animating").addClass("is-animating"),
c.slideToggle(m,function(){b.toggleClass("expandable-is-visible expandable-is-hidden").removeClass("is-animating").addClass("done-animating").closest(".if6_inner").css("overflow","visible");a.toggleClass("has-expandable-is-visible has-expandable-is-hidden")}));setTimeout(function(a){f=a.closest(".nbf-container-box.expandable").hasClass("expandable-is-visible")?"open":"closed";if(e&&e.saveState&&e.saveState.url&&e.saveState.paramName){a=e.saveState;var b=f,c;if(a.restapiTemplate){for(c=0;c<a.restapiTemplate.process.processInput.processParameter.length;++c){var d=
a.restapiTemplate.process.processInput.processParameter[c];if(d.name&&d.name===a.paramName){d.value=b;break}}c>=a.restapiTemplate.process.processInput.processParameter.length&&a.restapiTemplate.process.processInput.processParameter.push({name:a.paramName,value:b});b=JSON.stringify(a.restapiTemplate);d="application/json; charset\x3dUTF-8"}else b=a.paramName+"\x3d"+encodeURIComponent(b),d="application/x-www-form-urlencoded; charset\x3dUTF-8";$.ajax({method:"POST",url:a.url,processData:!1,data:b,contentType:d,
timeout:2E4})}},m+500,$(this))})})});
$(document).on("if6_page_ready",function(){$(".nbf-echtzeitueberweisung").not(function(){var b=this.echtzeitueberweisung;this.echtzeitueberweisung=!0;return b}).each(function(){var b=$(".nbf-echtzeitueberweisung"),c=b.find(".has-nbf-radio.radio-card .has-input input"),f=b.find(".has-nbf-radio.radio-card"),e=$("label[data-id\x3d'idEchtzeitLinie']").find("input[type\x3dradio]");e.on("nbf.enableEchtzeit",function(){var b=e.closest(".has-nbf-radio.radio-card");e.prop("disabled",!1);b.removeClass("disabled")});
e.on("nbf.disableEchtzeit",function(){var b=e.closest(".has-nbf-radio.radio-card");e.prop("disabled",!0);b.addClass("disabled")});$(window).on("nbf:calendarIsOpen",function(b,c){b=$(c.calendarInput).prop("id");c=$(window).width();var a=$("#"+b);0<a.closest(".nbf-echtzeitueberweisung").length&&850<c&&($("body").addClass("calendar-open-echtzeitueberweisung"),setTimeout(function(){var b=a.closest("label"),c=b.offset().top;b=b.outerHeight();c=c+b-5;$(".calendar-container").css({top:c+"px"})}))});$(window).on("nbf:calendarIsClosed",
function(){f.removeClass("opened-datepicker").show();$("body").removeClass("calendar-open-echtzeitueberweisung")});f.on("click",function(){0<$(this).find(".has-input").length&&(f.hide().filter($(this)).show().addClass("opened-datepicker"),$(this).find(".has-input input").focus())});c.on("focus, click",function(){$(this).closest(".has-nbf-radio.radio-card").find(".radio").trigger("click");$(this).is(":focus")||nbfDatePicker.closeCalendar()});c.keydown(function(b){b=b.which;var c=$(this).closest(".has-nbf-radio.radio-card"),
a=c.next(".has-nbf-radio.radio-card");c=c.prev(".has-nbf-radio.radio-card");39===b&&!a.hasClass("disabled")&&a.length&&(f.removeClass("opened-datepicker").show(),a.find(".radio").trigger("click"));37===b&&!c.hasClass("disabled")&&c.length&&(f.removeClass("opened-datepicker").show(),c.find(".radio").trigger("click"))})})});$(document).on("if6_page_ready",function(){$("body.nbf:not(.cq-wcm-edit) form.nbf-remove-above-bankingbox").each(function(){$(this).closest(".cbox-banking").prevAll(".if6_glossar, .text").remove()})});
$(document).on("if6_page_ready",function(){function b(b){var c=[];$(b).children().each(function(){var b=$(this);b.hasClass("mkp-card-group")?b.children().each(function(){c.push(this)}):b.hasClass("mkp-card-list-buttonline")||c.push(this)});return c}function c(b){var c;for(c=0;c<b.cardListLazyLoadData.elements.length&&$(b.cardListLazyLoadData.elements[c]).hasClass("ll-visible");++c);var f=c+b.cardListLazyLoadData.step-1;f>=b.cardListLazyLoadData.elements.length-1&&($(b).addClass("ll-all-shown"),f=
b.cardListLazyLoadData.elements.length-1);if(!(0>f)){for($(b.cardListLazyLoadData.elements[f]).is("li")||f--;c<=f;)$(b.cardListLazyLoadData.elements[c]).addClass("ll-visible"),$(b.cardListLazyLoadData.elements[c]).removeClass("ll-invisible"),c++;for(;c<b.cardListLazyLoadData.elements.length;)$(b.cardListLazyLoadData.elements[c]).addClass("ll-invisible"),c++}}$(".mkp-card-list.lazyload").each(function(){var f=this;f.cardListLazyLoadData={};f.cardListLazyLoadData.elements=b(f);f.cardListLazyLoadData.step=
$(f).data("lazyload");isNaN(f.cardListLazyLoadData.step)&&(f.cardListLazyLoadData.step=50);$(f).hasClass("ll-initialized")||(c(f),$(f).addClass("ll-initialized"));$(this).find(".mkp-card-list-buttonline a.show-more").not(function(){var b=this.showmore_added;this.showmore_added=!0;return b}).attr("data-ajstep-disabled","true").click(function(){c(f);return!1});$(this).find(".mkp-card-list-buttonline a.show-all").not(function(){var b=this.showall_added;this.showall_added=!0;return b}).attr("data-ajstep-disabled",
"true").click(function(){f.cardListLazyLoadData.step=f.cardListLazyLoadData.elements.length;c(f);return!1})})});
$(document).on("if6_page_ready",function(){$(".nbf-gv .mkp-expandable").not(function(){return this.mkp_expandable}).each(function(){function b(){c.hasClass("is-hidden")?(c.removeClass("is-hidden").addClass("is-visible"),f.attr("aria-expanded","true")):f.attr("aria-expanded","false");e.stop().slideToggle("slow",function(){"block"===e.css("display")?(c.removeClass("is-hidden").addClass("is-visible"),f.attr("aria-expanded","true")):(c.removeClass("is-visible").addClass("is-hidden"),f.attr("aria-expanded",
"false"))})}this.mkp_expandable=!0;var c=$(this),f=$(this).find(".mkp-expandable-button").first(),e=$(this).find(".mkp-expandable-container").first(),g="ontouchstart"in window||0<navigator.msMaxTouchPoints;f.on("click keydown",function(c){if(1===c.which||13===c.which)c.preventDefault(),b();else return!1});g||(c.hasClass("is-visible")?(f.attr("aria-expanded","true"),e.css("display","block")):(f.attr("aria-expanded","false"),e.css("display","none")));g&&(c.removeClass("is-visible").addClass("is-hidden"),
f.attr("aria-expanded","false"),e.css("display","none"))});$(".btableblock \x3e table.mkp-card-budget-group-horizontal.mkp-card-group").parent().removeClass("btableblock");$(".btableblock \x3e table.mkp-card-budget-group-vertical.mkp-card-group").parent().removeClass("btableblock")});
$(document).on("if6_page_ready",function(){$(".mkp-input-select").not(function(){var b=this.mkpselect;this.mkpselect=!0;return b}).each(function(){var b=$(this),c=b.siblings("label").width();b.find('div[role\x3d"button"]').css("padding-left",28+c)})});
$(document).on("if6_page_ready",function(){$(".js .mkp-tabs").not(function(){return this.mkp_tabs}).each(function(){function b(b){h.removeClass("disabled");d.removeClass("disabled");b=a.find("label.labelfocus").index();b===m.length-1&&h.addClass("disabled");0===b&&d.addClass("disabled")}function c(a){a=$(a.target).index();g.eq(a).next(".radio").trigger("click",[a])}function f(b){b.preventDefault();b="mkp-tabs-arrow-right"===$(b.target).attr("class")?"mkp-tabs-arrow-right":"mkp-tabs-arrow-left";var c=
a.find("label.labelfocus").index(),d=0===a.find("label.labelfocus").index(),e=a.find("label").length===a.find("label.labelfocus").index()+1;"mkp-tabs-arrow-right"!==b||e||g.eq(c+1).next(".radio").trigger("click",[c+1]);"mkp-tabs-arrow-left"!==b||d||g.eq(c-1).next(".radio").trigger("click",[c-1])}this.mkp_tabs=!0;var e=$(this),g=e.find("input[type\x3dradio]"),m=e.find(".mkp-tabs-navigation \x3e label"),a=e.find(".mkp-tabs-navigation"),d=e.find(".mkp-tabs-arrow-left"),h=e.find(".mkp-tabs-arrow-right"),
n=e.find(".mkp-tabs-indicators");g.next(".radio").click(function(c,d){c=e.find(".mkp-tabs-indicator");m.removeClass("labelfocus");c.removeClass("active");var f=$(this).prev("input").attr("class");f=a.find("label."+f);f.addClass("labelfocus");c.eq(d).addClass("active");b();a.get(0).scrollLeft=f.get(0).offsetLeft});d.click(f);h.click(f);(function(a){n.empty();for(var d=1;d<=m.length;d++)$('\x3cdiv class\x3d"mkp-tabs-indicator"\x3e\x3c/div\x3e').appendTo(n);n.on("click",".mkp-tabs-indicator",c);d=a.find("input:checked").index();
var e=a.find("input:checked").attr("class");a=a.find("label."+e);d=n.find(".mkp-tabs-indicator").eq(d);a.addClass("labelfocus");d.addClass("active");b()})($(this))})});$(document).on("if6_page_ready",function(){$(".nbf-gv .mkp-card.mkp-card-budget").not(function(){var b=this.mkpbudgets;this.mkpbudgets=!0;return b}).each(function(){if(!("ontouchstart"in window||navigator.maxTouchPoints)){var b=$(".budget-kontowecker .mkp-tooltip"),c=b.find(".helpovly \x3e a");b.length&&c.hover(function(){$(this).trigger("click")})}})});
$(document).on("if6_page_ready",function(){$(".cbox-userfeedback form").not(function(){return this.code_added}).each(function(){this.code_added=!0;var b=$(this);b.find("button").each(function(){this.disabled=!0});b.on("submit",function(){var c=b.data("userfeedbackid");c=window.location.href.replace(/\.html[\S]*/,".userfeedbackrating.html")+"?rating\x3d"+b.find("input[name\x3dstars]:checked").val()+"\x26ufaid\x3d"+c;jQuery.ajax({type:"GET",url:c});$(this).closest(".question").addClass("invisible").next().removeClass("invisible");
$(window).resize();return!1});b.find('.stars input[type\x3d"radio"]').on("focus",function(){$(this).parent().addClass("focus")}).on("blur",function(){$(this).parent().removeClass("focus")}).on("click",function(){$(this).closest(".stars").addClass("selected").find("div").removeClass("selected");$(this).parent().addClass("selected");$(this).closest("form").find("button")[0].disabled=!1})})});
function editTeaserRef(b){b=jQuery(b.el.dom).children("div").eq(0).attr("ref");"."!==b&&(b=b.replace(/\/jcr:content$/,""),window.location.href=encodeURI(b+".html?origin\x3d"+window.location.href))}
$(function(){if(0<$(".cbox-market").length){var b={".GDAXI":[1,"DAX"],".MDAXI":[2,"MDAX"],".DJI":[3,"DJ Indikation"]};$.ajax({url:$(".market-table").data("url"),cache:!1,timeout:1500,async:!1,dataType:"json"}).done(function(c){function f(a){return!(a||"0"===a||0===a)}var e,g;if(c&&c.antworten){var m=!0;for(e=0;3>e;++e){var a=c.antworten.antwort_12[e];if(null!==a){var d=a.STD_Symbol;d=b[d];if(null!==d){var h=d[0];d=d[1];var n=a.STD_Price;var p=a.STD_DiffP;var u=a.STD_PriceTimeDateFull;if(f(d)||f(n)||
f(p)||f(u))m=!1;else{0<p.length&&(g=p.charAt(0));var r=null;"+"===g&&(r="plus");"-"===g&&(r="minus");0<u.length&&(u=u.substr(0,a.STD_PriceTimeDateFull.lastIndexOf(":"))+" Uhr",u=u.replace(/\.20/,"."));a=".market_entry"+h;$(".market_label",a).text(d);$(".market_val",a).text(n);$(".market_tend span",a).text(p);null!==r&&$(".market_tend span",a).addClass(r);$(".market_time",a).text(u)}}else m=!1}}m?$(".market-table").not(".market-editmode").parent().addClass("data-loaded"):$(".market-table").parent().find(".market-invalid-author").show()}})}});
$(function(){function b(){var b=document.createElement("div");b.classList.add("autocomplete-suggestions-title-wrapper");var c=document.createElement("h3");c.classList.add("autocomplete-suggestions-title");var f=$("#head_ftsearch");c.innerText=f.attr("data-instantresults_didYouMean");b.appendChild(c);return b}var c=function(b,c,f){var a="#"+f;if($(b).length&&$(c).length){var d=b+" .sayt-results",e=b+" .sinvestor-results",g=function(){jQuery(b).removeClass("sayt-visible");jQuery(d).hide();jQuery(e).hide();
var c=$(a);c.hide();c.closest(".autocomplete-suggestions-wrapper").addClass("invisible")},m=function(){var c=!1;0<jQuery(a+" .autocomplete-suggestions").children().length&&(c=!0);0<$(d).children().length?(u.setFlag(1),jQuery(d).show(),c=!0):u.clearFlag(1);0<$(e).children().length?(u.setFlag(2),jQuery(e).show(),c=!0):u.clearFlag(2);c?(jQuery(b).addClass("sayt-visible"),u.setFlag(3),c=$(a),c.show(),c.find(".autocomplete-suggestions-wrapper").first().removeClass("invisible")):(c=$(a),c.hide(),c.find(".autocomplete-suggestions-wrapper").first().addClass("invisible"),
jQuery(b).removeClass("sayt-visible"),u.clearFlag(3))},u=null,r={serviceUrl:window.location.pathname.replace(/(?:\.external)?\.[a-z]+$/i,"")+".autosuggest.json",paramName:"q",forceFixPosition:!0,minChars:3,appendTo:".autocomplete-suggestions-wrapper",suggestionsWrapperClass:b+" .autocomplete-suggestions-wrapper",maxHeight:400,zIndex:2100,triggerSelectOnValidInput:!1,containerClass:"autocomplete-suggestions",showNoSuggestionNotice:!1,formatResult:function(a){return a.data},deferRequestBy:200,params:{autosuggest_count:jQuery(b).attr("data-autosuggest_count"),
pt:jQuery(b+' select[name\x3d"pt"]').val(),_charset_:"UTF-8"},noCache:!1,onSearchStart:function(a){a.q=$.trim(a.q);if(3>$.trim(a.q).length)return!1},onSelect:function(){var a=$(this).closest("form");0===a.find(".srcIsAutosuggest").length&&a.append("\x3cinput type\x3d'hidden' name\x3d'src_auto' class\x3d'srcIsAutosuggest' value\x3d'true'/\x3e");a.submit()},onHide:function(a){g();a.parent().hide()},onInit:function(a){u=a},beforeRender:function(a){m()}};jQuery(c).devbridgeAutocomplete(r);g();jQuery(c).instantResults({containerId:f,
changeCallback:m});$(".if6_main").on("click",function(a){0===$(a.target).parents(b).length&&"head_search_button"!=a.target.id&&(g(),void 0!==jQuery(c).devbridgeAutocomplete()&&jQuery(c).devbridgeAutocomplete().hide())})}};c("#head_ftsearch","#search","sayt-container");c("#head_ftsearch2","#search2","sayt-container2");c=document.getElementsByClassName("autocomplete-suggestions-wrapper");for(var f=0;f<c.length;f++)c[f].insertBefore(b(),c[f].firstChild)});
(function(b){b.instantResults=function(c,f){var e=this;e.onChangeInterval2=null;var g=b("#head_ftsearch"),m={visibilityIndicatorClass:"sayt-display-detect",containerClass:"sayt-container",containerId:"sayt-container",changeCallback:null,resultsClass:"sayt-results",resultsHeadline:g.attr("data-instantresults_resultsHeadline"),instantresultsCount:g.attr("data-instantresults_count"),instantresultsShowAllResults:g.attr("data-instantresults_showAllResults"),sinvestorInstId:void 0!==g.attr("data-sinvestor_instid")?
g.attr("data-sinvestor_instid"):"",sinvestorInstantresultsCount:g.attr("data-sinvestor_instantresults_count"),sinvestorLinkDekaFonds:g.attr("data-sinvestor_link_deka_fonds"),sinvestorLinkDekaZertifikate:g.attr("data-sinvestor_link_deka_zertifikate"),sinvestorUrl:g.attr("data-sinvestor_url"),sinvestorResultsClass:"sinvestor-results",sinvestorTitle:g.attr("data-sinvestor_title"),sinvestorShowAllResults:g.attr("data-sinvestor_showAllResults"),sinvestorNameshares:g.attr("data-sinvestor_name_shares"),
sinvestorNamebonds:g.attr("data-sinvestor_name_bonds"),sinvestorNamefunds:g.attr("data-sinvestor_name_funds"),sinvestorNamecerts:g.attr("data-sinvestor_name_certs"),minChars:3,deferRequestBy:200},a=this;a.settings={};var d=b(c),h=0,n="",p=function(a){return String(a).replace(/&(?!\w+;)/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;").replace(/"/g,"\x26quot;")};a.reset=function(){n=""};var u=function(c,d){jQuery.ajax({url:window.location.pathname.replace(/(?:\.external)?\.[a-z]+$/i,"")+
".sayt.json",dataType:"json",data:{q:c.val(),seq:++h,instantresults_count:a.settings.instantresultsCount,_charset_:"UTF-8"},timeout:1E3,success:function(e){if(void 0!==e.seq&&e.seq===h){var f="";if(void 0!==e.results&&Array.isArray(e.results)&&0<e.results.length){var g=[],m=e.portal,n=e.portals;b.each(e.results,function(a,b){a='\x3cli class\x3d"searchresult-item"\x3e';if(b.url){var c="";b.portal!=m&&n[b.portal]&&(c='\x3cspan class\x3d"sitebadge"\x3e'+n[b.portal]+"\x3c/span\x3e");a+='\x3ca href\x3d"'+
p(b.url)+'"';b.target&&(a+=' target\x3d"'+p(b.target)+'"');b.elevated&&(a+=' data-elevated\x3d"'+p(b.elevated)+'"');b.url&&(a+=' data-externalizedUrl\x3d"'+p(b.externalizedUrl)+'"');b.externalId&&(a+=' data-externalId\x3d"'+p(b.externalId)+'"');a+="\x3e";b.title&&(a+=c+"\x3ch3\x3e"+p(b.title)+"\x3c/h3\x3e");b.descr&&(a+="\x3cp\x3e"+p(b.descr)+"\x3c/p\x3e");a+="\x3c/a\x3e"}g.push(a+"\x3c/li\x3e")});var q=b("\x3cdiv/\x3e").text(e.q).html();f+="\x3ch3\x3e"+a.settings.resultsHeadline.replace(/%/,q)+"\x3c/h3\x3e";
f+='\x3cul class\x3d"sayt-resultlist"\x3e'+g.join("")+"\x3c/ul\x3e";f=e.count?f+('\x3cdiv class\x3d"sayt-all"\x3e\x3ca href\x3d"#" onclick\x3d"$(this).closest(\'form\').submit();return false;"\x3e'+a.settings.instantresultsShowAllResults+" ("+e.count+")\x3c/a\x3e\x3c/div\x3e"):f+('\x3cdiv class\x3d"sayt-all"\x3e\x3ca href\x3d"#" onclick\x3d"$(this).closest(\'form\').submit();return false;"\x3e'+a.settings.instantresultsShowAllResults+"\x3c/a\x3e\x3c/div\x3e")}""!==f?b("."+a.settings.resultsClass,
d).html(f).show():b("."+a.settings.resultsClass,d).html("").hide();var t=[],r;b(".sayt-resultlist a",d).each(function(){r={externalId:this.getAttribute("data-externalId"),externalizedUrl:this.getAttribute("data-externalizedUrl"),elevated:this.getAttribute("data-elevated")};t.push(r)});b(".sayt-resultlist a",d).click(function(){b.ajax({url:b(this).attr("href").replace(/(?:\.html)?(?:\?[\S ]*)?$/,"")+".searchresultclick.json",cache:!1,data:{resultType:"SAYT",numResults:b(".sayt-resultlist a").length,
results:JSON.stringify(t),queryId:b(this).closest("ul.searchresult-items").attr("data-queryId"),q:c.val(),_charset_:"UTF-8"},timeout:500,async:!1,dataType:"json"})});a.settings.changeCallback&&a.settings.changeCallback()}},error:function(){b("."+a.settings.resultsClass,d).html("").hide()}})},r=["shares","bonds","funds","certs"],w=function(a){var c=0;void 0!==a&&b.each(r,function(b,d){void 0!==a[d]&&Array.isArray(a[d].entries)&&(c+=a[d].entries.length)});return c},q=function(c,d,e){var f="",g,h,m,
n;f+='\x3cli\x3e\x3ch3\x3e\x3ca href\x3d"'+p(c[d].categoryLink)+'" target\x3d"_blank"\x3e'+p(e)+"\x3c/a\x3e\x3c/h3\x3e\x3cul\x3e";b.each(c[d].entries,function(b,c){m=c.link;g="_blank";c.deka&&(h="","funds"===d?h=a.settings.sinvestorLinkDekaFonds:"certs"===d&&(h=a.settings.sinvestorLinkDekaZertifikate),void 0!==h&&""!==h&&(n=new SLURI(IF6.urlutil.convertUrl(h)),c.isin&&n.searchParams.set("isin",c.isin),m=n.toString(),g="_top"));m&&c.name&&(f+='\x3cli class\x3d"searchresult-item"\x3e',f+='\x3ca href\x3d"'+
p(m)+'" target\x3d"'+g+'"\x3e'+p(c.name),c.isin&&(f+=" ("+p(c.isin)+")"),f+="\x3c/a\x3e",f+="\x3c/li\x3e")});return f+="\x3c/ul\x3e\x3c/li\x3e"},t=function(c,d,e){var f=0;e.is(":visible")||(f=1);jQuery.ajax({url:a.settings.sinvestorUrl,dataType:"json",data:{INST_ID:a.settings.sinvestorInstId,searchfor:c.val(),maxitems:a.settings.sinvestorInstantresultsCount,mobile:f,dekafonds:1},timeout:1E3,success:function(c,e,f){void 0===c&&(c={error:{code:999}});void 0===c.error&&(c.error={code:0});e=w(c);var g=
"",h="";0===c.error.code&&0<e&&(g+="\x3ch3\x3e"+p(a.settings.sinvestorTitle)+"\x3c/h3\x3e",g+='\x3cul class\x3d"sinvestor-resultlist"\x3e',b.each(r,function(b,d){void 0!==c[d]&&Array.isArray(c[d].entries)&&0<c[d].entries.length&&(h=a.settings["sinvestorName"+d],g+=q(c,d,h))}),g+="\x3c/ul\x3e");void 0!==c.linkAllStocks&&(0===c.error.code&&0<e||0<c.error.code)&&(g+='\x3cdiv class\x3d"sinvestor-all"\x3e',g+='\x3ca href\x3d"'+p(c.linkAllStocks)+'" target\x3d"_blank"\x3e'+p(a.settings.sinvestorShowAllResults)+
"\x3c/a\x3e",g+="\x3c/div\x3e");""!==g?b("."+a.settings.sinvestorResultsClass,d).html(g).show():b("."+a.settings.sinvestorResultsClass,d).html("").hide();a.settings.changeCallback&&a.settings.changeCallback()},error:function(){b("."+a.settings.sinvestorResultsClass,d).html("").hide()}})},A=function(c,d){clearInterval(e.onChangeInterval2);var f=b("."+a.settings.visibilityIndicatorClass,d);0<a.settings.instantresultsCount&&f.is(":visible")?u(c,d):b("."+a.settings.resultsClass,d).html("").hide();0<a.settings.sinvestorInstId.length&&
0<a.settings.sinvestorInstantresultsCount?t(c,d,f):b("."+a.settings.sinvestorResultsClass,d).html("").hide()},y=function(){d.on("input propertychange keyup focus",function(c){if("keyup"===c.type&&(c=c.keyCode||c.which,13===c||27===c))return;var d=b(this),f=d.parents("form");d.val().length>=a.settings.minChars?n!==d.val()&&(clearInterval(e.onChangeInterval2),0<a.settings.deferRequestBy?e.onChangeInterval2=setInterval(function(){A(d,f)},a.settings.deferRequestBy):A(d,f)):(b("."+a.settings.resultsClass,
f).html("").hide(),b("."+a.settings.sinvestorResultsClass,f).html("").hide());n=d.val()})};a.init=function(){a.settings=b.extend({},m,f);y()};a.init()};b.fn.instantResults=function(c){this.each(function(){if(void 0===b(this).data("instantResults")){var f=new b.instantResults(this,c);b(this).data("instantResults",f)}});return this}})(jQuery);$(function(){$("#head_ftsearch").on("submit",function(){var b=$("#search",$(this));b.val(b.val().trim());if(""===b.val())return!1})});$(function(){$(".if6_opener .ty1 .overlay\x3ea").not(function(){return $(this).hasClass("linktext")}).click(function(){return!1})});
$(window).resize(function(){var b=$(".if6_openerstage").get(0),c=$(".if6_opener:visible .opener_image"),f=$(".if6_opener:visible"),e,g,m=c.css("position");c=c.toArray();f=f.toArray();var a,d=function(){$(b).trigger("carousel-auto-next")};for(e=0;3>e;++e){var h=!1;var n=$(c[0]).find("img[src]").height()||0;for(g=0;g<c.length;++g){var p=$(c[g]).find("img[src]").height()||0;(a=$(c[g]).find("img[src]").get(0))&&a.loaded&&(h=!0,a.loaded=!1);50<=p&&p<n&&(n=p)}p=$(f[0]).width();if(b){p!==b.opener_width&&
(h=!0,b.opener_width=p);if(b.windowWidth&&b.windowWidth===window.innerWidth&&!h)break;b.windowWidth=window.innerWidth;b.carouseltimer&&(window.clearTimeout(b.carouseltimer),b.carouseltimer=null)}n||(n=null);for(g=0;g<c.length;++g)"relative"!==m?($(f[g]).height(n),$(c[g]).height("auto")):($(f[g]).height("auto"),$(c[g]).height(n));if(1<f.length){h='\x3cdiv class\x3d"carousel_play"\x3e\x3cdiv\x3e\x3cspan class\x3d"left" onclick\x3d"$(this).trigger(\'carousel-prev\',false);"\x3e\x3c/span\x3e\x3cul\x3e\x3cli class\x3d"active" onclick\x3d"$(this).trigger(\'carousel-select\',0);"\x3e\x3c/li\x3e';
n=0;$(f[0]).css({left:0});for(g=1;g<f.length;++g)a=$(f[g-1]).height(),a>n&&(n=a),h+="\x3cli onclick\x3d\"$(this).trigger('carousel-select',"+g+');"\x3e\x3c/li\x3e',$(f[g]).css({left:g*p+"px",marginTop:-a+"px"}),$(f[g-1]).css({height:a+"px"});a=$(f[f.length-1]).height();a>n&&(n=a);h+='\x3c/ul\x3e\x3cspan class\x3d"right" onclick\x3d"$(this).trigger(\'carousel-next\',false);"\x3e\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e';$(".if6_openerstage .if6_inner").height(n);if($(f[0]).width()!==p)continue;e=$(".if6_openerstage .carousel_play");
0<e.length?e.replaceWith(h):$(f[f.length-1]).after(h);b&&b.carouseltimer&&window.clearTimeout(b.carouseltimer);b.carouseltimer=window.setTimeout(d,1E4);"relative"===m?(e=$(f[0]).find(".opener_image").height(),e-=$(".if6_openerstage .carousel_play").height(),$(".if6_openerstage .carousel_play").css({top:e+"px"})):$(".if6_openerstage .carousel_play").css({top:"auto"});"absolute"===$(".if6_openerstage .carousel_play .left").css("position")&&(n=n/2*-1,$(".if6_openerstage .carousel_play .left,.if6_openerstage .carousel_play .right").css({top:n+
"px"}))}e=3}});
$(function(){function b(){e=f=null;$(".nav-banking2 .nbf-has-upward-backbutton .main-buttons .bgroup2 a, .nav-banking2 .nbf-has-upward-backbutton .main-buttons .bgroup2 input, .nav-banking9 .nbf-has-upward-backbutton .main-buttons .bgroup2 a, .nav-banking9 .nbf-has-upward-backbutton .main-buttons .bgroup2 input").not(function(){return 0<$(this).closest(".ajstep-replace").length}).each(function(){f=$(this);IF6.hideButton(this);var b=$(this).closest(".main-buttons");0>=b.find("a:visible, input:visible").length&&b.addClass("invisible")});
$("body").removeClass("has-step-back");0<$(".header-misc .nav-step-back").length&&$(".nav-banking9 .main-buttons .bgroup2 a:visible, .nav-banking9 .main-buttons .bgroup2 input:visible").not(function(){return 0<$(this).closest(".ajstep-replace").length}).each(function(){e=$(this);$("body").addClass("has-step-back");e.is("input")?e.parent().addClass("is-step-back"):e.addClass("is-step-back")})}function c(){var b,c=$("body")[0].getAttribute("class").match(/\b(nbf-size-\w+)\b/);for(b=0;c&&b<c.length;++b)$("body").removeClass(c[b])}
var f=null,e=null;IF6.adjustBankingLevel=function(){0<$("body.nav-banking2 .nbf-banking9").not(function(){return 0<$(this).closest(".ajstep-replace").length}).length?($("body").addClass("nav-banking9 from-nav-banking2").removeClass("nav-banking2"),c()):$("body").hasClass("from-nav-banking2")&&0>=$(".nbf-banking9").not(function(){return 0<$(this).closest(".ajstep-replace").length}).length&&($("body").addClass("nav-banking2").removeClass("nav-banking9 from-nav-banking2"),c());$("body.nbf .resize-cbox-large").not(function(){return 0<
$(this).closest(".ajstep-replace").length||0<$(this).closest(".if6_lightbox").length}).each(function(){$(this).closest(".cbox").addClass("cbox-large").removeClass("cbox-medium")});$('body.nbf .cbox [class*\x3d"nbf-size"]').not(function(){return 0<$(this).closest(".ajstep-replace").length||0<$(this).closest(".if6_lightbox").length}).each(function(){var b=this.getAttribute("class").match(/\b(nbf-size-\w+)\b/);2!==b.length||$("body").hasClass(b[1])||(c(),$("body").addClass(b[1]))});b()};$("body").on("initNavigation",
function(){IF6.adjustBankingLevel();$(".if6_nav").each(function(){function c(){p.find("li.visible").removeClass("visible");n.find(".scroll-container").removeClass("noscroll").scrollTop(0).css({marginTop:"",minHeight:""})}function m(a){var b=a.closest(".scroll-container");b.addClass("noscroll");r.is(":visible")||(b=b.scrollTop(),a.find("\x3e.scroll-container").css({marginTop:b}))}function a(b){b&&0<b.length&&b.find("\x3e.scroll-container").is(":visible")&&(b.addClass("visible"),m(b),0>=b.find("\x3e.scroll-container\x3e.nav-concierge").length&&
b.find("\x3e.scroll-container").append(n.find("\x3e.nav-full-content\x3e.nav-concierge").clone()),a(b.find("\x3e.scroll-container\x3eul\x3eli.active")))}var d=$(this),h=d.find(".nav-full"),n=h.closest(".nav-full-container"),p=h.find("\x3eul"),u=d.find(".nav-background"),r=d.find(".nav-top"),w=r.find("\x3eul");$(".nav-close, .nav-pageoverlay").on("click",function(){$("body").removeClass("navigation_visible");IF6.statistics.event({stref:"hnav-zu"});return!1});r.each(function(){function a(){d.prop("scrollWidth")>
d.width()+5?(r.addClass("nav-top-has-more").removeClass("nav-top-has-less"),h.addClass("nav-top-has-more").removeClass("nav-top-has-less"),w.find("\x3eli\x3ea").css({left:0}),p.find("\x3eli\x3ea").css({left:0})):(r.removeClass("nav-top-has-more nav-top-has-less"),h.removeClass("nav-top-has-more nav-top-has-less"));if(r.is(":visible")){var a=r.width(),b=w.width(),c=p.find("\x3eli\x3e.scroll-container").width();b>c&&(b>a?a>c&&(c=a):c=b);h.css({width:c+"px"});u.css({paddingLeft:d.position().left,width:c+
"px"})}else h.css({width:""}),u.css({width:""})}$(window).on("resize",a);a();d.find(".nav-top-more a").on("click",function(){r.removeClass("nav-top-has-more").addClass("nav-top-has-less");h.removeClass("nav-top-has-more").addClass("nav-top-has-less");w.find("\x3eli\x3ea").css({left:-(d.prop("scrollWidth")-d.width())});p.find("\x3eli\x3ea").css({left:-(d.prop("scrollWidth")-d.width())});return!1});d.find(".nav-top-less a").on("click",function(){r.removeClass("nav-top-has-less").addClass("nav-top-has-more");
h.removeClass("nav-top-has-less").addClass("nav-top-has-more");w.find("\x3eli\x3ea").css({left:0});p.find("\x3eli\x3ea").css({left:0});return!1});w.find("a").each(function(){var a=$(this);a.on("focus",function(){if(r.hasClass("nav-top-has-more")){var a=$(this).position().left+$(this).width(),b=r.find(".nav-top-more").position().left;a>b&&r.find(".nav-top-more a").click()}else r.hasClass("nav-top-has-less")&&(a=$(this).position().left,b=r.find(".nav-top-less").position().left+r.find(".nav-top-less").width(),
a<b&&r.find(".nav-top-less a").click());return!0});var b=$(this).closest("li").prevAll().length+1;if(!p.find("\x3eli:nth-child("+b+")\x3ea").is(":last-child"))a.on("click",function(){$("body").addClass("navigation_visible");IF6.statistics.event({stref:"hnav-auf"});c();var a=$(this).closest("li").prevAll().length+1;p.find("\x3eli:nth-child("+a+")\x3ea").focus().click();return!1})})});h.append(n.find("\x3e.nav-full-content\x3e.nav-concierge").clone());h.find("li.nav-banking\x3e.scroll-container").append(n.find("\x3e.nav-full-content\x3e.nav-concierge").clone());
$(".header-misc a.nav-main").on("click",function(){$(".if6_nav").addClass("disable-anim");c();a(p.find("\x3eli.active"));$(".if6_nav").removeClass("disable-anim");$("body").addClass("navigation_visible");IF6.statistics.event({stref:"hnav-auf"});return!1});d.find("a.nav-search").on("click",function(){$("body").toggleClass("search_visible");return!1});p.find("\x3eli\x3ea").each(function(){var a=$(this);if(a.is(":last-child"))$(this).on("click",function(){$("body").removeClass("navigation_visible");
this.target&&"_self"!==this.target&&"_top"!==this.target||$("body").removeClass("sidenav_visible");return!0});else a.on("click",function(){var a=$(this).closest("li");a.hasClass("visible")&&r.is(":visible")?($("body").removeClass("navigation_visible"),IF6.statistics.event({stref:"hnav-zu"}),a=a.prevAll().length+1,w.find("\x3eli:nth-child("+a+")\x3ea").focus()):(0>=a.find("\x3e.scroll-container\x3e.nav-concierge").length&&a.find("\x3e.scroll-container").append(n.find("\x3e.nav-full-content\x3e.nav-concierge").clone()),
a.closest("ul").find("li").removeClass("visible"),a.addClass("visible"),m(a));return!1})});p.find("\x3eli ul li\x3ea").each(function(){$(this).on("click",function(){var a=$(this);if(a.nextAll(".scroll-container").is(":visible")){a=a.closest("li");if(!a.hasClass("visible")&&(0>=a.find("\x3e.scroll-container\x3e.nav-concierge").length&&a.find("\x3e.scroll-container").append(n.find("\x3e.nav-full-content\x3e.nav-concierge").clone()),a.closest("ul").find("li").removeClass("visible"),m(a),a.addClass("visible"),
r.is(":visible"))){n.find(".scroll-container").css({minHeight:""});var b=0;p.find("li.visible\x3e.scroll-container\x3eul").each(function(){var a=$(this).height();a>b&&(b=a)});p.find("\x3eli.visible ul li.visible\x3e.scroll-container").css({minHeight:b})}return!1}$("body").removeClass("navigation_visible");this.target&&"_self"!==this.target&&"_top"!==this.target||$("body").removeClass("sidenav_visible");return!0})});$("a.nav-siteselect, .nav-login button, .nav-logout button").on("click",function(){$("body").removeClass("navigation_visible");
return!0});p.find("a.nav-up").on("click",function(){var a=$(this).closest("li");a.removeClass("visible");a.closest(".scroll-container").removeClass("noscroll");return!1});p.find(".switch-home\x3ea").on("click",function(){$("body").removeClass("navigation_visible");window.setTimeout(function(){c();$("body").addClass("navigation_visible")},320);return!1});h.find("\x3e.switch-banking\x3ea").on("click",function(){$("body").removeClass("navigation_visible");window.setTimeout(function(){c();var a=p.find("\x3e.nav-banking");
m(a);a.addClass("visible");$("body").addClass("navigation_visible")},320);return!1});d.find("input.nav-show-more").each(function(){var a=$(this);a.find("+ul\x3eli.nav-more~li").not(".nav-less").find("\x3ea").on("focus",function(){a.prop("checked",!0)})}).on("change",function(){var a=location.pathname.replace(/\.html/,".nav-preset.html");a+="?more\x3d"+this.checked;$.get({url:a,timeout:2E4});return!0});$("body.nav-banking2, body.nav-banking3").each(function(){function a(){0>=b.find(".nav-placeholder").not(function(){return 0<
$(this).closest(".ajstep-replace").length}).length&&$(".cbox-banking.cbox-large form, .cbox-banking.cbox-medium form").not(function(){return 0<$(this).closest(".ajstep-replace").length}).first().prepend('\x3cdiv class\x3d"nav-placeholder"\x3e\x3c/div\x3e');b.find(".nav-placeholder").not(function(){return $(this).hasClass("active")}).each(function(){var a=$(this);b.hasClass("nav-banking2")?(p.find(".nav-banking.active\x3e.scroll-container\x3eul\x3e.active\x3e.scroll-container\x3eul").clone().appendTo(a),
a.find(".scroll-container").remove()):p.find(".nav-banking.active\x3e.scroll-container\x3eul\x3e.active\x3e.scroll-container\x3eul\x3e.active\x3e.scroll-container\x3eul").clone().appendTo(a);a.find("a").attr("data-ajstep-disabled","true");a.find(".nav-more, .nav-less").remove();a.addClass("active");a.find("ul").addClass("detect-scroll-directions");$(document).trigger("if6_page_ready_again")})}var b=$(this);a();$(document).on("if6_page_ready",a)});b();$(".header-misc a.nav-back").on("click",function(){if(f&&
0<f.closest("body").length)return f[0].click(),!1});$(".header-misc a.nav-step-back").on("click",function(){e&&0<e.closest("body").length&&e[0].click();return!1});window.location.search&&0<=window.location.search.indexOf("stref\x3dsiteswitch")&&$(".header-misc\x3ea.nav-main:visible").click()});$("body").is('[class*\x3d"nav-banking"]')&&($("body").addClass("sidenav_visible"),$(window).on("beforeunload",function(){$("body").removeClass("sidenav_visible")}))})});IF6.page=IF6.page||{};
IF6.page.navigation={close:function(){$("body").hasClass("navigation_visible")&&($("body").removeClass("navigation_visible"),$(".if6_navigation\x3ea").attr("aria-expanded","false"),IF6.statistics.event({stref:"hnav-zu"}))}};
$(function(){$("body").on("initNavigation",function(){var b=$(".if6_navigation li.active\x3ediv").length;3<b&&(b=3);$(".if6_navigation\x3ediv\x3ediv").css("left",-b*$(".if6_navigation\x3ediv\x3ediv").width());$(".hnav .if6_navigation li\x3ea").not(function(){var b=this.focus_added;this.focus_added=!0;return b}).focus(function(){this.blur_timeout&&(window.clearTimeout(this.blur_timeout),this.blur_timeout=null);$(this.parentNode).siblings(".focus").removeClass("focus hover").find(".focus").removeClass("focus");
$(this.parentNode).addClass("focus");0>=$(this.parentNode.parentNode).closest("li").length&&($(this.parentNode).addClass("hover"),0<$(this.parentNode).children("div").length?$("body").addClass("hnav_visible"):$("body").removeClass("hnav_visible"))}).blur(function(){var b=this.parentNode;this.blur_timeout=window.setTimeout(function(){var c=$(":focus");!c||0>=c.length||0>=c.closest(".if6_navigation").length?($("body").removeClass("hnav_visible"),$(".if6_navigation li").removeClass("focus hover hold")):
0>=$(b).find(".focus").length&&$(b).removeClass("focus hover hold")},200)});$(".hnav .if6_navigation\x3ediv\x3ediv\x3eul\x3eli\x3ediv\x3e.h2,.hnav .if6_navigation\x3ediv\x3ediv\x3eul\x3eli\x3ediv ul").click(function(){$("body").removeClass("hnav_visible");$(".if6_navigation li").removeClass("focus hover hold")});$(".no-touch .hnav .if6_navigation\x3ediv\x3ediv\x3eul\x3eli").not(function(){var b=this.hover_added;this.over_added=!0;return b}).hover(function(){var b=this;$("body").hasClass("hnav")&&
$(".iconbar").is(":hidden")&&(window.clearTimeout(this.hnav_timeout),$(this).addClass("hover"),0<$(".if6_navigation\x3ediv\x3ediv\x3eul\x3eli.focus").length?this.hnav_timeout=window.setTimeout(function(){$(b).children("a").focus()},300):this.hnav_timeout=window.setTimeout(function(){$(b).children("a").focus()},500))},function(){window.clearTimeout(this.hnav_timeout);$(this).removeClass("hover")});$(".no-touch .hnav .if6_navigation\x3ediv\x3ediv\x3eul").not(function(){var b=this.hover_added;this.hover_added=
!0;return b}).hover(function(){window.clearTimeout(window.hnav_timeout)},function(b){var c=this;window.hnav_timeout=window.setTimeout(function(){var e=$(c).offset(),f=$(c).width(),m=$(c).height();b.pageX>=e.left&&b.pageY>=e.top&&b.pageX<=e.left+f&&b.pageY<=e.top+m||($(".if6_navigation li").removeClass("focus hover hold"),$("body").removeClass("hnav_visible"),(e=$(":focus"))&&0<e.length&&0<e.closest(".if6_navigation").length&&e.blur())},300)});$(".no-touch .hnav .if6_navigation\x3ediv\x3ediv\x3eul ul\x3eli").not(function(){var b=
this.hover_added;this.hover_added=!0;return b}).hover(function(){if($("body").hasClass("hnav")&&$(".iconbar").is(":hidden"))return 0>=$(this).siblings(".hold").length&&($(this).siblings(".focus").removeClass("focus").find(".focus").removeClass("focus"),$(this).addClass("focus"),0<$(this).children("div").length&&$(this).addClass("hold"),0<$(this).siblings().children("a:focus").length&&$(this.parentNode).closest("li").children("a").focus()),!1},function(b){var c=$(this).offset(),e=$(this).width(),g=
$(this).height();if(b.pageX>=c.left&&b.pageY>=c.top&&b.pageX<=c.left+e&&b.pageY<=c.top+g)return!1;$("body").hasClass("hnav")&&$(".iconbar").is(":hidden")&&($(this).hasClass("hold")||$(this).removeClass("focus"))});$(".no-touch .hnav .if6_navigation\x3ediv\x3ediv\x3eul ul").mousemove(function(b){if($("body").hasClass("hnav")&&$(".iconbar").is(":hidden")){var c=$(this).children(".hold");if(c&&0<c.length){var e=c.offset();var g=c.width();var m=c.height();if(b.pageX>=e.left&&b.pageY>=e.top&&b.pageX<=
e.left+g&&b.pageY<=e.top+m)return this.hnav_startpos=[b.pageX,b.pageY],!1;if(this.hnav_startpos&&b.pageX>this.hnav_startpos[0]&&(!this.hnav_lastpos||b.pageX>=this.hnav_lastpos[0])){this.hnav_lastpos=[b.pageX,b.pageY];if(b.pageY===this.hnav_startpos[1])return!1;if(b.pageY<this.hnav_startpos[1]){var a=c.find("\x3ediv\x3eul\x3eli:first-child").offset();if(b.pageY>=this.hnav_startpos[1]+(b.pageX-this.hnav_startpos[0])*(a.top-this.hnav_startpos[1])/(a.left-this.hnav_startpos[0]))return!1}else if(a=c.find("\x3ediv\x3eul\x3eli:last-child").offset(),
a.top+=m,b.pageY<=this.hnav_startpos[1]+(b.pageX-this.hnav_startpos[0])*(a.top-this.hnav_startpos[1])/(a.left-this.hnav_startpos[0]))return!1}c.removeClass("hold");this.hnav_lastpos=this.hnav_startpos=null;b.pageX<e.left?c.mouseleave():b.pageX<=e.left+g&&(b.pageY<e.top?(c.removeClass("focus"),c.prev().mouseenter()):(c.removeClass("focus"),c.next().mouseenter()))}else(a=$(this).children(".focus"))&&0<a.length&&(e=a.offset(),g=a.width(),a.height(),b.pageX>=e.left&&b.pageX<=e.left+g&&b.pageY<e.top&&
(a.removeClass("focus"),a.prev().mouseenter()));return!1}});$(".if6_navigation\x3ea").click(function(){if($("body").hasClass("navigation_visible"))$(this).attr("aria-expanded","false"),IF6.statistics.event({stref:"hnav-zu"});else{$(".if6_navigation\x3ediv").scrollTop(0);$(".if6_navigation div div div").removeClass("navvisible");$(".if6_navigation li.active\x3ediv").addClass("navvisible");var b=$(".if6_navigation li.active\x3ediv").length;3<b&&(b=3);$(".if6_navigation\x3ediv\x3ediv").css("left",-b*
$(".if6_navigation\x3ediv\x3ediv").width());$(this).attr("aria-expanded","true");IF6.statistics.event({stref:"hnav-auf"})}$("body").toggleClass("navigation_visible");return!1});$(".if6_navigation .close-icon").click(function(){IF6.page.navigation.close();return!1});$("body").on("swipeleft",function(){IF6.page.navigation.close()});$(".if6_navigation li a+div").remove("li li li li a+div").prevAll().click(function(){$(this.parentNode).siblings().removeClass("focus").children("div").removeClass("navvisible");
if($("body").hasClass("hnav")&&$(".iconbar").is(":hidden"))return $(this).focus(),!1;$(this.parentNode).children("div").addClass("navvisible");var b=$(".if6_navigation\x3ediv\x3ediv").offset().left;b-=$(".if6_navigation\x3ediv\x3ediv").width();$(".if6_navigation\x3ediv\x3ediv").css("left",b);$(".if6_navigation\x3ediv").scrollTop(0);return!1});$(".if6_navigation .navtop").click(function(){$(".if6_navigation\x3ediv\x3ediv").css("left",0);$(".if6_navigation\x3ediv").scrollTop(0);return!1});$(".if6_navigation a.navback").click(function(){var b=
$(".if6_navigation\x3ediv\x3ediv").offset().left;b+=$(".if6_navigation\x3ediv\x3ediv").width();$(".if6_navigation\x3ediv\x3ediv").css("left",b);$(".if6_navigation\x3ediv").scrollTop(0);return!1})});$("body").trigger("initNavigation")});
$(function(){$("body").on("focus",".if6_langselect .langselect a",function(){clearTimeout($(this).closest(".langselect")[0].blur_timeout);$("body").addClass("langselect_visible")});$("body").on("blur",".if6_langselect .langselect a",function(){$(this).closest(".langselect")[0].blur_timeout=setTimeout(function(){$("body").removeClass("langselect_visible")},200)});$("body").on("click",".if6_langselect \x3e div \x3e span",function(){if(!$("body").hasClass("langselect_visible")){var b=$(this).closest(".if6_langselect").find("li.selected a");
b.is(":visible")?b.focus():$(this).closest(".if6_langselect").find("li:has(a):first a").focus()}})});
$(document).on("if6_page_ready",function(){$("[data-myif-async-campaign]").each(function(){var b=$(this);b.removeAttr("data-myif-async-campaign");if(b.is(":visible")){var c=b.data("url");c=-1===c.indexOf("?")?c+("?t\x3d"+(new Date).getTime()):c+("\x26t\x3d"+(new Date).getTime());$.get(c).done(function(c){c.match(/\sdata-myif-async-campaign/)||void 0===c||(b.replaceWith(c),window.setTimeout(function(){$(window).resize()},1E3),$(document).trigger("if6_tablecampaign"),$("body").trigger("if6_bannercampaign"),
$("body").trigger("if6_kmmstat"))})}})});IF6.page=IF6.page||{};IF6.page.contact={close:function(){$("body").hasClass("contact_visible")&&($("body").removeClass("contact_visible"),$('.if6_contact\x3ea[href\x3d"#"]').attr("aria-expanded","false"),IF6.statistics.event({stref:"kontakt-zu"}),$(document).trigger("contact-close"))}};
$(function(){$('.if6_contact\x3ea[href\x3d"#"], a.nav-contact').click(function(){$("body").toggleClass("contact_visible");$("body").hasClass("contact_visible")?($('.if6_contact\x3ea[href\x3d"#"]').attr("aria-expanded","true"),IF6.statistics.event({stref:"kontakt-auf"}),$(document).trigger("contact-open")):($('.if6_contact\x3ea[href\x3d"#"]').attr("aria-expanded","false"),IF6.statistics.event({stref:"kontakt-zu"}),$(document).trigger("contact-close"));return!1});$(".if6_contact .close-icon").click(function(){IF6.page.contact.close();
return!1});$("body").on("swiperight",function(){IF6.page.contact.close()})});function pagenav_statistics_send(b,c){b=b.prevAll().length;var f=$(".if6_section:visible .if6_inner\x3eh6").eq(b).html();IF6.statistics.event({stref:c,pos:b+1,titel:f})}
function pagenav_statistics(b,c){IF6.statistics.state.pagenav.timeout&&window.clearTimeout(IF6.statistics.state.pagenav.timeout);c&&0!==c.length||(c=$(".if6_pagenav .pagenav li.active"));if(0<c.length){var f=c.prevAll().length;IF6.statistics.state.pagenav.scroll["i"+f]||(0<b?IF6.statistics.state.pagenav.timeout=window.setTimeout(pagenav_statistics,b):(IF6.statistics.state.pagenav.scroll["i"+f]=Date.now(),pagenav_statistics_send(c,"iNav-view")))}}
$(window).resize(function(){var b,c=$(".if6_section:visible .if6_inner\x3eh6").toArray();$(".if6_pagenav").remove();$("body").removeClass("with-pagenav");$(".pagenavcurrent").remove();if(!(2>c.length)){var f='\x3cdiv class\x3d"if6_outer if6_pagenav"\x3e\x3cdiv class\x3d"if6_inner"\x3e\x3cul class\x3d"pagenav'+(4<c.length?" pagenav-five":"")+'"\x3e';for(b=0;b<c.length&&5>b;++b)f+="\x3cli\x3e\x3cdiv\x3e\x3cdiv\x3e"+c[b].innerHTML+"\x3c/div\x3e\x3c/div\x3e\x3c/li\x3e";f+="\x3c/ul\x3e\x3c/div\x3e\x3c/div\x3e";
(b=$(".if6_breadcrumb"))&&b.length||(b=$(".if6_section:visible").first());b&&b.length&&(b.before(f),$("body").addClass("with-pagenav"));$(".iconbar").append('\x3cdiv class\x3d"pagenavcurrent"\x3e\x3c/div\x3e');$(".iconbar .pagenavcurrent").click(function(){if(!$("body").hasClass("pagenav_visible")){$(".if6_pagenav").removeClass("more-left");var b=$(".if6_pagenav .pagenav");b.scrollLeft(0);(b=b.get(0))&&(b.clientWidth<b.scrollWidth?$(".if6_pagenav").addClass("more-right"):$(".if6_pagenav").removeClass("more-right"))}$("body").toggleClass("pagenav_visible")});
$(".if6_pagenav .pagenav").scroll(function(){var b=this;b.if6_pagenavScrollTimeout&&window.clearTimeout(b.if6_pagenavScrollTimeout);b.if6_pagenavScrollTimeout=window.setTimeout(function(){var c=$(b).scrollLeft();0<c?$(".if6_pagenav").addClass("more-left"):$(".if6_pagenav").removeClass("more-left");c+b.clientWidth<b.scrollWidth?$(".if6_pagenav").addClass("more-right"):$(".if6_pagenav").removeClass("more-right")},200)});$(window).scroll();$(".if6_pagenav .pagenav li").click(function(){var b=$(this),
c=b.prevAll().length,f=$(".if6_section:visible .if6_inner\x3eh6").parent().parent().toArray(),a="none"!==$(".if6_iconbar .iconbar").css("display")?$(".if6_iconbar .iconbar").height():$(".if6_pagenav").height();c=Math.ceil($(f[c]).offset().top-a+parseInt($(f[c]).css("marginTop"),10)+3);$("html,body").animate({scrollTop:c},750,"easeInOutExpo");$("body").removeClass("pagenav_visible");pagenav_statistics_send(b,"iNav")})}});
function pagenav_scroll(b){var c=$(".if6_pagenav");if(c&&c.length){var f=window.pageYOffset,e="none"!==$(".if6_iconbar .iconbar").css("display");e?$(".if6_iconbar").hasClass("iconbar-fixed")?c.addClass("nav-fixed"):c.removeClass("nav-fixed"):f<c.offset().top?c.removeClass("nav-fixed"):c.addClass("nav-fixed");if(f<c.offset().top)$(".if6_pagenav .pagenav li,.iconbar .pagenavcurrent").removeClass("active"),$(".iconbar .pagenavcurrent").html($(".if6_section:visible .if6_inner\x3eh6").first().html());
else{var g=$(".if6_section:visible .if6_inner\x3eh6").parent().parent().toArray();f=e?f+$(".if6_iconbar .iconbar").height():f+c.height();var m;for(c=0;c<g.length;++c){e=$(g[c]).offset().top;var a=$(g[c]).height()+(c+1<g.length?2*parseInt($(g[c+1]).css("marginTop"),10):0);!c&&$(".if6_section:visible:first-child .if6_inner h6").length&&(m=$(".if6_breadcrumb"))&&m.length&&(e-=m.height(),a+=m.height());if(f>=e&&f<e+a)break}c<g.length?(c++,f=$(".if6_pagenav .pagenav li:nth-child("+c+")"),f.hasClass("active")||
(g=$(".iconbar .pagenavcurrent"),c=$(".if6_section:visible .if6_inner\x3eh6").eq(c-1).html(),$(".if6_pagenav .pagenav li").removeClass("active"),$.merge(f,g).addClass("active"),g.html(c),b&&pagenav_statistics(b))):($(".if6_pagenav .pagenav li, .iconbar .pagenavcurrent").removeClass("active"),$(".iconbar .pagenavcurrent").html($(".if6_section:visible .if6_inner\x3eh6").first().html()))}}}function pagenav_scroll_window(){pagenav_scroll(IF6.statistics.config.pagenav.delay)}
$(window).scroll(function(){pagenav_scroll_window();IF6.pagenavScrollTimeout&&window.clearTimeout(IF6.pagenavScrollTimeout);IF6.pagenavScrollTimeout=window.setTimeout(pagenav_scroll_window,200)});
$(function(){$(".if6_buttonline .buttonline_inner").each(function(){var b=$(this).find(".contactsel:first");if(b&&0<b.length){var c=b.clone();$(this).append(c);b.addClass("hide050");c.addClass("show050")}$(this).find(".contactsel\x3ea").attr("aria-expanded","false").on("click",function(){$(this.parentNode).toggleClass("visible");$(this.parentNode).hasClass("visible")?$(this).attr("aria-expanded","true"):$(this).attr("aria-expanded","false");$(this).blur();return!1})})});
$(window).on("resize",function(){$(".templ-bankingstartpage .if6_section").not(function(){return $(this).hasClass("ajstep-replace")}).each(function(){var b;var c=$(this);if((b=c.find(".cbox-small:visible").toArray())&&0<b.length){var f=$(b[0]).prevAll(".cbox-medium:visible").last();if(f&&0<f.length){var e=$(b[0]).position();if(30>e.left-f.position().left)c.find(".cbox-small").css({marginTop:""});else for($(b[0]).css({marginTop:f.position().top-e.top-parseInt($(b[0]).css("borderTopWidth"),10)}),c=
1;c<b.length;++c){var g=$(b[c]).position();if(e.left!==g.left){for(;c<b.length;)$(b[c]).css({marginTop:""}),c++;break}f=parseInt($(b[c-1]).css("height"),10);e.top+=parseInt($(b[c-1]).css("marginTop"),10);e.top+=parseInt($(b[c-1]).css("marginBottom"),10);if(g.top<=e.top+f)break;$(b[c]).css({marginTop:e.top+f-g.top-parseInt($(b[c]).css("borderTopWidth"),10)});e=g}}}});$(".if6_section,.if6_homepagearea").not(function(){return $(this).hasClass("ajstep-replace")}).each(function(){var b,c;$(this).addClass("resizing");
var f=$(this).find(".cbox:visible, .if6_teaserarea .if6_teaser:visible").not(".carousel .cbox-large:visible").toArray();for(b=0;b<f.length;++b)$(f[b]).height("auto");for(b=0;b<f.length;++b){var e=b;var g=!0;var m=parseInt($(f[e]).css("height"),10);var a=$(f[e]).hasClass("cbox-banking")&&$(f[e]).hasClass("cbox-medium");if(!$(f[e]).hasClass("cbox-large"))for(;g;){g=!1;var d=$(f[e]).offset().top;for(c=e+1;c<f.length;++c){var h=$(f[c]).offset().top;if(h>d){b=c-1;break}if(!(h<d-10)){h=parseInt($(f[c]).css("height"),
10);if(h>m){m=h;a=$(f[c]).hasClass("cbox-banking")&&$(f[c]).hasClass("cbox-medium");g=!0;break}a||(e===c-1&&$(f[e]).css("height",m),$(f[c]).css("height",m))}}}}$(this).removeClass("resizing")})});
$(document).on("if6_page_ready",function(){function b(a){if("TH"===a.tagName){a=a.innerHTML;a=a.replace(/&nbsp;/g," ");a=a.replace(/&shy;/g,"");a=a.replace(/<div class="ficon.*div>/g,"");a=a.replace(/<wbr><u class="wbr"><\/u>/g,"");a=a.replace(/<\/?em>/g,"");a=a.replace(/\n/g,"");a=a.replace(/^\s*/,"");a=a.replace(/\s*$/,"");a=a.replace(/\s*<br *\/?>\s*$/,"");a=a.replace(/\s*<br *\/?>\s*/g,"\n");var b=a.split("\n").length;return{header:a,cnt:b}}return null}var c,f,e,g=$(".table table,table.autoheader").toArray();
for(c=0;c<g.length;++c)if(g[c].rows&&g[c].rows[0]){var m=[];var a=$(g[c]).hasClass("autoheader");var d=$(g[c]).hasClass("has-checkbox-column");for(f=0;f<g[c].rows[0].cells.length;++f)m[f]=b(g[c].rows[0].cells[f]);for(e=1;e<g[c].rows.length;++e)for(f=0;f<g[c].rows[e].cells.length;++f)0===f&&d||(a&&"TH"===g[c].rows[e].cells[f].tagName?m[f]=b(g[c].rows[e].cells[f]):"TD"===g[c].rows[e].cells[f].tagName&&f<m.length&&m[f]&&(g[c].rows[e].cells[f].setAttribute("data-header",m[f].header),1<m[f].cnt&&$(g[c].rows[e].cells[f]).addClass("lines-"+
m[f].cnt)))}});
$(document).on("if6_page_ready",function(){$("a.use_cbox_hover").not(function(){var b=this.box_ready;this.box_ready=!0;return b}).each(function(){var b=this,c=$(this).closest("div.cbox");c.on("mousemove",function(b){var e=parseInt(c.css("borderRightWidth"),10),f=parseInt(c.css("borderTopWidth"),10),m=c.outerWidth(),a=c.outerHeight(),d=c.offset(),h=b.pageX-d.left;b=b.pageY-d.top;0<h&&b>f&&h<m-e&&b<a?c.addClass("cbox_hover"):c.removeClass("cbox_hover")});c.on("click",function(f){if($("body").hasClass("cq-wcm-edit"))return!0;f=
$(f.target);if(!c.hasClass("cbox_hover"))return!1;if(0>=f.closest("a, input, select, textarea, label[for], span.radio, span.checkbox, button").length)return b.click(),!1})})});$(window).on("resize",function(){$(".if6_contactstage .cs-phone,.if6_contactstage .cs-link").removeClass("with-separator");var b,c=$(".if6_contactstage .cs-phone:visible,.if6_contactstage .cs-link:visible").toArray();for(b=1;b<c.length;++b)$(c[b]).offset().top===$(c[b-1]).offset().top&&$(c[b]).addClass("with-separator")});
$(window).resize(function(){$(".carousel").each(function(){if(!this.windowWidth||this.windowWidth!==window.innerWidth){this.windowWidth=window.innerWidth;this.carouseltimer&&(window.clearTimeout(this.carouseltimer),this.carouseltimer=null);$(this).find(".cbox:visible").height("auto");var b=$(this).find(".cbox:visible").toArray();if(0<b.length){$(this).removeClass("carousel-empty");var c,f=0,e=parseInt($(b[0]).css("width"),10),g='\x3cdiv class\x3d"carousel_play"\x3e\x3cdiv\x3e\x3cspan class\x3d"left" onclick\x3d"$(this).trigger(\'carousel-prev\',false);"\x3e\x3c/span\x3e\x3cul\x3e\x3cli class\x3d"active" onclick\x3d"$(this).trigger(\'carousel-select\',0);"\x3e\x3c/li\x3e',
m=this;for(c=0;c<b.length;++c){var a=parseInt($(b[c]).css("height"),10);a>f&&(f=a)}$(b[0]).css({left:0,marginTop:0});for(c=1;c<b.length;++c)g+="\x3cli onclick\x3d\"$(this).trigger('carousel-select',"+c+');"\x3e\x3c/li\x3e',$(b[c]).css({left:c*e+"px",marginTop:-(f+parseInt($(b[c]).css("marginBottom"),10))+"px"});g+='\x3c/ul\x3e\x3cspan class\x3d"right" onclick\x3d"$(this).trigger(\'carousel-next\',false);"\x3e\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e';$(this).find(".cbox:visible").css({height:f+"px"});
c=$(this).find(".carousel_play");1<b.length?(c&&0<c.length?c.replaceWith(g):$(b[b.length-1]).after(g),c=$(this).find(".carousel_play"),$(this).height(f+parseInt($(c).css("height"),10)),this.carouseltimer=window.setTimeout(function(){$(m).trigger("carousel-auto-next")},1E4)):(c&&c.remove(),$(this).height(f))}else $(this).find(".carousel_play").remove(),$(this).height("auto"),$(this).addClass("carousel-empty")}})});
$(document).on("if6_page_ready",function(){$(".accordion .accordion-head.initial-open").not(".initial-invisible").addClass("open").removeClass("initial-open").next(".parsys").fadeIn(0);$(".accordion .accordion-head").not(function(){var b=this.accordion_added;this.accordion_added=!0;return b}).click(function(){$(this).toggleClass("open");$(this).hasClass("open")?($(this).nextAll(".parsys").fadeIn("slow"),$(window).resize()):$(this).nextAll(".parsys").fadeOut("slow");return!1});$(".accordion .showall").not(function(){var b=
this.accordion_added;this.accordion_added=!0;return b}).click(function(){$(this).closest(".accordion").find(".accordion-head").not(".open").click();$(this).closest(".accordion").find(".showmore").click();return!1});$(".accordion .hideall").not(function(){var b=this.accordion_added;this.accordion_added=!0;return b}).click(function(){$(this).closest(".accordion").find(".accordion-head.open").click();return!1});$(".accordion .showmore").not(function(){var b=this.accordion_added;this.accordion_added=
!0;return b}).click(function(){$(this).closest(".accordion").find(".accordion-head.initial-invisible").fadeIn("slow");$(this).closest(".accordion").find(".accordion-head.initial-invisible.initial-open").addClass("open").removeClass("initial-open").next(".parsys").fadeIn("slow");$(this).closest(".accordion").find(".accordion-head.initial-invisible").removeClass("initial-invisible");$(this).remove();return!1})});
$(document).on("if6_page_ready",function(){$(".nbf-gv").not(function(){var b=this.genericJS;this.genericJS=!0;return b}).each(function(){$("html").hasClass("no-touch")||$("html").addClass("mobile-fill-available")})});
$(document).on("if6_page_ready",function(){$(".detect-scroll-directions").not(function(){var b=this.scroll_fade_added;this.scroll_fade_added=!0;return b}).on("scroll",function(){var b=this,c=$(this).parent();this.scrollFadeTimeout&&window.clearTimeout(this.scrollFadeTimeout);this.scrollFadeTimeout=window.setTimeout(function(){var f=$(b).scrollLeft();c.toggleClass("more-left",0<f);c.toggleClass("more-right",f+b.clientWidth<b.scrollWidth);f=$(b).scrollTop();c.toggleClass("more-top",0<f);c.toggleClass("more-bottom",
f+b.clientHeight<b.scrollHeight)},200)}).scroll()});
$(function(){var b;$("body,.swipe-horizontal").on("touchstart",function(c){b=c.target;$(this).hasClass("swipe-horizontal")||$(this).hasClass("navigation_visible")||$(this).hasClass("contact_visible")?(c=c.originalEvent||c,this.lastEvent=this.firstEvent={ts:Date.now(),x:c.touches[0].pageX,y:c.touches[0].pageY,velocity:0}):this.lastEvent=null}).on("touchmove",function(b){if(this.lastEvent){var c=b.originalEvent||b;c={x:c.touches[0].pageX,y:c.touches[0].pageY};var e=Math.abs(this.firstEvent.x-c.x),g=
Math.abs(this.firstEvent.y-c.y);(9<e||9<g)&&e<=g?this.lastEvent=null:(e=Date.now(),g=e-this.lastEvent.ts,g=50<g||!this.lastEvent.velocity?Math.abs(this.lastEvent.x-c.x)/g||0:this.lastEvent.velocity,this.lastEvent=c,this.lastEvent.ts=e,this.lastEvent.velocity=g,b.preventDefault())}}).on("touchend",function(c){if("BODY"!==this.tagName){var f=c.originalEvent&&c.originalEvent.changedTouches;f=f?document.elementFromPoint(f[0].clientX,f[0].clientY):c.currentTarget;if(f===b&&"A"===f.tagName){var e=new MouseEvent("click",
{view:window,bubbles:!0,cancelable:!0});f.dispatchEvent(e);c.preventDefault()}null!==f.getAttribute("onclick")&&f.click()}!this.lastEvent||.3>this.lastEvent.velocity||(c=this.firstEvent.x-this.lastEvent.x,-50>c?$(this).trigger("swiperight"):50<c&&$(this).trigger("swipeleft"))})});