"!==l[1]||ka.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ua(p,"input"),va),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ua(o.appendChild(f),"script"),g&&za(h),c)){e=0;while(f=h[e++])oa.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ua(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fa,""):void 0;if(!("string"!=typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra[(ja.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ia,"<$1>$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ua(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ua(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&na.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ua(i,"script"),xa),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ua(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,ya),j=0;f>j;j++)d=g[j],oa.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qa,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Ca,Da={};function Ea(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fa(a){var b=y,c=Da[a];return c||(c=Ea(a,b),"none"!==c&&c||(Ca=(Ca||m("")).appendTo(b.documentElement),b=(Ca[0].contentWindow||Ca[0].contentDocument).document,b.write(),b.close(),c=Ea(a,b),Ca.detach()),Da[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Ga=/^margin/,Ha=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ia,Ja,Ka=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ia=function(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)},Ja=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ia(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Ha.test(g)&&Ga.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):y.documentElement.currentStyle&&(Ia=function(a){return a.currentStyle},Ja=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ia(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Ha.test(g)&&!Ka.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function La(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML=" a",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight),b.removeChild(i)),b.innerHTML="",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Ma=/alpha\([^)]*\)/i,Na=/opacity\s*=\s*([^)]*)/,Oa=/^(none|table(?!-c[ea]).+)/,Pa=new RegExp("^("+S+")(.*)$","i"),Qa=new RegExp("^([+-])=("+S+")","i"),Ra={position:"absolute",visibility:"hidden",display:"block"},Sa={letterSpacing:"0",fontWeight:"400"},Ta=["Webkit","O","Moz","ms"];function Ua(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Ta.length;while(e--)if(b=Ta[e]+c,b in a)return b;return d}function Va(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fa(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Wa(a,b,c){var d=Pa.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xa(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Ya(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ia(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Ja(a,b,f),(0>e||null==e)&&(e=a.style[b]),Ha.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xa(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ja(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ua(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qa.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ua(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Ja(a,b,d)),"normal"===f&&b in Sa&&(f=Sa[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Oa.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Ra,function(){return Ya(a,b,d)}):Ya(a,b,d):void 0},set:function(a,c,d){var e=d&&Ia(a);return Wa(a,c,d?Xa(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Na.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Ma,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Ma.test(f)?f.replace(Ma,e):f+" "+e)}}),m.cssHooks.marginRight=La(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Ja,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Ga.test(a)||(m.cssHooks[a+b].set=Wa)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ia(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Va(this,!0)},hide:function(){return Va(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Za(a,b,c,d,e){
return new Za.prototype.init(a,b,c,d,e)}m.Tween=Za,Za.prototype={constructor:Za,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px")},cur:function(){var a=Za.propHooks[this.prop];return a&&a.get?a.get(this):Za.propHooks._default.get(this)},run:function(a){var b,c=Za.propHooks[this.prop];return this.options.duration?this.pos=b=m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Za.propHooks._default.set(this),this}},Za.prototype.init.prototype=Za.prototype,Za.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Za.propHooks.scrollTop=Za.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Za.prototype.init,m.fx.step={};var $a,_a,ab=/^(?:toggle|show|hide)$/,bb=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cb=/queueHooks$/,db=[ib],eb={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bb.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bb.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fb(){return setTimeout(function(){$a=void 0}),$a=m.now()}function gb(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hb(a,b,c){for(var d,e=(eb[b]||[]).concat(eb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ib(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fa(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fa(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ab.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fa(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hb(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jb(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kb(a,b,c){var d,e,f=0,g=db.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$a||fb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$a||fb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jb(k,j.opts.specialEasing);g>f;f++)if(d=db[f].call(j,a,k,j.opts))return d;return m.map(k,hb,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}m.Animation=m.extend(kb,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],eb[c]=eb[c]||[],eb[c].unshift(b)},prefilter:function(a,b){b?db.unshift(a):db.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kb(this,m.extend({},a),f);(e||m._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gb(b,!0),a,d,e)}}),m.each({slideDown:gb("show"),slideUp:gb("hide"),slideToggle:gb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($a=m.now();ca",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lb=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lb,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mb,nb,ob=m.expr.attrHandle,pb=/^(?:checked|selected)$/i,qb=k.getSetAttribute,rb=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nb:mb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rb&&qb||!pb.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qb?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nb={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rb&&qb||!pb.test(c)?a.setAttribute(!qb&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ob[b]||m.find.attr;ob[b]=rb&&qb||!pb.test(b)?function(a,b,d){var e,f;return d||(f=ob[b],ob[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,ob[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rb&&qb||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mb&&mb.set(a,b,c)}}),qb||(mb={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},ob.id=ob.name=ob.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mb.set},m.attrHooks.contenteditable={set:function(a,b,c){mb.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sb=/^(?:input|select|textarea|button|object)$/i,tb=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):sb.test(a.nodeName)||tb.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var ub=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ub," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ub," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ub," ").indexOf(b)>=0)return!0;return!1}}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var vb=m.now(),wb=/\?/,xb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xb,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yb,zb,Ab=/#.*$/,Bb=/([?&])_=[^&]*/,Cb=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Db=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Eb=/^(?:GET|HEAD)$/,Fb=/^\/\//,Gb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hb={},Ib={},Jb="*/".concat("*");try{zb=location.href}catch(Kb){zb=y.createElement("a"),zb.href="",zb=zb.href}yb=Gb.exec(zb.toLowerCase())||[];function Lb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mb(a,b,c,d){var e={},f=a===Ib;function g(h){var i;return e[h]=!0,m.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Nb(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Ob(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zb,type:"GET",isLocal:Db.test(yb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nb(Nb(a,m.ajaxSettings),b):Nb(m.ajaxSettings,a)},ajaxPrefilter:Lb(Hb),ajaxTransport:Lb(Ib),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.jquery)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cb.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zb)+"").replace(Ab,"").replace(Fb,yb[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gb.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yb[1]&&c[2]===yb[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yb[3]||("http:"===yb[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mb(Hb,k,b,v),2===t)return v;h=m.event&&k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Eb.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wb.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bb.test(e)?e.replace(Bb,"$1_="+vb++):e+(wb.test(e)?"&":"?")+"_="+vb++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jb+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mb(Ib,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Ob(k,v,c)),u=Pb(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qb=/%20/g,Rb=/\[\]$/,Sb=/\r?\n/g,Tb=/^(?:submit|button|image|reset|file)$/i,Ub=/^(?:input|select|textarea|keygen)/i;function Vb(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rb.test(a)?d(a,e):Vb(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vb(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vb(c,a[c],b,e);return d.join("&").replace(Qb,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Ub.test(this.nodeName)&&!Tb.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sb,"\r\n")}}):{name:b.name,value:c.replace(Sb,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zb()||$b()}:Zb;var Wb=0,Xb={},Yb=m.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in Xb)Xb[a](void 0,!0)}),k.cors=!!Yb&&"withCredentials"in Yb,Yb=k.ajax=!!Yb,Yb&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wb;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xb[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xb[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zb(){try{return new a.XMLHttpRequest}catch(b){}}function $b(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _b=[],ac=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_b.pop()||m.expando+"_"+vb++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ac.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ac.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ac,"$1"+e):b.jsonp!==!1&&(b.url+=(wb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_b.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bc=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bc)return bc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cc=a.document.documentElement;function dc(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cc;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cc})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dc(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=La(k.pixelPosition,function(a,c){return c?(c=Ja(a,b),Ha.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define175123&&define.amd&&_abt_define("jquery",[],function(){return m});var ec=a.jQuery,fc=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fc),b&&a.jQuery===m&&(a.jQuery=ec),m},typeof b===K&&(a.jQuery=a.$=m),m});
;window['_abt_jQuery'] = jQuery.noConflict( true );
// --
// Tue, 29 Jun 2021 12:06:33 +0200
;window['_abt_scn'] = 11;
;window['_abt_aItems'] = {"959":[1985,1986],"960":[1987,1988]};window['_abt_gf'] = [function () { /*console.info('ABT', 'FCE', 0);*/ _abt('action', "js-execute", "_abt_action_fce_80422"); },function () { /*console.info('ABT', 'FCE', 1);*/ _abt('action', "js-execute", "_abt_action_fce_50955"); },function () { /*console.info('ABT', 'FCE', 2);*/ /* Empty */ },function () { /*console.info('ABT', 'FCE', 3);*/ /* Empty */ }];window['_abt_g'] = {'productListReload':[function () { return 0; }],'productSearchReload':[function () { return 1; }],'169-371':[function () { return 2; },function () { return 3; }]};;window['_abt_f'] = {'_abt_action_fce_static': function () {_abt('action', "js-execute", "_abt_action_fce_70762");_abt('action', "js-execute", "_abt_action_fce_75513");_abt('action', "js-execute", "_abt_action_fce_62369");_abt('action', "js-execute", "_abt_action_fce_10613");_abt('action', "js-execute", "_abt_action_fce_19247");/*;console.log("YAT","_abt_action_fce_81987");*/
;try{_abt('stat', 'add', "js-execute", "_abt_action_fce_81987", {"fceExecuteCountBegin":0,"fceExecuteCountEnd":0,"fceExecuteLimitCountMax":null,"fceExecuteLimitCountMaxLeft":null}); } catch (e) {/* Pravděpodobně stav 'already exists' */};
_abt('action', "js-execute", "_abt_action_fce_81987", "body._abt-page-detail #buy-box [name=addToBasket]");/*;console.log("YAT","_abt_action_fce_68172");*/
;try{_abt('stat', 'add', "js-execute", "_abt_action_fce_68172", {"fceExecuteCountBegin":0,"fceExecuteCountEnd":0,"fceExecuteLimitCountMax":null,"fceExecuteLimitCountMaxLeft":null}); } catch (e) {/* Pravděpodobně stav 'already exists' */};
_abt('action', "js-execute", "_abt_action_fce_68172", "body._abt-page-detail #product-top .product-bundles__btn");window['_abt_gf'][window['_abt_g']['productListReload'][0]()](); _abt('action', "js-execute", "_abt_action_fce_16928");window['_abt_gf'][window['_abt_g']['productSearchReload'][0]()](); /*;console.log("YAT","_abt_action_fce_79290");*/
;try{_abt('stat', 'add', "js-execute", "_abt_action_fce_79290", {"fceExecuteCountBegin":0,"fceExecuteCountEnd":0,"fceExecuteLimitCountMax":null,"fceExecuteLimitCountMaxLeft":null}); } catch (e) {/* Pravděpodobně stav 'already exists' */};
_abt('action', "js-execute", "_abt_action_fce_79290", "#tab_detailAlternatives li [name=addToBasket]");/*;console.log("YAT","_abt_action_fce_85640");*/
;try{_abt('stat', 'add', "js-execute", "_abt_action_fce_85640", {"fceExecuteCountBegin":0,"fceExecuteCountEnd":0,"fceExecuteLimitCountMax":null,"fceExecuteLimitCountMaxLeft":null}); } catch (e) {/* Pravděpodobně stav 'already exists' */};
_abt('action', "js-execute", "_abt_action_fce_85640", "#tab_detailCrosssell li [name=addToBasket]");_abt('action', "js-execute", "_abt_action_fce_98023");_abt('action', "js-execute", "_abt_action_fce_30747");_abt('action', "js-execute", "_abt_action_fce_45510");_abt('action', "js-execute", "_abt_action_fce_73299");}};window['_abt_f']['_abt_action_fce_70762'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
//$('#lg-autocomplete');
if ($('#product-detail').length) {
$body.addClass('_abt-page-detail');
}
else {
$body.addClass('_abt-page-std');
}
window._increver_priceReformat = function(input) {
//console.log('_increver_priceReformat', input);
var t = $.trim(input||'');
//t = "10 213 Kč";
//t = t.replace(' ','');
t = t.replace(/(\d+)(\s+)(\d+)/g,'$1$3');
t = t.replace(/(\d+)(\ \;)(\d+)/g,'$1$3');
t = t.replace(/(\d+)(\s*Kč\s*)$/ig,'$1,-');
t = t.replace(/(\d+)((\ \;)*Kč(\ \;)*)$/ig,'$1,-');
//t += 'A';
//console.log('->_increver_priceReformat', t);
return t;
};;
};;window['_abt_f']['_abt_action_fce_75513'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
var repeatInst = 0;
var DEBUG = _abt('run', "mode", "get") === 'dev';
var currentBasketRepeater = null;
var $basketBox = $('#basket-box');
function cancelCheckBacketAdd2Repeater() {
if (DEBUG) console.log('cancelCheckBacketAdd2Repeater');
if (currentBasketRepeater) {
currentBasketRepeater.stop();
}
}
window._increver_checkBacketAdd2 = function (type, subtype) {
cancelCheckBacketAdd2Repeater();
var basketCountCurrent = parseInt($basketBox.find('.count').text());
_abt('repeat', 'run', 1e8, 150, function (Parent, key, mSettings) {
currentBasketRepeater = mSettings;
var _count = parseInt($basketBox.find('.count').text());
console.log('_count', _count, 'basketCountCurrent', basketCountCurrent);
if (_count != basketCountCurrent) {
basketCountCurrent = _count;
_abt('goal', 'data', 'type', type);
if (subtype) _abt('goal', 'data', 'st', subtype);
_abt('goal', 'track', {
multiple: true
});
mSettings.stop();
currentBasketRepeater = null;
}
});
}
function cancelCheckBacketAddRepeater() {
if (DEBUG) console.log('cancelCheckBacketAddRepeater');
if (currentRepeater) {
currentRepeater.stop();
}
}
$body.on('click', ".pdbox__close", function () {
cancelCheckBacketAddRepeater();
});
var currentRepeater = null;
window._increver_checkPopup = function () {
window._increver_checkBacketAdd(0);
};
window._increver_checkBacketAdd = function (type, subtype) {
repeatInst++;
var _repeatInst = repeatInst+'';
if (DEBUG) console.log('_increver_checkBacketAdd', _repeatInst, type, subtype);
cancelCheckBacketAddRepeater();
if (type) {
window._increver_checkBacketAdd2(type, subtype);
}
_abt('repeat', 'run', 1e8, 150, function (Parent, key, mSettings) {
if (DEBUG) console.log('REPEAT:'+_repeatInst+':checkBacketAdd:'+type);
currentRepeater = mSettings;
var $x = $('.preBasket .prebasket-top .preBasket__heading');
if (!$x.length) {
return;
}
if ($x.attr('data-increver-loaded')) {
return;
}
$x.attr('data-increver-loaded', 1);
if ( ($x.text() || '').indexOf('Vložili jste do košíku') !== -1 ) {
/*
// Nahrazeno
// window._increver_checkBacketAdd2(type, subtype);
_abt('goal', 'data', 'type', type);
if (subtype) _abt('goal', 'data', 'st', subtype);
_abt('goal', 'track', {
multiple: true
});
*/
// #1575 | 303 | Vložení do košíku z výpisů produktů · související, ap.
// Zahrnuje vložení z: c) boxu "Mohlo by se vám hodit" v před-košíkovém pop-up okně
var $_containerPopup = $('.prebasket-products .products');
if (DEBUG) console.log('$_containerPopup:', $_containerPopup);
$_containerPopup.find('[name=addToBasket]').each(function () {var $_btn = $(this);
$_btn.click(function () {
window._increver_checkBacketAdd(303, 'c1');
});
});
var $_containerPopupBlue = $('.multiaction .ma-products .quantity-products');
if (DEBUG) console.log('$_containerPopupBlue:', $_containerPopupBlue);
$_containerPopupBlue.find('[name=addToBasket]').each(function () {var $_btn = $(this);
$_btn.click(function () {
if ($_btn.hasClass('btn-buyed')) {
if (DEBUG) console.log('$_btn:', $_btn, 'btn-buyed -> CANCELED');
window._increver_checkPopup();
return;
}
window._increver_checkBacketAdd(303, 'c2');
});
});
_abt('run', 'group', ['upsellPopup']);
}
mSettings.stop();
currentRepeater = null;
});
};
window._increver_initReload = function ($container, groupName) {
var isSelector = typeof $container === "string";
repeatInst++;
var _repeatInst = repeatInst+'';
if (DEBUG) console.log('_increver_initReload', _repeatInst, $container, groupName);
var currentLiCount = 0;
var currentLi0HtmlClass = null;
_abt('repeat', 'run', 1e8, 250, function (Parent, key, mSettings) {
if (DEBUG) console.log('REPEAT:'+_repeatInst+':LIST:'+groupName);
var isFire = false;
var $ch = null;
if (isSelector) {
$ch = $($container).children();
}
else {
$ch = $container.children();
}
var _len = $ch.length;
if (_len != currentLiCount) {
// FIRE
isFire = true;
currentLiCount = _len;
}
var _currClass = $ch.eq(0).attr('class') || null;
if (_currClass != currentLi0HtmlClass) {
// FIRE
isFire = true;
currentLi0HtmlClass = _currClass;
}
if (isFire) {
if (DEBUG) console.log("%cIncrever%c", "background-color: #027FBE; color: white; font-weight: bold;", '', 'CALL GROUP', groupName );
_abt('run', 'group', groupName);
}
});
};
window._increver_reloadListCheckBasketAdd = function ($container, type, subtype) {
if (DEBUG) console.log('_increver_reloadListCheckBasketAdd', $container, type, subtype);
var cl = '_abt-'+type;
var clDot = '.'+cl;
$container.children().not(clDot).each(function () {var $li = $(this);
$li.addClass(cl);
$li.attr('data-x', parseInt($li.attr('data-x') || 0) + 1);
$li.find('[name=addToBasket]').click(function () {
window._increver_checkBacketAdd(type, subtype);
});
});
};;
};;window['_abt_f']['_abt_action_fce_62369'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
if ($body.hasClass('_abt-page-detail')) {
console.log("%cIncrever productListReload|productSearchReload%c", "background-color: #027FBE; color: white; font-weight: bold;", '', 'PAGE DETAIL -> CANCELED' );
return;
}
if (location.pathname === "/vyhledavani") {
_abt('repeat', 'run', 1e8, 150, function (Parent, key, mSettings) {
var $ul = $('#search-results .products-list > ul');
if (!$ul.length) {
return;
}
console.log("%cIncrever productSearchReload%c", "background-color: #027FBE; color: white; font-weight: bold;", '', '#search-results FOUND' );
window._increver_initReload('#search-results .products-list > ul', 'productSearchReload');
mSettings.stop();
});
// Dále to již nemá cenu řešit
return;
}
var $ul = $('.products-list > ul');
if (!$ul.length) {
console.log("%cIncrever productListReload%c", "background-color: #027FBE; color: white; font-weight: bold;", '', 'PAGE $UL NOT FOUND -> CANCELED' );
return;
}
window._increver_initReload($ul, 'productListReload');;
};;window['_abt_f']['_abt_action_fce_10613'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
// #1571 | 102 | Dosažení předposledního kroku objednávky (2. Osobní informace)
if (_abt('getCookie', '_abt_g102')) return ;
if ($('#step-list li.s'+2).hasClass('active')) {
_abt('goal', 'data', 'type', 102);
_abt('goal', 'track');
_abt('setCookie', '_abt_g102', 1, 30*60);
};
};;window['_abt_f']['_abt_action_fce_19247'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
// #1572 | 101 | Unikátní zobrazení stránky Košík (1. Doprava a platba)
if (_abt('getCookie', '_abt_g101')) return ;
if ($('#step-list li.s'+1).hasClass('active')) {
_abt('goal', 'data', 'type', 101);
_abt('goal', 'track');
_abt('setCookie', '_abt_g101', 1, 30*60);
};
};;window['_abt_f']['_abt_action_fce_81987'] = function (domPath) {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
var $aList = $(domPath);
var length = $aList.length;
if (isRunModeDev) {
var actionTypeJsElementExecuteCounter = window['_abt_718715617_c'] = (window['_abt_718715617_c'] || 0)+1;
if (actionTypeJsElementExecuteCounter==1) {
console.info("%cIncrever | action-type-js-element%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context collection: $aList, length", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context element: $input, $this, this, index", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", /* Comment */ "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-element%c %c/* Collection */ %c$aList = $(%c\""+domPath+"\"%c)", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* bracked start */" ", /* DOM_PATH */"color: darkred; ", /* bracket end */"", "length =", length);
}
$aList.each(function (index) {
var $input, $this = $(this), $input = $this;
if (isRunModeDev) {
console.info("%cIncrever | action-type-js-element%c %c/* Element "+(index+1)+"/"+length+" */%c %c\""+domPath+"\"", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* space */"", /* DOM_PATH */"color: darkred; ", "index =", index, "$this =", $this);
}
var codeExecuteCount, eventFireLimitCountMax, codeExecuteCount = 0, eventFireLimitCountMax = null;
$input.addClass("_abt-action-js-element _abt-change");
if (eventFireLimitCountMax!==null && !eventFireLimitCountMax) {return; }
eventFireLimitCountMax--;
codeExecuteCount++;
/*console.log(codeExecuteCount, eventFireLimitCountMax);*/
$input.addClass("_abt-action-js-element-event-firing");
// #1573 | 301 | Vložení do košíku z detailů produktů
$input.click(function () {
window._increver_checkBacketAdd(301);
});;
this.className = this.className.split("_abt-action-js-element-event-firing").join('');
$input.addClass("_abt-action-js-element-event-fired");
});
};;window['_abt_f']['_abt_action_fce_68172'] = function (domPath) {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
var $aList = $(domPath);
var length = $aList.length;
if (isRunModeDev) {
var actionTypeJsElementExecuteCounter = window['_abt_718715617_c'] = (window['_abt_718715617_c'] || 0)+1;
if (actionTypeJsElementExecuteCounter==1) {
console.info("%cIncrever | action-type-js-element%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context collection: $aList, length", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context element: $input, $this, this, index", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", /* Comment */ "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-element%c %c/* Collection */ %c$aList = $(%c\""+domPath+"\"%c)", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* bracked start */" ", /* DOM_PATH */"color: darkred; ", /* bracket end */"", "length =", length);
}
$aList.each(function (index) {
var $input, $this = $(this), $input = $this;
if (isRunModeDev) {
console.info("%cIncrever | action-type-js-element%c %c/* Element "+(index+1)+"/"+length+" */%c %c\""+domPath+"\"", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* space */"", /* DOM_PATH */"color: darkred; ", "index =", index, "$this =", $this);
}
var codeExecuteCount, eventFireLimitCountMax, codeExecuteCount = 0, eventFireLimitCountMax = null;
$input.addClass("_abt-action-js-element _abt-change");
if (eventFireLimitCountMax!==null && !eventFireLimitCountMax) {return; }
eventFireLimitCountMax--;
codeExecuteCount++;
/*console.log(codeExecuteCount, eventFireLimitCountMax);*/
$input.addClass("_abt-action-js-element-event-firing");
// #1573 | 301 | Vložení do košíku z detailů produktů
// -> bundle, viz
// https://www.benu.cz/nutrilon-3-800g-baleni-6-ks-old
// https://www.benu.cz/nestle-beba-comfort-3-800g
$input.click(function () {
window._increver_checkBacketAdd(301);
});;
this.className = this.className.split("_abt-action-js-element-event-firing").join('');
$input.addClass("_abt-action-js-element-event-fired");
});
};;window['_abt_f']['_abt_action_fce_80422'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
// #1574 | 302 | Vložení do košíku z výpisů produktů · kategorie, ap.
// Zahrnuje vložení z: a) kategorií
var $ul = $('.products-list > ul');
window._increver_reloadListCheckBasketAdd($ul, 302, 'a');;
};;window['_abt_f']['_abt_action_fce_16928'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
// #1574 | 302 | Vložení do košíku z výpisů produktů · kategorie, ap.
// Zahrnuje vložení z: c) našeptávače vyhledávání
// LB
$body.on('click', ".luigi-ac-description .btn-small", function () {
window._increver_checkBacketAdd(302, 'c');
});
// STD:
$body.on('click', ".search-suggest [name=addToBasket]", function () {
window._increver_checkBacketAdd(302, 'd');
});;
};;window['_abt_f']['_abt_action_fce_50955'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
// #1574 | 302 | Vložení do košíku z výpisů produktů · kategorie, ap.
// Zahrnuje vložení z: b) stránek výsledků vyhledávání
var $ul = $('#search-results .products-list > ul');
window._increver_reloadListCheckBasketAdd($ul, 302, 'b');;
};;window['_abt_f']['_abt_action_fce_79290'] = function (domPath) {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
var $aList = $(domPath);
var length = $aList.length;
if (isRunModeDev) {
var actionTypeJsElementExecuteCounter = window['_abt_718715617_c'] = (window['_abt_718715617_c'] || 0)+1;
if (actionTypeJsElementExecuteCounter==1) {
console.info("%cIncrever | action-type-js-element%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context collection: $aList, length", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context element: $input, $this, this, index", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", /* Comment */ "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-element%c %c/* Collection */ %c$aList = $(%c\""+domPath+"\"%c)", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* bracked start */" ", /* DOM_PATH */"color: darkred; ", /* bracket end */"", "length =", length);
}
$aList.each(function (index) {
var $input, $this = $(this), $input = $this;
if (isRunModeDev) {
console.info("%cIncrever | action-type-js-element%c %c/* Element "+(index+1)+"/"+length+" */%c %c\""+domPath+"\"", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* space */"", /* DOM_PATH */"color: darkred; ", "index =", index, "$this =", $this);
}
var codeExecuteCount, eventFireLimitCountMax, codeExecuteCount = 0, eventFireLimitCountMax = null;
$input.addClass("_abt-action-js-element _abt-change");
if (eventFireLimitCountMax!==null && !eventFireLimitCountMax) {return; }
eventFireLimitCountMax--;
codeExecuteCount++;
/*console.log(codeExecuteCount, eventFireLimitCountMax);*/
$input.addClass("_abt-action-js-element-event-firing");
// #1575 | 303 | Vložení do košíku z výpisů produktů · související, ap.
// Zahrnuje vložení z: a) boxu "Podobné produkty" v detailech p.,
$input.click(function () {
window._increver_checkBacketAdd(303, 'a');
});;
this.className = this.className.split("_abt-action-js-element-event-firing").join('');
$input.addClass("_abt-action-js-element-event-fired");
});
};;window['_abt_f']['_abt_action_fce_85640'] = function (domPath) {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
var $aList = $(domPath);
var length = $aList.length;
if (isRunModeDev) {
var actionTypeJsElementExecuteCounter = window['_abt_718715617_c'] = (window['_abt_718715617_c'] || 0)+1;
if (actionTypeJsElementExecuteCounter==1) {
console.info("%cIncrever | action-type-js-element%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context collection: $aList, length", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context element: $input, $this, this, index", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", /* Comment */ "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-element%c %c/* Collection */ %c$aList = $(%c\""+domPath+"\"%c)", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* bracked start */" ", /* DOM_PATH */"color: darkred; ", /* bracket end */"", "length =", length);
}
$aList.each(function (index) {
var $input, $this = $(this), $input = $this;
if (isRunModeDev) {
console.info("%cIncrever | action-type-js-element%c %c/* Element "+(index+1)+"/"+length+" */%c %c\""+domPath+"\"", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* space */"", /* DOM_PATH */"color: darkred; ", "index =", index, "$this =", $this);
}
var codeExecuteCount, eventFireLimitCountMax, codeExecuteCount = 0, eventFireLimitCountMax = null;
$input.addClass("_abt-action-js-element _abt-change");
if (eventFireLimitCountMax!==null && !eventFireLimitCountMax) {return; }
eventFireLimitCountMax--;
codeExecuteCount++;
/*console.log(codeExecuteCount, eventFireLimitCountMax);*/
$input.addClass("_abt-action-js-element-event-firing");
// #1575 | 303 | Vložení do košíku z výpisů produktů · související, ap.
// Zahrnuje vložení z: b) boxu "Mohlo by se vám také hodit" v detailech p.
$input.click(function () {
window._increver_checkBacketAdd(303, 'b');
});;
this.className = this.className.split("_abt-action-js-element-event-firing").join('');
$input.addClass("_abt-action-js-element-event-fired");
});
};;window['_abt_f']['_abt_action_fce_98023'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
function recalc() {
var $blLi = $('.basket-list>li');
if (!$blLi.length) {
return;
}
var priceSum_all = 0.0;
$blLi.each(function () {var $this = $(this);
if ($this.find('.name').text().indexOf('Doprava:') !== -1) {
return;
}
if ($this.find('.name').text().indexOf('Platba:') !== -1) {
return;
}
//var href = $this.find('h3.title>a').attr('href');
var $price = $this.find('.price');
if (!$price.length) return;
var price = parseFloat($price.text().split(/\s+/).join('').split('Kč').join(''));
if (isNaN(price)) {
return;
}
priceSum_all += price;
//console.log($price);
});
console.log('priceSum_all', priceSum_all);
_abt('localStorage', 'set', '_increver_pls', priceSum_all);
_abt('run', 'group', ['basketList']);
}
var lastLength = -1;
_abt('repeat', 'run', 1e8, 150, function (Parent, key, mSettings) {
var cl = $('#snippet--pdbox').length;
if (cl != lastLength) {
recalc();
lastLength = cl;
}
});;
};;window['_abt_f']['_abt_action_fce_30747'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
// 688 // Dokončená objednávka ⁞ tržby · (impl. Increver)
if (location.pathname.indexOf('/potvrzeni-objednavky') !== 0) {
return;
}
var priceSum = _abt('localStorage', 'get', '_increver_pls');
var isPriceSum = priceSum!==undefined;
var priceStoredExpected = isPriceSum ? priceSum : 'a';
if (_abt('getCookie', '_abt_g688') == priceStoredExpected) {
//console.log('priceSum X', _abt('getCookie', '_abt_g688'), priceStoredExpected);
return ;
}
_abt('goal', 'data', 'type', 688);
if (isPriceSum) {
_abt('goal', 'data', 'profit', priceSum);
}
_abt('goal', 'track');
_abt('setCookie', '_abt_g688', priceStoredExpected, 2*24*60*60);;
};;window['_abt_f']['_abt_action_fce_45510'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
// 303 | Vložení do košíku z výpisů produktů · související, ap.
// Zahrnuje vložení z: d) SPECIÁLNÍ NABÍDKA (after sale v 2. kroku objednávky)
//console.log('.pdbox__desc .after-sale-tb', $('.pdbox__desc .after-sale-tb') );
if (!$('#step-list li.s'+2).hasClass('active')) {
return;
}
function checkMessageOk() {
_abt('repeat', 'run', 50, 150, function (Parent, key, mSettings) {
var $x = $('#snippet-flashMessage-flashMessage');
if (!$x.length) return;
var $ok = $x.find('>.message.message--ok');
if (!$ok.length) {
return;
}
if ($ok.hasClass('_abt-used')) {
return;
}
$ok.addClass('_abt-used');
_abt('run', 'group', ['upsellPopup']);
mSettings.stop();
_abt('goal', 'data', 'type', 303);
_abt('goal', 'data', 'st', 'd');
_abt('goal', 'track', {
multiple: true
});
init();
});
}
var $mainContainer;
function attachBtns() {
$mainContainer.find('.products .shop-box .buy a.btn').each(function () {
$(this).click(function () {
checkMessageOk();
});
});
}
function init() {
_abt('repeat', 'run', 50, 150, function (Parent, key, mSettings) {
$mainContainer = $('.pdbox__desc .after-sale-tb');
//console.log('$mainContainer', $mainContainer);
if (!$mainContainer.length) {
return;
}
mSettings.stop();
attachBtns();
});
}
init();;
};;window['_abt_f']['_abt_action_fce_73299'] = function () {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
if (isRunModeDev) {
var actionTypeJsRawExecuteCounter = window['_abt_718715616_c'] = (window['_abt_718715616_c'] || 0)+1;
if (actionTypeJsRawExecuteCounter==1) {
console.info("%cIncrever | action-type-js-raw%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-raw", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;");
}
// POUZE PRO TEST #8 (c228)
console.log('X');
if (location.pathname.indexOf("/informace-o-vas")!==0) {
return;
}
console.log('XX');
_abt('repeat', 'run', 20, 80, function (Parent, key, mSettings) {
var $snippet = $('#snippet--pdbox>.after-sale-tb');
//console.log('$snippet', $snippet);
if ($snippet.length) {
_abt('run', "group", ['upsellPopupRedraw']);
mSettings.stop();
}
});;
};;window['_abt_f']['_abt_action_fce_70070'] = function (domPath) {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
var $aList = $(domPath);
var length = $aList.length;
if (isRunModeDev) {
var actionTypeJsElementExecuteCounter = window['_abt_718715617_c'] = (window['_abt_718715617_c'] || 0)+1;
if (actionTypeJsElementExecuteCounter==1) {
console.info("%cIncrever | action-type-js-element%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context collection: $aList, length", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context element: $input, $this, this, index", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", /* Comment */ "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-element%c %c/* Collection */ %c$aList = $(%c\""+domPath+"\"%c)", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* bracked start */" ", /* DOM_PATH */"color: darkred; ", /* bracket end */"", "length =", length);
}
$aList.each(function (index) {
var $input, $this = $(this), $input = $this;
if (isRunModeDev) {
console.info("%cIncrever | action-type-js-element%c %c/* Element "+(index+1)+"/"+length+" */%c %c\""+domPath+"\"", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* space */"", /* DOM_PATH */"color: darkred; ", "index =", index, "$this =", $this);
}
var codeExecuteCount, eventFireLimitCountMax, codeExecuteCount = 0, eventFireLimitCountMax = null;
$input.addClass("_abt-action-js-element _abt-change");
if (eventFireLimitCountMax!==null && !eventFireLimitCountMax) {return; }
eventFireLimitCountMax--;
codeExecuteCount++;
/*console.log(codeExecuteCount, eventFireLimitCountMax);*/
$input.addClass("_abt-action-js-element-event-firing");
if (!$('#step-list>ul>li.active.s1').length) {
return;
}
$body.addClass('_abt-page-order-step-1');
// Pokud je otevřeno, pak při initu se neuzavře!
var onceOpenOnPage = false;
function reInitDbox() {
//console.log('reInitDbox');
var $db = $input.find('.discount-box').eq(0);
if ($db.hasClass('_abt-dbox-with-checkbox')) {
//console.log('EXISTS');
return;
}
//console.log('INIT');
var $inpHolder = $db.find('.inp-holder');
var $title = $db.find('p.title'), title = $title.html();
var $chb = $('')
.attr('type', "checkbox")
.addClass('_abt-dbox-checkbox')
.change(function (e) {
e.preventDefault();
var isChecked = $(this).is(':checked');
//console.log('isChecked', isChecked);
$db.removeClass('_abt-dbox-with-checkbox__open');
$db.removeClass('_abt-dbox-with-checkbox__close');
if (isChecked) {
$inpHolder.slideDown('fast', function () {
$db.addClass('_abt-dbox-with-checkbox__open');
});
onceOpenOnPage = true;
}
else {
$inpHolder.slideUp('fast', function () {
$db.addClass('_abt-dbox-with-checkbox__close');
});
onceOpenOnPage = false;
}
})
;
$title
.empty()
.append($('')
.css({
fontSize: "100%"
})
.append($chb)
.append(' ')
.append($('')
.html(title)
)
)
;
if (onceOpenOnPage) {
$chb.prop('checked', "checked");
$inpHolder.show(); // Pro formu
$db.addClass('_abt-dbox-with-checkbox__open');
}
else {
$inpHolder.hide();
$db.addClass('_abt-dbox-with-checkbox__close');
}
$db.addClass('_abt-dbox-with-checkbox');
}
_abt('repeat', 'run', 1e8, 150, function (Parent, key, mSettings) {
reInitDbox();
});;
this.className = this.className.split("_abt-action-js-element-event-firing").join('');
$input.addClass("_abt-action-js-element-event-fired");
});
};;window['_abt_f']['_abt_action_fce_58373'] = function (domPath) {
var $ = window['_abt_jQuery'];
var $body = $('body');
var isRunModeDev = _abt('run', "mode", "get") === 'dev', isDev = isRunModeDev;
var isRunStateLive = _abt('run', "state", "get") === 'live', isLive = isRunStateLive;
var $aList = $(domPath);
var length = $aList.length;
if (isRunModeDev) {
var actionTypeJsElementExecuteCounter = window['_abt_718715617_c'] = (window['_abt_718715617_c'] || 0)+1;
if (actionTypeJsElementExecuteCounter==1) {
console.info("%cIncrever | action-type-js-element%c %c// First time run info:", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green; font-weight: bold; ");
console.info("%cIncrever | action-type-js-element%c %c// Context general: $body, isDev, isLive // onLoad state", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context collection: $aList, length", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", "font-style: italic; color: green");
console.info("%cIncrever | action-type-js-element%c %c// Context element: $input, $this, this, index", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* bracked start */" ", /* Comment */ "font-style: italic; color: green");
}
console.info("%cIncrever | action-type-js-element%c %c/* Collection */ %c$aList = $(%c\""+domPath+"\"%c)", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* bracked start */" ", /* DOM_PATH */"color: darkred; ", /* bracket end */"", "length =", length);
}
$aList.each(function (index) {
var $input, $this = $(this), $input = $this;
if (isRunModeDev) {
console.info("%cIncrever | action-type-js-element%c %c/* Element "+(index+1)+"/"+length+" */%c %c\""+domPath+"\"", /* Headline */"background-color: #027FBE; color: white; font-weight: bold;", /* space */ "", /* Comment */ "font-style: italic; color: green", /* space */"", /* DOM_PATH */"color: darkred; ", "index =", index, "$this =", $this);
}
var codeExecuteCount, eventFireLimitCountMax, codeExecuteCount = 0, eventFireLimitCountMax = null;
$input.addClass("_abt-action-js-element _abt-change");
if (eventFireLimitCountMax!==null && !eventFireLimitCountMax) {return; }
eventFireLimitCountMax--;
codeExecuteCount++;
/*console.log(codeExecuteCount, eventFireLimitCountMax);*/
$input.addClass("_abt-action-js-element-event-firing");
/*
if (!_abt('getCookie', "benu")) {
console.log('AAAAAAAAAAA END');
return;
}
console.log('BBBBBBBBBBBBBBB');
*/
if (!$('#step-list>ul>li.active.s2').length) {
return;
}
$body.addClass('_abt-page-order-step-2');
var c = 0;
_abt('repeat', 'run', 50, 150, function (Parent, key, mSettings) {
console.log('TEST #9 231 | #2 | CHECK | ' + c++);
if ($.trim($input.find('>.aftersale-tb-content').find('h1').text()) == "Jen teď a tady") {
//window['jQuery'].find('body>.aftersale-tb-content .pdbox__close').click(); // !!! Vynutí "klik" na kříže, nutné, opětovně povolí scrollování !!!
//console.log('CLICK');
//
mSettings.stop();
var callOff = function (a) {
$body.removeClass('pdbox-open'); // Zakazuje scroll
$body.removeClass('pdbox-open--scrollbar-offset'); // Nějaký posun obrazovky kvůli scroolovadlu
console.log(a);
};
callOff('OK');
$input.find('>.aftersale-tb-content').remove(); // Již je skryto, toto je úplné odstranění z kódu
window.setTimeout(function () {callOff('A'); }, 100);
window.setTimeout(function () {callOff('B'); }, 200);
window.setTimeout(function () {callOff('C'); }, 350);
window.setTimeout(function () {callOff('D'); }, 500);
}
});;
this.className = this.className.split("_abt-action-js-element-event-firing").join('');
$input.addClass("_abt-action-js-element-event-fired");
});
};;window['_abt_p'] = {/*1) Košík: Skrytí pole pro slevový kupón pod rozklikávací 'odkaz'*/'959-1985': function () {window['_abt_gf'][window['_abt_g']['169-371'][0]()](); }, '959-1986': function () {/* Note */_abt('action', "css-raw", "\/* ActionTypeCssRawMasterHelper::SetupPost *\/\n._abt-dbox-with-checkbox input[type='checkbox']._abt-dbox-checkbox {\n position: relative;\n top: 2.5px;\n margin-right: 2px; }\n ._abt-dbox-with-checkbox .inp-holder {\n margin-bottom: 5px; }\n ._abt-dbox-with-checkbox .title {\n margin-bottom: 0px; }\n ._abt-dbox-with-checkbox .title > label {\n margin-bottom: 1px; }\n @media (min-width: 768px) {\n ._abt-dbox-with-checkbox .title {\n margin-bottom: 10px; }\n ._abt-dbox-with-checkbox .std-box {\n padding-bottom: 5px; }\n ._abt-dbox-with-checkbox .btn {\n margin-bottom: 10px; } }\n @media (min-width: 600px) {\n ._abt-dbox-with-checkbox .inp-holder {\n margin-bottom: 8px; } }");/*;console.log("YAT","_abt_action_fce_70070");*/
;try{_abt('stat', 'add', "js-execute", "_abt_action_fce_70070", {"fceExecuteCountBegin":0,"fceExecuteCountEnd":0,"fceExecuteLimitCountMax":null,"fceExecuteLimitCountMaxLeft":null}); } catch (e) {/* Pravděpodobně stav 'already exists' */};
_abt('action', "js-execute", "_abt_action_fce_70070", "body.page-order");}, /*2) Příkupy po Košíku: Odstranění okna s produkty*/'960-1987': function () {window['_abt_gf'][window['_abt_g']['169-371'][1]()](); }, '960-1988': function () {/* Note *//*;console.log("YAT","_abt_action_fce_58373");*/
;try{_abt('stat', 'add', "js-execute", "_abt_action_fce_58373", {"fceExecuteCountBegin":0,"fceExecuteCountEnd":0,"fceExecuteLimitCountMax":null,"fceExecuteLimitCountMaxLeft":null}); } catch (e) {/* Pravděpodobně stav 'already exists' */};
_abt('action', "js-execute", "_abt_action_fce_58373", "body.page-order");_abt('action', "css-raw", "\/* ActionTypeCssRawMasterHelper::SetupPost *\/\nbody._abt-page-order-step-2 > .aftersale-tb-content {\n display: none !important; }\n\/*\n body._abt-page-order-step-2 {\n .ca-control strong {\n font-size: 125%;\n }\n }\n *\/");}};
// --
var _abtLoader=function(aW,aZ){if(!aW._abtHandler){return}var aO=new Date().getTime();if(aZ.getElementsByTagName("body")[0]===undefined){console.warn("No
in document");return}if(aZ.getElementsByTagName("body")[0].className.indexOf("_abt-campaign-loaded")!==-1){console.warn("_abt is already loaded! Current version ["+aW[aW._abtHandler]("version")+"] ERROR: 8512");return}try{if(aW[aW._abtHandler]("version").split("=")[0]=="campaign"){console.warn("_abt is already loaded! Current version ["+aW[aW._abtHandler]("version")+"] ERROR: 8513");return}}catch(W){}var b=aW._abtHandler;var u=aW[b];var aR=aW[b];var ae="std";function Y(){return ae==="std"}function F(){return ae==="dev"}var ab="unknown";var am=null;var ao=null;function aw(){if(am===null){console.error("%cIncrever: RUN_STATE_IS_LIVE IS NULL",at)}return am}function aa(){if(ao===null){console.error("%cIncrever: RUN_STATE_IS_DEV IS NULL",at)}return ao}function aU(){return ab==="unknown"}var aq="https:";var aJ="";var f="//track-abt.increverhq.com";if(!location.hostname){f=aq+f;aJ=aq}var a="background-color: white; color: black; ";var at="background-color: red; color: white; ";var S="background-color: black; color: yellow; ";var J="background-color: #027FBE; color: white; font-weight: bold; ";aR("callback","run","onLoad:begin");var av=typeof(Storage)!=="undefined";var x=av?aW.localStorage:null;function Z(e,q){if(typeof e==="function"){q=e;e=true}if(!av){if(e){throw"localStorage is not supported"}return undefined}var i=q(x);if(i===undefined){return true}return i}var A={log:a,error:at,warn:S,info:J,};var aV=function(e){return(A[e]!==undefined)?A[e]:a};var D=function(q,i){var e=[].slice.call(arguments,1);R(q,e)};var R=function(a1,q){if(aU()){return}if(!F()){return}if(window.console===undefined){return}var i=["%cIncrever "+a1.toUpperCase(),aV(a1)].concat(q);try{console[a1].apply(null,i)}catch(a0){console.log(a1,i)}};clog=function(){R("log",[].slice.call(arguments))};cinfo=function(){R("info",[].slice.call(arguments))};cwarn=function(){R("warn",[].slice.call(arguments))};cerror=function(){R("error",[].slice.call(arguments))};function aT(a0,q,i,e){aR("rl",a0,q,i,e)}function y(q,i,e){return aT(0,q,i,e)}function ak(q,i,e){return aT(1,q,i,e)}function k(q,i,e){return aT(2,q,i,e)}function aM(q,i,e){return aT(3,q,i,e)}function ah(q,i,e){return aT(4,q,i,e)}function H(q,i,e){return aT(5,q,i,e)}function T(q,i,e){return aT(6,q,i,e)}function M(q,i,e){return aT(7,q,i,e)}var ad;if(aW._abt_service===undefined){ad=aW._abt_service=function(){var q=this;var a0=[].slice.call(arguments);var a2={};var e=["version","isTestEnabled","isTestDisabled","test"];for(var a1=0;a1=0}function aN(e){return typeof e==="string"||e instanceof String}function ag(e){return typeof e==="object"&&e&&e.jquery}function aG(e){return typeof e==="function"}function ai(e){Array.prototype.slice.call(arguments,1).forEach(function(i){if(i){for(var q in i){if(i[q]!==null&&i[q].constructor===Object){if(!e[q]||e[q].constructor===Object){e[q]=e[q]||{};ai(e[q],i[q])}else{e[q]=i[q]}}else{e[q]=i[q]}}}});return e}function aB(e){return e.split(",").join("&").split(":").join("=")}function aL(e,i,a2){if(!i){i=false}if(a2===undefined){a2=e}if(!e){cwarn("goal ELEMENT is LINK, but empty or hash, href=",a2);return false}var a1=e.toLowerCase();if(a1.indexOf("http:")===0||a1.indexOf("https:")===0){return true}if(a1.indexOf("javascript:")===0){if(i){D(i,"goal ELEMENT is LINK, but JAVASCRIPT, href=",a2)}return false}if(a1.indexOf("mailto:")===0){if(i){D(i,"goal ELEMENT is LINK, but MAILTO, href=",a2)}return false}var a0=a1.indexOf(":"),q=a1.indexOf("/");if(a0!==-1&&(q===-1||a0")}var aR=aW[b]=function(){Q.push(arguments);if(v[arguments[0]]!==undefined){return v[arguments[0]](arguments)}throw P(arguments,0,"is unknown")};var ar=aW[b+"ByArray"]=function(e){return aR.apply(aR,e)};if(Object.defineProperty&&Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(Element.prototype,"textContent")&&!Object.getOwnPropertyDescriptor(Element.prototype,"textContent").get){(function(){var e=Object.getOwnPropertyDescriptor(Element.prototype,"innerText");Object.defineProperty(Element.prototype,"textContent",{get:function(){return e.get.call(this)},set:function(i){return e.set.call(this,i)}})})()}function C(e){aW.alert(e)}function V(){C(JSON.stringify(Array.prototype.concat.apply([],arguments)))}var au=(function(){var e,a0,q;function i(a2,a1){e=a2;a0=a1!=null?a1:{};q=new Date().getTime()}i.prototype.getType=function(){return e};i.prototype.getParams=function(){return a0};i.prototype.getTime=function(){return q};i.prototype.toString=function(){return"tAbtEvent[type="+this.type+"params="+(JSON.stringify(this.mParams))+"]"};return i})();function B(){this.__CLASS__="tAbtOnEventThread";this._aList=[];this._listLen=0;this._repeat_mCurrentSettings=null;this._mCalls={change:function(i,e){if(e[0].nodeName==="INPUT"){if(e.attr("type")==="checkbox"){return e.prop("checked")}}return e.val()},"change:hasClass":function(i,e){return e.hasClass(i[3][0])},click:function(q,e){var i=parseInt(e.attr("abt-on-click")?e.attr("abt-on-click"):0)+1;e.attr("abt-on-click",i);return i},}}B.prototype.start=function(i){var e=this;this._repeat_mCurrentSettings=aR("repeat","runDelay",100000000,100,function(a1,a0,q){e.run()});return this};B.prototype.run=function(){var q=this;var a1=[];for(var a0=0;a0a1.expires){delete x[a5];return undefined}q=a1.value;if(!G(q)){if(a7[2]){q=aR("parseQuery",q)}}if(a7[2]&&a7[2]!==true){q=q[a7[2]]||undefined}return q}if(aj[1].storage.type[0]==="c"){var a0=a7[1]+"=";var a2=aZ.cookie.split(";");for(var a3=0;a3>3;return a0}throw P(a2,1,"is unknown")},uniqueId:function(i){var a2=i[1],q=i[2],e=i[3];if(G(a2)){a2="acquire";q=i[1];e=i[2]}function a1(a3){var a4="abt-unique-id";var a5=a3.data(a4);if(!a5){while(true){a5=aR("rnd","unif",100000,999999);if(aH[a5]===undefined){break}}aH[a5]={$el:a3,id:a5,uniqueId:a5,htmlId:a3.attr("id"),};a3.data(a4,a5);a3.attr("data-"+a4,a5)}aH[a5].htmlId=a3.attr("id");return aH[a5]}if(a2==="acquire"){var a0=[];q.each(function(a4){var a3=aD(this);a0.push(a1(a3))});return a0}if(a2==="get"){return Object.keys(aH)}if(a2==="aIds"){return Object.keys(aH)}if(a2==="list"){return aH}throw P(i,1,"is unknown")},localStorage:function(i){var a2=i[1],q=i[2],a1=i[3];if(!av){return}function a0(a3){return b+"."+a3}if(a2==="get"){var e=x.getItem(a0(q));if(e===null){return a1}return JSON.parse(e)}if(a2==="set"){x.setItem(a0(q),JSON.stringify(a1));return}throw P(i,1,"is unknown")},nextTime:function(a3){var e=a3[1];if(!av){return}var a1=b+".aNextTime";var q=JSON.parse(x.getItem(a1)||"[]");function a2(a7,a8){var a6=JSON.stringify(a8);x.setItem(a7,a6);return a6}function a4(){return a2(a1,[])}var i=[{},{},{"goal,track":function(a6,a7){if(a7[2]===undefined){a7[2]={}}if(a7[2]["url"]===undefined){a7[2]["url"]=a6.mMeta.url}return a7}}];function a5(a7,ba){var a9,bb=i.length,a6=ba;for(var a8=0;a8");e.css("display","none");aD("body").append(e);for(var bb=0;bb<100000;bb++){a1*=a1}e.text(a1)}if(a9.alert){var bh=a9.alert;if(bh===true){bh=JSON.stringify({aData:aS,args:q})}C(bh)}}var a7={key:bc,url:bg,aData:aS,execute:a2,args:q};aR("callback","run","goal.track",a7);an.push(a7);aS=[];E={};return}throw P(q,1,"is unknown")},callback:function(a4){var e=a4[1],a5=a4[2];var a7,a2,a3,a1,a6,q,i;var a0={debug:function(){if(a5===undefined){cinfo(h);return h}cinfo(h[a5]);return h[a5]},add:function(){var a8=a4[3],a9=a4[4];if(!d(a8)){a8=[undefined,a8]}if(h[a5]===undefined){h[a5]=[]}h[a5].push({key:a8[0],callable:a8[1],defaultParams:a9||{}})},run:function(){if(h[a5]===undefined){return}var bb=a4[3]||{},a8=a4[4]||this;var a9=h[a5],bc=[];for(a3=a1=0,a6=a9.length;a1").text(e).attr("style",A[a1]).css({fontSize:9,position:"absolute",padding:"1px 2px",borderRadius:3,lineHeight:1.25,}));return a0},"dom:closest":function aC(i){var a0=i[1],a1=i[2],e=i[3];if(!a0.length){cinfo("dom:log ... $el dont exists, $el=",a0);return}if(e===undefined){e=5}var q=0;while(a0.length>0){if(a0.is(a1)){return a0}if(q++>=e){break}a0=a0.parent()}return null},"dom:moveToLast":function(a0){var a1=a0[1],q=a0[2];var a3=aD(a1),i=aD(q),a2=a3.children();var e=a2.index(i);if(e===-1){throw P(a0,3,"is not child of parent")}if(e!==a2.length-1){a3.append(i)}return true},"dom:clone":function(a0){var a2=a0[1],i=a0[2],e=a0[3],q=a0[4];if(i===undefined){i=false}if(e===undefined){e=true}if(i){throw P(a0,2,"is unsupported now")}var a4=null,a3;if(a2 instanceof HTMLElement){a4=a2;a3=1}else{if(ag(a2)){a4=a2[0];a3=2}else{throw P(a0,1,"is nor HTMLElement or jQuery instance")}}var a1=a4.cloneNode(true);a4.parentNode.replaceChild(a1,a4);if(a3==1){return a1}if(a3==2){return aD(a1)}throw P(a0,0,"unpossible determinate return type")},"dom:swap":function(a2){var a0=a2[1],q=a2[2],a1=a2[3];var e=aD(a0),a3=aD(q);var i=aD("").insertAfter(e);e.insertAfter(a3);a3.insertBefore(i);i.remove()},"dom:on":function(a3){var a7=a3[1],a2=a3[2],q=a3[3],a6=a3[4],i=a3[5];var a4;var a0="default";if(ap[a0]===undefined){ap[a0]=new B().start()}AbtOnEventThread=ap[a0];if(aG(q)){a6=q;q=a2;a2=null}console.log("callback",a6);console.log("selector",q);console.log("$wrapper",a2);var e=a7.split(" ");var a1=[/^click$/m,/^change$/m,/^(change)(\:hasClass)\((\'.+\'\,? *)+\)$/m,];var a5=a1.length;aD.each(e,function(ba,bf){var be=null;for(var bc=0;bc
=0){a6.callback(this,a6.key,a6);a6.howManyTimesCall++}}var a4="repeat_"+aR("rnd","unif",100000,999999);var e;j[a4]=e={timer:-1,key:a4,howManyTimesYet:0,howManyTimesCall:0,howManyTimesTotal:a0,intervalInMs:a2,callback:a5,args:i,stop:function(){aW.clearInterval(e.timer);e.timer=0}};if(q==="run"){a1(e,false);if(e.timer===-1){e.timer=aW.setInterval(function(){a1(e,true)},a2)}return e}if(q==="runDelay"){e.timer=aW.setInterval(function(){a1(e,true)},a2);return e}throw P(a3,1,"is unknown")},heartbeat:function(a2){var a1=a2[1],a6=a2[2];var q;function a5(ba){var bb="heartbeat_callback_"+Math.floor(Math.random()*100000);aR[bb]=function(bf){console.log("heartbeat.execute["+bb+"] fired t+"+(new Date().getTime()-q)+"ms");if(bf.status||bf.status===undefined){console.warn("heartbeat.execute["+bb+"] result ERROR status = "+JSON.stringify(bf.status))}else{console.info("heartbeat.execute["+bb+"] result OK status = "+JSON.stringify(bf.status))}if(ba){ba(bf)}delete aR[bb]};console.log("heartbeat.execute["+bb+"] init");var bd={d:{rc:O.requestCounter,pwd:new Date().getTime()-O.startTime}};var a8=O.aData.length,bc,a7;for(var a9=0;a9120000){a7=10000}if(a9>30000){a7=5000}else{if(a9>10000){a7=2000}else{a7=1000}}console.info("heartbeat.planExecute next t+"+a7+"ms",a9);O.timer=window.setTimeout(function(){a5(function(){a3()})},a7)}if(a1==="start"){var i=new Date().getTime();O.startTime=i;if(aE.methodHeartbeatFirstStartExecution===null){aE.methodHeartbeatFirstStartExecution=i}if(O.pageViewId===null){if(av){var a0=x.getItem(aX);if(!a0){a0=Math.floor(10000*Math.random()+10000)}a0++;O.pageViewId=a0;x.setItem(aX,a0)}else{O.pageViewId=Math.floor(8999999*Math.random()+1000000)}}O.timer_clearTimeoutDelayed=false;a5(function(){a3()});return}if(a1==="beat"){a5(function(){});return}if(a1==="stop"){a4();return}if(a1==="data"){if(a6==="add"){var e=[];if(a2[3]){e.push(a2[3]);if(a2[4]){e.push(a2[4]);if(a2[5]){throw P(a2,5,"is not supported");e.push(a2[5])}}}else{throw P(a2,3,"is unknown")}O.aData.push(e);return}throw P(a2,2,"is unknown")}if(a1==="debug"){console.log("_ABT('heartbeat', 'debug') ... ",O);return}throw P(a2,1,"is unknown")},rl:function(a5,a3,a2,a0){var q={emergency:0,alert:1,critical:2,error:3,warning:4,notice:5,informational:6,debug:7,};var a1=null;if(w(a5)){if(a5<0){throw P(a0,1,"is less then zero")}else{if(a5>7){throw P(a0,1,"is more then seven")}}a1=a5}else{try{a5=a5.toLowerCase()}catch(a4){}if(q[a5]===undefined){throw P(a0,1,"is unknown, valid are ["+Object.keys(q).join(",")+"]")}a1=q[a5]}var i="["+a5+"] ["+(a2?a2:"null")+"]"+a3+"";if(a1<=2){console.warn(i)}else{if(a1<=4){console.warn(i)}else{if(a1<=6){console.info(i)}else{if(a1<=99){console.log(i)}}}}return},run:function(bu){console.info("%cIncrever RUN",J,bu);if(aE.methodRunFirstExecution===null){aE.methodRunFirstExecution=new Date().getTime()}var bc=aZ.getElementsByTagName("body")[0];if(bu[1]==="live"){if(bc.className.indexOf("_abt-run-state-live")!==-1){console.warn(P(bu,"1="," can be called only once! Current version ["+aW[aW._abtHandler]("version")+"] ERROR: 9002"));return}}if(bc.className.indexOf("_abt-run-state-"+bu[1])===-1){bc.className+=" _abt-run-state-"+bu[1]}function a5(){n=true;aR("action","js-execute","_abt_action_fce_static")}function bC(){if(n){return}a5()}function a8(e){var i={std:true,dev:true,};if(i[e]===undefined){throw"MODE = "+e+" IS NOT VALID"}ae=e;aD.each(i,function(q,bF){bc.className=bc.className.replace(new RegExp("\\s+_abt-run-mode-"+q+"(\\s+|$)"),"$1")});if(!Y()){bc.className+=" _abt-run-mode-"+ae}aR("setCookie","_abt_runMode",ae,365*24*60*60)}function br(q){var i={created:true,prepare:true,testing:true,live:true,"live-no-run":true,pause:true,ended:true,"static":true};var bF={live:true,};var e={created:true,prepare:true,testing:true,"live-no-run":true,pause:true,};if(i[q]===undefined){throw"STATE = "+q+" IS NOT VALID"}ab=q;am=bF[ab]!==undefined;ao=e[ab]!==undefined}cinfo(bu);aR("callback","run","run:call",{args:bu});if(bu[1]==="state"){var a0=bu[2],bt=bu[3];if(a0==="get"){return ab}if(a0==="set"){if(!bt){throw P(bu,3,"is unknown")}try{br(bt)}catch(bB){throw P(bu,3,"is not valid")}return ab}throw P(bu,2,"is unknown")}if(bu[1]==="mode"){var a0=bu[2],bt=bu[3];if(a0==="get"){return ae}if(a0==="set"){if(!bt){throw P(bu,3,"is unknown")}try{a8(bt)}catch(bB){console.error(bB);throw P(bu,3,"is not valid")}return ae}throw P(bu,2,"is unknown")}if(bu[1]==="isStateLive"||bu[1]==="isLive"){return aw()}if(bu[1]==="isModeDev"||bu[1]==="isDev"){return F()}if(bu[1]==="group"||bu[1]==="group.loader"){aR("callback","run","run:begin",{args:bu});aR("callback","run","run.group:begin",{args:bu});if(bu[1]==="group"){bC()}var bn,bk,bp,bD={};var bE=bu[2]||[];if(!d(bE)){bE=[bE]}bn=bE.length;for(var bz=0;bz=bd){console.info("_abt incorrectly loaded configuration, cancaling configuration and STOP PAGE SETUP",bq,bd);aR("delCookie","_abt_uid");aR("delCookie","_abt_co");aR("delCookie","_abt_sl");aR("delCookie","_abt_t");aR("callback","run","run:delCookie",{args:bu});return}bC();if(bb){var a4=aR("getCookie","_abt_uid")||"";var bh=f+"/v1b.userUpdate.php?&c="+s+"&uid="+a4+"&jsHandler="+b+"&"+aD.param({co:bg});aR("loadJs",bh+"&_="+Math.random(),true)}var a2=0,be=0;aD.each(bg,function(i,e){be++;var q=i+"-"+e;aZ.body.className+=" _abt-option-"+q;if(aW._abt_p[q]===undefined){a2++;return}aW._abt_p[q]()});if(a2===be){aR("delCookie","_abt_uid");aR("delCookie","_abt_co");aR("delCookie","_abt_sl");aR("delCookie","_abt_t");aR("callback","run","run:delCookie",{args:bu})}aR("callback","run","run.live:end",{args:bu});aR("callback","run","run:end",{args:bu})}},stat:function(e){var a1=e[1],q=e[2],i=e[3];var a0={debug:function(){cinfo(aQ);return aQ},add:function(){if(aQ[q]===undefined){aQ[q]={}}if(aQ[q][i]!==undefined){throw P(e,3,"key is already defined")}var a2=e[4]||{};aQ[q][i]={meta:{group:q,key:i,created:new Date().getTime()},value:a2};return aQ[q][i].value},get:function(){if(aQ[q]===undefined){throw P(e,2,"group is not defined")}if(aQ[q][i]===undefined){throw P(e,3,"key is not defined")}return aQ[q][i].value},remove:function(){if(aQ[q]===undefined){throw P(e,2,"group is not defined")}if(i===undefined){delete aQ[q];return true}if(aQ[q][i]===undefined){throw P(e,3,"key is not defined")}delete aQ[q][i];return true}};if(a0[a1]===undefined){throw P(e,1,"is unknown")}return a0[a1]()},getLastReferrer:function(i){try{var q=Z(function(e){return e.getItem(z)});return q}catch(a0){throw P(i,-1,a0)}},action:function(e){var i={"css-raw":function(q){return aR("addCss",q[2],q[3])},"css-element":function(a0){var a3=a0[3],q=a3.length,a2,a5,a1;if(a0[2].indexOf(":hover")!==-1){var a4="";for(a2=0;a2=0,a3;if(a4){a1.filter(q).each(function(){a3=aD(this);a3.val(a2.split(r).join(a3.val()||""))});a1.not(q).each(function(){this.innerHTML=a2.split(r).join(this.innerHTML||"")})}else{a1.filter(q).val(a2);a1.not(q).html(a2)}a1.addClass("_abt-action-content-element");a1.addClass("_abt-change")},"url-element":function(a7){var q=a7[2],a4,a6,bd;var a2=window._abt_jQuery;var ba=a2(q);if(!ba.length){return false}ba=ba.eq(0);switch(ba[0].nodeName){case"A":a6="href";break;case"FORM":a6="action";break;case"IMG":case"IFRAME":a6="src";break;default:throw"Zdrojový element neznámý"}ba.addClass("_abt-action-url-element");ba.addClass("_abt-change");var bb=aR("parseUrl",ba.attr(a6));var a9={};var a5=aW._abt_f[a7[3]];for(var a3,a1=0,bc=a5.length;a1=0;--a6){a7.attributes.setNamedItem(a5.attributes[a6].cloneNode())}a5.parentNode.insertBefore(a7,a5);a5.parentNode.removeChild(a5);if(a8&&!a9){a7.innerHTML=a4}else{if(!a8&&a9){a7.value=a4}}a7.className+=" _abt-change _abt-action-tag-change-element _abt-action-tag-change-element-tagName _abt-action-tag-change-element-tagName-from-"+this.tagName+" _abt-action-tag-change-element-tagName-to-"+a7.tagName;a3.push(a7)});return aD(a3)},"tag-change-element:attr":function(a0){var a2=a0[2],a1=a0[3];var q=a2.attr(a1.attr);a2.attr(a1.attr,a1.value.split(r).join(q));return a2},"tag-change-element:content":function(q){var a1=q[2],a0=q[3];if(a1.is("input")){return i["tag-change-element:value"](q)}else{return i["tag-change-element:html"](q)}},"tag-change-element:html":function(q){var a1=q[2],a0=q[3];a1.html(a0.value.split(r).join(a1.html()));return a1},"tag-change-element:value":function(q){var a1=q[2],a0=q[3];a1.val(a0.value.split(r).join(a1.val()));return a1},"tag-change-element:textContent":function(a3){function a6(bh,bi){bh.textContent=bi}function a1(bk,bj){var bi=bk.length;for(var bh=0;bh1||ba.length===1&&ba[0][0]==="["){ba[0]=ba[0].substring(1);ba[bc-1]=ba[bc-1].substring(0,ba[bc-1].length-1)}for(var a9=0;a91){q[1]=aD.trim(q[1]);if(!w(q[1])){throw P(a0,3," setCaret.settings: positionEnd is not a number")}}}a2.each(function(){aR("setCaret",this,q[0],q[1])});a2.addClass("_abt-change _abt-action-tag-change-element _abt-action-tag-change-element-setCaret");return a2},end:undefined};if(i[e[1]]===undefined){throw P(e,1," type of action is unknown")}return i[e[1]](e)}};cinfo("INIT",aR("version"),"co",K,"|",aj);var t=aj[1].cookieLifetime;if(!t){t=0}t=parseInt(t);if(t<0){t=0}t=t||604800;if(aj[1].source!=true&&ax){if(aR("getCookie","_abt_uid")!=ax){aR("delCookie","_abt_uid");aR("setCookie","_abt_uid",ax,t)}}if(aj[1].source!=true&&K){if(aR("getCookie","_abt_co")!=K){K=aB(K);aR("delCookie","_abt_co");aR("setCookie","_abt_co",K,t)}}aW[b].t=new Date().getTime();var m,aP;function aI(){Z(false,function(q){if(q.getItem(z)===null){q.setItem(z,"")}});var e,i;if(aZ.referrer){m=aR("parseUrl",aZ.referrer);e=m.host.split(/^www\./).join("")}aP=aR("parseUrl",location.href);i=aP.host.split(/^www\./).join("");if(e==i){return}if(aZ.referrer){Z(false,function(q){q.setItem(z,aZ.referrer)})}}aI();function p(a0,e){var a1,a2,q=e.length;for(a1=0;a1 is undefined, waiting...")}}else{if(_isConsole){console.info("ABT:_abtLoader:prepare ... call")}_abtLoader(_window,_document);_abtLoader=null};
// --
var _ABT_DEBUG = false;
(function (_window, _performance) {
if (!_performance) return;
var _timeDiffFromBegining = _performance.timing.domLoading - _performance.timing.navigationStart
_window['_abt_timeFromDomLoading'] = function () {
return performance.now() - _timeDiffFromBegining;
};
var _timeDiffFromBegining2 = _performance.timing.domInteractive - _performance.timing.navigationStart
function _setup(_step) {
if (_ABT_DEBUG) {
console.log('_abt_performance>_setup', _step);
}
_window['_abt_timeFromDomInteractive'] = function () {
return performance.now() - _timeDiffFromBegining2;
};
if (_ABT_DEBUG) {
console.log('_abt_performance>_abt_timeFromDomLoading', _abt_timeFromDomLoading(), _performance.now());
console.log('_abt_performance>_abt_timeFromDomInteractive', _abt_timeFromDomInteractive(), _performance.now());
}
};
_setup('raw');
document.addEventListener('readystatechange', function() {
if (_ABT_DEBUG) {
console.info('_abt_performance>document.readyState', document.readyState, _performance.now());
}
if (document.readyState === 'interactive') {
_setup('interactive');
}
});
})(window, performance);
function bindReady(handler, callbackOnReady){
if (_ABT_DEBUG) {
console.warn('bindReady');
}
var called = false;
function ready(_helperWhen_3) {
if (_ABT_DEBUG) {
console.info('->ready', _helperWhen_3);
console.log('->_abt_timeFromDomLoading', _abt_timeFromDomLoading(), performance.now());
console.log('->_abt_timeFromDomInteractive', _abt_timeFromDomInteractive(), performance.now());
}
/*console.trace();*/
if (called) {
if (_ABT_DEBUG) {
console.info('-->cancel', _helperWhen_3);
}
return;
}
called = true;
handler(_helperWhen_3);
callbackOnReady(_helperWhen_3);
}
if (document.readyState == "interactive") { // Nebere FF
if (_ABT_DEBUG) {
console.warn('I');
}
ready('document.readyState='+document.readyState);
return ;
}
if (document.readyState == "complete" || document.readyState == "loaded") {
if (_ABT_DEBUG) {
console.warn('G');
}
ready('document.readyState='+document.readyState);
return ;
}
if ( document.addEventListener ) {
if (_ABT_DEBUG) {
console.warn('A0');
}
/* @see https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState */
document.addEventListener('readystatechange', function() {
if (_ABT_DEBUG) {
console.info('document.readyState', document.readyState);
}
if (document.readyState === 'interactive') {
if (_ABT_DEBUG) {
console.warn('H', performance.now());
}
ready('document.readyState is interactive');
}
});
document.addEventListener( "DOMContentLoaded", function(){
if (_ABT_DEBUG) {
console.warn('F', performance.now());
}
ready('DOMContentLoaded');
}, false );
}
else if ( document.attachEvent ) {
if (_ABT_DEBUG) {
console.warn('A1');
}
if ( document.documentElement.doScroll && window == window.top ) {
function tryScroll(){
if (called) return
if (!document.body) return
try {
document.documentElement.doScroll("left");
if (_ABT_DEBUG) {
console.warn('E');
}
ready('tryScroll');
} catch(e) {
setTimeout(tryScroll, 0)
}
}
tryScroll()
}
document.attachEvent("onreadystatechange", function(){
if ( document.readyState === "complete" ) {
if (_ABT_DEBUG) {
console.warn('D');
}
ready('onreadystatechange & document.readyState = '+document.readyState);
}
})
}
if (window.addEventListener) {
if (_ABT_DEBUG) {
console.warn('A2');
}
window.addEventListener('load', ready, false);
}
else if (window.attachEvent) {
if (_ABT_DEBUG) {
console.warn('A3');
}
window.attachEvent('onload', ready);
}
else { // use this 'else' statement for very old browsers :)
if (_ABT_DEBUG) {
console.warn('A4');
}
window.onload=ready;
}
}
readyList = []
function onReady(handler) {
if (_ABT_DEBUG) {
console.warn('onReady');
}
var isCalled = false;
var calledBy = null;
if (!readyList.length) {
bindReady(function(_helperWhen_2) {
for(var i=0; i