PageSourceSearch

https://smartwood.de/themes/at_fashionstyle/assets/cache/bottom-ccc1716241.js

js smartwood.de collected 2026-10-08 07:36:00 UTC 1,034,354 bytes, 1,870 lines download raw bytes

1(()=>{var e,t,n,r,o={333:(e,t,n)=>{var r,o,i;
2/*!
3 * https://github.com/PrestaShop/jquery.live-polyfill
4 *
5 * Released under the MIT license
6 */o=[n(204)],void 0===(i="function"==typeof(r=function(e){var t=e.fn.init;e.fn.init=function(e){var n=Array.prototype.slice.call(arguments);"string"==typeof e&&"#"===e&&(console.warn("jQuery('#') is not a valid selector"),n[0]=[]);var r=t.apply(this,arguments);return r.selector="string"==typeof e?e:"",r},e.fn.init.prototype=e.fn,void 0!==e.fn.live&&e.isFunction(e.fn.live)||e.fn.extend({live:function(t,n,r){return this.selector&&e(document).on(t,this.selector,n,r),console.warn("jQuery.live() has been removed since jquery v1.9, please use jQuery.on() instead."),this}})})?r.apply(t,o):r)||(e.exports=i)},290:(e,t,n)=>{var r,o;
7/*!
8 * jQuery Migrate - v3.1.0 - 2019-06-08
9 * Copyright OpenJS Foundation and other contributors
10 */r=[n(204)],void 0===(o=function(e){return function(e,t){"use strict";function n(e,t){for(var n=/^(\d+)\.(\d+)\.(\d+)/,r=n.exec(e)||[],o=n.exec(t)||[],i=1;i<=3;i++){if(+r[i]>+o[i])return 1;if(+r[i]<+o[i])return-1}return 0}function r(t){return n(e.fn.jquery,t)>=0}e.migrateVersion="3.1.0",t.console&&t.console.log&&(e&&r("3.0.0")||t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),e.migrateWarnings&&t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),t.console.log("JQMIGRATE: Migrate is installed"+(e.migrateMute?"":" with logging active")+", version "+e.migrateVersion));var o={};function i(n){var r=t.console;o[n]||(o[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(e,t,n,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return i(r),n},set:function(e){i(r),n=e}})}function s(e,t,n,r){e[t]=function(){return i(r),n.apply(this,arguments)}}e.migrateWarnings=[],void 0===e.migrateTrace&&(e.migrateTrace=!0),e.migrateReset=function(){o={},e.migrateWarnings.length=0},"BackCompat"===t.document.compatMode&&i("jQuery is not compatible with Quirks Mode");var c,u=e.fn.init,l=e.isNumeric,d=e.find,p=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,f=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;for(c in e.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(i("jQuery( '#' ) is not a valid selector"),t[0]=[]),u.apply(this,t)},e.fn.init.prototype=e.fn,e.find=function(e){var n=Array.prototype.slice.call(arguments);if("string"==typeof e&&p.test(e))try{t.document.querySelector(e)}catch(r){e=e.replace(f,(function(e,t,n,r){return"["+t+n+'"'+r+'"]'}));try{t.document.querySelector(e),i("Attribute selector with '#' must be quoted: "+n[0]),n[0]=e}catch(e){i("Attribute selector with '#' was not fixed: "+n[0])}}return d.apply(this,n)},d)Object.prototype.hasOwnProperty.call(d,c)&&(e.find[c]=d[c]);e.fn.size=function(){return i("jQuery.fn.size() is deprecated and removed; use the .length property"),this.length},e.parseJSON=function(){return i("jQuery.parseJSON is deprecated; use JSON.parse"),JSON.parse.apply(null,arguments)},e.isNumeric=function(t){function n(t){var n=t&&t.toString();return!e.isArray(t)&&n-parseFloat(n)+1>=0}var r=l(t),o=n(t);return r!==o&&i("jQuery.isNumeric() should not be called on constructed objects"),o},r("3.3.0")&&s(e,"isWindow",(function(e){return null!=e&&e===e.window}),"jQuery.isWindow() is deprecated"),s(e,"holdReady",e.holdReady,"jQuery.holdReady is deprecated"),s(e,"unique",e.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort"),a(e.expr,"filters",e.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),a(e.expr,":",e.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),r("3.2.0")&&s(e,"nodeName",e.nodeName,"jQuery.nodeName is deprecated");var h=e.ajax;e.ajax=function(){var e=h.apply(this,arguments);return e.promise&&(s(e,"success",e.done,"jQXHR.success is deprecated and removed"),s(e,"error",e.fail,"jQXHR.error is deprecated and removed"),s(e,"complete",e.always,"jQXHR.complete is deprecated and removed")),e};var m=e.fn.removeAttr,v=e.fn.toggleClass,g=/\S+/g;e.fn.removeAttr=function(t){var n=this;return e.each(t.match(g),(function(t,r){e.expr.match.bool.test(r)&&(i("jQuery.fn.removeAttr no longer sets boolean properties: "+r),n.prop(r,!1))})),m.apply(this,arguments)},e.fn.toggleClass=function(t){return void 0!==t&&"boolean"!=typeof t?v.apply(this,arguments):(i("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each((function(){var n=this.getAttribute&&this.getAttribute("class")||"";n&&e.data(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":e.data(this,"__className__")||"")})))};var y=!1;e.swap&&e.each(["height","width","reliableMarginRight"],(function(t,n){var r=e.cssHooks[n]&&e.cssHooks[n].get;r&&(e.cssHooks[n].get=function(){var e;return y=!0,e=r.apply(this,arguments),y=!1,e})})),e.swap=function(e,t,n,r){var o,a,s={};for(a in y||i("jQuery.swap() is undocumented and deprecated"),t)s[a]=e.style[a],e.style[a]=t[a];for(a in o=n.apply(e,r||[]),t)e.style[a]=s[a];return o};var b=e.data;e.data=function(t,n,r){var o;if(n&&"object"==typeof n&&2===arguments.length){o=e.hasData(t)&&b.call(this,t);var a={};for(var s in n)s!==e.camelCase(s)?(i("jQuery.data() always sets/gets camelCased names: "+s),o[s]=n[s]):a[s]=n[s];return b.call(this,t,a),n}return n&&"string"==typeof n&&n!==e.camelCase(n)&&(o=e.hasData(t)&&b.call(this,t))&&n in o?(i("jQuery.data() always sets/gets camelCased names: "+n),arguments.length>2&&(o[n]=r),o[n]):b.apply(this,arguments)};var x=e.Tween.prototype.run,w=function(e){return e};e.Tween.prototype.run=function(){e.easing[this.easing].length>1&&(i("'jQuery.easing."+this.easing.toString()+"' should use only one argument"),e.easing[this.easing]=w),x.apply(this,arguments)};var k=e.fx.interval||13,C="jQuery.fx.interval is deprecated";t.requestAnimationFrame&&Object.defineProperty(e.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return t.document.hidden||i(C),k},set:function(e){i(C),k=e}});var j=e.fn.load,T=e.event.add,S=e.event.fix;e.event.props=[],e.event.fixHooks={},a(e.event.props,"concat",e.event.props.concat,"jQuery.event.props.concat() is deprecated and removed"),e.event.fix=function(t){var n,r=t.type,o=this.fixHooks[r],a=e.event.props;if(a.length)for(i("jQuery.event.props are deprecated and removed: "+a.join());a.length;)e.event.addProp(a.pop());if(o&&!o._migrated_&&(o._migrated_=!0,i("jQuery.event.fixHooks are deprecated and removed: "+r),(a=o.props)&&a.length))for(;a.length;)e.event.addProp(a.pop());return n=S.call(this,t),o&&o.filter?o.filter(n,t):n},e.event.add=function(e,n){return e===t&&"load"===n&&"complete"===t.document.readyState&&i("jQuery(window).on('load'...) called after load event occurred"),T.apply(this,arguments)},e.each(["load","unload","error"],(function(t,n){e.fn[n]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===n&&"string"==typeof e[0]?j.apply(this,e):(i("jQuery.fn."+n+"() is deprecated"),e.splice(0,0,n),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}})),e.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(t,n){e.fn[n]=function(e,t){return i("jQuery.fn."+n+"() event shorthand is deprecated"),arguments.length>0?this.on(n,null,e,t):this.trigger(n)}})),e((function(){e(t.document).triggerHandler("ready")})),e.event.special.ready={setup:function(){this===t.document&&i("'ready' event is deprecated")}},e.fn.extend({bind:function(e,t,n){return i("jQuery.fn.bind() is deprecated"),this.on(e,null,t,n)},unbind:function(e,t){return i("jQuery.fn.unbind() is deprecated"),this.off(e,null,t)},delegate:function(e,t,n,r){return i("jQuery.fn.delegate() is deprecated"),this.on(t,e,n,r)},undelegate:function(e,t,n){return i("jQuery.fn.undelegate() is deprecated"),1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return i("jQuery.fn.hover() is deprecated"),this.on("mouseenter",e).on("mouseleave",t||e)}});var A=e.fn.offset;e.fn.offset=function(){var n,r=this[0],o={top:0,left:0};return r&&r.nodeType?(n=(r.ownerDocument||t.document).documentElement,e.contains(n,r)?A.apply(this,arguments):(i("jQuery.fn.offset() requires an element connected to a document"),o)):(i("jQuery.fn.offset() requires a valid DOM element"),o)};var E=e.param;e.param=function(t,n){var r=e.ajaxSettings&&e.ajaxSettings.traditional;return void 0===n&&r&&(i("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),n=r),E.call(this,t,n)};var N=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return i("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),N.apply(this,arguments)};var q=e.Deferred,D=[["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),"rejected"],["notify","progress",e.Callbacks("memory"),e.Callbacks("memory")]];return e.Deferred=function(t){var n=q(),r=n.promise();return n.pipe=r.pipe=function(){var t=arguments;return i("deferred.pipe() is deprecated"),e.Deferred((function(o){e.each(D,(function(i,a){var s=e.isFunction(t[i])&&t[i];n[a[1]]((function(){var t=s&&s.apply(this,arguments);t&&e.isFunction(t.promise)?t.promise().done(o.resolve).fail(o.reject).progress(o.notify):o[a[0]+"With"](this===r?o.promise():this,s?[t]:arguments)}))})),t=null})).promise()},t&&t.call(n,n),n},e.Deferred.exceptionHook=q.exceptionHook,e}(e,window)}.apply(t,r))||(e.exports=o)},768:(e,t,n)=>{var r,o;
11/*!
12 * jQuery Browser Plugin 0.1.0
13 * https://github.com/gabceb/jquery-browser-plugin
14 *
15 * Original jquery-browser code Copyright 2005, 2015 jQuery Foundation, Inc. and other contributors
16 * http://jquery.org/license
17 *
18 * Modifications Copyright 2015 Gabriel Cebrian
19 * https://github.com/gabceb
20 *
21 * Released under the MIT license
22 *
23 * Date: 05-07-2015
24 */r=[n(204)],void 0===(o=function(e){return function(e){"use strict";function t(e){void 0===e&&(e=window.navigator.userAgent),e=e.toLowerCase();var t=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],n=/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[],r={},o={browser:t[5]||t[3]||t[1]||"",version:t[2]||t[4]||"0",versionNumber:t[4]||t[2]||"0",platform:n[0]||""};if(o.browser&&(r[o.browser]=!0,r.version=o.version,r.versionNumber=parseInt(o.versionNumber,10)),o.platform&&(r[o.platform]=!0),(r.android||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"])&&(r.mobile=!0),(r.cros||r.mac||r.linux||r.win)&&(r.desktop=!0),(r.chrome||r.opr||r.safari)&&(r.webkit=!0),r.rv||r.iemobile){var i="msie";o.browser=i,r[i]=!0}if(r.edge){delete r.edge;var a="msedge";o.browser=a,r[a]=!0}if(r.safari&&r.blackberry){var s="blackberry";o.browser=s,r[s]=!0}if(r.safari&&r.playbook){var c="playbook";o.browser=c,r[c]=!0}if(r.bb){var u="blackberry";o.browser=u,r[u]=!0}if(r.opr){var l="opera";o.browser=l,r[l]=!0}if(r.safari&&r.android){var d="android";o.browser=d,r[d]=!0}if(r.safari&&r.kindle){var p="kindle";o.browser=p,r[p]=!0}if(r.safari&&r.silk){var f="silk";o.browser=f,r[f]=!0}return r.name=o.browser,r.platform=o.platform,r}return window.jQBrowser=t(window.navigator.userAgent),window.jQBrowser.uaMatch=t,e&&(e.browser=window.jQBrowser),window.jQBrowser}(e)}.apply(t,r))||(e.exports=o)},204:function(e,t){var n;
25/*!
26 * jQuery JavaScript Library v3.5.1
27 * https://jquery.com/
28 *
29 * Includes Sizzle.js
30 * https://sizzlejs.com/
31 *
32 * Copyright JS Foundation and other contributors
33 * Released under the MIT license
34 * https://jquery.org/license
35 *
36 * Date: 2020-05-04T22:49Z
37 */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},u=i.push,l=i.indexOf,d={},p=d.toString,f=d.hasOwnProperty,h=f.toString,m=h.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window}
vendor: 5,879 bytes, line 37
37,b=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in x)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function k(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var C="3.5.1",j=function(e,t){return new j.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,n=k(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}j.fn=j.prototype={jquery:C,constructor:j,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=j.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return j.each(this,e)},map:function(e){return this.pushStack(j.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(j.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(j.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:i.sort,splice:i.splice},j.extend=j.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(j.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||j.isPlainObject(n)?n:{},o=!1,a[t]=j.extend(u,i,r)):void 0!==r&&(a[t]=r));return a},j.extend({expando:"jQuery"+(C+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]"!==p.call(e))&&(!(t=a(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(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))?j.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(T(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return c(a)},guid:1,support:v}),"function"==typeof Symbol&&(j.fn[Symbol.iterator]=i[Symbol.iterator]),j.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var S=function(e){var t,n,r,o,i,a,s,c,u,l,d,p,f,h,m,v,g,y,b,x="sizzle"+1*new Date,w=e.document,k=0,C=0,j=ce(),T=ce(),S=ce(),A=ce(),E=function(e,t){return e===t&&(d=!0),0},N={}.hasOwnProperty,q=[],D=q.pop,O=q.push,_=q.push,P=q.slice,L=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},$="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\[[\\x20\\t\\r\\n\\f]*("+R+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+H+"*\\]",M=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",W=new RegExp(H+"+","g"),F=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),B=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),Q=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),z=new RegExp(H+"|>"),U=new RegExp(M),X=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+$+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\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,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){p()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{_.apply(q=P.call(w.childNodes),w.childNodes),q[w.childNodes.length].nodeType}catch(e){_={apply:q.length?function(e,t){O.apply(e,P.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,o){var i,s,u,l,d,h,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;
vendor: 5,583 bytes, line 37
37if(!o&&(p(t),t=t||f,m)){if(11!==w&&(d=Z.exec(e)))if(i=d[1]){if(9===w){if(!(u=t.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(y&&(u=y.getElementById(i))&&b(t,u)&&u.id===i)return r.push(u),r}else{if(d[2])return _.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return _.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!A[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(z.test(e)||Q.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,oe):t.setAttribute("id",l=x)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+be(h[s]);g=h.join(",")}try{return _.apply(r,y.querySelectorAll(g)),r}catch(t){A(e,!0)}finally{l===x&&t.removeAttribute("id")}}}return c(e.replace(F,"$1"),t,r,o)}function ce(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ue(e){return e[x]=!0,e}function le(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=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 fe(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 me(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 ue((function(t){return t=+t,ue((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!G.test(t||n&&n.nodeName||"HTML")},p=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=f&&9===a.nodeType&&a.documentElement?(h=(f=a).documentElement,m=!i(f),w!=f&&(o=f.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=le((function(e){return h.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(f.getElementsByClassName),n.getById=le((function(e){return h.appendChild(e).id=x,!f.getElementsByName||!f.getElementsByName(x).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&&m){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&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}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=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=K.test(f.querySelectorAll))&&(le((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+$+")"),e.querySelectorAll("[id~="+x+"-]").length||v.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),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(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",M)}
vendor: 14,021 bytes, line 37
37)),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=K.test(h.compareDocumentPosition),b=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},E=t?function(e,t){if(e===t)return d=!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==f||e.ownerDocument==w&&b(w,e)?-1:t==f||t.ownerDocument==w&&b(w,t)?1:l?L(l,e)-L(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==f?-1:t==f?1:o?-1:i?1:l?L(l,e)-L(l,t):0;if(o===i)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},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&m&&!A[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){A(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&p(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&p(e);var o=r.attrHandle[t.toLowerCase()],i=o&&N.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(E),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return l=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ue,match:V,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 V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.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=j[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+H+"|$)"))&&j(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 o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(W," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var u,l,d,p,f,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(v){if(i){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(f=(u=(l=(d=(p=v)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===k&&u[1])&&u[2],p=f&&v.childNodes[f];p=++f&&p&&p[m]||(b=f=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){l[e]=[k,f,b];break}}else if(y&&(b=f=(u=(l=(d=(p=t)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===k&&u[1]),!1===b)for(;(p=++f&&p&&p[m]||(b=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++b||(y&&((l=(d=p[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[k,b]),p!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=L(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ue((function(e){var t=[],n=[],r=s(e.replace(F,"$1"));return r[x]?ue((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ue((function(e){return X.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?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===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!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 Y.test(e.nodeName)},input:function(e){return J.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:n>t?t:n;--r>=0;)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]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=C++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,c){var u,l,d,p=[k,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=(d=t[x]||(t[x]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=l[i])&&u[0]===k&&u[1]===s)return p[2]=u[2];if(l[i]=p,p[2]=e(t,n,c))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function ke(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,u=null!=t;s<c;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function Ce(e,t,n,r,o,i){return r&&!r[x]&&(r=Ce(r)),o&&!o[x]&&(o=Ce(o,i)),ue((function(i,a,s,c){var u,l,d,p=[],f=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!i&&t?m:ke(m,p,e,s,c),g=n?o||(i?e:h||r)?[]:a:v;if(n&&n(v,g,s,c),r)for(u=ke(g,f),r(u,[],s,c),l=u.length;l--;)(d=u[l])&&(g[f[l]]=!(v[f[l]]=d));if(i){if(o||e){if(o){for(u=[],l=g.length;l--;)(d=g[l])&&u.push(v[l]=d);o(null,g=[],u,c)}for(l=g.length;l--;)(d=g[l])&&(u=o?L(i,d):p[l])>-1&&(i[u]=!(a[u]=d))}}else g=ke(g===a?g.splice(h,g.length):g),o?o(null,a,g,c):_.apply(a,g)}))}function je(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,l=xe((function(e){return e===t}),s,!0),d=xe((function(e){return L(t,e)>-1}),s,!0),p=[function(e,n,r){var o=!a&&(r||n!==u)||((t=n).nodeType?l(e,n,r):d(e,n,r));return t=null,o}];c<i;c++)if(n=r.relative[e[c].type])p=[xe(we(p),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[x]){for(o=++c;o<i&&!r.relative[e[o].type];o++);return Ce(c>1&&we(p),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(F,"$1"),n,c<o&&je(e.slice(c,o)),o<i&&je(e=e.slice(o)),o<i&&be(e))}p.push(n)}return we(p)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,c,u,l=T[e+" "];if(l)return t?0:l.slice(0);for(s=e,c=[],u=r.preFilter;s;){for(a in n&&!(o=B.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),n=!1,(o=Q.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(F," ")}),s=s.slice(n.length)),r.filter)!(o=V[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):T(e,c).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=S[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=je(t[n]))[x]?o.push(s):i.push(s);(s=S(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,c,l){var d,h,v,g=0,y="0",b=i&&[],x=[],w=u,C=i||o&&r.find.TAG("*",l),j=k+=null==w?1:Math.random()||.1,T=C.length;for(l&&(u=a==f||a||l);y!==T&&null!=(d=C[y]);y++){if(o&&d){for(h=0,a||d.ownerDocument==f||(p(d),s=!m);v=e[h++];)if(v(d,a||f,s)){c.push(d);break}l&&(k=j)}n&&((d=!v&&d)&&g--,i&&b.push(d))}if(g+=y,n&&y!==g){for(h=0;v=t[h++];)v(b,x,a,s);if(i){if(g>0)for(;y--;)b[y]||x[y]||(x[y]=D.call(c));x=ke(x)}_.apply(c,x),l&&!i&&x.length>0&&g+t.length>1&&se.uniqueSort(c)}return l&&(k=j,u=w),b};return n?ue(i):i}(i,o))).selector=e}return s},c=se.select=function(e,t,n,o){var i,c,u,l,d,p="function"==typeof e&&e,f=!o&&a(e=p.selector||e);if(n=n||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(i=V.needsContext.test(e)?0:c.length;i--&&(u=c[i],!r.relative[l=u.type]);)if((d=r.find[l])&&(o=d(u.matches[0].replace(te,ne),ee.test(c[0].type)&&ge(t.parentNode)||t))){if(c.splice(i,1),!(e=o.length&&be(c)))return _.apply(n,o),n;break}}return(p||s(e,f))(o,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=x.split("").sort(E).join("")===x,n.detectDuplicates=!!d,p(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||de($,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);j.find=S,j.expr=S.selectors,j.expr[":"]=j.expr.pseudos,j.uniqueSort=j.unique=S.uniqueSort,j.text=S.getText,j.isXMLDoc=S.isXML,j.contains=S.contains,j.escapeSelector=S.escape;var A=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&j(e).is(n))break;r.push(e)}return r},E=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=j.expr.match.needsContext;function q(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return g(t)?j.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?j.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?j.grep(e,(function(e){return l.call(t,e)>-1!==n})):j.filter(t,e,n)}j.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?j.find.matchesSelector(r,e)?[r]:[]:j.find.matches(e,j.grep(t,(function(e){return 1===e.nodeType})))},j.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(j(e).filter((function(){for(t=0;t<r;t++)if(j.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)j.find(e,o[t],n);return r>1?j.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"==typeof e&&N.test(e)?j(e):e||[],!1).length}});var _,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(j.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||_,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.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 j?t[0]:t,j.merge(this,j.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),D.test(r[1])&&j.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}
vendor: 4,280 bytes, line 37
37return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(j):j.makeArray(e,this)}).prototype=j.fn,_=j(b);var L=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function H(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}j.fn.extend({has:function(e){var t=j(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(j.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&j(e);if(!N.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&j.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?j.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?l.call(j(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(j.uniqueSort(j.merge(this.get(),j(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),j.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return A(e,"parentNode")},parentsUntil:function(e,t,n){return A(e,"parentNode",n)},next:function(e){return H(e,"nextSibling")},prev:function(e){return H(e,"previousSibling")},nextAll:function(e){return A(e,"nextSibling")},prevAll:function(e){return A(e,"previousSibling")},nextUntil:function(e,t,n){return A(e,"nextSibling",n)},prevUntil:function(e,t,n){return A(e,"previousSibling",n)},siblings:function(e){return E((e.parentNode||{}).firstChild,e)},children:function(e){return E(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(q(e,"template")&&(e=e.content||e),j.merge([],e.childNodes))}},(function(e,t){j.fn[e]=function(n,r){var o=j.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=j.filter(r,o)),this.length>1&&($[e]||j.uniqueSort(o),L.test(e)&&o.reverse()),this.pushStack(o)}}));var R=/[^\x20\t\r\n\f]+/g;function I(e){return e}function M(e){throw e}function W(e,t,n,r){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(n):e&&g(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}j.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return j.each(e.match(R)||[],(function(e,n){t[n]=!0})),t}(e):j.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){j.each(n,(function(n,r){g(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==k(r)&&t(r)}))}(arguments),n&&!t&&c()),this},remove:function(){return j.each(arguments,(function(e,t){for(var n;(n=j.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?j.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},j.extend({Deferred:function(e){var t=[["notify","progress",j.Callbacks("memory"),j.Callbacks("memory"),2],["resolve","done",j.Callbacks("once memory"),j.Callbacks("once memory"),0,"resolved"],["reject","fail",j.Callbacks("once memory"),j.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return j.Deferred((function(n){j.each(t,(function(t,r){var o=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,c=arguments,u=function(){var r,u;if(!(e<i)){if((r=n.apply(s,c))===t.promise())throw new TypeError("Thenable self
37-resolution");u=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(u)?o?u.call(r,a(i,t,I,o),a(i,t,M,o)):(i++,u.call(r,a(i,t,I,o),a(i,t,M,o),a(i,t,I,t.notifyWith))):(n!==I&&(s=void 0,c=[r]),(o||t.resolveWith)(s,c))}},l=o?u:function(){try{u()}catch(r){j.Deferred.exceptionHook&&j.Deferred.exceptionHook(r,l.stackTrace),e+1>=i&&(n!==M&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?l():(j.Deferred.getStackHook&&(l.stackTrace=j.Deferred.getStackHook()),r.setTimeout(l))}}return j.Deferred((function(r){t[0][3].add(a(0,r,g(o)?o:I,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:I)),t[2][3].add(a(0,r,g(n)?n:M))})).promise()},promise:function(e){return null!=e?j.extend(e,o):o}},i={};return j.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=j.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(W(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||g(o[n]&&o[n].then)))return i.then();for(;n--;)W(o[n],a(n),i.reject);return i.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;j.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&F.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},j.readyException=function(e){r.setTimeout((function(){throw e}))};var B=j.Deferred();function Q(){b.removeEventListener("DOMContentLoaded",Q),r.removeEventListener("load",Q),j.ready()}j.fn.ready=function(e){return B.then(e).catch((function(e){j.readyException(e)})),this},j.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--j.readyWait:j.isReady)||(j.isReady=!0,!0!==e&&--j.readyWait>0||B.resolveWith(b,[j]))}}),j.ready.then=B.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(j.ready):(b.addEventListener("DOMContentLoaded",Q),r.addEventListener("load",Q));var z=function(e,t,n,r,o,i,a){var s=0,c=e.length,u=null==n;if("object"===k(n))for(s in o=!0,n)z(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,g(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(j(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):c?t(e[0],n):i},U=/^-ms-/,X=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(U,"ms-").replace(X,V)}var J=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Y(){this.expando=j.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(e){var t=e[this.expando];return t||(t={},J(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[G(t)]=n;else for(r in t)o[G(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(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(G):(t=G(t))in r?[t]:t.match(R)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||j.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&&!j.isEmptyObject(t)}};var K=new Y,Z=new Y,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}Z.set(e,t,n)}else n=void 0;return n}j.extend({hasData:function(e){return Z.hasData(e)||K.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),j.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Z.get(i),1===i.nodeType&&!K.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(i,r,o[r]));K.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){Z.set(this,e)})):z(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=Z.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){Z.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),j.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=K.get(e,t),n&&(!r||Array.isArray(n)?r=K.access(e,t,j.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=j.queue(e,t),r=n.length,o=n.shift(),i=j._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){j.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:j.Callbacks("once memory").add((function(){K.remove(e,[t+"queue",n])}))})}}),j.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?j.queue(this[0],e):void 0===t?this:this.each((function(){var n=j.queue(this,e,t);j._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&j.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){j.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=j.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=K.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return j.contains(e.ownerDocument,e)},ce={composed:!0};ae.getRootNode&&(se=function(e){return j.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===j.css(e,"display")};function le(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return j.css(e,t,"")},c=s(),u=n&&n[3]||(j.cssNumber[t]?"":"px"),l=e.nodeType&&(j.cssNumber[t]||"px"!==u&&+c)&&oe.exec(j.css(e,t));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;a--;
vendor: 5,302 bytes, line 37
37)j.style(e,t,l+u),(1-i)*(1-(i=s()/c||.5))<=0&&(a=0),l/=i;l*=2,j.style(e,t,l+u),n=n||[]}return n&&(l=+l||+c||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=o)),o}var de={};function pe(e){var t,n=e.ownerDocument,r=e.nodeName,o=de[r];return o||(t=n.body.appendChild(n.createElement(r)),o=j.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),de[r]=o,o)}function fe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=K.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ue(r)&&(o[i]=pe(r))):"none"!==n&&(o[i]="none",K.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}j.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ue(this)?j(this).show():j(this).hide()}))}});var he,me,ve=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(me=b.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),v.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",v.option=!!he.lastChild;var be={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 xe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&q(e,t)?j.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,v.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var ke=/<|&#?\w+;/;function Ce(e,t,n,r,o){for(var i,a,s,c,u,l,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((i=e[f])||0===i)if("object"===k(i))j.merge(p,i.nodeType?[i]:i);else if(ke.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),c=be[s]||be._default,a.innerHTML=c[1]+j.htmlPrefilter(i)+c[2],l=c[0];l--;)a=a.lastChild;j.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(i));for(d.textContent="",f=0;i=p[f++];)if(r&&j.inArray(i,r)>-1)o&&o.push(i);else if(u=se(i),a=xe(d.appendChild(i),"script"),u&&we(a),n)for(l=0;i=a[l++];)ye.test(i.type||"")&&n.push(i);return d}var je=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Se=/^([^.]*)(?:\.(.+)|)/;function Ae(){return!0}function Ee(){return!1}function Ne(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function qe(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)qe(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ee;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return j().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=j.guid++)),e.each((function(){j.event.add(this,t,o,r,n)}))}function De(e,t,n){n?(K.set(e,t,!1),j.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=K.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(j.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),K.set(this,t,i),r=n(this,t),this[t](),i!==(o=K.get(this,t))||r?K.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else i.length&&(K.set(this,t,{value:j.event.trigger(j.extend(i[0],j.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&j.event.add(e,t,Ae)}j.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,u,l,d,p,f,h,m,v=K.get(e);if(J(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&j.find.matchesSelector(ae,o),n.guid||(n.guid=j.guid++),(c=v.events)||(c=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==j&&j.event.triggered!==t.type?j.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(R)||[""]).length;u--;)f=m=(s=Se.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=j.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=j.event.special[f]||{},l=j.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&j.expr.match.needsContext.test(o),namespace:h.join(".")},i),(p=c[f])||((p=c[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,l):p.push(l),j.event.global[f]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,u,l,d,p,f,h,m,v=K.hasData(e)&&K.get(e);if(v&&(c=v.events)){for(u=(t=(t||"").match(R)||[""]).length;u--;)if(f=m=(s=Se.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=j.event.special[f]||{},p=c[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;
vendor: 4,297 bytes, line 37
37)l=p[i],!o&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(i,1),l.selector&&p.delegateCount--,d.remove&&d.remove.call(e,l));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,v.handle)||j.removeEvent(e,f,v.handle),delete c[f])}else for(f in c)j.event.remove(e,f+t[u],n,r,!0);j.isEmptyObject(c)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=j.event.fix(e),u=(K.get(this,"events")||Object.create(null))[c.type]||[],l=j.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,c)){for(a=j.event.handlers.call(this,c,u),t=0;(o=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==i.namespace&&!c.rnamespace.test(i.namespace)||(c.handleObj=i,c.data=i.data,void 0!==(r=((j.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,o,i,a,s=[],c=t.delegateCount,u=e.target;if(c&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},n=0;n<c;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?j(o,this).index(u)>-1:j.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,c<t.length&&s.push({elem:u,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(j.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(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[j.expando]?e:new j.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ve.test(t.type)&&t.click&&q(t,"input")&&De(t,"click",Ae),!1},trigger:function(e){var t=this||e;return ve.test(t.type)&&t.click&&q(t,"input")&&De(t,"click"),!0},_default:function(e){var t=e.target;return ve.test(t.type)&&t.click&&q(t,"input")&&K.get(t,"click")||q(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},j.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},j.Event=function(e,t){if(!(this instanceof j.Event))return new j.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ae: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&&j.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[j.expando]=!0},j.Event.prototype={constructor:j.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ae,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ae,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ae,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},j.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&&je.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},j.event.addProp),j.each({focus:"focusin",blur:"focusout"},(function(e,t){j.event.special[e]={setup:function(){return De(this,e,Ne),!1},trigger:function(){return De(this,e),!0},delegateType:t}}
vendor: 3,030 bytes, line 37
37)),j.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){j.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||j.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),j.fn.extend({on:function(e,t,n,r){return qe(this,e,t,n,r)},one:function(e,t,n,r){return qe(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,j(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each((function(){j.event.remove(this,e,n,t)}))}});var Oe=/<script|<style|<link/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return q(e,"table")&&q(11!==t.nodeType?t:t.firstChild,"tr")&&j(e).children("tbody")[0]||e}function $e(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 Re(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(o in K.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)j.event.add(t,o,s[o][n]);Z.hasData(e)&&(i=Z.access(e),a=j.extend({},i),Z.set(t,a))}}function Ie(e,t,n,r){t=c(t);var o,i,a,s,u,l,d=0,p=e.length,f=p-1,h=t[0],m=g(h);if(m||p>1&&"string"==typeof h&&!v.checkClone&&_e.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),Ie(i,t,n,r)}));if(p&&(i=(o=Ce(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=j.map(xe(o,"script"),$e)).length;d<p;d++)u=o,d!==f&&(u=j.clone(u,!0,!0),s&&j.merge(a,xe(u,"script"))),n.call(e[d],u,d);if(s)for(l=a[a.length-1].ownerDocument,j.map(a,He),d=0;d<s;d++)u=a[d],ye.test(u.type||"")&&!K.access(u,"globalEval")&&j.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?j._evalUrl&&!u.noModule&&j._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):w(u.textContent.replace(Pe,""),u,l))}return e}function Me(e,t,n){for(var r,o=t?j.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||j.cleanData(xe(r)),r.parentNode&&(n&&se(r)&&we(xe(r,"script")),r.parentNode.removeChild(r));return e}j.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s,c,u,l=e.cloneNode(!0),d=se(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||j.isXMLDoc(e)))for(a=xe(l),r=0,o=(i=xe(e)).length;r<o;r++)s=i[r],c=a[r],u=void 0,"input"===(u=c.nodeName.toLowerCase())&&ve.test(s.type)?c.checked=s.checked:"input"!==u&&"textarea"!==u||(c.defaultValue=s.defaultValue);if(t)if(n)for(i=i||xe(e),a=a||xe(l),r=0,o=i.length;r<o;r++)Re(i[r],a[r]);else Re(e,l);return(a=xe(l,"script")).length>0&&we(a,!d&&xe(e,"script")),l},cleanData:function(e){for(var t,n,r,o=j.event.special,i=0;void 0!==(n=e[i]);
vendor: 4,388 bytes, line 37
37i++)if(J(n)){if(t=n[K.expando]){if(t.events)for(r in t.events)o[r]?j.event.remove(n,r):j.removeEvent(n,r,t.handle);n[K.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),j.fn.extend({detach:function(e){return Me(this,e,!0)},remove:function(e){return Me(this,e)},text:function(e){return z(this,(function(e){return void 0===e?j.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 Ie(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)}))},prepend:function(){return Ie(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ie(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ie(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&&(j.cleanData(xe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return j.clone(this,e,t)}))},html:function(e){return z(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&&!Oe.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=j.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(j.cleanData(xe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ie(this,arguments,(function(t){var n=this.parentNode;j.inArray(this,e)<0&&(j.cleanData(xe(this)),n&&n.replaceChild(t,this))}),e)}}),j.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){j.fn[e]=function(e){for(var n,r=[],o=j(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),j(o[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}}));var We=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Be=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Qe=new RegExp(ie.join("|"),"i");function ze(e,t,n){var r,o,i,a,s=e.style;return(n=n||Fe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=j.style(e,t)),!v.pixelBoxStyles()&&We.test(a)&&Qe.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(u).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,c=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),o=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),ae.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,c,u=b.createElement("div"),l=b.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,j.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height)>3,ae.removeChild(e)),s}}))}();var Xe=["Webkit","Moz","ms"],Ve=b.createElement("div").style,Ge={};function Je(e){var t=j.cssProps[e]||Ge[e];return t||(e in Ve?e:Ge[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Xe.length;n--;)if((e=Xe[n]+t)in Ve)return e}(e)||e)}
vendor: 5,064 bytes, line 37
37var Ye=/^(none|table(?!-c[ea]).+)/,Ke=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function nt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=j.css(e,n+ie[a],!0,o)),r?("content"===n&&(c-=j.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(c-=j.css(e,"border"+ie[a]+"Width",!0,o))):(c+=j.css(e,"padding"+ie[a],!0,o),"padding"!==n?c+=j.css(e,"border"+ie[a]+"Width",!0,o):s+=j.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c}function rt(e,t,n){var r=Fe(e),o=(!v.boxSizingReliable()||n)&&"border-box"===j.css(e,"boxSizing",!1,r),i=o,a=ze(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&q(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===j.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===j.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+nt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function ot(e,t,n,r,o){return new ot.prototype.init(e,t,n,r,o)}j.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(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 o,i,a,s=G(t),c=Ke.test(t),u=e.style;if(c||(t=Je(s)),a=j.cssHooks[t]||j.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=le(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=o&&o[3]||(j.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,a,s=G(t);return Ke.test(t)||(t=Je(s)),(a=j.cssHooks[t]||j.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=ze(e,t,r)),"normal"===o&&t in et&&(o=et[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),j.each(["height","width"],(function(e,t){j.cssHooks[t]={get:function(e,n,r){if(n)return!Ye.test(j.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?rt(e,t,r):Be(e,Ze,(function(){return rt(e,t,r)}))},set:function(e,n,r){var o,i=Fe(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===j.css(e,"boxSizing",!1,i),c=r?nt(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-nt(e,t,"border",!1,i)-.5)),c&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=j.css(e,t)),tt(0,n,c)}}})),j.cssHooks.marginLeft=Ue(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Be(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),j.each({margin:"",padding:"",border:"Width"},(function(e,t){j.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(j.cssHooks[e+t].set=tt)})),j.fn.extend({css:function(e,t){return z(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Fe(e),o=t.length;a<o;a++)i[t[a]]=j.css(e,t[a],!1,r);return i}return void 0!==n?j.style(e,t,n):j.css(e,t)}),e,t,arguments.length>1)}}),j.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||j.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(j.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=j.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):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.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=j.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){j.fx.step[e.prop]?j.fx.step[e.prop](e):1!==e.elem.nodeType||!j.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:j.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},j.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},j.fx=ot.prototype.init,j.fx.step={};
vendor: 2,761 bytes, line 37
37var it,at,st=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function ut(){at&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ut):r.setTimeout(ut,j.fx.interval),j.fx.tick())}function lt(){return r.setTimeout((function(){it=void 0})),it=Date.now()}function dt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function pt(e,t,n){for(var r,o=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function ft(e,t,n){var r,o,i=0,a=ft.prefilters.length,s=j.Deferred().always((function(){delete c.elem})),c=function(){if(o)return!1;for(var t=it||lt(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:j.extend({},t),opts:j.extend(!0,{specialEasing:{},easing:j.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=j.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),l=u.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=G(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=j.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(l,u.opts.specialEasing);i<a;i++)if(r=ft.prefilters[i].call(u,e,l,u.opts))return g(r.stop)&&(j._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return j.map(l,pt,u),g(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),j.fx.timer(j.extend(c,{elem:e,anim:u,queue:u.opts.queue})),u}j.Animation=j.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(R);for(var n,r=0,o=e.length;r<o;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,c,u,l,d="width"in t||"height"in t,p=this,f={},h=e.style,m=e.nodeType&&ue(e),v=K.get(e,"fxshow");for(r in n.queue||(null==(a=j._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--,j.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],st.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||
vendor: 4,870 bytes, line 37
37!v||void 0===v[r])continue;m=!0}f[r]=v&&v[r]||j.style(e,r)}if((c=!j.isEmptyObject(t))||!j.isEmptyObject(f))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=v&&v.display)&&(u=K.get(e,"display")),"none"===(l=j.css(e,"display"))&&(u?l=u:(fe([e],!0),u=e.style.display||u,l=j.css(e,"display"),fe([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===j.css(e,"float")&&(c||(p.done((function(){h.display=u})),null==u&&(l=h.display,u="none"===l?"":l)),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]}))),c=!1,f)c||(v?"hidden"in v&&(m=v.hidden):v=K.access(e,"fxshow",{display:u}),i&&(v.hidden=!m),m&&fe([e],!0),p.done((function(){for(r in m||fe([e]),K.remove(e,"fxshow"),f)j.style(e,r,f[r])}))),c=pt(m?v[r]:0,r,p),r in v||(v[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),j.speed=function(e,t,n){var r=e&&"object"==typeof e?j.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return j.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in j.fx.speeds?r.duration=j.fx.speeds[r.duration]:r.duration=j.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&j.dequeue(this,r.queue)},r},j.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=j.isEmptyObject(e),i=j.speed(t,n,r),a=function(){var t=ft(this,j.extend({},e),i);(o||K.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.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,o=null!=e&&e+"queueHooks",i=j.timers,a=K.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ct.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||j.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=K.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=j.timers,a=r?r.length:0;for(n.finish=!0,j.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),j.each(["toggle","show","hide"],(function(e,t){var n=j.fn[t];j.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(dt(t,!0),e,r,o)}})),j.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){j.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),j.timers=[],j.fx.tick=function(){var e,t=0,n=j.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||j.fx.stop(),it=void 0},j.fx.timer=function(e){j.timers.push(e),j.fx.start()},j.fx.interval=13,j.fx.start=function(){at||(at=!0,ut())},j.fx.stop=function(){at=null},j.fx.speeds={slow:600,fast:200,_default:400},j.fn.delay=function(e,t){return e=j.fx&&j.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var ht,mt=j.expr.attrHandle;j.fn.extend({attr:function(e,t){return z(this,j.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){j.removeAttr(this,e)}))}}),j.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?j.prop(e,t,n):(1===i&&j.isXMLDoc(e)||(o=j.attrHooks[t.toLowerCase()]||(j.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void j.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=j.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&q(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(R);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?j.removeAttr(e,n):e.setAttribute(n,n),n}},j.each(j.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=mt[t]||j.find.attr;mt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=mt[a],mt[a]=o,o=null!=n(e,t,r)?a:null,mt[a]=i),o}}
vendor: 22,322 bytes, line 37
37));var vt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function yt(e){return(e.match(R)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}j.fn.extend({prop:function(e,t){return z(this,j.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[j.propFix[e]||e]}))}}),j.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&j.isXMLDoc(e)||(t=j.propFix[t]||t,o=j.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=j.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(j.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)}}),j.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){j.propFix[this.toLowerCase()]=this})),j.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,c=0;if(g(e))return this.each((function(t){j(this).addClass(e.call(this,t,bt(this)))}));if((t=xt(e)).length)for(;n=this[c++];)if(o=bt(n),r=1===n.nodeType&&" "+yt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=yt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,c=0;if(g(e))return this.each((function(t){j(this).removeClass(e.call(this,t,bt(this)))}));if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)for(;n=this[c++];)if(o=bt(n),r=1===n.nodeType&&" "+yt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=yt(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):g(e)?this.each((function(n){j(this).toggleClass(e.call(this,n,bt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=j(this),a=xt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=bt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;j.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=g(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,j(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=j.map(o,(function(e){return null==e?"":e+""}))),(t=j.valHooks[this.type]||j.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=j.valHooks[o.type]||j.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(wt,""):null==n?"":n:void 0}}),j.extend({valHooks:{option:{get:function(e){var t=j.find.attr(e,"value");return null!=t?t:yt(j.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r<c;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!q(n.parentNode,"optgroup"))){if(t=j(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=j.makeArray(t),a=o.length;a--;)((r=o[a]).selected=j.inArray(j.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),j.each(["radio","checkbox"],(function(){j.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=j.inArray(j(e).val(),t)>-1}},v.checkOn||(j.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),v.focusin="onfocusin"in r;var kt=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};j.extend(j.event,{trigger:function(e,t,n,o){var i,a,s,c,u,l,d,p,h=[n||b],m=f.call(e,"type")?e.type:e,v=f.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!kt.test(m+j.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[j.expando]?e:new j.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:j.makeArray(t,[e]),d=j.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!y(n)){for(c=d.delegateType||m,kt.test(c+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)p=a,e.type=i>1?c:d.bindType||m,(l=(K.get(a,"events")||Object.create(null))[e.type]&&K.get(a,"handle"))&&l.apply(a,t),(l=u&&a[u])&&l.apply&&J(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!J(n)||u&&g(n[m])&&!y(n)&&((s=n[u])&&(n[u]=null),j.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Ct),n[m](),e.isPropagationStopped()&&p.removeEventListener(m,Ct),j.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=j.extend(new j.Event,n,{type:e,isSimulated:!0});j.event.trigger(r,null,t)}}),j.fn.extend({trigger:function(e,t){return this.each((function(){j.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return j.event.trigger(e,t,n,!0)}}),v.focusin||j.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){j.event.simulate(t,e.target,j.event.fix(e))};j.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=K.access(r,t);o||r.addEventListener(e,n,!0),K.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=K.access(r,t)-1;o?K.access(r,t,o):(r.removeEventListener(e,n,!0),K.remove(r,t))}}}));var jt=r.location,Tt={guid:Date.now()},St=/\?/;j.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||j.error("Invalid XML: "+e),t};var At=/\[\]$/,Et=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,qt=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,r){var o;if(Array.isArray(t))j.each(t,(function(t,o){n||At.test(e)?r(e,o):Dt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==k(t))r(e,t);else for(o in t)Dt(e+"["+o+"]",t[o],n,r)}j.param=function(e,t){var n,r=[],o=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!j.isPlainObject(e))j.each(e,(function(){o(this.name,this.value)}));else for(n in e)Dt(n,e[n],t,o);return r.join("&")},j.fn.extend({serialize:function(){return j.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=j.prop(this,"elements");return e?j.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!j(this).is(":disabled")&&qt.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!ve.test(e))})).map((function(e,t){var n=j(this).val();return null==n?null:Array.isArray(n)?j.map(n,(function(e){return{name:t.name,value:e.replace(Et,"\r\n")}})):{name:t.name,value:n.replace(Et,"\r\n")}})).get()}});var Ot=/%20/g,_t=/#.*$/,Pt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,$t=/^(?:GET|HEAD)$/,Ht=/^\/\//,Rt={},It={},Mt="*/".concat("*"),Wt=b.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(R)||[];if(g(n))for(;r=i[o++];)"+"===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 o={},i=e===It;function a(s){var c;return o[s]=!0,j.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||o[u]?i?!(c=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Qt(e,t){var n,r,o=j.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&j.extend(!0,e,r),e}Wt.href=jt.href,j.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Mt,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":j.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Qt(Qt(e,j.ajaxSettings),t):Qt(j.ajaxSettings,e)},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(It),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,c,u,l,d,p,f=j.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?j(h):j.event,v=j.Deferred(),g=j.Callbacks("once memory"),y=f.statusCode||{},x={},w={},k="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Lt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==u&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return n&&n.abort(t),T(0,t),this}};if(v.promise(C),f.url=((e||f.url||jt.href)+"").replace(Ht,jt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(R)||[""],null==f.crossDomain){c=b.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Wt.protocol+"//"+Wt.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=j.param(f.data,f.traditional)),Bt(Rt,f,t,C),u)return C;for(d in(l=j.event&&f.global)&&0==j.active++&&j.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!$t.test(f.type),o=f.url.replace(_t,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ot,"+")):(p=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(St.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(Pt,"$1"),p=(St.test(o)?"&":"?")+"_="+Tt.guid+++p),f.url=o+p),f.ifModified&&(j.lastModified[o]&&C.setRequestHeader("If-Modified-Since",j.lastModified[o]),j.etag[o]&&C.setRequestHeader("If-None-Match",j.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Mt+"; q=0.01":""):f.accepts["*"]),f.headers)C.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,C,f)||u))return C.abort();if(k="abort",g.add(f.complete),C.done(f.success),C.fail(f.error),n=Bt(It,f,t,C)){if(C.readyState=1,l&&m.trigger("ajaxSend",[C,f]),u)return C;f.async&&f.timeout>0&&(s=r.setTimeout((function(){C.abort("timeout")}),f.timeout));try{u=!1,n.send(x,T)}catch(e){if(u)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,a,c){var d,p,b,x,w,k=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(f,C,a)),!d&&j.inArray("script",f.dataTypes)>-1&&(f.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,c,u={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=l.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=u[c+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],l.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 "+c+" to "+i}}}return{state:"success",data:t}}(f,x,C,d),d?(f.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(j.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(j.etag[o]=w)),204===e||"HEAD"===f.type?k="nocontent":304===e?k="notmodified":(k=x.state,p=x.data,d=!(b=x.error))):(b=k,!e&&k||(k="error",e<0&&(e=0))),C.status=e,C.statusText=(t||k)+"",d?v.resolveWith(h,[p,k,C]):v.rejectWith(h,[C,k,b]),C.statusCode(y),y=void 0,l&&m.trigger(d?"ajaxSuccess":"ajaxError",[C,f,d?p:b]),g.fireWith(h,[C,k]),l&&(m.trigger("ajaxComplete",[C,f]),--j.active||j.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return j.get(e,t,n,"json")},getScript:function(e,t){return j.get(e,void 0,t,"script")}}),j.each(["get","post"],(function(e,t){j[t]=function(e,n,r,o){return g(n)&&(o=o||r,r=n,n=void 0),j.ajax(j.extend({url:e,type:t,dataType:o,data:n,success:r},j.isPlainObject(e)&&e))}})),j.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),j._evalUrl=function(e,t,n){return j.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){j.globalEval(e,t,n)}})},j.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=j(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 g(e)?this.each((function(t){j(this).wrapInner(e.call(this,t))})):this.each((function(){var t=j(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){j(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){j(this).replaceWith(this.childNodes)})),this}}),j.expr.pseudos.hidden=function(e){return!j.expr.pseudos.visible(e)},j.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},j.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Ut=j.ajaxSettings.xhr();v.cors=!!Ut&&"withCredentials"in Ut,v.ajax=Ut=!!Ut,j.ajaxTransport((function(e){var t,n;if(v.cors||Ut&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),j.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),j.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 j.globalEval(e),e}}}),j.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),j.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=j("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Xt,Vt=[],Gt=/(=)\?(?=&|$)|\?\?/;j.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Vt.pop()||j.expando+"_"+Tt.guid++;return this[e]=!0,e}}),j.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Gt,"$1"+o):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||j.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?j(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Vt.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=((Xt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xt.childNodes.length),j.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=D.exec(e))?[t.createElement(o[1])]:(o=Ce([e],t,i),i&&i.length&&j(i).remove(),j.merge([],o.childNodes)));var r,o,i},j.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=yt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&j.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?j("<div>").append(j.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},j.expr.pseudos.animated=function(e){return j.grep(j.timers,(function(t){return e===t.elem})).length},j.offset={setOffset:function(e,t,n){var r,o,i,a,s,c,u=j.css(e,"position"),l=j(e),d={};"static"===u&&(e.style.position="relative"),s=l.offset(),i=j.css(e,"top"),c=j.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+c).indexOf("auto")>-1?(a=(r=l.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),g(t)&&(t=t.call(e,n,j.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),l.css(d))}},j.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){j.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],o={top:0,left:0};if("fixed"===j.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"===j.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=j(e).offset()).top+=j.css(e,"borderTopWidth",!0),o.left+=j.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-j.css(r,"marginTop",!0),left:t.left-o.left-j.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===j.css(e,"position");)e=e.offsetParent;return e||ae}))}}),j.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;j.fn[e]=function(r){return z(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),j.each(["top","left"],(function(e,t){j.cssHooks[t]=Ue(v.pixelPosition,(function(e,n){if(n)return n=ze(e,t),We.test(n)?j(e).position()[t]+"px":n}))})),j.each({Height:"height",Width:"width"},(function(e,t){j.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){j.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return z(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?j.css(t,n,s):j.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),j.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){j.fn[t]=function(e){return this.on(t,e)}})),j.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)}}),j.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){j.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Jt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;j.proxy=function(e,t){var n,r,o;
37if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||j.guid++,o},j.holdReady=function(e){e?j.readyWait++:j.ready(!0)},j.isArray=Array.isArray,j.parseJSON=JSON.parse,j.nodeName=q,j.isFunction=g,j.isWindow=y,j.camelCase=G,j.type=k,j.now=Date.now,j.isNumeric=function(e){var t=j.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},j.trim=function(e){return null==e?"":(e+"").replace(Jt,"")},void 0===(n=function(){return j}.apply(t,[]))||(e.exports=n);var Yt=r.jQuery,Kt=r.$;return j.noConflict=function(e){return r.$===j&&(r.$=Kt),e&&r.jQuery===j&&(r.jQuery=Yt),j},void 0===o&&(r.jQuery=r.$=j),j}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return o[e].call(n.exports,n,n.exports,a),n.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>"8342d42b17603f2993b0-chunk.js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="prestashop-core-theme-js:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+o){s=d;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+o),s.src=e),n[e]=[t];var p=(t,r)=>{s.onerror=s.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e={179:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,s,c]=n,u=0;for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(c)c(a);for(t&&t(n);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[i[u]]=0},n=self.webpackChunkprestashop_core_theme_js=self.webpackChunkprestashop_core_theme_js||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";var e=a(204),t=a.n(e);void 0===t().migrateMute&&(t().migrateMute=!window.prestashop.debug);a(290),a(768),a(333);const n=prestashop;var r=a.n(n);
38/**
39 * Copyright since 2007 PrestaShop SA and Contributors
40 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
41 *
42 * NOTICE OF LICENSE
43 *
44 * This source file is subject to the Open Software License (OSL 3.0)
45 * that is bundled with this package in the file LICENSE.md.
46 * It is also available through the world-wide-web at this URL:
47 * https://opensource.org/licenses/OSL-3.0
48 * If you did not receive a copy of the license and are unable to
49 * obtain it through the world-wide-web, please send an email
50 * to [email protected] so we can send you a copy immediately.
51 *
52 * DISCLAIMER
53 *
54 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
55 * versions in the future. If you wish to customize PrestaShop for your
56 * needs please refer to https://devdocs.prestashop.com/ for more information.
57 *
58 * @author    PrestaShop SA and Contributors <[email protected]>
59 * @copyright Since 2007 PrestaShop SA and Contributors
60 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
61 */
62r().selectors={quantityWanted:"#quantity_wanted",product:{imageContainer:".quickview .images-container, .page-product:not(.modal-open) .row .images-container, .page-product:not(.modal-open) .product-container .images-container, .quickview .js-images-container, .page-product:not(.modal-open) .row .js-images-container, .page-product:not(.modal-open) .product-container .js-images-container",container:".product-container, .js-product-container",availability:"#product-availability, .js-product-availability",actions:".product-actions, .js-product-actions",variants:".product-variants, .js-product-variants",refresh:".product-refresh, .js-product-refresh",miniature:".js-product-miniature",minimalQuantity:".product-minimal-quantity, .js-product-minimal-quantity",addToCart:".quickview .product-add-to-cart, .page-product:not(.modal-open) .row .product-add-to-cart, .page-product:not(.modal-open) .product-container .product-add-to-cart, .quickview .js-product-add-to-cart, .page-product:not(.modal-open) .row .js-product-add-to-cart, .page-product:not(.modal-open) .product-container .js-product-add-to-cart",prices:".quickview .product-prices, .page-product:not(.modal-open) .row .product-prices, .page-product:not(.modal-open) .product-container .product-prices, .quickview .js-product-prices, .page-product:not(.modal-open) .row .js-product-prices, .page-product:not(.modal-open) .product-container .js-product-prices",inputCustomization:'.product-actions input[name="id_customization"], .js-product-actions .js-product-customization-id',customization:".quickview .product-customization, .page-product:not(.modal-open) .row .product-customization, .page-product:not(.modal-open) .product-container .product-customization, .quickview .js-product-customization, .page-product:not(.modal-open) .row .js-product-customization, .page-product:not(.modal-open) .product-container .js-product-customization",variantsUpdate:".quickview .product-variants, .page-product:not(.modal-open) .row .product-variants, .page-product:not(.modal-open) .product-container .product-variants, .quickview .js-product-variants, .page-product:not(.modal-open) .row .js-product-variants, .page-product:not(.modal-open) .js-product-container .js-product-variants",discounts:".quickview .product-discounts, .page-product:not(.modal-open) .row .product-discounts, .page-product:not(.modal-open) .product-container .product-discounts, .quickview .js-product-discounts, .page-product:not(.modal-open) .row .js-product-discounts, .page-product:not(.modal-open) .product-container .js-product-discounts",additionalInfos:".quickview .product-additional-info, .page-product:not(.modal-open) .row .product-additional-info, .page-product:not(.modal-open) .product-container .product-additional-info, .quickview .js-product-additional-info, .page-product:not(.modal-open) .row .js-product-additional-info, .page-product:not(.modal-open) .js-product-container .js-product-additional-info",details:".quickview #product-details, #product-details, .quickview .js-product-details, .js-product-details",flags:".quickview .product-flags, .page-product:not(.modal-open) .row .product-flags, .page-product:not(.modal-open) .product-container .product-flags, .quickview .js-product-flags, .page-product:not(.modal-open) .row .js-product-flags, .page-product:not(.modal-open) .js-product-container .js-product-flags"},listing:{quickview:".quick-view, .js-quick-view"},checkout:{form:".checkout-step form",currentStep:"js-current-step",step:".checkout-step",stepTitle:".step-title, .js-step-title",confirmationSelector:"#payment-confirmation button, .js-payment-confirmation",conditionsSelector:'#conditions-to-approve input[type="checkbox"], .js-conditions-to-approve',conditionAlertSelector:".js-alert-payment-conditions",additionalInformatonSelector:".js-additional-information",optionsForm:".js-payment-option-form",termsCheckboxSelector:'#conditions-to-approve input[name="conditions_to_approve[terms-and-conditions]"], .js-conditions-to-approve input[name="conditions_to_approve[terms-and-conditions]"]',paymentBinary:".payment-binary, .js-payment-binary",deliveryFormSelector:"#js-delivery",summarySelector:"#js-checkout-summary",deliveryStepSelector:"#checkout-delivery-step",editDeliveryButtonSelector:".js-edit-delivery",deliveryOption:".delivery-option, .js-delivery-option",cartPaymentStepRefresh:".js-cart-payment-step-refresh",editAddresses:".js-edit-addresses",deliveryAddressRadios:"#delivery-addresses input[type=radio], #invoice-addresses input[type=radio], .js-address-selector input[type=radio]",addressItem:".address-item, .js-address-item",addressesStep:"#checkout-addresses-step",addressItemChecked:".address-item:has(input[type=radio]:checked), .js-address-item:has(input[type=radio]:checked)",addressError:".js-address-error",n
62otValidAddresses:"#not-valid-addresses, .js-not-valid-addresses",invoiceAddresses:"#invoice-addresses, .js-address-selector",addressForm:".js-address-form"},cart:{detailedTotals:".cart-detailed-totals, .js-cart-detailed-totals",summaryItemsSubtotal:".cart-summary-items-subtotal, .js-cart-summary-items-subtotal",summarySubTotalsContainer:".cart-summary-subtotals-container, .js-cart-summary-subtotals-container",summaryTotals:".cart-summary-totals, .js-cart-summary-totals",summaryProducts:".cart-summary-products, .js-cart-summary-products",detailedActions:".cart-detailed-actions, .js-cart-detailed-actions",voucher:".cart-voucher, .js-cart-voucher",overview:".cart-overview",summaryTop:".cart-summary-top, .js-cart-summary-top",productCustomizationId:"#product_customization_id, .js-product-customization-id",lineProductQuantity:".js-cart-line-product-quantity"}},t()(document).ready((()=>{r().emit("selectorsInit")}));function o(e){const t={};return window.location.href.replace(location.hash,"").replace(/[?&]+([^=&]+)=?([^&]*)?/gi,((e,n,r)=>{t[n]=void 0!==r?r:""})),void 0!==e?t[e]?t[e]:null:t}function i(){const e=o();if(e.updatedTransaction)return void window.location.reload();e.updatedTransaction=1;const t=Object.entries(e).map((e=>e.join("="))).join("&");window.location.href=`${window.location.pathname}?${t}`}r().checkPasswordScore=e=>{return t=void 0,n=null,r=function*(){return(0,(yield a.e(341).then(a.t.bind(a,341,23))).default)(e)},new Promise(((e,o)=>{var i=e=>{try{s(r.next(e))}catch(e){o(e)}},a=e=>{try{s(r.throw(e))}catch(e){o(e)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,a);s((r=r.apply(t,n)).next())}));var t,n,r},
63/**
64 * Copyright since 2007 PrestaShop SA and Contributors
65 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
66 *
67 * NOTICE OF LICENSE
68 *
69 * This source file is subject to the Open Software License (OSL 3.0)
70 * that is bundled with this package in the file LICENSE.md.
71 * It is also available through the world-wide-web at this URL:
72 * https://opensource.org/licenses/OSL-3.0
73 * If you did not receive a copy of the license and are unable to
74 * obtain it through the world-wide-web, please send an email
75 * to [email protected] so we can send you a copy immediately.
76 *
77 * DISCLAIMER
78 *
79 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
80 * versions in the future. If you wish to customize PrestaShop for your
81 * needs please refer to https://devdocs.prestashop.com/ for more information.
82 *
83 * @author    PrestaShop SA and Contributors <[email protected]>
84 * @copyright Since 2007 PrestaShop SA and Contributors
85 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
86 */
87t()(document).ready((()=>{r().on("updateCart",(e=>{r().cart=e.resp.cart;const n=t()(".js-cart").data("refresh-url");if(!n)return;let o={};e&&e.reason&&(o={id_product_attribute:e.reason.idProductAttribute,id_product:e.reason.idProduct}),t().post(n,o).then((e=>{t()(r().selectors.cart.detailedTotals).replaceWith(e.cart_detailed_totals),t()(r().selectors.cart.summaryItemsSubtotal).replaceWith(e.cart_summary_items_subtotal),t()(r().selectors.cart.summarySubTotalsContainer).replaceWith(e.cart_summary_subtotals_container),t()(r().selectors.cart.summaryProducts).replaceWith(e.cart_summary_products),t()(r().selectors.cart.summaryTotals).replaceWith(e.cart_summary_totals),t()(r().selectors.cart.detailedActions).replaceWith(e.cart_detailed_actions),t()(r().selectors.cart.voucher).replaceWith(e.cart_voucher),t()(r().selectors.cart.overview).replaceWith(e.cart_detailed),t()(r().selectors.cart.summaryTop).replaceWith(e.cart_summary_top),t()(r().selectors.cart.productCustomizationId).val(0),t()(r().selectors.cart.lineProductQuantity).each(((e,n)=>{const r=t()(n);r.attr("value",r.val())})),t()(r().selectors.checkout.cartPaymentStepRefresh).length&&i(),r().emit("updatedCart",{eventType:"updateCart",resp:e})})).fail((e=>{r().emit("handleError",{eventType:"updateCart",resp:e})}))}));const e=t()("body");e.on("click",'[data-button-action="add-to-cart"]',(e=>{e.preventDefault();const n=t()(e.currentTarget.form),o=`${n.serialize()}&add=1&action=update`,i=n.attr("action"),a=t()(e.currentTarget);a.prop("disabled",!0);let s=e=>{e.parents(r().selectors.product.addToCart).first().find(r().selectors.product.minimalQuantity).addClass("error"),e.parent().find("label").addClass("error")};const c=n.find("input[min]");(e=>{let n=!0;return e.each(((e,r)=>{const o=t()(r),i=parseInt(o.attr("min"),10);i&&o.val()<i&&(s(o),n=!1)})),n})(c)?t().post(i,o,null,"json").then((e=>{r().emit("updateCart",{reason:{idProduct:e.id_product,idProductAttribute:e.id_product_attribute,idCustomization:e.id_customization,linkAction:"add-to-cart",cart:e.cart},resp:e})})).fail((e=>{r().emit("handleError",{eventType:"addProductToCart",resp:e})})).always((()=>{setTimeout((()=>{a.prop("disabled",!1)}),1e3)})):s(c)})),e.on("submit",'[data-link-action="add-voucher"]',(e=>{e.preventDefault();const n=t()(e.currentTarget),o=n.attr("action");0===n.find("[name=action]").length&&n.append(t()("<input>",{type:"hidden",name:"ajax",value:1})),0===n.find("[name=action]").length&&n.append(t()("<input>",{type:"hidden",name:"action",value:"update"})),t().post(o,n.serialize(),null,"json").then((n=>{n.hasError?t()(".js-error").show().find(".js-error-text").text(n.errors[0]):r().emit("updateCart",{reason:e.target.dataset,resp:n})})).fail((e=>{r().emit("handleError",{eventType:"updateCart",resp:e})}))}))}));
88/**
89 * Copyright since 2007 PrestaShop SA and Contributors
90 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
91 *
92 * NOTICE OF LICENSE
93 *
94 * This source file is subject to the Open Software License (OSL 3.0)
95 * that is bundled with this package in the file LICENSE.md.
96 * It is also available through the world-wide-web at this URL:
97 * https://opensource.org/licenses/OSL-3.0
98 * If you did not receive a copy of the license and are unable to
99 * obtain it through the world-wide-web, please send an email
100 * to [email protected] so we can send you a copy immediately.
101 *
102 * DISCLAIMER
103 *
104 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
105 * versions in the future. If you wish to customize PrestaShop for your
106 * needs please refer to https://devdocs.prestashop.com/ for more information.
107 *
108 * @author    PrestaShop SA and Contributors <[email protected]>
109 * @copyright Since 2007 PrestaShop SA and Contributors
110 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
111 */
112const s=o("editAddress"),c=o("use_same_address");t()(window).on("load",(()=>{let e=t()(`${r().selectors.checkout.addressError}:visible`);if(0===parseInt(c,10)&&t()(r().selectors.checkout.invoiceAddresses).trigger("click"),(null!==s||t()(`${r().selectors.checkout.addressForm}:visible`).length>1)&&e.hide(),e.length>0){const n=t()(r().selectors.checkout.addressError).prop("id").split("-").pop();e.each((function(){u(!0,n,t()(this).attr("name").split("-").pop())}))}e=t()(`${r().selectors.checkout.addressError}:visible`),l(e.length<=0)}));const u=function(e,n,r){const o=t()(`#id-address-${r}-address-${n} a.edit-address`),i=["text-info","address-item-invalid"];t()(`#${r}-addresses a.edit-address`).removeClass(i),o.toggleClass(i,e)},l=function(e){t()("button[name=confirm-addresses]").prop("disabled",!e)};
113/**
114 * Copyright since 2007 PrestaShop SA and Contributors
115 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
116 *
117 * NOTICE OF LICENSE
118 *
119 * This source file is subject to the Open Software License (OSL 3.0)
120 * that is bundled with this package in the file LICENSE.md.
121 * It is also available through the world-wide-web at this URL:
122 * https://opensource.org/licenses/OSL-3.0
123 * If you did not receive a copy of the license and are unable to
124 * obtain it through the world-wide-web, please send an email
125 * to [email protected] so we can send you a copy immediately.
126 *
127 * DISCLAIMER
128 *
129 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
130 * versions in the future. If you wish to customize PrestaShop for your
131 * needs please refer to https://devdocs.prestashop.com/ for more information.
132 *
133 * @author    PrestaShop SA and Contributors <[email protected]>
134 * @copyright Since 2007 PrestaShop SA and Contributors
135 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
136 */
137r().checkout=r().checkout||{},r().checkout.onCheckOrderableCartResponse=(e,t)=>!0===e.errors&&(r().emit("orderConfirmationErrors",{resp:e,paymentObject:t}),!0);class d{constructor(){this.confirmationSelector=r().selectors.checkout.confirmationSelector,this.conditionsSelector=r().selectors.checkout.conditionsSelector,this.conditionAlertSelector=r().selectors.checkout.conditionAlertSelector,this.additionalInformatonSelector=r().selectors.checkout.additionalInformatonSelector,this.optionsForm=r().selectors.checkout.optionsForm,this.termsCheckboxSelector=r().selectors.checkout.termsCheckboxSelector}init(){r().on("orderConfirmationErrors",(({resp:e,paymentObject:t})=>{""!==e.cartUrl&&(location.href=e.cartUrl)}));const e=t()("body");e.on("change",`${this.conditionsSelector} input[type="checkbox"]`,t().proxy(this.toggleOrderButton,this)),e.on("change",'input[name="payment-option"]',t().proxy(this.toggleOrderButton,this)),this.toggleOrderButton(),e.on("click",`${this.confirmationSelector} button`,t().proxy(this.confirm,this)),this.getSelectedOption()||this.collapseOptions()}collapseOptions(){t()(`${this.additionalInformatonSelector}, ${this.optionsForm}`).hide()}getSelectedOption(){return t()('input[name="payment-option"]:checked').attr("id")}haveTermsBeenAccepted(){return t()(this.termsCheckboxSelector).prop("checked")}hideConfirmation(){t()(this.confirmationSelector).hide()}showConfirmation(){t()(this.confirmationSelector).show()}toggleOrderButton(){let e=!0;t()(`${this.conditionsSelector} input[type="checkbox"]`).each(((t,n)=>{n.checked||(e=!1)})),r().emit("termsUpdated",{isChecked:e}),this.collapseOptions();const n=this.getSelectedOption();if(n||(e=!1),t()(`#${n}-additional-information`).show(),t()(`#pay-with-${n}-form`).show(),t()(r().selectors.checkout.paymentBinary).hide(),t()(`#${n}`).hasClass("binary")){const r=this.getPaymentOptionSelector(n);this.hideConfirmation(),t()(r).show(),document.querySelectorAll(`${r} button, ${r} input`).forEach((t=>{e?t.removeAttribute("disabled"):t.setAttribute("disabled",!e)})),e?t()(r).removeClass("disabled"):t()(r).addClass("disabled")}else this.showConfirmation(),t()(`${this.confirmationSelector} button`).toggleClass("disabled",!e),t()(`${this.confirmationSelector} button`).attr("disabled",!e),e?t()(this.conditionAlertSelector).hide():t()(this.conditionAlertSelector).show()}getPaymentOptionSelector(e){return`.js-payment-${t()(`#${e}`).data("module-name")}`}showNativeFormErrors(){t()(`input[name=payment-option], ${this.termsCheckboxSelector}`).each((function(){this.reportValidity()}))}confirm(){return e=this,n=null,o=function*(){const e=this.getSelectedOption(),n=this.haveTermsBeenAccepted();if(void 0===e||!1===n)return void this.showNativeFormErrors();const o=yield t().post(window.prestashop.urls.pages.order,{ajax:1,action:"checkCartStillOrderable"});r().checkout.onCheckOrderableCartResponse(o,this)||(t()(`${this.confirmationSelector} button`).addClass("disabled"),t()(`#pay-with-${e}-form form`).submit())},new Promise(((t,r)=>{var i=e=>
137{try{s(o.next(e))}catch(e){r(e)}},a=e=>{try{s(o.throw(e))}catch(e){r(e)}},s=e=>e.done?t(e.value):Promise.resolve(e.value).then(i,a);s((o=o.apply(e,n)).next())}));var e,n,o}}
138/**
139 * Copyright since 2007 PrestaShop SA and Contributors
140 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
141 *
142 * NOTICE OF LICENSE
143 *
144 * This source file is subject to the Open Software License (OSL 3.0)
145 * that is bundled with this package in the file LICENSE.md.
146 * It is also available through the world-wide-web at this URL:
147 * https://opensource.org/licenses/OSL-3.0
148 * If you did not receive a copy of the license and are unable to
149 * obtain it through the world-wide-web, please send an email
150 * to [email protected] so we can send you a copy immediately.
151 *
152 * DISCLAIMER
153 *
154 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
155 * versions in the future. If you wish to customize PrestaShop for your
156 * needs please refer to https://devdocs.prestashop.com/ for more information.
157 *
158 * @author    PrestaShop SA and Contributors <[email protected]>
159 * @copyright Since 2007 PrestaShop SA and Contributors
160 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
161 */
162const p=r().selectors.checkout.currentStep,f=`.${p}`;class h{constructor(){this.$steps=t()(r().selectors.checkout.step),this.$steps.off("click"),this.$clickableSteps=t()(f).prevAll().andSelf(),this.$clickableSteps.addClass("-clickable")}getClickableSteps(){return this.$clickableSteps}makeCurrent(e){this.$steps.removeClass("-current"),this.$steps.removeClass(p),e.makeCurrent()}static getClickedStep(e){return new m(t()(e.target).closest(r().selectors.checkout.step))}}class m{constructor(e){this.$step=e}isUnreachable(){return this.$step.hasClass("-unreachable")}makeCurrent(){this.$step.addClass("-current"),this.$step.addClass(p)}hasContinueButton(){return t()("button.continue",this.$step).length>0}disableAllAfter(){const e=this.$step.nextAll();e.addClass("-unreachable").removeClass("-complete"),t()(r().selectors.checkout.stepTitle,e).addClass("not-allowed")}enableAllBefore(){const e=this.$step.nextAll(`${r().selectors.checkout.step}.-clickable`);e.removeClass("-unreachable").addClass("-complete"),t()(r().selectors.checkout.stepTitle,e).removeClass("not-allowed")}}
163/**
164 * Copyright since 2007 PrestaShop SA and Contributors
165 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
166 *
167 * NOTICE OF LICENSE
168 *
169 * This source file is subject to the Open Software License (OSL 3.0)
170 * that is bundled with this package in the file LICENSE.md.
171 * It is also available through the world-wide-web at this URL:
172 * https://opensource.org/licenses/OSL-3.0
173 * If you did not receive a copy of the license and are unable to
174 * obtain it through the world-wide-web, please send an email
175 * to [email protected] so we can send you a copy immediately.
176 *
177 * DISCLAIMER
178 *
179 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
180 * versions in the future. If you wish to customize PrestaShop for your
181 * needs please refer to https://devdocs.prestashop.com/ for more information.
182 *
183 * @author    PrestaShop SA and Contributors <[email protected]>
184 * @copyright Since 2007 PrestaShop SA and Contributors
185 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
186 */
187function v(){t()(r().selectors.checkout.editAddresses).on("click",(e=>{e.stopPropagation(),t()(r().selectors.checkout.addressesStep).trigger("click"),r().emit("editAddress")})),t()(r().selectors.checkout.deliveryAddressRadios).on("click",(function(){t()(r().selectors.checkout.addressItem).removeClass("selected"),t()(r().selectors.checkout.addressItemChecked).addClass("selected");const e=t()(r().selectors.checkout.addressError).prop("id").split("-").pop(),n=t()(r().selectors.checkout.notValidAddresses).val(),o=this.name.split("_").pop(),i=t()(`${r().selectors.checkout.addressError}[name=alert-${o}]`);u(!1,e,o),""!==n&&null===s&&n.split(",").indexOf(this.value)>=0?(i.show(),u(!0,this.value,o),t()(r().selectors.checkout.addressError).prop("id",`id-failure-address-${this.value}`)):i.hide();
187const a=t()(`${r().selectors.checkout.addressError}:visible`);l(a.length<=0)})),
188/**
189 * Copyright since 2007 PrestaShop SA and Contributors
190 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
191 *
192 * NOTICE OF LICENSE
193 *
194 * This source file is subject to the Open Software License (OSL 3.0)
195 * that is bundled with this package in the file LICENSE.md.
196 * It is also available through the world-wide-web at this URL:
197 * https://opensource.org/licenses/OSL-3.0
198 * If you did not receive a copy of the license and are unable to
199 * obtain it through the world-wide-web, please send an email
200 * to [email protected] so we can send you a copy immediately.
201 *
202 * DISCLAIMER
203 *
204 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
205 * versions in the future. If you wish to customize PrestaShop for your
206 * needs please refer to https://devdocs.prestashop.com/ for more information.
207 *
208 * @author    PrestaShop SA and Contributors <[email protected]>
209 * @copyright Since 2007 PrestaShop SA and Contributors
210 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
211 */function(){const e=t()("body"),{deliveryFormSelector:n}=r().selectors.checkout,{summarySelector:o}=r().selectors.checkout,{deliveryStepSelector:a}=r().selectors.checkout,{editDeliveryButtonSelector:s}=r().selectors.checkout;e.on("change",`${n} input`,(e=>{const a=t()(n),s=a.serialize(),c=t()(e.currentTarget).parents(r().selectors.checkout.deliveryOption);t().post(a.data("url-update"),s).then((e=>{t()(o).replaceWith(e.preview),t()(r().selectors.checkout.cartPaymentStepRefresh).length&&i(),r().emit("updatedDeliveryForm",{dataForm:a.serializeArray(),deliveryOption:c,resp:e})})).fail((e=>{r().trigger("handleError",{eventType:"updateDeliveryOptions",resp:e})}))})),e.on("click",s,(e=>{e.stopPropagation(),t()(a).trigger("click"),r().emit("editDelivery")}))}(),function(){const e=new d;e.init()}(),function(){const e=new h;e.getClickableSteps().on("click",(t=>{const n=h.getClickedStep(t);n.isUnreachable()||(e.makeCurrent(n),n.hasContinueButton()?n.disableAllAfter():n.enableAllBefore()),r().emit("changedCheckoutStep",{event:t})}))}(),function(){const e=r().selectors.checkout.form;t()(e).submit((function(e){!0===t()(this).data("disabled")&&e.preventDefault(),t()(this).data("disabled",!0),t()('button[type="submit"]',this).addClass("disabled")}))}()}t()(document).ready((()=>{1===t()("#checkout").length&&v()}));
212/**
213 * Copyright since 2007 PrestaShop SA and Contributors
214 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
215 *
216 * NOTICE OF LICENSE
217 *
218 * This source file is subject to the Open Software License (OSL 3.0)
219 * that is bundled with this package in the file LICENSE.md.
220 * It is also available through the world-wide-web at this URL:
221 * https://opensource.org/licenses/OSL-3.0
222 * If you did not receive a copy of the license and are unable to
223 * obtain it through the world-wide-web, please send an email
224 * to [email protected] so we can send you a copy immediately.
225 *
226 * DISCLAIMER
227 *
228 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
229 * versions in the future. If you wish to customize PrestaShop for your
230 * needs please refer to https://devdocs.prestashop.com/ for more information.
231 *
232 * @author    PrestaShop SA and Contributors <[email protected]>
233 * @copyright Since 2007 PrestaShop SA and Contributors
234 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
235 */
236let g=null;function y(e){r().emit("updateProductList",e),window.history.pushState(e,document.title,e.current_url)}function b(e,t){return"abort"!==t}function x(e){g===e&&(g=null)}t()(document).ready((()=>{r().on("updateFacets",(e=>{!function(e){g&&g.abort();const n=e.indexOf("?")>=0?"&":"?",r=`${e+n}from-xhr`;g=t().ajax({url:r,dataType:"json",success:y,error:b,complete:x})}(e)}))})),
237/**
238 * Copyright since 2007 PrestaShop SA and Contributors
239 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
240 *
241 * NOTICE OF LICENSE
242 *
243 * This source file is subject to the Open Software License (OSL 3.0)
244 * that is bundled with this package in the file LICENSE.md.
245 * It is also available through the world-wide-web at this URL:
246 * https://opensource.org/licenses/OSL-3.0
247 * If you did not receive a copy of the license and are unable to
248 * obtain it through the world-wide-web, please send an email
249 * to [email protected] so we can send you a copy immediately.
250 *
251 * DISCLAIMER
252 *
253 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
254 * versions in the future. If you wish to customize PrestaShop for your
255 * needs please refer to https://devdocs.prestashop.com/ for more information.
256 *
257 * @author    PrestaShop SA and Contributors <[email protected]>
258 * @copyright Since 2007 PrestaShop SA and Contributors
259 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
260 */
261t()(document).ready((()=>{t()("body").on("click",r().selectors.listing.quickview,(e=>{r().emit("clickQuickView",{dataset:t()(e.target).closest(r().selectors.product.miniature).data()}),e.preventDefault()}))}));var w=Object.defineProperty,k=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,T=(e,t,n)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))C.call(t,n)&&T(e,n,t[n]);if(k)for(var n of k(t))j.call(t,n)&&T(e,n,t[n]);return e};
262/**
263 * Copyright since 2007 PrestaShop SA and Contributors
264 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
265 *
266 * NOTICE OF LICENSE
267 *
268 * This source file is subject to the Open Software License (OSL 3.0)
269 * that is bundled with this package in the file LICENSE.md.
270 * It is also available through the world-wide-web at this URL:
271 * https://opensource.org/licenses/OSL-3.0
272 * If you did not receive a copy of the license and are unable to
273 * obtain it through the world-wide-web, please send an email
274 * to [email protected] so we can send you a copy immediately.
275 *
276 * DISCLAIMER
277 *
278 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
279 * versions in the future. If you wish to customize PrestaShop for your
280 * needs please refer to https://devdocs.prestashop.com/ for more information.
281 *
282 * @author    PrestaShop SA and Contributors <[email protected]>
283 * @copyright Since 2007 PrestaShop SA and Contributors
284 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
285 */
286let A=null,E=null,N=!1;const q=[];let D=!1;function O(e){!function(e,n){const r=t()(`<div class="alert alert-danger ajax-error" role="alert">${n}</div>`);e.replaceWith(r)}(t()(".quickview #product-availability, .page-product:not(.modal-open) .row #product-availability, .page-product:not(.modal-open) .product-container #product-availability"),e)}function _(e,n,i){const a=t()(r().selectors.product.actions),s=a.find(r().selectors.quantityWanted),c=a.find("form:first"),u=c.serialize();let l,d=o("preview");if("function"==typeof Event?l=new Event("updateRating"):(l=document.createEvent("Event"),l.initEvent("updateRating",!0,!0)),d=null!==d?`&preview=${d}`:"",null===i)return void O();if(e&&"keyup"===e.type&&s.val()===s.data("old-value"))return;s.data("old-value",s.val()),E&&clearTimeout(E);let p=30;"updatedProductQuantity"===n&&(p=750),E=setTimeout((()=>{""!==u&&(A=t().ajax({url:i+(-1===i.indexOf("?")?"?":"&")+u+d,method:"POST",data:{quickview:t()(".modal.quickview.in").length,ajax:1,action:"refresh",quantity_wanted:"updatedProductCombination"===n?s.attr("min"):s.val()},dataType:"json",beforeSend(){null!==A&&A.abort()},error(e,n){"abort"!==n&&0===t()("section#main > .ajax-error").length&&O()},success(e){const o=t()("<div>").append(e.product_cover_thumbnails);t()(r().selectors.product.imageContainer).html()!==o.find(r().selectors.product.imageContainer).html()&&t()(r().selectors.product.imageContainer).replaceWith(e.product_cover_thumbnails),t()(r().selectors.product.prices).first().replaceWith(e.product_prices),t()(r().selectors.product.customization).first().replaceWith(e.product_customization),"updatedProductQuantity"!==n&&"updatedProductCombination"!==n||!e.id_customization?t()(r().selectors.product.inputCustomization).val(0):t()(r().selectors.cart.productCustomizationId).val(e.id_customization),t()(r().selectors.product.variantsUpdate).first().replaceWith(e.product_variants),t()(r().selectors.product.discounts).first().replaceWith(e.product_discounts),t()(r().selectors.product.additionalInfos).first().replaceWith(e.product_additional_info),t()(r().selectors.product.details).replaceWith(e.product_details),t()(r().selectors.product.flags).first().replaceWith(e.product_flags),function(e){let n=null;t()(e.product_add_to_cart).each(((e,r)=>!t()(r).hasClass("product-add-to-cart")||(n=t()(r),!1))),null===n&&O();const o=t()(r().selectors.product.addToCart),i="#product-availability",a=".product-minimal-quantity";P({$addToCartSnippet:n,$targetParent:o,targetSelector:".add"}),P({$addToCartSnippet:n,$targetParent:o,targetSelector:i}),P({$addToCartSnippet:n,$targetParent:o,targetSelector:a})}(e);const i=parseInt(e.product_minimal_quantity,10);document.dispatchEvent(l),isNaN(i)||"updatedProductQuantity"===n||(s.attr("min",i),s.val(i)),r().emit("updatedProduct",e,c.serializeArray())},complete(){A=null,E=null}}))}),p)}function P(e){const n=t()(e.$targetParent.find(e.targetSelector));if(n.length<=0)return;const r=e.$addToCartSnippet.find(e.targetSelector);r.length>0?n.replaceWith(r[0].outerHTML):n.html("")}t()(document).ready((()=>{const e=t()(r().selectors.product.actions);t()("body").on("change touchspin.on.startspin",`${r().selectors.product.variants} *[name]`,(e=>{D=!0,r().emit("updateProduct",{eventType:"updatedProductCombination",event:e,resp:{},reason:{productUrl:r().urls.pages.product||""}})})),t()(e.find("form:first").serializeArray()).each(((e,{value:t,name:n})=>{q.push({value:t,name:n})})),window.addEventListener("popstate",(e=>{if(N=!0,(!e.state||e.state&&e.state.form&&0===e.state.form.length)&&!D)return;const n=t()(r().selectors.product.actions).find("form:first");e.state&&e.state.form?e.state.form.forEach((e=>{n.find(`[name="${e.name}"]`).val(e.value)})):q.forEach((e=>{n.find(`[name="${e.name}"]`).val(e.value)})),r().emit("updateProduct",{eventType:"updatedProductCombination",event:e,resp:{},reason:{productUrl:r().urls.pages.product||""}})})),t()("body").on("click",r().selectors.product.refresh,((e,t)=>{e.preventDefault();let n="updatedProductCombination";void 0!==t&&t.eventType&&(n=t.eventType),r().emit("updateProduct",{eventType:n,event:e,resp:{},reason:{productUrl:r().urls.pages.product||""}})})),r().on("updateProduct",(e=>{const{eventType:n}=e,{event:o}=e;(function(){const e=t().Deferred(),n=t()(r().selectors.product.actions),o=t()(r().selectors.quantityWanted);if(null!==r()&&null!==r().urls&&null!==r().urls.pages&&""!==r().urls.pages.product&&null!==r().urls.pages.product)return e.resolve(r().urls.pages.product),e.promise();const i={};return t()(n.find("form:first").serializeArray()).each(((e,t)=>{i[t.name]=t.value})),t().ajax({url:n.find("form:first").attr("action"),method:"POST",data:S({ajax:1,action:"productrefresh",quantity_wanted:o.val()},i),dataType:"json",success(t){const n=t.productUrl;r().page.canonical=n,e.resolve(n)},error(t,n,r){e.reject({jqXHR:t,textStatus:n,errorThrown:r})}}),e.promise()})().done((e=>_(o,n,e))).fail((()=>{0===t()("section#main > .ajax-error").length&&O()}))})),r().on("updatedProduct",((e,n)=>{if(!e.product_url||!e.id_product_attribute)return;if(t()(".modal.quickview").length)return;let r=document.title;e.product_title&&(r=e.product_title,t()(document).attr("title",r)),N||window.history.pushState({id_product_attribute:e.id_product_attribute,form:n},r,e.product_url),N=!1})),r().on("updateCart",(e=>{if(!e||!e.reason||"add-to-cart"!==e.reason.linkAction)return;t()("#quantity_wanted").val(1)})),r().on("showErrorNextToAddtoCartButton",(e=>{e&&e.errorMessage&&O(e.errorMessage)}))})),t()(document).ready((()=>{var e;e={country:".js-country",address:".js-address-form"},t()("body").on("change",e.country,(()=>{const n={id_country:t()(e.country).val(),id_address:t()(`${e.address} form`).data("id-address")},o=t()(`${e.address} form`).data("refresh-url"),i=`${e.address} input`;t().post(o,n).then((n=>{const o=[];t()(i).each((function(){o[t()(this).prop("name")]=t()(this).val()})),t()(e.address).replaceWith(n.address_form),t()(i).each((function(){t()(this).val(o[t()(this).prop("name")])})),r().emit("updatedAddressForm",{target:t()(e.address),resp:n})})).fail((e=>{r().emit("handleError",{eventType:"updateAddressForm",resp:e})}))}))}));const L=2147483647,$=36,H=/^xn--/,R=/[^\0-\x7E]/,I=/[\x2E\u3002\uFF0E\uFF61]/g,M={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
286= 0x80 (not a basic code point)","invalid-input":"Invalid input"},W=Math.floor,F=String.fromCharCode;function B(e){throw new RangeError(M[e])}function Q(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(I,".")).split("."),t).join(".");return r+o}function z(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t}const U=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},X=function(e,t,n){let r=0;for(e=n?W(e/700):e>>1,e+=W(e/t);e>455;r+=$)e=W(e/35);return W(r+36*e/(e+38))},V=function(e){const t=[],n=e.length;let r=0,o=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n<a;++n)e.charCodeAt(n)>=128&&B("not-basic"),t.push(e.charCodeAt(n));for(let c=a>0?a+1:0;c<n;){let a=r;for(let t=1,o=$;;o+=$){c>=n&&B("invalid-input");const a=(s=e.charCodeAt(c++))-48<10?s-22:s-65<26?s-65:s-97<26?s-97:$;(a>=$||a>W((L-r)/t))&&B("overflow"),r+=a*t;const u=o<=i?1:o>=i+26?26:o-i;if(a<u)break;const l=$-u;t>W(L/l)&&B("overflow"),t*=l}const u=t.length+1;i=X(r-a,u,0==a),W(r/u)>L-o&&B("overflow"),o+=W(r/u),r%=u,t.splice(r++,0,o)}var s;return String.fromCodePoint(...t)},G=function(e){const t=[];let n=(e=z(e)).length,r=128,o=0,i=72;for(const n of e)n<128&&t.push(F(n));let a=t.length,s=a;
286for(a&&t.push("-");s<n;){let n=L;for(const t of e)t>=r&&t<n&&(n=t);const c=s+1;n-r>W((L-o)/c)&&B("overflow"),o+=(n-r)*c,r=n;for(const n of e)if(n<r&&++o>L&&B("overflow"),n==r){let e=o;for(let n=$;;n+=$){const r=n<=i?1:n>=i+26?26:n-i;if(e<r)break;const o=e-r,a=$-r;t.push(F(U(r+o%a,0))),e=W(o/a)}t.push(F(U(e,0))),i=X(o,c,s==a),o=0,++s}++o,++r}return t.join("")},J={version:"2.1.0",ucs2:{decode:z,encode:e=>String.fromCodePoint(...e)},decode:V,encode:G,toASCII:function(e){return Q(e,(function(e){return R.test(e)?"xn--"+G(e):e}))},toUnicode:function(e){return Q(e,(function(e){return H.test(e)?V(e.slice(4).toLowerCase()):e}))}},Y=function(e){const n=t()(e);t().each(n,((e,t)=>{if(!t.checkValidity()){const e=t.value.split("@");J.toASCII(e[0])===e[0]&&(t.value=J.toASCII(t.value))}}))};
287/**
288 * Copyright since 2007 PrestaShop SA and Contributors
289 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
290 *
291 * NOTICE OF LICENSE
292 *
293 * This source file is subject to the Open Software License (OSL 3.0)
294 * that is bundled with this package in the file LICENSE.md.
295 * It is also available through the world-wide-web at this URL:
296 * https://opensource.org/licenses/OSL-3.0
297 * If you did not receive a copy of the license and are unable to
298 * obtain it through the world-wide-web, please send an email
299 * to [email protected] so we can send you a copy immediately.
300 *
301 * DISCLAIMER
302 *
303 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
304 * versions in the future. If you wish to customize PrestaShop for your
305 * needs please refer to https://devdocs.prestashop.com/ for more information.
306 *
307 * @author    PrestaShop SA and Contributors <[email protected]>
308 * @copyright Since 2007 PrestaShop SA and Contributors
309 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
310 */
311a.p=window.prestashop.core_js_public_path,window.$=t(),window.jQuery=t(),t()(document).ready((()=>{t()(".ps-shown-by-js").show(),t()(".ps-hidden-by-js").hide(),Y('input[type="email"]')}))})()})();(()=>{var n={105:()=>{!function(s){function a(e,t){this.options=t,this.$elementFilestyle=[],this.$element=s(e)}var r=0;a.prototype={clear:function(){this.$element.val(""),this.$elementFilestyle.find(":text").val(""),this.$elementFilestyle.find(".badge").remove()},destroy:function(){this.$element.removeAttr("style").removeData("filestyle"),this.$elementFilestyle.remove()},disabled:function(e){if(!0===e)this.options.disabled||(this.$element.attr("disabled","true"),this.$elementFilestyle.find("label").attr("disabled","true"),this.options.disabled=!0);else{if(!1!==e)return this.options.disabled;this.options.disabled&&(this.$element.removeAttr("disabled"),this.$elementFilestyle.find("label").removeAttr("disabled"),this.options.disabled=!1)}},buttonBefore:function(e){if(!0===e)this.options.buttonBefore||(this.options.buttonBefore=!0,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()));else{if(!1!==e)return this.options.buttonBefore;this.options.buttonBefore&&(this.options.buttonBefore=!1,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()))}},icon:function(e){if(!0===e)this.options.icon||(this.options.icon=!0,this.$elementFilestyle.find("label").prepend(this.htmlIcon()));else{if(!1!==e)return this.options.icon;this.options.icon&&(this.options.icon=!1,this.$elementFilestyle.find(".icon-span-filestyle").remove())}},input:function(e){if(!0===e)this.options.input||(this.options.input=!0,this.options.buttonBefore?this.$elementFilestyle.append(this.htmlInput()):this.$elementFilestyle.prepend(this.htmlInput()),this.$elementFilestyle.find(".badge").remove(),this.pushNameFiles(),this.$elementFilestyle.find(".group-span-filestyle").addClass("input-group-btn"));else{if(!1!==e)return this.options.input;this.options.input&&(this.options.input=!1,this.$elementFilestyle.find(":text").remove(),0<(e=this.pushNameFiles()).length&&this.options.badge&&this.$elementFilestyle.find("label").append(' <span class="badge">'+e.length+"</span>"),this.$elementFilestyle.find(".group-span-filestyle").removeClass("input-group-btn"))}},size:function(e){if(void 0===e)return this.options.size;var t=this.$elementFilestyle.find("label"),n=this.$elementFilestyle.find("input");t.removeClass("btn-lg btn-sm"),n.removeClass("input-lg input-sm"),"nr"!=e&&(t.addClass("btn-"+e),n.addClass("input-"+e))},placeholder:function(e){if(void 0===e)return this.options.placeholder;this.options.placeholder=e,this.$elementFilestyle.find("input").attr("placeholder",e)},buttonText:function(e){if(void 0===e)return this.options.buttonText;this.options.buttonText=e,this.$elementFilestyle.find("label .buttonText").html(this.options.buttonText)},buttonName:function(e){if(void 0===e)return this.options.buttonName;this.options.buttonName=e,this.$elementFilestyle.find("label").attr({class:"btn "+this.options.buttonName})},iconName:function(e){if(void 0===e)return this.options.iconName;
311this.$elementFilestyle.find(".icon-span-filestyle").attr({class:"icon-span-filestyle "+this.options.iconName})},htmlIcon:function(){return this.options.icon?'<span class="icon-span-filestyle '+this.options.iconName+'"></span> ':""},htmlInput:function(){return this.options.input?'<input type="text" class="form-control '+("nr"==this.options.size?"":"input-"+this.options.size)+'" placeholder="'+this.options.placeholder+'" disabled> ':""},pushNameFiles:function(){var e="",t=[];void 0===this.$element[0].files?t[0]={name:this.$element[0]&&this.$element[0].value}:t=this.$element[0].files;for(var n=0;n<t.length;n++)e+=t[n].name.split("\\").pop()+", ";return""!==e?this.$elementFilestyle.find(":text").val(e.replace(/\, $/g,"")):this.$elementFilestyle.find(":text").val(""),t},constructor:function(){var e,t,n=this,i=n.$element.attr("id");""!==i&&i||(n.$element.attr({id:i="filestyle-"+r}),r++),t='<span class="group-span-filestyle '+(n.options.input?"input-group-btn":"")+'"><label for="'+i+'" class="btn '+n.options.buttonName+" "+("nr"==n.options.size?"":"btn-"+n.options.size)+'" '+(n.options.disabled?'disabled="true"':"")+">"+n.htmlIcon()+'<span class="buttonText">'+n.options.buttonText+"</span></label></span>",e=n.options.buttonBefore?t+n.htmlInput():n.htmlInput()+t,n.$elementFilestyle=s('<div class="bootstrap-filestyle input-group">'+e+"</div>"),n.$elementFilestyle.find(".group-span-filestyle").attr("tabindex","0").keypress(function(e){if(13===e.keyCode||32===e.charCode)return n.$elementFilestyle.find("label").click(),!1}),n.$element.css({position:"absolute",clip:"rect(0px 0px 0px 0px)"}).attr("tabindex","-1").after(n.$elementFilestyle),n.options.disabled&&n.$element.attr("disabled","true"),n.$element.change(function(){var e=n.pushNameFiles();0==n.options.input&&n.options.badge?0==n.$elementFilestyle.find(".badge").length?n.$elementFilestyle.find("label").append(' <span class="badge">'+e.length+"</span>"):0==e.length?n.$elementFilestyle.find(".badge").remove():n.$elementFilestyle.find(".badge").html(e.length):n.$elementFilestyle.find(".badge").remove()}
311),-1<window.navigator.userAgent.search(/firefox/i)&&n.$elementFilestyle.find("label").click(function(){return n.$element.click(),!1})}};var e=s.fn.filestyle;s.fn.filestyle=function(i,r){var o="";this.each(function(){var e,t,n;"file"===s(this).attr("type")&&(t=(e=s(this)).data("filestyle"),n=s.extend({},s.fn.filestyle.defaults,i,"object"==typeof i&&i),t||(e.data("filestyle",t=new a(this,n)),t.constructor()),"string"==typeof i&&(o=t[i](r)))});return o},s.fn.filestyle.defaults={buttonText:"Choose file",iconName:"glyphicon glyphicon-folder-open",buttonName:"btn-default",size:"nr",input:!0,badge:!0,icon:!0,buttonBefore:!1,disabled:!1,placeholder:""},s.fn.filestyle.noConflict=function(){return s.fn.filestyle=e,this},s(function(){s(".filestyle").each(function(){var e=s(this),t={input:"false"!==e.attr("data-input"),icon:"false"!==e.attr("data-icon"),buttonBefore:"true"===e.attr("data-buttonBefore"),disabled:"true"===e.attr("data-disabled"),size:e.attr("data-size"),buttonText:e.attr("data-buttonText"),buttonName:e.attr("data-buttonName"),iconName:e.attr("data-iconName"),badge:"false"!==e.attr("data-badge"),placeholder:e.attr("data-placeholder")};e.filestyle(t)})})}(window.jQuery)},285:()=>{var g;(g=jQuery).fn.scrollbox=function(m){return(m=g.extend({linear:!1,startDelay:2,delay:3,step:5,speed:32,switchItems:1,direction:"vertical",distance:"auto",autoPlay:!0,onMouseOverPause:!0,paused:!1,queue:null,listElement:"ul",listItemElement:"li",infiniteLoop:!0,switchAmount:0,afterForward:null,afterBackward:null,triggerStackable:!1},m)).scrollOffset="vertical"===m.direction?"scrollTop":"scrollLeft",m.queue&&(m.queue=g("#"+m.queue)),this.each(function(){var i,r,e,o,t,n,s,a,l,c=g(this),u=null,f=null,d=!1,h=0,p=0;m.onMouseOverPause&&(c.bind("mouseover",function(){d=!0}),c.bind("mouseout",function(){d=!1})),i=c.children(m.listElement+":first-child"),!1===m.infiniteLoop&&0===m.switchAmount&&(m.switchAmount=i.children().length),n=function(){if(!d){var e,t=i.children(m.listItemElement+":first-child"),t="auto"!==m.distance?m.distance:"vertical"===m.direction?t.outerHeight(!0):t.outerWidth(!0),n=m.linear?Math.min(c[0][m.scrollOffset]+m.step,t):(n=Math.max(3,parseInt(.3*(t-c[0][m.scrollOffset]),10)),Math.min(c[0][m.scrollOffset]+n,t));if(t<=(c[0][m.scrollOffset]=n)){for(e=0;e<m.switchItems;e++)m.queue&&0<m.queue.find(m.listItemElement).length?(i.append(m.queue.find(m.listItemElement)[0]),i.children(m.listItemElement+":first-child").remove()):i.append(i.children(m.listItemElement+":first-child")),++h;c[0][m.scrollOffset]=0,clearInterval(u),u=null,g.isFunction(m.afterForward)&&m.afterForward.call(c,{switchCount:h,currentFirstChild:i.children(m.listItemElement+":first-child")}),m.triggerStackable&&0!==p?r():!1===m.infiniteLoop&&h>=m.switchAmount||m.autoPlay&&(f=setTimeout(o,1e3*m.delay))}}},s=function(){if(!d){var e,t,n;if(0===c[0][m.scrollOffset]){for(e=0;e<m.switchItems;e++)i.children(m.listItemElement+":last-child").insertBefore(i.children(m.listItemElement+":first-child"));t=i.children(m.listItemElement+":first-child"),t="auto"!==m.distance?m.distance:"vertical"===m.direction?t.height():t.width(),c[0][m.scrollOffset]=t}n=m.linear?Math.max(c[0][m.scrollOffset]-m.step,0):(n=Math.max(3,parseInt(.3*c[0][m.scrollOffset],10)),Math.max(c[0][m.scrollOffset]-n,0)),0===(c[0][m.scrollOffset]=n)&&(--h,clearInterval(u),u=null,g.isFunction(m.afterBackward)&&m.afterBackward.call(c,{switchCount:h,currentFirstChild:i.children(m.listItemElement+":first-child")}),m.triggerStackable&&0!==p?r():m.autoPlay&&(f=setTimeout(o,1e3*m.delay)))}},r=function(){0!==p&&(f=0<p?(p--,setTimeout(o,0)):(p++,setTimeout(e,0)))},o=function(){clearInterval(u),u=setInterval(n,m.speed)},e=function(){clearInterval(u),u=setInterval(s,m.speed)},a=function(){m.autoPlay=!0,d=!1,clearInterval(u),u=setInterval(n,m.speed)},l=function(){d=!0},t=function(e){m.delay=e||m.delay,clearTimeout(f),m.autoPlay&&(f=setTimeout(o,1e3*m.delay))},m.autoPlay&&(f=setTimeout(o,1e3*m.startDelay)),c.bind("resetClock",function(e){t(e)}),c.bind("forward",function(){m.triggerStackable?null!==u?p++:o():(clearTimeout(f),o())}),c.bind("backward",function(){m.triggerStackable?null!==u?p--:e():(clearTimeout(f),e())}),c.bind("pauseHover",function(){l()}),c.bind("forwardHover",function(){a()}),c.bind("speedUp",function(e,t){"undefined"===t&&(t=Math.max(1,parseInt(m.speed/2,10))),m.speed=t}),c.bind("speedDown",function(e,t){"undefined"===t&&(t=2*m.speed),m.speed=t}),c.bind("updateConfig",function(e,t){m=g.extend(m,t)})})}},877:()=>{!function(_){"use strict";var S=0;function T(e,t){return _.map(e,function(e){return e+".touchspin_"+t})}_.fn.TouchSpin=function(b){if("destroy"!==b){var w={min:0,max:100,initval:"",replacementval:"",step:1,decimals:0,stepinterval:100,forcestepdivisibility:"round",stepintervaldelay:500,verticalbuttons:!1,verticalupclass:"glyphicon glyphicon-chevron-up",verticaldownclass:"glyphicon glyphicon-chevron-down",prefix:"",postfix:"",prefix_extraclass:"",postfix_extraclass:"",booster:!0,boostat:10,maxboostedstep:!1,mousewheel:!0,buttondown_class:"btn btn-default",buttonup_class:"btn btn-default",buttondown_txt:"-",buttonup_txt:"+"},x={min:"min",max:"max",initval:"init-val",replacementval:"replacement-val",step:"step",decimals:"decimals",stepinterval:"step-interval",verticalbuttons:"vertical-buttons",verticalupclass:"vertical-up-class",verticaldownclass:"vertical-down-class",forcestepdivisibility:"force-step-divisibility",stepintervaldelay:"step-interval-delay",prefix:"prefix",postfix:"postfix",prefix_extraclass:"prefix-extra-class",postfix_extraclass:"postfix-extra-class",booster:"booster",boostat:"boostat",maxboostedstep:"max-boosted-step",mousewheel:"mouse-wheel",buttondown_class:"button-down-class",buttonup_class:"button-up-class",buttondown_txt:"button-down-txt",buttonup_txt:"button-up-txt"};return this.each(function(){var a,l,n,i,e,t,r,o,c=_(this),s=c.data(),u=0,f=!1;function d(){var e,t,n=c.val();""!==n?0<a.decimals&&"."===n||(e=parseFloat(n),(t=e=isNaN(e)?""!==a.replacementval?a.replacementval:0:e).toString()!==n&&(t=e),e<a.min&&(t=a.min),t=function(e){switch(a.forcestepdivisibility){case"round":return(Math.round(e/a.step)*a.step).toFixed(a.decimals);case"floor":return(Math.floor(e/a.step)*a.step).toFixed(a.decimals);case"ceil":return(Math.ceil(e/a.step)*a.step).toFixed(a.decimals);default:return e}}(t=e>a.max?a.max:t),Number(n).toString()!==t.toString()&&(c.val(t),c.trigger("change"))):""!==a.replacementval&&(c.val(a.replacementval),c.trigger("change"))}function h(){if(a.booster){var e=Math.pow(2,Math.floor(u/a.boostat))*a.step;return a.maxboostedstep&&e>a.maxboostedstep&&(e=a.maxboostedstep,i=Math.round(i/e)*e),Math.max(a.step,e)}return a.step}function p(){d(),i=parseFloat(n.input.val());var e=i=isNaN(i)?0:i,t=h();(i+=t)>a.max&&(i=a.max,c.trigger("touchspin.on.max"),v()),n.input.val(Number(i).toFixed(a.decimals)),e!==i&&c.trigger("change")}function m(){d(),i=parseFloat(n.input.val());var e=i=isNaN(i)?0:i,t=h();(i-=t)<a.min&&(i=a.min,c.trigger("touchspin.on.min"),v()),n.input.val(i.toFixed(a.decimals)),e!==i&&c.trigger("change")}function g(){v(),u=0,f="down",c.trigger("touchspin.on.startspin"),c.trigger("touchspin.on.startdownspin"),r=setTimeout(function(){e=setInterval(function(){u++,m()},a.stepinterval)},a.stepintervaldelay)}function y(){v(),u=0,f="up",c.trigger("touchspin.on.startspin"),c.trigger("touchspin.on.startupspin"),o=setTimeout(function(){t=setInterval(function(){u++,p()},a.stepinterval)},a.stepintervaldelay)}function v(){switch(clearTimeout(r),clearTimeout(o),clearInterval(e),clearInterval(t),f){case"up":c.trigger("touchspin.on.stopupspin"),c.trigger("touchspin.on.stopspin");break;case"down":c.trigger("touchspin.on.stopdownspin"),c.trigger("touchspin.on.stopspin")}u=0,f=!1}c.data("alreadyinitialized")||(c.data("alreadyinitialized",!0),S+=1,c.data("spinnerid",S),c.is("input")&&(""!==(a=_.extend({},w,s,function(){var n={};return _.each(x,function(e,t){t="bts-"+t;c.is("[data-"+t+"]")&&(n[e]=c.data(t))}),n}(),b)).initval&&""===c.val()&&c.val(a.initval),d(),function(){var e=c.val(),t=c.parent();""!==e&&(e=Number(e).toFixed(a.decimals));c.data("initvalue",e).val(e),c.addClass("form-control"),t.hasClass("input-group")?function(e){e.addClass("bootstrap-touchspin");var t,n,i=c.prev(),r=c.next(),o='<span class="input-group-addon bootstrap-touchspin-prefix">'+a.prefix+"</span>
311",s='<span class="input-group-addon bootstrap-touchspin-postfix">'+a.postfix+"</span>";i.hasClass("input-group-btn")?(t='<button class="'+a.buttondown_class+' bootstrap-touchspin-down" type="button">'+a.buttondown_txt+"</button>",i.append(t)):(t='<span class="input-group-btn"><button class="'+a.buttondown_class+' bootstrap-touchspin-down" type="button">'+a.buttondown_txt+"</button></span>",_(t).insertBefore(c));r.hasClass("input-group-btn")?(n='<button class="'+a.buttonup_class+' bootstrap-touchspin-up" type="button">'+a.buttonup_txt+"</button>",r.prepend(n)):(n='<span class="input-group-btn"><button class="'+a.buttonup_class+' bootstrap-touchspin-up" type="button">'+a.buttonup_txt+"</button></span>",_(n).insertAfter(c));_(o).insertBefore(c),_(s).insertAfter(c),l=e}(t):function(){var e;e=a.verticalbuttons?'<div class="input-group bootstrap-touchspin"><span class="input-group-addon bootstrap-touchspin-prefix">'+a.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+a.postfix+'</span><span class="input-group-btn-vertical"><button class="'+a.buttondown_class+' bootstrap-touchspin-up" type="button"><i class="'+a.verticalupclass+'"></i></button><button class="'+a.buttonup_class+' bootstrap-touchspin-down" type="button"><i class="'+a.verticaldownclass+'"></i></button></span></div>':'<div class="input-group bootstrap-touchspin"><span class="input-group-btn"><button class="'+a.buttondown_class+' bootstrap-touchspin-down" type="button">'+a.buttondown_txt+'</button></span><span class="input-group-addon bootstrap-touchspin-prefix">'+a.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+a.postfix+'</span><span class="input-group-btn"><button class="'+a.buttonup_class+' bootstrap-touchspin-up" type="button">'+a.buttonup_txt+"</button></span></div>";l=_(e).insertBefore(c),_(".bootstrap-touchspin-prefix",l).after(c),c.hasClass("input-sm")?l.addClass("input-group-sm"):c.hasClass("input-lg")&&l.addClass("input-group-lg")}()}(),n={down:_(".bootstrap-touchspin-down",l),up:_(".bootstrap-touchspin-up",l),input:_("input",l),prefix:_(".bootstrap-touchspin-prefix",l).addClass(a.prefix_extraclass),postfix:_(".bootstrap-touchspin-postfix",l).addClass(a.postfix_extraclass)},function(){""===a.prefix&&n.prefix.hide();""===a.postfix&&n.postfix.hide()}(),c.on("keydown",function(e){var t=e.keyCode||e.which;38===t?("up"!==f&&(p(),y()),e.preventDefault()):40===t&&("down"!==f&&(m(),g()),e.preventDefault())}),c.on("keyup",function(e){e=e.keyCode||e.which;38!==e&&40!==e||v()}),c.on("blur",function(){d()}),n.down.on("keydown",function(e){var t=e.keyCode||e.which;32!==t&&13!==t||("down"!==f&&(m(),g()),e.preventDefault())}),n.down.on("keyup",function(e){e=e.keyCode||e.which;32!==e&&13!==e||v()}),n.up.on("keydown",function(e){var t=e.keyCode||e.which;32!==t&&13!==t||("up"!==f&&(p(),y()),e.preventDefault())}),n.up.on("keyup",function(e){e=e.keyCode||e.which;32!==e&&13!==e||v()}),n.down.on("mousedown.touchspin",function(e){n.down.off("touchstart.touchspin"),c.is(":disabled")||(m(),g(),e.preventDefault(),e.stopPropagation())}),n.down.on("touchstart.touchspin",function(e){n.down.off("mousedown.touchspin"),c.is(":disabled")||(m(),g(),e.preventDefault(),e.stopPropagation())}),n.up.on("mousedown.touchspin",function(e){n.up.off("touchstart.touchspin"),c.is(":disabled")||(p(),y(),e.preventDefault(),e.stopPropagation())}),n.up.on("touchstart.touchspin",function(e){n.up.off("mousedown.touchspin"),c.is(":disabled")||(p(),y(),e.preventDefault(),e.stopPropagation())}),n.up.on("mouseout touchleave touchend touchcancel",function(e){f&&(e.stopPropagation(),v())}),n.down.on("mouseout touchleave touchend touchcancel",function(e){f&&(e.stopPropagation(),v())}),n.down.on("mousemove touchmove",function(e){f&&(e.stopPropagation(),e.preventDefault())}),n.up.on("mousemove touchmove",function(e){f&&(e.stopPropagation(),e.preventDefault())}),_(document).on(T(["mouseup","touchend","touchcancel"],S).join(" "),function(e){f&&(e.preventDefault(),v())}),_(document).on(T(["mousemove","touchmove","scroll","scrollstart"],S).join(" "),function(e){f&&(e.preventDefault(),v())}),c.on("mousewheel DOMMouseScroll",function(e){var t;a.mousewheel&&c.is(":focus")&&(t=e.originalEvent.wheelDelta||-e.originalEvent.deltaY||-e.originalEvent.detail,e.stopPropagation(),e.preventDefault(),(t<0?m:p)())}),c.on("touchspin.uponce",function(){v(),p()}),c.on("touchspin.downonce",function(){v(),m()}),c.on("touchspin.startupspin",function(){y()}),c.on("touchspin.startdownspin",function(){g()}),c.on("touchspin.stopspin",function(){v()}),c.on("touchspin.updatesettings",function(e,t){!function(e){(function(e){a=_.extend({},a,e)})(e),d();e=n.input.val();""!==e&&(e=Number(n.input.val()),n.input.val(e.toFixed(a.decimals)))}(t)}),n.input.css("display","block")))})}this.each(function(){var e=_(this).data();_(document).off(T(["mouseup","touchend","touchcancel","mousemove","touchmove","scroll","scrollstart"],e.spinnerid).join(" "))})}}(jQuery)},948:()=>{if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e(e){var t=this,n=!1;return r(this).one(o.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||o.triggerTransitionEnd(t)},e),this}function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r,t,n,o,x,_,S,m;!function(){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),x="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},r=jQuery,t=!(_=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},o={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");return t||(t=e.getAttribute("href")||"",t=/^#[a-z]/i.test(t)?t:null),t},reflow:function(e){new Function("bs","return bs")(e.offsetHeight)}
311,triggerTransitionEnd:function(e){r(e).trigger(t.end)},supportsTransitionEnd:function(){return Boolean(t)},typeCheckConfig:function(e,t,n){for(var i in n)if(n.hasOwnProperty(i)){var r=n[i],o=t[i],s=o&&((a=o)[0]||a).nodeType?"element":(o=o,{}.toString.call(o).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}var a}},t=function(){if(window.QUnit)return!1;var e,t=document.createElement("bootstrap");for(e in n)if(void 0!==t.style[e])return{end:n[e]};return!1}(),r.fn.emulateTransitionEnd=e,o.supportsTransitionEnd()&&(r.event.special[o.TRANSITION_END]={bindType:t.end,delegateType:t.end,handle:function(e){if(r(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}),S=o,function(i){var e="alert",r="bs.alert",t="."+r,n=i.fn[e],o={CLOSE:"close"+t,CLOSED:"closed"+t,CLICK_DATA_API:"click"+t+".data-api"},s="alert",a="fade",l="in",c=(u.prototype.close=function(e){e=e||this._element;e=this._getRootElement(e);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},u.prototype.dispose=function(){i.removeData(this._element,r),this._element=null},u.prototype._getRootElement=function(e){var t=S.getSelectorFromElement(e),n=!1;return n=(n=t?i(t)[0]:n)||i(e).closest("."+s)[0]},u.prototype._triggerCloseEvent=function(e){var t=i.Event(o.CLOSE);return i(e).trigger(t),t},u.prototype._removeElement=function(e){return i(e).removeClass(l),S.supportsTransitionEnd()&&i(e).hasClass(a)?void i(e).one(S.TRANSITION_END,i.proxy(this._destroyElement,this,e)).emulateTransitionEnd(150):void this._destroyElement(e)},u.prototype._destroyElement=function(e){i(e).detach().trigger(o.CLOSED).remove()},u._jQueryInterface=function(n){return this.each(function(){var e=i(this),t=e.data(r);t||(t=new u(this),e.data(r,t)),"close"===n&&t[n](this)})},u._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},_(u,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),u);function u(e){w(this,u),this._element=e}i(document).on(o.CLICK_DATA_API,'[data-dismiss="alert"]',c._handleDismiss(new c)),i.fn[e]=c._jQueryInterface,i.fn[e].Constructor=c,i.fn[e].noConflict=function(){return i.fn[e]=n,c._jQueryInterface}}(jQuery),function(i){var e="button",n="bs.button",t="."+n,r=".data-api",o=i.fn[e],s="active",a="btn",l="focus",c='[data-toggle^="button"]',u='[data-toggle="buttons"]',f="input",d=".active",h=".btn",r={CLICK_DATA_API:"click"+t+r,FOCUS_BLUR_DATA_API:"focus"+t+r+" blur"+t+r},p=(m.prototype.toggle=function(){var e,t=!0,n=i(this._element).closest(u)[0];n?(e=i(this._element).find(f)[0])&&("radio"===e.type&&(e.checked&&i(this._element).hasClass(s)?t=!1:(n=i(n).find(d)[0])&&i(n).removeClass(s)),t&&(e.checked=!i(this._element).hasClass(s),i(this._element).trigger("change")),e.focus()):this._element.setAttribute("aria-pressed",!i(this._element).hasClass(s)),t&&i(this._element).toggleClass(s)},m.prototype.dispose=function(){i.removeData(this._element,n),this._element=null},m._jQueryInterface=function(t){return this.each(function(){var e=i(this).data(n);e||(e=new m(this),i(this).data(n,e)),"toggle"===t&&e[t]()})},_(m,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),m);function m(e){w(this,m),this._element=e}i(document).on(r.CLICK_DATA_API,c,function(e){e.preventDefault();e=e.target;i(e).hasClass(a)||(e=i(e).closest(h)),p._jQueryInterface.call(i(e),"toggle")}).on(r.FOCUS_BLUR_DATA_API,c,function(e){var t=i(e.target).closest(h)[0];i(t).toggleClass(l,/^focus(in)?$/.test(e.type))}),i.fn[e]=p._jQueryInterface,i.fn[e].Constructor=p,i.fn[e].noConflict=function(){return i.fn[e]=o,p._jQueryInterface}}(jQuery),function(a){var t="carousel",r="bs.carousel",e="."+r,n=".data-api",i=a.fn[t],o={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},s={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},l="next",c="prev",u={SLIDE:"slide"+e,SLID:"slid"+e,KEYDOWN:"keydown"+e,MOUSEENTER:"mouseenter"+e,MOUSELEAVE:"mouseleave"+e,LOAD_DATA_API:"load"+e+n,CLICK_DATA_API:"click"+e+n},f="carousel",d="active",h="slide",p="right",m="left",g={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".next, .prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-sli
311de], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},y=(v.prototype.next=function(){this._isSliding||this._slide(l)},v.prototype.nextWhenVisible=function(){document.hidden||this.next()},v.prototype.prev=function(){this._isSliding||this._slide(c)},v.prototype.pause=function(e){e||(this._isPaused=!0),a(this._element).find(g.NEXT_PREV)[0]&&S.supportsTransitionEnd()&&(S.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},v.prototype.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval(a.proxy(document.visibilityState?this.nextWhenVisible:this.next,this),this._config.interval))},v.prototype.to=function(e){var t=this;this._activeElement=a(this._element).find(g.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)a(this._element).one(u.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();this._slide(n<e?l:c,this._items[e])}},v.prototype.dispose=function(){a(this._element).off(e),a.removeData(this._element,r),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},v.prototype._getConfig=function(e){return e=a.extend({},o,e),S.typeCheckConfig(t,e,s),e},v.prototype._addEventListeners=function(){this._config.keyboard&&a(this._element).on(u.KEYDOWN,a.proxy(this._keydown,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||a(this._element).on(u.MOUSEENTER,a.proxy(this.pause,this)).on(u.MOUSELEAVE,a.proxy(this.cycle,this))},v.prototype._keydown=function(e){if(e.preventDefault(),!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}},v.prototype._getItemIndex=function(e){return this._items=a.makeArray(a(e).parent().find(g.ITEM)),this._items.indexOf(e)},v.prototype._getItemByDirection=function(e,t){var n=e===l,i=e===c,r=this._getItemIndex(t),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return t;e=(r+(e===c?-1:1))%this._items.length;return-1==e?this._items[this._items.length-1]:this._items[e]},v.prototype._triggerSlideEvent=function(e,t){t=a.Event(u.SLIDE,{relatedTarget:e,direction:t});return a(this._element).trigger(t),t},v.prototype._setActiveIndicatorElement=function(e){this._indicatorsElement&&(a(this._indicatorsElement).find(g.ACTIVE).removeClass(d),(e=this._indicatorsElement.children[this._getItemIndex(e)])&&a(e).addClass(d))},v.prototype._slide=function(e,t){var n,i=this,r=a(this._element).find(g.ACTIVE_ITEM)[0],o=t||r&&this._getItemByDirection(e,r),t=Boolean(this._interval),s=e===l?m:p;o&&a(o).hasClass(d)?this._isSliding=!1:!this._triggerSlideEvent(o,s).isDefaultPrevented()&&r&&o&&(this._isSliding=!0,t&&this.pause(),this._setActiveIndicatorElement(o),n=a.Event(u.SLID,{relatedTarget:o,direction:s}),S.supportsTransitionEnd()&&a(this._element).hasClass(h)?(a(o).addClass(e),S.reflow(o),a(r).addClass(s),a(o).addClass(s),a(r).one(S.TRANSITION_END,function(){a(o).removeClass(s).removeClass(e),a(o).addClass(d),a(r).removeClass(d).removeClass(e).removeClass(s),i._isSliding=!1,setTimeout(function(){return a(i._element).trigger(n)},0)}).emulateTransitionEnd(600)):(a(r).removeClass(d),a(o).addClass(d),this._isSliding=!1,a(this._element).trigger(n)),t&&this.cycle())},v._jQueryInterface=function(i){return this.each(function(){var e=a(this).data(r),t=a.extend({},o,a(this).data());"object"===(void 0===i?"undefined":x(i))&&a.extend(t,i);var n="string"==typeof i?i:t.slide;if(e||(e=new v(this,t),a(this).data(r,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new Error('No method named "'+n+'"');e[n]()}else t.interval&&(e.pause(),e.cycle())})},v._dataApiClickHandler=function(e){var t,n,i=S.getSelectorFromElement(this);!i||(t=a(i)[0])&&a(t).hasClass(f)&&(n=a.extend({}
311,a(t).data(),a(this).data()),(i=this.getAttribute("data-slide-to"))&&(n.interval=!1),v._jQueryInterface.call(a(t),n),i&&a(t).data(r).to(i),e.preventDefault())},_(v,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return o}}]),v);function v(e,t){w(this,v),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(t),this._element=a(e)[0],this._indicatorsElement=a(this._element).find(g.INDICATORS)[0],this._addEventListeners()}a(document).on(u.CLICK_DATA_API,g.DATA_SLIDE,y._dataApiClickHandler),a(window).on(u.LOAD_DATA_API,function(){a(g.DATA_RIDE).each(function(){var e=a(this);y._jQueryInterface.call(e,e.data())})}),a.fn[t]=y._jQueryInterface,a.fn[t].Constructor=y,a.fn[t].noConflict=function(){return a.fn[t]=i,y._jQueryInterface}}(jQuery),function(o){var t="collapse",s="bs.collapse",e="."+s,n=o.fn[t],r={toggle:!0,parent:""},i={toggle:"boolean",parent:"string"},a={SHOW:"show"+e,SHOWN:"shown"+e,HIDE:"hide"+e,HIDDEN:"hidden"+e,CLICK_DATA_API:"click"+e+".data-api"},l="in",c="collapse",u="collapsing",f="collapsed",d="width",h="height",p=".card > .in, .card > .collapsing",e='[data-toggle="collapse"]',m=(g.prototype.toggle=function(){o(this._element).hasClass(l)?this.hide():this.show()},g.prototype.show=function(){var e,t,n,i,r=this;this._isTransitioning||o(this._element).hasClass(l)||(n=i=void 0,this._parent&&((i=o.makeArray(o(p))).length||(i=null)),i&&((n=o(i).data(s))&&n._isTransitioning)||(e=o.Event(a.SHOW),o(this._element).trigger(e),e.isDefaultPrevented()||(i&&(g._jQueryInterface.call(o(i),"hide"),n||o(i).data(s,null)),t=this._getDimension(),o(this._element).removeClass(c).addClass(u),this._element.style[t]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&o(this._triggerArray).removeClass(f).attr("aria-expanded",!0),this.setTransitioning(!0),n=function(){o(r._element).removeClass(u).addClass(c).addClass(l),r._element.style[t]="",r.setTransitioning(!1),o(r._element).trigger(a.SHOWN)},S.supportsTransitionEnd()?(i="scroll"+(t[0].toUpperCase()+t.slice(1)),o(this._element).one(S.TRANSITION_END,n).emulateTransitionEnd(600),this._element.style[t]=this._element[i]+"px"):n())))},g.prototype.hide=function(){var e=this;if(!this._isTransitioning&&o(this._element).hasClass(l)){var t=o.Event(a.HIDE);if(o(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element[n===d?"offsetWidth":"offsetHeight"]+"px",S.reflow(this._element),o(this._element).addClass(u).removeClass(c).removeClass(l),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&o(this._triggerArray).addClass(f).attr("aria-expanded",!1),this.setTransitioning(!0);t=function(){e.setTransitioning(!1),o(e._element).removeClass(u).addClass(c).trigger(a.HIDDEN)};return this._element.style[n]="",S.supportsTransitionEnd()?void o(this._element).one(S.TRANSITION_END,t).emulateTransitionEnd(600):void t()}}},g.prototype.setTransitioning=function(e){this._isTransitioning=e},g.prototype.dispose=function(){o.removeData(this._element,s),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},g.prototype._getConfig=function(e){return(e=o.extend({},r,e)).toggle=Boolean(e.toggle),S.typeCheckConfig(t,e,i),e},g.prototype._getDimension=function(){return o(this._element).hasClass(d)?d:h},g.prototype._getParent=function(){var n=this,e=o(this._config.parent)[0],t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return o(e).find(t).each(function(e,t){n._addAriaAndCollapsedClass(g._getTargetFromElement(t),[t])}),e},g.prototype._addAriaAndCollapsedClass=function(e,t){var n;e&&(n=o(e).hasClass(l),e.setAttribute("aria-expanded",n),t.length&&o(t).toggleClass(f,!n).attr("aria-expanded",n))},g._getTargetFromElement=function(e){e=S.getSelectorFromElement(e);return e?o(e)[0]:null},g._jQueryInterface=function(i){return this.each(function(){var e=o(this),t=e.data(s),n=o.extend({},r,e.data(),"object"===(void 0===i?"undefined":x(i))&&i);if(!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new g(this,n),e.data(s,t)),"string"==typeof i){if(void 0===t[i])throw new Error('No method n
311amed "'+i+'"');t[i]()}})},_(g,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return r}}]),g);function g(e,t){w(this,g),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=o.makeArray(o('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}o(document).on(a.CLICK_DATA_API,e,function(e){e.preventDefault();var t=m._getTargetFromElement(this),e=o(t).data(s)?"toggle":o(this).data();m._jQueryInterface.call(o(t),e)}),o.fn[t]=m._jQueryInterface,o.fn[t].Constructor=m,o.fn[t].noConflict=function(){return o.fn[t]=n,m._jQueryInterface}}(jQuery),function(a){var e="dropdown",n="bs.dropdown",t="."+n,i=".data-api",r=a.fn[e],l={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,CLICK:"click"+t,CLICK_DATA_API:"click"+t+i,KEYDOWN_DATA_API:"keydown"+t+i},o="dropdown-backdrop",s="disabled",c="open",u=".dropdown-backdrop",f='[data-toggle="dropdown"]',d=".dropdown form",h='[role="menu"]',i='[role="listbox"]',p=".navbar-nav",m='[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a',g=(y.prototype.toggle=function(){if(this.disabled||a(this).hasClass(s))return!1;var e=y._getParentFromElement(this),t=a(e).hasClass(c);if(y._clearMenus(),t)return!1;"ontouchstart"in document.documentElement&&!a(e).closest(p).length&&((n=document.createElement("div")).className=o,a(n).insertBefore(this),a(n).on("click",y._clearMenus));var t={relatedTarget:this},n=a.Event(l.SHOW,t);return a(e).trigger(n),!n.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),a(e).toggleClass(c),a(e).trigger(a.Event(l.SHOWN,t)),!1)},y.prototype.dispose=function(){a.removeData(this._element,n),a(this._element).off(t),this._element=null},y.prototype._addEventListeners=function(){a(this._element).on(l.CLICK,this.toggle)},y._jQueryInterface=function(t){return this.each(function(){var e=a(this).data(n);if(e||a(this).data(n,e=new y(this)),"string"==typeof t){if(void 0===e[t])throw new Error('No method named "'+t+'"');e[t].call(this)}})},y._clearMenus=function(e){if(!e||3!==e.which){var t=a(u)[0];t&&t.parentNode.removeChild(t);for(var n=a.makeArray(a(f)),i=0;i<n.length;i++){var r,o=y._getParentFromElement(n[i]),s={relatedTarget:n[i]};!a(o).hasClass(c)||e&&"click"===e.type&&/input|textarea/i.test(e.target.tagName)&&a.contains(o,e.target)||(r=a.Event(l.HIDE,s),a(o).trigger(r),r.isDefaultPrevented()||(n[i].setAttribute("aria-expanded","false"),a(o).removeClass(c).trigger(a.Event(l.HIDDEN,s))))}}},y._getParentFromElement=function(e){var t=void 0,n=S.getSelectorFromElement(e);return(t=n?a(n)[0]:t)||e.parentNode},y._dataApiKeydownHandler=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!a(this).hasClass(s))){var t=y._getParentFromElement(this),n=a(t).hasClass(c);if(!n&&27!==e.which||n&&27===e.which)return 27===e.which&&(i=a(t).find(f)[0],a(i).trigger("focus")),void a(this).trigger("click");var i,t=a.makeArray(a(m));(t=t.filter(function(e){return e.offsetWidth||e.offsetHeight})).length&&(i=t.indexOf(e.target),38===e.which&&0<i&&i--,40===e.which&&i<t.length-1&&i++,t[i=i<0?0:i].focus())}},_(y,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),y);function y(e){w(this,y),this._element=e,this._addEventListeners()}a(document).on(l.KEYDOWN_DATA_API,f,g._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,h,g._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,i,g._dataApiKeydownHandler).on(l.CLICK_DATA_API,g._clearMenus).on(l.CLICK_DATA_API,f,g.prototype.toggle).on(l.CLICK_DATA_API,d,function(e){e.stopPropagation()}),a.fn[e]=g._jQueryInterface,a.fn[e].Constructor=g,a.fn[e].noConflict=function(){return a.fn[e]=r,g._jQueryInterface}}(jQuery),function(o){var t="modal",s="bs.modal",e="."+s,n=o.fn[t],i={backdrop:!0,keyboard:!0,focus:!0,show:!0},r={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},a={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,FOCUSIN:"focusin"+e,RESIZE:"resize"+e,CLICK_DISMISS:"click.dismiss"+e,KEYDOWN_DISMISS:"keydown.dismiss"+e,MOUSEUP_DISMISS:"mouseup.dismiss"+e,MOUSEDOWN_DISMISS:"mousedown.dismiss"+e,CLICK_DATA_API:"click"+e+".data-api"},l="modal-scrollbar-measure",c="modal-backdrop",u="modal-open",f="fade",d="in",h={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".navbar-fixed-top, .navbar-fixed-bottom, .is-fixed"},p=(m.prototype.toggle=function(e){return this._isShown?this.hide():this.show(e)},m.prototype.show=function(e){var t=this,n=o.Event(a.SHOW,{relatedTarget:e});o(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),o(document.body).addClass(u),this._setEscapeEvent(),this._setResizeEvent(),o(this._element).on(a.CLICK_DISMISS,h.DATA_DISMISS,o.proxy(this.hide,this)),o(this._dialog).on(a.MOUSEDOWN_DISMISS,function(){o(t._element).one(a.MOUSEUP_DISMISS,function(e){o(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(o.proxy(this._showElement,this,e)))},m.prototype.hide=function(e){e&&e.preventDefault();e=o.Event(a.HIDE);o(this._element).trigger(e),this._isShown&&!e.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),o(document).off(a.FOCUSIN),o(this._element).removeClass(d),o(this._element).off(a.CLICK_DISMISS),o(this._dialog).off(a.MOUSEDOWN_DISMISS),S.supportsTransitionEnd()&&o(this._element).hasClass(f)?o(this._element).one(S.TRANSITION_END,o.proxy(this._hideModal,this)).emulateTransitionEnd(300):this._hideModal())},m.prototype.dispose=function(){o.removeData(this._element,s),o(window).off(e),o(document).off(e),o(this._element).off(e),o(this._backdrop).off(e),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null},m.prototype._getConfig=function(e){return e=o.extend({},i,e),S.typeCheckConfig(t,e,r),e},m.prototype._showElement=function(e){var t=this,n=S.supportsTransitionEnd()&&o(this._element).hasClass(f);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&S.reflow(this._element),o(this._element).addClass(d),this._config.focus&&this._enforceFocus();var i=o.Event(a.SHOWN,{relatedTarget:e}),e=function(){t._config.focus&&t._element.focus(),o(t._element).trigger(i)};n?o(this._dialog).one(S.TRANSITION_END,e).emulateTransitionEnd(300):e()},m.prototype._enforceFocus=function(){var t=this;o(document).off(a.FOCUSIN).on(a.FOCUSIN,function(e){document===e.target||t._element===e.target||o(t._element).has(e.target).length||t._element.focus()})},m.prototype._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?o(this._element).on(a.KEYDOWN_DISMISS,function(e){27===e.which&&t.hide()}):this._isShown||o(this._element).off(a.KEYDOWN_DISMISS)},m.prototype._setResizeEvent=function(){this._isShown?o(window).on(a.RESIZE,o.proxy(this._handleUpdate,this)):o(window).off(a.RESIZE)},m.prototype._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._showBackdrop(function(){o(document.body).removeClass(u),e._resetAdjustments(),e._resetScrollbar(),o(e._element).trigger(a.HIDDEN)})},m.prototype._removeBackdrop=function(){this._backdrop&&(o(this._backdrop).remove(),this._backdrop=null)},m.prototype._showBackdrop=function(e){var t,n=this,i=o(this._element).hasClass(f)?f:"";this._isShown&&this._config.backdrop?(t=S.supportsTransitionEnd()&&i,this._backdrop=document.createElement("div"),this._backdrop.className=c,i&&o(this._backdrop).addClass(i),o(this._backdrop).appendTo(document.body),o(this._element).on(a.CLICK_DISMISS,function(e){return n._ignoreBackdropClick?void(n._ignoreBackdropClick=!1):void(e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide()))}),t&&S.reflow(this._backdrop),o(this._backdrop).addClass(d),e&&(t?o(this._backdrop).one(S.TRANSITION_END,e).emulateTransitionEnd(150):e())):!this._isShown&&this._backdrop?(o(this._backdrop).removeClass(d),t=function(){n._removeBackdrop(),e&&e()},S.supportsTransitionEnd()&&o(this._element).hasClass(f)?o(this._backdrop).one(S.TRANSITION_END,t).emulateTransitionEnd(150):t()):e&&e()},m.prototype._handleUpdate=function(){this._adjustDialog()},m.prototype._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},m.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},m.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},m.prototype._setScrollbar=function(){var e=parseInt(o(h.FIXED_CONTENT).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=e+this._scrollbarWidth+"px")},m.prototype._resetScrollbar=function(){document.body.style.paddingRight=this._originalBodyPadding},m.prototype._getScrollbarWidth=function(){var e=document.createElement("div");e.className=l,document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},m._jQueryInterface=function(n,i){return this.each(function(){var e=o(this).data(s),t=o.extend({},m.Default,o(this).data(),"object"===(void 0===n?"undefined":x(n))&&n);if(e||(e=new m(this,t),o(this).data(s,e)),"string"==typeof n){if(void 0===e[n])throw new Error('No method n
311amed "'+n+'"');e[n](i)}else t.show&&e.show(i)})},_(m,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return i}}]),m);function m(e,t){w(this,m),this._config=this._getConfig(t),this._element=e,this._dialog=o(e).find(h.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}o(document).on(a.CLICK_DATA_API,h.DATA_TOGGLE,function(e){var t=this,n=void 0,i=S.getSelectorFromElement(this);i&&(n=o(i)[0]);i=o(n).data(s)?"toggle":o.extend({},o(n).data(),o(this).data());"A"===this.tagName&&e.preventDefault();var r=o(n).one(a.SHOW,function(e){e.isDefaultPrevented()||r.one(a.HIDDEN,function(){o(t).is(":visible")&&t.focus()})});p._jQueryInterface.call(o(n),i,this)}),o.fn[t]=p._jQueryInterface,o.fn[t].Constructor=p,o.fn[t].noConflict=function(){return o.fn[t]=n,p._jQueryInterface}}(jQuery),function(r){var n="scrollspy",i="bs.scrollspy",e="."+i,t=r.fn[n],o={offset:10,method:"auto",target:""},s={offset:"number",method:"string",target:"(string|element)"},a={ACTIVATE:"activate"+e,SCROLL:"scroll"+e,LOAD_DATA_API:"load"+e+".data-api"},l="dropdown-item",c="active",u={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",LIST_ITEM:".list-item",LI:"li",LI_DROPDOWN:"li.dropdown",NAV_LINKS:".nav-link",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},f="offset",d="position",h=(p.prototype.refresh=function(){var t=this,e=this._scrollElement!==this._scrollElement.window?d:f,n="auto"===this._config.method?e:this._config.method,i=n===d?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),r.makeArray(r(this._selector)).map(function(e){var t=void 0,e=S.getSelectorFromElement(e);return(t=e?r(e)[0]:t)&&(t.offsetWidth||t.offsetHeight)?[r(t)[n]().top+i,e]:null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},p.prototype.dispose=function(){r.removeData(this._element,i),r(this._scrollElement).off(e),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},p.prototype._getConfig=function(e){var t;return"string"!=typeof(e=r.extend({},o,e)).target&&((t=r(e.target).attr("id"))||(t=S.getUID(n),r(e.target).attr("id",t)),e.target="#"+t),S.typeCheckConfig(n,e,s),e},p.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.scrollY:this._scrollElement.scrollTop},p.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},p.prototype._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._scrollElement.offsetHeight;if(this._scrollHeight!==t&&this.refresh(),n<=e&&(n=this._targets[this._targets.length-1],this._activeTarget!==n&&this._activate(n)),this._activeTarget&&e<this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e<this._offsets[i+1])&&this._activate(this._targets[i])},p.prototype._activate=function(t){this._activeTarget=t,this._clear();var e=(e=this._selector.split(",")).map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),e=r(e.join(","));e.hasClass(l)?(e.closest(u.DROPDOWN).find(u.DROPDOWN_TOGGLE).addClass(c),e.addClass(c)):e.parents(u.LI).find(u.NAV_LINKS).addClass(c),r(this._scrollElement).trigger(a.ACTIVATE,{relatedTarget:t})},p.prototype._clear=function(){r(this._selector).filter(u.ACTIVE).removeClass(c)},p._jQueryInterface=function(n){return this.each(function(){var e=r(this).data(i),t="object"===(void 0===n?"undefined":x(n))&&n||null;if(e||(e=new p(this,t),r(this).data(i,e)),"string"==typeof n){if(void 0===e[n])throw new Error('No method named "'+n+'"');e[n]()}})},_(p,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return o}}]),p);function p(e,t){w(this,p),this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+u.NAV_LINKS+","+this._config.target+" "+u.DROPDOWN_IT
311EMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,r(this._scrollElement).on(a.SCROLL,r.proxy(this._process,this)),this.refresh(),this._process()}r(window).on(a.LOAD_DATA_API,function(){for(var e=r.makeArray(r(u.DATA_SPY)),t=e.length;t--;){var n=r(e[t]);h._jQueryInterface.call(n,n.data())}}),r.fn[n]=h._jQueryInterface,r.fn[n].Constructor=h,r.fn[n].noConflict=function(){return r.fn[n]=t,h._jQueryInterface}}(jQuery),function(a){var i="bs.tab",e="."+i,t=a.fn.tab,l={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK_DATA_API:"click"+e+".data-api"},o="dropdown-menu",c="active",s="fade",u="in",f=".dropdown",d="ul:not(.dropdown-menu)",r="> .nav-item .fade, > .fade",h=".active",p="> .nav-item > .active, > .active",e='[data-toggle="tab"], [data-toggle="pill"]',m=".dropdown-toggle",g="> .dropdown-menu .active",n=(y.prototype.show=function(){var e,n,t,i,r,o,s=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&a(this._element).hasClass(c)||(n=e=void 0,o=a(this._element).closest(d)[0],t=S.getSelectorFromElement(this._element),o&&(n=(n=a.makeArray(a(o).find(h)))[n.length-1]),i=a.Event(l.HIDE,{relatedTarget:this._element}),r=a.Event(l.SHOW,{relatedTarget:n}),n&&a(n).trigger(i),a(this._element).trigger(r),r.isDefaultPrevented()||i.isDefaultPrevented()||(t&&(e=a(t)[0]),this._activate(this._element,o),o=function(){var e=a.Event(l.HIDDEN,{relatedTarget:s._element}),t=a.Event(l.SHOWN,{relatedTarget:n});a(n).trigger(e),a(s._element).trigger(t)},e?this._activate(e,e.parentNode,o):o()))},y.prototype.dispose=function(){a.removeClass(this._element,i),this._element=null},y.prototype._activate=function(e,t,n){var i=a(t).find(p)[0],t=n&&S.supportsTransitionEnd()&&(i&&a(i).hasClass(s)||Boolean(a(t).find(r)[0])),n=a.proxy(this._transitionComplete,this,e,i,t,n);i&&t?a(i).one(S.TRANSITION_END,n).emulateTransitionEnd(150):n(),i&&a(i).removeClass(u)},y.prototype._transitionComplete=function(e,t,n,i){var r;t&&(a(t).removeClass(c),(r=a(t).find(g)[0])&&a(r).removeClass(c),t.setAttribute("aria-expanded",!1)),a(e).addClass(c),e.setAttribute("aria-expanded",!0),n?(S.reflow(e),a(e).addClass(u)):a(e).removeClass(s),e.parentNode&&a(e.parentNode).hasClass(o)&&((n=a(e).closest(f)[0])&&a(n).find(m).addClass(c),e.setAttribute("aria-expanded",!0)),i&&i()},y._jQueryInterface=function(n){return this.each(function(){var e=a(this),t=e.data(i);if(t||(t=new y(this),e.data(i,t)),"string"==typeof n){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}})},_(y,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),y);function y(e){w(this,y),this._element=e}a(document).on(l.CLICK_DATA_API,e,function(e){e.preventDefault(),n._jQueryInterface.call(a(this),"show")}),a.fn.tab=n._jQueryInterface,a.fn.tab.Constructor=n,a.fn.tab.noConflict=function(){return a.fn.tab=t,n._jQueryInterface}}(jQuery),m=function(o){if(void 0===window.Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var t="tooltip",i="bs.tooltip",e="."+i,n=o.fn[t],r={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[]},s={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array"},a={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},l="in",c="out",u={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,INSERTED:"inserted"+e,CLICK:"click"+e,FOCUSIN:"focusin"+e,FOCUSOUT:"focusout"+e,MOUSEENTER:"mouseenter"+e,MOUSELEAVE:"mouseleave"+e},f="fade",d="in",h=".tooltip-inner",p={element:!1,enabled:!1},m="hover",g="focus",y="manual",v=(b.prototype.enable=function(){this._isEnabled=!0},b.prototype.disable=function(){this._isEnabled=!1},b.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},b.prototype.toggle=function(e){var t,n;e?(t=this.constructor.DATA_KEY,(n=o(e.currentTarget).data(t))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),o(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):o(this.getTipElement()).hasClass(d)?this._leave(null,this):this._enter(null,this)},b.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),o.removeData(this.element,this.constructor.DATA_KEY),o(this.element).off(this.constructor.EVENT_KEY),this.tip&&o(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},b.prototype.show=function(){var e,t=this,n=o.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(o(this.element).trigger(n),e=o.contains(this.element.ownerDocument.documentElement,this.element),!n.isDefaultPrevented()&&e&&(n=this.getTipElement(),e=S.getUID(this.constructor.NAME),n.setAttribute("id",e),this.element.setAttribute("aria-describedby",e),this.setContent(),this.config.animation&&o(n).addClass(f),e="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,e=this._getAttachment(e),o(n).data(this.constructor.DATA_KEY,this).appendTo(document.body),o(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:e,element:n,target:this.element,classes:p,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),S.reflow(n),this._tether.position(),o(n).addClass(d),n=function(){var e=t._hoverState;t._hoverState=null,o(t.element).trigger(t.constructor.Event.SHOWN),e===c&&t._leave(null,t)},S.supportsTransitionEnd()&&o(this.tip).hasClass(f)?o(this.tip).one(S.TRANSITION_END,n).emulateTransitionEnd(b._TRANSITION_DURATION):n()))},b.prototype.hide=function(e){function t(){n._hoverState!==l&&i.parentNode&&i.parentNode.removeChild(i),n.element.removeAttribute("aria-describedby"),o(n.element).trigger(n.constructor.Event.HIDDEN),n.cleanupTether(),e&&e()}var n=this,i=this.getTipElement(),r=o.Event(this.constructor.Event.HIDE);o(this.element).trigger(r),r.isDefaultPrevented()||(o(i).removeClass(d),S.supportsTransitionEnd()&&o(this.tip).hasClass(f)?o(i).one(S.TRANSITION_END,t).emulateTransitionEnd(150):t(),this._hoverState="")},b.prototype.isWithContent=function(){return Boolean(this.getTitle())},b.prototype.getTipElement=function(){return this.tip=this.tip||o(this.config.template)[0]},b.prototype.setContent=function(){var e=o(this.getTipElement());this.setElementContent(e.find(h),this.getTitle()),e.removeClass(f).removeClass(d),this.cleanupTether()},b.prototype.setElementContent=function(e,t){var n=this.config.html;
311"object"===(void 0===t?"undefined":x(t))&&(t.nodeType||t.jquery)?n?o(t).parent().is(e)||e.empty().append(t):e.text(o(t).text()):e[n?"html":"text"](t)},b.prototype.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},b.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},b.prototype._getAttachment=function(e){return a[e.toUpperCase()]},b.prototype._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(e){var t;"click"===e?o(n.element).on(n.constructor.Event.CLICK,n.config.selector,o.proxy(n.toggle,n)):e!==y&&(t=e===m?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,e=e===m?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,o(n.element).on(t,n.config.selector,o.proxy(n._enter,n)).on(e,n.config.selector,o.proxy(n._leave,n)))}),this.config.selector?this.config=o.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},b.prototype._fixTitle=function(){var e=x(this.element.getAttribute("data-original-title"));!this.element.getAttribute("title")&&"string"===e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},b.prototype._enter=function(e,t){var n=this.constructor.DATA_KEY;return(t=t||o(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?g:m]=!0),o(t.getTipElement()).hasClass(d)||t._hoverState===l?void(t._hoverState=l):(clearTimeout(t._timeout),t._hoverState=l,t.config.delay&&t.config.delay.show?void(t._timeout=setTimeout(function(){t._hoverState===l&&t.show()},t.config.delay.show)):void t.show())},b.prototype._leave=function(e,t){var n=this.constructor.DATA_KEY;if((t=t||o(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?g:m]=!1),!t._isWithActiveTrigger())return clearTimeout(t._timeout),t._hoverState=c,t.config.delay&&t.config.delay.hide?void(t._timeout=setTimeout(function(){t._hoverState===c&&t.hide()},t.config.delay.hide)):void t.hide()},b.prototype._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},b.prototype._getConfig=function(e){return(e=o.extend({},this.constructor.Default,o(this.element).data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),S.typeCheckConfig(t,e,this.constructor.DefaultType),e},b.prototype._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},b._jQueryInterface=function(n){return this.each(function(){var e=o(this).data(i),t="object"===(void 0===n?"undefined":x(n))?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new b(this,t),o(this).data(i,e)),"string"==typeof n)){if(void 0===e[n])throw new Error('No method named "'+n+'"');e[n]()}})},_(b,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return r}},{key:"NAME",get:function(){return t}},{key:"DATA_KEY",get:function(){return i}},{key:"Event",get:function(){return u}},{key:"EVENT_KEY",get:function(){return e}},{key:"DefaultType",get:function(){return s}}]),b);function b(e,t){w(this,b),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._tether=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}
311return o.fn[t]=v._jQueryInterface,o.fn[t].Constructor=v,o.fn[t].noConflict=function(){return o.fn[t]=n,v._jQueryInterface},v}(jQuery),function(i){var e,t="popover",r="bs.popover",n="."+r,o=i.fn[t],s=i.extend({},m.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),a=i.extend({},m.DefaultType,{content:"(string|element|function)"}),l="fade",c="in",u=".popover-title",f=".popover-content",d={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},h=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(p,e=m),p.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},p.prototype.getTipElement=function(){return this.tip=this.tip||i(this.config.template)[0]},p.prototype.setContent=function(){var e=i(this.getTipElement());this.setElementContent(e.find(u),this.getTitle()),this.setElementContent(e.find(f),this._getContent()),e.removeClass(l).removeClass(c),this.cleanupTether()},p.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},p._jQueryInterface=function(n){return this.each(function(){var e=i(this).data(r),t="object"===(void 0===n?"undefined":x(n))?n:null;if((e||!/destroy|hide/.test(n))&&(e||(e=new p(this,t),i(this).data(r,e)),"string"==typeof n)){if(void 0===e[n])throw new Error('No method named "'+n+'"');e[n]()}})},_(p,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}},{key:"NAME",get:function(){return t}},{key:"DATA_KEY",get:function(){return r}},{key:"Event",get:function(){return d}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return a}}]),p);function p(){return w(this,p),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}i.fn[t]=h._jQueryInterface,i.fn[t].Constructor=h,i.fn[t].noConflict=function(){return i.fn[t]=o,h._jQueryInterface}}(jQuery)},590:e=>{function i(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function l(e){return"function"==typeof e}function c(e){return"object"==typeof e&&null!==e}function u(e){return void 0===e}((e.exports=i).EventEmitter=i).prototype._events=void 0,i.prototype._maxListeners=void 0,i.defaultMaxListeners=10,i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},i.prototype.emit=function(e){var t,n,i,r,o,s;if(this._events||(this._events={}),"error"===e&&(!this._events.error||c(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var a=new Error('Uncaught, unspecified "error" event. ('+t+")");throw a.context=t,a}if(u(n=this._events[e]))return!1;if(l(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:r=Array.prototype.slice.call(arguments,1),n.apply(this,r)}else if(c(n))for(r=Array.prototype.slice.call(arguments,1),i=(s=n.slice()).length,o=0;o<i;o++)s[o].apply(this,r);return!0},i.prototype.on=i.prototype.addListener=function(e,t){var n;if(!l(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,l(t.listener)?t.listener:t),this._events[e]?c(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,c(this._events[e])&&!this._events[e].warned&&(n=u(this._maxListeners)?i.defaultMaxListeners:this._maxListeners)&&0<n&&this._events[e].length>n&&(this._events[e].warned=!0,console.trace),this},i.prototype.once=function(e,t){if(!l(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},i.prototype.removeListener=function(e,t){var n,i,r,o;
311if(!l(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=(n=this._events[e]).length,i=-1,n===t||l(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(c(n)){for(o=r;0<o--;)if(n[o]===t||n[o].listener&&n[o].listener===t){i=o;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},i.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(l(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},i.prototype.listeners=function(e){e=this._events&&this._events[e]?l(this._events[e])?[this._events[e]]:this._events[e].slice():[];return e},i.prototype.listenerCount=function(e){if(this._events){e=this._events[e];if(l(e))return 1;if(e)return e.length}return 0},i.listenerCount=function(e,t){return e.listenerCount(t)}},635:e=>{e.exports=function i(r,o,s){function a(n,e){if(!o[n]){if(!r[n]){if(0,l)return l(n,!0);var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}t=o[n]={exports:{}};r[n][0].call(t.exports,function(e){var t=r[n][1][e];return a(t||e)},t,t.exports,i,r,o,s)}return o[n].exports}for(var l=void 0,e=0;e<s.length;e++)a(s[e]);return a}({1:[function(e,t,n){t.exports=function(e){var t,n,i,r=-1;if(1<e.lines.length&&"flex-start"===e.style.alignContent)for(t=0;i=e.lines[++r];)i.crossStart=t,t+=i.cross;else if(1<e.lines.length&&"flex-end"===e.style.alignContent)for(t=e.flexStyle.crossSpace;i=e.lines[++r];)i.crossStart=t,t+=i.cross;else if(1<e.lines.length&&"center"===e.style.alignContent)for(t=e.flexStyle.crossSpace/2;i=e.lines[++r];)i.crossStart=t,t+=i.cross;else if(1<e.lines.length&&"space-between"===e.style.alignContent)for(n=e.flexStyle.crossSpace/(e.lines.length-1),t=0;i=e.lines[++r];)i.crossStart=t,t+=i.cross+n;else if(1<e.lines.length&&"space-around"===e.style.alignContent)for(t=(n=2*e.flexStyle.crossSpace/(2*e.lines.length))/2;i=e.lines[++r];)i.crossStart=t,t+=i.cross+n;else for(n=e.flexStyle.crossSpace/e.lines.length,t=e.flexStyle.crossInnerBefore;i=e.lines[++r];)i.crossStart=t,i.cross+=n,t+=i.cross}},{}],2:[function(e,t,n){t.exports=function(e){for(var t,n=-1;line=e.lines[++n];)for(t=-1;child=line.children[++t];){var i=child.style.alignSelf;"flex-start"===(i="auto"===i?e.style.alignItems:i)?child.flexStyle.crossStart=line.crossStart:"flex-end"===i?child.flexStyle.crossStart=line.crossStart+line.cross-child.flexStyle.crossOuter:"center"===i?child.flexStyle.crossStart=line.crossStart+(line.cross-child.flexStyle.crossOuter)/2:(child.flexStyle.crossStart=line.crossStart,child.flexStyle.crossOuter=line.cross,child.flexStyle.cross=child.flexStyle.crossOuter-child.flexStyle.crossBefore-child.flexStyle.crossAfter)}}},{}],3:[function(e,t,n){t.exports=function(e,t){var n="row"===t||"row-reverse"===t,i=e.mainAxis;i?n&&"inline"===i||!n&&"block"===i||(e.flexStyle={main:e.flexStyle.cross,cross:e.flexStyle.main,mainOffset:e.flexStyle.crossOffset,crossOffset:e.flexStyle.mainOffset,mainBefore:e.flexStyle.crossBefore,mainAfter:e.flexStyle.crossAfter,crossBefore:e.flexStyle.mainBefore,crossAfter:e.flexStyle.mainAfter,mainInnerBefore:e.flexStyle.crossInnerBefore,mainInnerAfter:e.flexStyle.crossInnerAfter,crossInnerBefore:e.flexStyle.mainInnerBefore,crossInnerAfter:e.flexStyle.mainInnerAfter,mainBorderBefore:e.flexStyle.crossBorderBefore,mainBorderAfter:e.flexStyle.crossBorderAfter,crossBorderBefore:e.flexStyle.mainBorderBefore,crossBorderAfter:e.flexStyle.mainBorderAfter}):(e.flexStyle=n?{main:e.style.width,cross:e.style.height,mainOffset:e.style.offsetWidth,crossOffset:e.style.offsetHeight,mainBefore:e.style.marginLeft,mainAfter:e.style.marginRight,crossBefore:e.style.marginTop,crossAfter:e.style.marginBottom,mainInnerBefore:e.style.paddingLeft,mainInnerAfter:e.style.paddingRight,crossInnerBefore:e.style.paddingTop,crossInnerAfter:e.style.paddingBottom,mainBorderBefore:e.style.borderLeftWidth,mainBorderAfter:e.style.borderRightWidth,crossBorderBefore:e.style.borderTopWidth,crossBorderAfter:e.style.borderBottomWidth}:{main:e.style.height,cross:e.style.width,mainOffset:e.style.offsetHeight,crossOffset:e.style.offsetWidth,mainBefore:e.style.marginTop,mainAfter:e.style.marginBottom,crossBefore:e.style.marginLeft,crossAfter:e.style.marginRight,mainInnerBefore:e.style.paddingTop,mainInnerAfter:e.style.paddingBottom,crossInnerBefore:e.style.paddingLeft,crossInnerAfter:e.style.paddingRight,mainBorderBefore:e.style.borderTopWidth,mainBorderAfter:e.style.borderBottomWidth,crossBorderBefore:e.style.borderLeftWidth,crossBorderAfter:e.style.borderRightWidth},"content-box"===e.style.boxSizing&&("number"==typeof e.flexStyle.main&&(e.flexStyle.main+=e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter),"number"==typeof e.flexStyle.cross&&(e.flexStyle.cross+=e.flexStyle.crossInnerBefore+e.flexStyle.crossInnerAfter+e.flexStyle.crossBorderBefore+e.flexStyle.crossBorderAfter))),e.mainAxis=n?"inline":"block",e.crossAxis=n?"block":"inl
311ine","number"==typeof e.style.flexBasis&&(e.flexStyle.main=e.style.flexBasis+e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter),e.flexStyle.mainOuter=e.flexStyle.main,e.flexStyle.crossOuter=e.flexStyle.cross,"auto"===e.flexStyle.mainOuter&&(e.flexStyle.mainOuter=e.flexStyle.mainOffset),"auto"===e.flexStyle.crossOuter&&(e.flexStyle.crossOuter=e.flexStyle.crossOffset),"number"==typeof e.flexStyle.mainBefore&&(e.flexStyle.mainOuter+=e.flexStyle.mainBefore),"number"==typeof e.flexStyle.mainAfter&&(e.flexStyle.mainOuter+=e.flexStyle.mainAfter),"number"==typeof e.flexStyle.crossBefore&&(e.flexStyle.crossOuter+=e.flexStyle.crossBefore),"number"==typeof e.flexStyle.crossAfter&&(e.flexStyle.crossOuter+=e.flexStyle.crossAfter)}},{}],4:[function(e,t,n){var r=e("../reduce");t.exports=function(n){var i;0<n.mainSpace&&(0<(i=r(n.children,function(e,t){return e+parseFloat(t.style.flexGrow)},0))&&(n.main=r(n.children,function(e,t){return"auto"===t.flexStyle.main?t.flexStyle.main=t.flexStyle.mainOffset+parseFloat(t.style.flexGrow)/i*n.mainSpace:t.flexStyle.main+=parseFloat(t.style.flexGrow)/i*n.mainSpace,t.flexStyle.mainOuter=t.flexStyle.main+t.flexStyle.mainBefore+t.flexStyle.mainAfter,e+t.flexStyle.mainOuter},0),n.mainSpace=0))}},{"../reduce":12}],5:[function(e,t,n){var r=e("../reduce");t.exports=function(n){var i;n.mainSpace<0&&(0<(i=r(n.children,function(e,t){return e+parseFloat(t.style.flexShrink)},0))&&(n.main=r(n.children,function(e,t){return t.flexStyle.main+=parseFloat(t.style.flexShrink)/i*n.mainSpace,t.flexStyle.mainOuter=t.flexStyle.main+t.flexStyle.mainBefore+t.flexStyle.mainAfter,e+t.flexStyle.mainOuter},0),n.mainSpace=0))}},{"../reduce":12}],6:[function(e,t,n){var r=e("../reduce");t.exports=function(e){var t;e.lines=[t={main:0,cross:0,children:[]}];for(var n,i=-1;n=e.children[++i];)"nowrap"===e.style.flexWrap||0===t.children.length||"auto"===e.flexStyle.main||e.flexStyle.main-e.flexStyle.mainInnerBefore-e.flexStyle.mainInnerAfter-e.flexStyle.mainBorderBefore-e.flexStyle.mainBorderAfter>=t.main+n.flexStyle.mainOuter?(t.main+=n.flexStyle.mainOuter,t.cross=Math.max(t.cross,n.flexStyle.crossOuter)):e.lines.push(t={main:n.flexStyle.mainOuter,cross:n.flexStyle.crossOuter,children:[]}),t.children.push(n);e.flexStyle.mainLines=r(e.lines,function(e,t){return Math.max(e,t.main)},0),e.flexStyle.crossLines=r(e.lines,function(e,t){return e+t.cross},0),"auto"===e.flexStyle.main&&(e.flexStyle.main=Math.max(e.flexStyle.mainOffset,e.flexStyle.mainLines+e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter)),"auto"===e.flexStyle.cross&&(e.flexStyle.cross=Math.max(e.flexStyle.crossOffset,e.flexStyle.crossLines+e.flexStyle.crossInnerBefore+e.flexStyle.crossInnerAfter+e.flexStyle.crossBorderBefore+e.flexStyle.crossBorderAfter)),e.flexStyle.crossSpace=e.flexStyle.cross-e.flexStyle.crossInnerBefore-e.flexStyle.crossInnerAfter-e.flexStyle.crossBorderBefore-e.flexStyle.crossBorderAfter-e.flexStyle.crossLines,e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter,e.flexStyle.crossOuter=e.flexStyle.cross+e.flexStyle.crossBefore+e.flexStyle.crossAfter}},{"../reduce":12}],7:[function(r,e,t){e.exports=function(e){for(var t,n,i=-1;t=e.children[++i];)r("./flex-direction")(t,e.style.flexDirection);for(r("./flex-direction")(e,e.style.flexDirection),r("./order")(e),r("./flexbox-lines")(e),r("./align-content")(e),i=-1;n=e.lines[++i];)n.mainSpace=e.flexStyle.main-e.flexStyle.mainInnerBefore-e.flexStyle.mainInnerAfter-e.flexStyle.mainBorderBefore-e.flexStyle.mainBorderAfter-n.main,r("./flex-grow")(n),r("./flex-shrink")(n),r("./margin-main")(n),r("./margin-cross")(n),r("./justify-content")(n,e.style.justifyContent,e);r("./align-items")(e)}},{"./align-content":1,"./align-items":2,"./flex-direction":3,"./flex-grow":4,"./flex-shrink":5,"./flexbox-lines":6,"./justify-content":8,"./margin-cross":9,"./margin-main":10,"./order":11}],8:[function(e,t,n){t.exports=function(e,t,n){var i,r,o,n=n.flexStyle.mainInnerBefore,s=-1;if("flex-end"===t)for(i=e.mainSpace,i+=n;o=e.children[++s];)o.flexStyle.mainStart=i,i+=o.flexStyle.mainOuter;else if("center"===t)for(i=e.mainSpace/2,i+=n;o=e.children[++s];)o.flexStyle.mainStart=i,i+=o.flexStyle.mainOuter;else if("space-between"===t)for(r=e.mainSpace/(e.children.length-1),i=0,i+=n;o=e.children[++s];)o.flexStyle.mainStart=i,i+=o.flexStyle.mainOuter+r;else if("space-around"===t)for(i=(r=2*e.mainSpace/(2*e.children.length))/2,i+=n;o=e.children[++s];)o.flexStyle.mainStart=i,i+=o.flexStyle.mainOuter+r;else for(i=0,i+=n;o=e.children[++s];)o.flexStyle.mainStart=i,i+=o.flexStyle.mainOuter}},{}],9:[function(e,t,n){t.exports=function(e){for(var t,n=-1;t=e.children[++n];){var i=0;"auto"===t.flexStyle.crossBefore&&++i,"auto"===t.flexStyle.crossAfter&&
311++i;var r=e.cross-t.flexStyle.crossOuter;"auto"===t.flexStyle.crossBefore&&(t.flexStyle.crossBefore=r/i),"auto"===t.flexStyle.crossAfter&&(t.flexStyle.crossAfter=r/i),"auto"===t.flexStyle.cross?t.flexStyle.crossOuter=t.flexStyle.crossOffset+t.flexStyle.crossBefore+t.flexStyle.crossAfter:t.flexStyle.crossOuter=t.flexStyle.cross+t.flexStyle.crossBefore+t.flexStyle.crossAfter}}},{}],10:[function(e,t,n){t.exports=function(e){for(var t,n=0,i=-1;t=e.children[++i];)"auto"===t.flexStyle.mainBefore&&++n,"auto"===t.flexStyle.mainAfter&&++n;if(0<n){for(i=-1;t=e.children[++i];)"auto"===t.flexStyle.mainBefore&&(t.flexStyle.mainBefore=e.mainSpace/n),"auto"===t.flexStyle.mainAfter&&(t.flexStyle.mainAfter=e.mainSpace/n),"auto"===t.flexStyle.main?t.flexStyle.mainOuter=t.flexStyle.mainOffset+t.flexStyle.mainBefore+t.flexStyle.mainAfter:t.flexStyle.mainOuter=t.flexStyle.main+t.flexStyle.mainBefore+t.flexStyle.mainAfter;e.mainSpace=0}}},{}],11:[function(e,t,n){var i=/^(column|row)-reverse$/;t.exports=function(e){e.children.sort(function(e,t){return e.style.order-t.style.order||e.index-t.index}),i.test(e.style.flexDirection)&&e.children.reverse()}},{}],12:[function(e,t,n){t.exports=function(e,t,n){for(var i=e.length,r=-1;++r<i;)r in e&&(n=t(n,e[r],r));return n}},{}],13:[function(e,t,n){var i=e("./read"),r=e("./write"),o=e("./readAll"),s=e("./writeAll");t.exports=function(e){s(o(e))},t.exports.read=i,t.exports.write=r,t.exports.readAll=o,t.exports.writeAll=s},{"./read":15,"./readAll":16,"./write":17,"./writeAll":18}],14:[function(e,t,n){t.exports=function(e,t){var n=String(e).match(r);if(!n)return e;var i=n[1];return"px"===(n=n[2])?+i:"cm"===n?.3937*i*96:"in"===n?96*i:"mm"===n?.3937*i*96/10:"pc"===n?12*i*96/72:"pt"===n?96*i/72:"rem"===n?16*i:function(e,t){o.style.cssText="border:none!important;clip:rect(0 0 0 0)!important;display:block!important;font-size:1em!important;height:0!important;margin:0!important;padding:0!important;position:relative!important;width:"+e+"!important",t.parentNode.insertBefore(o,t.nextSibling);e=o.offsetWidth;return t.parentNode.removeChild(o),e}(e,t)};var r=/^([-+]?\d*\.?\d+)(%|[a-z]+)$/,o=document.createElement("div")},{}],15:[function(e,t,n){t.exports=function(e){var t={alignContent:"stretch",alignItems:"stretch",alignSelf:"auto",borderBottomWidth:0,borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,boxSizing:"content-box",display:"inline",flexBasis:"auto",flexDirection:"row",flexGrow:0,flexShrink:1,flexWrap:"nowrap",justifyContent:"flex-start",height:"auto",marginTop:0,marginRight:0,marginLeft:0,marginBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,paddingBottom:0,maxHeight:"none",maxWidth:"none",minHeight:0,minWidth:0,order:0,position:"static",width:"auto"};if(e instanceof Element){var n,i=e.hasAttribute("data-style"),r=i?e.getAttribute("data-style"):e.getAttribute("style")||"";for(n in i||e.setAttribute("data-style",r),function(e,t){for(var n in e)n in t&&!/^(alignSelf|height|width)$/.test(n)&&(e[n]=t[n])}(t,window.getComputedStyle&&getComputedStyle(e)||{}),function(e,t){for(var n in e){var i;n in t?e[n]=t[n]:(i=n.replace(/[A-Z]/g,"-$&").toLowerCase())in t&&(e[n]=t[i])}"-js-display"in t&&(e.display=t["-js-display"])}(t,e.currentStyle||{}),function(e,t){for(var n;n=o.exec(t);){var i=n[1].toLowerCase().replace(/-[a-z]/g,function(e){return e.slice(1).toUpperCase()});e[i]=n[2]}}(t,r),t)t[n]=s(t[n],e);r=e.getBoundingClientRect();t.offsetHeight=r.height||e.offsetHeight,t.offsetWidth=r.width||e.offsetWidth}return{element:e,style:t}};var o=/([^\s:;]+)\s*:\s*([^;]+?)\s*(;|$)/g,s=e("./getComputedLength")},{"./getComputedLength":14}],16:[function(e,t,n){function u(e){var t=e instanceof Element,n=t&&e.getAttribute("data-style"),e=t&&e.currentStyle&&e.currentStyle["-js-display"];return i.test(n)||r.test(e)}t.exports=function(e){var t=[];return function e(t,n){for(var i,r=u(t),o=[],s=-1;i=t.childNodes[++s];){var a=3===i.nodeType&&!/^\s*$/.test(i.nodeValue);r&&a&&(l=i,(i=t.insertBefore(document.createElement("flex-item"),l)).appendChild(l));var l,a=i instanceof Element;a&&(l=e(i,n),r&&((a=i.style).display="inline-block",a.position="absolute",l.style=f(i).style,o.push(l)))}var c={element:t,children:o};return r&&(c.style=f(t).style,n.push(c)),c}(e,t),t};var f=e("../read"),i=/(^|;)\s*display\s*:\s*(inline-)?flex\s*(;|$)/i,r=/^(inline-)?flex$/i},{"../read":15}],17:[function(e,t,n){function a(e){return"string"==typeof e?e:Math.max(e,0)+"px"}t.exports=function(e){l(e);var t=e.element.style,n="inline"===e.mainAxis?["main","cross"]:["cross","main"];t.boxSizing="content-box",t.display="block",t.position="relative",t.width=a(e.flexStyle[n[0]]-e.flexStyle[n[0]+"InnerBefore"]-e.flexStyle[n[0]+"InnerAfter"]-e.flexStyle[n[0]+"BorderBefore"]-e.flexStyle[n[0]+"BorderAfter"]),t.height=a(e.flexStyle[n[1]]-e.flexStyle[n[1]+"InnerBefore"]-e.flexStyle[n[1]+"InnerAfter"]-e.flexStyle[n[1]+"BorderBefore"]-e.flexStyle[n[1]+"BorderAfter"]);for(var i,r=-1;i=e.children[++r];){var o=i.element.style,s="inline"===i.mainAxis?["main","cross"]:["cross","main"];o.boxSizing="content-box",o.display="block",o.position="absolute","auto"!==i.flexStyle[s[0]]&&(o.width=a(i.flexStyle[s[0]]-i.flexStyle[s[0]+"InnerBefore"]-i.flexStyle[s[0]+"InnerAfter"]-i.flexStyle[s[0]+"BorderBefore"]-i.flexStyle[s[0]+"BorderAfter"])),"auto"!==i.flexStyle[s[1]]&&(o.height=a(i.flexStyle[s[1]]-i.flexStyle[s[1]+"InnerBefore"]-i.flexStyle[s[1]+"InnerAfter"]-i.flexStyle[s[1]+"BorderBefore"]-i.flexStyle[s[1]+"BorderAfter"])),o.top=a(i.flexStyle[s[1]+"Start"]),o.left=a(i.flexStyle[s[0]+"Start"]),o.marginTop=a(i.flexStyle[s[1]+"Before"]),o.marginRight=a(i.flexStyle[s[0]+"After"]),o.marginBottom=a(i.flexStyle[s[1]+"After"]),o.marginLeft=a(i.flexStyle[s[0]+"Before"])}};var l=e("../flexbox")},{"../flexbox":7}],18:[function(e,t,n){t.exports=function(e){for(var t,n=-1;t=e[++n];)i(t)};var i=e("../write")},{"../write":17}]},{},[13])(13)},990:(e,t,n)=>{var i,r,o;o=function(ae){"use strict";function i(e,s){function t(e){if(!(!0===X.data(De+"_intouch")||0<ae(e.target).closest(s.excludedElements,X).length)){var t=e.originalEvent||e;if(!t.pointerType||"mouse"!=t.pointerType||0!=s.fallbackToMouseEvents){var n,i=t.touches,r=i?i[0]:t;return G=Ce,i?Z=i.length:!1!==s.preventDefaultEvents&&e.preventDefault(),Y=R=H=null,U=1,Q=z=q=$=W=0,(e={}
311)[le]=O(le),e[ce]=O(ce),e[ue]=O(ue),e[fe]=O(fe),K=e,S(),E(0,r),!i||Z===s.fingers||s.fingers===Se||m()?(ee=N(),2==Z&&(E(1,i[1]),q=z=P(J[0].start,J[1].start)),(s.swipeStatus||s.pinchStatus)&&(n=c(t,G))):n=!1,!1===n?(c(t,G=ke),n):(s.hold&&(se=setTimeout(ae.proxy(function(){X.trigger("hold",[t.target]),s.hold&&(n=s.hold.call(X,t,t.target))},this),s.longTapThreshold)),C(!0),null)}}}function n(e){var t,n,i,r,o=e.originalEvent||e;G===Ae||G===ke||T()||(t=A((n=o.touches)?n[0]:o),te=N(),n&&(Z=n.length),s.hold&&clearTimeout(se),G=Ee,2==Z&&(0==q?(E(1,n[1]),q=z=P(J[0].start,J[1].start)):(A(n[1]),z=P(J[0].end,J[1].end),J[0].end,J[1].end,Y=U<1?he:de),U=(z/q*1).toFixed(2),Q=Math.abs(q-z)),Z===s.fingers||s.fingers===Se||!n||m()?(H=D(t.start,t.end),function(e,t){if(!1!==s.preventDefaultEvents)if(s.allowPageScroll===pe)e.preventDefault();else{var n=s.allowPageScroll===me;switch(t){case le:(s.swipeLeft&&n||!n&&s.allowPageScroll!=xe)&&e.preventDefault();break;case ce:(s.swipeRight&&n||!n&&s.allowPageScroll!=xe)&&e.preventDefault();break;case ue:(s.swipeUp&&n||!n&&s.allowPageScroll!=_e)&&e.preventDefault();break;case fe:(s.swipeDown&&n||!n&&s.allowPageScroll!=_e)&&e.preventDefault()}}}(e,R=D(t.last,t.end)),i=t.start,r=t.end,W=Math.round(Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2))),$=I(),n=W,(e=H)!=pe&&(n=Math.max(n,k(e)),K[e].distance=n),r=c(o,G),s.triggerOnTouchEnd&&!s.triggerOnTouchLeave||(i=!0,s.triggerOnTouchLeave&&(e={left:(n=(e=ae(e=this)).offset()).left,right:n.left+e.outerWidth(),top:n.top,bottom:n.top+e.outerHeight()},t=t.end,e=e,i=t.x>e.left&&t.x<e.right&&t.y>e.top&&t.y<e.bottom),!s.triggerOnTouchEnd&&i?G=l(Ee):s.triggerOnTouchLeave&&!i&&(G=l(Ae)),G!=ke&&G!=Ae||c(o,G))):c(o,G=ke),!1===r&&c(o,G=ke))}function i(e){var t,n=e.originalEvent||e,i=n.touches;if(i){if(i.length&&!T())return t=n,ne=N(),ie=t.touches.length+1,!0;if(i.length&&T())return!0}return T()&&(Z=ie),te=N(),$=I(),d()||!f()?c(n,G=ke):s.triggerOnTouchEnd||!1===s.triggerOnTouchEnd&&G===Ee?(!1!==s.preventDefaultEvents&&!1!==e.cancelable&&e.preventDefault(),c(n,G=Ae)):!s.triggerOnTouchEnd&&w()?u(n,G=Ae,ve):G===Ee&&c(n,G=ke),C(!1),null}function r(){z=q=ee=te=Z=0,S(),C(!(U=1))}function o(e){e=e.originalEvent||e;s.triggerOnTouchLeave&&c(e,G=l(Ae))}function a(){X.off(B,t),X.off(M,r),X.off(F,n),X.off(L,i),V&&X.off(V,o),C(!1)}function l(e){var t=e,n=h(),i=f(),r=d();return!n||r?t=ke:!i||e!=Ee||s.triggerOnTouchEnd&&!s.triggerOnTouchLeave?!i&&e==Ae&&s.triggerOnTouchLeave&&(t=ke):t=Ae,t}function c(e,t){var n,i=e.touches;return(g()&&y()||y())&&(n=u(e,t,ge)),(p()&&m()||m())&&!1!==n&&(n=u(e,t,ye)),_()&&x()&&!1!==n?n=u(e,t,be):$>s.longTapThreshold&&W<Te&&s.longTap&&!1!==n?n=u(e,t,we):1!==Z&&Oe||!(isNaN(W)||W<s.threshold)||!w()||!1===n||(n=u(e,t,ve)),t===ke&&r(),t===Ae&&(i&&i.length||r()),n}function u(e,t,n){var i;if(n==ge){if(X.trigger("swipeStatus",[t,H||null,W||0,$||0,Z,J,R]),s.swipeStatus&&!1===(i=s.swipeStatus.call(X,e,t,H||null,W||0,$||0,Z,J,R)))return!1;if(t==Ae&&g()){if(clearTimeout(oe),clearTimeout(se),X.trigger("swipe",[H,W,$,Z,J,R]),s.swipe&&!1===(i=s.swipe.call(X,e,H,W,$,Z,J,R)))return!1;switch(H){case le:X.trigger("swipeLeft",[H,W,$,Z,J,R]),s.swipeLeft&&(i=s.swipeLeft.call(X,e,H,W,$,Z,J,R));break;case ce:X.trigger("swipeRight",[H,W,$,Z,J,R]),s.swipeRight&&(i=s.swipeRight.call(X,e,H,W,$,Z,J,R));break;case ue:X.trigger("swipeUp",[H,W,$,Z,J,R]),s.swipeUp&&(i=s.swipeUp.call(X,e,H,W,$,Z,J,R));break;case fe:X.trigger("swipeDown",[H,W,$,Z,J,R]),s.swipeDown&&(i=s.swipeDown.call(X,e,H,W,$,Z,J,R))}}}if(n==ye){if(X.trigger("pinchStatus",[t,Y||null,Q||0,$||0,Z,U,J]),s.pinchStatus&&!1===(i=s.pinchStatus.call(X,e,t,Y||null,Q||0,$||0,Z,U,J)))return!1;if(t==Ae&&p())switch(Y){case de:X.trigger("pinchIn",[Y||null,Q||0,$||0,Z,U,J]),s.pinchIn&&(i=s.pinchIn.call(X,e,Y||null,Q||0,$||0,Z,U,J));break;case he:X.trigger("pinchOut",[Y||null,Q||0,$||0,Z,U,J]),s.pinchOut&&(i=s.pinchOut.call(X,e,Y||null,Q||0,$||0,Z,U,J))}}return n==ve?t!==ke&&t!==Ae||(clearTimeout(oe),clearTimeout(se),x()&&!_()?(re=N(),oe=setTimeout(ae.proxy(function(){re=null,X.trigger("tap",[e.target]),s.tap&&(i=s.tap.call(X,e,e.target))},this),s.doubleTapThreshold)):(re=null,X.trigger("tap",[e.target]),s.tap&&
311(i=s.tap.call(X,e,e.target)))):n==be?t!==ke&&t!==Ae||(clearTimeout(oe),clearTimeout(se),re=null,X.trigger("doubletap",[e.target]),s.doubleTap&&(i=s.doubleTap.call(X,e,e.target))):n==we&&(t!==ke&&t!==Ae||(clearTimeout(oe),re=null,X.trigger("longtap",[e.target]),s.longTap&&(i=s.longTap.call(X,e,e.target)))),i}function f(){var e=!0;return e=null!==s.threshold?W>=s.threshold:e}function d(){var e=!1;return e=null!==s.cancelThreshold&&null!==H?k(H)-W>=s.cancelThreshold:e}function h(){return!s.maxTimeThreshold||!($>=s.maxTimeThreshold)}function p(){var e=v(),t=b(),n=null===s.pinchThreshold||Q>=s.pinchThreshold;return e&&t&&n}function m(){return s.pinchStatus||s.pinchIn||s.pinchOut}function g(){var e=h(),t=f(),n=v(),i=b();return!d()&&i&&n&&t&&e}function y(){return s.swipe||s.swipeStatus||s.swipeLeft||s.swipeRight||s.swipeUp||s.swipeDown}function v(){return Z===s.fingers||s.fingers===Se||!Oe}function b(){return 0!==J[0].end.x}function w(){return s.tap}function x(){return!!s.doubleTap}function _(){if(null==re)return!1;var e=N();return x()&&e-re<=s.doubleTapThreshold}function S(){ie=ne=0}function T(){var e=!1;return e=ne&&N()-ne<=s.fingerReleaseThreshold?!0:e}function C(e){X&&(!0===e?(X.on(F,n),X.on(L,i),V&&X.on(V,o)):(X.off(F,n,!1),X.off(L,i,!1),V&&X.off(V,o,!1)),X.data(De+"_intouch",!0===e))}function E(e,t){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=t.pageX||t.clientX,n.start.y=n.last.y=n.end.y=t.pageY||t.clientY,J[e]=n}function A(e){var t=void 0!==e.identifier?e.identifier:0,n=J[t]||null;return(n=null===n?E(t,e):n).last.x=n.end.x,n.last.y=n.end.y,n.end.x=e.pageX||e.clientX,n.end.y=e.pageY||e.clientY,n}function k(e){return K[e]?K[e].distance:void 0}function O(e){return{direction:e,distance:0}}function I(){return te-ee}function P(e,t){var n=Math.abs(e.x-t.x),t=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+t*t))}function D(e,t){if(i=t,(n=e).x==i.x&&n.y==i.y)return pe;var n,i,e=(i=t,e=(t=e).x-i.x,t=i.y-t.y,e=Math.atan2(t,e),e=(e=Math.round(180*e/Math.PI))<0?360-Math.abs(e):e);return e<=45&&0<=e||e<=360&&315<=e?le:135<=e&&e<=225?ce:45<e&&e<135?fe:ue}function N(){return(new Date).getTime()}var s=ae.extend({},s),j=Oe||Pe||!s.fallbackToMouseEvents,B=j?Pe?Ie?"MSPointerDown":"pointerdown":"touchstart":"mousedown",F=j?Pe?Ie?"MSPointerMove":"pointermove":"touchmove":"mousemove",L=j?Pe?Ie?"MSPointerUp":"pointerup":"touchend":"mouseup",V=!j||Pe?"mouseleave":null,M=Pe?Ie?"MSPointerCancel":"pointercancel":"touchcancel",W=0,H=null,R=null,$=0,q=0,z=0,U=1,Q=0,Y=0,K=null,X=ae(e),G="start",Z=0,J={},ee=0,te=0,ne=0,ie=0,re=0,oe=null,se=null;try{X.on(B,t),X.on(M,r)}catch(e){ae.error("events not supported "+B+","+M+" on jQuery.swipe")}this.enable=function(){return this.disable(),X.on(B,t),X.on(M,r),X},this.disable=function(){return a(),X},this.destroy=function(){a(),X.data(De,null),X=null},this.option=function(e,t){if("object"==typeof e)s=ae.extend(s,e);else if(void 0!==s[e]){if(void 0===t)return s[e];s[e]=t}else{if(!e)return s;ae.error("Option "+e+" does not exist on jQuery.swipe.options")}return null}}var le="left",ce="right",ue="up",fe="down",de="in",he="out",pe="none",me="auto",ge="swipe",ye="pinch",ve="tap",be="doubletap",we="longtap",xe="horizontal",_e="vertical",Se="all",Te=10,Ce="start",Ee="move",Ae="end",ke="cancel",Oe="ontouchstart"in window,Ie=window.navigator.msPointerEnabled&&!window.PointerEvent&&!Oe,Pe=(window.PointerEvent||window.navigator.msPointerEnabled)&&!Oe,De="TouchSwipe";ae.fn.swipe=function(e){var t=ae(this),n=t.data(De);if(n&&"string"==typeof e){if(n[e])return n[e].apply(n,Array.prototype.slice.call(arguments,1));ae.error("Method "+e+" does not exist on jQuery.swipe")}else if(n&&"object"==typeof e)n.option.apply(n,arguments);else if(!(n||"object"!=typeof e&&e))return function(n){return!n||void 0!==n.allowPageScroll||void 0===n.swipe&&void 0===n.swipeStatus||(n.allowPageScroll=pe),void 0!==n.click&&void 0===n.tap&&(n.tap=n.click),n=ae.extend({},ae.fn.swipe.defaults,n=n||{}),this.each(function(){var e=ae(this),t=e.data(De);t||(t=new i(this,n),e.data(De,t))})}.apply(this,arguments);return t},ae.fn.swipe.version="1.6.18",ae.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0},ae.fn.swipe.phases={PHASE_START:Ce,PHASE_MOVE:Ee,PHASE_END:Ae,PHASE_CANCEL:ke},ae.fn.swipe.directions={LEFT:le,RIGHT:ce,UP:ue,DOWN:fe,IN:de,OUT:he},ae.fn.swipe.pageScroll={NONE:pe,HORIZONTAL:xe,VERTICAL:_e,AUTO:me},ae.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:Se}},n.amdO.jQuery?(i=[n(609)],void 0===(r="function"==typeof(r=o)?r.apply(t,i):r)||(e.exports=r)):o(e.exports?n(609):jQuery)},519:function(e,t){var n;void 0===(n="function"==typeof(n=function(){"use strict";var t=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1;i.configurable=!0;if("value"in i)i.writable=!0;Object.defineProperty(e,i.key,i)}}return function(e,t,n){if(t)i(e.prototype,t);if(n)i(e,n);return e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var S=undefined;if(typeof S==="undefined")S={modules:[]};var r=null;function s(e){var t=e.getBoundingClientRect();var n={};for(var i in t)n[i]=t[i];try{if(e.ownerDocument!==document){var r=e.ownerDocument.defaultView.frameElement;if(r){var o=s(r);n.top+=o.top;n.bottom+=o.top;n.left+=o.left;n.right+=o.left}}}catch(e){}return n}function c(e){var t=getComputedStyle(e)||{};var n=t.position;var i=[];if(n==="fixed")return[e];var r=e;
311while((r=r.parentNode)&&r&&r.nodeType===1){var o=undefined;try{o=getComputedStyle(r)}catch(e){}if(typeof o==="undefined"||o===null){i.push(r);return i}var s=o;var a=s.overflow;var l=s.overflowX;var c=s.overflowY;if(/(auto|scroll|overlay)/.test(a+c+l))if(n!=="absolute"||["relative","absolute","fixed"].indexOf(o.position)>=0)i.push(r)}i.push(e.ownerDocument.body);if(e.ownerDocument!==document)i.push(e.ownerDocument.defaultView);return i}var o=function(){var e=0;return function(){return++e}}(),a={},l=function e(){var t=r;if(!t||!document.body.contains(t)){t=document.createElement("div");t.setAttribute("data-tether-id",o());_(t.style,{top:0,left:0,position:"absolute"});document.body.appendChild(t);r=t}var n=t.getAttribute("data-tether-id");if(typeof a[n]==="undefined"){a[n]=s(t);k(function(){delete a[n]})}return a[n]};function u(){if(r)document.body.removeChild(r);r=null}function T(e){var t=undefined;if(e===document){t=document;e=document.documentElement}else t=e.ownerDocument;var n=t.documentElement;var i=s(e);var r=l();i.top-=r.top;i.left-=r.left;if(typeof i.width==="undefined")i.width=document.body.scrollWidth-i.left-i.right;if(typeof i.height==="undefined")i.height=document.body.scrollHeight-i.top-i.bottom;i.top=i.top-n.clientTop;i.left=i.left-n.clientLeft;i.right=t.body.clientWidth-i.width-i.left;i.bottom=t.body.clientHeight-i.height-i.top;return i}function C(e){return e.offsetParent||document.documentElement}var f=null;function E(){if(f)return f;var e=document.createElement("div");e.style.width="100%";e.style.height="200px";var t=document.createElement("div");_(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"});t.appendChild(e);document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var i=e.offsetWidth;if(n===i)i=t.clientWidth;document.body.removeChild(t);var r=n-i;f={width:r,height:r};return f}function _(){var n=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];var e=[];Array.prototype.push.apply(e,arguments);e.slice(1).forEach(function(e){if(e)for(var t in e)if({}.hasOwnProperty.call(e,t))n[t]=e[t]});return n}function d(t,e){if(typeof t.classList!=="undefined")e.split(" ").forEach(function(e){if(e.trim())t.classList.remove(e)});else{var n=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi");var i=m(t).replace(n," ");g(t,i)}}function h(t,e){if(typeof t.classList!=="undefined")e.split(" ").forEach(function(e){if(e.trim())t.classList.add(e)});else{d(t,e);var n=m(t)+(" "+e);g(t,n)}}function p(e,t){if(typeof e.classList!=="undefined")return e.classList.contains(t);var n=m(e);return new RegExp("(^| )"+t+"( |$)","gi").test(n)}function m(e){if(e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString)return e.className.baseVal;return e.className}function g(e,t){e.setAttribute("class",t)}function A(t,n,e){e.forEach(function(e){if(n.indexOf(e)===-1&&p(t,e))d(t,e)});n.forEach(function(e){if(!p(t,e))h(t,e)})}var n=[],k=function e(t){n.push(t)},O=function e(){var t=undefined;while(t=n.pop())t()},e=function(){function e(){i(this,e)}t(e,[{key:"on",value:function e(t,n,i){var r=arguments.length<=3||arguments[3]===undefined?false:arguments[3];if(typeof this.bindings==="undefined")this.bindings={};if(typeof this.bindings[t]==="undefined")this.bindings[t]=[];this.bindings[t].push({handler:n,ctx:i,once:r})}},{key:"once",value:function e(t,n,i){this.on(t,n,i,!0)}},{key:"off",value:function e(t,n){if(typeof this.bindings==="undefined"||typeof this.bindings[t]==="undefined")return;if(typeof n==="undefined")delete this.bindings[t];else{var i=0;while(i<this.bindings[t].length)if(this.bindings[t][i].handler===n)this.bindings[t].splice(i,1);else++i}}},{key:"trigger",value:function e(t){if(typeof this.bindings!=="undefined"&&this.bindings[t]){var n=0;for(var i=arguments.length,r=Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];while(n<this.bindings[t].length){var s=this.bindings[t][n];var a=s.handler;var l=s.ctx;var c=s.once;var u=l;if(typeof u==="undefined")u=this;a.apply(u,r);if(c)this.bindings[t].splice(n,1);else++n}}}}]);return e}();S.Utils={getActualBoundingClientRect:s,getScrollParents:c,getBounds:T,getOffsetParent:C,extend:_,addClass:h,removeClass:d,hasClass:p,updateClasses:A,defer:k,flush:O,uniqueId:o,Evented:e,getScrollBarSize:E,removeUtilElements:u};var I=function(){function n(e,t){var n=[];var i=!0;var r=!1;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(i=(a=s.next()).done);i=!0){n.push(a.value);if(t&&n.length===t)break}}catch(e){r=!0;o=e}finally{try{if(!i&&s["return"])s["return"]()}finally{if(r)throw o}}return n}return function(e,t){if(Array.isArray(e))return e;else if(Symbol.iterator in Object(e))return n(e,t);
311else throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),t=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1;i.configurable=!0;if("value"in i)i.writable=!0;Object.defineProperty(e,i.key,i)}}return function(e,t,n){if(t)i(e.prototype,t);if(n)i(e,n);return e}}(),y=function e(t,n,i){var r=!0;e:while(r){var o=t,s=n,a=i;r=!1;if(o===null)o=Function.prototype;var l=Object.getOwnPropertyDescriptor(o,s);if(l===undefined){var c=Object.getPrototypeOf(o);if(c===null)return undefined;else{t=c;n=s;i=a;r=!0;l=c=undefined;continue e}}else if("value"in l)return l.value;else{var u=l.get;if(u===undefined)return undefined;return u.call(a)}}};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}if(typeof S==="undefined")throw new Error("You must include the utils.js file before tether.js");var b=S.Utils,c=b.getScrollParents,T=b.getBounds,C=b.getOffsetParent,_=b.extend,h=b.addClass,d=b.removeClass,A=b.updateClasses,k=b.defer,O=b.flush,E=b.getScrollBarSize,u=b.removeUtilElements;function w(e,t){var n=arguments.length<=2||arguments[2]===undefined?1:arguments[2];return e+n>=t&&t>=e-n}var x=function(){if(typeof document==="undefined")return"";var e=document.createElement("div");var t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"];for(var n=0;n<t.length;++n){var i=t[n];if(e.style[i]!==undefined)return i}}(),P=[],D=function e(){P.forEach(function(e){e.position(!1)});O()};function N(){if(typeof performance==="object"&&typeof performance.now==="function")return performance.now();return+new Date}(function(){var t=null;var n=null;var i=null;var r=function e(){if(typeof n!=="undefined"&&n>16){n=Math.min(n-16,250);i=setTimeout(e,250);return}if(typeof t!=="undefined"&&N()-t<10)return;if(i!=null){clearTimeout(i);i=null}t=N();D();n=N()-t};if(typeof window!=="undefined"&&typeof window.addEventListener!=="undefined")["resize","scroll","touchmove"].forEach(function(e){window.addEventListener(e,r)})})();var j={center:"center",left:"right",right:"left"},B={middle:"middle",top:"bottom",bottom:"top"},F={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},L=function e(t,n){var i=t.left;var r=t.top;if(i==="auto")i=j[n.left];if(r==="auto")r=B[n.top];return{left:i,top:r}},V=function e(t){var n=t.left;var i=t.top;if(typeof F[t.left]!=="undefined")n=F[t.left];if(typeof F[t.top]!=="undefined")i=F[t.top];return{left:n,top:i}};function M(){var i={top:0,left:0};for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){var t=e.top;var n=e.left;if(typeof t==="string")t=parseFloat(t,10);if(typeof n==="string")n=parseFloat(n,10);i.top+=t;i.left+=n});return i}function W(e,t){if(typeof e.left==="string"&&e.left.indexOf("%")!==-1)e.left=parseFloat(e.left,10)/100*t.width;if(typeof e.top==="string"&&e.top.indexOf("%")!==-1)e.top=parseFloat(e.top,10)/100*t.height;return e}var H=function e(t){var n=t.split(" ");var i=I(n,2);var r=i[0];var o=i[1];return{top:r,left:o}},R=H,$=function(e){v(n,e);function n(e){var t=this;i(this,n);y(Object.getPrototypeOf(n.prototype),"constructor",this).call(this);this.position=this.position.bind(this);P.push(this);this.history=[];this.setOptions(e,!1);S.modules.forEach(function(e){if(typeof e.initialize!=="undefined")e.initialize.call(t)});this.position()}t(n,[{key:"getClass",value:function e(){var t=arguments.length<=0||arguments[0]===undefined?"":arguments[0];var n=this.options.classes;if(typeof n!=="undefined"&&n[t])return this.options.classes[t];else if(this.options.classPrefix)return this.options.classPrefix+"-"+t;else return t}},{key:"setOptions",value:function e(t){var n=this;var i=arguments.length<=1||arguments[1]===undefined?true:arguments[1];var r={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=_(r,t);var o=this.options;var s=o.element;var a=o.target;var l=o.targetModifier;this.element=s;this.target=a;this.targetModifier=l;if(this.target==="viewport"){this.target=document.body;this.targetModifier="visible"}else if(this.target==="scroll-handle"){this.target=document.body;this.targetModifier="scroll-handle"}["element","target"].forEach(function(e){if(typeof n[e]==="undefined")throw new Error("Tether Error: Both element and target must be defined");if(typeof n[e].jquery!=="undefined")n[e]=n[e][0];else if(typeof n[e]==="string")n[e]=document.querySelector(n[e])});h(this.element,this.getClass("element"));if(!(this.options.addTargetClasses===!1))h(this.target,this.getClass("target"));if(!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=R(this.options.targetAttachment);this.attachment=R(this.options.attachment);this.offset=H(this.options.offset);this.targetOffset=H(this.options.targetOffset);if(typeof this.scrollParents!=="undefined")this.disable();if(this.targetModifier==="scroll-handle")this.scrollParents=[this.target];else this.scrollParents=c(this.target);if(!(this.options.enabled===!1))this.enable(i)}},{key:"getTargetBounds",value:function e(){if(typeof this.targetModifier!=="undefined"){if(this.targetModifier==="visible")if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};else{var t=T(this.target);
311var n={height:t.height,width:t.width,top:t.top,left:t.left};n.height=Math.min(n.height,t.height-(pageYOffset-t.top));n.height=Math.min(n.height,t.height-(t.top+t.height-(pageYOffset+innerHeight)));n.height=Math.min(innerHeight,n.height);n.height-=2;n.width=Math.min(n.width,t.width-(pageXOffset-t.left));n.width=Math.min(n.width,t.width-(t.left+t.width-(pageXOffset+innerWidth)));n.width=Math.min(innerWidth,n.width);n.width-=2;if(n.top<pageYOffset)n.top=pageYOffset;if(n.left<pageXOffset)n.left=pageXOffset;return n}else if(this.targetModifier==="scroll-handle"){var t=undefined;var i=this.target;if(i===document.body){i=document.documentElement;t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}}else t=T(i);var r=getComputedStyle(i);var o=i.scrollWidth>i.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body;var s=0;if(o)s=15;var a=t.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-s;var n={width:15,height:a*.975*(a/i.scrollHeight),left:t.left+t.width-parseFloat(r.borderLeftWidth)-15};var l=0;if(a<408&&this.target===document.body)l=-11e-5*Math.pow(a,2)-.00727*a+22.58;if(this.target!==document.body)n.height=Math.max(n.height,24);var c=this.target.scrollTop/(i.scrollHeight-a);n.top=c*(a-n.height-l)+t.top+parseFloat(r.borderTopWidth);if(this.target===document.body)n.height=Math.max(n.height,24);return n}}else return T(this.target)}},{key:"clearCache",value:function e(){this._cache={}}},{key:"cache",value:function e(t,n){if(typeof this._cache==="undefined")this._cache={};if(typeof this._cache[t]==="undefined")this._cache[t]=n.call(this);return this._cache[t]}},{key:"enable",value:function e(){var t=this;var n=arguments.length<=0||arguments[0]===undefined?true:arguments[0];if(!(this.options.addTargetClasses===!1))h(this.target,this.getClass("enabled"));h(this.element,this.getClass("enabled"));this.enabled=!0;this.scrollParents.forEach(function(e){if(e!==t.target.ownerDocument)e.addEventListener("scroll",t.position)});if(n)this.position()}},{key:"disable",value:function e(){var t=this;d(this.target,this.getClass("enabled"));d(this.element,this.getClass("enabled"));this.enabled=!1;if(typeof this.scrollParents!=="undefined")this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function e(){var n=this;this.disable();P.forEach(function(e,t){if(e===n)P.splice(t,1)});if(P.length===0)u()}},{key:"updateAttachClasses",value:function e(t,n){var i=this;t=t||this.attachment;n=n||this.targetAttachment;var r=["left","top","bottom","right","middle","center"];if(typeof this._addAttachClasses!=="undefined"&&this._addAttachClasses.length)this._addAttachClasses.splice(0,this._addAttachClasses.length);if(typeof this._addAttachClasses==="undefined")this._addAttachClasses=[];var o=this._addAttachClasses;if(t.top)o.push(this.getClass("element-attached")+"-"+t.top);if(t.left)o.push(this.getClass("element-attached")+"-"+t.left);if(n.top)o.push(this.getClass("target-attached")+"-"+n.top);if(n.left)o.push(this.getClass("target-attached")+"-"+n.left);var s=[];r.forEach(function(e){s.push(i.getClass("element-attached")+"-"+e);s.push(i.getClass("target-attached")+"-"+e)});k(function(){if(!(typeof i._addAttachClasses!=="undefined"))return;A(i.element,i._addAttachClasses,s);if(!(i.options.addTargetClasses===!1))A(i.target,i._addAttachClasses,s);delete i._addAttachClasses})}},{key:"position",value:function e(){var a=this;var t=arguments.length<=0||arguments[0]===undefined?true:arguments[0];if(!this.enabled)return;this.clearCache();var n=L(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var i=this.cache("element-bounds",function(){return T(a.element)});var r=i.width;var o=i.height;if(r===0&&o===0&&typeof this.lastSize!=="undefined"){var s=this.lastSize;r=s.width;o=s.height}else this.lastSize={width:r,height:o};var l=this.cache("target-bounds",function(){return a.getTargetBounds()});var c=l;var u=W(V(this.attachment),{width:r,height:o});var f=W(V(n),c);var d=W(this.offset,{width:r,height:o});var h=W(this.targetOffset,c);u=M(u,d);f=M(f,h);var p=l.left+f.left-u.left;var m=l.top+f.top-u.top;for(var g=0;g<S.modules.length;++g){var y=S.modules[g];var v=y.position.call(this,{left:p,top:m,targetAttachment:n,targetPos:l,elementPos:i,offset:u,targetOffset:f,manualOffset:d,manualTargetOffset:h,scrollbarSize:_,attachment:this.attachment});if(v===!1)return!1;else if(typeof v==="undefined"||typeof v!=="object")continue;else{m=v.top;p=v.left}}var b={page:{top:m,left:p},viewport:{top:m-pageYOffset,bottom:pageYOffset-m-o+innerHeight,left:p-pageXOffset,right:pageXOffset-p-r+innerWidth}};var w=this.target.ownerDocument;var x=w.defaultView;var _=undefined;if(x.innerHeight>w.documentElement.clientHeight){_=this.cache("scrollbar-size",E);b.viewport.bottom-=_.height}if(x.innerWidth>w.documentElement.clientWidth){_=this.cache("scrollbar-size",E);b.viewport.right-=_.width}if(["","static"].indexOf(w.body.style.position)===-1||["","static"].indexOf(w.body.parentElement.style.position)===-1){b.page.bottom=w.body.scrollHeight-m-o;b.page.right=w.body.scrollWidth-p-r}if(typeof this.options.optimizations!=="undefined"&&this.options.optimizations.moveElement!==!1&&!(typeof this.targetModifier!=="undefined"))(function(){var e=a.cache("target-offsetparent",function(){return C(a.target)});var t=a.cache("target-offsetparent-bounds",function(){return T(e)});var n=getComputedStyle(e);var i=t;var r={};["Top","Left","Bottom","Right"].forEach(function(e){r[e.toLowerCase()]=parseFloat(n["border"+e+"Width"])});t.right=w.body.scrollWidth-t.left-i.width+r.right;t.bottom=w.body.scrollHeight-t.top-i.height+r.bottom;
311if(b.page.top>=t.top+r.top&&b.page.bottom>=t.bottom)if(b.page.left>=t.left+r.left&&b.page.right>=t.right){var o=e.scrollTop;var s=e.scrollLeft;b.offset={top:b.page.top-t.top+o-r.top,left:b.page.left-t.left+s-r.left}}})();this.move(b);this.history.unshift(b);if(this.history.length>3)this.history.pop();if(t)O();return!0}},{key:"move",value:function e(t){var a=this;if(!(typeof this.element.parentNode!=="undefined"))return;var n={};for(var i in t){n[i]={};for(var r in t[i]){var o=!1;for(var s=0;s<this.history.length;++s){var l=this.history[s];if(typeof l[i]!=="undefined"&&!w(l[i][r],t[i][r])){o=!0;break}}if(!o)n[i][r]=!0}}var c={top:"",left:"",right:"",bottom:""};var u=function e(t,n){var i=typeof a.options.optimizations!=="undefined";var r=i?a.options.optimizations.gpu:null;if(r!==!1){var o=undefined,s=undefined;if(t.top){c.top=0;o=n.top}else{c.bottom=0;o=-n.bottom}if(t.left){c.left=0;s=n.left}else{c.right=0;s=-n.right}if(typeof window.devicePixelRatio==="number"&&devicePixelRatio%1===0){s=Math.round(s*devicePixelRatio)/devicePixelRatio;o=Math.round(o*devicePixelRatio)/devicePixelRatio}c[x]="translateX("+s+"px) translateY("+o+"px)";if(x!=="msTransform")c[x]+=" translateZ(0)"}else{if(t.top)c.top=n.top+"px";else c.bottom=n.bottom+"px";if(t.left)c.left=n.left+"px";else c.right=n.right+"px"}};var f=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)){c.position="absolute";u(n.page,t.page)}else if((n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)){c.position="fixed";u(n.viewport,t.viewport)}else if(typeof n.offset!=="undefined"&&n.offset.top&&n.offset.left)(function(){c.position="absolute";var e=a.cache("target-offsetparent",function(){return C(a.target)});if(C(a.element)!==e)k(function(){a.element.parentNode.removeChild(a.element);e.appendChild(a.element)});u(n.offset,t.offset);f=!0})();else{c.position="absolute";u({top:!0,left:!0},t.page)}if(!f)if(this.options.bodyElement){if(this.element.parentNode!==this.options.bodyElement)this.options.bodyElement.appendChild(this.element)}else{var d=function e(t){var n=t.ownerDocument;var i=n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement;return i===t};var h=!0;var p=this.element.parentNode;while(p&&p.nodeType===1&&p.tagName!=="BODY"&&!d(p)){if(getComputedStyle(p).position!=="static"){h=!1;break}p=p.parentNode}if(!h){this.element.parentNode.removeChild(this.element);this.element.ownerDocument.body.appendChild(this.element)}}var m={};var g=!1;for(var r in c){var y=c[r];var v=this.element.style[r];if(v!==y){g=!0;m[r]=y}}if(g)k(function(){_(a.element.style,m);a.trigger("repositioned")})}}]);return n}(e);$.modules=[],S.position=D;var q=_($,S);"use strict";var I=function(){function n(e,t){var n=[];var i=!0;var r=!1;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(i=(a=s.next()).done);i=!0){n.push(a.value);if(t&&n.length===t)break}}catch(e){r=!0;o=e}finally{try{if(!i&&s["return"])s["return"]()}finally{if(r)throw o}}return n}return function(e,t){if(Array.isArray(e))return e;else if(Symbol.iterator in Object(e))return n(e,t);else throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),b,T=(b=S.Utils).getBounds,_=b.extend,A=b.updateClasses,k=b.defer,z=["left","top","right","bottom"];function U(e,o){if(o==="scrollParent")o=e.scrollParents[0];else if(o==="window")o=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset];if(o===document)o=o.documentElement;if(typeof o.nodeType!=="undefined")(function(){var e=o;var t=T(o);var n=t;var i=getComputedStyle(o);o=[n.left,n.top,t.width+n.left,t.height+n.top];if(e.ownerDocument!==document){var r=e.ownerDocument.defaultView;o[0]+=r.pageXOffset;o[1]+=r.pageYOffset;o[2]+=r.pageXOffset;o[3]+=r.pageYOffset}z.forEach(function(e,t){e=e[0].toUpperCase()+e.substr(1);if(e==="Top"||e==="Left")o[t]+=parseFloat(i["border"+e+"Width"]);else o[t]-=parseFloat(i["border"+e+"Width"])})})();return o}S.modules.push({position:function e(t){var f=this;var d=t.top;var h=t.left;var p=t.targetAttachment;if(!this.options.constraints)return!0;var n=this.cache("element-bounds",function(){return T(f.element)});var m=n.height;var g=n.width;if(g===0&&m===0&&typeof this.lastSize!=="undefined"){var i=this.lastSize;g=i.width;m=i.height}var r=this.cache("target-bounds",function(){return f.getTargetBounds()});var y=r.height;var v=r.width;var o=[this.getClass("pinned"),this.getClass("out-of-bounds")];
311this.options.constraints.forEach(function(e){var t=e.outOfBoundsClass;var n=e.pinnedClass;if(t)o.push(t);if(n)o.push(n)});o.forEach(function(t){["left","top","right","bottom"].forEach(function(e){o.push(t+"-"+e)})});var b=[];var w=_({},p);var x=_({},this.attachment);this.options.constraints.forEach(function(e){var t=e.to;var n=e.attachment;var i=e.pin;if(typeof n==="undefined")n="";var r=undefined,o=undefined;if(n.indexOf(" ")>=0){var s=n.split(" ");var a=I(s,2);o=a[0];r=a[1]}else r=o=n;var l=U(f,t);if(o==="target"||o==="both"){if(d<l[1]&&w.top==="top"){d+=y;w.top="bottom"}if(d+m>l[3]&&w.top==="bottom"){d-=y;w.top="top"}}if(o==="together"){if(w.top==="top")if(x.top==="bottom"&&d<l[1]){d+=y;w.top="bottom";d+=m;x.top="top"}else if(x.top==="top"&&d+m>l[3]&&d-(m-y)>=l[1]){d-=m-y;w.top="bottom";x.top="bottom"}if(w.top==="bottom")if(x.top==="top"&&d+m>l[3]){d-=y;w.top="top";d-=m;x.top="bottom"}else if(x.top==="bottom"&&d<l[1]&&d+(m*2-y)<=l[3]){d+=m-y;w.top="top";x.top="top"}if(w.top==="middle")if(d+m>l[3]&&x.top==="top"){d-=m;x.top="bottom"}else if(d<l[1]&&x.top==="bottom"){d+=m;x.top="top"}}if(r==="target"||r==="both"){if(h<l[0]&&w.left==="left"){h+=v;w.left="right"}if(h+g>l[2]&&w.left==="right"){h-=v;w.left="left"}}if(r==="together")if(h<l[0]&&w.left==="left"){if(x.left==="right"){h+=v;w.left="right";h+=g;x.left="left"}else if(x.left==="left"){h+=v;w.left="right";h-=g;x.left="right"}}else if(h+g>l[2]&&w.left==="right"){if(x.left==="left"){h-=v;w.left="left";h-=g;x.left="right"}else if(x.left==="right"){h-=v;w.left="left";h+=g;x.left="left"}}
311else if(w.left==="center")if(h+g>l[2]&&x.left==="left"){h-=g;x.left="right"}else if(h<l[0]&&x.left==="right"){h+=g;x.left="left"}if(o==="element"||o==="both"){if(d<l[1]&&x.top==="bottom"){d+=m;x.top="top"}if(d+m>l[3]&&x.top==="top"){d-=m;x.top="bottom"}}if(r==="element"||r==="both"){if(h<l[0])if(x.left==="right"){h+=g;x.left="left"}else if(x.left==="center"){h+=g/2;x.left="left"}if(h+g>l[2])if(x.left==="left"){h-=g;x.left="right"}else if(x.left==="center"){h-=g/2;x.left="right"}}if(typeof i==="string")i=i.split(",").map(function(e){return e.trim()});else if(i===!0)i=["top","left","right","bottom"];i=i||[];var c=[];var u=[];if(d<l[1])if(i.indexOf("top")>=0){d=l[1];c.push("top")}else u.push("top");if(d+m>l[3])if(i.indexOf("bottom")>=0){d=l[3]-m;c.push("bottom")}else u.push("bottom");if(h<l[0])if(i.indexOf("left")>=0){h=l[0];c.push("left")}else u.push("left");if(h+g>l[2])if(i.indexOf("right")>=0){h=l[2]-g;c.push("right")}else u.push("right");if(c.length)(function(){var t=undefined;if(typeof f.options.pinnedClass!=="undefined")t=f.options.pinnedClass;else t=f.getClass("pinned");b.push(t);
311c.forEach(function(e){b.push(t+"-"+e)})})();if(u.length)(function(){var t=undefined;if(typeof f.options.outOfBoundsClass!=="undefined")t=f.options.outOfBoundsClass;else t=f.getClass("out-of-bounds");b.push(t);u.forEach(function(e){b.push(t+"-"+e)})})();if(c.indexOf("left")>=0||c.indexOf("right")>=0)x.left=w.left=!1;if(c.indexOf("top")>=0||c.indexOf("bottom")>=0)x.top=w.top=!1;if(w.top!==p.top||w.left!==p.left||x.top!==f.attachment.top||x.left!==f.attachment.left){f.updateAttachClasses(x,w);f.trigger("update",{attachment:x,targetAttachment:w})}});k(function(){if(!(f.options.addTargetClasses===!1))A(f.target,b,o);A(f.element,b,o)});return{top:d,left:h}}});var b,T=(b=S.Utils).getBounds,A=b.updateClasses,k=b.defer;S.modules.push({position:function e(t){var n=this;var i=t.top;var r=t.left;var o=this.cache("element-bounds",function(){return T(n.element)});var s=o.height;var a=o.width;var l=this.getTargetBounds();var c=i+s;var u=r+a;var f=[];if(i<=l.bottom&&c>=l.top)["left","right"].forEach(function(e){var t=l[e];if(t===r||t===u)f.push(e)});if(r<=l.right&&u>=l.left)["top","bottom"].forEach(function(e){var t=l[e];if(t===i||t===c)f.push(e)});var d=[];var h=[];var p=["left","top","right","bottom"];d.push(this.getClass("abutted"));p.forEach(function(e){d.push(n.getClass("abutted")+"-"+e)});if(f.length)h.push(this.getClass("abutted"));f.forEach(function(e){h.push(n.getClass("abutted")+"-"+e)});k(function(){if(!(n.options.addTargetClasses===!1))A(n.target,h,d);A(n.element,h,d)});return!0}});var I=function(){function n(e,t){var n=[];var i=!0;var r=!1;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(i=(a=s.next()).done);i=!0){n.push(a.value);if(t&&n.length===t)break}}catch(e){r=!0;o=e}finally{try{if(!i&&s["return"])s["return"]()}finally{if(r)throw o}}return n}return function(e,t){if(Array.isArray(e))return e;else if(Symbol.iterator in Object(e))return n(e,t);else throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return S.modules.push({position:function e(t){var n=t.top;var i=t.left;if(!this.options.shift)return;var r=this.options.shift;if(typeof this.options.shift==="function")r=this.options.shift.call(this,{top:n,left:i});var o=undefined,s=undefined;if(typeof r==="string"){r=r.split(" ");r[1]=r[1]||r[0];var a=r;var l=I(a,2);o=l[0];s=l[1];o=parseFloat(o,10);s=parseFloat(s,10)}else{o=r.top;s=r.left}n+=o;i+=s;return{top:n,left:i}}}),q})?n.apply(t,[]):n)||(e.exports=n)},5:(t,n,i)=>{var r;!function(t){"use strict";if(!t.jQuery){var c=function(e,t){return new c.fn.init(e,t)};c.isWindow=function(e){return e&&e===e.window},c.type=function(e){return e?"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e:e+""},c.isArray=Array.isArray||function(e){return"array"===c.type(e)},c.isPlainObject=function(e){if(!e||"object"!==c.type(e)||e.nodeType||c.isWindow(e))return!1;try{if(e.constructor&&!i.call(e,"constructor")&&!i.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(var t in e);return void 0===t||i.call(e,t)},c.each=function(e,t,n){var i=0,r=e.length,o=a(e);if(n){if(o)for(;i<r&&!1!==t.apply(e[i],n);i++);else for(i in e)if(e.hasOwnProperty(i)&&!1===t.apply(e[i],n))break}else if(o)for(;i<r&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(e.hasOwnProperty(i)&&!1===t.call(e[i],i,e[i]))break;return e},c.data=function(e,t,n){if(void 0===n){var i=e[c.expando],i=i&&r[i];return void 0===t?i:i&&t in i?i[t]:void 0}if(void 0!==t){e=e[c.expando]||(e[c.expando]=++c.uuid);return r[e]=r[e]||{},r[e][t]=n}},c.removeData=function(e,t){var e=e[c.expando],n=e&&r[e];n&&(t?c.each(t,function(e,t){delete n[t]}):delete r[e])},c.extend=function(){var e,t,n,i,r,o=arguments[0]||{},s=1,a=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[s]||{},s++),"object"!=typeof o&&"function"!==c.type(o)&&(o={}),s===a&&(o=this,s--);s<a;s++)if(i=arguments[s])for(n in i)i.hasOwnProperty(n)&&(r=o[n],o!==(t=i[n])&&(l&&t&&(c.isPlainObject(t)||(e=c.isArray(t)))?(r=e?(e=!1,r&&c.isArray(r)?r:[]):r&&c.isPlainObject(r)?r:{},o[n]=c.extend(l,r,t)):void 0!==t&&(o[n]=t)));return o}
311,c.queue=function(e,t,n){function i(e,t){t=t||[];return e&&(a(Object(e))?function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;)e[r++]=t[i++];if(n!=n)for(;void 0!==t[i];)e[r++]=t[i++];e.length=r}(t,"string"==typeof e?[e]:e):[].push.call(t,e)),t}if(e){var r=c.data(e,t=(t||"fx")+"queue");return n?(!r||c.isArray(n)?r=c.data(e,t,i(n)):r.push(n),r):r||[]}},c.dequeue=function(e,r){c.each(e.nodeType?[e]:e,function(e,t){r=r||"fx";var n=c.queue(t,r),i=n.shift();(i="inprogress"===i?n.shift():i)&&("fx"===r&&n.unshift("inprogress"),i.call(t,function(){c.dequeue(t,r)}))})},c.fn=c.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var e=this[0],t=function(e){for(var t=e.offsetParent;t&&"html"!==t.nodeName.toLowerCase()&&t.style&&"static"===t.style.position;)t=t.offsetParent;return t||document}(e),n=this.offset(),i=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:c(t).offset();return n.top-=parseFloat(e.style.marginTop)||0,n.left-=parseFloat(e.style.marginLeft)||0,t.style&&(i.top+=parseFloat(t.style.borderTopWidth)||0,i.left+=parseFloat(t.style.borderLeftWidth)||0),{top:n.top-i.top,left:n.left-i.left}}};var r={};c.expando="velocity"+(new Date).getTime(),c.uuid=0;for(var n={},i=n.hasOwnProperty,o=n.toString,e="Boolean Number String Function Array Date RegExp Object Error".split(" "),s=0;s<e.length;s++)n["[object "+e[s]+"]"]=e[s].toLowerCase();c.fn.init.prototype=c.fn,t.Velocity={Utilities:c}}function a(e){var t=e.length,n=c.type(e);return"function"!==n&&!c.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e))}}(window),function(e){"use strict";"object"==typeof t.exports?t.exports=e():void 0===(r="function"==typeof(r=e)?r.call(n,i,n,t):r)||(t.exports=r)}(function(){"use strict";return function(e,H,R,$){var i,t,T=function(){if(R.documentMode)return R.documentMode;for(var e=7;4<e;e--){var t=R.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]><span></span><![endif]--\x3e",t.getElementsByTagName("span").length)return t=null,e}return $}(),n=(i=0,H.webkitRequestAnimationFrame||H.mozRequestAnimationFrame||function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-i));return i=t+n,setTimeout(function(){e(t+n)},n)}),C=("function"!=typeof(o=H.performance||{}).now&&(t=o.timing&&o.timing.navigationStart?o.timing.navigationStart:(new Date).getTime(),o.now=function(){return(new Date).getTime()-t}),o);function q(){return Array.prototype.includes?function(e,t){return e.includes(t)}:Array.prototype.indexOf?function(e,t){return 0<=e.indexOf(t)}:function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}}var r=function(){var a=Array.prototype.slice;try{return a.call(R.documentElement),a}catch(e){return function(e,t){var n=this.length;if("number"!=typeof e&&(e=0),"number"!=typeof t&&(t=n),this.slice)return a.call(this,e,t);var i,r=[],o=0<=e?e:Math.max(0,n+e),s=(t<0?n+t:Math.min(t,n))-o;if(0<s)if(r=new Array(s),this.charAt)for(i=0;i<s;i++)r[i]=this.charAt(o+i);else for(i=0;i<s;i++)r[i]=this[o+i];return r}}}();function g(e){return U.isWrapped(e)?e=r.call(e):U.isNode(e)&&(e=[e]),e}var z,U={isNumber:function(e){return"number"==typeof e},isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isWrapped:function(e){return e&&e!==H&&U.isNumber(e.length)&&!U.isString(e)&&!U.isFunction(e)&&!U.isNode(e)&&(0===e.length||U.isNode(e[0]))},isSVG:function(e){return H.SVGElement&&e instanceof H.SVGElement},isEmptyObject:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}},o=!1;if(e.fn&&e.fn.jquery?(z=e,o=!0):z=H.Velocity.Utilities,T<=8&&!o)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(T<=7)){var s="swing",Q={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:H.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:R.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,
311calls:[],delayedElements:{count:0}},CSS:{},Utilities:z,Redirects:{},Easings:{},Promise:H.Promise,defaults:{queue:"",duration:400,easing:s,begin:$,complete:$,progress:$,display:$,visibility:$,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(e){z.data(e,"velocity",{isSVG:U.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:0},debug:!1,timestamp:!0,pauseAll:function(n){var i=(new Date).getTime();z.each(Q.State.calls,function(e,t){if(t){if(n!==$&&(t[2].queue!==n||!1===t[2].queue))return!0;t[5]={resume:!1}}}),z.each(Q.State.delayedElements,function(e,t){t&&v(t,i)})},resumeAll:function(n){var e=(new Date).getTime();z.each(Q.State.calls,function(e,t){if(t){if(n!==$&&(t[2].queue!==n||!1===t[2].queue))return!0;t[5]&&(t[5].resume=!0)}}),z.each(Q.State.delayedElements,function(e,t){t&&b(t)})}};H.pageYOffset!==$?(Q.State.scrollAnchor=H,Q.State.scrollPropertyLeft="pageXOffset",Q.State.scrollPropertyTop="pageYOffset"):(Q.State.scrollAnchor=R.documentElement||R.body.parentNode||R.body,Q.State.scrollPropertyLeft="scrollLeft",Q.State.scrollPropertyTop="scrollTop");var a=function e(t,n,i){var r,o,s,a,l,c,u,f,d,h,p={x:-1,v:0,tension:null,friction:null},m=[0],g=0;for(t=parseFloat(t)||500,n=parseFloat(n)||20,i=i||null,p.tension=t,p.friction=n,o=(r=null!==i)?(g=e(t,n))/i*.016:.016;l=o,d=h=d=f=u=c=void 0,c={dx:(a=s||p).v,dv:w(a)},u=x(a,.5*l,c),f=x(a,.5*l,u),d=x(a,l,f),h=1/6*(c.dx+2*(u.dx+f.dx)+d.dx),d=1/6*(c.dv+2*(u.dv+f.dv)+d.dv),a.x=a.x+h*l,a.v=a.v+d*l,m.push(1+(s=a).x),g+=16,1e-4<Math.abs(s.x)&&1e-4<Math.abs(s.v););return r?function(e){return m[e*(m.length-1)|0]}:g};Q.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},z.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){Q.Easings[t[0]]=l.apply(null,t[1])});var Y=Q.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e,t,n,i,r,o=0;o<Y.Lists.colors.length;o++){var s="color"===Y.Lists.colors[o]?"0 0 0 1":"255 255 255 1";
311Y.Hooks.templates[Y.Lists.colors[o]]=["Red Green Blue Alpha",s]}if(T)for(e in Y.Hooks.templates)Y.Hooks.templates.hasOwnProperty(e)&&(n=(t=Y.Hooks.templates[e])[0].split(" "),i=t[1].match(Y.RegEx.valueSplit),"Color"===n[0]&&(n.push(n.shift()),i.push(i.shift()),Y.Hooks.templates[e]=[n.join(" "),i.join(" ")]));for(e in Y.Hooks.templates)if(Y.Hooks.templates.hasOwnProperty(e))for(var a in n=(t=Y.Hooks.templates[e])[0].split(" "))n.hasOwnProperty(a)&&(r=e+n[a],Y.Hooks.registered[r]=[e,a])},getRoot:function(e){var t=Y.Hooks.registered[e];return t?t[0]:e},getUnit:function(e,t){t=(e.substr(t||0,5).match(/^[a-z%]+/)||[])[0]||"";return t&&q(Y.Lists.units)?t:""},fixColors:function(e){return e.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(e,t,n){return Y.Lists.colorNames.hasOwnProperty(n)?(t||"rgba(")+Y.Lists.colorNames[n]+(t?"":",1)"):t+n})},cleanRootPropertyValue:function(e,t){return Y.RegEx.valueUnwrap.test(t)&&(t=t.match(Y.RegEx.valueUnwrap)[1]),t=Y.Values.isCSSNullValue(t)?Y.Hooks.templates[e][1]:t},extractValue:function(e,t){var n=Y.Hooks.registered[e];if(n){e=n[0],n=n[1];return(t=Y.Hooks.cleanRootPropertyValue(e,t)).toString().match(Y.RegEx.valueSplit)[n]}return t},injectValue:function(e,t,n){var i=Y.Hooks.registered[e];if(i){e=i[0],i=i[1];return(e=(n=Y.Hooks.cleanRootPropertyValue(e,n)).toString().match(Y.RegEx.valueSplit))[i]=t,e.join(" ")}return n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var i=!Y.RegEx.wrappedValueAlreadyExtracted.test(n)&&(i=n.toString().match(Y.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n;return i;case"inject":return"rect("+n+")"}},blur:function(e,t,n){switch(e){case"name":return Q.State.isFirefox?"filter":"-webkit-filter";case"extract":var i,r=parseFloat(n);return r=!r&&0!==r?(i=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i))?i[1]:0:r;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(e,t,n){if(T<=8)switch(e){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return(t.style.zoom=1)<=parseFloat(n)?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){T&&!(9<T)||Q.State.isGingerbread||(Y.Lists.transformsBase=Y.Lists.transformsBase.concat(Y.Lists.transforms3D));for(var e=0;e<Y.Lists.transformsBase.length;e++)!function(){var r=Y.Lists.transformsBase[e];Y.Normalizations.registered[r]=function(e,t,n){switch(e){case"name":return"transform";case"extract":return K(t)===$||K(t).transformCache[r]===$?/^scale/i.test(r)?1:0:K(t).transformCache[r].replace(/[()]/g,"");case"inject":var i=!1;switch(r.substr(0,r.length-1)){case"translate":i=!/(%|px|em|rem|vw|vh|\d)$/i.test(n);break;case"scal":case"scale":Q.State.isAndroid&&K(t).transformCache[r]===$&&n<1&&(n=1),i=!/(\d)$/i.test(n);break;case"skew":case"rotate":i=!/(deg|\d)$/i.test(n)}return i||(K(t).transformCache[r]="("+n+")"),K(t).transformCache[r]}}}();for(var t=0;t<Y.Lists.colors.length;t++)!function(){var o=Y.Lists.colors[t];Y.Normalizations.registered[o]=function(e,t,n){switch(e){case"name":return o;case"extract":var i,r=Y.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(i={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"},/^[A-z]+$/i.test(n)?r=i[n]!==$?i[n]:i.black:Y.RegEx.isHex.test(n)?r="rgb("+Y.Values.hexToRgb(n).join(" ")+")":/^rgba?\(/i.test(n)||(r=i.black),(r||n).toString().match(Y.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," "));return(!T||8<T)&&3===r.split(" ").length&&(r+=" 1"),r;case"inject":return/^rgb/.test(n)?n:(T<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(T<=8?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function o(e,t,n){if("border-box"===Y.getPropertyValue(t,"boxSizing").toString().toLowerCase()!==(n||!1))return 0;for(var i,r=0,e="width"===e?["Left","Right"]:["Top","Bottom"],o=["padding"+e[0],"padding"+e[1],"border"+e[0]+"Width","border"+e[1]+"Width"],s=0;s<o.length;s++)i=parseFloat(Y.getPropertyValue(t,o[s])),isNaN(i)||(r+=i);return n?-r:r}function n(i,r){return function(e,t,n){switch(e){case"name":return i;case"extract":return parseFloat(n)+o(i,t,r);case"inject":return parseFloat(n)-o(i,t,r)+"px"}}}Y.Normalizations.registered.innerWidth=n("width",!0),Y.Normalizations.registered.innerHeight=n("height",!0),Y.Normalizations.registered.outerWidth=n("width"),Y.Normalizations.registered.outerHeight=n("height")}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(T||Q.State.isAndroid&&!Q.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(Q.State.prefixMatches[e])return[Q.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,i=t.length;n<i;n++){var r=0===n?e:t[n]+e.replace(/^\w/,function(e){return e.toUpperCase()});if(U.isString(Q.State.prefixElement.style[r]))return[Q.State.prefixMatches[e]=r,!0]}return[e,!1]}},Values:{hexToRgb:function(e){return e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,i){return t+t+n+n+i+i}),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(e){return!e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){e=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(e,t){var n;e&&(e.classList?e.classList.add(t):U.isString(e.className)?e.className+=(e.className.length?" ":"")+t:(n=e.getAttribute(T<=7?"className":"class")||"",e.setAttribute("class",n+(n?" ":"")+t)))},removeClass:function(e,t){var n;e&&(e.classList?e.classList.remove(t):U.isString(e.className)?e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," "):(n=e.getAttribute(T<=7?"className":"class")||"",e.setAttribute("class",n.replace(new RegExp("(^|s)"+t.split(" ").join("|")+"(s|$)","gi")," ")))
311)}},getPropertyValue:function(e,t,n,a){function l(e,t){var n=0;if(T<=8)n=z.css(e,t);else{var i=!1;/^(width|height)$/.test(t)&&0===Y.getPropertyValue(e,"display")&&(i=!0,Y.setPropertyValue(e,"display",Y.Values.getDisplayType(e)));var r=function(){i&&Y.setPropertyValue(e,"display","none")};if(!a){if("height"===t&&"border-box"!==Y.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var o=e.offsetHeight-(parseFloat(Y.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(Y.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(Y.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(Y.getPropertyValue(e,"paddingBottom"))||0);return r(),o}if("width"===t&&"border-box"!==Y.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var s=e.offsetWidth-(parseFloat(Y.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(Y.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(Y.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(Y.getPropertyValue(e,"paddingRight"))||0);return r(),s}}s=K(e)===$?H.getComputedStyle(e,null):K(e).computedStyle?K(e).computedStyle:K(e).computedStyle=H.getComputedStyle(e,null),"borderColor"===t&&(t="borderTopColor"),""!==(n=9===T&&"filter"===t?s.getPropertyValue(t):s[t])&&null!==n||(n=e.style[t]),r()}return"auto"!==n||!/^(top|right|bottom|left)$/i.test(t)||("fixed"===(r=l(e,"position"))||"absolute"===r&&/top|left/i.test(t))&&(n=z(e).position()[t]+"px"),n}var i,r;if(Y.Hooks.registered[t]?(r=Y.Hooks.getRoot(i=t),n===$&&(n=Y.getPropertyValue(e,Y.Names.prefixCheck(r)[0])),Y.Normalizations.registered[r]&&(n=Y.Normalizations.registered[r]("extract",e,n)),i=Y.Hooks.extractValue(i,n)):Y.Normalizations.registered[t]&&("transform"!==(n=Y.Normalizations.registered[t]("name",e))&&(o=l(e,Y.Names.prefixCheck(n)[0]),Y.Values.isCSSNullValue(o)&&Y.Hooks.templates[t]&&(o=Y.Hooks.templates[t][1])),i=Y.Normalizations.registered[t]("extract",e,o)),!/^[\d-]/.test(i)){var o=K(e);if(o&&o.isSVG&&Y.Names.SVGAttribute(t))if(/^(height|width)$/i.test(t))try{i=e.getBBox()[t]}catch(e){i=0}else i=e.getAttribute(t);else i=l(e,Y.Names.prefixCheck(t)[0])}return Y.Values.isCSSNullValue(i)&&(i=0),Q.debug,i},setPropertyValue:function(e,t,n,i,r){var o=t;if("scroll"===t)r.container?r.container["scroll"+r.direction]=n:"Left"===r.direction?H.scrollTo(n,r.alternateValue):H.scrollTo(r.alternateValue,n);else if(Y.Normalizations.registered[t]&&"transform"===Y.Normalizations.registered[t]("name",e))Y.Normalizations.registered[t]("inject",e,n),o="transform",n=K(e).transformCache[t];else{if(Y.Hooks.registered[t]&&(s=Y.Hooks.getRoot(r=t),i=i||Y.getPropertyValue(e,s),n=Y.Hooks.injectValue(r,n,i),t=s),Y.Normalizations.registered[t]&&(n=Y.Normalizations.registered[t]("inject",e,n),t=Y.Normalizations.registered[t]("name",e)),o=Y.Names.prefixCheck(t)[0],T<=8)try{e.style[o]=n}catch(e){Q.debug}else{var s=K(e);s&&s.isSVG&&Y.Names.SVGAttribute(t)?e.setAttribute(t,n):e.style[o]=n}Q.debug}return[o,n]},flushTransformCache:function(t){var n,i,r,o="",e=K(t);(T||Q.State.isAndroid&&!Q.State.isChrome)&&e&&e.isSVG?(n={translate:[(e=function(e){return parseFloat(Y.getPropertyValue(t,e))})("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]},z.each(K(t).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),n[e]&&(o+=e+"("+n[e].join(" ")+") ",delete n[e])})):(z.each(K(t).transformCache,function(e){return i=K(t).transformCache[e],"transformPerspective"===e?(r=i,!0):void(o+=(e=9===T&&"rotateZ"===e?"rotate":e)+i+" ")}),r&&(o="perspective"+r+" "+o)),Y.setPropertyValue(t,"transform",o)}};Y.Hooks.register(),Y.Normalizations.register(),Q.hook=function(e,i,r){var o;return e=g(e),z.each(e,function(e,t){var n;K(t)===$&&Q.init(t),r===$?o===$&&(o=Y.getPropertyValue(t,i)):("transform"===(n=Y.setPropertyValue(t,i,r))[0]&&Q.CSS.flushTransformCache(t),o=n)}),o};var y=function(){function e(){return t?k.promise||null:n}var t,n,i,E,A,r=arguments[0]&&(arguments[0].p||z.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||U.isString(arguments[0].properties));U.isWrapped(this)?(t=!1,i=0,n=E=this):(t=!0,i=1,E=r?arguments[0].elements||arguments[0].e:arguments[0]);var k={promise:null,resolver:null,rejecter:null};if(t&&Q.Promise&&(k.promise=new Q.Promise(function(e,t){k.resolver=e,k.rejecter
311=t})),V=r?(A=arguments[0].properties||arguments[0].p,arguments[0].options||arguments[0].o):(A=arguments[i],arguments[i+1]),E=g(E)){var B,F=E.length,L=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(A)&&!z.isPlainObject(V))for(var V={},o=i+1;o<arguments.length;o++)U.isArray(arguments[o])||!/^(fast|normal|slow)$/i.test(arguments[o])&&!/^\d/.test(arguments[o])?U.isString(arguments[o])||U.isArray(arguments[o])?V.easing=arguments[o]:U.isFunction(arguments[o])&&(V.complete=arguments[o]):V.duration=arguments[o];switch(A){case"scroll":B="scroll";break;case"reverse":B="reverse";break;case"pause":var s=(new Date).getTime();return z.each(E,function(e,t){v(t,s)}),z.each(Q.State.calls,function(e,i){var r=!1;i&&z.each(i[1],function(e,n){var t=V===$?"":V;return!0!==t&&i[2].queue!==t&&(V!==$||!1!==i[2].queue)||(z.each(E,function(e,t){if(t===n)return i[5]={resume:!1},!(r=!0)}),!r&&void 0)})}),e();case"resume":return z.each(E,function(e,t){b(t)}),z.each(Q.State.calls,function(e,i){var r=!1;i&&z.each(i[1],function(e,n){var t=V===$?"":V;return!0!==t&&i[2].queue!==t&&(V!==$||!1!==i[2].queue)||(!i[5]||(z.each(E,function(e,t){if(t===n)return i[5].resume=!0,!(r=!0)}),!r&&void 0))})}),e();case"finish":case"finishAll":case"stop":z.each(E,function(e,t){K(t)&&K(t).delayTimer&&(clearTimeout(K(t).delayTimer.setTimeout),K(t).delayTimer.next&&K(t).delayTimer.next(),delete K(t).delayTimer),"finishAll"!==A||!0!==V&&!U.isString(V)||(z.each(z.queue(t,U.isString(V)?V:""),function(e,t){U.isFunction(t)&&t()}),z.queue(t,U.isString(V)?V:"",[]))});var a=[];return z.each(Q.State.calls,function(r,o){o&&z.each(o[1],function(e,n){var i=V===$?"":V;if(!0!==i&&o[2].queue!==i&&(V!==$||!1!==o[2].queue))return!0;z.each(E,function(e,t){t===n&&(!0!==V&&!U.isString(V)||(z.each(z.queue(t,U.isString(V)?V:""),function(e,t){U.isFunction(t)&&t(null,!0)}),z.queue(t,U.isString(V)?V:"",[])),"stop"===A?((t=K(t))&&t.tweensContainer&&!1!==i&&z.each(t.tweensContainer,function(e,t){t.endValue=t.currentValue}),a.push(r)):"finish"!==A&&"finishAll"!==A||(o[2].duration=1))})})}),"stop"===A&&(z.each(a,function(e,t){O(t,!0)}),k.promise&&k.resolver(E)),e();default:if(!z.isPlainObject(A)||U.isEmptyObject(A)){if(U.isString(A)&&Q.Redirects[A]){var l,c=(l=z.extend({},V)).duration,u=l.delay||0;return!0===l.backwards&&(E=z.extend(!0,[],E).reverse()),z.each(E,function(e,t){parseFloat(l.stagger)?l.delay=u+parseFloat(l.stagger)*e:U.isFunction(l.stagger)&&(l.delay=u+l.stagger.call(t,e,F)),l.drag&&(l.duration=parseFloat(c)||(/^(callout|transition)/.test(A)?1e3:400),l.duration=Math.max(l.duration*(l.backwards?1-e/F:(e+1)/F),.75*l.duration,200)),Q.Redirects[A].call(t,t,l||{},e,F,E,k.promise?k:$)}),e()}var f="Velocity: First argument ("+A+") was not a property map, a known action, or a registered redirect. Aborting.";return k.promise?k.rejecter(new Error(f)):H.console,e()}B="start"}var M={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},W=[];z.each(E,function(e,t){U.isNode(t)&&m(t,e)}),(l=z.extend({},Q.defaults,V)).loop=parseInt(l.loop,10);var d=2*l.loop-1;if(l.loop)for(var h=0;h<d;h++){var p={delay:l.delay,progress:l.progress};h===d-1&&(p.display=l.display,p.visibility=l.visibility,p.complete=l.complete),y(E,"reverse",p)}return e()}function m(P,C){var D,e,t,N=z.extend({},Q.defaults,V),j={};switch(K(P)===$&&Q.init(P),parseFloat(N.delay)&&!1!==N.queue&&z.queue(P,N.queue,function(e){Q.velocityQueueEntryFlag=!0;var t=Q.State.delayedElements.count++;Q.State.delayedElements[t]=P;var n,t=(n=t,function(){Q.State.delayedElements[n]=!1,e()});K(P).delayBegin=(new Date).getTime(),K(P).delay=parseFloat(N.delay),K(P).delayTimer={setTimeout:setTimeout(e,parseFloat(N.delay)),next:t}}),N.duration.toString().toLowerCase()){case"fast":N.duration=200;break;case"normal":N.duration=400;break;case"slow":N.duration=600;break;default:N.duration=parseFloat(N.duration)||1}function n(e){var O,I,t,n,i,r,o,s;if(N.begin&&0===L)try{N.begin.call(E,E)}catch(e){setTimeout(function(){throw e},1)}if("scroll"===B){var a,l,c,u=/^x$/i.test(N.axis)?"Left":"Top",f=parseFloat(N.offset)||0;N.container?U.isWrapped(N.container)||U.isNode(N.container)?(N.container=N.container[0]||N.container,c=(a=N.container["scroll"+u])+z(P).position()[u.toLowerCase()]+f):N.container=null:(a=Q.State.scrollAnchor[Q.State["scrollProperty"+u]],l=Q.State.scrollAnchor[Q.State["scrollProperty"+("Left"===u?"Top":"Left")]],c=z(P).offset()[u.toLowerCase()]+f),j={scroll:{rootPropertyValue:!1,startValue:a,currentValue:a,endValue:c,unitType:"",easing:N.easing,scrollData:{container:N.container,direction:u,alternateValue:l}},element:P},Q.debug}
311else if("reverse"===B){if(!(O=K(P)))return;if(!O.tweensContainer)return void z.dequeue(P,N.queue);for(var d in"none"===O.opts.display&&(O.opts.display="auto"),"hidden"===O.opts.visibility&&(O.opts.visibility="visible"),O.opts.loop=!1,O.opts.begin=null,O.opts.complete=null,V.easing||delete N.easing,V.duration||delete N.duration,N=z.extend({},O.opts,N),I=z.extend(!0,{},O?O.tweensContainer:null))I.hasOwnProperty(d)&&"element"!==d&&(t=I[d].startValue,I[d].startValue=I[d].currentValue=I[d].endValue,I[d].endValue=t,U.isEmptyObject(V)||(I[d].easing=N.easing),Q.debug);j=I}else if("start"===B){(O=K(P))&&O.tweensContainer&&!0===O.isAnimating&&(I=O.tweensContainer);var h,p=function(e,t){var n=Y.Hooks.getRoot(e),i=!1,r=t[0],o=t[1],s=t[2];if(O&&O.isSVG||"tween"===n||!1!==Y.Names.prefixCheck(n)[1]||Y.Normalizations.registered[n]!==$){(N.display!==$&&null!==N.display&&"none"!==N.display||N.visibility!==$&&"hidden"!==N.visibility)&&/opacity|filter/.test(e)&&!s&&0!==r&&(s=0),N._cacheValues&&I&&I[e]?(s===$&&(s=I[e].endValue+I[e].unitType),i=O.rootPropertyValueCache[n]):Y.Hooks.registered[e]?s===$?(i=Y.getPropertyValue(P,n),s=Y.getPropertyValue(P,e,i)):i=Y.Hooks.templates[n][1]:s===$&&(s=Y.getPropertyValue(P,e));var a,l,c=!1,t=function(e,t){var t=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n=n||Y.Values.getUnitType(e);return[t,n]};if(s!==r&&U.isString(s)&&U.isString(r)){for(var u="",f=0,d=0,h=[],p=[],m=0,g=0,y=0,s=Y.Hooks.fixColors(s),r=Y.Hooks.fixColors(r);f<s.length&&d<r.length;){var v=s[f],b=r[d];if(/[\d\.-]/.test(v)&&/[\d\.-]/.test(b)){for(var w=v,x=b,_=".",S=".";++f<s.length;){if((v=s[f])===_)_="..";else if(!/\d/.test(v))break;w+=v}for(;++d<r.length;){if((b=r[d])===S)S="..";else if(!/\d/.test(b))break;x+=b}var T,C,E=Y.Hooks.getUnit(s,f),A=Y.Hooks.getUnit(r,d);f+=E.length,d+=A.length,E===A?w===x?u+=w+E:(u+="{"+h.length+(g?"!":"")+"}"+E,h.push(parseFloat(w)),p.push(parseFloat(x))):(T=parseFloat(w),C=parseFloat(x),u+=(m<5?"calc":"")+"("+(T?"{"+h.length+(g?"!":"")+"}":"0")+E+" + "+(C?"{"+(h.length+(T?1:0))+(g?"!":"")+"}":"0")+A+")",T&&(h.push(T),p.push(0)),C&&(h.push(0),p.push(C)))}else{if(v!==b){m=0;break}u+=v,f++,d++,0===m&&"c"===v||1===m&&"a"===v||2===m&&"l"===v||3===m&&"c"===v||4<=m&&"("===v?m++:(m&&m<5||4<=m&&")"===v&&--m<5)&&(m=0),0===g&&"r"===v||1===g&&"g"===v||2===g&&"b"===v||3===g&&"a"===v||3<=g&&"("===v?(3===g&&"a"===v&&(y=1),g++):y&&","===v?3<++y&&(g=y=0):(y&&g<(y?5:4)||(y?4:3)<=g&&")"===v&&--g<(y?5:4))&&(g=y=0)}}f===s.length&&d===r.length||(Q.debug,u=$),u&&(h.length?(Q.debug,s=h,r=p,a=l=""):u=$)}u||(s=(n=t(e,s))[0],l=n[1],r=(n=t(e,r))[0].replace(/^([+-\/*])=/,function(e,t){return c=t,""}),a=n[1],s=parseFloat(s)||0,r=parseFloat(r)||0,"%"===a&&(/^(fontSize|lineHeight)$/.test(e)?(r/=100,a="em"):/^scale/.test(e)?(r/=100,a=""):/(Red|Green|Blue)$/i.test(e)&&(r=r/100*255,a="")));if(/[\/*]/.test(c))a=l;else if(l!==a&&0!==s)if(0===r)a=l;else{D=D||function(){var e={myParent:P.parentNode||R.body,position:Y.getPropertyValue(P,"position"),fontSize:Y.getPropertyValue(P,"fontSize")},t=e.position===M.lastPosition&&e.myParent===M.lastParent,n=e.fontSize===M.lastFontSize;M.lastParent=e.myParent,M.lastPosition=e.position,M.lastFontSize=e.fontSize;var i,r={};return n&&t?(r.emToPx=M.lastEmToPx,r.percentToPxWidth=M.lastPercentToPxWidth,r.percentToPxHeight=M.lastPercentToPxHeight):(i=O&&O.isSVG?R.createElementNS("http://www.w3.org/2000/svg","rect"):R.createElement("div"),Q.init(i),e.myParent.appendChild(i),z.each(["overflow","overflowX","overflowY"],function(e,t){Q.CSS.setPropertyValue(i,t,"hidden")}),Q.CSS.setPropertyValue(i,"position",e.position),Q.CSS.setPropertyValue(i,"fontSize",e.fontSize),Q.CSS.setPropertyValue(i,"boxSizing","content-box"),z.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){Q.CSS.setPropertyValue(i,t,"100%")}),Q.CSS.setPropertyValue(i,"paddingLeft","100em"),r.percentToPxWidth=M.lastPercentToPxWidth=(parseFloat(Y.getPropertyValue(i,"width",null,!0))||1)/100,r.percentToPxHeight=M.lastPercentToPxHeight=(parseFloat(Y.getPropertyValue(i,"height",null,!0))||1)/100,r.emToPx=M.lastEmToPx=(parseFloat(Y.getPropertyValue(i,"paddingLeft"))||1)/100,e.myParent.removeChild(i)),null===M.remToPx&&(M.remToPx=parseFloat(Y.getPropertyValue(R.body,"fontSize"))||16),null===M.vwToPx&&(M.vwToPx=parseFloat(H.innerWidth)/100,M.vhToPx=parseFloat(H.innerHeight)/100),r.remToPx=M.remToPx,r.vwToPx=M.vwToPx,r.vhToPx=M.vhToPx,Q.debug,r}();var k=/margin|padding|left|right|width|text|word|letter/i.test(e)||/X$/.test(e)||"x"===e?"x":"y";switch(l){case"%":s*="x"==k?D.percentToPxWidth:D.percentToPxHeight;break;case"px":break;default:s*=D[l+"ToPx"]}switch(a){case"%":s*=1/("x"==k?D.percentToPxWidth:D.percentToPxHeight);break;case"px":break;default:s*=1/D[a+"ToPx"]}}switch(c){case"+":r=s+r;break;case"-":r=s-r;break;case"*":r*=s;break;case"/":r=s/r}
311j[e]={rootPropertyValue:i,startValue:s,currentValue:s,endValue:r,unitType:a,easing:o},u&&(j[e].pattern=u),Q.debug}else Q.debug};for(h in A)if(A.hasOwnProperty(h)){var m=Y.Names.camelCase(h),g=(n=A[h],s=o=r=i=void 0,U.isFunction(n)&&(n=n.call(P,C,F)),U.isArray(n)?(r=n[0],s=!U.isArray(n[1])&&/^[\d-]/.test(n[1])||U.isFunction(n[1])||Y.RegEx.isHex.test(n[1])?n[1]:U.isString(n[1])&&!Y.RegEx.isHex.test(n[1])&&Q.Easings[n[1]]||U.isArray(n[1])?(o=i?n[1]:X(n[1],N.duration),n[2]):n[1]||n[2]):r=n,i||(o=o||N.easing),[(r=U.isFunction(r)?r.call(P,C,F):r)||0,o,s=U.isFunction(s)?s.call(P,C,F):s]);if(q(Y.Lists.colors)){var y=g[0],v=g[1],b=g[2];if(Y.RegEx.isHex.test(y)){for(var w=["Red","Green","Blue"],x=Y.Values.hexToRgb(y),_=b?Y.Values.hexToRgb(b):$,S=0;S<w.length;S++){var T=[x[S]];v&&T.push(v),_!==$&&T.push(_[S]),p(m+w[S],T)}continue}}p(m,g)}j.element=P}j.element&&(Y.Values.addClass(P,"velocity-animating"),W.push(j),(O=K(P))&&(""===N.queue&&(O.tweensContainer=j,O.opts=N),O.isAnimating=!0),L===F-1?(Q.State.calls.push([W,E,N,null,k.resolver,null,0]),!1===Q.State.isTicking&&(Q.State.isTicking=!0,G())):L++)}!1!==Q.mock&&(!0===Q.mock?N.duration=N.delay=1:(N.duration*=parseFloat(Q.mock)||1,N.delay*=parseFloat(Q.mock)||1)),N.easing=X(N.easing,N.duration),N.begin&&!U.isFunction(N.begin)&&(N.begin=null),N.progress&&!U.isFunction(N.progress)&&(N.progress=null),N.complete&&!U.isFunction(N.complete)&&(N.complete=null),N.display!==$&&null!==N.display&&(N.display=N.display.toString().toLowerCase(),"auto"===N.display&&(N.display=Q.CSS.Values.getDisplayType(P))),N.visibility!==$&&null!==N.visibility&&(N.visibility=N.visibility.toString().toLowerCase()),N.mobileHA=N.mobileHA&&Q.State.isMobile&&!Q.State.isGingerbread,!1===N.queue?N.delay?(e=Q.State.delayedElements.count++,Q.State.delayedElements[e]=P,t=e,e=function(){Q.State.delayedElements[t]=!1,n()},K(P).delayBegin=(new Date).getTime(),K(P).delay=parseFloat(N.delay),K(P).delayTimer={setTimeout:setTimeout(n,parseFloat(N.delay)),next:e}):n():z.queue(P,N.queue,function(e,t){return!0===t?(k.promise&&k.resolver(E),!0):(Q.velocityQueueEntryFlag=!0,void n())}),""!==N.queue&&"fx"!==N.queue||"inprogress"===z.queue(P)[0]||z.dequeue(P)}k.promise&&(A&&V&&!1===V.promiseRejectEmpty?k.resolver():k.rejecter())};(Q=z.extend(y,Q)).animate=y;var E=H.requestAnimationFrame||n;return Q.State.isMobile||R.hidden===$||((o=function(){R.hidden?(E=function(e){return setTimeout(function(){e(!0)},16)},G()):E=H.requestAnimationFrame||n})(),R.addEventListener("visibilitychange",o)),e.Velocity=Q,e!==H&&(e.fn.velocity=y,e.fn.velocity.defaults=Q.defaults),z.each(["Down","Up"],function(e,u){Q.Redirects["slide"+u]=function(n,e,i,t,r,o){var e=z.extend({},e),s=e.begin,a=e.complete,l={},c={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};e.display===$&&(e.display="Down"===u?"inline"===Q.CSS.Values.getDisplayType(n)?"inline-block":"block":"none"),e.begin=function(){for(var e in 0===i&&s&&s.call(r,r),c){var t;c.hasOwnProperty(e)&&(l[e]=n.style[e],t=Y.getPropertyValue(n,e),
311c[e]="Down"===u?[t,0]:[0,t])}l.overflow=n.style.overflow,n.style.overflow="hidden"},e.complete=function(){for(var e in l)l.hasOwnProperty(e)&&(n.style[e]=l[e]);i===t-1&&(a&&a.call(r,r),o&&o.resolver(r))},Q(n,c,e)}}),z.each(["In","Out"],function(e,l){Q.Redirects["fade"+l]=function(e,t,n,i,r,o){var s=z.extend({},t),a=s.complete,t={opacity:"In"===l?1:0};0!==n&&(s.begin=null),s.complete=n!==i-1?null:function(){a&&a.call(r,r),o&&o.resolver(r)},s.display===$&&(s.display="In"===l?"auto":"none"),Q(this,t,s)}}),Q}function K(e){e=z.data(e,"velocity");return null===e?$:e}function v(e,t){e=K(e);e&&e.delayTimer&&!e.delayPaused&&(e.delayRemaining=e.delay-t+e.delayBegin,e.delayPaused=!0,clearTimeout(e.delayTimer.setTimeout))}function b(e){e=K(e);e&&e.delayTimer&&e.delayPaused&&(e.delayPaused=!1,e.delayTimer.setTimeout=setTimeout(e.delayTimer.next,e.delayRemaining))}function l(s,t,a,n){var l=4,c=1e-7,u=10,f=11,d=1/(f-1),e="Float32Array"in H;if(4!==arguments.length)return!1;for(var i=0;i<4;++i)if("number"!=typeof arguments[i]||isNaN(arguments[i])||!isFinite(arguments[i]))return!1;s=Math.min(s,1),a=Math.min(a,1),s=Math.max(s,0),a=Math.max(a,0);var h=new(e?Float32Array:Array)(f);function r(e,t){return 1-3*t+3*e}function p(e,t,n){return((r(t,n)*e+(3*n-6*t))*e+3*t)*e}function m(e,t,n){return 3*r(t,n)*e*e+2*(3*n-6*t)*e+3*t}function o(e){for(var t=0,n=1,i=f-1;n!==i&&h[n]<=e;++n)t+=d;var r=t+(e-h[--n])/(h[n+1]-h[n])*d,o=m(r,s,a);return.001<=o?function(e,t){for(var n=0;n<l;++n){var i=m(t,s,a);if(0===i)return t;t-=(p(t,s,a)-e)/i}return t}(e,r):0===o?r:function(e,t,n){for(var i,r,o=0;0<(i=p(r=t+(n-t)/2,s,a)-e)?n=r:t=r,Math.abs(i)>c&&++o<u;);return r}(e,t,t+d)}var g=!1;function y(){g=!0,s===t&&a===n||function(){for(var e=0;e<f;++e)h[e]=p(e*d,s,a)}()}e=function(e){return g||y(),s===t&&a===n?e:0===e?0:1===e?1:p(o(e),t,n)};e.getControlPoints=function(){return[{x:s,y:t},{x:a,y:n}]};var v="generateBezier("+[s,t,a,n]+")";return e.toString=function(){return v},e}function w(e){return-e.tension*e.x-e.friction*e.v}function x(e,t,n){e={x:e.x+n.dx*t,v:e.v+n.dv*t,tension:e.tension,friction:e.friction};return{dx:e.v,dv:w(e)}}function X(e,t){var n=e;return U.isString(e)?Q.Easings[e]||(n=!1):n=U.isArray(e)&&1===e.length?function(t){return function(e){return Math.round(e*t)*(1/t)}}.apply(null,e):U.isArray(e)&&2===e.length?a.apply(null,e.concat([t])):!(!U.isArray(e)||4!==e.length)&&l.apply(null,e),n=!1===n?Q.Easings[Q.defaults.easing]?Q.defaults.easing:s:n}function G(e){if(e){var t=Q.timestamp&&!0!==e?e:C.now(),n=Q.State.calls.length;1e4<n&&(Q.State.calls=function(e){for(var t=-1,n=e?e.length:0,i=[];++t<n;){var r=e[t];r&&i.push(r)}return i}(Q.State.calls),n=Q.State.calls.length);for(var i=0;i<n;i++)if(Q.State.calls[i]){var r=Q.State.calls[i],o=r[0],s=r[2],a=!!(f=r[3]),l=null,c=r[5],u=r[6],f=f||(Q.State.calls[i][3]=t-16);if(c){if(!0!==c.resume)continue;f=r[3]=Math.round(t-u-16),r[5]=null}for(var u=r[6]=t-f,d=Math.min(u/s.duration,1),h=0,p=o.length;h<p;h++){var m=o[h],g=m.element;if(K(g)){var y,v,b,w,x,_,S=!1;for(y in s.display!==$&&null!==s.display&&"none"!==s.display&&("flex"===s.display&&z.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(e,t){Y.setPropertyValue(g,"display",t)}),Y.setPropertyValue(g,"display",s.display)),s.visibility!==$&&"hidden"!==s.visibility&&Y.setPropertyValue(g,"visibility",s.visibility),m)m.hasOwnProperty(y)&&"element"!==y&&(v=m[y],b=U.isString(v.easing)?Q.Easings[v.easing]:v.easing,_=U.isString(v.pattern)?v.pattern.replace(/{(\d+)(!)?}/g,1===d?function(e,t,n){t=v.endValue[t];return n?Math.round(t):t}:function(e,t,n){var i=v.startValue[t],t=v.endValue[t]-i,t=i+t*b(d,s,t);return n?Math.round(t):t}):1===d?v.endValue:(x=v.endValue-v.startValue,v.startValue+x*b(d,s,x)),!a&&_===v.currentValue||(v.currentValue=_,"tween"===y?l=_:(Y.Hooks.registered[y]&&(w=Y.Hooks.getRoot(y),(x=K(g).rootPropertyValueCache[w])&&(v.rootPropertyValue=x)),_=Y.setPropertyValue(g,y,v.currentValue+(T<9&&0===parseFloat(_)?"":v.unitType),v.rootPropertyValue,v.scrollData),Y.Hooks.registered[y]&&(Y.Normalizations.registered[w]?K(g).rootPropertyValueCache[w]=Y.Normalizations.registered[w]("extract",null,_[1]):K(g).rootPropertyValueCache[w]=_[1]),"transform"===_[0]&&(S=!0))));s.mobileHA&&K(g).transformCache.translate3d===$&&(K(g).transformCache.translate3d="(0px, 0px, 0px)",S=!0),S&&Y.flushTransformCache(g)}}s.display!==$&&"none"!==s.display&&(Q.State.calls[i][2].display=!1),s.visibility!==$&&"hidden"
311!==s.visibility&&(Q.State.calls[i][2].visibility=!1),s.progress&&s.progress.call(r[1],r[1],d,Math.max(0,f+s.duration-t),f,l),1===d&&O(i)}}Q.State.isTicking&&E(G)}function O(e,t){if(Q.State.calls[e]){for(var n=Q.State.calls[e][0],i=Q.State.calls[e][1],r=Q.State.calls[e][2],o=Q.State.calls[e][4],s=!1,a=0,l=n.length;a<l;a++){var c=n[a].element;t||r.loop||("none"===r.display&&Y.setPropertyValue(c,"display",r.display),"hidden"===r.visibility&&Y.setPropertyValue(c,"visibility",r.visibility));var u,f=K(c);if(!0===r.loop||z.queue(c)[1]!==$&&/\.velocityQueueEntryFlag/i.test(z.queue(c)[1])||f&&(f.isAnimating=!1,u=!(f.rootPropertyValueCache={}),z.each(Y.Lists.transforms3D,function(e,t){var n=/^scale/.test(t)?1:0,i=f.transformCache[t];f.transformCache[t]!==$&&new RegExp("^\\("+n+"[^.]").test(i)&&(u=!0,delete f.transformCache[t])}),r.mobileHA&&(u=!0,delete f.transformCache.translate3d),u&&Y.flushTransformCache(c),Y.Values.removeClass(c,"velocity-animating")),!t&&r.complete&&!r.loop&&a===l-1)try{r.complete.call(i,i)}catch(e){setTimeout(function(){throw e},1)}o&&!0!==r.loop&&o(i),f&&!0===r.loop&&!t&&(z.each(f.tweensContainer,function(e,t){var n;/^rotate/.test(e)&&(parseFloat(t.startValue)-parseFloat(t.endValue))%360==0&&(n=t.startValue,t.startValue=t.endValue,t.endValue=n),/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),Q(c,"reverse",{loop:!0,delay:r.delay})),!1!==r.queue&&z.dequeue(c,r.queue)}Q.State.calls[e]=!1;for(var d=0,h=Q.State.calls.length;d<h;d++)if(!1!==Q.State.calls[d]){s=!0;break}!1===s&&(Q.State.isTicking=!1,delete Q.State.calls,Q.State.calls=[])}}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)})},598:(e,t,n)=>{e.exports=n.g.Tether=n(519)},609:e=>{"use strict";e.exports=jQuery}},i={};function v(e){var t=i[e];if(void 0!==t)return t.exports;t=i[e]={exports:{}};return n[e].call(t.exports,t,t.exports,v),t.exports}v.amdO={},v.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return v.d(t,{a:t}),t},v.d=(e,t)=>{for(var n in t)v.o(t,n)&&!v.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},v.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),v.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);(()=>{"use strict";v(598),v(948),v(635),v(877),v(990);var e=prestashop,l=v.n(e),e=v(609),c=v.n(e);function i(e,t){var n=t.children().detach();t.empty().append(e.children().detach()),e.append(n)}function r(){l().responsive.mobile?c()("*[id^='_desktop_']").each((e,t)=>{var n=c()(`#${t.id.replace("_desktop_","_mobile_")}`);n.length&&i(c()(t),n)}):c()("*[id^='_mobile_']").each((e,t)=>{var n=c()(`#${t.id.replace("_mobile_","_desktop_")}`);n.length&&i(c()(t),n)}),l().emit("responsive update",{mobile:l().responsive.mobile})}l().themeSelectors={product:{tabs:".tabs .nav-link",activeNavClass:"js-product-nav-active",activeTabClass:"js-product-tab-active",activeTabs:".tabs .nav-link.active, .js-product-nav-active",imagesModal:".js-product-images-modal",thumb:".js-thumb",thumbContainer:".thumb-container, .js-thumb-container",arrows:".js-arrows",selected:".selected, .js-thumb-selected",modalProductCover:".js-modal-product-cover",cover:".
311js-qv-product-cover"},listing:{searchFilterToggler:"#search_filter_toggler, .js-search-toggler",searchFiltersWrapper:"#search_filters_wrapper",searchFilterControls:"#search_filter_controls",searchFilters:"#search_filters",activeSearchFilters:"#js-active-search-filters",listTop:"#js-product-list-top",list:"#js-product-list",listBottom:"#js-product-list-bottom",listHeader:"#js-product-list-header",searchFiltersClearAll:".js-search-filters-clear-all",searchLink:".js-search-link"},order:{returnForm:"#order-return-form, .js-order-return-form"},arrowDown:".arrow-down, .js-arrow-down",arrowUp:".arrow-up, .js-arrow-up",clear:".clear",fileInput:".js-file-input",contentWrapper:"#content-wrapper, .js-content-wrapper",footer:"#footer, .js-footer",modalContent:".js-modal-content",modal:"#modal, .js-checkout-modal",touchspin:".js-touchspin",checkout:{termsLink:".js-terms a",giftCheckbox:".js-gift-checkbox",imagesLink:".card-block .cart-summary-products p a, .js-show-details",carrierExtraContent:".carrier-extra-content, .js-carrier-extra-content"}},c()(document).ready(()=>{l().emit("themeSelectorsInit")}),l().responsive=l().responsive||{},l().responsive.current_width=window.innerWidth,l().responsive.min_width=768,l().responsive.mobile=l().responsive.current_width<l().responsive.min_width,c()(window).on("resize",()=>{var e=l().responsive.current_width,t=l().responsive.min_width,n=window.innerWidth,t=t<=e&&n<t||e<t&&t<=n;l().responsive.current_width=n,l().responsive.mobile=l().responsive.current_width<l().responsive.min_width,t&&r()}),c()(document).ready(()=>{l().responsive.mobile&&r()}),c()(document).ready(()=>{1===c()("body#checkout").length&&(c()(l().themeSelectors.checkout.termsLink).on("click",e=>{e.preventDefault();e=c()(e.target).attr("href");e&&(e+="?content_only=1",c().get(e,e=>{c()(l().themeSelectors.modal).find(l().themeSelectors.modalContent).html(c()(e).find(".page-cms").contents())}).fail(e=>{l().emit("handleError",{eventType:"clickTerms",resp:e})})),c()(l().themeSelectors.modal).modal("show")}),c()(l().themeSelectors.checkout.giftCheckbox).on("click",()=>{c()("#gift").collapse("toggle")}),c()(l().themeSelectors.checkout.imagesLink).on("click",function(){const e=c()(this).find("i.material-icons");"expand_more"===e.text()?e.text("expand_less"):e.text("expand_more")})),l().on("updatedDeliveryForm",e=>{void 0!==e.deliveryOption&&0!==e.deliveryOption.length&&(c()(l().themeSelectors.checkout.carrierExtraContent).hide(),e.deliveryOption.next(l().themeSelectors.checkout.carrierExtraContent).slideDown())})}),c()(document).ready(function(){c()("body#order-detail")&&c()(`${l().themeSelectors.order.returnForm} table thead input[type=checkbox]`).on("click",function(){const n=c()(this).prop("checked");c()(`${l().themeSelectors.order.returnForm} table tbody input[type=checkbox]`).each((e,t)=>{c()(t).prop("checked",n)})})});v(5);class a{init(){c()(".js-product-miniature").each((e,t)=>{if(5<c()(t).find(".color").length){let n=0;c()(t).find(".color").each((e,t)=>{4<e&&(c()(t).hide(),n+=1)}),c()(t).find(".js-count").append(`+${n}`)}})}}c()(document).ready(()=>{const t=window.location.href;l().on("clickQuickView",e=>{e={action:"quickview",id_product:e.dataset.idProduct,id_product_attribute:e.dataset.idProductAttribute};c().post(l().urls.pages.product,e,null,"json").then(e=>{c()("body").append(e.quickview_html);const t=c()(`#quickview-modal-${e.product.id}-${e.product.id_product_attribute}`);t.modal("show"),n(t),t.on("hidden.bs.modal",()=>{t.remove()})}).fail(e=>{l().emit("handleError",{eventType:"clickQuickView",resp:e})})});const n=e=>{const t=c()(l().themeSelectors.product.arrows),n=e.find(".js-qv-product-images");c()(l().themeSelectors.product.thumb).on("click",e=>{c()(l().themeSelectors.product.thumb).hasClass("selected")&&c()(l().themeSelectors.product.thumb).removeClass("selected"),c()(e.currentTarget).addClass("selected"),c()(l().themeSelectors.product.cover).attr("src",c()(e.target).data("image-large-src"))}),n.find("li").length<=4?t.hide():t.on("click",e=>{c()(e.target).hasClass("arrow-up")&&c()(".js-qv-product-images").position().top<0?(i("up"),c()(l().themeSelectors.arrowDown).css("opacity","1")):c()(e.target).hasClass("arrow-down")&&n.position().top+n.height()>c()(".js-qv-mask").height()&&(i("down"),c()(l().themeSelectors.arrowUp).css("opacity","1"))}),e.find(l().selectors.quantityWanted).TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:1,max:1e6}),c()(l().themeSelectors.touchspin).off("touchstart.touchspin")},i=e=>{const t=c()(".js-qv-product-images");var n=c()(".js-qv-product-images li img").height()+20,i=t.position().top;t.velocity({translateY:"up"===e?i+n:i-n},()=>{0<=t.position().top?c()(".arrow-up").css("opacity",".2"):t.position().top+t.height()<=c()(".js-qv-mask").height()&&c()(".arrow-down").css("opacity",".2")})};c()("body").on("click",l().themeSelectors.listing.searchFilterToggler,()=>{c()(l().themeSelectors.listing.searchFiltersWrapper).removeClass("hidden-sm-down"),c()(l().themeSelectors.contentWrapper).addClass("hidden-sm-down"),c()(l().themeSelectors.footer).addClass("hidden-sm-down")}),c()(`${l().themeSelectors.listing.searchFilterControls} ${l().themeSelectors.clear}`).on("click",()=>{c()(l().themeSelectors.listing.searchFiltersWrapper).addClass("hidden-sm-down"),c()(l().themeSelectors.contentWrapper).removeClass("hidden-sm-down"),c()(l().themeSelectors.footer).removeClass("hidden-sm-down")}),c()(`${l().themeSelectors.listing.searchFilterControls} .ok`).on("click",()=>{c()(l().themeSelectors.listing.searchFiltersWrapper).addClass("hidden-sm-down"),c()(l().themeSelectors.contentWrapper).removeClass("hidden-sm-down"),c()(l().themeSelectors.footer).removeClass("hidden-sm-down")});const r=function(e){if(void 0!==e.target.dataset.searchUrl)return e.target.dataset.searchUrl;if(void 0===c()(e.target).parent()[0].dataset.searchUrl)throw new Error("Can not parse search U
311RL");return c()(e.target).parent()[0].dataset.searchUrl};c()("body").on("change",`${l().themeSelectors.listing.searchFilters} input[data-search-url]`,e=>{l().emit("updateFacets",r(e))}),c()("body").on("click",l().themeSelectors.listing.searchFiltersClearAll,e=>{l().emit("updateFacets",r(e))}),c()("body").on("click",l().themeSelectors.listing.searchLink,e=>{e.preventDefault(),l().emit("updateFacets",c()(e.target).closest("a").get(0).href)}),window.addEventListener("popstate",e=>{var{state:e}=e;window.location.href=e&&e.current_url?e.current_url:t}),c()("body").on("change",`${l().themeSelectors.listing.searchFilters} select`,e=>{const t=c()(e.target).closest("form");l().emit("updateFacets",`?${t.serialize()}`)}),l().on("updateProductList",e=>{!function(e){c()(l().themeSelectors.listing.searchFilters).replaceWith(e.rendered_facets),c()(l().themeSelectors.listing.activeSearchFilters).replaceWith(e.rendered_active_filters),c()(l().themeSelectors.listing.listTop).replaceWith(e.rendered_products_top),c()(l().themeSelectors.listing.list).replaceWith(e.rendered_products),c()(l().themeSelectors.listing.listBottom).replaceWith(e.rendered_products_bottom),e.rendered_products_header&&c()(l().themeSelectors.listing.listHeader).replaceWith(e.rendered_products_header);const t=new a;t.init()}(e),window.scrollTo(0,0)})});class u{init(){const e=c()(".js-modal-arrows"),t=c()(".js-modal-product-images");c()("body").on("click",".js-modal-thumb",e=>{c()(".js-modal-thumb").hasClass("selected")&&c()(".js-modal-thumb").removeClass("selected"),c()(e.currentTarget).addClass("selected"),c()(".js-modal-product-cover").attr("src",c()(e.target).data("image-large-src")),c()(".js-modal-product-cover").attr("title",c()(e.target).attr("title")),c()(".js-modal-product-cover").attr("alt",c()(e.target).attr("alt"))}).on("click","aside#thumbnails",e=>{"thumbnails"===e.target.id&&c()("#product-modal").modal("hide")}),c()(".js-modal-product-images li").length<=5?e.css("opacity",".2"):e.on("click",e=>{c()(e.target).hasClass("arrow-up")&&t.position().top<0?(this.move("up"),c()(".js-modal-arrow-down").css("opacity","1")):c()(e.target).hasClass("arrow-down")&&t.position().top+t.height()>c()(".js-modal-mask").height()&&(this.move("down"),c()(".js-modal-arrow-up").css("opacity","1"))})}move(e){const t=c()(".js-modal-product-images");var n=c()(".js-modal-product-images li img").height()+10,i=t.position().top;t.velocity({translateY:"up"===e?i+n:i-n},()=>{0<=t.position().top?c()(".js-modal-arrow-up").css("opacity",".2"):t.position().top+t.height()<=c()(".js-modal-mask").height()&&c()(".js-modal-arrow-down").css("opacity",".2")})}}c()(document).ready(()=>{function o(){const i=c()(l().themeSelectors.product.cover);let r=c()(l().themeSelectors.product.selected);const o=(e,t)=>{const n=t.find(l().themeSelectors.product.thumb);c()(l().themeSelectors.product.modalProductCover).attr("src",n.data("image-large-src")),e.removeClass("selected"),n.addClass("selected"),i.prop("src",n.data("image-medium-src"))};c()(l().themeSelectors.product.thumb).on("click",e=>{r=c()(l().themeSelectors.product.selected),o(r,c()(e.target).closest(l().themeSelectors.product.thumbContainer))}),i.swipe({swipe:(e,t)=>{r=c()(l().themeSelectors.product.selected);const n=r.closest(l().themeSelectors.product.thumbContainer);"right"===t?0<n.prev().length?o(r,n.prev()):0<n.next().length&&o(r,n.next()):"left"===t&&(0<n.next().length?o(r,n.next()):0<n.prev().length&&o(r,n.prev()))}})}function s(){2<c()("#main .js-qv-product-images li").length?(c()("#main .js-qv-mask").addClass("scroll"),c()(".scroll-box-arrows").addClass("scroll"),c()("#main .js-qv-mask").scrollbox({direction:"h",distance:113,autoPlay:!1}),c()(".scroll-box-arrows .left").click(()=>{c()("#main .js-qv-mask").trigger("backward")}),c()(".scroll-box-arrows .right").click(()=>{c()("#main .js-qv-mask").trigger("forward")})):(c()("#main .js-qv-mask").removeClass("scroll"),c()(".scroll-box-arrows").removeClass("scroll"))}function a(){c()(l().themeSelectors.fileInput).on("change",e=>{let t;(e=c()(e.currentTarget)[0])&&(t=e.files[0])&&c()(e).prev().text(t.name)})}!function(){const t=c()(l().selectors.quantityWanted);t.TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:parseInt(t.attr("min"),10),max:1e6}),c()(l().themeSelectors.touchspin).off("touchstart.touchspin"),t.focu
311sout(()=>{(""===t.val()||t.val()<t.attr("min"))&&(t.val(t.attr("min")),t.trigger("change"))}),c()("body").on("change keyup",l().selectors.quantityWanted,e=>{""!==t.val()&&(c()(e.currentTarget).trigger("touchspin.stopspin"),l().emit("updateProduct",{eventType:"updatedProductQuantity",event:e}))})}(),a(),o(),s(),function(){const e=c()(l().themeSelectors.product.tabs);e.on("show.bs.tab",e=>{const t=c()(e.target);t.addClass(l().themeSelectors.product.activeNavClass),c()(t.attr("href")).addClass(l().themeSelectors.product.activeTabClass)}),e.on("hide.bs.tab",e=>{const t=c()(e.target);t.removeClass(l().themeSelectors.product.activeNavClass),c()(t.attr("href")).removeClass(l().themeSelectors.product.activeTabClass)})}(),l().on("updatedProduct",e=>{if(a(),o(),e&&e.product_minimal_quantity){var t=parseInt(e.product_minimal_quantity,10),n=l().selectors.quantityWanted;const r=c()(n);r.trigger("touchspin.updatesettings",{min:t})}s(),c()(c()(l().themeSelectors.product.activeTabs).attr("href")).addClass("active").removeClass("fade"),c()(l().themeSelectors.product.imagesModal).replaceWith(e.product_images_modal);const i=new u;i.init()})}),l().cart=l().cart||{},l().cart.active_inputs=null;const f='input[name="product-quantity-spin"]';let n=!1,o=!1,s="";function d(){c().each(c()(f),(e,t)=>{c()(t).TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin js-increase-product-quantity",buttonup_class:"btn btn-touchspin js-touchspin js-decrease-product-quantity",min:parseInt(c()(t).attr("min"),10),max:1e6})}),c()(l().themeSelectors.touchspin).off("touchstart.touchspin"),h.switchErrorStat()}c()(document).ready(()=>{const o=".js-cart-line-product-quantity",s=[];l().on("updateCart",()=>{c()(".quickview").modal("hide")}),l().on("updatedCart",()=>{d()}),d();const e=c()("body");function n(e,t){if("on.startupspin"!==(n=t)&&"on.startdownspin"!==n)return{url:e.attr("href"),type:function(e){var t=e.split("-");let n,i,r="";for(n=0;n<t.length;n+=1)i=t[n],0!==n&&(i=i.substring(0,1).toUpperCase()+i.substring(1)),r+=i;return r}(e.data("link-action"))};var n;const i=function(e){const t=e.parents(".bootstrap-touchspin").find(o);return t.is(":focus")?null:t}(e);if(!i)return!1;let r={};return r="on.startupspin"===t?{url:i.data("up-url"),type:"increaseProductQuantity"}:{url:i.data("down-url"),type:"decreaseProductQuantity"},r}const a=()=>{let e;for(;0<s.length;)e=s.pop(),e.abort()};var t=e=>{e.preventDefault();const i=c()(e.currentTarget),{dataset:r}=e.currentTarget,t=n(i,e.namespace);t&&(a(),c().ajax({url:t.url,method:"POST",data:{ajax:"1",action:"update"},dataType:"json",beforeSend(e){s.push(e)}}).then(e=>{h.checkUpdateOpertation(e);const t=(n=i,c()(n.parents(".bootstrap-touchspin").find("input")));var n;t.val(e.quantity),l().emit("updateCart",{reason:r,resp:e})}).fail(e=>{l().emit("handleError",{eventType:"updateProductInCart",resp:e,cartAction:t.type})}))};function i(e){const t=c()(e.currentTarget);var n,i=t.data("update-url"),r=t.attr("value"),e=t.val();e!=parseInt(e,10)||e<0||isNaN(e)?t.val(r):0!=(r=e-r)&&(t.attr("value",e),i=i,r=r,r={ajax:"1",qty:Math.abs(r),action:"update",op:0<r?"up":"down"},n=t,a(),c().ajax({url:i,method:"POST",data:r,dataType:"json",beforeSend(e){s.push(e)}}).then(e=>{h.checkUpdateOpertation(e),n.val(e.quantity);let t;t=n&&n.dataset?n.dataset:e,l().emit("updateCart",{reason:t,resp:e})}).fail(e=>{l().emit("handleError",{eventType:"updateProductQuantityInCart",resp:e})}))}e.on("click",'[data-link-action="delete-from-cart"], [data-link-action="remove-voucher"]',t),e.on("touchspin.on.startdownspin",f,t),e.on("touchspin.on.startupspin",f,t),e.on("focusout keyup",o,e=>("keyup"===e.type?13===e.keyCode&&i(e):i(e),!1));e.on("hidden.bs.collapse","#promo-code",()=>{c()(".display-promo").show(400)}),e.on("click",".promo-code-button",e=>{e.preventDefault(),c()("#promo-code").collapse("toggle")}),e.on("click",".display-promo",e=>{c()(e.currentTarget).hide(400)}),e.on("click",".js-discount .code",e=>{e.stopPropagation();const t=c()(e.currentTarget),n=c()("[name=discount_name]");return n.val(t.text()),c()("#promo-code").collapse("show"),c()(".display-promo").hide(400),!1})});const h={switchErrorStat:()=>{const e=c()(".checkout a");var t;(c()("#notifications article.alert-danger").length||""!==s&&!n)&&e.addClass("disabled"),""!==s?(t=` <article class="alert alert-danger" role="alert" data-alert="danger"><ul><li>${s}</li></ul></article>`,c()("#notifications .container").html(t),s="",o=!1,n&&e.removeClass("disabled")):!n&&o&&(n=!1,o=!1,c()("#notifications .container").html(""),e.removeClass("disabled"))},checkUpdateOpertation:e=>{n=e.hasOwnProperty("hasError");const t=e.errors||"";s=t instanceof Array?t.join(" "):t,o=!0}};var e=v(590),t=v.n(e);class p{constructor(e){this.el=e}init(){this.el.on("show.bs.dropdown",(e,t)=>{(t?c()(`#${t}`):c()(e.target)).find(".dropdown-menu").first().stop(!0,!0).slideDown()}),this.el.on("hide.bs.dropdown",(e,t)=>{(t?c()(`#${t}`):c()(e.target)).find(".dropdown-menu").first().stop(!0,!0).slideUp()}),this.el.find("select.link").each((e,t)=>{c()(t).on("change",function(){window.location=c()(this).val()})})}}class m{init(){this.parentFocus(),this.togglePasswordVisibility()}parentFocus(){c()(".js-child-focus").focus(function(){c()(this).closest(".
311js-parent-focus").addClass("focus")}),c()(".js-child-focus").focusout(function(){c()(this).closest(".js-parent-focus").removeClass("focus")})}togglePasswordVisibility(){c()('button[data-action="show-password"]').on("click",function(){const e=c()(this).closest(".input-group").children("input.js-visible-password");"password"===e.attr("type")?(e.attr("type","text"),c()(this).text(c()(this).data("textHide"))):(e.attr("type","password"),c()(this).text(c()(this).data("textShow")))})}}class g extends p{init(){let i;const e=this;this.el.find("li").hover(e=>{if(!this.el.parent().hasClass("mobile")){var t=c()(e.currentTarget).attr("class");if(i!==t){const n=Array.prototype.slice.call(e.currentTarget.classList).map(e=>"string"==typeof e&&`.${e}`);i=n.join(""),i&&0===c()(e.target).data("depth")&&c()(`${i} .js-sub-menu`).css({top:c()(`${i}`).height()+c()(`${i}`).position().top})}}}),c()("#menu-icon").on("click",()=>{c()("#mobile_top_menu_wrapper").toggle(),e.toggleMobileMenu()}),this.el.on("click",e=>{this.el.parent().hasClass("mobile")||e.stopPropagation()}),l().on("responsive update",()=>{c()(".js-sub-menu").removeAttr("style"),e.toggleMobileMenu()}),super.init()}toggleMobileMenu(){c()("#header").toggleClass("is-open"),c()("#mobile_top_menu_wrapper").is(":visible")?c()("#notifications, #wrapper, #footer").hide():c()("#notifications, #wrapper, #footer").show()}}v(105),v(285);l().blockcart=l().blockcart||{},l().blockcart.showModal=e=>{function t(){return c()("#blockcart-modal")}let n=t();n.length&&n.remove(),c()("body").append(e),n=t(),n.modal("show").on("hidden.bs.modal",e=>{l().emit("updateProduct",{reason:e.currentTarget.dataset,event:e})})};for(const y in t().prototype)l()[y]=t().prototype[y];c()(document).ready(()=>{var e=c()(".js-dropdown");const t=new m;var n=c()('.js-top-menu ul[data-depth="0"]');const i=new p(e),r=new g(n),o=new a,s=new u;i.init(),t.init(),r.init(),o.init(),s.init(),c()('.carousel[data-touch="true"]').swipe({swipe(e,t){"left"===t&&c()(this).carousel("next"),"right"===t&&c()(this).carousel("prev")},allowPageScroll:"vertical"})})})()})();/**
312 * 2007-2020 PrestaShop.
313 *
314 * NOTICE OF LICENSE
315 *
316 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
317 * that is bundled with this package in the file LICENSE.txt.
318 * It is also available through the world-wide-web at this URL:
319 * https://opensource.org/licenses/AFL-3.0
320 * If you did not receive a copy of the license and are unable to
321 * obtain it through the world-wide-web, please send an email
322 * to [email protected] so we can send you a copy immediately.
323 *
324 * DISCLAIMER
325 *
326 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
327 * versions in the future. If you wish to customize PrestaShop for your
328 * needs please refer to http://www.prestashop.com for more information.
329 *
330 * @author    PrestaShop SA <[email protected]>
331 * @copyright 2007-2020 PrestaShop SA
332 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
333 * International Registered Trademark & Property of PrestaShop SA
334 */
335$(document).ready(function(){$(document).on('submit','.block_newsletter form',function(){var psemailsubscriptionForm=$(this);if(typeof psemailsubscription_subscription==='undefined'){return!0}
336$('.block_newsletter_alert').remove();$.ajax({type:'POST',dataType:'JSON',url:psemailsubscription_subscription,cache:!1,data:$(this).serialize(),success:function(data){if(data.nw_error){psemailsubscriptionForm.prepend('<p class="alert alert-danger block_newsletter_alert">'+data.msg+'</p>')}else{psemailsubscriptionForm.prepend('<p class="alert alert-success block_newsletter_alert">'+data.msg+'</p>')}},error:function(err){console.log(err)}});return!1})});/**
337 * 2007-2020 PrestaShop.
338 *
339 * NOTICE OF LICENSE
340 *
341 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
342 * that is bundled with this package in the file LICENSE.txt.
343 * It is also available through the world-wide-web at this URL:
344 * https://opensource.org/licenses/AFL-3.0
345 * If you did not receive a copy of the license and are unable to
346 * obtain it through the world-wide-web, please send an email
347 * to [email protected] so we can send you a copy immediately.
348 *
349 * DISCLAIMER
350 *
351 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
352 * versions in the future. If you wish to customize PrestaShop for your
353 * needs please refer to http://www.prestashop.com for more information.
354 *
355 * @author    PrestaShop SA <[email protected]>
356 * @copyright 2007-2020 PrestaShop SA
357 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
358 * International Registered Trademark & Property of PrestaShop SA
359 */
360function addNotification(productId,productAttributeId){if(typeof productId==='undefined'){var ids=$('div.js-mailalert > input[type=hidden]');productId=ids.eq(0).val();productIdAttribute=ids.eq(1).val()}
361$.ajax({type:'POST',url:$('div.js-mailalert').data('url'),data:'id_product='+productId+'&id_product_attribute='+productAttributeId+'&customer_email='+$('div.js-mailalert > input[type=email]').val(),success:function(resp){resp=JSON.parse(resp);$('.js-mailalert-alerts').html('<article class="mt-1 alert alert-'+(resp.error?'danger':'success')+'" role="alert" data-alert="'+(resp.error?'error':'success')+'">'+resp.message+'</article>').show();if(!resp.error){$('div.js-mailalert > .js-mailalert-add, div.js-mailalert > input[type=email], div.js-mailalert .gdpr_consent_wrapper').hide()}}});return!1}
362$(document).on('ready',function(){const mailAlertSubmitButtonClass='.js-mailalert-add';const mailAlertWrapper=$('.js-mailalert');const mailAlertSubmitButton=mailAlertWrapper.find(mailAlertSubmitButtonClass);if(mailAlertWrapper.find('#gdpr_consent, .gdpr_consent').length){setTimeout(()=>{mailAlertSubmitButton.prop('disabled',!0);mailAlertWrapper.find('[name="psgdpr_consent_checkbox"]').on('change',function(e){e.stopPropagation();mailAlertSubmitButton.prop('disabled',!$(this).prop('checked'))})},0)}
363$(document).on('click',mailAlertSubmitButtonClass,function(e){e.preventDefault();addNotification($(this).data('product'),$(this).data('product-attribute'))});$(document).on('click','.js-remove-email-alert',function(){var self=$(this);var ids=self.attr('rel').replace('js-id-emailalerts-','');ids=ids.split('-');var id_product_mail_alert=ids[0];var id_product_attribute_mail_alert=ids[1];var parent=self.closest('li');$.ajax({url:self.data('url'),type:"POST",data:{'id_product':id_product_mail_alert,'id_product_attribute':id_product_attribute_mail_alert},success:function(result){if(result=='0'){parent.fadeOut("normal",function(){parent.remove()})}}})})});/**
364 * NOTICE OF LICENSE
365 *
366 * @author    Klarna Bank AB www.klarna.com
367 * @copyright Copyright (c) permanent, Klarna Bank AB
368 * @license   ISC
369 * @see       /LICENSE
370 *
371 * International Registered Trademark & Property of Klarna Bank AB
372 */
373async function getSupplementaryPurchaseData(){return new Promise((resolve,reject)=>{$.ajax({type:'POST',url:klarnapayment.interoperabilityUrl,data:{ajax:!0,action:'getSupplementaryPurchaseData',},success:function(response){resolve(response)},error:function(jqXHR,textStatus,errorThrown){const errorMessage=jqXHR.responseText||errorThrown||textStatus||'Unknown error';reject(new Error(`Failed to get supplementary purchase data: ${errorMessage}`))}})})}
374window.addEventListener("load",async function(){const KlarnaSDK=await Klarna.init({clientId:klarnapayment.interoperability.clientId,environment:klarnapayment.interoperability.environment,locale:klarnapayment.interoperability.locale,integrator:klarnapayment.integrator,});if(!KlarnaSDK.Interoperability){return}
375KlarnaSDK.Interoperability.on('tokenupdate',async(response)=>{sessionStorage.setItem('klarna_interoperability_token',response.interoperabilityToken);prestashop.emit('updateKlarnaInteroperabilityToken',{token:response.interoperabilityToken});if(klarnapayment.isShareShippingDataEnabled){try{var supplementaryData=JSON.parse(await getSupplementaryPurchaseData()).data.supplementary_purchase_data;sessionStorage.setItem('interoperability_data',JSON.stringify(supplementaryData))}catch(error){console.error('Failed to fetch supplementary purchase data:',error)}}
376$.ajax({type:'POST',url:klarnapayment.interoperabilityUrl,data:{ajax:!0,action:'updateKlarnaInteroperabilityToken',klarna_interoperability_token:response.interoperabilityToken},success:function(){console.log('Klarna interoperability token updated')},error:function(jqXHR,textStatus,errorThrown){console.error('Failed to update Klarna interoperability token',{status:jqXHR.status,statusText:jqXHR.statusText,error:errorThrown,response:jqXHR.responseText})}})})});/**
377 * 2007-2017 Leotheme
378 *
379 * NOTICE OF LICENSE
380 *
381 * Leo feature for prestashop 1.7: ajax cart, review, compare, wishlist at product list 
382 *
383 * DISCLAIMER
384 *
385 *  @Module Name: Leo Feature
386 *  @author    leotheme <[email protected]>
387 *  @copyright 2007-2018 Leotheme
388 *  @license   http://leotheme.com - prestashop template provider
389 */
390$(document).ready(function(){if(typeof leo_allow_ajax!=="undefined"&&!leo_allow_ajax){return}
391var is_safari=!1;if(navigator.userAgent.toLowerCase().indexOf("chrome/")!==-1){is_safari=!1}else if(navigator.userAgent.toLowerCase().indexOf("safari/")!==-1){is_safari=!0}
392if(navigator.appVersion.indexOf("Win")!=-1&&is_safari){$('html').addClass('safari-win')}
393if(typeof show_popup!='undefined'&&!show_popup){$(".blockcart.cart-preview").addClass('leo-blockcart').removeClass('blockcart')}
394createModalAndDropdown(0,0);leoSelectAttr();leoChooseAttr();leoBtCart();prestashop.on('updateProductList',function(){leoSelectAttr();leoChooseAttr();leoBtCart()});prestashop.on('updateCart',function(event){if(typeof show_popup!='undefined'&&!show_popup){if($('.leo-blockcart.cart-preview .cssload-piano').length){$('.leo-blockcart.cart-preview .cssload-piano').show()}
395var refresh_url=$('.leo-blockcart').data('refresh-url');$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:refresh_url,async:!0,cache:!1,success:function(resp){$('.leo-blockcart').replaceWith($(resp.preview).find('.blockcart'));$(".blockcart.cart-preview").addClass('leo-blockcart').removeClass('blockcart');if(event.reason.linkAction=='add-to-cart'&&event.resp.success){prestashop.emit('updateProduct',{reason:''})}},error:function(XMLHttpRequest,textStatus,errorThrown){console.log("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}
396if(event.reason.linkAction=='add-to-cart'&&event.resp.success){if(typeof enable_flycart_effect!='undefined'&&enable_flycart_effect){if($('.leo-bt-cart.active').length){flyCartEffect($('.leo-bt-cart.active'))}else if(prestashop.page.page_name=='product'||$('.product-add-to-cart .add-to-cart').length){flyCartEffect($('.product-add-to-cart .add-to-cart'))}}
397if($('.leo-notification').length&&typeof enable_notification!='undefined'&&enable_notification){var id_product=event.resp.id_product;var product_name=!1;$.each(event.resp.cart.products,function(key,value){if(id_product==value.id_product){product_name=value.name;return!1}})
398showLeoNotification('success','add',product_name)}}
399if(typeof show_popup!='undefined'&&show_popup){check_active_modal_cart=setInterval(function(){if($('.leo-bt-cart.active').length&&$('#blockcart-modal').length&&$('#blockcart-modal').hasClass('modal fade in')){$('.leo-bt-cart.active').find('.leo-bt-cart-content').fadeIn('fast');$('.leo-bt-cart.active').find('.leo-loading').hide();$('.leo-bt-cart.active').removeClass('active reset');clearInterval(check_active_modal_cart)}},200)}
400if(typeof show_popup!='undefined'&&!show_popup){if($('.leo-bt-cart.active').length){$('.leo-bt-cart.active').find('.leo-bt-cart-content').fadeIn('fast');$('.leo-bt-cart.active').find('.leo-loading').hide();$('.leo-bt-cart.active').removeClass('active reset')}}
401if($('.leo-fly-cart .leo-fly-cart-cssload-loader').length){$('.leo-fly-cart .leo-fly-cart-cssload-loader').show()}
402if($('.leo-dropdown-cart-item.deleting').length){$('.leo-dropdown-cart-item.deleting .leo-dropdown-overlay').hide();$('.leo-dropdown-cart-item.deleting .leo-dropdown-cssload-speeding-wheel').hide();$('.leo-dropdown-cart-item.deleting').fadeOut(function(){$('.leo-dropdown-cart-item.deleting').remove();
402updateClassCartItem()})
403showLeoNotification('success','delete',!1)}
404if($('.leo-dropdown-cart-item.updating').length){$('.leo-dropdown-cart-item.updating .leo-dropdown-overlay').hide();$('.leo-dropdown-cart-item.updating .leo-dropdown-cssload-speeding-wheel').hide();$('.leo-dropdown-cart-item.updating').removeClass('updating');showLeoNotification('success','update',!1)}
405$('.leo-dropdown-cart.dropdown').removeClass('disable-close');$('.leo-dropdown-cart.dropup').removeClass('disable-close');createModalAndDropdown(1,0)});activeEventFlyCartSlideBar();$('.leo-fly-cart.enable-slidebar .leo-fly-cart-icon-wrapper').click(function(){$('.leo-fly-cart.enable-slidebar .leo-fly-cart-icon').trigger('click')});$('.leo-fly-cart.enable-slidebar .leo-fly-cart-icon').click(function(){showSlideBarCart($(this));return!1});$('.leo-fly-cart.enable-dropdown .leo-fly-cart-icon-wrapper , .leo-fly-cart.enable-dropdown .leo-fly-cart-icon').click(function(){showDropDownCart($(this),'flycart');return!1});$(document).click(function(e){e.stopPropagation();var container=$(".leo-dropdown-cart.dropdown.show");if(container.length&&container.has(e.target).length===0){if(!container.hasClass('disable-close')){container.removeClass('show')}}
406var container1=$(".leo-dropdown-cart.dropup.show");if(container1.length&&container1.has(e.target).length===0){if(!container1.hasClass('disable-close')){container1.removeClass('show')}}})
407getOffsetFlycartIcon();$(window).resize(function(){$('.leo-dropdown-list-item').each(function(){if($(this).parents('.leo-fly-cart-slidebar').length){checkFlyCartScrollBar($(this))}
408if($(this).parents('.leo-fly-cart.type-fixed.enable-dropdown').length){checkFlyCartScrollBarDropDown($(this))}})
409getOffsetFlycartIcon()})});function leoBtCart(){$('.leo-bt-cart').each(function(){if(!$(this).hasClass('leo-enable')){$(this).addClass('leo-enable');$(this).click(function(event){if($(this).hasClass('active')||$(this).hasClass('reset')||$('.leo-bt-cart.active').length||$(this).hasClass('disabled')){return!1}
410$(this).find('.leo-bt-cart-content').hide();$(this).find('.leo-loading').css({'display':'block'});$(this).addClass('active');var object_button_container=$(this).parents('.product-miniature');if(object_button_container.find('.leo_cart_quantity').length){object_button_container.find('.qty_product').val(object_button_container.find('.leo_cart_quantity').val())}
411var qty_product=object_button_container.find('.qty_product').val();var min_qty=object_button_container.find('.minimal_quantity').val();var quantity_product=object_button_container.find('.quantity_product').val();if(Math.floor(qty_product)==qty_product&&$.isNumeric(qty_product)&&qty_product>0){}else{$(this).addClass('reset');$('.leo-modal-cart .modal-header').addClass('warning-mess');$('.leo-modal-cart .leo-warning').show();$('.leo-modal-cart').modal('show');return!1}
412if(parseInt(qty_product)<parseInt(min_qty)){$(this).addClass('reset');$('.leo-modal-cart .modal-header').addClass('info-mess');$('.leo-modal-cart .leo-info .alert-min-qty').text(min_qty);$('.leo-modal-cart .leo-info').show();$('.leo-modal-cart').modal('show');return!1}
413var id_product=object_button_container.find('.id_product').val();var id_product_attribute=object_button_container.find('.id_product_attribute').val();var id_customization=object_button_container.find('.id_customization').val();var $element=$(this);$(this).removeData('check-outstock');checkProductOutStock(id_product,id_product_attribute,id_customization,qty_product,$element,!0);check_data_outstock=setInterval(function(){if(typeof $element.data('check-outstock')!='undefined'){clearInterval(check_data_outstock);if(!$element.data('check-outstock')){$element.addClass('reset');$('.leo-modal-cart .modal-header').addClass('block-mess');$('.leo-modal-cart .leo-block').show();$('.leo-modal-cart').modal('show');if($('.leo-bt-cart.active').length){$('.leo-bt-cart.active').find('.leo-bt-cart-content').fadeIn('fast');$('.leo-bt-cart.active').find('.leo-loading').hide();$('.leo-bt-cart.active').removeClass('active reset')}
414showLeoNotification('warning','max',!1);event.preventDefault();event.stopPropagation()}else{var $form=$element.closest('form');var query=$form.serialize()+'&add=1&action=update';var actionURL=$form.attr('action');$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:actionURL,async:!0,cache:!1,data:query,dataType:'json',success:function(result){if(result.success){if($('.leo-notification').length&&typeof enable_notification!='undefined'&&enable_notification){var id_product=result.id_product;var product_name=!1;$.each(result.cart.products,function(key,value){if(id_product==value.id_product){product_name=value.name;return!1}})
415showLeoNotification('success','add',product_name)}
416if(typeof enable_flycart_effect!='undefined'&&enable_flycart_effect){if($('.leo-bt-cart.active').length){flyCartEffect($('.leo-bt-cart.active'))}}
417if($('.leo-fly-cart .leo-fly-cart-cssload-loader').length){$('.leo-fly-cart .leo-fly-cart-cssload-loader').show()}
418if($('.leo-blockcart.cart-preview .cssload-piano').length){$('.leo-blockcart.cart-preview .cssload-piano').show()}
419if(typeof show_popup!='undefined'&&!show_popup){if($('.leo-bt-cart.active').length){$('.leo-bt-cart.active').find('.leo-bt-cart-content').fadeIn('fast');$('.leo-bt-cart.active').find('.leo-loading').hide();$('.leo-bt-cart.active').removeClass('active reset')}
420var refresh_url=$('.leo-blockcart').data('refresh-url');$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:refresh_url,async:!0,cache:!1,success:function(resp){$('.leo-blockcart').replaceWith($(resp.preview).find('.blockcart'));$(".blockcart.cart-preview").addClass('leo-blockcart').removeClass('blockcart');createModalAndDropdown(1,0)},error:function(XMLHttpRequest,textStatus,errorThrown){console.log("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}
421if(typeof show_popup!='undefined'&&show_popup){var refreshURL=$('.blockcart').data('refresh-url');var requestData={};requestData={id_product_attribute:result.id_product_attribute,id_product:result.id_product,action:'add-to-cart'};$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:refreshURL,async:!0,cache:!1,data:requestData,dataType:'json',success:function(resp){if($('.leo-bt-cart.active').length){$('.leo-bt-cart.active').find('.leo-bt-cart-content').fadeIn('fast');$('.leo-bt-cart.active').find('.leo-loading').hide();$('.leo-bt-cart.active').removeClass('active reset')}
422$('.blockcart').replaceWith($(resp.preview).find('.blockcart'));if(resp.modal){showModalPopupCart(resp.modal)}
423createModalAndDropdown(1,0)},error:function(XMLHttpRequest,textStatus,errorThrown){console.log("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}}else{showLeoNotification('error','add',!1)}},error:function(XMLHttpRequest,textStatus,errorThrown){showLeoNotification('error','add',!1)}})}}},10);return!1})}});$('.leo_cart_quantity').each(function(){if($(this).parents('.product-miniature').find('.qty_product').val()){$(this).val($(this).parents('.product-miniature').find('.qty_product').val())}else{$(this).hide()}})}
424function leoSelectAttr(){$('.leo-select-attr').click(function(e){e.preventDefault();var id_product=$(this).data('id-product');var attr_txt=$(this).text();var id_attr=$(this).data('id-attr');var qty_attr=$(this).data('qty-attr');var min_qty_attr=$(this).data('min-qty-attr');var parent_e=$(this).parents('.product-miniature');if(!$(this).hasClass('selected')){$(this).siblings().removeClass('selected');$(this).addClass('selected');parent_e.find('.dropdownListAttrButton_'+id_product).text(attr_txt);if($(this).hasClass('disable')){if(!parent_e.find('.leo-bt-cart_'+id_product).hasClass('disabled')){parent_e.find('.leo-bt-cart_'+id_product).addClass('disabled')}}else{if(parent_e.find('.leo-bt-cart_'+id_product).hasClass('disabled')){parent_e.find('.leo-bt-cart_'+id_product).removeClass('disabled')}};var $product_article_e=$(this).parents('.product-miniature[data-id-product='+id_product+']');$product_article_e.find('.leo-bt-cart .leo-bt-cart-content').hide();$product_article_e.find('.leo-bt-cart .leo-loading').css({'display':'block'});$product_article_e.find('.leo-bt-cart').addClass('active');$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:prestashop.urls.base_url+'modules/leofeature/psajax.php?rand='+new Date().getTime(),async:!0,cache:!1,data:{"action":"get-attribute-data","id_product":id_product,"id_product_attribute":id_attr,"token":leo_token},success:function(result){if(result!=''){var obj=$.parseJSON(result);$product_article_e.find('.product-thumbnail img').attr('src',obj.product_cover.bySize.home_default.url).attr('alt',obj.product_cover.legend);$product_article_e.find('.product-thumbnail').attr('href',obj.product_url);$product_article_e.find('.product-price-and-shipping').empty().append(obj.price_attribute)}else{alert(add_cart_error)}
425$('.leo-bt-cart.active').find('.leo-bt-cart-content').fadeIn('fast');$('.leo-bt-cart.active').find('.leo-loading').hide();$('.leo-bt-cart.active').removeClass('active reset')},error:function(XMLHttpRequest,textStatus,errorThrown){alert("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}
426parent_e.find('.quantity_product_'+id_product).val(qty_attr);parent_e.find('.id_product_attribute_'+id_product).val(id_attr);parent_e.find('.minimal_quantity_'+id_product).val(min_qty_attr);parent_e.find('.qty_product_'+id_product).val(min_qty_attr).data('min',min_qty_attr);parent_e.find('.leo_cart_quantity').val(min_qty_attr);parent_e.find('.dropdownListAttrButton_'+id_product).trigger('click')})}
427function activeEventModal(){$('.leo-modal-cart').on('hide.bs.modal',function(e){$('.leo-modal-cart .modal-header').removeClass('block-mess info-mess warning-mess');$('.leo-modal-cart .modal-title').hide();var min_qty=$('.leo-bt-cart.reset').parents('.button-container').find('.minimal_quantity').val();$('.leo-bt-cart.reset').parents('.button-container').find('.qty_product').val(min_qty);$('.leo-bt-cart.reset').parents('.product-miniature').find('.leo_cart_quantity').val(min_qty);$('.leo-bt-cart.active').find('.leo-bt-cart-content').fadeIn('fast');$('.leo-bt-cart.active').find('.leo-loading').hide();$('.leo-bt-cart.active').removeClass('active reset')})}
428function updatePostionLabel($parent){var FLAG_MARGIN=10;var $percent=$parent.find('.discount-percentage');var $onsale=$parent.find('.on-sale');var $new=$parent.find('.new');if($percent.length){$new.css('top',$percent.height()*2+FLAG_MARGIN);$percent.css('top',-$parent.find('.thumbnail-container').height()+$parent.find('.product-description').height()+FLAG_MARGIN)}
429if($onsale.length){$percent.css('top',parseFloat($percent.css('top'))+$onsale.height()+FLAG_MARGIN);$new.css('top',($percent.height()*2+$onsale.height())+FLAG_MARGIN*2)}}
430function showDropDownCart($element,$type){if($element.parent().find('.leo-dropdown-cart-item').length||$('.leo-fly-cart-slidebar').find('.leo-dropdown-cart-item').length){var object_element='';if($type=='defaultcart'){object_element=$element.siblings('.leo-dropdown-cart')}
431if($type=='flycart'){object_element=$element.parents('.leo-fly-cart').find('.leo-dropdown-cart')}
432if(!object_element.hasClass('show')){object_element.addClass('show')}else{object_element.removeClass('show')}}}
433function showSlideBarCart($element){if(!$('.leo-fly-cart-slidebar.disable').length&&($element.parent().find('.leo-dropdown-cart-item').length||$('.leo-fly-cart-slidebar').find('.leo-dropdown-cart-item').length)){if(!$element.hasClass('active-slidebarcart')){var type=$element.data('type');var pusheffect=$element.data('pusheffect');$element.addClass('active-slidebarcart');$('.leo-fly-cart-slidebar.'+type).addClass('active');if($('.leo-fly-cart-mask').length){$('.leo-fly-cart-mask').first().addClass('active');$('body').addClass('leoflycart-active-slidebar')}
434if($('html').hasClass('safari-win')){$('.leo-fly-cart-slidebar .leo-dropdown-list-item').each(function(){checkFlyCartScrollBar($(this))})};if(pusheffect){$('.leo-fly-cart-slidebar.'+type).addClass('push');$('body').addClass('leoflycart-active-push');var push_value;var push_type;if(type=='slidebar_top'||type=='slidebar_bottom'){push_type="Y";if(type=='slidebar_top'){push_value=$('.leo-fly-cart-slidebar.push.'+type).outerHeight()}
435if(type=='slidebar_bottom'){push_value=-$('.leo-fly-cart-slidebar.push.'+type).outerHeight()}}
436if(type=='slidebar_right'||type=='slidebar_left'){push_type="X";if(type=='slidebar_left'){push_value=$('.leo-fly-cart-slidebar.push.'+type).outerWidth()}
437if(type=='slidebar_right'){push_value=-$('.leo-fly-cart-slidebar.push.'+type).outerWidth()}}
438$('body.leoflycart-active-push main').css({"-moz-transform":"translate"+push_type+"("+push_value+"px)","-webkit-transform":"translate"+push_type+"("+push_value+"px)","-
438o-transform":"translate"+push_type+"("+push_value+"px)","-ms-transform":"translate"+push_type+"("+push_value+"px)","transform":"translate"+push_type+"("+push_value+"px)",})}}else{$('.leo-fly-cart-slidebar .leo-fly-cart-icon').trigger('click')}}}
439function activeDropdownEvent(){$('.leo-dropdown-list-item').each(function(){var check_number_cartitem=3;if(typeof number_cartitem_display!='undefined'){check_number_cartitem=number_cartitem_display}
440if(!$(this).parents('.leo-fly-cart-slidebar').length){checkFlyCartScrollBarDropDown($(this))}
441if($(this).parents('.leo-fly-cart-slidebar').length){checkFlyCartScrollBar($(this))}})
442$('.leo-remove-from-cart, .view-leo-dropdown-additional').hover(function(){if($(this).hasClass('leo-remove-from-cart')){$(this).parents('.leo-dropdown-cart-item').addClass('high-light')}},function(){if($(this).hasClass('leo-remove-from-cart')){$(this).parents('.leo-dropdown-cart-item').removeClass('high-light')}})
443$('.view-leo-dropdown-additional').click(function(){var parent_obj=$(this).parents('.leo-dropdown-cart-item');var wrapper_parent_obj=$(this).parents('.leo-dropdown-list-item');if(!$(this).hasClass('show')){if(wrapper_parent_obj.find('.leo-dropdown-cart-item.show-additional')){wrapper_parent_obj.find('.leo-dropdown-cart-item.show-additional').removeClass('show-additional');wrapper_parent_obj.find('.view-leo-dropdown-additional.show').removeClass('show');wrapper_parent_obj.find('.fake-element').fadeOut('200',function(){$(this).remove()});wrapper_parent_obj.mCustomScrollbar("update");setTimeout(function(){wrapper_parent_obj.parents('.leo-dropdown-list-item-warpper').mCustomScrollbar("update")},500)}
444$(this).addClass('show');if(wrapper_parent_obj.hasClass('active-scrollbar')&&parent_obj.hasClass('last')){var height_clone_obj=parent_obj.find('.leo-dropdown-additional').height();wrapper_parent_obj.find('.mCSB_container').append('<p class="fake-element" style="height:'+height_clone_obj+'px"></p>');wrapper_parent_obj.mCustomScrollbar("update");wrapper_parent_obj.mCustomScrollbar("scrollTo","bottom",{callbacks:parent_obj.addClass('show-additional')})}else if(wrapper_parent_obj.parents('.leo-dropdown-list-item-warpper').hasClass('active-scrollbar')&&parent_obj.hasClass('last')&&parent_obj.hasClass('first')){wrapper_parent_obj.append('<li class="leo-dropdown-cart-item clearfix has-view-additional fake-element" style="width:'+width_cart_item+'px; height:'+height_cart_item+'px"></p>');wrapper_parent_obj.parents('.leo-dropdown-list-item-warpper').mCustomScrollbar("update");wrapper_parent_obj.parents('.leo-dropdown-list-item-warpper').mCustomScrollbar("scrollTo","last",{callbacks:parent_obj.addClass('show-additional')})}else{parent_obj.addClass('show-additional')}}else{parent_obj.removeClass('show-additional');if(wrapper_parent_obj.hasClass('active-scrollbar')&&parent_obj.hasClass('last')){wrapper_parent_obj.find('.fake-element').fadeOut('200',function(){$(this).remove()});wrapper_parent_obj.mCustomScrollbar("update")}else if(wrapper_parent_obj.parents('.leo-dropdown-list-item-warpper').hasClass('active-scrollbar')&&parent_obj.hasClass('last')&&parent_obj.hasClass('first')){wrapper_parent_obj.find('.fake-element').fadeOut('200',function(){$(this).remove()});parent_obj.removeClass('show-additional');$(this).removeClass('show');setTimeout(function(){wrapper_parent_obj.parents('.leo-dropdown-list-item-warpper').mCustomScrollbar("update")},500)}
445parent_obj.removeClass('show-additional');$(this).removeClass('show')}
446return!1})
447$('.leo-remove-from-cart').click(function(){var id_product=$(this).data('id-product');var id_product_attribute=$(this).data('id-product-attribute');var id_customization=$(this).data('id-customization');var parent_obj=$(this).parents('.leo-dropdown-cart-item');parent_obj.addClass('deleting');if(parent_obj.hasClass('show-additional')){parent_obj.find('.view-leo-dropdown-additional').trigger('click')}
448parent_obj.find('.leo-dropdown-overlay').show();parent_obj.find('.leo-dropdown-cssload-speeding-wheel').show();if($('.remove-from-cart').length){$('.leo-dropdown-cart.dropdown').addClass('disable-close');$('.leo-dropdown-cart.dropup').addClass('disable-close');$('.remove-from-cart[data-id-product="'+id_product+'"][data-id-product-attribute="'+id_product_attribute+'"][data-id-customization="'+id_customization+'"]').trigger('click')}else{var link_url=$(this).data('link-url');var refresh_url=$('.leo-blockcart.cart-preview').data('refresh-url');$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:link_url,async:!0,cache:!1,data:{"ajax":1,"action":"update",},success:function(result){var obj=$.parseJSON(result);parent_obj.find('.leo-dropdown-overlay').hide();parent_obj.find('.leo-dropdown-cssload-speeding-wheel').hide();if(obj.success){parent_obj.fadeOut(function(){parent_obj.remove();$('.leo-remove-from-cart[data-id-product="'+id_product+'"][data-id-product-attribute="'+id_product_attribute+'"][data-id-customization="'+id_customization+'"]').parents('.leo-dropdown-cart-item').remove();
448updateClassCartItem()});showLeoNotification('success','delete',!1);if(!obj.cart.products_count){parent_obj.parents('.active').removeClass('active');$('.leo-fly-cart-mask').removeClass('active')}
449$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:refresh_url,async:!0,cache:!1,success:function(resp){$('.leo-blockcart').replaceWith($(resp.preview).find('.blockcart'));$(".blockcart.cart-preview").addClass('leo-blockcart');if(typeof show_popup!='undefined'&&!show_popup){$(".blockcart.cart-preview").removeClass('blockcart')}
450createModalAndDropdown(1,1)},error:function(XMLHttpRequest,textStatus,errorThrown){console.log("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}else{showLeoNotification('error','delete',!1)}},error:function(XMLHttpRequest,textStatus,errorThrown){console.log("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}
451return!1})
452$('.leo-input-product-quantity').focusout(function(){updateQuantityProductDropDown($(this))})
453$('.leo-input-product-quantity').keyup(function(event){if(event.keyCode==13){updateQuantityProductDropDown($(this))}})
454var timer;var flag=!1;$('.leo-bt-product-quantity-down, .leo-bt-product-quantity-up').on('touchstart click',function(){if(flag==!0){flag=!1;clearTimeout(timer)}
455flag=!0;var action='up';var input_target=$(this).parents('.leo-dropdown-cart-item').find('.leo-input-product-quantity');var input_quantity=parseInt(input_target.val());var quantity_update;if($(this).hasClass('leo-bt-product-quantity-down')){action='down'}
456if(action=='up'){quantity_update=input_quantity+1}
457if(action=='down'){quantity_update=input_quantity-1}
458input_target.val(quantity_update);timer=setTimeout(function(){flag=!1;updateQuantityProductDropDown(input_target)},800);return!1})}
459function updateQuantityProductDropDown($element){var $this=$element;var product_quantity=$this.data('product-quantity');var min_quantity=$this.data('min-quantity');var max_quantity=$this.data('quantity-available');var input_quantity=$this.val();if(Math.floor(input_quantity)==input_quantity&&$.isNumeric(input_quantity)&&input_quantity>0){}else{showLeoNotification('normal','check',!1);$this.val(product_quantity);return}
460if(parseInt(input_quantity)<parseInt(min_quantity)){showLeoNotification('warning','min',min_quantity);$this.val(product_quantity);return!1}
461var qty=parseInt(input_quantity)-parseInt(product_quantity);if(qty==0){return}
462var id_product=$this.data('id-product');var id_product_attribute=$this.data('id-product-attribute');var id_customization=$this.data('id-customization');$this.removeData('check-outstock');var check_product_outstock=!0;var parent_obj=$this.parents('.leo-dropdown-cart-item');parent_obj.addClass('updating');parent_obj.find('.leo-dropdown-overlay').show();parent_obj.find('.leo-dropdown-cssload-speeding-wheel').show();checkProductOutStock(id_product,id_product_attribute,id_customization,input_quantity,$this,!1);check_data_outstock=setInterval(function(){if(typeof $element.data('check-outstock')!='undefined'){clearInterval(check_data_outstock);if(!$this.data('check-outstock')){showLeoNotification('warning','max',!1);$this.val(product_quantity);check_product_outstock=!1;parent_obj.find('.leo-dropdown-overlay').hide();parent_obj.find('.leo-dropdown-cssload-speeding-wheel').hide();parent_obj.removeClass('updating')}
463if(!check_product_outstock){return!1}
464if($('.js-cart-line-product-quantity').length){var e=$.Event("keyup");e.keyCode=13;$('.remove-from-cart[data-id-product="'+id_product+'"][data-id-product-attribute="'+id_product_attribute+'"][data-id-customization="'+id_customization+'"]').parents('.cart-item').find('.js-cart-line-product-quantity').val(input_quantity).trigger(e)}else{var link_url=$this.data('update-url');var refresh_url=$('.leo-blockcart.cart-preview').data('refresh-url');var op='';if(qty>0){op='up'}else{op='down'}
465$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:link_url,async:!0,cache:!1,data:{"ajax":1,"action":"update","qty":Math.abs(qty),"op":op,},success:function(result){var obj=$.parseJSON(result);parent_obj.find('.leo-dropdown-overlay').hide();parent_obj.find('.leo-dropdown-cssload-speeding-wheel').hide();parent_obj.removeClass('updating');
465if(obj.success){$('.leo-input-product-quantity[data-id-product="'+id_product+'"][data-id-product-attribute="'+id_product_attribute+'"][data-id-customization="'+id_customization+'"]').val(input_quantity).data('product-quantity',input_quantity);showLeoNotification('success','update',!1);$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:refresh_url,async:!0,cache:!1,success:function(resp){$('.leo-blockcart').replaceWith($(resp.preview).find('.blockcart'));$(".blockcart.cart-preview").addClass('leo-blockcart');if(typeof show_popup!='undefined'&&!show_popup){$(".blockcart.cart-preview").removeClass('blockcart')}
466createModalAndDropdown(1,1)},error:function(XMLHttpRequest,textStatus,errorThrown){console.log("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}else{showLeoNotification('error','update',!1)}},error:function(XMLHttpRequest,textStatus,errorThrown){console.log("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}}},10)}
467function createModalAndDropdown($only_dropdown,$only_total){if(typeof enable_dropdown_defaultcart!='undefined'){if(enable_dropdown_defaultcart){if($('.blockcart.cart-preview').length){$('.blockcart.cart-preview').addClass('leo-blockcart show-leo-loading').append('<div class="cssload-piano"><div class="cssload-rect1"></div><div class="cssload-rect2"></div><div class="cssload-rect3"></div></div>')}else{$('.leo-blockcart.cart-preview').addClass('show-leo-loading').append('<div class="cssload-piano"><div class="cssload-rect1"></div><div class="cssload-rect2"></div><div class="cssload-rect3"></div></div>')}
468$('.leo-blockcart.cart-preview .cssload-piano').show();$('.leo-blockcart.cart-preview.show-leo-loading').data('type',type_dropdown_defaultcart);if(typeof type_dropdown_defaultcart!='undefined'){if(type_dropdown_defaultcart=='dropdown'||type_dropdown_defaultcart=='dropup'){$(document).off('click.leoCart').on('click.leoCart','.leo-blockcart.cart-preview.show-leo-loading',function(){showDropDownCart($(this),'defaultcart');return!1})}
469if(type_dropdown_defaultcart=='slidebar_left'||type_dropdown_defaultcart=='slidebar_right'||type_dropdown_defaultcart=='slidebar_top'||type_dropdown_defaultcart=='slidebar_bottom'){$(document).off('click.leoCart').on('click.leoCart','.leo-blockcart.cart-preview.show-leo-loading',function(){showSlideBarCart($(this));return!1})}}}else{$('.blockcart.cart-preview').addClass('leo-blockcart')}}
470if($('.leo-fly-cart .leo-fly-cart-cssload-loader').length){$('.leo-fly-cart .leo-fly-cart-cssload-loader').show()}
471$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:prestashop.urls.base_url+'modules/leofeature/psajax.php?rand='+new Date().getTime(),async:!0,cache:!1,data:{"action":"render-modal","only_dropdown":$only_dropdown,"only_total":$only_total,"token":leo_token},success:function(result){if(result!=''){$('.leo-blockcart.cart-preview .cssload-piano').hide();if($('.leo-fly-cart .leo-fly-cart-cssload-loader').length){setTimeout(function(){$('.leo-fly-cart .leo-fly-cart-cssload-loader').hide()},2000)}
472if(result.dropdown!=''){if($('.leo-fly-cart-slidebar.disable').length){$('.leo-fly-cart-slidebar').removeClass('disable')}
473if(!$('.leo-dropdown-cart').length){if(typeof type_dropdown_defaultcart!='undefined'&&(type_dropdown_defaultcart=='dropdown'||type_dropdown_defaultcart=='dropup')){$('.leo-blockcart.cart-preview.show-leo-loading').after('<div class="leo-dropdown-cart defaultcart '+type_dropdown_defaultcart+'"></div>')}
474if($('.leo-fly-cart.enable-dropdown').length){$('.leo-fly-cart.enable-dropdown').append('<div class="leo-dropdown-cart flycart '+$('.leo-fly-cart.enable-dropdown').data('type')+'"></div>')}
475if($('.leo-fly-cart-slidebar').length){$('.leo-fly-cart-slidebar').append('<div class="leo-dropdown-cart"></div>')}}else{$('.leo-dropdown-cart').addClass('update')}
476if($('.leo-dropdown-cart-content').length){if($only_total==1){$('.leo-dropdown-cart-content .leo-dropdown-total').replaceWith(JSON.parse(result).dropdown);var check_number_cartitem=3;if(typeof number_cartitem_display!='undefined'){check_number_cartitem=number_cartitem_display}
477$('.leo-dropdown-list-item').each(function(){if(!$(this).parents('.leo-fly-cart-slidebar').length){checkFlyCartScrollBarDropDown($(this))}
478if($(this).parents('.leo-fly-cart-slidebar').length&&$(this).parents('.leo-fly-cart-slidebar').find('.active-scrollbar')){checkFlyCartScrollBar($(this))}})}else{$('.leo-dropdown-cart-content').replaceWith(JSON.parse(result).dropdown);activeDropdownEvent()}}else{$('.leo-dropdown-cart').append(JSON.parse(result).dropdown);activeDropdownEvent()}}else{if($('.leo-dropdown-cart').length){$('.leo-dropdown-cart').remove()}
479$('.leo-fly-cart-slidebar').addClass('disable');if($('.leo-fly-cart-slidebar.active').length){$('.leo-fly-cart-slidebar.active').find('.leo-fly-cart-icon').trigger('click')}}
480if(result.modal!=''){$('body').append(JSON.parse(result).modal);activeEventModal()}
481if(result.notification!=''){$('body').append(JSON.parse(result).notification)}
482if($('.leo-fly-cart-total').length){if($('.leo-dropdown-total').length){$('.leo-fly-cart-total').text($('.leo-dropdown-total').data('cart-total'))}else{$('.leo-fly-cart-total').text("0")}}}else{alert(add_cart_error)}},error:function(XMLHttpRequest,textStatus,errorThrown){console.log("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}
483function activeEventNotification(){$(".leo-notification .notification").click(function(){$(this).removeClass('show').addClass("closed").parent().addClass('disable')}
483)}
484function showLeoNotification($status,$action,$special_parameter){if(!$('.leo-notification').hasClass('active')){$('.leo-notification').addClass('active')}
485var clone_obj='';clone_obj=$('.leo-temp-'+$status+'>div').clone();clone_obj.find('.noti-'+$action).addClass('active');if($special_parameter&&$special_parameter!=''){clone_obj.find('.noti-'+$action).find('.noti-special').text($special_parameter)}
486$('.leo-notification').append(clone_obj);setTimeout(function(){clone_obj.find('.notification').addClass('show')},100);activeEventNotification();setTimeout(function(){clone_obj.find('.notification').removeClass('show').addClass("closed").parent().addClass('disable')},5000)}
487function checkProductOutStock($id_product,$id_product_attribute,$id_customization,$quantity,$element,$check_product_in_cart){$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:prestashop.urls.base_url+'modules/leofeature/psajax.php?rand='+new Date().getTime(),async:!0,cache:!1,data:{"action":"check-product-outstock","id_product":$id_product,"id_product_attribute":$id_product_attribute,"id_customization":$id_customization,"quantity":$quantity,"check_product_in_cart":$check_product_in_cart,"token":leo_token},success:function(result){if(result!=''){var obj=$.parseJSON(result);$element.data('check-outstock',obj.success)}else{alert(add_cart_error)}},error:function(XMLHttpRequest,textStatus,errorThrown){console.log("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})}
488function updateClassCartItem(){$('.leo-dropdown-list-item').each(function(){$(this).find('.leo-dropdown-cart-item').first().addClass('first');$(this).find('.leo-dropdown-cart-item').last().addClass('last')})}
489function flyCartEffect($element){if($element.hasClass('leo-bt-cart')){var parent_e=$element.parents('.product-miniature');var product_img=parent_e.find('.product-thumbnail').find("img").eq(0)}else{var product_img='';if($('.quickview .product-cover').length){product_img=$('.quickview .product-cover').find("img").eq(0)}else{product_img=$('.product-cover').find("img").eq(0)}}
490if(typeof product_img!='undefined'&&product_img.length){var obj_element='';if($('.leo-fly-cart-slidebar.active .leo-fly-cart-icon').length){obj_element=$('.leo-fly-cart-slidebar.active .leo-fly-cart-icon')}else if($('.leo-fly-cart.solo .leo-fly-cart-icon').length){obj_element=$('.leo-fly-cart.solo .leo-fly-cart-icon')}else if($('.leo-blockcart.cart-preview').length){obj_element=$('.leo-blockcart.cart-preview')}else if($('.blockcart.cart-preview').length){obj_element=$('.blockcart.cart-preview')}else{return}
491$('body').addClass('enable-leo-fly-cart');var divider=4;var flyerClone=product_img.clone();var clone_offset_top=product_img.offset().top;var clone_offset_left=product_img.offset().left;if($('body').offset().left!=0){clone_offset_left=clone_offset_left-$('body').offset().left}
492flyerClone.css({position:'absolute',top:clone_offset_top+"px",left:clone_offset_left+"px",opacity:1,'z-index':1000,width:product_img.width(),height:product_img.height()});$('body').append(flyerClone);var gotoX=obj_element.offset().left+(obj_element.width()/2)-(product_img.width()/divider)/2;if($('body').offset().left!=0){gotoX=gotoX-$('body').offset().left}
493if($('html').hasClass('safari-win')&&$('.leo-fly-cart-slidebar.active .leo-fly-cart-icon').length){var gotoY=$(window).scrollTop()+obj_element.offset().top+(obj_element.height()/2)-(product_img.height()/divider)/2}else{var gotoY=obj_element.offset().top+(obj_element.height()/2)-(product_img.height()/divider)/2}
494flyerClone.animate({opacity:0.4,left:gotoX,top:gotoY,width:product_img.width()/divider,height:product_img.height()/divider},1000,function(){flyerClone.fadeOut('fast',function(){flyerClone.remove();$('body').removeClass('enable-leo-fly-cart')});if(typeof type_flycart_effect!='undefined'){if(type_flycart_effect=='shake'){obj_element.parents('.leo-fly-cart').find('.leo-fly-cart-total').css({'opacity':0});setTimeout(function(){obj_element.effect("shake",{times:2},200,function(){obj_element.parents('.leo-fly-cart').find('.leo-fly-cart-total').css({'opacity':1})})},500)}
495if(type_flycart_effect=='fade'){obj_element.fadeOut('fast',function(){obj_element.fadeIn('fast',function(){})})}}})}}
496function activeEventFlyCartSlideBar(){$('.leo-fly-cart-mask, .leo-fly-cart-slidebar .leo-fly-cart-icon, .leo-fly-cart-slidebar .leo-fly-cart-icon-wrapper, .leo-fly-cart-slidebar .leo-fly-cart').click(function(){$('.leo-fly-cart-mask.active').removeClass('active');$('.leo-fly-cart-icon.active-slidebarcart').removeClass('active-slidebarcart');$('.leo-blockcart.cart-preview.active-slidebarcart').removeClass('active-slidebarcart');$('body.leoflycart-active-push main').css({"-moz-transform":"translateX(0px)","-webkit-transform":"translateX(0px)","-o-transform":"translateX(0px)","-ms-transform":"translateX(0px)","transform":"translateX(0px)","-moz-transform":"translateY(0px)","-webkit-transform":"translateY(0px)","-o-transform":"translateY(0px)","-ms-transform":"translateY(0px)","transform":"translateY(0px)",});setTimeout(function(){$('body').removeClass('leoflycart-active-slidebar leoflycart-active-push')},300);$('.leo-fly-cart-slidebar.active').removeClass('active')});
496$(document).keyup(function(e){if(e.keyCode==27){if($('.leo-fly-cart-mask').hasClass('active')){$('.leo-fly-cart-mask.active').trigger('click')}else if($('.leo-fly-cart-slidebar.active .leo-fly-cart-icon').length){$('.leo-fly-cart-slidebar .leo-fly-cart-icon').trigger('click')}}})}
497function checkFlyCartScrollBar($element){var object_parent=$element.parents('.leo-fly-cart-slidebar');if(object_parent.hasClass('slidebar_top')||object_parent.hasClass('slidebar_bottom')){var width_bottom=object_parent.find('.leo-dropdown-bottom').outerWidth();var window_width=$(window).width();var element_width='';if(typeof width_cart_item!='undefined'){element_width=$element.find('.leo-dropdown-cart-item').length*width_cart_item}else{element_width=$element.find('.leo-dropdown-cart-item').length*$element.find('.leo-dropdown-cart-item').outerWidth()}
498if(element_width+width_bottom>window_width){object_parent.addClass('active-scroll');object_parent.find('.leo-dropdown-list-item-warpper').addClass('active-scrollbar');object_parent.find('.leo-dropdown-list-item-warpper').css({'width':window_width-width_bottom});object_parent.find('.leo-dropdown-list-item-warpper').mCustomScrollbar({theme:"dark",axis:"x",scrollInertia:200,callbacks:{onInit:function(){}},advanced:{autoExpandHorizontalScroll:!0},keyboard:{enable:!0,}});object_parent.find('.leo-dropdown-list-item-warpper').mCustomScrollbar('update')}else{object_parent.removeClass('active-scroll');object_parent.find('.leo-dropdown-list-item-warpper').removeClass("active-scrollbar").css({'width':'auto'});object_parent.find('.leo-dropdown-list-item-warpper').mCustomScrollbar("destroy")}}
499if(object_parent.hasClass('slidebar_left')||object_parent.hasClass('slidebar_right')){var height_bottom=object_parent.find('.leo-dropdown-bottom').outerHeight();var window_height=$(window).height();var element_height='';if(typeof height_cart_item!='undefined'){element_height=$element.find('.leo-dropdown-cart-item').length*height_cart_item}else{element_height=$element.find('.leo-dropdown-cart-item').length*$element.find('.leo-dropdown-cart-item').outerHeight()}
500if(element_height+height_bottom>window_height){object_parent.addClass('active-scroll');$element.addClass('active-scrollbar');$element.css({'max-height':window_height-height_bottom});$element.mCustomScrollbar({theme:"dark",scrollInertia:200,callbacks:{onInit:function(){}},keyboard:{enable:!0,}});$element.mCustomScrollbar('update')}else{object_parent.removeClass('active-scroll');$element.removeClass("active-scrollbar").css({'max-height':'none'});$element.mCustomScrollbar("destroy")}}}
501function checkFlyCartScrollBarDropDown($element){var object_parent=$element.parents('.leo-fly-cart.type-fixed.enable-dropdown');var type=object_parent.data('type');var height_bottom=object_parent.find('.leo-dropdown-bottom').outerHeight();var height_real=height_cart_item*$element.find('.leo-dropdown-cart-item').length;var height_icon=object_parent.find('.leo-fly-cart-icon-wrapper').outerHeight();var window_height=$(window).height();var check_number_cartitem=3;if(typeof number_cartitem_display!='undefined'){check_number_cartitem=number_cartitem_display}
502var height_default=height_cart_item*number_cartitem_display;if(object_parent.length>0&&type=='dropup'&&height_real+height_bottom>object_parent.position().top&&height_default+height_bottom>object_parent.position().top){$element.addClass('active-scrollbar').css({'max-height':object_parent.position().top-height_icon-height_bottom});$element.mCustomScrollbar({theme:"dark",scrollInertia:200,callbacks:{onInit:function(){}},keyboard:{enable:!0,}});$element.mCustomScrollbar('update')}else if(object_parent.length>0&&type=='dropdown'&&height_real+height_bottom>$(window).height()-object_parent.position().top&&height_default+height_bottom>$(window).height()-object_parent.position().top){$element.addClass('active-scrollbar').css({'max-height':$(window).height()-object_parent.position().top-height_icon-height_bottom});$element.mCustomScrollbar({theme:"dark",scrollInertia:200,callbacks:{onInit:function(){}},keyboard:{enable:!0,}});$element.mCustomScrollbar('update')}else if($element.find('.leo-dropdown-cart-item').length>check_number_cartitem){if(typeof height_cart_item!='undefined'){$element.addClass('active-scrollbar').css({'max-height':height_cart_item*number_cartitem_display})}else{$element.addClass('active-scrollbar').css({'max-height':$element.find('.leo-dropdown-cart-item').outerHeight()*check_number_cartitem})}
503$element.mCustomScrollbar({theme:"dark",scrollInertia:200,callbacks:{onInit:function(){}},keyboard:{enable:!0,}})}else{$element.removeClass("active-scrollbar").css({'max-height':'none'});$element.mCustomScrollbar("destroy")}}
504function getOffsetFlycartIcon(){if($('.leo-fly-cart.solo .leo-fly-cart-icon').length){var offset_top=$('.leo-fly-cart.solo .leo-fly-cart-icon').offset().top;
504var offset_left=$('.leo-fly-cart.solo .leo-fly-cart-icon').offset().left;var window_width=$(window).width();if(offset_left<=window_width/2){$('.leo-fly-cart.solo').removeClass('offset-right').addClass('offset-left')}else{$('.leo-fly-cart.solo').removeClass('offset-left').addClass('offset-right')}
505if(lf_is_gen_rtl&&prestashop.language.is_rtl==1){if($('.leo-fly-cart.solo').hasClass('offset-right')){$('.leo-fly-cart.solo').removeClass('offset-right').addClass('offset-left')}else if($('.leo-fly-cart.solo').hasClass('offset-left')){$('.leo-fly-cart.solo').removeClass('offset-left').addClass('offset-right')}}}}
506function showModalPopupCart(modal){if($('#blockcart-modal').length){$('#blockcart-modal').remove()}
507$('body').append(modal);$('#blockcart-modal').modal('show')}
508function leoChooseAttr(){$(document).on('change','.variants-product [data-product-attribute]',function(e){var id_product=parseInt($(this).parents('.addToCartFormWrapper:eq(0)').attr('data-product-id'));var group_value=$(this).parents('.addToCartFormWrapper:eq(0)').find('.addToCartForm').serialize();var parent_e=$(this).parents('.product-miniature');var multiple_image=parent_e.find('.product-list-images-mobile').children().length<2?0:1;var $product_article_e=$(this).parents('.product-miniature[data-id-product='+id_product+']');$product_article_e.find('.leo-bt-cart .leo-bt-cart-content').hide();$product_article_e.find('.leo-bt-cart .leo-loading').css({'display':'block'});$product_article_e.find('.leo-bt-cart').addClass('active');$.ajax({type:'GET',headers:{"cache-control":"no-cache"},url:url_leoproductattribute+(url_leoproductattribute.indexOf('?')=='-1'?'?':'&')+group_value,async:!0,cache:!1,data:{'ajax':'1','action':'getproductattribute',"id_product":id_product,'input_color':$(this).hasClass('input-color'),'image2':parent_e.find('.product-thumbnail .product-additional').length,'multiple_image':multiple_image},success:function(result){if(result!=''){var obj=$.parseJSON(result);if(typeof obj.product_cover!=="undefined"&&obj.product_cover!==null&&!multiple_image){$product_article_e.find('.product-thumbnail img').attr('src',obj.product_cover.bySize.home_default.url).attr('alt',obj.product_cover.legend);$product_article_e.find('.product-thumbnail').attr('href',obj.product_url)}
509$product_article_e.find('.product-price-and-shipping').empty().append(obj.price_attribute);parent_e.find('.id_product_attribute_'+id_product).val(obj.id_attr);if(!obj.add_to_cart_url){parent_e.find('.leo-bt-cart_'+id_product).addClass('disabled')}else{parent_e.find('.leo-bt-cart_'+id_product).removeClass('disabled')}
510if(typeof obj.refresh_attr!=="undefined"&&obj.refresh_attr!=''){parent_e.find('.variants-product').replaceWith(obj.refresh_attr)}
511if(!multiple_image){parent_e.find('.product-thumbnail').children('img').attr('src',obj.image);if(obj.image2){parent_e.find('.product-thumbnail .product-additional img').attr('src',obj.image2)}
512parent_e.find('.product-thumbnail .product-additional').hide()}else{if(obj.image){var img=parent_e.find('.product-list-images-mobile').find('img');for(var i=0;i<obj.image.length;i++){img.eq(i).attr('src',obj.image[i].image)}}}}else{alert(add_cart_error)}
513$('.leo-bt-cart.active').find('.leo-bt-cart-content').fadeIn('fast');$('.leo-bt-cart.active').find('.leo-loading').hide();$('.leo-bt-cart.active').removeClass('active reset')},error:function(XMLHttpRequest,textStatus,errorThrown){alert("TECHNICAL ERROR: \n\nDetails:\nError thrown: "+XMLHttpRequest+"\n"+'Text status: '+textStatus)}})})};/**
514 * 2007-2017 Leotheme
515 *
516 * NOTICE OF LICENSE
517 *
518 * Leo feature for prestashop 1.7: ajax cart, review, compare, wishlist at product list 
519 *
520 * DISCLAIMER
521 *
522 *  @Module Name: Leo Feature
523 *  @author    leotheme <[email protected]>
524 *  @copyright 2007-2018 Leotheme
525 *  @license   http://leotheme.com - prestashop template provider
526 */
527/*!
528 * jQuery Mousewheel 3.1.13
529 *
530 * Copyright 2015 jQuery Foundation and other contributors
531 * Released under the MIT license.
532 * http://jquery.org/license
533 */
534!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1
534),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});/**
535 * 2007-2017 Leotheme
536 *
537 * NOTICE OF LICENSE
538 *
539 * Leo feature for prestashop 1.7: ajax cart, review, compare, wishlist at product list 
540 *
541 * DISCLAIMER
542 *
543 *  @Module Name: Leo Feature
544 *  @author    leotheme <[email protected]>
545 *  @copyright 2007-2018 Leotheme
546 *  @license   http://leotheme.com - prestashop template provider
547 */
548(function(factory){if(typeof define==="function"&&define.amd){define(["jquery"],factory)}else if(typeof module!=="undefined"&&module.exports){module.exports=factory}else{factory(jQuery,window,document)}}(function($){(function(init){var _rjs=typeof define==="function"&&define.amd,_njs=typeof module!=="undefined"&&module.exports,_dlp=("https:"==document.location.protocol)?"https:":"http:",_url="cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js";if(!_rjs){if(_njs){require("jquery-mousewheel")($)}else{$.event.special.mousewheel||$("head").append(decodeURI("%3Cscript src="+_dlp+"//"+_url+"%3E%3C/script%3E"))}}
549init()}(function(){var pluginNS="mCustomScrollbar",pluginPfx="mCS",defaultSelector=".mCustomScrollbar",defaults={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},totalInstances=0,liveTimers={},oldIE=(window.attachEvent&&!window.addEventListener)?1:0,touchActive=!1,touchable,classes=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],methods={init:function(options){var options=$.extend(!0,{},defaults,options),selector=_selector.call(this);if(options.live){var liveSelector=options.liveSelector||this.selector||defaultSelector,$liveSelector=$(liveSelector);if(options.live==="off"){removeLiveTimers(liveSelector);return}
550liveTimers[liveSelector]=setTimeout(function(){$liveSelector.mCustomScrollbar(options);if(options.live==="once"&&$liveSelector.length){removeLiveTimers(liveSelector)}},500)}else{removeLiveTimers(liveSelector)}
551options.setWidth=(options.set_width)?options.set_width:options.setWidth;options.setHeight=(options.set_height)?options.set_height:options.setHeight;options.axis=(options.horizontalScroll)?"x":_findAxis(options.axis);options.scrollInertia=options.scrollInertia>0&&options.scrollInertia<17?17:options.scrollInertia;if(typeof options.mouseWheel!=="object"&&options.mouseWheel==!0){options.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}}
552options.mouseWheel.scrollAmount=!options.mouseWheelPixels?options.mouseWheel.scrollAmount:options.mouseWheelPixels;options.mouseWheel.normalizeDelta=!options.advanced.normalizeMouseWheelDelta?options.mouseWheel.normalizeDelta:options.advanced.normalizeMouseWheelDelta;options.scrollButtons.scrollType=_findScrollButtonsType(options.scrollButtons.scrollType);_theme(options);return $(selector).each(function(){var $this=$(this);if(!$this.data(pluginPfx)){$this.data(pluginPfx,{idx:++totalInstances,opt:options,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:$this.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0}
552,img:{o:0,n:0},change:{o:0,n:0}}});var d=$this.data(pluginPfx),o=d.opt,htmlDataAxis=$this.data("mcs-axis"),htmlDataSbPos=$this.data("mcs-scrollbar-position"),htmlDataTheme=$this.data("mcs-theme");if(htmlDataAxis){o.axis=htmlDataAxis}
553if(htmlDataSbPos){o.scrollbarPosition=htmlDataSbPos}
554if(htmlDataTheme){o.theme=htmlDataTheme;_theme(o)}
555_pluginMarkup.call(this);if(d&&o.callbacks.onCreate&&typeof o.callbacks.onCreate==="function"){o.callbacks.onCreate.call(this)}
556$("#mCSB_"+d.idx+"_container img:not(."+classes[2]+")").addClass(classes[2]);methods.update.call(null,$this)}})},update:function(el,cb){var selector=el||_selector.call(this);return $(selector).each(function(){var $this=$(this);if($this.data(pluginPfx)){var d=$this.data(pluginPfx),o=d.opt,mCSB_container=$("#mCSB_"+d.idx+"_container"),mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_dragger=[$("#mCSB_"+d.idx+"_dragger_vertical"),$("#mCSB_"+d.idx+"_dragger_horizontal")];if(!mCSB_container.length){return}
557if(d.tweenRunning){_stop($this)}
558if(cb&&d&&o.callbacks.onBeforeUpdate&&typeof o.callbacks.onBeforeUpdate==="function"){o.callbacks.onBeforeUpdate.call(this)}
559if($this.hasClass(classes[3])){$this.removeClass(classes[3])}
560if($this.hasClass(classes[4])){$this.removeClass(classes[4])}
561mCustomScrollBox.css("max-height","none");if(mCustomScrollBox.height()!==$this.height()){mCustomScrollBox.css("max-height",$this.height())}
562_expandContentHorizontally.call(this);if(o.axis!=="y"&&!o.advanced.autoExpandHorizontalScroll){mCSB_container.css("width",_contentWidth(mCSB_container))}
563d.overflowed=_overflowed.call(this);_scrollbarVisibility.call(this);if(o.autoDraggerLength){_setDraggerLength.call(this)}
564_scrollRatio.call(this);_bindEvents.call(this);var to=[Math.abs(mCSB_container[0].offsetTop),Math.abs(mCSB_container[0].offsetLeft)];if(o.axis!=="x"){if(!d.overflowed[0]){_resetContentPosition.call(this);if(o.axis==="y"){_unbindEvents.call(this)}else if(o.axis==="yx"&&d.overflowed[1]){_scrollTo($this,to[1].toString(),{dir:"x",dur:0,overwrite:"none"})}}else if(mCSB_dragger[0].height()>mCSB_dragger[0].parent().height()){_resetContentPosition.call(this)}else{_scrollTo($this,to[0].toString(),{dir:"y",dur:0,overwrite:"none"});d.contentReset.y=null}}
565if(o.axis!=="y"){if(!d.overflowed[1]){_resetContentPosition.call(this);if(o.axis==="x"){_unbindEvents.call(this)}else if(o.axis==="yx"&&d.overflowed[0]){_scrollTo($this,to[0].toString(),{dir:"y",dur:0,overwrite:"none"})}}else if(mCSB_dragger[1].width()>mCSB_dragger[1].parent().width()){_resetContentPosition.call(this)}else{_scrollTo($this,to[1].toString(),{dir:"x",dur:0,overwrite:"none"});d.contentReset.x=null}}
566if(cb&&d){if(cb===2&&o.callbacks.onImageLoad&&typeof o.callbacks.onImageLoad==="function"){o.callbacks.onImageLoad.call(this)}else if(cb===3&&o.callbacks.onSelectorChange&&typeof o.callbacks.onSelectorChange==="function"){o.callbacks.onSelectorChange.call(this)}else if(o.callbacks.onUpdate&&typeof o.callbacks.onUpdate==="function"){o.callbacks.onUpdate.call(this)}}
567_autoUpdate.call(this)}})},scrollTo:function(val,options){if(typeof val=="undefined"||val==null){return}
568var selector=_selector.call(this);return $(selector).each(function(){var $this=$(this);if($this.data(pluginPfx)){var d=$this.data(pluginPfx),o=d.opt,methodDefaults={trigger:"external",scrollInertia:o.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},methodOptions=$.extend(!0,{},methodDefaults,options),to=_arr.call(this,val),dur=methodOptions.scrollInertia>0&&methodOptions.scrollInertia<17?17:methodOptions.scrollInertia;to[0]=_to.call(this,to[0],"y");to[1]=_to.call(this,to[1],"x");if(methodOptions.moveDragger){to[0]*=d.scrollRatio.y;to[1]*=d.scrollRatio.x}
569methodOptions.dur=_isTabHidden()?0:dur;setTimeout(function(){if(to[0]!==null&&typeof to[0]!=="undefined"&&o.axis!=="x"&&d.overflowed[0]){methodOptions.dir="y";methodOptions.overwrite="all";_scrollTo($this,to[0].toString(),methodOptions)}
570if(to[1]!==null&&typeof to[1]!=="undefined"&&o.axis!=="y"&&d.overflowed[1]){methodOptions.dir="x";methodOptions.overwrite="none";_scrollTo($this,to[1].toString(),methodOptions)}},methodOptions.timeout)}})},stop:function(){var selector=_selector.call(this);return $(selector).each(function(){var $this=$(this);if($this.data(pluginPfx)){_stop($this)}})},disable:function(r){var selector=_selector.call(this);return $(selector).each(function(){var $this=$(this);if($this.data(pluginPfx)){var d=$this.data(pluginPfx);_autoUpdate.call(this,"remove");_unbindEvents.call(this);if(r){_resetContentPosition.call(this)}
571_scrollbarVisibility.call(this,!0);
571$this.addClass(classes[3])}})},destroy:function(){var selector=_selector.call(this);return $(selector).each(function(){var $this=$(this);if($this.data(pluginPfx)){var d=$this.data(pluginPfx),o=d.opt,mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_container=$("#mCSB_"+d.idx+"_container"),scrollbar=$(".mCSB_"+d.idx+"_scrollbar");if(o.live){removeLiveTimers(o.liveSelector||$(selector).selector)}
572_autoUpdate.call(this,"remove");_unbindEvents.call(this);_resetContentPosition.call(this);$this.removeData(pluginPfx);_delete(this,"mcs");scrollbar.remove();mCSB_container.find("img."+classes[2]).removeClass(classes[2]);mCustomScrollBox.replaceWith(mCSB_container.contents());$this.removeClass(pluginNS+" _"+pluginPfx+"_"+d.idx+" "+classes[6]+" "+classes[7]+" "+classes[5]+" "+classes[3]).addClass(classes[4])}})}},_selector=function(){return(typeof $(this)!=="object"||$(this).length<1)?defaultSelector:this},_theme=function(obj){var fixedSizeScrollbarThemes=["rounded","rounded-dark","rounded-dots","rounded-dots-dark"],nonExpandedScrollbarThemes=["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"],disabledScrollButtonsThemes=["minimal","minimal-dark"],enabledAutoHideScrollbarThemes=["minimal","minimal-dark"],scrollbarPositionOutsideThemes=["minimal","minimal-dark"];obj.autoDraggerLength=$.inArray(obj.theme,fixedSizeScrollbarThemes)>-1?!1:obj.autoDraggerLength;obj.autoExpandScrollbar=$.inArray(obj.theme,nonExpandedScrollbarThemes)>-1?!1:obj.autoExpandScrollbar;obj.scrollButtons.enable=$.inArray(obj.theme,disabledScrollButtonsThemes)>-1?!1:obj.scrollButtons.enable;obj.autoHideScrollbar=$.inArray(obj.theme,enabledAutoHideScrollbarThemes)>-1?!0:obj.autoHideScrollbar;obj.scrollbarPosition=$.inArray(obj.theme,scrollbarPositionOutsideThemes)>-1?"outside":obj.scrollbarPosition},removeLiveTimers=function(selector){if(liveTimers[selector]){clearTimeout(liveTimers[selector]);_delete(liveTimers,selector)}},_findAxis=function(val){return(val==="yx"||val==="xy"||val==="auto")?"yx":(val==="x"||val==="horizontal")?"x":"y"},_findScrollButtonsType=function(val){return(val==="stepped"||val==="pixels"||val==="step"||val==="click")?"stepped":"stepless"},_pluginMarkup=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,expandClass=o.autoExpandScrollbar?" "+classes[1]+"_expand":"",scrollbar=["<div id='mCSB_"+d.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+d.idx+"_scrollbar mCS-"+o.theme+" mCSB_scrollTools_vertical"+expandClass+"'><div class='"+classes[12]+"'><div id='mCSB_"+d.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+d.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+d.idx+"_scrollbar mCS-"+o.theme+" mCSB_scrollTools_horizontal"+expandClass+"'><div class='"+classes[12]+"'><div id='mCSB_"+d.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],wrapperClass=o.axis==="yx"?"mCSB_vertical_horizontal":o.axis==="x"?"mCSB_horizontal":"mCSB_vertical",scrollbars=o.axis==="yx"?scrollbar[0]+scrollbar[1]:o.axis==="x"?scrollbar[1]:scrollbar[0],contentWrapper=o.axis==="yx"?"<div id='mCSB_"+d.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",autoHideClass=o.autoHideScrollbar?" "+classes[6]:"",scrollbarDirClass=(o.axis!=="x"&&d.langDir==="rtl")?" "+classes[7]:"";if(o.setWidth){$this.css("width",o.setWidth)}
573if(o.setHeight){$this.css("height",o.setHeight)}
574o.setLeft=(o.axis!=="y"&&d.langDir==="rtl")?"989999px":o.setLeft;$this.addClass(pluginNS+" _"+pluginPfx+"_"+d.idx+autoHideClass+scrollbarDirClass).wrapInner("<div id='mCSB_"+d.idx+"' class='mCustomScrollBox mCS-"+o.theme+" "+wrapperClass+"'><div id='mCSB_"+d.idx+"_container' class='mCSB_container' style='position:relative; top:"+o.setTop+"; left:"+o.setLeft+";' dir='"+d.langDir+"' /></div>");var mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_container=$("#mCSB_"+d.idx+"_container");if(o.axis!=="y"&&!o.advanced.autoExpandHorizontalScroll){mCSB_container.css("width",_contentWidth(mCSB_container))}
575if(o.scrollbarPosition==="outside"){if($this.css("position")==="static"){$this.css("position","relative")}
576$this.css("overflow","visible");mCustomScrollBox.addClass("mCSB_outside").after(scrollbars)}else{mCustomScrollBox.addClass("mCSB_inside").append(scrollbars);mCSB_container.wrap(contentWrapper)}
577_scrollButtons.call(this);var mCSB_dragger=[$("#mCSB_"+d.idx+"_dragger_vertical"),$("#mCSB_"+d.idx+"_dragger_horizontal")];mCSB_dragger[0].css("min-height",mCSB_dragger[0].height());mCSB_dragger[1].css("min-width",mCSB_dragger[1].width())},_contentWidth=function(el){var val=[el[0].scrollWidth,Math.max.apply(Math,el.children().map(function(){return $(this).outerWidth(!0)}).get())],w=el.parent().width();return val[0]>w?val[0]:val[1]>w?val[1]:"100%"},_expandContentHorizontally=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,mCSB_container=$("#mCSB_"+d.idx+"_container");if(o.advanced.autoExpandHorizontalScroll&&o.axis!=="y"){mCSB_container.css({"width":"auto","min-width":0,"overflow-x":"scroll"});var w=Math.ceil(mCSB_container[0].scrollWidth);if(o.advanced.autoExpandHorizontalScroll===3||(o.advanced.autoExpandHorizontalScroll!==2&&w>mCSB_container.parent().width())){mCSB_container.css({"width":w,"min-width":"100%","overflow-x":"inherit"})}else{mCSB_container.css({"overflow-x":"inherit","position":"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({"width":(Math.ceil(mCSB_container[0].getBoundingClientRect().right+0.4)-Math.floor(mCSB_container[0].getBoundingClientRect().left)),"min-width":"100%","position":"relative"}).unwrap()}}},_scrollButtons=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,mCSB_scrollTools=$(".mCSB_"+d.idx+"_scrollbar:first"),tabindex=!_isNumeric(o.scrollButtons.tabindex)?"":"tabindex='"+o.scrollButtons.tabindex+"'",btnHTML=["<a href='#' class='"+classes[13]+"' "+tabindex+" />","<a href='#' class='"+classes[14]+"' "+tabindex+" />","<a href='#' class='"+classes[15]+"' "+tabindex+" />","<a href='#' class='"+classes[16]+"' "+tabindex+" />"],btn=[(o.axis==="x"?btnHTML[2]:btnHTML[0]),(o.axis==="x"?btnHTML[3]:btnHTML[1]),btnHTML[2],btnHTML[3]];if(o.scrollButtons.enable){mCSB_scrollTools.prepend(btn[0]).append(btn[1]).next(".mCSB_scrollTools").prepend(btn[2]).append(btn[3])}},_setDraggerLength=function(){var $this=$(this),d=$this.data(pluginPfx),mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_container=$("#mCSB_"+d.idx+"_container"),mCSB_dragger=[$("#mCSB_"+d.idx+"_dragger_vertical"),$("#mCSB_"+d.idx+"_dragger_horizontal")],ratio=[mCustomScrollBox.height()/mCSB_container.outerHeight(!1),mCustomScrollBox.width()/mCSB_container.outerWidth(!1)],l=[parseInt(mCSB_dragger[0].css("min-height")),Math.round(ratio[0]*mCSB_dragger[0].parent().height()),parseInt(mCSB_dragger[1].css("min-width")),Math.round(ratio[1]*mCSB_dragger[1].parent().width())],h=oldIE&&(l[1]<l[0])?l[0]:l[1],w=oldIE&&(l[3]<l[2])?l[2]:l[3];mCSB_dragger[0].css({"height":h,"max-height":(mCSB_dragger[0].parent().height()-10)}).find(".mCSB_dragger_bar").css({"line-height":l[0]+"px"});mCSB_dragger[1].css({"width":w,"max-width":(mCSB_dragger[1].parent().width()-10)})},_scrollRatio=function(){var $this=$(this),d=$this.data(pluginPfx),mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_container=$("#mCSB_"+d.idx+"_container"),mCSB_dragger=[$("#mCSB_"+d.idx+"_dragger_vertical"),$("#mCSB_"+d.idx+"_dragger_horizontal")],scrollAmount=[mCSB_container.outerHeight(!1)-mCustomScrollBox.height(),mCSB_container.outerWidth(!1)-mCustomScrollBox.width()],ratio=[scrollAmount[0]/(mCSB_dragger[0].parent().height()-mCSB_dragger[0].height()),scrollAmount[1]/(mCSB_dragger[1].parent().width()-mCSB_dragger[1].width())];d.scrollRatio={y:ratio[0],x:ratio[1]}},_onDragClasses=function(el,action,xpnd){var expandClass=xpnd?classes[0]+"_expanded":"",scrollbar=el.closest(".mCSB_scrollTools");
577if(action==="active"){el.toggleClass(classes[0]+" "+expandClass);scrollbar.toggleClass(classes[1]);el[0]._draggable=el[0]._draggable?0:1}else{if(!el[0]._draggable){if(action==="hide"){el.removeClass(classes[0]);scrollbar.removeClass(classes[1])}else{el.addClass(classes[0]);scrollbar.addClass(classes[1])}}}},_overflowed=function(){var $this=$(this),d=$this.data(pluginPfx),mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_container=$("#mCSB_"+d.idx+"_container"),contentHeight=d.overflowed==null?mCSB_container.height():mCSB_container.outerHeight(!1),contentWidth=d.overflowed==null?mCSB_container.width():mCSB_container.outerWidth(!1),h=mCSB_container[0].scrollHeight,w=mCSB_container[0].scrollWidth;if(h>contentHeight){contentHeight=h}
578if(w>contentWidth){contentWidth=w}
579return[contentHeight>mCustomScrollBox.height(),contentWidth>mCustomScrollBox.width()]},_resetContentPosition=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_container=$("#mCSB_"+d.idx+"_container"),mCSB_dragger=[$("#mCSB_"+d.idx+"_dragger_vertical"),$("#mCSB_"+d.idx+"_dragger_horizontal")];_stop($this);if((o.axis!=="x"&&!d.overflowed[0])||(o.axis==="y"&&d.overflowed[0])){mCSB_dragger[0].add(mCSB_container).css("top",0);_scrollTo($this,"_resetY")}
580if((o.axis!=="y"&&!d.overflowed[1])||(o.axis==="x"&&d.overflowed[1])){var cx=dx=0;if(d.langDir==="rtl"){cx=mCustomScrollBox.width()-mCSB_container.outerWidth(!1);dx=Math.abs(cx/d.scrollRatio.x)}
581mCSB_container.css("left",cx);mCSB_dragger[1].css("left",dx);_scrollTo($this,"_resetX")}},_bindEvents=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt;if(!d.bindEvents){_draggable.call(this);if(o.contentTouchScroll){_contentDraggable.call(this)}
582_selectable.call(this);if(o.mouseWheel.enable){function _mwt(){mousewheelTimeout=setTimeout(function(){if(!$.event.special.mousewheel){_mwt()}else{clearTimeout(mousewheelTimeout);_mousewheel.call($this[0])}},100)}
583var mousewheelTimeout;_mwt()}
584_draggerRail.call(this);_wrapperScroll.call(this);if(o.advanced.autoScrollOnFocus){_focus.call(this)}
585if(o.scrollButtons.enable){_buttons.call(this)}
586if(o.keyboard.enable){_keyboard.call(this)}
587d.bindEvents=!0}},_unbindEvents=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,namespace=pluginPfx+"_"+d.idx,sb=".mCSB_"+d.idx+"_scrollbar",sel=$("#mCSB_"+d.idx+",#mCSB_"+d.idx+"_container,#mCSB_"+d.idx+"_container_wrapper,"+sb+" ."+classes[12]+",#mCSB_"+d.idx+"_dragger_vertical,#mCSB_"+d.idx+"_dragger_horizontal,"+sb+">a"),mCSB_container=$("#mCSB_"+d.idx+"_container");if(o.advanced.releaseDraggableSelectors){sel.add($(o.advanced.releaseDraggableSelectors))}
588if(o.advanced.extraDraggableSelectors){sel.add($(o.advanced.extraDraggableSelectors))}
589if(d.bindEvents){$(document).add($(!_canAccessIFrame()||top.document)).unbind("."+namespace);sel.each(function(){$(this).unbind("."+namespace)});clearTimeout($this[0]._focusTimeout);_delete($this[0],"_focusTimeout");clearTimeout(d.sequential.step);_delete(d.sequential,"step");clearTimeout(mCSB_container[0].onCompleteTimeout);_delete(mCSB_container[0],"onCompleteTimeout");d.bindEvents=!1}},_scrollbarVisibility=function(disabled){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,contentWrapper=$("#mCSB_"+d.idx+"_container_wrapper"),content=contentWrapper.length?contentWrapper:$("#mCSB_"+d.idx+"_container"),scrollbar=[$("#mCSB_"+d.idx+"_scrollbar_vertical"),$("#mCSB_"+d.idx+"_scrollbar_horizontal")],mCSB_dragger=[scrollbar[0].find(".mCSB_dragger"),scrollbar[1].find(".mCSB_dragger")];if(o.axis!=="x"){if(d.overflowed[0]&&!disabled){scrollbar[0].add(mCSB_dragger[0]).add(scrollbar[0].children("a")).css("display","block");content.removeClass(classes[8]+" "+classes[10])}else{if(o.alwaysShowScrollbar){if(o.alwaysShowScrollbar!==2){mCSB_dragger[0].css("display","none")}
590content.removeClass(classes[10])}else{scrollbar[0].css("display","none");
590content.addClass(classes[10])}
591content.addClass(classes[8])}}
592if(o.axis!=="y"){if(d.overflowed[1]&&!disabled){scrollbar[1].add(mCSB_dragger[1]).add(scrollbar[1].children("a")).css("display","block");content.removeClass(classes[9]+" "+classes[11])}else{if(o.alwaysShowScrollbar){if(o.alwaysShowScrollbar!==2){mCSB_dragger[1].css("display","none")}
593content.removeClass(classes[11])}else{scrollbar[1].css("display","none");content.addClass(classes[11])}
594content.addClass(classes[9])}}
595if(!d.overflowed[0]&&!d.overflowed[1]){$this.addClass(classes[5])}else{$this.removeClass(classes[5])}},_coordinates=function(e){var t=e.type,o=e.target.ownerDocument!==document&&frameElement!==null?[$(frameElement).offset().top,$(frameElement).offset().left]:null,io=_canAccessIFrame()&&e.target.ownerDocument!==top.document&&frameElement!==null?[$(e.view.frameElement).offset().top,$(e.view.frameElement).offset().left]:[0,0];switch(t){case "pointerdown":case "MSPointerDown":case "pointermove":case "MSPointerMove":case "pointerup":case "MSPointerUp":return o?[e.originalEvent.pageY-o[0]+io[0],e.originalEvent.pageX-o[1]+io[1],!1]:[e.originalEvent.pageY,e.originalEvent.pageX,!1];break;case "touchstart":case "touchmove":case "touchend":var touch=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],touches=e.originalEvent.touches.length||e.originalEvent.changedTouches.length;return e.target.ownerDocument!==document?[touch.screenY,touch.screenX,touches>1]:[touch.pageY,touch.pageX,touches>1];break;default:return o?[e.pageY-o[0]+io[0],e.pageX-o[1]+io[1],!1]:[e.pageY,e.pageX,!1]}},_draggable=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,namespace=pluginPfx+"_"+d.idx,draggerId=["mCSB_"+d.idx+"_dragger_vertical","mCSB_"+d.idx+"_dragger_horizontal"],mCSB_container=$("#mCSB_"+d.idx+"_container"),mCSB_dragger=$("#"+draggerId[0]+",#"+draggerId[1]),draggable,dragY,dragX,rds=o.advanced.releaseDraggableSelectors?mCSB_dragger.add($(o.advanced.releaseDraggableSelectors)):mCSB_dragger,eds=o.advanced.extraDraggableSelectors?$(!_canAccessIFrame()||top.document).add($(o.advanced.extraDraggableSelectors)):$(!_canAccessIFrame()||top.document);mCSB_dragger.bind("contextmenu."+namespace,function(e){e.preventDefault()}).bind("mousedown."+namespace+" touchstart."+namespace+" pointerdown."+namespace+" MSPointerDown."+namespace,function(e){e.stopImmediatePropagation();e.preventDefault();if(!_mouseBtnLeft(e)){return}
596touchActive=!0;if(oldIE){document.onselectstart=function(){return!1}}
597_iframe.call(mCSB_container,!1);_stop($this);draggable=$(this);var offset=draggable.offset(),y=_coordinates(e)[0]-offset.top,x=_coordinates(e)[1]-offset.left,h=draggable.height()+offset.top,w=draggable.width()+offset.left;if(y<h&&y>0&&x<w&&x>0){dragY=y;dragX=x}
598_onDragClasses(draggable,"active",o.autoExpandScrollbar)}).bind("touchmove."+namespace,function(e){e.stopImmediatePropagation();e.preventDefault();var offset=draggable.offset(),y=_coordinates(e)[0]-offset.top,x=_coordinates(e)[1]-offset.left;_drag(dragY,dragX,y,x)});$(document).add(eds).bind("mousemove."+namespace+" pointermove."+namespace+" MSPointerMove."+namespace,function(e){if(draggable){var offset=draggable.offset(),y=_coordinates(e)[0]-offset.top,x=_coordinates(e)[1]-offset.left;if(dragY===y&&dragX===x){return}
599_drag(dragY,dragX,y,x)}}).add(rds).bind("mouseup."+namespace+" touchend."+namespace+" pointerup."+namespace+" MSPointerUp."+namespace,function(e){if(draggable){_onDragClasses(draggable,"active",o.autoExpandScrollbar);draggable=null}
600touchActive=!1;if(oldIE){document.onselectstart=null}
601_iframe.call(mCSB_container,!0)});function _drag(dragY,dragX,y,x){mCSB_container[0].idleTimer=o.scrollInertia<233?250:0;if(draggable.attr("id")===draggerId[1]){var dir="x",to=((draggable[0].offsetLeft-dragX)+x)*d.scrollRatio.x}else{var dir="y",to=((draggable[0].offsetTop-dragY)+y)*d.scrollRatio.y}
602_scrollTo($this,to.toString(),{dir:dir,drag:!0})}},_contentDraggable=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,namespace=pluginPfx+"_"+d.idx,mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_container=$("#mCSB_"+d.idx+"_container"),mCSB_dragger=[$("#mCSB_"+d.idx+"_dragger_vertical"),$("#mCSB_"+d.idx+"_dragger_horizontal")],draggable,dragY,dragX,touchStartY,touchStartX,touchMoveY=[],touchMoveX=[],startTime,runningTime,endTime,distance,speed,amount,durA=0,durB,overwrite=o.axis==="yx"?"none":"all",touchIntent=[],touchDrag,docDrag,iframe=mCSB_container.find("iframe"),events=["touchstart."+namespace+" pointerdown."+namespace+" MSPointerDown."+namespace,"touchmove."+namespace+" pointermove."+namespace+" MSPointerMove."+namespace,"touchend."+namespace+" pointerup."+namespace+" MSPointerUp."+namespace],touchAction=document.body.style.touchAction!==un
602defined&&document.body.style.touchAction!=="";mCSB_container.bind(events[0],function(e){_onTouchstart(e)}).bind(events[1],function(e){_onTouchmove(e)});mCustomScrollBox.bind(events[0],function(e){_onTouchstart2(e)}).bind(events[2],function(e){_onTouchend(e)});if(iframe.length){iframe.each(function(){$(this).bind("load",function(){if(_canAccessIFrame(this)){$(this.contentDocument||this.contentWindow.document).bind(events[0],function(e){_onTouchstart(e);_onTouchstart2(e)}).bind(events[1],function(e){_onTouchmove(e)}).bind(events[2],function(e){_onTouchend(e)})}})})}
603function _onTouchstart(e){if(!_pointerTouch(e)||touchActive||_coordinates(e)[2]){touchable=0;return}
604touchable=1;touchDrag=0;docDrag=0;draggable=1;$this.removeClass("mCS_touch_action");var offset=mCSB_container.offset();dragY=_coordinates(e)[0]-offset.top;dragX=_coordinates(e)[1]-offset.left;touchIntent=[_coordinates(e)[0],_coordinates(e)[1]]}
605function _onTouchmove(e){if(!_pointerTouch(e)||touchActive||_coordinates(e)[2]){return}
606if(!o.documentTouchScroll){e.preventDefault()}
607e.stopImmediatePropagation();if(docDrag&&!touchDrag){return}
608if(draggable){runningTime=_getTime();var offset=mCustomScrollBox.offset(),y=_coordinates(e)[0]-offset.top,x=_coordinates(e)[1]-offset.left,easing="mcsLinearOut";touchMoveY.push(y);touchMoveX.push(x);touchIntent[2]=Math.abs(_coordinates(e)[0]-touchIntent[0]);touchIntent[3]=Math.abs(_coordinates(e)[1]-touchIntent[1]);if(d.overflowed[0]){var limit=mCSB_dragger[0].parent().height()-mCSB_dragger[0].height(),prevent=((dragY-y)>0&&(y-dragY)>-(limit*d.scrollRatio.y)&&(touchIntent[3]*2<touchIntent[2]||o.axis==="yx"))}
609if(d.overflowed[1]){var limitX=mCSB_dragger[1].parent().width()-mCSB_dragger[1].width(),preventX=((dragX-x)>0&&(x-dragX)>-(limitX*d.scrollRatio.x)&&(touchIntent[2]*2<touchIntent[3]||o.axis==="yx"))}
610if(prevent||preventX){if(!touchAction){e.preventDefault()}
611touchDrag=1}else{docDrag=1;$this.addClass("mCS_touch_action")}
612if(touchAction){e.preventDefault()}
613amount=o.axis==="yx"?[(dragY-y),(dragX-x)]:o.axis==="x"?[null,(dragX-x)]:[(dragY-y),null];mCSB_container[0].idleTimer=250;if(d.overflowed[0]){_drag(amount[0],durA,easing,"y","all",!0)}
614if(d.overflowed[1]){_drag(amount[1],durA,easing,"x",overwrite,!0)}}}
615function _onTouchstart2(e){if(!_pointerTouch(e)||touchActive||_coordinates(e)[2]){touchable=0;return}
616touchable=1;e.stopImmediatePropagation();_stop($this);startTime=_getTime();var offset=mCustomScrollBox.offset();touchStartY=_coordinates(e)[0]-offset.top;touchStartX=_coordinates(e)[1]-offset.left;touchMoveY=[];touchMoveX=[]}
617function _onTouchend(e){if(!_pointerTouch(e)||touchActive||_coordinates(e)[2]){return}
618draggable=0;e.stopImmediatePropagation();touchDrag=0;docDrag=0;endTime=_getTime();var offset=mCustomScrollBox.offset(),y=_coordinates(e)[0]-offset.top,x=_coordinates(e)[1]-offset.left;if((endTime-runningTime)>30){return}
619speed=1000/(endTime-startTime);var easing="mcsEaseOut",slow=speed<2.5,diff=slow?[touchMoveY[touchMoveY.length-2],touchMoveX[touchMoveX.length-2]]:[0,0];distance=slow?[(y-diff[0]),(x-diff[1])]:[y-touchStartY,x-touchStartX];var absDistance=[Math.abs(distance[0]),Math.abs(distance[1])];speed=slow?[Math.abs(distance[0]/4),Math.abs(distance[1]/4)]:[speed,speed];var a=[Math.abs(mCSB_container[0].offsetTop)-(distance[0]*_m((absDistance[0]/speed[0]),speed[0])),Math.abs(mCSB_container[0].offsetLeft)-(distance[1]*_m((absDistance[1]/speed[1]),speed[1]))];amount=o.axis==="yx"?[a[0],a[1]]:o.axis==="x"?[null,a[1]]:[a[0],null];durB=[(absDistance[0]*4)+o.scrollInertia,(absDistance[1]*4)+o.scrollInertia];var md=parseInt(o.contentTouchScroll)||0;amount[0]=absDistance[0]>md?amount[0]:0;amount[1]=absDistance[1]>md?amount[1]:0;if(d.overflowed[0]){_drag(amount[0],durB[0],easing,"y",overwrite,!1)}
620if(d.overflowed[1]){_drag(amount[1],durB[1],easing,"x",overwrite,!1)}}
621function _m(ds,s){var r=[s*1.5,s*2,s/1.5,s/2];if(ds>90){return s>4?r[0]:r[3]}else if(ds>60){return s>3?r[3]:r[2]}else if(ds>30){return s>8?r[1]:s>6?r[0]:s>4?s:r[2]}else{return s>8?s:r[3]}}
622function _drag(amount,dur,easing,dir,overwrite,drag){if(!amount){return}
623_scrollTo($this,amount.toString(),{dur:dur,scrollEasing:easing,dir:dir,overwrite:overwrite,drag:drag})}},_selectable=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,seq=d.sequential,namespace=pluginPfx+"_"+d.idx,mCSB_container=$("#mCSB_"+d.idx+"_container"),wrapper=mCSB_container.parent(),action;mCSB_container.bind("mousedown."+namespace,function(e){if(touchable){return}
624if(!action){action=1;touchActive=!0}}).add(document).bind("mousemove."+namespace,function(e){if(!touchable&&action&&_sel()){var offset=mCSB_container.offset(),y=_coordinates(e)[0]-offset.top+mCSB_container[0].offsetTop,x=_coordinates(e)[1]-offset.left+mCSB_container[0].offsetLeft;if(y>0&&y<wrapper.height()&&x>0&&x<wrapper.width()){if(seq.step){_seq("off",null,"stepped")}}else{if(o.axis!=="x"&&d.overflowed[0]){if(y<0){_seq("on",38)}else if(y>wrapper.height()){_seq("on",40)}}
625if(o.axis!=="y"&&d.overflowed[1]){if(x<0){_seq("on",37)}else if(x>wrapper.width()){_seq("on",39)}}}}}).bind("mouseup."+namespace+" dragend."+namespace,function(e){if(touchable){return}
626if(action){action=0;_seq("off",null)}
627touchActive=!1});function _sel(){return window.getSelection?window.getSelection().toString():document.selection&&document.selection.type!="Control"?document.selection.createRange().text:0}
628function _seq(a,c,s){seq.type=s&&action?"stepped":"stepless";seq.scrollAmount=10;_sequentialScroll($this,a,c,"mcsLinearOut",s?60:null)}},_mousewheel=function(){if(!$(this).data(pluginPfx)){return}
629var $this=$(this),d=$this.data(pluginPfx),o=d.opt,namespace=pluginPfx+"_"+d.idx,mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_dragger=[$("#mCSB_"+d.idx+"_dragger_vertical"),$("#mCSB_"+d.idx+"_dragger_horizontal")],iframe=$("#mCSB_"+d.idx+"_container").find("iframe");
629if(iframe.length){iframe.each(function(){$(this).bind("load",function(){if(_canAccessIFrame(this)){$(this.contentDocument||this.contentWindow.document).bind("mousewheel."+namespace,function(e,delta){_onMousewheel(e,delta)})}})})}
630mCustomScrollBox.bind("mousewheel."+namespace,function(e,delta){_onMousewheel(e,delta)});function _onMousewheel(e,delta){_stop($this);if(_disableMousewheel($this,e.target)){return}
631var deltaFactor=o.mouseWheel.deltaFactor!=="auto"?parseInt(o.mouseWheel.deltaFactor):(oldIE&&e.deltaFactor<100)?100:e.deltaFactor||100,dur=o.scrollInertia;if(o.axis==="x"||o.mouseWheel.axis==="x"){var dir="x",px=[Math.round(deltaFactor*d.scrollRatio.x),parseInt(o.mouseWheel.scrollAmount)],amount=o.mouseWheel.scrollAmount!=="auto"?px[1]:px[0]>=mCustomScrollBox.width()?mCustomScrollBox.width()*0.9:px[0],contentPos=Math.abs($("#mCSB_"+d.idx+"_container")[0].offsetLeft),draggerPos=mCSB_dragger[1][0].offsetLeft,limit=mCSB_dragger[1].parent().width()-mCSB_dragger[1].width(),dlt=o.mouseWheel.axis==="y"?(e.deltaY||delta):e.deltaX}else{var dir="y",px=[Math.round(deltaFactor*d.scrollRatio.y),parseInt(o.mouseWheel.scrollAmount)],amount=o.mouseWheel.scrollAmount!=="auto"?px[1]:px[0]>=mCustomScrollBox.height()?mCustomScrollBox.height()*0.9:px[0],contentPos=Math.abs($("#mCSB_"+d.idx+"_container")[0].offsetTop),draggerPos=mCSB_dragger[0][0].offsetTop,limit=mCSB_dragger[0].parent().height()-mCSB_dragger[0].height(),dlt=e.deltaY||delta}
632if((dir==="y"&&!d.overflowed[0])||(dir==="x"&&!d.overflowed[1])){return}
633if(o.mouseWheel.invert||e.webkitDirectionInvertedFromDevice){dlt=-dlt}
634if(o.mouseWheel.normalizeDelta){dlt=dlt<0?-1:1}
635if((dlt>0&&draggerPos!==0)||(dlt<0&&draggerPos!==limit)||o.mouseWheel.preventDefault){e.stopImmediatePropagation();e.preventDefault()}
636if(e.deltaFactor<5&&!o.mouseWheel.normalizeDelta){amount=e.deltaFactor;dur=17}
637_scrollTo($this,(contentPos-(dlt*amount)).toString(),{dir:dir,dur:dur})}},_canAccessIFrameCache=new Object(),_canAccessIFrame=function(iframe){var result=!1,cacheKey=!1,html=null;if(iframe===undefined){cacheKey="#empty"}else if($(iframe).attr("id")!==undefined){cacheKey=$(iframe).attr("id")}
638if(cacheKey!==!1&&_canAccessIFrameCache[cacheKey]!==undefined){return _canAccessIFrameCache[cacheKey]}
639if(!iframe){try{var doc=top.document;html=doc.body.innerHTML}catch(err){}
640result=(html!==null)}else{try{var doc=iframe.contentDocument||iframe.contentWindow.document;html=doc.body.innerHTML}catch(err){}
641result=(html!==null)}
642if(cacheKey!==!1){_canAccessIFrameCache[cacheKey]=result}
643return result},_iframe=function(evt){var el=this.find("iframe");if(!el.length){return}
644var val=!evt?"none":"auto";el.css("pointer-events",val)},_disableMousewheel=function(el,target){var tag=target.nodeName.toLowerCase(),tags=el.data(pluginPfx).opt.mouseWheel.disableOver,focusTags=["select","textarea"];return $.inArray(tag,tags)>-1&&!($.inArray(tag,focusTags)>-1&&!$(target).is(":focus"))},_draggerRail=function(){var $this=$(this),d=$this.data(pluginPfx),namespace=pluginPfx+"_"+d.idx,mCSB_container=$("#mCSB_"+d.idx+"_container"),wrapper=mCSB_container.parent(),mCSB_draggerContainer=$(".mCSB_"+d.idx+"_scrollbar ."+classes[12]),clickable;mCSB_draggerContainer.bind("mousedown."+namespace+" touchstart."+namespace+" pointerdown."+namespace+" MSPointerDown."+namespace,function(e){touchActive=!0;if(!$(e.target).hasClass("mCSB_dragger")){clickable=1}}).bind("touchend."+namespace+" pointerup."+namespace+" MSPointerUp."+namespace,function(e){touchActive=!1}).bind("click."+namespace,function(e){if(!clickable){return}
645clickable=0;
645if($(e.target).hasClass(classes[12])||$(e.target).hasClass("mCSB_draggerRail")){_stop($this);var el=$(this),mCSB_dragger=el.find(".mCSB_dragger");if(el.parent(".mCSB_scrollTools_horizontal").length>0){if(!d.overflowed[1]){return}
646var dir="x",clickDir=e.pageX>mCSB_dragger.offset().left?-1:1,to=Math.abs(mCSB_container[0].offsetLeft)-(clickDir*(wrapper.width()*0.9))}else{if(!d.overflowed[0]){return}
647var dir="y",clickDir=e.pageY>mCSB_dragger.offset().top?-1:1,to=Math.abs(mCSB_container[0].offsetTop)-(clickDir*(wrapper.height()*0.9))}
648_scrollTo($this,to.toString(),{dir:dir,scrollEasing:"mcsEaseInOut"})}})},_focus=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,namespace=pluginPfx+"_"+d.idx,mCSB_container=$("#mCSB_"+d.idx+"_container"),wrapper=mCSB_container.parent();mCSB_container.bind("focusin."+namespace,function(e){var el=$(document.activeElement),nested=mCSB_container.find(".mCustomScrollBox").length,dur=0;if(!el.is(o.advanced.autoScrollOnFocus)){return}
649_stop($this);clearTimeout($this[0]._focusTimeout);$this[0]._focusTimer=nested?(dur+17)*nested:0;$this[0]._focusTimeout=setTimeout(function(){var to=[_childPos(el)[0],_childPos(el)[1]],contentPos=[mCSB_container[0].offsetTop,mCSB_container[0].offsetLeft],isVisible=[(contentPos[0]+to[0]>=0&&contentPos[0]+to[0]<wrapper.height()-el.outerHeight(!1)),(contentPos[1]+to[1]>=0&&contentPos[0]+to[1]<wrapper.width()-el.outerWidth(!1))],overwrite=(o.axis==="yx"&&!isVisible[0]&&!isVisible[1])?"none":"all";if(o.axis!=="x"&&!isVisible[0]){_scrollTo($this,to[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:overwrite,dur:dur})}
650if(o.axis!=="y"&&!isVisible[1]){_scrollTo($this,to[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:overwrite,dur:dur})}},$this[0]._focusTimer)})},_wrapperScroll=function(){var $this=$(this),d=$this.data(pluginPfx),namespace=pluginPfx+"_"+d.idx,wrapper=$("#mCSB_"+d.idx+"_container").parent();wrapper.bind("scroll."+namespace,function(e){if(wrapper.scrollTop()!==0||wrapper.scrollLeft()!==0){$(".mCSB_"+d.idx+"_scrollbar").css("visibility","hidden")}})},_buttons=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,seq=d.sequential,namespace=pluginPfx+"_"+d.idx,sel=".mCSB_"+d.idx+"_scrollbar",btn=$(sel+">a");btn.bind("contextmenu."+namespace,function(e){e.preventDefault()}).bind("mousedown."+namespace+" touchstart."+namespace+" pointerdown."+namespace+" MSPointerDown."+namespace+" mouseup."+namespace+" touchend."+namespace+" pointerup."+namespace+" MSPointerUp."+namespace+" mouseout."+namespace+" pointerout."+namespace+" MSPointerOut."+namespace+" click."+namespace,function(e){e.preventDefault();if(!_mouseBtnLeft(e)){return}
651var btnClass=$(this).attr("class");seq.type=o.scrollButtons.scrollType;switch(e.type){case "mousedown":case "touchstart":case "pointerdown":case "MSPointerDown":if(seq.type==="stepped"){return}
652touchActive=!0;d.tweenRunning=!1;_seq("on",btnClass);break;case "mouseup":case "touchend":case "pointerup":case "MSPointerUp":case "mouseout":case "pointerout":case "MSPointerOut":if(seq.type==="stepped"){return}
653touchActive=!1;if(seq.dir){_seq("off",btnClass)}
654break;case "click":if(seq.type!=="stepped"||d.tweenRunning){return}
655_seq("on",btnClass);break}
656function _seq(a,c){seq.scrollAmount=o.scrollButtons.scrollAmount;_sequentialScroll($this,a,c)}})},_keyboard=function(){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,seq=d.sequential,namespace=pluginPfx+"_"+d.idx,mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_container=$("#mCSB_"+d.idx+"_container"),wrapper=mCSB_container.parent(),editables="input,textarea,select,datalist,keygen,[contenteditable='true']",iframe=mCSB_container.find("iframe"),events=["blur."+namespace+" keydown."+namespace+" keyup."+namespace];if(iframe.length){iframe.each(function(){$(this).bind("load",function(){if(_canAccessIFrame(this)){$(this.contentDocument||this.contentWindow.document).bind(events[0],function(e){_onKeyboard(e)})}})})}
657mCustomScrollBox.attr("tabindex","0").bind(events[0],function(e){_onKeyboard(e)});function _onKeyboard(e){switch(e.type){case "blur":if(d.tweenRunning&&seq.dir){_seq("off",null)}
658break;case "keydown":case "keyup":var code=e.keyCode?e.keyCode:e.which,action="on";
658if((o.axis!=="x"&&(code===38||code===40))||(o.axis!=="y"&&(code===37||code===39))){if(((code===38||code===40)&&!d.overflowed[0])||((code===37||code===39)&&!d.overflowed[1])){return}
659if(e.type==="keyup"){action="off"}
660if(!$(document.activeElement).is(editables)){e.preventDefault();e.stopImmediatePropagation();_seq(action,code)}}else if(code===33||code===34){if(d.overflowed[0]||d.overflowed[1]){e.preventDefault();e.stopImmediatePropagation()}
661if(e.type==="keyup"){_stop($this);var keyboardDir=code===34?-1:1;if(o.axis==="x"||(o.axis==="yx"&&d.overflowed[1]&&!d.overflowed[0])){var dir="x",to=Math.abs(mCSB_container[0].offsetLeft)-(keyboardDir*(wrapper.width()*0.9))}else{var dir="y",to=Math.abs(mCSB_container[0].offsetTop)-(keyboardDir*(wrapper.height()*0.9))}
662_scrollTo($this,to.toString(),{dir:dir,scrollEasing:"mcsEaseInOut"})}}else if(code===35||code===36){if(!$(document.activeElement).is(editables)){if(d.overflowed[0]||d.overflowed[1]){e.preventDefault();e.stopImmediatePropagation()}
663if(e.type==="keyup"){if(o.axis==="x"||(o.axis==="yx"&&d.overflowed[1]&&!d.overflowed[0])){var dir="x",to=code===35?Math.abs(wrapper.width()-mCSB_container.outerWidth(!1)):0}else{var dir="y",to=code===35?Math.abs(wrapper.height()-mCSB_container.outerHeight(!1)):0}
664_scrollTo($this,to.toString(),{dir:dir,scrollEasing:"mcsEaseInOut"})}}}
665break}
666function _seq(a,c){seq.type=o.keyboard.scrollType;seq.scrollAmount=o.keyboard.scrollAmount;if(seq.type==="stepped"&&d.tweenRunning){return}
667_sequentialScroll($this,a,c)}}},_sequentialScroll=function(el,action,trigger,e,s){var d=el.data(pluginPfx),o=d.opt,seq=d.sequential,mCSB_container=$("#mCSB_"+d.idx+"_container"),once=seq.type==="stepped"?!0:!1,steplessSpeed=o.scrollInertia<26?26:o.scrollInertia,steppedSpeed=o.scrollInertia<1?17:o.scrollInertia;switch(action){case "on":seq.dir=[(trigger===classes[16]||trigger===classes[15]||trigger===39||trigger===37?"x":"y"),(trigger===classes[13]||trigger===classes[15]||trigger===38||trigger===37?-1:1)];_stop(el);if(_isNumeric(trigger)&&seq.type==="stepped"){return}
668_on(once);break;case "off":_off();if(once||(d.tweenRunning&&seq.dir)){_on(!0)}
669break}
670function _on(once){if(o.snapAmount){seq.scrollAmount=!(o.snapAmount instanceof Array)?o.snapAmount:seq.dir[0]==="x"?o.snapAmount[1]:o.snapAmount[0]}
671var c=seq.type!=="stepped",t=s?s:!once?1000/60:c?steplessSpeed/1.5:steppedSpeed,m=!once?2.5:c?7.5:40,contentPos=[Math.abs(mCSB_container[0].offsetTop),Math.abs(mCSB_container[0].offsetLeft)],ratio=[d.scrollRatio.y>10?10:d.scrollRatio.y,d.scrollRatio.x>10?10:d.scrollRatio.x],amount=seq.dir[0]==="x"?contentPos[1]+(seq.dir[1]*(ratio[1]*m)):contentPos[0]+(seq.dir[1]*(ratio[0]*m)),px=seq.dir[0]==="x"?contentPos[1]+(seq.dir[1]*parseInt(seq.scrollAmount)):contentPos[0]+(seq.dir[1]*parseInt(seq.scrollAmount)),to=seq.scrollAmount!=="auto"?px:amount,easing=e?e:!once?"mcsLinear":c?"mcsLinearOut":"mcsEaseInOut",onComplete=!once?!1:!0;if(once&&t<17){to=seq.dir[0]==="x"?contentPos[1]:contentPos[0]}
672_scrollTo(el,to.toString(),{dir:seq.dir[0],scrollEasing:easing,dur:t,onComplete:onComplete});if(once){seq.dir=!1;return}
673clearTimeout(seq.step);seq.step=setTimeout(function(){_on()},t)}
674function _off(){clearTimeout(seq.step);_delete(seq,"step");_stop(el)}},_arr=function(val){var o=$(this).data(pluginPfx).opt,vals=[];if(typeof val==="function"){val=val()}
675if(!(val instanceof Array)){vals[0]=val.y?val.y:val.x||o.axis==="x"?null:val;vals[1]=val.x?val.x:val.y||o.axis==="y"?null:val}else{vals=val.length>1?[val[0],val[1]]:o.axis==="x"?[null,val[0]]:[val[0],null]}
676if(typeof vals[0]==="function"){vals[0]=vals[0]()}
677if(typeof vals[1]==="function"){vals[1]=vals[1]()}
678return vals},_to=function(val,dir){if(val==null||typeof val=="undefined"){return}
679var $this=$(this),d=$this.data(pluginPfx),o=d.opt,mCSB_container=$("#mCSB_"+d.idx+"_container"),wrapper=mCSB_container.parent(),t=typeof val;if(!dir){dir=o.axis==="x"?"x":"y"}
680var contentLength=dir==="x"?mCSB_container.outerWidth(!1)-wrapper.width():mCSB_container.outerHeight(!1)-wrapper.height(),contentPos=dir==="x"?mCSB_container[0].offsetLeft:mCSB_container[0].offsetTop,cssProp=dir==="x"?"left":"top";switch(t){case "function":return val();break;case "object":var obj=val.jquery?val:$(val);if(!obj.length){return}
681return dir==="x"?_childPos(obj)[1]:_childPos(obj)[0];break;case "string":case "number":if(_isNumeric(val)){return Math.abs(val)}else if(val.indexOf("%")!==-1){return Math.abs(contentLength*parseInt(val)/100)}else if(val.indexOf("-=")!==-1){return Math.abs(contentPos-parseInt(val.split("-=")[1]))}else if(val.indexOf("+=")!==-1){var p=(contentPos+parseInt(val.split("+=")[1]));return p>=0?0:Math.abs(p)}else if(val.indexOf("px")!==-1&&_isNumeric(val.split("px")[0])){return Math.abs(val.split("px")[0])}else{if(val==="top"||val==="left"){return 0}else if(val==="bottom"){return Math.abs(wrapper.height()-mCSB_container.outerHeight(!1))}else if(val==="right"){return Math.abs(wrapper.width()-mCSB_container.outerWidth(!1))}else if(val==="first"||val==="last"){var obj=mCSB_container.find(":"+val);return dir==="x"?_childPos(obj)[1]:_childPos(obj)[0]}else{if($(val).length){return dir==="x"?_childPos($(val))[1]:_childPos($(val))[0]}else{mCSB_container.css(cssProp,val);methods.update.call(null,$this[0]);return}}}
682break}},_autoUpdate=function(rem){var $this=$(this),d=$this.data(pluginPfx),o=d.opt,mCSB_container=$("#mCSB_"+d.idx+"_container");if(rem){clearTimeout(mCSB_container[0].autoUpdate);_delete(mCSB_container[0],"autoUpdate");return}
683upd();function upd(){clearTimeout(mCSB_container[0].autoUpdate);if($this.parents("html").length===0){$this=null;return}
684mCSB_container[0].autoUpdate=setTimeout(function(){if(o.advanced.updateOnSelectorChange){d.poll.change.n=sizesSum();if(d.poll.change.n!==d.poll.change.o){d.poll.change.o=d.poll.change.n;doUpd(3);return}}
685if(o.advanced.updateOnContentResize){d.poll.size.n=$this[0].scrollHeight+$this[0].scrollWidth+mCSB_container[0].offsetHeight+$this[0].offsetHeight+$this[0].offsetWidth;if(d.poll.size.n!==d.poll.size.o){d.poll.size.o=d.poll.size.n;doUpd(1);return}}
686if(o.advanced.updateOnImageLoad){if(!(o.advanced.updateOnImageLoad==="auto"&&o.axis==="y")){d.poll.img.n=mCSB_container.find("img").length;if(d.poll.img.n!==d.poll.img.o){d.poll.img.o=d.poll.img.n;mCSB_container.find("img").each(function(){imgLoader(this)});return}}}
687if(o.advanced.updateOnSelectorChange||o.advanced.updateOnContentResize||o.advanced.updateOnImageLoad){upd()}},o.advanced.autoUpdateTimeout)}
688function imgLoader(el){if($(el).hasClass(classes[2])){doUpd();return}
689var img=new Image();function createDelegate(contextObject,delegateMethod){return function(){return delegateMethod.apply(contextObject,arguments)}}
690function imgOnLoad(){this.onload=null;$(el).addClass(classes[2]);doUpd(2)}
691img.onload=createDelegate(img,imgOnLoad);img.src=el.src}
692function sizesSum(){if(o.advanced.updateOnSelectorChange===!0){o.advanced.updateOnSelectorChange="*"}
693var total=0,sel=mCSB_container.find(o.advanced.updateOnSelectorChange);if(o.advanced.updateOnSelectorChange&&sel.length>0){sel.each(function(){total+=this.offsetHeight+this.offsetWidth})}
694return total}
695function doUpd(cb){clearTimeout(mCSB_container[0].autoUpdate);methods.update.call(null,$this[0],cb)}},_snapAmount=function(to,amount,offset){return(Math.round(to/amount)*amount-offset)},_stop=function(el){var d=el.data(pluginPfx),sel=$("#mCSB_"+d.idx+"_container,#mCSB_"+d.idx+"_container_wrapper,#mCSB_"+d.idx+"_dragger_vertical,#mCSB_"+d.idx+"_dragger_horizontal");sel.each(function(){_stopTween.call(this)})},_scrollTo=function(el,to,options){var d=el.data(pluginPfx),o=d.opt,defaults={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:o.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},options=$.extend(defaults,options),dur=[options.dur,(options.drag?0:options.dur)],mCustomScrollBox=$("#mCSB_"+d.idx),mCSB_container=$("#mCSB_"+d.idx+"_container"),wrapper=mCSB_container.parent(),totalScrollOffsets=o.callbacks.onTotalScrollOffset?_arr.call(el,o.callbacks.onTotalScrollOffset):[0,0],totalScrollBackOffsets=o.callbacks.onTotalScrollBackOffset?_arr.call(el,o.callbacks.onTotalScrollBackOffset):[0,0];d.trigger=options.trigger;if(wrapper.scrollTop()!==0||wrapper.scrollLeft()!==0){$(".mCSB_"+d.idx+"_scrollbar").css("visibility","visible");wrapper.scrollTop(0).scrollLeft(0)}
696if(to==="_resetY"&&!d.contentReset.y){if(_cb("onOverflowYNone")){o.callbacks.onOverflowYNone.call(el[0])}
697d.contentReset.y=1}
698if(to==="_resetX"&&!d.contentReset.x){if(_cb("onOverflowXNone")){o.callbacks.onOverflowXNone.call(el[0])}
699d.contentReset.x=1}
700if(to==="_resetY"||to==="_resetX"){return}
701if((d.contentReset.y||!el[0].mcs)&&d.overflowed[0]){if(_cb("onOverflowY")){o.callbacks.onOverflowY.call(el[0])}
702d.contentReset.x=null}
703if((d.contentReset.x||!el[0].mcs)&&d.overflowed[1]){if(_cb("onOverflowX")){o.callbacks.onOverflowX.call(el[0])}
704d.contentReset.x=null}
705if(o.snapAmount){var snapAmount=!(o.snapAmount instanceof Array)?o.snapAmount:options.dir==="x"?o.snapAmount[1]:o.snapAmount[0];to=_snapAmount(to,snapAmount,o.snapOffset)}
706switch(options.dir){case "x":var mCSB_dragger=$("#mCSB_"+d.idx+"_dragger_horizontal"),property="left",contentPos=mCSB_container[0].offsetLeft,limit=[mCustomScrollBox.width()-mCSB_container.outerWidth(!1),mCSB_dragger.parent().width()-mCSB_dragger.width()],scrollTo=[to,to===0?0:(to/d.scrollRatio.x)],tso=totalScrollOffsets[1],tsbo=totalScrollBackOffsets[1],totalScrollOffset=tso>0?tso/d.scrollRatio.x:0,totalScrollBackOffset=tsbo>0?tsbo/d.scrollRatio.x:0;break;case "y":var mCSB_dragger=$("#mCSB_"+d.idx+"_dragger_vertical"),property="top",contentPos=mCSB_container[0].offsetTop,limit=[mCustomScrollBox.height()-mCSB_container.outerHeight(!1),mCSB_dragger.parent().height()-mCSB_dragger.height()],scrollTo=[to,to===0?0:(to/d.scrollRatio.y)],tso=totalScrollOffsets[0],tsbo=totalScrollBackOffsets[0],totalScrollOffset=tso>0?tso/d.scrollRatio.y:0,totalScrollBackOffset=tsbo>0?tsbo/d.scrollRatio.y:0;break}
707if(scrollTo[1]<0||(scrollTo[0]===0&&scrollTo[1]===0)){scrollTo=[0,0]}else if(scrollTo[1]>=limit[1]){scrollTo=[limit[0],limit[1]]}else{scrollTo[0]=-scrollTo[0]}
708if(!el[0].mcs){_mcs();if(_cb("onInit")){o.callbacks.onInit.call(el[0])}}
709clearTimeout(mCSB_container[0].onCompleteTimeout);_tweenTo(mCSB_dragger[0],property,Math.round(scrollTo[1]),dur[1],options.scrollEasing);if(!d.tweenRunning&&((contentPos===0&&scrollTo[0]>
709=0)||(contentPos===limit[0]&&scrollTo[0]<=limit[0]))){return}
710_tweenTo(mCSB_container[0],property,Math.round(scrollTo[0]),dur[0],options.scrollEasing,options.overwrite,{onStart:function(){if(options.callbacks&&options.onStart&&!d.tweenRunning){if(_cb("onScrollStart")){_mcs();o.callbacks.onScrollStart.call(el[0])}
711d.tweenRunning=!0;_onDragClasses(mCSB_dragger);d.cbOffsets=_cbOffsets()}},onUpdate:function(){if(options.callbacks&&options.onUpdate){if(_cb("whileScrolling")){_mcs();o.callbacks.whileScrolling.call(el[0])}}},onComplete:function(){if(options.callbacks&&options.onComplete){if(o.axis==="yx"){clearTimeout(mCSB_container[0].onCompleteTimeout)}
712var t=mCSB_container[0].idleTimer||0;mCSB_container[0].onCompleteTimeout=setTimeout(function(){if(_cb("onScroll")){_mcs();o.callbacks.onScroll.call(el[0])}
713if(_cb("onTotalScroll")&&scrollTo[1]>=limit[1]-totalScrollOffset&&d.cbOffsets[0]){_mcs();o.callbacks.onTotalScroll.call(el[0])}
714if(_cb("onTotalScrollBack")&&scrollTo[1]<=totalScrollBackOffset&&d.cbOffsets[1]){_mcs();o.callbacks.onTotalScrollBack.call(el[0])}
715d.tweenRunning=!1;mCSB_container[0].idleTimer=0;_onDragClasses(mCSB_dragger,"hide")},t)}}});function _cb(cb){return d&&o.callbacks[cb]&&typeof o.callbacks[cb]==="function"}
716function _cbOffsets(){return[o.callbacks.alwaysTriggerOffsets||contentPos>=limit[0]+tso,o.callbacks.alwaysTriggerOffsets||contentPos<=-tsbo]}
717function _mcs(){var cp=[mCSB_container[0].offsetTop,mCSB_container[0].offsetLeft],dp=[mCSB_dragger[0].offsetTop,mCSB_dragger[0].offsetLeft],cl=[mCSB_container.outerHeight(!1),mCSB_container.outerWidth(!1)],pl=[mCustomScrollBox.height(),mCustomScrollBox.width()];el[0].mcs={content:mCSB_container,top:cp[0],left:cp[1],draggerTop:dp[0],draggerLeft:dp[1],topPct:Math.round((100*Math.abs(cp[0]))/(Math.abs(cl[0])-pl[0])),leftPct:Math.round((100*Math.abs(cp[1]))/(Math.abs(cl[1])-pl[1])),direction:options.dir}}},_tweenTo=function(el,prop,to,duration,easing,overwrite,callbacks){if(!el._mTween){el._mTween={top:{},left:{}}}
718var callbacks=callbacks||{},onStart=callbacks.onStart||function(){},onUpdate=callbacks.onUpdate||function(){},onComplete=callbacks.onComplete||function(){},startTime=_getTime(),_delay,progress=0,from=el.offsetTop,elStyle=el.style,_request,tobj=el._mTween[prop];if(prop==="left"){from=el.offsetLeft}
719var diff=to-from;tobj.stop=0;if(overwrite!=="none"){_cancelTween()}
720_startTween();function _step(){if(tobj.stop){return}
721if(!progress){onStart.call()}
722progress=_getTime()-startTime;_tween();if(progress>=tobj.time){tobj.time=(progress>tobj.time)?progress+_delay-(progress-tobj.time):progress+_delay-1;if(tobj.time<progress+1){tobj.time=progress+1}}
723if(tobj.time<duration){tobj.id=_request(_step)}else{onComplete.call()}}
724function _tween(){if(duration>0){tobj.currVal=_ease(tobj.time,from,diff,duration,easing);elStyle[prop]=Math.round(tobj.currVal)+"px"}else{elStyle[prop]=to+"px"}
725onUpdate.call()}
726function _startTween(){_delay=1000/60;tobj.time=progress+_delay;_request=(!window.requestAnimationFrame)?function(f){_tween();return setTimeout(f,0.01)}:window.requestAnimationFrame;tobj.id=_request(_step)}
727function _cancelTween(){if(tobj.id==null){return}
728if(!window.requestAnimationFrame){clearTimeout(tobj.id)}else{window.cancelAnimationFrame(tobj.id)}
729tobj.id=null}
730function _ease(t,b,c,d,type){switch(type){case "linear":case "mcsLinear":return c*t/d+b;break;case "mcsLinearOut":t/=d;t--;return c*Math.sqrt(1-t*t)+b;break;case "easeInOutSmooth":t/=d/2;if(t<1)return c/2*t*t+b;t--;return-c/2*(t*(t-2)-1)+b;break;case "easeInOutStrong":t/=d/2;if(t<1)return c/2*Math.pow(2,10*(t-1))+b;t--;return c/2*(-Math.pow(2,-10*t)+2)+b;break;case "easeInOut":case "mcsEaseInOut":t/=d/2;if(t<1)return c/2*t*t*t+b;t-=2;return c/2*(t*t*t+2)+b;break;case "easeOutSmooth":t/=d;t--;return-c*(t*t*t*t-1)+b;break;case "easeOutStrong":return c*(-Math.pow(2,-10*t/d)+1)+b;break;case "easeOut":case "mcsEaseOut":default:var ts=(t/=d)*t,tc=ts*t;return b+c*(0.499999999999997*tc*ts+ -2.5*ts*ts+5.5*tc+ -6.5*ts+4*t)}}},_getTime=function(){if(window.performance&&window.performance.now){return window.performance.now()}else{if(window.performance&&window.performance.webkitNow){return window.performance.webkitNow()}else{if(Date.now){return Date.now()}else{return new Date().getTime()}}}},_stopTween=function(){var el=this;if(!el._mTween){el._mTween={top:{},left:{}}}
731var props=["top","left"];for(var i=0;i<props.length;i++){var prop=props[i];if(el._mTween[prop].id){if(!window.requestAnimationFrame){clearTimeout(el._mTween[prop].id)}else{window.cancelAnimationFrame(el._mTween[prop].id)}
732el._mTween[prop].id=null;el._mTween[prop].stop=1}}},_delete=function(c,m){try{delete c[m]}catch(e){c[m]=null}},_mouseBtnLeft=function(e){return!(e.which&&e.which!==1)},_pointerTouch=function(e){var t=e.originalEvent.pointerType;return!(t&&t!=="touch"&&t!==2)},_isNumeric=function(val){return!isNaN(parseFloat(val))&&isFinite(val)},_childPos=function(el){var p=el.parents(".mCSB_container");return[el.offset().top-p.offset().top,el.offset().left-p.offset().left]},_isTabHidden=function(){var prop=_getHiddenProp();if(!prop)return!1;return document[prop];function _getHiddenProp(){var pfx=["webkit","moz","ms","o"];if("hidden" in document)return"hidden";for(var i=0;i<pfx.length;i++){if((pfx[i]+"Hidden")in document)
733return pfx[i]+"Hidden"}
734return null}};$.fn[pluginNS]=function(method){if(methods[method]){return methods[method].apply(this,Array.prototype.slice.call(arguments,1
734))}else if(typeof method==="object"||!method){return methods.init.apply(this,arguments)}else{$.error("Method "+method+" does not exist")}};$[pluginNS]=function(method){if(methods[method]){return methods[method].apply(this,Array.prototype.slice.call(arguments,1))}else if(typeof method==="object"||!method){return methods.init.apply(this,arguments)}else{$.error("Method "+method+" does not exist")}};$[pluginNS].defaults=defaults;window[pluginNS]=!0;$(window).bind("load",function(){$(defaultSelector)[pluginNS]();$.extend($.expr[":"],{mcsInView:$.expr[":"].mcsInView||function(el){var $el=$(el),content=$el.parents(".mCSB_container"),wrapper,cPos;if(!content.length){return}
735wrapper=content.parent();cPos=[content[0].offsetTop,content[0].offsetLeft];return cPos[0]+_childPos($el)[0]>=0&&cPos[0]+_childPos($el)[0]<wrapper.height()-$el.outerHeight(!1)&&cPos[1]+_childPos($el)[1]>=0&&cPos[1]+_childPos($el)[1]<wrapper.width()-$el.outerWidth(!1)},mcsInSight:$.expr[":"].mcsInSight||function(el,i,m){var $el=$(el),elD,content=$el.parents(".mCSB_container"),wrapperView,pos,wrapperViewPct,pctVals=m[3]==="exact"?[[1,0],[1,0]]:[[0.9,0.1],[0.6,0.4]];if(!content.length){return}
736elD=[$el.outerHeight(!1),$el.outerWidth(!1)];pos=[content[0].offsetTop+_childPos($el)[0],content[0].offsetLeft+_childPos($el)[1]];wrapperView=[content.parent()[0].offsetHeight,content.parent()[0].offsetWidth];wrapperViewPct=[elD[0]<wrapperView[0]?pctVals[0]:pctVals[1],elD[1]<wrapperView[1]?pctVals[0]:pctVals[1]];return pos[0]-(wrapperView[0]*wrapperViewPct[0][0])<0&&pos[0]+elD[0]-(wrapperView[0]*wrapperViewPct[0][1])>=0&&pos[1]-(wrapperView[1]*wrapperViewPct[1][0])<0&&pos[1]+elD[1]-(wrapperView[1]*wrapperViewPct[1][1])>=0},mcsOverflow:$.expr[":"].mcsOverflow||function(el){var d=$(el).data(pluginPfx);if(!d){return}
737return d.overflowed[0]||d.overflowed[1]}})})}))}));/*
738 * PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
739 *
740 * @author    VEKIA https://www.prestashop.com/forums/user/132608-vekia/
741 * @copyright 2010-2021 VEKIA
742 * @license   This program is not free software and you can't resell and redistribute it
743 *
744 * CONTACT WITH DEVELOPER http://mypresta.eu
745 * [email protected]
746 */
747$('document').ready(function(){$('.alert .close').click(function(){$(this).parent().fadeOut()})});/*
748 * PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
749 *
750 * @author    VEKIA https://www.prestashop.com/forums/user/132608-vekia/
751 * @copyright 2010-2021 VEKIA
752 * @license   This program is not free software and you can't resell and redistribute it
753 *
754 * CONTACT WITH DEVELOPER http://mypresta.eu
755 * [email protected]
756 */
757$(document).on('click','.panel-heading',function(e){e.preventDefault();var $this=$(this);if($($this.find('a').attr('href')).hasClass('in')){$(($this.find('a').attr('href'))).slideUp().removeClass('in')}else{$(($this.find('a').attr('href'))).slideDown().addClass('in')}});/*
758 * PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
759 *
760 * @author    VEKIA https://www.prestashop.com/forums/user/132608-vekia/
761 * @copyright 2010-2021 VEKIA
762 * @license   This program is not free software and you can't resell and redistribute it
763 *
764 * CONTACT WITH DEVELOPER http://mypresta.eu
765 * [email protected]
766 */
767$(document).ready(function(){$('.fancybox').fancybox()});/*
768 * PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
769 *
770 * @author    VEKIA https://www.prestashop.com/forums/user/132608-vekia/
771 * @copyright 2010-2021 VEKIA
772 * @license   This program is not free software and you can't resell and redistribute it
773 *
774 * CONTACT WITH DEVELOPER http://mypresta.eu
775 * [email protected]
776 */
777$(document).ready(function(){$('.tinymcepro-more-button').click(function(e){e.preventDefault();$(this).closest('.tinymcepro-readmore').find('.tinymcepro-more-contents-to-show').slideToggle(200)})});(function(){$.fn.lofCountDown=function(options){return this.each(function(){new $.lofCountDown(this,options)})}
778$.lofCountDown=function(obj,options){this.options=$.extend({autoStart:!0,LeadingZero:!0,DisplayFormat:"<div>%%D%% Days</div><div>%%H%% Hours</div><div>%%M%% Minutes</div><div>%%S%% Seconds</div>",FinishMessage:"Expired",CountActive:!0,TargetDate:null},options||{});if(this.options.TargetDate==null||this.options.TargetDate==''){return}
779this.timer=null;this.element=obj;this.CountStepper=-1;this.CountStepper=Math.ceil(this.CountStepper);this.SetTimeOutPeriod=(Math.abs(this.CountStepper)-1)*1000+990;var dthen=new Date(this.options.TargetDate);var dnow=new Date();if(this.CountStepper>0){ddiff=new Date(dnow-dthen)}else{ddiff=new Date(dthen-dnow)}
780gsecs=Math.floor(ddiff.valueOf()/1000);this.CountBack(gsecs,this)};$.lofCountDown.fn=$.lofCountDown.prototype;$.lofCountDown.fn.extend=$.lofCountDown.extend=$.extend;$.lofCountDown.fn.extend({calculateDate:function(secs,num1,num2){var s=((Math.floor(secs/num1))%num2).toString();if(this.options.LeadingZero&&s.length<2){s="0"+s}
781return"<b>"+s+"</b>"},CountBack:function(secs,self){if(secs<0){return}
782clearInterval(self.timer);DisplayStr=self.options.DisplayFormat.replace(/%%D%%/g,self.calculateDate(secs,86400,100000));DisplayStr=DisplayStr.replace(/%%H%%/g,self.calculateDate(secs,3600,24));DisplayStr=DisplayStr.replace(/%%M%%/g,self.calculateDate(secs,60,60));DisplayStr=DisplayStr.replace(/%%S%%/g,self.calculateDate(secs,1,60));self.element.innerHTML=DisplayStr;if(self.options.CountActive){self.timer=null;self.timer=setTimeout(function(){self.CountBack((secs+self.CountStepper),self)},(self.SetTimeOutPeriod))}}})})(jQuery);/**
783 * PrestaShop module created by VEKIA - MILOSZ MYSZCZUK, VATEU PL9730945634
784 *
785 * @author    https://mypresta.eu/
786 * @copyright 2010-2025 VEKIA
787 * @license   This program is not free software and you can't resell and redistribute it
788 *
789 * CONTACT WITH DEVELOPER https://mypresta.eu/
790 * [email protected]
791 */
792function hideThisPopup(){$.closeOverlay();cookPopup($("#popuppro").attr('popid'),"1",$("#popuppro").attr('popcookie'))}
793function cookPopup(name,value,seconds){var expires="";if(seconds){var date=new Date();var time=date.getTime();time+=seconds*1000;date.setTime(time);expires="; expires="+date.toUTCString()}
794document.cookie="popupdisplay"+name+"="+value+expires+"; path=/"}
795$(document).ready(function(){popup_reinit_buttons()});function popup_reinit_buttons(){$(".showpopuppro").off();$(".showpopuppro").click(function(){var pop_id=$(this).attr("id");var pop_title=$(this).attr("title");var pop_id_splitted=pop_id.split("___");if(pop_id_splitted[1]!="undefined"){popup_id=pop_id_splitted[1]}else{popup_id=pop_title}
796var postoptions="getparams="+popup_id;$.post(prestashop.urls.base_url+"modules/popuppro/ajax_popuppro.php",postoptions,function(data){eval(data)})})};/**
797 * PrestaShop module created by VEKIA - MILOSZ MYSZCZUK, VATEU PL9730945634
798 *
799 * @author    https://mypresta.eu/
800 * @copyright 2010-2025 VEKIA
801 * @license   This program is not free software and you can't resell and redistribute it
802 *
803 * CONTACT WITH DEVELOPER https://mypresta.eu/
804 * [email protected]
805 */
806$(document).ready(function(){prestashop.on("updateProductList",function(){popup_reinit_buttons()});prestashop.on("clickQuickView",function(){$(document).ajaxStop(function(){popup_reinit_buttons()})})});(function($){var isIE6=!1
807var JOVERLAY_TIMER=null;var JOVERLAY_ELEMENT_PREV=null;$.fn.jOverlay=function(options){if($('#jOverlay').length){$.closeOverlay()}
808JOVERLAY_ELEMENT_PREV=null;if(JOVERLAY_TIMER!==null){clearTimeout(JOVERLAY_TIMER)}
809var options=$.extend({},$.fn.jOverlay.options,options);$.fn.jOverlay.options.flyout=options.flyout;$.fn.jOverlay.options.speedin=options.speedin;$.fn.jOverlay.options.speedout=options.speedout;$.fn.jOverlay.options.popid=options.popid;$.fn.jOverlay.options.timeout=options.timeout;$.fn.jOverlay.options.testmode=options.testmode;$.fn.jOverlay.options.px=options.px;$.fn.jOverlay.options.escToClose=options.escToClose;function center(id){if(options.center){$.center(id)}}
810var element=this.is('*')?this:'#jOverlayContent';var position=isIE6?'absolute':'fixed';var isImage=/([^\/\\]+)\.(png|gif|jpeg|jpg|bmp)$/i.test(options.url);var imgLoading=options.imgLoading?"<img id='jOverlayLoading' src='"+options.imgLoading+"' style='position:"+position+"; z-index:"+(options.zIndex+9)+";'/>":'';$('body').prepend(imgLoading+"<div id='jOverlay' /></div>"+"<div id='jOverlayContent' style='position:"+position+"; z-index:"+(options.zIndex+5)+"; display:none;'/></div>");$('#jOverlayLoading').load(function(){center(this)});if(isIE6){$('select').hide();$('#jOverlayContent select').show()}
811$('#jOverlayLoading, #jOverlay').fadeIn("500",function(){$('#jOverlay').css({backgroundColor:options.color,position:position,top:'0px',left:'0px',display:'none',filter:'alpha(opacity='+(options.opacity*100)+')',opacity:options.opacity,zIndex:options.zIndex,width:!isIE6?'100%':$(window).width()+'px',height:!isIE6?'100%':$(document).height()+'px'}).fadeIn(options.speedin)});if(options.url&&!isImage){$.ajax({type:options.method,data:options.data,url:options.url,success:function(responseText){if(options.flyin){$('#jOverlayLoading').fadeOut(500);$(element).html(responseText);$('#jOverlayContent').show();center('#jOverlayContent');if(options.px==1){var elementHeight=$('#jOverlayContent').height();var elementTopOriginal=$('#jOverlayContent').position().top;$('#jOverlayContent').css('top','-'+(elementHeight/2)+'px');$('#jOverlayContent').show();$(element).show(function(){$("#jOverlayContent").animate({top:'50%'},options.speedin,function(){})})}else{var elementHeight=$('#jOverlayContent').height();var elementTopOriginal=$('#jOverlayContent').position().top;$('#jOverlayContent').css('margin-top','-'+(elementHeight)+'px');$('#jOverlayContent').show();$(element).show(function(){$("#jOverlayContent").animate({marginTop:($(window).height()-($(window).height()*(parseInt($('#jOverlayContent').find('> div:visible:first')[0].style.height)/100)))/2,},options.speedin,function(){})})}}else{if(options.px==1){$('#jOverlayLoading').fadeOut(500);$(element).html(responseText);$.center('#jOverlayContent');$(element).html(responseText).fadeIn(options.speedin)}else{$('#jOverlayLoading').fadeOut(500);$(element).html(responseText);var elementHeight=$('#jOverlayContent').height();$('#jOverlayContent').css('margin-top','-'+(elementHeight)+'px');$('#jOverlayContent').show();center('#jOverlayContent');$('#jOverlayContent').hide();$('#jOverlayContent').fadeIn(options.speedin)}}
812if($.isFunction(options.success)){options.success(responseText)}},error:function(){alert('URL ('+options.url+') not found. Check permissions to this file. It must be accessible from browser.');$.closeOverlay()}})}
813if(isIE6){$(window).scroll(function(){center('#jOverlayContent')});$(window).resize(function(){$('#jOverlay').css({width:$(window).width()+'px',height:$(document).height()+'px'});center('#jOverlayContent')})}
814if(options.escToClose){$(document).keydown(function(event){if(event.keyCode==27){$.closeOverlay()}})}
815if(options.bgClickToClose){$('#jOverlay').click($.closeOverlay)}
816if(Number(options.timeout)>0){jOverlayTimer=setTimeout($.closeOverlay,Number(options.timeout))}
817$('#jOverlayContent').css(options.css||{})};$.resize=function(imageWidth,imageHeight){var x=$(window).width()-150;var y=$(window).height()-150;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y}}else if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x}}
818return{width:imageWidth,height:imageHeight}};$.center=function(element){var options=$.extend({},$.fn.jOverlay.options,options);if(element=='#jOverlayContent'&&+options.px==0){var element=$(element);var elemWidth=$(window).width();var elemHeight=$(window).height();element.css({width:elemWidth+'px',marginLeft:'-'+(elemWidth/2)+'px',marginTop:($(window).height()-($(window).height()*(parseInt($('#jOverlayContent').find('> div:visible:first')[0].style.height)/100)))/2,height:elemHeight,top:'0px',left:'50%'})}else{var element=$(element);var elemWidth=element.width();var elemHeight='auto';element.css({width:elemWidth+'px',marginLeft:'-'+(elemWidth/2)+'px',marginTop:'-'+element.height()/2+'px',height:elemHeight,top:'50%',left:'50%'})}};$.fn.jOverlay.options={escToClose:!0,method:'GET',data:'',url:'',color:'#000',opacity:'0.6',zIndex:9999,center:!0,imgLoading:'',bgClickToClose:!0,success:null,timeout:0,autoHide:!0,css:{},flyin:!1,flyout:!1,popid:null,speedin:500,speedout:500,px:1,testmode:0};$.closeOverlay=function(){var options=$.extend({},$.fn.jOverlay.options,options);if(options.timeout>0){if(options.testmode==0){cookPopup(options.popid,"1",$("#popuppro").attr('popcookie'))}}
vendor: 4,767 bytes, lines 819-822
819if(options.flyout){$('#jOverlayContent').animate({top:'-100%'},options.speedout,'',function(){$('#jOverlayLoading, #jOverlay').fadeOut("100",function(){if(isIE6){$("select").show()}
820if(JOVERLAY_ELEMENT_PREV!==null){if(JOVERLAY_ELEMENT_PREV!==null){var element=$('#jOverlayContent').children();JOVERLAY_ELEMENT_PREV.after(element.css('display',element.attr('display')));element.removeAttr('display')}}
821$('#jOverlayLoading, #jOverlayContent, #jOverlay').remove()})})}else{$('#jOverlayContent').fadeOut(options.speedout,function(){$('#jOverlayLoading, #jOverlay').fadeOut(400,function(){$('#jOverlayLoading, #jOverlayContent, #jOverlay').remove()})})}};$(window).resize(function(){$.center("#jOverlayContent")})})(jQuery);/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
822(function(r,G,f,v){var J=f("html"),n=f(r),p=f(G),b=f.fancybox=function(){b.open.apply(this,arguments)},I=navigator.userAgent.match(/msie/i),B=null,s=G.createTouch!==v,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},q=function(a){return a&&"string"===f.type(a)},E=function(a){return q(a)&&0<a.indexOf("%")},l=function(a,d){var e=parseInt(a,10)||0;d&&E(a)&&(e*=b.getViewport()[d]/100);return Math.ceil(e)},w=function(a,b){return l(a,b)+"px"};f.extend(b,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!s,fitToView:!0,aspectRatio:!1,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(I?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Schlie&szlig;en" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="N&auml;chste" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Vorherige" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,c.metadata())):k=c);g=d.href||k.href||(q(c)?c:null);h=d.title!==v?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));q(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":q(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(q(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&&k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==v&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;
822a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current||b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index<b.group.length-1))b.player.isActive=!0,p.bind({"onCancel.player beforeClose.player":c,"onUpdate.player":e,"beforeLoad.player":d}),e(),b.trigger("onPlayStart")}else c()},next:function(a){var d=b.current;d&&(q(a)||(a=d.direction.next),b.jumpto(d.index+1,a,"next"))},prev:function(a){var d=b.current;d&&(q(a)||(a=d.direction.prev),b.jumpto(d.index-1,a,"prev"))},jumpto:function(a,d,e){var c=b.current;c&&(a=l(a),b.direction=d||c.direction[a>=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==v&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},e.dim,k)))},update:function(a){var d=a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(B),B=null);b.isOpen&&!B&&(B=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),B=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),b.trigger("onUpdate")),b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('<div id="fancybox-loading"><div></div></div>').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||!1,d={x:n.scrollLeft(),y:n.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&r.innerWidth?r.innerWidth:n.width(),d.h=s&&r.innerHeight?r.innerHeight:n.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");n.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(n.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1<a.group.length&&k[c]!==v)return b[d](k[c]),e.preventDefault(),!1;if(-1<f.inArray(c,k))return b[d](),e.preventDefault(),!1})}),f.fn.mousewheel&&a.mouseWheel&&b.wrap.bind("mousewheel.fb",function(d,c,k,g){for(var h=f(d.target||null),j=!1;h.length&&!j&&!h.is(".fancybox-skin")&&!h.is(".fancybox-wrap");)j=h[0]&&!(h[0].style.overflow&&"hidden"===h[0].style.overflow)&&(h[0].clientWidth&&h[0].scrollWidth>h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1<b.group.length&&!a.canShrink){if(0<g||0<k)b.prev(0<g?"down":"left");else if(0>g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1
vendor: 9,947 bytes, line 822
822)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&&b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0,{},b.helpers[d].defaults,e),c)});p.trigger(a)}},isImage:function(a){return q(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return q(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,w(d.padding[a]))});b.trigger("onReady");if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("<div>").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",!1)}));break;case "image":e=a.tpl.image.replace("{href}",g);break;case "swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+g+'"></param>',h="",f.each(a.swf,function(a,b){e+='<param name="'+a+'" value="'+b+'"></param>';h+=" "+a+'="'+b+'"'}),e+='<embed src="'+g+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"></embed></object>"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");a.inner.css("overflow","yes"===k?"scroll":"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,p=h.maxHeight,s=h.scrolling,q=h.scrollOutside?h.scrollbarWidth:0,x=h.margin,y=l(x[1]+x[3]),r=l(x[0]+x[2]),v,z,t,C,A,F,B,D,H;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");x=l(k.outerWidth(!0)-k.width());v=l(k.outerHeight(!0)-k.height());z=y+x;t=r+v;C=E(c)?(a.w-z)*l(c)/100:c;A=E(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(H=h.content,h.autoHeight&&1===H.data("ready"))try{H[0].contentWindow.document.location&&(g.width(C).height(9999),F=H.contents().find("body"),q&&F.css("overflow-x","hidden"),A=F.outerHeight(!0))}catch(G){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass("fancybox-tmp");c=l(C);j=l(A);D=C/A;m=l(E(m)?l(m,"w")-z:m);n=l(E(n)?l(n,"w")-z:n);u=l(E(u)?l(u,"h")-t:u);p=l(E(p)?l(p,"h")-t:p);F=n;B=p;h.fitToView&&(n=Math.min(a.w-z,n),p=Math.min(a.h-t,p));z=a.w-y;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),c<m&&(c=m,j=l(c/D)),j<u&&(j=u,c=l(j*D))):(c=Math.max(m,Math.min(c,n)),h.autoHeight&&"iframe"!==h.type&&(g.width(c),j=g.height()),j=Math.max(u,Math.min(j,p)));if(h.fitToView)if(g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height(),h.aspectRatio)for(;(a>z||y>r)&&(c>m&&j>u)&&!(19<d++);)j=Math.max(u,Math.min(p,j-10)),c=l(j*D),c<m&&(c=m,j=l(c/D)),c>n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&("auto"===s&&j<A&&c+x+q<z)&&(c+=q);g.width(c).height(j);e.width(c+x);a=e.width();y=e.height();e=(a>z||y>r)&&c>m&&j>u;c=h.aspectRatio?c<F&&j<B&&c<C&&j<A:(c<F||j<B)&&(c<C||j<A);f.extend(h,{dim:{width:w(a),height:w(y)},origWidth:C,origHeight:A,canShrink:e,canExpand:c,wPadding:x,hPadding:v,wrapSpace:y-k.outerHeight(!0),skinSpace:k.height()-j});!H&&(h.autoHeight&&j>u&&j<p&&!c)&&g.height("auto")},_getPosition:function(a){var d=b.current,e=b.getViewport(),c=d.margin,f=b.wrap.width()+c[1]+c[3],g=b.wrap.height()+c[0]+c[2],c={position:"absolute",top:c[0],left:c[3]};d.autoCenter&&d.fixed&&!a&&g<=e.h&&f<=e.w?c.position="fixed":d.locked||(c.top+=e.y,c.left+=e.x);c.top=w(Math.max(c.top,c.top+(e.h-g)*d.topRatio));c.left=w(Math.max(c.left,c.left+(e.w-f)*d.leftRatio));return c},_afterZoomIn:function(){var a=b.current;a&&(b.isOpen=b.isOpened=!0,b.wrap.css("overflow","visible").addClass("fancybox-opened"),b.update(),(a.closeClick||a.nextClick&&1<b.group.length)&&b.inner.css("cursor","pointer").bind("click.fb",function(d){!f(d.target).is("a")&&!f(d.target).parent().is("a")&&(d.preventDefault(),b[a.closeClick?"close":"next"]())}),a.closeBtn&&f(a.tpl.closeBtn).appendTo(b.skin).bind("click.fb",function(a){a.preventDefault();b.close()}),a.arrows&&1<b.group.length&&((a.loop||0<a.index)&&f(a.tpl.prev).appendTo(b.outer).bind("click.fb",b.prev),(a.loop||a.index<b.group.length-1)&&f(a.tpl.next).appendTo(b.outer).bind("click.fb",b.next)),b.trigger("afterShow"),!a.loop&&a.index===a.group.length-1?b.play(!1):b.opts.autoPlay&&!b.player.isActive&&(b.opts.autoPlay=!1,b.play()))},_afterZoomOut:function(a){a=a||b.current;f(".fancybox-wrap").trigger("onReset").remove();f.extend(b,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});b.trigger("afterClose",a)}});b.transitions={getOrigPosition:function(){var a=b.current,d=a.element,e=a.orig,c={},f=50,g=50,h=a.hPadding,j=a.wPadding,m=b.getViewport();!e&&(a.isDom&&d.is(":visible"))&&(e=d.find("img:first"),e.length||(e=d));t(e)?(c=e.offset(),e.is("img")&&(f=e.outerWidth(),g=e.outerHeight())):(c.top=m.y+(m.h-g)*a.topRatio,c.left=m.x+(m.w-f)*a.leftRatio);if("fixed"===b.wrap.css("position")||a.locked)c.top-=m.y,c.left-=m.x;return c={top:w(c.top-h*a.topRatio),left:w(c.left-j*a.leftRatio),width:w(f+j),height:w(g+h)}},step:function(a,d){var e,c,f=d.prop;c=b.current;var g=c.wrapSpace,h=c.skinSpace;if("width"===f||"height"===f)e=d.end===d.start?1:(a-d.start)/(d.end-d.start),b.isClosing&&(e=1-e),c="width"===f?c.wPadding:c.hPadding,c=a-c,b.skin[f](l("width"===f?c:c-g*e)),b.inner[f](l("width"===f?c:c-g*e-h*e))},zoomIn:function(){var a=b.current,d=a.pos,e=a.openEffect,c="elastic"===e,k=f.extend({opacity:1},d);delete k.position;c?(d=this.getOrigPosition(),a.openOpacity&&(d.opacity=0.1)):"fade"===e&&(d.opacity=0.1);b.wrap.css(d).animate(k,{duration:"none"===e?0:a.openSpeed,easing:a.openEasing,step:c?this.step:null,complete:b._afterZoomIn})},zoomOut:function(){var a=b.current,d=a.closeEffect,e="elastic"===d,c={opacity:0.1};e&&(c=this.getOrigPosition(),a.closeOpacity&&(c.opacity=0.1));b.wrap.animate(c,{duration:"none"===d?0:a.closeSpeed,easing:a.closeEasing,step:e?this.step:null,complete:b._afterZoomOut})}
822,changeIn:function(){var a=b.current,d=a.nextEffect,e=a.pos,c={opacity:1},f=b.direction,g;e.opacity=0.1;"elastic"===d&&(g="down"===f||"up"===f?"top":"left","down"===f||"right"===f?(e[g]=w(l(e[g])-200),c[g]="+=200px"):(e[g]=w(l(e[g])+200),c[g]="-=200px"));"none"===d?b._afterZoomIn():b.wrap.css(e).animate(c,{duration:a.nextSpeed,easing:a.nextEasing,complete:b._afterZoomIn})},changeOut:function(){var a=b.previous,d=a.prevEffect,e={opacity:0.1},c=b.direction;"elastic"===d&&(e["down"===c||"up"===c?"top":"left"]=("up"===c||"left"===c?"-":"+")+"=200px");a.wrap.animate(e,{duration:"none"===d?0:a.prevSpeed,easing:a.prevEasing,complete:function(){f(this).trigger("onReset").remove()}})}};b.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!s,fixed:!0},overlay:null,fixed:!1,el:f("html"),create:function(a){a=f.extend({},this.defaults,a);this.overlay&&this.close();this.overlay=f('<div class="fancybox-overlay"></div>').appendTo(b.coming?b.coming.parent:a.parent);this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(n.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive?b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){var a,b;n.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),a=n.scrollTop(),b=n.scrollLeft(),this.el.removeClass("fancybox-lock"),n.scrollTop(a).scrollLeft(b));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%");I?(b=Math.max(G.documentElement.offsetWidth,G.body.offsetWidth),p.width()>b&&(a=p.width())):p.width()>n.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&(this.fixed&&b.fixed)&&(e||(this.margin=p.height()>n.height()?f("html").css("margin-right").replace("px",""):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var e,c;b.locked&&(!1!==this.margin&&(f("*").filter(function(){return"fixed"===f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),e=n.scrollTop(),c=n.scrollLeft(),this.el.addClass("fancybox-lock"),n.scrollTop(e).scrollLeft(c));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(q(e)&&""!==f.trim(e)){d=f('<div class="fancybox-title fancybox-title-'+c+'-wrap">'+e+"</div>");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),I&&d.width(d.width()),d.wrapInner('<span class="child"></span>'),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+'"]'),j=h.index(this)),a.index=j,!1!==b.o
822pen(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):p.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===v&&(f.scrollbarWidth=function(){var a=f('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===v){a=f.support;d=f('<div style="position:fixed;top:20px;"></div>').appendTo("body");var e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(r).width();J.addClass("fancybox-lock-test");d=f(r).width();J.removeClass("fancybox-lock-test");f("<style type='text/css'>.fancybox-margin{margin-right:"+(d-a)+"px;}</style>").appendTo("head")})})(window,document,jQuery);/**
823 * 2007-2020 PrestaShop and Contributors
824 *
825 * NOTICE OF LICENSE
826 *
827 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
828 * that is bundled with this package in the file LICENSE.txt.
829 * It is also available through the world-wide-web at this URL:
830 * https://opensource.org/licenses/AFL-3.0
831 * If you did not receive a copy of the license and are unable to
832 * obtain it through the world-wide-web, please send an email
833 * to [email protected] so we can send you a copy immediately.
834 *
835 * @author    PrestaShop SA <[email protected]>
836 * @copyright 2007-2020 PrestaShop SA and Contributors
837 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
838 * International Registered Trademark & Property of PrestaShop SA
839 */
840$(document).ready(function(){prestashop.blockcart=prestashop.blockcart||{};var showModal=prestashop.blockcart.showModal||function(modal){var $body=$('body');$body.append(modal);$body.one('click','#blockcart-modal',function(event){if(event.target.id==='blockcart-modal'){$(event.target).remove()}})};prestashop.on('updateCart',function(event){var refreshURL=$('.blockcart').data('refresh-url');var requestData={};if(event&&event.reason&&typeof event.resp!=='undefined'&&!event.resp.hasError){requestData={id_customization:event.reason.idCustomization,id_product_attribute:event.reason.idProductAttribute,id_product:event.reason.idProduct,action:event.reason.linkAction}}
841if(event&&event.resp&&event.resp.hasError){prestashop.emit('showErrorNextToAddtoCartButton',{errorMessage:event.resp.errors.join('<br/>')})}
842$.post(refreshURL,requestData).then(function(resp){var html=$('<div />').append($.parseHTML(resp.preview));$('.blockcart').replaceWith($(resp.preview).find('.blockcart'));if(resp.modal){showModal(resp.modal)}}).fail(function(resp){prestashop.emit('handleError',{eventType:'updateShoppingCart',resp:resp})})});var refreshURL=$('.blockcart').data('refresh-url');$.post(refreshURL,{}).then(function(resp){var html=$('<div />').append($.parseHTML(resp.preview));$('.blockcart').replaceWith($(resp.preview).find('.blockcart'))})});$(document).ready(function(){$.each(list_menu,function(index,value){if(value.type=="horizontal"){var megamenu_element=$('.cavas_menu[data-megamenu-id='+value.id+']');if($("body").attr("id")=="index")isHomeMenu=1;megamenu_element.find(".megamenu > li > a").each(function(){menuURL=$(this).attr("href").replace("https://","").replace("http://","").replace("www.","").replace(/#\w*/,"");if((currentURL==menuURL)||(currentURL.replace(current_link,"")==menuURL)||isHomeMenu){$(this).parent().addClass("active");return!1}});if($(window).width()<=767){set_target_blank(!1,megamenu_element)}else{set_target_blank(!0,megamenu_element)}
843if(value.show_cavas==1){$.fn.OffCavasmenu=function(opts){var config=$.extend({},{opt1:null,text_warning_select:text_warning_select_txt,text_confirm_remove:text_confirm_remove_txt,JSON:null},opts);this.each(function(){var $btn=megamenu_element.find('.navbar-toggler');var $nav=null;if(!$btn.length)
844return;var $nav=$("<section class='off-canvas-nav-megamenu' data-megamenu-id="+value.id+"><nav class='offcanvas-mainnav' ><div class='off-canvas-button-megamenu'><span class='off-canvas-nav'></span>"+close_bt_txt+"</div></nav></section>");var $menucontent=$($btn.data('target')).find('.megamenu').clone();$("body").append($nav);$('body #page').append("<div class='megamenu-overlay' data-megamenu-id="+value.id+"></div>");$(".megamenu-overlay[data-megamenu-id="+value.id+"]").click(function(){$btn.trigger('click')});$(".off-canvas-nav-megamenu[data-megamenu-id="+value.id+"] .offcanvas-mainnav").append($menucontent);$("html").addClass("off-canvas");$(".off-canvas-nav-megamenu[data-megamenu-id="+value.id+"]").find(".off-canvas-button-megamenu").click(function(){off_canvas_active()});if($btn.is(':visible')){$("body").removeClass("off-canvas-active").addClass("off-canvas-inactive")}
845$btn.click(function(){off_canvas_active();$('.off-canvas-nav-megamenu').removeClass('active');if(!$(".off-canvas-nav-megamenu[data-megamenu-id="+value.id+"]").hasClass('active')&&$('body').hasClass('off-canvas-active')){$(".off-canvas-nav-megamenu[data-megamenu-id="+value.id+"]").addClass('active');auto_height(value.id)}})});return this}
846megamenu_element.OffCavasmenu();megamenu_element.find('.navbar-toggler').click(function(){return!1});$(".off-canvas-nav-megamenu[data-megamenu-id="+value.id+"]").find('.offcanvas-mainnav .caret').click(function(){if($(this).parent('li').hasClass('open-sub')){$(this).parent('li').find('.dropdown-menu').first().slideUp('fast',function(){auto_height(value.id)});$(this).parent('li').removeClass('open-sub')}else{$(this).parent('li').siblings('.open-sub').find('.dropdown-menu').first().slideUp('fast');$(this).parent('li').siblings().removeClass('open-sub');$(this).parent('li').find('.dropdown-menu').first().slideDown('fast',function(){auto_height(value.id)});$(this).parent('li').addClass('open-sub')}});$(window).resize(function(){if($(window).width()>991){$("body").removeClass("off-canvas-active").addClass("off-canvas-inactive")}else{auto_height(value.id)}})}else{var $bt=megamenu_element.find('.navbar-toggler');var $menu=megamenu_element.find('.leo-top-menu');$bt.click(function(){if($menu.hasClass('in')){megamenu_element.removeClass('active')}else{if(!megamenu_element.hasClass('active')){megamenu_element.addClass('active')}}});megamenu_element.find('.leo-top-menu .dropdown-toggle').removeAttr("disabled");
846megamenu_element.find(".dropdown-toggle").click(function(){if($(window).width()<=767){if($(this).parent("li").find("div:first").hasClass("level2"))
847return!1;else return!0}});megamenu_element.find(".leo-top-menu li a").each(function(){if((this).hasAttribute('data-toggle')){$(this).removeAttr('data-toggle')}});megamenu_element.find(".leo-top-menu li a.dropdown-toggle").click(function(){if(!$(this).parent().hasClass('open')&&this.href&&this.href!='#'){window.location.href=this.href}})
848megamenu_element.find(".leo-top-menu .caret").click(function(){if($(this).parent('li').hasClass('open-sub')){$(this).parent('li').find('.dropdown-menu').first().slideUp('fast',function(){auto_height_off(megamenu_element)});$(this).parent('li').removeClass('open-sub')}else{$(this).parent('li').siblings('.open-sub').find('.dropdown-menu').first().slideUp('fast');$(this).parent('li').siblings().removeClass('open-sub');$(this).parent('li').find('.dropdown-menu').first().slideDown('fast',function(){auto_height_off(megamenu_element)});$(this).parent('li').addClass('open-sub')}});if($(document).width()>543){megamenu_element.find('.leo-top-menu .dropdown-menu').css('display','')}
849auto_height_off(megamenu_element);$(window).resize(function(){auto_height_off(megamenu_element);if($(document).width()>543){megamenu_element.find('.leo-top-menu .dropdown').removeClass('open-sub');megamenu_element.find('.leo-top-menu .dropdown-submenu').removeClass('open-sub');megamenu_element.find('.leo-top-menu .dropdown-menu').css('display','')}})}}else{var megamenu_element=$('.leo-verticalmenu[data-megamenu-id='+value.id+']');megamenu_element.find('.verticalmenu .dropdown-toggle').removeAttr("disabled");megamenu_element.find(".verticalmenu .dropdown-toggle").click(function(){if($(window).width()<=767){if($(this).parent("li").find("div:first").hasClass("level2"))
850return!1;else return!0}});megamenu_element.find('.verticalmenu .dropdown-toggle').removeAttr('data-toggle');megamenu_element.find(".verticalmenu .caret").click(function(){if($(this).parents('.verticalmenu').hasClass('active-button')){var $parent=$(this).parent('li');if($parent.hasClass('open-sub')){$parent.find('.dropdown-menu').first().slideUp('fast',function(){$parent.removeClass('open-sub')})}else{if($parent.siblings('.open-sub').length>0){$parent.siblings('.open-sub').find('.dropdown-menu').first().slideUp('fast',function(){$parent.siblings('.open-sub').removeClass('open-sub')});$parent.find('.dropdown-menu').first().slideDown('fast',function(){$parent.addClass('open-sub')})}else{$parent.find('.dropdown-menu').first().slideDown('fast',function(){$parent.addClass('open-sub')})}}
851return!1}});if($(window).width()>991){megamenu_element.find('.verticalmenu').addClass('active-hover');megamenu_element.find('.verticalmenu').removeClass('active-button');megamenu_element.find('.verticalmenu .dropdown-menu').css('display','');megamenu_element.find('.leo-verticalmenu').removeClass('active')}else{megamenu_element.find('.verticalmenu').removeClass('active-hover');megamenu_element.find('.verticalmenu').addClass('active-button')}
852$(window).resize(function(){if($(window).width()>991){megamenu_element.find('.verticalmenu .dropdown').removeClass('open-sub');megamenu_element.find('.verticalmenu .dropdown-submenu').removeClass('open-sub');megamenu_element.find('.verticalmenu').addClass('active-hover');megamenu_element.find('.verticalmenu').removeClass('active-button');megamenu_element.find('.verticalmenu .dropdown-menu').css('display','');megamenu_element.removeClass('active')}else{megamenu_element.find('.verticalmenu').removeClass('active-hover');megamenu_element.find('.verticalmenu').addClass('active-button')}});scrollSliderBarMenu(megamenu_element)}
853if(typeof value.list_tab!=='undefined'&&value.list_tab.length>0){$.each(value.list_tab,function(key,val){megamenu_element.find('#tabhtml'+val+' .nav a').hover(function(e){$(this).tab('show')})
854megamenu_element.find('#tabhtml'+val+' .nav a').click(function(e){e.preventDefault();if(screen.width>576){$(this).tab('show');window.location.href=$(this).data('href')}else{$(this).tab('show')}})
855$(".off-canvas-nav-megamenu[data-megamenu-id="+value.id+"]").find('#tabhtml'+val+' .nav a').click(function(e){e.preventDefault();if(!$(e.target).hasClass('nav-link')&&!$(this).hasClass('active')){var wrapper_tab=$(this).closest('.panel-group');var tab_href=$(this).attr('href');wrapper_tab.find('.nav-link').removeClass('active');wrapper_tab.find('.nav-item').removeClass('active');wrapper_tab.find('.tab-pane').removeClass('active');$(this).addClass('active');$(this).parents('.nav-item').addClass('active');wrapper_tab.find(tab_href).addClass('active')}else{window.location.href=$(this).data('href')}})})}
856if(typeof value.level!=='undefined'&&typeof value.limit!=='undefined'){megamenu_element.find('.widget-category_image ul.level0').each(function(){$(this).find('ul').removeClass('dropdown-sub dropdown-menu')});megamenu_element.find(".widget-category_image ul.level0").each(function(){var check_level=$(this).parents('.widget-category_image').data('level');var check_limit=$(this).parents('.widget-category_image').data('limit');$(this).find("ul.level"+check_level).parent().find('.caret').remove();$(this).find("ul.level"+check_level+" li").remove();var element=$(this).find("ul.level"+(check_level-1)+" li").length;var count=0;
856if(check_level>0){$(this).find("ul.level"+(check_level-1)+" >li").each(function(){count=count+1;if(count>check_limit){$(this).remove()}})}});$(".off-canvas-nav-megamenu[data-megamenu-id="+value.id+"] .offcanvas-mainnav").find(".widget-category_image ul.level0").each(function(){var check_level=$(this).parents('.widget-category_image').data('level');var check_limit=$(this).parents('.widget-category_image').data('limit');$(this).find("ul.level"+check_level).parent().find('.caret').remove();$(this).find("ul.level"+check_level+" li").remove();var element=$(this).find("ul.level"+(check_level-1)+" li").length;var count=0;if(check_level>0){$(this).find("ul.level"+(check_level-1)+" >li").each(function(){count=count+1;if(count>check_limit){$(this).remove()}})}})}
857if(value.type=="horizontal"){$(window).resize(function(){if($(window).width()<=767){set_target_blank(!1,megamenu_element)}else{set_target_blank(!0,megamenu_element)}})}
858if(value.type=="horizontal"&&value.show_cavas==1){$(document.body).on('click','[data-toggle="dropdown"]',function(){if(!$(this).parent().hasClass('open')&&this.href&&this.href!='#'){window.location.href=this.href}})}})
859$('.dropdown-menu.level1').parent().removeClass('aligned-fullwidth');$(".fancybox").fancybox({openEffect:'none',closeEffect:'none'})})
860function auto_height_off(menu_object){wrapper_height=$("#page").innerHeight();ul_height=menu_object.find(".leo-top-menu ul").innerHeight();ul_offset_top=menu_object.find(".leo-top-menu ul").offset().top;if(ul_offset_top+ul_height>wrapper_height){if(!$("#page").hasClass('megamenu-autoheight')){$("#page").addClass('megamenu-autoheight')}}else{$("#page").removeClass('megamenu-autoheight')}}
861function auto_height(menu_id){windowHeight=$(window).innerHeight();$(".off-canvas-nav-megamenu[data-megamenu-id="+menu_id+"] .offcanvas-mainnav").css('min-height',windowHeight)}
862function off_canvas_active(){if($('body').hasClass('off-canvas-active')){$("body").removeClass("off-canvas-active").addClass("off-canvas-inactive")}else if($('body').hasClass('off-canvas-inactive')){$("body").removeClass("off-canvas-inactive").addClass("off-canvas-active")}else{$("body").addClass("off-canvas-active")}}
863function set_target_blank(show,megamenu_element){if(show){megamenu_element.find(".leo-top-menu li a").each(function(){if($(this).hasClass('has-category')&&(this).hasAttribute('data-toggle')&&$(this).attr('target')=='_blank'){var value=$(this).attr('data-toggle');$(this).removeAttr('data-toggle');$(this).attr('remove-data-toggle',value)}})}else{megamenu_element.find(".leo-top-menu li a").each(function(){if($(this).hasClass('has-category')&&(this).hasAttribute('remove-data-toggle')&&$(this).attr('target')=='_blank'){var value=$(this).attr('remove-data-toggle');$(this).removeAttr('remove-data-toggle');$(this).attr('data-toggle',value)}})}}
864function scrollSliderBarMenu(megamenu_element){var menuElement=megamenu_element;var columnElement=null;var maxWindowSize=991;if($(columnElement).length&&$(window).width()>=maxWindowSize)showOrHideSliderBarMenu(columnElement,menuElement,1);megamenu_element.find(".verticalmenu-button").click(function(){if($(menuElement).hasClass('active')){showOrHideSliderBarMenu(columnElement,menuElement,0)}else{showOrHideSliderBarMenu(columnElement,menuElement,1)}});var lastWidth=$(window).width();$(window).resize(function(){if($(window).width()!=lastWidth){if($(window).width()<maxWindowSize){if($(menuElement).hasClass('active'))showOrHideSliderBarMenu(columnElement,menuElement,0);}else{if($(columnElement).length&&!$(menuElement).hasClass('active'))showOrHideSliderBarMenu(columnElement,menuElement,1);}
865lastWidth=$(window).width()}})}
866function showOrHideSliderBarMenu(columnElement,menuElement,active){if(active){$(menuElement).addClass('active');if($(columnElement).length&&$(window).width()>=991)
867columnElement.css('padding-top',($('.block_content',$(menuElement)).height())+'px');}else{$(menuElement).removeClass('active');if($(columnElement).length)columnElement.css('padding-top','');}};$(document).ready(function(){if(typeof enable_js_lang!='undefined'){$('ul#first-currencies li:not(.selected)').css('opacity',0.3);$('ul#first-currencies li:not(.selected)').hover(function(){$(this).css('opacity',1)},function(){$(this).css('opacity',0.3)})}
868if(typeof enable_js_currency!='undefined'){$("#setCurrency").mouseover(function(){$(this).addClass("countries_hover");$(".currencies_ul").addClass("currencies_ul_hover")});$("#setCurrency").mouseout(function(){$(this).removeClass("countries_hover");$(".currencies_ul").removeClass("currencies_ul_hover")})}
869if(typeof js_country!='undefined'){$("#countries").mouseover(function(){$(this).addClass("countries_hover");$(".countries_ul").addClass("countries_ul_hover")});$("#countries").mouseout(function(){$(this).removeClass("countries_hover");$(".countries_ul").removeClass("countries_ul_hover")})}})
870function setCurrency(id_currency){$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:prestashop.urls.base_url+'index.php'+'?rand='+new Date().getTime(),data:'controller=change-currency&id_currency='+parseInt(id_currency),success:function(msg){location.reload(!0)}})};/**
871 * DISCLAIMER
872 *
873 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
874 * versions in the future. If you wish to customize PrestaShop for your
875 * needs please refer to http://www.prestashop.com for more information.
876 * We offer the best and most useful modules PrestaShop and modifications for your online store.
877 *
878 * @author    knowband.com <[email protected]>
879 * @copyright 2017 Knowband
880 * @license   see file: LICENSE.txt
881 * @category  PrestaShop Module
882 *
883 */
884$(document).ready(function(){if($("[class*=contact-form]").find($("[name='message']")).length==0){$('#html_contact_seven').hide()}});$("[class*=contact-form]").find($("[name='message']").parents('.form-group').after($("#html_contact_seven")));$("[name='submitNewsletter']:first").parent().after($("#news_html_login_seven"));document.addEventListener('DOMContentLoaded',function(){function refreshCarousel(){var wrapper=document.querySelector('.seba-gifts-carousel-wrapper');if(!wrapper)return;fetch(sebaGiftsAjaxUrl,{method:'POST',headers:{'Content-Type':'application/json','X-Requested-With':'XMLHttpRequest'},body:JSON.stringify({action:'getCarousel'}),}).then(function(r){return r.json()}).then(function(data){if(data.success){wrapper.innerHTML=data.html}}).catch(function(){})}
885document.addEventListener('click',function(e){var btn=e.target.closest('.seba-gifts-add-btn');if(!btn)return;e.preventDefault();var sku=btn.dataset.sku;var idProduct=btn.dataset.idProduct;var idProductAttribute=btn.dataset.idProductAttribute;if(idProduct&&!idProductAttribute){var card=btn.closest('.seba-gifts-item');var select=card?card.querySelector('.seba-gifts-variant-select'):null;idProductAttribute=select?select.value:'';if(!idProductAttribute){if(select){select.classList.add('seba-gifts-variant-select--error');select.addEventListener('change',function(){select.classList.remove('seba-gifts-variant-select--error')},{once:!0})}
886return}}
887if(!sku&&!idProduct)return;btn.disabled=!0;btn.classList.add('seba-gifts-add-btn--loading');var payload={action:'addGift'};if(sku){payload.sku=sku}else{payload.id_product=parseInt(idProduct,10);payload.id_product_attribute=parseInt(idProductAttribute,10)}
888fetch(sebaGiftsAjaxUrl,{method:'POST',headers:{'Content-Type':'application/json','X-Requested-With':'XMLHttpRequest'},body:JSON.stringify(payload),}).then(function(r){return r.json()}).then(function(data){if(data.success){window.location.reload()}else{btn.disabled=!1;btn.classList.remove('seba-gifts-add-btn--loading');console.error('[seba_gifts] addGift failed:',data.message)}}).catch(function(){btn.disabled=!1;btn.classList.remove('seba-gifts-add-btn--loading')})});document.addEventListener('sebaCartUpdated',refreshCarousel)});class SebaProductSearch{constructor(selector){this.$root=$(selector);this.$icon=this.$root.find(".seba-product-search__icon");this.$form=this.$root.find(".seba-product-search__form");this.$button=this.$root.find(".seba-product-search__button");
888this.$input=this.$root.find(".seba-product-search__input input");this.$loadingIcon=this.$root.find("i.seba-product-search__icon--loading");this.$results=this.$root.find(".seba-product-search__results");this.$resultsLabel=this.$root.find(".seba-product-search__results-label");this.$resultsItems=this.$root.find(".seba-product-search__results-items");this.initEvents()}
889initEvents(){this.$icon.on("click",(e)=>{e.preventDefault();this.toggleForm()});this.$button.on("click",(e)=>{e.preventDefault();this.search()});this.$input.on("input",this.debounce((e)=>{const value=$(e.target).val().trim();if(value.length>1){this.search()}else{this.abortRequest();this.$loadingIcon.hide();this.$results.hide();this.$resultsItems.empty()}},100));this.$input.on("keydown",(e)=>{if(e.key==="Enter"){e.preventDefault()}});$(document).on("keydown",(e)=>{if(e.key==="Escape"){if(this.$form.hasClass("is-active")){this.toggleForm()}}});$(document).on("click",(e)=>{if(this.$form.hasClass("is-active")&&!$(e.target).closest(this.$root).length){this.toggleForm(!1)}})}
890debounce(fn,delay){let timer=null;return(...args)=>{clearTimeout(timer);timer=setTimeout(()=>fn.apply(this,args),delay)}}
891toggleForm(){this.$form.add(this.$icon).toggleClass("is-active");if(this.$form.hasClass("is-active")){this.$input.focus()}}
892abortRequest(){if(this.currentRequest){this.currentRequest.abort();this.currentRequest=null}}
893search(){this.$results.hide();this.$loadingIcon.show();let query=this.$input.val();this.$resultsLabel.find("span").text(query);this.abortRequest();this.currentRequest=$.ajax({url:window.seba_search_url,dataType:'json',data:{query:query,},success:(data)=>{this.currentRequest=null;this.$resultsItems.html(data.html);this.$loadingIcon.hide();this.$results.show()},error:(xhr,status)=>{if(status==="abort"){return}
894this.currentRequest=null;this.$loadingIcon.hide()}})}}
895$(document).ready(function(){const sebaSearch=new SebaProductSearch(".seba-product-search")});var options_modal_product_page={speed:300,dots:!1,infinite:!1,slidesToShow:4,slidesToScroll:1,vertical:!0,verticalSwiping:!0,responsive:[{breakpoint:1200,settings:{slidesToShow:3,slidesToScroll:1,},},{breakpoint:992,settings:{slidesToShow:2,slidesToScroll:1,},},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1,},},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1,},},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:1,},},{breakpoint:400,settings:{slidesToShow:1,slidesToScroll:1,},},],};var options_quickview={speed:300,dots:!1,infinite:!1,slidesToShow:4,slidesToScroll:1,vertical:!0,verticalSwiping:!0,responsive:[{breakpoint:1200,settings:{slidesToShow:4,slidesToScroll:1,},},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:1,},},{breakpoint:768,settings:{slidesToShow:4,slidesToScroll:1,},},{breakpoint:576,settings:{slidesToShow:3,slidesToScroll:1,},},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:1,},},],};$(window).resize(function(){if($("#product-modal .product-images").hasClass("slick-initialized")&&$("#product-modal .product-images").height()==0){$("#product-modal .product-images").slick("unslick");$("#product-modal .product-images").hide();initSlickProductModal()}});$(document).ready(function(){if(prestashop.page.page_name=="category"){setDefaultListGrid()}
896if(typeof products_list_functions!="undefined"){for(var i=0;i<products_list_functions.length;i++){products_list_functions[i]()}}
897$(".address-item .radio-block").click(function(){if(!$(this).parents(".address-item").hasClass("selected")){$(".address-item.selected").removeClass("selected");$(this).parents(".address-item").addClass("selected")}});actionQuickViewLoading();prestashop.on("updateProductList",function(){actionQuickViewLoading()});prestashop.on("updatedProduct",function(){if($(".quickview.modal .product-thumb-images").length){initSlickProductQuickView()}else if($(".product-detail .product-thumb-images").length){innitSlickandZoom()}});if(typeof $("#content").data("templatemodal")!="undefined"){if(!$("#content").data("templatemodal")){$('div[data-target="#product-modal"]').hide()}}});function actionQuickViewLoading(){$(".quick-view").click(function(){if(!$(this).hasClass("active")){$(this).addClass("active");$(this).find(".leo-quickview-bt-loading").css({display:"block"});$(this).find(".leo-quickview-bt-content").hide();if(typeof check_active_quickview!="undefined"){clearInterval(check_active_quickview)}
898check_active_quickview=setInterval(function(){if($(".quickview.modal").length){$(".quickview.modal").on("hide.bs.modal",function(e){$(".quick-view.active").find(".leo-quickview-bt-loading").hide();$(".quick-view.active").find(".leo-quickview-bt-content").show();$(".quick-view.active").removeClass("active")});clearInterval(check_active_quickview);initSlickProductQuickView()}},300)}})}
899$(document).on("click",".leo_grid",function(e){e.preventDefault();$("#js-product-list .product_list").removeClass("list");$("#js-product-list .product_list").addClass("grid");$(this).parent().find(".leo_list").removeClass("selected");$(this).addClass("selected");var configName=LEO_COOKIE_THEME+"_grid_list";
899$.cookie(configName,"grid",{expires:1,path:"/"})});$(document).on("click",".leo_list",function(e){e.preventDefault();$("#js-product-list .product_list").removeClass("grid");$("#js-product-list .product_list").addClass("list");$(this).parent().find(".leo_grid").removeClass("selected");$(this).addClass("selected");var configName=LEO_COOKIE_THEME+"_grid_list";$.cookie(configName,"list",{expires:1,path:"/"})});function setDefaultListGrid(){if($.cookie(LEO_COOKIE_THEME+"_grid_list")=="grid"){$(".leo_grid").trigger("click")}
900if($.cookie(LEO_COOKIE_THEME+"_grid_list")=="list"){$(".leo_list").trigger("click")}}
901function initSlickProductQuickView(){$(".quickview.modal .product-thumb-images").imagesLoaded(function(){if(typeof check_loaded_thumb_quickview!="undefined"){clearInterval(check_loaded_thumb_quickview)}
902check_loaded_thumb_quickview=setInterval(function(){if($(".quickview.modal .product-thumb-images").height()>0){$(".quickview.modal .product-thumb-images").fadeIn();clearInterval(check_loaded_thumb_quickview);$(".quickview.modal .product-thumb-images").slick(options_quickview)}},300)})}
903function initSlickProductModal(){$("#product-modal .product-images").imagesLoaded(function(){if(typeof check_loaded_thumb_modal!="undefined"){clearInterval(check_loaded_thumb_modal)}
904check_loaded_thumb_modal=setInterval(function(){if($("#product-modal .product-images").height()>0){$("#product-modal .product-images").fadeIn();clearInterval(check_loaded_thumb_modal);$("#product-modal .product-images").slick(options_modal_product_page)}},300)})}
905$(document).ready(function(){$(".product-flag").removeAttr("style");prestashop.on("updateProductList",function(){$(".product-flag").removeAttr("style")})});$().ready(function(){$(document).ajaxComplete(function(){$(".p-reference .product-reference").html($("#product-details .product-reference").clone());$(".p-reference .product-quantities").html($("#product-details .product-quantities").clone())})});(function($){"use strict";$(document).ready(function(){"use strict";var progressPath=document.querySelector(".progress-wrap path");if(!progressPath){return}
906var pathLength=progressPath.getTotalLength();progressPath.style.transition=progressPath.style.WebkitTransition="none";progressPath.style.strokeDasharray=pathLength+" "+pathLength;progressPath.style.strokeDashoffset=pathLength;progressPath.getBoundingClientRect();progressPath.style.transition=progressPath.style.WebkitTransition="stroke-dashoffset 10ms linear";var updateProgress=function(){var scroll=$(window).scrollTop();var height=$(document).height()-$(window).height();var progress=pathLength-(scroll*pathLength)/height;progressPath.style.strokeDashoffset=progress};updateProgress();$(window).scroll(updateProgress);var offset=50;var duration=550;jQuery(window).on("scroll",function(){if(jQuery(this).scrollTop()>offset){jQuery(".progress-wrap").addClass("active-progress")}else{jQuery(".progress-wrap").removeClass("active-progress")}});jQuery(".progress-wrap").on("click",function(event){event.preventDefault();jQuery("html, body").animate({scrollTop:0},duration);return!1})})})(jQuery);$(function(){$(".showmenu").click(function(e){e.stopPropagation();if($(".group-nav").hasClass("active-menu")){$(".group-nav").removeClass("active-menu");$(".bg-over-lay").removeClass("show-over-lay");$(".showmenu").removeClass("active")}else{$(".group-nav").addClass("active-menu");$(".bg-over-lay").addClass("show-over-lay");$(".showmenu").addClass("active")}});$(".closemenu").click(function(e){e.stopPropagation();if($(".group-nav").hasClass("active-menu")||$(".bg-over-lay").hasClass("show-over-lay")){$(".group-nav").removeClass("active-menu");$(".bg-over-lay").removeClass("show-over-lay")}
907$("body").find(".showmenu").removeClass("active")});$(document).click(function(event){if(!$(event.target).closest(".group-nav").length){$("body").find(".group-nav").removeClass("active-menu");$("body").find(".bg-over-lay").removeClass("show-over-lay");$("body").find(".showmenu").removeClass("active")}});$(".group-nav .nav-item .dropdown-menu").slideUp();$(".group-nav .nav-item.parent").click(function(e){if(!e.target.closest(".dropdown-menu")){$(".group-nav .nav-item .dropdown-menu").slideUp();if($(this).hasClass("active-menu")){$(this).children(".dropdown-menu").slideUp();$(this).removeClass("active-menu")}else{$(this).children(".dropdown-menu").slideDown();$(".group-nav .nav-item").removeClass("active-menu");$(this).addClass("active-menu")}}})});$(document).ready(function(){$(".box-banner2 .image_rotate").click(function(){$.fancybox({content:$(".box-banner2 .video").html(),helpers:{overlay:{locked:!1,},},})})});$(document).ready(function(){$(".box-video4 .image_rotate").click(function(){$.fancybox({content:$(".box-video4 .video").html(),helpers:{overlay:{locked:!1,},},})});$(".box-video7 .btn-play").click(function(){$.fancybox({content:$(".box-video7 .video").html(),helpers:{overlay:{locked:!1,},},})})});ap_list_functions.push(function(){$(".center-mode .block_content").imagesLoaded(function(){$(".center-mode .block_content").slick({dots:!1,arrows:!0,speed:300,mobileFirst:!0,slidesToShow:3,responsive:[{breakpoint:1200,settings:{slidesToShow:3,centerMode:!0,infinite:!0,centerPadding:"310px",slidesToScroll:1,},},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:1,infinite:!0,centerPadding:"50px",centerMode:!0,},},{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:1,infinite:!0,centerPadding:"50px",centerMode:!0,},},{breakpoint:576,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,centerPadding:"80px",centerMode:!0,},},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,centerPadding:"80px",centerMode:!0,},},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,centerPadding:"30px",centerMode:!0,},},],});$(".center-mode .block_content").removeClass("slick-loading").addClass("slick-loaded").parents(".slick-row").addClass("hide-loading")})});$(".box-tabs-category .tabs-top .sub-title-widget").detach().insertBefore(".box-tabs-category .tabs-top .nav-tabs .nav-item:first-child");$(".box-season6 .title_block.title-ap-column").detach().insertBefore(".box-season6 .tabs-left .nav-tabs .nav-item:first-child");
907ap_list_functions.push(function(){$(".category4-slick .block_content").imagesLoaded(function(){$(".category4-slick .block_content").slick({dots:!1,arrows:!1,speed:300,mobileFirst:!0,slidesToShow:5,rows:2,responsive:[{breakpoint:1440,settings:{slidesToShow:5,infinite:!0,},},{breakpoint:1100,settings:{slidesToShow:4,slidesToScroll:1,infinite:!0,},},{breakpoint:700,settings:{slidesToShow:3,slidesToScroll:1,infinite:!0,},},{breakpoint:400,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,},},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,},},],});$(".category4-slick .block_content").removeClass("slick-loading").addClass("slick-loaded").parents(".slick-row").addClass("hide-loading")})});$(".block-category h1").detach().insertBefore("#wrapper .breadcrumb ol li:first-child");$(document).ready(function(){$(document).on("click","#add-to-cart-or-refresh .product-variants .product-variants-item .input-container .btn-zoom",function(e){e.preventDefault();var $btn=$(this);var img=$btn.attr("data-zoom-img");$.fancybox({content:'<img src="'+img+'">',helpers:{overlay:{locked:!1,},},})})});$(document).ready(function(){$("body").on("mouseover",".leo-megamenu .dropdown-menu-inner ul.nav-links > li > a",function(event){var $self=$(this);if(!$self.attr("data-image")){return}
908var $row=$self.closest(".row");var $img=$row.find(".leo-widget img");$img.attr("src",$self.attr("data-image"))})});const headerInner=document.getElementById('header');var lastScrollTop=0;function syncBodyHeaderState(){const isUp=headerInner.classList.contains('isScrolled-up');if(isUp){document.body.classList.add('headerScrolledUp')}else{document.body.classList.remove('headerScrolledUp')}}
909document.addEventListener("scroll",function(){var st=window.pageYOffset||document.documentElement.scrollTop;if(st<=5){headerInner.classList.remove('isScrolled-up','isScrolled-down','isNearTop');document.body.classList.remove('headerScrolled','headerScrolledUp')}else if(st>lastScrollTop&&st>800){headerInner.classList.remove('isScrolled-up','isNearTop');headerInner.classList.add('isScrolled-down');document.body.classList.add('headerScrolled');syncBodyHeaderState()}else if(st<lastScrollTop){if(st<800&&st>0){headerInner.classList.remove('isScrolled-down');headerInner.classList.add('isNearTop')}else{headerInner.classList.remove('isScrolled-down','isNearTop');headerInner.classList.add('isScrolled-up');document.body.classList.add('headerScrolled')}
910syncBodyHeaderState()}
911lastScrollTop=st<=0?0:st},{passive:!0});$(document).ready(function(){$(document).on("click",".ekomi-widget-container .ministars-widget",function(){if($(".ekomi-widget-container #product-ratings").closest(".ekomi-widget-container").is(":visible")){$('html, body').animate({scrollTop:$(".ekomi-widget-container #product-ratings").offset().top-$('#header').height()},2000)}})});$(document).ready(function(){$(document).on("change","input.category-description__expand",function(){var el=document.getElementById("category-description");if(!el)return;if(this.checked){el.style.maxHeight=el.scrollHeight+"px";el.addEventListener("transitionend",function handler(){el.style.maxHeight="none";el.removeEventListener("transitionend",handler)});$(el).addClass("expand")}else{el.style.maxHeight=el.scrollHeight+"px";requestAnimationFrame(function(){requestAnimationFrame(function(){$(el).removeClass("expand");el.style.maxHeight=""})});var targetScroll=$(el).offset().top-$("#header").outerHeight(!0)-16;$("html, body").animate({scrollTop:targetScroll},400)}})});$(document).ready(function(){$(document).on("change","input.sg-description__expand",function(){var el=document.querySelector(".sg-description");if(!el)return;if(this.checked){el.style.maxHeight=el.scrollHeight+"px";el.addEventListener("transitionend",function handler(){el.style.maxHeight="none";el.removeEventListener("transitionend",handler)});$(el).addClass("expand")}else{el.style.maxHeight=el.scrollHeight+"px";requestAnimationFrame(function(){requestAnimationFrame(function(){$(el).removeClass("expand");el.style.maxHeight=""})});var targetScroll=$(el).offset().top-$("#header").outerHeight(!0)-16;$("html, body").animate({scrollTop:targetScroll},400)}});document.querySelectorAll('.js-product-miniature a').forEach(anchor=>{anchor.addEventListener('click',(e)=>{e.preventDefault();window.location.href=anchor.href})});$(document).ready(function(){$("[data-fancybox]").fancybox({afterClose:function(){$('html').removeClass('fancybox-lock')}})})});(function(){function initializeButtons(){const currentDate=new Date();const selectedDate=new Date("2023-10-10");if(currentDate.getTime()>=selectedDate.getTime()){$(".change-button-delivery").hide();changeButtonForestDelivery();setInterval(changeButtonForestDelivery,12000);function changeButtonForestDelivery(){$(".change-button-forest").hide("fast",function(){$(".change-button-delivery").show("fast")});setTimeout(function(){$(".change-button-delivery").hide("fast",function(){$(".change-button-forest").show("fast")})},6000)}}else{$(".change-button-forest").hide()}}
912$(document).ready(function(){initializeButtons()})})();document.addEventListener('DOMContentLoaded',function(){if(window.innerWidth>991)return;const marqueeContent=document.querySelector('.top-bar__content');if(!marqueeContent)return;const originalContent=marqueeContent.innerHTML;for(let i=0;i<3;i++){marqueeContent.innerHTML+=originalContent}
913const contentWidth=marqueeContent.scrollWidth;marqueeContent.style.width=`${contentWidth}px`;let isDragging=!1;let startX=0;let scrollX=0;let currentTranslate=0;const setTransform=(x)=>{marqueeContent.style.transform=`translateX(${x}px)`};marqueeContent.addEventListener('touchstart',(e)=>{isDragging=!0;startX=e.touches[0].clientX;marqueeContent.style.transition='none'});marqueeContent.addEventListener('touchmove',(e)=>{if(!isDragging)return;const deltaX=e.touches[0].clientX-startX;currentTranslate=scrollX+deltaX;setTransform(currentTranslate)});marqueeContent.addEventListener('touchend',()=>{isDragging=!1;scrollX=currentTranslate;marqueeContent.style.transition='transform 0.3s ease-out'});const speed=0.5;let lastTimestamp=null;const step=(timestamp)=>
913{if(!lastTimestamp)lastTimestamp=timestamp;const delta=timestamp-lastTimestamp;lastTimestamp=timestamp;if(!isDragging){scrollX-=speed;currentTranslate=scrollX;setTransform(currentTranslate)}
914const resetThreshold=marqueeContent.scrollWidth/2;if(Math.abs(scrollX)>resetThreshold){scrollX=0;currentTranslate=0;setTransform(0)}
915requestAnimationFrame(step)};requestAnimationFrame(step)});$(document).ready(function(){function isMobile(){return $(window).width()<=991}
916$('.nav-item.parent.dropdown > .nav-link').on('click',function(event){if(isMobile()){event.preventDefault();event.stopPropagation();var $caret=$(this).siblings('.caret');$caret.trigger('click')}})});document.addEventListener("DOMContentLoaded",function(){document.body.addEventListener("click",function(event){let link=event.target.closest("a");if(link&&(event.ctrlKey||event.metaKey)){event.preventDefault();event.stopPropagation();window.open(link.href,"_blank")}},!0)});$(document).ready(function(){$('.gpsr-label').on('click',function(){let parent=$(this).closest('.gpsr');let content=parent.find('.gpsr-content');$(this).toggleClass('active');content.stop(!0,!0).slideToggle(300)});document.getElementById('copyrightDate').textContent=new Date().getFullYear();
916document.querySelectorAll('.leo-product-show-review-title').forEach(el=>{for(const node of el.childNodes){if(node.nodeType===Node.TEXT_NODE&&node.textContent.trim()==='Opinie'){node.textContent=node.textContent.replace('Opinie','Bewertungen');break}}})});$(document).on('mouseenter mouseleave','.realization-and-delivery__title i',function(e){if($(window).width()>991){if(e.type==='mouseenter'){$('.realization-and-delivery__desc').addClass('show')}else{$('.realization-and-delivery__desc').removeClass('show')}}});$(document).on('click','.realization-and-delivery__title i',function(e){if($(window).width()<=991){e.stopPropagation();$('.realization-and-delivery__desc').toggleClass('show')}});$(document).on('click',function(e){if($(window).width()<=991){var $target=$(e.target);if(!$target.closest('.realization-and-delivery__title').length&&!$target.closest('.realization-and-delivery__desc').length){$('.realization-and-delivery__desc').removeClass('show')}}});document.addEventListener('click',function(e){const btn=e.target.closest('.copy-code-btn');if(!btn)return;const code=btn.dataset.code;if(navigator.clipboard){navigator.clipboard.writeText(code).then(()=>{btn.textContent='Kopiert';btn.classList.add('copied');setTimeout(()=>{btn.textContent='Code kopieren';btn.classList.remove('copied')},3000)}).catch(err=>{console.error('Błąd kopiowania:',err)})}else{console.warn('Clipboard API nieobsługiwane')}});document.addEventListener('click',function(e){const banner=e.target.closest('.banner-code-btn');if(!banner)return;const code=banner.dataset.code;if(!code)return;e.preventDefault();if(navigator.clipboard){navigator.clipboard.writeText(code).then(()=>{showToast(`Code "${code}" wurde kopiert`)}).catch(err=>{console.error('Fehler beim Kopieren:',err)})}else{console.warn('Clipboard-API wird nicht unterstützt')}});function showToast(message){const toast=document.createElement('div');toast.className='custom-notify';toast.textContent=message;document.body.appendChild(toast);setTimeout(()=>{toast.classList.add('visible')},10);setTimeout(()=>{toast.classList.remove('visible');setTimeout(()=>toast.remove(),300)},3000)}
917document.addEventListener('DOMContentLoaded',()=>{const dropdown=document.getElementById('leo_block_top');if(!dropdown)return;if(!dropdown.hasAttribute('tabindex')){dropdown.setAttribute('tabindex','0')}
918if(!dropdown.hasAttribute('role')){dropdown.setAttribute('role','button')}
919dropdown.addEventListener('keydown',(e)=>{if(e.key==='Enter'||e.key===' '){e.preventDefault();dropdown.classList.toggle('open')}});dropdown.addEventListener('click',()=>{e.stopPropagation();dropdown.classList.toggle('open')});const cartBlock=document.querySelector('#_desktop_cart .blockcart');const dropdownCart=document.querySelector('.leo-dropdown-cart');if(!cartBlock||!dropdownCart)return;if(!cartBlock.hasAttribute('tabindex')){cartBlock.setAttribute('tabindex','0')}
920if(!cartBlock.hasAttribute('role')){cartBlock.setAttribute('role','button')}
921cartBlock.addEventListener('click',()=>{e.stopPropagation();dropdownCart.classList.toggle('show')});cartBlock.addEventListener('keydown',(e)=>{if(e.key==='Enter'||e.key===' '){e.preventDefault();dropdownCart.classList.toggle('show')}})});document.addEventListener('DOMContentLoaded',()=>{document.body.addEventListener('keydown',(e)=>{const isRadioSpan=e.target.matches('.radio-label[role="radio"], .color[role="radio"]');if(isRadioSpan&&(e.key===' '||e.key==='Enter')){e.preventDefault();const span=e.target;const input=span.closest('label')?.querySelector('input[type="radio"]');if(input&&!input.checked){input.checked=!0;input.dispatchEvent(new Event('change',{bubbles:!0}));const groupName=input.name;const groupInputs=document.querySelectorAll(`input[name="${groupName}"]`);groupInputs.forEach((el)=>{const labelSpan=el.closest('label')?.querySelector('[role="radio"]');if(labelSpan){labelSpan.setAttribute('aria-checked',el.checked?'true':'false')}})}}});document.body.addEventListener('click',(e)=>{const isRadioSpan=e.target.matches('.radio-label[role="radio"], .color[role="radio"]');if(isRadioSpan){const span=e.target;const input=span.closest('label')?.querySelector('input[type="radio"]');if(input&&!input.checked){input.checked=!0;input.dispatchEvent(new Event('change',{bubbles:!0}));const groupName=input.name;const groupInputs=document.querySelectorAll(`input[name="${groupName}"]`);
921groupInputs.forEach((el)=>{const labelSpan=el.closest('label')?.querySelector('[role="radio"]');if(labelSpan){labelSpan.setAttribute('aria-checked',el.checked?'true':'false')}})}}});document.querySelectorAll('#checkout label[tabindex="0"]').forEach(label=>{label.addEventListener('keydown',(e)=>{if(e.key===' '||e.key==='Enter'){e.preventDefault();label.click()}})});document.body.addEventListener('keydown',e=>{if(e.key==='Enter'||e.key===' '){const title=e.target.closest('.tc-main-title[tabindex="0"]');if(title){e.preventDefault();const input=title.querySelector('input[type="radio"]');if(input&&!input.checked){input.checked=!0;input.dispatchEvent(new Event('change',{bubbles:!0}));title.classList.add('selected');document.querySelectorAll('.tc-main-title').forEach(t=>{if(t!==title)t.classList.remove('selected');})}}}});document.body.addEventListener('keydown',e=>{if(e.key==='Enter'||e.key===' '){const row=e.target.closest('.delivery-option-row[tabindex="0"]');if(row){e.preventDefault();const input=row.querySelector('input[type="radio"]');if(input&&!input.checked){input.checked=!0;row.classList.add('user-selected');row.parentElement.querySelectorAll('.delivery-option-row').forEach(r=>{if(r!==row)r.classList.remove('user-selected');});row.parentElement.querySelectorAll('.carrier-extra-content').forEach(content=>{content.style.display=content.previousElementSibling===row?'':'none'});input.dispatchEvent(new Event('change',{bubbles:!0}))}}}})});$(document).ready(function(){function initializeZoomFunctionality(){$('body').off('click.zoomAttr').on('click.zoomAttr','.attribute-zoom',function(e){e.preventDefault();var $parentLi=$(this).closest('li');var $lightboxLink=$parentLi.find('.fslightbox-link').first();if($lightboxLink.length){$lightboxLink[0].click()}})}
922initializeZoomFunctionality();$(document).ajaxComplete(function(){if(typeof refreshFsLightbox==="function"){refreshFsLightbox()}
923initializeZoomFunctionality()})});function initProductGallery(){var thumbsEl=document.querySelector('#product-thumbs');var mainEl=document.querySelector('#product-gallery');if(!thumbsEl||!mainEl)return;var thumbs=new Splide(thumbsEl,{fixedHeight:120,fixedWidth:120,direction:'ttb',height:'613px',gap:8,rewind:!1,drag:!0,pagination:!1,isNavigation:!0,arrows:!0,dragMinThreshold:{mouse:50,touch:80},breakpoints:{1440:{fixedHeight:90,fixedWidth:90,height:'563px',},1200:{fixedHeight:70,fixedWidth:70,direction:'ltr',height:'auto',}}});var main=new Splide(mainEl,{type:'fade',rewind:!0,pagination:!1,arrows:!1,lazyLoad:'nearby',});main.mount();thumbs.mount();main.sync(thumbs);thumbs.on('mounted resize',function(){thumbs.refresh()});enableThumbsWheel(thumbs)}
924function enableThumbsWheel(thumbs){const el=thumbs.root;const move=thumbs.Components.Move;let isHover=!1;let position=move.getPosition();el.addEventListener('mouseenter',()=>{isHover=!0;position=move.getPosition()});el.addEventListener('mouseleave',()=>{isHover=!1});el.addEventListener('wheel',function(e){if(!isHover)return;e.preventDefault();const speed=0.25;position-=e.deltaY*speed;const min=move.getLimit(!0);const max=move.getLimit(!1);if(position<min)position=min;if(position>max)position=max;move.translate(position)},{passive:!1})}
925document.addEventListener('DOMContentLoaded',()=>{const productPage=document.getElementById('product');if(productPage){initProductGallery();if(typeof fsLightbox!=='undefined'){fsLightboxInstances['product-gallery'].props.showThumbsOnMount=!0}}});function initFsLightboxEvents(){if(typeof fsLightboxInstances==="undefined")return;if(fsLightboxInstances["product-gallery"]){fsLightboxInstances["product-gallery"].props.showThumbsOnMount=!0;fsLightboxInstances["product-gallery"].props.onOpen=function(){document.body.classList.add('lightbox-product-gallery')};fsLightboxInstances["product-gallery"].props.onClose=function(){document.body.classList.remove('lightbox-product-gallery')}}
926if(fsLightboxInstances["gallery[6]"]){fsLightboxInstances["gallery[6]"].props.onOpen=function(){document.body.classList.add('lightbox-product-attributes-zoom')};fsLightboxInstances["gallery[6]"].props.onClose=function(){document.body.classList.remove('lightbox-product-attributes-zoom')}}}
927function refreshAndInitFsLightbox(){if(typeof refreshFsLightbox==="function"){refreshFsLightbox();queueMicrotask(initFsLightboxEvents)}}
928document.addEventListener('DOMContentLoaded',function(){initProductGallery();refreshAndInitFsLightbox()});if(typeof prestashop!=='undefined'){prestashop.on('updatedProduct',function(){initProductGallery();refreshAndInitFsLightbox()})}
929$(function(){const observer=new MutationObserver(()=>{if(document.getElementById('jOverlay')){document.documentElement.classList.add('no-scroll');document.body.classList.add('no-scroll')}else{document.documentElement.classList.remove('no-scroll');document.body.classList.remove('no-scroll')}});observer.observe(document.body,{childList:!0,subtree:!0})});var $products=$('.js-product-miniature');if($products.length){$products.each(function(){var activeAttrId=$(this).data('color-id-attribute');var $variants=$(this).find('.variant-links .color');if($variants.length){var $activeVariant=$variants.filter(function(){return $(this).data('id-attribute')==activeAttrId});if($activeVariant.length){$variants.removeClass('active');$activeVariant.addClass('active')}}})}
930prestashop.on('updateProduct',function(){$('[data-button-action="add-to-cart"]').prop('disabled',!0).addClass('variant-loading')});prestashop.on('updatedProduct',function(event){$('[data-button-action="add-to-cart"]').prop('disabled',!1).removeClass('variant-loading');let newReferenceToFisplay=event.product_data.reference_to_display;let referenceToFisplayField=$('.data-sheet__item#reference_to_display');if(referenceToFisplayField.length){referenceToFisplayField.find('.value').html(newReferenceToFisplay)}
931let newEan=event.product_data.ean;let eanField=$('.data-sheet__item#ean13');if(eanField.length){eanField.find('.value').html(newEan)}
932if($(".leo-more-cdown").length&&typeof $.LeoCustomAjax==='function'){var leoCustomAjax=new $.LeoCustomAjax();leoCustomAjax.processAjax()}
933if($(".showpopuppro").length&&typeof popup_reinit_buttons==='function'){popup_reinit_buttons()}});document.addEventListener('DOMContentLoaded',function(){const productName=document.querySelector('.product-detail-name');const productId=productName?parseInt(productName.dataset.idProduct,10):null;const allowedIds=[84,85,43,45,46,89,106,118,119,100,96,105,103,125,47];if(!allowedIds.includes(productId))return;initFloatingGallery();const ajaxObserver=new MutationObserver(()=>{const newGallery=document.querySelector('#product-gallery');if(newGallery&&!newGallery.dataset.floatingBound){initFloatingGallery()}});ajaxObserver.observe(document.body,{childList:!0,subtree:!0,})});function initFloatingGallery(){const gallery=document.querySelector('#product-gallery');const productName=document.querySelector('.product-detail-name');const addToCart=document.querySelector('.product-add-to-cart');if(!gallery||!productName||!addToCart)return;gallery.dataset.floatingBound='true';const placeholder=document.createElement('div');let isFixed=!1;let isAnimating=!1;function updateGalleryState(){const isMobile=window.matchMedia('(max-width: 767px)').matches;if(!isMobile){if(isFixed)resetGallery();return}
934const nameRect=productName.getBoundingClientRect();
934const addToCartRect=addToCart.getBoundingClientRect();const startFixed=nameRect.bottom<0;const stopFixed=addToCartRect.top<150;if(startFixed&&!stopFixed){if(!isFixed&&!isAnimating)fixGallery();}else{if(isFixed&&!isAnimating)resetGallery();}}
935function fixGallery(){isAnimating=!0;const height=gallery.offsetHeight;placeholder.style.height=`${height}px`;gallery.parentNode.insertBefore(placeholder,gallery);gallery.classList.add('product-gallery--floating');requestAnimationFrame(()=>{gallery.classList.add('visible')});setTimeout(()=>{isFixed=!0;isAnimating=!1},500)}
936function resetGallery(){isAnimating=!0;gallery.classList.remove('visible');setTimeout(()=>{gallery.classList.remove('product-gallery--floating');if(placeholder.parentNode)placeholder.remove();isFixed=!1;isAnimating=!1},400)}
937window.addEventListener('scroll',updateGalleryState,{passive:!0});window.addEventListener('resize',updateGalleryState);updateGalleryState()}
938document.addEventListener('DOMContentLoaded',()=>{const secondary=document.querySelector('.topbar-promotion-secondary');if(!secondary)return;let showSecondary=!0;secondary.classList.add('topbar-visible');setInterval(()=>{showSecondary=!showSecondary;if(showSecondary){secondary.classList.add('topbar-visible');secondary.classList.remove('topbar-hidden')}else{secondary.classList.add('topbar-hidden');secondary.classList.remove('topbar-visible')}},15000)});(function(){'use strict';function initAccordion(accordionEl){var panels=accordionEl.querySelectorAll('.panel-default');panels.forEach(function(panel){var body=panel.querySelector('.panel-collapse');var link=panel.querySelector('.panel-title a');if(!body||!link)return;body.style.overflow='hidden';body.style.transition='height 0.25s ease';if(body.classList.contains('in')){body.style.height='auto';link.classList.remove('collapsed');link.setAttribute('aria-expanded','true')}else{body.style.height='0px';link.classList.add('collapsed');link.setAttribute('aria-expanded','false')}
939var newLink=link.cloneNode(!0);link.parentNode.replaceChild(newLink,link);newLink.addEventListener('click',function(e){e.preventDefault();e.stopPropagation();if(newLink.getAttribute('aria-expanded')==='true'){closePanel(panel,newLink)}else{openPanel(panel,newLink)}})})}
940function openPanel(panel,link){var body=panel.querySelector('.panel-collapse');if(!body)return;body.classList.add('in');body.style.height=body.scrollHeight+'px';link.classList.remove('collapsed');link.setAttribute('aria-expanded','true');body.addEventListener('transitionend',function handler(){if(body.classList.contains('in')){body.style.height='auto'}
941body.removeEventListener('transitionend',handler)})}
942function closePanel(panel,link){var body=panel.querySelector('.panel-collapse');if(!body)return;if(body.style.height==='auto'){body.style.height=body.scrollHeight+'px';body.offsetHeight}
943body.style.height='0px';body.classList.remove('in');link.classList.add('collapsed');link.setAttribute('aria-expanded','false')}
944document.addEventListener('DOMContentLoaded',function(){setTimeout(function(){var accordions=document.querySelectorAll('.ap-accordion.panel-group');accordions.forEach(function(accordion){initAccordion(accordion)})},0)})})();(function(){document.addEventListener('DOMContentLoaded',function(){var panels=document.querySelectorAll('.ap-accordion .panel.panel-default');if(!panels.length)return;var items=[];panels.forEach(function(panel){var qEl=panel.querySelector('.panel-heading .panel-title a');var aEl=panel.querySelector('.panel-body .text');if(!qEl||!aEl)return;var question=qEl.textContent.trim();var tmp=document.createElement('div');tmp.innerHTML=aEl.innerHTML;var answer=(tmp.textContent||tmp.innerText||'').trim();if(question&&answer){items.push({'@type':'Question','name':question,'acceptedAnswer':{'@type':'Answer','text':answer}})}});if(!items.length)return;var schema={'@context':'https://schema.org','@type':'FAQPage','mainEntity':items};var script=document.createElement('script');script.type='application/ld+json';script.textContent=JSON.stringify(schema,null,2);document.head.appendChild(script)})})();function calcVariantLinksOverflow($container){let $spans=$container.find('span.color');let $more=$container.find('.variant-more');let $highlightedInformations=$container.closest('.highlighted-informations');if(!$spans.length)return;$spans.css('display','');$more.css('display','none').text('');var containerW=$highlightedInformations.width()-32;if(containerW<=0)return;var cutAt=Math.floor(containerW/28);if(cutAt<=0)return;if(cutAt<$spans.length){$spans.each(function(i){if(i>=cutAt)$(this).css('display','none');});$more.text('+'+($spans.length-cutAt)).css('display','inline-block')}}
945function initVariantLinksOverflow(){$('.thumbnail-container .variant-links').each(function(){calcVariantLinksOverflow($(this))})}
946$(document).ready(function(){initVariantLinksOverflow();setTimeout(initVariantLinksOverflow,700);var resizeTimer;$(window).on('resize.variantLinks',function(){clearTimeout(resizeTimer);resizeTimer=setTimeout(initVariantLinksOverflow,150)});$(document).on('init reInit','.slick-slider',function(){var $slider=$(this);setTimeout(function(){$slider.find('.thumbnail-container .variant-links').each(function(){calcVariantLinksOverflow($(this))})},100)})});if(navigator.modelContext&&typeof navigator.modelContext.provideContext==='function'){navigator.modelContext.provideContext({tools:[{name:'search_products',description:'Search the store catalog for products matching a query. Navigates to the search results page.',inputSchema:{type:'object',properties:{query:{type:'string',description:'Product search phrase'}},required:['query']},async execute({query}){window.location.href='/index.php?controller=search&s='+encodeURIComponent(query);return{content:[{type:'text',text:'Navigating to search results for: '+query}]}}},{name:'add_to_cart',description:'Add a product to the shopping cart. For products with variants (size, color), id_product_attribute is REQUIRED — it is the combination ID. You can find it on the product page URL after selecting a variant (e.g. /123-456-tshirt.html#/1-rozmiar-m or ?id_product_attribute=456) or in the hidden input [name=id_product_attribute] on the product page.',inputSchema:{type:'object',properties:{id_product:{type:'integer',description:'PrestaShop product ID'},id_product_attribute:{type:'integer',description:'Combination (variant) ID. Omit or 0 only for products without variants.'},quantity:{type:'integer',description:'Quantity, default 1'}},required:['id_product']},async execute({id_product,id_product_attribute=0,quantity=1}){const body=new URLSearchParams({controller:'cart',action:'update',add:'1',ajax:'1',id_product:String(id_product),id_product_attribute:String(id_product_attribute),qty:String(quantity),token:(window.prestashop&&prestashop.static_token)||''});const res=await fetch('/index.php',{method:'POST',headers:{'Content-Type':'application/x-www-form-urlencoded'},body});const data=await res.json();return{content:[{type:'text',text:data.hasError?'Error: '+(data.errors||[]).join('; '):'Added product '+id_product+(id_product_attribute?' (variant '+id_product_attribute+')':'')+'. Cart: '+(data.cart?.products_count??'?')+' items.'}]}}},{name:'add_current_product_to_cart',description:'Add the product currently displayed on this product page to the cart, with the currently selected variant (size/color). Select the desired variant on the page first, then call this. Only works on product pages.',inputSchema:{type:'object',properties:{quantity:{type:'integer',description:'Quantity, default 1'}}},async execute({quantity=1}){const form=document.querySelector('#add-to-cart-or-refresh, form.js-product-form');if(!form){return{content:[{type:'text',text:'Not a product page — no add-to-cart form found.'}]}}
947const fd=new FormData(form);fd.set('qty',String(quantity));fd.set('ajax','1');fd.set('action','update');fd.set('add','1');const res=await fetch('/index.php?controller=cart',{method:'POST',body:fd});const data=await res.json();return{content:[{type:'text',text:data.hasError?'Error: '+(data.errors||[]).join('; '):'Added "'+(document.querySelector('h1')?.textContent?.trim()||'product')+'" (variant '+fd.get('id_product_attribute')+'). Cart: '+(data.cart?.products_count??'?')+' items.'}]}}},{name:'get_cart_summary',description:'Get the current cart contents and total.',inputSchema:{type:'object',properties:{}},async execute(){const c=window.prestashop&&prestashop.cart;return{content:[{type:'text',text:c?'Cart: '+c.products_count+' items, total '+(c.totals?.total?.value||''):'Cart data unavailable on this page.'}]}}}]})};/*!
948Waypoints - 4.0.1
949Copyright © Caleb Troughton
950Licensed under the MIT license.
951https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
952*/
953(function(){'use strict'
954var keyCounter=0
955var allWaypoints={}
956function Waypoint(options){if(!options){throw new Error('No options passed to Waypoint constructor')}
957if(!options.element){throw new Error('No element option passed to Waypoint constructor')}
958if(!options.handler){throw new Error('No handler option passed to Waypoint constructor')}
959this.key='waypoint-'+keyCounter
960this.options=Waypoint.Adapter.extend({},Waypoint.defaults,options)
961this.element=this.options.element
962this.adapter=new Waypoint.Adapter(this.element)
963this.callback=options.handler
964this.axis=this.options.horizontal?'horizontal':'vertical'
965this.enabled=this.options.enabled
966this.triggerPoint=null
967this.group=Waypoint.Group.findOrCreate({name:this.options.group,axis:this.axis})
968this.context=Waypoint.Context.findOrCreateByElement(this.options.context)
969if(Waypoint.offsetAliases[this.options.offset]){this.options.offset=Waypoint.offsetAliases[this.options.offset]}
970this.group.add(this)
971this.context.add(this)
972allWaypoints[this.key]=this
973keyCounter+=1}
974Waypoint.prototype.queueTrigger=function(direction){this.group.queueTrigger(this,direction)}
975Waypoint.prototype.trigger=function(args){if(!this.enabled){return}
976if(this.callback){this.callback.apply(this,args)}}
977Waypoint.prototype.destroy=function(){this.context.remove(this)
978this.group.remove(this)
979delete allWaypoints[this.key]}
980Waypoint.prototype.disable=function(){this.enabled=!1
981return this}
982Waypoint.prototype.enable=function(){this.context.refresh()
983this.enabled=!0
984return this}
985Waypoint.prototype.next=function(){return this.group.next(this)}
986Waypoint.prototype.previous=function(){return this.group.previous(this)}
987Waypoint.invokeAll=function(method){var allWaypointsArray=[]
988for(var waypointKey in allWaypoints){allWaypointsArray.push(allWaypoints[waypointKey])}
989for(var i=0,end=allWaypointsArray.length;i<end;i++){allWaypointsArray[i][method]()}}
990Waypoint.destroyAll=function(){Waypoint.invokeAll('destroy')}
991Waypoint.disableAll=function(){Waypoint.invokeAll('disable')}
992Waypoint.enableAll=function(){Waypoint.Context.refreshAll()
993for(var waypointKey in allWaypoints){allWaypoints[waypointKey].enabled=!0}
994return this}
995Waypoint.refreshAll=function(){Waypoint.Context.refreshAll()}
996Waypoint.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight}
997Waypoint.viewportWidth=function(){return document.documentElement.clientWidth}
998Waypoint.adapters=[]
999Waypoint.defaults={context:window,continuous:!0,enabled:!0,group:'default',horizontal:!1,offset:0}
1000Waypoint.offsetAliases={'bottom-in-view':function(){return this.context.innerHeight()-this.adapter.outerHeight()},'right-in-view':function(){return this.context.innerWidth()-this.adapter.outerWidth()}}
1001window.Waypoint=Waypoint}());(function(){'use strict'
1002function requestAnimationFrameShim(callback){window.setTimeout(callback,1000/60)}
1003var keyCounter=0
1004var contexts={}
1005var Waypoint=window.Waypoint
1006var oldWindowLoad=window.onload
1007function Context(element){this.element=element
1008this.Adapter=Waypoint.Adapter
1009this.adapter=new this.Adapter(element)
1010this.key='waypoint-context-'+keyCounter
1011this.didScroll=!1
1012this.didResize=!1
1013this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()}
1014this.waypoints={vertical:{},horizontal:{}}
1015element.waypointContextKey=this.key
1016contexts[element.waypointContextKey]=this
1017keyCounter+=1
1018if(!Waypoint.windowContext){Waypoint.windowContext=!0
1019Waypoint.windowContext=new Context(window)}
1020this.createThrottledScrollHandler()
1021this.createThrottledResizeHandler()}
1022Context.prototype.add=function(waypoint){var axis=waypoint.options.horizontal?'horizontal':'vertical'
1023this.waypoints[axis][waypoint.key]=waypoint
1024this.refresh()}
1025Context.prototype.checkEmpty=function(){var horizontalEmpty=this.Adapter.isEmptyObject(this.waypoints.horizontal)
1026var verticalEmpty=this.Adapter.isEmptyObject(this.waypoints.vertical)
1027var isWindow=this.element==this.element.window
1028if(horizontalEmpty&&verticalEmpty&&!isWindow){this.adapter.off('.waypoints')
1029delete contexts[this.key]}}
1030Context.prototype.createThrottledResizeHandler=function(){var self=this
1031function resizeHandler(){self.handleResize()
1032self.didResize=!1}
1033this.adapter.on('resize.waypoints',function(){if(!self.didResize){self.didResize=!0
1034Waypoint.requestAnimationFrame(resizeHandler)}})}
1035Context.prototype.createThrottledScrollHandler=function(){var self=this
1036function scrollHandler(){self.handleScroll()
1037self.didScroll=!1}
1038this.adapter.on('scroll.waypoints',function(){if(!self.didScroll||Waypoint.isTouch){self.didScroll=!0
1039Waypoint.requestAnimationFrame(scrollHandler)}})}
1040Context.prototype.handleResize=function(){Waypoint.Context.refreshAll()}
1041Context.prototype.handleScroll=function(){var triggeredGroups={}
1042var axes={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:'right',backward:'left'},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:'down',backward:'up'}}
1043for(var axisKey in axes){var axis=axes[axisKey]
1044var isForward=axis.newScroll>axis.oldScroll
1045var direction=isForward?axis.forward:axis.backward
1046for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey]
1047if(waypoint.triggerPoint===null){continue}
1048var wasBeforeTriggerPoint=axis.oldScroll<waypoint.triggerPoint
1049var nowAfterTriggerPoint=axis.newScroll>=waypoint.triggerPoint
1050var crossedForward=wasBeforeTriggerPoint&&nowAfterTriggerPoint
1051var crossedBackward=!wasBeforeTriggerPoint&&!nowAfterTriggerPoint
1052if(crossedForward||crossedBackward){waypoint.queueTrigger(direction)
1053triggeredGroups[waypoint.group.id]=waypoint.group}}}
1054for(var groupKey in triggeredGroups){triggeredGroups[groupKey].flushTriggers()}
1055this.oldScroll={x:axes.horizontal.newScroll,y:axes.vertical.newScroll}}
1056Context.prototype.innerHeight=function(){if(this.element==this.element.window){return Waypoint.viewportHe
1056ight()}
1057return this.adapter.innerHeight()}
1058Context.prototype.remove=function(waypoint){delete this.waypoints[waypoint.axis][waypoint.key]
1059this.checkEmpty()}
1060Context.prototype.innerWidth=function(){if(this.element==this.element.window){return Waypoint.viewportWidth()}
1061return this.adapter.innerWidth()}
1062Context.prototype.destroy=function(){var allWaypoints=[]
1063for(var axis in this.waypoints){for(var waypointKey in this.waypoints[axis]){allWaypoints.push(this.waypoints[axis][waypointKey])}}
1064for(var i=0,end=allWaypoints.length;i<end;i++){allWaypoints[i].destroy()}}
1065Context.prototype.refresh=function(){var isWindow=this.element==this.element.window
1066var contextOffset=isWindow?undefined:this.adapter.offset()
1067var triggeredGroups={}
1068var axes
1069this.handleScroll()
1070axes={horizontal:{contextOffset:isWindow?0:contextOffset.left,contextScroll:isWindow?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:'right',backward:'left',offsetProp:'left'},vertical:{contextOffset:isWindow?0:contextOffset.top,contextScroll:isWindow?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:'down',backward:'up',offsetProp:'top'}}
1071for(var axisKey in axes){var axis=axes[axisKey]
1072for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey]
1073var adjustment=waypoint.options.offset
1074var oldTriggerPoint=waypoint.triggerPoint
1075var elementOffset=0
1076var freshWaypoint=oldTriggerPoint==null
1077var contextModifier,wasBeforeScroll,nowAfterScroll
1078var triggeredBackward,triggeredForward
1079if(waypoint.element!==waypoint.element.window){elementOffset=waypoint.adapter.offset()[axis.offsetProp]}
1080if(typeof adjustment==='function'){adjustment=adjustment.apply(waypoint)}else if(typeof adjustment==='string'){adjustment=parseFloat(adjustment)
1081if(waypoint.options.offset.indexOf('%')>-1){adjustment=Math.ceil(axis.contextDimension*adjustment/100)}}
1082contextModifier=axis.contextScroll-axis.contextOffset
1083waypoint.triggerPoint=Math.floor(elementOffset+contextModifier-adjustment)
1084wasBeforeScroll=oldTriggerPoint<axis.oldScroll
1085nowAfterScroll=waypoint.triggerPoint>=axis.oldScroll
1086triggeredBackward=wasBeforeScroll&&nowAfterScroll
1087triggeredForward=!wasBeforeScroll&&!nowAfterScroll
1088if(!freshWaypoint&&triggeredBackward){waypoint.queueTrigger(axis.backward)
1089triggeredGroups[waypoint.group.id]=waypoint.group}else if(!freshWaypoint&&triggeredForward){waypoint.queueTrigger(axis.forward)
1090triggeredGroups[waypoint.group.id]=waypoint.group}else if(freshWaypoint&&axis.oldScroll>=waypoint.triggerPoint){waypoint.queueTrigger(axis.forward)
1091triggeredGroups[waypoint.group.id]=waypoint.group}}}
1092Waypoint.requestAnimationFrame(function(){for(var groupKey in triggeredGroups){triggeredGroups[groupKey].flushTriggers()}})
1093return this}
1094Context.findOrCreateByElement=function(element){return Context.findByElement(element)||new Context(element)}
1095Context.refreshAll=function(){for(var contextId in contexts){contexts[contextId].refresh()}}
1096Context.findByElement=function(element){return contexts[element.waypointContextKey]}
1097window.onload=function(){if(oldWindowLoad){oldWindowLoad()}
1098Context.refreshAll()}
1099Waypoint.requestAnimationFrame=function(callback){var requestFn=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||requestAnimationFrameShim
1100requestFn.call(window,callback)}
1101Waypoint.Context=Context}());(function(){'use strict'
1102function byTriggerPoint(a,b){return a.triggerPoint-b.triggerPoint}
1103function byReverseTriggerPoint(a,b){return b.triggerPoint-a.triggerPoint}
1104var groups={vertical:{},horizontal:{}}
1105var Waypoint=window.Waypoint
1106function Group(options){this.name=options.name
1107this.axis=options.axis
1108this.id=this.name+'-'+this.axis
1109this.waypoints=[]
1110this.clearTriggerQueues()
1111groups[this.axis][this.name]=this}
1112Group.prototype.add=function(waypoint){this.waypoints.push(waypoint)}
1113Group.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}}
1114Group.prototype.flushTriggers=function(){for(var direction in this.triggerQueues){var waypoints=this.triggerQueues[direction]
1115var reverse=direction==='up'||direction==='left'
1116waypoints.sort(reverse?byReverseTriggerPoint:byTriggerPoint)
1117for(var i=0,end=waypoints.length;i<end;i+=1){var waypoint=waypoints[i]
1118if(waypoint.options.continuous||i===waypoints.length-1){waypoint.trigger([direction])}}}
1119this.clearTriggerQueues()}
1120Group.prototype.next=function(waypoint){this.waypoints.sort(byTriggerPoint)
1121var index=Waypoint.Adapter.inArray(waypoint,this.waypoints)
1122var isLast=index===this.waypoints.length-1
1123return isLast?null:this.waypoints[index+1]}
1124Group.prototype.previous=function(waypoint){this.waypoints.sort(byTriggerPoint)
1125var index=Waypoint.Adapter.inArray(waypoint,this.waypoints)
1126return index?this.waypoints[index-1]:null}
1127Group.prototype.queueTrigger=function(waypoint,direction){this.triggerQueues[direction].push(waypoint)}
1128Group.prototype.remove=function(waypoint){var index=Waypoint.Adapter.inArray(waypoint,this.waypoints)
1129if(index>-1){this.waypoints.splice(index,1)}}
1130Group.prototype.first=function(){return this.waypoints[0]}
1131Group.prototype.last=function(){return this.waypoints[this.waypoints.length-1]}
1132Group.findOrCreate=function(options){return groups[options.axis][options.name]||new Group(options)}
1133Waypoint.Group=Group}());(function(){'use strict'
1134var $=window.jQuery
1135var Waypoint=window.Waypoint
1136function JQueryAdapter(element){this.$element=$(element)}
1137$.each(['innerHeight','innerWidth','off','offset','on','outerHeight','outerWidth','scrollLeft','scrollTop'],function(i,method){JQueryAdapter.prototype[method]=function(){var args=Array.prototype.slice.call(arguments)
1138return this.$element[method].apply(this.$element,args)}})
1139$.each(['extend','inArray','isEmptyObject'],function(i,method){JQueryAdapter[method]=$[method]})
1140Waypoint.adapters.push({name:'jquery',Adapter:JQueryAdapter})
1141Waypoint.Adapter=JQueryAdapter}());(function(){'use strict'
1142var Waypoint=window.Waypoint
1143function createExtension(framework){return function(){var waypoints=[]
1144var overrides=arguments[0]
1145if(framework.isFunction(arguments[0])){overrides=framework.extend({},arguments[1])
1146overrides.handler=arguments[0]}
1147this.each(function(){var options=framework.extend({},overrides,{element:this})
1148if(typeof options.context==='string'){options.context=framework(this).closest(options.context)[0]}
1149waypoints.push(new Waypoint(options))})
1150return waypoints}}
1151if(window.jQuery){window.jQuery.fn.waypoint=createExtension(window.jQuery)}
1152if(window.Zepto){window.Zepto.fn.waypoint=createExtension(window.Zepto)}}());!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports&&"string"!=typeof exports.nodeName?module.exports=t():e.Instafeed=t()}(this,function(){function e(e,t){if(!e)throw new Error(t)}function t(t){e(!t||"object"==typeof t,"options must be an object, got "+t+" ("+typeof t+")");var o={accessToken:null,accessTokenTimeout:5e3,after:null,apiTimeout:5e3,debug:!1,error:null,filter:null,limit:null,mock:!1,render:null,sort:null,success:null,target:"instafeed",template:'<a href="{{link}}"><img title="{{caption}}" src="{{image}}" /></a>',templateBoundaries:["{{","}}"],transform:null};if(t)for(var n in o)void 0!==t[n]&&(o[n]=t[n]);e("string"==typeof o.target||"object"==typeof o.target,"target must be a string or DOM node, got "+o.target+" ("+typeof o.target+")"),e("string"==typeof o.accessToken||"function"==typeof o.accessToken,"accessToken must be a string or function, got "+o.accessToken+" ("+typeof o.accessToken+")"),e("number"==typeof o.accessTokenTimeout,"accessTokenTimeout must be a number, got "+o.accessTokenTimeout+" ("+typeof o.accessTokenTimeout+")"),e("number"==typeof o.apiTimeout,"apiTimeout must be a number, got "+o.apiTimeout+" ("+typeof o.apiTimeout+")"),e("boolean"==typeof o.debug,"debug must be true or false, got "+o.debug+" ("+typeof o.debug+")"),e("boolean"==typeof o.mock,"mock must be true or false, got "+o.mock+" ("+typeof o.mock+")"),e("object"==typeof o.templateBoundaries&&2===o.templateBoundaries.length&&"string"==typeof o.templateBoundaries[0]&&"string"==typeof o.templateBoundaries[1],"templateBoundaries must be an array of 2 strings, got "+o.templateBoundaries+" ("+typeof o.templateBoundaries+")"),e(!o.template||"string"==typeof o.template,"template must null or string, got "+o.template+" ("+typeof o.template+")"),e(!o.error||"function"==typeof o.error,"error must be null or function, got "+o.error+" ("+typeof o.error+")"),e(!o.after||"function"==typeof o.after,"after must be null or function, got "+o.after+" ("+typeof o.after+")"),e(!o.success||"function"==typeof o.success,"success must be null or function, got "+o.success+" ("+typeof o.success+")"),e(!o.filter||"function"==typeof o.filter,"filter must be null or function, got "+o.filter+" ("+typeof o.filter+")"),e(!o.transform||"function"==typeof o.transform,"transform must be null or function, got "+o.transform+" ("+typeof o.transform+")"),e(!o.sort||"function"==typeof o.sort,"sort must be null or function, got "+o.sort+" ("+typeof o.sort+")"),e(!o.render||"function"==typeof o.render,"render must be null or function, got "+o.render+" ("+typeof o.render+")"),e(!o.limit||"number"==typeof o.limit,"limit must be null or number, got "+o.limit+" ("+typeof o.limit+")"),this._state={running:!1},this._options=o}return t.prototype.run=function(){var e=this,t=null,o=null,n=null,r=null;return this._debug("run","options",this._options),this._debug("run","state",this._state),this._state.running?(this._debug("run","already running, skipping"),!1):(this._state.running=!0,this._debug("run","getting dom node"),(t="string"==typeof this._options.target?document.getElementById(this._options.target):this._options.target)?(this._debug("run","got dom node",t),this._debug("run","getting access token"),this._getAccessToken(function(s,i){if
vendor: 4,551 bytes, line 1152
1152(s)return e._debug("onTokenReceived","error",s),void e._fail(new Error("error getting access token: "+s.message));o="https://graph.instagram.com/me/media?fields=caption,id,media_type,media_url,permalink,thumbnail_url,timestamp,username&access_token="+i,e._debug("onTokenReceived","request url",o),e._makeApiRequest(o,function(o,s){if(o)return e._debug("onResponseReceived","error",o),void e._fail(new Error("api request error: "+o.message));e._debug("onResponseReceived","data",s),e._success(s);try{n=e._processData(s),e._debug("onResponseReceived","processed data",n)}catch(t){return void e._fail(t)}if(e._options.mock)e._debug("onResponseReceived","mock enabled, skipping render");else{try{r=e._renderData(n),e._debug("onResponseReceived","html content",r)}catch(t){return void e._fail(t)}t.innerHTML=r}e._finish()})}),!0):(this._fail(new Error("no element found with ID "+this._options.target)),!1))},t.prototype._processData=function(e){var t="function"==typeof this._options.transform,o="function"==typeof this._options.filter,n="function"==typeof this._options.sort,r="number"==typeof this._options.limit,s=[],i=null,a=null,u=null,c=null;if(this._debug("processData","hasFilter",o,"hasTransform",t,"hasSort",n,"hasLimit",r),"object"!=typeof e||"object"!=typeof e.data||e.data.length<=0)return null;for(var l=0;l<e.data.length;l++){if(a=this._getItemData(e.data[l]),t)try{u=this._options.transform(a),this._debug("processData","transformed item",a,u)}catch(e){throw this._debug("processData","error calling transform",e),new Error("error in transform: "+e.message)}else u=a;if(o){try{c=this._options.filter(u),this._debug("processData","filter item result",u,c)}catch(e){throw this._debug("processData","error calling filter",e),new Error("error in filter: "+e.message)}c&&s.push(u)}else s.push(u)}if(n)try{s.sort(this._options.sort)}catch(e){throw this._debug("processData","error calling sort",e),new Error("error in sort: "+e.message)}return r&&(i=s.length-this._options.limit,this._debug("processData","checking limit",s.length,this._options.limit,i),i>0&&s.splice(s.length-i,i)),s},t.prototype._getItemData=function(e){var t=null,o=null;switch(e.media_type){case"IMAGE":t="image",o=e.media_url;break;case"VIDEO":t="video",o=e.thumbnail_url;break;case"CAROUSEL_ALBUM":t="album",o=e.media_url}return{caption:e.caption,id:e.id,image:o,link:e.permalink,model:e,timestamp:e.timestamp,type:t,username:e.username}},t.prototype._renderData=function(e){var t="string"==typeof this._options.template,o="function"==typeof this._options.render,n=null,r=null,s="";if(this._debug("renderData","hasTemplate",t,"hasRender",o),"object"!=typeof e||e.length<=0)return null;for(var i=0;i<e.length;i++){if(n=e[i],o)try{r=this._options.render(n,this._options),this._debug("renderData","custom render result",n,r)}catch(e){throw this._debug("renderData","error calling render",e),new Error("error in render: "+e.message)}else t&&(r=this._basicRender(n));r?s+=r:this._debug("renderData","render item did not return any content",n)}return s},t.prototype._basicRender=function(e){for(var t=new RegExp(this._options.templateBoundaries[0]+"([\\s\\w.]+)"+this._options.templateBoundaries[1],"gm"),o=this._options.template,n=null,r="",s=0,i=null,a=null;null!==(n=t.exec(o));)i=n[1],r+=o.slice(s,n.index),(a=this._valueForKeyPath(i,e))&&(r+=a.toString()),s=t.lastIndex;return s<o.length&&(r+=o.slice(s,o.length)),r},t.prototype._valueForKeyPath=function(e,t){for(var o=/([\w]+)/gm,n=null,r=t;null!==(n=o.exec(e));){if("object"!=typeof r)return null;r=r[n[1]]}return r},t.prototype._fail=function(e){!this._runHook("error",e)&&console&&"function"==typeof console.error&&console.error(e),this._state.running=!1},t.prototype._finish=function(){this._runHook("after"),this._state.running=!1},t.prototype._success=function(e){this._runHook("success",e),this._state.running=!1},t.prototype._makeApiRequest=function(e,t){var o=!1,n=this,r=null,s=function(e,n){o||(o=!0,t(e,n))};(r=new XMLHttpRequest).timeout=this._options.apiTimeout,r.ontimeout=function(e){s(new Error("api request timed out"))},r.onerror=function(e){s(new Error("api connection error"))},r.onload=function(e){var t=r.getResponseHeader("Content-Type"),o=null;if(n._debug("apiRequestOnLoad","loaded",e),n._debug("apiRequestOnLoad","response status",r.status),n._debug("apiRequestOnLoad","response content type",t),t.indexOf("application/json")>=0)try{o=JSON.parse(r.responseText)}catch(e){return n._debug("apiRequestOnLoad","json parsing error",e,r.responseText),void s(new Error("error parsing response json"))}
1152200===r.status?s(null,o):o&&o.error?s(new Error(o.error.code+" "+o.error.message)):s(new Error("status code "+r.status))},r.open("GET",e,!0),r.send()},t.prototype._getAccessToken=function(e){var t=!1,o=this,n=null,r=function(o,r){t||(t=!0,clearTimeout(n),e(o,r))};if("function"==typeof this._options.accessToken){this._debug("getAccessToken","calling accessToken as function"),n=setTimeout(function(){o._debug("getAccessToken","timeout check",t),r(new Error("accessToken timed out"),null)},this._options.accessTokenTimeout);try{this._options.accessToken(function(e,n){o._debug("getAccessToken","received accessToken callback",t,e,n),r(e,n)})}catch(e){this._debug("getAccessToken","error invoking the accessToken as function",e),r(e,null)}}else this._debug("getAccessToken","treating accessToken as static",typeof this._options.accessToken),r(null,this._options.accessToken)},t.prototype._debug=function(){var e=null;this._options.debug&&console&&"function"==typeof console.log&&((e=[].slice.call(arguments))[0]="[Instafeed] ["+e[0]+"]",console.log.apply(null,e))},t.prototype._runHook=function(e,t){var o=!1;if("function"==typeof this._options[e])try{this._options[e](t),o=!0}catch(t){this._debug("runHook","error calling hook",e,t)}return o},t});/*!
1153 * Stellar.js v0.6.2
1154 * http://markdalgleish.com/projects/stellar.js
1155 *
1156 * Copyright 2014, Mark Dalgleish
1157 * This content is released under the MIT license
1158 * http://markdalgleish.mit-license.org
1159 */
1160;(function($,window,document,undefined){var pluginName='stellar',defaults={scrollProperty:'scroll',positionProperty:'position',horizontalScrolling:!0,verticalScrolling:!0,horizontalOffset:0,verticalOffset:0,responsive:!1,parallaxBackgrounds:!0,parallaxElements:!0,hideDistantElements:!0,hideElement:function($elem){$elem.hide()},showElement:function($elem){$elem.show()}},scrollProperty={scroll:{getLeft:function($elem){return $elem.scrollLeft()},setLeft:function($elem,val){$elem.scrollLeft(val)},getTop:function($elem){return $elem.scrollTop()},setTop:function($elem,val){$elem.scrollTop(val)}},position:{getLeft:function($elem){return parseInt($elem.css('left'),10)*-1},getTop:function($elem){return parseInt($elem.css('top'),10)*-1}},margin:{getLeft:function($elem){return parseInt($elem.css('margin-left'),10)*-1},getTop:function($elem){return parseInt($elem.css('margin-top'),10)*-1}},transform:{getLeft:function($elem){var computedTransform=getComputedStyle($elem[0])[prefixedTransform];return(computedTransform!=='none'?parseInt(computedTransform.match(/(-?[0-9]+)/g)[4],10)*-1:0)},getTop:function($elem){var computedTransform=getComputedStyle($elem[0])[prefixedTransform];return(computedTransform!=='none'?parseInt(computedTransform.match(/(-?[0-9]+)/g)[5],10)*-1:0)}}},positionProperty={position:{setLeft:function($elem,left){$elem.css('left',left)},setTop:function($elem,top){$elem.css('top',top)}},transform:{setPosition:function($elem,left,startingLeft,top,startingTop){$elem[0].style[prefixedTransform]='translate3d('+(left-startingLeft)+'px, '+(top-startingTop)+'px, 0)'}}},vendorPrefix=(function(){var prefixes=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,style=$('script')[0].style,prefix='',prop;for(prop in style){if(prefixes.test(prop)){prefix=prop.match(prefixes)[0];break}}
1161if('WebkitOpacity' in style){prefix='Webkit'}
1162if('KhtmlOpacity' in style){prefix='Khtml'}
1163return function(property){return prefix+(prefix.length>0?property.charAt(0).toUpperCase()+property.slice(1):property)}}()),prefixedTransform=vendorPrefix('transform'),supportsBackgroundPositionXY=$('<div />',{style:'background:#fff'}).css('background-position-x')!==undefined,setBackgroundPosition=(supportsBackgroundPositionXY?function($elem,x,y){$elem.css({'background-position-x':x,'background-position-y':y})}:function($elem,x,y){$elem.css('background-position',x+' '+y)}),getBackgroundPosition=(supportsBackgroundPositionXY?function($elem){return[$elem.css('background-position-x'),$elem.css('background-position-y')]}:function($elem){return $elem.css('background-position').split(' ')}),requestAnimFrame=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){setTimeout(callback,1000/60)});function Plugin(element,options){this.element=element;this.options=$.extend({},defaults,options);this._defaults=defaults;this._name=pluginName;this.init()}
1164Plugin.prototype={init:function(){this.options.name=pluginName+'_'+Math.floor(Math.random()*1e9);this._defineElements();this._defineGetters();this._defineSetters();
1164this._handleWindowLoadAndResize();this._detectViewport();this.refresh({firstLoad:!0});if(this.options.scrollProperty==='scroll'){this._handleScrollEvent()}else{this._startAnimationLoop()}},_defineElements:function(){if(this.element===document.body)this.element=window;this.$scrollElement=$(this.element);this.$element=(this.element===window?$('body'):this.$scrollElement);this.$viewportElement=(this.options.viewportElement!==undefined?$(this.options.viewportElement):(this.$scrollElement[0]===window||this.options.scrollProperty==='scroll'?this.$scrollElement:this.$scrollElement.parent()))},_defineGetters:function(){var self=this,scrollPropertyAdapter=scrollProperty[self.options.scrollProperty];this._getScrollLeft=function(){return scrollPropertyAdapter.getLeft(self.$scrollElement)};this._getScrollTop=function(){return scrollPropertyAdapter.getTop(self.$scrollElement)}},_defineSetters:function(){var self=this,scrollPropertyAdapter=scrollProperty[self.options.scrollProperty],positionPropertyAdapter=positionProperty[self.options.positionProperty],setScrollLeft=scrollPropertyAdapter.setLeft,setScrollTop=scrollPropertyAdapter.setTop;this._setScrollLeft=(typeof setScrollLeft==='function'?function(val){setScrollLeft(self.$scrollElement,val)}:$.noop);this._setScrollTop=(typeof setScrollTop==='function'?function(val){setScrollTop(self.$scrollElement,val)}:$.noop);this._setPosition=positionPropertyAdapter.setPosition||function($elem,left,startingLeft,top,startingTop){if(self.options.horizontalScrolling){positionPropertyAdapter.setLeft($elem,left,startingLeft)}
1165if(self.options.verticalScrolling){positionPropertyAdapter.setTop($elem,top,startingTop)}}},_handleWindowLoadAndResize:function(){var self=this,$window=$(window);if(self.options.responsive){$window.bind('load.'+this.name,function(){self.refresh()})}
1166$window.bind('resize.'+this.name,function(){self._detectViewport();if(self.options.responsive){self.refresh()}})},refresh:function(options){var self=this,oldLeft=self._getScrollLeft(),oldTop=self._getScrollTop();if(!options||!options.firstLoad){this._reset()}
1167this._setScrollLeft(0);this._setScrollTop(0);this._setOffsets();this._findParticles();this._findBackgrounds();if(options&&options.firstLoad&&/WebKit/.test(navigator.userAgent)){$(window).load(function(){var oldLeft=self._getScrollLeft(),oldTop=self._getScrollTop();self._setScrollLeft(oldLeft+1);self._setScrollTop(oldTop+1);self._setScrollLeft(oldLeft);self._setScrollTop(oldTop)})}
1168this._setScrollLeft(oldLeft);this._setScrollTop(oldTop)},_detectViewport:function(){var viewportOffsets=this.$viewportElement.offset(),hasOffsets=viewportOffsets!==null&&viewportOffsets!==undefined;this.viewportWidth=this.$viewportElement.width();this.viewportHeight=this.$viewportElement.height();this.viewportOffsetTop=(hasOffsets?viewportOffsets.top:0);this.viewportOffsetLeft=(hasOffsets?viewportOffsets.left:0)},_findParticles:function(){var self=this,scrollLeft=this._getScrollLeft(),scrollTop=this._getScrollTop();if(this.particles!==undefined){for(var i=this.particles.length-1;i>=0;i--){this.particles[i].$element.data('stellar-elementIsActive',undefined)}}
1169this.particles=[];if(!this.options.parallaxElements)return;this.$element.find('[data-stellar-ratio]').each(function(i){var $this=$(this),horizontalOffset,verticalOffset,positionLeft,positionTop,marginLeft,marginTop,$offsetParent,offsetLeft,offsetTop,parentOffsetLeft=0,parentOffsetTop=0,tempParentOffsetLeft=0,tempParentOffsetTop=0;if(!$this.data('stellar-elementIsActive')){$this.data('stellar-elementIsActive',this)}else if($this.data('stellar-elementIsActive')!==this){return}
1170self.options.showElement($this);if(!$this.data('stellar-startingLeft')){$this.data('stellar-startingLeft',$this.css('left'));$this.data('stellar-startingTop',$this.css('top'))}else{$this.css('left',$this.data('stellar-startingLeft'));$this.css('top',$this.data('stellar-startingTop'))}
1171positionLeft=$this.position().left;positionTop=$this.position().top;marginLeft=($this.css('margin-left')==='auto')?0:parseInt($this.css('margin-left'),10);marginTop=($this.css('margin-top')==='auto')?0:parseInt($this.css('margin-top'),10);offsetLeft=$this.offset().left-marginLeft;offsetTop=$this.offset().top-marginTop;$this.parents().each(function(){var $this=$(this);if($this.data('stellar-offset-parent')===!0){parentOffsetLeft=tempParentOffsetLeft;parentOffsetTop=tempParentOffsetTop;$offsetParent=$this;return!1}else{tempParentOffsetLeft+=$this.position().left;tempParentOffsetTop+=$this.position().top}});horizontalOffset=($this.data('stellar-horizontal-offset')!==undefined?$this.data('stellar-horizontal-offset'):($offsetParent!==undefined&&$offsetParent.data('stellar-horizontal-offset')!==undefined?$offsetParent.data('stellar-horizontal-offset'):self.horizontalOffset));verticalOffset=($this.data('stellar-vertical-offset')!==undefined?$this.data('stellar-vertical-offset'):($offsetParent!==undefined&&$offsetParent.data('stellar-vertical-offset')!==undefined?$offsetParent.data('stellar-vertical-offset'):self.verticalOffset));self.particles.push({$element:$this,$offsetParent:$offsetParent,
1171isFixed:$this.css('position')==='fixed',horizontalOffset:horizontalOffset,verticalOffset:verticalOffset,startingPositionLeft:positionLeft,startingPositionTop:positionTop,startingOffsetLeft:offsetLeft,startingOffsetTop:offsetTop,parentOffsetLeft:parentOffsetLeft,parentOffsetTop:parentOffsetTop,stellarRatio:($this.data('stellar-ratio')!==undefined?$this.data('stellar-ratio'):1),width:$this.outerWidth(!0),height:$this.outerHeight(!0),isHidden:!1})})},_findBackgrounds:function(){var self=this,scrollLeft=this._getScrollLeft(),scrollTop=this._getScrollTop(),$backgroundElements;this.backgrounds=[];if(!this.options.parallaxBackgrounds)return;$backgroundElements=this.$element.find('[data-stellar-background-ratio]');if(this.$element.data('stellar-background-ratio')){$backgroundElements=$backgroundElements.add(this.$element)}
1172$backgroundElements.each(function(){var $this=$(this),backgroundPosition=getBackgroundPosition($this),horizontalOffset,verticalOffset,positionLeft,positionTop,marginLeft,marginTop,offsetLeft,offsetTop,$offsetParent,parentOffsetLeft=0,parentOffsetTop=0,tempParentOffsetLeft=0,tempParentOffsetTop=0;if(!$this.data('stellar-backgroundIsActive')){$this.data('stellar-backgroundIsActive',this)}else if($this.data('stellar-backgroundIsActive')!==this){return}
1173if(!$this.data('stellar-backgroundStartingLeft')){$this.data('stellar-backgroundStartingLeft',backgroundPosition[0]);$this.data('stellar-backgroundStartingTop',backgroundPosition[1])}else{setBackgroundPosition($this,$this.data('stellar-backgroundStartingLeft'),$this.data('stellar-backgroundStartingTop'))}
1174marginLeft=($this.css('margin-left')==='auto')?0:parseInt($this.css('margin-left'),10);marginTop=($this.css('margin-top')==='auto')?0:parseInt($this.css('margin-top'),10);offsetLeft=$this.offset().left-marginLeft-scrollLeft;offsetTop=$this.offset().top-marginTop-scrollTop;$this.parents().each(function(){var $this=$(this);if($this.data('stellar-offset-parent')===!0){parentOffsetLeft=tempParentOffsetLeft;parentOffsetTop=tempParentOffsetTop;$offsetParent=$this;return!1}else{tempParentOffsetLeft+=$this.position().left;tempParentOffsetTop+=$this.position().top}});horizontalOffset=($this.data('stellar-horizontal-offset')!==undefined?$this.data('stellar-horizontal-offset'):($offsetParent!==undefined&&$offsetParent.data('stellar-horizontal-offset')!==undefined?$offsetParent.data('stellar-horizontal-offset'):self.horizontalOffset));verticalOffset=($this.data('stellar-vertical-offset')!==undefined?$this.data('stellar-vertical-offset'):($offsetParent!==undefined&&$offsetParent.data('stellar-vertical-offset')!==undefined?$offsetParent.data('stellar-vertical-offset'):self.verticalOffset));self.backgrounds.push({$element:$this,$offsetParent:$offsetParent,isFixed:$this.css('background-attachment')==='fixed',horizontalOffset:horizontalOffset,verticalOffset:verticalOffset,startingValueLeft:backgroundPosition[0],startingValueTop:backgroundPosition[1],startingBackgroun
1174dPositionLeft:(isNaN(parseInt(backgroundPosition[0],10))?0:parseInt(backgroundPosition[0],10)),startingBackgroundPositionTop:(isNaN(parseInt(backgroundPosition[1],10))?0:parseInt(backgroundPosition[1],10)),startingPositionLeft:$this.position().left,startingPositionTop:$this.position().top,startingOffsetLeft:offsetLeft,startingOffsetTop:offsetTop,parentOffsetLeft:parentOffsetLeft,parentOffsetTop:parentOffsetTop,stellarRatio:($this.data('stellar-background-ratio')===undefined?1:$this.data('stellar-background-ratio'))})})},_reset:function(){var particle,startingPositionLeft,startingPositionTop,background,i;for(i=this.particles.length-1;i>=0;i--){particle=this.particles[i];startingPositionLeft=particle.$element.data('stellar-startingLeft');startingPositionTop=particle.$element.data('stellar-startingTop');this._setPosition(particle.$element,startingPositionLeft,startingPositionLeft,startingPositionTop,startingPositionTop);this.options.showElement(particle.$element);particle.$element.data('stellar-startingLeft',null).data('stellar-elementIsActive',null).data('stellar-backgroundIsActive',null)}
1175for(i=this.backgrounds.length-1;i>=0;i--){background=this.backgrounds[i];background.$element.data('stellar-backgroundStartingLeft',null).data('stellar-backgroundStartingTop',null);setBackgroundPosition(background.$element,background.startingValueLeft,background.startingValueTop)}},destroy:function(){this._reset();this.$scrollElement.unbind('resize.'+this.name).unbind('scroll.'+this.name);this._animationLoop=$.noop;$(window).unbind('load.'+this.name).unbind('resize.'+this.name)},_setOffsets:function(){var self=this,$window=$(window);$window.unbind('resize.horizontal-'+this.name).unbind('resize.vertical-'+this.name);if(typeof this.options.horizontalOffset==='function'){this.horizontalOffset=this.options.horizontalOffset();$window.bind('resize.horizontal-'+this.name,function(){self.horizontalOffset=self.options.horizontalOffset()})}else{this.horizontalOffset=this.options.horizontalOffset}
1176if(typeof this.options.verticalOffset==='function'){this.verticalOffset=this.options.verticalOffset();$window.bind('resize.vertical-'+this.name,function(){self.verticalOffset=self.options.verticalOffset()})}else{this.verticalOffset=this.options.verticalOffset}},_repositionElements:function(){var scrollLeft=this._getScrollLeft(),scrollTop=this._getScrollTop(),horizontalOffset,verticalOffset,particle,fixedRatioOffset,background,bgLeft,bgTop,isVisibleVertical=!0,isVisibleHorizontal=!0,newPositionLeft,newPositionTop,newOffsetLeft,newOffsetTop,i;if(this.currentScrollLeft===scrollLeft&&this.currentScrollTop===scrollTop&&this.currentWidth===this.viewportWidth&&this.currentHeight===this.viewportHeight){return}else{this.currentScrollLeft=scrollLeft;this.currentScrollTop=scrollTop;this.currentWidth=this.viewportWidth;this.currentHeight=this.viewportHeight}
1177for(i=this.particles.length-1;i>=0;i--){particle=this.particles[i];fixedRatioOffset=(particle.isFixed?1:0);if(this.options.horizontalScrolling){newPositionLeft=(scrollLeft+particle.horizontalOffset+this.viewportOffsetLeft+particle.startingPositionLeft-particle.startingOffsetLeft+particle.parentOffsetLeft)*-(particle.stellarRatio+fixedRatioOffset-1)+particle.startingPositionLeft;newOffsetLeft=newPositionLeft-particle.startingPositionLeft+particle.startingOffsetLeft}else{newPositionLeft=particle.startingPositionLeft;newOffsetLeft=particle.startingOffsetLeft}
1178if(this.options.verticalScrolling){newPositionTop=(scrollTop+particle.verticalOffset+this.viewportOffsetTop+particle.startingPositionTop-particle.startingOffsetTop+particle.parentOffsetTop)*-(particle.stellarRatio+fixedRatioOffset-1)+particle.startingPositionTop;newOffsetTop=newPositionTop-particle.startingPositionTop+particle.startingOffsetTop}else{newPositionTop=particle.startingPositionTop;newOffsetTop=particle.startingOffsetTop}
1179if(this.options.hideDistantElements){isVisibleHorizontal=!this.options.horizontalScrolling||newOffsetLeft+particle.width>(particle.isFixed?0:scrollLeft)&&newOffsetLeft<(particle.isFixed?0:scrollLeft)+this.viewportWidth+this.viewportOffsetLeft;isVisibleVertical=!this.options.verticalScrolling||newOffsetTop+particle.height>
1179(particle.isFixed?0:scrollTop)&&newOffsetTop<(particle.isFixed?0:scrollTop)+this.viewportHeight+this.viewportOffsetTop}
1180if(isVisibleHorizontal&&isVisibleVertical){if(particle.isHidden){this.options.showElement(particle.$element);particle.isHidden=!1}
1181this._setPosition(particle.$element,newPositionLeft,particle.startingPositionLeft,newPositionTop,particle.startingPositionTop)}else{if(!particle.isHidden){this.options.hideElement(particle.$element);particle.isHidden=!0}}}
1182for(i=this.backgrounds.length-1;i>=0;i--){background=this.backgrounds[i];fixedRatioOffset=(background.isFixed?0:1);bgLeft=(this.options.horizontalScrolling?(scrollLeft+background.horizontalOffset-this.viewportOffsetLeft-background.startingOffsetLeft+background.parentOffsetLeft-background.startingBackgroundPositionLeft)*(fixedRatioOffset-background.stellarRatio)+'px':background.startingValueLeft);bgTop=(this.options.verticalScrolling?(scrollTop+background.verticalOffset-this.viewportOffsetTop-background.startingOffsetTop+background.parentOffsetTop-background.startingBackgroun
1182dPositionTop)*(fixedRatioOffset-background.stellarRatio)+'px':background.startingValueTop);setBackgroundPosition(background.$element,bgLeft,bgTop)}},_handleScrollEvent:function(){var self=this,ticking=!1;var update=function(){self._repositionElements();ticking=!1};var requestTick=function(){if(!ticking){requestAnimFrame(update);ticking=!0}};this.$scrollElement.bind('scroll.'+this.name,requestTick);requestTick()},_startAnimationLoop:function(){var self=this;this._animationLoop=function(){requestAnimFrame(self._animationLoop);self._repositionElements()};this._animationLoop()}};$.fn[pluginName]=function(options){var args=arguments;if(options===undefined||typeof options==='object'){return this.each(function(){if(!$.data(this,'plugin_'+pluginName)){$.data(this,'plugin_'+pluginName,new Plugin(this,options))}})}else if(typeof options==='string'&&options[0]!=='_'&&options!=='init'){return this.each(function(){var instance=$.data(this,'plugin_'+pluginName);if(instance instanceof Plugin&&typeof instance[options]==='function'){instance[options].apply(instance,Array.prototype.slice.call(args,1))}
1183if(options==='destroy'){$.data(this,'plugin_'+pluginName,null)}})}};$[pluginName]=function(options){var $window=$(window);return $window.stellar.apply($window,Array.prototype.slice.call(arguments,0))};$[pluginName].scrollProperty=scrollProperty;$[pluginName].positionProperty=positionProperty;window.Stellar=Plugin}(jQuery,this,document));if(typeof Object.create!=="function"){Object.create=function(obj){function F(){}
1184F.prototype=obj;return new F()}}(function($,window,document){var Carousel={init:function(options,el){var base=this;base.$elem=$(el);base.options=$.extend({},$.fn.owlCarousel.options,base.$elem.data(),options);base.userOptions=options;base.loadContent()},loadContent:function(){var base=this,url;function getData(data){var i,content="";if(typeof base.options.jsonSuccess==="function"){base.options.jsonSuccess.apply(this,[data])}else{for(i in data.owl){if(data.owl.hasOwnProperty(i)){content+=data.owl[i].item}}
1185base.$elem.html(content)}
1186base.logIn()}
1187if(typeof base.options.beforeInit==="function"){base.options.beforeInit.apply(this,[base.$elem])}
1188if(typeof base.options.jsonPath==="string"){url=base.options.jsonPath;$.getJSON(url,getData)}else{base.logIn()}},logIn:function(){var base=this;base.$elem.data({"owl-originalStyles":base.$elem.attr("style"),"owl-originalClasses":base.$elem.attr("class")});base.orignalItems=base.options.items;base.checkBrowser();base.wrapperWidth=0;base.checkVisible=null;base.setVars()},setVars:function(){var base=this;if(base.$elem.children().length===0){return!1}
1189base.baseClass();base.eventTypes();base.$userItems=base.$elem.children();base.itemsAmount=base.$userItems.length;base.wrapItems();base.$owlItems=base.$elem.find(".owl-item");base.$owlWrapper=base.$elem.find(".owl-wrapper");base.playDirection="next";base.prevItem=0;base.prevArr=[0];base.currentItem=0;base.customEvents();base.onStartup()},onStartup:function(){var base=this;base.updateItems();base.calculateAll();base.buildControls();base.updateControls();base.response();base.moveEvents();base.stopOnHover();base.owlStatus();if(base.options.transitionStyle!==!1){base.transitionTypes(base.options.transitionStyle)}
1190if(base.options.autoPlay===!0){base.options.autoPlay=5000}
1191base.play();base.$elem.find(".owl-wrapper").css("display","block");if(!base.$elem.is(":visible")){base.watchVisibility()}else{}
1192base.onstartup=!1;base.eachMoveUpdate();if(typeof base.options.afterInit==="function"){base.options.afterInit.apply(this,[base.$elem])}},eachMoveUpdate:function(){var base=this;if(base.options.lazyLoad===!0){base.lazyLoad()}
1193if(base.options.autoHeight===!0){base.autoHeight()}
1194base.onVisibleItems();if(typeof base.options.afterAction==="function"){base.options.afterAction.apply(this,[base.$elem])}}
1194,updateVars:function(){var base=this;if(typeof base.options.beforeUpdate==="function"){base.options.beforeUpdate.apply(this,[base.$elem])}
1195base.watchVisibility();base.updateItems();base.calculateAll();base.updatePosition();base.updateControls();base.eachMoveUpdate();if(typeof base.options.afterUpdate==="function"){base.options.afterUpdate.apply(this,[base.$elem])}},reload:function(){var base=this;window.setTimeout(function(){base.updateVars()},0)},watchVisibility:function(){var base=this;if(base.$elem.is(":visible")===!1){window.clearInterval(base.autoPlayInterval);window.clearInterval(base.checkVisible)}else{return!1}
1196base.checkVisible=window.setInterval(function(){if(base.$elem.is(":visible")){base.reload();window.clearInterval(base.checkVisible)}},500)},wrapItems:function(){var base=this;base.$userItems.wrapAll("<div class=\"owl-wrapper\">").wrap("<div class=\"owl-item\"></div>");base.$elem.find(".owl-wrapper").wrap("<div class=\"owl-wrapper-outer\">");base.wrapperOuter=base.$elem.find(".owl-wrapper-outer")},baseClass:function(){var base=this,hasBaseClass=base.$elem.hasClass(base.options.baseClass),hasThemeClass=base.$elem.hasClass(base.options.theme);if(!hasBaseClass){base.$elem.addClass(base.options.baseClass)}
1197if(!hasThemeClass){base.$elem.addClass(base.options.theme)}},updateItems:function(){var base=this,width,i;if(base.options.responsive===!1){return!1}
1198if(base.options.singleItem===!0){base.options.items=base.orignalItems=1;base.options.itemsCustom=!1;base.options.itemsDesktop=!1;base.options.itemsDesktopSmall=!1;base.options.itemsTablet=!1;base.options.itemsTabletSmall=!1;base.options.itemsMobile=!1;return!1}
1199width=$(base.options.responsiveBaseWidth).width();if(width>=(base.options.itemsDesktop[0]||base.orignalItems)){base.options.items=base.orignalItems}
1200if(base.options.itemsCustom!==!1){base.options.itemsCustom.sort(function(a,b){return a[0]-b[0]});for(i=0;i<base.options.itemsCustom.length;i+=1){if(base.options.itemsCustom[i][0]<=width){base.options.items=base.options.itemsCustom[i][1]}}}else{if(width<base.options.itemsDesktop[0]&&base.options.itemsDesktop!==!1){base.options.items=base.options.itemsDesktop[1]}
1201if(width<base.options.itemsDesktopSmall[0]&&base.options.itemsDesktopSmall!==!1){base.options.items=base.options.itemsDesktopSmall[1]}
1202if(width<base.options.itemsTablet[0]&&base.options.itemsTablet!==!1){base.options.items=base.options.itemsTablet[1]}
1203if(width<base.options.itemsTabletSmall[0]&&base.options.itemsTabletSmall!==!1){base.options.items=base.options.itemsTabletSmall[1]}
1204if(width<base.options.itemsMobile[0]&&base.options.itemsMobile!==!1){base.options.items=base.options.itemsMobile[1]}}
1205if(base.options.items>base.itemsAmount&&base.options.itemsScaleUp===!0){base.options.items=base.itemsAmount}},response:function(){var base=this,smallDelay,lastWindowWidth;
1205if(base.options.responsive!==!0){return!1}
1206lastWindowWidth=$(window).width();base.resizer=function(){if($(window).width()!==lastWindowWidth){if(base.options.autoPlay!==!1){window.clearInterval(base.autoPlayInterval)}
1207window.clearTimeout(smallDelay);smallDelay=window.setTimeout(function(){lastWindowWidth=$(window).width();base.updateVars()},base.options.responsiveRefreshRate)}};$(window).resize(base.resizer)},updatePosition:function(){var base=this;base.jumpTo(base.currentItem);if(base.options.autoPlay!==!1){base.checkAp()}},appendItemsSizes:function(){var base=this,roundPages=0,lastItem=base.itemsAmount-base.options.items;base.$owlItems.each(function(index){var $this=$(this);$this.css({"width":base.itemWidth}).data("owl-item",Number(index));if(index%base.options.items===0||index===lastItem){if(!(index>lastItem)){roundPages+=1}}
1208$this.data("owl-roundPages",roundPages)})},appendWrapperSizes:function(){var base=this,width=base.$owlItems.length*base.itemWidth,cssObj;base.options.direction=="rtl"?cssObj={"right":0,direction:"rtl"}:cssObj={"left":0};base.$owlWrapper.css({"width":width*2});base.appendItemsSizes()},calculateAll:function(){var base=this;base.calculateWidth();base.appendWrapperSizes();base.loops();base.max()},calculateWidth:function(){var base=this;base.itemWidth=Math.round((base.$elem.width()/base.options.items)*100)/100},max:function(){var base=this,maximum=((base.itemsAmount*base.itemWidth)-base.options.items*base.itemWidth)*-1;if(base.options.items>base.itemsAmount){base.maximumItem=0;maximum=0;base.maximumPixels=0}else{base.maximumItem=base.itemsAmount-base.options.items;base.maximumPixels=maximum}
1209return maximum},min:function(){return 0},loops:function(){var base=this,prev=0,elWidth=0,i,item,roundPageNum;base.positionsInArray=[0];base.pagesInArray=[];for(i=0;i<base.itemsAmount;i+=1){elWidth+=base.itemWidth;base.positionsInArray.push(-elWidth);if(base.options.scrollPerPage===!0){item=$(base.$owlItems[i]);roundPageNum=item.data("owl-roundPages");if(roundPageNum!==prev){base.pagesInArray[prev]=base.positionsInArray[i];prev=roundPageNum}}}},buildControls:function(){var base=this;if(base.options.navigation===!0||base.options.pagination===!0){base.owlControls=$("<div class=\"owl-controls\"/>").toggleClass("clickable",!base.browser.isTouch).appendTo(base.$elem)}
1210if(base.options.pagination===!0){base.buildPagination()}
1211if(base.options.navigation===!0){base.buildButtons()}},buildButtons:function(){var base=this,buttonsWrapper=$("<div class=\"owl-buttons\"/>");base.owlControls.append(buttonsWrapper);base.buttonPrev=$("<div/>",{"class":"owl-prev","html":base.options.navigationText[0]||""});base.buttonNext=$("<div/>",{"class":"owl-next","html":base.options.navigationText[1]||""});buttonsWrapper.append(base.buttonPrev).append(base.buttonNext);buttonsWrapper.on("touchstart.owlControls mousedown.owlControls","div[class^=\"owl\"]",function(event){event.preventDefault()});buttonsWrapper.on("touchend.owlControls mouseup.owlControls","div[class^=\"owl\"]",function(event){event.preventDefault();if($(this).hasClass("owl-next")){base.next()}else{base.prev()}})},buildPagination:function(){var base=this;base.paginationWrapper=$("<div class=\"owl-pagination\"/>");base.owlControls.append(base.paginationWrapper);base.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(event){event.preventDefault();if(Number($(this).data("owl-page"))!==base.currentItem){base.goTo(Number($(this).data("owl-page")),!0)}})},updatePagination:function(){var base=this,counter,lastPage,lastItem,i,paginationButton,paginationButtonInner;if(base.options.pagination===!1){return!1}
1212base.paginationWrapper.html("");counter=0;lastPage=base.itemsAmount-base.itemsAmount%base.options.items;for(i=0;i<base.itemsAmount;i+=1){if(i%base.options.items===0){counter+=1;if(lastPage===i){lastItem=base.itemsAmount-base.options.items}
1213paginationButton=$("<div/>",{"class":"owl-page"});paginationButtonInner=$("<span></span>",{"text":base.options.paginationNumbers===!0?counter:"","class":base.options.paginationNumbers===!0?"owl-numbers":""});paginationButton.append(paginationButtonInner);paginationButton.data("owl-page",lastPage===i?lastItem:i);paginationButton.data("owl-roundPages",counter);base.paginationWrapper.append(paginationButton)}}
1214base.checkPagination()},checkPagination:function(){var base=this;if(base.options.pagination===!1){return!1}
1215base.paginationWrapper.find(".owl-page").each(function(){if($(this).data("owl-roundPages")===$(base.$owlItems[base.currentItem]).data("owl-roundPages")){base.paginationWrapper.find(".owl-page").removeClass("active");$(this).addClass("active")}})},checkNavigation:function(){var base=this;if(base.options.navigation===!1){return!1}
1216if(base.options.rewindNav===!1){if(base.currentItem===0&&base.maximumItem===0){base.buttonPrev.addClass("disabled");base.buttonNext.addClass("disabled")}else if(base.currentItem===0&&base.maximumItem!==0){base.buttonPrev.addClass("disabled");base.buttonNext.removeClass("disabled")}else if(base.currentItem===base.maximumItem){base.buttonPrev.removeClass("disabled");base.buttonNext.addClass("disabled")}else if(base.currentItem!==0&&base.currentItem!==base.maximumItem){base.buttonPrev.removeClass("disabled");base.buttonNext.removeClass("disabled")}}},updateControls:function(){var base=this;base.updatePagination();base.checkNavigation();if(base.owlControls){if(base.options.items>=base.itemsAmount){base.owlControls.hide()}else{base.owlControls.show()}}},destroyControls:function(){var base=this;if(base.owlControls){base.owlControls.remove()}},next:function(speed){var base=this;if(base.isTransition){return!1}
1217base.currentItem+=base.options.scrollPerPage===!0?base.options.items:1;if(base.currentItem>base.maximumItem+(base.options.scrollPerPage===!0?(base.options.items-1):0)){if
1217(base.options.rewindNav===!0){base.currentItem=0;speed="rewind"}else{base.currentItem=base.maximumItem;return!1}}
1218base.goTo(base.currentItem,speed)},prev:function(speed){var base=this;if(base.isTransition){return!1}
1219if(base.options.scrollPerPage===!0&&base.currentItem>0&&base.currentItem<base.options.items){base.currentItem=0}else{base.currentItem-=base.options.scrollPerPage===!0?base.options.items:1}
1220if(base.currentItem<0){if(base.options.rewindNav===!0){base.currentItem=base.maximumItem;speed="rewind"}else{base.currentItem=0;return!1}}
1221base.goTo(base.currentItem,speed)},goTo:function(position,speed,drag){var base=this,goToPixel;if(base.isTransition){return!1}
1222if(typeof base.options.beforeMove==="function"){base.options.beforeMove.apply(this,[base.$elem])}
1223if(position>=base.maximumItem){position=base.maximumItem}else if(position<=0){position=0}
1224base.currentItem=base.owl.currentItem=position;if(base.options.transitionStyle!==!1&&drag!=="drag"&&base.options.items===1&&base.browser.support3d===!0){base.swapSpeed(0);if(base.browser.support3d===!0){base.transition3d(base.positionsInArray[position])}else{base.css2slide(base.positionsInArray[position],1)}
1225base.afterGo();base.singleItemTransition();return!1}
1226goToPixel=base.positionsInArray[position];if(base.browser.support3d===!0){base.isCss3Finish=!1;if(speed===!0){base.swapSpeed("paginationSpeed");window.setTimeout(function(){base.isCss3Finish=!0},base.options.paginationSpeed)}else if(speed==="rewind"){base.swapSpeed(base.options.rewindSpeed);window.setTimeout(function(){base.isCss3Finish=!0},base.options.rewindSpeed)}else{base.swapSpeed("slideSpeed");window.setTimeout(function(){base.isCss3Finish=!0},base.options.slideSpeed)}
1227base.transition3d(goToPixel)}else{if(speed===!0){base.css2slide(goToPixel,base.options.paginationSpeed)}else if(speed==="rewind"){base.css2slide(goToPixel,base.options.rewindSpeed)}else{base.css2slide(goToPixel,base.options.slideSpeed)}}
1228base.afterGo()},jumpTo:function(position){var base=this;if(typeof base.options.beforeMove==="function"){base.options.beforeMove.apply(this,[base.$elem])}
1229if(position>=base.maximumItem||position===-1){position=base.maximumItem}else if(position<=0){position=0}
1230base.swapSpeed(0);if(base.browser.support3d===!0){base.transition3d(base.positionsInArray[position])}else{base.css2slide(base.positionsInArray[position],1)}
1231base.currentItem=base.owl.currentItem=position;base.afterGo()},afterGo:function(){var base=this;base.prevArr.push(base.currentItem);base.prevItem=base.owl.prevItem=base.prevArr[base.prevArr.length-2];base.prevArr.shift(0);if(base.prevItem!==base.currentItem){base.checkPagination();base.checkNavigation();base.eachMoveUpdate();if(base.options.autoPlay!==!1){base.checkAp()}}
1232if(typeof base.options.afterMove==="function"&&base.prevItem!==base.currentItem){base.options.afterMove.apply(this,[base.$elem])}},stop:function(){var base=this;base.apStatus="stop";window.clearInterval(base.autoPlayInterval)},checkAp:function(){var base=this;if(base.apStatus!=="stop"){base.play()}},play:function(){var base=this;base.apStatus="play";if(base.options.autoPlay===!1){return!1}
1233window.clearInterval(base.autoPlayInterval);base.autoPlayInterval=window.setInterval(function(){base.next(!0)},base.options.autoPlay)},swapSpeed:function(action){var base=this;if(action==="slideSpeed"){base.$owlWrapper.css(base.addCssSpeed(base.options.slideSpeed))}else if(action==="paginationSpeed"){base.$owlWrapper.css(base.addCssSpeed(base.options.paginationSpeed))}else if(typeof action!=="string"){base.$owlWrapper.css(base.addCssSpeed(action))}},addCssSpeed:function(speed){return{"-webkit-transition":"all "+speed+"ms ease","-moz-transition":"all "+speed+"ms ease","-o-transition":"all "+speed+"ms ease","transition":"all "+speed+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"","transition":""}},doTranslate:function(pixels){var base=this;base.options.direction=="rtl"?pixels=-pixels:pixels=pixels;return{"-webkit-transform":"translate3d("+pixels+"px, 0px, 0px)","-moz-transform":"translate3d("+pixels+"px, 0px, 0px)","-o-transform":"translate3d("+pixels+"px, 0px, 0px)","-ms-transform":"translate3d("+pixels+"px, 0px, 0px)","transform":"translate3d("+pixels+"px, 0px,0px)"}},transition3d:function(value){var base=this;base.$owlWrapper.css(base.doTranslate(value))},css2move:function(value){var base=this,cssObj;base.options.direction=="rtl"?cssObj={"right":value}:cssObj={"left":value};base.$owlWrapper.css(cssObj)},css2slide:function(value,speed){var base=this,cssObj;base.options.direction=="rtl"?cssObj={"right":value}:cssObj={"left":value};base.isCssFinish=!1;base.$owlWrapper.stop(!0,!0).animate(cssObj,{duration:speed||base.options.slideSpeed,complete:function(){base.isCssFinish=!0}})},checkBrowser:function(){var base=this,translate3D="translate3d(0px, 0px, 0px)",tempElem=document.createElement("div"),regex,asSupport,support3d,isTouch;tempElem.style.cssText="  -moz-transform:"+translate3D+"; -ms-transform:"+translate3D+"; -o-transform:"+translate3D+"; -webkit-transform:"+translate3D+"; transform:"+translate3D;regex=/translate3d\(0px, 0px, 0px\)/g;asSupport=tempElem.style.cssText.match(regex);support3d=(asSupport!==null&&asSupport.length===1);isTouch="ontouchstart" in window||window.navigator.msMaxTouchPoints;base.browser={"support3d":support3d,"isTouch":isTouch}},moveEvents:function(){var base=this;if(base.options.mouseDrag!==!1||base.options.touchDrag!==!1){base.gestures();base.disabledEvents()}},eventTypes:function(){var base=this,types=["s","e","x"];base.ev_types={};if(base.options.mouseDrag===!0&&base.options.touchDrag===!0){types=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]}else if(base.options.mouseDrag===!1&&base.options.touchDrag===!0){types=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]}else if(base.options.mouseDrag===!0&&base.options.touchDrag===!1){types=["mousedown.owl","mousemove.owl","mouseup.owl"]}
1234base.ev_types.start=types[0];base.ev_types.move=types[1];base.ev_types.end=types[2]},disabledEvents:function(){var base=this;base.$elem.on("dragstart.owl",function(event){event.preventDefault()});base.$elem.on("mousedown.disableTextSelect",function(e){})},gestures:function(){var base=this,locals={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};base.isCssFinish=!0;function getTouches(event){if(event.touches!==undefined){return{x:event.touches[0].pageX,y:event.touches[0].pageY}}
1235if(event.touches===undefined){if(event.pageX!==undefined){return{x:event.pageX,y:event.pageY}}
1236if(event.pageX===undefined){return{x:event.clientX,y:event.clientY}}}}
1237function swapEvents(type){if(type==="on"){$(document).on(base.ev_types.move,dragMove);$(document).on(base.ev_types.end,dragEnd)}else if(type==="off"){$(document).off(base.ev_types.move);$(document).off(base.ev_types.end)}}
1238function dragStart(event){var ev=event.originalEvent||event||window.event,position;if(ev.which===3){return!1}
1239if(base.itemsAmount<=base.options.items){return}
1240if(base.isCssFinish===!1&&!base.options.dragBeforeAnimFinish){return!1}
1241if(base.isCss3Finish===!1&&!base.options.dragBeforeAnimFinish){return!1}
1242if(base.options.autoPlay!==!1){window.clearInterval(base.autoPlayInterval)}
1243if(base.browser.isTouch!==!0&&!base.$owlWrapper.hasClass("grabbing")){base.$owlWrapper.addClass("grabbing")}
1244base.newPosX=0;base.newRelativeX=0;$(this).css(base.removeTransition());position=$(this).position();if(base.options.direction=="rtl"){positionRight=base.$owlItems.eq(0).width()*base.currentItem;locals.relativePos=positionRight;
1244locals.offsetX=-getTouches(ev).x+positionRight}else{locals.relativePos=position.left;locals.offsetX=getTouches(ev).x-position.left}
1245locals.offsetY=getTouches(ev).y-position.top;swapEvents("on");locals.sliding=!1;locals.targetElement=ev.target||ev.srcElement}
1246function dragMove(event){var ev=event.originalEvent||event||window.event,minSwipe;if(base.options.direction=="rtl"){base.newPosX=-getTouches(ev).x-locals.offsetX;base.newPosY=getTouches(ev).y-locals.offsetY;base.newRelativeX=base.newPosX+locals.relativePos}else{base.newPosX=getTouches(ev).x-locals.offsetX;base.newPosY=getTouches(ev).y-locals.offsetY;base.newRelativeX=base.newPosX-locals.relativePos}
1247if(typeof base.options.startDragging==="function"&&locals.dragging!==!0&&base.newRelativeX!==0){locals.dragging=!0;base.options.startDragging.apply(base,[base.$elem])}
1248if((base.newRelativeX>8||base.newRelativeX<-8)&&(base.browser.isTouch===!0)){if(ev.preventDefault!==undefined){ev.preventDefault()}else{ev.returnValue=!1}
1249locals.sliding=!0}
1250if((base.newPosY>10||base.newPosY<-10)&&locals.sliding===!1){$(document).off("touchmove.owl")}
1251minSwipe=function(){return base.newRelativeX/5};maxSwipe=function(){return base.maximumPixels+base.newRelativeX/5};base.newPosX=Math.max(Math.min(base.newPosX,minSwipe()),maxSwipe());if(base.browser.support3d===!0){base.transition3d(base.newPosX)}else{base.css2move(base.newPosX)}}
1252function dragEnd(event){var ev=event.originalEvent||event||window.event,newPosition,handlers,owlStopEvent;ev.target=ev.target||ev.srcElement;locals.dragging=!1;if(base.browser.isTouch!==!0){base.$owlWrapper.removeClass("grabbing")}
1253if(base.options.direction=="rtl"){if(base.newRelativeX<0){base.dragDirection=base.owl.dragDirection="right"}else{base.dragDirection=base.owl.dragDirection="left"}}else{if(base.newRelativeX<0){base.dragDirection=base.owl.dragDirection="left"}else{base.dragDirection=base.owl.dragDirection="right"}}
1254if(base.newRelativeX!==0){newPosition=base.getNewPosition();base.goTo(newPosition,!1,"drag");if(locals.targetElement===ev.target&&base.browser.isTouch!==!0){$(ev.target).on("click.disable",function(ev){ev.stopImmediatePropagation();ev.stopPropagation();ev.preventDefault();$(ev.target).off("click.disable")});handlers=$._data(ev.target,"events").click;owlStopEvent=handlers.pop();handlers.splice(0,0,owlStopEvent)}}
1255swapEvents("off")}
1256base.$elem.on(base.ev_types.start,".owl-wrapper",dragStart)},getNewPosition:function(){var base=this,newPosition=base.closestItem();if(newPosition>base.maximumItem){base.currentItem=base.maximumItem;newPosition=base.maximumItem}else if(base.newPosX>=0){newPosition=0;base.currentItem=0}
1257return newPosition},closestItem:function(){var base=this,array=base.options.scrollPerPage===!0?base.pagesInArray:base.positionsInArray,goal=base.newPosX,closest=null;$.each(array,function(i,v){if(goal-(base.itemWidth/20)>array[i+1]&&goal-(base.itemWidth/20)<v&&base.moveDirection()==="left"){closest=v;if(base.options.scrollPerPage===!0){base.currentItem=$.inArray(closest,base.positionsInArray)}else{base.currentItem=i}}else if(goal+(base.itemWidth/20)<v&&goal+(base.itemWidth/20)>(array[i+1]||array[i]-base.itemWidth)&&base.moveDirection()==="right"){if(base.options.scrollPerPage===!0){closest=array[i+1]||array[array.length-1];base.currentItem=$.inArray(closest,base.positionsInArray)}else{closest=array[i+1];base.currentItem=i+1}}});return base.currentItem},moveDirection:function(){var base=this,direction;if(base.newRelativeX<0){direction="right";base.playDirection="next"}else{direction="left";base.playDirection="prev"}
1258return direction},customEvents:function(){var base=this;base.$elem.on("owl.next",function(){base.next()});base.$elem.on("owl.prev",function(){base.prev()});base.$elem.on("owl.play",function(event,speed){base.options.autoPlay=speed;base.play();base.hoverStatus="play"});base.$elem.on("owl.stop",function(){base.stop();base.hoverStatus="stop"});base.$elem.on("owl.goTo",function(event,item){base.goTo(item)});base.$elem.on("owl.jumpTo",function(event,item){base.jumpTo(item)})},stopOnHover:function(){var base=this;if(base.options.stopOnHover===!0&&base.browser.isTouch!==!0&&base.options.autoPlay!==!1){base.$elem.on("mouseover",function(){base.stop()});base.$elem.on("mouseout",function(){if(base.hoverStatus!=="stop"){base.play()}})}},lazyLoad:function(){var base=this,i,$item,itemNumber,$lazyImg,follow;
1258if(base.options.lazyLoad===!1){return!1}
1259for(i=0;i<base.itemsAmount;i+=1){$item=$(base.$owlItems[i]);if($item.data("owl-loaded")==="loaded"){continue}
1260itemNumber=$item.data("owl-item");$lazyImg=$item.find(".lazyOwl");if(typeof $lazyImg.data("src")!=="string"){$item.data("owl-loaded","loaded");continue}
1261if($item.data("owl-loaded")===undefined){$lazyImg.hide();$item.addClass("loading").data("owl-loaded","checked")}
1262if(base.options.lazyFollow===!0){follow=itemNumber>=base.currentItem}else{follow=!0}
1263if(follow&&itemNumber<base.currentItem+base.options.items&&$lazyImg.length){$lazyImg.each(function(){base.lazyPreload($item,$(this))})}}},lazyPreload:function($item,$lazyImg){var base=this,iterations=0,isBackgroundImg;if($lazyImg.prop("tagName")==="DIV"){$lazyImg.css("background-image","url("+$lazyImg.data("src")+")");isBackgroundImg=!0}else{$lazyImg[0].src=$lazyImg.data("src")}
1264function showImage(){$item.data("owl-loaded","loaded").removeClass("loading");$lazyImg.removeAttr("data-src");if(base.options.lazyEffect==="fade"){$lazyImg.fadeIn(400)}else{$lazyImg.show()}
1265if(typeof base.options.afterLazyLoad==="function"){base.options.afterLazyLoad.apply(this,[base.$elem])}}
1266function checkLazyImage(){iterations+=1;if(base.completeImg($lazyImg.get(0))||isBackgroundImg===!0){showImage()}else if(iterations<=100){window.setTimeout(checkLazyImage,100)}else{showImage()}}
1267checkLazyImage()},autoHeight:function(){var base=this,$currentimg=$(base.$owlItems[base.currentItem]).find("img"),iterations;function addHeight(){var $currentItem=$(base.$owlItems[base.currentItem]).height();base.wrapperOuter.css("height",$currentItem+"px");if(!base.wrapperOuter.hasClass("autoHeight")){window.setTimeout(function(){base.wrapperOuter.addClass("autoHeight")},0)}}
1268function checkImage(){iterations+=1;if(base.completeImg($currentimg.get(0))){addHeight()}else if(iterations<=100){window.setTimeout(checkImage,100)}else{base.wrapperOuter.css("height","")}}
1269if($currentimg.get(0)!==undefined){iterations=0;checkImage()}else{addHeight()}},completeImg:function(img){var naturalWidthType;if(!img.complete){return!1}
1270naturalWidthType=typeof img.naturalWidth;if(naturalWidthType!=="undefined"&&img.naturalWidth===0){return!1}
1271return!0},onVisibleItems:function(){var base=this,i;if(base.options.addClassActive===!0){base.$owlItems.removeClass("active")}
1272base.visibleItems=[];for(i=base.currentItem;i<base.currentItem+base.options.items;i+=1){base.visibleItems.push(i);if(base.options.addClassActive===!0){$(base.$owlItems[i]).addClass("active")}}
1273base.owl.visibleItems=base.visibleItems},transitionTypes:function(className){var base=this;base.outClass="owl-"+className+"-out";base.inClass="owl-"+className+"-in"},singleItemTransition:function(){var base=this,outClass=base.outClass,inClass=base.inClass,$currentItem=base.$owlItems.eq(base.currentItem),$prevItem=base.$owlItems.eq(base.prevItem),prevPos=Math.abs(base.positionsInArray[base.currentItem])+base.positionsInArray[base.prevItem],origin=Math.abs(base.positionsInArray[base.currentItem])+base.itemWidth/2,animEnd='webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend';base.isTransition=!0;base.$owlWrapper.addClass('owl-origin').css({"-webkit-transform-origin":origin+"px","-moz-perspective-origin":origin+"px","perspective-origin":origin+"px"});function transStyles(prevPos){return{"position":"relative","left":prevPos+"px"}}
1274$prevItem.css(transStyles(prevPos,10)).addClass(outClass).on(animEnd,function(){base.endPrev=!0;$prevItem.off(animEnd);base.clearTransStyle($prevItem,outClass)});$currentItem.addClass(inClass).on(animEnd,function(){base.endCurrent=!0;$currentItem.off(animEnd);base.clearTransStyle($currentItem,inClass)})},clearTransStyle:function(item,classToRemove){var base=this;item.css({"position":"","left":""}).removeClass(classToRemove);if(base.endPrev&&base.endCurrent){base.$owlWrapper.removeClass('owl-origin');base.endPrev=!1;base.endCurrent=!1;base.isTransition=!1}},owlStatus:function(){var base=this;base.owl={"userOptions":base.userOptions,"baseElement":base.$elem,"userItems":base.$userItems,"owlItems":base.$owlItems,"currentItem":base.currentItem,"prevItem":base.prevItem,"visibleItems":base.visibleItems,"isTouch":base.browser.isTouch,"browser":base.browser,"dragDirection":base.dragDirection}},clearEvents:function(){var base=this;base.$elem.off(".owl owl mousedown.disableTextSelect");$(document).off(".owl owl");$(window).off("resize",base.resizer)},unWrap:function(){var base=this;if(base.$elem.children().length!==0){base.$owlWrapper.unwrap();base.$userItems.unwrap().unwrap();if(base.owlControls){base.owlControls.remove()}}
1275base.clearEvents();base.$elem.attr({style:base.$elem.data("owl-originalStyles")||"",class:base.$elem.data("owl-originalClasses")})},destroy:function(){var base=this;base.stop();window.clearInterval(base.checkVisible);base.unWrap();base.$elem.removeData()},reinit:function(newOptions){var base=this,options=$.extend({},base.userOptions,newOptions);base.unWrap();base.init(options,base.$elem)},addItem:function(htmlString,targetPosition){var base=this,position;if(!htmlString){return!1}
1276if(base.$elem.children().length===0){base.$elem.append(htmlString);base.setVars();return!1}
1277base.unWrap();if(targetPosition===undefined||targetPosition===-1){position=-1}else{position=targetPosition}
1278if(position>=base.$userItems.length||position===-1){base.$userItems.eq(-1).after(htmlString)}else{base.$userItems.eq(position).before(htmlString)}
1279base.setVars()},removeItem:function(targetPosition){var base=this,position;if(base.$elem.children().length===0){return!1}
1280if(targetPosition===undefined||targetPosition===-1){position=-1}else{position=targetPosition}
1281base.unWrap();base.$userItems.eq(position).remove();base.setVars()}};$.fn.owlCarousel=function(options){return this.each(function(){if($(this).data("owl-init")===!0){return!1}
1282$(this).data("owl-init",!0);
1282var carousel=Object.create(Carousel);carousel.init(options,this);$.data(this,"owlCarousel",carousel)})};$.fn.owlCarousel.options={direction:'ltr',items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1000,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:window,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document));!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Swiper=t()}(this,function(){"use strict";function e(e,t){var a=[],i=0;if(e&&!t&&e instanceof r)return e;if(e)if("string"==typeof e){var s,n,o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var l="div";for(0===o.indexOf("<li")&&(l="ul"),0===o.indexOf("<tr")&&(l="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(l="tr"),0===o.indexOf("<tbody")&&(l="table"),0===o.indexOf("<option")&&(l="select"),(n=document.createElement(l)).innerHTML=o,i=0;i<n.childNodes.length;i+=1)a.push(n.childNodes[i])}else for(s=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||document).querySelectorAll(e.trim()):[document.getElementById(e.trim().split("#")[1])],i=0;i<s.length;i+=1)s[i]&&a.push(s[i])}else if(e.nodeType||e===window||e===document)a.push(e);else if(e.length>0&&e[0].nodeType)for(i=0;i<e.length;i+=1)a.push(e[i]);return new r(a)}function t(e){for(var t=[],a=0;a<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}function a(){var e="onwheel"in d;if(!e){var t=d.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&d.implementation&&d.implementation.hasFeature&&!0!==d.implementation.hasFeature("","")&&(e=d.implementation.hasFeature("Events.wheel","3.0")),e}var i,s=i="undefined"==typeof window?{navigator:{userAgent:""},location:{},history:{},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{}},Image:function(){},Date:function(){},screen:{}}:window,r=function(e){for(var t=this,a=0;a<e.length;a+=1)t[a]=e[a];return t.length=e.length,this};e.fn=r.prototype,e.Class=r,e.Dom7=r;"resize scroll".split(" ");var n={addClass:function(e){var t=this;if(void 0===e)return this;for(var a=e.split(" "),i=0;i<a.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==t[s].classList&&t[s].classList.add(a[i]);return this},removeClass:function(e){for(var t=this,a=e.split(" "),i=0;i<a.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==t[s].classList&&t[s].classList.remove(a[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=this,a=e.split(" "),i=0;i<a.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==t[s].classList&&t[s].classList.toggle(a[i]);return this},attr:function(e,t){var a=arguments,i=this;if(1!==arguments.length||"string"!=typeof e){for(var s=0;s<this.length;s+=1)if(2===a.length)i[s].setAttribute(e,t);else for(var r in e)i[s][r]=e[r],i[s].setAttribute(r,e[r]);return this}if(this[0])return this[0].getAttribute(e)},removeAttr:function(e){for(var t=this,a=0;a<this.length;a+=1)t[a].removeAttribute(e);return this},data:function(e,t){var a,i=this;if(void 0!==t){for(var s=0;s<this.length;s+=1)(a=i[s]).dom7ElementDataStorage||(a.dom7ElementDataStorage={}),a.dom7ElementDataStorage[e]=t;return this}if(a=this[0]){if(a.dom7ElementDataStorage&&e in a.dom7ElementDataStorage)return a.dom7ElementDataStorage[e];var r=a.getAttribute("data-"+e);if(r)return r}},transform:function(e){for(var t=this,a=0;a<this.length;a+=1){var i=t[a].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){var t=this;"string"!=typeof e&&(e+="ms");for(var a=0;a<this.length;a+=1){var i=t[a].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){function t(t){var a=t.target;if(a){var i=t.target.dom7EventData||[];if(i.unshift(t),e(a).is(o))l.apply(a,i);else for(var s=e(a).parents(),r=0;r<s.length;r+=1)e(s[r]).is(o)&&l.apply(s[r],i)}}function a(e){var t=e&&e.target?e.target.dom7EventData||[]:[];t.unshift(e),l.apply(this,t)}for(var i=this,s=[],r=arguments.length;r--;)s[r]=arguments[r];var n=s[0],o=s[1],l=s[2],d=s[3];if("function"==typeof s[1]){var p;n=(p=s)[0],l=p[1],d=p[2],o=void 0}d||(d=!1);for(var c,u=n.split(" "),h=0;h<this.length;h+=1){var v=i[h];if(o)for(c=0;c<u.length;c+=1)v.dom7LiveListeners||(v.dom7LiveListeners=[]),v.dom7LiveListeners.push({type:n,listener:l,proxyListener:t}),v.addEventListener(u[c],t,d);else for(c=0;c<u.length;c+=1)v.dom7Listeners||(v.dom7Listeners=[]),v.dom7Listeners.push({type:n,listener:l,proxyListener:a}),v.addEventListener(u[c],a,d)}return this},off:function(){for(var e=this,t=[],a=arguments.length;a--;
1282)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];if("function"==typeof t[1]){var o;i=(o=t)[0],r=o[1],n=o[2],s=void 0}n||(n=!1);for(var l=i.split(" "),d=0;d<l.length;d+=1)for(var p=0;p<this.length;p+=1){var c=e[p];if(s){if(c.dom7LiveListeners)for(var u=0;u<c.dom7LiveListeners.length;u+=1)r?c.dom7LiveListeners[u].listener===r&&c.removeEventListener(l[d],c.dom7LiveListeners[u].proxyListener,n):c.dom7LiveListeners[u].type===l[d]&&c.removeEventListener(l[d],c.dom7LiveListeners[u].proxyListener,n)}else if(c.dom7Listeners)for(var h=0;h<c.dom7Listeners.length;h+=1)r?c.dom7Listeners[h].listener===r&&c.removeEventListener(l[d],c.dom7Listeners[h].proxyListener,n):c.dom7Listeners[h].type===l[d]&&c.removeEventListener(l[d],c.dom7Listeners[h].proxyListener,n)}return this},trigger:function(){for(var e=this,t=[],a=arguments.length;a--;)t[a]=arguments[a];for(var i=t[0].split(" "),s=t[1],r=0;r<i.length;r+=1)for(var n=0;n<this.length;n+=1){var o=void 0;try{o=new window.CustomEvent(i[r],{detail:s,bubbles:!0,cancelable:!0})}catch(e){(o=document.createEvent("Event")).initEvent(i[r],!0,!0),o.detail=s}e[n].dom7EventData=t.filter(function(e,t){return t>0}),e[n].dispatchEvent(o),e[n].dom7EventData=[],delete e[n].dom7EventData}return this},transitionEnd:function(e){function t(r){if(r.target===this)for(e.call(this,r),a=0;a<i.length;a+=1)s.off(i[a],t)}var a,i=["webkitTransitionEnd","transitionend"],s=this;if(e)for(a=0;a<i.length;a+=1)s.on(i[a],t);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),a=document.body,i=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,r=e===window?window.scrollY:e.scrollTop,n=e===window?window.scrollX:e.scrollLeft;return{top:t.top+r-i,left:t.left+n-s}}return null},css:function(e,t){var a,i=this;if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(var s in e)i[a].style[s]=e[s];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)i[a].style[e]=t;return this}return this},each:function(e){var t=this;if(!e)return this;for(var a=0;a<this.length;a+=1)if(!1===e.call(t[a],a,t[a]))return t;return this},html:function(e){var t=this;if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var a=0;a<this.length;a+=1)t[a].innerHTML=e;return this},text:function(e){var t=this;if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var a=0;a<this.length;a+=1)t[a].textContent=e;return this},is:function(t){var a,i,s=this[0];if(!s||void 0===t)return!1;if("string"==typeof t){if(s.matches)return s.matches(t);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(t);if(s.msMatchesSelector)return s.msMatchesSelector(t);for(a=e(t),i=0;i<a.length;i+=1)if(a[i]===s)return!0;return!1}if(t===document)return s===document;if(t===window)return s===window;if(t.nodeType||t instanceof r){for(a=t.nodeType?[t]:t,i=0;i<a.length;i+=1)if(a[i]===s)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,a=this.length;return e>a-1?new r([]):e<0?(t=a+e,new r(t<0?[]:[this[t]])):new r([this[e]])},append:function(){for(var e=this,t=[],a=arguments.length;a--;)t[a]=arguments[a];for(var i,s=0;s<t.length;s+=1){i=t[s];for(var n=0;n<this.length;n+=1)if("string"==typeof i){var o=document.createElement("div");for(o.innerHTML=i;o.firstChild;)e[n].appendChild(o.firstChild)}else if(i instanceof r)for(var l=0;l<i.length;l+=1)e[n].appendChild(i[l]);else e[n].appendChild(i)}return this},prepend:function(e){var t,a,i=this;for(t=0;t<this.length;t+=1)if("string"==typeof e){var s=document.createElement("div");for(s.innerHTML=e,a=s.childNodes.length-1;a>=0;a-=1)i[t].insertBefore(s.childNodes[a],i[t].childNodes[0])}else if(e instanceof r)for(a=0;a<e.length;a+=1)i[t].insertBefore(e[a],i[t].childNodes[0]);else i[t].insertBefore(e,i[t].childNodes[0]);return this},next:function(t){return new r(this.length>0?t?this[0].nextElementSibling&&e(this[0].nextElementSibling).is(t)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(t){var a=[],i=this[0];if(!i)return new r([]);for(;i.nextElementSibling;){var s=i.nextElementSibling;t?e(s).is(t)&&a.push(s):a.push(s),i=s}return new r(a)},prev:function(t){if(this.length>0){var a=this[0];return new r(t?a.previousElementSibling&&e(a.previousElementSibling).is(t)?[a.previousElementSibling]:[]:a.previousElementSibling?[a.previousElementSibling]:[])}return new r([])},prevAll:function(t){var a=[],i=this[0];if(!i)return new r([]);for(;i.previousElementSibling;){var s=i.previousElementSibling;t?e(s).is(t)&&a.push(s):a.push(s),i=s}return new r(a)},parent:function(a){for(var i=this,s=[],r=0;r<this.length;r+=1)null!==i[r].parentNode&&(a?e(i[r].parentNode).is(a)&&s.push(i[r].parentNode):s.push(i[r].parentNode));return e(t(s))},parents:function(a){for(var i=this,s=[],r=0;r<this.length;r+=1)for(var n=i[r].parentNode;n;)a?e(n).is(a)&&s.push(n):s.push(n),n=n.parentNode;return e(t(s))},closest:function(e){var t=this;return void 0===e?new r([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=this,a=[],i=0;i<this.length;i+=1)for(var s=t[i].querySelectorAll(e),n=0;n<s.length;n+=1)a.push(s[n]);return new r(a)},children:function(a){for(var i=this,s=[],n=0;n<this.length;n+=1)for(var o=i[n].childNodes,l=0;l<o.length;
1282l+=1)a?1===o[l].nodeType&&e(o[l]).is(a)&&s.push(o[l]):1===o[l].nodeType&&s.push(o[l]);return new r(t(s))},remove:function(){for(var e=this,t=0;t<this.length;t+=1)e[t].parentNode&&e[t].parentNode.removeChild(e[t]);return this},add:function(){for(var t=[],a=arguments.length;a--;)t[a]=arguments[a];var i,s,r=this;for(i=0;i<t.length;i+=1){var n=e(t[i]);for(s=0;s<n.length;s+=1)r[r.length]=n[s],r.length+=1}return r},styles:function(){return this[0]?window.getComputedStyle(this[0],null):{}}};Object.keys(n).forEach(function(t){e.fn[t]=n[t]});var o,l={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){void 0===t&&(t="x");var a,i,r,n=s.getComputedStyle(e,null);return s.WebKitCSSMatrix?((i=n.transform||n.webkitTransform).split(",").length>6&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new s.WebKitCSSMatrix("none"===i?"":i)):a=(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=s.WebKitCSSMatrix?r.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=s.WebKitCSSMatrix?r.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0},parseUrlQuery:function(e){var t,a,i,r,n={},o=e||s.location.href;if("string"==typeof o&&o.length)for(r=(a=(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,t=0;t<r;t+=1)i=a[t].replace(/#\S+/g,"").split("="),n[decodeURIComponent(i[0])]=void 0===i[1]?void 0:decodeURIComponent(i[1])||"";return n},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var a=Object(e[0]),i=1;i<e.length;i+=1){var s=e[i];if(void 0!==s&&null!==s)for(var r=Object.keys(Object(s)),n=0,o=r.length;n<o;n+=1){var d=r[n],p=Object.getOwnPropertyDescriptor(s,d);void 0!==p&&p.enumerable&&(l.isObject(a[d])&&l.isObject(s[d])?l.extend(a[d],s[d]):!l.isObject(a[d])&&l.isObject(s[d])?(a[d]={},l.extend(a[d],s[d])):a[d]=s[d])}}return a}},d=o="undefined"==typeof document?{addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return{}},querySelectorAll:function(){return[]},createElement:function(){return{style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,p={touch:s.Modernizr&&!0===s.Modernizr.touch||!!("ontouchstart"in s||s.DocumentTouch&&d instanceof s.DocumentTouch),transforms3d:s.Modernizr&&!0===s.Modernizr.csstransforms3d||function(){var e=d.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=d.createElement("div").style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),a=0;a<t.length;a+=1)if(t[a]in e)return!0;return!1}(),observer:"MutationObserver"in s||"WebkitMutationObserver"in s,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});s.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in s},c=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={}
1282,t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})},u={components:{}};c.prototype.on=function(e,t){var a=this;return"function"!=typeof t?a:(e.split(" ").forEach(function(e){a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e].push(t)}),a)},c.prototype.once=function(e,t){function a(){for(var s=[],r=arguments.length;r--;)s[r]=arguments[r];t.apply(i,s),i.off(e,a)}var i=this;return"function"!=typeof t?i:i.on(e,a)},c.prototype.off=function(e,t){var a=this;return e.split(" ").forEach(function(e){void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e].forEach(function(i,s){i===t&&a.eventsListeners[e].splice(s,1)})}),a},c.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var a=this;if(!a.eventsListeners)return a;var i,s,r;return"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),r=a):(i=e[0].events,s=e[0].data,r=e[0].context||a),(Array.isArray(i)?i:i.split(" ")).forEach(function(e){if(a.eventsListeners[e]){var t=[];a.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(r,s)})}}),a},c.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(a){var i=t.modules[a];i.params&&l.extend(e,i.params)})},c.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(a){var i=t.modules[a],s=e[a]||{};i.instance&&Object.keys(i.instance).forEach(function(e){var a=i.instance[e];t[e]="function"==typeof a?a.bind(t):a}),i.on&&t.on&&Object.keys(i.on).forEach(function(e){t.on(e,i.on[e])}),i.create&&i.create.bind(t)(s)})},u.components.set=function(e){var t=this;t.use&&t.use(e)},c.installModule=function(e){for(var t=[],a=arguments.length-1;a-->0;)t[a]=arguments[a+1];var i=this;i.prototype.modules||(i.prototype.modules={});var s=e.name||Object.keys(i.prototype.modules).length+"_"+l.now();return i.prototype.modules[s]=e,e.proto&&Object.keys(e.proto).forEach(function(t){i.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(function(t){i[t]=e.static[t]}),e.install&&e.install.apply(i,t),i},c.use=function(e){for(var t=[],a=arguments.length-1;a-->0;)t[a]=arguments[a+1];var i=this;return Array.isArray(e)?(e.forEach(function(e){return i.installModule(e)}),i):i.installModule.apply(i,[e].concat(t))},Object.defineProperties(c,u);var h={updateSize:function(){var e,t,a=this,i=a.$el;e=void 0!==a.params.width?a.params.width:i[0].clientWidth,t=void 0!==a.params.height?a.params.height:i[0].clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),l.extend(a,{width:e,height:t,size:a.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,a=e.$wrapperEl,i=e.size,s=e.rtl,r=e.wrongRTL,n=a.children("."+e.params.slideClass),o=e.virtual&&t.virtual.enabled?e.virtual.slides.length:n.length,d=[],c=[],u=[],h=t.slidesOffsetBefore;"function"==typeof h&&(h=t.slidesOffsetBefore.call(e));var v=t.slidesOffsetAfter;"function"==typeof v&&(v=t.slidesOffsetAfter.call(e));var f=o,m=e.snapGrid.length,g=e.snapGrid.length,b=t.spaceBetween,w=-h,y=0,x=0;if(void 0!==i){"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*i),e.virtualSize=-b,s?n.css({marginLeft:"",marginTop:""}):n.css({marginRight:"",marginBottom:""});var T;t.slidesPerColumn>1&&(T=Math.floor(o/t.slidesPerColumn)===o/e.params.slidesPerColumn?o:Math.ceil(o/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(T=Math.max(T,t.slidesPerView*t.slidesPerColumn)));for(var E,S=t.slidesPerColumn,C=T/S,M=C-(t.slidesPerColumn*C-o),z=0;z<o;z+=1){E=0;var P=n.eq(z);if(t.slidesPerColumn>1){var k=void 0,$=void 0,I=void 0;"column"===t.slidesPerColumnFill?(I=z-($=Math.floor(z/S))*S,($>M||$===M&&I===S-1)&&(I+=1)>=S&&(I=0,$+=1),k=$+I*T/S,P.css({"-webkit-box-ordinal-group":k,"-moz-box-ordinal-group":k,"-ms-flex-order":k,"-webkit-order":k,order:k})):$=z-(I=Math.floor(z/C))*C,P.css("margin-"+(e.isHorizontal()?"top":"left"),0!==I&&t.spaceBetween&&t.spaceBetween+"px").attr("data-swiper-column",$).attr("data-swiper-row",I)}"none"!==P.css("display")&&("auto"===t.slidesPerView?(E=e.isHorizontal()?P.outerWidth(!0):P.outerHeight(!0),t.roundLengths&&(E=Math.floor(E))):(E=(i-(t.slidesPerView-1)*b)/t.slidesPerView,t.roundLengths&&(E=Math.floor(E)),n[z]&&(e.isHorizontal()?n[z].style.width=E+"px":n[z].style.height=E+"px")),n[z]&&(n[z].swiperSlideSize=E),u.push(E),t.centeredSlides?(w=w+E/2+y/2+b,0===y&&0!==z&&(w=w-i/2-b),0===z&&(w=w-i/2-b),Math.abs(w)<.001&&(w=0),x%t.slidesPerGroup==0&&d.push(w),c.push(w)):(x%t.slidesPerGroup==0&&d.push(w),c.push(w),w=w+E+b),e.virtualSize+=E+b,y=E,x+=1)}e.virtualSize=Math.max(e.virtualSize,i)+v;var L;if(s&&r&&("slide"===t.effect||"coverflow"===t.effect)&&a.css({width:e.virtualSize+t.spaceBetween+"px"}),p.flexbox&&!t.setWrapperSize||(e.isHorizontal()?a.css({width:e.virtualSize+t.spaceBetween+"px"}):a.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(E+t.spaceBetween)*T,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?a.css({width:e.virtualSize+t.spaceBetween+"px"}):a.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){L=[];for(var D=0;D<d.length;D+=1)d[D]<e.virtualSize+d[0]&&L.push(d[D]);d=L}if(!t.centeredSlides){L=[];for(var O=0;O<d.length;O+=1)d[O]<=e.virtualSize-i&&L.push(d[O]);d=L,Math.floor(e.virtualSize-i)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-i)}0===d.length&&(d=[0]),0!==t.spaceBetween&&(e.isHorizontal()?s?n.css({marginLeft:b+"px"}):n.css({marginRight:b+"px"}):n.css({marginBottom:b+"px"})),l.extend(e,{slides:n,snapGrid:d,slidesGrid:c,slidesSizesGrid:u}),o!==f&&e.emit("slidesLengthChange"),d.length!==m&&e.emit("snapGridLengthChange"),c.length!==g&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(){var e,t=this,a=[],i=0;if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)for(e=0;e<Math.ceil(t.params.slidesPerView);e+=1){var s=t.activeIndex+e;if(s>t.slides.length)break;a.push(t.slides.eq(s)[0])}else a.push(t.slides.eq(t.activeIndex)[0]);for(e=0;e<a.length;e+=1)if(void 0!==a[e]){var r=a[e].offsetHeight;i=r>i?r:i}i&&t.$wrapperEl.css("height",i+"px")},updateSlidesOffset:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1)t[a].swiperSlideOffset=e.isHorizontal()?t[a].offsetLeft:t[a].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this.translate||0);var t=this,a=t.params,i=t.slides,s=t.rtl;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;s&&(r=e),i.removeClass(a.slideVisibleClass);for(var n=0;n<i.length;n+=1){var o=i[n],l=(r+(a.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+a.spaceBetween);if(a.watchSlidesVisibility){var d=-(r-o.swiperSlideOffset),p=d+t.slidesSizesGrid[n];(d>=0&&d<t.size||p>0&&p<=t.size||d<=0&&p>=t.size)&&i.eq(n).addClass(a.slideVisibleClass)}o.progress=s?-l:l}}},updateProgress:function(e){void 0===e&&(e=this.translate||0);var t=this,a=t.params,i=t.maxTranslate()-t.minTranslate(),s=t.progress,r=t.isBeginning,n=t.
vendor: 15,101 bytes, line 1282
1282isEnd,o=r,d=n;0===i?(s=0,r=!0,n=!0):(r=(s=(e-t.minTranslate())/i)<=0,n=s>=1),l.extend(t,{progress:s,isBeginning:r,isEnd:n}),(a.watchSlidesProgress||a.watchSlidesVisibility)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!d&&t.emit("reachEnd toEdge"),(o&&!r||d&&!n)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){var e=this,t=e.slides,a=e.params,i=e.$wrapperEl,s=e.activeIndex,r=e.realIndex,n=e.virtual&&a.virtual.enabled;t.removeClass(a.slideActiveClass+" "+a.slideNextClass+" "+a.slidePrevClass+" "+a.slideDuplicateActiveClass+" "+a.slideDuplicateNextClass+" "+a.slideDuplicatePrevClass);var o;(o=n?e.$wrapperEl.find("."+a.slideClass+'[data-swiper-slide-index="'+s+'"]'):t.eq(s)).addClass(a.slideActiveClass),a.loop&&(o.hasClass(a.slideDuplicateClass)?i.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(a.slideDuplicateActiveClass):i.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(a.slideDuplicateActiveClass));var l=o.nextAll("."+a.slideClass).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=t.eq(0)).addClass(a.slideNextClass);var d=o.prevAll("."+a.slideClass).eq(0).addClass(a.slidePrevClass);a.loop&&0===d.length&&(d=t.eq(-1)).addClass(a.slidePrevClass),a.loop&&(l.hasClass(a.slideDuplicateClass)?i.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass):i.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass),d.hasClass(a.slideDuplicateClass)?i.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass):i.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,a=this,i=a.rtl?a.translate:-a.translate,s=a.slidesGrid,r=a.snapGrid,n=a.params,o=a.activeIndex,d=a.realIndex,p=a.snapIndex,c=e;if(void 0===c){for(var u=0;u<s.length;u+=1)void 0!==s[u+1]?i>=s[u]&&i<s[u+1]-(s[u+1]-s[u])/2?c=u:i>=s[u]&&i<s[u+1]&&(c=u+1):i>=s[u]&&(c=u);n.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if((t=r.indexOf(i)>=0?r.indexOf(i):Math.floor(c/n.slidesPerGroup))>=r.length&&(t=r.length-1),c!==o){var h=parseInt(a.slides.eq(c).attr("data-swiper-slide-index")||c,10);l.extend(a,{snapIndex:t,realIndex:h,previousIndex:o,activeIndex:c}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),d!==h&&a.emit("realIndexChange"),a.emit("slideChange")}else t!==p&&(a.snapIndex=t,a.emit("snapIndexChange"))},updateClickedSlide:function(t){var a=this,i=a.params,s=e(t.target).closest("."+i.slideClass)[0],r=!1;if(s)for(var n=0;n<a.slides.length;n+=1)a.slides[n]===s&&(r=!0);if(!s||!r)return a.clickedSlide=void 0,void(a.clickedIndex=void 0);a.clickedSlide=s,a.virtual&&a.params.virtual.enabled?a.clickedIndex=parseInt(e(s).attr("data-swiper-slide-index"),10):a.clickedIndex=e(s).index(),i.slideToClickedSlide&&void 0!==a.clickedIndex&&a.clickedIndex!==a.activeIndex&&a.slideToClickedSlide()}},v={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,a=t.params,i=t.rtl,s=t.translate,r=t.$wrapperEl;if(a.virtualTranslate)return i?-s:s;var n=l.getTranslate(r[0],e);return i&&(n=-n),n||0},setTranslate:function(e,t){var a=this,i=a.rtl,s=a.params,r=a.$wrapperEl,n=a.progress,o=0,l=0;a.isHorizontal()?o=i?-e:e:l=e,s.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),s.virtualTranslate||(p.transforms3d?r.transform("translate3d("+o+"px, "+l+"px, 0px)"):r.transform("translate("+o+"px, "+l+"px)")),a.translate=a.isHorizontal()?o:l;var d=a.maxTranslate()-a.minTranslate();(0===d?0:(e-a.minTranslate())/d)!==n&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},f={setTransition:function(e,t){var a=this;a.$wrapperEl.transition(e),a.emit("setTransition",e,t)},transitionStart:function(e){void 0===e&&(e=!0);var t=this,a=t.activeIndex,i=t.params,s=t.previousIndex;i.autoHeight&&t.updateAutoHeight(),t.emit("transitionStart"),e&&a!==s&&(t.emit("slideChangeTransitionStart"),a>s?t.emit("slideNextTransitionStart"):t.emit("slidePrevTransitionStart"))},transitionEnd:function(e){void 0===e&&(e=!0);var t=this,a=t.activeIndex,i=t.previousIndex;t.animating=!1,t.setTransition(0),t.emit("transitionEnd"),e&&a!==i&&(t.emit("slideChangeTransitionEnd"),a>i?t.emit("slideNextTransitionEnd"):t.emit("slidePrevTransitionEnd"))}},m=function(){return{isSafari:function(){var e=s.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(s.navigator.userAgent),ie:s.navigator.pointerEnabled||s.navigator.msPointerEnabled,ieTouch:s.navigator.msPointerEnabled&&s.navigator.msMaxTouchPoints>1||s.navigator.pointerEnabled&&s.navigator.maxTouchPoints>1,lteIE9:function(){var e=d.createElement("div");return e.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1===e.getElementsByTagName("i").length}()}}(),g={slideTo:function(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);var s=this,r=e;r<0&&(r=0);var n=s.params,o=s.snapGrid,l=s.slidesGrid,d=s.previousIndex,p=s.activeIndex,c=s.rtl,u=s.$wrapperEl,h=Math.floor(r/n.slidesPerGroup);h>=o.length&&(h=o.length-1),(p||n.initialSlide||0)===(d||0)&&a&&s.emit("beforeSlideChangeStart");var v=-o[h];if(s.updateProgress(v),n.normalizeSlideIndex)for(var f=0;f<l.length;f+=1)-Math.floor(100*v)>=Math.floor(100*l[f])&&(r=f);return!(!s.allowSlideNext&&v<s.translate&&v<s.minTranslate()||!s.allowSlidePrev&&v>s.translate&&v>s.maxTranslate()&&(p||0)!==r||(c&&-v===s.translate||!c&&v===s.translate?(s.updateActiveIndex(r),n.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==n.effect&&s.setTranslate(v),1):(0===t||m.lteIE9?(s.setTransition(0),s.setTranslate(v),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(a),s.transitionEnd(a)):(s.setTransition(t),s.setTranslate(v),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(a),s.animating||(s.animating=!0,u.transitionEnd(function(){s&&!s.destroyed&&s.transitionEnd(a)}))),0)))},slideNext:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating;return s.loop?!r&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,i.slideTo(i.activeIndex+s.slidesPerGroup,e,t,a)):i.slideTo(i.activeIndex+s.slidesPerGroup,e,t,a)},slidePrev:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating;return s.loop?!r&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,i.slideTo(i.activeIndex-1,e,t,a)):i.slideTo(i.activeIndex-1,e,t,a)},slideReset:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this;return i.slideTo(i.activeIndex,e,t,a)},slideToClickedSlide:function(){var t,a=this,i=a.params,s=a.$wrapperEl,r="auto"===i.slidesPerView?a.slidesPerViewDynamic():i.slidesPerView,n=a.clickedIndex;if(i.loop){if(a.animating)return;t=parseInt(e(a.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?n<a.loopedSlides-r/2||n>a.slides.length-a.loopedSlides+r/2?(a.loopFix(),n=s.children("."+i.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),l.nextTick(function(){a.slideTo(n)})):a.slideTo(n):n>a.slides.length-r?(a.loopFix(),n=s.children("."+i.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),l.nextTick(function(){a.slideTo(n)})):a.slideTo(n)}else a.slideTo(n)}},b={loopCreate:function(){var t=this,a=t.params,i=t.$wrapperEl;i.children("."+a.slideClass+"."+a.slideDuplicateClass).remove();var s=i.children("."+a.slideClass);if(a.loopFillGroupWithBlank){var r=a.slidesPerGroup-s.length%a.slidesPerGroup;if(r!==a.slidesPerGroup){for(var n=0;n<r;n+=1){var o=e(d.createElement("div")).addClass(a.slideClass+" "+a.slideBlankClass);i.append(o)}s=i.children("."+a.slideClass)}}"auto"!==a.slidesPerView||a.loopedSlides||(a.loopedSlides=s.length),t.loopedSlides=parseInt(a.loopedSlides||a.slidesPerView,10),t.loopedSlides+=a.loopAdditionalSlides,t.loopedSlides>s.length&&(t.loopedSlides=s.length);var l=[],p=[];s.each(function(a,i){var r=e(i);a<t.loopedSlides&&p.push(i),a<s.length&&a>=s.length-t.loopedSlides&&l.push(i),r.attr("data-swiper-slide-index",a)});for(var c=0;c<p.length;c+=1)i.append(e(p[c].cloneNode(!0)).addClass(a.slideDuplicateClass));for(var u=l.length-1;u>=0;u-=1)i.prepend(e(l[u].cloneNode(!0)).addClass(a.slideDuplicateClass))},loopFix:function(){var e,t=this,a=t.params,i=t.activeIndex,s=t.slides,r=t.loopedSlides,n=t.allowSlidePrev,o=t.allowSlideNext;t.allowSlidePrev=!0,t.allowSlideNext=!0,i<r?(e=s.length-3*r+i,e+=r,t.slideTo(e,0,!1,!0)):("auto"===a.slidesPerView&&i>=2*r||i>s.length-2*a.slidesPerView)&&(e=-s.length+i+r,e+=r,t.slideTo(e,0,!1,!0)),t.allowSlidePrev=n,t.allowSlideNext=o},loopDestroy:function(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides;t.children("."+a.slideClass+"."+a.slideDuplicateClass).remove(),i.removeAttr("data-swiper-slide-index")}},w={setGrabCursor:function(e){var t=this;if(!p.touch&&t.params.simulateTouch){var a=t.el;a.style.cursor="move",a.style.cursor=e?"-webkit-grabbing":"-webkit-grab",a.style.cursor=e?"-moz-grabbin":"-moz-grab",a.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;p.touch||(e.el.style.cursor="")}},y={appendSlide:function(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&a.append(e[s]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&p.observer||t.update()},prependSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&t.loopDestroy();var r=s+1;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)e[n]&&i.prepend(e[n]);r=s+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&p.observer||t.update(),t.slideTo(r,0,!1)},removeSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&(t.loopDestroy(),t.slides=i.children("."+a.slideClass));var r,n=s;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1),n=Math.max(n,0);a.loop&&t.loopCreate(),a.observer&&p.observer||t.update(),a.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)},removeAllSlides:function(){for(var e=this,t=[],a=0;a<e.slides.length;a+=1)t.push(a);e.removeSlide(t)}},x=function(){var e=s.navigator.userAgent,t={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:s.cordova||s.phonegap,phonegap:s.cordova||s.phonegap},a=e.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),i=e.match(/(Android);?[\s\/]+([\d.]+)?/),r=e.match(/(iPad).*OS\s([\d_]+)/),n=e.match(/(iPod)(.*OS\s([\d_]+))?/),o=!r&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(a&&(t.os="windows",t.osVersion=a[2],t.windows=!0),i&&!a&&(t.os="android",t.osVersion=i[2],t.android=!0,t.androidChrome=e.toLowerCase().indexOf("chrome")>=0),(r||o||n)&&(t.os="ios",t.ios=!0),o&&!n&&(t.osVersion=o[2].replace(/_/g,"."),t.iphone=!0),r&&(t.osVersion=r[2].replace(/_/g,"."),t.ipad=!0),n&&(t.osVersion=n[3]?n[3].replace(/_/g,"."):null,t.iphone=!0),t.ios&&t.osVersion&&e.indexOf("Version/")>=0&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),t.desktop=!(t.os||t.android||t.webView),t.webView=(o||r||n)&&e.match(/.*AppleWebKit(?!.*Safari)/i),t.os&&"ios"===t.os){var l=t.osVersion.split("."),p=d.querySelector('meta[name="viewport"]');t.minimalUi=!t.webView&&(n||o)&&(1*l[0]==7?1*l[1]>=1:1*l[0]>7)&&p&&p.getAttribute("content").indexOf("minimal-ui")>=0}return t.pixelRatio=s.devicePixelRatio||1,t}(),T=function(t){var a=this,i=a.touchEventsData,s=a.params,r=a.touches,n=t;if(n.originalEvent&&(n=n.originalEvent),i.isTouchEvent="touchstart"===n.type,(i.isTouchEvent||!("which"in n)||3!==n.which)&&(!i.isTouched||!i.isMoved))if(s.noSwiping&&e(n.target).closest("."+s.noSwipingClass)[0])a.allowClick=!0;else if(!s.swipeHandler||e(n).closest(s.swipeHandler)[0]){r.currentX="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,r.currentY="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY;var o=r.currentX,p=r.currentY;if(!(x.ios&&!x.cordova&&s.iOSEdgeSwipeDetection&&o<=s.iOSEdgeSwipeThreshold&&o>=window.screen.width-s.iOSEdgeSwipeThreshold)){if(l.extend(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=o,r.startY=p,i.touchStartTime=l.now(),a.allowClick=!0,a.updateSize(),a.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==n.type){var c=!0;e(n.target).is(i.formElements)&&(c=!1),d.activeElement&&e(d.activeElement).is(i.formElements)&&d.activeElement.blur(),c&&a.allowTouchMove&&n.preventDefault()}a.emit("touchStart",n)}}},E=function(t){var a=this,i=a.touchEventsData,s=a.params,r=a.touches,n=a.rtl,o=t;if(o.originalEvent&&(o=o.originalEvent),!i.isTouchEvent||"mousemove"!==o.type){var p="touchmove"===o.type?o.targetTouches[0].pageX:o.pageX,c="touchmove"===o.type?o.targetTouches[0].pageY:o.pageY;if(o.preventedByNestedSwiper)return r.startX=p,void(r.startY=c);if(!a.allowTouchMove)return a.allowClick=!1,void(i.isTouched&&(l.extend(r,{startX:p,startY:c,currentX:p,currentY:c}),i.touchStartTime=l.now()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(a.isVertical()){if(c<r.startY&&a.translate<=a.maxTranslate()||c>r.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(p<r.startX&&a.translate<=a.maxTranslate()||p>r.startX&&a.translate>=a.minTranslate())return;if(i.isTouchEvent&&d.activeElement&&o.target===d.activeElement&&e(o.target).is(i.formElements))return i.isMoved=!0,void(a.allowClick=!1);if(i.allowTouchCallbacks&&a.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){r.currentX=p,r.currentY=c;var u=r.currentX-r.startX,h=r.currentY-r.startY;if(void 0===i.isScrolling){var v;a.isHorizontal()&&r.currentY===r.startY||a.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:u*u+h*h>=25&&(v=180*Math.atan2(Math.abs(h),Math.abs(u))/Math.PI,i.isScrolling=a.isHorizontal()?v>s.touchAngle:90-v>s.touchAngle)}if(i.isScrolling&&a.emit("touchMoveOpposite",o),"undefined"==typeof startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isTouched)if(i.isScrolling)i.isTouched=!1;else if(i.startMoving){a.allowClick=!1,o.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&o.stopPropagation(),i.isMoved||(s.loop&&a.loopFix(),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce
vendor: 1,040 bytes, line 1282
1282=!1,!s.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",o)),a.emit("sliderMove",o),i.isMoved=!0;var f=a.isHorizontal()?u:h;r.diff=f,f*=s.touchRatio,n&&(f=-f),a.swipeDirection=f>0?"prev":"next",i.currentTranslate=f+i.startTranslate;var m=!0,g=s.resistanceRatio;if(s.touchReleaseOnEdges&&(g=0),f>0&&i.currentTranslate>a.minTranslate()?(m=!1,s.resistance&&(i.currentTranslate=a.minTranslate()-1+Math.pow(-a.minTranslate()+i.startTranslate+f,g))):f<0&&i.currentTranslate<a.maxTranslate()&&(m=!1,s.resistance&&(i.currentTranslate=a.maxTranslate()+1-Math.pow(a.maxTranslate()-i.startTranslate-f,g))),m&&(o.preventedByNestedSwiper=!0),!a.allowSlideNext&&"next"===a.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!a.allowSlidePrev&&"prev"===a.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.threshold>0){if(!(Math.abs(f)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
vendor: 7,190 bytes, line 1282
1282if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=a.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}s.followFinger&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(a.updateActiveIndex(),a.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[a.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[a.isHorizontal()?"currentX":"currentY"],time:l.now()})),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate))}}}},S=function(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,r=t.rtl,n=t.$wrapperEl,o=t.slidesGrid,d=t.snapGrid,p=e;if(p.originalEvent&&(p=p.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",p),a.allowTouchCallbacks=!1,a.isTouched){i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c=l.now(),u=c-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(p),t.emit("tap",p),u<300&&c-a.lastClickTime>300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),a.clickTimeout=l.nextTick(function(){t&&!t.destroyed&&t.emit("click",p)},300)),u<300&&c-a.lastClickTime<300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),t.emit("doubleTap",p))),a.lastClickTime=l.now(),l.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!a.isTouched||!a.isMoved||!t.swipeDirection||0===s.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;var h;if(h=i.followFinger?r?t.translate:-t.translate:-a.currentTranslate,i.freeMode){if(h<-t.minTranslate())return void t.slideTo(t.activeIndex);if(h>-t.maxTranslate())return void(t.slides.length<d.length?t.slideTo(d.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(a.velocities.length>1){var v=a.velocities.pop(),f=a.velocities.pop(),m=v.position-f.position,g=v.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(g>150||l.now()-v.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var b=1e3*i.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;r&&(y=-y);var x,T=!1,E=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(y<t.maxTranslate())i.freeModeMomentumBounce?(y+t.maxTranslate()<-E&&(y=t.maxTranslate()-E),x=t.maxTranslate(),T=!0,a.allowMomentumBounce=!0):y=t.maxTranslate();else if(y>t.minTranslate())i.freeModeMomentumBounce?(y-t.minTranslate()>E&&(y=t.minTranslate()+E),x=t.minTranslate(),T=!0,a.allowMomentumBounce=!0):y=t.minTranslate();else if(i.freeModeSticky){for(var S,C=0;C<d.length;C+=1)if(d[C]>-y){S=C;break}y=-(y=Math.abs(d[S]-y)<Math.abs(d[S-1]-y)||"next"===t.swipeDirection?d[S]:d[S-1])}if(0!==t.velocity)b=r?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(i.freeModeSticky)return void t.slideReset();i.freeModeMomentumBounce&&T?(t.updateProgress(x),t.setTransition(b),t.setTranslate(y),t.transitionStart(),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(x),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}(!i.freeModeMomentum||u>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var M=0,z=t.slidesSizesGrid[0],P=0;P<o.length;P+=i.slidesPerGroup)void 0!==o[P+i.slidesPerGroup]?h>=o[P]&&h<o[P+i.slidesPerGroup]&&(M=P,z=o[P+i.slidesPerGroup]-o[P]):h>=o[P]&&(M=P,z=o[o.length-1]-o[o.length-2]);var k=(h-o[M])/z;if(u>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(k>=i.longSwipesRatio?t.slideTo(M+i.slidesPerGroup):t.slideTo(M)),"prev"===t.swipeDirection&&(k>1-i.longSwipesRatio?t.slideTo(M+i.slidesPerGroup):t.slideTo(M))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(M+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(M)}}}},C=function(){var e=this,t=e.params,a=e.el;if(!a||0!==a.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,s=e.allowSlidePrev;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var r=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.allowSlidePrev=s,e.allowSlideNext=i}},M=function(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},z={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},P={update:h,translate:v,transition:f,slide:g,loop:b,grabCursor:w,manipulation:y,events:{attachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,s=e.wrapperEl;e.onTouchStart=T.bind(e),e.onTouchMove=E.bind(e),e.onTouchEnd=S.bind(e),e.onClick=M.bind(e);var r="container"===t.touchEventsTarget?i:s,n=!!t.nested;
1282if(m.ie)r.addEventListener(a.start,e.onTouchStart,!1),(p.touch?r:d).addEventListener(a.move,e.onTouchMove,n),(p.touch?r:d).addEventListener(a.end,e.onTouchEnd,!1);else{if(p.touch){var o=!("touchstart"!==a.start||!p.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(a.start,e.onTouchStart,o),r.addEventListener(a.move,e.onTouchMove,p.passiveListener?{passive:!1,capture:n}:n),r.addEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!p.touch&&x.ios)&&(r.addEventListener("mousedown",e.onTouchStart,!1),d.addEventListener("mousemove",e.onTouchMove,n),d.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",e.onClick,!0),e.on("resize observerUpdate",C)},detachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,s=e.wrapperEl,r="container"===t.touchEventsTarget?i:s,n=!!t.nested;if(m.ie)r.removeEventListener(a.start,e.onTouchStart,!1),(p.touch?r:d).removeEventListener(a.move,e.onTouchMove,n),(p.touch?r:d).removeEventListener(a.end,e.onTouchEnd,!1);else{if(p.touch){var o=!("onTouchStart"!==a.start||!p.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(a.start,e.onTouchStart,o),r.removeEventListener(a.move,e.onTouchMove,n),r.removeEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!p.touch&&x.ios)&&(r.removeEventListener("mousedown",e.onTouchStart,!1),d.removeEventListener("mousemove",e.onTouchMove,n),d.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",e.onClick,!0),e.off("resize observerUpdate",C)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,a=e.loopedSlides;void 0===a&&(a=0);var i=e.params,s=i.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var r=e.getBreakpoint(s);if(r&&e.currentBreakpoint!==r){var n=r in s?s[r]:e.originalParams,o=i.loop&&n.slidesPerView!==i.slidesPerView;l.extend(e.params,n),l.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=r,o&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",n)}}},getBreakpoint:function(e){if(e){var t=!1,a=[];Object.keys(e).forEach(function(e){a.push(e)}),a.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var i=0;i<a.length;i+=1){var r=a[i];r>=s.innerWidth&&!t&&(t=r)}return t||"max"}}},classes:{addClasses:function(){var e=this,t=e.classNames,a=e.params,i=e.rtl,r=e.$el,n=[];n.push(a.direction),a.freeMode&&n.push("free-mode"),p.flexbox||n.push("no-flexbox"),a.autoHeight&&n.push("autoheight"),i&&n.push("rtl"),a.slidesPerColumn>1&&n.push("multirow"),x.android&&n.push("android"),x.ios&&n.push("ios"),(s.navigator.pointerEnabled||s.navigator.msPointerEnabled)&&n.push("wp8-"+a.direction),n.forEach(function(e){t.push(a.containerModifierClass+e)}),r.addClass(t.join(" "))},removeClasses:function(){var e=this,t=e.$el,a=e.classNames;t.removeClass(a.join(" "))}},images:{loadImage:function(e,t,a,i,r,n){function o(){n&&n()}var l;e.complete&&r?o():t?((l=new s.Image).onload=o,l.onerror=o,i&&(l.sizes=i),a&&(l.srcset=a),t&&(l.src=t)):o()},preloadImages:function(){var e=this;e.imagesToLoad=e.$el.find("img");for(var t=0;t<e.imagesToLoad.length;t+=1){var a=e.imagesToLoad[t];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,function(){void 0!==e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))})}}}},k={},$=function(t){function a(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];var n,o;if(1===i.length&&i[0].constructor&&i[0].constructor===Object)o=i[0];else{var d;n=(d=i)[0],o=d[1]}o||(o={}),o=l.extend({},o),n&&!o.el&&(o.el=n),t.call(this,o),Object.keys(P).forEach(function(e){Object.keys(P[e]).forEach(function(t){a.prototype[t]||(a.prototype[t]=P[e][t])})});var c=this;void 0===c.modules&&(c.modules={}
1282),Object.keys(c.modules).forEach(function(e){var t=c.modules[e];if(t.params){var a=Object.keys(t.params)[0],i=t.params[a];if("object"!=typeof i)return;if(!(a in o&&"enabled"in i))return;!0===o[a]&&(o[a]={enabled:!0}),"object"!=typeof o[a]||"enabled"in o[a]||(o[a].enabled=!0),o[a]||(o[a]={enabled:!1})}});var u=l.extend({},z);c.useModulesParams(u),c.params=l.extend({},u,k,o),c.originalParams=l.extend({},c.params),c.passedParams=l.extend({},o);var h=e(c.params.el);if(n=h[0]){if(h.length>1){var v=[];return h.each(function(e,t){var i=l.extend({},o,{el:t});v.push(new a(i))}),v}n.swiper=c,h.data("swiper",c);var f=h.children("."+c.params.wrapperClass);return l.extend(c,{$el:h,el:n,$wrapperEl:f,wrapperEl:f[0],classNames:[],slides:e(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===c.params.direction},isVertical:function(){return"vertical"===c.params.direction},rtl:"horizontal"===c.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===h.css("direction")),wrongRTL:"-webkit-box"===f.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,progress:0,velocity:0,animating:!1,allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend"],t=["mousedown","mousemove","mouseup"];return s.navigator.pointerEnabled?t=["pointerdown","pointermove","pointerup"]:s.navigator.msPointerEnabled&&(t=["MSPointerDown","MsPointerMove","MsPointerUp"]),{start:p.touch||!c.params.simulateTouch?e[0]:t[0],move:p.touch||!c.params.simulateTouch?e[1]:t[1],end:p.touch||!c.params.simulateTouch?e[2]:t[2]}}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:l.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.useModules(),c.params.init&&c.init(),c}}t&&(a.__proto__=t),a.prototype=Object.create(t&&t.prototype),a.prototype.constructor=a;var i={extendedDefaults:{},defaults:{},Class:{},$:{}};return a.prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,s=e.size,r=e.activeIndex,n=1;if(t.centeredSlides){for(var o,l=a[r].swiperSlideSize,d=r+1;d<a.length;d+=1)a[d]&&!o&&(n+=1,(l+=a[d].swiperSlideSize)>s&&(o=!0));for(var p=r-1;p>=0;p-=1)a[p]&&!o&&(n+=1,(l+=a[p].swiperSlideSize)>s&&(o=!0))}else for(var c=r+1;c<a.length;c+=1)i[c]-i[r]<s&&(n+=1);return n},a.prototype.update=function(){function e(){a=Math.min(Math.max(t.translate,t.maxTranslate()),t.minTranslate()),t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}var t=this;if(t&&!t.destroyed){t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();var a;t.params.freeMode?(e(),t.params.autoHeight&&t.updateAutoHeight()):(("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0))||e(),t.emit("update")}},a.prototype.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},a.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var a=this,i=a.params,s=a.$el,r=a.$wrapperEl,n=a.slides;a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),a.emit("destroy"),Object.keys(a.eventsListeners).forEac
1282h(function(e){a.off(e)}),!1!==e&&(a.$el[0].swiper=null,a.$el.data("swiper",null),l.deleteProps(a)),a.destroyed=!0},a.extendDefaults=function(e){l.extend(k,e)},i.extendedDefaults.get=function(){return k},i.defaults.get=function(){return z},i.Class.get=function(){return t},i.$.get=function(){return e},Object.defineProperties(a,i),a}(c),I={name:"device",proto:{device:x},static:{device:x}},L={name:"support",proto:{support:p},static:{support:p}},D={name:"browser",proto:{browser:m},static:{browser:m}},O={name:"resize",create:function(){var e=this;l.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){var e=this;s.addEventListener("resize",e.resize.resizeHandler),s.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(){var e=this;s.removeEventListener("resize",e.resize.resizeHandler),s.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},A={func:s.MutationObserver||s.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var a=this,i=new(0,A.func)(function(e){e.forEach(function(e){a.emit("observerUpdate",e)})});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.observer.observers.push(i)},init:function(){var e=this;if(p.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a<t.length;a+=1)e.observer.attach(t[a]);e.observer.attach(e.$el[0],{childList:!1}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach(function(e){e.disconnect()}),e.observer.observers=[]}},H={name:"observer",params:{observer:!1,observeParents:!1},create:function(){var e=this;l.extend(e,{observer:{init:A.init.bind(e),attach:A.attach.bind(e),destroy:A.destroy.bind(e),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},N={update:function(e){function t(){a.updateSlides(),a.updateProgress(),a.updateSlidesClasses(),a.lazy&&a.params.lazy.enabled&&a.lazy.load()}var a=this,i=a.params,s=i.slidesPerView,r=i.slidesPerGroup,n=i.centeredSlides,o=a.virtual,d=o.from,p=o.to,c=o.slides,u=o.slidesGrid,h=o.renderSlide,v=o.offset;a.updateActiveIndex();var f,m=a.activeIndex||0;f=a.rtl&&a.isHorizontal()?"right":a.isHorizontal()?"left":"top";var g,b;n?(g=Math.floor(s/2)+r,b=Math.floor(s/2)+r):(g=s+(r-1),b=r);var w=Math.max((m||0)-b,0),y=Math.min((m||0)+g,c.length-1),x=(a.slidesGrid[w]||0)-(a.slidesGrid[0]||0);if(l.extend(a.virtual,{from:w,to:y,offset:x,slidesGrid:a.slidesGrid}),d===w&&p===y&&!e)return a.slidesGrid!==u&&x!==v&&a.slides.css(f,x+"px"),void a.updateProgress();if(a.params.virtual.renderExternal)return a.params.virtual.renderExternal.call(a,{offset:x,from:w,to:y,slides:function(){for(var e=[],t=w;t<=y;t+=1)e.push(c[t]);return e}()}),void t();var T=[],E=[];if(e)a.$wrapperEl.find("."+a.params.slideClass).remove();else for(var S=d;S<=p;S+=1)(S<w||S>y)&&a.$wrapperEl.find("."+a.params.slideClass+'[data-swiper-slide-index="'+S+'"]').remove();for(var C=0;C<c.length;C+=1)C>=w&&C<=y&&(void 0===p||e?E.push(C):(C>p&&E.push(C),C<d&&T.push(C)));E.forEach(function(e){a.$wrapperEl.append(h(c[e],e))}),T.sort(function(e,t){return e<t}).forEach(function(e){a.$wrapperEl.prepend(h(c[e],e))}),a.$wrapperEl.children(".swiper-slide").css(f,x+"px"),t()},renderSlide:function(t,a){var i=this,s=i.params.virtual;if(s.cache&&i.virtual.cache[a])return i.virtual.cache[a];var r=e(s.renderSlide?s.renderSlide.call(i,t,a):'<div class="'+i.params.slideClass+'" data-swiper-slide-index="'+a+'">'+t+"</div>");return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",a),s.cache&&(i.virtual.cache[a]=r),r},appendSlide:function(e){var t=this;t.virtual.slides.push(e),t.virtual.update(!0)},prependSlide:function(e){var t=this;if(t.virtual.slides.unshift(e),t.params.virtual.cache){var a=t.virtual.cache,i={};
1282Object.keys(a).forEach(function(e){i[e+1]=a[e]}),t.virtual.cache=i}t.virtual.update(!0),t.slideNext(0)}},X={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null}},create:function(){var e=this;l.extend(e,{virtual:{update:N.update.bind(e),appendSlide:N.appendSlide.bind(e),prependSlide:N.prependSlide.bind(e),renderSlide:N.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};l.extend(e.params,t),l.extend(e.originalParams,t),e.virtual.update()}},setTranslate:function(){var e=this;e.params.virtual.enabled&&e.virtual.update()}}},Y={handle:function(e){var t=this,a=e;a.originalEvent&&(a=a.originalEvent);var i=a.keyCode||a.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===i||t.isVertical()&&40===i))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===i||t.isVertical()&&38===i))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||d.activeElement&&d.activeElement.nodeName&&("input"===d.activeElement.nodeName.toLowerCase()||"textarea"===d.activeElement.nodeName.toLowerCase()))){if(37===i||39===i||38===i||40===i){var r=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var n={left:s.pageXOffset,top:s.pageYOffset},o=s.innerWidth,l=s.innerHeight,p=t.$el.offset();t.rtl&&(p.left-=t.$el[0].scrollLeft);for(var c=[[p.left,p.top],[p.left+t.width,p.top],[p.left,p.top+t.height],[p.left+t.width,p.top+t.height]],u=0;u<c.length;u+=1){var h=c[u];h[0]>=n.left&&h[0]<=n.left+o&&h[1]>=n.top&&h[1]<=n.top+l&&(r=!0)}if(!r)return}t.isHorizontal()?(37!==i&&39!==i||(a.preventDefault?a.preventDefault():a.returnValue=!1),(39===i&&!t.rtl||37===i&&t.rtl)&&t.slideNext(),(37===i&&!t.rtl||39===i&&t.rtl)&&t.slidePrev()):(38!==i&&40!==i||(a.preventDefault?a.preventDefault():a.returnValue=!1),40===i&&t.slideNext(),38===i&&t.slidePrev()),t.emit("keyPress",i)}},enable:function(){var t=this;
1282t.keyboard.enabled||(e(d).on("keydown",t.keyboard.handle),t.keyboard.enabled=!0)},disable:function(){var t=this;t.keyboard.enabled&&(e(d).off("keydown",t.keyboard.handle),t.keyboard.enabled=!1)}},G={name:"keyboard",params:{keyboard:{enabled:!1}},create:function(){var e=this;l.extend(e,{keyboard:{enabled:!1,enable:Y.enable.bind(e),disable:Y.disable.bind(e),handle:Y.handle.bind(e)}})},on:{init:function(){var e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(){var e=this;e.keyboard.enabled&&e.keyboard.disable()}}},B={lastScrollTime:l.now(),event:s.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":a()?"wheel":"mousewheel",normalize:function(e){var t=0,a=0,i=0,s=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),i=10*t,s=10*a,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||s)&&e.deltaMode&&(1===e.deltaMode?(i*=40,s*=40):(i*=800,s*=800)),i&&!t&&(t=i<1?-1:1),s&&!a&&(a=s<1?-1:1),{spinX:t,spinY:a,pixelX:i,pixelY:s}},handle:function(e){var t=e,a=this,i=a.params.mousewheel;t.originalEvent&&(t=t.originalEvent);var r=0,n=a.rtl?-1:1,o=B.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(i.invert&&(r=-r),a.params.freeMode){var d=a.getTranslate()+r*i.sensitivity,p=a.isBeginning,c=a.isEnd;if(d>=a.minTranslate()&&(d=a.minTranslate()),d<=a.maxTranslate()&&(d=a.maxTranslate()),a.setTransition(0),a.setTranslate(d),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!p&&a.isBeginning||!c&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky&&(clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=l.nextTick(function(){a.slideReset()},300)),a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.stopAutoplay(),0===d||d===a.maxTranslate())return!0}else{if(l.now()-a.mousewheel.lastScrollTime>60)if(r<0)if(a.isEnd&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slideNext(),a.emit("scroll",t);else if(a.isBeginning&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slidePrev(),a.emit("scroll",t);a.mousewheel.lastScrollTime=(new s.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable:function(){var t=this;if(!B.event)return!1;if(t.mousewheel.enabled)return!1;var a=t.$el;return"container"!==t.params.mousewheel.eventsTarged&&(a=e(t.params.mousewheel.eventsTarged)),a.on(B.event,t.mousewheel.handle),t.mousewheel.enabled=!0,!0},disable:function(){var t=this;if(!B.event)return!1;if(!t.mousewheel.enabled)return!1;var a=t.$el;return"container"!==t.params.mousewheel.eventsTarged&&(a=e(t.params.mousewheel.eventsTarged)),a.off(B.event,t.mousewheel.handle),t.mousewheel.enabled=!1,!0}},V={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;l.extend(e,{mousewheel:{enabled:!1,enable:B.enable.bind(e),disable:B.disable.bind(e),handle:B.handle.bind(e),lastScrollTime:l.now()}})},on:{init:function(){var e=this;e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(){var e=this;e.mousewheel.enabled&&e.mousewheel.disable()}}},R={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var a=e.navigation,i=a.$nextEl,s=a.$prevEl;s&&s.length>0&&(e.isBeginning?s.addClass(t.disabledClass):s.removeClass(t.disabledClass)),i&&i.length>0&&(e.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass))}},init:function(){var t=this,a=t.params.navigation;if(a.nextEl||a.prevEl){var i,s;a.nextEl&&(i=e(a.nextEl),t.params.uniqueNavElements&&"string"==typeof a.nextEl&&i.length>1&&1===t.$el.find(a.nextEl).length&&(i=t.$el.find(a.nextEl))),a.prevEl&&(s=e(a.prevEl),t.params.uniqueNavElements&&"string"==typeof a.prevEl&&s.length>1&&1===t.$el.find(a.prevEl).length&&(s=t.$el.find(a.prevEl))),i&&i.length>0&&i.on("click",function(e){e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()}),s&&s.length>0&&s.on("click",function(e){e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()}),l.extend(t.navigation,{$nextEl:i,nextEl:i&&i[0],$prevEl:s,prevEl:s&&s[0]})}},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a.length&&(a.off("click"),a.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("
1282click"),i.removeClass(e.params.navigation.disabledClass))}},W={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden"}},create:function(){var e=this;l.extend(e,{navigation:{init:R.init.bind(e),update:R.update.bind(e),destroy:R.destroy.bind(e)}})},on:{init:function(){var e=this;e.navigation.init(),e.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(t){var a=this,i=a.navigation,s=i.$nextEl,r=i.$prevEl;!a.params.navigation.hideOnClick||e(t.target).is(r)||e(t.target).is(s)||(s&&s.toggleClass(a.params.navigation.hiddenClass),r&&r.toggleClass(a.params.navigation.hiddenClass))}}},F={update:function(){var t=this,a=t.rtl,i=t.params.pagination;if(i.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length){var s,r=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,n=t.pagination.$el,o=t.params.loop?Math.ceil((r-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?((s=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup))>r-1-2*t.loopedSlides&&(s-=r-2*t.loopedSlides),s>o-1&&(s-=o),s<0&&"bullets"!==t.params.paginationType&&(s=o+s)):s=void 0!==t.snapIndex?t.snapIndex:t.activeIndex||0,"bullets"===i.type&&t.pagination.bullets&&t.pagination.bullets.length>0){var l=t.pagination.bullets;if(i.dynamicBullets&&(t.pagination.bulletSize=l.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),n.css(t.isHorizontal()?"width":"height",5*t.pagination.bulletSize+"px")),l.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev"),n.length>1)l.each(function(t,a){var r=e(a);r.index()===s&&(r.addClass(i.bulletActiveClass),i.dynamicBullets&&(r.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),r.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")))});else{var d=l.eq(s);d.addClass(i.bulletActiveClass),i.dynamicBullets&&(d.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),d.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))}if(i.dynamicBullets){var p=Math.min(l.length,5),c=(t.pagination.bulletSize*p-t.pagination.bulletSize)/2-s*t.pagination.bulletSize,u=a?"right":"left";l.css(t.isHorizontal()?u:"top",c+"px")}}if("fraction"===i.type&&(n.find("."+i.currentClass).text(s+1),n.find("."+i.totalClass).text(o)),"progressbar"===i.type){var h=(s+1)/o,v=h,f=1;t.isHorizontal()||(f=h,v=1),n.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+v+") scaleY("+f+")").transition(t.params.speed)}"custom"===i.type&&i.renderCustom?(n.html(i.renderCustom(t,s+1,o)),t.emit("paginationRender",t,n[0])):t.emit("paginationUpdate",t,n[0])}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,s="";if("bullets"===t.type){for(var r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,n=0;n<r;n+=1)t.renderBullet?s+=t.renderBullet.call(e,n,t.bulletClass):s+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";i.html(s),e.pagination.bullets=i.find("."+t.bulletClass)}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var t=this,a=t.params.pagination;if(a.el){var i=e(a.el);0!==i.length&&(t.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===t.$el.find(a.el).length&&(i=t.$el.find(a.el)),"bullets"===a.type&&a.clickable&&i.addClass(a.clickableClass),i.addClass(a.modifierClass+a.type),"bullets"===a.type&&a.dynamicBullets&&i.addClass(""+a.modifierClass+a.type+"-dynamic"),a.clickable&&i.on("click","."+a.bulletClass,function(a){a.preventDefault();var i=e(this).index()*t.params.slidesPerGroup;t.params.loop&&(i+=t.loopedSlides),t.slideTo(i)}),l.extend(t.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("
1282click","."+t.bulletClass)}}},j={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,type:"bullets",dynamicBullets:!1,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",clickableClass:"swiper-pagination-clickable"}},create:function(){var e=this;l.extend(e,{pagination:{init:F.init.bind(e),render:F.render.bind(e),update:F.update.bind(e),destroy:F.destroy.bind(e)}})},on:{init:function(){var e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(){var e=this;e.params.loop?e.pagination.update():void 0===e.snapIndex&&e.pagination.update()},snapIndexChange:function(){var e=this;e.params.loop||e.pagination.update()},slidesLengthChange:function(){var e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(){var e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(t){var a=this;a.params.pagination.el&&a.params.pagination.hideOnClick&&a.pagination.$el.length>0&&!e(t.target).hasClass(a.params.pagination.bulletClass)&&a.pagination.$el.toggleClass(a.params.pagination.hiddenClass)}}},q={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=e.rtl,i=e.progress,s=t.dragSize,r=t.trackSize,n=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=s,c=(r-s)*i;a&&e.isHorizontal()?(c=-c)>0?(d=s-c,c=0):-c+s>r&&(d=r+c):c<0?(d=s+c,c=0):c+s>r&&(d=r-c),e.isHorizontal()?(p.transforms3d?n.transform("translate3d("+c+"px, 0, 0)"):n.transform("translateX("+c+"px)"),n[0].style.width=d+"px"):(p.transforms3d?n.transform("translate3d(0px, "+c+"px, 0)"):n.transform("translateY("+c+"px)"),n[0].style.height=d+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=t.$dragEl,i=t.$el;a[0].style.width="",a[0].style.height="";var s,r=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=e.size/e.virtualSize,o=n*(r/e.size);s="auto"===e.params.scrollbar.dragSize?r*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=s+"px":a[0].style.height=s+"px",i[0].style.display=n>=1?"none":"",e.params.scrollbarHide&&(i[0].style.opacity=0),l.extend(t,{trackSize:r,divider:n,moveDivider:o,dragSize:s})}},setDragPosition:function(e){var t,a=this,i=a.scrollbar,s=i.$el,r=i.dragSize,n=i.trackSize;t=((a.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-s.offset()[a.isHorizontal()?"left":"top"]-r/2)/(n-r),t=Math.max(Math.min(t,1),0),a.rtl&&(t=1-t);var o=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*t;a.updateProgress(o),a.setTranslate(o),a.updateActiveIndex(),a.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el,n=i.$dragEl;t.scrollbar.isTouched=!0,e.preventDefault(),e.stopPropagation(),s.transition(100),n.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),a.hide&&r.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,a=t.scrollbar,i=t.$wrapperEl,s=a.$el,r=a.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),i.transition(0),s.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=l.nextTick(function(){i.css("opacity",0),i.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideReset())},enableDraggable:function(){var t=this;if(t.params.scrollbar.el){var a=t.scrollbar.$el,i=p.touch?a[0]:document;a.on(t.scrollbar.dragEvents.start,t.scrollbar.onDragStart),e(i).on(t.scrollbar.dragEvents.move,t.scrollbar.onDragMove),e(i).on(t.scrollbar.dragEvents.end,t.scrollbar.onDragEnd)}},disableDraggable:function(){var t=this;if(t.params.scrollbar.el){var a=t.scrollbar.$el,i=p.touch?a[0]:document;
1282a.off(t.scrollbar.dragEvents.start),e(i).off(t.scrollbar.dragEvents.move),e(i).off(t.scrollbar.dragEvents.end)}},init:function(){var t=this;if(t.params.scrollbar.el){var a=t.scrollbar,i=t.$el,s=t.touchEvents,r=t.params.scrollbar,n=e(r.el);t.params.uniqueNavElements&&"string"==typeof r.el&&n.length>1&&1===i.find(r.el).length&&(n=i.find(r.el));var o=n.find(".swiper-scrollbar-drag");0===o.length&&(o=e('<div class="swiper-scrollbar-drag"></div>'),n.append(o)),t.scrollbar.dragEvents=!1!==t.params.simulateTouch||p.touch?s:{start:"mousedown",move:"mousemove",end:"mouseup"},l.extend(a,{$el:n,el:n[0],$dragEl:o,dragEl:o[0]}),r.draggable&&a.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},K={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0}},create:function(){var e=this;l.extend(e,{scrollbar:{init:q.init.bind(e),destroy:q.destroy.bind(e),updateSize:q.updateSize.bind(e),setTranslate:q.setTranslate.bind(e),setTransition:q.setTransition.bind(e),enableDraggable:q.enableDraggable.bind(e),disableDraggable:q.disableDraggable.bind(e),setDragPosition:q.setDragPosition.bind(e),onDragStart:q.onDragStart.bind(e),onDragMove:q.onDragMove.bind(e),onDragEnd:q.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},U={setTransform:function(t,a){var i=this,s=i.rtl,r=e(t),n=s?-1:1,o=r.attr("data-swiper-parallax")||"0",l=r.attr("data-swiper-parallax-x"),d=r.attr("data-swiper-parallax-y"),p=r.attr("data-swiper-parallax-scale"),c=r.attr("data-swiper-parallax-opacity");if(l||d?(l=l||"0",d=d||"0"):i.isHorizontal()?(l=o,d="0"):(d=o,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*a*n+"%":l*a*n+"px",d=d.indexOf("%")>=0?parseInt(d,10)*a+"%":d*a+"px",void 0!==c&&null!==c){var u=c-(c-1)*(1-Math.abs(a));r[0].style.opacity=u}if(void 0===p||null===p)r.transform("translate3d("+l+", "+d+", 0px)");else{var h=p-(p-1)*(1-Math.abs(a));r.transform("translate3d("+l+", "+d+", 0px) scale("+h+")")}},setTranslate:function(){var t=this,a=t.$el,i=t.slides,s=t.progress,r=t.snapGrid;a.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,a){t.parallax.setTransform(a,s)}),i.each(function(a,i){var n=i.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(n+=Math.ceil(a/2)-s*(r.length-1)),n=Math.min(Math.max(n,-1),1),e(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,a){t.parallax.setTransform(a,n)})})},setTransition:function(t){void 0===t&&(t=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(a,i){var s=e(i),r=parseInt(s.attr("data-swiper-parallax-duration"),10)||t;0===t&&(r=0),s.transition(r)})}},_={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;l.extend(e,{parallax:{setTransform:U.setTransform.bind(e),setTranslate:U.setTranslate.bind(e),setTransition:U.setTransition.bind(e)}})},on:{beforeInit:function(){this.params.watchSlidesProgress=!0},init:function(){var e=this;e.params.parallax&&e.parallax.setTranslate()},setTranslate:function(){var e=this;e.params.parallax&&e.parallax.setTranslate()},setTransition:function(e){var t=this;t.params.parallax&&t.parallax.setTransition(e)}}},Z={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(s-a,2))},onGestureStart:function(t){var a=this,i=a.params.zoom,s=a.zoom,r=s.gesture;if(s.fakeGestureTouched=!1,s.fakeGestureMoved=!1,!p.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;s.fakeGestureTouched=!0,r.scaleStart=Z.getDistanceBetweenTouches(t)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=e(this),0===r.$slideEl.length&&(r.$slideEl=a.slides.eq(a.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+i.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl.transition(0),a.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this,a=t.params.zoom,i=t.zoom,s=i.gesture;
vendor: 4,557 bytes, line 1282
1282if(!p.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=Z.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(p.gestures?t.zoom.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<a.minRatio&&(i.scale=a.minRatio+1-Math.pow(a.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this,a=t.params.zoom,i=t.zoom,s=i.gesture;if(!p.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!x.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),a.minRatio),s.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,a=t.gesture,i=t.image;a.$imageEl&&0!==a.$imageEl.length&&(i.isTouched||(x.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,s=a.image,r=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=l.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=l.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(s.startX=-s.startX),t.rtl&&(s.startY=-s.startY));var n=s.width*a.scale,o=s.height*a.scale;if(!(n<i.slideWidth&&o<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-n/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-o/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=s.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=s.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(s.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(s.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(s.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(s.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=s.touchesCurrent.x,r.prevPositionY=s.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!a.isTouched||!a.isMoved)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;var s=300,r=300,n=i.x*s,o=a.currentX+n,l=i.y*r,d=a.currentY+l;0!==i.x&&(s=Math.abs((o-a.currentX)/i.x)),0!==i.y&&(r=Math.abs((d-a.currentY)/i.y));var p=Math.max(s,r);a.currentX=o,a.currentY=d;var c=a.width*e.scale,u=a.height*e.scale;a.minX=Math.min(t.slideWidth/2-c/2,0),a.maxX=-a.minX,a.minY=Math.min(t.slideHeight/2-u/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),t.$imageWrapEl.transition(p).transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,a=t.gesture;a.$slideEl&&e.previousIndex!==e.activeIndex&&(a.$imageEl.transform("translate3d(0,
12820,0) scale(1)"),a.$imageWrapEl.transform("translate3d(0,0,0)"),a.$slideEl=void 0,a.$imageEl=void 0,a.$imageWrapEl=void 0,t.scale=1,t.currentScale=1)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(t){var a=this,i=a.zoom,s=a.params.zoom,r=i.gesture,n=i.image;if(r.$slideEl||(r.$slideEl=a.clickedSlide?e(a.clickedSlide):a.slides.eq(a.activeIndex),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+s.containerClass)),r.$imageEl&&0!==r.$imageEl.length){r.$slideEl.addClass(""+s.zoomedSlideClass);var o,l,d,p,c,u,h,v,f,m,g,b,w,y,x,T;void 0===n.touchesStart.x&&t?(o="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,l="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(o=n.touchesStart.x,l=n.touchesStart.y),i.scale=r.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,i.currentScale=r.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,t?(x=r.$slideEl[0].offsetWidth,T=r.$slideEl[0].offsetHeight,d=r.$slideEl.offset().left+x/2-o,p=r.$slideEl.offset().top+T/2-l,h=r.$imageEl[0].offsetWidth,v=r.$imageEl[0].offsetHeight,f=h*i.scale,m=v*i.scale,w=-(g=Math.min(x/2-f/2,0)),y=-(b=Math.min(T/2-m/2,0)),c=d*i.scale,u=p*i.scale,c<g&&(c=g),c>w&&(c=w),u<b&&(u=b),u>y&&(u=y)):(c=0,u=0),r.$imageWrapEl.transition(300).transform("translate3d("+c+"px, "+u+"px,0)"),r.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+i.scale+")")}},out:function(){var t=this,a=t.zoom,i=t.params.zoom,s=a.gesture;s.$slideEl||(s.$slideEl=t.clickedSlide?e(t.clickedSlide):t.slides.eq(t.activeIndex),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+i.containerClass)),s.$imageEl&&0!==s.$imageEl.length&&(a.scale=1,a.currentScale=1,s.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),s.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),s.$slideEl.removeClass(""+i.zoomedSlideClass),s.$slideEl=void 0)},enable:function(){var t=this,a=t.zoom;if(!a.enabled){a.enabled=!0;var i=t.slides,s=!("touchstart"!==t.touchEvents.start||!p.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};p.gestures?(i.on("gesturestart",a.onGestureStart,s),i.on("gesturechange",a.onGestureChange,s),i.on("gestureend",a.onGestureEnd,s)):"touchstart"===t.touchEvents.start&&(i.on(t.touchEvents.start,a.onGestureStart,s),i.on(t.touchEvents.move,a.onGestureChange,s),i.on(t.touchEvents.end,a.onGestureEnd,s)),t.slides.each(function(i,s){var r=e(s);r.find("."+t.params.zoom.containerClass).length>0&&r.on(t.touchEvents.move,a.onTouchMove)})}},disable:function(){var t=this,a=t.zoom;if(a.enabled){t.zoom.enabled=!1;var i=t.slides,s=!("touchstart"!==t.touchEvents.start||!p.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};p.gestures?(i.off("gesturestart",a.onGestureStart,s),i.off("gesturechange",a.onGestureChange,s),i.off("gestureend",a.onGestureEnd,s)):"touchstart"===t.touchEvents.start&&(i.off(t.touchEvents.start,a.onGestureStart,s),i.off(t.touchEvents.move,a.onGestureChange,s),i.off(t.touchEvents.end,a.onGestureEnd,s)),t.slides.each(function(i,s){var r=e(s);r.find("."+t.params.zoom.containerClass).length>0&&r.off(t.touchEvents.move,a.onTouchMove)})}}},Q={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(a){t[a]=Z[a].bind(e)}),l.extend(e,{zoom:t})},on:{init:function(){var e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchStart(e)},touchEnd:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchEnd(e)},doubleTap:function(e){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()}}},J={loadInSlide:function(t,a){void 0===a&&(a=!0);var i=this,s=i.params.lazy;if(void 0!==t&&0!==i.slides.length){var r=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+t+'"]'):i.slides.eq(t),n=r.find("."+s.elementClass+":not(."+s.loadedClass+"):not(."+s.loadingClass+")");!r.hasClass(s.elementClass)||r.hasClass(s.loadedClass)||r.hasClass(s.loadingClass)||(n=n.add(r[0])),0!==n.length&&n.each(function(t,n){var o=e(n);o.addClass(s.loadingClass);var l=o.attr("data-background"),d=o.attr("data-src"),p=o.attr("data-srcset"),c=o.attr("data-sizes");i.loadImage(o[0],d||l,p,c,!1,function(){if(void 0!==i&&null!==i&&i&&(!i||i.params)&&!i.destroyed){
1282if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(p&&(o.attr("srcset",p),o.removeAttr("data-srcset")),c&&(o.attr("sizes",c),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),r.find("."+s.preloaderClass).remove(),i.params.loop&&a){var e=r.attr("data-swiper-slide-index");if(r.hasClass(i.params.slideDuplicateClass)){var t=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(t.index(),!1)}else{var n=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(n.index(),!1)}}i.emit("lazyImageReady",r[0],o[0])}}),i.emit("lazyImageLoad",r[0],o[0])})}},load:function(){function t(e){if(l){if(s.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(n[e])return!0;return!1}function a(t){return l?e(t).attr("data-swiper-slide-index"):e(t).index()}var i=this,s=i.$wrapperEl,r=i.params,n=i.slides,o=i.activeIndex,l=i.virtual&&r.virtual.enabled,d=r.lazy,p=r.slidesPerView;if("auto"===p&&(p=0),i.lazy.initialImageLoaded||(i.lazy.initialImageLoaded=!0),i.params.watchSlidesVisibility)s.children("."+r.slideVisibleClass).each(function(t,a){var s=l?e(a).attr("data-swiper-slide-index"):e(a).index();i.lazy.loadInSlide(s)});else if(p>1)for(var c=o;c<o+p;c+=1)t(c)&&i.lazy.loadInSlide(c);else i.lazy.loadInSlide(o);if(d.loadPrevNext)if(p>1||d.loadPrevNextAmount&&d.loadPrevNextAmount>1){for(var u=d.loadPrevNextAmount,h=p,v=Math.min(o+h+Math.max(u,h),n.length),f=Math.max(o-Math.max(h,u),0),m=o+p;m<v;m+=1)t(m)&&i.lazy.loadInSlide(m);for(var g=f;g<o;g+=1)t(g)&&i.lazy.loadInSlide(g)}else{var b=s.children("."+r.slideNextClass);b.length>0&&i.lazy.loadInSlide(a(b));var w=s.children("."+r.slidePrevClass);w.length>0&&i.lazy.loadInSlide(a(w))}}},ee={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var e=this;l.extend(e,{lazy:{initialImageLoaded:!1,load:J.load.bind(e),loadInSlide:J.loadInSlide.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(){var e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(){var e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){var e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()}}},te={LinearSpline:function(e,t){var a=function(){var e,t,a;return function(i,s){for(t=-1,e=i.length;e-t>1;)i[a=e+t>>1]<=s?t=a:e=a;return e}}();this.x=e,this.y=t,this.lastIndex=e.length-1;var i,s;return this.interpolate=function(e){return e?(s=a(this.x,e),i=s-1,(e-this.x[i])*(this.y[s]-this.y[i])/(this.x[s]-this.x[i])+this.y[i]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new te.LinearSpline(t.slidesGrid,e.slidesGrid):new te.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){function a(e){var t=e.rtl&&"horizontal"===e.params.direction?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(e),s=-r.controller.spline.interpolate(-t)),s&&"container"!==r.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),s=(t-r.minTranslate())*i+e.minTranslate()),r.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,r),e.updateActiveIndex(),e.updateSlidesClasses()}var i,s,r=this,n=r.controller.control;if(Array.isArray(n))for(var o=0;o<n.length;o+=1)n[o]!==t&&n[o]instanceof $&&a(n[o]);else n instanceof $&&t!==n&&a(n)},setTransition:function(e,t){function a(t){t.setTransition(e,s),0!==e&&(t.transitionStart(),t.$wrapperEl.transitionEnd(function(){r&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(),t.transitionEnd())}))}var i,s=this,r=s.controller.control;if(Array.isArray(r))for(i=0;i<r.length;i+=1)r[i]!==t&&r[i]instanceof $&&a(r[i]);else r instanceof $&&t!==r&&a(r)}},ae={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;l.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:te.getInterpolateFunction.bind(e),setTranslate:te.setTranslate.bind(e),setTransition:te.setTransition.bind(e)}})},on:{update:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t){var a=this;a.controller.control&&a.controller.setTranslate(e,t)},setTransition:function(e,t){var a=this;a.controller.control&&a.controller.setTransition(e,t)}}},ie={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(t){var a=this,i=a.params.a11y;if(13===t.keyCode){var s=e(t.target);a.navigation&&a.navigation.$nextEl&&s.is(a.navigation.$nextEl)&&(a.isEnd&&!a.params.loop||a.slideNext(),a.isEnd?a.a11y.notify(i.lastSlideMessage):a.a11y.notify(i.nextSlideMessage)),a.navigation&&a.navigation.$prevEl&&s.is(a.navigation.$prevEl)&&(a.isBeginning&&!a.params.loop||a.slidePrev(),a.isBeginning?a.a11y.notify(i.firstSlideMessage):a.a11y.notify(i.prevSlideMessage)),a.pagination&&s.is("."+a.params.pagination.bulletClass)&&s[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(e.isBeginning?e.a11y.disableEl(i):e.a11y.enableEl(i)),a&&a.length>0&&(e.isEnd?e.a11y.disableEl(a):e.a11y.enableEl(a))}},updatePagination:function(){var t=this,a=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(i,s){var r=e(s);t.a11y.makeElFocusable(r),t.a11y.addElRole(r,"button"),t.a11y.addElLabel(r,a.paginationBulletMessage.replace(/{{index}}/,r.index()+1))})},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,a,i=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,i.nextSlideMessage),t.on("key
1282down",e.a11y.onEnterKey)),a&&(e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,i.prevSlideMessage),a.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e=this;e.a11y.liveRegion&&e.a11y.liveRegion.length>0&&e.a11y.liveRegion.remove();var t,a;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&t.off("keydown",e.a11y.onEnterKey),a&&a.off("keydown",e.a11y.onEnterKey),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.off("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)}},se={name:"a11y",params:{a11y:{enabled:!1,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;l.extend(t,{a11y:{liveRegion:e('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(ie).forEach(function(e){t.a11y[e]=ie[e].bind(t)})},on:{init:function(){var e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(){var e=this;e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(){var e=this;e.params.a11y.enabled&&e.a11y.destroy()}}},re={init:function(){var e=this;if(e.params.history){if(!s.history||!s.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var t=e.history;t.initialized=!0,t.paths=re.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||s.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=this;e.params.history.replaceState||s.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=re.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=s.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){var a=this;if(a.history.initialized&&a.params.history.enabled){var i=a.slides.eq(t),r=re.slugify(i.attr("data-history"));s.location.pathname.includes(e)||(r=e+"/"+r);var n=s.history.state;n&&n.value===r||(a.params.history.replaceState?s.history.replaceState({value:r},null,r):s.history.pushState({value:r},null,r))}},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,a){var i=this;if(t)for(var s=0,r=i.slides.length;s<r;s+=1){var n=i.slides.eq(s);if(re.slugify(n.attr("data-history"))===t&&!n.hasClass(i.params.slideDuplicateClass)){var o=n.index();i.slideTo(o,e,a)}}else i.slideTo(0,e,a)}},ne={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;l.extend(e,{history:{init:re.init.bind(e),setHistory:re.setHistory.bind(e),setHistoryPopState:re.setHistoryPopState.bind(e),scrollToSlide:re.scrollToSlide.bind(e),destroy:re.destroy.bind(e)}})},on:{init:function(){var e=this;e.params.history.enabled&&e.history.init()},destroy:function(){var e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd:function(){var e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},oe={onHashCange:function(){var e=this,t=d.location.hash.replace("#","");t!==e.slides.eq(e.activeIndex).attr("data-hash")&&e.slideTo(e.$wrapperEl.children("."+e.params.slideClass+'[data-hash="'+t+'"]').index())},setHash:function(){var e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&s.history&&s.history.replaceState)s.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||"");else{var t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");d.location.hash=a||""}},init:function(){var t=this;if(!(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)){t.hashNavigation.initialized=!0;var a=d.location.hash.replace("#","");if(a)for(var i=0,r=t.slides.length;i<r;i+=1){var n=t.slides.eq(i);if((n.attr("data-hash")||n.attr("data-history"))===a&&!n.hasClass(t.params.slideDuplicateClass)){var o=n.index();t.slideTo(o,0,t.params.runCallbacksOnInit,!0)}}t.params.hashNavigation.watchState&&e(s).on("hashchange",t.hashNavigation.onHashCange)}},destroy:function(){var t=this;t.params.hashNavigation.watchState&&e(s).off("hashchange",t.hashNavigation.onHashCange)}},le={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;l.extend(e,{hashNavigation:{initialized:!1,init:oe.init.bind(e),destroy:oe.destroy.bind(e),setHash:oe.setHash.bind(e),onHashCange:oe.onHashCange.bind(e)}})},on:{init:function(){var e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(){var e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(){var e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()}}},de={run:function(){var e=this,t=e.slides.eq(e.activeIndex),a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),e.autoplay.timeout=l.nextTick(function(){e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,
vendor: 9,194 bytes, line 1282
1282!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))},a)},start:function(){var e=this;return void 0===e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0===e?(t.autoplay.paused=!1,t.autoplay.run()):t.$wrapperEl.transitionEnd(function(){t&&!t.destroyed&&(t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())})))}},pe={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,disableOnInteraction:!0,stopOnLastSlide:!1}},create:function(){var e=this;l.extend(e,{autoplay:{running:!1,paused:!1,run:de.run.bind(e),start:de.start.bind(e),stop:de.stop.bind(e),pause:de.pause.bind(e)}})},on:{init:function(){var e=this;e.params.autoplay.enabled&&e.autoplay.start()},beforeTransitionStart:function(e,t){var a=this;a.autoplay.running&&(t||!a.params.autoplay.disableOnInteraction?a.autoplay.pause(e):a.autoplay.stop())},sliderFirstMove:function(){var e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},destroy:function(){var e=this;e.autoplay.running&&e.autoplay.stop()}}},ce={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),s=-i[0].swiperSlideOffset;e.params.virtualTranslate||(s-=e.translate);var r=0;e.isHorizontal()||(r=s,s=0);var n=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:n}).transform("translate3d("+s+"px, "+r+"px, 0px)")}},setTransition:function(e){var t=this,a=t.slides,i=t.$wrapperEl;if(a.transition(e),t.params.virtualTranslate&&0!==e){var s=!1;a.transitionEnd(function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)i.trigger(e[a])}})}}},ue={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var e=this;l.extend(e,{fadeEffect:{setTranslate:ce.setTranslate.bind(e),setTransition:ce.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};l.extend(e.params,t),l.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e){var t=this;"fade"===t.params.effect&&t.fadeEffect.setTransition(e)}}},he={setTranslate:function(){var t,a=this,i=a.$el,s=a.$wrapperEl,r=a.slides,n=a.width,o=a.height,l=a.rtl,d=a.size,p=a.params.cubeEffect,c=a.isHorizontal(),u=a.virtual&&a.params.virtual.enabled,h=0;p.shadow&&(c?(0===(t=s.find(".swiper-cube-shadow")).length&&(t=e('<div class="swiper-cube-shadow"></div>'),s.append(t)),t.css({height:n+"px"})):0===(t=i.find(".swiper-cube-shadow")).length&&(t=e('<div class="swiper-cube-shadow"></div>'),i.append(t)));for(var v=0;v<r.length;v+=1){var f=r.eq(v),g=v;u&&(g=parseInt(f.attr("data-swiper-slide-index"),10));var b=90*g,w=Math.floor(b/360);l&&(b=-b,w=Math.floor(-b/360));var y=Math.max(Math.min(f[0].progress,1),-1),x=0,T=0,E=0;g%4==0?(x=4*-w*d,E=0):(g-1)%4==0?(x=0,E=4*-w*d):(g-2)%4==0?(x=d+4*w*d,E=d):(g-3)%4==0&&(x=-d,E=3*d+4*d*w),l&&(x=-x),c||(T=x,x=0);var S="rotateX("+(c?0:-b)+"deg) rotateY("+(c?b:0)+"deg) translate3d("+x+"px, "+T+"px, "+E+"px)";if(y<=1&&y>-1&&(h=90*g+90*y,l&&(h=90*-g-90*y)),f.transform(S),p.slideShadows){var C=c?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),M=c?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===C.length&&(C=e('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),f.append(C)),0===M.length&&(M=e('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),f.append(M)),C.length&&(C[0].style.opacity=Math.max(-y,0)),M.length&&(M[0].style.opacity=Math.max(y,0))}}if(s.css({"-webkit-transform-origin":"50% 50% -"+d/2+"px","-moz-transform-origin":"50% 50% -"+d/2+"px","-ms-transform-origin":"50% 50% -"+d/2+"px","transform-origin":"50% 50% -"+d/2+"px"}),p.shadow)if(c)t.transform("translate3d(0px, "+(n/2+p.shadowOffset)+"px, "+-n/2+"px) rotateX(90deg) rotateZ(0deg) scale("+p.shadowScale+")");else{var z=Math.abs(h)-90*Math.floor(Math.abs(h)/90),P=1.5-(Math.sin(2*z*Math.PI/360)/2+Math.cos(2*z*Math.PI/360)/2),k=p.shadowScale,$=p.shadowScale/P,I=p.shadowOffset;t.transform("scale3d("+k+", 1, "+$+") translate3d(0px, "+(o/2+I)+"px, "+-o/2/$+"px) rotateX(-90deg)")}var L=m.isSafari||m.isUiWebView?-d/2:0;s.transform("translate3d(0px,0,"+L+"px) rotateX("+(a.isHorizontal()?0:h)+"deg) rotateY("+(a.isHorizontal()?-h:0)+"deg)")},setTransition:function(e){var t=this,a=t.$el;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&a.find(".swiper-cube-shadow").transition(e)}},ve={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;l.extend(e,{cubeEffect:{setTranslate:he.setTranslate.bind(e),setTransition:he.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};l.extend(e.params,t),l.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e){var t=this;"cube"===t.params.effect&&t.cubeEffect.setTransition(e)}}},fe={setTranslate:function(){for(var t=this,a=t.slides,i=0;i<a.length;i+=1){var s=a.eq(i),r=s[0].progress;t.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s[0].progress,1),-1));var n=-180*r,o=0,l=-s[0].swiperSlideOffset,d=0;if(t.isHorizontal()?t.rtl&&(n=-n):(d=l,l=0,o=-n,n=0),s[0].style.zIndex=-Math.abs(Math.round(r))+a.length,t.params.flipEffect.slideShadows){var p=t.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),c=t.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===p.length&&(p=e('<div class="swiper-slide-shadow-'+(t.isHorizontal()?"left":"top")+'"></div>'),s.append(p)),0===c.length&&(c=e('<div class="swiper-slide-shadow-'+(t.isHorizontal()?"right":"bottom")+'"></div>'),s.append(c)),p.length&&(p[0].style.opacity=Math.max(-r,0)),c.length&&(c[0].style.opacity=Math.max(r,0))}s.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var t=this,a=t.slides,i=t.activeIndex,s=t.$wrapperEl;if(a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;a.eq(i).transitionEnd(function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)s.trigger(e[a])}})}}},me={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var e=this;l.extend(e,{flipEffect:{setTranslate:fe.setTranslate.bind(e),setTransition:fe.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};l.extend(e.params,t),l.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e){var t=this;"flip"===t.params.effect&&t.flipEffect.setTransition(e)}}},ge={setTranslate:function(){for(var t=this,a=t.width,i=t.height,s=t.slides,r=t.$wrapperEl,n=t.slidesSizesGrid,o=t.params.coverflowEffect,l=t.isHorizontal(),d=t.translate,p=l?a/2-d:i/2-d,c=l?o.rotate:-o.rotate,u=o.depth,h=0,v=s.length;h<v;h+=1){var f=s.eq(h),g=n[h],b=(p-f[0].swiperSlideOffset-g/2)/g*o.modifier,w=l?c*b:0,y=l?0:c*b,x=-u*Math.abs(b),T=l?0:o.stretch*b,E=l?o.stretch*b:0;Math.abs(E)<.001&&(E=0),Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(y)<.001&&(y=0);var S="translate3d("+E+"px,"+T+"px,"+x+"px)  rotateX("+y+"deg) rotateY("+w+"deg)";if(f.transform(S),f[0].style.zIndex=1-Math.abs(Math.round(b)),o.slideShadows){var C=l?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),M=l?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");
12820===C.length&&(C=e('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),f.append(C)),0===M.length&&(M=e('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),f.append(M)),C.length&&(C[0].style.opacity=b>0?b:0),M.length&&(M[0].style.opacity=-b>0?-b:0)}}m.ie&&(r[0].style.perspectiveOrigin=p+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},be={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var e=this;l.extend(e,{coverflowEffect:{setTranslate:ge.setTranslate.bind(e),setTransition:ge.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){var e=this;"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e){var t=this;"coverflow"===t.params.effect&&t.coverflowEffect.setTransition(e)}}};return $.use([I,L,D,O,H,X,G,V,W,j,K,_,Q,ee,ae,se,ne,le,pe,ue,ve,me,be]),$});/*!
1283 * imagesLoaded PACKAGED v4.1.4
1284 * JavaScript is all like "You images are done yet or what?"
1285 * MIT License
1286 */
1287!function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return n!=-1&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function i(e,t){for(var i in t)e[i]=t[i];return e}function n(e){if(Array.isArray(e))return e;var t="object"==typeof e&&"number"==typeof e.length;return t?d.call(e):[e]}function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var s=e;return"string"==typeof e&&(s=document.querySelectorAll(e)),s?(this.elements=n(s),this.options=i({},this.options),"function"==typeof t?r=t:i(this.options,t),r&&this.on("always",r),this.getImages(),h&&(this.jqDeferred=new h.Deferred),void setTimeout(this.check.bind(this))):void a.error("Bad element for imagesLoaded "+(s||e))}function r(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}var h=e.jQuery,a=e.console,d=Array.prototype.slice;o.prototype=Object.create(t.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),this.options.background===!0&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&u[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var u={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];
1287o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new r(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var i=new s(e,t);this.images.push(i)},o.prototype.check=function(){function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},r.prototype=Object.create(t.prototype),r.prototype.check=function(){var e=this.getIsImageComplete();return e?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},r.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},r.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},r.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},r.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(r.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var e=this.getIsImageComplete();e&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&(h=t,h.fn.imagesLoaded=function(e,t){var i=new o(this,e,t);return i.jqDeferred.promise(h(this))})},o.makeJQueryPlugin(),o});(function(factory){'use strict';if(typeof define==='function'&&define.amd){define(['jquery'],factory)}else if(typeof exports!=='undefined'){module.exports=factory(require('jquery'))}else{factory(jQuery)}}(function($){'use strict';var Slick=window.Slick||{};Slick=(function(){var instanceUid=0;function Slick(element,settings){var _=this,dataSettings;_.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:$(element),appendDots:$(element),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3000,centerMode:!1,centerPadding:'50px',cssEase:'ease',customPaging:function(slider,i){return $('<button type="button" />').text(i+1)},dots:!1,dotsClass:'slick-dots',draggable:!0,easing:'linear',edgeFriction:0.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:'ondemand',mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:'window',responsive:null,rows:1,rtl:!1,slide:'',slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1000};_.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
1287sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1};$.extend(_,_.initials);_.activeBreakpoint=null;_.animType=null;_.animProp=null;_.breakpoints=[];_.breakpointSettings=[];_.cssTransitions=!1;_.focussed=!1;_.interrupted=!1;_.hidden='hidden';_.paused=!0;_.positionProp=null;_.respondTo=null;_.rowCount=1;_.shouldClick=!0;_.$slider=$(element);_.$slidesCache=null;_.transformType=null;_.transitionType=null;_.visibilityChange='visibilitychange';_.windowWidth=0;_.windowTimer=null;dataSettings=$(element).data('slick')||{};_.options=$.extend({},_.defaults,settings,dataSettings);_.currentSlide=_.options.initialSlide;_.originalSettings=_.options;if(typeof document.mozHidden!=='undefined'){_.hidden='mozHidden';_.visibilityChange='mozvisibilitychange'}else if(typeof document.webkitHidden!=='undefined'){_.hidden='webkitHidden';_.visibilityChange='webkitvisibilitychange'}
1288_.autoPlay=$.proxy(_.autoPlay,_);_.autoPlayClear=$.proxy(_.autoPlayClear,_);_.autoPlayIterator=$.proxy(_.autoPlayIterator,_);_.changeSlide=$.proxy(_.changeSlide,_);_.clickHandler=$.proxy(_.clickHandler,_);_.selectHandler=$.proxy(_.selectHandler,_);_.setPosition=$.proxy(_.setPosition,_);_.swipeHandler=$.proxy(_.swipeHandler,_);_.dragHandler=$.proxy(_.dragHandler,_);_.keyHandler=$.proxy(_.keyHandler,_);_.instanceUid=instanceUid++;_.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;_.registerBreakpoints();_.init(!0)}
1289return Slick}());Slick.prototype.activateADA=function(){var _=this;if(_.$slideTrack){_.$slideTrack.find('.slick-active').attr({'aria-hidden':'false'}).find('a, input, button, select').attr({'tabindex':'0'})}};Slick.prototype.addSlide=Slick.prototype.slickAdd=function(markup,index,addBefore){var _=this;if(typeof(index)==='boolean'){addBefore=index;index=null}else if(index<0||(index>=_.slideCount)){return!1}
1290_.unload();if(typeof(index)==='number'){if(index===0&&_.$slides.length===0){$(markup).appendTo(_.$slideTrack)}else if(addBefore){$(markup).insertBefore(_.$slides.eq(index))}else{$(markup).insertAfter(_.$slides.eq(index))}}else{if(addBefore===!0){$(markup).prependTo(_.$slideTrack)}else{$(markup).appendTo(_.$slideTrack)}}
1291_.$slides=_.$slideTrack.children(this.options.slide);_.$slideTrack.children(this.options.slide).detach();_.$slideTrack.append(_.$slides);_.$slides.each(function(index,element){$(element).attr('data-slick-index',index)});_.$slidesCache=_.$slides;_.reinit()};Slick.prototype.animateHeight=function(){var _=this;if(_.options.slidesToShow===1&&_.options.adaptiveHeight===!0&&_.options.vertical===!1){var targetHeight=_.$slides.eq(_.currentSlide).outerHeight(!0);_.$list.animate({height:targetHeight},_.options.speed)}};Slick.prototype.animateSlide=function(targetLeft,callback){var animProps={},_=this;_.animateHeight();if(_.options.rtl===!0&&_.options.vertical===!1){targetLeft=-targetLeft}
1292if(_.transformsEnabled===!1){if(_.options.vertical===!1){_.$slideTrack.animate({left:targetLeft},_.options.speed,_.options.easing,callback)}else{_.$slideTrack.animate({top:targetLeft},_.options.speed,_.options.easing,callback)}}else{if(_.cssTransitions===!1){if(_.options.rtl===!0){_.currentLeft=-(_.currentLeft)}
1293$({animStart:_.currentLeft}).animate({animStart:targetLeft},{duration:_.options.speed,easing:_.options.easing,step:function(now){now=Math.ceil(now);if(_.options.vertical===!1){animProps[_.animType]='translate('+now+'px, 0px)';_.$slideTrack.css(animProps)}else{animProps[_.animType]='translate(0px,'+now+'px)';_.$slideTrack.css(animProps)}},complete:function(){if(callback){callback.call()}}})}else{_.applyTransition();targetLeft=Math.ceil(targetLeft);if(_.options.vertical===!1){animProps[_.animType]='translate3d('+targetLeft+'px, 0px, 0px)'}else{animProps[_.animType]='translate3d(0px,'+targetLeft+'px, 0px)'}
1294_.$slideTrack.css(animProps);if(callback){setTimeout(function(){_.disableTransition();callback.call()},_.options.speed)}}}};Slick.prototype.getNavTarget=function(){var _=this,asNavFor=_.options.asNavFor;if(asNavFor&&asNavFor!==null){asNavFor=$(asNavFor).not(_.$slider)}
1295return asNavFor};Slick.prototype.asNavFor=function(index){var _=this,asNavFor=_.getNavTarget();if(asNavFor!==null&&typeof asNavFor==='object'){asNavFor.each(function(){var target=$(this).slick('getSlick');
1295if(!target.unslicked){target.slideHandler(index,!0)}})}};Slick.prototype.applyTransition=function(slide){var _=this,transition={};if(_.options.fade===!1){transition[_.transitionType]=_.transformType+' '+_.options.speed+'ms '+_.options.cssEase}else{transition[_.transitionType]='opacity '+_.options.speed+'ms '+_.options.cssEase}
1296if(_.options.fade===!1){_.$slideTrack.css(transition)}else{_.$slides.eq(slide).css(transition)}};Slick.prototype.autoPlay=function(){var _=this;_.autoPlayClear();if(_.slideCount>_.options.slidesToShow){_.autoPlayTimer=setInterval(_.autoPlayIterator,_.options.autoplaySpeed)}};Slick.prototype.autoPlayClear=function(){var _=this;if(_.autoPlayTimer){clearInterval(_.autoPlayTimer)}};Slick.prototype.autoPlayIterator=function(){var _=this,slideTo=_.currentSlide+_.options.slidesToScroll;if(!_.paused&&!_.interrupted&&!_.focussed){if(_.options.infinite===!1){if(_.direction===1&&(_.currentSlide+1)===(_.slideCount-1)){_.direction=0}else if(_.direction===0){slideTo=_.currentSlide-_.options.slidesToScroll;if(_.currentSlide-1===0){_.direction=1}}}
1297_.slideHandler(slideTo)}};Slick.prototype.buildArrows=function(){var _=this;if(_.options.arrows===!0){_.$prevArrow=$(_.options.prevArrow).addClass('slick-arrow');_.$nextArrow=$(_.options.nextArrow).addClass('slick-arrow');if(!_.$slider.hasClass('has-arrows'))
1298_.$slider.addClass('has-arrows');if(_.slideCount>_.options.slidesToShow){_.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');_.$nextArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');if(_.htmlExpr.test(_.options.nextArrow)&&_.htmlExpr.test(_.options.prevArrow)){_.options.appendArrows.find(".slick-arrows").remove();_.options.appendArrows.append('<div class="slick-arrows "></div>');_.options.appendArrows.find(".slick-arrows").prepend(_.$prevArrow);_.options.appendArrows.find(".slick-arrows").append(_.$nextArrow)}
1299if(_.options.infinite!==!0){_.$prevArrow.addClass('slick-disabled').attr('aria-disabled','true')}}else{if(_.$slider.hasClass('has-arrows'))
1300_.$slider.removeClass('has-arrows');_.$prevArrow.add(_.$nextArrow).addClass('slick-hidden').attr({'aria-disabled':'true','tabindex':'-1'})}}};Slick.prototype.buildDots=function(){var _=this,i,dot;if(_.options.dots===!0){_.$slider.addClass('slick-dotted');dot=$('<ul />').addClass(_.options.dotsClass);for(i=0;i<=_.getDotCount();i+=1){dot.append($('<li />').append(_.options.customPaging.call(this,_,i)))}
1301_.$dots=dot.appendTo(_.options.appendDots);_.$dots.find('li').first().addClass('slick-active')}};Slick.prototype.buildOut=function(){var _=this;_.$slides=_.$slider.children(_.options.slide+':not(.slick-cloned, .slick-arrows)').addClass('slick-slide');_.slideCount=_.$slides.length;_.$slides.each(function(index,element){$(element).attr('data-slick-index',index).data('originalStyling',$(element).attr('style')||'')});_.$slider.addClass('slick-slider');_.$slideTrack=(_.slideCount===0)?$('<div class="slick-track"/>').appendTo(_.$slider):_.$slides.wrapAll('<div class="slick-track"/>').parent();_.$list=_.$slideTrack.wrap('<div class="slick-list"/>').parent();_.$slideTrack.css('opacity',0);if(_.options.centerMode===!0||_.options.swipeToSlide===!0){_.options.slidesToScroll=1}
1302$('img[data-lazy]',_.$slider).not('[src]').addClass('slick-loading');_.setupInfinite();_.buildArrows();_.buildDots();_.updateDots();_.setSlideClasses(typeof _.currentSlide==='number'?_.currentSlide:0);if(_.options.draggable===!0){_.$list.addClass('draggable')}};Slick.prototype.buildRows=function(){var _=this,a,b,c,newSlides,numOfSlides,originalSlides,slidesPerSection;newSlides=document.createDocumentFragment();originalSlides=_.$slider.children();if(_.options.rows>1){slidesPerSection=_.options.slidesPerRow*_.options.rows;numOfSlides=Math.ceil(originalSlides.length/slidesPerSection);for(a=0;a<numOfSlides;a++){var slide=document.createElement('div');for(b=0;b<_.options.rows;b++){var row=document.createElement('div');for(c=0;c<_.options.slidesPerRow;c++){var target=(a*slidesPerSection+((b*_.options.slidesPerRow)+c));if(originalSlides.get(target)){row.appendChild(originalSlides.get(target))}}
1303slide.appendChild(row)}
1304newSlides.appendChild(slide)}
1305_.$slider.empty().append(newSlides);_.$slider.children().children().children().css({'width':(100/_.options.slidesPerRow)+'%','display':'inline-block'})}};Slick.prototype.checkResponsive=function(initial,forceUpdate){var _=this,breakpoint,targetBreakp
1305oint,respondToWidth,triggerBreakpoint=!1;var sliderWidth=_.$slider.width();var windowWidth=window.innerWidth||$(window).width();if(_.respondTo==='window'){respondToWidth=windowWidth}else if(_.respondTo==='slider'){respondToWidth=sliderWidth}else if(_.respondTo==='min'){respondToWidth=Math.min(windowWidth,sliderWidth)}
1306if(_.options.responsive&&_.options.responsive.length&&_.options.responsive!==null){targetBreakpoint=null;for(breakpoint in _.breakpoints){if(_.breakpoints.hasOwnProperty(breakpoint)){if(_.originalSettings.mobileFirst===!1){if(respondToWidth<_.breakpoints[breakpoint]){targetBreakpoint=_.breakpoints[breakpoint]}}else{if(respondToWidth>_.breakpoints[breakpoint]){targetBreakpoint=_.breakpoints[breakpoint]}}}}
1307if(targetBreakpoint!==null){if(_.activeBreakpoint!==null){if(targetBreakpoint!==_.activeBreakpoint||forceUpdate){_.activeBreakpoint=targetBreakpoint;if(_.breakpointSettings[targetBreakpoint]==='unslick'){_.unslick(targetBreakpoint)}else{_.options=$.extend({},_.originalSettings,_.breakpointSettings[targetBreakpoint]);if(initial===!0){_.currentSlide=_.options.initialSlide}
1308_.refresh(initial)}
1309triggerBreakpoint=targetBreakpoint}}else{_.activeBreakpoint=targetBreakpoint;if(_.breakpointSettings[targetBreakpoint]==='unslick'){_.unslick(targetBreakpoint)}else{_.options=$.extend({},_.originalSettings,_.breakpointSettings[targetBreakpoint]);if(initial===!0){_.currentSlide=_.options.initialSlide}
1310_.refresh(initial)}
1311triggerBreakpoint=targetBreakpoint}}else{if(_.activeBreakpoint!==null){_.activeBreakpoint=null;_.options=_.originalSettings;if(initial===!0){_.currentSlide=_.options.initialSlide}
1312_.refresh(initial);triggerBreakpoint=targetBreakpoint}}
1313if(!initial&&triggerBreakpoint!==!1){_.$slider.trigger('breakpoint',[_,triggerBreakpoint])}}};Slick.prototype.changeSlide=function(event,dontAnimate){var _=this,$target=$(event.currentTarget),indexOffset,slideOffset,unevenOffset;if($target.is('a')){event.preventDefault()}
1314if(!$target.is('li')){$target=$target.closest('li')}
1315unevenOffset=(_.slideCount%_.options.slidesToScroll!==0);indexOffset=unevenOffset?0:(_.slideCount-_.currentSlide)%_.options.slidesToScroll;switch(event.data.message){case 'previous':slideOffset=indexOffset===0?_.options.slidesToScroll:_.options.slidesToShow-indexOffset;if(_.slideCount>_.options.slidesToShow){_.slideHandler(_.currentSlide-slideOffset,!1,dontAnimate)}
1316break;case 'next':slideOffset=indexOffset===0?_.options.slidesToScroll:indexOffset;if(_.slideCount>_.options.slidesToShow){_.slideHandler(_.currentSlide+slideOffset,!1,dontAnimate)}
1317break;case 'index':var index=event.data.index===0?0:event.data.index||$target.index()*_.options.slidesToScroll;_.slideHandler(_.checkNavigable(index),!1,dontAnimate);$target.children().trigger('focus');break;default:return}};Slick.prototype.checkNavigable=function(index){var _=this,navigables,prevNavigable;navigables=_.getNavigableIndexes();prevNavigable=0;if(index>navigables[navigables.length-1]){index=navigables[navigables.length-1]}else{for(var n in navigables){if(index<navigables[n]){index=prevNavigable;break}
1318prevNavigable=navigables[n]}}
1319return index};Slick.prototype.cleanUpEvents=function(){var _=this;if(_.options.dots&&_.$dots!==null){$('li',_.$dots).off('click.slick',_.changeSlide).off('mouseenter.slick',$.proxy(_.interrupt,_,!0)).off('mouseleave.slick',$.proxy(_.interrupt,_,!1));if(_.options.accessibility===!0){_.$dots.off('keydown.slick',_.keyHandler)}}
1320_.$slider.off('focus.slick blur.slick');if(_.options.arrows===!0&&_.slideCount>_.options.slidesToShow){_.$prevArrow&&_.$prevArrow.off('click.slick',_.changeSlide);_.$nextArrow&&_.$nextArrow.off('click.slick',_.changeSlide);if(_.options.accessibility===!0){_.$prevArrow&&_.$prevArrow.off('keydown.slick',_.keyHandler);_.$nextArrow&&_.$nextArrow.off('keydown.slick',_.keyHandler)}}
1321_.$list.off('touchstart.slick mousedown.slick',_.swipeHandler);_.$list.off('touchmove.slick mousemove.slick',_.swipeHandler);_.$list.off('touchend.slick mouseup.slick',_.swipeHandler);
1321_.$list.off('touchcancel.slick mouseleave.slick',_.swipeHandler);_.$list.off('click.slick',_.clickHandler);$(document).off(_.visibilityChange,_.visibility);_.cleanUpSlideEvents();if(_.options.accessibility===!0){_.$list.off('keydown.slick',_.keyHandler)}
1322if(_.options.focusOnSelect===!0){$(_.$slideTrack).children().off('click.slick',_.selectHandler)}
1323$(window).off('orientationchange.slick.slick-'+_.instanceUid,_.orientationChange);$(window).off('resize.slick.slick-'+_.instanceUid,_.resize);$('[draggable!=true]',_.$slideTrack).off('dragstart',_.preventDefault);$(window).off('load.slick.slick-'+_.instanceUid,_.setPosition)};Slick.prototype.cleanUpSlideEvents=function(){var _=this;_.$list.off('mouseenter.slick',$.proxy(_.interrupt,_,!0));_.$list.off('mouseleave.slick',$.proxy(_.interrupt,_,!1))};Slick.prototype.cleanUpRows=function(){var _=this,originalSlides;if(_.options.rows>1){originalSlides=_.$slides.children().children();originalSlides.removeAttr('style');_.$slider.empty().append(originalSlides)}};Slick.prototype.clickHandler=function(event){var _=this;if(_.shouldClick===!1){event.stopImmediatePropagation();event.stopPropagation();event.preventDefault()}};Slick.prototype.destroy=function(refresh){var _=this;_.autoPlayClear();_.touchObject={};_.cleanUpEvents();$('.slick-cloned',_.$slider).detach();if(_.$dots){_.$dots.remove()}
1324if(_.$prevArrow&&_.$prevArrow.length){_.$prevArrow.removeClass('slick-disabled slick-arrow slick-hidden').removeAttr('aria-hidden aria-disabled tabindex').css('display','');if(_.htmlExpr.test(_.options.prevArrow)){_.$prevArrow.remove()}}
1325if(_.$nextArrow&&_.$nextArrow.length){_.$nextArrow.removeClass('slick-disabled slick-arrow slick-hidden').removeAttr('aria-hidden aria-disabled tabindex').css('display','');if(_.htmlExpr.test(_.options.nextArrow)){_.$nextArrow.remove()}}
1326if(_.$slides){_.$slides.removeClass('slick-slide slick-active slick-center slick-visible slick-current').removeAttr('aria-hidden').removeAttr('data-slick-index').each(function(){$(this).attr('style',$(this).data('originalStyling'))});_.$slideTrack.children(this.options.slide).detach();_.$slideTrack.detach();_.$list.detach();_.$slider.append(_.$slides)}
1327_.cleanUpRows();_.$slider.removeClass('slick-slider');_.$slider.removeClass('slick-initialized');_.$slider.removeClass('slick-dotted');_.unslicked=!0;if(!refresh){_.$slider.trigger('destroy',[_])}};Slick.prototype.disableTransition=function(slide){var _=this,transition={};transition[_.transitionType]='';if(_.options.fade===!1){_.$slideTrack.css(transition)}else{_.$slides.eq(slide).css(transition)}};Slick.prototype.fadeSlide=function(slideIndex,callback){var _=this;if(_.cssTransitions===!1){_.$slides.eq(slideIndex).css({zIndex:_.options.zIndex});_.$slides.eq(slideIndex).animate({opacity:1},_.options.speed,_.options.easing,callback)}else{_.applyTransition(slideIndex);_.$slides.eq(slideIndex).css({opacity:1,zIndex:_.options.zIndex});if(callback){setTimeout(function(){_.disableTransition(slideIndex);callback.call()},_.options.speed)}}};Slick.prototype.fadeSlideOut=function(slideIndex){var _=this;if(_.cssTransitions===!1){_.$slides.eq(slideIndex).animate({opacity:0,zIndex:_.options.zIndex-2},_.options.speed,_.options.easing)}else{_.applyTransition(slideIndex);_.$slides.eq(slideIndex).css({opacity:0,zIndex:_.options.zIndex-2})}};Slick.prototype.filterSlides=Slick.prototype.slickFilter=function(filter){var _=this;if(filter!==null){_.$slidesCache=_.$slides;_.unload();_.$slideTrack.children(this.options.slide).detach();_.$slidesCache.filter(filter).appendTo(_.$slideTrack);_.reinit()}};Slick.prototype.focusHandler=function(){var _=this;_.$slider.off('focus.slick blur.slick').on('focus.slick blur.slick','*',function(event){event.stopImmediatePropagation();var $sf=$(this);setTimeout(function(){if(_.options.pauseOnFocus){_.focussed=$sf.is(':focus');_.autoPlay()}},0)})};Slick.prototype.getCurrent=Slick.prototype.slickCurrentSlide=function(){var _=this;return _.currentSlide};Slick.prototype.getDotCount=function(){var _=this;var breakPoint=0;var counter=0;var pagerQty=0;if(_.options.infinite===!0){if(_.slideCount<=_.options.slidesToShow){++pagerQty}else{while(breakPoint<_.slideCount){++pagerQty;breakPoint=counter+_.options.slidesToScroll;counter+=_.options.slidesToScroll<=_.options.slidesToShow?_.options.slidesToScroll:_.options.slidesToShow}}}else if(_.options.centerMode===!0){pagerQty=_.slideCount}else if(!_.options.asNavFor){pagerQty=1+Math.ceil((_.slideCount-_.options.slidesToShow)/_.options.slidesToScroll)}else{while(breakPoint<_.slideCount){++pagerQty;breakPoint=counter+_.options.slidesToScroll;counter+=_.options.slidesToScroll<=_.options.slidesToShow?_.options.slidesToScroll:_.options.slidesToShow}}
1328return pagerQty-1};Slick.prototype.getLeft=function(slideIndex){var _=this,targetLeft,verticalHeight,verticalOffset=0,targetSlide,coef;_.slideOffset=0;verticalHeight=_.$slides.first().outerHeight(!0);if(_.options.infinite===!0){if(_.slideCount>_.options.slidesToShow){_.slideOffset=(_.slideWidth*_.options.slidesToShow)*-1;coef=-1
1329if(_.options.vertical===!0&&_.options.centerMode===!0){if(_.options.slidesToShow===2){coef=-1.5}else if(_.options.slidesToShow===1){coef=-2}}
1330verticalOffset=(verticalHeight*_.options.slidesToShow)*coef}
1331if(_.slideCount%_.options.slidesToScroll!==0){if(slideIndex+_.options.slidesToScroll>_.slideCount&&_.slideCount>_.options.slidesToShow){if(slideIndex>_.slideCount){_.slideOffset=((_.options.slidesToShow-(slideIndex-_.slideCount))*_.slideWidth)*-1;verticalOffset=((_.options.slidesToShow-(slideIndex-_.slideCount))*verticalHeight)*-1}else{_.slideOffset=((_.slideCount%_.options.slidesToScroll)*_.slideWidth)*-1;verticalOffset=((_.slideCount%_.options.slidesToScroll)*verticalHeight)*-1}}}}else{if(slideIndex+_.options.slidesToShow>_.slideCount){_.slideOffset=((slideIndex+_.options.slidesToShow)-_.slideCount)*_.slideWidth;verticalOffset=((slideIndex+_.options.slidesToShow)-_.slideCount)*verticalHeight}}
1332if(_.slideCount<=_.options.slidesToShow){_.slideOffset=0;verticalOffset=0}
1333if(_.options.centerMode===!0&&_.slideCount<=_.options.slidesToShow){_.slideOffset=((_.slideWidth*Math.floor(_.options.slidesToShow))/2)-((_.slideWidth*_.slideCount)/2)}else if(_.options.centerMode===!0&&_.options.infinite===!0){_.slideOffset+=_.slideWidth*Math.floor(_.options.slidesToShow/2)-_.slideWidth}else if(_.options.centerMode===!0){_.slideOffset=0;_.slideOffset+=_.slideWidth*Math.floor(_.options.slidesToShow/2)}
1334if(_.options.vertical===!1){targetLeft=((slideIndex*_.slideWidth)*-1)+_.slideOffset}else{targetLeft=((slideIndex*verticalHeight)*-1)+verticalOffset}
1335if(_.options.variableWidth===!0){if(_.slideCount<=_.options.slidesToShow||_.options.infinite===!1){targetSlide=_.$slideTrack.children('.slick-slide').eq(slideIndex)}else{targetSlide=_.$slideTrack.children('.slick-slide').eq(slideIndex+_.options.slidesToShow)}
1336if(_.options.rtl===!0){if(targetSlide[0]){targetLeft=(_.$slideTrack.width()-targetSlide[0].offsetLeft-targetSlide.width())*-1}else{targetLeft=0}}else{targetLeft=targetSlide[0]?targetSlide[0].offsetLeft*-1:0}
1337if(_.options.centerMode===!0){if(_.slideCount<=_.options.slidesToShow||_.options.infinite===!1){targetSlide=_.$slideTrack.children('.slick-slide').eq(slideIndex)}else{targetSlide=_.$slideTrack.children('.slick-slide').eq(slideIndex+_.options.slidesToShow+1)}
1338if(_.options.rtl===!0){if(targetSlide[0]){targetLeft=(_.$slideTrack.width()-targetSlide[0].offsetLeft-targetSlide.width())*-1}else{targetLeft=0}}else{targetLeft=targetSlide[0]?targetSlide[0].offsetLeft*-1:0}
1339targetLeft+=(_.$list.width()-targetSlide.outerWidth())/2}}
1340return targetLeft};Slick.prototype.getOption=Slick.prototype.slickGetOption=function(option){var _=this;return _.options[option]};Slick.prototype.getNavigableIndexes=function(){var _=this,breakPoint=0,counter=0,indexes=[],max;if(_.options.infinite===!1){max=_.slideCount}else{breakPoint=_.options.slidesToScroll*-1;counter=_.options.slidesToScroll*-1;max=_.slideCount*2}
1341while(breakPoint<max){indexes.push(breakPoint);breakPoint=counter+_.options.slidesToScroll;counter+=_.options.slidesToScroll<=_.options.slidesToShow?_.options.slidesToScroll:_.options.slidesToShow}
1342return indexes};Slick.prototype.getSlick=function(){return this};Slick.prototype.getSlideCount=function(){var _=this,slidesTraversed,swipedSlide,centerOffset;centerOffset=_.options.centerMode===!0?_.slideWidth*Math.floor(_.options.slidesToShow/2):0;if(_.options.swipeToSlide===!0){_.$slideTrack.find('.slick-slide').each(function(index,slide){if(slide.offsetLeft-centerOffset+($(slide).outerWidth()/2)>(_.swipeLeft*-1)){swipedSlide=slide;return!1}});slidesTraversed=Math.abs($(swipedSlide).attr('data-slick-index')-_.currentSlide)||1;return slidesTraversed}else{return _.options.slidesToScroll}};Slick.prototype.goTo=Slick.prototype.slickGoTo=function(slide,dontAnimate){var _=this;_.changeSlide({data:{message:'index',index:parseInt(slide)}},dontAnimate)};Slick.prototype.init=function(creation){var _=this;if(!$(_.$slider).hasClass('slick-initialized')){$(_.$slider).addClass('slick-initialized');_.buildRows();_.buildOut();_.setProps();_.startLoad();_.loadSlider();_.initializeEvents();_.updateArrows();_.updateDots();_.checkResponsive(!0);_.focusHandler()}
1343if(creation){_.$slider.trigger('init',[_])}
1344if(_.options.accessibility===!0){_.initADA()}
1345if(_.options.autoplay){_.paused=!1;_.autoPlay()}};Slick.prototype.initADA=function(){var _=this,numDotGroups=Math.ceil(_.slideCount/_.options.slidesToShow),tabControlIndexes=_.getNavigableIndexes().filter(function(val){return(val>=0)&&(val<_.slideCount)});if(_.$slides){_.$slides.add(_.$slideTrack.find('.slick-cloned')).attr({'aria-hidden':'true','tabindex':'-1'}).find('a, input, button, select').attr({'tabindex':'-1'})}
1346if(_.$dots!==null){_.$slides.not(_.$slideTrack.find('.slick-cloned')).each(function(i){var slideControlIndex=tabControlIndexes.indexOf(i);$(this).attr({'role':'tabpanel','id':'slick-slide'+_.instanceUid+i,'tabindex':-1});if(slideControlIndex!==-1){$(this).attr({'aria-describedby':'slick-slide-control'+_.instanceUid+slideControlIndex})}});_.$dots.attr('role','tablist').find('li').each(function(i){var mappedSlideIndex=tabControlIndexes[i];$(this).attr({'role':'presentation'});$(this).find('button').first().attr({'role':'tab','id':'slick-slide-control'+_.instanceUid+i,'aria-controls':'slick-slide'+_.instanceUid+mappedSlideIndex,'aria-label':(i+1)+' of '+numDotGroups,'aria-selected':null,'tabindex':'-1'})}).eq(_.currentSlide).find('button').attr({'aria-selected':'true','tabindex':'0'}).end()}
1347if(_.$slides){for(var i=_.currentSlide,max=i+_.options.slidesToShow;i<max;i++){_.$slides.eq(i).attr('tabindex',0)}}
1348_.activateADA()};Slick.prototype.initArrowEvents=function(){var _=this;if(_.options.arrows===!0&&_.slideCount>_.options.slidesToShow){_.$prevArrow.off('click.slick').on('click.slick',{message:'previous'},_.changeSlide);_.$nextArrow.off('click.slick').on('click.slick',{message:'next'},_.changeSlide);
1348if(_.options.accessibility===!0){_.$prevArrow.on('keydown.slick',_.keyHandler);_.$nextArrow.on('keydown.slick',_.keyHandler)}}};Slick.prototype.initDotEvents=function(){var _=this;if(_.options.dots===!0){$('li',_.$dots).on('click.slick',{message:'index'},_.changeSlide);if(_.options.accessibility===!0){_.$dots.on('keydown.slick',_.keyHandler)}}
1349if(_.options.dots===!0&&_.options.pauseOnDotsHover===!0){$('li',_.$dots).on('mouseenter.slick',$.proxy(_.interrupt,_,!0)).on('mouseleave.slick',$.proxy(_.interrupt,_,!1))}};Slick.prototype.initSlideEvents=function(){var _=this;if(_.options.pauseOnHover){_.$list.on('mouseenter.slick',$.proxy(_.interrupt,_,!0));_.$list.on('mouseleave.slick',$.proxy(_.interrupt,_,!1))}};Slick.prototype.initializeEvents=function(){var _=this;_.initArrowEvents();_.initDotEvents();_.initSlideEvents();_.$list.on('touchstart.slick mousedown.slick',{action:'start'},_.swipeHandler);_.$list.on('touchmove.slick mousemove.slick',{action:'move'},_.swipeHandler);_.$list.on('touchend.slick mouseup.slick',{action:'end'},_.swipeHandler);
1349_.$list.on('touchcancel.slick mouseleave.slick',{action:'end'},_.swipeHandler);_.$list.on('click.slick',_.clickHandler);$(document).on(_.visibilityChange,$.proxy(_.visibility,_));if(_.options.accessibility===!0){_.$list.on('keydown.slick',_.keyHandler)}
1350if(_.options.focusOnSelect===!0){$(_.$slideTrack).children().on('click.slick',_.selectHandler)}
1351$(window).on('orientationchange.slick.slick-'+_.instanceUid,$.proxy(_.orientationChange,_));$(window).on('resize.slick.slick-'+_.instanceUid,$.proxy(_.resize,_));$('[draggable!=true]',_.$slideTrack).on('dragstart',_.preventDefault);$(window).on('load.slick.slick-'+_.instanceUid,_.setPosition);$(_.setPosition)};Slick.prototype.initUI=function(){var _=this;if(_.options.arrows===!0&&_.slideCount>_.options.slidesToShow){_.$prevArrow.show();_.$nextArrow.show()}
1352if(_.options.dots===!0&&_.slideCount>_.options.slidesToShow){_.$dots.show()}};Slick.prototype.keyHandler=function(event){var _=this;if(!event.target.tagName.match('TEXTAREA|INPUT|SELECT')){if(event.keyCode===37&&_.options.accessibility===!0){_.changeSlide({data:{message:_.options.rtl===!0?'next':'previous'}})}else if(event.keyCode===39&&_.options.accessibility===!0){_.changeSlide({data:{message:_.options.rtl===!0?'previous':'next'}})}}};Slick.prototype.lazyLoad=function(){var _=this,loadRange,cloneRange,rangeStart,rangeEnd;function loadImages(imagesScope){$('img[data-lazy]',imagesScope).each(function(){var image=$(this),imageSource=$(this).attr('data-lazy'),imageSrcSet=$(this).attr('data-srcset'),imageSizes=$(this).attr('data-sizes')||_.$slider.attr('data-sizes'),imageToLoad=document.createElement('img');imageToLoad.onload=function(){image.animate({opacity:0}
vendor: 6,469 bytes, lines 1352-1368
1352,100,function(){if(imageSrcSet){image.attr('srcset',imageSrcSet);if(imageSizes){image.attr('sizes',imageSizes)}}
1353image.attr('src',imageSource).animate({opacity:1},200,function(){image.removeAttr('data-lazy data-srcset data-sizes').removeClass('slick-loading')});_.$slider.trigger('lazyLoaded',[_,image,imageSource])})};imageToLoad.onerror=function(){image.removeAttr('data-lazy').removeClass('slick-loading').addClass('slick-lazyload-error');_.$slider.trigger('lazyLoadError',[_,image,imageSource])};imageToLoad.src=imageSource})}
1354if(_.options.centerMode===!0){if(_.options.infinite===!0){rangeStart=_.currentSlide+(_.options.slidesToShow/2+1);rangeEnd=rangeStart+_.options.slidesToShow+2}else{rangeStart=Math.max(0,_.currentSlide-(_.options.slidesToShow/2+1));rangeEnd=2+(_.options.slidesToShow/2+1)+_.currentSlide}}else{rangeStart=_.options.infinite?_.options.slidesToShow+_.currentSlide:_.currentSlide;rangeEnd=Math.ceil(rangeStart+_.options.slidesToShow);if(_.options.fade===!0){if(rangeStart>0)rangeStart--;if(rangeEnd<=_.slideCount)rangeEnd++}}
1355loadRange=_.$slider.find('.slick-slide').slice(rangeStart,rangeEnd);if(_.options.lazyLoad==='anticipated'){var prevSlide=rangeStart-1,nextSlide=rangeEnd,$slides=_.$slider.find('.slick-slide');for(var i=0;i<_.options.slidesToScroll;i++){if(prevSlide<0)prevSlide=_.slideCount-1;loadRange=loadRange.add($slides.eq(prevSlide));loadRange=loadRange.add($slides.eq(nextSlide));prevSlide--;nextSlide++}}
1356loadImages(loadRange);if(_.slideCount<=_.options.slidesToShow){cloneRange=_.$slider.find('.slick-slide');loadImages(cloneRange)}else if(_.currentSlide>=_.slideCount-_.options.slidesToShow){cloneRange=_.$slider.find('.slick-cloned').slice(0,_.options.slidesToShow);loadImages(cloneRange)}else if(_.currentSlide===0){cloneRange=_.$slider.find('.slick-cloned').slice(_.options.slidesToShow*-1);loadImages(cloneRange)}};Slick.prototype.loadSlider=function(){var _=this;_.setPosition();_.$slideTrack.css({opacity:1});_.$slider.removeClass('slick-loading');_.initUI();if(_.options.lazyLoad==='progressive'){_.progressiveLazyLoad()}};Slick.prototype.next=Slick.prototype.slickNext=function(){var _=this;_.changeSlide({data:{message:'next'}})};Slick.prototype.orientationChange=function(){var _=this;_.checkResponsive();_.setPosition()};Slick.prototype.pause=Slick.prototype.slickPause=function(){var _=this;_.autoPlayClear();_.paused=!0};Slick.prototype.play=Slick.prototype.slickPlay=function(){var _=this;_.autoPlay();_.options.autoplay=!0;_.paused=!1;_.focussed=!1;_.interrupted=!1};Slick.prototype.postSlide=function(index){var _=this;if(!_.unslicked){_.$slider.trigger('afterChange',[_,index]);_.animating=!1;if(_.slideCount>_.options.slidesToShow){_.setPosition()}
1357_.swipeLeft=null;if(_.options.autoplay){_.autoPlay()}
1358if(_.options.accessibility===!0){_.initADA();if(_.options.focusOnChange){var $currentSlide=$(_.$slides.get(_.currentSlide));$currentSlide.attr('tabindex',0).focus()}}}};Slick.prototype.prev=Slick.prototype.slickPrev=function(){var _=this;_.changeSlide({data:{message:'previous'}})};Slick.prototype.preventDefault=function(event){event.preventDefault()};Slick.prototype.progressiveLazyLoad=function(tryCount){tryCount=tryCount||1;var _=this,$imgsToLoad=$('img[data-lazy]',_.$slider),image,imageSource,imageSrcSet,imageSizes,imageToLoad;if($imgsToLoad.length){image=$imgsToLoad.first();imageSource=image.attr('data-lazy');imageSrcSet=image.attr('data-srcset');imageSizes=image.attr('data-sizes')||_.$slider.attr('data-sizes');imageToLoad=document.createElement('img');imageToLoad.onload=function(){if(imageSrcSet){image.attr('srcset',imageSrcSet);if(imageSizes){image.attr('sizes',imageSizes)}}
1359image.attr('src',imageSource).removeAttr('data-lazy data-srcset data-sizes').removeClass('slick-loading');if(_.options.adaptiveHeight===!0){_.setPosition()}
1360_.$slider.trigger('lazyLoaded',[_,image,imageSource]);_.progressiveLazyLoad()};imageToLoad.onerror=function(){if(tryCount<3){setTimeout(function(){_.progressiveLazyLoad(tryCount+1)},500)}else{image.removeAttr('data-lazy').removeClass('slick-loading').addClass('slick-lazyload-error');_.$slider.trigger('lazyLoadError',[_,image,imageSource]);_.progressiveLazyLoad()}};imageToLoad.src=imageSource}else{_.$slider.trigger('allImagesLoaded',[_])}};Slick.prototype.refresh=function(initializing){var _=this,currentSlide,lastVisibleIndex;lastVisibleIndex=_.slideCount-_.options.slidesToShow;if(!_.options.infinite&&(_.currentSlide>lastVisibleIndex)){_.currentSlide=lastVisibleIndex}
1361if(_.slideCount<=_.options.slidesToShow){_.currentSlide=0}
1362currentSlide=_.currentSlide;_.destroy(!0);$.extend(_,_.initials,{currentSlide:currentSlide});_.init();if(!initializing){_.changeSlide({data:{message:'index',index:currentSlide}},!1)}};Slick.prototype.registerBreakpoints=function(){var _=this,breakpoint,currentBreakpoint,l,responsiveSettings=_.options.responsive||null;if($.type(responsiveSettings)==='array'&&responsiveSettings.length){_.respondTo=_.options.respondTo||'window';for(breakpoint in responsiveSettings){l=_.breakpoints.length-1;if(responsiveSettings.hasOwnProperty(breakpoint)){currentBreakpoint=responsiveSettings[breakpoint].breakpoint;while(l>=0){if(_.breakpoints[l]&&_.breakpoints[l]===currentBreakpoint){_.breakpoints.splice(l,1)}
1363l--}
1364_.breakpoints.push(currentBreakpoint);_.breakpointSettings[currentBreakpoint]=responsiveSettings[breakpoint].settings}}
1365_.breakpoints.sort(function(a,b){return(_.options.mobileFirst)?a-b:b-a})}};Slick.prototype.reinit=function(){var _=this;_.$slides=_.$slideTrack.children(_.options.slide).addClass('slick-slide');_.slideCount=_.$slides.length;if(_.currentSlide>=_.slideCount&&_.currentSlide!==0){_.currentSlide=_.currentSlide-_.options.slidesToScroll}
1366if(_.slideCount<=_.options.slidesToShow){_.currentSlide=0}
1367_.registerBreakpoints();_.setProps();_.setupInfinite();_.buildArrows();_.updateArrows();_.initArrowEvents();_.buildDots();_.updateDots();_.initDotEvents();_.cleanUpSlideEvents();_.initSlideEvents();_.checkResponsive(!1,!0);if(_.options.focusOnSelect===!0){$(_.$slideTrack).children().on('click.slick',_.selectHandler)}
1368_.setSlideClasses(typeof _.currentSlide==='number'?_.currentSlide:0);_.setPosition();_.focusHandler();_.paused=!_.options.autoplay;_.autoPlay();_.$slider.trigger('reInit',[_])};Slick.prototype.resize=function(){var _=this;if($(window).width()!==_.windowWidth){clearTimeout(_.windowDelay);_.windowDelay=window.setTimeout(function(){_.windowWidth=$(window).width();_.checkResponsive();
1368if(!_.unslicked){_.setPosition()}},50)}};Slick.prototype.removeSlide=Slick.prototype.slickRemove=function(index,removeBefore,removeAll){var _=this;if(typeof(index)==='boolean'){removeBefore=index;index=removeBefore===!0?0:_.slideCount-1}else{index=removeBefore===!0?--index:index}
1369if(_.slideCount<1||index<0||index>_.slideCount-1){return!1}
1370_.unload();if(removeAll===!0){_.$slideTrack.children().remove()}else{_.$slideTrack.children(this.options.slide).eq(index).remove()}
1371_.$slides=_.$slideTrack.children(this.options.slide);_.$slideTrack.children(this.options.slide).detach();_.$slideTrack.append(_.$slides);_.$slidesCache=_.$slides;_.reinit()};Slick.prototype.setCSS=function(position){var _=this,positionProps={},x,y;if(_.options.rtl===!0){position=-position}
1372x=_.positionProp=='left'?Math.ceil(position)+'px':'0px';y=_.positionProp=='top'?Math.ceil(position)+'px':'0px';positionProps[_.positionProp]=position;if(_.transformsEnabled===!1){_.$slideTrack.css(positionProps)}else{positionProps={};if(_.cssTransitions===!1){positionProps[_.animType]='translate('+x+', '+y+')';_.$slideTrack.css(positionProps)}else{positionProps[_.animType]='translate3d('+x+', '+y+', 0px)';_.$slideTrack.css(positionProps)}}};Slick.prototype.setDimensions=function(){var _=this;if(_.options.vertical===!1){if(_.options.centerMode===!0){_.$list.css({padding:('0px '+_.options.centerPadding)})}}else{setTimeout(function(){_.$list.height(parseInt((_.$slides.first()[0].getBoundingClientRect().height*_.options.slidesToShow)))},100);if(_.options.centerMode===!0){_.$list.css({padding:(_.options.centerPadding+' 0px')})}}
1373_.listWidth=_.$list.width();_.listHeight=_.$list.height();if(_.options.vertical===!1&&_.options.variableWidth===!1){_.slideWidth=Math.ceil(_.listWidth/_.options.slidesToShow*100)/100;_.$slideTrack.width(Math.ceil((_.slideWidth*_.$slideTrack.children('.slick-slide').length)))}else if(_.options.variableWidth===!0){_.$slideTrack.width(5000*_.slideCount)}else{_.slideWidth=Math.ceil(_.listWidth);_.$slideTrack.height(Math.ceil((_.$slides.first().outerHeight(!0)*_.$slideTrack.children('.slick-slide').length)))}
1374var offset=_.$slides.first().outerWidth(!0)-_.$slides.first().width();if(_.options.variableWidth===!1)_.$slideTrack.children('.slick-slide').width(_.slideWidth-offset);};Slick.prototype.setFade=function(){var _=this,targetLeft;_.$slides.each(function(index,element){targetLeft=(_.slideWidth*index)*-1;if(_.options.rtl===!0){$(element).css({position:'relative',right:targetLeft,top:0,zIndex:_.options.zIndex-2,opacity:0}
1374)}else{$(element).css({position:'relative',left:targetLeft,top:0,zIndex:_.options.zIndex-2,opacity:0})}});_.$slides.eq(_.currentSlide).css({zIndex:_.options.zIndex-1,opacity:1})};Slick.prototype.setHeight=function(){var _=this;if(_.options.slidesToShow===1&&_.options.adaptiveHeight===!0&&_.options.vertical===!1){var targetHeight=_.$slides.eq(_.currentSlide).outerHeight(!0);_.$list.css('height',targetHeight)}};Slick.prototype.setOption=Slick.prototype.slickSetOption=function(){var _=this,l,item,option,value,refresh=!1,type;if($.type(arguments[0])==='object'){option=arguments[0];refresh=arguments[1];type='multiple'}else if($.type(arguments[0])==='string'){option=arguments[0];value=arguments[1];refresh=arguments[2];if(arguments[0]==='responsive'&&$.type(arguments[1])==='array'){type='responsive'}else if(typeof arguments[1]!=='undefined'){type='single'}}
1375if(type==='single'){_.options[option]=value}else if(type==='multiple'){$.each(option,function(opt,val){_.options[opt]=val})}else if(type==='responsive'){for(item in value){if($.type(_.options.responsive)!=='array'){_.options.responsive=[value[item]]}else{l=_.options.responsive.length-1;while(l>=0){if(_.options.responsive[l].breakpoint===value[item].breakpoint){_.options.responsive.splice(l,1)}
1376l--}
1377_.options.responsive.push(value[item])}}}
1378if(refresh){_.unload();_.reinit()}};Slick.prototype.setPosition=function(){var _=this;_.setDimensions();_.setHeight();if(_.options.fade===!1){_.setCSS(_.getLeft(_.currentSlide))}else{_.setFade()}
1379_.$slider.trigger('setPosition',[_])};Slick.prototype.setProps=function(){var _=this,bodyStyle=document.body.style;_.positionProp=_.options.vertical===!0?'top':'left';if(_.positionProp==='top'){_.$slider.addClass('slick-vertical')}else{_.$slider.removeClass('slick-vertical')}
1380if(bodyStyle.WebkitTransition!==undefined||bodyStyle.MozTransition!==undefined||bodyStyle.msTransition!==undefined){if(_.options.useCSS===!0){_.cssTransitions=!0}}
1381if(_.options.fade){if(typeof _.options.zIndex==='number'){if(_.options.zIndex<3){_.options.zIndex=3}}else{_.options.zIndex=_.defaults.zIndex}}
1382if(bodyStyle.OTransform!==undefined){_.animType='OTransform';_.transformType='-o-transform';_.transitionType='OTransition';if(bodyStyle.perspectiveProperty===undefined&&bodyStyle.webkitPerspective===undefined)_.animType=!1}
1383if(bodyStyle.MozTransform!==undefined){_.animType='MozTransform';_.transformType='-moz-transform';_.transitionType='MozTransition';if(bodyStyle.perspectiveProperty===undefined&&bodyStyle.MozPerspective===undefined)_.animType=!1}
1384if(bodyStyle.webkitTransform!==undefined){_.animType='webkitTransform';_.transformType='-webkit-transform';_.transitionType='webkitTransition';if(bodyStyle.perspectiveProperty===undefined&&bodyStyle.webkitPerspective===undefined)_.animType=!1}
1385if(bodyStyle.msTransform!==undefined){_.animType='msTransform';_.transformType='-ms-transform';_.transitionType='msTransition';if(bodyStyle.msTransform===undefined)_.animType=!1}
1386if(bodyStyle.transform!==undefined&&_.animType!==!1){_.animType='transform';_.transformType='transform';_.transitionType='transition'}
1387_.transformsEnabled=_.options.useTransform&&(_.animType!==null&&_.animType!==!1)};Slick.prototype.setSlideClasses=function(index){var _=this,centerOffset,allSlides,indexOffset,remainder;allSlides=_.$slider.find('.slick-slide').removeClass('slick-active slick-center slick-current').attr('aria-hidden','true');_.$slides.eq(index).addClass('slick-current');if(_.options.centerMode===!0){var evenCoef=_.options.slidesToShow%2===0?1:0;centerOffset=Math.floor(_.options.slidesToShow/2);if(_.options.infinite===!0){if(index>=centerOffset&&index<=(_.slideCount-1)-centerOffset){_.$slides.slice(index-centerOffset+evenCoef,index+centerOffset+1).addClass('slick-active').attr('aria-hidden','false')}else{indexOffset=_.options.slidesToShow+index;allSlides.slice(indexOffset-centerOffset+1+evenCoef,indexOffset+centerOffset+2).addClass('slick-active').attr('aria-hidden','false')}
1388if(index===0){allSlides.eq(allSlides.length-1-_.options.slidesToShow).addClass('slick-center')}else if(index===_.slideCount-1){allSlides.eq(_.options.slidesToShow).addClass('slick-center')}}
1389_.$slides.eq(index).addClass('slick-center')}else{if(index>=0&&index<=(_.slideCount-_.options.slidesToShow)){_.$slides.slice(index,index+_.options.slidesToShow).addClass('slick-active').attr('aria-hidden','false')}else if(allSlides.length<=_.options.slidesToShow){allSlides.addClass('slick-active').attr('aria-hidden','false')}else{remainder=_.slideCount%_.options.slidesToShow;indexOffset=_.options.infinite===!0?_.options.slidesToShow+index:index;if(_.options.slidesToShow==_.options.slidesToScroll&&(_.slideCount-index)<_.options.slidesToShow){allSlides.slice(indexOffset-(_.options.slidesToShow-remainder),indexOffset+remainder).addClass('slick-active').attr('aria-hidden','false')}else{allSlides.slice(indexOffset,indexOffset+_.options.slidesToShow).addClass('slick-active').attr('aria-hidden','false')}}}
1390if(_.options.lazyLoad==='ondemand'||_.options.lazyLoad==='anticipated'){_.lazyLoad()}};Slick.prototype.setupInfinite=function(){var _=this,i,slideIndex,infiniteCount;if(_.options.fade===!0){_.options.centerMode=!1}
1391if(_.options.infinite===!0&&_.options.fade===!1){slideIndex=null;if(_.slideCount>_.options.slidesToShow){if(_.options.centerMode===!0){infiniteCount=_.options.slidesToShow+1}else{infiniteCount=_.options.slidesToShow}
1392for(i=_.slideCount;i>(_.slideCount-infiniteCount);i-=1){slideIndex=i-1;$(_.$slides[slideIndex]).clone(!0).attr('id','').attr('data-slick-index',slideIndex-_.slideCount).prependTo(_.$slideTrack).addClass('slick-cloned')}
1393for(i=0;i<infiniteCount+_.slideCount;i+=1){slideIndex=i;$(_.$slides[slideIndex]).clone(!0).attr('id','').attr('data-slick-index',slideIndex+_.slideCount).appendTo(_.$slideTrack).addClass('slick-cloned')}
1394_.$slideTrack.find('.slick-cloned').find('[id]').each(function(){$(this).attr('id','')})}}};Slick.prototype.interrupt=function(toggle){var _=this;if(!toggle){_.autoPlay()}
1395_.interrupted=toggle};Slick.prototype.selectHandler=function(event){var _=this;var targetElement=$(event.target).is('.slick-slide')?$(event.target):$(event.target).parents('.slick-slide');
1395var index=parseInt(targetElement.attr('data-slick-index'));if(!index)index=0;if(_.slideCount<=_.options.slidesToShow){_.slideHandler(index,!1,!0);return}
1396_.slideHandler(index)};Slick.prototype.slideHandler=function(index,sync,dontAnimate){var targetSlide,animSlide,oldSlide,slideLeft,targetLeft=null,_=this,navTarget;sync=sync||!1;if(_.animating===!0&&_.options.waitForAnimate===!0){return}
1397if(_.options.fade===!0&&_.currentSlide===index){return}
1398if(sync===!1){_.asNavFor(index)}
1399targetSlide=index;targetLeft=_.getLeft(targetSlide);slideLeft=_.getLeft(_.currentSlide);_.currentLeft=_.swipeLeft===null?slideLeft:_.swipeLeft;if(_.options.infinite===!1&&_.options.centerMode===!1&&(index<0||index>_.getDotCount()*_.options.slidesToScroll)){if(_.options.fade===!1){targetSlide=_.currentSlide;if(dontAnimate!==!0){_.animateSlide(slideLeft,function(){_.postSlide(targetSlide)})}else{_.postSlide(targetSlide)}}
1400return}else if(_.options.infinite===!1&&_.options.centerMode===!0&&(index<0||index>(_.slideCount-_.options.slidesToScroll))){if(_.options.fade===!1){targetSlide=_.currentSlide;if(dontAnimate!==!0){_.animateSlide(slideLeft,function(){_.postSlide(targetSlide)})}else{_.postSlide(targetSlide)}}
1401return}
1402if(_.options.autoplay){clearInterval(_.autoPlayTimer)}
1403if(targetSlide<0){if(_.slideCount%_.options.slidesToScroll!==0){animSlide=_.slideCount-(_.slideCount%_.options.slidesToScroll)}else{animSlide=_.slideCount+targetSlide}}else if(targetSlide>=_.slideCount){if(_.slideCount%_.options.slidesToScroll!==0){animSlide=0}else{animSlide=targetSlide-_.slideCount}}else{animSlide=targetSlide}
1404_.animating=!0;_.$slider.trigger('beforeChange',[_,_.currentSlide,animSlide]);oldSlide=_.currentSlide;_.currentSlide=animSlide;_.setSlideClasses(_.currentSlide);if(_.options.asNavFor){navTarget=_.getNavTarget();navTarget=navTarget.slick('getSlick');if(navTarget.slideCount<=navTarget.options.slidesToShow){navTarget.setSlideClasses(_.currentSlide)}}
1405_.updateDots();_.updateArrows();if(_.options.fade===!0){if(dontAnimate!==!0){_.fadeSlideOut(oldSlide);_.fadeSlide(animSlide,function(){_.postSlide(animSlide)})}else{_.postSlide(animSlide)}
1406_.animateHeight();return}
1407if(dontAnimate!==!0){_.animateSlide(targetLeft,function(){_.postSlide(animSlide)})}else{_.postSlide(animSlide)}};Slick.prototype.startLoad=function(){var _=this;if(_.options.arrows===!0&&_.slideCount>_.options.slidesToShow){_.$prevArrow.hide();_.$nextArrow.hide()}
1408if(_.options.dots===!0&&_.slideCount>_.options.slidesToShow){_.$dots.hide()}
1409_.$slider.addClass('slick-loading')};Slick.prototype.swipeDirection=function(){var xDist,yDist,r,swipeAngle,_=this;xDist=_.touchObject.startX-_.touchObject.curX;yDist=_.touchObject.startY-_.touchObject.curY;r=Math.atan2(yDist,xDist);swipeAngle=Math.round(r*180/Math.PI);if(swipeAngle<0){swipeAngle=360-Math.abs(swipeAngle)}
1410if((swipeAngle<=45)&&(swipeAngle>=0)){return(_.options.rtl===!1?'left':'right')}
1411if((swipeAngle<=360)&&(swipeAngle>=315)){return(_.options.rtl===!1?'left':'right')}
1412if((swipeAngle>=135)&&(swipeAngle<=225)){return(_.options.rtl===!1?'right':'left')}
1413if(_.options.verticalSwiping===!0){if((swipeAngle>=35)&&(swipeAngle<=135)){return'down'}else{return'up'}}
1414return'vertical'};Slick.prototype.swipeEnd=function(event){var _=this,slideCount,direction;_.dragging=!1;_.swiping=!1;if(_.scrolling){_.scrolling=!1;return!1}
1415_.interrupted=!1;_.shouldClick=(_.touchObject.swipeLength>10)?!1:!0;if(_.touchObject.curX===undefined){return!1}
1416if(_.touchObject.edgeHit===!0){_.$slider.trigger('edge',[_,_.swipeDirection()])}
1417if(_.touchObject.swipeLength>=_.touchObject.minSwipe){direction=_.swipeDirection();switch(direction){case 'left':case 'down':slideCount=_.options.swipeToSlide?_.checkNavigable(_.currentSlide+_.getSlideCount()):_.currentSlide+_.getSlideCount();_.currentDirection=0;break;case 'right':case 'up':slideCount=_.options.swipeToSlide?_.checkNavigable(_.currentSlide-_.getSlideCount()):_.currentSlide-_.getSlideCount();_.currentDirection=1;break;default:}
1418if(direction!='vertical'){_.slideHandler(slideCount);_.touchObject={};_.$slider.trigger('swipe',[_,direction])}}else{if(_.touchObject.startX!==_.touchObject.curX){_.slideHandler(_.currentSlide);_.touchObject={}}}};Slick.prototype.swipeHandler=function(event){var _=this;if((_.options.swipe===!1)||('ontouchend' in document&&_.options.swipe===!1)){return}else if(_.options.draggable===!1&&event.type.indexOf('mouse')!==-1){return}
1419_.touchObject.fingerCount=event.originalEvent&&event.originalEvent.touches!==undefined?event.originalEvent.touches.length:1;_.touchObject.minSwipe=_.listWidth/_.options.touchThreshold;if(_.options.verticalSwiping===!0){_.touchObject.minSwipe=_.listHeight/_.options.touchThreshold}
1420switch(event.data.action){case 'start':_.swipeStart(event);break;case 'move':_.swipeMove(event);break;case 'end':_.swipeEnd(event);break}};Slick.prototype.swipeMove=function(event){var _=this,edgeWasHit=!1,curLeft,swipeDirection,swipeLength,positionOffset,touches,verticalSwipeLength;touches=event.originalEvent!==undefined?event.originalEvent.touches:null;if(!_.dragging||_.scrolling||touches&&touches.length!==1){return!1}
1421curLeft=_.getLeft(_.currentSlide);_.touchObject.curX=touches!==undefined?touches[0].pageX:event.clientX;_.touchObject.curY=touches!==undefined?touches[0].pageY:event.clientY;_.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(_.touchObject.curX-_.touchObject.startX,2)));verticalSwipeLength=Math.round(Math.sqrt(Math.pow(_.touchObject.curY-_.touchObject.startY,2)));if(!_.options.verticalSwiping&&!_.swiping&&verticalSwipeLength>4){_.scrolling=!0;return!1}
1422if(_.options.verticalSwiping===!0){_.touchObject.swipeLength=verticalSwipeLength}
1423swipeDirection=_.swipeDirection();if(event.originalEvent!==undefined&&_.touchObject.swipeLength>4){_.swiping=!0;event.preventDefault()}
1424positionOffset=(_.options.rtl===!1?1:-1)*(_.touchObject.curX>_.touchObject.startX?1:-1);if(_.options.verticalSwiping===!0){positionOffset=_.touchObject.curY>_.touchObject.startY?1:-1}
1425swipeLength=_.touchObject.swipeLength;_.touchObject.edgeHit=!1;if(_.options.infinite===!1){if((_.currentSlide===0&&swipeDirection==='right')||(_.currentSlide>=_.getDotCount()&&swipeDirection==='left')){swipeLength=_.touchObject.swipeLength*_.options.edgeFriction;_.touchObject.edgeHit=!0}}
1426if(_.options.vertical===!1){_.swipeLeft=curLeft+swipeLength*positionOffset}else{_.swipeLeft=curLeft+(swipeLength*(_.$list.height()/_.listWidth))*positionOffset}
1427if(_.options.verticalSwiping===!0){_.swipeLeft=curLeft+swipeLength*positionOffset}
1428if(_.options.fade===!0||_.options.touchMove===!1){return!1}
1429if(_.animating===!0){_.swipeLeft=null;return!1}
1430_.setCSS(_.swipeLeft)};Slick.prototype.swipeStart=function(event){var _=this,touches;_.interrupted=!0;if(_.touchObject.fingerCount!==1||_.slideCount<=_.options.slidesToShow){_.touchObject={};return!1}
1431if(event.originalEvent!==undefined&&event.originalEvent.touches!==undefined){touches=event.originalEvent.touches[0]}
1432_.touchObject.startX=_.touchObject.curX=touches!==undefined?touches.pageX:event.clientX;_.touchObject.startY=_.touchObject.curY=touches!==undefined?touches.pageY:event.clientY;_.dragging=!0};Slick.prototype.unfilterSlides=Slick.prototype.slickUnfilter=function(){var _=this;if(_.$slidesCache!==null){_.unload();_.$slideTrack.children(this.options.slide).detach();_.$slidesCache.appendTo(_.$slideTrack);_.reinit()}};Slick.prototype.unload=function(){var _=this;$('.slick-cloned',_.$slider).remove();if(_.$dots){_.$dots.remove()}
1433if(_.$prevArrow&&_.htmlExpr.test(_.options.prevArrow)){_.$prevArrow.remove()}
1434if(_.$nextArrow&&_.htmlExpr.test(_.options.nextArrow)){_.$nextArrow.remove()}
1435_.$slides.removeClass('slick-slide slick-active slick-visible slick-current').attr('aria-hidden','true').css('width','')};Slick.prototype.unslick=function(fromBreakpoint){var _=this;_.$slider.trigger('unslick',[_,fromBreakpoint]);_.destroy()};Slick.prototype.updateArrows=function(){var _=this,centerOffset;centerOffset=Math.floor(_.options.slidesToShow/2);if(_.options.arrows===!0&&_.slideCount>_.options.slidesToShow&&!_.options.infinite){_.$prevArrow.removeClass('slick-disabled').attr('aria-disabled','false');_.$nextArrow.removeClass('slick-disabled').attr('aria-disabled','false');if(_.currentSlide===0){_.$prevArrow.addClass('slick-disabled').attr('aria-disabled','true');_.$nextArrow.removeClass('slick-disabled').attr('aria-disabled','false')}else if(_.currentSlide>=_.slideCount-_.options.slidesToShow&&_.options.centerMode===!1){_.$nextArrow.addClass('slick-disabled').attr('aria-disabled','true');_.$prevArrow.removeClass('slick-disabled').attr('aria-disabled','false')}else if(_.currentSlide>=_.slideCount-1&&_.options.centerMode===!0){_.$nextArrow.addClass('slick-disabled').attr('aria-disabled','true');_.$prevArrow.removeClass('slick-disabled').attr('aria-disabled','false')}}};Slick.prototype.updateDots=function(){var _=this;if(_.$dots!==null){_.$dots.find('li').removeClass('slick-active').end();_.$dots.find('li').eq(Math.floor(_.currentSlide/_.options.slidesToScroll)).addClass('slick-active')}};Slick.prototype.visibility=function(){var _=this;if(_.options.autoplay){if(document[_.hidden]){_.interrupted=!0}else{_.interrupted=!1}}};$.fn.slick=function(){var _=this,opt=arguments[0],args=Array.prototype.slice.call(arguments,1),l=_.length,i,ret;for(i=0;i<l;i++){if(typeof opt=='object'||typeof opt=='undefined')
1436_[i].slick=new Slick(_[i],opt);else ret=_[i].slick[opt].apply(_[i].slick,args);if(typeof ret!='undefined')return ret}
1437return _}}));var check_browser=navigator.userAgent;var leo="mousewheel wheel ";if(check_browser.indexOf("Firefox")>=0){leo=""}
1438"function"!==typeof Object.create&&(Object.create=function(d){function h(){}
1439h.prototype=d;return new h()});(function(d,h,l,m){var k={init:function(b,a){var c=this;c.elem=a;c.$elem=d(a);c.imageSrc=c.$elem.data("zoom-image")?c.$elem.data("zoom-image"):c.$elem.attr("src");c.options=d.extend({},d.fn.elevateZoom.options,b);c.options.tint&&((c.options.lensColour="none"),(c.options.lensOpacity="1"));"inner"==c.options.zoomType&&(c.options.showLens=!1);c.$elem.parent().removeAttr("title").removeAttr("alt");c.zoomImage=c.imageSrc;c.refresh(1);d("#"+c.options.gallery+" a").click(function(a){c.options.galleryActiveClass&&(d("#"+c.options.gallery+" a").removeClass(c.options.galleryActiveClass),d(this).addClass(c.options.galleryActiveClass));a.preventDefault();d(this).data("zoom-image")?(c.zoomImagePre=d(this).data("zoom-image")):(c.zoomImagePre=d(this).data("image"));c.swaptheimage(d(this).data("image"),c.zoomImagePre);return!1})},refresh:function(b){var a=this;setTimeout(function(){a.fetch(a.imageSrc)},b||a.options.refresh)},fetch:function(b){var a=this,c=new Image();c.onload=function(){a.largeWidth=c.width;a.largeHeight=c.height;a.startZoom();a.currentImage=a.imageSrc;a.options.onZoomedImageLoaded(a.$elem)};c.src=b},startZoom:function(){var b=this;b.nzWidth=b.$elem.width();b.nzHeight=b.$elem.height();b.isWindowActive=!1;b.isLensActive=!1;b.isTintActive=!1;b.overWindow=!1;b.options.imageCrossfade&&((b.zoomWrap=b.$elem.wrap('<div style="height:'+b.nzHeight+"px;width:"+b.nzWidth+'px;" class="zoomWrapper" />')),b.$elem.css("position","absolute"));b.zoomLock=1;b.scrollingLock=!1;b.changeBgSize=!1;b.currentZoomLevel=b.options.zoomLevel;b.nzOffset=b.$elem.offset();b.widthRatio=b.largeWidth/b.currentZoomLevel/b.nzWidth;b.heightRatio=b.largeHeight/b.currentZoomLevel/b.nzHeight;"window"==b.options.zoomType&&(b.zoomWindowStyle="overflow: hidden;background-position: 0px 0px;text-align:center;background-color: "+String(b.options.zoomWindowBgColour)+";width: "+String(b.options.zoomWindowWidth)+"px;height: "+String(b.options.zoomWindowHeight)+"px;float: left;background-size: "+b.largeWidth/b.currentZoomLevel+"px "+b.largeHeight/b.currentZoomLevel+"px;display: none;z-index:100;border: "+String(b.options.borderSize)+"px solid "+b.options.borderColour+";background-repeat: no-repeat;position: absolute;");if("inner"==b.options.zoomType){var a=b.$elem.css("border-left-width");b.zoomWindowStyle="overflow: hidden;margin-left: "+String(a)+";margin-top: "+String(a)+";background-position: 0px 0px;width: "+String(b.nzWidth)+"px;height: "+String(b.nzHeight)+"px;float: left;display: none;cursor:"+b.options.cursor+";px solid "+b.options.borderColour+";background-repeat: no-repeat;position: absolute;"}
1440"window"==b.options.zoomType&&((lensHeight=b.nzHeight<b.options.zoomWindowWidth/b.widthRatio?b.nzHeight:String(b.options.zoomWindowHeight/b.heightRatio)),(lensWidth=b.largeWidth<b.options.zoomWindowWidth?b.nzWidth:b.o
1440ptions.zoomWindowWidth/b.widthRatio),(b.lensStyle="background-position: 0px 0px;width: "+String(b.options.zoomWindowWidth/b.widthRatio)+"px;height: "+String(b.options.zoomWindowHeight/b.heightRatio)+"px;float: right;display: none;overflow: hidden;z-index: 999;-webkit-transform: translateZ(0);opacity:"+b.options.lensOpacity+";filter: alpha(opacity = "+100*b.options.lensOpacity+"); zoom:1;width:"+lensWidth+"px;height:"+lensHeight+"px;background-color:"+b.options.lensColour+";cursor:"+b.options.cursor+";border: "+b.options.lensBorderSize+"px solid "+b.options.lensBorderColour+";background-repeat: no-repeat;position: absolute;"));b.tintStyle="display: block;position: absolute;background-color: "+b.options.tintColour+";filter:alpha(opacity=0);opacity: 0;width: "+b.nzWidth+"px;height: "+b.nzHeight+"px;";b.lensRound="";"lens"==b.options.zoomType&&(b.lensStyle="background-position: 0px 0px;float: left;display: none;border: "+String(b.options.borderSize)+"px solid "+b.options.borderColour+";width:"+String(b.options.lensSize)+"px;height:"+String(b.options.lensSize)+"px;background-repeat: no-repeat;position: absolute;");"round"==b.options.lensShape&&(b.lensRound="border-top-left-radius: "+String(b.options.lensSize/2+b.options.borderSize)+"px;border-top-right-radius: "+String(b.options.lensSize/2+b.options.borderSize)+"px;border-bottom-left-radius: "+String(b.options.lensSize/2+b.options.borderSize)+"px;border-bottom-right-radius: "+String(b.options.lensSize/2+b.options.borderSize)+"px;");b.zoomContainer=d('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;left:'+b.nzOffset.left+"px;top:"+b.nzOffset.top+"px;height:"+b.nzHeight+"px;width:"+b.nzWidth+'px;"></div>');d("body").append(b.zoomContainer);b.options.containLensZoom&&"lens"==b.options.zoomType&&b.zoomContainer.css("overflow","hidden");"inner"!=b.options.zoomType&&((b.zoomLens=d("<div class='zoomLens' style='"+b.lensStyle+b.lensRound+"'>&nbsp;</div>").appendTo(b.zoomContainer).click(function(){b.$elem.trigger("click")})),b.options.tint&&((b.tintContainer=d("<div/>").addClass("tintContainer")),(b.zoomTint=d("<div class='zoomTint' style='"+b.tintStyle+"'></div>")),b.zoomLens.wrap(b.tintContainer),(b.zoomTintcss=b.zoomLens.after(b.zoomTint)),(b.zoomTintImage=d('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+b.nzWidth+"px; height: "+b.nzHeight+'px;" src="'+b.imageSrc+'" alt="'+b.elem.attributes.alt.value+'" title="'+b.elem.attributes.title.value+'">').appendTo(b.zoomLens).click(function(){b.$elem.trigger("click")}))));isNaN(b.options.zoomWindowPosition)?(b.zoomWindow=d("<div style='z-index:999;left:"+b.windowOffsetLeft+"px;top:"+b.windowOffsetTop+"px;"+b.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo("body").click(function(){b.$elem.trigger("click")})):(b.zoomWindow=d("<div style='z-index:999;left:"+b.windowOffsetLeft+"px;top:"+b.windowOffsetTop+"px;"+b.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo(b.zoomContainer).click(function(){b.$elem.trigger("click")}));b.zoomWindowContainer=d("<div/>").addClass("zoomWindowContainer").css("width",b.options.zoomWindowWidth);b.zoomWindow.wrap(b.zoomWindowContainer);"lens"==b.options.zoomType&&b.zoomLens.css({backgroundImage:"url('"+b.imageSrc+"')"});"window"==b.options.zoomType&&b.zoomWindow.css({backgroundImage:"url('"+b.imageSrc+"')"});"inner"==b.options.zoomType&&b.zoomWindow.css({backgroundImage:"url('"+b.imageSrc+"')"});b.$elem.bind("touchmove",function(a){a.preventDefault();b.setPosition(a.originalEvent.touches[0]||a.originalEvent.changedTouches[0])});b.zoomContainer.bind("touchmove",function(a){"inner"==b.options.zoomType&&b.showHideWindow("show");a.preventDefault();b.setPosition(a.originalEvent.touches[0]||a.originalEvent.changedTouches[0])});b.zoomContainer.bind("touchend",function(a){b.showHideWindow("hide");b.options.showLens&&b.showHideLens("hide");b.options.tint&&"inner"!=b.options.zoomType&&b.showHideTint("hide")});b.$elem.bind("touchend",function(a){b.showHideWindow("hide");b.options.showLens&&b.showHideLens("hide");b.options.tint&&"inner"!=b.options.zoomType&&b.showHideTint("hide")});b.options.showLens&&(b.zoomLens.bind("touchmove",function(a){a.preventDefault();b.setPosition(a.originalEvent.touches[0]||a.originalEvent.changedTouches[0])}),b.zoomLens.bind("touchend",function(a){b.showHideWindow("hide");b.options.showLens&&b.showHideLens("hide");b.options.tint&&"inner"!=b.options.zoomType&&b.showHideTint("hide")}));b.$elem.bind("mousemove",function(a){!1==b.overWindow&&b.setElements("show");if(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),(b.currentLoc=a);b.lastX=a.clientX;b.lastY=a.clientY});b.zoomContainer.bind("mousemove",function(a){!1==b.overWindow&&b.setElements("show");if(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),(b.currentLoc=a);b.lastX=a.clientX;b.lastY=a.clientY});"inner"!=b.options.zoomType&&b.zoomLens.bind("mousemove",function(a){if
1440(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),(b.currentLoc=a);b.lastX=a.clientX;b.lastY=a.clientY});b.options.tint&&"inner"!=b.options.zoomType&&b.zoomTint.bind("mousemove",function(a){if(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),(b.currentLoc=a);b.lastX=a.clientX;b.lastY=a.clientY});"inner"==b.options.zoomType&&b.zoomWindow.bind("mousemove",function(a){if(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),(b.currentLoc=a);b.lastX=a.clientX;b.lastY=a.clientY});b.zoomContainer.add(b.$elem).mouseenter(function(){!1==b.overWindow&&b.setElements("show")}).mouseleave(function(){b.scrollLock||b.setElements("hide")});"inner"!=b.options.zoomType&&b.zoomWindow.mouseenter(function(){b.overWindow=!0;b.setElements("hide")}).mouseleave(function(){b.overWindow=!1});b.minZoomLevel=b.options.minZoomLevel?b.options.minZoomLevel:2*b.options.scrollZoomIncrement;b.options.scrollZoom&&b.zoomContainer.add(b.$elem).bind(leo+"DOMMouseScroll MozMousePixelScroll",function(a){b.scrollLock=!0;clearTimeout(d.data(this,"timer"));d.data(this,"timer",setTimeout(function(){b.scrollLock=!1},250));var e=a.originalEvent.wheelDelta||-1*a.originalEvent.detail;a.stopImmediatePropagation();a.stopPropagation();a.preventDefault();0<e/120?b.currentZoomLevel>=b.minZoomLevel&&b.changeZoomLevel(b.currentZoomLevel-b.options.scrollZoomIncrement):b.options.maxZoomLevel?b.currentZoomLevel<=b.options.maxZoomLevel&&b.changeZoomLevel(parseFloat(b.currentZoomLevel)+b.options.scrollZoomIncrement):b.changeZoomLevel(parseFloat(b.currentZoomLevel)+b.options.scrollZoomIncrement);return!1})},setElements:function(b){if(!this.options.zoomEnabled)return!1;"show"==b&&this.isWindowSet&&("inner"==this.options.zoomType&&this.showHideWindow("show"),"window"==this.options.zoomType&&this.showHideWindow("show"),this.options.showLens&&this.showHideLens("show"),this.options.tint&&"inner"!=this.options.zoomType&&this.showHideTint("show"));"hide"==b&&("window"==this.options.zoomType&&this.showHideWindow("hide"),this.options.tint||this.showHideWindow("hide"),this.options.showLens&&this.showHideLens("hide"),this.options.tint&&this.showHideTint("hide"))},setPosition:function(b){if(!this.options.zoomEnabled)return!1;this.nzHeight=this.$elem.height();this.nzWidth=this.$elem.width();this.nzOffset=this.$elem.offset();this.options.tint&&"inner"!=this.options.zoomType&&(this.zoomTint.css({top:0}),this.zoomTint.css({left:0}));this.options.responsive&&!this.options.scrollZoom&&this.options.showLens&&((lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio)),(lensWidth=this.largeWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio),(this.widthRatio=this.largeWidth/this.nzWidth),(this.heightRatio=this.largeHeight/this.nzHeight),"lens"!=this.options.zoomType&&((lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio)),(lensWidth=this.options.zoomWindowWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio),this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight),this.options.tint&&(this.zoomTintImage.css("width",this.nzWidth),this.zoomTintImage.css("height",this.nzHeight))),"lens"==this.options.zoomType&&this.zoomLens.css({width:String(this.options.lensSize)+"px",height:String(this.options.lensSize)+"px"}));this.zoomContainer.css({top:this.nzOffset.top});this.zoomContainer.css({left:this.nzOffset.left});this.mouseLeft=parseInt(b.pageX-this.nzOffset.left);this.mouseTop=parseInt(b.pageY-this.nzOffset.top);"window"==this.options.zoomType&&((this.Etoppos=this.mouseTop<this.zoomLens.height()/2),(this.Eboppos=this.mouseTop>this.nzHeight-this.zoomLens.height()/2-2*this.options.lensBorderSize),(this.Eloppos=this.mouseLeft<0+this.zoomLens.width()/2),(this.Eroppos=this.mouseLeft>this.nzWidth-this.zoomLens.width()/2-2*this.options.lensBorderSize));"inner"==this.options.zoomType&&((this.Etoppos=this.mouseTop<this.nzHeight/2/this.heightRatio),(this.Eboppos=this.mouseTop>this.nzHeight-this.nzHeight/2/this.heightRatio),(this.Eloppos=this.mouseLeft<0+this.nzWidth/2/this.widthRatio),(this.Eroppos=this.mouseLeft>this.nzWidth-this.nzWidth/2/this.widthRatio-2*this.options.lensBorderSize));0>=this.mouseLeft||0>this.mouseTop||this.mouseLeft>this.nzWidth||this.mouseTop>this.nzHeight?this.setElements("hide"):(this.options.showLens&&((this.lensLeftPos=String(this.mouseLeft-this.zoomLens.width()/2)),(this.lensTopPos=String(this.mouseTop-this.zoomLens.height()/2))),this.Etoppos&&(this.lensTopPos=0),this.Eloppos&&(this.tintpos=this.lensLeftPos=this.windowLeftPos=0),"window"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),"inner"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.nzWidth-2*this.options.lensBorderSize)),"lens"==this.options.zoomType&&((this.windowLeftPos=String(-1*((b.pageX-this.nzOffset.left)*this.widthRatio-this.zoomLens.width()/2))),(this.windowTopPos=String(-1*((b.pageY-this.nzOffset.top)*this.heightRatio-this.zoomLens.height()/2))),this.zoomLens.css({backgroundPosition:this.windowLeftPos+"px "+this.windowTopPos+"px"}),this.changeBgSize&&(this.nzHeight>this.nzWidth?("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"})):("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"})),(this.changeBgSize=!1)),this.setWindowPostition(b)),this.options.tint&&"inner"!=this.options.zoomType&&this.setTintPosition(b),"window"==this.options.zoomType&&this.setWindowPostition(b),"inner"==this.options.zoomType&&this.setWindowPostition(b),this.options.showLens&&(this.fullwidth&&"lens"!=this.options.zoomType&&(this.lensLeftPos=0),this.zoomLens.css({left:this.lensLeftPos+"px",top:this.lensTopPos+"px"})))},showHideWindow:function(b){"show"!=b||this.isWindowActive||(this.options.zoomWindowFadeIn?this.zoomWindow.stop(!0,!0,!1).fadeIn(this.options.zoomWindowFadeIn):this.zoomWindow.show(),(this.isWindowActive=!0));"hide"==b&&this.isWindowActive&&(this.options.zoomWindowFadeOut?this.zoomWindow.stop(!0,!0).fadeOut(this.options.zoomWindowFadeOut):this.zoomWindow.hide(),(this.isWindowActive=!1))},showHideLens:function(b){"show"!=b||this.isLensActive||(this.options.lensFadeIn?this.zoomLens.stop(!0,!0,!1).fadeIn(this.options.lensFadeIn):this.zoomLens.show(),(this.isLensActive=!0));"hide"==b&&this.isLensActive&&(this.options.lensFadeOut?this.zoomLens.stop(!0,!0).fadeOut(this.options.lensFadeOut):this.zoomLens.hide(),(this.isLensActive=!1))},showHideTint:function(b){"show"!=b||this.isTintActive||(this.options.zoomTintFadeIn?this.zoomTint.css({opacity:this.options.tintOpacity}).animate().stop(!0,!0).fadeIn("slow"):(this.zoomTint.css({opacity:this.options.tintOpacity}).animate(),this.zoomTint.show()),(this.isTintActive=!0));"hide"==b&&this.isTintActive&&(this.options.zoomTintFadeOut?this.zoomTint.stop(!0,!0).fadeOut(this.options.zoomTintFadeOut):this.zoomTint.hide(),(this.isTintActive=!1))}
1440,setLensPostition:function(b){},setWindowPostition:function(b){var a=this;if(isNaN(a.options.zoomWindowPosition))(a.externalContainer=d("#"+a.options.zoomWindowPosition)),(a.externalContainerWidth=a.externalContainer.width()),(a.externalContainerHeight=a.externalContainer.height()),(a.externalContainerOffset=a.externalContainer.offset()),(a.windowOffsetTop=a.externalContainerOffset.top),(a.windowOffsetLeft=a.externalContainerOffset.left);else switch(a.options.zoomWindowPosition){case 1:a.windowOffsetTop=a.options.zoomWindowOffety;a.windowOffsetLeft=+a.nzWidth;break;case 2:a.options.zoomWindowHeight>a.nzHeight&&((a.windowOffsetTop=-1*(a.options.zoomWindowHeight/2-a.nzHeight/2)),(a.windowOffsetLeft=a.nzWidth));break;case 3:a.windowOffsetTop=a.nzHeight-a.zoomWindow.height()-2*a.options.borderSize;a.windowOffsetLeft=a.nzWidth;break;case 4:a.windowOffsetTop=a.nzHeight;a.windowOffsetLeft=a.nzWidth;break;case 5:a.windowOffsetTop=a.nzHeight;a.windowOffsetLeft=a.nzWidth-a.zoomWindow.width()-2*a.options.borderSize;break;case 6:a.options.zoomWindowHeight>a.nzHeight&&((a.windowOffsetTop=a.nzHeight),(a.windowOffsetLeft=-1*(a.options.zoomWindowWidth/2-a.nzWidth/2+2*a.options.borderSize)));break;case 7:a.windowOffsetTop=a.nzHeight;a.windowOffsetLeft=0;break;case 8:a.windowOffsetTop=a.nzHeight;a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize);break;case 9:a.windowOffsetTop=a.nzHeight-a.zoomWindow.height()-2*a.options.borderSize;a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize);break;case 10:a.options.zoomWindowHeight>a.nzHeight&&((a.windowOffsetTop=-1*(a.options.zoomWindowHeight/2-a.nzHeight/2)),(a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize)));break;case 11:a.windowOffsetTop=a.options.zoomWindowOffety;a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize);break;case 12:a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize);a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize);break;case 13:a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize);a.windowOffsetLeft=0;break;case 14:a.options.zoomWindowHeight>a.nzHeight&&((a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize)),(a.windowOffsetLeft=-1*(a.options.zoomWindowWidth/2-a.nzWidth/2+2*a.options.borderSize)));break;case 15:a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize);a.windowOffsetLeft=a.nzWidth-a.zoomWindow.width()-2*a.options.borderSize;break;case 16:a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize);a.windowOffsetLeft=a.nzWidth;break;default:(a.windowOffsetTop=a.options.zoomWindowOffety),(a.windowOffsetLeft=a.nzWidth)}
1441a.isWindowSet=!0;a.windowOffsetTop+=a.options.zoomWindowOffety;a.windowOffsetLeft+=a.options.zoomWindowOffetx;a.zoomWindow.css({top:a.windowOffsetTop});a.zoomWindow.css({left:a.windowOffsetLeft});"inner"==a.options.zoomType&&(a.zoomWindow.css({top:0}),a.zoomWindow.css({left:0}));a.windowLeftPos=String(-1*((b.pageX-a.nzOffset.left)*a.widthRatio-a.zoomWindow.width()/2));a.windowTopPos=String(-1*((b.pageY-a.nzOffset.top)*a.heightRatio-a.zoomWindow.height()/2));a.Etoppos&&(a.windowTopPos=0);a.Eloppos&&(a.windowLeftPos=0);a.Eboppos&&(a.windowTopPos=-1*(a.largeHeight/a.currentZoomLevel-a.zoomWindow.height()));a.Eroppos&&(a.windowLeftPos=-1*(a.largeWidth/a.currentZoomLevel-a.zoomWindow.width()));a.fullheight&&(a.windowTopPos=0);a.fullwidth&&(a.windowLeftPos=0);if("window"==a.options.zoomType||"inner"==a.options.zoomType)
14421==a.zoomLock&&(1>=a.widthRatio&&(a.windowLeftPos=0),1>=a.heightRatio&&(a.windowTopPos=0)),a.largeHeight<a.options.zoomWindowHeight&&(a.windowTopPos=0),a.largeWidth<a.options.zoomWindowWidth&&(a.windowLeftPos=0),a.options.easing?(a.xp||(a.xp=0),a.yp||(a.yp=0),a.loop||(a.loop=setInterval(function(){a.xp+=(a.windowLeftPos-a.xp)/a.options.easingAmount;a.yp+=(a.windowTopPos-a.yp)/a.options.easingAmount;a.scrollingLock?(clearInterval(a.loop),(a.xp=a.windowLeftPos),(a.yp=a.windowTopPos),(a.xp=-1*((b.pageX-a.nzOffset.left)*a.widthRatio-a.zoomWindow.width()/2)),(a.yp=-1*((b.pageY-a.nzOffset.top)*a.heightRatio-a.zoomWindow.height()/2)),a.changeBgSize&&(a.nzHeight>a.nzWidth?("lens"==a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"})):("lens"!=a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvalueheight+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"})),(a.changeBgSize=!1)),a.zoomWindow.css({backgroundPosition:a.windowLeftPos+"px "+a.windowTopPos+"px"}),(a.scrollingLock=!1),(a.loop=!1)):(a.changeBgSize&&(a.nzHeight>a.nzWidth?("lens"==a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"})):("lens"!=a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"})),(a.changeBgSize=!1)),a.zoomWindow.css({backgroundPosition:a.xp+"px "+a.yp+"px"}))},16))):(a.changeBgSize&&(a.nzHeight>a.nzWidth?("lens"==a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"})):("lens"==a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"}),a.largeHeight/a.newvaluewidth<a.options.zoomWindowHeight?a.zoomWindow.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"}):a.zoomWindow.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"})),(a.changeBgSize=!1)),a.zoomWindow.css({backgroundPosition:a.windowLeftPos+"px "+a.windowTopPos+"px"}))},setTintPosition:function(b){this.nzOffset=this.$elem.offset();this.tintpos=String(-1*(b.pageX-this.nzOffset.left-this.zoomLens.width()/2));this.tintposy=String(-1*(b.pageY-this.nzOffset.top-this.zoomLens.height()/2));this.Etoppos&&(this.tintposy=0);this.Eloppos&&(this.tintpos=0);this.Eboppos&&(this.tintposy=-1*(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize));this.Eroppos&&(this.tintpos=-1*(this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize));this.options.tint&&(this.fullheight&&(this.tintposy=0),this.fullwidth&&(this.tintpos=0),this.zoomTintImage.css({left:this.tintpos+"px"}),this.zoomTintImage.css({top:this.tintposy+"px"}))},swaptheimage:function(b,a){var c=this,e=new Image();c.options.loadingIcon&&((c.spinner=d("<div style=\"background: url('"+c.options.loadingIcon+"') no-repeat center;height:"+c.nzHeight+"px;width:"+c.nzWidth+'px;z-index: 2000;position: absolute; background-position: center center;"></div>')),c.$elem.after(c.spinner));c.options.onImageSwap(c.$elem);e.onload=function(){c.largeWidth=e.width;c.largeHeight=e.height;c.zoomImage=a;if(c.zoomWindow){c.zoomWindow.css({"background-size":c.largeWidth+"px "+c.largeHeight+"px"});c.zoomWindow.css({"background-size":c.largeWidth+"px "+c.largeHeight+"px"})}
1443c.swapAction(b,a)};e.src=a},swapAction:function(b,a){var c=this,e=new Image();e.onload=function(){c.nzHeight=e.height;c.nzWidth=e.width;c.options.onImageSwapComplete(c.$elem);c.doneCallback()};e.src=b;c.currentZoomLevel=c.options.zoomLevel;c.options.maxZoomLevel=!1;"lens"==c.options.zoomType&&c.zoomLens.css({backgroundImage:"url('"+a+"')"});"window"==c.options.zoomType&&c.zoomWindow&&c.zoomWindow.css({backgroundImage:"url('"+a+"')"});
1443"inner"==c.options.zoomType&&c.zoomWindow&&c.zoomWindow.css({backgroundImage:"url('"+a+"')"});c.currentImage=a;if(c.options.imageCrossfade){var f=c.$elem,g=f.clone();c.$elem.attr("src",b);c.$elem.after(g);g.stop(!0).fadeOut(c.options.imageCrossfade,function(){d(this).remove()});c.$elem.width("auto").removeAttr("width");c.$elem.height("auto").removeAttr("height");f.fadeIn(c.options.imageCrossfade);c.options.tint&&"inner"!=c.options.zoomType&&((f=c.zoomTintImage),(g=f.clone()),c.zoomTintImage.attr("src",a),c.zoomTintImage.after(g),g.stop(!0).fadeOut(c.options.imageCrossfade,function(){d(this).remove()}),f.fadeIn(c.options.imageCrossfade),c.zoomTint.css({height:c.$elem.height()}),c.zoomTint.css({width:c.$elem.width()}));c.zoomContainer.css("height",c.$elem.height());c.zoomContainer.css("width",c.$elem.width());"inner"!=c.options.zoomType||c.options.constrainType||(c.zoomWrap.parent().css("height",c.$elem.height()),c.zoomWrap.parent().css("width",c.$elem.width()),c.zoomWindow.css("height",c.$elem.height()),c.zoomWindow.css("width",c.$elem.width()))}else c.$elem.attr("src",b),c.options.tint&&(c.zoomTintImage.attr("src",a),c.zoomTintImage.attr("height",c.$elem.height()),c.zoomTintImage.css({height:c.$elem.height()}),c.zoomTint.css({height:c.$elem.height()})),(c.zoomContainer&&c.zoomContainer.css("height",c.$elem.height())),(c.zoomContainer&&c.zoomContainer.css("width",c.$elem.width()));c.options.imageCrossfade&&(c.zoomWrap.css("height",c.$elem.height()),c.zoomWrap.css("width",c.$elem.width()));c.options.constrainType&&("height"==c.options.constrainType&&(c.zoomContainer.css("height",c.options.constrainSize),c.zoomContainer.css("width","auto"),c.options.imageCrossfade?(c.zoomWrap.css("height",c.options.constrainSize),c.zoomWrap.css("width","auto"),(c.constwidth=c.zoomWrap.width())):(c.$elem.css("height",c.options.constrainSize),c.$elem.css("width","auto"),(c.constwidth=c.$elem.width())),"inner"==c.options.zoomType&&(c.zoomWrap.parent().css("height",c.options.constrainSize),c.zoomWrap.parent().css("width",c.constwidth),c.zoomWindow.css("height",c.options.constrainSize),c.zoomWindow.css("width",c.constwidth)),c.options.tint&&(c.tintContainer.css("height",c.options.constrainSize),c.tintContainer.css("width",c.constwidth),c.zoomTint.css("height",c.options.constrainSize),c.zoomTint.css("width",c.constwidth),c.zoomTintImage.css("height",c.options.constrainSize),c.zoomTintImage.css("width",c.constwidth))),"width"==c.options.constrainType&&(c.zoomContainer.css("height","auto"),c.zoomContainer.css("width",c.options.constrainSize),c.options.imageCrossfade?(c.zoomWrap.css("height","auto"),c.zoomWrap.css("width",c.options.constrainSize),(c.constheight=c.zoomWrap.height())):(c.$elem.css("height","auto"),c.$elem.css("width",c.options.constrainSize),(c.constheight=c.$elem.height())),"inner"==c.options.zoomType&&(c.zoomWrap.parent().css("height",c.constheight),c.zoomWrap.parent().css("width",c.options.constrainSize),c.zoomWindow.css("height",c.constheight),c.zoomWindow.css("width",c.options.constrainSize)),c.options.tint&&(c.tintContainer.css("height",c.constheight),c.tintContainer.css("width",c.options.constrainSize),c.zoomTint.css("height",c.constheight),c.zoomTint.css("width",c.options.constrainSize),c.zoomTintImage.css("height",c.constheight),c.zoomTintImage.css("width",c.options.constrainSize))))},doneCallback:function(){this.options.loadingIcon&&this.spinner.hide();this.nzOffset=this.$elem.offset();this.nzWidth=this.$elem.width();this.nzHeight=this.$elem.height();this.currentZoomLevel=this.options.zoomLevel;this.widthRatio=this.largeWidth/this.nzWidth;this.heightRatio=this.largeHeight/this.nzHeight;"window"==this.options.zoomType&&((lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio)),(lensWidth=this.options.zoomWindowWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio),this.zoomLens&&(this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight)))},getCurrentImage:function(){return this.zoomImage},getGalleryList:function(){var b=this;b.gallerylist=[];b.options.gallery?d("#"+b.options.gallery+" a").each(function(){var a="";d(this).data("zoom-image")?(a=d(this).data("zoom-image")):d(this).data("image")&&(a=d(this).data("image"));a==b.zoomImage?b.gallerylist.unshift({href:""+a+"",title:d(this).find("img").attr("title")}):b.gallerylist.push({href:""+a+"",title:d(this).find("img").attr("title")})}):b.gallerylist.push({href:""+b.zoomImage+"",title:d(this).find("img").attr("title")});return b.gallerylist},changeZoomLevel:function(b){this.scrollingLock=!0;this.newvalue=parseFloat(b).toFixed(2);newvalue=parseFloat(b).toFixed(2);maxheightnewvalue=this.largeHeight/((this.options.zoomWindowHeight/this.nzHeight)*this.nzHeight);maxwidthtnewvalue=this.largeWidth/((this.options.zoomWindowWidth/this.nzWidth)*this.nzWidth);
1443"inner"!=this.options.zoomType&&(maxheightnewvalue<=newvalue?((this.heightRatio=this.largeHeight/maxheightnewvalue/this.nzHeight),(this.newvalueheight=maxheightnewvalue),(this.fullheight=!0)):((this.heightRatio=this.largeHeight/newvalue/this.nzHeight),(this.newvalueheight=newvalue),(this.fullheight=!1)),maxwidthtnewvalue<=newvalue?((this.widthRatio=this.largeWidth/maxwidthtnewvalue/this.nzWidth),(this.newvaluewidth=maxwidthtnewvalue),(this.fullwidth=!0)):((this.widthRatio=this.largeWidth/newvalue/this.nzWidth),(this.newvaluewidth=newvalue),(this.fullwidth=!1)),"lens"==this.options.zoomType&&(maxheightnewvalue<=newvalue?((this.fullwidth=!0),(this.newvaluewidth=maxheightnewvalue)):((this.widthRatio=this.largeWidth/newvalue/this.nzWidth),(this.newvaluewidth=newvalue),(this.fullwidth=!1))));"inner"==this.options.zoomType&&((maxheightnewvalue=parseFloat(this.largeHeight/this.nzHeight).toFixed(2)),(maxwidthtnewvalue=parseFloat(this.largeWidth/this.nzWidth).toFixed(2)),newvalue>maxheightnewvalue&&(newvalue=maxheightnewvalue),newvalue>maxwidthtnewvalue&&(newvalue=maxwidthtnewvalue),maxheightnewvalue<=newvalue?((this.heightRatio=this.largeHeight/newvalue/this.nzHeight),(this.newvalueheight=newvalue>maxheightnewvalue?maxheightnewvalue:newvalue),(this.fullheight=!0)):((this.heightRatio=this.largeHeight/newvalue/this.nzHeight),(this.newvalueheight=newvalue>maxheightnewvalue?maxheightnewvalue:newvalue),(this.fullheight=!1)),maxwidthtnewvalue<=newvalue?((this.widthRatio=this.largeWidth/newvalue/this.nzWidth),(this.newvaluewidth=newvalue>maxwidthtnewvalue?maxwidthtnewvalue:newvalue),(this.fullwidth=!0)):((this.widthRatio=this.largeWidth/newvalue/this.nzWidth),(this.newvaluewidth=newvalue),(this.fullwidth=!1)));scrcontinue=!1;"inner"==this.options.zoomType&&(this.nzWidth>this.nzHeight&&(this.newvaluewidth<=maxwidthtnewvalue?(scrcontinue=!0):((scrcontinue=!1),(this.fullwidth=this.fullheight=!0))),this.nzHeight>this.nzWidth&&(this.newvaluewidth<=maxwidthtnewvalue?(scrcontinue=!0):((scrcontinue=!1),(this.fullwidth=this.fullheight=!0))));"inner"!=this.options.zoomType&&(scrcontinue=!0);scrcontinue&&((this.zoomLock=0),(this.changeZoom=!0),this.options.zoomWindowHeight/this.heightRatio<=this.nzHeight&&((this.currentZoomLevel=this.newvalueheight),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&((this.changeBgSize=!0),this.zoomLens.css({height:String(this.options.zoomWindowHeight/this.heightRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),this.options.zoomWindowWidth/this.widthRatio<=this.nzWidth&&("inner"!=this.options.zoomType&&this.newvaluewidth>this.newvalueheight&&(this.currentZoomLevel=this.newvaluewidth),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&((this.changeBgSize=!0),this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),"inner"==this.options.zoomType&&((this.changeBgSize=!0),this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth)));this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide();self.zoomLens&&self.zoomLens.hide();self.zoomTint&&self.zoomTint.hide()},changeState:function(b){"enable"==b&&(this.options.zoomEnabled=!0);"disable"==b&&(this.options.zoomEnabled=!1)},};d.fn.elevateZoom=function(b){return this.each(function(){var a=Object.create(k);a.init(b,this);d.data(this,"elevateZoom",a)})};d.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:0.1,minZoomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:0.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:0.4,gallery:!1,galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:d.noop,onZoomedImageLoaded:function(){},onImageSwap:d.noop,onImageSwapComplete:d.noop,}})(jQuery,window,document);/*! lightgallery - v1.10.0 - 2020-11-07
1444* http://sachinchoolur.github.io/lightGallery/
1445* Copyright (c) 2020 Sachin N; Licensed GPLv3 */
1446!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";function b(b,d){if(this.el=b,this.$el=a(b),this.s=a.extend({},c,d),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBarTimeout=!1,this.isTouch="ontouchstart"in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.s.dynamic?this.$items=this.s.dynamicEl:"this"===this.s.selector?this.$items=this.$el:""!==this.s.selector?this.s.selectWithin?this.$items=a(this.s.selectWithin).find(this.s.selector):this.$items=this.$el.find(a(this.s.selector)):this.$items=this.$el.children(),this.$slide="",this.$outer="",this.init(),this}var c={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,ariaLabelledby:"",ariaDescribedby:"",closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1,supportLegacyBrowser:!0};b.prototype.init=function(){var b=this;b.s.preload>b.$items.length&&(b.s.preload=b.$items.length);var c=window.location.hash;c.indexOf("lg="+this.s.galleryId)>0&&(b.index=parseInt(c.split("&slide=")[1],10),a("body").addClass("lg-from-hash"),a("body").hasClass("lg-on")||(setTimeout(function(){b.build(b.index)}),a("body").addClass("lg-on"))),b.s.dynamic?(b.$el.trigger("onBeforeOpen.lg"),b.index=b.s.index||0,a("body").hasClass("lg-on")||setTimeout(function(){b.build(b.index),a("body").addClass("lg-on")})):b.$items.on("click.lgcustom",function(c){try{c.preventDefault(),c.preventDefault()}catch(a){c.returnValue=!1}b.$el.trigger("onBeforeOpen.lg"),b.index=b.s.index||b.$items.index(this),a("body").hasClass("lg-on")||(b.build(b.index),a("body").addClass("lg-on"))})},b.prototype.build=function(b){var c=this;c.structure(),a.each(a.fn.lightGallery.modules,function(b){c.modules[b]=new a.fn.lightGallery.modules[b](c.el)}),c.slide(b,!1,!1,!1),c.s.keyPress&&c.keyPress(),c.$items.length>1?(c.arrow(),setTimeout(function(){c.enableDrag(),c.enableSwipe()},50),c.s.mousewheel&&c.mousewheel()):c.$slide.on("click.lg",function(){c.$el.trigger("onSlideClick.lg")}),c.counter(),c.closeGallery(),c.$el.trigger("onAfterOpen.lg"),c.s.hideBarsDelay>
14460&&c.$outer.on("mousemove.lg click.lg touchstart.lg",function(){c.$outer.removeClass("lg-hide-items"),clearTimeout(c.hideBarTimeout),c.hideBarTimeout=setTimeout(function(){c.$outer.addClass("lg-hide-items")},c.s.hideBarsDelay)}),c.$outer.trigger("mousemove.lg")},b.prototype.structure=function(){var b,c="",d="",e=0,f="",g=this;for(a("body").append('<div class="lg-backdrop"></div>'),a(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),e=0;e<this.$items.length;e++)c+='<div class="lg-item"></div>';if(this.s.controls&&this.$items.length>1&&(d='<div class="lg-actions"><button type="button" aria-label="Previous slide" class="lg-prev lg-icon">'+this.s.prevHtml+'</button><button type="button" aria-label="Next slide" class="lg-next lg-icon">'+this.s.nextHtml+"</button></div>"),".lg-sub-html"===this.s.appendSubHtmlTo&&(f='<div role="status" aria-live="polite" class="lg-sub-html"></div>'),b='<div tabindex="-1" aria-modal="true" '+(this.s.ariaLabelledby?'aria-labelledby="'+this.s.ariaLabelledby+'"':"")+" "+(this.s.ariaDescribedby?'aria-describedby="'+this.s.ariaDescribedby+'"':"")+' role="dialog" class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+c+'</div><div class="lg-toolbar lg-group"><button type="button" aria-label="Close gallery" class="lg-close lg-icon"></button></div>'+d+f+"</div></div>",a("body").append(b),this.$outer=a(".lg-outer"),this.$outer.focus(),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),g.setTop(),a(window).on("resize.lg orientationchange.lg",function(){setTimeout(function(){g.setTop()},100)}),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&this.$items.length>1&&this.$outer.addClass("lg-grab"),this.s.showAfterLoad&&this.$outer.addClass("lg-show-after-load"),this.doCss()){var h=this.$outer.find(".lg-inner");h.css("transition-timing-function",this.s.cssEasing),h.css("transition-duration",this.s.speed+"ms")}setTimeout(function(){a(".lg-backdrop").addClass("in")}),setTimeout(function(){g.$outer.addClass("lg-visible")},this.s.backdropDuration),this.s.download&&this.$outer.find(".lg-toolbar").append('<a id="lg-download" aria-label="Download" target="_blank" download class="lg-download lg-icon"></a>'),this.prevScrollTop=a(window).scrollTop()},b.prototype.setTop=function(){if("100%"!==this.s.height){var b=a(window).height(),c=(b-parseInt(this.s.height,10))/2,d=this.$outer.find(".lg");b>=parseInt(this.s.height,10)?d.css("top",c+"px"):d.css("top","0px")}},b.prototype.doCss=function(){return!!function(){var a=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],b=document.documentElement,c=0;for(c=0;c<a.length;c++)if(a[c]in b.style)return!0}()},b.prototype.isVideo=function(a,b){var c;if(c=this.s.dynamic?this.s.dynamicEl[b].html:this.$items.eq(b).attr("data-html"),!a)return c?{html5:!0}:(console.error("lightGallery :- data-src is not provided on slide item "+(b+1)+". Please make sure the selector property is properly configured. More info - http://sachinchoolur.github.io/lightGallery/demos/html-markup.html"),!1);var d=a.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),e=a.match(/\/\/(?:www\.)?(?:player\.)?vimeo.com\/(?:video\/)?([0-9a-z\-_]+)/i),f=a.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),g=a.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return d?{youtube:d}:e?{vimeo:e}:f?{dailymotion:f}:g?{vk:g}:void 0},b.prototype.counter=function(){this.s.counter&&a(this.s.appendCounterTo).append('<div id="lg-counter" role="status" aria-live="polite"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.$items.length+"</span></div>")},b.prototype.addHtml=function(b){var c,d,e=null;if(this.s.dynamic?this.s.dynamicEl[b].subHtmlUrl?c=this.s.dynamicEl[b].subHtmlUrl:e=this.s.dynamicEl[b].subHtml:(d=this.$items.eq(b),d.attr("data-sub-html-url")?c=d.attr("data-sub-html-url"):(e=d.attr("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!e&&(e=d.attr("title")||d.find("img").first().attr("alt")))),!c)if(void 0!==e&&null!==e){var f=e.substring(0,1);"."!==f&&"#"!==f||(e=this.s.subHtmlSelectorRelative&&!this.s.dynamic?d.find(e).html():a(e).html())}else e="";
1446".lg-sub-html"===this.s.appendSubHtmlTo?c?this.$outer.find(this.s.appendSubHtmlTo).load(c):this.$outer.find(this.s.appendSubHtmlTo).html(e):c?this.$slide.eq(b).load(c):this.$slide.eq(b).append(e),void 0!==e&&null!==e&&(""===e?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html")),this.$el.trigger("onAfterAppendSubHtml.lg",[b])},b.prototype.preload=function(a){var b=1,c=1;for(b=1;b<=this.s.preload&&!(b>=this.$items.length-a);b++)this.loadContent(a+b,!1,0);for(c=1;c<=this.s.preload&&!(a-c<0);c++)this.loadContent(a-c,!1,0)},b.prototype.loadContent=function(b,c,d){var e,f,g,h,i,j,k,l=this,m=!1,n=function(b){for(var c=[],d=[],e=0;e<b.length;e++){var g=b[e].split(" ");""===g[0]&&g.splice(0,1),d.push(g[0]),c.push(g[1])}for(var h=a(window).width(),i=0;i<c.length;i++)if(parseInt(c[i],10)>h){f=d[i];break}};if(l.s.dynamic){if(l.s.dynamicEl[b].poster&&(m=!0,g=l.s.dynamicEl[b].poster),j=l.s.dynamicEl[b].html,f=l.s.dynamicEl[b].src,k=l.s.dynamicEl[b].alt,l.s.dynamicEl[b].responsive){n(l.s.dynamicEl[b].responsive.split(","))}h=l.s.dynamicEl[b].srcset,i=l.s.dynamicEl[b].sizes}else{var o=l.$items.eq(b);if(o.attr("data-poster")&&(m=!0,g=o.attr("data-poster")),j=o.attr("data-html"),f=o.attr("href")||o.attr("data-src"),k=o.attr("title")||o.find("img").first().attr("alt"),o.attr("data-responsive")){n(o.attr("data-responsive").split(","))}h=o.attr("data-srcset"),i=o.attr("data-sizes")}var p=!1;l.s.dynamic?l.s.dynamicEl[b].iframe&&(p=!0):"true"===l.$items.eq(b).attr("data-iframe")&&(p=!0);var q=l.isVideo(f,b);if(!l.$slide.eq(b).hasClass("lg-loaded")){if(p)l.$slide.eq(b).prepend('<div class="lg-video-cont lg-has-iframe" style="max-width:'+l.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+f+'"  allowfullscreen="true"></iframe></div></div>');else if(m){var r="";r=q&&q.youtube?"lg-has-youtube":q&&q.vimeo?"lg-has-vimeo":"lg-has-html5",l.$slide.eq(b).prepend('<div class="lg-video-cont '+r+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+g+'" /></div></div>')}else q?(l.$slide.eq(b).prepend('<div class="lg-video-cont "><div class="lg-video"></div></div>'),l.$el.trigger("hasVideo.lg",[b,f,j])):(k=k?'alt="'+k+'"':"",l.$slide.eq(b).prepend('<div class="lg-img-wrap"><img class="lg-object lg-image" '+k+' src="'+f+'" /></div>'));if(l.$el.trigger("onAferAppendSlide.lg",[b]),e=l.$slide.eq(b).find(".lg-object"),i&&e.attr("sizes",i),h&&(e.attr("srcset",h),this.s.supportLegacyBrowser))try{picturefill({elements:[e[0]]})}catch(a){console.warn("lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.")}".lg-sub-html"!==this.s.appendSubHtmlTo&&l.addHtml(b),l.$slide.eq(b).addClass("lg-loaded")}l.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){var c=0;d&&!a("body").hasClass("lg-from-hash")&&(c=d),setTimeout(function(){l.$slide.eq(b).addClass("lg-complete"),l.$el.trigger("onSlideItemLoad.lg",[b,d||0])},c)}),q&&q.html5&&!m&&l.$slide.eq(b).addClass("lg-complete"),!0===c&&(l.$slide.eq(b).hasClass("lg-complete")?l.preload(b):l.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){l.preload(b)}))},b.prototype.slide=function(b,c,d,e){var f=this.$outer.find(".lg-current").index(),g=this;if(!g.lGalleryOn||f!==b){var h=this.$slide.length,i=g.lGalleryOn?this.s.speed:0;if(!g.lgBusy){if(this.s.download){var j;j=g.s.dynamic?!1!==g.s.dynamicEl[b].downloadUrl&&(g.s.dynamicEl[b].downloadUrl||g.s.dynamicEl[b].src):"false"!==g.$items.eq(b).attr("data-download-url")&&(g.$items.eq(b).attr("data-download-url")||g.$items.eq(b).attr("href")||g.$items.eq(b).attr("data-src")),j?(a("#lg-download").attr("href",j),g.$outer.removeClass("lg-hide-download")):g.$outer.addClass("lg-hide-download")}if(this.$el.trigger("onBeforeSlide.lg",[f,b,c,d]),g.lgBusy=!0,clearTimeout(g.hideBarTimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){g.addHtml(b)},i),this.arrowDisable(b),e||(b<f?e="prev":b>f&&(e="next")),c){this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide");var k,l;h>2?(k=b-1,l=b+1,0===b&&f===h-1?(l=0,k=h-1):b===h-1&&0===f&&(l=0,k=h-1)):(k=0,l=1),"prev"===e?g.$slide.eq(l).addClass("lg-next-slide"):g.$slide.eq(k).addClass("lg-prev-slide"),g.$slide.eq(b).addClass("lg-current")}else g.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),"prev"===e?(this.$slide.eq(b).addClass("lg-prev-slide"),this.$slide.eq(f).addClass("lg-next-slide")):(this.$slide.eq(b).addClass("lg-next-slide"),this.$slide.eq(f).addClass("lg-prev-slide")),setTimeout(function(){g.$slide.removeClass("lg-current"),g.$slide.eq(b).addClass("lg-current"),g.$outer.removeClass("lg-no-trans")},50);g.lGalleryOn?(setTimeout(function(){g.loadContent(b,!0,0)},this.s.speed+50),setTimeout(function(){g.lgBusy=!1,g.$el.trigger("onAfterSlide.lg",[f,b,c,d])},this.s.speed)):(g.loadContent(b,!0,g.s.backdropDuration),g.lgBusy=!1,g.$el.trigger("onAfterSlide.lg",[f,b,c,d])),g.lGalleryOn=!0,this.s.counter&&a("#lg-counter-current").text(b+1)}g.index=b}},b.prototype.goToNextSlide=function(a){var b=this,c=b.s.loop;a&&b.$slide.length<3&&(c=!1),b.lgBusy||(b.index+1<b.$slide.length?(b.index++,b.$el.trigger("onBeforeNextSlide.lg",[b.index]),b.slide(b.index,a,!1,"next")):c?(b.index=0,b.$el.trigger("onBeforeNextSlide.lg",[b.index]),b.slide(b.index,a,!1,"next")):b.s.slideEndAnimatoin&&!a&&(b.$outer.addClass("lg-right-end"),setTimeout(function(){b.$outer.removeClass("lg-right-end")},400)))},b.prototype.goToPrevSlide=function(a){var b=this,c=b.s.loop;a&&b.$slide.length<3&&(c=!1),b.lgBusy||(b.index>0?(b.index--,b.$el.trigger("onBeforePrevSlide.lg",[b.index,a]),b.slide(b.index,a,!1,"prev")):c?(b.index=b.$items.length-1,b.$el.trigger("onBeforePrevSlide.lg",[b.index,a]),b.slide(b.index,a,!1,"prev")):b.s.slideEndAnimatoin&&!a&&(b.$outer.addClass("lg-left-end"),setTimeout(function(){b.$outer.removeClass("lg-left-end")},400)))},b.prototype.keyPress=function(){var b=this;this.$items.length>1&&a(window).on("keyup.lg",function(a){b.$items.length>1&&(37===a.keyCode&&(a.preventDefault(),b.goToPrevSlide()),39===a.keyCode&&(a.preventDefault(),b.goToNextSlide()))}),a(window).on("keydown.lg",function(a){!0===b.s.escKey&&27===a.keyCode&&(a.preventDefault(),b.$outer.hasClass("lg-thumb-open")?b.$outer.removeClass("lg-thumb-open"):b.destroy())})},b.prototype.arrow=function(){var a=this;this.$outer.find(".lg-prev").on("click.lg",function(){a.goToPrevSlide()}),this.$outer.find(".lg-next").on("click.lg",function(){a.goToNextSlide()})},b.prototype.arrowDisable=function(a){!this.s.loop&&this.s.hideControlOnEnd&&(a+1<this.$slide.length?this.$outer.find(".lg-next").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-next").attr("disabled","disabled").addClass("disabled"),a>0?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"))},b.prototype.setTranslate=function(a,b,c){this.s.useLeft?a.css("left",b):a.css({transform:"translate3d("+b+"px, "+c+"px, 0px)"})},b.prototype.touchMove=function(b,c){var d=c-b;Math.abs(d)>15&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),d,0),this.setTranslate(a(".lg-prev-slide"),-this.$slide.eq(this.index).width()+d,0),this.setTranslate(a(".lg-next-slide"),this.$slide.eq(this.index).width()+d,0))},b.prototype.touchEnd=function(a){var b=this;"lg-slide"!==b.s.mode&&b.$outer.addClass("lg-slide"),this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0"),setTimeout(function(){b.$outer.removeClass("lg-dragging"),a<0&&Math.abs(a)>b.s.swipeThreshold?b.goToNextSlide(!0):a>0&&Math.abs(a)>b.s.swipeThreshold?b.goToPrevSlide(!0):Math.abs(a)<5&&b.$el.trigger("onSlideClick.lg"),b.$slide.removeAttr("style")}),setTimeout(function(){b.$outer.hasClass("lg-dragging")||"lg-slide"===b.s.mode||b.$outer.removeClass("lg-slide")},b.s.speed+100)},b.prototype.enableSwipe=function(){var a=this,b=0,c=0,d=!1;a.s.enableSwipe&&a.doCss()&&(a.$slide.on("touchstart.lg",function(c){a.$outer.hasClass("lg-zoomed")||a.lgBusy||(c.preventDefault(),a.manageSwipeClass(),b=c.originalEvent.targetTouches[0].pageX)}),a.$slide.on("touchmove.lg",function(e){a.$outer.hasClass("lg-zoomed")||(e.preventDefault(),c=e.originalEvent.targetTouches[0].pageX,a.touchMove(b,c),d=!0)}),a.$slide.on("touchend.lg",function(){a.$outer.hasClass("lg-zoomed")||(d?(d=!1,a.touchEnd(c-b)):a.$el.trigger("onSlideClick.lg"))}))},b.prototype.enableDrag=function(){var b=this,c=0,d=0,e=!1,f=!1;b.s.enableDrag&&b.doCss()&&(b.$slide.on("mousedown.lg",function(d){b.$outer.hasClass("lg-zoomed")||b.lgBusy||a(d.target).text().trim()||(d.preventDefault(),b.manageSwipeClass(),c=d.pageX,e=!0,b.$outer.scrollLeft+=1,b.$outer.scrollLeft-=1,b.$outer.removeClass("lg-grab").addClass("lg-grabbing"),b.$el.trigger("onDragstart.lg"))}),a(window).on("mousemove.lg",function(a){e&&(f=!0,d=a.pageX,b.touchMove(c,d),b.$el.trigger("onDragmove.lg"))}),a(window).on("mouseup.lg",function(g){f?(f=!1,b.touchEnd(d-c),b.$el.trigger("onDragend.lg")):(a(g.target).hasClass("lg-object")||a(g.target).hasClass("lg-video-play"))&&b.$el.trigger("onSlideClick.lg"),e&&(e=!1,b.$outer.removeClass("lg-grabbing").addClass("lg-grab"))}))},b.prototype.manageSwipeClass=function(){var a=this.index+1,b=this.index-1;this.s.loop&&this.$slide.length>2&&(0===this.index?b=this.$slide.length-1:this.index===this.$slide.length-1&&(a=0)),this.$slide.removeClass("lg-next-slide lg-prev-slide"),b>-1&&this.$slide.eq(b).addClass("lg-prev-slide"),this.$slide.eq(a).addClass("lg-next-slide")},b.prototype.mousewheel=function(){var a=this;a.$outer.on("mousewheel.lg",function(b){b.deltaY&&(b.deltaY>0?a.goToPrevSlide():a.goToNextSlide(),b.preventDefault())})},b.prototype.closeGallery=function(){var b=this,c=!1;this.$outer.find(".lg-close").on("click.lg",function(){b.destroy()}),b.s.closable&&(b.$outer.on("mousedown.lg",function(b){c=!!(a(b.target).is(".lg-outer")||a(b.target).is(".lg-item ")||a(b.target).is(".lg-img-wrap"))}),b.$outer.on("mousemove.lg",function(){c=!1}),b.$outer.on("mouseup.lg",function(d){(a(d.target).is(".lg-outer")||a(d.target).is(".lg-item ")||a(d.target).is(".lg-img-wrap")&&c)&&
1446(b.$outer.hasClass("lg-dragging")||b.destroy())}))},b.prototype.destroy=function(b){var c=this;b||(c.$el.trigger("onBeforeClose.lg"),a(window).scrollTop(c.prevScrollTop)),b&&(c.s.dynamic||this.$items.off("click.lg click.lgcustom"),a.removeData(c.el,"lightGallery")),this.$el.off(".lg.tm"),a.each(a.fn.lightGallery.modules,function(a){c.modules[a]&&c.modules[a].destroy()}),this.lGalleryOn=!1,clearTimeout(c.hideBarTimeout),this.hideBarTimeout=!1,a(window).off(".lg"),a("body").removeClass("lg-on lg-from-hash"),c.$outer&&c.$outer.removeClass("lg-visible"),a(".lg-backdrop").removeClass("in"),setTimeout(function(){c.$outer&&c.$outer.remove(),a(".lg-backdrop").remove(),b||c.$el.trigger("onCloseAfter.lg"),c.$el.focus()},c.s.backdropDuration+50)},a.fn.lightGallery=function(c){return this.each(function(){if(a.data(this,"lightGallery"))try{a(this).data("lightGallery").init()}catch(a){console.error("lightGallery has not initiated properly",a)}else a.data(this,"lightGallery",new b(this,c))})},a.fn.lightGallery.modules={}}()}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";var b={autoplay:!1,pause:5e3,progressBar:!0,fourceAutoplay:!1,autoplayControls:!0,appendAutoplayControlsTo:".lg-toolbar"},c=function(c){return this.core=a(c).data("lightGallery"),this.$el=a(c),!(this.core.$items.length<2)&&(this.core.s=a.extend({},b,this.core.s),this.interval=!1,this.fromAuto=!0,this.canceledOnTouch=!1,this.fourceAutoplayTemp=this.core.s.fourceAutoplay,this.core.doCss()||(this.core.s.progressBar=!1),this.init(),this)};c.prototype.init=function(){var a=this;a.core.s.autoplayControls&&a.controls(),a.core.s.progressBar&&a.core.$outer.find(".lg").append('<div class="lg-progress-bar"><div class="lg-progress"></div></div>'),a.progress(),a.core.s.autoplay&&a.$el.one("onSlideItemLoad.lg.tm",function(){a.startlAuto()}),a.$el.on("onDragstart.lg.tm touchstart.lg.tm",function(){a.interval&&(a.cancelAuto(),a.canceledOnTouch=!0)}),a.$el.on("onDragend.lg.tm touchend.lg.tm onSlideClick.lg.tm",function(){!a.interval&&a.canceledOnTouch&&(a.startlAuto(),a.canceledOnTouch=!1)})},c.prototype.progress=function(){var a,b,c=this;c.$el.on("onBeforeSlide.lg.tm",function(){c.core.s.progressBar&&c.fromAuto&&(a=c.core.$outer.find(".lg-progress-bar"),b=c.core.$outer.find(".lg-progress"),c.interval&&(b.removeAttr("style"),a.removeClass("lg-start"),setTimeout(function(){b.css("transition","width "+(c.core.s.speed+c.core.s.pause)+"ms ease 0s"),a.addClass("lg-start")},20))),c.fromAuto||c.core.s.fourceAutoplay||c.cancelAuto(),c.fromAuto=!1})},c.prototype.controls=function(){var b=this;a(this.core.s.appendAutoplayControlsTo).append('<button type="button" aria-label="Toggle autoplay" class="lg-autoplay-button lg-icon"></button>'),b.core.$outer.find(".lg-autoplay-button").on("click.lg",function(){a(b.core.$outer).hasClass("lg-show-autoplay")?(b.cancelAuto(),b.core.s.fourceAutoplay=!1):b.interval||(b.startlAuto(),b.core.s.fourceAutoplay=b.fourceAutoplayTemp)})},c.prototype.startlAuto=function(){var a=this;a.core.$outer.find(".lg-progress").css("transition","width "+(a.core.s.speed+a.core.s.pause)+"ms ease 0s"),a.core.$outer.addClass("lg-show-autoplay"),a.core.$outer.find(".lg-progress-bar").addClass("lg-start"),a.interval=setInterval(function(){a.core.index+1<a.core.$items.length?a.core.index++:a.core.index=0,a.fromAuto=!0,a.core.slide(a.core.index,!1,!1,"next")},a.core.s.speed+a.core.s.pause)},c.prototype.cancelAuto=function(){clearInterval(this.interval),this.interval=!1,this.core.$outer.find(".lg-progress").removeAttr("style"),this.core.$outer.removeClass("lg-show-autoplay"),this.core.$outer.find(".lg-progress-bar").removeClass("lg-start")},c.prototype.destroy=function(){this.cancelAuto(),this.core.$outer.find(".lg-progress-bar").remove()},a.fn.lightGallery.modules.autoplay=c}()}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";function b(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement}var c={fullScreen:!0},d=function(b){return this.core=a(b).data("lightGallery"),this.$el=a(b),this.core.s=a.extend({},c,this.core.s),this.init(),this};d.prototype.init=function(){var a="";if(this.core.s.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;a='<button type="button" aria-label="Toggle fullscreen" class="lg-fullscreen lg-icon"></button>',this.core.$outer.find(".lg-toolbar").append(a),this.fullScreen()}},d.prototype.requestFullscreen=function(){var a=document.documentElement;a.requestFullscreen?a.requestFullscreen():a.msRequestFullscreen?a.msRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.webkitRequestFullscreen&&a.webkitRequestFullscreen()},d.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},d.prototype.fullScreen=function(){var c=this;a(document).on("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg",function(){c.core.$outer.toggleClass("lg-fullscreen-on")}),this.core.$outer.find(".lg-fullscreen").on("click.lg",function(){b()?c.exitFullscreen():c.requestFullscreen()})},d.prototype.destroy=function(){b()&&this.exitFullscreen(),a(document).off("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg")},a.fn.lightGallery.modules.fullscreen=d}()}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(0,function(a){!function(){"use strict";var b={pager:!1},c=function(c){return this.core=a(c).data("lightGallery"),this.$el=a(c),this.core.s=a.extend({},b,this.core.s),this.core.s.pager&&this.core.$items.length>1&&this.init(),this};c.prototype.init=function(){var b,c,d,e=this,f="";if(e.core.$outer.find(".lg").append('<div class="lg-pager-outer"></div>'),e.core.s.dynamic)for(var g=0;g<e.core.s.dynamicEl.length;g++)f+='<span class="lg-pager-cont"> <span class="lg-pager"></span><div class="lg-pager-thumb-cont"><span class="lg-caret"></span> <img src="'+e.core.s.dynamicEl[g].thumb+'" /></div></span>';else e.core.$items.each(function(){e.core.s.exThumbImage?f+='<span class="lg-pager-cont"> <span class="lg-pager"></span><div class="lg-pager-thumb-cont"><span class="lg-caret"></span> <img src="'+a(this).attr(e.core.s.exThumbImage)+'" /></div></span>':f+='<span class="lg-pager-cont"> <span class="lg-pager"></span><div class="lg-pager-thumb-cont"><span class="lg-caret"></span> <img src="'+a(this).find("img").attr("src")+'" /></div></span>'});c=e.core.$outer.find(".lg-pager-outer"),c.html(f),b=e.core.$outer.find(".lg-pager-cont"),b.on("click.lg touchend.lg",function(){var b=a(this);
vendor: 4,157 bytes, line 1446
1446e.core.index=b.index(),e.core.slide(e.core.index,!1,!0,!1)}),c.on("mouseover.lg",function(){clearTimeout(d),c.addClass("lg-pager-hover")}),c.on("mouseout.lg",function(){d=setTimeout(function(){c.removeClass("lg-pager-hover")})}),e.core.$el.on("onBeforeSlide.lg.tm",function(a,c,d){b.removeClass("lg-pager-active"),b.eq(d).addClass("lg-pager-active")})},c.prototype.destroy=function(){},a.fn.lightGallery.modules.pager=c}()}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";var b={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",thumbWidth:100,thumbHeight:"80px",thumbContHeight:100,thumbMargin:5,exThumbImage:!1,showThumbByDefault:!0,toogleThumb:!0,pullCaptionUp:!0,enableThumbDrag:!0,enableThumbSwipe:!0,swipeThreshold:50,loadYoutubeThumbnail:!0,youtubeThumbSize:1,loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:!0},c=function(c){return this.core=a(c).data("lightGallery"),this.core.s=a.extend({},b,this.core.s),this.$el=a(c),this.$thumbOuter=null,this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin),this.thumbIndex=this.core.index,this.core.s.animateThumb&&(this.core.s.thumbHeight="100%"),this.left=0,this.init(),this};c.prototype.init=function(){var a=this;this.core.s.thumbnail&&this.core.$items.length>1&&(this.core.s.showThumbByDefault&&setTimeout(function(){a.core.$outer.addClass("lg-thumb-open")},700),this.core.s.pullCaptionUp&&this.core.$outer.addClass("lg-pull-caption-up"),this.build(),this.core.s.animateThumb&&this.core.doCss()?(this.core.s.enableThumbDrag&&this.enableThumbDrag(),this.core.s.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toogle(),this.thumbkeyPress())},c.prototype.build=function(){function b(a,b,c){var g,h=d.core.isVideo(a,c)||{},i="";h.youtube||h.vimeo||h.dailymotion?h.youtube?g=d.core.s.loadYoutubeThumbnail?"//img.youtube.com/vi/"+h.youtube[1]+"/"+d.core.s.youtubeThumbSize+".jpg":b:h.vimeo?d.core.s.loadVimeoThumbnail?(g="//i.vimeocdn.com/video/error_"+f+".jpg",i=h.vimeo[1]):g=b:h.dailymotion&&(g=d.core.s.loadDailymotionThumbnail?"//www.dailymotion.com/thumbnail/video/"+h.dailymotion[1]:b):g=b,e+='<div data-vimeo-id="'+i+'" class="lg-thumb-item" style="width:'+d.core.s.thumbWidth+"px; height: "+d.core.s.thumbHeight+"; margin-right: "+d.core.s.thumbMargin+'px"><img src="'+g+'" /></div>',i=""}var c,d=this,e="",f="",g='<div class="lg-thumb-outer"><div class="lg-thumb lg-group"></div></div>';switch(this.core.s.vimeoThumbSize){case"thumbnail_large":f="640";break;case"thumbnail_medium":f="200x150";break;case"thumbnail_small":f="100x75"}if(d.core.$outer.addClass("lg-has-thumb"),d.core.$outer.find(".lg").append(g),d.$thumbOuter=d.core.$outer.find(".lg-thumb-outer"),d.thumbOuterWidth=d.$thumbOuter.width(),d.core.s.animateThumb&&d.core.$outer.find(".lg-thumb").css({width:d.thumbTotalWidth+"px",position:"relative"}),this.core.s.animateThumb&&d.$thumbOuter.css("height",d.core.s.thumbContHeight+"px"),d.core.s.dynamic)for(var h=0;h<d.core.s.dynamicEl.length;h++)b(d.core.s.dynamicEl[h].src,d.core.s.dynamicEl[h].thumb,h);else d.core.$items.each(function(c){d.core.s.exThumbImage?b(a(this).attr("href")||a(this).attr("data-src"),a(this).attr(d.core.s.exThumbImage),c):b(a(this).attr("href")||a(this).attr("data-src"),a(this).find("img").attr("src"),c)});d.core.$outer.find(".lg-thumb").html(e),c=d.core.$outer.find(".lg-thumb-item"),c.each(function(){var b=a(this),c=b.attr("data-vimeo-id");c&&a.getJSON("//www.vimeo.com/api/v2/video/"+c+".json?callback=?",{format:"json"},function(a){b.find("img").attr("src",a[0][d.core.s.vimeoThumbSize])})}),c.eq(d.core.index).addClass("active"),d.core.$el.on("onBeforeSlide.lg.tm",function(){c.removeClass("active"),c.eq(d.core.index).addClass("active")}),c.on("click.lg touchend.lg",function(){var b=a(this);setTimeout(function(){(d.thumbClickable&&!d.core.lgBusy||!d.core.doCss())&&(d.core.index=b.index(),d.core.slide(d.core.index,!1,
1446!0,!1))},50)}),d.core.$el.on("onBeforeSlide.lg.tm",function(){d.animateThumb(d.core.index)}),a(window).on("resize.lg.thumb orientationchange.lg.thumb",function(){setTimeout(function(){d.animateThumb(d.core.index),d.thumbOuterWidth=d.$thumbOuter.width()},200)})},c.prototype.setTranslate=function(a){this.core.$outer.find(".lg-thumb").css({transform:"translate3d(-"+a+"px, 0px, 0px)"})},c.prototype.animateThumb=function(a){var b=this.core.$outer.find(".lg-thumb");if(this.core.s.animateThumb){var c;switch(this.core.s.currentPagerPosition){case"left":c=0;break;case"middle":c=this.thumbOuterWidth/2-this.core.s.thumbWidth/2;break;case"right":c=this.thumbOuterWidth-this.core.s.thumbWidth}this.left=(this.core.s.thumbWidth+this.core.s.thumbMargin)*a-1-c,this.left>this.thumbTotalWidth-this.thumbOuterWidth&&(this.left=this.thumbTotalWidth-this.thumbOuterWidth),this.left<0&&(this.left=0),this.core.lGalleryOn?(b.hasClass("on")||this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms"),this.core.doCss()||b.animate({left:-this.left+"px"},this.core.s.speed)):this.core.doCss()||b.css("left",-this.left+"px"),this.setTranslate(this.left)}},c.prototype.enableThumbDrag=function(){var b=this,c=0,d=0,e=!1,f=!1,g=0;b.$thumbOuter.addClass("lg-grab"),b.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",function(a){b.thumbTotalWidth>b.thumbOuterWidth&&(a.preventDefault(),c=a.pageX,e=!0,b.core.$outer.scrollLeft+=1,b.core.$outer.scrollLeft-=1,b.thumbClickable=!1,b.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))}),a(window).on("mousemove.lg.thumb",function(a){e&&(g=b.left,f=!0,d=a.pageX,b.$thumbOuter.addClass("lg-dragging"),g-=d-c,g>b.thumbTotalWidth-b.thumbOuterWidth&&(g=b.thumbTotalWidth-b.thumbOuterWidth),g<0&&(g=0),b.setTranslate(g))}),a(window).on("mouseup.lg.thumb",function(){f?(f=!1,b.$thumbOuter.removeClass("lg-dragging"),b.left=g,Math.abs(d-c)<b.core.s.swipeThreshold&&(b.thumbClickable=!0)):b.thumbClickable=!0,e&&(e=!1,b.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab"))})},c.prototype.enableThumbSwipe=function(){var a=this,b=0,c=0,d=!1,e=0;a.core.$outer.find(".lg-thumb").on("touchstart.lg",function(c){a.thumbTotalWidth>a.thumbOuterWidth&&(c.preventDefault(),b=c.originalEvent.targetTouches[0].pageX,a.thumbClickable=!1)}),a.core.$outer.find(".lg-thumb").on("touchmove.lg",function(f){a.thumbTotalWidth>a.thumbOuterWidth&&(f.preventDefault(),c=f.originalEvent.targetTouches[0].pageX,d=!0,a.$thumbOuter.addClass("lg-dragging"),e=a.left,e-=c-b,e>a.thumbTotalWidth-a.thumbOuterWidth&&(e=a.thumbTotalWidth-a.thumbOuterWidth),e<0&&(e=0),a.setTranslate(e))}),a.core.$outer.find(".lg-thumb").on("touchend.lg",function(){a.thumbTotalWidth>a.thumbOuterWidth&&d?(d=!1,a.$thumbOuter.removeClass("lg-dragging"),Math.abs(c-b)<a.core.s.swipeThreshold&&(a.thumbClickable=!0),a.left=e):a.thumbClickable=!0})},c.prototype.toogle=function(){var a=this;a.core.s.toogleThumb&&(a.core.$outer.addClass("lg-can-toggle"),a.$thumbOuter.append('<button type="button" aria-label="Toggle thumbnails" class="lg-toogle-thumb lg-icon"></button>'),a.core.$outer.find(".lg-toogle-thumb").on("click.lg",function(){a.core.$outer.toggleClass("lg-thumb-open")}))},c.prototype.thumbkeyPress=function(){var b=this;a(window).on("keydown.lg.thumb",function(a){38===a.keyCode?(a.preventDefault(),b.core.$outer.addClass("lg-thumb-open")):40===a.keyCode&&(a.preventDefault(),b.core.$outer.removeClass("lg-thumb-open"))})},c.prototype.destroy=function(){this.core.s.thumbnail&&this.core.$items.length>1&&(a(window).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb"),this.$thumbOuter.remove(),this.core.$outer.removeClass("lg-has-thumb"))},a.fn.lightGallery.modules.Thumbnail=c}()}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";function b(a,b,c,d){var e=this;if(e.core.$slide.eq(b).find(".lg-video").append(e.loadVideo(c,"lg-object",!0,b,d)),d)if(e.core.s.videojs)try{videojs(e.core.$slide.eq(b).find(".lg-html5").get(0),e.core.s.videojsOptions,function(){!e.videoLoaded&&e.core.s.autoplayFirstVideo&&this.play()})}catch(a){console.error("lightGallery:- Make sure you have included videojs")}else!e.videoLoaded&&e.core.s.autoplayFirstVideo&&e.core.$slide.eq(b).find(".lg-html5").get(0).play()}function c(a,b){var c=this.core.$slide.eq(b).find(".lg-video-cont");c.hasClass("lg-has-iframe")||(c.css("max-width",this.core.s.videoMaxWidth),this.videoLoaded=!0)}function d(b,c,d){var e=this,f=e.core.$slide.eq(c),g=f.find(".lg-youtube").get(0),h=f.find(".lg-vimeo").get(0),i=f.find(".lg-dailymotion").get(0),j=f.find(".lg-vk").get(0),k=f.find(".lg-html5").get(0);if(g)g.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(h)try{new Vimeo.Player(h).pause().catch(function(a){console.error("Unable to pause the video:",a.name)})}catch(a){console.warn("lightGallery:- Make sure you have included https://github.com/vimeo/player.js")}else if(i)i.contentWindow.postMessage("pause","*");else if(k)if(e.core.s.videojs)try{videojs(k).pause()}catch(a){console.error("lightGallery:- Make sure you have included videojs")}else k.pause();j&&a(j).attr("src",a(j).attr("src").replace("&autoplay","&noplay"));var l;l=e.core.s.dynamic?e.core.s.dynamicEl[d].src:e.core.$items.eq(d).attr("href")||e.core.$items.eq(d).attr("data-src");var m=e.core.isVideo(l,d)||{};(m.youtube||m.vimeo||m.dailymotion||m.vk)&&e.core.$outer.addClass("lg-hide-download")}var e={videoMaxWidth:"855px",autoplayFirstVideo:!0,youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},f=function(b){return this.core=a(b).data("lightGallery"),this.$el=a(b),this.core.s=a.extend({},e,this.core.s),this.videoLoaded=!1,this.init(),this};f.prototype.init=function(){var e=this;e.core.$el.on("hasVideo.lg.tm",b.bind(this)),e.core.$el.on("onAferAppendSlide.lg.tm",c.bind(this)),e.core.doCss()&&e.core.$items.length>1&&(e.core.s.enableSwipe||e.core.s.enableDrag)?e.core.$el.on("onSlideClick.lg.tm",function(){var a=e.core.$slide.eq(e.core.index);e.loadVideoOnclick(a)}):e.core.$slide.on("click.lg",function(){e.loadVideoOnclick(a(this))}),e.core.$el.on("onBeforeSlide.lg.tm",d.bind(this)),e.core.$el.on("onAfterSlide.lg.tm",function(a,b){e.core.$slide.eq(b).removeClass("lg-video-playing")}),e.core.s.autoplayFirstVideo&&e.core.$el.on("onAferAppendSlide.lg.tm",function(a,b){if(!e.core.lGalleryOn){var c=e.core.$slide.eq(b);setTimeout(function(){e.loadVideoOnclick(c)},100)}})},f.prototype.loadVideo=function(b,c,d,e,f){var g,h=this,i="",j=1,k="",l=this.core.isVideo(b,e)||{};if(g=h.core.s.dynamic?h.core.s.dynamicEl[h.core.index].title:h.core.$items.eq(h.core.index).attr("title")||h.core.$items.eq(h.core.index).find("img").first().attr("alt"),g=g?'title="'+g+'"':"",d&&(j=this.videoLoaded?0:this.core.s.autoplayFirstVideo?1:0),l.youtube)k="?wmode=
1446opaque&autoplay="+j+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(k=k+"&"+a.param(this.core.s.youtubePlayerParams)),i='<iframe allow="autoplay" class="lg-video-object lg-youtube '+c+'" '+g+' width="560" height="315" src="//www.youtube.com/embed/'+l.youtube[1]+k+'" frameborder="0" allowfullscreen></iframe>';else if(l.vimeo)k="?autoplay="+j,this.core.s.vimeoPlayerParams&&(k=k+"&"+a.param(this.core.s.vimeoPlayerParams)),i='<iframe allow="autoplay" class="lg-video-object lg-vimeo '+c+'" '+g+' width="560" height="315"  src="//player.vimeo.com/video/'+l.vimeo[1]+k+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';else if(l.dailymotion)k="?wmode=opaque&autoplay="+j+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(k=k+"&"+a.param(this.core.s.dailymotionPlayerParams)),i='<iframe allow="autoplay" class="lg-video-object lg-dailymotion '+c+'" '+g+' width="560" height="315" src="//www.dailymotion.com/embed/video/'+l.dailymotion[1]+k+'" frameborder="0" allowfullscreen></iframe>';else if(l.html5){var m=f.substring(0,1);"."!==m&&"#"!==m||(f=a(f).html()),i=f}else l.vk&&(k="&autoplay="+j,this.core.s.vkPlayerParams&&(k=k+"&"+a.param(this.core.s.vkPlayerParams)),i='<iframe allow="autoplay" class="lg-video-object lg-vk '+c+'" '+g+' width="560" height="315" src="//vk.com/video_ext.php?'+l.vk[1]+k+'" frameborder="0" allowfullscreen></iframe>');return i},f.prototype.loadVideoOnclick=function(a){var b=this;if(a.find(".lg-object").hasClass("lg-has-poster")&&a.find(".lg-object").is(":visible"))if(a.hasClass("lg-has-video")){var c=a.find(".lg-youtube").get(0),d=a.find(".lg-vimeo").get(0),e=a.find(".lg-dailymotion").get(0),f=a.find(".lg-html5").get(0);if(c)c.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(d)try{new Vimeo.Player(d).play().catch(function(a){console.error("error playing the video:",a.name)})}catch(a){console.warn("lightGallery:- Make sure you have included https://github.com/vimeo/player.js")}else if(e)e.contentWindow.postMessage("play","*");else if(f)if(b.core.s.videojs)try{videojs(f).play()}catch(a){console.error("lightGallery:- Make sure you have included videojs")}else f.play();a.addClass("lg-video-playing")}else{a.addClass("lg-video-playing lg-has-video");var g,h,i=function(c,d){if(a.find(".lg-video").append(b.loadVideo(c,"",!1,b.core.index,d)),d)if(b.core.s.videojs)try{videojs(b.core.$slide.eq(b.core.index).find(".lg-html5").get(0),b.core.s.videojsOptions,function(){this.play()})}catch(a){console.error("lightGallery:- Make sure you have included videojs")}else b.core.$slide.eq(b.core.index).find(".lg-html5").get(0).play()};b.core.s.dynamic?(g=b.core.s.dynamicEl[b.core.index].src,h=b.core.s.dynamicEl[b.core.index].html,i(g,h)):(g=b.core.$items.eq(b.core.index).attr("href")||b.core.$items.eq(b.core.index).attr("data-src"),h=b.core.$items.eq(b.core.index).attr("data-html"),i(g,h));var j=a.find(".lg-object");a.find(".lg-video").append(j),a.find(".lg-video-object").hasClass("lg-html5")||(a.removeClass("lg-complete"),a.find(".lg-video-object").on("load.lg error.lg",function(){a.addClass("lg-complete")}))}},f.prototype.destroy=function(){this.videoLoaded=!1},a.fn.lightGallery.modules.video=f}()}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";var b=function(){var a=!1,b=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return b&&parseInt(b[2],10)<54&&(a=!0),a},c={scale:1,zoom:!0,actualSize:!0,enableZoomAfter:300,useLeftForZoom:b()},d=function(b){return this.core=a(b).data("lightGallery"),this.core.s=a.extend({},c,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=a(window).width()/2,this.pageY=a(window).height()/2+a(window).scrollTop()),this};d.prototype.init=function(){var b=this,c='<button type="button" aria-label="Zoom in" id="lg-zoom-in" class="lg-icon"></button><button type="button" aria-label="Zoom out" id="lg-zoom-out" class="lg-icon"></button>';b.core.s.actualSize&&(c+='<button type="button" aria-label="Actual size" id="lg-actual-size" class="lg-icon"></button>'),b.core.s.useLeftForZoom?b.core.$outer.addClass("lg-use-left-for-zoom"):b.core.$outer.addClass("lg-use-transition-for-zoom"),this.core.$outer.find(".lg-toolbar").append(c),b.core.$el.on("onSlideItemLoad.lg.tm.zoom",function(c,d,e){var f=b.core.s.enableZoomAfter+e;a("body").hasClass("lg-from-hash")&&e?f=0:a("body").removeClass("lg-from-hash"),b.zoomabletimeout=setTimeout(function(){b.core.$slide.eq(d).addClass("lg-zoomable")},f+30)});var d=1,e=function(c){var d,e,f=b.core.$outer.find(".lg-current .lg-image"),g=(a(window).width()-f.prop("offsetWidth"))/2,h=(a(window).height()-f.prop("offsetHeight"))/2+a(window).scrollTop();d=b.pageX-g,e=b.pageY-h;var i=(c-1)*d,j=(c-1)*e;f.css("transform","scale3d("+c+", "+c+", 1)").attr("data-scale",c),b.core.s.useLeftForZoom?f.parent().css({left:-i+"px",top:-j+"px"}).attr("data-x",i).attr("data-y",j):f.parent().css("transform","translate3d(-"+i+"px, -"+j+"px, 0)").attr("data-x",i).attr("data-y",j)},f=function(){d>1?b.core.$outer.addClass("lg-zoomed"):b.resetZoom(),d<1&&(d=1),e(d)},g=function(c,e,g,h){var i,j=e.prop("offsetWidth");
vendor: 5,509 bytes, line 1446
1446i=b.core.s.dynamic?b.core.s.dynamicEl[g].width||e[0].naturalWidth||j:b.core.$items.eq(g).attr("data-width")||e[0].naturalWidth||j;var k;b.core.$outer.hasClass("lg-zoomed")?d=1:i>j&&(k=i/j,d=k||2),h?(b.pageX=a(window).width()/2,b.pageY=a(window).height()/2+a(window).scrollTop()):(b.pageX=c.pageX||c.originalEvent.targetTouches[0].pageX,b.pageY=c.pageY||c.originalEvent.targetTouches[0].pageY),f(),setTimeout(function(){b.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")},10)},h=!1;b.core.$el.on("onAferAppendSlide.lg.tm.zoom",function(a,c){var d=b.core.$slide.eq(c).find(".lg-image");d.on("dblclick",function(a){g(a,d,c)}),d.on("touchstart",function(a){h?(clearTimeout(h),h=null,g(a,d,c)):h=setTimeout(function(){h=null},300),a.preventDefault()})}),a(window).on("resize.lg.zoom scroll.lg.zoom orientationchange.lg.zoom",function(){b.pageX=a(window).width()/2,b.pageY=a(window).height()/2+a(window).scrollTop(),e(d)}),a("#lg-zoom-out").on("click.lg",function(){b.core.$outer.find(".lg-current .lg-image").length&&(d-=b.core.s.scale,f())}),a("#lg-zoom-in").on("click.lg",function(){b.core.$outer.find(".lg-current .lg-image").length&&(d+=b.core.s.scale,f())}),a("#lg-actual-size").on("click.lg",function(a){g(a,b.core.$slide.eq(b.core.index).find(".lg-image"),b.core.index,!0)}),b.core.$el.on("onBeforeSlide.lg.tm",function(){d=1,b.resetZoom()}),b.zoomDrag(),b.zoomSwipe()},d.prototype.getCurrentTransform=function(a){if(!a)return 0;var b=window.getComputedStyle(a,null),c=b.getPropertyValue("-webkit-transform")||b.getPropertyValue("-moz-transform")||b.getPropertyValue("-ms-transform")||b.getPropertyValue("-o-transform")||b.getPropertyValue("transform")||"none";return"none"!==c?c.split("(")[1].split(")")[0].split(","):0},d.prototype.getCurrentRotation=function(a){if(!a)return 0;var b=this.getCurrentTransform(a);return b?Math.round(Math.atan2(b[1],b[0])*(180/Math.PI)):0},d.prototype.getModifier=function(a,b,c){var d=a;a=Math.abs(a);var e=this.getCurrentTransform(c);if(!e)return 1;var f=1;if("X"===b){var g=Math.sign(parseFloat(e[0]));0===a||180===a?f=1:90===a&&(f=-90===d&&1===g||90===d&&-1===g?-1:1),f*=g}else{var h=Math.sign(parseFloat(e[3]));if(0===a||180===a)f=1;else if(90===a){var i=parseFloat(e[1]),j=parseFloat(e[2]);f=Math.sign(i*j*d*h)}f*=h}return f},d.prototype.getImageSize=function(a,b,c){var d={y:"offsetHeight",x:"offsetWidth"};return 90===b&&(c="x"===c?"y":"x"),a.prop(d[c])},d.prototype.getDragCords=function(a,b){return 90===b?{x:a.pageY,y:a.pageX}:{x:a.pageX,y:a.pageY}},d.prototype.getSwipeCords=function(a,b){var c=a.originalEvent.targetTouches[0].pageX,d=a.originalEvent.targetTouches[0].pageY;return 90===b?{x:d,y:c}:{x:c,y:d}},d.prototype.getPossibleDragCords=function(a,b){var c=(this.core.$outer.find(".lg").height()-this.getImageSize(a,b,"y"))/2,d=Math.abs(this.getImageSize(a,b,"y")*Math.abs(a.attr("data-scale"))-this.core.$outer.find(".lg").height()+c),e=(this.core.$outer.find(".lg").width()-this.getImageSize(a,b,"x"))/2,f=Math.abs(this.getImageSize(a,b,"x")*Math.abs(a.attr("data-scale"))-this.core.$outer.find(".lg").width()+e);return 90===b?{minY:e,maxY:f,minX:c,maxX:d}:{minY:c,maxY:d,minX:e,maxX:f}},d.prototype.getDragAllowedAxises=function(a,b){var c=this.getImageSize(a,b,"y")*a.attr("data-scale")>this.core.$outer.find(".lg").height(),d=this.getImageSize(a,b,"x")*a.attr("data-scale")>this.core.$outer.find(".lg").width();return 90===b?{allowX:c,allowY:d}:{allowX:d,allowY:c}},d.prototype.resetZoom=function(){this.core.$outer.removeClass("lg-zoomed"),this.core.$slide.find(".lg-img-wrap").removeAttr("style data-x data-y"),this.core.$slide.find(".lg-image").removeAttr("style data-scale"),this.pageX=a(window).width()/2,this.pageY=a(window).height()/2+a(window).scrollTop()},d.prototype.zoomSwipe=function(){var a,b=this,c={},d={},e=!1,f=!1,g=!1,h=0;b.core.$slide.on("touchstart.lg",function(d){if(b.core.$outer.hasClass("lg-zoomed")){var e=b.core.$slide.eq(b.core.index).find(".lg-object");a=b.core.$slide.eq(b.core.index).find(".lg-img-rotate")[0],h=b.getCurrentRotation(a);var i=b.getDragAllowedAxises(e,Math.abs(h));g=i.allowY,f=i.allowX,(f||g)&&(d.preventDefault(),c=b.getSwipeCords(d,Math.abs(h)))}}),b.core.$slide.on("touchmove.lg",function(i){if(b.core.$outer.hasClass("lg-zoomed")){var j,k,l=b.core.$slide.eq(b.core.index).find(".lg-img-wrap");i.preventDefault(),e=!0,d=b.getSwipeCords(i,Math.abs(h)),b.core.$outer.addClass("lg-zoom-dragging"),k=g?-Math.abs(l.attr("data-y"))+(d.y-c.y)*b.getModifier(h,"Y",a):-Math.abs(l.attr("data-y")),j=f?-Math.abs(l.attr("data-x"))+(d.x-c.x)*b.getModifier(h,"X",a):-Math.abs(l.attr("data-x")),(Math.abs(d.x-c.x)>15||Math.abs(d.y-c.y)>15)&&(b.core.s.useLeftForZoom?l.css({left:j+"px",top:k+"px"}):l.css("transform","translate3d("+j+"px, "+k+"px, 0)"))}}),b.core.$slide.on("touchend.lg",function(){b.core.$outer.hasClass("lg-zoomed")&&e&&(e=!1,b.core.$outer.removeClass("lg-zoom-dragging"),b.touchendZoom(c,d,f,g,h))})},d.prototype.zoomDrag=function(){var b,c=this,d={},e={},f=!1,g=!1,h=!1,i=!1,j=0;c.core.$slide.on("mousedown.lg.zoom",function(e){b=c.core.$slide.eq(c.core.index).find(".lg-img-rotate")[0],j=c.getCurrentRotation(b);var g=c.core.$slide.eq(c.core.index).find(".lg-object"),k=c.getDragAllowedAxises(g,Math.abs(j));i=k.allowY,h=k.allowX,c.core.$outer.hasClass("lg-zoomed")&&a(e.target).hasClass("lg-object")&&(h||i)&&(e.preventDefault(),d=c.getDragCords(e,Math.abs(j)),f=!0,c.core.$outer.scrollLeft+=1,c.core.$outer.scrollLeft-=1,c.core.$outer.removeClass("lg-grab").addClass("lg-grabbing"))}
1446),a(window).on("mousemove.lg.zoom",function(a){if(f){var k,l,m=c.core.$slide.eq(c.core.index).find(".lg-img-wrap");g=!0,e=c.getDragCords(a,Math.abs(j)),c.core.$outer.addClass("lg-zoom-dragging"),l=i?-Math.abs(m.attr("data-y"))+(e.y-d.y)*c.getModifier(j,"Y",b):-Math.abs(m.attr("data-y")),k=h?-Math.abs(m.attr("data-x"))+(e.x-d.x)*c.getModifier(j,"X",b):-Math.abs(m.attr("data-x")),c.core.s.useLeftForZoom?m.css({left:k+"px",top:l+"px"}):m.css("transform","translate3d("+k+"px, "+l+"px, 0)")}}),a(window).on("mouseup.lg.zoom",function(a){f&&(f=!1,c.core.$outer.removeClass("lg-zoom-dragging"),!g||d.x===e.x&&d.y===e.y||(e=c.getDragCords(a,Math.abs(j)),c.touchendZoom(d,e,h,i,j)),g=!1),c.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")})},d.prototype.touchendZoom=function(a,b,c,d,e){var f=this,g=f.core.$slide.eq(f.core.index).find(".lg-img-wrap"),h=f.core.$slide.eq(f.core.index).find(".lg-object"),i=f.core.$slide.eq(f.core.index).find(".lg-img-rotate")[0],j=-Math.abs(g.attr("data-x"))+(b.x-a.x)*f.getModifier(e,"X",i),k=-Math.abs(g.attr("data-y"))+(b.y-a.y)*f.getModifier(e,"Y",i),l=f.getPossibleDragCords(h,Math.abs(e));(Math.abs(b.x-a.x)>15||Math.abs(b.y-a.y)>15)&&(d&&(k<=-l.maxY?k=-l.maxY:k>=-l.minY&&(k=-l.minY)),c&&(j<=-l.maxX?j=-l.maxX:j>=-l.minX&&(j=-l.minX)),d?g.attr("data-y",Math.abs(k)):k=-Math.abs(g.attr("data-y")),c?g.attr("data-x",Math.abs(j)):j=-Math.abs(g.attr("data-x")),f.core.s.useLeftForZoom?g.css({left:j+"px",top:k+"px"}):g.css("transform","translate3d("+j+"px, "+k+"px, 0)"))},d.prototype.destroy=function(){var b=this;b.core.$el.off(".lg.zoom"),a(window).off(".lg.zoom"),b.core.$slide.off(".lg.zoom"),b.core.$el.off(".lg.tm.zoom"),b.resetZoom(),clearTimeout(b.zoomabletimeout),b.zoomabletimeout=!1},a.fn.lightGallery.modules.zoom=d}()}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(0,function(a){!function(){"use strict";var b={hash:!0},c=function(c){return this.core=a(c).data("lightGallery"),this.core.s=a.extend({},b,this.core.s),this.core.s.hash&&(this.oldHash=window.location.hash,this.init()),this};c.prototype.init=function(){var b,c=this;c.core.$el.on("onAfterSlide.lg.tm",function(a,b,d){history.replaceState?history.replaceState(null,null,window.location.pathname+window.location.search+"#lg="+c.core.s.galleryId+"&slide="+d):window.location.hash="lg="+c.core.s.galleryId+"&slide="+d}),a(window).on("hashchange.lg.hash",function(){b=window.location.hash;var a=parseInt(b.split("&slide=")[1],10);b.indexOf("lg="+c.core.s.galleryId)>-1?c.core.slide(a,!1,!1):c.core.lGalleryOn&&c.core.destroy()})},c.prototype.destroy=function(){this.core.s.hash&&(this.oldHash&&this.oldHash.indexOf("lg="+this.core.s.galleryId)<0?history.replaceState?history.replaceState(null,null,this.oldHash):window.location.hash=this.oldHash:history.replaceState?history.replaceState(null,document.title,window.location.pathname+window.location.search):window.location.hash="",this.core.$el.off(".lg.hash"))},a.fn.lightGallery.modules.hash=c}()}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";var b={share:!0,facebook:!0,facebookDropdownText:"Facebook",twitter:!0,twitterDropdownText:"Twitter",googlePlus:!0,googlePlusDropdownText:"GooglePlus",pinterest:!0,pinterestDropdownText:"Pinterest"},c=function(c){return this.core=a(c).data("lightGallery"),this.core.s=a.extend({},b,this.core.s),this.core.s.share&&this.init(),this};c.prototype.init=function(){var b=this,c='<button type="button" aria-label="Share" id="lg-share" class="lg-icon" aria-haspopup="true" aria-expanded="false"><ul class="lg-dropdown" style="position: absolute;">';c+=b.core.s.facebook?'<li><a id="lg-share-facebook" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.facebookDropdownText+"</span></a></li>":"",c+=b.core.s.twitter?'<li><a id="lg-share-twitter" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">
1446'+this.core.s.twitterDropdownText+"</span></a></li>":"",c+=b.core.s.googlePlus?'<li><a id="lg-share-googleplus" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.googlePlusDropdownText+"</span></a></li>":"",c+=b.core.s.pinterest?'<li><a id="lg-share-pinterest" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.pinterestDropdownText+"</span></a></li>":"",c+="</ul></button>",this.core.$outer.find(".lg-toolbar").append(c),this.core.$outer.find(".lg").append('<div id="lg-dropdown-overlay"></div>'),a("#lg-share").on("click.lg",function(){b.core.$outer.toggleClass("lg-dropdown-active");var c=a("#lg-share").attr("aria-expanded");a("#lg-share").attr("aria-expanded","true"!==c)}),a("#lg-dropdown-overlay").on("click.lg",function(){b.core.$outer.removeClass("lg-dropdown-active"),a("#lg-share").attr("aria-expanded",!1)}),b.core.$el.on("onAfterSlide.lg.tm",function(c,d,e){setTimeout(function(){a("#lg-share-facebook").attr("href","https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(b.getSahreProps(e,"facebookShareUrl")||window.location.href)),a("#lg-share-twitter").attr("href","https://twitter.com/intent/tweet?text="+b.getSahreProps(e,"tweetText")+"&url="+encodeURIComponent(b.getSahreProps(e,"twitterShareUrl")||window.location.href)),a("#lg-share-googleplus").attr("href","https://plus.google.com/share?url="+encodeURIComponent(b.getSahreProps(e,"googleplusShareUrl")||window.location.href)),a("#lg-share-pinterest").attr("href","http://www.pinterest.com/pin/create/button/?url="+encodeURIComponent(b.getSahreProps(e,"pinterestShareUrl")||window.location.href)+"&media="+encodeURIComponent(b.getSahreProps(e,"src"))+"&description="+b.getSahreProps(e,"pinterestText"))},100)})},c.prototype.getSahreProps=function(a,b){var c="";if(this.core.s.dynamic)c=this.core.s.dynamicEl[a][b];else{var d=this.core.$items.eq(a).attr("href"),e=this.core.$items.eq(a).data(b);c="src"===b?d||e:e}return c},c.prototype.destroy=function(){},a.fn.lightGallery.modules.share=c}()}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";var b={rotate:!0,rotateLeft:!0,rotateRight:!0,flipHorizontal:!0,flipVertical:!0},c=function(c){return this.core=a(c).data("lightGallery"),this.core.s=a.extend({},b,this.core.s),this.core.s.rotate&&this.core.doCss()&&this.init(),this};c.prototype.buildTemplates=function(){var a="";this.core.s.flipVertical&&(a+='<button aria-label="Flip vertical" class="lg-flip-ver lg-icon"></button>'),this.core.s.flipHorizontal&&(a+='<button aria-label="flip horizontal" class="lg-flip-hor lg-icon"></button>'),this.core.s.rotateLeft&&(a+='<button aria-label="Rotate left" class="lg-rotate-left lg-icon"></button>'),this.core.s.rotateRight&&(a+='<button aria-label="Rotate right" class="lg-rotate-right lg-icon"></button>'),this.core.$outer.find(".lg-toolbar").append(a)},c.prototype.init=function(){var a=this;this.buildTemplates(),this.rotateValuesList={},this.core.$el.on("onAferAppendSlide.lg.tm.rotate",function(b,c){a.core.$slide.eq(c).find(".lg-img-wrap").wrap('<div class="lg-img-rotate"></div>')}),this.core.$outer.find(".lg-rotate-left").on("click.lg",this.rotateLeft.bind(this)),this.core.$outer.find(".lg-rotate-right").on("click.lg",this.rotateRight.bind(this)),this.core.$outer.find(".lg-flip-hor").on("click.lg",this.flipHorizontal.bind(this)),this.core.$outer.find(".lg-flip-ver").on("click.lg",this.flipVertical.bind(this)),this.core.$el.on("onBeforeSlide.lg.tm.rotate",function(b,c,d){a.rotateValuesList[d]||(a.rotateValuesList[d]={rotate:0,flipHorizontal:1,flipVertical:1})})},c.prototype.applyStyles=function(){this.core.$slide.eq(this.core.index).find(".lg-img-rotate").css("transform","rotate("+this.rotateValuesList[this.core.index].rotate+"deg) scale3d("+this.rotateValuesList[this.core.index].flipHorizontal+", "+this.rotateValuesList[this.core.index].flipVertical+", 1)")}
1446,c.prototype.getCurrentRotation=function(a){if(!a)return 0;var b=window.getComputedStyle(a,null),c=b.getPropertyValue("-webkit-transform")||b.getPropertyValue("-moz-transform")||b.getPropertyValue("-ms-transform")||b.getPropertyValue("-o-transform")||b.getPropertyValue("transform")||"none";if("none"!==c){var d=c.split("(")[1].split(")")[0].split(",");if(d){var e=Math.round(Math.atan2(d[1],d[0])*(180/Math.PI));return e<0?e+360:e}}return 0},c.prototype.rotateLeft=function(){this.rotateValuesList[this.core.index].rotate-=90,this.applyStyles()},c.prototype.rotateRight=function(){this.rotateValuesList[this.core.index].rotate+=90,this.applyStyles()},c.prototype.flipHorizontal=function(){var a=this.core.$slide.eq(this.core.index).find(".lg-img-rotate")[0],b=this.getCurrentRotation(a),c="flipHorizontal";90!==b&&270!==b||(c="flipVertical"),this.rotateValuesList[this.core.index][c]*=-1,this.applyStyles()},c.prototype.flipVertical=function(){var a=this.core.$slide.eq(this.core.index).find(".lg-img-rotate")[0],b=this.getCurrentRotation(a),c="flipVertical";90!==b&&270!==b||(c="flipHorizontal"),this.rotateValuesList[this.core.index][c]*=-1,this.applyStyles()},c.prototype.destroy=function(){this.core.$el.off(".lg.tm.rotate"),this.rotateValuesList={}},a.fn.lightGallery.modules.rotate=c}()});/*!
1447 * fullPage 2.8.8
1448 * https://github.com/alvarotrigo/fullPage.js
1449 * @license MIT licensed
1450 *
1451 * Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo
1452 */
1453(function(global,factory){'use strict';if(typeof define==='function'&&define.amd){define(['jquery'],function($){return factory($,global,global.document,global.Math)})}else if(typeof exports==="object"&&exports){module.exports=factory(require('jquery'),global,global.document,global.Math)}else{factory(jQuery,global,global.document,global.Math)}})(typeof window!=='undefined'?window:this,function($,window,document,Math,undefined){'use strict';var WRAPPER='fullpage-wrapper';var WRAPPER_SEL='.'+WRAPPER;var SCROLLABLE='fp-scrollable';var SCROLLABLE_SEL='.'+SCROLLABLE;var RESPONSIVE='fp-responsive';var NO_TRANSITION='fp-notransition';var DESTROYED='fp-destroyed';var ENABLED='fp-enabled';var VIEWING_PREFIX='fp-viewing';var ACTIVE='active';var ACTIVE_SEL='.'+ACTIVE;var COMPLETELY='fp-completely';var COMPLETELY_SEL='.'+COMPLETELY;var SECTION_DEFAULT_SEL='.section';var SECTION='fp-section';var SECTION_SEL='.'+SECTION;var SECTION_ACTIVE_SEL=SECTION_SEL+ACTIVE_SEL;var SECTION_FIRST_SEL=SECTION_SEL+':first';var SECTION_LAST_SEL=SECTION_SEL+':last';var TABLE_CELL='fp-tableCell';var TABLE_CELL_SEL='.'+TABLE_CELL;var AUTO_HEIGHT='fp-auto-height';var AUTO_HEIGHT_SEL='.fp-auto-height';var NORMAL_SCROLL='fp-normal-scroll';var NORMAL_SCROLL_SEL='.fp-normal-scroll';var SECTION_NAV='fp-nav';var SECTION_NAV_SEL='#'+SECTION_NAV;var SECTION_NAV_TOOLTIP='fp-tooltip';var SECTION_NAV_TOOLTIP_SEL='.'+SECTION_NAV_TOOLTIP;var SHOW_ACTIVE_TOOLTIP='fp-show-active';var SLIDE_DEFAULT_SEL='.slide-ap';var SLIDE='fp-slide';var SLIDE_SEL='.'+SLIDE;var SLIDE_ACTIVE_SEL=SLIDE_SEL+ACTIVE_SEL;var SLIDES_WRAPPER='fp-slides';var SLIDES_WRAPPER_SEL='.'+SLIDES_WRAPPER;var SLIDES_CONTAINER='fp-slidesContainer';var SLIDES_CONTAINER_SEL='.'+SLIDES_CONTAINER;var TABLE='fp-table';var SLIDES_NAV='fp-slidesNav';var SLIDES_NAV_SEL='.'+SLIDES_NAV;var SLIDES_NAV_LINK_SEL=SLIDES_NAV_SEL+' a';var SLIDES_ARROW='fp-controlArrow';var SLIDES_ARROW_SEL='.'+SLIDES_ARROW;var SLIDES_PREV='fp-prev';var SLIDES_PREV_SEL='.'+SLIDES_PREV;var SLIDES_ARROW_PREV=SLIDES_ARROW+' '+SLIDES_PREV;var SLIDES_ARROW_PREV_SEL=SLIDES_ARROW_SEL+SLIDES_PREV_SEL;var SLIDES_NEXT='fp-next';var SLIDES_NEXT_SEL='.'+SLIDES_NEXT;var SLIDES_ARROW_NEXT=SLIDES_ARROW+' '+SLIDES_NEXT;var SLIDES_ARROW_NEXT_SEL=SLIDES_ARROW_SEL+SLIDES_NEXT_SEL;var $window=$(window);var $document=$(document);var iscrollOptions={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,fadeScrollbars:!1,disableMouse:!0,interactiveScrollbars:!0};$.fn.fullpage=function(options){if($('html').hasClass(ENABLED)){displayWarnings();return}
1454var $htmlBody=$('html, body');var $body=$('body');var FP=$.fn.fullpage;options=$.extend({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:'right',navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:'bottom',scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1000,easing:'easeInOutCubic',easingcss3:'ease',loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowHandler:iscrollHandler,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:'#fff',verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,sectionSelector:SECTION_DEFAULT_SEL,slideSelector:SLIDE_DEFAULT_SEL,afterLoad:null,onLeave:null,afterRe
1454nder:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},options);var slideMoving=!1;var isTouchDevice=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/);var isTouch=(('ontouchstart' in window)||(navigator.msMaxTouchPoints>0)||(navigator.maxTouchPoints));var container=$(this);var windowsHeight=$window.height();var isResizing=!1;var isWindowFocused=!0;var lastScrolledDestiny;var lastScrolledSlide;var canScroll=!0;var scrollings=[];var controlPressed;var isScrollAllowed={};isScrollAllowed.m={'up':!0,'down':!0,'left':!0,'right':!0};isScrollAllowed.k=$.extend(!0,{},isScrollAllowed.m);var resizeId;var afterSectionLoadsId;var afterSlideLoadsId;var scrollId;var scrollId2;var keydownId;var originals=$.extend(!0,{},options);displayWarnings();iscrollOptions.click=isTouch;iscrollOptions=$.extend(iscrollOptions,options.scrollOverflowOptions);$.extend($.easing,{easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b}});function setAutoScrolling(value,type){setVariableState('autoScrolling',value,type);var element=$(SECTION_ACTIVE_SEL);if(options.autoScrolling&&!options.scrollBar){$htmlBody.css({'overflow':'hidden','height':'100%'});setRecordHistory(originals.recordHistory,'internal');container.css({'-ms-touch-action':'none','touch-action':'none'});if(element.length){silentScroll(element.position().top)}}else{$htmlBody.css({'overflow':'visible','height':'initial'});setRecordHistory(!1,'internal');container.css({'-ms-touch-action':'','touch-action':''});silentScroll(0);if(element.length){$htmlBody.scrollTop(element.position().top)}}}
1455function setRecordHistory(value,type){setVariableState('recordHistory',value,type)}
1456function setScrollingSpeed(value,type){setVariableState('scrollingSpeed',value,type)}
1457function setFitToSection(value,type){setVariableState('fitToSection',value,type)}
1458function setLockAnchors(value){options.lockAnchors=value}
1459function setMouseWheelScrolling(value){if(value){addMouseWheelHandler();addMiddleWheelHandler()}else{removeMouseWheelHandler();removeMiddleWheelHandler()}}
1460function setAllowScrolling(value,directions){if(typeof directions!=='undefined'){directions=directions.replace(/ /g,'').split(',');$.each(directions,function(index,direction){setIsScrollAllowed(value,direction,'m')})}else if(value){setMouseWheelScrolling(!0);addTouchHandler()}else{setMouseWheelScrolling(!1);removeTouchHandler()}}
1461function setKeyboardScrolling(value,directions){if(typeof directions!=='undefined'){directions=directions.replace(/ /g,'').split(',');$.each(directions,function(index,direction){setIsScrollAllowed(value,direction,'k')})}else{options.keyboardScrolling=value}}
1462function moveSectionUp(){var prev=$(SECTION_ACTIVE_SEL).prev(SECTION_SEL);if(!prev.length){if($(SECTION_ACTIVE_SEL).prev().children().hasClass('fp-section')){prev=$(SECTION_ACTIVE_SEL).prev().children()}else if($(SECTION_ACTIVE_SEL).parent().prev().hasClass('fp-section')){prev=$(SECTION_ACTIVE_SEL).parent().prev()}else if($(SECTION_ACTIVE_SEL).parent().prev().children().hasClass('fp-section')){prev=$(SECTION_ACTIVE_SEL).parent().prev().children()}}
1463if(!prev.length&&(options.loopTop||options.continuousVertical)){prev=$(SECTION_SEL).last()}
1464if(prev.length){scrollPage(prev,null,!0)}}
1465function moveSectionDown(){var next=$(SECTION_ACTIVE_SEL).next(SECTION_SEL);if(!next.length){if($(SECTION_ACTIVE_SEL).next().children().hasClass('fp-section')){next=$(SECTION_ACTIVE_SEL).next().children()}else if($(SECTION_ACTIVE_SEL).parent().next().hasClass('fp-section')){next=$(SECTION_ACTIVE_SEL).parent().next()}else if($(SECTION_ACTIVE_SEL).parent().next().children().hasClass('fp-section')){next=$(SECTION_ACTIVE_SEL).parent().next().children()}}
1466if(!next.length&&(options.loopBottom||options.continuousVertical)){next=$(SECTION_SEL).first()}
1467if(next.length){scrollPage(next,null,!1)}}
1468function silentMoveTo(sectionAnchor,slideAnchor){setScrollingSpeed(0,'internal');moveTo(sectionAnchor,slideAnchor);setScrollingSpeed(originals.scrollingSpeed,'internal')}
1469function moveTo(sectionAnchor,slideAnchor){var destiny=getSectionByAnchor(sectionAnchor);if(typeof slideAnchor!=='undefined'){scrollPageAndSlide(sectionAnchor,slideAnchor)}else if(destiny.length>0){scrollPage(destiny)}}
1470function moveSlideRight(section){moveSlide('right',section)}
1471function moveSlideLeft(section){moveSlide('left',section)}
1472function reBuild(resizing){if(container.hasClass(DESTROYED)){return}
1473isResizing=!0;windowsHeight=$window.height();$(SECTION_SEL).each(function(){var slidesWrap=$(this).find(SLIDES_WRAPPER_SEL);var slides=$(this).find(SLIDE_SEL);if(options.verticalCentered){$(this).find(TABLE_CELL_SEL).css('height',getTableHeight($(this))+'px')}
1474$(this).css('height',windowsHeight+'px');if(options.scrollOverflow){if(slides.length){slides.each(function(){createScrollBar($(this))})}else{createScrollBar($(this))}}
1475if(slides.length>
14751){landscapeScroll(slidesWrap,slidesWrap.find(SLIDE_ACTIVE_SEL))}});var activeSection=$(SECTION_ACTIVE_SEL);var sectionIndex=activeSection.index(SECTION_SEL);if(sectionIndex){silentMoveTo(sectionIndex+1)}
1476isResizing=!1;$.isFunction(options.afterResize)&&resizing&&options.afterResize.call(container);$.isFunction(options.afterReBuild)&&!resizing&&options.afterReBuild.call(container)}
1477function setResponsive(active){var isResponsive=$body.hasClass(RESPONSIVE);if(active){if(!isResponsive){setAutoScrolling(!1,'internal');setFitToSection(!1,'internal');$(SECTION_NAV_SEL).hide();$body.addClass(RESPONSIVE);$.isFunction(options.afterResponsive)&&options.afterResponsive.call(container,active)}}else if(isResponsive){setAutoScrolling(originals.autoScrolling,'internal');setFitToSection(originals.autoScrolling,'internal');$(SECTION_NAV_SEL).show();$body.removeClass(RESPONSIVE);$.isFunction(options.afterResponsive)&&options.afterResponsive.call(container,active)}}
1478function getFullpageData(){return{options:options,internals:{getXmovement:getXmovement,removeAnimation:removeAnimation,getTransforms:getTransforms,lazyLoad:lazyLoad,addAnimation:addAnimation,performHorizontalMove:performHorizontalMove,silentLandscapeScroll:silentLandscapeScroll,keepSlidesPosition:keepSlidesPosition,silentScroll:silentScroll,styleSlides:styleSlides}}}
1479if($(this).length){FP.setAutoScrolling=setAutoScrolling;FP.setRecordHistory=setRecordHistory;FP.setScrollingSpeed=setScrollingSpeed;FP.setFitToSection=setFitToSection;FP.setLockAnchors=setLockAnchors;FP.setMouseWheelScrolling=setMouseWheelScrolling;FP.setAllowScrolling=setAllowScrolling;FP.setKeyboardScrolling=setKeyboardScrolling;FP.moveSectionUp=moveSectionUp;FP.moveSectionDown=moveSectionDown;FP.silentMoveTo=silentMoveTo;FP.moveTo=moveTo;FP.moveSlideRight=moveSlideRight;FP.moveSlideLeft=moveSlideLeft;FP.reBuild=reBuild;FP.setResponsive=setResponsive;FP.getFullpageData=getFullpageData;FP.destroy=destroy;FP.pau=function(){FP.setAutoScrolling(!1,'internal');FP.setAllowScrolling(!1);FP.setKeyboardScrolling(!1);$window.off('scroll',scrollHandler).off('hashchange',hashChangeHandler).off('resize',resizeHandler)};FP.con=function(){if(!$body.hasClass(RESPONSIVE)){FP.setAutoScrolling(!0)}
1480FP.setAllowScrolling(!0);FP.setKeyboardScrolling(!0);$window.on('scroll',scrollHandler).on('hashchange',hashChangeHandler).on('resize',resizeHandler);$document.on('click touchstart',SECTION_NAV_SEL+' a',function(e){e.preventDefault();var index=$(this).parent().index();scrollPage($(SECTION_SEL).eq(index))})};init();bindEvents()}
1481function init(){if(options.css3){options.css3=support3d()}
1482options.scrollBar=options.scrollBar||options.hybrid;setOptionsFromDOM();prepareDom();setAllowScrolling(!0);setAutoScrolling(options.autoScrolling,'internal');var activeSlide=$(SECTION_ACTIVE_SEL).find(SLIDE_ACTIVE_SEL);if(activeSlide.length&&($(SECTION_ACTIVE_SEL).index(SECTION_SEL)!==0||($(SECTION_ACTIVE_SEL).index(SECTION_SEL)===0&&activeSlide.index()!==0))){silentLandscapeScroll(activeSlide)}
1483responsive();setBodyClass();
1483if(document.readyState==='complete'){scrollToAnchor()}
1484$window.on('load',scrollToAnchor)}
1485function bindEvents(){$window.on('scroll',scrollHandler).on('hashchange',hashChangeHandler).blur(blurHandler).resize(resizeHandler);$document.keydown(keydownHandler).keyup(keyUpHandler).on('click touchstart',SECTION_NAV_SEL+' a',sectionBulletHandler).on('click touchstart',SLIDES_NAV_LINK_SEL,slideBulletHandler).on('click',SECTION_NAV_TOOLTIP_SEL,tooltipTextHandler);$(SECTION_SEL).on('click touchstart',SLIDES_ARROW_SEL,slideArrowHandler);if(options.normalScrollElements){$document.on('mouseenter',options.normalScrollElements,function(){setMouseWheelScrolling(!1)});$document.on('mouseleave',options.normalScrollElements,function(){setMouseWheelScrolling(!0)})}}
1486function setOptionsFromDOM(){var sections=container.find(options.sectionSelector);if(!options.anchors.length){options.anchors=sections.filter('[data-anchor]').map(function(){return $(this).data('anchor').toString()}).get()}
1487if(!options.navigationTooltips.length){options.navigationTooltips=sections.filter('[data-tooltip]').map(function(){return $(this).data('tooltip').toString()}).get()}}
1488function prepareDom(){container.css({'height':'100%','position':'relative'});container.addClass(WRAPPER);$('html').addClass(ENABLED);windowsHeight=$window.height();container.removeClass(DESTROYED);addInternalSelectors();$(SECTION_SEL).each(function(index){var section=$(this);var slides=section.find(SLIDE_SEL);var numSlides=slides.length;styleSection(section,index);styleMenu(section,index);if(numSlides>0){styleSlides(section,slides,numSlides)}else{if(options.verticalCentered){addTableClass(section)}}});if(options.fixedElements&&options.css3){$(options.fixedElements).appendTo($body)}
1489if(options.navigation){addVerticalNavigation()}
1490enableYoutubeAPI();
1490if(options.scrollOverflow){if(document.readyState==='complete'){createScrollBarHandler()}
1491$window.on('load',createScrollBarHandler)}else{afterRenderActions()}}
1492function styleSlides(section,slides,numSlides){var sliderWidth=numSlides*100;var slideWidth=100/numSlides;slides.wrapAll('<div class="'+SLIDES_CONTAINER+'" />');slides.parent().wrap('<div class="'+SLIDES_WRAPPER+'" />');section.find(SLIDES_CONTAINER_SEL).css('width',sliderWidth+'%');if(numSlides>1){if(options.controlArrows){createSlideArrows(section)}
1493if(options.slidesNavigation){addSlidesNavigation(section,numSlides)}}
1494slides.each(function(index){$(this).css('width',slideWidth+'%');if(options.verticalCentered){addTableClass($(this))}});var startingSlide=section.find(SLIDE_ACTIVE_SEL);if(startingSlide.length&&($(SECTION_ACTIVE_SEL).index(SECTION_SEL)!==0||($(SECTION_ACTIVE_SEL).index(SECTION_SEL)===0&&startingSlide.index()!==0))){silentLandscapeScroll(startingSlide)}else{slides.eq(0).addClass(ACTIVE)}}
1495function styleSection(section,index){if(!index&&$(SECTION_ACTIVE_SEL).length===0){section.addClass(ACTIVE)}
1496section.css('height',windowsHeight+'px');if(options.paddingTop){section.css('padding-top',options.paddingTop)}
1497if(options.paddingBottom){section.css('padding-bottom',options.paddingBottom)}
1498if(typeof options.sectionsColor[index]!=='undefined'){section.css('background-color',options.sectionsColor[index])}
1499if(typeof options.anchors[index]!=='undefined'){section.attr('data-anchor',options.anchors[index])}}
1500function styleMenu(section,index){if(typeof options.anchors[index]!=='undefined'){if(section.hasClass(ACTIVE)){activateMenuAndNav(options.anchors[index],index)}}
1501if(options.menu&&options.css3&&$(options.menu).closest(WRAPPER_SEL).length){$(options.menu).appendTo($body)}}
1502function addInternalSelectors(){container.find(options.sectionSelector).addClass(SECTION);container.find(options.slideSelector).addClass(SLIDE)}
1503function createSlideArrows(section){section.find(SLIDES_WRAPPER_SEL).after('<div class="'+SLIDES_ARROW_PREV+'"></div><div class="'+SLIDES_ARROW_NEXT+'"></div>');if(options.controlArrowColor!='#fff'){section.find(SLIDES_ARROW_NEXT_SEL).css('border-color','transparent transparent transparent '+options.controlArrowColor);section.find(SLIDES_ARROW_PREV_SEL).css('border-color','transparent '+options.controlArrowColor+' transparent transparent')}
1504if(!options.loopHorizontal){section.find(SLIDES_ARROW_PREV_SEL).hide()}}
1505function addVerticalNavigation(){$body.append('<div id="'+SECTION_NAV+'"><ul></ul></div>');var nav=$(SECTION_NAV_SEL);nav.addClass(function(){return options.showActiveTooltip?SHOW_ACTIVE_TOOLTIP+' '+options.navigationPosition:options.navigationPosition});for(var i=0;i<$(SECTION_SEL).length;i++){var link='';if(options.anchors.length){link=options.anchors[i]}
1506var li='<li><a href="#'+link+'"><span></span></a>';var tooltip=options.navigationTooltips[i];if(typeof tooltip!=='undefined'&&tooltip!==''){li+='<div class="'+SECTION_NAV_TOOLTIP+' '+options.navigationPosition+'">'+tooltip+'</div>'}
1507li+='</li>';nav.find('ul').append(li)}
1508$(SECTION_NAV_SEL).css('margin-top','-'+($(SECTION_NAV_SEL).height()/2)+'px');$(SECTION_NAV_SEL).find('li').eq($(SECTION_ACTIVE_SEL).index(SECTION_SEL)).find('a').addClass(ACTIVE)}
1509function createScrollBarHandler(){$(SECTION_SEL).each(function(){var slides=$(this).find(SLIDE_SEL);if(slides.length){slides.each(function(){createScrollBar($(this))})}else{createScrollBar($(this))}});afterRenderActions()}
1510function enableYoutubeAPI(){container.find('iframe[src*="youtube.com/embed/"]').each(function(){addURLParam($(this),'enablejsapi=1')})}
1511function addURLParam(element,newParam){var originalSrc=element.attr('src');element.attr('src',originalSrc+getUrlParamSign(originalSrc)+newParam)}
1512function getUrlParamSign(url){return(!/\?/.test(url))?'?':'&'}
1513function afterRenderActions(){var section=$(SECTION_ACTIVE_SEL);section.addClass(COMPLETELY);if(options.scrollOverflowHandler.afterRender){options.scrollOverflowHandler.afterRender(section)}
1514lazyLoad(section);playMedia(section);$.isFunction(options.afterLoad)&&options.afterLoad.call(section,section.data('anchor'),(section.index(SECTION_SEL)+1));$.isFunction(options.afterRender)&&options.afterRender.call(container)}
1515var isScrolling=!1;var lastScroll=0;function scrollHandler(){var currentSection;if(!options.autoScrolling||options.scrollBar){var currentScroll=$window.scrollTop();var scrollDirection=getScrollDirection(currentScroll);var visibleSectionIndex=0;var screen_mid=currentScroll+($window.height()/2.0);var isAtBottom=$body.height()-$window.height()===currentScroll;var sections=document.querySelectorAll(SECTION_SEL);if(isAtBottom){visibleSectionIndex=sections.length-1}else if(!currentScroll){visibleSectionIndex=0}else{for(var i=0;i<sections.length;++i){var section=sections[i];if(section.offsetTop<=screen_mid){visibleSectionIndex=i}}}
1516if(isCompletelyInViewPort(scrollDirection)){if(!$(SECTION_ACTIVE_SEL).hasClass(COMPLETELY)){$(SECTION_ACTIVE_SEL).addClass(COMPLETELY).siblings().removeClass(COMPLETELY)}}
1517currentSection=$(sections).eq(visibleSectionIndex);if(!currentSection.hasClass(ACTIVE)){isScrolling=!0;var leavingSection=$(SECTION_ACTIVE_SEL);var leavingSectionIndex=leavingSection.index(SECTION_SEL)+1;var yMovement=getYmovement(currentSection);var anchorLink=currentSection.data('anchor');var sectionIndex=currentSection.index(SECTION_SEL)+1;var activeSlide=currentSection.find(SLIDE_ACTIVE_SEL);var slideIndex;var slideAnchorLink;if(activeSlide.length){slideAnchorLink=activeSlide.data('anchor');slideIndex=activeSlide.index()}
1518if(canScroll){currentSection.addClass(ACTIVE).siblings().removeClass(ACTIVE);$.isFunction(options.onLeave)&&options.onLeave.call(leavingSection,leavingSectionIndex,sectionIndex,yMovement);$.isFunction(options.afterLoad)&&options.afterLoad.call(currentSection,anchorLink,sectionIndex);stopMedia(leavingSection);lazyLoad(currentSection);playMedia(currentSection);activateMenuAndNav(anchorLink,sectionIndex-1);if(options.anchors.length){lastScrolledDestiny=anchorLink}
1519setState(slideIndex,slideAnchorLink,anchorLink,sectionIndex)}
1520clearTimeout(scrollId);scrollId=setTimeout(function(){isScrolling=!1},100)}
1521if(options.fitToSection){clearTimeout(scrollId2);scrollId2=setTimeout(function(){if(canScroll&&options.fitToSection){if($(SECTION_ACTIVE_SEL).is(currentSection)){isResizing=!0}
1522scrollPage($(SECTION_ACTIVE_SEL));isResizing=!1}},options.fitToSectionDelay)}}}
1523function isCompletelyInViewPort(movement){var top=$(SECTION_ACTIVE_SEL).position().top;var bottom=top+$window.height();if(movement=='up'){return bottom>=($window.scrollTop()+$window.height())}
1524return top<=$window.scrollTop()}
1525function getScrollDirection(currentScroll){var direction=currentScroll>lastScroll?'down':'up';lastScroll=currentScroll;previousDestTop=currentScroll;return direction}
1526function scrolling(type,scrollable){if(!isScrollAllowed.m[type]){return}
1527var check=(type==='down')?'bottom':'top';var scrollSection=(type==='down')?moveSectionDown:moveSectionUp;if(scrollable.length>0){if(options.scrollOverflowHandler.isScrolled(check,scrollable)){scrollSection()}else{return!0}}else{scrollSection()}}
1528function preventBouncing(event){var e=event.originalEvent;if(options.autoScrolling&&isReallyTouch(e)){event.preventDefault()}}
1529var touchStartY=0;var touchStartX=0;var touchEndY=0;var touchEndX=0;function touchMoveHandler(event){var e=event.originalEvent;var activeSection=$(e.target).closest(SECTION_SEL);if(!checkParentForNormalScrollElement(event.target)&&isReallyTouch(e)){if(options.autoScrolling){event.preventDefault()}
1530var scrollable=options.scrollOverflowHandler.scrollable(activeSection);if(canScroll&&!slideMoving){var touchEvents=getEventsPage(e);touchEndY=touchEvents.y;touchEndX=touchEvents.x;if(activeSection.find(SLIDES_WRAPPER_SEL).length&&Math.abs(touchStartX-touchEndX)>(Math.abs(touchStartY-touchEndY))){if(Math.abs(touchStartX-touchEndX)>($window.outerWidth()/100*options.touchSensitivity)){if(touchStartX>touchEndX){if(isScrollAllowed.m.right){moveSlideRight(activeSection)}}else{if(isScrollAllowed.m.left){moveSlideLeft(activeSection)}}}}else if(options.autoScrolling){if(Math.abs(touchStartY-touchEndY)>($window.height()/100*options.touchSensitivity)){if(touchStartY>touchEndY){scrolling('down',scrollable)}else if(touchEndY>touchStartY){scrolling('up',scrollable)}}}}}}
1531function checkParentForNormalScrollElement(el,hop){hop=hop||0;var parent=$(el).parent();if(hop<options.normalScrollElementTouchThreshold&&parent.is(options.normalScrollElements)){return!0}else if(hop==options.normalScrollElementTouchThreshold){return!1}else{return checkParentForNormalScrollElement(parent,++hop)}}
1532function isReallyTouch(e){return typeof e.pointerType==='undefined'||e.pointerType!='mouse'}
1533function touchStartHandler(event){var e=event.originalEvent;if(options.fitToSection){$htmlBody.stop()}
1534if(isReallyTouch(e)){var touchEvents=getEventsPage(e);touchStartY=touchEvents.y;touchStartX=touchEvents.x}}
1535function getAverage(elements,number){var sum=0;var lastElements=elements.slice(Math.max(elements.length-number,1));for(var i=0;i<lastElements.length;i++){sum=sum+lastElements[i]}
1536return Math.ceil(sum/number)}
1537var prevTime=new Date().getTime();function MouseWheelHandler(e){var curTime=new Date().getTime();var isNormalScroll=$(COMPLETELY_SEL).hasClass(NORMAL_SCROLL);if(options.autoScrolling&&!controlPressed&&!isNormalScroll){e=e||window.event;var value=e.wheelDelta||-e.deltaY||-e.detail;var delta=Math.max(-1,Math.min(1,value));var horizontalDetection=typeof e.wheelDeltaX!=='undefined'||typeof e.deltaX!=='undefined';var isScrollingVertically=(Math.abs(e.wheelDeltaX)<Math.abs(e.wheelDelta))||(Math.abs(e.deltaX)<Math.abs(e.deltaY)||!horizontalDetection);if(scrollings.length>149){scrollings.shift()}
1538scrollings.push(Math.abs(value));if(options.scrollBar){e.preventDefault?e.preventDefault():e.returnValue=!1}
1539var activeSection=$(SECTION_ACTIVE_SEL);var scrollable=options.scrollOverflowHandler.scrollable(activeSection);var timeDiff=curTime-prevTime;prevTime=curTime;if(timeDiff>200){scrollings=[]}
1540if(canScroll){var averageEnd=getAverage(scrollings,10);var averageMiddle=getAverage(scrollings,70);var isAccelerating=averageEnd>=averageMiddle;if(isAccelerating&&isScrollingVertically){if(delta<0){scrolling('down',scrollable)}else{scrolling('up',scrollable)}}}
1541return!1}
1542if(options.fitToSection){$htmlBody.stop()}}
1543function moveSlide(direction,section){var activeSection=typeof section==='undefined'?$(SECTION_ACTIVE_SEL):section;var slides=activeSection.find(SLIDES_WRAPPER_SEL);var numSlides=slides.find(SLIDE_SEL).length;if(!slides.length||slideMoving||numSlides<2){return}
1544var currentSlide=slides.find(SLIDE_ACTIVE_SEL);var destiny=null;if(direction==='left'){destiny=currentSlide.prev(SLIDE_SEL)}else{destiny=currentSlide.next(SLIDE_SEL)}
1545if(!destiny.length){if(!options.loopHorizontal)return;if(direction==='left'){destiny=currentSlide.siblings(':last')}else{destiny=currentSlide.siblings(':first')}}
1546slideMoving=!0;
1546landscapeScroll(slides,destiny,direction)}
1547function keepSlidesPosition(){$(SLIDE_ACTIVE_SEL).each(function(){silentLandscapeScroll($(this),'internal')})}
1548var previousDestTop=0;function getDestinationPosition(element){var elemPosition=element.position();var position=elemPosition.top;var isScrollingDown=elemPosition.top>previousDestTop;var sectionBottom=position-windowsHeight+element.outerHeight();var bigSectionsDestination=options.bigSectionsDestination;if(element.outerHeight()>windowsHeight){if(!isScrollingDown&&!bigSectionsDestination||bigSectionsDestination==='bottom'){position=sectionBottom}}else if(isScrollingDown||(isResizing&&element.is(':last-child'))){position=sectionBottom}
1549previousDestTop=position;return position}
1550function scrollPage(element,callback,isMovementUp){if(typeof element==='undefined'){return}
1551var dtop=getDestinationPosition(element);var slideAnchorLink;var slideIndex;var v={element:element,callback:callback,isMovementUp:isMovementUp,dtop:dtop,yMovement:getYmovement(element),anchorLink:element.data('anchor'),sectionIndex:element.index(SECTION_SEL),activeSlide:element.find(SLIDE_ACTIVE_SEL),activeSection:$(SECTION_ACTIVE_SEL),leavingSection:$(SECTION_ACTIVE_SEL).index(SECTION_SEL)+1,localIsResizing:isResizing};if((v.activeSection.is(element)&&!isResizing)||(options.scrollBar&&$window.scrollTop()===v.dtop&&!element.hasClass(AUTO_HEIGHT))){return}
1552if(v.activeSlide.length){slideAnchorLink=v.activeSlide.data('anchor');slideIndex=v.activeSlide.index()}
1553if(options.autoScrolling&&options.continuousVertical&&typeof(v.isMovementUp)!=="undefined"&&((!v.isMovementUp&&v.yMovement=='up')||(v.isMovementUp&&v.yMovement=='down'))){v=createInfiniteSections(v)}
1554if($.isFunction(options.onLeave)&&!v.localIsResizing){if(options.onLeave.call(v.activeSection,v.leavingSection,(v.sectionIndex+1),v.yMovement)===!1){return}}
1555stopMedia(v.activeSection);options.scrollOverflowHandler.beforeLeave();element.addClass(ACTIVE).siblings().removeClass(ACTIVE);lazyLoad(element);options.scrollOverflowHandler.onLeave();canScroll=!1;setState(slideIndex,slideAnchorLink,v.anchorLink,v.sectionIndex);performMovement(v);lastScrolledDestiny=v.anchorLink;activateMenuAndNav(v.anchorLink,v.sectionIndex);if(element.parent().hasClass('wrapper')){element.addClass(ACTIVE).siblings().removeClass(ACTIVE);element.siblings().find('.active').removeClass(ACTIVE);element.parent().siblings().removeClass(ACTIVE);element.parent().siblings().children('.fp-section').removeClass(ACTIVE)}}
1556function performMovement(v){if(options.css3&&options.autoScrolling&&!options.scrollBar){var translate3d='translate3d(0px, -'+Math.round(v.dtop)+'px, 0px)';transformContainer(translate3d,!0);if(options.scrollingSpeed){clearTimeout(afterSectionLoadsId);afterSectionLoadsId=setTimeout(function(){afterSectionLoads(v)},options.scrollingSpeed)}else{afterSectionLoads(v)}}else{var scrollSettings=getScrollSettings(v);$(scrollSettings.element).animate(scrollSettings.options,options.scrollingSpeed,options.easing).promise().done(function(){if(options.scrollBar){setTimeout(function(){afterSectionLoads(v)},30)}else{afterSectionLoads(v)}})}}
1557function getScrollSettings(v){var scroll={};if(options.autoScrolling&&!options.scrollBar){scroll.options={'top':-v.dtop};scroll.element=WRAPPER_SEL}else{scroll.options={'scrollTop':v.dtop};scroll.element='html, body'}
1558return scroll}
1559function createInfiniteSections(v){if(!v.isMovementUp){$(SECTION_ACTIVE_SEL).after(v.activeSection.prevAll(SECTION_SEL).get().reverse())}else{$(SECTION_ACTIVE_SEL).before(v.activeSection.nextAll(SECTION_SEL))}
1560silentScroll($(SECTION_ACTIVE_SEL).position().top);keepSlidesPosition();v.wrapAroundElements=v.activeSection;v.dtop=v.element.position().top;v.yMovement=getYmovement(v.element);return v}
1561function continuousVerticalFixSectionOrder(v){if(!v.wrapAroundElements||!v.wrapAroundElements.length){return}
1562if(v.isMovementUp){$(SECTION_FIRST_SEL).before(v.wrapAroundElements)}else{$(SECTION_LAST_SEL).after(v.wrapAroundElements)}
1563silentScroll($(SECTION_ACTIVE_SEL).position().top);keepSlidesPosition()}
1564function afterSectionLoads(v){continuousVerticalFixSectionOrder(v);$.isFunction(options.afterLoad)&&!v.localIsResizing&&options.afterLoad.call(v.element,v.anchorLink,(v.sectionIndex+1));options.scrollOverflowHandler.afterLoad();playMedia(v.element);v.element.addClass(COMPLETELY).siblings().removeClass(COMPLETELY);canScroll=!0;$.isFunction(v.callback)&&v.callback.call(this)}
1565function lazyLoad(destiny){if(!options.lazyLoading){return}
1566var panel=getSlideOrSection(destiny);var element;panel.find('img[data-src], source[data-src], audio[data-src], iframe[data-src]').each(function(){element=$(this);element.attr('src',element.data('src'));element.removeAttr('data-src');if(element.is('source')){element.closest('video').get(0).load()}})}
1567function playMedia(destiny){var panel=getSlideOrSection(destiny);panel.find('video, audio').each(function(){var element=$(this).get(0);if(element.hasAttribute('data-autoplay')&&typeof element.play==='function'){element.play()}});panel.find('iframe[src*="youtube.com/embed/"]').each(function(){var element=$(this).get(0);if(element.hasAttribute('data-autoplay')){playYoutube(element)}
1568element.onload=function(){if(element.hasAttribute('data-autoplay')){playYoutube(element)}}})}
1569function playYoutube(element){element.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}','*')}
1570function stopMedia(destiny){var panel=getSlideOrSection(destiny);panel.find('video, audio').each(function(){var element=$(this).get(0);if(!element.hasAttribute('data-keepplaying')&&typeof element.pause==='function'){element.pause()}});panel.find('iframe[src*="youtube.com/embed/"]').each(function(){var element=$(this).get(0);if(/youtube\.com\/embed\//.test($(this).attr('src'))&&!element.hasAttribute('data-keepplaying')){$(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}','*')}})}
1571function getSlideOrSection(destiny){var slide=destiny.find(SLIDE_ACTIVE_SEL);if(slide.length){destiny=$(slide)}
1572return destiny}
1573function scrollToAnchor(){var value=window.location.hash.replace('#','').split('/');var sectionAnchor=decodeURIComponent(value[0]);var slideAnchor=decodeURIComponent(value[1]);if(sectionAnchor){if(options.animateAnchor){scrollPageAndSlide(sectionAnchor,slideAnchor)}else{silentMoveTo(sectionAnchor,slideAnchor)}}}
1574function hashChangeHandler(){if(!isScrolling&&!options.lockAnchors){var value=window.location.hash.replace('#','').split('/');var sectionAnchor=decodeURIComponent(value[0]);var slideAnchor=decodeURIComponent(value[1]);var isFirstSlideMove=(typeof lastScrolledDestiny==='undefined');var isFirstScrollMove=(typeof lastScrolledDestiny==='undefined'&&typeof slideAnchor==='undefined'&&!slideMoving);if(sectionAnchor.length){if((sectionAnchor&&sectionAnchor!==lastScrolledDestiny)&&!isFirstSlideMove||isFirstScrollMove||(!slideMoving&&lastScrolledSlide!=slideAnchor)){scrollPageAndSlide(sectionAnchor,slideAnchor)}}}}
1575function keydownHandler(e){clearTimeout(keydownId);var activeElement=$(':focus');if(!activeElement.is('textarea')&&!activeElement.is('input')&&!activeElement.is('select')&&activeElement.attr('contentEditable')!=="true"&&activeElement.attr('contentEditable')!==''&&options.keyboardScrolling&&options.autoScrolling){var keyCode=e.which;
1575var keyControls=[40,38,32,33,34];if($.inArray(keyCode,keyControls)>-1){e.preventDefault()}
1576controlPressed=e.ctrlKey;keydownId=setTimeout(function(){onkeydown(e)},150)}}
1577function tooltipTextHandler(){$(this).prev().trigger('click')}
1578function keyUpHandler(e){if(isWindowFocused){controlPressed=e.ctrlKey}}
1579function mouseDownHandler(e){if(e.which==2){oldPageY=e.pageY;container.on('mousemove',mouseMoveHandler)}}
1580function mouseUpHandler(e){if(e.which==2){container.off('mousemove')}}
1581function slideArrowHandler(){var section=$(this).closest(SECTION_SEL);if($(this).hasClass(SLIDES_PREV)){if(isScrollAllowed.m.left){moveSlideLeft(section)}}else{if(isScrollAllowed.m.right){moveSlideRight(section)}}}
1582function blurHandler(){isWindowFocused=!1;controlPressed=!1}
1583function sectionBulletHandler(e){e.preventDefault();var index=$(this).parent().index();scrollPage($(SECTION_SEL).eq(index))}
1584function slideBulletHandler(e){e.preventDefault();var slides=$(this).closest(SECTION_SEL).find(SLIDES_WRAPPER_SEL);var destiny=slides.find(SLIDE_SEL).eq($(this).closest('li').index());landscapeScroll(slides,destiny)}
1585function onkeydown(e){var shiftPressed=e.shiftKey;switch(e.which){case 38:case 33:if(isScrollAllowed.k.up){moveSectionUp()}
1586break;case 32:if(shiftPressed&&isScrollAllowed.k.up){moveSectionUp();break}
1587case 40:case 34:if(isScrollAllowed.k.down){moveSectionDown()}
1588break;case 36:if(isScrollAllowed.k.up){moveTo(1)}
1589break;case 35:if(isScrollAllowed.k.down){moveTo($(SECTION_SEL).length)}
1590break;case 37:if(isScrollAllowed.k.left){moveSlideLeft()}
1591break;case 39:if(isScrollAllowed.k.right){moveSlideRight()}
1592break;default:return}}
1593var oldPageY=0;function mouseMoveHandler(e){if(canScroll){if(e.pageY<oldPageY&&isScrollAllowed.m.up){moveSectionUp()}else if(e.pageY>oldPageY&&isScrollAllowed.m.down){moveSectionDown()}}
1594oldPageY=e.pageY}
1595function landscapeScroll(slides,destiny,direction){var section=slides.closest(SECTION_SEL);var v={slides:slides,destiny:destiny,direction:direction,destinyPos:destiny.position(),slideIndex:destiny.index(),section:section,sectionIndex:section.index(SECTION_SEL),anchorLink:section.data('anchor'),slidesNav:section.find(SLIDES_NAV_SEL),slideAnchor:getAnchor(destiny),prevSlide:section.find(SLIDE_ACTIVE_SEL),prevSlideIndex:section.find(SLIDE_ACTIVE_SEL).index(),localIsResizing:isResizing};v.xMovement=getXmovement(v.prevSlideIndex,v.slideIndex);if(!v.localIsResizing){canScroll=!1}
1596if(options.onSlideLeave){if(!v.localIsResizing&&v.xMovement!=='none'){if($.isFunction(options.onSlideLeave)){if(options.onSlideLeave.call(v.prevSlide,v.anchorLink,(v.sectionIndex+1),v.prevSlideIndex,v.xMovement,v.slideIndex)===!1){slideMoving=!1;return}}}}
1597destiny.addClass(ACTIVE).siblings().removeClass(ACTIVE);if(!v.localIsResizing){stopMedia(v.prevSlide);lazyLoad(destiny)}
1598if(!options.loopHorizontal&&options.controlArrows){section.find(SLIDES_ARROW_PREV_SEL).toggle(v.slideIndex!==0);section.find(SLIDES_ARROW_NEXT_SEL).toggle(!destiny.is(':last-child'))}
1599if(section.hasClass(ACTIVE)){setState(v.slideIndex,v.slideAnchor,v.anchorLink,v.sectionIndex)}
1600performHorizontalMove(slides,v,!0)}
1601function afterSlideLoads(v){activeSlidesNavigation(v.slidesNav,v.slideIndex);if(!v.localIsResizing){$.isFunction(options.afterSlideLoad)&&options.afterSlideLoad.call(v.destiny,v.anchorLink,(v.sectionIndex+1),v.slideAnchor,v.slideIndex);canScroll=!0}
1602playMedia(v.destiny);slideMoving=!1}
1603function performHorizontalMove(slides,v,fireCallback){var destinyPos=v.destinyPos;if(options.css3){var translate3d='translate3d(-'+Math.round(destinyPos.left)+'px, 0px, 0px)';addAnimation(slides.find(SLIDES_CONTAINER_SEL)).css(getTransforms(translate3d));afterSlideLoadsId=setTimeout(function(){fireCallback&&afterSlideLoads(v)},options.scrollingSpeed,options.easing)}else{slides.animate({scrollLeft:Math.round(destinyPos.left)},options.scrollingSpeed,options.easing,function(){fireCallback&&afterSlideLoads(v)})}}
1604function activeSlidesNavigation(slidesNav,slideIndex){slidesNav.find(ACTIVE_SEL).removeClass(ACTIVE);slidesNav.find('li').eq(slideIndex).find('a').addClass(ACTIVE)}
1605var previousHeight=windowsHeight;function resizeHandler(){responsive();if(isTouchDevice){var activeElement=$(document.activeElement);if(!activeElement.is('textarea')&&!activeElement.is('input')&&!activeElement.is('select')){var currentHeight=$window.height();if(Math.abs(currentHeight-previousHeight)>(20*Math.max(previousHeight,currentHeight)/100)){reBuild(!0);previousHeight=currentHeight}}}else{clearTimeout(resizeId);resizeId=setTimeout(function(){reBuild(!0)},350)}}
1606function responsive(){var widthLimit=options.responsive||options.responsiveWidth;var heightLimit=options.responsiveHeight;var isBreakingPointWidth=widthLimit&&$window.outerWidth()<widthLimit;var isBreakingPointHeight=heightLimit&&$window.height()<heightLimit;if(widthLimit&&heightLimit){setResponsive(isBreakingPointWidth||isBreakingPointHeight)}else if(widthLimit){setResponsive(isBreakingPointWidth)}else if(heightLimit){setResponsive(isBreakingPointHeight)}}
1607function addAnimation(element){var transition='all '+options.scrollingSpeed+'ms '+options.easingcss3;element.removeClass(NO_TRANSITION);return element.css({'-webkit-transition':transition,'transition':transition})}
1608function removeAnimation(element){return element.addClass(NO_TRANSITION)}
1609function activateNavDots(name,sectionIndex){if(options.navigation){$(SECTION_NAV_SEL).find(ACTIVE_SEL).removeClass(ACTIVE);if(name){$(SECTION_NAV_SEL).find('a[href="#'+name+'"]').addClass(ACTIVE)}else{$(SECTION_NAV_SEL).find('li').eq(sectionIndex).find('a').addClass(ACTIVE)}}}
1610function activateMenuElement(name){if(options.menu){$(options.menu).find(ACTIVE_SEL).removeClass(ACTIVE);$(options.menu).find('[data-menuanchor="'+name+'"]').addClass(ACTIVE)}}
1611function activateMenuAndNav(anchor,index){activateMenuElement(anchor);activateNavDots(anchor,index)}
1612function getYmovement(destiny){var fromIndex=$(SECTION_ACTIVE_SEL).index(SECTION_SEL);var toIndex=destiny.index(SECTION_SEL);if(fromIndex==toIndex){return'none'}
1613if(fromIndex>toIndex){return'up'}
1614return'down'}
1615function getXmovement(fromIndex,toIndex){if(fromIndex==toIndex){return'none'}
1616if(fromIndex>toIndex){return'left'}
1617return'right'}
1618function createScrollBar(element){if(element.hasClass('fp-noscroll'))return;element.css('overflow','hidden');var scrollOverflowHandler=options.scrollOverflowHandler;var wrap=scrollOverflowHandler.wrapContent();var section=element.closest(SECTION_SEL);var scrollable=scrollOverflowHandler.scrollable(element);var contentHeight;if(scrollable.length){contentHeight=scrollOverflowHandler.scrollHeight(element)}else{contentHeight=element.get(0).scrollHeight;if(options.verticalCentered){contentHeight=element.find(TABLE_CELL_SEL).get(0).scrollHeight}}
1619var scrollHeight=windowsHeight-parseInt(section.css('padding-bottom'))-parseInt(section.css('padding-top'));if(contentHeight>scrollHeight){if(scrollable.length){scrollOverflowHandler.update(element,scrollHeight)}else{if(options.verticalCentered){element.find(TABLE_CELL_SEL).wrapInner(wrap)}else{element.wrapInner(wrap)}
1620scrollOverflowHandler.create(element,scrollHeight)}}else{scrollOverflowHandler.remove(element)}
1621element.css('overflow','')}
1622function addTableClass(element){if(!element.hasClass(TABLE)){element.addClass(TABLE).wrapInner('<div class="'+TABLE_CELL+'" style="height:'+getTableHeight(element)+'px;" />')}}
1623function getTableHeight(element){var sectionHeight=windowsHeight;if(options.paddingTop||options.paddingBottom){var section=element;if(!section.hasClass(SECTION)){section=element.closest(SECTION_SEL)}
1624var paddings=parseInt(section.css('padding-top'))+parseInt(section.css('padding-bottom'));sectionHeight=(windowsHeight-paddings)}
1625return sectionHeight}
1626function transformContainer(translate3d,animated){if(animated){addAnimation(container)}else{removeAnimation(container)}
1627container.css(getTransforms(translate3d));setTimeout(function(){container.removeClass(NO_TRANSITION)},10)}
1628function getSectionByAnchor(sectionAnchor){var section=container.find(SECTION_SEL+'[data-anchor="'+sectionAnchor+'"]');
1628if(!section.length){section=$(SECTION_SEL).eq((sectionAnchor-1))}
1629return section}
1630function getSlideByAnchor(slideAnchor,section){var slides=section.find(SLIDES_WRAPPER_SEL);var slide=slides.find(SLIDE_SEL+'[data-anchor="'+slideAnchor+'"]');if(!slide.length){slide=slides.find(SLIDE_SEL).eq(slideAnchor)}
1631return slide}
1632function scrollPageAndSlide(destiny,slide){var section=getSectionByAnchor(destiny);if(!section.length)return;if(typeof slide==='undefined'){slide=0}
1633if(destiny!==lastScrolledDestiny&&!section.hasClass(ACTIVE)){scrollPage(section,function(){scrollSlider(section,slide)})}else{scrollSlider(section,slide)}}
1634function scrollSlider(section,slideAnchor){if(typeof slideAnchor!=='undefined'){var slides=section.find(SLIDES_WRAPPER_SEL);var destiny=getSlideByAnchor(slideAnchor,section);if(destiny.length){landscapeScroll(slides,destiny)}}}
1635function addSlidesNavigation(section,numSlides){section.append('<div class="'+SLIDES_NAV+'"><ul></ul></div>');var nav=section.find(SLIDES_NAV_SEL);nav.addClass(options.slidesNavPosition);for(var i=0;i<numSlides;i++){nav.find('ul').append('<li><a href="#"><span></span></a></li>')}
1636nav.css('margin-left','-'+(nav.width()/2)+'px');nav.find('li').first().find('a').addClass(ACTIVE)}
1637function setState(slideIndex,slideAnchor,anchorLink,sectionIndex){var sectionHash='';if(options.anchors.length&&!options.lockAnchors){if(slideIndex){if(typeof anchorLink!=='undefined'){sectionHash=anchorLink}
1638if(typeof slideAnchor==='undefined'){slideAnchor=slideIndex}
1639lastScrolledSlide=slideAnchor;setUrlHash(sectionHash+'/'+slideAnchor)}else if(typeof slideIndex!=='undefined'){lastScrolledSlide=slideAnchor;setUrlHash(anchorLink)}else{setUrlHash(anchorLink)}}
1640setBodyClass()}
1641function setUrlHash(url){if(options.recordHistory){location.hash=url}else{if(isTouchDevice||isTouch){window.history.replaceState(undefined,undefined,'#'+url)}else{var baseUrl=window.location.href.split('#')[0];window.location.replace(baseUrl+'#'+url)}}}
1642function getAnchor(element){var anchor=element.data('anchor');var index=element.index();if(typeof anchor==='undefined'){anchor=index}
1643return anchor}
1644function setBodyClass(){var section=$(SECTION_ACTIVE_SEL);var slide=section.find(SLIDE_ACTIVE_SEL);var sectionAnchor=getAnchor(section);var slideAnchor=getAnchor(slide);var text=String(sectionAnchor);if(slide.length){text=text+'-'+slideAnchor}
1645text=text.replace('/','-').replace('#','');var classRe=new RegExp('\\b\\s?'+VIEWING_PREFIX+'-[^\\s]+\\b',"g");$body[0].className=$body[0].className.replace(classRe,'');$body.addClass(VIEWING_PREFIX+'-'+text)}
1646function support3d(){var el=document.createElement('p'),has3d,transforms={'webkitTransform':'-webkit-transform','OTransform':'-o-transform','msTransform':'-ms-transform','MozTransform':'-moz-transform','transform':'transform'};document.body.insertBefore(el,null);for(var t in transforms){if(el.style[t]!==undefined){el.style[t]='translate3d(1px,1px,1px)';has3d=window.getComputedStyle(el).getPropertyValue(transforms[t])}}
1647document.body.removeChild(el);return(has3d!==undefined&&has3d.length>0&&has3d!=='none')}
1648function removeMouseWheelHandler(){if(document.addEventListener){document.removeEventListener('mousewheel',MouseWheelHandler,!1);document.removeEventListener('wheel',MouseWheelHandler,!1);document.removeEventListener('MozMousePixelScroll',MouseWheelHandler,!1)}else{document.detachEvent('onmousewheel',MouseWheelHandler)}}
1649function addMouseWheelHandler(){var prefix='';var _addEventListener;if(window.addEventListener){_addEventListener="addEventListener"}else{_addEventListener="attachEvent";prefix='on'}
1650var support='onwheel' in document.createElement('div')?'wheel':document.onmousewheel!==undefined?'mousewheel':'DOMMouseScroll';if(support=='DOMMouseScroll'){document[_addEventListener](prefix+'MozMousePixelScroll',MouseWheelHandler,!1)}else{document[_addEventListener](prefix+support,MouseWheelHandler,!1)}}
1651function addMiddleWheelHandler(){container.on('mousedown',mouseDownHandler).on('mouseup',mouseUpHandler)}
1652function removeMiddleWheelHandler(){container.off('mousedown',mouseDownHandler).off('mouseup',mouseUpHandler)}
1653function addTouchHandler(){if(options.autoScrolling&&(isTouchDevice||isTouch)){var MSPointer=getMSPointer();$body.off('touchmove '+MSPointer.move).on('touchmove '+MSPointer.move,preventBouncing);$(WRAPPER_SEL).off('touchstart '+MSPointer.down).on('touchstart '+MSPointer.down,touchStartHandler).off('touchmove '+MSPointer.move).on('touchmove '+MSPointer.move,touchMoveHandler)}}
1654function removeTouchHandler(){if(isTouchDevice||isTouch){var MSPointer=getMSPointer();$(WRAPPER_SEL).off('touchstart '+MSPointer.down).off('touchmove '+MSPointer.move)}}
1655function getMSPointer(){var pointer;if(window.PointerEvent){pointer={down:'pointerdown',move:'pointermove'}}else{pointer={down:'MSPointerDown',move:'MSPointerMove'}}
1656return pointer}
1657function getEventsPage(e){var events=[];events.y=(typeof e.pageY!=='undefined'&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY);events.x=(typeof e.pageX!=='undefined'&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX);if(isTouch&&isReallyTouch(e)&&options.scrollBar){events.y=e.touches[0].pageY;events.x=e.touches[0].pageX}
1658return events}
1659function silentLandscapeScroll(activeSlide,noCallbacks){setScrollingSpeed(0,'internal');if(typeof noCallbacks!=='undefined'){isResizing=!0}
1660landscapeScroll(activeSlide.closest(SLIDES_WRAPPER_SEL),activeSlide);if(typeof noCallbacks!=='undefined'){isResizing=!1}
1661setScrollingSpeed(originals.scrollingSpeed,'internal')}
1662function silentScroll(top){var roundedTop=Math.round(top);if(options.scrollBar){container.scrollTop(roundedTop)}else if(options.css3){var translate3d='translate3d(0px, -'+roundedTop+'px, 0px)';transformContainer(translate3d,!1)}else{container.css('top',-roundedTop)}}
1663function getTransforms(translate3d){return{'-webkit-transform':translate3d,'-moz-transform':translate3d,'-ms-transform':translate3d,'transform':translate3d}}
1664function setIsScrollAllowed(value,direction,type){switch(direction){case 'up':isScrollAllowed[type].up=value;break;case 'down':isScrollAllowed[type].down=value;break;case 'left':isScrollAllowed[type].left=value;break;case 'right':isScrollAllowed[type].right=value;break;case 'all':if(type=='m'){setAllowScrolling(value)}else{setKeyboardScrolling(value)}}}
1665function destroy(all){setAutoScrolling(!1,'internal');setAllowScrolling(!1);setKeyboardScrolling(!1);container.addClass(DESTROYED);clearTimeout(afterSlideLoadsId);clearTimeout(afterSectionLoadsId);clearTimeout(resizeId);clearTimeout(scrollId);clearTimeout(scrollId2);$window.off('scroll',scrollHandler).off('hashchange',hashChangeHandler).off('resize',resizeHandler);$document.off('click touchstart',SECTION_NAV_SEL+' a').off('mouseenter',SECTION_NAV_SEL+' li').off('mouseleave',SECTION_NAV_SEL+' li').off('click touchstart',SLIDES_NAV_LINK_SEL).off('mouseover',options.normalScrollElements).off('mouseout',options.normalScrollElements);$(SECTION_SEL).off('click touchstart',SLIDES_ARROW_SEL);clearTimeout(afterSlideLoadsId);clearTimeout(afterSectionLoadsId);if(all){destroyStructure()}}
1666function destroyStructure(){silentScroll(0);container.find('img[data-src], source[data-src], audio[data-src], iframe[data-src]').each(function(){$(this).attr('src',$(this).data('src'));$(this).removeAttr('data-src')});$(SECTION_NAV_SEL+', '+SLIDES_NAV_SEL+', '+SLIDES_ARROW_SEL).remove();$(SECTION_SEL).css({'height':'','background-color':'','padding':''});$(SLIDE_SEL).css({'width':''});container.css({'height':'','position':'','-ms-touch-action':'','touch-action':''});$htmlBody.css({'overflow':'','height':''});$('html').removeClass(ENABLED);$body.removeClass(RESPONSIVE);$.each($body.get(0).className.split(/\s+/),function(index,className){if(className.indexOf(VIEWING_PREFIX)===0){$body.removeClass(className)}});$(SECTION_SEL+', '+SLIDE_SEL).each(function(){options.scrollOverflowHandler.remove($(this));$(this).removeClass(TABLE+' '+ACTIVE)});removeAnimation(container);container.find(TABLE_CELL_SEL+', '+SLIDES_CONTAINER_SEL+', '+SLIDES_WRAPPER_SEL).each(function(){$(this).replaceWith(this.childNodes)});$htmlBody.scrollTop(0);var usedSelectors=[SECTION,SLIDE,SLIDES_CONTAINER];$.each(usedSelectors,function(index,value){$('.'+value).removeClass(value)})}
1667function setVariableState(variable,value,type){options[variable]=value;if(type!=='internal'){originals[variable]=value}}
1668function displayWarnings(){var extensions=['fadingEffect','continuousHorizontal','scrollHorizontally','interlockedSlides','resetSliders','responsiveSlides'];if($('html').hasClass(ENABLED)){showError('error','Fullpage.js can only be initialized once and you are doing it multiple times!');return}
1669if(options.continuousVertical&&(options.loopTop||options.loopBottom)){options.continuousVertical=!1;showError('warn','Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled')}
1670if(options.scrollBar&&options.scrollOverflow){showError('warn','Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox')}
1671if(options.continuousVertical&&options.scrollBar){options.continuousVertical=!1;showError('warn','Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled')}
1672extensions.forEach(function(extension){if(options[extension]){showError('warn','fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: '+extension)}});$.each(options.anchors,function(index,name){var nameAttr=$document.find('[name]').filter(function(){return $(this).attr('name')&&$(this).attr('name').toLowerCase()==name.toLowerCase()});var idAttr=$document.find('[id]').filter(function(){return $(this).attr('id')&&$(this).attr('id').toLowerCase()==name.toLowerCase()});if(idAttr.length||nameAttr.length){showError('error','data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).');idAttr.length&&showError('error','"'+name+'" is is being used by another element `id` property');nameAttr.length&&showError('error','"'+name+'" is is being used by another element `name` property')}})}
1673function showError(type,text){console&&console[type]&&console[type]('fullPage: '+text)}};if(typeof IScroll!=='undefined'){IScroll.prototype.wheelOn=function(){this.wrapper.addEventListener('wheel',this);this.wrapper.addEventListener('mousewheel',this);this.wrapper.addEventListener('DOMMouseScroll',this)};IScroll.prototype.wheelOff=function(){this.wrapper.removeEventListener('wheel',this);this.wrapper.removeEventListener('mousewheel',this);this.wrapper.removeEventListener('DOMMouseScroll',this)}}
1674var iscrollHandler={refreshId:null,iScrollInstances:[],onLeave:function(){var scroller=$(SECTION_ACTIVE_SEL).find(SCROLLABLE_SEL).data('iscrollInstance');if(typeof scroller!=='undefined'&&scroller){scroller.wheelOff()}},beforeLeave:function(){iscrollHandler.onLeave()},afterLoad:function(){var scroller=$(SECTION_ACTIVE_SEL).find(SCROLLABLE_SEL).data('iscrollInstance');if(typeof scroller!=='undefined'&&scroller){scroller.wheelOn()}},create:function(element,scrollHeight){var scrollable=element.find(SCROLLABLE_SEL);scrollable.height(scrollHeight);scrollable.each(function(){var $this=jQuery(this);var iScrollInstance=$this.data('iscrollInstance');if(iScrollInstance){$.each(iscrollHandler.iScrollInstances,function(){$(this).destroy()})}
1675iScrollInstance=new IScroll($this.get(0),iscrollOptions);iscrollHandler.iScrollInstances.push(iScrollInstance);iScrollInstance.wheelOff();$this.data('iscrollInstance',iScrollInstance)})},isScrolled:function(type,scrollable){var scroller=scrollable.data('iscrollInstance');if(!scroller){return!0}
1676if(type==='top'){return scroller.y>=0&&!scrollable.scrollTop()}else if(type==='bottom'){return(0-scroller.y)+scrollable.scrollTop()+1+scrollable.innerHe
1676ight()>=scrollable[0].scrollHeight}},scrollable:function(activeSection){if(activeSection.find(SLIDES_WRAPPER_SEL).length){return activeSection.find(SLIDE_ACTIVE_SEL).find(SCROLLABLE_SEL)}
1677return activeSection.find(SCROLLABLE_SEL)},scrollHeight:function(element){return element.find(SCROLLABLE_SEL).children().first().get(0).scrollHeight},remove:function(element){var scrollable=element.find(SCROLLABLE_SEL);if(scrollable.length){var iScrollInstance=scrollable.data('iscrollInstance');iScrollInstance.destroy();scrollable.data('iscrollInstance',null)}
1678element.find(SCROLLABLE_SEL).children().first().children().first().unwrap().unwrap()},update:function(element,scrollHeight){clearTimeout(iscrollHandler.refreshId);iscrollHandler.refreshId=setTimeout(function(){$.each(iscrollHandler.iScrollInstances,function(){$(this).get(0).refresh()})},150);element.find(SCROLLABLE_SEL).css('height',scrollHeight+'px').parent().css('height',scrollHeight+'px')},wrapContent:function(){return'<div class="'+SCROLLABLE+'"><div class="fp-scroller"></div></div>'}}});/**
1679* Magic Toolbox
1680*
1681* NOTICE OF LICENSE
1682*
1683* This file is licenced under the Software License Agreement.
1684* With the purchase or the installation of the software in your application
1685* you accept the licence agreement.
1686*
1687* You must not modify, adapt or create derivative works of this source code
1688*
1689*  @author    Magic Toolbox <[email protected]>
1690*  @copyright Copyright (c) Magic Toolbox <[email protected]>. All rights reserved
1691*  @license   https://www.magictoolbox.com/license/
1692*/
1693eval(function(m,a,g,i,c,k){c=function(e){return(e<a?'':c(parseInt(e/a)))+((e=e%a)>35?String.fromCharCode(e+29):e.toString(36))};if(!''.replace(/^/,String)){while(g--){k[c(g)]=i[g]||c(g)}i=[function(e){return k[e]}];c=function(){return'\\w+'};g=1};while(g--){if(i[g]){m=m.replace(new RegExp('\\b'+c(g)+'\\b','g'),i[g])}}return m}('1a 7a=(17(){1a s,u;s=u=(17(){1a N={4z:"hZ.3-b5-7-fj",cE:0,7B:{},$a9:17(R){18(R.$5X||(R.$5X=++H.cE))},9v:17(R){18(H.7B[R]||(H.7B[R]={}))},$F:17(){},$1e:17(){18 1e},$1k:17(){18 1k},dp:"ed-"+1j.3A(1j.7g()*1p aQ().d2()),2Z:17(R){18(2C!=R)},aN:17(S,R){18(2C!=S)?S:R},4O:17(R){18!!(R)},1F:17(R){if(!H.2Z(R)){18 1e}if(R.$4D){18 R.$4D}if(!!R.6i){if(1==R.6i){18"7E"}if(3==R.6i){18"cP"}}if(R.1v&&R.d4){18"fM"}if(R.1v&&R.9J){18"2n"}if((R 3D 1f.dF||R 3D 1f.bk)&&R.4V===H.3B){18"6o"}if(R 3D 1f.4Z){18"3R"}if(R 3D 1f.bk){18"17"}if(R 3D 1f.9W){18"1N"}if(H.1c.3J){if(H.2Z(R.dg)){18"1s"}}1q{if(R===1f.1s||R.4V==1f.1m||R.4V==1f.fN||R.4V==1f.fZ||R.4V==1f.g6||R.4V==1f.fH){18"1s"}}if(R 3D 1f.aQ){18"66"}if(R 3D 1f.9P){18"fI"}if(R===1f){18"1f"}if(R===1i){18"1i"}18 97(R)},1Y:17(W,V){if(!(W 3D 1f.4Z)){W=[W]}if(!V){18 W[0]}1L(1a U=0,S=W.1v;U<S;U++){if(!H.2Z(W)){7V}1L(1a T in V){if(!dF.1D.4a.1X(V,T)){7V}2R{W[U][T]=V[T]}3d(R){}}}18 W[0]},9r:17(V,U){if(!(V 3D 1f.4Z)){V=[V]}1L(1a T=0,R=V.1v;T<R;T++){if(!H.2Z(V[T])){7V}if(!V[T].1D){7V}1L(1a S in(U||{})){if(!V[T].1D[S]){V[T].1D[S]=U[S]}}}18 V[0]},cV:17(T,S){if(!H.2Z(T)){18 T}1L(1a R in(S||{})){if(!T[R]){T[R]=S[R]}}18 T},$2R:17(){1L(1a S=0,R=2n.1v;S<R;S++){2R{18 2n[S]()}3d(T){}}18 1h},$A:17(T){if(!H.2Z(T)){18 H.$([])}if(T.cY){18 H.$(T.cY())}if(T.d4){1a S=T.1v||0,R=1p 4Z(S);4B(S--){R[S]=T[S]}18 H.$(R)}18 H.$(4Z.1D.9S.1X(T))},4E:17(){18 1p aQ().d2()},5j:17(V){1a T;5H(H.1F(V)){1x"cN":T={};1L(1a U in V){T[U]=H.5j(V[U])}1J;1x"3R":T=[];1L(1a S=0,R=V.1v;S<R;S++){T[S]=H.5j(V[S])}1J;1w:18 V}18 H.$(T)},$:17(T){1a R=1k;if(!H.2Z(T)){18 1h}if(T.$9Q){18 T}5H(H.1F(T)){1x"3R":T=H.cV(T,H.1Y(H.4Z,{$9Q:H.$F}));T.3q=T.e8;18 T;1J;1x"1N":1a S=1i.bZ(T);if(H.2Z(S)){18 H.$(S)}18 1h;1J;1x"1f":1x"1i":H.$a9(T);T=H.1Y(T,H.3p);1J;1x"7E":H.$a9(T);T=H.1Y(T,H.3Q);1J;1x"1s":T=H.1Y(T,H.1m);1J;1x"cP":1x"17":1x"3R":1x"66":1w:R=1e;1J}if(R){18 H.1Y(T,{$9Q:H.$F})}1q{18 T}},$1p:17(R,T,S){18 H.$(H.7Z.7C(R)).8o(T||{}).1H(S||{})},3Z:17(U,V,S){1a R,X,T,Z=[],Y=-1;S||(S=H.dp);R=H.$(S)||H.$1p("2E",{id:S,1n:"4k/8F"}).2u((1i.h6||1i.3y),"1z");X=R.cb||R.ca;if("1N"!=H.1F(V)){1L(1a T in V){Z.2T(T+":"+V[T])}V=Z.4P(";")}if(X.cD){Y=X.cD(U+" {"+V+"}",X.h9.1v)}1q{2R{Y=X.gp(U,V,X.gH.1v)}3d(W){}}18 Y},de:17(U,R){1a T,S;T=H.$(U);
1693if("7E"!==H.1F(T)){18}S=T.cb||T.ca;if(S.eI){S.eI(R)}1q{if(S.eC){S.eC(R)}}},gT:17(){18"g9-fq-fP-fb-fm".2y(/[fr]/g,17(T){1a S=1j.7g()*16|0,R=T=="x"?S:(S&3|8);18 R.7Q(16)}).7W()},fp:(17(){1a R;18 17(S){if(!R){R=1i.7C("a")}R.7o("8K",S);18("!!"+R.8K).2y("!!","")}})(),fK:17(T){1a U=0,R=T.1v;1L(1a S=0;S<R;++S){U=31*U+T.dQ(S);U%=fA}18 U}};1a H=N;1a I=N.$;if(!1f.en){1f.en=N;1f.$ed=N.$}H.4Z={$4D:"3R",4p:17(U,V){1a R=13.1v;1L(1a S=13.1v,T=(V<0)?1j.21(0,S+V):V||0;T<S;T++){if(13[T]===U){18 T}}18-1},3i:17(R,S){18 13.4p(R,S)!=-1},e8:17(R,U){1L(1a T=0,S=13.1v;T<S;T++){if(T in 13){R.1X(U,13[T],T,13)}}},2K:17(R,W){1a V=[];1L(1a U=0,S=13.1v;U<S;U++){if(U in 13){1a T=13[U];if(R.1X(W,13[U],U,13)){V.2T(T)}}}18 V},ht:17(R,V){1a U=[];1L(1a T=0,S=13.1v;T<S;T++){if(T in 13){U[T]=R.1X(V,13[T],T,13)}}18 U}};H.9r(9W,{$4D:"1N",41:17(){18 13.2y(/^\\s+|\\s+$/g,"")},eq:17(R,S){18(S||1e)?(13.7Q()===R.7Q()):(13.4U().7Q()===R.4U().7Q())},5J:17(){18 13.2y(/-\\D/g,17(R){18 R.9K(1).7W()})},aE:17(){18 13.2y(/[A-Z]/g,17(R){18("-"+R.9K(0).4U())})},9N:17(R){18 3v(13,R||10)},hM:17(){18 2j(13)},ck:17(){18!13.2y(/1k/i,"").41()},9x:17(S,R){R=R||"";18(R+13+R).4p(R+S+R)>-1}});N.9r(bk,{$4D:"17",1u:17(){1a S=H.$A(2n),R=13,T=S.6g();18 17(){18 R.6F(T||1h,S.9X(H.$A(2n)))}},3Y:17(){1a S=H.$A(2n),R=13,T=S.6g();18 17(U){18 R.6F(T||1h,H.$([U||(H.1c.2e?1f.1s:1h)]).9X(S))}},2q:17(){1a S=H.$A(2n),R=13,T=S.6g();18 1f.4C(17(){18 R.6F(R,S)},T||0)},cM:17(){1a S=H.$A(2n),R=13;18 17(){18 R.2q.6F(R,S)}},dD:17(){1a S=H.$A(2n),R=13,T=S.6g();18 1f.hB(17(){18 R.6F(R,S)},T||0)}});1a O={};1a G=33.a6.4U();1a F=G.3w(/(3b|8H|3J|9o)\\/(\\d+\\.?\\d*)/i);1a K=G.3w(/(hx|av)\\/(\\d+\\.?\\d*)/i)||G.3w(/(ee|8B|ej|cC|7S|av)\\/(\\d+\\.?\\d*)/i);1a M=G.3w(/4z\\/(\\d+\\.?\\d*)/i);1a B=1i.5k.2E;17 C(S){1a R=S.9K(0).7W()+S.9S(1);18 S in B||("eo"+R)in B||("em"+R)in B||("64"+R)in B||("O"+R)in B}H.1c={2U:{gY:!!(1i.gN),gF:!!(1f.ei),gV:!!(1i.gR),4L:!!(1i.gB||1i.gk||1i.6B||1i.eM||1i.h4||1i.hS||1i.hw||1i.hr||1i.g8),au:!!(1f.eZ)&&!!(1f.fO)&&(1f.9I&&"g0"in 1p 9I),35:C("35"),59:C("59"),cT:C("cT"),d3:C("d3"),4X:1e,aS:1e,aw:1e,3h:1e,8D:(17(){18 1i.eX.f2("eV://fW.fJ.fw/g5/g2/g1#fV","1.1")}())},2I:(17(){18"fU"in 1f||(1f.d8&&1i 3D d8)||(33.f0>0)||(33.eU>0)}()),4t:!!G.3w(/(8E|bb\\d+|fh).+|fd|fc\\/|f9|f3|eT|eW|gb|h5|hu|ip(eL|e1|ad)|hs|hq|ha |hU|hA|gm|4t.+cC|gC|7S m(gX|in)i|gQ( gE)?|dJ|p(gL|gU)\\/|hJ|hb|hc|hX(4|6)0|he|f5|fg\\.(1c|f1)|fR|fT|eu (ce|dJ)|g4|fL/),6Y:(F&&F[1])?F[1].4U():(1f.7S)?"9o":!!(1f.fv)?"3J":(1i.fB!==2C||1f.fC!==1h)?"8H":(1f.fD!==1h||!33.fE)?"3b":"fF",4z:(F&&F[2])?2j(F[2]):0,7r:(K&&K[1])?K[1].4U():"",8z:(K&&K[2])?2j(K[2]):0,e3:"",as:"",5e:"",2e:0,69:G.3w(/ip(?:ad|e1|eL)/)?"8p":(G.3w(/(?:fz|8E)/)||33.69.3w(/ev|9b|ft/i)||["f4"])[0].4U(),7R:1i.8N&&1i.8N.4U()==="ep",aX:0,4Y:17(){18(1i.8N&&1i.8N.4U()==="ep")?1i.3y:1i.5k},4X:1f.4X||1f.fG||1f.fo||1f.fy||1f.fu||2C,9p:1f.9p||1f.dW||1f.dW||1f.fs||1f.g7||1f.g3||2C,5c:1e,4q:17(){if(H.1c.5c){18}1a U;1a T;H.1c.5c=1k;H.3y=H.$(1i.3y);H.9b=H.$(1f);2R{1a S=H.$1p("2c").1H({1d:1P,1g:1P,5v:"92",2N:"4g",1z:-cu}).2u(1i.3y);H.1c.aX=S.bM-S.91;S.2F()}3d(R){}2R{U=H.$1p("2c");T=U.2E;T.dP="6A:37(aG://),37(aG://),fX 37(aG://)";H.1c.2U.aS=(/(37\\s*\\(.*?){3}/).2P(T.6A);T=1h;U=1h}3d(R){}if(!H.1c.dR){H.1c.dR=H.ao("59").aE()}2R{U=H.$1p("2c");U.2E.dP=H.ao("2K").aE()+":f6(f7);";H.1c.2U.aw=!!U.2E.1v&&(!H.1c.2e||H.1c.2e>9);U=1h}3d(R){}if(!H.1c.2U.aw){H.$(1i.5k).2k("9t-ff-3g")}2R{H.1c.2U.3h=(17(){1a V=H.$1p("3h");18!!(V.7N&&V.7N("2d"))}())}3d(R){}if(1f.f8===2C&&1f.eS!==2C){O.fY="hp"}H.3p.2S.1X(H.$(1i),"8b")}};(17(){1a S=[],V,U,W;17 R(){18!!(2n.9J.af)}5H(H.1c.6Y){1x"3J":if(!H.1c.4z){H.1c.4z=!!(1f.9I)?3:2}1J;1x"8H":H.1c.4z=(K&&K[2])?2j(K[2]):0;1J}H.1c[H.1c.6Y]=1k;if(K&&K[1]==="ee"){H.1c.7r="8B"}if(!!1f.8B){H.1c.8B=1k}if(K&&K[1]==="av"){H.1c.7r="7S";H.1c.7S=1k}if(H.1c.7r==="ej"&&(M&&M[1])){H.1c.8z=2j(M[1])}if(H.1c.69==="8E"&&H.1c.3b&&(M&&M[1])){H.1c.dM=1k}V=({8H:["-7O-","em","7O"],3b:["-3b-","eo","3b"],3J:["-64-","64","64"],9o:["-o-","O","o"]})[H.1c.6Y]||["","",""];H.1c.e3=V[0];H.1c.as=V[1];H.1c.5e=V[2];H.1c.2e=!H.1c.3J?2C:(1i.dK)?1i.dK:(17(){1a X=0;if(H.1c.7R){18 5}5H(H.1c.4z){1x 2:X=6;1J;1x 3:X=7;1J}18 X}());S.2T(H.1c.69+"-3g");
1693if(H.1c.4t){S.2T("4t-3g")}if(H.1c.dM){S.2T("8E-1c-3g")}if(H.1c.2e){H.1c.7r="ie";H.1c.8z=H.1c.2e;S.2T("ie"+H.1c.2e+"-3g");1L(U=11;U>H.1c.2e;U--){S.2T("hQ-ie"+U+"-3g")}}if(H.1c.3b&&H.1c.4z<hO){H.1c.2U.4L=1e}if(H.1c.4X){H.1c.4X.1X(1f,17(){H.1c.2U.4X=1k})}if(H.1c.2U.8D){S.2T("8D-3g")}1q{S.2T("9t-8D-3g")}W=(1i.5k.5Y||"").3w(/\\S+/g)||[];1i.5k.5Y=H.$(W).9X(S).4P(" ");2R{1i.5k.7o("7u-3g-er",H.1c.7r);1i.5k.7o("7u-3g-er-hz",H.1c.8z)}3d(T){}if(H.1c.2e&&H.1c.2e<9){1i.7C("h3");1i.7C("gz")}if(!1f.33.7h){H.$(["gx","gw","gv","gu","gt"]).3q(17(X){O["gr"+X.4U()]=1f.33.76?"go"+X:-1})}}());(17(){H.1c.4L={9G:H.1c.2U.4L,aT:17(){18!!(1i.gn||1i[H.1c.5e+"gl"]||1i.4L||1i.gj||1i[H.1c.5e+"gh"])},b9:17(R,S){if(!S){S={}}if(13.9G){H.$(1i).1t(13.9O,13.e4=17(T){if(13.aT()){if(S.aU){S.aU()}}1q{H.$(1i).1O(13.9O,13.e4);if(S.bo){S.bo()}}}.3Y(13));H.$(1i).1t(13.a0,13.5h=17(T){if(S.7A){S.7A()}H.$(1i).1O(13.a0,13.5h)}.3Y(13));(R.gf||R[H.1c.5e+"ge"]||R[H.1c.5e+"gd"]||17(){}).1X(R)}1q{if(S.7A){S.7A()}}},ew:(1i.6B||1i.eM||1i[H.1c.5e+"h2"]||1i[H.1c.5e+"h1"]||17(){}).1u(1i),9O:1i.eF?"h0":(1i.6B?"":H.1c.5e)+"gZ",a0:1i.eF?"gW":(1i.6B?"":H.1c.5e)+"gS",gI:H.1c.5e,gG:1h}}());1a Q=/\\S+/g,E=/^(3s(du|cd|cf|cg)hk)|((5s|6E)(du|cd|cf|cg))$/,J={"gJ":("2C"===97(B.ch))?"gK":"ch"},L={dU:1k,gM:1k,3F:1k,9d:1k,4n:1k},D=(1f.cj)?17(T,R){1a S=1f.cj(T,1h);18 S?S.gO(R)||S[R]:1h}:17(U,S){1a T=U.gP,R=1h;R=T?T[S]:1h;if(1h==R&&U.2E&&U.2E[S]){R=U.2E[S]}18 R};17 P(T){1a R,S;S=(H.1c.3b&&"2K"==T)?1e:(T in B);if(!S){R=H.1c.as+T.9K(0).7W()+T.9S(1);if(R in B){18 R}}18 T}H.ao=P;H.3Q={7t:17(R){18!(R||"").9x(" ")&&(13.5Y||"").9x(R," ")},2k:17(V){1a S=(13.5Y||"").3w(Q)||[],U=(V||"").3w(Q)||[],R=U.1v,T=0;1L(;T<R;T++){if(!H.$(S).3i(U[T])){S.2T(U[T])}}13.5Y=S.4P(" ");18 13},7p:17(W){1a S=(13.5Y||"").3w(Q)||[],V=(W||"").3w(Q)||[],R=V.1v,U=0,T;1L(;U<R;U++){if((T=H.$(S).4p(V[U]))>-1){S.9f(T,1)}}13.5Y=W?S.4P(" "):"";18 13},gg:17(R){18 13.7t(R)?13.7p(R):13.2k(R)},2D:17(S){1a T=S.5J(),R=1h;S=J[T]||(J[T]=P(T));R=D(13,S);if("2i"===R){R=1h}if(1h!==R){if("3F"==S){18 H.2Z(R)?2j(R):1}if(E.2P(S)){R=3v(R,10)?R:"eG"}}18 R},8Z:17(S,R){1a U=S.5J();2R{if("3F"==S){13.6s(R);18 13}S=J[U]||(J[U]=P(U));13.2E[S]=R+(("2J"==H.1F(R)&&!L[U])?"5N":"")}3d(T){}18 13},1H:17(S){1L(1a R in S){13.8Z(R,S[R])}18 13},gi:17(){1a R={};H.$A(2n).3q(17(S){R[S]=13.2D(S)},13);18 R},6s:17(T,R){1a S;R=R||1e;13.2E.3F=T;T=3v(2j(T)*1P);if(R){if(0===T){if("3o"!=13.2E.3l){13.2E.3l="3o"}}1q{if("6k"!=13.2E.3l){13.2E.3l="6k"}}}if(H.1c.2e&&H.1c.2e<9){if(!6w(T)){if(!~13.2E.2K.4p("an")){13.2E.2K+=" bz:bv.bu.an(9m="+T+")"}1q{13.2E.2K=13.2E.2K.2y(/9m=\\d*/i,"9m="+T)}}1q{13.2E.2K=13.2E.2K.2y(/bz:bv.bu.an\\(9m=\\d*\\)/i,"").41();if(""===13.2E.2K){13.2E.gc("2K")}}}18 13},8o:17(R){1L(1a S in R){if("6o"===S){13.2k(""+R[S])}1q{13.7o(S,""+R[S])}}18 13},gq:17(){1a S=0,R=0;S=13.2D("35-43");R=13.2D("35-gs");S=S.4p("64")>-1?2j(S):S.4p("s")>-1?2j(S)*8r:0;R=R.4p("64")>-1?2j(R):R.4p("s")>-1?2j(R)*8r:0;18 S+R},5f:17(){18 13.1H({2O:"2p",3l:"3o"})},5n:17(){18 13.1H({2O:"",3l:"6k"})},29:17(){18{1d:13.bM,1g:13.gy}},gA:17(S){1a R=13.29();R.1d-=(2j(13.2D("3s-1M-1d")||0)+2j(13.2D("3s-3I-1d")||0));R.1g-=(2j(13.2D("3s-1z-1d")||0)+2j(13.2D("3s-49-1d")||0));if(!S){R.1d-=(2j(13.2D("5s-1M")||0)+2j(13.2D("5s-3I")||0));R.1g-=(2j(13.2D("5s-1z")||0)+2j(13.2D("5s-49")||0))}18 R},75:17(){18{1z:13.9z,1M:13.9y}},gD:17(){1a R=13,S={1z:0,1M:0};do{S.1M+=R.9y||0;S.1z+=R.9z||0;R=R.5o}4B(R);18 S},b6:17(){1a V=13,S=0,U=0;if(H.2Z(1i.5k.bS)){1a R=13.bS(),T=H.$(1i).75(),W=H.1c.4Y();18{1z:R.1z+T.y-W.hC,1M:R.1M+T.x-W.hD}}do{S+=V.hE||0;U+=V.hF||0;V=V.hG}4B(V&&!(/^(?:3y|hH)$/i).2P(V.9a));18{1z:U,1M:S}},6V:17(){1a S=13.b6();1a R=13.29();18{1z:S.1z,49:S.1z+R.1g,1M:S.1M,3I:S.1M+R.1d}},dT:17(S){2R{13.hI=S}3d(R){13.hy=S}18 13},2F:17(){18(13.5o)?13.5o.7e(13):13},6t:17(){H.$A(13.hK).3q(17(R){if(3==R.6i||8==R.6i){18}H.$(R).6t()});13.2F();13.bx();if(13.$5X){H.7B[13.$5X]=1h;4G H.7B[13.$5X]}18 1h},3z:17(T,S){S=S||"49";1a R=13.2w;("1z"==S&&R)?13.hN(T,R):13.ey(T);18 13},2u:17(T,S){1a R=H.$(T).3z(13,S);18 13},eK:17(R){13.3z(R.5o.96(13,R));18 13},bg:17(R){if("7E"!==H.1F("1N"==H.1F(R)?R=1i.bZ(R):R)){18 1e}18(13==R)?1e:(13.3i&&!(H.1c.c4))?(13.3i(R)):(13.c0)?!!(13.c0(R)&16):H.$A(13.9c(R.9a)).3i(R)}};H.3Q.hP=H.3Q.2D;H.3Q.hR=H.3Q.1H;if(!1f.3Q){1f.3Q=H.$F;if(H.1c.6Y.3b){1f.1i.7C("hT")}1f.3Q.1D=(H.1c.6Y.3b)?1f["[[hV.1D]]"]:{}}H.9r(1f.3Q,{$4D:"7E"});H.3p={29:17(){if(H.1c.2I||H.1c.hW||H.1c.c4){18{1d:1f.dG,1g:1f.hL}}18{1d:H.1c.4Y().91,1g:H.1c.4Y().bB}},75:17(){18{x:1f.hj||H.1c.4Y().9y,y:1f.hv||H.1c.4Y().9z}},cG:17(){1a R=13.29();18{1d:1j.21(H.1c.4Y().h7,R.1d),1g:1j.21(H.1c.4Y().h8,R.1g)}}};H.1Y(1i,{$4D:"1i"});H.1Y(1f,{$4D:"1f"});H.1Y([H.3Q,H.3p],{2f:17(U,S){1a R=H.9v(13.$5X),T=R[U];if(2C!==S&&2C===T){T=R[U]=S}18(H.2Z(T)?T:1h)},2Y:17(T,S){1a R=H.9v(13.$5X);R[T]=S;18 13},2V:17(S){1a R=H.9v(13.$5X);4G R[S];18 13}});if(!(1f.a1&&1f.a1.1D&&1f.a1.1D.a4)){H.1Y([H.3Q,H.3p],{a4:17(R){18 H.$A(13.dc("*")).2K(17(T){2R{18(1==T.6i&&T.5Y.9x(R," "))}3d(S){}})}})}H.1Y([H.3Q,H.3p],{dz:17(){18 13.a4(2n[0])},9c:17(){18 13.dc(2n[0])}});if(H.1c.4L.9G&&!1i.dd){H.3Q.dd=17(){H.1c.4L.b9(13)}}H.1m={$4D:"1s",6l:H.$1e,1V:17(){18 13.5d().3N()},5d:17(){if(13.df){13.df()}1q{13.dg=1k}18 13},3N:17(){if(13.di){13.di()}1q{13.hd=1e}18 13},6X:17(){13.6l=H.$1k;18 13},dn:17(){1a R=(/2v/i).2P(13.1n)?13.2G[0]:13;18!H.2Z(R)?{x:0,y:0}:{x:R.2t,y:R.2r}},2z:17(){1a R=(/2v/i).2P(13.1n)?13.2G[0]:13;18!H.2Z(R)?{x:0,y:0}:{x:R.5C||R.2t+H.1c.4Y().9y,y:R.5D||R.2r+H.1c.4Y().9z}},9E:17(){1a R=13.4f||13.hf;4B(R&&R.6i===3){R=R.5o}18 R},78:17(){1a S=1h;5H(13.1n){1x"72":1x"eQ":1x"eP":S=13.9A||13.hg;1J;1x"6T":1x"eR":1x"eB":S=13.9A||13.hh;1J;1w:18 S}2R{4B(S&&S.6i===3){S=S.5o}}3d(R){S=1h}18 S},5a:17(){if(!13.dl&&13.3u!==2C){18(13.3u&1?1:(13.3u&2?3:(13.3u&4?2:0)))}18 13.dl}
1693,7I:17(){18(13.1S&&(13.1S==="2v"||13.1S===13.4s))||(/2v/i).2P(13.1n)},6U:17(){if(13.1S){18(13.1S==="2v"||13.4s===13.1S)&&13.7y}1q{if(13 3D 1f.7x){18 13.2G.1v===1&&(13.9B.1v?13.9B[0].4H===13.2G[0].4H:1k)}}18 1e},5S:17(){if(13.1S){18 13.7y&&(13.1S==="2v"||13.4s===13.1S)?13:1h}1q{if(13 3D 1f.7x){18 13.2G[0]}}18 1h},8i:17(){if(13.1S){18 13.7y&&(13.1S==="2v"||13.4s===13.1S)?13.8M:1h}1q{if(13 3D 1f.7x){18 13.2G[0].4H}}18 1h}};H.ai="dm";H.ag="hi";H.9D="";if(!1i.dm){H.ai="hl";H.ag="hm";H.9D="6N"}H.1m.1o={1n:"",x:1h,y:1h,2B:1h,3u:1h,4f:1h,9A:1h,$4D:"1s.hn",6l:H.$1e,63:H.$([]),4h:17(R){1a S=R;13.63.2T(S)},1V:17(){18 13.5d().3N()},5d:17(){13.63.3q(17(S){2R{S.5d()}3d(R){}});18 13},3N:17(){13.63.3q(17(S){2R{S.3N()}3d(R){}});18 13},6X:17(){13.6l=H.$1k;18 13},dn:17(){18{x:13.2t,y:13.2r}},2z:17(){18{x:13.x,y:13.y}},9E:17(){18 13.4f},78:17(){18 13.9A},5a:17(){18 13.3u},ho:17(){18 13.63.1v>0?13.63[0].9E():2C},7I:17(){18(13.1S&&(13.1S==="2v"||13.1S===13.4s))||(/2v/i).2P(13.1n)},6U:17(){if(13.1S){18(13.1S==="2v"||13.4s===13.1S)&&13.7y}1q{if(13 3D 1f.7x){18 13.2G.1v===1&&(13.9B.1v?13.9B[0].4H===13.2G[0].4H:1k)}}18 1e},5S:17(){if(13.1S){18 13.7y&&(13.1S==="2v"||13.4s===13.1S)?13:1h}1q{if(13 3D 1f.7x){18 13.2G[0]}}18 1h},8i:17(){if(13.1S){18 13.7y&&(13.1S==="2v"||13.4s===13.1S)?13.8M:1h}1q{if(13 3D 1f.7x){18 13.2G[0].4H}}18 1h}};H.1Y([H.3Q,H.3p],{1t:17(T,V,W,Z){1a Y,R,U,X,S;if(H.1F(T)==="1N"){S=T.4w(" ");if(S.1v>1){T=S}}if(H.1F(T)==="3R"){H.$(T).3q(13.1t.3Y(13,V,W,Z));18 13}T=O[T]||T;if(!T||!V||H.1F(T)!=="1N"||H.1F(V)!=="17"){18 13}if(T==="8b"&&H.1c.5c){V.1X(13);18 13}W=3v(W||50,10);if(!V.$8J){V.$8J=1j.3A(1j.7g()*H.4E())}Y=H.3p.2f.1X(13,"8c",{});R=Y[T];if(!R){Y[T]=R=H.$([]);U=13;if(H.1m.1o[T]){H.1m.1o[T].1A.5A.1X(13,Z)}1q{R.30=17(aa){aa=H.1Y(aa||1f.e,{$4D:"1s"});H.3p.2S.1X(U,T,H.$(aa))};13[H.ai](H.9D+T,R.30,1e)}}X={1n:T,fn:V,9Z:W,dt:V.$8J};R.2T(X);R.ex(17(ab,aa){18 ab.9Z-aa.9Z});18 13},1O:17(X){1a V=H.3p.2f.1X(13,"8c",{});1a T;1a R;1a S;1a Y;1a W;1a U;W=2n.1v>1?2n[1]:-1P;if(H.1F(X)==="1N"){U=X.4w(" ");if(U.1v>1){X=U}}if(H.1F(X)==="3R"){H.$(X).3q(13.1O.3Y(13,W));18 13}X=O[X]||X;if(!X||H.1F(X)!=="1N"||!V||!V[X]){18 13}T=V[X]||[];1L(S=0;S<T.1v;S++){R=T[S];if(W===-1P||!!W&&W.$8J===R.dt){Y=T.9f(S--,1)}}if(T.1v===0){if(H.1m.1o[X]){H.1m.1o[X].1A.2F.1X(13)}1q{13[H.ag](H.9D+X,T.30,1e)}4G V[X]}18 13},2S:17(U,W){1a T=H.3p.2f.1X(13,"8c",{});1a S;1a R;U=O[U]||U;if(!U||H.1F(U)!=="1N"||!T||!T[U]){18 13}2R{W=H.1Y(W||{},{1n:U})}3d(V){}if(W.2B===2C){W.2B=H.4E()}S=T[U]||[];1L(R=0;R<S.1v&&!(W.6l&&W.6l());R++){S[R].fn.1X(13,W)}},fi:17(S,R){1a V=(S!=="8b");1a U=13;1a T;S=O[S]||S;if(!V){H.3p.2S.1X(13,S);18 13}if(U===1i&&1i.9n&&!U.dq){U=1i.5k}if(1i.9n){T=1i.9n(S);T.fe(R,1k,1k)}1q{T=1i.fa();T.8A=S}if(1i.9n){U.dq(T)}1q{U.eY("6N"+R,T)}18 T},bx:17(){1a S=H.3p.2f.1X(13,"8c");if(!S){18 13}1L(1a R in S){H.3p.1O.1X(13,R)}H.3p.2V.1X(13,"8c");18 13}});(17(R){if(1i.87==="6j"){18 R.1c.4q.2q(1)}if(R.1c.3b&&R.1c.4z<fl){(17(){if(R.$(["5T","6j"]).3i(1i.87)){R.1c.4q()}1q{2n.9J.2q(50)}}())}1q{if(R.1c.3J&&R.1c.2e<9&&1f===1z){(17(){if(R.$2R(17(){R.1c.4Y().fQ("1M");18 1k})){R.1c.4q()}1q{2n.9J.2q(50)}}())}1q{R.3p.1t.1X(R.$(1i),"fS",R.1c.4q);R.3p.1t.1X(R.$(1f),"6J",R.1c.4q)}}}(N));H.3B=17(){1a V=1h,S=H.$A(2n);if("6o"==H.1F(S[0])){V=S.6g()}1a R=17(){1L(1a Y in 13){13[Y]=H.5j(13[Y])}if(13.4V.$3M){13.$3M={};1a aa=13.4V.$3M;1L(1a Z in aa){1a X=aa[Z];5H(H.1F(X)){1x"17":13.$3M[Z]=H.3B.cS(13,X);1J;1x"cN":13.$3M[Z]=H.5j(X);1J;1x"3R":13.$3M[Z]=H.5j(X);1J}}}1a W=(13.2W)?13.2W.6F(13,2n):13;4G 13.af;18 W};if(!R.1D.2W){R.1D.2W=H.$F}if(V){1a U=17(){};U.1D=V.1D;R.1D=1p U;R.$3M={};1L(1a T in V.1D){R.$3M[T]=V.1D[T]}}1q{R.$3M=1h}R.4V=H.3B;R.1D.4V=R;H.1Y(R.1D,S[0]);H.1Y(R,{$4D:"6o"});18 R};N.3B.cS=17(R,S){18 17(){1a U=13.af;1a T=S.6F(R,2n);18 T}};(17(U){1a T=U.$;1a R=5,S=6n;U.1m.1o.2g=1p U.3B(U.1Y(U.1m.1o,{1n:"2g",2W:17(X,W){1a V=W.2z();13.x=V.x;13.y=V.y;13.2t=W.2t;13.2r=W.2r;13.2B=W.2B;13.3u=W.5a();13.4f=X;13.4h(W)}}));U.1m.1o.2g.1A={1r:{7m:S,3u:1},5A:17(V){13.2Y("1s:2g:1r",U.1Y(U.5j(U.1m.1o.2g.1A.1r),V||{}));13.1t("3X",U.1m.1o.2g.1A.30,1);13.1t("3C",U.1m.1o.2g.1A.30,1);13.1t("2L",U.1m.1o.2g.1A.ar,1);if(U.1c.3J&&U.1c.2e<9){13.1t("8I",U.1m.1o.2g.1A.30,1)}},2F:17(){13.1O("3X",U.1m.1o.2g.1A.30);13.1O("3C",U.1m.1o.2g.1A.30);13.1O("2L",U.1m.1o.2g.1A.ar);if(U.1c.3J&&U.1c.2e<9){13.1O("8I",U.1m.1o.2g.1A.30)}},ar:17(V){V.3N()},30:17(Y){1a X,V,W;V=13.2f("1s:2g:1r");
1693if(Y.1n!="8I"&&Y.5a()!=V.3u){18}if(13.2f("1s:2g:aj")){13.2V("1s:2g:aj");18}if("3X"==Y.1n){X=1p U.1m.1o.2g(13,Y);13.2Y("1s:2g:8C",X)}1q{if("3C"==Y.1n){X=13.2f("1s:2g:8C");if(!X){18}W=Y.2z();13.2V("1s:2g:8C");X.4h(Y);if(Y.2B-X.2B<=V.7m&&1j.89(1j.3x(W.x-X.x,2)+1j.3x(W.y-X.y,2))<=R){13.2S("2g",X)}1i.2S("3C",Y)}1q{if(Y.1n=="8I"){X=1p U.1m.1o.2g(13,Y);13.2S("2g",X)}}}}}})(N);(17(S){1a R=S.$;S.1m.1o.2s=1p S.3B(S.1Y(S.1m.1o,{1n:"2s",6K:"3L",5V:1e,2W:17(W,V,U){1a T=V.2z();13.x=T.x;13.y=T.y;13.2t=V.2t;13.2r=V.2r;13.2B=V.2B;13.3u=V.5a();13.4f=W;13.4h(V);13.6K=U}}));S.1m.1o.2s.1A={5A:17(){1a U=S.1m.1o.2s.1A.d7.3Y(13),T=S.1m.1o.2s.1A.8s.3Y(13);13.1t("3X",S.1m.1o.2s.1A.aq,1);13.1t("3C",S.1m.1o.2s.1A.8s,1);1i.1t("4y",U,1);1i.1t("3C",T,1);13.2Y("1s:2s:4S:1i:5t",U);13.2Y("1s:2s:4S:1i:7w",T)},2F:17(){13.1O("3X",S.1m.1o.2s.1A.aq);13.1O("3C",S.1m.1o.2s.1A.8s);R(1i).1O("4y",13.2f("1s:2s:4S:1i:5t")||S.$F);R(1i).1O("3C",13.2f("1s:2s:4S:1i:7w")||S.$F);13.2V("1s:2s:4S:1i:5t");13.2V("1s:2s:4S:1i:7w")},aq:17(U){1a T;if(1!=U.5a()){18}T=1p S.1m.1o.2s(13,U,"3L");13.2Y("1s:2s:3L",T)},8s:17(U){1a T;T=13.2f("1s:2s:3L");if(!T){18}U.3N();T=1p S.1m.1o.2s(13,U,"cB");13.2V("1s:2s:3L");13.2S("2s",T)},d7:17(U){1a T;T=13.2f("1s:2s:3L");if(!T){18}U.3N();if(!T.5V){T.5V=1k;13.2S("2s",T)}T=1p S.1m.1o.2s(13,U,"db");13.2S("2s",T)}}})(N);(17(S){1a R=S.$;S.1m.1o.4d=1p S.3B(S.1Y(S.1m.1o,{1n:"4d",6Z:1e,7d:1h,2W:17(V,U){1a T=U.2z();13.x=T.x;13.y=T.y;13.2t=U.2t;13.2r=U.2r;13.2B=U.2B;13.3u=U.5a();13.4f=V;13.4h(U)}}));S.1m.1o.4d.1A={1r:{7m:5x},5A:17(T){13.2Y("1s:4d:1r",S.1Y(S.5j(S.1m.1o.4d.1A.1r),T||{}));13.1t("2g",S.1m.1o.4d.1A.30,1)},2F:17(){13.1O("2g",S.1m.1o.4d.1A.30)},30:17(V){1a U,T;U=13.2f("1s:4d:1s");T=13.2f("1s:4d:1r");if(!U){U=1p S.1m.1o.4d(13,V);U.7d=4C(17(){U.6Z=1k;V.6l=S.$1e;13.2S("2g",V);13.2V("1s:4d:1s")}.1u(13),T.7m+10);13.2Y("1s:4d:1s",U);V.6X()}1q{3r(U.7d);13.2V("1s:4d:1s");if(!U.6Z){U.4h(V);V.6X().1V();13.2S("4d",U)}1q{}}}}})(N);(17(U){1a T=U.$;1a R=10;1a S=5x;U.1m.1o.2M=1p U.3B(U.1Y(U.1m.1o,{1n:"2M",id:1h,2W:17(W,V){1a X=V.5S();13.id=X.8M||X.4H;13.x=X.5C;13.y=X.5D;13.5C=X.5C;13.5D=X.5D;13.2t=X.2t;13.2r=X.2r;13.2B=V.2B;13.3u=0;13.4f=W;13.4h(V)}}));U.1m.1o.2M.1A={5A:17(V){13.1t(["4R","7U"],U.1m.1o.2M.1A.7v,1);13.1t(["4x","6H"],U.1m.1o.2M.1A.6P,1);13.1t("2L",U.1m.1o.2M.1A.al,1)},2F:17(){13.1O(["4R","7U"],U.1m.1o.2M.1A.7v);13.1O(["4x","6H"],U.1m.1o.2M.1A.6P);13.1O("2L",U.1m.1o.2M.1A.al)},al:17(V){V.3N()},7v:17(V){if(!V.6U()){13.2V("1s:2M:1s");18}13.2Y("1s:2M:1s",1p U.1m.1o.2M(13,V));13.2Y("1s:2g:aj",1k)},6P:17(Y){1a W=U.4E();1a X=13.2f("1s:2M:1s");1a V=13.2f("1s:2M:1r");if(!X||!Y.6U()){18}13.2V("1s:2M:1s");if(X.id===Y.8i()&&Y.2B-X.2B<=S&&1j.89(1j.3x(Y.5S().5C-X.x,2)+1j.3x(Y.5S().5D-X.y,2))<=R){13.2V("1s:2g:8C");Y.1V();X.4h(Y);13.2S("2M",X)}}}}(N));H.1m.1o.4l=1p H.3B(H.1Y(H.1m.1o,{1n:"4l",6Z:1e,7d:1h,2W:17(S,R){13.x=R.x;13.y=R.y;13.2t=R.2t;13.2r=R.2r;13.2B=R.2B;13.3u=0;13.4f=S;13.4h(R)}}));H.1m.1o.4l.1A={1r:{7m:6n},5A:17(R){13.2Y("1s:4l:1r",H.1Y(H.5j(H.1m.1o.4l.1A.1r),R||{}));13.1t("2M",H.1m.1o.4l.1A.30,1)},2F:17(){13.1O("2M",H.1m.1o.4l.1A.30)},30:17(T){1a S,R;S=13.2f("1s:4l:1s");R=13.2f("1s:4l:1r");if(!S){S=1p H.1m.1o.4l(13,T);S.7d=4C(17(){S.6Z=1k;T.6l=H.$1e;13.2S("2M",T)}.1u(13),R.7m+10);13.2Y("1s:4l:1s",S);T.6X()}1q{3r(S.7d);13.2V("1s:4l:1s");if(!S.6Z){S.4h(T);T.6X().1V();13.2S("4l",S)}1q{}}}};(17(T){1a S=T.$;1a R=10;T.1m.1o.2m=1p T.3B(T.1Y(T.1m.1o,{1n:"2m",6K:"3L",id:1h,5V:1e,2W:17(W,V,U){1a X=V.5S();13.id=X.8M||X.4H;13.2t=X.2t;13.2r=X.2r;13.5C=X.5C;13.5D=X.5D;13.x=X.5C;13.y=X.5D;13.2B=V.2B;13.3u=0;13.4f=W;13.4h(V);13.6K=U}}));T.1m.1o.2m.1A={5A:17(){1a V=T.1m.1o.2m.1A.8O.1u(13);1a U=T.1m.1o.2m.1A.6P.1u(13);13.1t(["4R","7U"],T.1m.1o.2m.1A.7v,1);13.1t(["4x","6H"],T.1m.1o.2m.1A.6P,1);13.1t(["6m","7T"],T.1m.1o.2m.1A.8O,1);13.2Y("1s:2m:4S:1i:5t",V);13.2Y("1s:2m:4S:1i:7w",U);S(1i).1t("7T",V,1);S(1i).1t("6H",U,1)},2F:17(){13.1O(["4R","7U"],T.1m.1o.2m.1A.7v);13.1O(["4x","6H"],T.1m.1o.2m.1A.6P);13.1O(["6m","7T"],T.1m.1o.2m.1A.8O);S(1i).1O("7T",13.2f("1s:2m:4S:1i:5t")||T.$F,1);S(1i).1O("6H",13.2f("1s:2m:4S:1i:7w")||T.$F,1);13.2V("1s:2m:4S:1i:5t");13.2V("1s:2m:4S:1i:7w")},7v:17(V){1a U;if(!V.6U()){18}U=1p T.1m.1o.2m(13,V,"3L");
169313.2Y("1s:2m:3L",U)},6P:17(V){1a U;U=13.2f("1s:2m:3L");if(!U||!U.5V||U.id!==V.8i()){18}U=1p T.1m.1o.2m(13,V,"cB");13.2V("1s:2m:3L");13.2S("2m",U)},8O:17(V){1a U;U=13.2f("1s:2m:3L");if(!U||!V.6U()){18}if(U.id!==V.8i()){13.2V("1s:2m:3L");18}if(!U.5V&&1j.89(1j.3x(V.5S().5C-U.x,2)+1j.3x(V.5S().5D-U.y,2))>R){U.5V=1k;13.2S("2m",U)}if(!U.5V){18}U=1p T.1m.1o.2m(13,V,"db");13.2S("2m",U)}}}(N));H.1m.1o.3S=1p H.3B(H.1Y(H.1m.1o,{1n:"3S",7M:1,aM:1,dA:1,6K:"ib",2W:17(S,R){13.2B=R.2B;13.3u=0;13.4f=S;13.x=R.3H[0].2t+(R.3H[1].2t-R.3H[0].2t)/2;13.y=R.3H[0].2r+(R.3H[1].2r-R.3H[0].2r)/2;13.ds=1j.89(1j.3x(R.3H[0].2t-R.3H[1].2t,2)+1j.3x(R.3H[0].2r-R.3H[1].2r,2));13.4h(R)},cR:17(R){1a S;13.6K="kU";if(R.2G[0].4H!=13.63[0].3H[0].4H||R.2G[1].4H!=13.63[0].3H[1].4H){18}S=1j.89(1j.3x(R.2G[0].2t-R.2G[1].2t,2)+1j.3x(R.2G[0].2r-R.2G[1].2r,2));13.aM=13.7M;13.7M=S/13.ds;13.dA=13.7M/13.aM;13.x=R.2G[0].2t+(R.2G[1].2t-R.2G[0].2t)/2;13.y=R.2G[0].2r+(R.2G[1].2r-R.2G[0].2r)/2;13.4h(R)}}));H.1m.1o.3S.1A={5A:17(){13.1t("4R",H.1m.1o.3S.1A.aJ,1);13.1t("4x",H.1m.1o.3S.1A.aI,1);13.1t("6m",H.1m.1o.3S.1A.aR,1)},2F:17(){13.1O("4R",H.1m.1o.3S.1A.aJ);13.1O("4x",H.1m.1o.3S.1A.aI);13.1O("6m",H.1m.1o.3S.1A.aR)},aJ:17(S){1a R;if(S.3H.1v!=2){18}S.3N();R=1p H.1m.1o.3S(13,S);13.2Y("1s:3S:1s",R)},aI:17(S){1a R;R=13.2f("1s:3S:1s");if(!R){18}S.3N();13.2V("1s:3S:1s")},aR:17(S){1a R;R=13.2f("1s:3S:1s");if(!R){18}S.3N();R.cR(S);13.2S("3S",R)}};(17(W){1a U=W.$;W.1m.1o.4m=1p W.3B(W.1Y(W.1m.1o,{1n:"4m",2W:17(ac,ab,ae,Y,X,ad,Z){1a aa=ab.2z();13.x=aa.x;13.y=aa.y;13.2B=ab.2B;13.4f=ac;13.5O=ae||0;13.7b=Y||0;13.79=X||0;13.le=ad||0;13.kk=Z||0;13.ah=ab.ah||0;13.5p=1e;13.4h(ab)}}));1a V,S;17 R(){V=1h}17 T(X,Y){18(X>50)||(1===Y&&!("9b"==W.1c.69&&X<1))||(0===X%12)||(0==X%4.kb)}W.1m.1o.4m.1A={8A:"kJ"in 1i||W.1c.2e>8?"k6":"6C",5A:17(){13.1t(W.1m.1o.4m.1A.8A,W.1m.1o.4m.1A.30,1)},2F:17(){13.1O(W.1m.1o.4m.1A.8A,W.1m.1o.4m.1A.30,1)},30:17(ac){1a ad=0,aa=0,Y=0,X=0,ab,Z;if(ac.d0){Y=ac.d0*-1}if(ac.cZ!==2C){Y=ac.cZ}if(ac.cX!==2C){Y=ac.cX}if(ac.cW!==2C){aa=ac.cW*-1}if(ac.79){Y=-1*ac.79}if(ac.7b){aa=ac.7b}if(0===Y&&0===aa){18}ad=0===Y?aa:Y;X=1j.21(1j.2a(Y),1j.2a(aa));if(!V||X<V){V=X}ab=ad>0?"3A":"6M";ad=1j[ab](ad/V);aa=1j[ab](aa/V);Y=1j[ab](Y/V);if(S){3r(S)}S=4C(R,5x);Z=1p W.1m.1o.4m(13,ac,ad,aa,Y,0,V);Z.5p=T(V,ac.ah||0);13.2S("4m",Z)}}})(N);H.9b=H.$(1f);H.7Z=H.$(1i);18 N})();(17(D){if(!D){6e"73 71 70"}1a C=D.$;1a B=1f.cn||1f.cc||1h;s.7q=1p D.3B({1K:1h,5c:1e,1r:{9L:D.$F,6b:D.$F,a5:D.$F,5h:D.$F,65:D.$F,bE:D.$F,7f:1e,cO:1k},1W:1h,88:1h,aD:0,7c:{9L:17(E){if(E.4f&&(5x===E.4f.9M||cJ===E.4f.9M)&&E.kx){13.1r.9L.1u(1h,(E.5T-(13.1r.cO?13.aD:0))/E.kH).2q(1);13.aD=E.5T}},6b:17(E){if(E){C(E).1V()}13.8e();if(13.5c){18}13.5c=1k;13.8h();!13.1r.7f&&13.1r.9L.1u(1h,1).2q(1);13.1r.6b.1u(1h,13).2q(1);13.1r.65.1u(1h,13).2q(1)},a5:17(E){if(E){C(E).1V()}13.8e();13.5c=1e;13.8h();13.1r.a5.1u(1h,13).2q(1);13.1r.65.1u(1h,13).2q(1)},5h:17(E){if(E){C(E).1V()}13.8e();13.5c=1e;13.8h();13.1r.5h.1u(1h,13).2q(1);13.1r.65.1u(1h,13).2q(1)}},9i:17(){C(["6J","aP","cL"]).3q(17(E){13.1K.1t(E,13.7c["6N"+E].3Y(13).cM(1))},13)},8e:17(){if(13.88){2R{3r(13.88)}3d(E){}13.88=1h}C(["6J","aP","cL"]).3q(17(F){13.1K.1O(F)},13)},8h:17(){13.29();if(13.1K.2f("1p")){1a E=13.1K.5o;13.1K.2F().2V("1p").1H({2N:"kG",1z:"2i"});E.6t()}},cH:17(F){1a G=1p 9I(),E;C(["aP","e6"]).3q(17(H){G["6N"+H]=C(17(I){13.7c["6N"+H].1X(13,I)}).1u(13)},13);G.5h=C(17(){13.1r.bE.1u(1h,13).2q(1);13.1r.7f=1e;13.9i();13.1K.4j=F}).1u(13);G.6b=C(17(){if(5x!==G.9M&&cJ!==G.9M){13.7c.5h.1X(13);18}E=G.kF;13.9i();if(B&&!D.1c.3J&&!("8p"===D.1c.69&&D.1c.4z<kC)){13.1K.7o("4j",B.ky(E))}1q{13.1K.4j=F}}).1u(13);G.b2("kw",F);G.kv="d1";G.ku()},2W:17(F,E){13.1r=D.1Y(13.1r,E);13.1K=C(F)||D.$1p("1K",{},{"21-1d":"2p","21-1g":"2p"}).2u(D.$1p("2c").2k("3g-90-1K").1H({2N:"4g",1z:-9V,1d:10,1g:10,5v:"3o"}).2u(1i.3y)).2Y("1p",1k);if(D.1c.2U.au&&13.1r.7f&&"1N"==D.1F(F)){13.cH(F);18}1a G=17(){if(13.d9()){13.7c.6b.1X(13)}1q{13.7c.5h.1X(13)}G=1h}.1u(13);13.9i();if("1N"==D.1F(F)){13.1K.4j=F}1q{if(D.1c.3J&&5==D.1c.4z&&D.1c.2e<9){13.1K.cU=17(){if(/5T|6j/.2P(13.1K.87)){13.1K.cU=1h;G&&G()}}.1u(13)}13.1K.4j=F.5K("4j")}13.1K&&13.1K.6j&&G&&(13.88=G.2q(1P))},kt:17(){13.8e();13.8h();13.5c=1e;18 13},d9:17(){1a E=13.1K;18(E.83)?(E.83>0):(E.87)?("6j"==E.87):E.1d>0},29:17(){18 13.1W||(13.1W={1d:13.1K.83||13.1K.1d,1g:13.1K.bF||13.1K.1g})}})})(s);(17(C){if(!C){6e"73 71 70"}if(C.3e){18}1a B=C.$;C.3e=1p C.3B({2W:17(E,D){1a F;13.el=C.$(E);13.1r=C.1Y(13.1r,D);13.34=1e;13.7s=13.aO;F=C.3e.6v[13.1r.35]||13.1r.35;if("17"===C.1F(F)){13.7s=F}1q{13.5M=13.8l(F)||13.8l("6O")}if("1N"==C.1F(13.1r.74)){13.1r.74="4o"===13.1r.74?et:3v(13.1r.74)||1}},1r:{dC:60,43:kq,35:"6O",74:1,3W:"dS",8S:C.$F,5g:C.$F,aY:C.$F,8T:C.$F,9g:1e,kp:1e},4r:1h,5M:1h,7s:1h,ko:17(D){13.1r.35=D;D=C.3e.6v[13.1r.35]||13.1r.35;if("17"===C.1F(D)){13.7s=D}1q{13.7s=13.aO;13.5M=13.8l(D)||13.8l("6O")}},1y:17(F){1a D=/\\%$/,E;13.4r=F||{};13.ak=0;13.6K=0;13.kn=0;13.9l={};13.4Q="4Q"===13.1r.3W||"4Q-3t"===13.1r.3W;13.7n="7n"===13.1r.3W||"7n-3t"===13.1r.3W;1L(E in 13.4r){D.2P(13.4r[E][0])&&(13.9l[E]=1k);if("3t"===13.1r.3W||"4Q-3t"===13.1r.3W||"7n-3t"===13.1r.3W){13.4r[E].3t()}}13.9j=C.4E();13.dB=13.9j+13.1r.43;13.1r.8S.1X();if(0===13.1r.43){13.6I(1);13.1r.5g.1X()}1q{13.9s=13.38.1u(13);
1693if(!13.1r.9g&&C.1c.2U.4X){13.34=C.1c.4X.1X(1f,13.9s)}1q{13.34=13.9s.dD(1j.52(8r/13.1r.dC))}}18 13},am:17(){if(13.34){if(!13.1r.9g&&C.1c.2U.4X&&C.1c.9p){C.1c.9p.1X(1f,13.34)}1q{km(13.34)}13.34=1e}},1V:17(D){D=C.2Z(D)?D:1e;13.am();if(D){13.6I(1);13.1r.5g.2q(10)}18 13},a3:17(F,E,D){F=2j(F);E=2j(E);18(E-F)*D+F},38:17(){1a E=C.4E(),D=(E-13.9j)/13.1r.43,F=1j.3A(D);if(E>=13.dB&&F>=13.1r.74){13.am();13.6I(1);13.1r.5g.2q(10);18 13}if(13.4Q&&13.ak<F){1L(1a G in 13.4r){13.4r[G].3t()}}13.ak=F;if(!13.1r.9g&&C.1c.2U.4X){13.34=C.1c.4X.1X(1f,13.9s)}13.6I((13.7n?F:0)+13.7s(D%1))},6I:17(D){1a E={},G=D;1L(1a F in 13.4r){if("3F"===F){E[F]=1j.52(13.a3(13.4r[F][0],13.4r[F][1],D)*1P)/1P}1q{E[F]=13.a3(13.4r[F][0],13.4r[F][1],D);13.9l[F]&&(E[F]+="%")}}13.1r.aY(E,13.el);13.1U(E);13.1r.8T(E,13.el)},1U:17(D){18 13.el.1H(D)},8l:17(D){1a E,F=1h;if("1N"!==C.1F(D)){18 1h}5H(D){1x"aL":F=B([0,0,1,1]);1J;1x"6O":F=B([0.25,0.1,0.25,1]);1J;1x"6O-in":F=B([0.42,0,1,1]);1J;1x"6O-dv":F=B([0,0,0.58,1]);1J;1x"6O-in-dv":F=B([0.42,0,0.58,1]);1J;1x"bI":F=B([0.47,0,0.kr,0.ks]);1J;1x"bJ":F=B([0.39,0.kz,0.kA,1]);1J;1x"kB":F=B([0.kD,0.9U,0.55,0.95]);1J;1x"bN":F=B([0.55,0.kE,0.68,0.53]);1J;1x"bO":F=B([0.25,0.46,0.45,0.94]);1J;1x"kj":F=B([0.k7,0.dh,0.ki,0.jW]);1J;1x"bP":F=B([0.55,0.jX,0.jY,0.19]);1J;1x"c6":F=B([0.jZ,0.61,0.dj,1]);1J;1x"k0":F=B([0.k1,0.bW,0.dj,1]);1J;1x"k2":F=B([0.k3,0.dh,0.k4,0.22]);1J;1x"jV":F=B([0.c1,0.84,0.44,1]);1J;1x"k8":F=B([0.77,0,0.bV,1]);1J;1x"k9":F=B([0.ka,0.9U,0.kc,0.kd]);1J;1x"ke":F=B([0.23,1,0.32,1]);1J;1x"kf":F=B([0.86,0,0.kg,1]);1J;1x"bL":F=B([0.95,0.9U,0.kh,0.kI]);1J;1x"bK":F=B([0.19,1,0.22,1]);1J;1x"kT":F=B([1,0,0,1]);1J;1x"l7":F=B([0.6,0.l8,0.98,0.l9]);1J;1x"ld":F=B([0.lg,0.82,0.c1,1]);1J;1x"l6":F=B([0.lh,0.l5,0.15,0.86]);1J;1x"c8":F=B([0.6,-0.28,0.l4,0.bW]);1J;1x"co":F=B([0.bV,0.kO,0.32,1.kQ]);1J;1x"kR":F=B([0.68,-0.55,0.kL,1.55]);1J;1w:D=D.2y(/\\s/g,"");if(D.3w(/^bU-bT\\((?:-?[0-9\\.]{0,}[0-9]{1,},){3}(?:-?[0-9\\.]{0,}[0-9]{1,})\\)$/)){F=D.2y(/^bU-bT\\s*\\(|\\)$/g,"").4w(",");1L(E=F.1v-1;E>=0;E--){F[E]=2j(F[E])}}}18 B(F)},aO:17(P){1a D=0,O=0,L=0,Q=0,N=0,J=0,K=13.1r.43;17 I(R){18((D*R+O)*R+L)*R}17 H(R){18((Q*R+N)*R+J)*R}17 F(R){18(3*D*R+2*O)*R+L}17 M(R){18 1/(5x*R)}17 E(R,S){18 H(G(R,S))}17 G(Y,Z){1a X,W,V,S,R,U;17 T(aa){if(aa>=0){18 aa}1q{18 0-aa}}1L(V=Y,U=0;U<8;U++){S=I(V)-Y;if(T(S)<Z){18 V}R=F(V);if(T(R)<0.kV){1J}V=V-S/R}X=0;W=1;V=Y;if(V<X){18 X}if(V>W){18 W}4B(X<W){S=I(V);if(T(S-Y)<Z){18 V}if(Y>S){X=V}1q{W=V}V=(W-X)*0.5+X}18 V}L=3*13.5M[0];O=3*(13.5M[2]-13.5M[0])-L;D=1-L-O;J=3*13.5M[1];N=3*(13.5M[3]-13.5M[1])-J;Q=1-J-N;18 E(P,M(K))}});C.3e.6v={aL:"aL",kW:"bI",kX:"bJ",kY:"bL",a8:"bK",kZ:"bN",cQ:"bO",l0:"bP",l1:"c6",l2:"c8",kK:"co",c7:17(E,D){D=D||[];18 1j.3x(2,10*--E)*1j.kS(20*E*1j.kP*(D[0]||1)/3)},kN:17(E,D){18 1-C.3e.6v.c7(1-E,D)},dH:17(F){1L(1a E=0,D=1;1;E+=D,D/=2){if(F>=(7-4*E)/11){18 D*D-1j.3x((11-6*E-11*F)/4,2)}}},kM:17(D){18 1-C.3e.6v.dH(1-D)},2p:17(D){18 0}}})(s);(17(C){if(!C){6e"73 71 70"}if(C.cz){18}1a B=C.$;C.cz=1p C.3B(C.3e,{2W:17(D,E){13.ay=D;13.1r=C.1Y(13.1r,E);13.34=1e;13.$3M.2W()},1y:17(H){1a D=/\\%$/,G,F,E=H.1v;13.ax=H;13.9k=1p 4Z(E);1L(F=0;F<E;F++){13.9k[F]={};1L(G in H[F]){D.2P(H[F][G][0])&&(13.9k[F][G]=1k);if("3t"===13.1r.3W||"4Q-3t"===13.1r.3W||"7n-3t"===13.1r.3W){13.ax[F][G].3t()}}}13.$3M.1y({});18 13},6I:17(D){1L(1a E=0;E<13.ay.1v;E++){13.el=C.$(13.ay[E]);13.4r=13.ax[E];13.9l=13.9k[E];13.$3M.6I(D)}}})})(s);(17(C){if(!C){6e"73 71 70";18}if(C.ap){18}1a B=C.$;C.ap=17(E,F){1a D=13.6W=C.$1p("2c",1h,{2N:"4g","z-5i":cq}).2k("l3");C.$(E).1t("72",17(){D.2u(1i.3y)});C.$(E).1t("6T",17(){D.2F()});C.$(E).1t("4y",17(K){1a M=20,J=C.$(K).2z(),I=D.29(),H=C.$(1f).29(),L=C.$(1f).75();17 G(P,N,O){18(O<(P-N)/2)?O:((O>(P+N)/2)?(O-N):(P-N)/2)}D.1H({1M:L.x+G(H.1d,I.1d+2*M,J.x-L.x)+M,1z:L.y+G(H.1g,I.1g+2*M,J.y-L.y)+M})});13.4k(F)};C.ap.1D.4k=17(D){13.6W.2w&&13.6W.7e(13.6W.2w);13.6W.3z(1i.8x(D))}})(s);(17(C){if(!C){6e"73 71 70";18}if(C.lf){18}1a B=C.$;C.7J=17(G,F,E,D){13.9H=1h;13.5r=C.$1p("8w",1h,{2N:"4g","z-5i":cq,3l:"3o",3F:0.8}).2k(D||"").2u(E||1i.3y);13.c9(G);13.5n(F)};C.7J.1D.5n=17(D){13.5r.5n();13.9H=13.5f.1u(13).2q(C.aN(D,lc))};C.7J.1D.5f=17(D){3r(13.9H);13.9H=1h;if(13.5r&&!13.aC){13.aC=1p s.3e(13.5r,{43:C.aN(D,eH),5g:17(){13.5r.6t();4G 13.5r;13.aC=1h}.1u(13)}).1y({3F:[13.5r.2D("3F"),0]})}};C.7J.1D.c9=17(D){13.5r.2w&&13.6W.7e(13.5r.2w);
169313.5r.3z(1i.8x(D))}})(s);(17(C){if(!C){6e"73 71 70"}if(C.8Y){18}1a F=C.$,B=1h,J={"3V":1,3R:2,2J:3,"17":4,1N:1P},D={"3V":17(M,L,K){if("3V"!=C.1F(L)){if(K||"1N"!=C.1F(L)){18 1e}1q{if(!/^(1k|1e)$/.2P(L)){18 1e}1q{L=L.ck()}}}if(M.4a("3a")&&!F(M["3a"]).3i(L)){18 1e}B=L;18 1k},1N:17(M,L,K){if("1N"!==C.1F(L)){18 1e}1q{if(M.4a("3a")&&!F(M["3a"]).3i(L)){18 1e}1q{B=""+L;18 1k}}},2J:17(N,M,L){1a K=1e,P=/%$/,O=(C.1F(M)=="1N"&&P.2P(M));if(L&&!"2J"==97 M){18 1e}M=2j(M);if(6w(M)){18 1e}if(6w(N.2X)){N.2X=8P.la}if(6w(N.6D)){N.6D=8P.kl}if(N.4a("3a")&&!F(N["3a"]).3i(M)){18 1e}if(N.2X>M||M>N.6D){18 1e}B=O?(M+"%"):M;18 1k},3R:17(N,L,K){if("1N"===C.1F(L)){2R{L=1f.jU.iZ(L)}3d(M){18 1e}}if(C.1F(L)==="3R"){B=L;18 1k}1q{18 1e}},"17":17(M,L,K){if(C.1F(L)==="17"){B=L;18 1k}1q{18 1e}}},E=17(P,O,L){1a N;N=P.4a("3U")?P.3U:[P];if("3R"!=C.1F(N)){18 1e}1L(1a M=0,K=N.1v-1;M<=K;M++){if(D[N[M].1n](N[M],O,L)){18 1k}}18 1e},H=17(P){1a N,M,O,K,L;if(P.4a("3U")){K=P.3U.1v;1L(N=0;N<K;N++){1L(M=N+1;M<K;M++){if(J[P.3U[N]["1n"]]>J[P.3U[M].1n]){L=P.3U[N];P.3U[N]=P.3U[M];P.3U[M]=L}}}}18 P},I=17(N){1a M;M=N.4a("3U")?N.3U:[N];if("3R"!=C.1F(M)){18 1e}1L(1a L=M.1v-1;L>=0;L--){if(!M[L].1n||!J.4a(M[L].1n)){18 1e}if(C.2Z(M[L]["3a"])){if("3R"!==C.1F(M[L]["3a"])){18 1e}1L(1a K=M[L]["3a"].1v-1;K>=0;K--){if(!D[M[L].1n]({1n:M[L].1n},M[L]["3a"][K],1k)){18 1e}}}}if(N.4a("1w")&&!E(N,N["1w"],1k)){18 1e}18 1k},G=17(K){13.4A={};13.1r={};13.ci(K)};C.1Y(G.1D,{ci:17(M){1a L,K,N;1L(L in M){if(!M.4a(L)){7V}K=(L+"").41().5J();if(!13.4A.4a(K)){13.4A[K]=H(M[L]);if(!I(13.4A[K])){6e"jS iz iA iB \'"+L+"\' iC in "+M}13.1r[K]=2C}}},1U:17(L,K){L=(L+"").41().5J();if(C.1F(K)=="1N"){K=K.41()}if(13.4A.4a(L)){B=K;if(E(13.4A[L],K)){13.1r[L]=B}B=1h}},aA:17(K){K=(K+"").41().5J();if(13.4A.4a(K)){18 C.2Z(13.1r[K])?13.1r[K]:13.4A[K]["1w"]}},aH:17(L){1L(1a K in L){13.1U(K,L[K])}},iD:17(){1a L=C.1Y({},13.1r);1L(1a K in L){if(2C===L[K]&&2C!==13.4A[K]["1w"]){L[K]=13.4A[K]["1w"]}}18 L},dV:17(K){F(K.4w(";")).3q(F(17(L){L=L.4w(":");13.1U(L.6g().41(),L.4P(":"))}).1u(13))},4O:17(K){K=(K+"").41().5J();18 13.4A.4a(K)},6y:17(K){K=(K+"").41().5J();18 13.4O(K)&&C.2Z(13.1r[K])},2F:17(K){K=(K+"").41().5J();
1693if(13.4O(K)){4G 13.1r[K];4G 13.4A[K]}}});C.8Y=G}(s));1a f=u.$;1a y="";1a k={3X:1f.33.7h?"7U":1f.33.76?"iE":"3X",3C:1f.33.7h?"6H":1f.33.76?"iF":"3C",4y:1f.33.7h?"7T":1f.33.76?"iG":"4y",72:1f.33.7h?"eQ":1f.33.76?"eP":"72",6T:1f.33.7h?"eR":1f.33.76?"eB":"6T"};1a t=17(B){18 B.2y(/[!\'()\\s]/g,iH).2y(/\\*/g,"%2A")};1a A=17(C,E){1a D=u.$1p(C),B=E.4w(",");f(B).3q(17(F){D.2k(F.41())});D.1H({2N:"4g",1z:-9V,1M:0,3l:"3o"});1i.3y.ey(D);f(17(){13.2F()}).1u(D).2q(1P)};1a a=("8p"===u.1c.69)?10:et;1a l="8p"===u.1c.69&&/iI\\//.2P(33.a6);1a d=(17(){1a B=33.a6.3w(/eu iJ ([0-9]{1,}[\\.0-9]{0,})/i);18(B?2j(B[1]):-1)})();1a i=1e;1a z=1e;1a e=iy;1a c="7a";1a x=".7a";1a p="bc-8F-9h";1a n;1a h=(17(){1a C,F,E,D,B;B=["2o.f|iK,iM~}4!!iN iO ev!iP=8>!,.a`iQ,iR} lb{|&\'5,.iS|iT,iU`e,.}iV,iW|4.g`fk|iL.iw#ih|iv`4.`a`k5,i1.=8>(z|i2.z|i3.i4|}ga`2!i5","#i6",11,"dS","","8k","1P%"];18 B})();17 v(C,B,D){1L(D=0,B="";D<C.1v;B+=9W.i7(14^C.dQ(D++))){}18 B}17 b(){u.3Z(x,{5s:"0 !1T",dI:"0 !1T",2O:"4v-3G","-7O-5q-7P":"3s-5q","-3b-5q-7P":"3s-5q","5q-7P":"3s-5q","i8-1W":"0 !1T","dO-1g":"1P% !1T","21-1d":"1P%","-3b-35":"2p !1T","-7O-35":"2p !1T","-o-35":"2p !1T",35:"2p !1T"},p);u.3Z(x+" 1K",{3s:"0 !1T",5s:"0 !1T",6E:"0 !1T",1g:"2i"},p);u.3Z(x+" > 1K",{1d:"1P%"},p);8===u.1c.2e&&u.3Z(".i9-3g "+x+" > 1K",{"21-1d":"2p !1T"},p);7===u.1c.2e&&u.3Z(".ia-3g "+x+" > 1K",{1d:"2i !1T"},p);5===u.1c.2e&&u.3Z(".jT-3g "+x+" 1K",{1d:"2i !1T"},p);u.3Z("."+c+"-8U",{"4k-4I":"8k !1T;"},p);u.3Z("."+c+"-8U:eE",{i0:\'""\',2O:"4v-3G","5E-4I":"5B"},p);u.3Z("."+c+"-8U "+x,{2O:"4v-3G !1T","5E-4I":"5B"},p);u.3Z(".3g-90-1K 1K",{"21-1g":"2p !1T","21-1d":"2p !1T"},p);u.3Z(".3j-5z-bY-cs",{2O:"3G !1T","4W-1g":"0 !1T","4W-1d":"0 !1T","21-1g":"2p !1T","21-1d":"2p !1T",1d:"ef !1T",1g:"ef !1T",2N:"4g !1T",1z:"-eD !1T",1M:"0 !1T",5v:"3o !1T","-3b-59":"2p !1T",59:"2p !1T","-3b-35":"2p !1T",35:"2p !1T"},p)}f(1i).1t("8b",17(){b()});1a q={26:{1n:"2J",2X:1,"1w":1},2h:{1n:"2J",2X:1,"1w":36},"1y-1l":{3U:[{1n:"1N","3a":["2i"]},{1n:"2J",2X:1}],"1w":"2i"},"1y-1R":{3U:[{1n:"1N","3a":["2i"]},{1n:"2J",2X:1}],"1w":"2i"},"38-1l":{1n:"3V","1w":1e},"38-1R":{1n:"3V","1w":1k},"8Q-26-2h":{1n:"3V","1w":1e},"3t-1l":{1n:"3V","1w":1e},"3t-1R":{1n:"3V","1w":1e},"1l-4b":{1n:"2J",2X:1,"1w":1},"1R-4b":{1n:"2J",2X:1,"1w":1},1Z:{1n:"1N","3a":["bp","dN","4o","ic"],"1w":"bp"},"1Z-1y":{3U:[{1n:"1N"},{1n:"3R"}],"1w":"6J"},"1Z-1V":{1n:"1N","3a":["2L","4K","br"],"1w":"2L"},"1Z-5w":{1n:"2J",2X:0,"1w":ii},"1Z-3W":{1n:"1N","3a":["9e","bd","4Q-9e","4Q-bd"],"1w":"9e"},4F:{1n:"3V","1w":1k},"1C-1d":{1n:"2J","1w":"80%"},"1C-57":{1n:"1N","3a":["5P","ba","ij"],"1w":"5P"},2l:{1n:"3V","1w":1k},4N:{1n:"3V","1w":1k},"dZ-6N":{1n:"1N","3a":["6J","4K","2L"],"1w":"6J"},"6C-5u":{1n:"2J",2X:0,"1w":3},5w:{1n:"2J",2X:1,6D:1P,"1w":50},6x:{1n:"2J",2X:1,6D:1P,"1w":50},8f:{1n:"2J",2X:1,6D:1P,"1w":50},8g:{1n:"2J",2X:1,6D:1P,"1w":50},2H:{1n:"1N","3a":["6u","4K"],"1w":"6u"},cI:{1n:"3V","1w":1k},"3I-2L":{1n:"3V","1w":1e},ik:{1n:"3V","1w":1e},4q:{1n:"17","1w":u.$F},il:{1n:"17","1w":u.$F},hY:{1n:"17","1w":u.$F},6c:{1n:"17","1w":u.$F},6h:{1n:"17","1w":u.$F},5Z:{1n:"17","1w":u.$F}};q=u.1Y(q,{6d:{1n:"1N","1w":"2i"},6R:{1n:"1N","1w":"2i"},"4T-6d":{1n:"1N","1w":"2i"},"4T-6R":{1n:"1N","1w":"2i"},"1l-3E":{1n:"2J",2X:1,"1w":2},"1R-3E":{1n:"2J",2X:1,"1w":2},"1l-1y-5i":{1n:"2J",2X:0,"1w":1},"1R-1y-5i":{1n:"2J",2X:0,"1w":1},3K:{1n:"1N"},"4T-3K":{1n:"1N"}});1a g=17(B){13.5U=0;13.8v=B;13.6z=u.$1p("2c",{"6o":"3j-9C"});13.9h()};g.1D={4V:g,ct:17(B){13.8v=B;f(13.8v).3z(13.6z)},5n:17(){f(13.8v).3z(13.6z);f(13.6z).29();f(13.6z).2k("ea")},5f:17(){f(13.6z).7p("ea")},9h:17(){13.5U=0;13.8u(0)},4b:17(B){13.5U+=B;13.8u(13.5U+"%")},im:17(B){13.5U=B;13.8u(13.5U+"%")},8u:17(B){if(1j.52(13.5U)>=1P){4C(17(){13.5f()}.1u(13),1)}f(13.6z).7o("7u-e6",13.5U.io(0)+"%")}};1a w=17(C,B){13.o=f(C);13.3h=1h;13.bD=1h;13.3P=1h;13.99=1h;13.4M=1h;13.bC=1h;13.bs=1h;13.8a={1z:0,1M:0,49:0,3I:0};13.62={1d:0,1g:0};13.51={1d:0,1g:0};13.2Q={1d:0,1g:0};13.1W={1d:0,1g:0};13.24={1d:0,1g:0};13.2b={1d:0,1g:0};13.2x={1l:0,1E:0};13.eJ=iq;13.3K={4i:f([]),2l:f([]),4n:f([])};13.4J={4i:f([]),2l:f([]),4n:f([])};13.5m={};13.4c={7i:0,5y:f([])};13.6f={4i:0,2l:0,4n:0};13.7L={37:f([]),2N:f([])};13.8m=1h;13.ir={1d:0,1g:0};13.6G=i&&u.1c.2U.aS;13.7K=z&&u.1c.2U.au;13.8d=1k;13.eO={4i:0,2l:0,4n:0};13.48=1e;13.1Q=1h;13.6r=1h;13.4e=1h;13.9w=1h;13.8V=1h;13.bi=1k;13.6q=1h;13.7H=1h;13.5W=1e;13.6a=1e;13.5L={x:0,y:0};13.aV=u.$1p("2c").2k("3g-90-1K").1H({2N:"4g",1z:-8r,1d:10,1g:10,5v:"3o"}).2u(1i.3y);13.8G=[];13.3c={x:60,y:60};13.1G=1p u.8Y(q);13.1b=f(17(){if(2n.1v>1){18 13.1U(2n[0],2n[1])}1q{18 13.aA(2n[0])}}).1u(13.1G);13.7F=1p u.8Y({"aF-4k":{1n:"1N","1w":"eg..."},"2l-aF-4k":{1n:"1N","1w":"eg 4T 2H..."},"4N-4k":{1n:"1N","1w":"is b4 2H"},"4t-4N-4k":{1n:"1N","1w":"it b4 2H"}});
169313.eh=f(17(){if(2n.1v>1){18 13.1U(2n[0],2n[1])}1q{18 13.aA(2n[0])}}).1u(13.7F);13.e2()};w.1D.e2=17(){1a D=13;1a E;4B(13.o.2w&&13.o.2w.9a!=="dL"){13.o.7e(13.o.2w)}if(13.o.2w.9a!=="dL"){6e"iu aF iX ix. iY jr 5R."}13.da=13.o.96(13.o.2w.b7(1e),13.o.2w);13.1G.aH(u.1Y(1f.jt||{},7a.1r));13.7F.aH(u.1Y(1f.ju||{},7a.7F));13.1G.dV(13.o.5K("7u-1r")||13.o.5K("7u-bc-1r")||"");13.8W=f(f((13.1b("3K")||"").41().4w(" ")).2K(17(F){18""!==F}));13.9T=f(f((13.1b("4T-3K")||"").41().4w(" ")).2K(17(F){18""!==F}));if(1k===13.1b("8Q-26-2h")){E=13.1b("26");13.1b("26",13.1b("2h"));13.1b("2h",E);E=13.1b("38-1l");13.1b("38-1l",13.1b("38-1R"));13.1b("38-1R",E)}if(6w(3v(13.1b("1l-4b")))){13.1G.1U("1l-4b",13.1G.bl["1l-4b"])}if(6w(3v(13.1b("1R-4b")))){13.1G.1U("1R-4b",13.1G.bl["1R-4b"])}13.1G.1U("2h",1j.3A(13.1b("2h")/13.1b("1R-4b")));13.1G.1U("26",1j.3A(13.1b("26")/13.1b("1l-4b")));if(!13.1G.6y("6x")&&13.1G.6y("5w")){13.1b("6x",13.1b("5w"))}if(!13.1G.6y("8f")&&13.1G.6y("6x")){13.1b("8f",13.1b("6x"))}if(!13.1G.6y("8g")&&13.1G.6y("6x")){13.1b("8g",13.1b("6x"))}13.1G.1U("1Z-1y",13.1b("1Z-1y").4w(","));(u.1c.2I&&"4K"===13.1b("1Z-1V"))&&13.1G.1U("1Z-1V","2L");if("br"===13.1b("1Z-1V")||("4o"==13.1b("1Z")&&f(13.1b("1Z-1y")).3i("2L"))){13.1b("4F",1e)}6w(3v(13.1b("6C-5u"),10))&&13.1G.1U("6C-5u",3);("4o"===13.1b("1Z")&&"4K"===13.1b("1Z-1V"))&&13.1G.1U("4N",1e);!13.1G.4O("4N")&&("4o"===13.1b("1Z")&&"2L"===13.1b("1Z-1V")&&f(13.1b("1Z-1y")).3i("2L"))&&13.1G.1U("4N",1e);("1N"==u.1F(13.1b("4q")))&&("17"==u.1F(1f[13.1b("4q")]))&&13.1G.1U("4q",1f[13.1b("4q")]);("1N"==u.1F(13.1b("5Z")))&&("17"===u.1F(1f[13.1b("5Z")]))&&13.1G.1U("5Z",1f[13.1b("5Z")]);("1N"==u.1F(13.1b("6c")))&&("17"===u.1F(1f[13.1b("6c")]))&&13.1G.1U("6c",1f[13.1b("6c")]);("1N"==u.1F(13.1b("6h")))&&("17"===u.1F(1f[13.1b("6h")]))&&13.1G.1U("6h",1f[13.1b("6h")]);("17"!==u.1F(13.1b("5Z")))&&13.1b.1U("5Z",u.F);("17"!==u.1F(13.1b("6c")))&&13.1b.1U("6c",u.F);("17"!==u.1F(13.1b("6h")))&&13.1b.1U("6h",u.F);2R{if(m){n.3z(u.$1p("2c",{},{2O:"2p",3l:"3o"}).3z(1i.8x(m)));m=2C}}3d(C){}13.o.1t("2L",17(F){F.1V()}).1t("3L",17(F){F.1V()}).1t("cv",17(F){F.1V()}).1H({"-3b-dX-dY":"2p","-3b-2v-jv":"2p","-3b-2M-jw-8y":"jx","64-dX-dY":"2p","64-2v-jy":"2p"});if(1k!==13.1b("3I-2L")){13.o.1t("jz",17(F){F.1V();18 1e})}(17 B(){1a F,G;if(!13.o.2w.5K("4j")){B.1u(13).2q(1P);18}if(!13.8W.1v){F=13.9R(13.o.2w.5K("4j"),13.1b("6R"),13.1b("6d"),1k);13.1G.1U("6R",F.7l);13.1G.1U("6d",F.6S);F=13.9R(13.o.5K("8K")||"",13.1b("4T-6R"),13.1b("4T-6d"));13.1G.1U("4T-6R",F.7l);13.1G.1U("4T-6d",F.6S);if("2i"==13.1b("4T-6d")){13.1G.1U("2l",1e);13.1G.1U("4F",1e)}}!3v(13.1b("1y-1l"),10)&&13.1G.1U("1y-1l",1);!3v(13.1b("1y-1R"),10)&&13.1G.1U("1y-1R",1);3v(13.1b("1y-1l"),10)>3v(13.1b("26"),10)&&13.1G.1U("1y-1l",13.1b("26"));3v(13.1b("1y-1R"),10)>3v(13.1b("2h"),10)&&13.1G.1U("1y-1R",13.1b("2h"));if(1k===13.1b("3t-1l")){13.1b("1y-1l",13.1b("26")+1-13.1b("1y-1l"))}if(1k===13.1b("3t-1R")){13.1b("1y-1R",13.1b("2h")+1-13.1b("1y-1R"))}if(1k===13.1b("8Q-26-2h")){G=13.1b("1y-1l");13.1b("1y-1l",13.1b("1y-1R"));13.1b("1y-1R",G)}
16931p u.7q(13.o.2w,{6b:f(17(J){1a I,L=1e,K=f(17(){if(!L){L=1k;f(13.8R).1X(13)}}).1u(13),H=f(17(){13.62=I.29();I.5o.2F();if(13.62.1d<50){13.62=J.29()}if(f(13.o).29().1d<50){13.o.8Z("21-1d","2p")}5H(13.1b("dZ-6N")){1x"4K":13.o.1H({3l:"6k"}).1t("72",K);1J;1x"2L":13.o.1H({3l:"6k"}).1t("2L",K);1J;1w:K()}}).1u(13);I=f(J.1K.b7(1e)).2u(u.$1p("2c").2k("3g-90-1K").1H({2N:"4g",1z:-9V,1d:10,1g:10,5v:"3o"}).2u(1i.3y));H.2q(1)}).1u(13)})}).1X(13)};w.1D.9R=17(B,O,J,F){1a K={7l:O,6S:J.2y(/(\\/|\\\\)/ig,"")};1a E;1a D;1a H;1a C;1a L=0;1a M=0;1a I=0;1a N="1";1a G="1";if(!B){18 K}B=B.4w("/");D=B.e0();H=D.3w(/^([^#?]+)([\\?#].*)?$/);if(!H){H=["",D,""]}J=H[1];O=(B.4P("/")+"/").2y(/^\\/$/,"");J=J.4w(".");E=(J.1v>1?"."+J.e0():"")+(H[2]||"");J=J.4P(".");F||(F=1e);K.7l="2i"==K.7l?O:K.7l.2y(/\\/$/,"")+"/";if("2i"==K.6S){K.6S=J.2y(/(\\d?\\d{1,})\\-?(\\d?\\d{1,})?$/,17(S,Q,P){1a R;if(2C!==P&&1h!==P&&""!==P){N=Q;G=P;R="{1l}-{1E}"}1q{G=Q;R="{1E}"}18 R})+E}1q{if(C=1p 9P(K.6S.2y(/(\\$|\\?)/g,"\\\\$1").2y(/({1l}|{1E})/g,f(17(Q,P){if("{1l}"===P){M=++L}if("{1E}"===P){I=++L}18"(0{0,}[1-9]{1,"+("{1l}"===P&&13.1G.4O("1l-3E")?13.1b("1l-3E"):"{1E}"===P&&13.1G.4O("1R-3E")?13.1b("1R-3E"):"")+"})"}).1u(13))).es(J+E)){if(M){N=C[M]}if(I){G=C[I]}}1q{if(C=1p 9P(K.6S.2y(/(\\$|\\?)/g,"\\\\$1").2y(/({1l}|{1E})/g,f(17(Q,P){18"(\\\\d{1,"+("{1l}"===P&&13.1G.4O("1l-3E")?13.1b("1l-3E"):"{1E}"===P&&13.1G.4O("1R-3E")?13.1b("1R-3E"):"")+"})"}).1u(13))).es(J+E)){if(M){N=C[M]}if(I){G=C[I]}}}}if(F){if(!13.1G.4O("1l-3E")){13.1G.1U("1l-3E",N.1v)}if(!13.1G.4O("1R-3E")){13.1G.1U("1R-3E",G.1v)}}if("2i"==13.1b("1y-1l")){13.1G.1U("1y-1l",N.9N())}if("2i"==13.1b("1y-1R")){13.1G.1U("1y-1R",G.9N())}18 K};w.1D.bA=17(E,B,D){17 C(F,G){18 4Z(1j.21(G-(""+F).1v+1,0)).4P("0")+F}D=D===1k?"4T-":"";if(13.8W.1v){if(D&&!13.9T.1v){18""}18 13[(D)?"9T":"8W"][(E-1)*13.1b("2h")+B-1]}E=C(13.1b("1l-1y-5i")+(E-1)*13.1b("1l-4b"),13.1b("1l-3E"));B=C(13.1b("1R-1y-5i")+(B-1)*13.1b("1R-4b"),13.1b("1R-3E"));18 t(13.1b(D+"6R")+13.1b(D+"6d").4w("{1l}").4P(E).4w("{1E}").4P(B))};w.1D.dw=17(F,E,D){1a B=1h,C="";D||(D="4i");B=13.aK(F,E,D);B&&(C=B.37);18 C};w.1D.aK=17(E,D,C){1a B=1h,F;C||(C="4i");if(1k===13.1b("8Q-26-2h")){F=E;E=D;D=F}(1k===13.1b("3t-1l"))&&(E=13.1b("26")+1-E);(1k===13.1b("3t-1R"))&&(D=13.1b("2h")+1-D);B={37:13.bA(E,D,"2l"===C||"4n"===C),1M:0,1z:0};18 B||1h};w.1D.ez=17(D,C,B){if(f(13.5m[C]).2K(17(E){18("4i"!==D||13.6a||E.1l===13.1b("1y-1l")-1)},13).1v){13.5b.4b(B*13.5b.5u)}};w.1D.bH=17(E,D,H){1a G=f([]),B,C=1,F=17(J,I){18 J-I};13.6f[E]--;if(13.6G){C=13.7L.37.2T(\'37("\'+H.1K.5K("4j")+\'")\');13.7L.2N.2T("eG -eD");if(!l||"2l"!==E){13.8m=13.7L.37.4P(",")}}if(!13.6G&&!13.5m[D].eA){if(!u.1c.2U.3h){13.aV.3z(H.1K)}13.5m[D].eA=1k}f(f(13.5m[D]).2K(17(I){18 I.1n===E})).3q(17(K,J,I){K.1K.cA=I.1v;K.1K.eN=C-1;K.1K.8m="37(\'"+H.1K.5K("4j")+"\')";K.1K.6j=1k;K.1K.5T=H.5c;K.1K.d5=H.1K;G.3i(K.1l)||G.2T(K.1l)});13.ez(E,D,1);if("4i"==E){f(G).3q(17(I){if(!f(13.3K[E][I]).2K(17(J){18 J.6j!==1k}).1v){13.4c.7i++;13.4c.5y.2T(I);13.4c.5y.ex(F);13.1I&&13.7z(13.2x.1l,13.2x.1E);if((l&&13.6G)||13.6a?(!13.4J[E].1v&&0===13.6f[E]):I===13.1b("1y-1l")-1){4C(17(){13.5b.5f();13.2W()}.1u(13),1)}}},13)}if(!(l&&13.6G)&&13.48&&"2l"==E){13.5I(13.2x.1l,13.2x.1E)}if(!13.4J[E].1v){if((l&&13.6G)&&13.48&&"2l"==E&&0===13.6f[E]){13.8m=13.7L.37.4P(",");13.5I(13.2x.1l,13.2x.1E)}18}if(13.6f[E]<13.eJ&&13.4J[E].1v){13.6f[E]++;D=13.4J[E].6g();1p u.7q(D,{7f:13.7K,65:13.bH.1u(13,E,D)})}};w.1D.bj=17(E,J,C){E||(E="4i");1a G=13.1b("2h"),K=13.1b("26"),D=0,H,F,I,B;F=J;H=C;13.3K[E]=1p 4Z(K);do{13.3K[E][F-1]=1p 4Z(G);do{I=13.aK(F,H,E);if(!13.4J[E].3i(I.37)){("4i"==E&&(F==J||13.6a))&&D++;13.4J[E].2T(I.37)}I.1M*=-1;I.1z*=-1;I.eN=0;I.cA=1;I.5T=1e;I.6j=1e;13.3K[E][F-1][H-1]=I;13.5m[I.37]||(13.5m[I.37]=f([]));13.5m[I.37].2T({1l:F-1,1n:E,1K:13.3K[E][F-1][H-1]});--H<1&&(H=G)}4B(H!=C);--F<1&&(F=K)}4B(F!=J);if(13.4J[E].1v===K*G){13.7K=1e}13.5b.5u=1P/("4i"==E?D:13.4J[E].1v);13.5b.5n(E==="4i"?"8k":"2i",(13.7K||1P!==13.5b.5u)?1k:1e);13.eO[E]=u.4E();4B(13.6f[E]<G&&13.4J[E].1v){B=13.4J[E].6g();1p u.7q(B,{7f:13.7K,65:13.bH.1u(13,E,B),bE:f(17(){if(1P===13.5b.5u){13.5b.jA(1e)}}).1u(13)});13.6f[E]++}};w.1D.8R=17(D){1a C={},B=1h;if(!D&&(13.1b("2l")||13.1b("4F"))){1p u.7q(13.bA(1,1,1k),{6b:f(17(F){13.51=F.29();13.2Q=F.29()}).1u(13),5h:f(17(F){13.1G.1U("2l",1e);13.1G.1U("4F",1e)}).1u(13),65:f(17(F){13.8R(1k)}).1u(13)});18}13.6a=(1===13.1b("2h")&&13.1b("26")>1);13.1W=f(13.o.2w).29();if(0===13.1W.1g){13.8R.1u(13,1k).2q(eH);18}C={id:"3j-5q-"+1j.3A(1j.7g()*u.4E())};B=u.3Z("#"+C.id+":eE",{"5s-49":(13.62.1g/13.62.1d)*1P+"% !1T"},p);if(B>-1){13.8G.2T(B)}13.3f=u.$1p("2c",C).2k(c+"-8U").1H({2O:"4v-3G",5v:"3o",2N:"b8","4k-4I":"8k",1d:"1P%","21-1d":13.62.1d}).eK(13.o.1H({2O:"4v-3G",3l:"6k",5v:"3o",2N:"b8","5E-4I":"5B","4k-jB":"2p",8y:"#jC","6A-9F":"9t-9F"}));13.o.2w.1H({1d:"1P%"});if(u.1c.3J&&u.1c.2e<9){13.o.1H({"6A-5R":"2p",2K:\'bz:bv.bu.jD(js="7M", 4j="\'+t(13.o.2w.5K("4j"))+\'")\'})}13.o.1H({"aW-3l":"3o",59:"9q(0,0,0)"});13.1W=f(13.o).29();if(u.1c.2U.3h){13.3P=u.$1p("3h");13.99=13.3P.7N("2d");13.4M=u.$1p("3h");13.bC=13.4M.7N("2d");13.3h=u.$1p("3h").1H({2O:"3G",1d:"1P%",1g:"1P%",5s:0,6E:0,2N:"4g",1z:0,49:0,1M:0,3I:0,"aW-3l":"3o",59:"9q(0,0,0)"}).2u(13.o);13.bD=13.3h.7N("2d");13.3h.1d=13.1W.1d;13.3h.1g=13.1W.1g}1q{13.bs=u.$1p("1K",{4j:"7u:5R/jE;jG,jH///jI"}).1H({2O:"3G",1d:"1P%",3s:0,5s:0,6E:0,2N:"4g",1z:0,49:0,1M:0,3I:0,"aW-3l":"3o",59:"9q(0,0,0)"}).2u(13.o)}13.8a=13.o.6V();if(5===u.1c.2e||"3s-5q"===(13.o.2D("5q-7P")||13.o.2D("-7O-5q-7P"))){13.5L.x=2j(13.o.2D("3s-1M-1d")||"0")+2j(13.o.2D("3s-3I-1d")||"0");13.5L.y=2j(13.o.2D("3s-1z-1d")||"0")+2j(13.o.2D("3s-49-1d")||"0")}if(5===u.1c.2e){13.3f.1H({1d:13.62.1d+13.5L.x,2O:"4v"})}13.24=13.3f.29();13.2b=13.3f.6V();13.6q=17(){3r(13.7H);13.7H=f(13.dr).1u(13).2q(10)}.1u(13);f(1f).1t("e9",13.6q);if(!u.1c.2I||!u.1c.4t){13.3f.2k("aZ");13.o.2k("aZ")}if(13.6a){13.o.2k("3j-2H-y")}1q{if(13.1b("26")===1&&13.1b("2h")>1){13.o.2k("3j-2H-x")}}
1693if("2C"!==97(h)){1a E=1j.3A(1j.7g()*u.4E());f(13.o).2Y("cr",u.$1p(((1j.3A(1j.7g()*jJ)+1)%2)?"8w":"2c").8o({id:"bt"+E}).1H({2O:"4v",5v:"3o",3l:"6k",8y:h[1],ec:h[2],dU:h[3],jK:"jL-jM",2N:"4g",1z:8,1M:8,6E:"2i",1d:"2i",jN:"3I","dO-1g":"jO",9d:eb}).dT(v(h[0])));if(f(f(13.o).2f("cr")).9c("a")[0]){f(f(f(13.o).2f("cr")).9c("a")[0]).1t("2M 2g",17(F){F.5d();1f.b2(13.8K)}).8o({id:"e7"+E})}u.3Z("#"+C.id+" > a > #"+("bt"+E)+",#"+C.id+" > a > #"+("bt"+E)+" > #"+("e7"+E),{2O:"4v !1T;",3l:"6k !1T;",9d:"eb !1T;",ec:h[2]+" !1T;",8y:h[1]+" !1T;"},"3j-ei-8F",1k)}13.5b=1p g(13.o);13.bj("4i",13.1b("1y-1l"),13.1b("1y-1R"))};w.1D.2W=17(D){if(!D){13.1I={1l:1,1E:1,5z:{1l:1,1E:1}};13.3n(13.1b("1y-1l")-1,13.1b("1y-1R")-1);13.2W.1u(13,1k).2q(6n);18}13.o.2w.6s(0);1a M={x:0,y:0};1a K={x:0,y:0};1a I=13;13.3c={x:13.1W.1d/13.1b("2h")/1j.3x(13.1b("8f")/50,2),y:13.1W.1g/13.1b("26")/1j.3x(13.1b("8g")/50,2)};1a P=1e;1a H=1e;1a Q=1e;1a R=1e;1a L={66:1e};1a O=1h;1a G=1h;1a J=1e;1a C=(I.6a||(I.1b("38-1l")&&!I.1b("38-1R")))?"26":"2h";if(!13.1G.4O("1Z-5w")||!cx(13.1b("1Z-5w"))){13.1b("1Z-5w",1j.4W(e*3v(13.1b(C),10),13.1G.bl["1Z-5w"]))}13.1B={7Y:1e,4o:("4o"==13.1b("1Z")),3O:("br"!=13.1b("1Z-1V")),34:1h,be:0,b1:(17(S,T){5H(S){1x"bp":18 T;1x"dN":18 2*T;1x"4o":18 8P.cF;1w:18 0}})(13.1b("1Z"),13.1b(C)),4u:0,8q:0,4Q:/^4Q\\-(jP)?9e$/.2P(13.1b("1Z-3W")),fn:(17(T,S){if(13.1B.4Q){S*=(++13.1B.8q%13.1b(C)?-1:0)*(1j.3A(13.1B.8q/13.1b(C))%2||-1)}if("26"===C){13.3n(13.2x.1l+S,13.2x.1E)}1q{13.3n(13.2x.1l,13.2x.1E+S)}(--13.1B.4u>0)&&(13.1B.34=13.1B.fn.2q(T))||13.1B.bf()}).1u(13,13.1b("1Z-5w")/13.1b(C),(/^(4Q\\-)?bd$/.2P(13.1b("1Z-3W"))?-1:1)),6Q:17(S){13.4u=S||13.b1;13.8q=("26"===C)?I.2x.1l:I.2x.1E;3r(13.34);if(13.4u>0){13.34=13.fn.2q(1);13.be++;if(I.3k){I.5F()}}},6p:17(S){13.34&&3r(13.34);if(13.4u>0){13.4u=0;13.bf(S)}},bf:17(S){if(1k!==S&&13.1B.be<2&&13.1b("26")*13.1b("2h")>1&&13.1b("4N")){13.at()}}.1u(13)};13.o.1H({dI:"2p"});13.8L=17(Y){if((/2v/i).2P(Y.1n)&&Y.3H.1v>1){18 1k}if(H||R){if(!R){E(Y);P=1k}1q{18 1k}}1a S=Y.2z(),aa=S.x-M.x,Z=S.y-M.y,W=aa>0?1j.3A(aa/I.3c.x):1j.6M(aa/I.3c.x),V=Z>0?1j.3A(Z/I.3c.y):1j.6M(Z/I.3c.y);1a U=1j.2a(aa);1a T=1j.2a(Z);1a X=f(Y).7I()?S.x>44&&S.x<1f.dG-44:1k;if(I.1b("2H")==="4K"||I.1b("2H")==="6u"&&P){3r(O);if(I.1b("2h")>1&&U>0&&U>=T||I.1b("26")>1&&T>0&&T>U&&X){f(Y).3N()}1q{18 1k}Q=1k;if(I.1b("26")>1&&1j.2a(Z)>=I.3c.y){M.y=M.y+V*I.3c.y;I.3n(I.1I.1l+V,I.1I.1E)}if(I.1b("2h")>1&&I.1b("26")<=1){if(1j.2a(aa)>=I.3c.x){M.x=M.x+W*I.3c.x;M.y=S.y;I.3n(I.1I.1l,I.1I.1E+(0-W))}1q{if(1j.2a(Z)>=I.3c.y){M.x=S.x;M.y=M.y+V*I.3c.y;I.3n(I.1I.1l,I.1I.1E+(0-V))}}}1q{if(I.1b("2h")>1&&1j.2a(aa)>=I.3c.x){M.x=M.x+W*I.3c.x;I.3n(I.1I.1l,I.1I.1E+(0-W))}}O=4C(17(ab){13.67=ab;13.66=u.4E()}.1u(L,S),50)}18 1e};if(13.1B.3O){f(13.1b("2H")=="6u"?1i:13.o).1t(k.4y,13.8L);if(u.1c.2I){f(13.1b("2H")=="6u"?1i:13.o).1t("6m",13.8L)}}13.cl=17(S){if(S.1S&&("2v"===S.1S||S.1S===S.4s)){18 1k}if(H||R){H&&I.1C.2c.5n()&&I.1C.9u(S);18 1e}if(I.1B.4u>0&&"4K"==I.1b("1Z-1V")){I.1B.6p()}1q{!I.1B.7Y&&f(I.1b("1Z-1y")).3i("4K")&&(I.1B.7Y=!I.1B.4o)&&I.1B.6Q()}M=S.2z();"4K"==I.1b("2H")&&(I.5W=1k);18 1e};if(13.1B.3O){13.o.1t(k.72,13.cl)}13.cm=17(S){if(S.1S&&("2v"===S.1S||S.1S===S.4s)){18 1k}if(I.o.bg(S.78())){18 1k}if(I.1B.4o&&"4K"==I.1b("1Z-1V")){if(H){if(I.1C.2c.bg(S.78())){18 1k}E(S)}I.1B.6Q()}1q{}18 1e};if(13.1B.3O){13.o.1t(k.6T,13.cm)}13.5l=17(T){1a S=T.7I();if(3==T.5a()){18 1k}if(I.3k){I.5F()}if((/2v/i).2P(T.1n)&&T.3H.1v>1){18 1k}M=T.2z();K=T.2z();K.bh=1e;if(H){if(S){I.1C.5O.x=I.1C.x+I.24.1d/I.1C.3m.x/2-(I.2b.3I-T.2z().x);I.1C.5O.y=I.1C.y+I.24.1g/I.1C.3m.y/2-(I.2b.49-T.2z().y)}}L.67=T.2z();L.66=u.4E();I.1b("2H")=="6u"&&(M=T.2z());if(H||R){!S&&(R=1e);18 1k}if(I.1B.4u>0&&"2L"==I.1b("1Z-1V")){K.bh=1k;I.1B.6p();T.3N()}P=1k;Q=1e;I.1b("2H")=="6u"&&(I.5W=1k)&&(M=T.2z());18 1e};if(13.1B.3O){if(!u.1c.4t||!u.1c.2I){13.o.1t(k.3X,13.5l)}if(u.1c.2I&&13.5l){13.o.1t("4R",13.5l)}}13.8X=17(T){1a S=(T.1S&&("2v"===T.1S||T.1S===T.4s))||(/2v/i).2P(T.1n);if(3==T.5a()){18 1k}if(H||R||!P){18}L.cp=Q;I.b0(L,T.2z(),M);P=1e;Q=1e};if(13.1B.3O){f(1i).1t(k.3C,13.8X);if(u.1c.2I){f(1i).1t("4x",13.8X)}f(1i).1t(k.6T,17(S){if(1h===S.78()||1i.5k===S.78()){P=1e}})}13.5Q=17(U){1a S=(U.1S&&("2v"===U.1S||U.1S===U.4s))||(/2v/i).2P(U.1n),T=U.2z();if(0==1j.2a(T.x-K.x)&&0==1j.2a(T.y-K.y)){if(!H&&!R){if(K.bh){18}if(!I.1B.7Y&&I.1B.4u<1&&f(I.1b("1Z-1y")).3i("2L")){I.1B.7Y=!I.1B.4o;I.1B.6Q();18 1e}}if(I.1b("4F")){Q=1e;E(U)}18 1e}if(H||R||!P){18 1e}L.cp=Q;I.b0(L,U.2z(),M);P=1e;Q=1e;18 1e};if(13.1B.3O){if(!u.1c.4t||!u.1c.2I){13.o.1t(k.3C,13.5Q)}if(u.1c.2I){13.o.1t("4x",13.5Q)}}if(13.1B.3O&&13.1b("6C-5u")>0){13.o.1t("4m",17(S){1a T;if(I.1B&&I.1B.4u>
16930){I.1B.6p(1k)}if(H||R||I.1B.4u>0){18}f(S).1V();T=1j.2a(S.79)<1j.2a(S.7b)?S.7b:S.79;T=S.5p?((T/1j.2a(T))*I.1b("6C-5u")):(T*(8/54));3r(G);if(!J){J=1k;I.5W=1k}if(I.6a||(I.1b("38-1l")&&!I.1b("38-1R"))){I.3n(I.1I.1l+(S.5p?-1:1)*T,I.1I.1E,S.5p,6n)}1q{if(S.5p||I.1b("26")<2||1j.2a(S.79)<1j.2a(S.7b)){I.3n(I.1I.1l,I.1I.1E+T,S.5p,6n)}1q{I.3n(I.1I.1l+(S.5p?-1:1)*T,I.1I.1E,S.5p,6n)}}G=4C(17(U){J=1e},5x)})}if(13.1B.3O&&!("4o"==13.1b("1Z")&&f(13.1b("1Z-1y")).3i("2L"))&&13.1b("4F")){H=1e;if("5P"!=13.1b("1C-57")){1a B=""+13.1b("1C-1d");if(B.3w(/\\%$/i)){B=1j.52(13.1W.1d*3v(B)/1P)}1q{B=3v(B)}}13.o.2k("4n-in");13.1C={2c:u.$1p("2c",1h,{2N:"4g","z-5i":cu,1M:0,1z:0,1d:(B||13.24.1d)+"5N",1g:(B||13.24.1g)+"5N","6A-9F":"9t-9F","3s-dk":("ba"!=I.1b("1C-57"))?0:B/2}).1t("3L cv",17(S){S.1V()}),5R:1h,3m:{x:0,y:0},cw:{x:0,y:0},5O:{x:0,y:0},1W:{1d:(B||13.24.1d),1g:(B||13.24.1g)},7G:0,81:0,56:1h,5G:1h,9j:1h,2H:13,1y:17(T,U,S){if(!I.8d){18}if("5P"==I.1b("1C-57")){13.3m.x=I.51.1d/I.24.1d;13.3m.y=I.51.1g/I.24.1g}1q{13.3m.x=I.51.1d/I.1W.1d;13.3m.y=I.51.1g/I.1W.1g}H=1k;P=1e;if("5P"==I.1b("1C-57")){13.1W=I.51;13.2c.1H({1d:"1P%",1g:"1P%"})}13.5R=f(T.1K);13.5R.1H({1d:I.51.1d,1g:I.51.1g}).2u(13.2c);13.2c.6s(0);13.2c.2u(I.48?I.1Q:I.3f);I.o.7p("4n-in");13.9u(1h,U,S);13.56.1V();13.56.1r.43=bn;13.56.1r.5g=17(){I.1b("6c").1X(1h,I.o)};13.56.1y({3F:[0,1]});13.c2()},1V:17(S){13.c3();H=1e;R=1e;13.56.1V();13.56.1r.5g=17(){3r(I.1C.5G);I.1C.5G=1h;I.1C.5R.2F();I.1C.2c.2F();I.1C.cw={x:0,y:0};I.1C.5O={x:0,y:0};I.1C.7G=0;I.1C.81=0;I.o.2k("4n-in");I.1b("6h").1X(1h,I.o)};13.56.1r.43=5x;13.56.1y({3F:[13.56.el.2D("3F"),0]})},9u:17(W,V,U){if(!H){18}1a T,X,S=U||(W&&W.7I())||1e;if(W){if(S&&!W.6U()){18}f(W).3N()}V=V||W.2z();if(V.x>I.2b.3I||V.x<I.2b.1M||V.y>I.2b.49||V.y<I.2b.1z){18}if(W&&S){W.1V()}13.cy=S;if("5P"===I.1b("1C-57")){V.x-=13.5O.x;V.y-=13.5O.y;if(13.3m.x<=1){T=I.24.1d/2;T-=I.24.1d/13.3m.x/2}1q{T=(W&&S)?(I.2b.3I-V.x):V.x-I.2b.1M;T-=I.24.1d/13.3m.x/2;T=1j.21(0,1j.4W(T,I.24.1d-I.24.1d/13.3m.x))}if(13.3m.y<=1){X=I.24.1g/2;X-=I.24.1g/13.3m.y/2}1q{X=(W&&S)?(I.2b.49-V.y):V.y-I.2b.1z;X-=I.24.1g/13.3m.y/2;X=1j.21(0,1j.4W(X,I.24.1g-I.24.1g/13.3m.y))}}1q{T=V.x;X=V.y}13.x=T;13.y=X;if(!13.5G){13.5t(1)}},5t:17(V){1a Y,X,aa,Z,W,U,T,S;cx(V)||(V=0.2);if("5P"!=I.1b("1C-57")){3r(13.5G);13.5G=1h;Y=13.x;X=13.y;W=1j.52(Y-13.1W.1d/2)-I.2b.1M;U=1j.52(X-13.1W.1g/2)-I.2b.1z;if(13.cy){U-=13.1W.1g/2+22}T=1j.52(0-((Y-I.8a.1M-I.5L.x)*13.3m.x-(13.1W.1d/2)));S=1j.52(0-((X-I.8a.1z-I.5L.y)*13.3m.y-(13.1W.1g/2)))}1q{aa=1j.6M((13.x-13.7G)*V);Z=1j.6M((13.y-13.81)*V);if(!aa&&!Z){3r(13.5G);13.5G=1h;18}13.7G+=aa;13.81+=Z;W=0;U=0;T=-(13.7G*(13.1W.1d/I.24.1d));S=-(13.81*(13.1W.1g/I.24.1g))}if(H){13.2c.1H({1M:W,1z:U});13.5R.1H(u.1c.2U.59?9===u.1c.2e||u.1c.9o?{1z:0,1M:0,59:"jQ("+T+"5N,"+S+"5N)"}:{1z:0,1M:0,59:"9q("+T+"5N,"+S+"5N, 0)"}:{1M:T,1z:S})}if("5P"==I.1b("1C-57")){13.5G=4C(13.c5,40)}},c2:17(){1a S=I.48?I.1Q:I.3f;if(I.1B.3O){if(!u.1c.4t||!u.1c.2I){S.1t(k.3X,I.5l);S.1t(k.3C,I.5Q)}S.1t(k.4y,13.7D);if(u.1c.2I){S.1t("4R",I.5l);S.1t("4x",I.5Q);S.1t("6m",13.7D)}}},c3:17(){1a S=I.48?I.1Q:I.3f;if(I.1B.3O){if(!u.1c.4t||!u.1c.2I){S.1O(k.3X,I.5l);S.1O(k.3C,I.5Q)}S.1O(k.4y,13.7D);if(u.1c.2I){S.1O("4R",I.5l);S.1O("4x",I.5Q);S.1O("6m",13.7D)}}}};13.1C.56=1p u.3e(13.1C.2c);13.1C.7D=13.1C.9u.3Y(13.1C);13.1C.c5=13.1C.5t.1u(13.1C);13.1C.2c.2k("3j-1C").2k("3j-1C-"+13.1b("1C-57"));if("5P"!=13.1b("1C-57")){I.1C.2c.1t("4m",17(U){1a T=U.5p?5:8/54,S;f(U).1V();T=(1P+T*1j.2a(U.5O))/1P;if(U.5O<0){T=1/T}S=1j.21(1P,1j.52(I.1C.1W.1d*T));S=1j.4W(S,I.1W.1d);13.1H({1d:S,1g:S,"3s-dk":("ba"!=I.1b("1C-57"))?0:S/2});I.1C.1W=13.29();I.1C.5t(1)})}1a F=13.9C=u.$1p("2c").2k("3j-1C-9C-jR").3z(u.$1p("2c").2k("3j-9C")).1t(k.3X+" "+k.4y,17(S){S.5d()});F.b3=17(S){if(S){F.34=4C(17(){I.o.3z(F)},bn)}1q{if(F.34){3r(F.34);F.34=1e}(I.o===13.5o)&&I.o.7e(F)}};17 E(X,T){1a W,V,U,S=1e;if(Q){18}if(!I.8d){18}if(u.1F(X)=="1s"){S=(X.1S&&("2v"===X.1S||X.1S===X.4s))||(/2v/i).2P(X.1n);if((U=f(X.9E())).7t("7X")){if(H&&U.7t("4F")){18}if(!H&&U.7t("2H")){18}}X.1V()}if(H&&T){18}if(!H&&1e==T){18}if(H&&!T){I.1C.1V(u.1F(X)=="1s"?X.2z():1h);U&&U.7t("2H")&&I.1B.4o&&I.1B.6Q()}1q{W=I.7z(I.1I.1l,I.1I.1E);V=(u.1F(X)=="1s")?X.2z():X;F&&F.b3(1k);R=1k;P=1e;I.1B.6p();1p u.7q(I.dw(W.1l+1,W.1E+1,"4n"),{6b:f(17(Z,Y){I.6q();I.1C.1y(Y,V,Z)}).1u(1h,S),5h:17(){R=1e},65:17(){F&&F.b3(1e)}})}18 1e}13.by=E.1u(13,{x:I.2b.1M+(I.2b.3I-I.2b.1M)/2,y:I.2b.1z+(I.2b.49-I.2b.1z)/2},1k);13.3T=E.1u(13,1h,1e)}if(13.1B.3O&&13.1b("2l")){13.6r=u.$1p("3u").2k("3j-7X 3j-7X-2l-b2").1t(k.3X,17(S){S.5d()}).1t("2L",17(S){if(3==S.5a()){18 1k}S.1V();13.a7();18 1e}.3Y(13)).2u(13.3f);u.1c.2I&&13.6r.1t("4R",17(S){S.5d()})}13.6q();if(13.1B.b1>0&&f(13.1b("1Z-1y")).3i("6J")){13.1B.6Q()}1q{13.3n(13.2x.1l,13.2x.1E);if(13.1b("26")*13.1b("2h")>
16931&&13.1b("4N")&&13.1B.3O){13.at()}}1a N=f(13.o).2f("cr");if(N){f(13.o).3z(N)}("17"==u.1F(13.1b("4q")))&&13.1b("4q").1X(1h,13.o)};w.1D.b0=17(F,E,G){if(!13.1b("cI")||!F.66){18}1a D=u.4E()-F.66;F.66=1e;if(D<=0){18}if(D<50){D=50}1a C=0.jF;3c=13.3c,cK=13.1b("38-1l")&&13.4c.7i==13.1b("26"),jq=13.1b("38-1R"),dx=E.x-F.67.x,dy=E.y-F.67.y;17 B(K){1a L=K=="x"?dx:dy;1a H=L/D;1a J=(H/2)*(H/C);1a I;if(K=="x"){if(1j.2a(dx)<1j.2a(dy)){I=J-(F.67.x-G.x)}1q{I=1j.2a(L+(L>0?J:(0-J)))-1j.2a(F.67.x-G.x);I=L>0?(0-I):I}}1q{if(!cK||1j.2a(dx)>=1j.2a(dy)){I=J-(F.67.y-G.y)}1q{I=1j.2a(L+(L>0?J:(0-J)))-1j.2a(F.67.y-G.y);I=L>0?(0-I):I}}I/=3c[K];18 I>0?1j.3A(I):1j.6M(I)}13.3n(13.1I.1l+B("y"),13.1I.1E+B("x"),1k,2*1j.2a(1j.3A(1j.21(1j.2a(dx),1j.2a(dy))/D/C)))};w.1D.3n=17(E,C,B,D){13.1I.1l=E;13.1I.1E=C;13.fx&&13.fx.1V();if(!B){13.1I.5z.1l=E;13.1I.5z.1E=C;13.5I(E,C);18}13.fx=1p u.3e(13.o,{43:D,35:u.3e.6v.cQ,aY:(17(F){13.1I.5z.1E=F.1E;13.1I.5z.1l=F.1l;13.5I(F.1l,F.1E)}).1u(13)}).1y({1E:[13.1I.5z.1E,C],1l:[13.1I.5z.1l,E]})};w.1D.7z=17(E,C){1a B,D;E=1j.52(E);C=1j.52(C);if(13.1b("38-1l")){E%=13.1b("26");E<0&&(E+=13.1b("26"))}if(13.4c.5y.3i(E)){E=13.4c.5y.4p(E)}1q{1a B=(E-13.2x.1l)/1j.2a(E-13.2x.1l);1a D=13.4c.5y.2K(17(F){18(F-E)*B>0});E=D.1v?13.4c.5y.4p(D[(B<0)?D.1v-1:0]):(!13.1b("38-1l")||13.4c.7i<13.1b("26"))?13.4c.5y.4p(13.2x.1l):(B<0?13.4c.7i-1:0)}if(!13.1b("38-1R")&&(!13.1B||13.1B.4u<1)){C>(13.1b("2h")-1)&&(C=13.1b("2h")-1);C<0&&(C=0)}C%=13.1b("2h");C<0&&(C+=13.1b("2h"));(!13.1b("38-1R"))&&(13.1I.1E=C);13.2x={1l:13.4c.5y[E],1E:C};if(!13.1b("38-1l")||13.4c.7i<13.1b("26")){13.1I.1l=13.2x.1l}18 u.5j(13.2x)};w.1D.5I=17(F,B){1a D=13.7z(F,B),E,C,G;F=D.1l;B=D.1E;E=13.3K.4i[F][B];if(13.48&&!(l&&13.6G&&13.4J.2l.1v)&&13.3K.2l[F]&&13.3K.2l[F][B]&&13.3K.2l[F][B].5T){E=13.3K.2l[F][B]}if(!E.5T){18}if(u.1c.2U.3h){13.bR(E.d5)}1q{13.bs.4j=E.37}if(13.5W&&(!13.8t||13.8t.1l!=F||13.8t.1E!=B)){13.1b("5Z").1X(1h,13.o);13.5W=1e;if(13.3k){13.5F()}}13.8t=D};w.1D.bR=17(D){1a C=0,H=13.1W.1d,F=13.1W.1g,B=D.83,G=D.bF;H=1j.4W(H*2,B);F=1j.4W(F*2,G);C=1j.6M(1j.8j(1j.21(D.83/H,D.bF/F))/1j.jd);13.3P.1d=B;13.3P.1g=G;13.4M.1d=B;13.4M.1g=G;13.99.93(D,0,0,B,G);1L(1a E=C-1;E>0;E--){13.4M.1d*=0.5;13.4M.1g*=0.5;13.bC.93(13.3P,0,0,13.3P.1d,13.3P.1g,0,0,13.4M.1d,13.4M.1g);13.3P.1d*=0.5;13.3P.1g*=0.5;13.99.93(13.4M,0,0,13.4M.1d,13.4M.1g,0,0,13.3P.1d,13.3P.1g)}13.3h.1d=H;13.3h.1g=F;13.bD.93(13.3P,0,0,13.3P.1d,13.3P.1g,0,0,13.3h.1d,13.3h.1g)};w.1D.dr=17(){1a B,D,C;13.8a=13.o.6V();13.24=13.3f.29();13.2b=13.3f.6V();if(13.48){D=f(1i).29();C=13.2Q.1d/13.2Q.1g;if(u.1c.3J&&u.1c.7R){13.1Q.1H({1d:D.1d,1g:D.1g})}13.24=13.1Q.29();13.2b=13.1Q.6V();13.o.1H(13.dE(D))}B=f(13.o).29();if(13.48&&11==u.1c.2e&&1f.3M!==1f.1f){13.24.1d=13.1Q.91;13.24.1g=13.1Q.bB;B.1d=13.o.91;B.1g=13.o.bB}if(B.1d<=0||B.1g<=0){18}B.1d-=13.5L.x;B.1g-=13.5L.y;13.1W=B;if(13.1b("4F")){if((13.1W.1d*13.1W.1g)/(13.51.1d*13.51.1g)>0.8){13.3T&&13.3T();13.8d=1e;13.o.7p("4n-in")}1q{13.8d=1k;13.o.2k("4n-in")}}13.3c={x:13.1W.1d/13.1b("2h")/1j.3x(13.1b("8f")/50,2),y:13.1W.1g/13.1b("26")/1j.3x(13.1b("8g")/50,2)};if(13.1I){13.5I(13.1I.1l,13.1I.1E)}};w.1D.2H=17(B){(13.3T)&&13.3T();if(13.3k){13.5F()}13.5W=1k;(B||1h)?13.3n(13.1I.1l,13.1I.1E+B,1k,1P*(1j.8j(1j.2a(B)/1j.8j(2)))):13.1B.6Q(8P.cF)};w.1D.bw=17(B,C){if(!B){B=0}if(!C){C=0}if(!B&&!C){18}if(13.3T){13.3T()}if(13.3k){13.5F()}13.5W=1k;13.3n(13.1I.1l+C,13.1I.1E+B,1k,1P*(1j.8j(1j.21(1j.2a(B),1j.2a(C))/1j.8j(2))))};w.1D.jp=17(B){13.bw(B,0)};w.1D.j1=17(B){13.bw(0,B)};w.1D.4F=17(B){(u.2Z(B)?B:1k)?13.by&&13.by():13.3T&&13.3T()};w.1D.1V=17(){1a D,B,E,C=1f.cn||1f.cc||1h;if(13.1B&&13.1B.4u>0){13.1B.6p()}if(13.48){13.o.2w.1H({});13.o.1H({1d:"",1g:"1P%","21-1g":"","21-1d":""}).2u(13.3f)}if(13.1Q){if(13.6L){f(1f).1O("92",13.6L)}if(13.8n){3r(13.8n)}13.1Q.6t();13.1Q=1h}if(13.1C&&13.1C.2c){13.1C.2c.6t();13.1C=1h}if(13.6r){13.6r.6t();13.6r=1h}f(1f).1O("e9",13.6q);3r(13.7H);13.7H=1h;13.o.bx();4B(13.o.2w!=13.o.bX){13.o.7e(13.o.bX)}if(13.1b("2H")=="6u"){f(1i).1O([k.4y,"6m"],13.8L)}f(1i).1O([k.3C,k.6T,"4x"],13.8X);13.o.96(13.da,13.o.2w);13.o.8Z("6A","");13.o.7p("4n-in");if(13.3f){13.3f.5o.96(13.o,13.3f);13.3f.6t();13.3f=1h}1L(D=0,B=13.8G.1v;D<B;D++){u.de("bc-8F",13.8G[D])}f(13.aV).2F();if(C){1L(E in 13.5m){f(13.5m[E]).3q(17(G){1a F=G.1K.8m.2y(/^37\\s*\\(\\s*["\']?/,"").2y(/["\']?\\s*\\)$/,"");if(/^d1\\:/.2P(F)){C.j2(F)}})}}};w.1D.a7=17(){if(!13.1B.3O||!13.1b("2l")){18}13.3T&&13.3T();1a E=f(1i).29(),D=f(1f).75(),C=f(1i).cG(),B=1f.3M!==1f.1f;if(B){if(C.1g<=E.1g){D.y=13.2b.1z}E.1g=1j.4W(E.1g,13.2Q.1g);if(E.1g+D.y>C.1g){E.1d-=u.1c.aX}}if(!13.1Q){13.1Q=u.$1p("2c",{},{2O:"3G",5v:"3o",2N:"4g",9d:j3,"4k-4I":"8k","5E-4I":"5B",3F:1,1d:13.24.1d,1g:13.24.1g,1z:13.2b.1z,1M:13.2b.1M}).2k(c+"-2l");if(!u.1c.2I||!u.1c.4t){13.1Q.2k("aZ")}if(u.1c.2e){13.1Q.2k("3g-1L-ie"+u.1c.2e)}if(u.1c.2e&&u.1c.2e<8){13.1Q.3z(u.$1p("8w",1h,{2O:"4v-3G",1g:"1P%",1d:1,"5E-4I":"5B"}))}13.dE=17(I){1a F,H,G=13.2Q.1d/13.2Q.1g;F=1j.4W(13.2Q.1d,I.1d*0.98);H=1j.4W(13.2Q.1g,I.1g*0.98);if(F/H>G){F=H*G}1q{if(F/H<=G){H=F/G}}18{1d:1j.3A(F),1g:1j.3A(H)}};if(u.1c.3J&&u.1c.7R){13.6L=17(){1a F=f(1f).75(),G=13.1Q.b6();13.8n&&3r(13.8n);13.8n=4C(17(){1p u.3e(13.1Q,{43:j4}).1y({1z:[G.1z,F.y],1M:[G.1M,F.x]})}.1u(13),6n)}.1u(13)}if(13.1B.3O){if(!u.1c.4t||!u.1c.2I){13.1Q.1t(k.3X,13.5l);13.1Q.1t(k.3C,13.5Q)}if(u.1c.2I){13.1Q.1t("4R",13.5l);13.1Q.1t("4x",13.5Q)}}}13.4e||(13.4e=f(13.o.2w.b7(1e)).1H({2N:"b8","z-5i":1}));13.4e.1H({"6E-1z":"-1P%","6E-1M":"1P%"}).6s(0);if(E.1d/E.1g>13.2Q.1d/13.2Q.1g){13.4e.1H({1d:"2i",1g:"98%","21-1g":13.2Q.1g,2O:"4v-3G","5E-4I":"5B"})}1q{13.4e.1H({1d:"98%","21-1d":13.2Q.1d,1g:"2i",2O:"4v-3G","5E-4I":"5B"})}13.1Q.2u(1i.3y).3z(13.4e);13.1Q.5n();13.o.1H({"21-1d":13.2Q.1d,"21-1g":13.2Q.1g,1d:13.4e.29().1d+13.5L.x,1g:"2i","6A-1W":13.4e.29().1d+"5N "+13.4e.29().1g+"5N","z-5i":2}).2u(13.1Q,"1z");s.1c.2U.4L&&13.1Q.6s(1);s.1c.4L.b9(13.1Q,{aU:13.bm.1u(13),bo:13.9Y.1u(13),7A:17(){13.9w||(13.9w=1p u.3e(13.1Q,{43:bn,35:u.3e.6v.a8,8S:(17(){13.1Q.1H({1d:13.24.1d,1g:13.24.1g,1z:13.2b.1z,1M:13.2b.1M}).2u(1i.3y)}).1u(13),8T:(17(F){13.o.1H(13.4e.29());13.1W=13.o.29();13.5I(13.1I.1l,13.1I.1E)}).1u(13),5g:(17(){13.bm(1k)}).1u(13)}));13.9w.1y({1d:[13.24.1d,E.1d],1g:[13.24.1g,E.1g],1z:[13.2b.1z,0+D.y],1M:[13.2b.1M,0+D.x],3F:[0,1]})}.1u(13)})};w.1D.bm=17(I){1a G,B,E=0,H=0,C=1f.3M!==1f.1f,J,D=13.85();if(I&&!13.48&&!C&&!(u.1c.3J&&u.1c.7R)){13.1Q.1H({2O:"3G",2N:"j5",1z:0,49:0,1M:0,3I:0,1d:"2i",1g:"2i"})}13.48=1k;13.o.2w.1H({1d:"1P%",1g:"2i","21-1d":13.2Q.1d,"21-1g":13.2Q.1g});13.6q();if(13.bi){4C((17(){13.5b.9h();13.5b.ct(13.1Q);13.bj("2l",13.2x.1l+1,13.2x.1E+1)}).1u(13),1);13.bi=1e}13.5I(13.1I.1l,13.1I.1E);if(13.6L){f(1f).1t("92",13.6L)}if(!13.7k){13.7k=u.$1p("3u").2k("3j-7X 3j-7X-2l-j6").2u(13.1Q).1t(k.3X,17(K){K.5d()}).1t("2L",17(L){1a K;if(3==L.5a()){18 1k}L.1V();if(K=13.1Q.2f("2l:bq:1s:7j")){u.7Z.1O("7j",K);13.1Q.2V("2l:bq:1s:7j")}13.6B();18 1e}.3Y(13));u.1c.2I&&13.7k.1t("4R",17(K){K.5d()})}13.7k.5n();
1693if(I){1a F=17(K){if(K.j7==27){u.7Z.1O("7j",F);13.6B()}}.3Y(13);13.1Q.2Y("2l:bq:1s:7j",F);u.7Z.1t("7j",F);!u.1c.2I&&(13.bG=1p u.7J("j8 j9 ja b4 jb j0-jc",je,13.1Q,c+"-e5"))}13.6r.5f()};w.1D.6B=17(){1a D=13.1Q.29(),C=13.1Q.6V(),B=13.7z(13.1I.1l,13.1I.1E);13.bG&&13.bG.5f(0);13.3T&&13.3T();if(D.1d/D.1g>13.2Q.1d/13.2Q.1g){13.4e.1H({1d:"2i",1g:"98%","21-1g":13.2Q.1g,2O:"4v-3G","5E-4I":"5B"})}1q{13.4e.1H({1d:"98%","21-1d":13.2Q.1d,1g:"2i",2O:"4v-3G","5E-4I":"5B"})}if(s.1c.4L.9G&&s.1c.4L.aT()){s.1c.4L.ew()}1q{13.7k.5f();13.8V||(13.8V=1p u.3e(13.1Q,{43:6n,35:u.3e.6v.a8,8S:(17(){13.48=1e;13.1Q.1H({2N:"4g"}).2u(1i.3y)}).1u(13),8T:(17(E){13.o.1H(13.4e.29());13.1W=13.o.29();13.5I(13.1I.1l,13.1I.1E)}).1u(13),5g:(17(){13.9Y(1k)}).1u(13)}));13.8V.1y({1d:[D.1d,13.24.1d],1g:[D.1g,13.24.1g],1z:[0+C.1z,13.2b.1z],1M:[0+C.1M,13.2b.1M],3F:[1,0.5]})}};w.1D.9Y=17(C){1a B,D=13.85();if(!13.1Q){18}13.a2&&13.a2.2F()&&4G 13.a2;if(13.6L){f(1f).1O("92",13.6L)}13.48=1e;13.o.2u(13.3f).6s(0).1H({1d:"",1g:"","21-1g":"","21-1d":"1P%","z-5i":""});13.o.2w.1H({1d:"",1g:"","21-1d":"","21-1g":""});13.6q();13.7k.5f();13.6r.5n();13.o.6s(1);13.1Q.5f()};w.1D.at=17(){if(!13.3k){13.3k=u.$1p("2c",{"6o":"3j-4N"});13.jf=u.$1p("8w",{"6o":"3j-4N-e5"}).3z(1i.8x(13.eh(u.1c.2I?"4t-4N-4k":"4N-4k"))).2u(13.3k);f(13.3k).2u(13.o)}if(13.1b("6C-5u")>0){1a B=17(D){13.o.1O("4m",B);13.5F()}.3Y(13);13.o.1t("4m",B)}if("4K"===13.1b("2H")){1a C=17(){13.5F();13.o.1O("4y",C)}.3Y(13);13.o.1t("4y",C)}};w.1D.5F=17(){if(!13.3k||13.3k.ek){18}13.3k.ek=1k;1p u.3e(13.3k,{43:5x,5g:17(){13.3k.2F();4G 13.3k}.1u(13)}).1y({3F:[13.3k.2D("3F"),0]})};w.1D.85=17(){1a B=13.7z(13.1I.1l,13.1I.1E);B.1l++;B.1E++;18 B};1a m=17(){18"jg$jh ji$"+"bQ.6.9".2y("v","")+" jj$"+"t".7W()+((1f.az$aB&&"1N"==u.1F(1f.az$aB))?" jk$"+1f.az$aB.4U():"")};1a j=f([]);1a o={4z:"bQ.6.9 jl",1r:{},7F:{},d6:{},1y:17(C){1a B=1h;u.$A((C?[f(C)]:1i.dz("7a"))).3q((17(D){if(f(D)){!j.2K(17(E){18 E.o===D}).1v&&j.2T(B=1p w(D))}}).1u(13));18 B},1V:17(E){1a C,D,B;if(E){(D=r(E))&&(D=j.9f(j.4p(D),1))&&D[0].1V()&&(4G D[0]);18}4B(C=j.1v){D=j.9f(C-1,1);D[0].1V();4G D[0]}},2H:17(D,C){1a B;(B=r(D))&&B.2H(C)},3n:17(D,C){1a B=1h;if(B=r(D)){B.3T&&B.3T();B.3k&&B.5F();B.3n(B.1I.1l+C,B.1I.1E)}},6p:17(C){1a B;(B=r(C))&&B.1B.6p()},jm:17(C){1a B;(B=r(C))&&B.4F(1k)},jn:17(C){1a B;(B=r(C))&&B.4F(1e)},2l:17(C){1a B;(B=r(C))&&B.a7()},85:17(D){1a B,C=1h;if(B=r(D)){C=B.85();C.1R=C.1E;4G C.1E}18 C},jo:17(B,C){o.d6[B]=C}};17 r(D){1a C=[],B=1h;(D&&(B=f(D)))&&(C=j.2K(17(E){18 E.o===B}));18 C.1v?C[0]:1h}f(1i).1t("8b",17(){m=m();n=u.$1p("2c",{"6o":"3j-5z-bY-cs"}).2u(1i.3y);o.1y()});18 o})();',62,1320,'|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||this||||function|return||var|option|browser|width|false|window|height|null|document|Math|true|row|Event|type|Custom|new|else|options|event|jAddEvent|jBind|length|default|case|start|top|handler|_autospin|magnifier|prototype|col|jTypeOf|_options|jSetCss|current|break|img|for|left|string|jRemoveEvent|100|fullScreenBox|column|pointerType|important|set|stop|size|call|extend|autospin||max|||boxSize||rows|||jGetSize|abs|boxBoundaries|div||ieMode|jFetch|btnclick|columns|auto|parseFloat|jAddClass|fullscreen|touchdrag|arguments||none|jDelay|clientY|mousedrag|clientX|jAppendTo|touch|firstChild|currentFrame|replace|jGetPageXY||timeStamp|undefined|jGetCss|style|jRemove|changedTouches|spin|touchScreen|number|filter|click|tap|position|display|test|fullScreenSize|try|jCallEvent|push|features|jDel|init|minimum|jStore|defined|handle|||navigator|timer|transition||url|loop||enum|webkit|ppf|catch|FX|wrapper|magic|canvas|contains|m360|hintBox|visibility|ratio|jump|hidden|Doc|jEach|clearTimeout|border|reverse|button|parseInt|match|pow|body|append|floor|Class|mouseup|instanceof|digits|opacity|block|touches|right|trident|images|dragstart|parent|stopDefaults|cancelable|backstageCanvas|Element|array|touchpinch|_hideM|oneOf|boolean|direction|mousedown|jBindAsEvent|addCSS||jTrim||duration|||||isFullScreen|bottom|hasOwnProperty|increment|loadedRows|dblbtnclick|fullScreenImage|target|absolute|pushToEvents|small|src|text|dbltap|mousescroll|zoom|infinite|indexOf|onready|styles|MSPOINTER_TYPE_TOUCH|mobile|frames|inline|split|touchend|mousemove|version|schema|while|setTimeout|J_TYPE|now|magnify|delete|identifier|align|imageQueue|hover|fullScreen|backstageCanvas2|hint|exists|join|alternate|touchstart|listeners|large|toLowerCase|constructor|min|requestAnimationFrame|getDoc|Array||zoomSize|roun
1693d||||fadeFX|shape||transform|getButton|progressBar|ready|stopDistribution|domPrefix|hide|onComplete|onerror|index|detach|documentElement|mDownEvent|imageMap|show|parentNode|isMouse|box|messageBox|padding|move|step|overflow|speed|200|indexes|tmp|add|middle|pageX|pageY|vertical|hideHintBox|moveTimer|switch|jump_|jCamelize|getAttribute|borders|cubicBezier|px|delta|inner|mUpEvent|image|getPrimaryTouch|loaded|value|dragged|spinStarted|J_UUID|className|onspin|||normalSize|events|ms|oncomplete|date|spos||platform|isVerticalSpin|onload|onzoomin|filename|throw|pendingImages|shift|onzoomout|nodeType|complete|visible|isQueueStopped|touchmove|300|class|pause|resizeCallback|fullscreenIcon|jSetOpacity|kill|drag|Transition|isNaN|sensitivity|isset|node|background|exitFullscreen|mousewheel|maximum|margin|apply|useMultiBackground|pointerup|render|load|state|fullScreenScrollCallback|ceil|on|ease|onTouchEnd|play|filepath|tpl|mouseout|isPrimaryTouch|jGetRect|tooltip|stopQueue|engine|timedout|found|not|mouseover|MagicJS|cycles|jGetScroll|msPointerEnabled||getRelated|deltaY|Magic360|deltaX|_handlers|tm|removeChild|xhr|random|pointerEnabled|count|keydown|leaveFSButton|path|threshold|continuous|setAttribute|jRemoveClass|ImageLoader|uaName|easeFn|jHasClass|data|onTouchStart|end|TouchEvent|isPrimary|checkJumpRowCol|fallback|storage|createElement|animateBind|element|lang|ddx|reflowTimer|isTouchEvent|Message|useXHR|bgImages|scale|getContext|moz|sizing|toString|backCompat|opera|pointermove|pointerdown|continue|toUpperCase|icon|invoked|doc||ddy||naturalWidth||getCurrentFrame||readyState|_timer|sqrt|boundaries|domready|_EVENTS_|canMagnify|_unbind|sensitivityX|sensitivityY|_cleanup|getPrimaryTouchId|log|center|parseCubicBezier|bgURL|fullScreenScrollCallbackTimer|setProps|ios|playedFrames|1000|handleMouseUp|lastFrame|setValue|placeholder|span|createTextNode|color|uaVersion|eventType|chrome|btnclickEvent|svg|android|css|addedCSS|gecko|dblclick|J_EUID|href|mMoveEvent|pointerId|compatMode|onTouchMove|Number|swap|preInit|onStart|onAfterRender|container|fullScreenExitFX|sis|mDocUpEvent|Options|jSetCssProp|temporary|clientWidth|scroll|drawImage|||replaceChild|typeof||backstageCtx|tagName|win|byTag|zIndex|clockwise|splice|forceAnimation|reset|_bind|startTime|pStyles_arr|pStyles|Opacity|createEvent|presto|cancelAnimationFrame|translate3d|implement|loopBind|no|animate|getStorage|fullScreenFX|has|scrollLeft|scrollTop|relatedTarget|targetTouches|loader|_event_prefix_|getTarget|repeat|capable|hideTimer|XMLHttpRequest|callee|charAt|onprogress|status|jToInt|changeEventName|RegExp|J_EXT|prepareFilename|slice|bis|05|10000|String|concat|onExitFullScreen|priority|errorEventName|HTMLElement|fullscreenProgressBox|calc|getElementsByClassName|onabort|userAgent|enterFullscreen|expoOut|uuid||||||caller|_event_del_|deltaMode|_event_add_|ignore|cycle|onClick|stopAnimation|Alpha|normalizeCSS|Tooltip|handleMouseDown|onclick|cssDomPrefix|setupHint|xhr2|opr|cssFilters|styles_arr|el_arr|mgctlbx|get|Pltm|hideFX|loadedBytes|dashize|loading|https|fromJSON|handleTouchEnd|handleTouchStart|getImageInfo|linear|previousScale|ifndef|cubicBezierAtTime|abort|Date|handleTouchMove|multibackground|enabled|onEnter|imgCacheBox|backface|scrollbarsWidth|onBeforeRender|desktop|_checkDragFrames|maxFrames|open|toggle|to||jGetPosition|cloneNode|relative|request|circle||magic360|anticlockwise|runs|onpause|hasChild|autospinStopped|firstFullScreenRun|preloadImages|Function|defaults|onEnteredFullScreen|400|onExit|once|pseudo|never|imgContext|crM360|Microsoft|DXImageTransform|rotate|jClearEvents|_showM|progid|prepareUrl|clientHeight|backstageCtx2|canvasContext|onxhrerror|naturalHeight|leaveFSMessage|onImageLoaded|easeInSine|easeOutSine|easeOutExpo|easeInExpo|offsetWidth|easeInQuad|easeOutQuad|easeInCubic|v4|ctxDraw|getBoundingClientRect|bezier|cubic|175|045|lastChild|hdn|getElementById|compareDocumentPosition|165|registerEvents|unRegisterEvents|webkit419|moveBind|easeOutCubic|elasticIn|easeInBack|setMessage|styleSheet|sheet|webkitURL|Bottom||Left|Right|styleFloat|parseSchema|getComputedStyle|jToBool|mHoverEvent|mOutEvent|URL|easeOutBack|moved|999||cont|changePlaceholder|9999|selectstart|pos|isFinite|touchEvent|PFX|framesOnImage|dragend|firefox|insertRule|UUID|MAX_VALUE|jGetFullSize|loadBlob|smoothing|304|loopR|error|jDefer|object|progressiveLoad|textnode|quadOut|update|wrap|perspective|onreadystatechange|nativize|wheelDeltaX|wheelDeltaY|toArray|wheelDelta|detail|blob|getTime|animation|item|cachedObject|callbacks|handleMouseMove|DocumentTouch|isReady|oi|dragmove|getElementsByTagName|requestFullScreen|removeCSS|stopPropagation|cancelBubble|03|preventDefault|355|radius|which|addEventListener|getClientXY||stylesId|dispatchEvent|reflow|_initialDistance|euid|Top|out|getImageURL|||byClass|curScale|finishTime|fps|interval|adjustFSSize|Object|innerWidth|bounceIn|outline|phone|documentMode|IMG|androidBrowser|twice|line|cssText|charCo
1693deAt|cssTransformProp|normal|changeContent|fontWeight|fromString|mozCancelAnimationFrame|user|select|initialize|pop|od|run|cssPrefix|onchange|message|progress|m360CrA|forEach|resize|shown|2147483647|fontSize|mjs|crios|10px|Loading|localString|runtime|safari|hidding||Moz|magicJS|Webkit|backcompat||ua|exec|Infinity|windows|mac|cancel|sort|appendChild|onImageLoadProgress|URLCached|MSPointerOut|removeRule|10000px|after|msExitFullscreen|0px|500|deleteRule|concurrentImages|enclose|hone|cancelFullScreen|bgIndex|imageLoadStarted|MSPointerOver|pointerover|pointerout|WebKitTransitionEvent|compal|msMaxTouchPoints|http|elaine|implementation|fireEvent|ProgressEvent|maxTouchPoints|link|hasFeature|blazer|other|treo|blur|2px|TransitionEvent|blackberry|createEventObject|yxxx|bada|avantgo|initEvent|cssfilters|up|meego|jRaiseEvent|g46fd501||420|xxxxxxxxxxxx||webkitRequestAnimationFrame|getAbsoluteURL|xxxx|xy|oCancelAnimationFrame|linux|msRequestAnimationFrame|ActiveXObject|org||oRequestAnimationFrame|webos|4294967296|getBoxObjectFor|mozInnerScreenY|WebKitPoint|taintEnabled|unknown|mozRequestAnimationFrame|KeyEvent|regexp|w3|getHashCode|xiino|collection|MouseEvent|FormData|4xxx|doScroll|vodafone|DOMContentLoaded|wap|ontouchstart|Image|www|red|transitionend|UIEvent|withCredentials|feature|SVG11|webkitCancelRequestAnimationFrame|xda|TR|KeyboardEvent|msCancelAnimationFrame|msCancelFullScreen|xxxxxxxx||fennec|removeAttribute|RequestFullScreen|RequestFullscreen|requestFullscreen|jToggleClass|FullScreen|jGetStyles|webkitIsFullScreen|msFullscreenEnabled|FullscreenElement|mmp|fullscreenElement|MSPointer|addRule|jGetTransitionDuration|pointer|delay|Out|Over|Move|Up|Down|offsetHeight|figcaption|getInnerSize|fullscreenEnabled|netfront|jGetFullScroll|os|air|activeElement|rules|prefix|float|cssFloat|ixi|lineHeight|evaluate|getPropertyValue|currentStyle|palm|querySelector|fullscreenerror|generateUUID|re|query|MSFullscreenError|ob|xpath|fullscreenchange|MSFullscreenChange|CancelFullScreen|ExitFullscreen|figure|webkitexitFullscreen|hiptop|head|scrollWidth|scrollHeight|cssRules|lge|pocket|psp|returnValue|symbian|srcElement|fromElement|toElement|removeEventListener|pageXOffset|Width|attachEvent|detachEvent|custom|getOriginalTarget|webkitTransitionEnd|kindle|oCancelFullScreen|iris|map|iemobile|pageYOffset|mozCancelFullScreen|edge|innerText|ver|midp|setInterval|clientTop|clientLeft|offsetLeft|offsetTop|offsetParent|html|innerHTML|plucker|childNodes|innerHeight|toFloat|insertBefore|536|jGetStyle|lt|jSetStyle|webkitCancelFullScreen|iframe|maemo|DOMElement|presto925|series|onstop|v3|content|0Coigm|ojk5|gob|xk|o0|ff0000|fromCharCode|font|ie8|ie7|pinchstart|off|||||jkma|3600|square|emulate3D|onstart|incrementByVal||toFixed||6000|lastBgSize|Drag|Swipe|Error|ozga|zkvz|360|150|definition|of|the|parameter|getJSON|MSPointerDown|MSPointerUp|MSPointerMove|escape|CriOS|nt|kh3|gz5|fzz|yyy|coigmzaablav|coigm|mbgme3|zfg|zo|ikz3|Qlbo|zwbk3|maba|Magic|Cannot|parse|full|rotateY|revokeObjectURL|20000|250|fixed|close|keyCode|Press|ESC|key|leave|screen|LN2|4000|hintMessage|mgctlbxN|M360|mgctlbxV|mgctlbxL|mgctlbxP|DEMO|magnifyOn|magnifyOff|registerCallback|rotateX|loopC|find|sizingMethod|Magic360Options|Magic360Lang|callout|highlight|transparent|action|contextmenu|setIncrementalStyle|decoration|000|AlphaImageLoader|gif|01|base64|R0lGODlhAQABAIAAAAAAAP|yH5BAEAAAAALAAAAAABAAEAAAIBRAA7|101|fontFamily|sans|serif|textAlign|2em|anti|translate|holder|Incorrect|ie5|JSON|easeOutQuart|955|055|675|215|easeInOutCubic|645|easeInQuart|895|685||wheel|455|easeInOutQuart|easeInQuint|755|000244140625|855|06|easeOutQuint|easeInOutQuint|07|795|515|easeInOutQuad|deltaFactor|POSITIVE_INFINITY|clearInterval|curFrame|setTransition|roundCss|600|745|715|destroy|send|responseType|GET|lengthComputable|createObjectURL|575|565|easeInOutSine|537|445|085|response|static|total|035|onwheel|backOut|265|bounceOut|elasticOut|885|PI|275|easeInOutBack|cos|easeInOutExpo|pinchupdate|000001|sineIn|sineOut|expoIn|quadIn|cubicIn|cubicOut|backIn|MagicToolboxTooltip|735|135|easeInOutCirc|easeInCirc|04|335|NEGATIVE_INFINITY||5000|easeOutCirc|deltaZ|MessageBox|075|785'.split('|'),0,{}));(function(a){a.fn.LiteTooltip=function(d,c){return this.each(function(){var f=a.extend({},a.fn.LiteTooltip.defaultSettings,d||{});var e=a(this);var g=new b(f,e);if(g.settings.title!=""){if(!e.is("input")){e.css({cursor:"pointer"})}
1694var debug=(g.settings.debug!=null)?((g.settings.debug=="true"||g.settings.debug==!0)?!0:!1):!1;if(g.settings.trigger=="hoverable"){this.toggle=!1;e.bind("mouseenter",{settings:g.settings,element:e,$plugin:g,$toggle:this.toggle},g.mouseOverHandler);if(!debug){e.bind("mouseleave",{settings:g.settings,element:e,$plugin:g,$toggle:this.toggle},g.mouseOutHandler)}}else{if(g.settings.trigger=="hover"){e.bind("mouseenter",{settings:g.settings,element:e,$plugin:g},g.mouseOverHandler);if(!debug){e.bind("mouseleave",{settings:g.settings,element:e,$plugin:g},g.mouseOutHandler)}}else{if(g.settings.trigger=="focus"){e.bind("focus",{settings:g.settings,element:e,$plugin:g},g.mouseOverHandler);e.bind("blur",{settings:g.settings,element:e,$plugin:g},g.mouseOutHandler)}else{if(g.settings.trigger=="click"){this.toggle=!1;e.bind("click",{settings:g.settings,element:e,$plugin:g,$toggle:this.toggle},g.mouseOverHandler);if(!g.settings.issticky){if(!debug){e.bind("mouseleave",{settings:g.settings,element:e,$plugin:g,$toggle:this.toggle},g.mouseOutHandler)}}}}}}}})};function b(d,c){this.settings=this.getSettings(d,c);this.$element=c;return this}
1695b.prototype={getSettings:function(f,d){var e=(d.data("issticky")!=null)?((d.data("issticky")=="true")?!0:!1):!0;var c=a.extend({},f,{location:d.data("location"),title:d.data("title"),backcolor:d.data("backcolor"),textalign:d.data("textalign"),trigger:d.data("trigger"),textcolor:d.data("textcolor"),opacity:d.data("opacity"),templatename:d.data("templatename"),width:d.data("width"),margin:d.data("margin"),padding:d.data("padding"),delay:d.data("delay"),issticky:e,container:d.data("c
1695ontainer"),shadow:d.data("shadow")});return c},mouseOverHandler:function(n){if(typeof n.data.settings.onUpdate=="function"){n.data.settings.title=n.data.settings.onUpdate.call(this)}
1696if(n.data.element.is("input")){if(n.data.element.val()!=""){return!1}}
1697if(n.data.settings.trigger=="click"){if(!n.data.$toggle){n.data.$toggle=!0;this.toggle=!0;n.data.element.unbind("click");n.data.element.bind("click",{settings:n.data.settings,element:n.data.element,$plugin:n.data.$plugin,$toggle:n.data.$toggle},n.data.$plugin.mouseOutHandler)}else{n.data.$toggle=!1;this.toggle=!1;return!1}}
1698var c=n.data.element;var d=n.data.settings;var R=parseInt(d.margin.toString().replace("px",""));var T=parseInt(d.padding.toString().replace("px",""));var Y=parseInt(d.width.toString().replace("px",""));var Q=d.container=="body"?d.location:"none";var N=d.backcolor;var X=d.textcolor;var W=d.textalign;var V=d.templatename;var P=d.delay;var K=a(d.template);K.css({opacity:d.opacity});K.css("visibility","visible");K.find(".tooltip-content").css({"text-align":W}).html(d.title+d.clearfix);K.find(".tooltip-content").css({padding:T+"px"});K.find(".tooltip-content p").css({background:N});K.find(".tooltip-content p").css({color:X});if(d.shadow==1){K.find(".tooltip-content").css({"box-shadow":"1px 1px 3px 0px #888888"})}
1699var M=Q;var L=Q.split("-")[0];var E=M;var D=L;K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);var l=d.container;if(d.container!="body"){K.addClass("incontainer");l="#"+d.container;a(l).children().each(function(){a(this).remove()})}else{K.removeClass("incontainer");l="body"}
1700a(l).append(K);if(n.data.settings.trigger=="click"){var O=a('<div id="tooltip-clickoutside"></div>');O.css({width:"100%",height:"100%",position:"absolute",top:a(document).scrollTop()+"px",left:"0px"});a("body").append(O);O.bind("click",{settings:n.data.settings,element:n.data.element,$plugin:n.data.$plugin,$toggle:n.data.$toggle},n.data.$plugin.mouseOutHandler);n.data.$toggle=!1;this.toggle=!1}else{if(n.data.settings.trigger=="hoverable"){n.data.element.unbind("mouseenter")}}
1701if(d.container=="body"){K.offset({top:0,left:0});var ab=K.outerWidth();var Z=K.outerHeight();var ae=a(document).width();var G=scrollbarWidth();var ac=a(document).width()-a(window).width();if(ac>0){ae=ae-G}
1702if(ae>a(window).width()){ae=a(window).width()-G}
1703var ad=a(document).height();if(ac>G){ad=ad-G}
1704if(Y!=0){if(Y*2>ae){Y=Math.floor((ae/2)-30)}else{Y-=30}
1705if(Y*1.5>ae/2){Y=Math.floor((ae/2)-30)}}else{if(340*2>ae){Y=Math.floor((ae/2)-30)}else{Y=340}}
1706K.css({"max-width":Y});ab=K.outerWidth();Z=K.outerHeight();var J=c[Object.keys(c)[0]];var r=J.offsetWidth;var o=J.offsetHeight;var q=c.offset().top;var p=c.offset().left;if(J.tagName.toLowerCase()=="area"){var g=J.parentElement.getAttribute("name");var h=J.getAttribute("shape").toLowerCase();var x=a("img[usemap='#"+g+"']").offset().top;var w=a("img[usemap='#"+g+"']").offset().left;var j=parseInt(J.getAttribute("coords").split(",")[0]);var k=parseInt(J.getAttribute("coords").split(",")[1]);var i=parseInt(J.getAttribute("coords").split(",")[2]);var f=parseInt(J.getAttribute("coords").split(",")[3]||i);var v={top:parseInt(x+k),left:parseInt(w+j)};if(h=="circle"){v={top:parseInt(x+k-i),left:parseInt(w+j-i)};i*=2;f*=2}
1707if(h=="rect"){v={top:parseInt(x+k),left:parseInt(w+j)};i=i-j;f=f-k}
1708if(h=="poly"){var m=new Array();var H=J.getAttribute("coords").split(",");for(var y=0;y<H.length;){m.push({x:parseInt(H[y]),y:parseInt(H[y+1])});y=y+2}
1709m.sort(function(e,af){var ag=e.x,ah=af.x;if(ag==ah){return 0}
1710return ag<ah?1:-1});var z=m[0].x;m.sort(function(e,af){var ag=e.y,ah=af.y;if(ag==ah){return 0}
1711return ag<ah?1:-1});var A=m[0].y;m.sort(function(e,af){var ag=e.x,ah=af.x;if(ag==ah){return 0}
1712return ag>ah?1:-1});var B=m[0].x;m.sort(function(e,af){var ag=e.y,ah=af.y;if(ag==ah){return 0}
1713return ag>ah?1:-1});var C=m[0].y;v={top:parseInt(x+C),left:parseInt(w+B)};i=z-B;f=A-C}
1714p=v.left;q=v.top;r=i;o=f}
1715p=Math.round(p);q=Math.round(q);r=Math.round(r);o=Math.round(o);K.offset({top:0,left:0});var S;switch(Q){case "top":S={top:(q-Z-R),left:p-(ab/2)+(r/2)};break;case "top-left":S={top:(q-Z-R),left:p};break;case "top-right":S={top:(q-Z-R),left:p-ab+r};break;case "right":S={top:(q+(o/2)-(Z/2)),left:p+r+R};break;case "right-top":S={top:(q+o-Z+8),left:p+r+R};break;case "right-bottom":S={top:q-8,left:p+r+R};break;case "bottom":S={top:(q+o+R),left:p-(ab/2)+(r/2)};break;case "bottom-left":S={top:(q+o+R),left:p};break;case "bottom-right":S={top:(q+o+R),left:p-ab+r};break;
1715case "left":S={top:(q+(o/2)-(Z/2)),left:p-ab-R};break;case "left-top":S={top:(q+o-Z+8),left:p-ab-R};break;case "left-bottom":S={top:q-8,left:p-ab-R};break}
1716var F={top:0,left:0};F.left=S.left;F.top=S.top;var aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):!1);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){if(L=="top"||L=="bottom"||L=="left"||L=="right"){var u=!1;switch(L){case "top":S.top=q-Z-R;S.left=p-(ab/2)+(r/2);u=!0;break;case "bottom":S.top=q-Z-R;S.left=p-(ab/2)+(r/2);u=!0;break;case "left":var I=M.replace(L+"-","");if(I=="top"){L="top";M="top-left";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="top";E="top-left";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=p;F.top=q-Z-R;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):!1);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=!0}else{S.left=F.left;S.top=F.top}}else{if(I=="bottom"){L="bottom";M="bottom-left";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="bottom";E="bottom-left";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q+o+R;S.left=p-(ab/2)+(r/2);F.left=p;F.top=q+o+R;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):!1);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=!0}else{S.left=F.left;S.top=F.top}}else{L="top";M="top";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="top";E="top";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=S.left;F.top=S.top;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):!1);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=!0}else{S.left=F.left;S.top=F.top}}}
1717break;case "right":var I=M.replace(L+"-","");if(I=="top"){L="top";M="top-left";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="top";E="top-left";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=p;F.top=q-Z-R;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):!1);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=!0}else{S.left=F.left;S.top=F.top}}else{if(I=="bottom"){L="bottom";M="bottom-left";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="bottom";E="bottom-left";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=p;F.top=q+o+R;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):!1);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=!0}else{S.left=F.left;S.top=F.top}}else{L="top";M="top";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="top";E="top";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=S.left;F.top=S.top;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):!1);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=!0}else{S.left=F.left;S.top=F.top}}}
1718break}
1719if(u){var s=!1;var t=!1;if(S.top<0){L="bottom";M="bottom";S.top=q+o+R;t=!0;if(S.left<0){L="bottom";M="bottom-left";S.left=p;s=!0}
1720if(S.left+ab>ae){S.left=p-ab+r;if(S.left<0){L="bottom";M="bottom";S.left=p-(ab/2)+(r/2);s=!0}else{L="bottom";M="bottom-right";S.left=p-ab+r;s=!0}}}else{L="top";M="top";S.top=q-Z-R;t=!1;if(S.left<0){L="top";M="top-left";S.left=p;s=!0}
1721if(S.left+ab>ae){S.left=p-ab+r;if(S.left<0){L="top";M="top";S.left=p-(ab/2)+(r/2);s=!0}else{L="top";M="top-right";S.left=p-ab+r;s=!0}}}
1722if(!s){if(t){M=E.replace("top","bottom");L=D.replace("top","bottom");if(F.left<0){if(L=="bottom"||L=="top"){M=M.replace("right","left");S.left=p}}else{S.left=F.left}}else{M=E.replace("bottom","top");L=D.replace("bottom","top");if(F.left<0){if(L=="bottom"||L=="top"){M=M.replace("right","left");S.left=p}}else{S.left=F.left}}}}}}
1723K.removeClass(E).addClass(M);
1723K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);if(V!=""){if(K.find(".tooltip-content > .template").hasClass("template")){K.find(".tooltip-content > .template").addClass(V);var U=K.find("."+V).css("background-color")}else{if(K.find(".tooltip-content > .tooltip-menu").hasClass("tooltip-menu")){K.find(".tooltip-content > .tooltip-menu").addClass(V);var U=K.find("."+V).css("background-color");K.find(".tooltip-arrow").css("border-"+D+"-color","");K.find(".tooltip-arrow").css("border-"+L+"-color",U);K.find(".tooltip-content").css({background:U})}}}
1724K.find(".tooltip-content > .video-wrapper").css({width:(K.width()-(T*2))+"px"});K.offset(S)}
1725K.hide();c.removeAttr("title");c.removeAttr("alt");if(n.data.settings.trigger=="hoverable"||n.data.settings.trigger=="click"){P=0}
1726switch(L){case "top":K.delay(P).css({top:"-=20",opacity:0,display:"block"}).stop(!0,!0).animate({top:"+=20",opacity:d.opacity},150);break;case "bottom":K.delay(P).css({top:"+=20",opacity:0,display:"block"}).stop(!0,!0).animate({top:"-=20",opacity:d.opacity},150);break;case "left":K.delay(P).css({left:"-=20",opacity:0,display:"block"}).stop(!0,!0).animate({left:"+=20",opacity:d.opacity},150);break;case "right":K.delay(P).css({left:"+=20",opacity:0,display:"block"}).stop(!0,!0).animate({left:"-=20",opacity:d.opacity},150);break;default:K.delay(P).css({opacity:0,display:"block"}).stop(!0,!0).animate({opacity:d.opacity},150);break}
1727n.data.$plugin.tooltip=K;n.data.$plugin.location=Q;n.data.$plugin.tooltip_arrow_border=L;K=null;return!1},mouseOutHandler:function(d){var f=d.data.$plugin.tooltip;var g=d.data.$plugin.location;var c=!1;if(d.data.settings.trigger!="hoverable"){if(d.data.settings.trigger=="hover"){a(f).delay(d.data.settings.delay);c=!0}else{c=!0;if(d.data.settings.trigger=="click"){if(!d.data.settings.issticky){d.data.settings.interval=setInterval(function(){a(f).fadeOut(0,function(){a(d.data.$plugin.tooltip).remove()});clearInterval(d.data.settings.interval);this.toggle=!1;d.data.$toggle=!1;d.data.element.unbind("click");d.data.element.unbind("mouseleave");d.data.element.bind("click",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!1},d.data.$plugin.mouseOverHandler);d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!1},d.data.$plugin.mouseOutHandler)},d.data.settings.delay==0?2000:d.data.settings.delay);d.data.element.unbind("mouseleave");a(f).find(".tooltip-content").bind("mouseenter",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!0},function(){d.data.element.unbind("click");d.data.element.unbind("mouseleave");this.toggle=!0;d.data.$toggle=!0;clearInterval(d.data.settings.interval)});a(f).find(".tooltip-content").bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:d.data.$toggle},function(){a(f).fadeOut(0,function(){a(d.data.$plugin.tooltip).remove()});this.toggle=!1;d.data.$toggle=!1;d.data.element.unbind("click");d.data.element.unbind("mouseleave");d.data.element.bind("click",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!1},d.data.$plugin.mouseOverHandler);d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!1},d.data.$plugin.mouseOutHandler)});c=!1}else{c=!0}}}}else{d.data.settings.interval=setInterval(function(){a(f).fadeOut(0,function(){a(d.data.$plugin.tooltip).remove()});clearInterval(d.data.settings.interval);d.data.element.unbind("mouseleave");d.data.element.unbind("mouseenter");d.data.element.bind("mouseenter",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!1},d.data.$plugin.mouseOverHandler);d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!1},d.data.$plugin.mouseOutHandler)},d.data.settings.delay==0?2000:d.data.settings.delay);d.data.element.unbind("mouseleave");a(f).find(".tooltip-content").bind("mouseenter",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!0},function(){d.data.element.unbind("mouseenter");d.data.element.unbind("mouseleave");this.toggle=!0;d.data.$toggle=!0;clearInterval(d.data.settings.interval)});a(f).find(".tooltip-content").bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!0},function(){a(f).fadeOut(0,function(){a(d.data.$plugin.tooltip).remove()});this.toggle=!1;d.data.$toggle=!1;d.data.element.unbind("mouseleave");d.data.element.unbind("mouseenter");d.data.element.bind("mouseenter",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!1},d.data.$plugin.mouseOverHandler);d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:!1},d.data.$plugin.mouseOutHandler)});c=!1}
1728if(c){switch(d.data.$plugin.tooltip_arrow_border){case "top":a(f).stop(!0,!0).animate({top:"-=20",opacity:0}
1728,150,function(){a(d.data.$plugin.tooltip).remove()});break;case "bottom":a(f).stop(!0,!0).animate({top:"+=20",opacity:0},150,function(){a(d.data.$plugin.tooltip).remove()});break;case "left":a(f).stop(!0,!0).animate({left:"-=20",opacity:0},150,function(){a(d.data.$plugin.tooltip).remove()});break;case "right":a(f).stop(!0,!0).animate({left:"+=20",opacity:0},150,function(){a(d.data.$plugin.tooltip).remove()});break}
1729a(d.data.$plugin.tooltip).remove()}
1730if(d.data.settings.trigger=="click"){if(d.data.$toggle){a("body").find("#tooltip-clickoutside").remove();this.toggle=!1;d.data.$toggle=!1;d.data.element.unbind("click");d.data.element.unbind("mouseleave");d.data.element.bind("click",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:d.data.$toggle},d.data.$plugin.mouseOverHandler);if(!d.data.settings.issticky){d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:d.data.$toggle},d.data.$plugin.mouseOutHandler)}}}
1731return!1}};scrollbarWidth=function(){var c=a('<div style="width:50px;height:50px;overflow:hidden;position:absolute;top:-200px;left:-200px;"><div style="height:100px;"></div>');a("body").append(c);var d=a("div",c).innerWidth();c.css("overflow","scroll");var e=a("div",c).innerWidth();a(c).remove();return(d-e)};a.fn.LiteTooltip.defaultSettings={location:"top",title:"",opacity:0.89,backcolor:"#000000",textcolor:"#ffffff",template:'<div class="litetooltip-wrapper"><div class="tooltip-arrow"></div><div class="tooltip-content"></div></div>',margin:5,padding:10,width:0,textalign:"center",trigger:"hover",templatename:"",delay:0,issticky:!0,clearfix:'<div class="clear"></div>',container:"body",shadow:1}})(jQuery);(function($){$.LeoCustomAjax=function(){this.leoData='leoajax=1'};$.LeoCustomAjax.prototype={processAjax:function(){if(typeof leo_allow_ajax!=="undefined"&&!leo_allow_ajax){return}
1732var myElement=this;if(leoOption.category_qty&&$(".leo-qty").length)
1733myElement.getCategoryList();else if($(".leo-qty").length)
1734$(".leo-qty").remove();if(leoOption.product_list_image&&$(".leo-more-info").length)
1735myElement.getProductListImage();else if($(".leo-more-info").length)
1736$(".leo-more-info").remove();if(leoOption.product_one_img&&$(".product-additional").length)
1737myElement.getProductOneImage();else if($(".product-additional").length)
1738$(".product-additional").remove();if(leoOption.product_one_img&&$(".product-attribute-additional").length)
1739myElement.getProductAttributeOneImage();else if($(".product-attribute-additional").length)
1740$(".product-attribute-additional").remove();if(leoOption.product_one_img&&$(".product-all-additional").length)
1741myElement.getProductAllOneImage();else if($(".product-all-additional").length)
1742$(".product-all-additional").remove();if(leoOption.productCdown&&$(".leo-more-cdown").length)
1743myElement.getProductCdownInfo();else if($(".leo-more-cdown").length)
1744$(".leo-more-cdown").remove();if(leoOption.productCdown&&$(".leo-more-color").length)
1745myElement.getProductColorInfo();else if($(".leo-more-color").length)
1746$(".leo-more-color").remove();if($(".product-item-size").length)
1747myElement.getSizeContent();if($(".product-item-attribute").length)
1748myElement.getAttributeContent();if($(".product-item-manufacture").length)
1749myElement.getManufactureName();if($(".leo-ajax-tabs").length)
1750myElement.getTabContent();if($('.ap-total-wishlist').length||$('.ap-total-compare').length){myElement.getCountWishlistCompare()}
1751if(myElement.leoData!="leoajax=1"){$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:prestashop.urls.base_url+'modules/appagebuilder/apajax.php'+'?token='+appagebuilderToken+'&rand='+new Date().getTime(),async:!0,cache:!1,dataType:"json",data:myElement.leoData,success:function(jsonData){if(jsonData){if(jsonData.cat){for(i=0;i<jsonData.cat.length;i++){var str=jsonData.cat[i].total;var label=$(".leo-qty.leo-cat-"+jsonData.cat[i].id_category).data("str");if(typeof label!="undefined"){str+="<span>"+label+"</span>"}
1752$(".leo-qty.leo-cat-"+jsonData.cat[i].id_category).html(str);$(".leo-qty.leo-cat-"+jsonData.cat[i].id_category).show()}
1753$('.leo-qty').each(function(){if($(this).html()==''){$(this).html('0');$(this).show()}})}
1754if(jsonData.product_list_image){var listProduct=new Array();for(i=0;i<jsonData.product_list_image.length;i++){listProduct[jsonData.product_list_image[i].id]=jsonData.product_list_image[i].content}
1755$(".leo-more-info").each(function(){$(this).html(listProduct[$(this).data("idproduct")])});addEffectProducts()}
1756if(jsonData.pro_cdown){var listProduct=new Array();for(i=0;i<jsonData.pro_cdown.length;i++){listProduct[jsonData.pro_cdown[i].id]=jsonData.pro_cdown[i].content}
1757$(".leo-more-cdown").each(function(){$(this).html(listProduct[$(this).data("idproduct")])})}
1758if(jsonData.pro_color){var listProduct=new Array();for(i=0;i<jsonData.pro_color.length;i++){listProduct[jsonData.pro_color[i].id]=jsonData.pro_color[i].content}
1759$(".leo-more-color").each(function(){$(this).html(listProduct[$(this).data("idproduct")])})}
1760if(jsonData.product_one_img){var listProductImg=new Array();var listProductName=new Array();for(i=0;i<jsonData.product_one_img.length;i++){listProductImg[jsonData.product_one_img[i].id]=jsonData.product_one_img[i].content;listProductName[jsonData.product_one_img[i].id]=jsonData.product_one_img[i].name}
1761iw=360;ih=360;if(typeof leoOption.homeWidth!=='undefined'){iw=leoOption.homeWidth;ih=leoOption.homeheight}else{iw=$('.product_img_link .img-fluid').first().attr('width');ih=$('.product_img_link .img-fluid').first().attr('height')}
1762$(".product-additional").each(function(){if(listProductImg[$(this).data("idproduct")]){var str_image=listProductImg[$(this).data("idproduct")];if($(this).data("image-type")){src_image=str_image.replace('home_default',$(this).data("image-type"))}else{src_image=str_image.replace('home_default','home_default')}
1763var name_image=listProductName[$(this).data("idproduct")];$(this).html('<img loading="lazy"  class="img-fluid" title="'+name_image+'" alt="'+name_image+'" src="'+src_image+'" width="'+iw+'" height="'+ih+'"/>')}})}
1764if(jsonData.product_attribute_one_img){var listProductImg=new Array();var listProductName=new Array();for(i=0;i<jsonData.product_attribute_one_img.length;i++){listProductImg[jsonData.product_attribute_one_img[i].id]=jsonData.product_attribute_one_img[i].content;listProductName[jsonData.product_attribute_one_img[i].id]=jsonData.product_attribute_one_img[i].name}
1765iw=360;ih=360;if(typeof leoOption.homeWidth!=='undefined'){iw=leoOption.homeWidth;ih=leoOption.homeheight}else{iw=$('.product_img_link .img-fluid').first().attr('width');ih=$('.product_img_link .img-fluid').first().attr('height')}
1766$(".product-attribute-additional").each(function(){if(listProductImg[$(this).closest('.js-product-miniature').data("id-product")]){var str_image=listProductImg[$(this).closest('.js-product-miniature').data("id-product")];if($(this).data("image-type")){src_image=str_image.replace('home_default',$(this).data("image-type"))}else{src_image=str_image.replace('home_default','home_default')}
1767var name_image=listProductName[$(this).closest('.js-product-miniature').data("id-product")];$(this).html('<img loading="lazy"  class="img-fluid" title="'+name_image+'" alt="'+name_image+'" src="'+src_image+'" width="'+iw+'" height="'+ih+'"/>')}})}
1768if(jsonData.product_attribute){if(typeof jsonData.product_attribute.attribute!=='undefined'){$.each(jsonData.product_attribute.attribute,function(key,value){$('.product-attribute-'+key).html(value);$('.product-attribute-'+key).removeClass('product-item-attribute')})}
1769if(typeof jsonData.product_attribute.size!=='undefined'){$.each(jsonData.product_attribute.size,function(key,value){$('.product-size-'+key).html(value);$('.product-size-'+key).removeClass('product-item-size')})}}
1770if(jsonData.product_manufacture){$.each(jsonData.product_manufacture,function(key,value){$('.product-manufacture-'+key).html(value);$('.product-manufacture-'+key).removeClass('product-item-manufacture')})}
1771if(jsonData.product_all_one_img){var listProductImg=new Array();var listProductName=new Array();for(i=0;i<jsonData.product_all_one_img.length;i++){listProductImg[jsonData.product_all_one_img[i].id]=jsonData.product_all_one_img[i].content;listProductName[jsonData.product_all_one_img[i].id]=jsonData.product_all_one_img[i].name}
1772iw=360;ih=360;if(typeof leoOption.homeWidth!=='undefined'){iw=leoOption.homeWidth;ih=leoOption.homeheight}else{iw=$('.product_img_link .img-fluid').first().attr('width');ih=$('.product_img_link .img-fluid').first().attr('height')}
1773$(".product-all-additional").each(function(){if(listProductImg[$(this).closest('.js-product-miniature').data("id-product")]){var str_image=listProductImg[$(this).closest('.js-product-miniature').data("id-product")];if($(this).data("image-type")){src_image=str_image.replace('home_default',$(this).data("image-type"))}else{src_image=str_image.replace('home_default','home_default')}
1774var name_image=listProductName[$(this).closest('.js-product-miniature').data("id-product")];$(this).html('<img loading="lazy" class="img-fluid" title="'+name_image+'" alt="'+name_image+'" src="'+src_image+'" width="'+iw+'" height="'+ih+'"/>')}
1774})}
1775if(jsonData.wishlist_products){$('.ap-total-wishlist').data('wishlist-total',jsonData.wishlist_products);$('.ap-total-wishlist').text(jsonData.wishlist_products)}else{$('.ap-total-wishlist').data('wishlist-total',0);$('.ap-total-wishlist').text('0')}
1776if(jsonData.compared_products){$('.ap-total-compare').data('compare-total',jsonData.compared_products);$('.ap-total-compare').text(jsonData.compared_products)}else{$('.ap-total-compare').data('compare-total',0);$('.ap-total-compare').text(0)}
1777if(jsonData.ajaxTab){callshowmore=callajaxcontent=0;$(".leo-ajax-tabs").addClass('loaded');$.each(jsonData.ajaxTab,function(key,value){$("#"+key).html(value);if(value.indexOf('ApProductList')>=0){callshowmore=1}
1778if(value.indexOf('product_list')>=0){callajaxcontent=1}});if(callshowmore){apshowmore()}
1779if(callajaxcontent){if(typeof $.LeoCustomAjax!=="undefined"&&$.isFunction($.LeoCustomAjax)){var leoCustomAjax=new $.LeoCustomAjax();leoCustomAjax.processAjax()}
1780callLeoFeature();activeAnimation()}}}},error:function(){}})}},getCountWishlistCompare:function(){this.leoData+='&wishlist_compare=1'},getCategoryList:function(){var leoCatList="";$(".leo-qty").each(function(){if($(this).data("id")){if(leoCatList)
1781leoCatList+=","+$(this).data("id");else leoCatList=$(this).data("id")}else{if(leoCatList)
1782leoCatList+=","+$(this).attr("id");else leoCatList=$(this).attr("id")}});if(leoCatList){leoCatList=leoCatList.replace(/leo-cat-/g,"");this.leoData+='&cat_list='+leoCatList}
1783return!1},getProductListImage:function(){var leoProInfo="";$(".leo-more-info").each(function(){if(!leoProInfo)
1784leoProInfo+=$(this).data("idproduct");else leoProInfo+=","+$(this).data("idproduct")});if(leoProInfo){this.leoData+='&product_list_image='+leoProInfo}
1785return!1},getProductCdownInfo:function(){var leoProCdown="";$(".leo-more-cdown").each(function(){if(!leoProCdown)
1786leoProCdown+=$(this).data("idproduct");else leoProCdown+=","+$(this).data("idproduct")});if(leoProCdown){this.leoData+='&pro_cdown='+leoProCdown}
1787return!1},getProductColorInfo:function(){var leoProColor="";$(".leo-more-color").each(function(){if(!leoProColor)
1788leoProColor+=$(this).data("idproduct");else leoProColor+=","+$(this).data("idproduct")});if(leoProColor){this.leoData+='&pro_color='+leoProColor}
1789return!1},getTabContent:function(){var tabshortcode="";var tabshortcodekey="";$(".leo-ajax-tabs").each(function(){if(!$(this).hasClass('loaded')){if(!tabshortcode)
1790tabshortcode+=$(this).data("shortcode");else tabshortcode+="@|@"+$(this).data("shortcode");if(!tabshortcodekey)
1791tabshortcodekey+=$(this).attr("id");else tabshortcodekey+="@|@"+$(this).attr("id");if(!$(this).find('slick-loading').length){$(this).html('<div class="slick-loading" style="display: block;"><div class="slick-list" style="height: 600px;"> </div></div>')}}});if(tabshortcode){this.leoData+='&tabshortcode='+tabshortcode}
1792if(tabshortcode){this.leoData+='&tabshortcodekey='+tabshortcodekey;if(tabshortcode&&$('input:radio[name=ajaxtabcate]').length&&$('input:radio[name=ajaxtabcate]:checked').val()){this.leoData+='&ajaxtabcate='+$('input:radio[name=ajaxtabcate]:checked').val()}}
1793return!1},getSizeContent:function(){var leoAdditional="";$(".product-item-size").each(function(){if(!leoAdditional)
1794leoAdditional+=$(this).data("idproduct");else leoAdditional+=","+$(this).data("idproduct")});if(leoAdditional){this.leoData+='&product_size='+leoAdditional}
1795return!1},getAttributeContent:function(){var leoAdditional="";$(".product-item-attribute").each(function(){if(!leoAdditional)
1796leoAdditional+=$(this).data("idproduct");else leoAdditional+=","+$(this).data("idproduct")});if(leoAdditional){this.leoData+='&product_attribute='+leoAdditional}
1797return!1},getManufactureName:function(){var leoAdditional="";var testArray=[];$(".product-item-manufacture").each(function(){if(!leoAdditional){leoAdditional+=$(this).data("idmanufacturer");testArray.push($(this).data("idmanufacturer"))}else{if(testArray.indexOf($(this).data("idmanufacturer"))<0){leoAdditional+=","+$(this).data("idmanufacturer");testArray.push($(this).data("idmanufacturer"))}}});if(leoAdditional){this.leoData+='&product_manufacture='+leoAdditional}
1798return!1},getProductOneImage:function(){var leoAdditional="";$(".product-additional").each(function(){if(!leoAdditional)
1799leoAdditional+=$(this).data("idproduct");else leoAdditional+=","+$(this).data("idproduct")});if(leoAdditional){this.leoData+='&product_one_img='+leoAdditional}
1800return!1},getProductAttributeOneImage:function(){var leoAdditionalattribute="0-0";$(".product-attribute-additional").each(function(){leoAdditionalattribute+=","+$(this).closest('.js-product-miniature').data("id-product")+'-'+$(this).closest('.js-product-miniature').data("id-product-attribute")});if(leoAdditionalattribute&&leoAdditionalattribute!='0-0'){this.leoData+='&product_attribute_one_img='+leoAdditionalattribute}
1801return!1},getProductAllOneImage:function(){var leoAdditional="0";var image_product="0";$(".product-all-additional").each(function(){leoAdditional+=","+$(this).closest('.js-product-miniature').data("id-product");image_product+=","+$(this).data("id-image")});if(leoAdditional){this.leoData+='&product_all_one_img='+leoAdditional+'&image_product='+image_product}
1802return!1},}}(jQuery));function addJSProduct(currentProduct){$('.thumbs_list_'+currentProduct).seri
1802alScroll({items:'li:visible',prev:'.view_scroll_left_'+currentProduct,next:'.view_scroll_right_'+currentProduct,axis:'y',offset:0,start:0,stop:!0,duration:700,step:1,lazy:!0,lock:!1,force:!1,cycle:!1,onBefore:function(e,elem,$pane,$items,pos){if(pos==0){$('.view_scroll_left_'+currentProduct).addClass('disable')}else if(pos==$items.length-1){$('.view_scroll_right_'+currentProduct).addClass('disable')}else{$('.view_scroll_left_'+currentProduct).removeClass('disable');$('.view_scroll_right_'+currentProduct).removeClass('disable')}},});$('.thumbs_list_'+currentProduct).trigger('goto',1);$('.thumbs_list_'+currentProduct).trigger('goto',0)}
1803function addEffectProducts(){if(typeof(leoOption)!='undefined'&&leoOption.product_list_image){$(".leo-more-info").each(function(){addJSProduct($(this).data("idproduct"))});addEffectProduct()}}
1804function addEffectProduct(){var speed=800;var effect="easeInOutQuad";$(".leo-more-info").each(function(){var leo_preview=this;$(leo_preview).find(".leo-hover-image").each(function(){$(this).mouseover(function(){var big_image=$(this).attr("rel");var imgElement=$(leo_preview).parent().find(".product-thumbnail img").first();if(!imgElement.length){imgElement=$(leo_preview).parent().find(".product_image img").first()}
1805if(imgElement.length){$(imgElement).stop().animate({opacity:0}
1805,{duration:speed,easing:effect});$(imgElement).first().attr("src",big_image);$(imgElement).first().attr("data-rel",big_image);$(imgElement).stop().animate({opacity:1},{duration:speed,easing:effect})}
1806if(!$(this).hasClass('shown')){$(leo_preview).find('.shown').removeClass('shown');$(this).parent().addClass('shown')}})});$('.thickbox-ajax-'+$(this).data("idproduct")).fancybox({helpers:{overlay:{locked:!1}},'hideOnContentClick':!0,'transitionIn':'elastic','transitionOut':'elastic'})})}
1807function addEffOneImg(){var speed=800;var effect="easeInOutQuad";$(".product-additional").each(function(){if($(this).find("img").length){var leo_hover_image=$(this).parent().find("img").first();var leo_preview=$(this);$(this).parent().mouseenter(function(){$(this).find("img").first().stop().animate({opacity:0},{duration:speed,easing:effect});$(leo_preview).stop().animate({opacity:1},{duration:speed,easing:effect})});$(this).parent().mouseleave(function(){$(this).find("img").first().stop().animate({opacity:1},{duration:speed,easing:effect});$(leo_preview).stop().animate({opacity:0}
1807,{duration:speed,easing:effect})})}})}
1808function log(message){console.log(message)}
1809function activeAnimation(){$(".has-animation").each(function(){onScrollInit($(this))})}
1810function onScrollInit(items){items.each(function(){var osElement=$(this);var animation=$(osElement).data("animation");var osAnimationDelay=$(osElement).data("animation-delay");var osAnimationDuration=$(osElement).data("animation-duration");var osAnimationIterationCount=$(osElement).data("animation-iteration-count");var osAnimationInfinite=$(osElement).data("animation-infinite");if(osAnimationInfinite==1){var loop_animation='infinite'}else{var loop_animation=osAnimationIterationCount}
1811osElement.css({"-webkit-animation-delay":osAnimationDelay,"-moz-animation-delay":osAnimationDelay,"animation-delay":osAnimationDelay,"-webkit-animation-duration":osAnimationDuration,"-moz-animation-duration":osAnimationDuration,"animation-duration":osAnimationDuration,"-webkit-animation-iteration-count":loop_animation,"-moz-animation-iteration-count":loop_animation,"animation-iteration-count":loop_animation,});osElement.waypoint(function(){if(osElement.hasClass('has-animation')){osElement.addClass('animated '+animation).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){$(this).removeClass('has-animation animated '+animation)})}
1812this.destroy()},{triggerOnce:!0,offset:'100%'})})}
1813function synSize(name){var obj=$("#"+name);var div=$(obj).closest(".gmap-cover");var gmap=$(div).find(".gmap");$(obj).height($(gmap).height())}
1814function apshowmore(){$(".btn-show-more").click(function(){var page=parseInt($(this).data('page'));var use_animation=parseInt($(this).data('use-animation'));var btn=$(this);var config=$(this).closest(".ApProductList").find(".apconfig").val();btn.data('reset-text',btn.html());btn.html(btn.data('loading-text'));$.ajax({headers:{"cache-control":"no-cache"},url:prestashop.urls.base_url+'modules/appagebuilder/apajax.php',async:!0,cache:!1,dataType:"Json",data:{"config":config,"p":page,"use_animation":use_animation},success:function(response){var boxCover=$(btn).closest(".box-show-more");if(!response.is_more){$(boxCover).removeClass("open").fadeOut()}
1815if(response.html){$(boxCover).prev().append(response.html)}
1816$(btn).data("page",(page+1));if(typeof $.LeoCustomAjax!=="undefined"&&$.isFunction($.LeoCustomAjax)){var leoCustomAjax=new $.LeoCustomAjax();leoCustomAjax.processAjax()}
1817callLeoFeature();activeAnimation();btn.parents('.ApProductList').find('.product-list-images-mobile').each(function(){if($(this).children().length>1&&!$(this).hasClass('slick-slider')){$(this).slick({slidesToShow:1,slidesToScroll:1,arrows:!0,dots:!0,infinite:!1,rtl:$('body').hasClass('lang-rtl')?!0:!1,})}})}}).always(function(){btn.html(btn.data('reset-text'))})})}(function($){window.addRule=function(selector,styles,sheet){styles=(function(styles){if(typeof styles==="string")return styles;var clone="";for(var prop in styles){if(styles.hasOwnProperty(prop)){var val=styles[prop];prop=prop.replace(/([A-Z])/g,"-$1").toLowerCase();clone+=prop+":"+(prop==="content"?'"'+val+'"':val)+"; "}}
1818return clone}(styles));try{sheet=sheet||document.styleSheets[document.styleSheets.length-1];if(sheet.insertRule){if(sheet.cssRules!==null&&sheet.cssRules.length!==0)
1819sheet.insertRule(selector+" {"+styles+"}",sheet.cssRules.length);}else if(sheet.addRule)sheet.addRule(selector,styles);}catch(err){var style=(function(){var style=document.createElement("style");style.appendChild(document.createTextNode(""));document.head.appendChild(style);return style})();style.sheet.insertRule(selector+" {"+styles+"}",0)}
1820return this};if($)$.fn.addRule=function(styles,sheet){addRule(this.selector,styles,sheet);return this}}(this.jQuery||this.Zepto));function apPopupForm(){if($.cookie('apnewletter'))return;$.fancybox({'content':$(".ap-popup").html(),'wrapCSS':'ap-popup-clone',afterClose:function(event,ui){},beforeShow:function(event,ui){this.inner.append("<div class='turnoff-popup-wrapper text-center'><input id='turnoff-popup-bt' name='turnoff-popup-bt' class='turnoff-popup' type='checkbox'><label for='turnoff-popup-bt'>
1820"+turnoff_popup_text+"</label></div>");$("body").find("#turnoff-popup-bt").trigger('click');$.cookie('apnewletter','1');$('.turnoff-popup').addClass('active');$('.turnoff-popup').click(function(){if(!$(this).hasClass('active')){$.cookie('apnewletter','1');$(this).addClass('active')}else{$.cookie('apnewletter',null);$(this).removeClass('active')}})}})}
1821$(document).ready(function(){if($(".btn-show-more").length)apshowmore();activeAnimation();if($(".ajaxtabcate").length){$('input:radio[name=ajaxtabcate]').click(function(){$(".leo-ajax-tabs").each(function(){if($(this).find(".product-image").length||$(this).find(".product-title").length){$(this).removeClass('loaded');if(typeof $.LeoCustomAjax!=="undefined"&&$.isFunction($.LeoCustomAjax)){var leoCustomAjax=new $.LeoCustomAjax();leoCustomAjax.processAjax()}}})})}
1822if($(".tabs-dropdown-menu").length){$(".tabs-dropdown-menu").each(function(){wraper=$(this).parent();tabdrop=$(this);if($(this).hasClass("selecttext")){nav_active=$(wraper).find(".nav-link").first();$(this).find('button').html($(nav_active).find("span").html())}
1823$(this).find('.dropdown-item').first().addClass('active');$(wraper).find('.nav-link').click(function(){if($(this).hasClass('active')){return}
1824$(tabdrop).find('.dropdown-item').removeClass('active');cclass=$(this).attr('class');var strArray=cclass.split(" ");formClass="";for(var i=0;i<strArray.length;i++){if(strArray[i].indexOf('form')>=0){formClass=strArray[i];break}}
1825$(wraper).find('.dropdown-item.'+formClass).addClass('active')});$(tabdrop).find('.dropdown-item').click(function(){$(wraper).find('.nav-link').removeClass('active');cclass=$(this).attr('class');var strArray=cclass.split(" ");formClass="";for(var i=0;i<strArray.length;i++){if(strArray[i].indexOf('form')>=0){formClass=strArray[i];break}}
1826$(wraper).find('.nav-link.'+formClass).trigger('click')})})}
1827if($('.ap-popup').length){if($('.ap-popup').hasClass('index-only')&&$('body').attr('id')=='index')
1828apPopupForm();else apPopupForm()}
1829$(".has-bg.bg-fullwidth").each(function(){id="#"+$(this).attr("id");bg="";if($(this).data("src")!==undefined)bg="url("+$(this).data("src")+")";bg+=$(this).data("bg_data");$(id+":before").addRule({background:bg})});if(typeof stellar!=='undefined'&&stellar)
1830$.stellar({horizontalScrolling:!1});currentPosX=[];currentPosY=[];$("div[data-mouse-parallax-strength]").each(function(){currentPos=$(this).css("background-position");if(typeof currentPos=="string"){currentPosArray=currentPos.split(" ")}else{currentPosArray=[$(this).css("background-position-x"),$(this).css("background-position-y")]}
1831currentPosX[$(this).data("mouse-parallax-rid")]=parseFloat(currentPosArray[0]);currentPosY[$(this).data("mouse-parallax-rid")]=parseFloat(currentPosArray[1]);$(this).mousemove(function(e){newPosX=currentPosX[$(this).data("mouse-parallax-rid")];newPosY=currentPosY[$(this).data("mouse-parallax-rid")];if($(this).data("mouse-parallax-axis")!="axis-y"){mparallaxPageX=e.pageX-$(this).offset().left;if($(this).hasClass("full-bg-screen")){mparallaxPageX=mparallaxPageX-1000}
1832newPosX=(mparallaxPageX*$(this).data("mouse-parallax-strength")*-1)+newPosX}
1833if($(this).data("mouse-parallax-axis")!="axis-x"){mparallaxPageY=e.pageY-$(this).offset().top;newPosY=mparallaxPageY*$(this).data("mouse-parallax-strength")*-1}
1834$(this).css("background-position",newPosX+"px "+newPosY+"px")})});var ytIframeId;var ytVideoId;function onYouTubeIframeAPIReady(){$("div.iframe-youtube-api-tag").each(function(){ytIframeId=$(this).attr("id");ytVideoId=$(this).data("youtube-video-id");new YT.Player(ytIframeId,{videoId:ytVideoId,width:"100%",height:"100%",playerVars:{autoplay:1,controls:0,disablekb:1,fs:0,cc_load_policy:0,iv_load_policy:3,modestbranding:0,rel:0,showinfo:0,start:0},events:{"onReady":function(event){event.target.mute();setInterval(function(){event.target.seekTo(0)},(event.target.getDuration()-1)*1000)}}})})}
1835onYouTubeIframeAPIReady();if(typeof MediaElementPlayer!=='undefined'){var player1=new MediaElementPlayer('#special-youtube-video1');var player2=new MediaElementPlayer('#special-youtube-video2');if(player1){var auto_find=setInterval(function(){if($('#video-1 .mejs-overlay-play').html()){$('#video-1 .mejs-overlay-play>.mejs-overlay-button').before('<div class="video-name">
1835'+$('#special-youtube-video1').data('name')+'</div>');$('#video-1 .mejs-overlay-play').append('<div class="video-description">Watch video and <span>subscribe us<span></div>');clearInterval(auto_find)}},500)}
1836if(player2){var auto_find1=setInterval(function(){if($('#video-2 .mejs-overlay-play').html()){$('#video-2 .mejs-overlay-play>.mejs-overlay-button').before('<div class="video-name">'+$('#special-youtube-video2').data('name')+'</div>');$('#video-2 .mejs-overlay-play').append('<div class="video-description">Watch video and <span>subscribe us<span></div>');clearInterval(auto_find1)}},500)}}
1837current_url=window.location.href;$('.apconfig').each(function(){var enableJS=$(this).data('enablejs');if(enableJS==!1){return}
1838var leochange='&leopanelchange';var current_url=$(this).data('url');if(!current_url){current_url=window.location.href;current_url=current_url.replace(leochange,"")}
1839var param=$(this).data('type');var value=$(this).data('id');var re=new RegExp("([?|&])"+param+"=.*?(&|$)","i");if(current_url.match(re))
1840$(this).attr('href',current_url.replace(re,'$1'+param+"="+value+'$2')+leochange);else{if(current_url.indexOf('?')==-1)
1841$(this).attr('href',current_url+'?'+param+"="+value+leochange);else $(this).attr('href',current_url+'&'+param+"="+value+leochange)}});$(window).resize(function(){if($('.tab-pane .owl-carousel').length){$('.tab-pane .owl-carousel').each(function(index,element){if(!$(element).parents('.tab-pane').hasClass('active')&&typeof($(element).data('owlCarousel'))!=="undefined"){var w_owl_active_tab=$(element).parents('.tab-pane').siblings('.active').find('.owl-carousel').width();$(element).width(w_owl_active_tab);$(element).data('owlCarousel').updateVars();$(element).width('100%')}})}})
1842var check_window_w=parseInt($(window).width());if(check_window_w>=992&&check_window_w<1200){addClassLoading('lg')}else if(check_window_w>=768&&check_window_w<992){addClassLoading('md')}else if(check_window_w>=576&&check_window_w<768){addClassLoading('sm')}else if(check_window_w<576){addClassLoading('m')}else{addClassLoading('xl')}
1843if($('.list-images-mobile').length&&$('.list-images-mobile').children().length>1){$('.list-images-mobile').slick({slidesToShow:1,slidesToScroll:1,arrows:!0,dots:!0,infinite:!1,rtl:$('body').hasClass('lang-rtl')?!0:!1})}
1844if($('.product-list-images-mobile').length){if($('body').hasClass('lang-rtl')){$('.product-list-images-mobile').each(function(){if($(this).children().length>1){$(this).slick({slidesToShow:1,slidesToScroll:1,arrows:!0,dots:!0,infinite:!1,rtl:!0})}})}else{$('.product-list-images-mobile').each(function(){if($(this).children().length>1){$(this).slick({slidesToShow:1,slidesToScroll:1,arrows:!0,dots:!0,infinite:!1,})}})}
1845$(document).ajaxComplete(function(event,xhr,settings){if(settings.url.indexOf('apajax')>0){$('.product-list-images-mobile').each(function(){if($('.product-list-images-mobile').hasClass('slick-slider')){function offSlideCarousel(selector){selector.parents('.owl-item').on("touchstart mousedown",function(e){e.stopPropagation()})}
1846if(window.addEventListener){window.addEventListener("load",offSlideCarousel($(this)),!1)}else if(window.attachEvent){window.attachEvent("onload",offSlideCarousel($(this)))}else{window.onload=offSlideCarousel($(this))}}})}
1847if(settings.url.indexOf('from-xhr')>0||settings.url.indexOf('amazzingfilter/ajax')>0){if($('body').hasClass('lang-rtl')){$('.product-list-images-mobile').each(function(){if($(this).children().length>1){$(this).slick({slidesToShow:1,slidesToScroll:1,arrows:!0,dots:!0,infinite:!1,rtl:!0})}})}else{$('.product-list-images-mobile').each(function(){if($(this).children().length>1){$(this).slick({slidesToShow:1,slidesToScroll:1,arrows:!0,dots:!0,infinite:!1,})}})}}})}
1848if($("body").attr("id")=="product"){$(document).ajaxComplete(function(event,xhr,settings){if(settings.url.indexOf('controller=product')>0){if($('.list-images-mobile').length&&$('.list-images-mobile').children().length>1){$('.list-images-mobile').slick({slidesToShow:1,slidesToScroll:1,arrows:!0,dots:!0,rtl:$('body').hasClass('lang-rtl')?!0:!1})}}})}});function addClassLoading($type){$('.timeline-wrapper').each(function(){if($(this).data($type)<=$(this).data('item')){var num_remove_item=$(this).data('item')-$(this).data($type);if($(this).data($type)<$(this).data('item')){var num_remove_item=$(this).data('item')-$(this).data($type);$(this).find('.timeline-parent').slice(-num_remove_item).remove()}
1849if(12%$(this).data($type)==0){if($type=='m'){$(this).find('.timeline-parent').addClass('col-xs-'+12/$(this).data($type))}else{$(this).find('.timeline-parent').addClass('col-'+$type+'-'+12/$(this).data($type))}}else{$(this).find('.timeline-parent').css({'width':100/$(this).data($type)+'%','float':'left'})}
1850$('.timeline-wrapper').removeClass('prepare')}})}
1851function callLeoFeature(){if(typeof(leoBtCart)!='undefined'){leoBtCart()}
1852if(typeof(leoSelectAttr)!='undefined'){leoSelectAttr()}
1853if(typeof(LeoWishlistButtonAction)!='undefined'){LeoWishlistButtonAction()}
1854if(typeof(LeoCompareButtonAction)!='undefined'){LeoCompareButtonAction()}
1855if(typeof(actionQuickViewLoading)!='undefined'){actionQuickViewLoading()}}
1856function SetOwlCarouselFirstLast(el){el.find(".owl-item").removeClass("first");el.find(".owl-item.active").first().addClass("first");el.find(".owl-item").removeClass("last");el.find(".owl-item.active").last().addClass("last")}
1857$(document).ready(function(){if(typeof(ap_list_functions)!='undefined'){$.each(ap_list_functions,function(i,val){val();ap_list_functions[i]=null})}
1858if($("body").attr("id")=="category"&&$('#search_filters').length){$('.facet-label').on('click',function(){$(document).ajaxComplete(function(event,xhr,settings){if(typeof xhr!="undefined"&&typeof xhr.responseJSON!="undefined"&&typeof xhr.responseJSON.products!="undefined"){if(typeof(ap_list_functions)!='undefined'){$.each(ap_list_functions,function(i,val){if(typeof val!="undefined"&&val!=null){val();ap_list_functions[i]=null}})}}})})}
1859$('.ApTabs.AjaxTabs .nav-tabs .nav-item a').on('click',function(){if(!$($(this).attr('href')).find('.hide-loading').length){if(typeof(ap_list_functions)!='undefined'){$.each(ap_list_functions,function(i,val){if(typeof val!="undefined"&&val!=null){val();ap_list_functions[i]=null}})}}})});$(window).load(function(){if(typeof(ap_list_functions_loaded)!='undefined'){for(var i=0;i<ap_list_functions_loaded.length;i++){ap_list_functions_loaded[i]()}}})
1860$(document).ready(function(){if($('#sitemap').length>0){$('#sitemap .sitemap').prepend(leo_site_map)}
1861if($('.lazy').length&&jQuery().lazy){$(function(){$('.lazy').lazy({effect:'fadeIn'})});$(document).ajaxComplete(function(){if($('.lazy').length){$('.lazy').lazy({effect:'fadeIn'})}})}
1862if(typeof approfile_multilang_url!="undefined"){$.each(approfile_multilang_url,function(index,profile){var url_search=prestashop.urls.base_url+profile.iso_code;var url_change=prestashop.urls.base_url+profile.iso_code+'/'+profile.friendly_url+'.html';if($('#leo_block_top').length){var parent_o=$('#leo_block_top .language-selector')}else{var parent_o=$('.language-selector-wrapper')}
1863parent_o.find('li a').each(function(){var lang_href=$(this).attr('href');if(lang_href.indexOf(url_search)>-1){$(this).attr('href',url_change)}})})}
1864if($('#leo_block_top').length){var parent_o_currency=$('#leo_block_top .currency-selector')}else{var parent_o_currency=$('.currency-selector')}
1865parent_o_currency.find('li a').each(function(){var url_link=$(this).attr('href');var id_currency=getParamFromURL("id_currency",url_link);var SubmitCurrency=getParamFromURL("SubmitCurrency",url_link);var current_url=window.location.href;if(prestashop.page.page_name=='product'){var current_url=prestashop.urls.current_url}
1866var current_url=removeParamFromURL('SubmitCurrency',current_url);var current_url=removeParamFromURL('id_currency',current_url);if(current_url.indexOf('?')==-1){var new_url=current_url+'?SubmitCurrency='+SubmitCurrency+"&id_currency="+id_currency;$(this).attr('href',new_url)}else{var new_url=current_url+'&SubmitCurrency='+SubmitCurrency+"&id_currency="+id_currency;$(this).attr('href',new_url)}});prestashop.on('updateProductList',function(){if(typeof $.LeoCustomAjax!=="undefined"&&$.isFunction($.LeoCustomAjax)){var leoCustomAjax=new $.LeoCustomAjax();leoCustomAjax.processAjax()}});if($('.demo-product-detail[data-menu-type=url] a').length&&prestashop.page.page_name!='product'){$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:prestashop.urls.base_url+'modules/appagebuilder/apajax.php'+'?rand='+new Date().getTime(),async:!0,cache:!1,dataType:"json",data:{"action":"get-product-link"},success:function(jsonData){if(jsonData){$('.demo-product-detail[data-menu-type=url] a').each(function(){var original_url=$(this).attr('href');var layout_key=original_url.substring(original_url.indexOf('?layout='));var new_url=jsonData.replace('.html','.html'+layout_key);$(this).attr('href',new_url).addClass('updated')});
1866if($('.lazy').length&&jQuery().lazy){if(lazyLoadInstance){lazyLoadInstance.update()}}}},error:function(){}})}});function removeParamFromURL(key,sourceURL){var rtn=sourceURL.split("?")[0],param,params_arr=[],queryString=(sourceURL.indexOf("?")!==-1)?sourceURL.split("?")[1]:"";if(queryString!==""){params_arr=queryString.split("&");for(var i=params_arr.length-1;i>=0;i-=1){param=params_arr[i].split("=")[0];if(param===key){params_arr.splice(i,1)}}
1867if(params_arr.length>0){rtn=rtn+"?"+params_arr.join("&")}}
1868return rtn}
1869function getParamFromURL(key,sourceURL){var rtn=sourceURL.split("?")[0],param,params_arr=[],queryString=(sourceURL.indexOf("?")!==-1)?sourceURL.split("?")[1]:"";if(queryString!==""){params_arr=queryString.split("&");for(var i=params_arr.length-1;i>=0;i-=1){param=params_arr[i].split("=")[0];if(param===key){return params_arr[i].split("=")[1]}}}
1870return!1}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.