/* Minification failed. Returning unminified contents.
(18,7913-7914): run-time error JS1195: Expected expression: .
(18,7951-7952): run-time error JS1003: Expected ':': ;
(24,34385): run-time error JS1004: Expected ';'
 */
/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],r=Object.getPrototypeOf,i=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},a=n.push,s=n.indexOf,u={},l=u.toString,c=u.hasOwnProperty,f=c.toString,p=f.call(Object),d={},h=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},v=e.document,y={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||v).createElement("script");if(o.text=e,t)for(r in y)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[l.call(e)]||"object":typeof e}var b="3.5.1",w=function(e,t){return new w.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!h(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}w.fn=w.prototype={jquery:b,constructor:w,length:0,toArray:function(){return i.call(this)},get:function(e){return null==e?i.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(w.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||h(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||w.isPlainObject(n)?n:{},i=!1,a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==l.call(e)||(t=r(e))&&("function"!=typeof(n=c.call(t,"constructor")&&t.constructor)||f.call(n)!==p))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(T(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(T(Object(e))?w.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,a=0,s=[];if(T(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&s.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&s.push(i);return o(s)},guid:1,support:d}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));var C=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,v,y,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ue(),S=ue(),k=ue(),A=ue(),N=function(e,t){return e===t&&(f=!0),0},D={}.hasOwnProperty,j=[],q=j.pop,L=j.push,H=j.push,O=j.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},ae=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{H.apply(j=O.call(w.childNodes),w.childNodes),j[w.childNodes.length].nodeType}catch(t){H={apply:j.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,l,c,f,h,y,m=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(p(t),t=t||d,g)){if(11!==w&&(f=Z.exec(e)))if(o=f[1]){if(9===w){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return H.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return H.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!A[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(y=e,m=t,1===w&&(U.test(e)||z.test(e))){for((m=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(re,ie):t.setAttribute("id",c=b)),s=(h=a(e)).length;s--;)h[s]=(c?"#"+c:":scope")+" "+xe(h[s]);y=h.join(",")}try{return H.apply(r,m.querySelectorAll(y)),r}catch(t){A(e,!0)}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace($,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function le(e){return e[b]=!0,e}function ce(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return le((function(t){return t=+t,le((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},p=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!=d&&9===a.nodeType&&a.documentElement&&(h=(d=a).documentElement,g=!o(d),w!=d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ce((function(e){return h.appendChild(e).appendChild(d.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(d.getElementsByClassName),n.getById=ce((function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],v=[],(n.qsa=K.test(d.querySelectorAll))&&(ce((function(e){var t;h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+b+"-]").length||v.push("~="),(t=d.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=K.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),y.push("!=",F)})),v=v.length&&new RegExp(v.join("|")),y=y.length&&new RegExp(y.join("|")),t=K.test(h.compareDocumentPosition),x=t||K.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},N=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==d||e.ownerDocument==w&&x(w,e)?-1:t==d||t.ownerDocument==w&&x(w,t)?1:c?P(c,e)-P(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==d?-1:t==d?1:i?-1:o?1:c?P(c,e)-P(c,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?pe(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0}),d},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&g&&!A[t+" "]&&(!y||!y.test(t))&&(!v||!v.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){A(t,!0)}return 0<se(t,d,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=d&&p(e),x(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&D.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(N),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return c=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&-1<i.indexOf(n):"$="===t?n&&i.slice(-n.length)===n:"~="===t?-1<(" "+i.replace(B," ")+" ").indexOf(n):"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",v=t.parentNode,y=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(v){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&m){for(x=(d=(l=(c=(f=(p=v)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&v.childNodes[d];p=++d&&p&&p[g]||(x=d=0)||h.pop();)if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)for(;(p=++d&&p&&p[g]||(x=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++x||(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p!==t)););return(x-=i)===r||x%r==0&&0<=x/r}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[b]?i(t):1<i.length?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=P(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace($,"$1"));return r[b]?le((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return 0<se(e,t).length}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return-1<(t.textContent||i(t)).indexOf(e)}})),lang:le((function(e){return V.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e})),gt:ve((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[T,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(f=t[b]||(t[b]={}))[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===T&&l[1]===s)return p[2]=l[2];if((c[o]=p)[2]=e(t,n,u))return!0}return!1}}function we(e){return 1<e.length?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(e,t,n,r,i,o){return r&&!r[b]&&(r=Ce(r)),i&&!i[b]&&(i=Ce(i,o)),le((function(o,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?g:Te(g,p,e,s,u),y=n?i||(o?e:h||r)?[]:a:v;if(n&&n(v,y,s,u),r)for(l=Te(y,d),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(y[d[c]]=!(v[d[c]]=f));if(o){if(i||e){if(i){for(l=[],c=y.length;c--;)(f=y[c])&&l.push(v[c]=f);i(null,y=[],l,u)}for(c=y.length;c--;)(f=y[c])&&-1<(l=i?P(o,f):p[c])&&(o[l]=!(a[l]=f))}}else y=Te(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)}))}function Ee(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=be((function(e){return e===t}),s,!0),f=be((function(e){return-1<P(t,e)}),s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])p=[be(we(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return Ce(1<u&&we(p),1<u&&xe(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace($,"$1"),n,u<i&&Ee(e.slice(u,i)),i<o&&Ee(e=e.slice(i)),i<o&&xe(e))}p.push(n)}return we(p)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,a=se.tokenize=function(e,t){var n,i,o,a,s,u,l,c=S[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(i=_.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=z.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace($," ")}),s=s.slice(n.length)),r.filter)!(i=G[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,u).slice(0)},s=se.compile=function(e,t){var n,i,o,s,u,c,f=[],h=[],v=k[e+" "];if(!v){for(t||(t=a(e)),n=t.length;n--;)(v=Ee(t[n]))[b]?f.push(v):h.push(v);(v=k(e,(i=h,s=0<(o=f).length,u=0<i.length,c=function(e,t,n,a,c){var f,h,v,y=0,m="0",x=e&&[],b=[],w=l,C=e||u&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,S=C.length;for(c&&(l=t==d||t||c);m!==S&&null!=(f=C[m]);m++){if(u&&f){for(h=0,t||f.ownerDocument==d||(p(f),n=!g);v=i[h++];)if(v(f,t||d,n)){a.push(f);break}c&&(T=E)}s&&((f=!v&&f)&&y--,e&&x.push(f))}if(y+=m,s&&m!==y){for(h=0;v=o[h++];)v(x,b,t,n);if(e){if(0<y)for(;m--;)x[m]||b[m]||(b[m]=q.call(a));b=Te(b)}H.apply(a,b),c&&!e&&0<b.length&&1<y+o.length&&se.uniqueSort(a)}return c&&(T=E,l=w),x},s?le(c):c))).selector=e}return v},u=se.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if(2<(u=d[0]=d[0].slice(0)).length&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=G.needsContext.test(e)?0:u.length;o--&&(l=u[o],!r.relative[c=l.type]);)if((f=r.find[c])&&(i=f(l.matches[0].replace(te,ne),ee.test(u[0].type)&&ye(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&xe(u)))return H.apply(n,i),n;break}}return(p||s(e,d))(i,t,!g,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=b.split("").sort(N).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||fe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||fe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||fe(R,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(e);w.find=C,w.expr=C.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=C.uniqueSort,w.text=C.getText,w.isXMLDoc=C.isXML,w.contains=C.contains,w.escapeSelector=C.escape;var E=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=w.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,n){return h(t)?w.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?w.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?w.grep(e,(function(e){return-1<s.call(t,e)!==n})):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,(function(e){return 1===e.nodeType})))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter((function(){for(t=0;t<r;t++)if(w.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,i[t],n);return 1<r?w.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&k.test(e)?w(e):e||[],!1).length}});var j,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),N.test(r[1])&&w.isPlainObject(t))for(r in t)h(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=v.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,j=w(v);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&w(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?s.call(w(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},(function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),1<this.length&&(H[e]||w.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}}));var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function I(e,t,n,r){var i;try{e&&h(i=e.promise)?i.call(e).done(t).fail(n):e&&h(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.Callbacks=function(e){var t,n;e="string"==typeof e?(t=e,n={},w.each(t.match(P)||[],(function(e,t){n[t]=!0})),n):w.extend({},e);var r,i,o,a,s=[],u=[],l=-1,c=function(){for(a=a||e.once,o=r=!0;u.length;l=-1)for(i=u.shift();++l<s.length;)!1===s[l].apply(i[0],i[1])&&e.stopOnFalse&&(l=s.length,i=!1);e.memory||(i=!1),r=!1,a&&(s=i?[]:"")},f={add:function(){return s&&(i&&!r&&(l=s.length-1,u.push(i)),function t(n){w.each(n,(function(n,r){h(r)?e.unique&&f.has(r)||s.push(r):r&&r.length&&"string"!==x(r)&&t(r)}))}(arguments),i&&!r&&c()),this},remove:function(){return w.each(arguments,(function(e,t){for(var n;-1<(n=w.inArray(t,s,n));)s.splice(n,1),n<=l&&l--})),this},has:function(e){return e?-1<w.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=i="",this},disabled:function(){return!s},lock:function(){return a=u=[],i||r||(s=i=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),r||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred((function(t){w.each(n,(function(n,r){var i=h(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&h(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,h(l)?i?l.call(e,a(o,n,R,i),a(o,n,M,i)):(o++,l.call(e,a(o,n,R,i),a(o,n,M,i),a(o,n,R,n.notifyWith))):(r!==R&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),o<=t+1&&(r!==M&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred((function(e){n[0][3].add(a(0,e,h(i)?i:R,e.notifyWith)),n[1][3].add(a(0,e,h(t)?t:R)),n[2][3].add(a(0,e,h(r)?r:M))})).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,(function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add((function(){r=s}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith})),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=i.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=1<arguments.length?i.call(arguments):n,--t||a.resolveWith(r,o)}};if(t<=1&&(I(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||h(o[n]&&o[n].then)))return a.then();for(;n--;)I(o[n],s(n),a.reject);return a.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&W.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout((function(){throw t}))};var F=w.Deferred();function B(){v.removeEventListener("DOMContentLoaded",B),e.removeEventListener("load",B),w.ready()}w.fn.ready=function(e){return F.then(e).catch((function(e){w.readyException(e)})),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0)!==e&&0<--w.readyWait||F.resolveWith(v,[w])}}),w.ready.then=F.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?e.setTimeout(w.ready):(v.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,h(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=w.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||w.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){Q.set(this,e)})):$(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))||void 0!==(n=Z(o,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){w.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:w.Callbacks("once memory").add((function(){Y.remove(e,[t+"queue",n])}))})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each((function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){w.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=v.documentElement,ie=function(e){return w.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===w.css(e,"display")};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=s(),l=n&&n[3]||(w.cssNumber[t]?"":"px"),c=e.nodeType&&(w.cssNumber[t]||"px"!==l&&+u)&&te.exec(w.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)w.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,w.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=w.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}w.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ae(this)?w(this).show():w(this).hide()}))}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=v.createDocumentFragment().appendChild(v.createElement("div")),(fe=v.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),d.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",d.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",d.option=!!ce.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ve(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?w.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,d.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))w.merge(p,o.nodeType?[o]:o);else if(me.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+w.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;w.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));for(f.textContent="",d=0;o=p[d++];)if(r&&-1<w.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ve(f.appendChild(o),"script"),l&&ye(a),n)for(c=0;o=a[c++];)he.test(o.type||"")&&n.push(o);return f}var be=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Ee(){return!1}function Se(e,t){return e===function(){try{return v.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each((function(){w.event.add(this,t,i,r,n)}))}function Ae(e,t,n){n?(Y.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var r,o,a=Y.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=i.call(arguments),Y.set(this,t,a),r=n(this,t),this[t](),a!==(o=Y.get(this,t))||r?Y.set(this,t,!1):o={},a!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else a.length&&(Y.set(this,t,{value:w.event.trigger(w.extend(a[0],w.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,t)&&w.event.add(e,t,Ce)}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.get(e);if(V(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(re,i),n.guid||(n.guid=w.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(P)||[""]).length;l--;)d=g=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.hasData(e)&&Y.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(P)||[""]).length;l--;)if(d=g=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||w.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=w.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=w.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=w.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((w.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<w(i,this).index(l):w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:h(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click",Ce),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&be.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&we.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},(function(e,t){w.event.special[e]={setup:function(){return Ae(this,e,Se),!1},trigger:function(){return Ae(this,e),!0},delegateType:t}})),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||w.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),w.fn.extend({on:function(e,t,n,r){return ke(this,e,t,n,r)},one:function(e,t,n,r){return ke(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each((function(){w.event.remove(this,e,n,t)}))}});var Ne=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function qe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)w.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=w.extend({},o),Q.set(t,a))}}function Pe(e,t,n,r){t=o(t);var i,a,s,u,l,c,f=0,p=e.length,g=p-1,v=t[0],y=h(v);if(y||1<p&&"string"==typeof v&&!d.checkClone&&De.test(v))return e.each((function(i){var o=e.eq(i);y&&(t[0]=v.call(this,i,o.html())),Pe(o,t,n,r)}));if(p&&(a=(i=xe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(u=(s=w.map(ve(i,"script"),Le)).length;f<p;f++)l=i,f!==g&&(l=w.clone(l,!0,!0),u&&w.merge(s,ve(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,w.map(s,He),f=0;f<u;f++)l=s[f],he.test(l.type||"")&&!Y.access(l,"globalEval")&&w.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?w._evalUrl&&!l.noModule&&w._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):m(l.textContent.replace(je,""),l,c))}return e}function Re(e,t,n){for(var r,i=t?w.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||w.cleanData(ve(r)),r.parentNode&&(n&&ie(r)&&ye(ve(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(d.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],"input"===(l=(u=a[r]).nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r<i;r++)Oe(o[r],a[r]);else Oe(e,c);return 0<(a=ve(c,"script")).length&&ye(a,!f&&ve(e,"script")),c},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return $(this,(function(e){return void 0===e?w.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Pe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qe(this,e).appendChild(e)}))},prepend:function(){return Pe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=qe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Pe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Pe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return w.clone(this,e,t)}))},html:function(e){return $(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Pe(this,arguments,(function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ve(this)),n&&n.replaceChild(t,this))}),e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){w.fn[e]=function(e){for(var n,r=[],i=w(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),w(i[s])[t](n),a.apply(r,n.get());return this.pushStack(r)}}));var Me=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},We=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Fe=new RegExp(ne.join("|"),"i");function Be(e,t,n){var r,i,o,a,s=e.style;return(n=n||Ie(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=w.style(e,t)),!d.pixelBoxStyles()&&Me.test(a)&&Fe.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",a=36===n(t.right),i=36===n(t.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),re.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,l=v.createElement("div"),c=v.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",d.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(d,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,r,i;return null==s&&(t=v.createElement("table"),n=v.createElement("tr"),r=v.createElement("div"),t.style.cssText="position:absolute;left:-11111px",n.style.height="1px",r.style.height="9px",re.appendChild(t).appendChild(n).appendChild(r),i=e.getComputedStyle(n),s=3<parseInt(i.height),re.removeChild(t)),s}}))}();var _e=["Webkit","Moz","ms"],ze=v.createElement("div").style,Ue={};function Xe(e){return w.cssProps[e]||Ue[e]||(e in ze?e:Ue[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=_e.length;n--;)if((e=_e[n]+t)in ze)return e}(e)||e)}var Ve=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Ye={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ke(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=w.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=w.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=w.css(e,"border"+ne[a]+"Width",!0,i))):(u+=w.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=w.css(e,"border"+ne[a]+"Width",!0,i):s+=w.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Ze(e,t,n){var r=Ie(e),i=(!d.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,r),o=i,a=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Me.test(a)){if(!n)return a;a="auto"}return(!d.boxSizingReliable()&&i||!d.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===w.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===w.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ke(e,t,n||(i?"border":"content"),o,r,a)+"px"}function et(e,t,n,r,i){return new et.prototype.init(e,t,n,r,i)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Ge.test(t),l=e.style;if(u||(t=Xe(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),d.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Ge.test(t)||(t=Xe(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],(function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!Ve.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,t,r):We(e,Ye,(function(){return Ze(e,t,r)}))},set:function(e,n,r){var i,o=Ie(e),a=!d.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===w.css(e,"boxSizing",!1,o),u=r?Ke(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ke(e,t,"border",!1,o)-.5)),u&&(i=te.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Je(0,n,u)}}})),w.cssHooks.marginLeft=$e(d.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),w.each({margin:"",padding:"",border:"Width"},(function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ne[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Je)})),w.fn.extend({css:function(e,t){return $(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ie(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)}),e,t,1<arguments.length)}}),((w.Tween=et).prototype={constructor:et,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=et.prototype.init,w.fx.step={};var tt,nt,rt,it,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===v.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(st):e.setTimeout(st,w.fx.interval),w.fx.tick())}function ut(){return e.setTimeout((function(){tt=void 0})),tt=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ft(e,t,n){var r,i,o=0,a=ft.prefilters.length,s=w.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=tt||ut(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:tt||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=w.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);o<a;o++)if(r=ft.prefilters[o].call(l,e,c,l.opts))return h(r.stop)&&(w._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return w.map(c,ct,l),h(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),w.fx.timer(w.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}w.Animation=w.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){h(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),v=Y.get(e,"fxshow");for(r in n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||w.style(e,r)}if((u=!w.isEmptyObject(t))||!w.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Y.get(e,"display")),"none"===(c=w.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=w.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===w.css(e,"float")&&(u||(p.done((function(){h.display=l})),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&le([e],!0),p.done((function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)w.style(e,r,d[r])}))),u=ct(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){h(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),a=function(){var t=ft(this,w.extend({},e),o);(i||Y.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=w.timers,a=Y.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&at.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||w.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Y.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),w.each(["toggle","show","hide"],(function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(lt(t,!0),e,r,i)}})),w.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),tt=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){nt||(nt=!0,st())},w.fx.stop=function(){nt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx&&w.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}}))},rt=v.createElement("input"),it=v.createElement("select").appendChild(v.createElement("option")),rt.type="checkbox",d.checkOn=""!==rt.value,d.optSelected=it.selected,(rt=v.createElement("input")).value="t",rt.type="radio",d.radioValue="t"===rt.value;var pt,dt=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return $(this,w.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each((function(){w.removeAttr(this,e)}))}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!d.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=dt[t]||w.find.attr;dt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=dt[a],dt[a]=i,i=null!=n(e,t,r)?a:null,dt[a]=o),i}}));var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(P)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}w.fn.extend({prop:function(e,t){return $(this,w.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each((function(){delete this[w.propFix[e]||e]}))}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),d.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){w.propFix[this.toLowerCase()]=this})),w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(h(e))return this.each((function(t){w(this).addClass(e.call(this,t,yt(this)))}));if((t=mt(e)).length)for(;n=this[u++];)if(i=yt(n),r=1===n.nodeType&&" "+vt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(h(e))return this.each((function(t){w(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=mt(e)).length)for(;n=this[u++];)if(i=yt(n),r=1===n.nodeType&&" "+vt(i)+" "){for(a=0;o=t[a++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):h(e)?this.each((function(n){w(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,i,o,a;if(r)for(i=0,o=w(this),a=mt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Y.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Y.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+vt(yt(n))+" ").indexOf(t))return!0;return!1}});var xt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=h(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,(function(e){return null==e?"":e+""}))),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(xt,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=w.makeArray(t),a=i.length;a--;)((r=i[a]).selected=-1<w.inArray(w.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],(function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<w.inArray(w(e).val(),t)}},d.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),d.focusin="onfocusin"in e;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,r,i){var o,a,s,u,l,f,p,d,y=[r||v],m=c.call(t,"type")?t.type:t,x=c.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||v,3!==r.nodeType&&8!==r.nodeType&&!bt.test(m+w.event.triggered)&&(-1<m.indexOf(".")&&(m=(x=m.split(".")).shift(),x.sort()),l=m.indexOf(":")<0&&"on"+m,(t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:w.makeArray(n,[t]),p=w.event.special[m]||{},i||!p.trigger||!1!==p.trigger.apply(r,n))){if(!i&&!p.noBubble&&!g(r)){for(u=p.delegateType||m,bt.test(u+m)||(a=a.parentNode);a;a=a.parentNode)y.push(a),s=a;s===(r.ownerDocument||v)&&y.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=y[o++])&&!t.isPropagationStopped();)d=a,t.type=1<o?u:p.bindType||m,(f=(Y.get(a,"events")||Object.create(null))[t.type]&&Y.get(a,"handle"))&&f.apply(a,n),(f=l&&a[l])&&f.apply&&V(a)&&(t.result=f.apply(a,n),!1===t.result&&t.preventDefault());return t.type=m,i||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(y.pop(),n)||!V(r)||l&&h(r[m])&&!g(r)&&((s=r[l])&&(r[l]=null),w.event.triggered=m,t.isPropagationStopped()&&d.addEventListener(m,wt),r[m](),t.isPropagationStopped()&&d.removeEventListener(m,wt),w.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each((function(){w.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),d.focusin||w.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Y.access(r,t);i||r.addEventListener(e,n,!0),Y.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Y.access(r,t)-1;i?Y.access(r,t,i):(r.removeEventListener(e,n,!0),Y.remove(r,t))}}}));var Tt=e.location,Ct={guid:Date.now()},Et=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,kt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,(function(t,i){n||St.test(e)?r(e,i):Dt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(i in t)Dt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=h(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,(function(){i(this.name,this.value)}));else for(n in e)Dt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Nt.test(this.nodeName)&&!At.test(e)&&(this.checked||!pe.test(e))})).map((function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,(function(e){return{name:t.name,value:e.replace(kt,"\r\n")}})):{name:t.name,value:n.replace(kt,"\r\n")}})).get()}});var jt=/%20/g,qt=/#.*$/,Lt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},Mt={},It="*/".concat("*"),Wt=v.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(P)||[];if(h(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Bt(e,t,n,r){var i={},o=e===Mt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function $t(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}Wt.href=Tt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,w.ajaxSettings),t):$t(w.ajaxSettings,e)},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(Mt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,i,o,a,s,u,l,c,f,p,d=w.ajaxSetup({},n),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?w(h):w.event,y=w.Deferred(),m=w.Callbacks("once memory"),x=d.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Ht.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==l&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),S(0,t),this}};if(y.promise(E),d.url=((t||d.url||Tt.href)+"").replace(Pt,Tt.protocol+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(P)||[""],null==d.crossDomain){u=v.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=Wt.protocol+"//"+Wt.host!=u.protocol+"//"+u.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=w.param(d.data,d.traditional)),Bt(Rt,d,n,E),l)return E;for(f in(c=w.event&&d.global)&&0==w.active++&&w.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ot.test(d.type),i=d.url.replace(qt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(jt,"+")):(p=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Et.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Lt,"$1"),p=(Et.test(i)?"&":"?")+"_="+Ct.guid+++p),d.url=i+p),d.ifModified&&(w.lastModified[i]&&E.setRequestHeader("If-Modified-Since",w.lastModified[i]),w.etag[i]&&E.setRequestHeader("If-None-Match",w.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&E.setRequestHeader("Content-Type",d.contentType),E.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+It+"; q=0.01":""):d.accepts["*"]),d.headers)E.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(h,E,d)||l))return E.abort();if(C="abort",m.add(d.complete),E.done(d.success),E.fail(d.error),r=Bt(Mt,d,n,E)){if(E.readyState=1,c&&g.trigger("ajaxSend",[E,d]),l)return E;d.async&&0<d.timeout&&(s=e.setTimeout((function(){E.abort("timeout")}),d.timeout));try{l=!1,r.send(b,S)}catch(t){if(l)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,n,a,u){var f,p,v,b,T,C=n;l||(l=!0,s&&e.clearTimeout(s),r=void 0,o=u||"",E.readyState=0<t?4:0,f=200<=t&&t<300||304===t,a&&(b=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(d,E,a)),!f&&-1<w.inArray("script",d.dataTypes)&&(d.converters["text script"]=function(){}),b=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(d,b,E,f),f?(d.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[i]=T),(T=E.getResponseHeader("etag"))&&(w.etag[i]=T)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,f=!(v=b.error))):(v=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",f?y.resolveWith(h,[p,C,E]):y.rejectWith(h,[E,C,v]),E.statusCode(x),x=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[E,d,f?p:v]),m.fireWith(h,[E,C]),c&&(g.trigger("ajaxComplete",[E,d]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],(function(e,t){w[t]=function(e,n,r,i){return h(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}})),w.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),w._evalUrl=function(e,t,n){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t,n)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return h(e)?this.each((function(t){w(this).wrapInner(e.call(this,t))})):this.each((function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=h(e);return this.each((function(n){w(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){w(this).replaceWith(this.childNodes)})),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var _t={0:200,1223:204},zt=w.ajaxSettings.xhr();d.cors=!!zt&&"withCredentials"in zt,d.ajax=zt=!!zt,w.ajaxTransport((function(t){var n,r;if(d.cors||zt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(_t[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout((function(){n&&r()}))},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(i){if(n)throw i}},abort:function(){n&&n()}}})),w.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),w.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=w("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||w.expando+"_"+Ct.guid++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",(function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Vt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=h(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Vt,"$1"+i):!1!==t.jsonp&&(t.url+=(Et.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||w.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always((function(){void 0===o?w(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Xt.push(i)),a&&h(o)&&o(a[0]),a=o=void 0})),"script"})),d.createHTMLDocument=((Ut=v.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(d.createHTMLDocument?((r=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(r)):t=v),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&w(o).remove(),w.merge([],i.childNodes)));var r,i,o},w.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=vt(e.slice(s)),e=e.slice(0,s)),h(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},w.expr.pseudos.animated=function(e){return w.grep(w.timers,(function(t){return e===t.elem})).length},w.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=w.css(e,"position"),c=w(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=w.css(e,"top"),u=w.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),h(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){w.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===w.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),i.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-w.css(r,"marginTop",!0),left:t.left-i.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||re}))}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return $(this,(function(e,r,i){var o;if(g(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),w.each(["top","left"],(function(e,t){w.cssHooks[t]=$e(d.pixelPosition,(function(e,n){if(n)return n=Be(e,t),Me.test(n)?w(e).position()[t]+"px":n}))})),w.each({Height:"height",Width:"width"},(function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){w.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return $(this,(function(t,n,i){var o;return g(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?w.css(t,n,s):w.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){w.fn[t]=function(e){return this.on(t,e)}})),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){w.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}));var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),h(e))return r=i.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(i.call(arguments)))}).guid=e.guid=e.guid||w.guid++,o},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=A,w.isFunction=h,w.isWindow=g,w.camelCase=X,w.type=x,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},w.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return w}));var Yt=e.jQuery,Qt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Qt),t&&e.jQuery===w&&(e.jQuery=Yt),w},void 0===t&&(e.jQuery=e.$=w),w}));;
/** vim: et:ts=4:sw=4:sts=4
 * @license RequireJS 2.3.6 Copyright jQuery Foundation and other contributors.
 * Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
 */
var pagerequirejs,pagerequire,pagedefine;(function(global,setTimeout){var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.3.6",commentRegExp=/\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;function commentReplace(e,t){return t||""}function isFunction(e){return"[object Function]"===ostring.call(e)}function isArray(e){return"[object Array]"===ostring.call(e)}function each(e,t){var i;if(e)for(i=0;i<e.length&&(!e[i]||!t(e[i],i,e));i+=1);}function eachReverse(e,t){var i;if(e)for(i=e.length-1;i>-1&&(!e[i]||!t(e[i],i,e));i-=1);}function hasProp(e,t){return hasOwn.call(e,t)}function getOwn(e,t){return hasProp(e,t)&&e[t]}function eachProp(e,t){var i;for(i in e)if(hasProp(e,i)&&t(e[i],i))break}function mixin(e,t,i,r){return t&&eachProp(t,(function(t,n){!i&&hasProp(e,n)||(!r||"object"!=typeof t||!t||isArray(t)||isFunction(t)||t instanceof RegExp?e[n]=t:(e[n]||(e[n]={}),mixin(e[n],t,i,r)))})),e}function bind(e,t){return function(){return t.apply(e,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(e){throw e}function getGlobal(e){if(!e)return e;var t=global;return each(e.split("."),(function(e){t=t[e]})),t}function makeError(e,t,i,r){var n=new Error(t+"\nhttps://requirejs.org/docs/errors.html#"+e);return n.requireType=e,n.requireModules=r,i&&(n.originalError=i),n}if(void 0===pagedefine){if(void 0!==pagerequirejs){if(isFunction(pagerequirejs))return;cfg=pagerequirejs,pagerequirejs=void 0}void 0===pagerequire||isFunction(pagerequire)||(cfg=pagerequire,pagerequire=void 0),req=pagerequirejs=function(e,t,i,r){var n,a,o=defContextName;return isArray(e)||"string"==typeof e||(a=e,isArray(t)?(e=t,t=i,i=r):e=[]),a&&a.context&&(o=a.context),(n=getOwn(contexts,o))||(n=contexts[o]=req.s.newContext(o)),a&&n.configure(a),n.require(e,t,i)},req.config=function(e){return req(e)},req.nextTick=void 0!==setTimeout?function(e){setTimeout(e,4)}:function(e){e()},pagerequire||(pagerequire=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],(function(e){req[e]=function(){var t=contexts[defContextName];return t.require[e].apply(t,arguments)}})),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(e,t,i){var r=e.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return r.type=e.scriptType||"text/javascript",r.charset="utf-8",r.async=!0,r},req.load=function(e,t,i){var r,n=e&&e.config||{};if(isBrowser){(r=req.createNode(n,t,i)).setAttribute("data-requirecontext",e.contextName),r.setAttribute("data-requiremodule",t),!r.attachEvent||r.attachEvent.toString&&r.attachEvent.toString().indexOf("[native code")<0||isOpera?(r.addEventListener("load",e.onScriptLoad,!1),r.addEventListener("error",e.onScriptError,!1)):(useInteractive=!0,r.attachEvent("onreadystatechange",e.onScriptLoad)),window.version=1;var a=document.querySelector("link[href*='main']");return a&&(window.version=a.getAttribute("href").split("=")[1]),r.src=i+"?v="+window.version,n.onNodeCreated&&n.onNodeCreated(r,n,t,i),currentlyAddingScript=r,baseElement?head.insertBefore(r,baseElement):head.appendChild(r),currentlyAddingScript=null,r}if(isWebWorker)try{setTimeout((function(){}),0),importScripts(i),e.completeLoad(t)}catch(r){e.onError(makeError("importscripts","importScripts failed for "+t+" at "+i,r,[t]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),(function(e){if(head||(head=e.parentNode),dataMain=e.getAttribute("data-main"))return mainScript=dataMain,cfg.baseUrl||-1!==mainScript.indexOf("!")||(src=mainScript.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0})),pagedefine=function(e,t,i,r){var n,a;!0===e&&("string"!=typeof t&&(r=i,i=t,t=null),isArray(i)||(r=i,i=null),!i&&isFunction(r)&&(i=[],r.length&&(r.toString().replace(commentRegExp,commentReplace).replace(cjsRequireRegExp,(function(e,t){i.push(t)})),i=(1===r.length?["require"]:["require","exports","module"]).concat(i))),useInteractive&&(n=currentlyAddingScript||getInteractiveScript())&&(t||(t=n.getAttribute("data-requiremodule")),a=contexts[n.getAttribute("data-requirecontext")]),a?(a.defQueue.push([t,i,r]),a.defQueueMap[t]=!0):globalDefQueue.push([t,i,r]))},pagedefine.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)}function newContext(e){var t,i,r,n,a,o={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},s={},u={},c={},p=[],d={},f={},l={},h=1,m=1;function g(e,t,i){var r,n,a,s,u,c,p,d,f,l,h=t&&t.split("/"),m=o.map,g=m&&m["*"];if(e&&(c=(e=e.split("/")).length-1,o.nodeIdCompat&&jsSuffixRegExp.test(e[c])&&(e[c]=e[c].replace(jsSuffixRegExp,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),function(e){var t,i;for(t=0;t<e.length;t++)if("."===(i=e[t]))e.splice(t,1),t-=1;else if(".."===i){if(0===t||1===t&&".."===e[2]||".."===e[t-1])continue;t>0&&(e.splice(t-1,2),t-=2)}}(e),e=e.join("/")),i&&m&&(h||g)){e:for(a=(n=e.split("/")).length;a>0;a-=1){if(u=n.slice(0,a).join("/"),h)for(s=h.length;s>0;s-=1)if((r=getOwn(m,h.slice(0,s).join("/")))&&(r=getOwn(r,u))){p=r,d=a;break e}!f&&g&&getOwn(g,u)&&(f=getOwn(g,u),l=a)}!p&&f&&(p=f,d=l),p&&(n.splice(0,d,p),e=n.join("/"))}return getOwn(o.pkgs,e)||e}function v(e){isBrowser&&each(scripts(),(function(t){if(t.getAttribute("data-requiremodule")===e&&t.getAttribute("data-requirecontext")===r.contextName)return t.parentNode.removeChild(t),!0}))}function b(e){var t=getOwn(o.paths,e);if(t&&isArray(t)&&t.length>1)return t.shift(),r.require.undef(e),r.makeRequire(null,{skipMap:!0})([e]),!0}function x(e){var t,i=e?e.indexOf("!"):-1;return i>-1&&(t=e.substring(0,i),e=e.substring(i+1,e.length)),[t,e]}function q(e,t,i,n){var a,o,s,u,c=null,p=t?t.name:null,f=e,l=!0,v="";return e||(l=!1,e="_@r"+(h+=1)),c=(u=x(e))[0],e=u[1],c&&(c=g(c,p,n),o=getOwn(d,c)),e&&(c?v=i?e:o&&o.normalize?o.normalize(e,(function(e){return g(e,p,n)})):-1===e.indexOf("!")?g(e,p,n):e:(c=(u=x(v=g(e,p,n)))[0],v=u[1],i=!0,a=r.nameToUrl(v))),{prefix:c,name:v,parentMap:t,unnormalized:!!(s=!c||o||i?"":"_unnormalized"+(m+=1)),url:a,originalName:f,isDefine:l,id:(c?c+"!"+v:v)+s}}function E(e){var t=e.id,i=getOwn(s,t);return i||(i=s[t]=new r.Module(e)),i}function w(e,t,i){var r=e.id,n=getOwn(s,r);!hasProp(d,r)||n&&!n.defineEmitComplete?(n=E(e)).error&&"error"===t?i(n.error):n.on(t,i):"defined"===t&&i(d[r])}function y(e,t){var i=e.requireModules,r=!1;t?t(e):(each(i,(function(t){var i=getOwn(s,t);i&&(i.error=e,i.events.error&&(r=!0,i.emit("error",e)))})),r||req.onError(e))}function S(){globalDefQueue.length&&(each(globalDefQueue,(function(e){var t=e[0];"string"==typeof t&&(r.defQueueMap[t]=!0),p.push(e)})),globalDefQueue=[])}function k(e){delete s[e],delete u[e]}function M(e,t,i){var r=e.map.id;e.error?e.emit("error",e.error):(t[r]=!0,each(e.depMaps,(function(r,n){var a=r.id,o=getOwn(s,a);!o||e.depMatched[n]||i[a]||(getOwn(t,a)?(e.defineDep(n,d[a]),e.check()):M(o,t,i))})),i[r]=!0)}function O(){var e,i,n=1e3*o.waitSeconds,s=n&&r.startTime+n<(new Date).getTime(),c=[],p=[],d=!1,f=!0;if(!t){if(t=!0,eachProp(u,(function(e){var t=e.map,r=t.id;if(e.enabled&&(t.isDefine||p.push(e),!e.error))if(!e.inited&&s)b(r)?(i=!0,d=!0):(c.push(r),v(r));else if(!e.inited&&e.fetched&&t.isDefine&&(d=!0,!t.prefix))return f=!1})),s&&c.length)return(e=makeError("timeout","Load timeout for modules: "+c,null,c)).contextName=r.contextName,y(e);f&&each(p,(function(e){M(e,{},{})})),s&&!i||!d||!isBrowser&&!isWebWorker||a||(a=setTimeout((function(){a=0,O()}),50)),t=!1}}function j(e){hasProp(d,e[0])||E(q(e[0],null,!0)).init(e[1],e[2])}function P(e,t,i,r){e.detachEvent&&!isOpera?r&&e.detachEvent(r,t):e.removeEventListener(i,t,!1)}function R(e){var t=e.currentTarget||e.srcElement;return P(t,r.onScriptLoad,"load","onreadystatechange"),P(t,r.onScriptError,"error"),{node:t,id:t&&t.getAttribute("data-requiremodule")}}function A(){var e;for(S();p.length;){if(null===(e=p.shift())[0])return y(makeError("mismatch","Mismatched anonymous define() module: "+e[e.length-1]));j(e)}r.defQueueMap={}}return n={require:function(e){return e.require?e.require:e.require=r.makeRequire(e.map)},exports:function(e){if(e.usingExports=!0,e.map.isDefine)return e.exports?d[e.map.id]=e.exports:e.exports=d[e.map.id]={}},module:function(e){return e.module?e.module:e.module={id:e.map.id,uri:e.map.url,config:function(){return getOwn(o.config,e.map.id)||{}},exports:e.exports||(e.exports={})}}},(i=function(e){this.events=getOwn(c,e.id)||{},this.map=e,this.shim=getOwn(o.shim,e.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0}).prototype={init:function(e,t,i,r){r=r||{},this.inited||(this.factory=t,i?this.on("error",i):this.events.error&&(i=bind(this,(function(e){this.emit("error",e)}))),this.depMaps=e&&e.slice(0),this.errback=i,this.inited=!0,this.ignore=r.ignore,r.enabled||this.enabled?this.enable():this.check())},defineDep:function(e,t){this.depMatched[e]||(this.depMatched[e]=!0,this.depCount-=1,this.depExports[e]=t)},fetch:function(){if(!this.fetched){this.fetched=!0,r.startTime=(new Date).getTime();var e=this.map;if(!this.shim)return e.prefix?this.callPlugin():this.load();r.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,(function(){return e.prefix?this.callPlugin():this.load()})))}},load:function(){var e=this.map.url;f[e]||(f[e]=!0,r.load(this.map.id,e))},check:function(){if(this.enabled&&!this.enabling){var e,t,i=this.map.id,n=this.depExports,a=this.exports,o=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(o)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{a=r.execCb(i,o,n,a)}catch(t){e=t}else a=r.execCb(i,o,n,a);if(this.map.isDefine&&void 0===a&&((t=this.module)?a=t.exports:this.usingExports&&(a=this.exports)),e)return e.requireMap=this.map,e.requireModules=this.map.isDefine?[this.map.id]:null,e.requireType=this.map.isDefine?"define":"require",y(this.error=e)}else a=o;if(this.exports=a,this.map.isDefine&&!this.ignore&&(d[i]=a,req.onResourceLoad)){var s=[];each(this.depMaps,(function(e){s.push(e.normalizedMap||e)})),req.onResourceLoad(r,this.map,s)}k(i),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else hasProp(r.defQueueMap,i)||this.fetch()}},callPlugin:function(){var e=this.map,t=e.id,i=q(e.prefix);this.depMaps.push(i),w(i,"defined",bind(this,(function(i){var n,a,u,c=getOwn(l,this.map.id),p=this.map.name,d=this.map.parentMap?this.map.parentMap.name:null,f=r.makeRequire(e.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(i.normalize&&(p=i.normalize(p,(function(e){return g(e,d,!0)}))||""),w(a=q(e.prefix+"!"+p,this.map.parentMap,!0),"defined",bind(this,(function(e){this.map.normalizedMap=a,this.init([],(function(){return e}),null,{enabled:!0,ignore:!0})}))),void((u=getOwn(s,a.id))&&(this.depMaps.push(a),this.events.error&&u.on("error",bind(this,(function(e){this.emit("error",e)}))),u.enable()))):c?(this.map.url=r.nameToUrl(c),void this.load()):((n=bind(this,(function(e){this.init([],(function(){return e}),null,{enabled:!0})}))).error=bind(this,(function(e){this.inited=!0,this.error=e,e.requireModules=[t],eachProp(s,(function(e){0===e.map.id.indexOf(t+"_unnormalized")&&k(e.map.id)})),y(e)})),n.fromText=bind(this,(function(i,a){var s=e.name,u=q(s),c=useInteractive;a&&(i=a),c&&(useInteractive=!1),E(u),hasProp(o.config,t)&&(o.config[s]=o.config[t]);try{req.exec(i)}catch(e){return y(makeError("fromtexteval","fromText eval for "+t+" failed: "+e,e,[t]))}c&&(useInteractive=!0),this.depMaps.push(u),r.completeLoad(s),f([s],n)})),void i.load(e.name,f,n,o))}))),r.enable(i,this),this.pluginMaps[i.id]=i},enable:function(){u[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,(function(e,t){var i,a,o;if("string"==typeof e){if(e=q(e,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[t]=e,o=getOwn(n,e.id))return void(this.depExports[t]=o(this));this.depCount+=1,w(e,"defined",bind(this,(function(e){this.undefed||(this.defineDep(t,e),this.check())}))),this.errback?w(e,"error",bind(this,this.errback)):this.events.error&&w(e,"error",bind(this,(function(e){this.emit("error",e)})))}i=e.id,a=s[i],hasProp(n,i)||!a||a.enabled||r.enable(e,this)}))),eachProp(this.pluginMaps,bind(this,(function(e){var t=getOwn(s,e.id);t&&!t.enabled&&r.enable(e,this)}))),this.enabling=!1,this.check()},on:function(e,t){var i=this.events[e];i||(i=this.events[e]=[]),i.push(t)},emit:function(e,t){each(this.events[e],(function(e){e(t)})),"error"===e&&delete this.events[e]}},r={config:o,contextName:e,registry:s,defined:d,urlFetched:f,defQueue:p,defQueueMap:{},Module:i,makeModuleMap:q,nextTick:req.nextTick,onError:y,configure:function(e){if(e.baseUrl&&"/"!==e.baseUrl.charAt(e.baseUrl.length-1)&&(e.baseUrl+="/"),"string"==typeof e.urlArgs){var t=e.urlArgs;e.urlArgs=function(e,i){return(-1===i.indexOf("?")?"?":"&")+t}}var i=o.shim,n={paths:!0,bundles:!0,config:!0,map:!0};eachProp(e,(function(e,t){n[t]?(o[t]||(o[t]={}),mixin(o[t],e,!0,!0)):o[t]=e})),e.bundles&&eachProp(e.bundles,(function(e,t){each(e,(function(e){e!==t&&(l[e]=t)}))})),e.shim&&(eachProp(e.shim,(function(e,t){isArray(e)&&(e={deps:e}),!e.exports&&!e.init||e.exportsFn||(e.exportsFn=r.makeShimExports(e)),i[t]=e})),o.shim=i),e.packages&&each(e.packages,(function(e){var t;t=(e="string"==typeof e?{name:e}:e).name,e.location&&(o.paths[t]=e.location),o.pkgs[t]=e.name+"/"+(e.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")})),eachProp(s,(function(e,t){e.inited||e.map.unnormalized||(e.map=q(t,null,!0))})),(e.deps||e.callback)&&r.require(e.deps||[],e.callback)},makeShimExports:function(e){return function(){var t;return e.init&&(t=e.init.apply(global,arguments)),t||e.exports&&getGlobal(e.exports)}},makeRequire:function(t,i){function a(o,u,c){var p,f;return i.enableBuildCallback&&u&&isFunction(u)&&(u.__requireJsBuild=!0),"string"==typeof o?isFunction(u)?y(makeError("requireargs","Invalid require call"),c):t&&hasProp(n,o)?n[o](s[t.id]):req.get?req.get(r,o,t,a):(p=q(o,t,!1,!0).id,hasProp(d,p)?d[p]:y(makeError("notloaded",'Module name "'+p+'" has not been loaded yet for context: '+e+(t?"":". Use require([])")))):(A(),r.nextTick((function(){A(),(f=E(q(null,t))).skipMap=i.skipMap,f.init(o,u,c,{enabled:!0}),O()})),a)}return i=i||{},mixin(a,{isBrowser:isBrowser,toUrl:function(e){var i,n=e.lastIndexOf("."),a=e.split("/")[0];return-1!==n&&(!("."===a||".."===a)||n>1)&&(i=e.substring(n,e.length),e=e.substring(0,n)),r.nameToUrl(g(e,t&&t.id,!0),i,!0)},defined:function(e){return hasProp(d,q(e,t,!1,!0).id)},specified:function(e){return e=q(e,t,!1,!0).id,hasProp(d,e)||hasProp(s,e)}}),t||(a.undef=function(e){S();var i=q(e,t,!0),n=getOwn(s,e);n.undefed=!0,v(e),delete d[e],delete f[i.url],delete c[e],eachReverse(p,(function(t,i){t[0]===e&&p.splice(i,1)})),delete r.defQueueMap[e],n&&(n.events.defined&&(c[e]=n.events),k(e))}),a},enable:function(e){getOwn(s,e.id)&&E(e).enable()},completeLoad:function(e){var t,i,n,a=getOwn(o.shim,e)||{},u=a.exports;for(S();p.length;){if(null===(i=p.shift())[0]){if(i[0]=e,t)break;t=!0}else i[0]===e&&(t=!0);j(i)}if(r.defQueueMap={},n=getOwn(s,e),!t&&!hasProp(d,e)&&n&&!n.inited){if(!(!o.enforceDefine||u&&getGlobal(u)))return b(e)?void 0:y(makeError("nodefine","No define call for "+e,null,[e]));j([e,a.deps||[],a.exportsFn])}O()},nameToUrl:function(e,t,i){var n,a,s,u,c,p,d=getOwn(o.pkgs,e);if(d&&(e=d),p=getOwn(l,e))return r.nameToUrl(p,t,i);if(req.jsExtRegExp.test(e))u=e+(t||"");else{for(n=o.paths,s=(a=e.split("/")).length;s>0;s-=1)if(c=getOwn(n,a.slice(0,s).join("/"))){isArray(c)&&(c=c[0]),a.splice(0,s,c);break}u=a.join("/"),u=("/"===(u+=t||(/^data\:|^blob\:|\?/.test(u)||i?"":".js")).charAt(0)||u.match(/^[\w\+\.\-]+:/)?"":o.baseUrl)+u}return o.urlArgs&&!/^blob\:/.test(u)?u+o.urlArgs(e,u):u},load:function(e,t){req.load(r,e,t)},execCb:function(e,t,i,r){return t.apply(r,i)},onScriptLoad:function(e){if("load"===e.type||readyRegExp.test((e.currentTarget||e.srcElement).readyState)){interactiveScript=null;var t=R(e);r.completeLoad(t.id)}},onScriptError:function(e){var t=R(e);if(!b(t.id)){var i=[];return eachProp(s,(function(e,r){0!==r.indexOf("_@r")&&each(e.depMaps,(function(e){if(e.id===t.id)return i.push(r),!0}))})),y(makeError("scripterror",'Script error for "'+t.id+(i.length?'", needed by: '+i.join(", "):'"'),e,[t.id]))}}},r.require=r.makeRequire(),r}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState||eachReverse(scripts(),(function(e){if("interactive"===e.readyState)return interactiveScript=e})),interactiveScript}})(this,"undefined"==typeof setTimeout?void 0:setTimeout);;
!function(t,e){"use strict";if("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)"isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var n=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},i.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},i.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(r(t,"resize",this._checkForIntersections,!0),r(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),n=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(i){var r=i.element,s=h(r),c=this._rootContainsTarget(r),a=i.entry,u=e&&c&&this._computeTargetAndRootIntersection(r,n),l=i.entry=new o({time:t.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:n,intersectionRect:u});a?e&&c?this._hasCrossedThreshold(a,l)&&this._queuedEntries.push(l):a&&a.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(n,o){if("none"!=t.getComputedStyle(n).display){for(var i,r,s,c,u,l,p,d,g=h(n),f=a(n),_=!1;!_;){var v=null,m=1==f.nodeType?t.getComputedStyle(f):{};if("none"==m.display)return;if(f==this.root||f==e?(_=!0,v=o):f!=e.body&&f!=e.documentElement&&"visible"!=m.overflow&&(v=h(f)),v&&(i=v,r=g,s=void 0,c=void 0,u=void 0,l=void 0,p=void 0,d=void 0,s=Math.max(i.top,r.top),c=Math.min(i.bottom,r.bottom),u=Math.max(i.left,r.left),l=Math.min(i.right,r.right),d=c-s,!(g=(p=l-u)>=0&&d>=0&&{top:s,bottom:c,left:u,right:l,width:p,height:d})))break;f=a(f)}return g}},i.prototype._getRootRect=function(){var t;if(this.root)t=h(this.root);else{var n=e.documentElement,o=e.body;t={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(t)},i.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},i.prototype._rootIsInDom=function(){return!this.root||c(e,this.root)},i.prototype._rootContainsTarget=function(t){return c(this.root||e,t)},i.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},i.prototype._unregisterInstance=function(){var t=n.indexOf(this);-1!=t&&n.splice(t,1)},t.IntersectionObserver=i,t.IntersectionObserverEntry=o}function o(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function i(t,e){var n,o,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}function r(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function s(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function h(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function c(t,e){for(var n=e;n;){if(n==t)return!0;n=a(n)}return!1}function a(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}}(window,document);;
!function(){pux=window.pux||{},pux.ajax={};var n={},e="__global";pux.ajax.handleComponentResult=function(n,e,t){n.responseJSON&&n.responseJSON.redirectUrl&&(window.location.href=n.responseJSON.redirectUrl)},pux.ajax.onAfterRequest=function(t,o){o||(o=e),n[o]||(n[o]=[]),n[o].push(t)};var t=function(n){for(var e=n.length,t=0;t<e;t++)n[t].call()},o=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.send=function(){return this.addEventListener("load",(function(o){new URL(this.responseURL).origin==window.location.origin&&n[e]&&t(n[e])})),o.apply(this,arguments)}}();;
pux.helpers=pux.helpers||{},pux.helpers.changeUrl={updateUrlParameter:function(e,r){history.pushState?void 0!==r&&r.length>0?window.history.pushState("","",pux.helpers.url.addParameter(e,r,window.location.href)):window.history.pushState("","",pux.helpers.url.removeParameter(e,window.location.href)):window.location.href=pux.helpers.url.addParameter(e,r,window.location.href)},removeUrlParameters:function(){if(!(window.location.href.indexOf("?")<0)){var e=pux.helpers.url.removeQuery(window.location.href);history.pushState?window.history.pushState("","",e):window.location.href=url}},updateUrl:function(e){history.pushState?window.history.pushState("","",e):window.location.href=e}};;
pux=window.pux||{},pux.helpers=pux.helpers||{},pux.helpers.cookies={},pux.helpers.cookies.createCookie=function(e,o,i){if(i){var r=new Date;r.setTime(r.getTime()+24*i*60*60*1e3);var t="; expires="+r.toGMTString()}else t="";document.cookie=e+"="+o+t+"; path=/"},pux.helpers.cookies.readCookie=function(e){for(var o=e+"=",i=document.cookie.split(";"),r=0;r<i.length;r++){for(var t=i[r];" "==t.charAt(0);)t=t.substring(1,t.length);if(0==t.indexOf(o))return t.substring(o.length,t.length)}return null},pux.helpers.cookies.deleteCookie=function(e){createCookie(e,"",-1)};;
pux.helpers=pux.helpers||{},pux.helpers.mediaQueries=function(){var e={};return{init:function(a){var n=window.getComputedStyle(document.documentElement,":before").getPropertyValue("content");n=n.substring(1,n.length-1).replace(/\\/g,"");var i=function(n,i){var r=[];for(var t in i[n])r.push("("+t+":"+i[n][t]+")");if(e[n]=window.matchMedia(r.join(" and ")),"function"==typeof a[n]){var o=function(){a[n](e[n].matches)};e[n].addListener(o),o()}},r=JSON.parse(n);for(var t in r)i(t,r)}}}(),pux.device=pux.device||{},pux.device.markBrowser=function(){var e=navigator.userAgent.indexOf("Chrome")>-1,a=navigator.userAgent.indexOf("MSIE")>-1||!!navigator.userAgent.match(/Trident.*rv\:11\./),n=(navigator.userAgent.indexOf("Firefox"),navigator.userAgent.indexOf("Edge")>-1),i=navigator.userAgent.indexOf("Safari")>-1,r=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,t=/iPhone/.test(navigator.userAgent)&&!window.MSStream,o=navigator.userAgent.toLowerCase().indexOf("op")>-1;e&&i&&(i=!1),e&&o&&(e=!1),i&&$("body").addClass("browser-safari"),a&&($("body, .parallax-window").addClass("browser-explorer"),$(".parallax-window").addClass("no-parallax")),n&&($("body, .parallax-window").addClass("browser-edge"),$(".parallax-window").addClass("no-parallax")),r&&$("body").addClass("browser-ios"),t&&$("body").addClass("browser-iPhone")},pux.device.isSM=function(){return window.matchMedia("(min-width: 545px)").matches},pux.device.isMD=function(){return window.matchMedia("(min-width: 768px)").matches},pux.device.isLG=function(){return window.matchMedia("(min-width: 992px)").matches},pux.device.isXL=function(){return window.matchMedia("(min-width: 1200px)").matches},pux.device.isXXL=function(){return window.matchMedia("(min-width: 1400px)").matches},pux.device.touchDevice=function(){return"ontouchstart"in window||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0};;
pux=window.pux||{},pux.helpers=pux.helpers||{},pux.helpers.string={trimLeft:function(e,t){return void 0===t&&(t="s"),e.replace(new RegExp("^["+t+"]+"),"")},trimRight:function(e,t){return void 0===t&&(t="s"),e.replace(new RegExp("["+t+"]+$"),"")},trim:function(e,t){return this.trimRight(this.trimLeft(e,t),t)}};;
pux=window.pux||{},pux.helpers=pux.helpers||{},pux.helpers.url={getQuery:function(e){return e||(e=window.location.href),e.indexOf("?")<0?"":e.substring(e.indexOf("?")+1)},removeQuery:function(e){return e||(e=window.location.href),e.indexOf("?")<0?e:e.substring(0,e.indexOf("?"))},removeHash:function(e){return e.indexOf("#")>=1?e.substring(0,e.indexOf("#")):e},getParametersArray:function(e){var r=[];if(e||(e=window.location.href),(e=this.removeHash(e)).indexOf("?")>=0)for(var t=this.getQuery(e).split("&"),n=0;n<t.length;n++){var a=t[n].split("=");r.push({name:a[0],value:a.length>1?decodeURIComponent(a[1]):null})}return r},getParameters:function(e){for(var r={},t=this.getParametersArray(e),n=0;n<t.length;n++)r[t[n].name]=t[n].value;return r},getParameter:function(e,r){var t=this.getParameters(r);return t[e]?t[e]:""},addParameter:function(e,r,t,n){if((n=void 0!==n&&n)&&null==r||""==r)return this.removeParameter(e,t);for(var a=!1,i=this.getParametersArray(t),u=0;u<i.length;u++)if(i[u].name==e){i[u].value=r,a=!0;break}return a||i.push({name:e,value:r}),this.constructUrl(t,i)},removeParameter:function(e,r){for(var t=this.getParametersArray(r),n=0;n<t.length;n++)if(t[n].name==e){t.splice(n,1);break}return this.constructUrl(r,t)},constructUrl:function(e,r){var t="";e.indexOf("#")>=1&&(t=e.substring(e.indexOf("#"))),e=this.removeHash(e);for(var n=this.removeQuery(e)+(r.length>0?"?":""),a=r.length,i=0;i<a;i++)n+=r[i].name+"="+encodeURIComponent(r[i].value),i+1<a&&(n+="&");return n+t}};;
var pux=pux||{};pux.lazyinit={},pux.lazyinit.options={threshold:0,rootMargin:"400px 0px"},pux.lazyinit.items=new Map,pux.lazyinit.callback=function(i,t){Array.prototype.forEach.call(i,(function(i){var e=i.target,n=pux.lazyinit.items.get(e);n&&n.constructor&&n.call&&n.apply&&n(i,t)}))},pux.lazyinit.observer=new IntersectionObserver(pux.lazyinit.callback,pux.lazyinit.options),pux.lazyinit.addItem=function(i,t){pux.lazyinit.observer.observe(i),pux.lazyinit.items.set(i,t)},pux.lazyinit.removeItem=function(i){i&&(pux.lazyinit.observer.unobserve(i),pux.lazyinit.items.delete(i))};;
var pux=pux||{};function getProperSize(t,e){if(t.indexOf("@w")>0){var a=0;a="img"==e.getAttribute("data-lazy-type")?e.parentNode.clientWidth:e.clientWidth/e.clientHeight<2?2*e.clientHeight:e.clientWidth;var r=1920;return Array.prototype.forEach.call(pux.lazyload.sizes,(function(t,e){(a<t&&0!=e&&pux.lazyload.sizes[e-1]<a||a<t&&0==e)&&(r=t)})),t=t.substring(0,t.indexOf("@")+1)+"w"+r+t.substring(t.indexOf("."))}return t}function loadSvg(t){"img"===t.getAttribute("data-lazy-type")?t.setAttribute("src",t.getAttribute("data-svg")):t.style.backgroundImage="url('"+t.getAttribute("data-svg")+"')"}function loadIframe(t){t.setAttribute("src",t.getAttribute("data-iframe"))}function loadWebp(t){var e=t.getAttribute("data-webp");e=getProperSize(e,t),"img"===t.getAttribute("data-lazy-type")?t.setAttribute("src",e):t.style.backgroundImage="url('"+e+"')"}function loadImage(t){var e=t.getAttribute("data-img");e=getProperSize(e,t),"img"===t.getAttribute("data-lazy-type")?t.setAttribute("src",e):t.style.backgroundImage="url('"+e+"')"}pux.lazyload={},pux.lazyload.sizes=[100,200,300,400,600,800,1e3,1200,1400,1600,1920],pux.lazyload.IS_WEBP_COMPATIBLE=document.querySelector("html").classList.contains("webp"),pux.lazyload.options={threshold:.1},pux.lazyload.callback=function(t,e){Array.prototype.forEach.call(t,(function(t){if(t.intersectionRatio>0){var a=t.target;a.getAttribute("data-svg")?loadSvg(a):a.getAttribute("data-iframe")?loadIframe(a):pux.lazyload.IS_WEBP_COMPATIBLE&&a.getAttribute("data-webp")?loadWebp(a):loadImage(a),a.classList.add("loaded"),e.unobserve(a)}}))},pux.lazyload.observer=new IntersectionObserver(pux.lazyload.callback,pux.lazyload.options),pux.lazyload.bindItems=function(){Array.prototype.forEach.call(document.querySelectorAll("[data-lazy-type]"),(function(t){t.classList.contains("lazy-bind")||(pux.lazyload.observer.observe(t),t.classList.add("lazy-bind"))}))},pux.lazyload.bindItems(),pux.lazyload.refresh=function(){var t;pux.lazyload.bindItems(),"function"==typeof Event?t=new Event("scroll"):(t=document.createEvent("Event")).initEvent("scroll",!0,!0),document.querySelector("body").dispatchEvent(t)};;
pagerequirejs.config({baseUrl:"/Sencor/media/system/js/require",paths:{bootstrap:"bootstrap",fancybox:"jquery.fancybox",video:"video",tabs:"pux-tabs",banner:"floating-banner",customSlider:"custom-slider",collapseFeatures:"collapse-features",modal:"modal",tether:"tether",popper:"popper",selectric:"jquery.selectric",slick:"slick",jPagesEdited:"jPagesEdited",googleMapsSource:"google-map-source",googleMaps:"google-map",seznamMapySource:"seznam-map-source",seznamMapy:"seznam-map",numbers:"numbers",slider:"slider",datepicker:"bootstrap-material-datetimepicker",moment:"moment-with-locales",logoSlider:"logos",inifinityRepeater:"pux-components-infiniterepeater",login:"pux-account",ecmCart:"pux-ecm.cart",ecmCheckout:"pux-ecm.checkout",nouislider:"nouislider.min",wnumb:"wNumb",keen:"keen-slider",bootstrapModal:"bootstrap-modal",bootstrapTooltip:"bootstrap-tooltip",storeSelector:"store-selector",notifications:"notifications",parallax:"pux-parallax",asyncNav:"async-nav",sliderHomepage:"slider-homepage",filter:"pux-controls-parameter-filter",filterChangeUrl:"pux-helpers-filter-change-url",filterUrl:"pux-helpers-filter-url",product:"product",productFilter:"product-filter",dealerMap:"dealer-map",downloadWizard:"download-wizard",dragScroll:"dragscroll",paymentConfirmation:"payment-confirmation",fastSlider:"fast-slider",culturePhone:"libphonenumber-max",leaflet:"leaflet",leafletMarkercluster:"leaflet.markercluster",autocomplete:"autoComplete.min"}}),sencor=window.sencor||{},sencor.base=window.sencor.base||{},sencor.base.loadFromCache=function(){$("[data-cache-initload]").each((function(){var $this=$(this),url=$this.attr("data-cache-initload");$.get(url,(function(response){$this.replaceWith(response);var onload=$this.attr("data-cache-initload-callback");onload&&eval(onload)}))}))},sencor.base.shitEdge=function(){navigator.userAgent.indexOf("Edge")>-1&&$("body").addClass("edge")},sencor.base.ieWarning=function(){var e=$("#ie-warning-modal");window.document.documentMode&&e.length&&(pux.helpers.cookies.readCookie("iewarning")||(e.fadeIn(),$(".btn-accept-warning").on("click",(function(){pux.helpers.cookies.createCookie("iewarning","true",1),e.fadeOut()})),e.find(".close").on("click",(function(){e.fadeOut()}))))},sencor.base.menuAddSpan=function(){var e=document.querySelectorAll(".header-menu li");if(e.length)for(var r=0;r<e.length;r++)for(var o=e[r],a=o.children,t=0;t<a.length;t++)if("UL"===a[t].tagName){var s=document.createElement("span");s.className="menu-openner",o.appendChild(s);break}},sencor.base.menuHovered=function(){var e;$(".header-menu li").hover((function(){$(".header-menu li").removeClass("hovered");$(this);clearTimeout(e),0===$(".header-menu li.hovered").length&&$(this).addClass("hovered")}),(function(){var r=$(this);e=setTimeout((function(){r.removeClass("hovered")}),500)}))},sencor.base.emailHelper=function(){$('a[href^="mailto:"]').each((function(){if(-1!=$(this).text().search("%at%")||-1!=$(this).text().search("@")){var e=$(this).text().replace("%at%","@");$(this).attr("href","mailto:"+e),$(this).text(e)}else-1!=$(this).attr("href").search("%at%")&&$(this).attr("href",$(this).attr("href").replace("%at%","@"))}))};var scrollSecondaryUp=!1,previousSecondaryOffset=0;sencor.base.scrollMenu=function(){var e=$("body"),r=$(window).scrollTop();scrollSecondaryUp=r<previousSecondaryOffset,0==r?e.removeClass("scrolled up"):scrollSecondaryUp?e.addClass("up").removeClass("down"):r>0&&e.removeClass("up").addClass("scrolled down"),previousSecondaryOffset=r};class RerourceStringHelper{constructor(){this.buffer=null,this.key={noresult:"noresult"}}setbuffer(){const e=document.querySelector("[data-resource-strings]");e&&(this.buffer=JSON.parse(e.getAttribute("data-resource-strings")))}getResourceString(e){if(this.buffer)return this.buffer[e]}init(){this.setbuffer()}}sencor.base.resourceStringsHelper=new RerourceStringHelper,sencor.base.init=function(){sencor.base.shitEdge(),sencor.base.ieWarning(),sencor.base.menuAddSpan(),sencor.base.menuHovered(),sencor.base.emailHelper(),sencor.base.scrollMenu()},sencor.base.load=function(){sencor.base.loadFromCache()},sencor.base.resize=function(){},sencor.base.scroll=function(){sencor.base.scrollMenu()},sencor.base.ajax=function(){};;
sencor=window.sencor||{},sencor.design=window.sencor.design||{},sencor.design.fixWidgetMargin=function(){$(".widget-image-right-content, .widget-image-left-content").each((function(){var e=$(this);pux.lazyinit.addItem(this,(function(n){var t=e.outerHeight()/2*-1;e.css({"margin-bottom":t}),pux.lazyinit.removeItem(n.target)}))}))},sencor.design.videoWidget=function(){const e=document.querySelectorAll(".widget-video:not(.binded), .product-video-wrap:not(.binded), .inserted-video:not(.binded), .banner-404:not(.binded)");e.length>0&&Array.prototype.map.call(e,(function(e,n){var t=e.querySelector(".widget-video-background")||e.querySelector(".inserted-video-background"),i=t.dataset.image,o=t.dataset.webp,s=(e.querySelector(".video source"),e.querySelector(".video")),r=s.querySelector("source"),a=!1,d=!1,c=e.classList.contains("product-video-wrap");pux.lazyinit.addItem(e,(function(e,n){elem=e.target,e.intersectionRatio>0?(!d&&r&&r.dataset.source&&(r.src=r.dataset.source,d=!0,s.load()),a||(s.play(),a=!0)):a&&(s.pause(),a=!1)})),pux.device.isMD()||function(){var e=document.createElement("div");e.className="video-overlay";var n=document.createElement("div");n.className="video-play-btn",i&&(document.querySelector("html").classList.contains("webp")?e.style.backgroundImage="url('"+i+"')":e.style.backgroundImage="url('"+o+"')"),n.addEventListener("click",(function(){if(i=navigator.userAgent||navigator.vendor||window.opera,/android/i.test(i)&&c){var n=s.querySelector("source").src;if(-1===n.indexOf("ext=.mp4")){var t=n.split("?")[0];n=t+"?ext=.mp4"}$.fancybox.open({src:n,opts:{video:{autoStart:!0}}})}else s.play(),e.classList.add("hide");var i})),s.addEventListener("click",(function(){e.classList.remove("hide"),s.paused?s.play():s.pause()})),s.addEventListener("pause",(function(){e.classList.remove("hide")})),e.appendChild(n),s.parentNode.appendChild(e)}()})),Array.prototype.forEach.call(e,(function(e){e.classList.add("binded")}))},sencor.allScrollHeader=!0,sencor.design.headerScrollHandler=function(){var e=$("header"),n=$(document),t=null,i=0;function o(){if(sencor.allScrollHeader){var t=n.scrollTop();i<t&&t>125?$("#hp-slider").length?pux.device.isXL()&&t>920?e.addClass("scrolled"):e.removeClass("scrolled"):e.addClass("scrolled"):e.removeClass("scrolled"),i=t}}n.on("scroll",(function(){clearTimeout(t),t=setTimeout(o,25)}))},sencor.design.themedContent=function(){$(".themed").each((function(){var e=$(this),n=e.data("theme-color");e.find(".themed-bg").css("background",n)}))},sencor.design.inputPlaceholder=function(){var e=$(".newsletter-subscription-top-container").data("placeholder");$(".newsletter-subscription-input input").attr("placeholder",e)},sencor.design.btnSubscribe=function(){if(0==$(".btn-submit").length){var e=$(".newsletter-subscription-submit"),n=e.find(".FormButton");n.hide();var t=document.createElement("a");t.textContent=n.val(),t.className="btn-submit",t.addEventListener("click",(function(){n.click()})),e.append(t)}},sencor.design.btnUnsubscribe=function(){var e=$(".newsletter-subscription-submit"),n=$(".btn-unsubscribe");e.append(n.clone(!0)),n.remove()},sencor.design.downloadSearchPlaceholder=function(){const e=document.querySelector(".download-search-main-input");var n,t;function i(){pux.device.isMD()?e.setAttribute("placeholder",n):e.setAttribute("placeholder",t)}return e&&(n=e.getAttribute("placeholder"),t=e.dataset.mobile,i()),{watchResize:function(){e&&i()}}}(),sencor.design.harmonizeColors=function(){var e=$(".harmonize");e.length&&pux.lazyinit.addItem(e[0],(function(e){if(e.intersectionRatio>0){var n=$(".harmonize-colors a");if(n.length){var t=[0,-4,-14,-31,-51,-77],o=[0,0,1,7,17,33],s=1;if(pux.device.isMD()||(s*=1.2),n.addClass("show"),n.length%2){var r=Math.ceil(n.length/2)-1;for(i=1;i<n.length/2;i++)n.eq(r+i)[0].style.top=t[i]*s+"px",n.eq(r+i)[0].style.left=-1*o[i]*s+"px",n.eq(r-i)[0].style.top=t[i]*s+"px",n.eq(r-i)[0].style.left=o[i]*s+"px"}else{r=n.length/2-1;var a=.8;for(i=1;i<=n.length/2;i++)n.eq(r+i)[0].style.top=t[i]*s*a+"px",n.eq(r+i)[0].style.left=-1*o[i]*s*a+"px",n.eq(r-(i-1))[0].style.top=t[i]*s*a+"px",n.eq(r-(i-1))[0].style.left=o[i]*s*a+"px"}}AOS.refresh(),pux.lazyinit.removeItem(e.target)}}))},sencor.design.rightMenu=function(){var e=$(".right-panel");if(e.length){var n=e.find(".half-btn"),t=$(".product-intro"),i=$(".footer"),o=r();function s(){n.each((function(){var e=$(this);e.outerHeight(!1)>30?e.addClass("btn-double"):e.removeClass("btn-double")})),a()}function r(){return{openBreakPoint:parseInt(t.innerHeight())/2,closeBreakPoint:parseInt(i.offset().top)-screen.height}}function a(){o=r();var n=window.pageYOffset;n>o.openBreakPoint&&n<o.closeBreakPoint&&e.addClass("open"),(n<o.openBreakPoint||n>o.closeBreakPoint)&&e.hasClass("open")&&(e.addClass("hide"),setTimeout((function(){e.removeClass("open"),e.removeClass("hide")}),300))}return s(),document.addEventListener("scroll",a),{watchResize:s}}}(),sencor.design.historyCards=function(){var e=$(".history-card");e.each((function(n){$(this).css({"z-index":parseInt(e.length)-parseInt(n)})}))},sencor.design.comparatorWidthHelper=function(){var e=$(".comparator");e.length&&(e.width()/$(window).width()<.85&&e.addClass("min-width-helper"),e.addClass("set"))},sencor.design.formPlaceholders=function(){$(".form-wrap .placeholder-js").each((function(){var e=$(this),n=e.find("label").hide().text();e.find("input, textarea").attr("placeholder",n)}))},sencor.design.checkTitleLines=function(e){var n=$(".category-banner-title"),t=e?250:0;function i(e){var n=getComputedStyle(e);return e.offsetHeight/parseInt(n.lineHeight)}n.each((function(){var e=this;setTimeout((function(){var n=i(e);$(e).find(".scroll-to-next-title").hide();var t=i(e);$(e).find(".scroll-to-next-title").show(),1===t?$(e).addClass("one-line"):t>1&&n>t?$(e).addClass("multi-line"):$(e).removeClass("one-line").removeClass("multi-line")}),t)}))},sencor.design.setCookie=function(){pux.helpers.cookies.createCookie("webVisited","true",30)},sencor.design.heureka=function(){var e=$(".product-where-to-buy-links .heureka"),n=$(".product-where-to-buy-links ul");if(e.length){n.length||(n=$("<ul></ul>"),$(".product-where-to-buy-links").append(n));var t=$("<li></li>");t.append(e.clone()),e.hide(),n.prepend(t)}n.length&&n.find("a").each((function(){$(this).attr("target","_blank")}))},sencor.design.setOnLoadAnimations=function(){$(".set-onload").addClass("set")},sencor.design.respoStepBack=function(){$("header .step-back").on("click",(function(){$(this).parents(".show-sub-level").first().removeClass("show-sub-level")}))},sencor.design.receptsMenu=function(){var e=$(".recepts-menu .tab-name");e.length%2==0&&e.length>0&&e[e.length-2].classList.add("fix-border")},sencor.design.formHide=function(){var e=$(".contact-block-content"),n=$(".contact-block-text");e.length&&e.find("img").length&&n.addClass("active")},sencor.design.respoMenuHandler=function(){var e,n,t=$("header"),i=$("nav.main"),o="respo",s="subnav",r=$(".header-top nav"),a=$("#find-dealer"),d=$("[data-info-text]"),c=$(".header-top");pux.device.isXL()?(t.is("."+o)&&(c.prepend(d),c.prepend(a),r.append($("."+s+" ul")),r.find("li").first().remove(),i.find("."+s).remove()),t.removeClass(o)):(t.is("."+o)||(e=$("<nav class='"+s+"'></nav>"),n=r.find("ul"),e.append(n),e.append(d),n.prepend("<li></li>"),n.children().first().append(a),i.append(e)),t.addClass(o))},sencor.design.respoMenuWatcher=function(){sencor.design.respoMenuHandler();var e=null;$(window).on("resize",(function(){clearTimeout(e),e=setTimeout(sencor.design.respoMenuHandler,150)}))},sencor.design.contactForm=function(){const e=$("form[id*='Sencor_ContactForm']");if(e.hasClass("inited"))return!1;e.wrap("<div class='form-wrap'></div>"),e.find("input[type='submit']").wrap("<div class='text-center'></div>")},sencor.design.popupProvider=()=>{const e=document.querySelectorAll("[data-popup-modal]"),n=document.querySelector("[data-popup-modal-path]")?.getAttribute("data-popup-modal-path");e.forEach((e=>{const t=e.getAttribute("data-id"),i=parseInt(e.getAttribute("data-days")),o=e.getAttribute("data-path"),s=pux.helpers.cookies.readCookie(`popup-${t}`),r=sessionStorage.getItem(`popup-${t}`);if(""===s||""===r)return;if(o){const e=(e=>{const t=e.includes("%"),i=e.replace("%","");return t?n.includes(i):n.endsWith(i)})(o);if(!e)return}const a=$(e);a.modal("show"),a.on("hidden.bs.modal",(()=>{isNaN(i)?sessionStorage.setItem(`popup-${t}`,""):pux.helpers.cookies.createCookie(`popup-${t}`,"",i)}))}))},sencor.design.init=function(){sencor.design.heureka(),sencor.design.formHide(),sencor.design.inputPlaceholder(),sencor.design.respoMenuWatcher(),sencor.design.respoStepBack(),sencor.design.fixWidgetMargin(),sencor.design.setOnLoadAnimations(),sencor.design.headerScrollHandler(),sencor.design.themedContent(),sencor.design.harmonizeColors(),sencor.design.comparatorWidthHelper(),sencor.design.formPlaceholders(),sencor.design.historyCards(),sencor.design.receptsMenu(),sencor.design.btnSubscribe(),sencor.design.btnUnsubscribe(),sencor.design.checkTitleLines(),sencor.design.contactForm()},sencor.design.load=function(){sencor.design.videoWidget(),sencor.design.setCookie(),sencor.design.popupProvider()},sencor.design.resize=function(){sencor.design.fixWidgetMargin(),sencor.design.downloadSearchPlaceholder.watchResize(),sencor.design.checkTitleLines(!0)},sencor.design.scroll=function(){},sencor.design.beforeAjax=function(){},sencor.design.ajax=function(){sencor.design.inputPlaceholder(),sencor.design.btnSubscribe(),sencor.design.btnUnsubscribe(),sencor.design.contactForm(),sencor.design.videoWidget()};;
pux=window.pux||{},sencor.documentTagger=sencor.documentTagger||{},sencor.documentTagger.toggleUrl="/compare/toggle",sencor.documentTagger.clearUrl="/compare/clear",sencor.documentTagger.isTaggedUrl="/compare/isTagged",sencor.documentTagger.tagCountUrl="/compare/tagCount",sencor.documentTagger.taggedIdsUrl="/compare/taggedIds",sencor.documentTagger.hiddenIDSelector=".hidden-product-id",sencor.documentTagger.compareCheckboxSelector="[id^='cbCompare-']",sencor.documentTagger.getCultureCode=function(){var e=location.pathname.split("/");return e[1]?e[1]:""},sencor.documentTagger.toggle=function(e){localStorage.setItem("lastComparsion",window.location.href);let o=sencor.documentTagger.getProductId(e),c=document.body.getAttribute("data-locale");e&&-1!=o&&$.ajax({url:sencor.documentTagger.toggleUrl+"?productID="+o+"&culture="+c,method:"POST"}).done((function(o){e.checked=o.tagged;var c=$("#compare-bar");o.count>0?(c.find(".compare-bar-info .word").text(o.bannerText),c.addClass("show")):c.removeClass("show")}))},sencor.documentTagger.toggleSynchronous=function(e){$.ajax({url:sencor.documentTagger.toggleUrl+"?productID="+e,method:"POST",async:!1}).responseText},sencor.documentTagger.clearAllSynchronous=function(){$.ajax({type:"POST",url:sencor.documentTagger.clearUrl,async:!1,success:function(e){$("#compare-bar").removeClass("show"),sencor.documentTagger.clearAllCheckbox()}})},sencor.documentTagger.init=function(){sencor.documentTagger.loadCompareToggleStates(),sencor.documentTagger.compareBar()},sencor.documentTagger.loadCompareToggleStates=function(){var e=document.querySelectorAll(sencor.documentTagger.compareCheckboxSelector);$.ajax({url:sencor.documentTagger.taggedIdsUrl,method:"POST"}).done((function(o){e.forEach((function(e){let c=sencor.documentTagger.getProductId(e);-1!=c&&(e.checked=o.includes(c.toString()),e.disabled=!1,sencor.documentTagger.hookEvents(e))}))}))},sencor.documentTagger.clearAllCheckbox=function(){document.querySelectorAll(sencor.documentTagger.compareCheckboxSelector).forEach((function(e){-1!=sencor.documentTagger.getProductId(e)&&(e.checked=!1)}))},sencor.documentTagger.getProductId=function(e){if(!e.id.startsWith("cbCompare-"))return-1;let o=parseInt(e.id.split("-")[1]);return isNaN(o)?-1:o},sencor.documentTagger.hookEvents=function(e){e.addEventListener("change",(()=>sencor.documentTagger.toggle(e)))},sencor.documentTagger.compareBar=function(){$(".btn-cancel").unbind("click").on("click",(function(){sencor.documentTagger.clearAllSynchronous()}))};;
sencor=window.sencor||{},sencor.filter=window.sencor.filter||{},sencor.filter.selectFilter=function(){$(".select-filter select").change((function(){sencor.repeater.updateUrlParameter("select",$(this).val())}))},sencor.filter.filterCategory=function(){$(".filter-category .filter-item").click((function(e){return e.stopPropagation(),$(".filter-category a").removeClass("active"),$(this).hasClass("active")?($(this).removeClass("active"),sencor.repeater.updateUrlParameter("category","")):($(this).addClass("active"),sencor.repeater.updateUrlParameter("category",$(this).attr("data-category"))),!1}))},sencor.filter.filterLabel=function(e){$(".filter-label .label-link").click((function(){return e.stopPropagation(),$(this).hasClass("active")?($(this).removeClass("active"),sencor.filter.updateFilter()):($(this).addClass("active"),sencor.filter.updateFilter()),!1}))},sencor.filter.updateFilter=function(){if($(".filter-label a.active").length){$(".label-all").removeClass("active");var e="";$(".filter-label a.active").each((function(){e=e+"|"+$(this).attr("data-category")})),e=e.substring(1),sencor.repeater.updateUrlParameter("label",e)}else sencor.repeater.updateUrlParameter("label",""),$(".label-all").addClass("active")},sencor.filter.getParam=function(){var e=pux.helpers.url.getParameter("label");if(e.length){$(".label-all").removeClass("active");var t=e.split("|");$.each(t,(function(e,t){$('.filter-label a[data-category="'+t+'"]').addClass("active")}))}var a=pux.helpers.url.getParameter("category");a.length&&($(".filter-all").removeClass("active"),$('.filter-category .filter-item[data-category="'+a+'"]').addClass("active"))},sencor.filter.clearParam=function(){$(".label-all").click((function(e){return e.stopPropagation(),$(".label-link").removeClass("active"),$(this).addClass("active"),sencor.repeater.updateUrlParameter("label",""),!1}))},sencor.filter.init=function(){},sencor.filter.load=function(){},sencor.filter.resize=function(){},sencor.filter.scroll=function(){},sencor.filter.afterForm=function(){};;
sencor=window.sencor||{},sencor.modules=window.sencor.modules||{},sencor.modules.initTabs=function(){var e=$(".tabs-container");e.length&&pagerequirejs(["tabs"],(function(){e.puxTabs()}))},sencor.modules.initVideo=function(){$(".video-item").length&&pagerequirejs(["video"])},sencor.modules.initDocumentTagger=function(){$(".document-tagger").length&&pagerequirejs(["documentTagger"])},sencor.modules.initModal=function(){$(".pux-modal, .pux-modal-leave").length&&pagerequirejs(["modal"])},sencor.modules.initBanner=function(){$(".floating-banner").length&&pagerequirejs(["banner"])},sencor.modules.logosSlider=function(){$(".logos-slider").length&&pagerequirejs(["slick"],(function(){pagerequirejs(["logoSlider"])}))},sencor.modules.customSlider=function(){$(".custom-slider").length&&pagerequirejs(["custom-slider"])},sencor.modules.collapseFeatures=function(){$(".feature-item-show-more").length&&pagerequirejs(["collapseFeatures"])},sencor.modules.initNumbers=function(){$(".count-up").length&&pagerequirejs(["numbers"],(function(){pux.modules.puxCountUp.init()}))},sencor.modules.initSlider=function(){$(".main-slider-init").length&&pagerequirejs(["slider"])},sencor.modules.initSeznamMap=function(){$(".seznam-map").length&&pagerequirejs(["leaflet"],(function(){pagerequirejs(["leafletMarkercluster"],(function(){pagerequirejs(["jPagesEdited","seznamMapySource"],(function(){pagerequirejs(["seznamMapy"])}))}))}))},sencor.modules.initGoogleMap=function(){$(".google-map").length&&pagerequirejs(["jPagesEdited","googleMapsSource"],(function(){pagerequirejs(["googleMaps"])}))},sencor.modules.initLogin=function(){$(".account-page").length&&pagerequirejs(["login"])},sencor.modules.initCart=function(){$("#cart-window-outer").length&&pagerequirejs(["ecmCart"],(function(){}))},sencor.modules.initStoreSelector=function(){$("#shippingPaymentForm").length&&pagerequirejs(["leaflet"],(function(){pagerequirejs(["leafletMarkercluster"],(function(){pagerequirejs(["bootstrapModal","autocomplete","storeSelector","seznamMapySource"])}))}))},sencor.modules.initCheckout=function(){$(".cart-body").length&&pagerequirejs(["ecmCart"],(function(){pagerequirejs(["ecmCheckout"])}))},sencor.modules.initNotifications=function(){$('[data-notification="container"]').length&&pagerequirejs(["notifications"])},sencor.modules.initSelectric=function(){$("select").length&&pagerequirejs(["jquery.selectric"])},sencor.modules.initAsyncNav=function(){$("[data-async-nav-item]").length&&$("[data-async-container]").length&&pagerequirejs(["asyncNav"],(function(){pux.asyncnav&&pux.asyncnav.init()}))},sencor.modules.initSliderHomepage=function(){$("#hp-slider").length&&pagerequirejs(["sliderHomepage"],(function(){}))},sencor.modules.initProduct=function(){$(".product-intro").length&&pagerequirejs(["product"],(function(){sencor.product.init()}))},sencor.modules.filterStart=function(){$("[data-parametr-filter]").length&&pagerequirejs(["filter"],(function(){pagerequirejs(["filterChangeUrl","filterUrl"],(function(){sencor.parameterFilter=pux.controls.parameterfilter()}))}))},sencor.modules.dragScroll=function(){$(".comparator-wrap").length&&pagerequirejs(["dragScroll"])},sencor.modules.initDealerMap=function(){$("#map-canvas").length&&pagerequirejs(["leaflet"],(function(){pagerequirejs(["leafletMarkercluster"],(function(){pagerequirejs(["jPagesEdited","seznamMapySource"],(function(){pagerequirejs(["seznamMapy"])}))}))}))},sencor.modules.downloadWizard=function(){$(".download-search").length&&pagerequirejs(["downloadWizard"],(function(){}))},sencor.modules.paymentConfirmationInit=function(){$("[data-payment-confirmation]").length&&pagerequirejs(["paymentConfirmation"],(function(){}))},sencor.modules.fastSlider=function(){$("[data-slider-init]").length&&pagerequirejs(["fastSlider"],(function(){}))},sencor.modules.culturePhone=function(){$("[data-val-culturephone]").length&&pagerequirejs(["culturePhone"],(function(){}))},sencor.modules.init=function(){sencor.modules.initCheckout(),sencor.modules.initVideo(),sencor.modules.initModal(),sencor.modules.initBanner(),sencor.modules.logosSlider(),sencor.modules.customSlider(),sencor.modules.collapseFeatures(),sencor.modules.initNumbers(),sencor.modules.initSlider(),sencor.modules.initGoogleMap(),sencor.modules.initLogin(),sencor.modules.initCart(),sencor.modules.initTabs(),sencor.modules.initStoreSelector(),sencor.modules.initNotifications(),sencor.modules.initSelectric(),sencor.modules.initAsyncNav(),sencor.modules.initSliderHomepage(),sencor.modules.initProduct(),sencor.modules.initDealerMap(),sencor.modules.filterStart(),sencor.modules.downloadWizard(),sencor.modules.dragScroll(),sencor.modules.paymentConfirmationInit(),sencor.modules.fastSlider(),sencor.modules.culturePhone()},sencor.modules.load=function(){},sencor.modules.resize=function(){},sencor.modules.scroll=function(){},sencor.modules.ajax=function(){};;
sencor=window.sencor||{},sencor.plugins=window.sencor.plugins||{},sencor.plugins.imageLightbox=function(){$("[data-fancybox]").length>0&&pagerequirejs(["fancybox"],(function(){$().fancybox({selector:".fancybox"})}))},sencor.plugins.aos=function(){AOS.init({disable:function(){return!pux.device.isMD()},startEvent:"DOMContentLoaded",initClassName:"aos-init",animatedClassName:"aos-animate",useClassNames:!0,once:!0,duration:1e3})},sencor.plugins.widgetParallax=function(){var e=new IntersectionObserver((function(e,i){Array.prototype.forEach.call(e,(function(e){if(e.intersectionRatio>0){var t=e.target,n=t.classList.contains("collection-preview-item-inner")?t.parentNode.parentNode:void 0;pagerequirejs(["parallax"],(function(){n?setTimeout((function(){new PuxParallax(t,n)}),1e3):new PuxParallax(t,n)})),i.unobserve(t)}}))}),{rootMargin:"400px 0px"}),i=document.querySelectorAll(".pux-paralax");Array.prototype.forEach.call(i,(function(i){e.observe(i)}))},sencor.plugins.inViewport=function(){var e=new IntersectionObserver((function(e,i){Array.prototype.forEach.call(e,(function(e){if(e.intersectionRatio>0){var t=e.target,n=t.dataset.delay||1,o=$(t);setTimeout((function(){o.addClass("animation-start")}),n),t.classList.add("loaded"),i.unobserve(t)}}))})),i=document.querySelectorAll(".category-item:not(.disable-animations), .subcategory-item:not(.disable-animations), .collection-preview-list:not(.disable-animations), .widget-video-content:not(.disable-animations), .category-filter, .category-top-bar, .category-top-banner");Array.prototype.forEach.call(i,(function(i){i.classList.add("animation-init"),e.observe(i)}))},sencor.plugins.isCollectionSlick=!1,sencor.plugins.collectionSlider=function(){pux.device.isXL()||pagerequirejs(["slick"],(function(){sencor.plugins.isCollectionSlick=!0,$(".collection-preview").each((function(e,i){var t=$(this);pux.lazyinit.addItem(this,(function(e){if(e.intersectionRatio>0){var i=t.find(".collection-arrow");$(this).find(".collection-preview-item").length>2&&i.removeClass(".arrows-hidden"),t.find(".collection-preview-list").slick({dots:!1,infinite:!1,speed:300,slidesToScroll:1,arrow:!0,nextArrow:t.find(".collection-arrow-right"),prevArrow:t.find(".collection-arrow-left"),focusOnSelect:!0,slidesToShow:1,variableWidth:!0,responsive:[{breakpoint:1200,settings:{slidesToShow:2}},{breakpoint:950,settings:{slidesToShow:1}},{breakpoint:850,settings:{slidesToShow:1}}]}),pux.lazyinit.removeItem(e.target)}}))}))}))},sencor.plugins.accessoriesSlider=function(){var e=$(".product-accessories");e.length&&pagerequirejs(["slick"],(function(){e.each((function(e,i){var t=$(this);pux.lazyinit.addItem(this,(function(e){e.intersectionRatio>0&&(t.find(".product-accessories-inner-slider").slick({dots:!1,infinite:!1,speed:300,slidesToScroll:1,arrow:!0,nextArrow:t.find(".product-accessories-arrow-right"),prevArrow:t.find(".product-accessories-arrow-left"),focusOnSelect:!0,slidesToShow:3,adaptiveHeight:!1,responsive:[{breakpoint:1200,settings:{slidesToShow:2}},{breakpoint:768,settings:{slidesToShow:1}}]}),pux.lazyinit.removeItem(e.target))}))}))}))},sencor.plugins.timeLineSlider=function(){var e=$(".time-line");e.length&&pagerequirejs(["slick"],(function(){e.each((function(e,i){var t=$(this);pux.lazyinit.addItem(this,(function(e){e.intersectionRatio>0&&(t.find(".time-line-inner").slick({dots:!1,infinite:!1,speed:300,slidesToScroll:1,arrow:!0,nextArrow:t.find(".timeline-arrow-right"),prevArrow:t.find(".timeline-arrow-left"),focusOnSelect:!0,slidesToShow:3,adaptiveHeight:!1,responsive:[{breakpoint:1200,settings:{slidesToShow:2}},{breakpoint:768,settings:{slidesToShow:1}}]}),pux.lazyinit.removeItem(e.target))}))}))}))},sencor.plugins.collectionSliderRemove=function(){const e=$(".collection-preview-list");pux.device.isXL()&&e.length&&e.hasClass("slick-initialized")?(setTimeout((function(){e.slick("unslick")}),100),sencor.plugins.isCollectionSlick=!1):!1===sencor.plugins.isCollectionSlick&&setTimeout((function(){sencor.plugins.collectionSlider()}),5)},sencor.plugins.productBenefits=function(){$benefits=$(".benefits-slider"),$benefits.length&&pagerequirejs(["slick"],(function(){pux.lazyinit.addItem($benefits[0],(function(e){e.intersectionRatio>0&&($benefits.on("init",(function(e,i){i.slideCount>0?($benefits.find(".slick-slide").eq(0).addClass("slick-animate"),$benefits.find(".slick-dots").wrap("<div class='pux-container wider' style='position:relative'></div>"),$benefits.find(".slick-prev").attr("data-aos","slide-right").attr("data-aos-duration","500"),$benefits.find(".slick-next").attr("data-aos","slide-left").attr("data-aos-duration","500")):$benefits.remove()})),$benefits.slick({fade:!0,autoplay:!0,speed:300,autoplaySpeed:6e3,arrows:!0,dots:!0,pauseOnHover:!1,pauseOnFocus:!1}),$benefits.on("beforeChange",(function(e,i,t,n){$benefits.find(".slick-slide").eq(n).addClass("slick-animate"),$benefits.addClass("switching-slides")})),$benefits.on("afterChange",(function(e,i,t){$benefits.find(".slick-animate").not($benefits.find(".slick-slide").eq(t)).removeClass("slick-animate"),$benefits.removeClass("switching-slides")})),pux.lazyinit.removeItem(e.target))}))}))},sencor.plugins.moreInfoGalleryHandler=function(){var e=$(".more-info-img").not(".form");e.length&&pux.lazyinit.addItem(e[0],(function(i){if(i.intersectionRatio>0){e.height();var t=e[0].getBoundingClientRect().left+"px",n=$(".more-info.themed"),o=$(".more-info .more-info-text"),s=pux.device.isXXL()?o.offset().top:o.offset().top+200;function r(){if(n.is(".fixed")){var i=o.height()-e.height();n.removeClass("fixed"),n.addClass("static-bottom"),e.css("margin-left","initial"),e.css("height","100%"),e.css("transform","translate3d(0,"+(i-(pux.device.isXXL()?60:0))+"px,0)")}}var a=null;function l(){clearTimeout(a),pux.device.isXL()&&(a=setTimeout((function(){$(document).scrollTop()>=s-INFOGALLERY_HEIGHT?o.offset().top+o.innerHeight()<$(document).scrollTop()+$(window).height()-200?r():(n.addClass("fixed"),e.css("margin-left",t),e.css("height",INFOGALLERY_HEIGHT+"px"),n.removeClass("static-bottom")):(n.removeClass("fixed"),e.css("margin-left","initial"),e.css("height","100%"),e[0].style.removeProperty("transform"),n.removeClass("static-bottom"))}),10))}l(),$(document).on("scroll.gallery",l),$(window).on("resize",(function(){t=e[0].getBoundingClientRect().left+"px",e.height(),s=pux.device.isXXL()?o.offset().top:o.offset().top+200})),pux.lazyinit.removeItem(i.target)}}))},sencor.plugins.fixedImage=function(){var e=$(".more-info > .more-info-img");e.length&&pux.lazyinit.addItem(e[0],(function(i){if(i.intersectionRatio>0){var t=$(".more-info > .more-info-img > .more-info-float-item"),n=!1,o=!1;function s(){var i=e.offset().top<$(document).scrollTop()+200&&e.offset().top+e.innerHeight()>$(document).scrollTop()+t.innerHeight()+200,o=e.offset().top+e.innerHeight()<$(document).scrollTop()+t.innerHeight()+200;i?(t.addClass("fixed"),t.css("transform","translate3d(0,0,0)"),n=!1):o&&!n?(t.removeClass("fixed"),t.css("transform","translate3d(0,"+(e.innerHeight()-t.innerHeight())+"px,0)"),n=!0):i&&o||t.removeClass("fixed")}function r(){!o&&t.length&&pux.device.isXL()&&($(document).on("scroll.gallery",s),o=!0),setTimeout((function(){t.css("width",e.width()+"px")}),400)}r(),$(window).on("resize",r),pux.lazyinit.removeItem(i.target)}}))},sencor.plugins.initSelectric=function(){$("body").hasClass("edit-mode")||$("main select:not(.no-selectric)").length&&pagerequirejs(["jquery.selectric"],(function(){$("main select:not(.no-selectric)").selectric()}))},sencor.plugins.datePicker=function(){pagerequirejs(["moment"],(function(){pagerequirejs(["datepicker"],(function(){if($(".set-locale").length)var e=$(".set-locale").attr("data-locale").substr(0,2);else e="en";$(".datepicker").each((function(){var i=$(this),t=i.find("input[type=text]");t.bootstrapMaterialDatePicker({format:"DD. MM. YYYY",lang:e,weekStart:1,cancelText:"",nowButton:!1,switchOnClick:!0,clearButton:!1,switchOnClick:!0,time:!1}),i.hasClass("to-today")&&t.bootstrapMaterialDatePicker("setMaxDate",new Date)})),$(".timepicker").bootstrapMaterialDatePicker({format:"HH:mm",date:!1,lang:e,cancelText:"",nowButton:!1,switchOnClick:!0,clearButton:!1,switchOnClick:!0})}))}))},sencor.plugins.initModal=function(){$(".modal").length&&pagerequirejs(["bootstrapModal"],(function(){}))},sencor.plugins.init=function(){sencor.plugins.imageLightbox(),sencor.plugins.inViewport(),sencor.plugins.collectionSlider(),sencor.plugins.productBenefits(),sencor.plugins.inViewport(),sencor.plugins.timeLineSlider(),sencor.plugins.accessoriesSlider(),sencor.plugins.initSelectric(),sencor.plugins.fixedImage(),sencor.plugins.initModal(),sencor.plugins.datePicker()},sencor.plugins.load=function(){sencor.plugins.widgetParallax(),sencor.plugins.aos()},sencor.plugins.resize=function(){sencor.plugins.collectionSliderRemove()},sencor.plugins.scroll=function(){},sencor.plugins.beforeAjax=function(){},sencor.plugins.ajax=function(){sencor.plugins.initSelectric(),sencor.plugins.datePicker()};;
sencor=window.sencor||{},sencor.search=window.sencor.search||{},sencor.search.header=function(){var e="/system/ajax/smartSearch?searchmode=anyword",r=$("header .search-icon, header .search-close"),a=$("header .search-box");if(a.length){var t=a.find("input[type='text']"),n=a.find(".btn-primary"),s=$("header [data-dealer-keywords]").data("dealer-keywords").split(","),d=$("header [data-service-keywords]").data("service-keywords").split(","),o=null,i="",c=$(".result-categories"),h=$(".result-products"),l=$(".result-categories .results"),f=$(".result-products .results"),u=$("<a href='/najit-prodejce'>"+$("header [data-dealer-keywords]").data("dealer-btn")+"</a>"),p=$("<a href='/servis'>"+$("header [data-service-keywords]").data("service-btn")+"</a>"),w=0,y=0,v=a.find(".search-box-bottom");r.on("click",(function(){a.toggleClass("show"),a.is(".show")&&t.focus()})),t.on("keyup",(function(e){if(clearTimeout(o),i=$(this).val(),13==e.keyCode){var r=$(".search-box-bottom .btn").click().attr("href");window.location.href=r}o=setTimeout(x,400)})),n.on("click",(function(){var e=$(".search-box-bottom .btn").click().attr("href");window.location.href=e})),v.find(".btn").on("click",(function(){var e=$(this),r=e.attr("href");e.attr("href",pux.helpers.url.addParameter("searchtext",i,pux.helpers.url.addParameter("searchmode","anyword",r)))}))}function g(){h.hide(),c.hide(),f.empty(),l.empty(),v.hide()}function x(){if(i.length>2){var r=s.find((function(e){return i.indexOf(e)>=0})),t=d.find((function(e){return i.indexOf(e)>=0}));r?(g(),l.append(u),c.show()):t?(g(),l.append(p),c.show()):(g(),a.addClass("loading"),e=pux.helpers.url.addParameter("searchtext",i,e),$.ajax({url:e,beforeSend:function(){w++},error:function(){y++},success:function(e){if(y++,w===y){var r=$(e.Html).find(".product-result").slice(0,3),t=$(e.Html).find(".category-result").slice(0,3);r.length&&(f.append(r),h.show()),t.length&&(l.append(t),c.show()),(r.length||t.length)&&v.show(),a.removeClass("loading"),pux.lazyload.refresh()}}}))}else g()}},sencor.search.page=function(){if($(".search-page").length){var e=$("header .search-box"),r=e.find("input[type='text']"),a=(window.location.href,pux.helpers.url.getParameters().searchtext),t=$("<a href='/najit-prodejce'>"+$("header [data-dealer-keywords]").data("dealer-btn")+"</a>"),n=$("<a href='/servis'>"+$("header [data-service-keywords]").data("service-btn")+"</a>"),s=$(".search-page .categories, .search-page .products, .search-page .others"),d=$(".fixed-links"),o=$("header div[data-dealer-keywords]").data("dealer-keywords").split(","),i=$("header div[data-service-keywords]").data("service-keywords").split(",");pux.device.isMD()&&(e.addClass("show"),r.val(a).focus());var c=o.find((function(e){return a.indexOf(e)>=0})),h=i.find((function(e){return a.indexOf(e)>=0}));c?(s.hide(),d.append(t)):h?(s.hide(),d.append(n)):s.fadeIn()}},sencor.search.init=function(){sencor.search.header(),sencor.search.page()},Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var r=Object(this),a=r.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t=arguments[1],n=0;n<a;){var s=r[n];if(e.call(t,s,n,r))return s;n++}},configurable:!0,writable:!0});;
sencor=window.sencor||{},sencor.ui=window.sencor.ui||{},pux.device.markBrowser(),sencor.ui.uplodFile=function(){$("input[type=file]").change((function(){var e=$(this).parents(".file"),t=$(this).val().replace(/C:\\fakepath\\/i,"");e.find(".file-name").remove(),e.find(".uploader-main").append("<span class='file-name'>"+t+"</span>")}))},sencor.ui.scrollDown=function(){document.querySelectorAll('a[href^="#"]:not(.no-anchor)').forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault();const a=document.querySelector("header").offsetHeight,n=document.getElementById(e.getAttribute("href").substring(1));if(n)return $("html, body").animate({scrollTop:n.getBoundingClientRect().top+window.scrollY-a},500),setTimeout((()=>{sencor.ui.scrollCorrector(n,500)}),500),!1}))}))},sencor.ui.scrollDownRedirect=function(){var e=window.location.hash;""!=e&&$(e).length>0&&$("html, body").animate({scrollTop:$(e).offset().top-$("header").height()},500)};var SCROLL_CORRECTOR_COUNT=0;sencor.ui.scrollCorrector=(e,t)=>{const a=document.querySelector("header").offsetHeight,n=e.getBoundingClientRect().top-a;return!(SCROLL_CORRECTOR_COUNT>=3)&&(!(n<200&&n>-200)&&($("html, body").animate({scrollTop:n+window.scrollY},t),setTimeout((()=>{sencor.ui.scrollCorrector(e,t)}),t),void SCROLL_CORRECTOR_COUNT++))},sencor.ui.burgerToggle=function(){$("#burger").on("click",(function(){$("body").toggleClass("respo-nav-open")}))},sencor.ui.respoMenu=function(){$("nav.main a").on("click",(function(e){var t=$(this);t.siblings().length&&$("header").is(".respo")&&(e.preventDefault(),t.parents("li").first().addClass("show-sub-level"))}))},sencor.ui.scrollToNext=function(){$(".scroll-to-next").on("click",(function(){var e=$(this).parents(".full-width").first().next();$("html, body").animate({scrollTop:e.offset().top-Math.floor($("header").height())},1e3)}))},sencor.ui.openFooterLinks=function(){$(".footer-list h4").on("click",(function(){$(this).toggleClass("open"),$(this).parent().find(".footer-list-content").slideToggle(300)}))},sencor.ui.openSorting=function(){var e=$(".panel-sorting-btn");if(e.length){var t=$(".panel-filter-sorting"),a=$("body"),n=$(".panel-filter-sorting-btn"),r=$(".panel-filter-sorting-item"),i=pux.helpers.url.getParameters();function o(t){var a=t.find("label").text();e.find(".btn-panel-inner").text(a)}if(i.sort&&(r.find("input").prop("checked",!1),r.find("input[value="+i.sort+"]").prop("checked",!0),o(r.find("input[value="+i.sort+"]").parent())),e.length>0){function l(){e.toggleClass("open"),t.toggleClass("open"),a.toggleClass("open-panel")}e.on("click",l),n.on("click",l),a.on("click",(function(n){var r=document.querySelector(".panel-filter-sorting"),i=document.querySelector(".panel-sorting-btn");r.contains(n.target)||i.contains(n.target)||(e.removeClass("open"),t.removeClass("open"),a.removeClass("open-panel"))})),r.unbind("click").on("click",(function(e){o($(this)),e.preventDefault();var t=$(this).find("input").val();r.find("input").prop("checked",!1),r.find("input[value="+t+"]").prop("checked",!0),sencor.repeater.updateUrlParameter("sort",t)}))}}},sencor.ui.showMoreImages=function(){var e=$(".overview-load-more"),t=$(".overview-images > .overview-img-item"),a=$(".overview-images");t.length>10?e.on("click",(function(){a.removeClass("show-ten"),$(this).hide()})):e.hide()},sencor.ui.openFilter=function(){var e=$(".panel-filter-btn"),t=$(".category-layout-filter"),a=$("body"),n=$(".panel-filter-sorting-btn");if(e.length>0){function r(){e.toggleClass("open"),t.toggleClass("open"),a.toggleClass("open-panel-filter")}e.on("click",r),n.on("click",r),a.on("click",(function(n){var r=document.querySelector(".category-layout-filter"),i=document.querySelector(".panel-filter-btn");r.contains(n.target)||i.contains(n.target)||(e.removeClass("open"),t.removeClass("open"),a.removeClass("open-panel-filter"))}))}},sencor.ui.productCardImages=function(){function e(){const e=document.querySelectorAll('[data-product="item"]:not(.download-preview):not(.binded)');if(e.length>0){Array.prototype.map.call(e,(function(e){const t=e.querySelector('[data-product="image"]'),a=e.querySelector('[data-product="price"]'),n=e.querySelector('[data-product="button"]'),r=e.querySelector('[data-product="form"]'),i=e.querySelector('[data-product="id"]'),o=e.querySelectorAll('[data-product="url"]'),l=e.querySelector('[data-product="colors"]').querySelectorAll('[data-product="color"]'),s=e.querySelector('[data-product="variant"]');e.querySelector(".product-preview-compare .compare-item");var c=null;if(s&&(t.src=s.dataset.photo),l.length>0){var d=Array.prototype.map.call(l,(function(e){e.dataset.photo;var l=e.dataset.gallery.replace(new RegExp("~/getmedia","g"),"getmedia"),s=(l=l.replace(new RegExp('<div class="Pager">',"g"),"").replace(new RegExp("</div>","g"),"")).split("|");s.pop(),s.unshift(e.dataset.photo);var c={url:e.dataset.url,price:e.dataset.price,color:e.dataset.color,gallery:s,actualImage:0,skuid:e.dataset.skuid,available:e.dataset.available};return{selector:e,activate:function(e){this.selector.classList.add("active"),a&&(a.innerHTML=c.price),n&&(n.href=c.url),o.forEach((function(e){e.href=c.url})),i&&(i.value=c.skuid),"true"==c.available?(r&&r.classList.remove("d-none"),n&&n.classList.add("d-none")):(r&&r.classList.add("d-none"),n&&n.classList.remove("d-none")),e?this.changeImage(!0):(this.changeImage(!0),this.play())},deactivate:function(){this.selector.classList.remove("active"),this.reset()},changeImage:function(e){e&&(c.actualImage=0),t.src=c.gallery[c.actualImage],c.gallery.length-1===c.actualImage?c.actualImage=0:c.actualImage++},timer:null,play:function(){this.timer=setInterval(this.changeImage,2e3)},stop:function(){clearInterval(this.timer)},reset:function(){this.stop(),this.changeImage(!0)}}}));d[0].activate(!0),c=d[0],d.forEach((function(e){e.selector.addEventListener("click",(function(){c.deactivate(),(c=e).activate(!1)}))})),e.addEventListener("mouseenter",(function(){c.play()})),e.addEventListener("mouseleave",(function(){c.reset()}))}}));Array.prototype.forEach.call(e,(function(e){e.classList.add("binded")}))}}return e(),{afterAjax:function(){e()}}}(),sencor.ui.dealerTabs=function(){var e=$(".dealers-tabs-item"),t=$(".filter-container"),a=$(".filter-container .fieldset-map"),n=$(".filter-container .fieldset-list"),r=!1,i=pux.helpers.url.getParameters();if(i.panel&&e.length>0){var o=i.panel;$(".tab-panel.active, .dealers-tabs-item.active").removeClass("active"),"map"===o&&(a.removeClass("d-none"),t.removeClass("d-none"),r||(pagerequirejs(["leaflet"],(function(){pagerequirejs(["leafletMarkercluster"],(function(){pagerequirejs(["jPagesEdited","seznamMapySource"],(function(){pagerequirejs(["seznamMapy"],(function(){pux.seznamMap.initMap()}))}))}))})),r=!0)),"list"===o&&(n.removeClass("d-none"),t.removeClass("d-none"),i.page&&$("html, body").animate({scrollTop:$("#dealer-tabs").offset().top-$("header").height()},0),"all"!=i.dealerType&&$("#dealers-"+i.dealerType).prop("checked",!0)),$('.dealers-tabs-item[data-panel="'+o+'"]').addClass("active"),$("#"+o).addClass("active")}e.on("click",(function(){var e=$(this).data("panel");if($(".tab-panel.active, .dealers-tabs-item.active").removeClass("active"),$(this).addClass("active"),$("#"+e).addClass("active"),pux.helpers.changeUrl.updateUrlParameter("panel",e),-1==["map","list"].indexOf(e)?(n.addClass("d-none"),a.addClass("d-none"),t.addClass("d-none")):t.removeClass("d-none"),"map"===e&&(a.removeClass("d-none"),n.addClass("d-none"),r||(pagerequirejs(["leaflet"],(function(){pagerequirejs(["leafletMarkercluster"],(function(){pagerequirejs(["jPagesEdited","seznamMapySource"],(function(){pagerequirejs(["seznamMapy"],(function(){pux.seznamMap.initMap()}))}))}))})),r=!0)),"list"===e){n.removeClass("d-none"),a.addClass("d-none");var i=document.querySelectorAll(".items-pager a");Array.prototype.forEach.call(i,(function(e){var t=e.href.replace("online","list").replace("map","list");e.href=t}))}}))},sencor.ui.openFilterSubmenu=function(){var e=$(".category-filter-group-title:not(.binded)");e.on("click",(function(){var e=$(this),t=e.parent().parent().parent().find(".main-filter-item-content-inner");pux.device.isXL()||(e.toggleClass("open"),t.slideToggle(300))})),e.addClass("binded")},sencor.ui.showMoreDownloads=function(){$(".overview-downloads .btn-load-more").on("click",(function(){var e=$(this);e.toggleClass("active"),e.parents(".overview-downloads").first().find(".additional-downloads").slideToggle()}))},sencor.ui.catalogTabChanger=function(){var e=$(".block-w-menu .year-line");e.on("click",(function(){var t=$(this).data("year");e.removeClass("active"),$(this).addClass("active"),$(".catalogs-tab.active").removeClass("active"),$("#year-"+t).addClass("active")}))},sencor.ui.restartFilter=function(){var e=$(".reset-button-wrap .filter-reset");$(".category-filter-mobile-btns .delete-btn-mobile").unbind("click").on("click",(function(){e[0].click()}))},sencor.ui.dealersMapFilter=function(){$(".fieldset-map  .dealers-filter-list-item label").on("click",(function(e){var t=$(this).parent().children("input").val(),a="online"===t?"True":"False";$("#map-canvas").filterPoints((function(e){return"all"===t||e.custom4==a}))}))},sencor.ui.lazyImagesMegamenuSublevel=function(){function e(e){$(e.currentTarget).hasClass("loaded")||($(e.currentTarget).find(".megamenu-sublevel .megamenu-sublevel-link-image img").each((function(){this.src=this.dataset.svg||""})),$(e.currentTarget).addClass("loaded"))}var t=$(".megamenu > ul > li");t.on("click",e),t.on("mouseenter",e)},sencor.ui.serviceMapFilter=function(e){$(".fieldset-map  .service-filter-list-item label").on("click",(function(t){var a=$(this).parent().children("input").val(),n="aircondition"===a?"aircondition":"devices";e.filterPoints((function(e){return"all"===a||e.options._options.custom4==n}))}))},sencor.ui.dealersListFilter=function(){var e=$(".fieldset-list  .dealers-filter-list-item label"),t=$(".dealer-online"),a=$(".dealer-shop");e.on("click",(function(e){switch($(this).parent().children("input").val()){case"all":t.show(),a.show();break;case"shop":t.hide(),a.show();break;case"online":t.show(),a.hide()}}))},sencor.ui.showDealers=function(){$(".dealer-card-title").on("click",(function(){$(this).parent().find(".dealer-card-list").toggleClass("active");var e=$(this).find(".dealer-card-title-text"),t=e.text(),a=e.data("toggle");e.text(a),e.data("toggle",t)}))},sencor.ui.dealersShowMore=function(){var e=$(".dealers-show-more:not(.binded)");e.on("click",(function(){$(this).parent().parent().children(".info-card-item-content").find(".info-card-item-content-hidden").slideToggle(300);var e=$(this).children(".btn-panel-inner"),t=e.text(),a=e.data("toggle");e.text(a),e.data("toggle",t),$(this).toggleClass("open")})),e.addClass(".binded")},sencor.ui.serviceTabs=function(){var e=$(".service-tabs-item");if(e.length){$(".filter-container");var t=$(".filter-container .fieldset-map"),a=$(".filter-container .fieldset-list"),n=$(".filter-container .tab-names-container"),r=!1,i=pux.helpers.url.getParameters();if(e.length>0)if(i.panel){var o=i.panel;$(".tab-panel.active, .service-tabs-item.active").removeClass("active"),"map"===o&&(t.removeClass("d-none"),a.addClass("d-none"),n.addClass("d-none"),r||(pagerequirejs(["leaflet"],(function(){pagerequirejs(["leafletMarkercluster"],(function(){pagerequirejs(["jPagesEdited","seznamMapySource"],(function(){pagerequirejs(["seznamMapy"],(function(){pux.seznamMap.initMap()}))}))}))})),r=!0)),"list"===o&&(a.removeClass("d-none"),t.addClass("d-none"),n.addClass("d-none"),i.page&&$("html, body").animate({scrollTop:$("#service-tabs").offset().top-$("header").height()},0),"all"!=i.serviceType&&$("#servicesList-"+i.serviceType).prop("checked",!0)),"warranty"===o&&(n.removeClass("d-none"),t.addClass("d-none"),a.addClass("d-none")),$('.service-tabs-item[data-service-panel="'+o+'"]').addClass("active"),$("#"+o).addClass("active")}else t.removeClass("d-none"),!r&&e.length>0&&(pagerequirejs(["leaflet"],(function(){pagerequirejs(["leafletMarkercluster"],(function(){pagerequirejs(["jPagesEdited","seznamMapySource"],(function(){pagerequirejs(["seznamMapy"],(function(){pux.seznamMap.initMap()}))}))}))})),r=!0);e.on("click",(function(){var e=$(this).data("service-panel");$(".tab-panel.active, .service-tabs-item.active").removeClass("active"),$(this).addClass("active"),$("#"+e).addClass("active"),pux.helpers.changeUrl.updateUrlParameter("panel",e),"map"===e&&(t.removeClass("d-none"),a.addClass("d-none"),n.addClass("d-none"),r||(pagerequirejs(["leaflet"],(function(){pagerequirejs(["leafletMarkercluster"],(function(){pagerequirejs(["jPagesEdited","seznamMapySource"],(function(){pagerequirejs(["seznamMapy"],(function(){pux.seznamMap.initMap()}))}))}))})),r=!0)),"list"===e&&(a.removeClass("d-none"),t.addClass("d-none"),n.addClass("d-none")),"warranty"===e&&(n.removeClass("d-none"),t.addClass("d-none"),a.addClass("d-none"))}))}},sencor.ui.serviceListFilter=function(){$(".fieldset-list  .service-filter-list-item label").on("click",(function(e){var t=$(this).parent().children("input").val();"all"===t&&(t=""),sencor.repeater.updateUrlParameter("serviceType",t)}))},sencor.ui.innerTabs=function(){var e=$(".tab-names-container > .tab-name");e.on("click",(function(){var t=$(this).data("tab");e.removeClass("active"),$(this).addClass("active"),$(".inner-tab.active").removeClass("active"),$("#"+t).addClass("active")}))},sencor.ui.warrantyAddSubmitListener=function(e,t){const a=t.getAttribute("data-check-reqired");e.addEventListener("click",(function(e){"true"!==a||sencor.ui.handleWarrantyRequired()||(e.preventDefault(),e.stopPropagation());for(var n=t.querySelector("input[id*=SerializedData]"),r=t.querySelectorAll(".form-field input[name]:not(.selectric-input):not([type=checkbox])"),i=t.querySelectorAll(".selectric-hide-select select"),o=t.querySelectorAll(".warranty-selector-item input[type=checkbox]:checked"),l=[],s=0;s<r.length;s++){var c=r[s],d=c.getAttribute("name").split(".")[1],u=c.value;l.push({field:d,value:u})}for(s=0;s<i.length;s++){var p=i[s];d=p.getAttribute("name").split(".")[1],u=p.value;l.push({field:d,value:u})}for(s=0;s<o.length;s++){var f=o[s];d=f.getAttribute("name").split(".")[1]+f.getAttribute("id"),u=f.value;l.push({field:d,value:u})}n.value=JSON.stringify(l)}),!1)},sencor.ui.warrantyFormSerializer=function(){var e=document.querySelector("[data-warranty-form]");if(e){var t=e.querySelector("input[type=submit]");t&&sencor.ui.warrantyAddSubmitListener(t,e)}},sencor.ui.warrantyForm=function(){var e=document.querySelector("[data-warranty-form]");if(e){var t,a=document.querySelector("body").getAttribute("data-locale"),n=e.querySelector("input[id*=SerializedData]"),r="",i=e.querySelectorAll(".field-validation-error"),o=e.querySelector("input[type=submit]");if(o&&sencor.ui.warrantyAddSubmitListener(o,e),!n||!n.value||i.length>0)return;fetch("/generateWarrantyPDF?culture="+a,{method:"POST",headers:{"Content-Type":"application/json"},body:n.value}).then((e=>{r=e.headers.get("pdfFileName")||e.headers.get("zipFileName"),t=e})).then((e=>t.blob())).then((e=>{var t=window.URL.createObjectURL(e),a=document.createElement("a");a.href=t,a.download=r,document.body.appendChild(a),a.click(),a.remove()}))}},sencor.ui.pressTabs=function(){var e=$(".recepts-menu .tab-name"),t=pux.helpers.url.getParameters();t.category&&($(".recepts-menu .tab-name.active").removeClass("active"),$('.recepts-menu .tab-name[data-filter="'+t.category+'"]').addClass("active")),e.on("click",(function(){var e=$(this).data("filter");$(".recepts-menu .tab-name.active").removeClass("active"),$(this).addClass("active"),sencor.repeater.updateUrlParameter("category",e)}))},sencor.ui.menuPosition=function(){var e=document.querySelectorAll(".megamenu > ul > li");Array.prototype.forEach.call(e,(function(e){e.addEventListener("mouseenter",(function(e){var t=this,a=this.querySelector(".megamenu-sublevel li:first-child"),n=this.querySelector(".megamenu-sublevel li:last-child"),r=this.querySelectorAll(".megamenu-sublevel li"),i=this.parentNode,o=parseInt(this.offsetLeft),l=parseInt(this.offsetWidth);function s(){parseInt(a.offsetLeft);var e=parseInt(n.offsetLeft)+parseInt(n.offsetWidth),s=parseInt(i.offsetLeft)+parseInt(i.offsetWidth),c=t.querySelector(".megamenu-sublevel ul"),d=t.querySelector(".megamenu-sublevel"),u=window.getComputedStyle(d).getPropertyValue("padding-left"),p=Array.prototype.reduce.call(r,(function(e,t){return e+parseInt(t.offsetWidth)}),0);e>=s?c.style.justifyContent="flex-end":(c.style.justifyContent="flex-start",c.style.paddingLeft=o-parseInt(u)-p/2+l/2+"px")}pux.device.isXL()&&a&&n&&(s(),setTimeout((function(){s()}),10))})),e.addEventListener("mouseleave",(function(e){var t=this.querySelector(".megamenu-sublevel ul");t&&t.removeAttribute("style")}))}))},sencor.ui.firstScrollTo=function(){var e=document.querySelector(".init-scroll-animation"),t=document.querySelector("#after-top-image"),a=!1;function n(){a||($("header").addClass("scrolled"),$("html, body").animate({scrollTop:$(t).offset().top},1e3),window.removeEventListener("scroll",n)),a=!0}e&&t&&pux.device.isLG()&&window.addEventListener("scroll",n)},sencor.ui.showDomainModal=function(){$("#domain-modal .change-domain-modal").length>0&&$("#domain-modal").modal("show")},sencor.ui.inquiryModal=function(){$("#inquiry-modal").on("show.bs.modal",(function(){$("input[id*=form-Sencor_InquiryForm][id*=InquiryProduct_Value]").val($("h1.product-name").text().trim().replace(/  +/g," "))}))},sencor.ui.compareTableColumn=function(){var e=document.querySelector(".item-comparison table");if(e){var t=document.querySelector(".comparator-wrap"),a=e.querySelectorAll("tr td:first-child");t.addEventListener("scroll",(function(t){var n=e.getBoundingClientRect();n.left,n.left<0?function(e){Array.prototype.forEach.call(a,(function(t){t.style.transform="translate3d("+e+"px, 0, 0)"}))}(-1*n.left):Array.prototype.forEach.call(a,(function(e){e.removeAttribute("style"),e.parentNode.removeAttribute("style")}))}))}},sencor.ui.hideEmptyFields=function(){$(".form-field").each((function(){var e=$(this);e.find(".form-hidden").length&&e.addClass("d-none")}))},sencor.ui.compareTableThead=function(){var e,t,a=document.querySelector(".item-comparison table");if(a){var n=document.querySelector(".comparator-wrap"),r=document.querySelector(".price-label").textContent,i=document.querySelector(".add-more-label").textContent,o=document.querySelector(".clear-comparison").textContent,l=a.querySelector("tbody"),s=document.querySelector(".item-comparison table thead"),c=[],d=document.querySelector(".item-comparison table thead tr"),u=document.querySelector(".item-CTAs"),p=u.querySelectorAll(".btn-remove"),f=!1,m=130,h=[];function v(e){var t=0,a=d.querySelectorAll(".item");Array.prototype.forEach.call(a,(function(e){e.removeAttribute("style")})),Array.prototype.forEach.call(a,(function(e){t=e.offsetHeight>t?e.offsetHeight:t})),Array.prototype.forEach.call(a,(function(e){e.style.height=t+"px"})),e&&(n.style.paddingTop=t+"px"),m=t}function y(){var e=a.getBoundingClientRect(),t=u.getBoundingClientRect();if(e.top-130<0&&t.top-m>0){f||(f=!0,d.classList.add("fixed"),s.classList.add("on-position"),v(!1)),sencor.allScrollHeader=!1,$("header").addClass("scrolled");var n=-1*e.top+m;Array.prototype.forEach.call(c,(function(e){e.style.transform="translate3d(0, "+n+"px, 1px)"}))}else t.top-m<0?sencor.allScrollHeader=!0:e.top-130>0&&f?(d.classList.remove("fixed"),Array.prototype.forEach.call(c,(function(e){e.removeAttribute("style")})),f=!1,v(!0)):e.top-m>0&&(sencor.allScrollHeader=!0)}(t=document.querySelectorAll(".item-headers .item")).length,h=Array.prototype.map.call(t,(function(e,t){var a,n=e.cloneNode(!0),r=n.querySelector(".price");r&&"none"!==r.style.display&&(a=r.textContent,n.removeChild(r));var i=document.createElement("div");i.className="comparator-remove",i.addEventListener("click",(function(){p[t]&&p[t].click()})),n.appendChild(i);var o=document.createElement("th");return o.appendChild(n),d.appendChild(o),{price:a,clone:n}})),function(){var e=0,t=document.createElement("tr"),a=document.createElement("td");a.textContent=r,t.appendChild(a);var n=document.querySelector("#lng");Array.prototype.forEach.call(h,(function(a){var n=document.createElement("td");n.textContent=a.price,t.appendChild(n),a.price&&e++}));var i=document.createElement("td");t.appendChild(i),e>0&&n&&-1===["en-GB","ru-RU","hr-HR","it-IT","pl-PL","el-GR"].indexOf(n.value)&&l.appendChild(t)}(),function(){var e=document.createElement("a");e.className="item last-item";var t=localStorage.getItem("lastComparsion");e.href=t||window.location.hostname;var a=document.createElement("div");a.className="photo icon";var n=document.createElement("span");n.className="icon-btn",a.appendChild(n),e.appendChild(a),["code","name"].forEach((function(t){var a=document.createElement("div");a.className=t,"name"===t&&(a.textContent=i),e.appendChild(a)}));var r=document.createElement("th");r.appendChild(e),d.appendChild(r)}(),v(!0),y(),(e=document.createElement("div")).className="item clear-cache",itemLink=document.createElement("div"),itemLink.className="btn btn-primary",itemLink.textContent=o,itemLink.addEventListener("click",(function(){sencor.documentTagger.clearAllSynchronous(),location.reload()})),e.appendChild(itemLink),u.appendChild(e),document.addEventListener("scroll",y),document.addEventListener("resize",(function(){v(!0)})),c=s.querySelectorAll("th"),sencor.ui.compareTableColumn()}},sencor.ui.formType=function(){var e=$(".form-select-type:not(.binded)");e.length&&e.find("select").on("change",(function(){var e=this.selectedIndex;$(".form-type-id").find("select")[0].selectedIndex=e})),$(".form-select-type").addClass("binded")},sencor.ui.headerWindows=function(){var e=$("[data-open]:not(.binded)");function t(){$(".header-window.active, .header-cart.cart-active, [data-open].active, [data-open-parent].active").removeClass("active"),$(".small-search-results").removeClass("open")}e.on("click",(function(e){if("cart-window"==$(this).attr("data-open")&&$("[data-hamburger]").is(":visible"))return window.location.href=$(this).attr("href"),!1;var a="#"+$(this).data("open"),n=$(a);pux.device.isLG()||(e.preventDefault(),e.stopPropagation()),$(".search-box.show").removeClass("show");var r=$(this).closest("[data-open-parent]");if(r.hasClass("active"))t();else{t(),r.addClass("active");var i=$(a).find("input");r.find("[data-open]").addClass("active"),n.addClass("active"),(i=n.find("input")).length&&setTimeout((function(){i[0].focus()}),300);var o=n.attr("data-preview-url");o&&!n.data("isPreviewUrlLoaded")&&n.find(".header-window-inner").load(o,(function(){n.data("isPreviewUrlLoaded",!0)}))}})),$(document).on("keydown",(function(e){("key"in(e=e||window.event)?"Escape"===e.key||"Esc"===e.key:27===e.keyCode)&&$(".header-window, [data-open]").removeClass("active")})),e.addClass("binded"),$(".header-window-close").on("click",(function(){t()})),$(".header-cart-link").on("mouseenter",(function(){t()})),$(document).on("mousedown",(function(e){$(e.target).closest("[data-open-parent].active").length||t()}))},sencor.ui.faqCollapse=function(){$(".faq-item-header").click((function(){var e=$(this).parents(".faq-item");e.hasClass("open")?e.removeClass("open"):e.addClass("open")}))},sencor.ui.faqSearch=function(){$(".faq-search-input input").keyup((function(){var e=$(this).val().toLowerCase();e.length>=3?$(".faq-item").each((function(){$(this).text().toLowerCase().indexOf(e)>0?$(this).addClass("searched"):$(this).addClass("d-none")})):$(".faq-item").removeClass("searched").removeClass("d-none")}))},sencor.ui.filterFaq=function(){$("[data-filter-item]").click((function(e){e.stopPropagation();var t=$(this).attr("data-filter-item");return $(this).hasClass("active")?(sencor.repeater.updateUrlParameter("label",""),$(this).removeClass("active")):(sencor.repeater.updateUrlParameter("label",t),$("[data-filter-item]").removeClass("active"),$(this).addClass("active")),sencor.ui.filterFaqTitle(t),!1})),sencor.ui.filterFaqInit()},sencor.ui.filterFaqTitle=function(e){document.querySelectorAll("[data-filter-title]").forEach((t=>{t.getAttribute("data-filter-title")==e?(t.classList.add("active"),$("html, body").animate({scrollTop:$(t).offset().top-$("header").outerHeight()},500)):t.classList.remove("active")}))},sencor.ui.filterFaqInit=function(){const e=pux.helpers.url.getParameter("label",window.location.href);if(e){const t=document.querySelector(`[data-filter-item='${e}']`);t&&t.classList.add("active"),sencor.ui.filterFaqTitle(e)}},sencor.ui.spareForm=function(){var e=$(".spare-parts form:not(.binded)");if(e.length){var t=$(".spare-parts [name*=SerialNumber]"),a=$("<div class='form-help-icon'></div>");t.closest(".editing-form-control-nested-control").append(a),a.on("click",(function(){$("#serial-number-modal").modal("show")}));var n=$(".ktc-uploader-text"),r=n.closest(".ktc-file-component-wrapper").find("input[type=file]").attr("title");r&&n.text(r);var i=$("input[type=submit]");i.hide(),$("<div class='text-center'><button type='submit'>"+i.val()+"</button></div>").insertAfter(i),e.addClass("binded")}},sencor.ui.showSpareResult=function(){var e=document.querySelector("#spare-result"),t=document.querySelector("header");e&&setTimeout((function(){window.scrollTo(0,e.offsetTop-t.offsetHeight)}),60)},sencor.ui.handleWarrantyRequired=function(){var e=document.querySelector("[data-warranty=required]"),t=!1;if(e){var a=e.querySelectorAll("input[type=checkbox]:checked"),n=e.querySelector("[data-warranty=message]");if(!e.querySelector(".warranty-selector-item.visible"))return!0;t=a.length>0,n&&!t&&n.classList.remove("d-none")}return t},sencor.ui.lastResults=new Map,sencor.ui.extendedWarrantyForm=function(){Array.from(document.querySelectorAll("input[name*=productsearch]")).forEach((function(e){if(e.binded)return!1;e.value&&e.classList.add("has-value");var t=0,a="",n=null,r=e.closest("form"),i=Array.from(r.querySelectorAll(".warranty-selector-item")),o=r.querySelector("input[id*=productidsearch]"),l=e.closest(".form-field"),s=e.closest("form").querySelector("input[type=submit]");l.setAttribute("data-warranty","container");var c=document.createElement("div");c.setAttribute("data-warranty","results"),l.appendChild(c);var d=null;if(s.classList.add("d-none"),o.value){var u=sencor.ui.lastResults.get(r.id);if(u){var p=u.find((function(e){return e.ID===o.value}));p&&m(p.Warranty.split("|"))}}function f(e){l.contains(e.target)||h()}function m(e){if(Array.isArray(e)&&e.length>0){var t=r.querySelector(".form-section-index-9");t&&"none"===window.getComputedStyle(t,null).display&&(t.style.display="block")}i.forEach((function(t){var a=t.querySelector("input");a.checked=!1,e.includes(a.value)?(t.classList.add("visible"),a.disabled=!1,(a.required||a.hasAttribute("checked"))&&(a.checked=!0)):(t.classList.remove("visible"),a.disabled=!0)}));var a=Array.from(document.querySelectorAll(".warranty-selector")),n=!1;a.forEach((function(e){let t=e.querySelector("[data-warranty=no-result]");e.querySelectorAll(".warranty-selector-item.visible").length>0?(t.classList.add("d-none"),n=!0):t.classList.remove("d-none")})),n?s.classList.remove("d-none"):s.classList.add("d-none")}function h(){for(clearTimeout(d),y(!1),document.body.removeEventListener("click",f);c.lastChild;)c.removeChild(c.lastChild)}function v(){var t;sencor.ui.lastResults.delete(r.id),n=null,e.classList.remove("has-value"),(t=r.querySelector(".form-section-index-9"))&&"block"===window.getComputedStyle(t,null).display&&(t.style.display="none"),i.forEach((function(e){var t=e.querySelector("input[type=checkbox]");t.checked=!1,e.classList.remove("visible"),t.disabled=!0}))}function y(e){e?l.classList.add("loading"):l.classList.remove("loading")}function g(t){Array.isArray(t)&&sencor.ui.lastResults.set(r.id,t),(t=sencor.ui.lastResults.get(r.id)||[]).forEach((function(t){var a=document.createElement("div");a.setAttribute("data-warranty","item"),a.textContent=t.Name,a.addEventListener("click",(function(){e.value=t.Name,o.value=t.ID,n=t,m(t.Warranty.split("|")),e.classList.add("has-value"),h()})),c.appendChild(a)})),document.body.addEventListener("click",f)}e&&c&&(e.addEventListener("keyup",(function(e){var n,r=e.target.value;r.length>2?(a!==r&&(v(),h(),a=r),n=r,y(!0),clearTimeout(d),d=setTimeout((function(){fetch("/system/ajax/productsearch?searchtext="+n+"&counter="+ ++t,{method:"GET",headers:{"Content-Type":"application/json"}}).then((function(e){e.json().then((function(e){if(e.Counter===t){h();var a=e.Products||[];if(a.length)g(a);else{var n=document.createElement("a");n.setAttribute("data-toggle","modal"),n.setAttribute("data-target","#warranty-modal"),document.body.appendChild(n),n.click(),document.body.removeChild(n)}d=null}}))}))}),500)):(v(),h(),m([]),o.value="")})),e.addEventListener("focus",(function(){h(),g()})),e.addEventListener("blur",(function(){null===d&&setTimeout((function(){if(null===n){var t=document.createElement("a");t.setAttribute("data-toggle","modal"),t.setAttribute("data-target","#warranty-modal"),document.body.appendChild(t),t.click(),document.body.removeChild(t),e.value="",h(),v()}}),750)}))),e.binded=!0}))};class FakeFormFileUpload{constructor(e){this.fileUpload=e,this.parent=this.fileUpload.closest(".form-field"),this.explanation=this.parent.querySelector(".explanation-text"),this.detete=this.parent.querySelector(".ktc-uploader-text-button"),this.file=this.parent.querySelector(".ktc-uploader-replacement"),this.labelText="",this.buttonText="",this.deleteText="",this.fileName="",this.fileExtension="",this.init()}setup(){const[e,t,a]=this.explanation.innerText.split("|");this.labelText=e,this.buttonText=t,this.deleteText=a,this.setupFile(),this.parent.querySelector(".editing-form-control-nested-control").classList.add("d-none")}setupFile(e=""){const t=e||this.file.innerText,[a,n]=t.split(/\.(?=[^\.]+$)/);this.fileName=a,this.fileExtension=n}createFileUploadLayout(){const e=document.createElement("div");e.className="fake-file-upload-container",e.innerHTML=`\n            <div class='fake-file-upload-label h3 font-strong text-white'>\n                ${this.labelText}\n            </div>\n            ${this.fileExtension&&this.fileName?`\n            <div class='fake-file-upload-file'>\n                <div class='fake-file-upload-file-name'>\n                    ${this.fileName}. ${this.fileExtension}\n                </div>\n                <div class='fake-file-upload-delete'>\n                    <a class='fake-file-upload-delete-button' data-fake-file-upload-delete><span>${this.deleteText}</span></a>\n                </div>\n            </div>\n            `:""}\n            <div class='fake-file-upload-cta' data-fake-file-upload>\n                <a class="btn btn-primary btn-upload">${this.buttonText}</a>\n            </div>\n        `,this.explanation.innerHTML="",this.explanation.insertAdjacentHTML("beforeend",e.outerHTML),this.triggerUpload(),this.triggerDelete()}watchFileChange(){const e=this.file;new MutationObserver((e=>{e.forEach((e=>{this.setupFile(e.target.outerText),this.createFileUploadLayout()}))})).observe(e,{characterData:!0,attributes:!1,childList:!0,subtree:!1})}triggerUpload(){this.parent.querySelector("[data-fake-file-upload]").addEventListener("click",(()=>{this.fileUpload.click()}))}triggerDelete(){const e=this.parent.querySelector("[data-fake-file-upload-delete]");e&&e.addEventListener("click",(()=>{this.detete.click(),this.fileName="",this.fileExtension="",this.createFileUploadLayout()}))}init(){this.setup(),this.createFileUploadLayout(),this.watchFileChange()}}class FakeFormFields{constructor(e,t){this.id=e,this.form=t,this.fileUploadInstances=null,this.init()}isLastSectionValid(e){if(e){if(e.querySelector("*")){const t=!!e.querySelector(".form-text"),a=!e.querySelector("textarea"),n=[...e.querySelectorAll("input:not([type=hidden])")].map((e=>"checkbox"!==e.type)).every((e=>!1===e));return t&&a&&n}return!1}return!1}createSubmitLayout(){const e=this.form.querySelector("input[type='submit']"),t=[...this.form.querySelectorAll("[class*=form-section-index]")].pop(),a=document.createElement("div"),n=document.createElement("a");a.className="fake-section",n.className="btn btn-primary",n.innerText=e.value,n.setAttribute("data-fake-button",""),a.innerHTML=`\n            <div class='fake-form-content'>\n            ${this.isLastSectionValid(t)?`<div class='fake-form-text'>${t.outerHTML}</div>`:""}\n            <div class='fake-form-button'>${n.outerHTML}</div>\n            </div>\n        `,t.insertAdjacentHTML("afterend",a.outerHTML),this.form.querySelector("[data-fake-button]").addEventListener("click",(()=>{this.submitForm(e)})),t.classList.add("d-none"),e.classList.add("d-none")}createFileUpload(){this.form.querySelectorAll(`input[id*=${this.id}][type=file]`).forEach((e=>{this.fileUploadInstances=new FakeFormFileUpload(e)}))}submitForm(e){e.click(),this.fileUploadInstances=null,jic.design.fakeFormFieldsInit.elementsInstances=jic.design.fakeFormFieldsInit.elementsInstances.filter((e=>e.id!==this.id))}init(){this.form.classList.contains("inited")||(this.createFileUpload(),this.form.classList.add("inited"))}}sencor.ui.fakeFormFieldsInit=function(){const e=[...document.querySelectorAll("form[id*=form-][method=post][action*=Kentico]")].map((e=>({id:e.id,instance:new FakeFormFields(e.id,e)})));return{elementsInstances:e,reinitInstance:()=>{const t=document.querySelector("form[id*=form-][method=post][action*=Kentico]:not(.inited)");t&&e.push({id:t.id,instance:new FakeFormFields(t.id,t)})}}}(),sencor.ui.moreEngine=function(){var e=document.querySelector("[data-next]");e&&e.addEventListener("click",(function(){var t=e.getAttribute("data-text"),a=parseInt(e.getAttribute("data-next"),10),n=parseInt(e.getAttribute("data-more"),10),r=document.querySelectorAll("[data-more-item].d-none");for(let e=0;e<a;e++)r[e].classList.remove("d-none");var i=r.length-a,o=i>n?n:i;e.setAttribute("data-next",o),e.innerHTML=t+" "+o,0==o&&e.classList.add("d-none")}))},sencor.ui.categoryNavigation=()=>{document.querySelectorAll("[data-category-openner]").forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault();const a=e.closest("li");a&&a.classList.toggle("is-open")}))}))};class Clipboard{static async handleCopyText(e){const t=e.getAttribute("data-copy").trim(),a=e.getAttribute("data-copy-success"),n=e.getAttribute("data-copy-failed");if(0===t.length)alert(n);else{const e=await this.saveTextIntoClipboard(t);alert(e?a:n)}}static saveTextIntoClipboard(e){return new Promise(((t,a)=>{void 0===navigator.clipboard.writeText&&t(!1),navigator.clipboard.writeText(e).then((()=>{t(!0)})).catch((e=>a(e)))}))}static bindListeners(){document.querySelectorAll("[data-copy]:not(.bind)").forEach((e=>{e.addEventListener("click",(()=>{this.handleCopyText(e)})),e.classList.add("bind")}))}static init(){this.bindListeners()}}sencor.ui.initDisplayLoaderForm=function(){const e=document.querySelectorAll("form[data-onsubmit-loader]");0!=e.length&&e.forEach((function(e){e.addEventListener("submit",(function(t){const a=e.querySelector('button[type="submit"]');a&&(a.style.pointerEvents="none",a.style.opacity=.5,a.classList.add("loading")),setTimeout((function(){const t=e.querySelectorAll(".field-validation-error");let n=!1;for(let e of t)if(e.textContent.trim().length>0){n=!0,e.scrollIntoView({behavior:"smooth",block:"center"}),console.error("Form submission prevented due to validation errors.");break}n?a&&(a.style.pointerEvents="all",a.style.opacity=1,a.classList.remove("loading")):e.classList.add("loading")}),200)}))}))},sencor.ui.init=function(){sencor.ui.hideEmptyFields(),sencor.ui.uplodFile(),sencor.ui.extendedWarrantyForm(),sencor.ui.scrollDown(),sencor.ui.extendedWarrantyForm(),sencor.ui.burgerToggle(),sencor.ui.respoMenu(),sencor.ui.scrollToNext(),sencor.ui.openFooterLinks(),sencor.ui.openSorting(),sencor.ui.openFilter(),sencor.ui.openFilterSubmenu(),sencor.ui.showMoreDownloads(),sencor.ui.catalogTabChanger(),sencor.ui.restartFilter(),sencor.ui.dealerTabs(),sencor.ui.dealersMapFilter(),sencor.ui.dealersShowMore(),sencor.ui.dealersListFilter(),sencor.ui.serviceTabs(),sencor.ui.serviceListFilter(),sencor.ui.innerTabs(),sencor.ui.pressTabs(),sencor.ui.showMoreImages(),sencor.ui.menuPosition(),sencor.ui.firstScrollTo(),sencor.ui.compareTableThead(),sencor.ui.showDealers(),sencor.ui.formType(),sencor.ui.lazyImagesMegamenuSublevel(),sencor.ui.headerWindows(),sencor.ui.inquiryModal(),sencor.ui.spareForm(),sencor.ui.faqCollapse(),sencor.ui.faqSearch(),sencor.ui.filterFaq(),sencor.ui.moreEngine(),sencor.ui.categoryNavigation(),Clipboard.init(),sencor.ui.initDisplayLoaderForm()},sencor.ui.load=function(){sencor.ui.scrollDownRedirect(),sencor.ui.showDomainModal(),sencor.ui.warrantyFormSerializer()},sencor.ui.resize=function(){},sencor.ui.scroll=function(){},sencor.ui.beforeAjax=function(){},sencor.ui.ajax=function(){sencor.ui.hideEmptyFields(),sencor.ui.uplodFile(),sencor.ui.openFilterSubmenu(),sencor.ui.restartFilter(),sencor.ui.productCardImages.afterAjax(),sencor.ui.formType(),sencor.ui.warrantyForm(),sencor.ui.extendedWarrantyForm(),sencor.ui.fakeFormFieldsInit.reinitInstance(),sencor.ui.spareForm(),sencor.ui.extendedWarrantyForm(),sencor.ui.fakeFormFieldsInit.reinitInstance(),Clipboard.init()};;
!function(t){function a(t,a){for(var e=window,r=(t||"").split(".");e&&r.length;)e=e[r.shift()];return"function"==typeof e?e:(a.push(t),Function.constructor.apply(null,a))}function e(t){return"GET"===t||"POST"===t}function r(a,e,r){var n;-1===r.indexOf("application/x-javascript")&&(n=(a.getAttribute("data-ajax-mode")||"").toUpperCase(),t(a.getAttribute("data-ajax-update")).each((function(a,r){switch(n){case"BEFORE":t(r).prepend(e);break;case"AFTER":t(r).append(e);break;case"REPLACE-WITH":t(r).replaceWith(e);break;default:t(r).html(e)}})))}function n(n,u){var i,o,d,c;(i=n.getAttribute("data-ajax-confirm"))&&!window.confirm(i)||(o=t(n.getAttribute("data-ajax-loading")),c=parseInt(n.getAttribute("data-ajax-loading-duration"),10)||0,t.extend(u,{type:n.getAttribute("data-ajax-method")||void 0,url:n.getAttribute("data-ajax-url")||void 0,cache:"true"===(n.getAttribute("data-ajax-cache")||"").toLowerCase(),beforeSend:function(t){var r;return function(t,a){e(a)||t.setRequestHeader("X-HTTP-Method-Override",a)}(t,d),!1!==(r=a(n.getAttribute("data-ajax-begin"),["xhr"]).apply(n,arguments))&&o.show(c),r},complete:function(){o.hide(c),a(n.getAttribute("data-ajax-complete"),["xhr","status"]).apply(n,arguments)},success:function(t,e,u){r(n,t,u.getResponseHeader("Content-Type")||"text/html"),a(n.getAttribute("data-ajax-success"),["data","status","xhr"]).apply(n,arguments)},error:function(){a(n.getAttribute("data-ajax-failure"),["xhr","status","error"]).apply(n,arguments)}}),u.data.push({name:"X-Requested-With",value:"XMLHttpRequest"}),e(d=u.type.toUpperCase())||(u.type="POST",u.data.push({name:"X-HTTP-Method-Override",value:d})),t.ajax(u))}var u="unobtrusiveAjaxClick",i="unobtrusiveAjaxClickTarget",o="unobtrusiveValidation";t(document).on("click","a[data-ajax=true]",(function(t){t.preventDefault(),n(this,{url:this.href,type:"GET",data:[]})})),t(document).on("click","form[data-ajax=true] input[type=image]",(function(a){var e=a.target.name,r=t(a.target),n=t(r.parents("form")[0]),i=r.offset();n.data(u,[{name:e+".x",value:Math.round(a.pageX-i.left)},{name:e+".y",value:Math.round(a.pageY-i.top)}]),setTimeout((function(){n.removeData(u)}),0)})),t(document).on("click","form[data-ajax=true] :submit",(function(a){var e=a.currentTarget.name,r=t(a.target),n=t(r.parents("form")[0]);n.data(u,e?[{name:e,value:a.currentTarget.value}]:[]),n.data(i,r),setTimeout((function(){n.removeData(u),n.removeData(i)}),0)})),t(document).on("submit","form[data-ajax=true]",(function(a){var e=t(this).data(u)||[],r=t(this).data(i),d=r&&(r.hasClass("cancel")||void 0!==r.attr("formnovalidate"));a.preventDefault(),(d||function(a){var e=t(a).data(o);return!e||!e.validate||e.validate()}(this))&&n(this,{url:this.action,type:this.method||"GET",data:e.concat(t(this).serializeArray())})}))}(jQuery);;
/*!
 * jQuery Validation Plugin v1.19.2
 *
 * https://jqueryvalidation.org/
 *
 * Copyright (c) 2020 Jörn Zaefferer
 * Released under the MIT license
 */
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){e.extend(e.fn,{validate:function(t){if(this.length){var i=e.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new e.validator(t,this[0]),e.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",(function(t){i.submitButton=t.currentTarget,e(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==e(this).attr("formnovalidate")&&(i.cancelSubmit=!0)})),this.on("submit.validate",(function(t){function a(){var a,n;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(a=e("<input type='hidden'/>").attr("name",i.submitButton.name).val(e(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(n=i.settings.submitHandler.call(i,i.currentForm,t),a&&a.remove(),void 0!==n&&n)}return i.settings.debug&&t.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,a()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):a():(i.focusInvalid(),!1)}))),i)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,i,a;return e(this[0]).is("form")?t=this.validate().form():(a=[],t=!0,i=e(this[0].form).validate(),this.each((function(){(t=i.element(this)&&t)||(a=a.concat(i.errorList))})),i.errorList=a),t},rules:function(t,i){var a,n,s,r,o,l,d=this[0],u=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=d&&(!d.form&&u&&(d.form=this.closest("form")[0],d.name=this.attr("name")),null!=d.form)){if(t)switch(n=(a=e.data(d.form,"validator").settings).rules,s=e.validator.staticRules(d),t){case"add":e.extend(s,e.validator.normalizeRule(i)),delete s.messages,n[d.name]=s,i.messages&&(a.messages[d.name]=e.extend(a.messages[d.name],i.messages));break;case"remove":return i?(l={},e.each(i.split(/\s/),(function(e,t){l[t]=s[t],delete s[t]})),l):(delete n[d.name],s)}return(r=e.validator.normalizeRules(e.extend({},e.validator.classRules(d),e.validator.attributeRules(d),e.validator.dataRules(d),e.validator.staticRules(d)),d)).required&&(o=r.required,delete r.required,r=e.extend({required:o},r)),r.remote&&(o=r.remote,delete r.remote,r=e.extend(r,{remote:o})),r}}});var t,i=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};e.extend(e.expr.pseudos||e.expr[":"],{blank:function(t){return!i(""+e(t).val())},filled:function(t){var a=e(t).val();return null!==a&&!!i(""+a)},unchecked:function(t){return!e(t).prop("checked")}}),e.validator=function(t,i){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=i,this.init()},e.validator.format=function(t,i){return 1===arguments.length?function(){var i=e.makeArray(arguments);return i.unshift(t),e.validator.format.apply(this,i)}:(void 0===i||(arguments.length>2&&i.constructor!==Array&&(i=e.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),e.each(i,(function(e,i){t=t.replace(new RegExp("\\{"+e+"\\}","g"),(function(){return i}))}))),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(t,i){9===i.which&&""===this.elementValue(t)||-1!==e.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,i,a){"radio"===t.type?this.findByName(t.name).addClass(i).removeClass(a):e(t).addClass(i).removeClass(a)},unhighlight:function(t,i,a){"radio"===t.type?this.findByName(t.name).removeClass(i).addClass(a):e(t).removeClass(i).addClass(a)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}."),step:e.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var t,i=this.currentForm,a=this.groups={};function n(t){var a=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");if(!this.form&&a&&(this.form=e(this).closest("form")[0],this.name=e(this).attr("name")),i===this.form){var n=e.data(this.form,"validator"),s="on"+t.type.replace(/^validate/,""),r=n.settings;r[s]&&!e(this).is(r.ignore)&&r[s].call(n,this,t)}}e.each(this.settings.groups,(function(t,i){"string"==typeof i&&(i=i.split(/\s/)),e.each(i,(function(e,i){a[i]=t}))})),t=this.settings.rules,e.each(t,(function(i,a){t[i]=e.validator.normalizeRule(a)})),e(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",n).on("click.validate","select, option, [type='radio'], [type='checkbox']",n),this.settings.invalidHandler&&e(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){var i,a,n=this.clean(t),s=this.validationTargetFor(n),r=this,o=!0;return void 0===s?delete this.invalid[n.name]:(this.prepareElement(s),this.currentElements=e(s),(a=this.groups[s.name])&&e.each(this.groups,(function(e,t){t===a&&e!==s.name&&(n=r.validationTargetFor(r.clean(r.findByName(e))))&&n.name in r.invalid&&(r.currentElements.push(n),o=r.check(n)&&o)})),i=!1!==this.check(s),o=o&&i,this.invalid[s.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),e(t).attr("aria-invalid",!i)),o},showErrors:function(t){if(t){var i=this;e.extend(this.errorMap,t),this.errorList=e.map(this.errorMap,(function(e,t){return{message:e,element:i.findByName(t)[0]}})),this.successList=e.grep(this.successList,(function(e){return!(e.name in t)}))}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(e){var t;if(this.settings.unhighlight)for(t=0;e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,""),this.findByName(e[t].name).removeClass(this.settings.validClass);else e.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,i=0;for(t in e)void 0!==e[t]&&null!==e[t]&&!1!==e[t]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1===e.grep(this.errorList,(function(e){return e.element.name===t.name})).length&&t},elements:function(){var t=this,i={};return e(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter((function(){var a=this.name||e(this).attr("name"),n=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");return!a&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),n&&(this.form=e(this).closest("form")[0],this.name=a),this.form===t.currentForm&&(!(a in i||!t.objectLength(e(this).rules()))&&(i[a]=!0,!0))}))},clean:function(t){return e(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return e(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([])},reset:function(){this.resetInternals(),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(t){var i,a,n=e(t),s=t.type,r=void 0!==n.attr("contenteditable")&&"false"!==n.attr("contenteditable");return"radio"===s||"checkbox"===s?this.findByName(t.name).filter(":checked").val():"number"===s&&void 0!==t.validity?t.validity.badInput?"NaN":n.val():(i=r?n.text():n.val(),"file"===s?"C:\\fakepath\\"===i.substr(0,12)?i.substr(12):(a=i.lastIndexOf("/"))>=0||(a=i.lastIndexOf("\\"))>=0?i.substr(a+1):i:"string"==typeof i?i.replace(/\r/g,""):i)},check:function(t){t=this.validationTargetFor(this.clean(t));var i,a,n,s,r=e(t).rules(),o=e.map(r,(function(e,t){return t})).length,l=!1,d=this.elementValue(t);for(a in"function"==typeof r.normalizer?s=r.normalizer:"function"==typeof this.settings.normalizer&&(s=this.settings.normalizer),s&&(d=s.call(t,d),delete r.normalizer),r){n={method:a,parameters:r[a]};try{if("dependency-mismatch"===(i=e.validator.methods[a].call(this,d,t,n.parameters))&&1===o){l=!0;continue}if(l=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!i)return this.formatAndAdd(t,n),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+n.method+"' method.",e),e instanceof TypeError&&(e.message+=".  Exception occurred when checking element "+t.id+", check the '"+n.method+"' method."),e}}if(!l)return this.objectLength(r)&&this.successList.push(t),!0},customDataMessage:function(t,i){return e(t).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||e(t).data("msg")},customMessage:function(e,t){var i=this.settings.messages[e];return i&&(i.constructor===String?i:i[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]},defaultMessage:function(t,i){"string"==typeof i&&(i={method:i});var a=this.findDefined(this.customMessage(t.name,i.method),this.customDataMessage(t,i.method),!this.settings.ignoreTitle&&t.title||void 0,e.validator.messages[i.method],"<strong>Warning: No message defined for "+t.name+"</strong>"),n=/\$?\{(\d+)\}/g;return"function"==typeof a?a=a.call(this,i.parameters,t):n.test(a)&&(a=e.validator.format(a.replace(n,"{$1}"),i.parameters)),a},formatAndAdd:function(e,t){var i=this.defaultMessage(e,t);this.errorList.push({message:i,element:e,method:t.method}),this.errorMap[e.name]=i,this.submitted[e.name]=i},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,i;for(e=0;this.errorList[e];e++)i=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map((function(){return this.element}))},showLabel:function(t,i){var a,n,s,r,o=this.errorsFor(t),l=this.idOrName(t),d=e(t).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(i)):(a=o=e("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(a=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(a):this.settings.errorPlacement?this.settings.errorPlacement.call(this,a,e(t)):a.insertAfter(t),o.is("label")?o.attr("for",l):0===o.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(s=o.attr("id"),d?d.match(new RegExp("\\b"+this.escapeCssMeta(s)+"\\b"))||(d+=" "+s):d=s,e(t).attr("aria-describedby",d),(n=this.groups[t.name])&&(r=this,e.each(r.groups,(function(t,i){i===n&&e("[name='"+r.escapeCssMeta(t)+"']",r.currentForm).attr("aria-describedby",o.attr("id"))}))))),!i&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,t)),this.toShow=this.toShow.add(o)},errorsFor:function(t){var i=this.escapeCssMeta(this.idOrName(t)),a=e(t).attr("aria-describedby"),n="label[for='"+i+"'], label[for='"+i+"'] *";return a&&(n=n+", #"+this.escapeCssMeta(a).replace(/\s+/g,", #")),this.errors().filter(n)},escapeCssMeta:function(e){return e.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),e(t).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){return e(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return e("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(t,i){return!!e(t,i.form).length},function:function(e,t){return e(t)}},optional:function(t){var i=this.elementValue(t);return!e.validator.methods.required.call(this,i,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,e(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],e(t).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(e(this.currentForm).submit(),this.submitButton&&e("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,i){return i="string"==typeof i&&i||"remote",e.data(t,"previousValue")||e.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:i})})},destroy:function(){this.resetForm(),e(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor===String?this.classRuleSettings[t]=i:e.extend(this.classRuleSettings,t)},classRules:function(t){var i={},a=e(t).attr("class");return a&&e.each(a.split(" "),(function(){this in e.validator.classRuleSettings&&e.extend(i,e.validator.classRuleSettings[this])})),i},normalizeAttributeRule:function(e,t,i,a){/min|max|step/.test(i)&&(null===t||/number|range|text/.test(t))&&(a=Number(a),isNaN(a)&&(a=void 0)),a||0===a?e[i]=a:t===i&&"range"!==t&&(e[i]=!0)},attributeRules:function(t){var i,a,n={},s=e(t),r=t.getAttribute("type");for(i in e.validator.methods)"required"===i?(""===(a=t.getAttribute(i))&&(a=!0),a=!!a):a=s.attr(i),this.normalizeAttributeRule(n,r,i,a);return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(t){var i,a,n={},s=e(t),r=t.getAttribute("type");for(i in e.validator.methods)""===(a=s.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()))&&(a=!0),this.normalizeAttributeRule(n,r,i,a);return n},staticRules:function(t){var i={},a=e.data(t.form,"validator");return a.settings.rules&&(i=e.validator.normalizeRule(a.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return e.each(t,(function(a,n){if(!1!==n){if(n.param||n.depends){var s=!0;switch(typeof n.depends){case"string":s=!!e(n.depends,i.form).length;break;case"function":s=n.depends.call(i,i)}s?t[a]=void 0===n.param||n.param:(e.data(i.form,"validator").resetElements(e(i)),delete t[a])}}else delete t[a]})),e.each(t,(function(a,n){t[a]=e.isFunction(n)&&"normalizer"!==a?n(i):n})),e.each(["minlength","maxlength"],(function(){t[this]&&(t[this]=Number(t[this]))})),e.each(["rangelength","range"],(function(){var i;t[this]&&(e.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:"string"==typeof t[this]&&(i=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(i[0]),Number(i[1])]))})),e.validator.autoCreateRanges&&(null!=t.min&&null!=t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),null!=t.minlength&&null!=t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var i={};e.each(t.split(/\s/),(function(){i[this]=!0})),t=i}return t},addMethod:function(t,i,a){e.validator.methods[t]=i,e.validator.messages[t]=void 0!==a?a:e.validator.messages[t],i.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,i,a){if(!this.depend(a,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var n=e(i).val();return n&&n.length>0}return this.checkable(i)?this.getLength(t,i)>0:null!=t&&t.length>0},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(e)},date:(t=!1,function(e,i){return t||(t=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(e).toString())}),dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},minlength:function(t,i,a){var n=e.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||n>=a},maxlength:function(t,i,a){var n=e.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||n<=a},rangelength:function(t,i,a){var n=e.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||n>=a[0]&&n<=a[1]},min:function(e,t,i){return this.optional(t)||e>=i},max:function(e,t,i){return this.optional(t)||e<=i},range:function(e,t,i){return this.optional(t)||e>=i[0]&&e<=i[1]},step:function(t,i,a){var n,s=e(i).attr("type"),r="Step attribute on input type "+s+" is not supported.",o=new RegExp("\\b"+s+"\\b"),l=function(e){var t=(""+e).match(/(?:\.(\d+))?$/);return t&&t[1]?t[1].length:0},d=function(e){return Math.round(e*Math.pow(10,n))},u=!0;if(s&&!o.test(["text","number","range"].join()))throw new Error(r);return n=l(a),(l(t)>n||d(t)%d(a)!=0)&&(u=!1),this.optional(i)||u},equalTo:function(t,i,a){var n=e(a);return this.settings.onfocusout&&n.not(".validate-equalTo-blur").length&&n.addClass("validate-equalTo-blur").on("blur.validate-equalTo",(function(){e(i).valid()})),t===n.val()},remote:function(t,i,a,n){if(this.optional(i))return"dependency-mismatch";n="string"==typeof n&&n||"remote";var s,r,o,l=this.previousValue(i,n);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][n],this.settings.messages[i.name][n]=l.message,a="string"==typeof a&&{url:a}||a,o=e.param(e.extend({data:t},a.data)),l.old===o?l.valid:(l.old=o,s=this,this.startRequest(i),(r={})[i.name]=t,e.ajax(e.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:r,context:s.currentForm,success:function(e){var a,r,o,d=!0===e||"true"===e;s.settings.messages[i.name][n]=l.originalMessage,d?(o=s.formSubmitted,s.resetInternals(),s.toHide=s.errorsFor(i),s.formSubmitted=o,s.successList.push(i),s.invalid[i.name]=!1,s.showErrors()):(a={},r=e||s.defaultMessage(i,{method:n,parameters:t}),a[i.name]=l.message=r,s.invalid[i.name]=!0,s.showErrors(a)),l.valid=d,s.stopRequest(i,d)}},a)),"pending")}}});var a,n={};return e.ajaxPrefilter?e.ajaxPrefilter((function(e,t,i){var a=e.port;"abort"===e.mode&&(n[a]&&n[a].abort(),n[a]=i)})):(a=e.ajax,e.ajax=function(t){var i=("mode"in t?t:e.ajaxSettings).mode,s=("port"in t?t:e.ajaxSettings).port;return"abort"===i?(n[s]&&n[s].abort(),n[s]=a.apply(this,arguments),n[s]):a.apply(this,arguments)}),e})),function(e){"function"==typeof define&&define.amd?define("jquery.validate.unobtrusive",["jquery-validation"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery-validation")):jQuery.validator.unobtrusive=e(jQuery)}((function(e){var t,i=e.validator,a="unobtrusiveValidation";function n(e,t,i){e.rules[t]=i,e.message&&(e.messages[t]=e.message)}function s(e){return e.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function r(t,i){var a=e(this).find("[data-valmsg-for='"+s(i[0].name)+"']"),n=a.attr("data-valmsg-replace"),r=n?!1!==e.parseJSON(n):null;a.removeClass("field-validation-valid").addClass("field-validation-error"),t.data("unobtrusiveContainer",a),r?(a.empty(),t.removeClass("input-validation-error").appendTo(a)):t.hide()}function o(t,i){var a=e(this).find("[data-valmsg-summary=true]"),n=a.find("ul");n&&n.length&&i.errorList.length&&(n.empty(),a.addClass("validation-summary-errors").removeClass("validation-summary-valid"),e.each(i.errorList,(function(){e("<li />").html(this.message).appendTo(n)})))}function l(t){var i=t.data("unobtrusiveContainer");if(i){var a=i.attr("data-valmsg-replace"),n=a?e.parseJSON(a):null;i.addClass("field-validation-valid").removeClass("field-validation-error"),t.removeData("unobtrusiveContainer"),n&&i.empty()}}function d(t){var i=e(this),a="__jquery_unobtrusive_validation_form_reset";if(!i.data(a)){i.data(a,!0);try{i.data("validator").resetForm()}finally{i.removeData(a)}i.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),i.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function u(t){var n=e(t),s=n.data(a),u=e.proxy(d,t),h=i.unobtrusive.options||{},m=function(i,a){var n=h[i];n&&e.isFunction(n)&&n.apply(t,a)};return s||(s={options:{errorClass:h.errorClass||"input-validation-error",errorElement:h.errorElement||"span",errorPlacement:function(){r.apply(t,arguments),m("errorPlacement",arguments)},invalidHandler:function(){o.apply(t,arguments),m("invalidHandler",arguments)},messages:{},rules:{},success:function(){l.apply(t,arguments),m("success",arguments)}},attachValidation:function(){n.off("reset."+a,u).on("reset."+a,u).validate(this.options)},validate:function(){return n.validate(),n.valid()}},n.data(a,s)),s}return i.unobtrusive={adapters:[],parseElement:function(t,i){var a,n,s,r=e(t),o=r.parents("form")[0];o&&((a=u(o)).options.rules[t.name]=n={},a.options.messages[t.name]=s={},e.each(this.adapters,(function(){var i="data-val-"+this.name,a=r.attr(i),l={};void 0!==a&&(i+="-",e.each(this.params,(function(){l[this]=r.attr(i+this)})),this.adapt({element:t,form:o,message:a,params:l,rules:n,messages:s}))})),e.extend(n,{__dummy__:!0}),i||a.attachValidation())},parse:function(t){var a=e(t),n=a.parents().addBack().filter("form").add(a.find("form")).has("[data-val=true]");a.find("[data-val=true]").each((function(){i.unobtrusive.parseElement(this,!0)})),n.each((function(){var e=u(this);e&&e.attachValidation()}))}},(t=i.unobtrusive.adapters).add=function(e,t,i){return i||(i=t,t=[]),this.push({name:e,params:t,adapt:i}),this},t.addBool=function(e,t){return this.add(e,(function(i){n(i,t||e,!0)}))},t.addMinMax=function(e,t,i,a,s,r){return this.add(e,[s||"min",r||"max"],(function(e){var s=e.params.min,r=e.params.max;s&&r?n(e,a,[s,r]):s?n(e,t,s):r&&n(e,i,r)}))},t.addSingleVal=function(e,t,i){return this.add(e,[t||"val"],(function(a){n(a,i||e,a.params[t])}))},i.addMethod("__dummy__",(function(e,t,i){return!0})),i.addMethod("regex",(function(e,t,i){var a;return!!this.optional(t)||(a=new RegExp(i).exec(e))&&0===a.index&&a[0].length===e.length})),i.addMethod("nonalphamin",(function(e,t,i){var a;return i&&(a=(a=e.match(/\W/g))&&a.length>=i),a})),i.methods.extension?(t.addSingleVal("accept","mimtype"),t.addSingleVal("extension","extension")):t.addSingleVal("extension","extension","accept"),t.addSingleVal("regex","pattern"),t.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),t.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),t.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),t.add("required",(function(e){"INPUT"===e.element.tagName.toUpperCase()&&"CHECKBOX"===e.element.type.toUpperCase()||n(e,"required",!0)})),t.add("remote",["url","type","additionalfields"],(function(t){var i,a={url:t.params.url,type:t.params.type||"GET",data:{}},r=(i=t.element.name).substr(0,i.lastIndexOf(".")+1);e.each(function(e){return e.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}(t.params.additionalfields||t.element.name),(function(i,n){var o=function(e,t){return 0===e.indexOf("*.")&&(e=e.replace("*.",t)),e=e.split(".").join("\\."),console.log(e),e}(n,r);a.data[o]=function(){var i=e(t.form).find(":input").filter("[name='"+s(o)+"']");return i.is(":checkbox")?i.filter(":checked").val()||i.filter(":hidden").val()||"":i.is(":radio")?i.filter(":checked").val()||"":i.val()}})),n(t,"remote",a)})),t.add("password",["min","nonalphamin","regex"],(function(e){e.params.min&&n(e,"minlength",e.params.min),e.params.nonalphamin&&n(e,"nonalphamin",e.params.nonalphamin),e.params.regex&&n(e,"regex",e.params.regex)})),t.add("fileextensions",["extensions"],(function(e){n(e,"extension",e.params.extensions)})),e((function(){i.unobtrusive.parse(document)})),i.unobtrusive}));;
$.validator.unobtrusive.adapters.add("requiredif",["dependentproperty","desiredvalue"],(function(e){e.rules.requiredif=e.params,e.messages.requiredif=e.message})),$.validator.addMethod("requiredif",(function(e,r,t){var d=t.desiredvalue;d=(null==d?"":d).toString();var a=$("input[id$='"+t.dependentproperty+"']").attr("type"),o={};return o="checkbox"==a||"radio"==a?$("input[id$='"+t.dependentproperty+"']:checked").val():$("#"+t.dependentproperty).val(),$.trim(d).toLowerCase()!==$.trim(o).toLocaleLowerCase()||$.validator.methods.required.call(this,e,r,t)})),$.validator.unobtrusive.adapters.addBool("requiredcheckbox"),$.validator.addMethod("requiredcheckbox",(function(e,r,t){return"checkbox"===r.type&&r.checked})),$.validator.unobtrusive.adapters.addSingleVal("regexculture","regex"),$.validator.addMethod("regexculture",(function(e,r,t){var d;return!!this.optional(r)||(d=new RegExp(t).exec(e))&&0===d.index&&d[0].length===e.length})),$.validator.unobtrusive.adapters.addBool("culturephone"),$.validator.addMethod("culturephone",(function(e,r,t){const d=document.querySelector("body").getAttribute("data-locale").substring(3).toUpperCase();return!(!libphonenumber.isPossiblePhoneNumber(e,d)||!libphonenumber.isValidPhoneNumber(e,d)||void 0!==libphonenumber.validatePhoneNumberLength(e,d))}));;
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AOS=t():e.AOS=t()}(this,(function(){return function(e){function t(n){if(o[n])return o[n].exports;var i=o[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var o={};return t.m=e,t.c=o,t.p="dist/",t(0)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},r=(n(o(1)),o(6)),a=n(r),c=n(o(7)),u=n(o(8)),s=n(o(9)),f=n(o(10)),d=n(o(11)),l=n(o(14)),m=[],p=!1,b={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},v=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(p=!0),p)return m=(0,d.default)(m,b),(0,f.default)(m,b.once),m},y=function(){m=(0,l.default)(),v()};e.exports={init:function(e){b=i(b,e),m=(0,l.default)();var t=document.all&&!window.atob;return function(e){return!0===e||"mobile"===e&&s.default.mobile()||"phone"===e&&s.default.phone()||"tablet"===e&&s.default.tablet()||"function"==typeof e&&!0===e()}(b.disable)||t?void m.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})):(document.querySelector("body").setAttribute("data-aos-easing",b.easing),document.querySelector("body").setAttribute("data-aos-duration",b.duration),document.querySelector("body").setAttribute("data-aos-delay",b.delay),"DOMContentLoaded"===b.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?v(!0):"load"===b.startEvent?window.addEventListener(b.startEvent,(function(){v(!0)})):document.addEventListener(b.startEvent,(function(){v(!0)})),window.addEventListener("resize",(0,c.default)(v,b.debounceDelay,!0)),window.addEventListener("orientationchange",(0,c.default)(v,b.debounceDelay,!0)),window.addEventListener("scroll",(0,a.default)((function(){(0,f.default)(m,b.once)}),b.throttleDelay)),b.disableMutationObserver||(0,u.default)("[data-aos]",y),m)},refresh:v,refreshHard:y}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function o(e,t,o){function i(t){var o=d,n=l;return d=l=void 0,y=t,p=e.apply(n,o)}function a(e){var o=e-v;return void 0===v||o>=t||o<0||x&&e-y>=m}function u(){var e=k();return a(e)?s(e):void(b=setTimeout(u,function(e){var o=t-(e-v);return x?w(o,m-(e-y)):o}(e)))}function s(e){return b=void 0,j&&d?i(e):(d=l=void 0,p)}function f(){var e=k(),o=a(e);if(d=arguments,l=this,v=e,o){if(void 0===b)return function(e){return y=e,b=setTimeout(u,t),g?i(e):p}(v);if(x)return b=setTimeout(u,t),i(v)}return void 0===b&&(b=setTimeout(u,t)),p}var d,l,m,p,b,v,y=0,g=!1,x=!1,j=!0;if("function"!=typeof e)throw new TypeError(c);return t=r(t)||0,n(o)&&(g=!!o.leading,m=(x="maxWait"in o)?h(r(o.maxWait)||0,t):m,j="trailing"in o?!!o.trailing:j),f.cancel=function(){void 0!==b&&clearTimeout(b),y=0,d=v=l=b=void 0},f.flush=function(){return void 0===b?p:s(k())},f}function n(e){var t=void 0===e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}function i(e){return"symbol"==(void 0===e?"undefined":a(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":a(e))}(e)&&g.call(e)==s}function r(e){if("number"==typeof e)return e;if(i(e))return u;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(f,"");var o=l.test(e);return o||m.test(e)?p(e.slice(2),o?2:8):d.test(e)?u:+e}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c="Expected a function",u=NaN,s="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,m=/^0o[0-7]+$/i,p=parseInt,b="object"==(void 0===t?"undefined":a(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,y=b||v||Function("return this")(),g=Object.prototype.toString,h=Math.max,w=Math.min,k=function(){return y.Date.now()};e.exports=function(e,t,i){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError(c);return n(i)&&(r="leading"in i?!!i.leading:r,a="trailing"in i?!!i.trailing:a),o(e,t,{leading:r,maxWait:t,trailing:a})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function o(e){var t=void 0===e?"undefined":r(e);return!!e&&("object"==t||"function"==t)}function n(e){return"symbol"==(void 0===e?"undefined":r(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":r(e))}(e)&&y.call(e)==u}function i(e){if("number"==typeof e)return e;if(n(e))return c;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var i=d.test(e);return i||l.test(e)?m(e.slice(2),i?2:8):f.test(e)?c:+e}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a="Expected a function",c=NaN,u="[object Symbol]",s=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,m=parseInt,p="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t,b="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,v=p||b||Function("return this")(),y=Object.prototype.toString,g=Math.max,h=Math.min,w=function(){return v.Date.now()};e.exports=function(e,t,n){function r(t){var o=d,n=l;return d=l=void 0,y=t,p=e.apply(n,o)}function c(e){var o=e-v;return void 0===v||o>=t||o<0||x&&e-y>=m}function u(){var e=w();return c(e)?s(e):void(b=setTimeout(u,function(e){var o=t-(e-v);return x?h(o,m-(e-y)):o}(e)))}function s(e){return b=void 0,j&&d?r(e):(d=l=void 0,p)}function f(){var e=w(),o=c(e);if(d=arguments,l=this,v=e,o){if(void 0===b)return function(e){return y=e,b=setTimeout(u,t),k?r(e):p}(v);if(x)return b=setTimeout(u,t),r(v)}return void 0===b&&(b=setTimeout(u,t)),p}var d,l,m,p,b,v,y=0,k=!1,x=!1,j=!0;if("function"!=typeof e)throw new TypeError(a);return t=i(t)||0,o(n)&&(k=!!n.leading,m=(x="maxWait"in n)?g(i(n.maxWait)||0,t):m,j="trailing"in n?!!n.trailing:j),f.cancel=function(){void 0!==b&&clearTimeout(b),y=0,d=v=l=b=void 0},f.flush=function(){return void 0===b?p:s(w())},f}}).call(t,function(){return this}())},function(e,t){"use strict";function o(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),o=Array.prototype.slice.call(e.removedNodes),i=t.concat(o).filter((function(e){return e.hasAttribute&&e.hasAttribute("data-aos")})).length;i&&n()}))}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.default=function(e,t){var i=window.document,r=new(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)(o);n=t,r.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}},function(e,t){"use strict";function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,r=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"phone",value:function(){var e=o();return!(!i.test(e)&&!r.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=o();return!(!a.test(e)&&!c.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new u},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var o=window.pageYOffset,n=window.innerHeight;e.forEach((function(e,i){!function(e,t,o){var n=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0!==n&&("false"===n||!o&&"true"!==n)&&e.node.classList.remove("aos-animate")}(e,n+o,t)}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(o(12));t.default=function(e,t){return e.forEach((function(e,o){e.node.classList.add("aos-init"),e.position=(0,n.default)(e.node,t.offset)})),e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(o(13));t.default=function(e,t){var o=0,i=0,r=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(i=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),o=(0,n.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":o+=e.offsetHeight/2;break;case"bottom-bottom":o+=e.offsetHeight;break;case"top-center":o+=r/2;break;case"bottom-center":o+=r/2+e.offsetHeight;break;case"center-center":o+=r/2+e.offsetHeight/2;break;case"top-top":o+=r;break;case"bottom-top":o+=e.offsetHeight+r;break;case"center-top":o+=e.offsetHeight/2+r}return a.anchorPlacement||a.offset||isNaN(t)||(i=t),o+i}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){for(var t=0,o=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),o+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:o,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))}}])}));;
let title="color:#5387c6;font-weight:bold;font-size:25px;",text="color:#2b2828;font-weight:bold;font-size:18px;",contact="color:#2b2828;font-weight:bold;font-size:16px;";var puxLink="https://www.puxdesign.cz";console.info("%cPuxdesign\n%cTato funkce prohlížeče je určena pro vývojáře. Veškeré zásahy a externí scripty mohou narušit chod webu.\n%cV případě zájmu nás prosím kontaktujte "+puxLink,title,text,contact),pux=window.pux||{},sencor=window.sencor||{},sencor.initComponents=function(){sencor.base.init(),sencor.modules.init(),sencor.design.init(),sencor.plugins.init(),sencor.ui.init(),sencor.search.init(),sencor.documentTagger.init()},sencor.loadComponents=function(){sencor.base.load(),sencor.modules.load(),sencor.design.load(),sencor.plugins.load(),sencor.ui.load()},sencor.scrollComponents=function(){sencor.base.scroll(),sencor.modules.scroll(),sencor.design.scroll(),sencor.plugins.scroll(),sencor.ui.scroll()},sencor.resizeComponents=function(){sencor.base.resize(),sencor.modules.resize(),sencor.design.resize(),sencor.plugins.resize(),sencor.ui.resize()},sencor.afterFormComponents=function(){sencor.base.ajax(),sencor.modules.ajax(),sencor.design.ajax(),sencor.plugins.ajax(),sencor.ui.ajax()},sencor.initComponents(),$doit=0,$(window).resize((function(){clearTimeout($doit),$doit=setTimeout(sencor.resizeComponents(),100)})),$(window).on("load",(function(){sencor.loadComponents()})),$(document).scroll((function(){sencor.scrollComponents()})),window.infiniteRepeaterConfig&&pagerequirejs(["slick","inifinityRepeater"],(function(){sencor.repeater=pux.components.infiniteRepeater(window.infiniteRepeaterConfig)})),pux.ajax.onAfterRequest(sencor.afterFormComponents),pux.reinit=function(){sencor.initComponents(),pux.lazyload.refresh()};;
