(()=>{var e,t,n,r,o={333:(e,t,n)=>{var r,o,i;
/*!
 * https://github.com/PrestaShop/jquery.live-polyfill
 *
 * Released under the MIT license
 */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;
/*!
 * jQuery Migrate - v3.1.0 - 2019-06-08
 * Copyright OpenJS Foundation and other contributors
 */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;
/*!
 * jQuery Browser Plugin 0.1.0
 * https://github.com/gabceb/jquery-browser-plugin
 *
 * Original jquery-browser code Copyright 2005, 2015 jQuery Foundation, Inc. and other contributors
 * http://jquery.org/license
 *
 * Modifications Copyright 2015 Gabriel Cebrian
 * https://github.com/gabceb
 *
 * Released under the MIT license
 *
 * Date: 05-07-2015
 */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;
/*!
 * jQuery JavaScript Library v3.5.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2020-05-04T22:49Z
 */!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},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,P=q.push,_=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{P.apply(q=_.call(w.childNodes),w.childNodes),q[w.childNodes.length].nodeType}catch(e){P={apply:q.length?function(e,t){O.apply(e,_.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;if(!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 P.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.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 P.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)})),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):P.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)}P.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 P.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||P,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:_.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}return 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,P=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-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--;)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--;)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}})),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,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,_e=/^\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&&Pe.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(_e,""),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]);i++)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)}var 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={};var 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||!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}}));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,Pt=/#.*$/,_t=/([?&])_=[^&]*/,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(Pt,""),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(_t,"$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;if("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);
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
r().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",notValidAddresses:"#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},
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
t()(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=>{e.hasError?r().emit("handleError",{eventType:"addProductToCart",resp: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})}))}))}));
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
const 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)};
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
r().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=>{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}}
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
const 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")}}
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
function 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();const a=t()(`${r().selectors.checkout.addressError}:visible`);l(a.length<=0)})),
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */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()}));
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
let 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)}))})),
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
t()(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};
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
let 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 P(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";_({$addToCartSnippet:n,$targetParent:o,targetSelector:".add"}),_({$addToCartSnippet:n,$targetParent:o,targetSelector:i}),_({$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 _(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=>P(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 >= 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;for(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))}}))};
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */
a.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"]')}))})()})();!function(){var n={46:function(){function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){this.options=t,this.$elementFilestyle=[],this.$element=l(e)}var l,n,e;l=window.jQuery,n=0,s.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;this.$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 t=this,e=t.$element.attr("id");""!==e&&e||(e="filestyle-"+n,t.$element.attr({id:e}),n++),e='<span class="group-span-filestyle '+(t.options.input?"input-group-btn":"")+'"><label for="'+e+'" class="btn '+t.options.buttonName+" "+("nr"==t.options.size?"":"btn-"+t.options.size)+'" '+(t.options.disabled?'disabled="true"':"")+">"+t.htmlIcon()+'<span class="buttonText">'+t.options.buttonText+"</span></label></span>",e=t.options.buttonBefore?e+t.htmlInput():t.htmlInput()+e,t.$elementFilestyle=l('<div class="bootstrap-filestyle input-group">'+e+"</div>"),t.$elementFilestyle.find(".group-span-filestyle").attr("tabindex","0").keypress(function(e){if(13===e.keyCode||32===e.charCode)return t.$elementFilestyle.find("label").click(),!1}),t.$element.css({position:"absolute",clip:"rect(0px 0px 0px 0px)"}).attr("tabindex","-1").after(t.$elementFilestyle),t.options.disabled&&t.$element.attr("disabled","true"),t.$element.change(function(){var e=t.pushNameFiles();0==t.options.input&&t.options.badge?0==t.$elementFilestyle.find(".badge").length?t.$elementFilestyle.find("label").append(' <span class="badge">'+e.length+"</span>"):0==e.length?t.$elementFilestyle.find(".badge").remove():t.$elementFilestyle.find(".badge").html(e.length):t.$elementFilestyle.find(".badge").remove()}),-1<window.navigator.userAgent.search(/firefox/i)&&t.$elementFilestyle.find("label").click(function(){return t.$element.click(),!1})}},e=l.fn.filestyle,l.fn.filestyle=function(i,r){var o="",e=this.each(function(){var e,t,n;"file"===l(this).attr("type")&&(t=(e=l(this)).data("filestyle"),n=l.extend({},l.fn.filestyle.defaults,i,"object"===a(i)&&i),t||(e.data("filestyle",t=new s(this,n)),t.constructor()),"string"==typeof i&&(o=t[i](r)))});return void 0!==a(o)?o:e},l.fn.filestyle.defaults={buttonText:"Choose file",iconName:"fa fa-folder-open",buttonName:"btn-default",size:"nr",input:!0,badge:!0,icon:!0,buttonBefore:!1,disabled:!1,placeholder:""},l.fn.filestyle.noConflict=function(){return l.fn.filestyle=e,this},l(function(){l(".filestyle").each(function(){var e=l(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)})})},848:function(){var o;(o=jQuery).fn.footerReveal=function(e){var t=o(this),n=t.prev(),i=o(window),r=o.extend({shadow:!0,shadowOpacity:.8,zIndex:-100},e);return o.extend(!0,{},r,e),t.outerHeight()<=i.outerHeight()&&t.offset().top>=i.outerHeight()&&(t.css({"z-index":r.zIndex,position:"fixed",bottom:0}),r.shadow&&n.css({"-moz-box-shadow":"0 20px 30px -20px rgba(0,0,0,"+r.shadowOpacity+")","-webkit-box-shadow":"0 20px 30px -20px rgba(0,0,0,"+r.shadowOpacity+")","box-shadow":"0 20px 30px -20px rgba(0,0,0,"+r.shadowOpacity+")"}),i.on("load resize footerRevealResize",function(){t.css({width:n.outerWidth()}),n.css({"margin-bottom":t.outerHeight()})})),this}},21:function(){var s;(s=jQuery).fn.autoComplete=function(t){var a=s.extend({},s.fn.autoComplete.defaults,t);return"string"==typeof t?(this.each(function(){var e=s(this);"destroy"==t&&(e.off("blur.autocomplete focus.autocomplete keydown.autocomplete keyup.autocomplete"),e.data("autocomplete")?e.attr("autocomplete",e.data("autocomplete")):e.removeAttr("autocomplete"),s(e.data("sc")).remove(),e.removeData("sc").removeData("autocomplete"))}),this):this.each(function(){var r=s(this);function o(e){var t=r.val();if((r.cache[t]=e).length&&t.length>=a.minChars){for(var n="",i=0;i<e.length;i++)n+=a.renderItem(e[i],t);r.sc.html(n),r.updateSC(0)}else r.sc.hide()}r.sc=s('<div class="autocomplete-suggestions '+a.menuClass+'"></div>'),r.data("sc",r.sc).data("autocomplete",r.attr("autocomplete")),r.attr("autocomplete","off"),r.cache={},r.last_val="",r.updateSC=function(e,t){r.sc.show()},r.sc.insertAfter(r.parent()),r.sc.on("mouseleave",".autocomplete-suggestion",function(){s(".autocomplete-suggestion.selected").removeClass("selected")}),r.sc.on("mouseenter",".autocomplete-suggestion",function(){s(".autocomplete-suggestion.selected").removeClass("selected"),s(this).addClass("selected")}),r.sc.on("mousedown click",".autocomplete-suggestion",function(e){var t=s(this),n=t.data("val");return(n||t.hasClass("autocomplete-suggestion"))&&(r.val(n),a.onSelect(e,n,t),r.sc.hide()),!1}),r.on("blur.autocomplete",function(){r.sc.hide()}),a.minChars||r.on("focus.autocomplete",function(){r.last_val="\n",r.trigger("keyup.autocomplete")}),r.on("keydown.autocomplete",function(e){var t,n;if((40==e.which||38==e.which)&&r.sc.html())return(n=s(".autocomplete-suggestion.selected",r.sc)).length?(t=40==e.which?n.next(".autocomplete-suggestion"):n.prev(".autocomplete-suggestion")).length?(n.removeClass("selected"),r.val(t.addClass("selected").data("val"))):(n.removeClass("selected"),r.val(r.last_val),t=0):(t=40==e.which?s(".autocomplete-suggestion",r.sc).first():s(".autocomplete-suggestion",r.sc).last(),r.val(t.addClass("selected").data("val"))),r.updateSC(0,t),!1;27==e.which?r.val(r.last_val).sc.hide():13!=e.which&&9!=e.which||(n=s(".autocomplete-suggestion.selected",r.sc)).length&&r.sc.is(":visible")&&(a.onSelect(e,n.data("val"),n),setTimeout(function(){r.sc.hide()},20))}),r.on("keyup.autocomplete",function(e){if(!~s.inArray(e.which,[13,27,35,36,37,38,39,40])){var t=r.val();if(t.length>=a.minChars){if(t!=r.last_val){if(r.last_val=t,clearTimeout(r.timer),a.cache){if(t in r.cache)return void o(r.cache[t]);for(var n=1;n<t.length-a.minChars;n++){var i=t.slice(0,t.length-n);if(i in r.cache&&!r.cache[i].length)return void o([])}}r.timer=setTimeout(function(){a.source(t,o)},a.delay)}}else r.last_val=t,r.sc.hide()}})})},s.fn.autoComplete.defaults={source:0,minChars:3,delay:150,cache:1,menuClass:"",renderItem:function(e,t){t=t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");t=new RegExp("("+t.split(" ").join("|")+")","gi");return'<div class="autocomplete-suggestion" data-val="'+e+'">'+e.replace(t,"<b>$1</b>")+"</div>"},onSelect:function(e,t,n){}}},571:function(){function t(e,t){this.$element=n(e),this.options=n.extend({},o,t),void 0!==this.options.scrollHeight&&(this.options.height=this.$element.height()),this._defaults=o,this._name=i,this.init()}var n,e,i,r,o;n=jQuery,e=window,i="stickyUpHeader",e.document,r=n(e),o={showClasses:"visible-stuck-up visible-stuck-up-scroll",temporaryHideClasses:"visible-stuck-up",hideClasses:"visible-stuck-up-scroll",throttleTimeout:500},t.prototype.init=function(){var t=0,n=this;r.on("scroll",n.throttle(this.options.throttleTimeout,function(){var e=r.scrollTop();e<=0?n.hide():e<t?400<e?n.show():n.hide():n.hideTemp(),t=e}))},t.prototype.throttle=function(i,r){var o,a;return function(){var e=this,t=arguments,n=+new Date;o&&n<o+i?(clearTimeout(a),a=setTimeout(function(){o=n,r.apply(e,t)},i)):(o=n,r.apply(e,t))}},t.prototype.hide=function(){return this.$element.removeClass(this.options.hideClasses)},t.prototype.hideTemp=function(){return this.$element.removeClass(this.options.temporaryHideClasses)},t.prototype.show=function(){return this.$element.addClass(this.options.showClasses)},n.fn[i]=function(e){return this.each(function(){n.data(this,i)||n.data(this,i,new t(this,e))})}},650:function(){!function(k){"use strict";var A=0;function O(e,t){return k.map(e,function(e){return e+".touchspin_"+t})}k.fn.TouchSpin=function(E){var T,C;{if("destroy"!==E)return T={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:"+"},C={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"},this.each(function(){var i,r,n,e,t,o,a,s,l,c,d,u,p,f=k(this),h=f.data(),m=0,g=!1;function v(){var e,t,n=f.val();""===n?""!==i.replacementval&&(f.val(i.replacementval),f.trigger("change")):0<i.decimals&&"."===n||(e=parseFloat(n),(t=e=isNaN(e)?""!==i.replacementval?i.replacementval:0:e).toString()!==n&&(t=e),e<i.min&&(t=i.min),t=function(e){switch(i.forcestepdivisibility){case"round":return(Math.round(e/i.step)*i.step).toFixed(i.decimals);case"floor":return(Math.floor(e/i.step)*i.step).toFixed(i.decimals);case"ceil":return(Math.ceil(e/i.step)*i.step).toFixed(i.decimals);default:return e}}(t=e>i.max?i.max:t),Number(n).toString()!==t.toString()&&(f.val(t),f.trigger("change")))}function y(){var e;return i.booster?(e=Math.pow(2,Math.floor(m/i.boostat))*i.step,i.maxboostedstep&&e>i.maxboostedstep&&(e=i.maxboostedstep,n=Math.round(n/e)*e),Math.max(i.step,e)):i.step}function b(){v(),n=parseFloat(r.input.val());var e=n=isNaN(n)?0:n,t=y();(n+=t)>i.max&&(n=i.max,f.trigger("touchspin.on.max"),_()),r.input.val(Number(n).toFixed(i.decimals)),e!==n&&f.trigger("change")}function w(){v(),n=parseFloat(r.input.val());var e=n=isNaN(n)?0:n,t=y();(n-=t)<i.min&&(n=i.min,f.trigger("touchspin.on.min"),_()),r.input.val(n.toFixed(i.decimals)),e!==n&&f.trigger("change")}function x(){_(),m=0,g="down",f.trigger("touchspin.on.startspin"),f.trigger("touchspin.on.startdownspin"),o=setTimeout(function(){e=setInterval(function(){m++,w()},i.stepinterval)},i.stepintervaldelay)}function S(){_(),m=0,g="up",f.trigger("touchspin.on.startspin"),f.trigger("touchspin.on.startupspin"),a=setTimeout(function(){t=setInterval(function(){m++,b()},i.stepinterval)},i.stepintervaldelay)}function _(){switch(clearTimeout(o),clearTimeout(a),clearInterval(e),clearInterval(t),g){case"up":f.trigger("touchspin.on.stopupspin"),f.trigger("touchspin.on.stopspin");break;case"down":f.trigger("touchspin.on.stopdownspin"),f.trigger("touchspin.on.stopspin")}m=0,g=!1}f.data("alreadyinitialized")||(f.data("alreadyinitialized",!0),A+=1,f.data("spinnerid",A),f.is("input")&&(""!==(i=k.extend({},T,h,function(){var n={};return k.each(C,function(e,t){t="bts-"+t;f.is("[data-"+t+"]")&&(n[e]=f.data(t))}),n}(),E)).initval&&""===f.val()&&f.val(i.initval),v(),h=f.val(),c=f.parent(),""!==h&&(h=Number(h).toFixed(i.decimals)),f.data("initvalue",h).val(h),f.addClass("form-control"),c.hasClass("input-group")?((h=c).addClass("bootstrap-touchspin"),c=f.prev(),d=f.next(),u='<span class="input-group-addon bootstrap-touchspin-prefix">'+i.prefix+"</span>",p='<span class="input-group-addon bootstrap-touchspin-postfix">'+i.postfix+"</span>",c.hasClass("input-group-btn")?(s='<button class="'+i.buttondown_class+' bootstrap-touchspin-down" type="button">'+i.buttondown_txt+"</button>",c.append(s)):(s='<span class="input-group-btn"><button class="'+i.buttondown_class+' bootstrap-touchspin-down" type="button">'+i.buttondown_txt+"</button></span>",k(s).insertBefore(f)),d.hasClass("input-group-btn")?(l='<button class="'+i.buttonup_class+' bootstrap-touchspin-up" type="button">'+i.buttonup_txt+"</button>",d.prepend(l)):(l='<span class="input-group-btn"><button class="'+i.buttonup_class+' bootstrap-touchspin-up" type="button">'+i.buttonup_txt+"</button></span>",k(l).insertAfter(f)),k(u).insertBefore(f),k(p).insertAfter(f),s=h):(c=i.verticalbuttons?'<div class="input-group bootstrap-touchspin"><span class="input-group-addon bootstrap-touchspin-prefix">'+i.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+i.postfix+'</span><span class="input-group-btn-vertical"><button class="'+i.buttondown_class+' bootstrap-touchspin-up" type="button"><i class="'+i.verticalupclass+'"></i></button><button class="'+i.buttonup_class+' bootstrap-touchspin-down" type="button"><i class="'+i.verticaldownclass+'"></i></button></span></div>':'<div class="input-group bootstrap-touchspin"><span class="input-group-btn"><button class="'+i.buttondown_class+' bootstrap-touchspin-down" type="button">'+i.buttondown_txt+'</button></span><span class="input-group-addon bootstrap-touchspin-prefix">'+i.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+i.postfix+'</span><span class="input-group-btn"><button class="'+i.buttonup_class+' bootstrap-touchspin-up" type="button">'+i.buttonup_txt+"</button></span></div>",s=k(c).insertBefore(f),k(".bootstrap-touchspin-prefix",s).after(f),f.hasClass("input-sm")?s.addClass("input-group-sm"):f.hasClass("input-lg")&&s.addClass("input-group-lg")),r={down:k(".bootstrap-touchspin-down",s),up:k(".bootstrap-touchspin-up",s),input:k("input",s),prefix:k(".bootstrap-touchspin-prefix",s).addClass(i.prefix_extraclass),postfix:k(".bootstrap-touchspin-postfix",s).addClass(i.postfix_extraclass)},""===i.prefix&&r.prefix.hide(),""===i.postfix&&r.postfix.hide(),f.on("keydown",function(e){var t=e.keyCode||e.which;38===t?("up"!==g&&(b(),S()),e.preventDefault()):40===t&&("down"!==g&&(w(),x()),e.preventDefault())}),f.on("keyup",function(e){e=e.keyCode||e.which;38!==e&&40!==e||_()}),f.on("blur",function(){v()}),r.down.on("keydown",function(e){var t=e.keyCode||e.which;32!==t&&13!==t||("down"!==g&&(w(),x()),e.preventDefault())}),r.down.on("keyup",function(e){e=e.keyCode||e.which;32!==e&&13!==e||_()}),r.up.on("keydown",function(e){var t=e.keyCode||e.which;32!==t&&13!==t||("up"!==g&&(b(),S()),e.preventDefault())}),r.up.on("keyup",function(e){e=e.keyCode||e.which;32!==e&&13!==e||_()}),r.down.on("mousedown.touchspin",function(e){r.down.off("touchstart.touchspin"),f.is(":disabled")||(w(),x(),e.preventDefault(),e.stopPropagation())}),r.down.on("touchstart.touchspin",function(e){r.down.off("mousedown.touchspin"),f.is(":disabled")||(w(),x(),e.preventDefault(),e.stopPropagation())}),r.up.on("mousedown.touchspin",function(e){r.up.off("touchstart.touchspin"),f.is(":disabled")||(b(),S(),e.preventDefault(),e.stopPropagation())}),r.up.on("touchstart.touchspin",function(e){r.up.off("mousedown.touchspin"),f.is(":disabled")||(b(),S(),e.preventDefault(),e.stopPropagation())}),r.up.on("mouseout touchleave touchend touchcancel",function(e){g&&(e.stopPropagation(),_())}),r.down.on("mouseout touchleave touchend touchcancel",function(e){g&&(e.stopPropagation(),_())}),r.down.on("mousemove touchmove",function(e){g&&(e.stopPropagation(),e.preventDefault())}),r.up.on("mousemove touchmove",function(e){g&&(e.stopPropagation(),e.preventDefault())}),k(document).on(O(["mouseup","touchend","touchcancel"],A).join(" "),function(e){g&&(e.preventDefault(),_())}),k(document).on(O(["mousemove","touchmove","scroll","scrollstart"],A).join(" "),function(e){g&&(e.preventDefault(),_())}),f.on("mousewheel DOMMouseScroll",function(e){var t;i.mousewheel&&f.is(":focus")&&(t=e.originalEvent.wheelDelta||-e.originalEvent.deltaY||-e.originalEvent.detail,e.stopPropagation(),e.preventDefault(),(t<0?w:b)())}),f.on("touchspin.uponce",function(){_(),b()}),f.on("touchspin.downonce",function(){_(),w()}),f.on("touchspin.startupspin",function(){S()}),f.on("touchspin.startdownspin",function(){x()}),f.on("touchspin.stopspin",function(){_()}),f.on("touchspin.updatesettings",function(e,t){var n=t;i=k.extend({},i,n),v(),""!==(t=r.input.val())&&(t=Number(r.input.val()),r.input.val(t.toFixed(i.decimals)))}),r.input.css("display","block")))});this.each(function(){var e=k(this).data();k(document).off(O(["mouseup","touchend","touchcancel","mousemove","touchmove","scroll","scrollstart"],e.spinnerid).join(" "))})}}}(jQuery)},249:function(e,t,n){var i;function Pt(e){return(Pt="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})(e)}i=function(e,r,d){"use strict";function $(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)}}function t(e,t,n){t&&$(e.prototype,t),n&&$(e,n)}function o(i){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},t=Object.keys(r);(t="function"==typeof Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})):t).forEach(function(e){var t=i,n=r[e=e];e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return i}r=r&&r.hasOwnProperty("default")?r.default:r,d=d&&d.hasOwnProperty("default")?d.default:d;var j="transitionend";var u={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&&"#"!==t?t:(e=e.getAttribute("href"))&&"#"!==e?e.trim():"")&&document.querySelector(t)?t:null},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=d(e).css("transition-duration"),e=d(e).css("transition-delay"),n=parseFloat(t),i=parseFloat(e);return n||i?(t=t.split(",")[0],e=e.split(",")[0],1e3*(parseFloat(t)+parseFloat(e))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){d(e).trigger(j)},supportsTransitionEnd:function(){return Boolean(j)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],o=o&&u.isElement(o)?"element":{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(o))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+o+'" but expected type "'+r+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?u.findShadowRoot(e.parentNode):null;e=e.getRootNode();return e instanceof ShadowRoot?e:null}},z=(d.fn.emulateTransitionEnd=function(e){var t=this,n=!1;return d(this).one(u.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||u.triggerTransitionEnd(t)},e),this},d.event.special[u.TRANSITION_END]={bindType:j,delegateType:j,handle:function(e){if(d(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},"alert"),B="bs.alert",n="."+B,F=d.fn[z],H={CLOSE:"close"+n,CLOSED:"closed"+n,CLICK_DATA_API:"click"+n+".data-api"},i=((n=a.prototype).close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},n.dispose=function(){d.removeData(this._element,B),this._element=null},n._getRootElement=function(e){var t=u.getSelectorFromElement(e),n=!1;return n=(n=t?document.querySelector(t):n)||d(e).closest(".alert")[0]},n._triggerCloseEvent=function(e){var t=d.Event(H.CLOSE);return d(e).trigger(t),t},n._removeElement=function(t){var e,n=this;d(t).removeClass("show"),d(t).hasClass("fade")?(e=u.getTransitionDurationFromElement(t),d(t).one(u.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)):this._destroyElement(t)},n._destroyElement=function(e){d(e).detach().trigger(H.CLOSED).remove()},a._jQueryInterface=function(n){return this.each(function(){var e=d(this),t=e.data(B);t||(t=new a(this),e.data(B,t)),"close"===n&&t[n](this)})},a._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},t(a,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),a);function a(e){this._element=e}d(document).on(H.CLICK_DATA_API,'[data-dismiss="alert"]',i._handleDismiss(new i)),d.fn[z]=i._jQueryInterface,d.fn[z].Constructor=i,d.fn[z].noConflict=function(){return d.fn[z]=F,i._jQueryInterface};var W="button",R="bs.button",n="."+R,s=".data-api",q=d.fn[W],G="active",l='[data-toggle^="button"]',n={CLICK_DATA_API:"click"+n+s,FOCUS_BLUR_DATA_API:"focus"+n+s+" blur"+n+s},V=((s=Y.prototype).toggle=function(){var e=!0,t=!0,n=d(this._element).closest('[data-toggle="buttons"]')[0];if(n){var i,r=this._element.querySelector('input:not([type="hidden"])');if(r){if("radio"===r.type&&(r.checked&&this._element.classList.contains(G)?e=!1:(i=n.querySelector(".active"))&&d(i).removeClass(G)),e){if(r.hasAttribute("disabled")||n.hasAttribute("disabled")||r.classList.contains("disabled")||n.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(G),d(r).trigger("change")}r.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(G)),e&&d(this._element).toggleClass(G)},s.dispose=function(){d.removeData(this._element,R),this._element=null},Y._jQueryInterface=function(t){return this.each(function(){var e=d(this).data(R);e||(e=new Y(this),d(this).data(R,e)),"toggle"===t&&e[t]()})},t(Y,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),Y);function Y(e){this._element=e}d(document).on(n.CLICK_DATA_API,l,function(e){e.preventDefault();e=e.target;d(e).hasClass("btn")||(e=d(e).closest(".btn")),V._jQueryInterface.call(d(e),"toggle")}).on(n.FOCUS_BLUR_DATA_API,l,function(e){var t=d(e.target).closest(".btn")[0];d(t).toggleClass("focus",/^focus(in)?$/.test(e.type))}),d.fn[W]=V._jQueryInterface,d.fn[W].Constructor=V,d.fn[W].noConflict=function(){return d.fn[W]=q,V._jQueryInterface};var c="carousel",U="bs.carousel",p="."+U,s=".data-api",X=d.fn[c],Q={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},K={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Z="next",J="prev",f={SLIDE:"slide"+p,SLID:"slid"+p,KEYDOWN:"keydown"+p,MOUSEENTER:"mouseenter"+p,MOUSELEAVE:"mouseleave"+p,TOUCHSTART:"touchstart"+p,TOUCHMOVE:"touchmove"+p,TOUCHEND:"touchend"+p,POINTERDOWN:"pointerdown"+p,POINTERUP:"pointerup"+p,DRAG_START:"dragstart"+p,LOAD_DATA_API:"load"+p+s,CLICK_DATA_API:"click"+p+s},h="active",ee=".active.carousel-item",te={TOUCH:"touch",PEN:"pen"},m=((n=g.prototype).next=function(){this._isSliding||this._slide(Z)},n.nextWhenVisible=function(){!document.hidden&&d(this._element).is(":visible")&&"hidden"!==d(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(J)},n.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(u.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(e){var t=this,n=(this._activeElement=this._element.querySelector(ee),this._getItemIndex(this._activeElement));if(!(e>this._items.length-1||e<0))if(this._isSliding)d(this._element).one(f.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();this._slide(n<e?Z:J,this._items[e])}},n.dispose=function(){d(this._element).off(p),d.removeData(this._element,U),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(e){return e=o({},Q,e),u.typeCheckConfig(c,e,K),e},n._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);e<=40||(0<(e=e/this.touchDeltaX)&&this.prev(),e<0&&this.next())},n._addEventListeners=function(){var t=this;this._config.keyboard&&d(this._element).on(f.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&d(this._element).on(f.MOUSEENTER,function(e){return t.pause(e)}).on(f.MOUSELEAVE,function(e){return t.cycle(e)}),this._addTouchEventListeners()},n._addTouchEventListeners=function(){var e,t,n=this;this._touchSupported&&(e=function(e){n._pointerEvent&&te[e.originalEvent.pointerType.toUpperCase()]?n.touchStartX=e.originalEvent.clientX:n._pointerEvent||(n.touchStartX=e.originalEvent.touches[0].clientX)},t=function(e){n._pointerEvent&&te[e.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=e.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(e){return n.cycle(e)},500+n._config.interval))},d(this._element.querySelectorAll(".carousel-item img")).on(f.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(d(this._element).on(f.POINTERDOWN,e),d(this._element).on(f.POINTERUP,t),this._element.classList.add("pointer-event")):(d(this._element).on(f.TOUCHSTART,e),d(this._element).on(f.TOUCHMOVE,function(e){(e=e).originalEvent.touches&&1<e.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=e.originalEvent.touches[0].clientX-n.touchStartX}),d(this._element).on(f.TOUCHEND,t)))},n._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},n._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},n._getItemByDirection=function(e,t){var n=e===Z,i=e===J,r=this._getItemIndex(t),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return t;i=(r+(e===J?-1:1))%this._items.length;return-1==i?this._items[this._items.length-1]:this._items[i]},n._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(ee)),e=d.Event(f.SLIDE,{relatedTarget:e,direction:t,from:i,to:n});return d(this._element).trigger(e),e},n._setActiveIndicatorElement=function(e){var t;this._indicatorsElement&&(t=[].slice.call(this._indicatorsElement.querySelectorAll(".active")),d(t).removeClass(h),(t=this._indicatorsElement.children[this._getItemIndex(e)])&&d(t).addClass(h))},n._slide=function(e,t){var n,i,r,o=this,a=this._element.querySelector(ee),s=this._getItemIndex(a),l=t||a&&this._getItemByDirection(e,a),t=this._getItemIndex(l),c=Boolean(this._interval),e=e===Z?(n="carousel-item-left",i="carousel-item-next","left"):(n="carousel-item-right",i="carousel-item-prev","right");l&&d(l).hasClass(h)?this._isSliding=!1:!this._triggerSlideEvent(l,e).isDefaultPrevented()&&a&&l&&(this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(l),r=d.Event(f.SLID,{relatedTarget:l,direction:e,from:s,to:t}),d(this._element).hasClass("slide")?(d(l).addClass(i),u.reflow(l),d(a).addClass(n),d(l).addClass(n),e=parseInt(l.getAttribute("data-interval"),10),this._config.interval=e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,e):this._config.defaultInterval||this._config.interval,s=u.getTransitionDurationFromElement(a),d(a).one(u.TRANSITION_END,function(){d(l).removeClass(n+" "+i).addClass(h),d(a).removeClass(h+" "+i+" "+n),o._isSliding=!1,setTimeout(function(){return d(o._element).trigger(r)},0)}).emulateTransitionEnd(s)):(d(a).removeClass(h),d(l).addClass(h),this._isSliding=!1,d(this._element).trigger(r)),c&&this.cycle())},g._jQueryInterface=function(i){return this.each(function(){var e=d(this).data(U),t=o({},Q,d(this).data()),n=("object"==Pt(i)&&(t=o({},t,i)),"string"==typeof i?i:t.slide);if(e||(e=new g(this,t),d(this).data(U,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&(e.pause(),e.cycle())})},g._dataApiClickHandler=function(e){var t,n,i=u.getSelectorFromElement(this);i&&(i=d(i)[0])&&d(i).hasClass("carousel")&&(t=o({},d(i).data(),d(this).data()),(n=this.getAttribute("data-slide-to"))&&(t.interval=!1),g._jQueryInterface.call(d(i),t),n&&d(i).data(U).to(n),e.preventDefault())},t(g,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Q}}]),g);function g(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}d(document).on(f.CLICK_DATA_API,"[data-slide], [data-slide-to]",m._dataApiClickHandler),d(window).on(f.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),t=0,n=e.length;t<n;t++){var i=d(e[t]);m._jQueryInterface.call(i,i.data())}}),d.fn[c]=m._jQueryInterface,d.fn[c].Constructor=m,d.fn[c].noConflict=function(){return d.fn[c]=X,m._jQueryInterface};var v="collapse",y="bs.collapse",l="."+y,ne=d.fn[v],ie={toggle:!0,parent:""},re={toggle:"boolean",parent:"(string|element)"},oe={SHOW:"show"+l,SHOWN:"shown"+l,HIDE:"hide"+l,HIDDEN:"hidden"+l,CLICK_DATA_API:"click"+l+".data-api"},b="show",ae="collapse",se="collapsing",le="collapsed",ce='[data-toggle="collapse"]',de=((s=w.prototype).toggle=function(){d(this._element).hasClass(b)?this.hide():this.show()},s.show=function(){var e,t,n,i,r=this;this._isTransitioning||d(this._element).hasClass(b)||(e=this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(ae)})).length?null:e)&&(i=d(e).not(this._selector).data(y))&&i._isTransitioning||(n=d.Event(oe.SHOW),d(this._element).trigger(n),n.isDefaultPrevented()||(e&&(w._jQueryInterface.call(d(e).not(this._selector),"hide"),i||d(e).data(y,null)),t=this._getDimension(),d(this._element).removeClass(ae).addClass(se),this._element.style[t]=0,this._triggerArray.length&&d(this._triggerArray).removeClass(le).attr("aria-expanded",!0),this.setTransitioning(!0),n="scroll"+(t[0].toUpperCase()+t.slice(1)),i=u.getTransitionDurationFromElement(this._element),d(this._element).one(u.TRANSITION_END,function(){d(r._element).removeClass(se).addClass(ae).addClass(b),r._element.style[t]="",r.setTransitioning(!1),d(r._element).trigger(oe.SHOWN)}).emulateTransitionEnd(i),this._element.style[t]=this._element[n]+"px"))},s.hide=function(){var e=this;if(!this._isTransitioning&&d(this._element).hasClass(b)){var t=d.Event(oe.HIDE);if(d(this._element).trigger(t),!t.isDefaultPrevented()){var t=this._getDimension(),n=(this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",u.reflow(this._element),d(this._element).addClass(se).removeClass(ae).removeClass(b),this._triggerArray.length);if(0<n)for(var i=0;i<n;i++){var r=this._triggerArray[i],o=u.getSelectorFromElement(r);null===o||d([].slice.call(document.querySelectorAll(o))).hasClass(b)||d(r).addClass(le).attr("aria-expanded",!1)}this.setTransitioning(!0),this._element.style[t]="";t=u.getTransitionDurationFromElement(this._element);d(this._element).one(u.TRANSITION_END,function(){e.setTransitioning(!1),d(e._element).removeClass(se).addClass(ae).trigger(oe.HIDDEN)}).emulateTransitionEnd(t)}}},s.setTransitioning=function(e){this._isTransitioning=e},s.dispose=function(){d.removeData(this._element,y),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},s._getConfig=function(e){return(e=o({},ie,e)).toggle=Boolean(e.toggle),u.typeCheckConfig(v,e,re),e},s._getDimension=function(){return d(this._element).hasClass("width")?"width":"height"},s._getParent=function(){var e,n=this,t=(u.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent),'[data-toggle="collapse"][data-parent="'+this._config.parent+'"]'),t=[].slice.call(e.querySelectorAll(t));return d(t).each(function(e,t){n._addAriaAndCollapsedClass(w._getTargetFromElement(t),[t])}),e},s._addAriaAndCollapsedClass=function(e,t){e=d(e).hasClass(b);t.length&&d(t).toggleClass(le,!e).attr("aria-expanded",e)},w._getTargetFromElement=function(e){e=u.getSelectorFromElement(e);return e?document.querySelector(e):null},w._jQueryInterface=function(i){return this.each(function(){var e=d(this),t=e.data(y),n=o({},ie,e.data(),"object"==Pt(i)&&i?i:{});if(!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new w(this,n),e.data(y,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},t(w,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return ie}}]),w);function w(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(ce)),i=0,r=n.length;i<r;i++){var o=n[i],a=u.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(a)).filter(function(e){return e===t});null!==a&&0<s.length&&(this._selector=a,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}d(document).on(oe.CLICK_DATA_API,ce,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=d(this),e=u.getSelectorFromElement(this),e=[].slice.call(document.querySelectorAll(e));d(e).each(function(){var e=d(this),t=e.data(y)?"toggle":n.data();de._jQueryInterface.call(e,t)})}),d.fn[v]=de._jQueryInterface,d.fn[v].Constructor=de,d.fn[v].noConflict=function(){return d.fn[v]=ne,de._jQueryInterface};var x="dropdown",ue="bs.dropdown",S="."+ue,n=".data-api",pe=d.fn[x],fe=new RegExp("38|40|27"),_={HIDE:"hide"+S,HIDDEN:"hidden"+S,SHOW:"show"+S,SHOWN:"shown"+S,CLICK:"click"+S,CLICK_DATA_API:"click"+S+n,KEYDOWN_DATA_API:"keydown"+S+n,KEYUP_DATA_API:"keyup"+S+n},he="disabled",E="show",me="dropdown-menu-right",ge='[data-toggle="dropdown"]',ve=".dropdown-menu",ye={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},be={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},T=((l=C.prototype).toggle=function(){if(!this._element.disabled&&!d(this._element).hasClass(he)){var e=C._getParentFromElement(this._element),t=d(this._menu).hasClass(E);if(C._clearMenus(),!t){var t={relatedTarget:this._element},n=d.Event(_.SHOW,t);if(d(e).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar){if(void 0===r)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");n=this._element;"parent"===this._config.reference?n=e:u.isElement(this._config.reference)&&(n=this._config.reference,void 0!==this._config.reference.jquery&&(n=this._config.reference[0])),"scrollParent"!==this._config.boundary&&d(e).addClass("position-static"),this._popper=new r(n,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===d(e).closest(".navbar-nav").length&&d(document.body).children().on("mouseover",null,d.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),d(this._menu).toggleClass(E),d(e).toggleClass(E).trigger(d.Event(_.SHOWN,t))}}}},l.show=function(){var e,t,n;this._element.disabled||d(this._element).hasClass(he)||d(this._menu).hasClass(E)||(e={relatedTarget:this._element},t=d.Event(_.SHOW,e),n=C._getParentFromElement(this._element),d(n).trigger(t),t.isDefaultPrevented()||(d(this._menu).toggleClass(E),d(n).toggleClass(E).trigger(d.Event(_.SHOWN,e))))},l.hide=function(){var e,t,n;this._element.disabled||d(this._element).hasClass(he)||!d(this._menu).hasClass(E)||(e={relatedTarget:this._element},t=d.Event(_.HIDE,e),n=C._getParentFromElement(this._element),d(n).trigger(t),t.isDefaultPrevented()||(d(this._menu).toggleClass(E),d(n).toggleClass(E).trigger(d.Event(_.HIDDEN,e))))},l.dispose=function(){d.removeData(this._element,ue),d(this._element).off(S),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},l.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},l._addEventListeners=function(){var t=this;d(this._element).on(_.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},l._getConfig=function(e){return e=o({},this.constructor.Default,d(this._element).data(),e),u.typeCheckConfig(x,e,this.constructor.DefaultType),e},l._getMenuElement=function(){var e;return this._menu||(e=C._getParentFromElement(this._element))&&(this._menu=e.querySelector(ve)),this._menu},l._getPlacement=function(){var e=d(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?(t="top-start",d(this._menu).hasClass(me)&&(t="top-end")):e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":d(this._menu).hasClass(me)&&(t="bottom-end"),t},l._detectNavbar=function(){return 0<d(this._element).closest(".navbar").length},l._getPopperConfig=function(){var t=this,e={},e=("function"==typeof this._config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}});return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},C._jQueryInterface=function(t){return this.each(function(){var e=d(this).data(ue);if(e||(e=new C(this,"object"==Pt(t)?t:null),d(this).data(ue,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},C._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(ge)),n=0,i=t.length;n<i;n++){var r,o=C._getParentFromElement(t[n]),a=d(t[n]).data(ue),s={relatedTarget:t[n]};e&&"click"===e.type&&(s.clickEvent=e),a&&(a=a._menu,!d(o).hasClass(E)||e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&d.contains(o,e.target)||(r=d.Event(_.HIDE,s),d(o).trigger(r),r.isDefaultPrevented()||("ontouchstart"in document.documentElement&&d(document.body).children().off("mouseover",null,d.noop),t[n].setAttribute("aria-expanded","false"),d(a).removeClass(E),d(o).removeClass(E).trigger(d.Event(_.HIDDEN,s)))))}},C._getParentFromElement=function(e){var t,n=u.getSelectorFromElement(e);return(t=n?document.querySelector(n):t)||e.parentNode},C._dataApiKeydownHandler=function(e){var t,n,i;(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||d(e.target).closest(ve).length):!fe.test(e.which))||(e.preventDefault(),e.stopPropagation(),this.disabled||d(this).hasClass(he))||(t=C._getParentFromElement(this),(i=d(t).hasClass(E))&&(!i||27!==e.which&&32!==e.which)?0!==(i=[].slice.call(t.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"))).length&&(n=i.indexOf(e.target),38===e.which&&0<n&&n--,40===e.which&&n<i.length-1&&n++,i[n=n<0?0:n].focus()):(27===e.which&&(i=t.querySelector(ge),d(i).trigger("focus")),d(this).trigger("click")))},t(C,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return ye}},{key:"DefaultType",get:function(){return be}}]),C);function C(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}d(document).on(_.KEYDOWN_DATA_API,ge,T._dataApiKeydownHandler).on(_.KEYDOWN_DATA_API,ve,T._dataApiKeydownHandler).on(_.CLICK_DATA_API+" "+_.KEYUP_DATA_API,T._clearMenus).on(_.CLICK_DATA_API,ge,function(e){e.preventDefault(),e.stopPropagation(),T._jQueryInterface.call(d(this),"toggle")}).on(_.CLICK_DATA_API,".dropdown form",function(e){e.stopPropagation()}),d.fn[x]=T._jQueryInterface,d.fn[x].Constructor=T,d.fn[x].noConflict=function(){return d.fn[x]=pe,T._jQueryInterface};var k="modal",we="bs.modal",A="."+we,xe=d.fn[k],Se={backdrop:!0,keyboard:!0,focus:!0,show:!0},_e={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},O={HIDE:"hide"+A,HIDDEN:"hidden"+A,SHOW:"show"+A,SHOWN:"shown"+A,FOCUSIN:"focusin"+A,RESIZE:"resize"+A,CLICK_DISMISS:"click.dismiss"+A,KEYDOWN_DISMISS:"keydown.dismiss"+A,MOUSEUP_DISMISS:"mouseup.dismiss"+A,MOUSEDOWN_DISMISS:"mousedown.dismiss"+A,CLICK_DATA_API:"click"+A+".data-api"},Ee="modal-open",Te="fade",Ce="show",ke=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ae=".sticky-top",Oe=((s=Me.prototype).toggle=function(e){return this._isShown?this.hide():this.show(e)},s.show=function(e){var t,n=this;this._isShown||this._isTransitioning||(d(this._element).hasClass(Te)&&(this._isTransitioning=!0),t=d.Event(O.SHOW,{relatedTarget:e}),d(this._element).trigger(t),this._isShown||t.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),d(this._element).on(O.CLICK_DISMISS,'[data-dismiss="modal"]',function(e){return n.hide(e)}),d(this._dialog).on(O.MOUSEDOWN_DISMISS,function(){d(n._element).one(O.MOUSEUP_DISMISS,function(e){d(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)})))},s.hide=function(e){var t=this;e&&e.preventDefault(),this._isShown&&!this._isTransitioning&&(e=d.Event(O.HIDE),d(this._element).trigger(e),this._isShown&&!e.isDefaultPrevented()&&(this._isShown=!1,(e=d(this._element).hasClass(Te))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),d(document).off(O.FOCUSIN),d(this._element).removeClass(Ce),d(this._element).off(O.CLICK_DISMISS),d(this._dialog).off(O.MOUSEDOWN_DISMISS),e?(e=u.getTransitionDurationFromElement(this._element),d(this._element).one(u.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(e)):this._hideModal()))},s.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return d(e).off(A)}),d(document).off(O.FOCUSIN),d.removeData(this._element,we),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},s.handleUpdate=function(){this._adjustDialog()},s._getConfig=function(e){return e=o({},Se,e),u.typeCheckConfig(k,e,_e),e},s._showElement=function(e){function t(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,d(n._element).trigger(r)}var n=this,i=d(this._element).hasClass(Te),r=(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.setAttribute("aria-modal",!0),this._element.scrollTop=0,i&&u.reflow(this._element),d(this._element).addClass(Ce),this._config.focus&&this._enforceFocus(),d.Event(O.SHOWN,{relatedTarget:e}));i?(e=u.getTransitionDurationFromElement(this._dialog),d(this._dialog).one(u.TRANSITION_END,t).emulateTransitionEnd(e)):t()},s._enforceFocus=function(){var t=this;d(document).off(O.FOCUSIN).on(O.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===d(t._element).has(e.target).length&&t._element.focus()})},s._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?d(this._element).on(O.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||d(this._element).off(O.KEYDOWN_DISMISS)},s._setResizeEvent=function(){var t=this;this._isShown?d(window).on(O.RESIZE,function(e){return t.handleUpdate(e)}):d(window).off(O.RESIZE)},s._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){d(document.body).removeClass(Ee),e._resetAdjustments(),e._resetScrollbar(),d(e._element).trigger(O.HIDDEN)})},s._removeBackdrop=function(){this._backdrop&&(d(this._backdrop).remove(),this._backdrop=null)},s._showBackdrop=function(e){var t,n=this,i=d(this._element).hasClass(Te)?Te:"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),d(this._backdrop).appendTo(document.body),d(this._element).on(O.CLICK_DISMISS,function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),i&&u.reflow(this._backdrop),d(this._backdrop).addClass(Ce),e&&(i?(i=u.getTransitionDurationFromElement(this._backdrop),d(this._backdrop).one(u.TRANSITION_END,e).emulateTransitionEnd(i)):e())):!this._isShown&&this._backdrop?(d(this._backdrop).removeClass(Ce),i=function(){n._removeBackdrop(),e&&e()},d(this._element).hasClass(Te)?(t=u.getTransitionDurationFromElement(this._backdrop),d(this._backdrop).one(u.TRANSITION_END,i).emulateTransitionEnd(t)):i()):e&&e()},s._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")},s._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},s._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},s._setScrollbar=function(){var e,t,r=this;this._isBodyOverflowing&&(e=[].slice.call(document.querySelectorAll(ke)),t=[].slice.call(document.querySelectorAll(Ae)),d(e).each(function(e,t){var n=t.style.paddingRight,i=d(t).css("padding-right");d(t).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),d(t).each(function(e,t){var n=t.style.marginRight,i=d(t).css("margin-right");d(t).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")}),e=document.body.style.paddingRight,t=d(document.body).css("padding-right"),d(document.body).data("padding-right",e).css("padding-right",parseFloat(t)+this._scrollbarWidth+"px")),d(document.body).addClass(Ee)},s._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(ke)),e=(d(e).each(function(e,t){var n=d(t).data("padding-right");d(t).removeData("padding-right"),t.style.paddingRight=n||""}),[].slice.call(document.querySelectorAll(Ae))),e=(d(e).each(function(e,t){var n=d(t).data("margin-right");void 0!==n&&d(t).css("margin-right",n).removeData("margin-right")}),d(document.body).data("padding-right"));d(document.body).removeData("padding-right"),document.body.style.paddingRight=e||""},s._getScrollbarWidth=function(){var e=document.createElement("div"),t=(e.className="modal-scrollbar-measure",document.body.appendChild(e),e.getBoundingClientRect().width-e.clientWidth);return document.body.removeChild(e),t},Me._jQueryInterface=function(n,i){return this.each(function(){var e=d(this).data(we),t=o({},Se,d(this).data(),"object"==Pt(n)&&n?n:{});if(e||(e=new Me(this,t),d(this).data(we,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](i)}else t.show&&e.show(i)})},t(Me,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Se}}]),Me);function Me(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}d(document).on(O.CLICK_DATA_API,'[data-toggle="modal"]',function(e){var t,n=this,i=u.getSelectorFromElement(this),i=(i&&(t=document.querySelector(i)),d(t).data(we)?"toggle":o({},d(t).data(),d(this).data())),r=("A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault(),d(t).one(O.SHOW,function(e){e.isDefaultPrevented()||r.one(O.HIDDEN,function(){d(n).is(":visible")&&n.focus()})}));Oe._jQueryInterface.call(d(t),i,this)}),d.fn[k]=Oe._jQueryInterface,d.fn[k].Constructor=Oe,d.fn[k].noConflict=function(){return d.fn[k]=xe,Oe._jQueryInterface};var M="tooltip",Ie="bs.tooltip",I="."+Ie,Pe=d.fn[M],De="bs-tooltip",Le=new RegExp("(^|\\s)"+De+"\\S+","g"),Ne={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},$e={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},je={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},ze="show",Be={HIDE:"hide"+I,HIDDEN:"hidden"+I,SHOW:"show"+I,SHOWN:"shown"+I,INSERTED:"inserted"+I,CLICK:"click"+I,FOCUSIN:"focusin"+I,FOCUSOUT:"focusout"+I,MOUSEENTER:"mouseenter"+I,MOUSELEAVE:"mouseleave"+I},Fe="fade",He="show",We="hover",Re="focus",P=((n=qe.prototype).enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(e){var t,n;this._isEnabled&&(e?(t=this.constructor.DATA_KEY,(n=d(e.currentTarget).data(t))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),d(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):d(this.getTipElement()).hasClass(He)?this._leave(null,this):this._enter(null,this))},n.dispose=function(){clearTimeout(this._timeout),d.removeData(this.element,this.constructor.DATA_KEY),d(this.element).off(this.constructor.EVENT_KEY),d(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&d(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var t=this;if("none"===d(this.element).css("display"))throw new Error("Please use show on visible elements");var e,n,i=d.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(d(this.element).trigger(i),n=u.findShadowRoot(this.element),n=d.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element),!i.isDefaultPrevented()&&n&&(i=this.getTipElement(),n=u.getUID(this.constructor.NAME),i.setAttribute("id",n),this.element.setAttribute("aria-describedby",n),this.setContent(),this.config.animation&&d(i).addClass(Fe),n="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,n=this._getAttachment(n),this.addAttachmentClass(n),e=this._getContainer(),d(i).data(this.constructor.DATA_KEY,this),d.contains(this.element.ownerDocument.documentElement,this.tip)||d(i).appendTo(e),d(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new r(this.element,i,{placement:n,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),d(i).addClass(He),"ontouchstart"in document.documentElement&&d(document.body).children().on("mouseover",null,d.noop),e=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,d(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)},d(this.tip).hasClass(Fe)?(n=u.getTransitionDurationFromElement(this.tip),d(this.tip).one(u.TRANSITION_END,e).emulateTransitionEnd(n)):e()))},n.hide=function(e){function t(){n._hoverState!==ze&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),d(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var n=this,i=this.getTipElement(),r=d.Event(this.constructor.Event.HIDE);d(this.element).trigger(r),r.isDefaultPrevented()||(d(i).removeClass(He),"ontouchstart"in document.documentElement&&d(document.body).children().off("mouseover",null,d.noop),this._activeTrigger.click=!1,this._activeTrigger[Re]=!1,this._activeTrigger[We]=!1,d(this.tip).hasClass(Fe)?(r=u.getTransitionDurationFromElement(i),d(i).one(u.TRANSITION_END,t).emulateTransitionEnd(r)):t(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(e){d(this.getTipElement()).addClass(De+"-"+e)},n.getTipElement=function(){return this.tip=this.tip||d(this.config.template)[0],this.tip},n.setContent=function(){var e=this.getTipElement();this.setElementContent(d(e.querySelectorAll(".tooltip-inner")),this.getTitle()),d(e).removeClass(Fe+" "+He)},n.setElementContent=function(e,t){var n=this.config.html;"object"==Pt(t)&&(t.nodeType||t.jquery)?n?d(t).parent().is(e)||e.empty().append(t):e.text(d(t).text()):e[n?"html":"text"](t)},n.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},n._getContainer=function(){return!1===this.config.container?document.body:u.isElement(this.config.container)?d(this.config.container):d(document).find(this.config.container)},n._getAttachment=function(e){return $e[e.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(e){var t;"click"===e?d(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)}):"manual"!==e&&(t=e===We?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,e=e===We?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,d(n.element).on(t,n.config.selector,function(e){return n._enter(e)}).on(e,n.config.selector,function(e){return n._leave(e)}))}),d(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()}),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var e=Pt(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",""))},n._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||d(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),d(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?Re:We]=!0),d(t.getTipElement()).hasClass(He)||t._hoverState===ze?t._hoverState=ze:(clearTimeout(t._timeout),t._hoverState=ze,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===ze&&t.show()},t.config.delay.show):t.show())},n._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||d(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),d(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?Re:We]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},n._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},n._getConfig=function(e){return"number"==typeof(e=o({},this.constructor.Default,d(this.element).data(),"object"==Pt(e)&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),u.typeCheckConfig(M,e,this.constructor.DefaultType),e},n._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},n._cleanTipClass=function(){var e=d(this.getTipElement()),t=e.attr("class").match(Le);null!==t&&t.length&&e.removeClass(t.join(""))},n._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},n._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(d(e).removeClass(Fe),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},qe._jQueryInterface=function(n){return this.each(function(){var e=d(this).data(Ie),t="object"==Pt(n)&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new qe(this,t),d(this).data(Ie,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},t(qe,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return je}},{key:"NAME",get:function(){return M}},{key:"DATA_KEY",get:function(){return Ie}},{key:"Event",get:function(){return Be}},{key:"EVENT_KEY",get:function(){return I}},{key:"DefaultType",get:function(){return Ne}}]),qe);function qe(e,t){if(void 0===r)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}d.fn[M]=P._jQueryInterface,d.fn[M].Constructor=P,d.fn[M].noConflict=function(){return d.fn[M]=Pe,P._jQueryInterface};var Ge,Ve="popover",Ye="bs.popover",D="."+Ye,Ue=d.fn[Ve],Xe="bs-popover",Qe=new RegExp("(^|\\s)"+Xe+"\\S+","g"),Ke=o({},P.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Ze=o({},P.DefaultType,{content:"(string|element|function)"}),Je={HIDE:"hide"+D,HIDDEN:"hidden"+D,SHOW:"show"+D,SHOWN:"shown"+D,INSERTED:"inserted"+D,CLICK:"click"+D,FOCUSIN:"focusin"+D,FOCUSOUT:"focusout"+D,MOUSEENTER:"mouseenter"+D,MOUSELEAVE:"mouseleave"+D},et=(l=Ge=P,(s=tt).prototype=Object.create(l.prototype),(s.prototype.constructor=s).__proto__=l,(s=tt.prototype).isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(e){d(this.getTipElement()).addClass(Xe+"-"+e)},s.getTipElement=function(){return this.tip=this.tip||d(this.config.template)[0],this.tip},s.setContent=function(){var e=d(this.getTipElement()),t=(this.setElementContent(e.find(".popover-header"),this.getTitle()),this._getContent());"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var e=d(this.getTipElement()),t=e.attr("class").match(Qe);null!==t&&0<t.length&&e.removeClass(t.join(""))},tt._jQueryInterface=function(n){return this.each(function(){var e=d(this).data(Ye),t="object"==Pt(n)?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new tt(this,t),d(this).data(Ye,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},t(tt,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Ke}},{key:"NAME",get:function(){return Ve}},{key:"DATA_KEY",get:function(){return Ye}},{key:"Event",get:function(){return Je}},{key:"EVENT_KEY",get:function(){return D}},{key:"DefaultType",get:function(){return Ze}}]),tt);function tt(){return Ge.apply(this,arguments)||this}d.fn[Ve]=et._jQueryInterface,d.fn[Ve].Constructor=et,d.fn[Ve].noConflict=function(){return d.fn[Ve]=Ue,et._jQueryInterface};var L="scrollspy",nt="bs.scrollspy",it="."+nt,rt=d.fn[L],ot={offset:10,method:"auto",target:""},at={offset:"number",method:"string",target:"(string|element)"},st={ACTIVATE:"activate"+it,SCROLL:"scroll"+it,LOAD_DATA_API:"load"+it+".data-api"},N="active",lt=".nav, .list-group",ct=".nav-link",dt=".list-group-item",ut="position",pt=((n=ft.prototype).refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":ut,i="auto"===this._config.method?e:this._config.method,r=i===ut?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,e=u.getSelectorFromElement(e);if(t=e?document.querySelector(e):t){var n=t.getBoundingClientRect();if(n.width||n.height)return[d(t)[i]().top+r,e]}return 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])})},n.dispose=function(){d.removeData(this._element,nt),d(this._scrollElement).off(it),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(e){var t;return"string"!=typeof(e=o({},ot,"object"==Pt(e)&&e?e:{})).target&&((t=d(e.target).attr("id"))||(t=u.getUID(L),d(e.target).attr("id",t)),e.target="#"+t),u.typeCheckConfig(L,e,at),e},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e){t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&e<this._offsets[0]&&0<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])}},n._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),e=d([].slice.call(document.querySelectorAll(e.join(","))));e.hasClass("dropdown-item")?(e.closest(".dropdown").find(".dropdown-toggle").addClass(N),e.addClass(N)):(e.addClass(N),e.parents(lt).prev(ct+", "+dt).addClass(N),e.parents(lt).prev(".nav-item").children(ct).addClass(N)),d(this._scrollElement).trigger(st.ACTIVATE,{relatedTarget:t})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(N)}).forEach(function(e){return e.classList.remove(N)})},ft._jQueryInterface=function(t){return this.each(function(){var e=d(this).data(nt);if(e||(e=new ft(this,"object"==Pt(t)&&t),d(this).data(nt,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},t(ft,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return ot}}]),ft);function ft(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+ct+","+this._config.target+" "+dt+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,d(this._scrollElement).on(st.SCROLL,function(e){return n._process(e)}),this.refresh(),this._process()}d(window).on(st.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),t=e.length;t--;){var n=d(e[t]);pt._jQueryInterface.call(n,n.data())}}),d.fn[L]=pt._jQueryInterface,d.fn[L].Constructor=pt,d.fn[L].noConflict=function(){return d.fn[L]=rt,pt._jQueryInterface};var ht="bs.tab",l="."+ht,mt=d.fn.tab,gt={HIDE:"hide"+l,HIDDEN:"hidden"+l,SHOW:"show"+l,SHOWN:"shown"+l,CLICK_DATA_API:"click"+l+".data-api"},vt="active",yt=".active",bt="> li > .active",wt=((s=xt.prototype).show=function(){var e,t,n,i,r,o,a=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&d(this._element).hasClass(vt)||d(this._element).hasClass("disabled")||(t=d(this._element).closest(".nav, .list-group")[0],n=u.getSelectorFromElement(this._element),t&&(r="UL"===t.nodeName||"OL"===t.nodeName?bt:yt,i=(i=d.makeArray(d(t).find(r)))[i.length-1]),r=d.Event(gt.HIDE,{relatedTarget:this._element}),o=d.Event(gt.SHOW,{relatedTarget:i}),i&&d(i).trigger(r),d(this._element).trigger(o),o.isDefaultPrevented()||r.isDefaultPrevented()||(n&&(e=document.querySelector(n)),this._activate(this._element,t),o=function(){var e=d.Event(gt.HIDDEN,{relatedTarget:a._element}),t=d.Event(gt.SHOWN,{relatedTarget:i});d(i).trigger(e),d(a._element).trigger(t)},e?this._activate(e,e.parentNode,o):o()))},s.dispose=function(){d.removeData(this._element,ht),this._element=null},s._activate=function(e,t,n){function i(){return r._transitionComplete(e,o,n)}var r=this,o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?d(t).children(yt):d(t).find(bt))[0],t=n&&o&&d(o).hasClass("fade");o&&t?(t=u.getTransitionDurationFromElement(o),d(o).removeClass("show").one(u.TRANSITION_END,i).emulateTransitionEnd(t)):i()},s._transitionComplete=function(e,t,n){var i;t&&(d(t).removeClass(vt),(i=d(t.parentNode).find("> .dropdown-menu .active")[0])&&d(i).removeClass(vt),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)),d(e).addClass(vt),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),u.reflow(e),d(e).addClass("show"),e.parentNode&&d(e.parentNode).hasClass("dropdown-menu")&&((i=d(e).closest(".dropdown")[0])&&(t=[].slice.call(i.querySelectorAll(".dropdown-toggle")),d(t).addClass(vt)),e.setAttribute("aria-expanded",!0)),n&&n()},xt._jQueryInterface=function(n){return this.each(function(){var e=d(this),t=e.data(ht);if(t||(t=new xt(this),e.data(ht,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},t(xt,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),xt);function xt(e){this._element=e}d(document).on(gt.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),wt._jQueryInterface.call(d(this),"show")}),d.fn.tab=wt._jQueryInterface,d.fn.tab.Constructor=wt,d.fn.tab.noConflict=function(){return d.fn.tab=mt,wt._jQueryInterface};var St="toast",_t="bs.toast",n="."+_t,Et=d.fn[St],Tt={CLICK_DISMISS:"click.dismiss"+n,HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n},Ct="show",kt="showing",At={animation:"boolean",autohide:"boolean",delay:"number"},Ot={animation:!0,autohide:!0,delay:500},Mt=((l=It.prototype).show=function(){function e(){n._element.classList.remove(kt),n._element.classList.add(Ct),d(n._element).trigger(Tt.SHOWN),n._config.autohide&&n.hide()}var t,n=this;d(this._element).trigger(Tt.SHOW),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove("hide"),this._element.classList.add(kt),this._config.animation?(t=u.getTransitionDurationFromElement(this._element),d(this._element).one(u.TRANSITION_END,e).emulateTransitionEnd(t)):e()},l.hide=function(e){var t=this;this._element.classList.contains(Ct)&&(d(this._element).trigger(Tt.HIDE),e?this._close():this._timeout=setTimeout(function(){t._close()},this._config.delay))},l.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Ct)&&this._element.classList.remove(Ct),d(this._element).off(Tt.CLICK_DISMISS),d.removeData(this._element,_t),this._element=null,this._config=null},l._getConfig=function(e){return e=o({},Ot,d(this._element).data(),"object"==Pt(e)&&e?e:{}),u.typeCheckConfig(St,e,this.constructor.DefaultType),e},l._setListeners=function(){var e=this;d(this._element).on(Tt.CLICK_DISMISS,'[data-dismiss="toast"]',function(){return e.hide(!0)})},l._close=function(){function e(){n._element.classList.add("hide"),d(n._element).trigger(Tt.HIDDEN)}var t,n=this;this._element.classList.remove(Ct),this._config.animation?(t=u.getTransitionDurationFromElement(this._element),d(this._element).one(u.TRANSITION_END,e).emulateTransitionEnd(t)):e()},It._jQueryInterface=function(n){return this.each(function(){var e=d(this),t=e.data(_t);if(t||(t=new It(this,"object"==Pt(n)&&n),e.data(_t,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},t(It,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"DefaultType",get:function(){return At}}]),It);function It(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}if(d.fn[St]=Mt._jQueryInterface,d.fn[St].Constructor=Mt,d.fn[St].noConflict=function(){return d.fn[St]=Et,Mt._jQueryInterface},void 0===d)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");s=d.fn.jquery.split(" ")[0].split(".");if(s[0]<2&&s[1]<9||1===s[0]&&9===s[1]&&s[2]<1||4<=s[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");e.Util=u,e.Alert=i,e.Button=V,e.Carousel=m,e.Collapse=de,e.Dropdown=T,e.Modal=Oe,e.Popover=et,e.Scrollspy=pt,e.Tab=wt,e.Toast=Mt,e.Tooltip=P,Object.defineProperty(e,"__esModule",{value:!0})},"object"==Pt(t)?i(t,n(379),n(311)):(n=[t,n(379),n(311)],void 0!==(t="function"==typeof(i=i)?i.apply(t,n):i)&&(e.exports=t))},391:function(e,t,n){var i;!function(){"use strict";i=[n(311)],void 0!==(i=function(e){!function(i){"use strict";var c,d,u,p,f,h,n={loadingNotice:"Loading image",errorNotice:"The image could not be loaded",errorDuration:2500,linkAttribute:"href",preventClicks:!0,beforeShow:i.noop,beforeHide:i.noop,onShow:i.noop,onHide:i.noop,onMove:i.noop};function r(e,t){this.$target=i(e),this.opts=i.extend({},n,t,this.$target.data()),void 0===this.isOpen&&this._init()}r.prototype._init=function(){this.$link=this.$target.find("a"),this.$image=this.$target.find("img"),this.$flyout=i('<div class="easyzoom-flyout" />'),this.$notice=i('<div class="easyzoom-notice" />'),this.$target.on({"mousemove.easyzoom touchmove.easyzoom":i.proxy(this._onMove,this),"mouseleave.easyzoom touchend.easyzoom":i.proxy(this._onLeave,this),"mouseenter.easyzoom touchstart.easyzoom":i.proxy(this._onEnter,this)}),this.opts.preventClicks&&this.$target.on("click.easyzoom",function(e){e.preventDefault()})},r.prototype.show=function(e,t){var n=this;if(!1!==this.opts.beforeShow.call(this)){if(!this.isReady)return this._loadImage(this.$link.attr(this.opts.linkAttribute),function(){!n.isMouseOver&&t||n.show(e)});this.$target.append(this.$flyout);var i=this.$target.outerWidth(),r=this.$target.outerHeight(),o=this.$flyout.width(),a=this.$flyout.height(),s=this.$zoom.width(),l=this.$zoom.height();c=Math.ceil(s-o),d=Math.ceil(l-a),c<0&&(c=0),d<0&&(d=0),u=c/i,p=d/r,this.isOpen=!0,this.opts.onShow.call(this),e&&this._move(e)}},r.prototype._onEnter=function(e){var t=e.originalEvent.touches;this.isMouseOver=!0,t&&1!=t.length||(e.preventDefault(),this.show(e,!0))},r.prototype._onMove=function(e){this.isOpen&&(e.preventDefault(),this._move(e))},r.prototype._onLeave=function(){this.isMouseOver=!1,this.isOpen&&this.hide()},r.prototype._onLoad=function(e){e.currentTarget.width&&(this.isReady=!0,this.$notice.detach(),this.$flyout.html(this.$zoom),this.$target.removeClass("is-loading").addClass("is-ready"),e.data.call&&e.data())},r.prototype._onError=function(){var e=this;this.$notice.text(this.opts.errorNotice),this.$target.removeClass("is-loading").addClass("is-error"),this.detachNotice=setTimeout(function(){e.$notice.detach(),e.detachNotice=null},this.opts.errorDuration)},r.prototype._loadImage=function(e,t){var n=new Image;this.$target.addClass("is-loading").append(this.$notice.text(this.opts.loadingNotice)),this.$zoom=i(n).on("error",i.proxy(this._onError,this)).on("load",t,i.proxy(this._onLoad,this)),n.style.position="absolute",n.src=e},r.prototype._move=function(e){if(0===e.type.indexOf("touch")){var t=e.touches||e.originalEvent.touches;f=t[0].pageX,h=t[0].pageY}else f=e.pageX||f,h=e.pageY||h;var n=this.$target.offset(),i=f-n.left,r=h-n.top,o=Math.ceil(i*u),a=Math.ceil(r*p);if(o<0||a<0||c<o||d<a)this.hide();else{var s=-1*a,l=-1*o;this.$zoom.css({top:s,left:l}),this.opts.onMove.call(this,s,l)}},r.prototype.hide=function(){this.isOpen&&!1!==this.opts.beforeHide.call(this)&&(this.$flyout.detach(),this.isOpen=!1,this.opts.onHide.call(this))},r.prototype.swap=function(e,t,n){this.hide(),this.isReady=!1,this.detachNotice&&clearTimeout(this.detachNotice),this.$notice.parent().length&&this.$notice.detach(),this.$target.removeClass("is-loading is-ready is-error"),this.$image.attr({src:e,srcset:i.isArray(n)?n.join():n}),this.$link.attr(this.opts.linkAttribute,t)},r.prototype.teardown=function(){this.hide(),this.$target.off(".easyzoom").removeClass("is-loading is-ready is-error"),this.detachNotice&&clearTimeout(this.detachNotice),delete this.$link,delete this.$zoom,delete this.$image,delete this.$notice,delete this.$flyout,delete this.isOpen,delete this.isReady},i.fn.easyZoom=function(t){return this.each(function(){var e=i.data(this,"easyZoom");e?void 0===e.isOpen&&e._init():i.data(this,"easyZoom",new r(this,t))})}}(e)}.apply(t,i))&&(e.exports=i)}()},291:function(e){"use strict";function t(e){return(t="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})(e)}var n="object"===("undefined"==typeof Reflect?"undefined":t(Reflect))?Reflect:null,l=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};var i=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},r=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(s,l){return new Promise(function(e,t){function n(e){s.removeListener(l,i),t(e)}function i(){"function"==typeof s.removeListener&&s.removeListener("error",n),e([].slice.call(arguments))}var r,o,a;m(s,l,i,{once:!0}),"error"!==l&&(o=n,a={once:!0},"function"==typeof(r=s).on&&m(r,"error",o,a))})},(o.EventEmitter=o).prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+t(e))}function s(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function d(e,t,n,i){var r,o;return c(n),void 0===(r=e._events)?(r=e._events=Object.create(null),e._eventsCount=0):(void 0!==r.newListener&&(e.emit("newListener",t,n.listener||n),r=e._events),o=r[t]),void 0===o?(o=r[t]=n,++e._eventsCount):("function"==typeof o?o=r[t]=i?[n,o]:[o,n]:i?o.unshift(n):o.push(n),0<(r=s(e))&&o.length>r&&!o.warned&&(o.warned=!0,(i=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",i.emitter=e,i.type=t,i.count=o.length,console&&console.warn)),e}function u(e,t,n){e={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},t=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(e);return t.listener=n,e.wrapFn=t}function p(e,t,n){e=e._events;if(void 0===e)return[];e=e[t];{if(void 0===e)return[];if("function"==typeof e)return n?[e.listener||e]:[e];if(n){for(var i=e,r=new Array(i.length),o=0;o<r.length;++o)r[o]=i[o].listener||i[o];return r}return h(e,e.length)}}function f(e){var t=this._events;if(void 0!==t){t=t[e];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function h(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}function m(n,i,r,o){if("function"==typeof n.on)o.once?n.once(i,r):n.on(i,r);else{if("function"!=typeof n.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+t(n));n.addEventListener(i,function e(t){o.once&&n.removeEventListener(i,e),r(t)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return s(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,r=this._events;if(void 0!==r)i=i&&void 0===r.error;else if(!i)return!1;if(i){if((o=0<t.length?t[0]:o)instanceof Error)throw o;i=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw i.context=o,i}var o=r[e];if(void 0===o)return!1;if("function"==typeof o)l(o,this,t);else for(var a=o.length,s=h(o,a),n=0;n<a;++n)l(s[n],this,t);return!0},o.prototype.on=o.prototype.addListener=function(e,t){return d(this,e,t,!1)},o.prototype.prependListener=function(e,t){return d(this,e,t,!0)},o.prototype.once=function(e,t){return c(t),this.on(e,u(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,u(this,e,t)),this},o.prototype.off=o.prototype.removeListener=function(e,t){var n,i,r,o,a;if(c(t),void 0===(i=this._events))return this;if(void 0===(n=i[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(r=-1,o=n.length-1;0<=o;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,r=o;break}if(r<0)return this;if(0===r)n.shift();else{for(var s=n,l=r;l+1<s.length;l++)s[l]=s[l+1];s.pop()}1===n.length&&(i[e]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.removeAllListeners=function(e){var t,n=this._events;if(void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){for(var i,r=Object.keys(n),o=0;o<r.length;++o)"removeListener"!==(i=r[o])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(o=t.length-1;0<=o;o--)this.removeListener(e,t[o]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},o.prototype.listenerCount=f,o.prototype.eventNames=function(){return 0<this._eventsCount?i(this._events):[]}},144:function(e,t){var n;function i(e){return(i="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})(e)}n=function(){return function i(r,o,a){function s(n,e){if(!o[n]){if(!r[n]){if(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 s(t||e)},t,t.exports,i,r,o,a)}return o[n].exports}for(var l=void 0,e=0;e<a.length;e++)s(a[e]);return s}({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 t="row"===t||"row-reverse"===t,n=e.mainAxis;n?t&&"inline"===n||!t&&"block"===n||(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=t?{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=t?"inline":"block",e.crossAxis=t?"block":"inline","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,a=-1;if("flex-end"===t)for(i=e.mainSpace,i+=n;o=e.children[++a];)o.flexStyle.mainStart=i,i+=o.flexStyle.mainOuter;else if("center"===t)for(i=e.mainSpace/2,i+=n;o=e.children[++a];)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[++a];)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[++a];)o.flexStyle.mainStart=i,i+=o.flexStyle.mainOuter+r;else for(i=0,i+=n;o=e.children[++a];)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,r=("auto"===t.flexStyle.crossBefore&&++i,"auto"===t.flexStyle.crossAfter&&++i,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"),a=e("./writeAll");t.exports=function(e){a(o(e))},t.exports.read=i,t.exports.write=r,t.exports.readAll=o,t.exports.writeAll=a},{"./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:(i=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:"+(n=e)+"!important",i.parentNode.insertBefore(o,i.nextSibling),n=o.offsetWidth,i.parentNode.removeChild(o),n)};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")||"",i=(i||e.setAttribute("data-style",r),window.getComputedStyle&&getComputedStyle(e)||{}),o=t,a=i;for(n in o)n in a&&!/^(alignSelf|height|width)$/.test(n)&&(o[n]=a[n]);var s,l,c,d,i=e.currentStyle||{},u=t,p=i;for(d in u)d in p?u[d]=p[d]:(s=d.replace(/[A-Z]/g,"-$&").toLowerCase())in p&&(u[d]=p[s]);"-js-display"in p&&(u.display=p["-js-display"]);for(var f=t,h=r;l=g.exec(h);){var m=l[1].toLowerCase().replace(/-[a-z]/g,function(e){return e.slice(1).toUpperCase()});f[m]=l[2]}for(c in t)t[c]=v(t[c],e);i=e.getBoundingClientRect();t.offsetHeight=i.height||e.offsetHeight,t.offsetWidth=i.width||e.offsetWidth}return{element:e,style:t}};var g=/([^\s:;]+)\s*:\s*([^;]+?)\s*(;|$)/g,v=e("./getComputedLength")},{"./getComputedLength":14}],16:[function(e,t,n){function d(e){var t=e instanceof Element,n=t&&e.getAttribute("data-style"),t=t&&e.currentStyle&&e.currentStyle["-js-display"];return i.test(n)||r.test(t)}t.exports=function(e){var t=[];return function e(t,n){for(var i,r=d(t),o=[],a=-1;i=t.childNodes[++a];){var s,l=3===i.nodeType&&!/^\s*$/.test(i.nodeValue),l=(r&&l&&(l=i,(i=t.insertBefore(document.createElement("flex-item"),l)).appendChild(l)),i instanceof Element);l&&(l=e(i,n),r&&((s=i.style).display="inline-block",s.position="absolute",l.style=u(i).style,o.push(l)))}var c={element:t,children:o};return r&&(c.style=u(t).style,n.push(c)),c}(e,t),t};var u=e("../read"),i=/(^|;)\s*display\s*:\s*(inline-)?flex\s*(;|$)/i,r=/^(inline-)?flex$/i},{"../read":15}],17:[function(e,t,n){function s(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=s(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=s(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,a="inline"===i.mainAxis?["main","cross"]:["cross","main"];o.boxSizing="content-box",o.display="block",o.position="absolute","auto"!==i.flexStyle[a[0]]&&(o.width=s(i.flexStyle[a[0]]-i.flexStyle[a[0]+"InnerBefore"]-i.flexStyle[a[0]+"InnerAfter"]-i.flexStyle[a[0]+"BorderBefore"]-i.flexStyle[a[0]+"BorderAfter"])),"auto"!==i.flexStyle[a[1]]&&(o.height=s(i.flexStyle[a[1]]-i.flexStyle[a[1]+"InnerBefore"]-i.flexStyle[a[1]+"InnerAfter"]-i.flexStyle[a[1]+"BorderBefore"]-i.flexStyle[a[1]+"BorderAfter"])),o.top=s(i.flexStyle[a[1]+"Start"]),o.left=s(i.flexStyle[a[0]+"Start"]),o.marginTop=s(i.flexStyle[a[1]+"Before"]),o.marginRight=s(i.flexStyle[a[0]+"After"]),o.marginBottom=s(i.flexStyle[a[1]+"After"]),o.marginLeft=s(i.flexStyle[a[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)},"object"==i(t)?e.exports=n():void 0!==(t="function"==typeof(n=n)?n.apply(t,[]):n)&&(e.exports=t)},379:function($,e,t){"use strict";t.r(e);var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,j=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}();var z=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},j))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];e=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?e[t]:e}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function d(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),n=t.overflow,i=t.overflowX,t=t.overflowY;return/(auto|scroll|overlay)/.test(n+t+i)?e:d(l(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var i=n&&!(!window.MSInputMethodContext||!document.documentMode),B=n&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?i:10!==e&&i||B}function f(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?f(n):n:(e?e.ownerDocument:document).documentElement}function o(e){return null!==e.parentNode?o(e.parentNode):e}function h(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,n=n?t:e,r=document.createRange(),r=(r.setStart(i,0),r.setEnd(n,0),r.commonAncestorContainer);if(e!==r&&t!==r||i.contains(n))return"BODY"===(n=(i=r).nodeName)||"HTML"!==n&&f(i.firstElementChild)!==i?f(r):r;n=o(e);return n.host?h(n.host,t):h(e,o(t).host)}function m(e,t){var t="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",n=e.nodeName;return"BODY"===n||"HTML"===n?(n=e.ownerDocument.documentElement,(e.ownerDocument.scrollingElement||n)[t]):e[t]}function r(e,t){var t="x"===t?"Left":"Top",n="Left"==t?"Right":"Bottom";return parseFloat(e["border"+t+"Width"])+parseFloat(e["border"+n+"Width"])}function s(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function g(e){var t=e.body,e=e.documentElement,n=p(10)&&getComputedStyle(e);return{height:s("Height",t,e,n),width:s("Width",t,e,n)}}var v=function(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),e};function y(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)}}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};function x(e){return w({},e,{right:e.left+e.width,bottom:e.top+e.height})}function S(e){var t={};try{p(10)?(t=e.getBoundingClientRect(),n=m(e,"top"),i=m(e,"left"),t.top+=n,t.left+=i,t.bottom+=n,t.right+=i):t=e.getBoundingClientRect()}catch(e){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?g(e.ownerDocument):{},t=i.width||e.clientWidth||n.width,i=i.height||e.clientHeight||n.height,t=e.offsetWidth-t,i=e.offsetHeight-i;return(t||i)&&(t-=r(e=u(e),"x"),i-=r(e,"y"),n.width-=t,n.height-=i),x(n)}function _(e,t,n){var n=2<arguments.length&&void 0!==n&&n,i=p(10),r="HTML"===t.nodeName,o=S(e),a=S(t),e=d(e),s=u(t),l=parseFloat(s.borderTopWidth),c=parseFloat(s.borderLeftWidth),a=(n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0)),x({top:o.top-a.top-l,left:o.left-a.left-c,width:o.width,height:o.height}));return a.marginTop=0,a.marginLeft=0,!i&&r&&(o=parseFloat(s.marginTop),r=parseFloat(s.marginLeft),a.top-=l-o,a.bottom-=l-o,a.left-=c-r,a.right-=c-r,a.marginTop=o,a.marginLeft=r),a=(i&&!n?t.contains(e):t===e&&"BODY"!==e.nodeName)?function(e,t,n){var n=2<arguments.length&&void 0!==n&&n,i=m(t,"top"),t=m(t,"left"),n=n?-1:1;return e.top+=i*n,e.bottom+=i*n,e.left+=t*n,e.right+=t*n,e}(a,t):a}function E(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function T(e,t,n,i,r){var o,r=4<arguments.length&&void 0!==r&&r,a={top:0,left:0},s=r?E(e):h(e,c(t)),s=("viewport"===i?a=function(e,t){var t=1<arguments.length&&void 0!==t&&t,n=e.ownerDocument.documentElement,e=_(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:m(n),t=t?0:m(n,"left");return x({top:o-e.top+e.marginTop,left:t-e.left+e.marginLeft,width:i,height:r})}(s,r):(o=void 0,"scrollParent"===i?"BODY"===(o=d(l(t))).nodeName&&(o=e.ownerDocument.documentElement):o="window"===i?e.ownerDocument.documentElement:i,t=_(o,s,r),"HTML"!==o.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===u(t,"position"))return!0;n=l(t);return!!n&&e(n)}(s)?a=t:(r=(i=g(e.ownerDocument)).height,o=i.width,a.top+=t.top-t.marginTop,a.bottom=r+t.top,a.left+=t.left-t.marginLeft,a.right=o+t.left)),"number"==typeof(n=n||0));return a.left+=s?n:n.left||0,a.top+=s?n:n.top||0,a.right-=s?n:n.right||0,a.bottom-=s?n:n.bottom||0,a}function C(e,t,n,i,r,o){o=5<arguments.length&&void 0!==o?o:0;if(-1===e.indexOf("auto"))return e;var i=T(n,i,o,r),a={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},o=Object.keys(a).map(function(e){return w({key:e},a[e],{area:(e=a[e]).width*e.height})}).sort(function(e,t){return t.area-e.area}),r=o.filter(function(e){var t=e.width,e=e.height;return t>=n.clientWidth&&e>=n.clientHeight}),t=(0<r.length?r:o)[0].key,i=e.split("-")[1];return t+(i?"-"+i:"")}function k(e,t,n,i){i=3<arguments.length&&void 0!==i?i:null;return _(n,i?E(t):h(t,c(n)),i)}function A(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),t=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+t,height:e.offsetHeight+n}}function O(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function F(e,t,n){n=n.split("-")[0];var e=A(e),i={width:e.width,height:e.height},r=-1!==["right","left"].indexOf(n),o=r?"top":"left",a=r?"left":"top",s=r?"height":"width",r=r?"width":"height";return i[o]=t[o]+t[s]/2-e[s]/2,i[a]=n===a?t[a]-e[r]:t[O(a)],i}function M(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function H(e,n,t){return(void 0===t?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=M(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",t))).forEach(function(e){e.function;var t=e.function||e.fn;e.enabled&&a(t)&&(n.offsets.popper=x(n.offsets.popper),n.offsets.reference=x(n.offsets.reference),n=t(n,e))}),n}function W(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function I(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],r=r?""+r+n:e;if(void 0!==document.body.style[r])return r}return null}function R(e){e=e.ownerDocument;return e?e.defaultView:window}function q(e,t,n,i){n.updateBound=i,R(e).addEventListener("resize",n.updateBound,{passive:!0});i=d(e);return function e(t,n,i,r){var o="BODY"===t.nodeName,t=o?t.ownerDocument.defaultView:t;t.addEventListener(n,i,{passive:!0}),o||e(d(t.parentNode),n,i,r),r.push(t)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function G(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,R(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function P(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function D(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&P(i[e])&&(t="px"),n.style[e]=i[e]+t})}function V(e,t){function n(e){return e}var i=e.offsets,r=i.popper,i=i.reference,o=Math.round,a=Math.floor,i=o(i.width),s=o(r.width),l=-1!==["left","right"].indexOf(e.placement),e=-1!==e.placement.indexOf("-"),l=t?l||e||i%2==s%2?o:a:n,a=t?o:n;return{left:l(i%2==1&&s%2==1&&!e&&t?r.left-1:r.left),top:a(r.top),bottom:a(r.bottom),right:l(r.right)}}var Y=n&&/Firefox/i.test(navigator.userAgent);function U(e,t,n){var i=M(e,function(e){return e.name===t}),e=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});return e||0,e}var X=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],L=X.slice(3);function Q(e,t){t=1<arguments.length&&void 0!==t&&t,e=L.indexOf(e),e=L.slice(e+1).concat(L.slice(0,e));return t?e.reverse():e}var K="flip",Z="clockwise",J="counterclockwise";function ee(e,s,l,t){var r=[0,0],i=-1!==["right","left"].indexOf(t),t=e.split(/(\+|\-)/).map(function(e){return e.trim()}),e=t.indexOf(M(t,function(e){return-1!==e.search(/,|\s/)})),n=(t[e]&&t[e].indexOf(","),/\s*,\s*|\s+/);return(-1!==e?[t.slice(0,e).concat([t[e].split(n)[0]]),[t[e].split(n)[1]].concat(t.slice(e+1))]:[t]).map(function(e,t){var a=(1===t?!i:i)?"height":"width",n=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,n=!0,e):n?(e[e.length-1]+=t,n=!1,e):e.concat(t)},[]).map(function(e){return t=a,n=s,i=l,r=+(o=(e=e).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],o=o[2],r?0===o.indexOf("%")?x("%p"===o?n:i)[t]/100*r:"vh"===o||"vw"===o?("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r:e;var t,n,i,r,o})}).forEach(function(n,i){n.forEach(function(e,t){P(e)&&(r[i]+=e*("-"===n[t-1]?-1:1))})}),r}var te={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,n,i,r=e.placement,o=r.split("-")[0];return(r=r.split("-")[1])&&(t=(n=e.offsets).reference,n=n.popper,i=(o=-1!==["bottom","top"].indexOf(o))?"width":"height",o={start:b({},o=o?"left":"top",t[o]),end:b({},o,t[o]+t[i]-n[i])},e.offsets.popper=w({},n,o[r])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var t=t.offset,n=e.placement,i=(r=e.offsets).popper,r=r.reference,n=n.split("-")[0],o=void 0,o=P(+t)?[+t,0]:ee(t,i,r,n);return"left"===n?(i.top+=o[0],i.left-=o[1]):"right"===n?(i.top+=o[0],i.left+=o[1]):"top"===n?(i.left+=o[0],i.top-=o[1]):"bottom"===n&&(i.left+=o[0],i.top+=o[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,i){var t=i.boundariesElement||f(e.instance.popper),n=(e.instance.reference===t&&(t=f(t)),I("transform")),r=e.instance.popper.style,o=r.top,a=r.left,s=r[n],l=(r.top="",r.left="",r[n]="",T(e.instance.popper,e.instance.reference,i.padding,t,e.positionFixed)),t=(r.top=o,r.left=a,r[n]=s,i.boundaries=l,i.priority),c=e.offsets.popper,d={primary:function(e){var t=c[e];return c[e]<l[e]&&!i.escapeWithReference&&(t=Math.max(c[e],l[e])),b({},e,t)},secondary:function(e){var t="right"===e?"left":"top",n=c[t];return c[e]>l[e]&&!i.escapeWithReference&&(n=Math.min(c[t],l[e]-("right"===e?c.width:c.height))),b({},t,n)}};return t.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=w({},c,d[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(n=e.offsets).popper,n=n.reference,i=e.placement.split("-")[0],r=Math.floor,o=(i=-1!==["top","bottom"].indexOf(i))?"right":"bottom",a=i?"left":"top",i=i?"width":"height";return t[o]<r(n[a])&&(e.offsets.popper[a]=r(n[a])-t[i]),t[a]>r(n[o])&&(e.offsets.popper[a]=r(n[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!U(e.instance.modifiers,"arrow","keepTogether"))return e;if("string"==typeof(t=t.element)){if(!(t=e.instance.popper.querySelector(t)))return e}else if(!e.instance.popper.contains(t))return e;var n=e.placement.split("-")[0],i=(r=e.offsets).popper,r=r.reference,o=(n=-1!==["left","right"].indexOf(n))?"height":"width",a=(d=n?"Top":"Left").toLowerCase(),s=n?"left":"top",n=n?"bottom":"right",l=A(t)[o],n=(r[n]-l<i[a]&&(e.offsets.popper[a]-=i[a]-(r[n]-l)),r[a]+l>i[n]&&(e.offsets.popper[a]+=r[a]+l-i[n]),e.offsets.popper=x(e.offsets.popper),r[a]+r[o]/2-l/2),r=u(e.instance.popper),c=parseFloat(r["margin"+d]),r=parseFloat(r["border"+d+"Width"]),d=n-e.offsets.popper[a]-c-r,d=Math.max(Math.min(i[o]-l,d),0);return e.arrowElement=t,e.offsets.arrow=(b(n={},a,Math.round(d)),b(n,s,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(c,d){if(W(c.instance.modifiers,"inner"))return c;if(c.flipped&&c.placement===c.originalPlacement)return c;var u=T(c.instance.popper,c.instance.reference,d.padding,d.boundariesElement,c.positionFixed),p=c.placement.split("-")[0],f=O(p),h=c.placement.split("-")[1]||"",m=[];switch(d.behavior){case K:m=[p,f];break;case Z:m=Q(p);break;case J:m=Q(p,!0);break;default:m=d.behavior}return m.forEach(function(e,t){if(p!==e||m.length===t+1)return c;p=c.placement.split("-")[0],f=O(p);var e=c.offsets.popper,n=c.offsets.reference,i=Math.floor,n="left"===p&&i(e.right)>i(n.left)||"right"===p&&i(e.left)<i(n.right)||"top"===p&&i(e.bottom)>i(n.top)||"bottom"===p&&i(e.top)<i(n.bottom),r=i(e.left)<i(u.left),o=i(e.right)>i(u.right),a=i(e.top)<i(u.top),e=i(e.bottom)>i(u.bottom),i="left"===p&&r||"right"===p&&o||"top"===p&&a||"bottom"===p&&e,s=-1!==["top","bottom"].indexOf(p),l=!!d.flipVariations&&(s&&"start"===h&&r||s&&"end"===h&&o||!s&&"start"===h&&a||!s&&"end"===h&&e),o=!!d.flipVariationsByContent&&(s&&"start"===h&&o||s&&"end"===h&&r||!s&&"start"===h&&e||!s&&"end"===h&&a),r=l||o;(n||i||r)&&(c.flipped=!0,(n||i)&&(p=m[t+1]),r&&(h="end"===(e=h)?"start":"start"===e?"end":e),c.placement=p+(h?"-"+h:""),c.offsets.popper=w({},c.offsets.popper,F(c.instance.popper,c.offsets.reference,c.placement)),c=H(c.instance.modifiers,c,"flip"))}),c},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=(r=e.offsets).popper,r=r.reference,o=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[o?"left":"top"]=r[n]-(a?i[o?"width":"height"]:0),e.placement=O(t),e.offsets.popper=x(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!U(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=M(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=void 0!==(o=M(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration)?o:t.gpuAcceleration,a=S(t=f(e.instance.popper)),r={position:r.position},s=V(e,window.devicePixelRatio<2||!Y),n="bottom"===n?"top":"bottom",i="right"===i?"left":"right",l=I("transform"),c=void 0,d=void 0,d="bottom"==n?"HTML"===t.nodeName?-t.clientHeight+s.bottom:-a.height+s.bottom:s.top,c="right"==i?"HTML"===t.nodeName?-t.clientWidth+s.right:-a.width+s.right:s.left,a=(o&&l?(r[l]="translate3d("+c+"px, "+d+"px, 0)",r[n]=0,r[i]=0,r.willChange="transform"):(t="right"==i?-1:1,r[n]=d*("bottom"==n?-1:1),r[i]=c*t,r.willChange=n+", "+i),{"x-placement":e.placement});return e.attributes=w({},a,e.attributes),e.styles=w({},r,e.styles),e.arrowStyles=w({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return D(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&D(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,r){return r=k(r,t,e,n.positionFixed),r=C(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding),t.setAttribute("x-placement",r),D(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},v=(v(N,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=k(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=C(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=F(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=H(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,W(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[I("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=q(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),N);function N(e,t){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=this,o=N;if(!(r instanceof o))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=z(this.update.bind(this)),this.options=w({},N.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(w({},N.Defaults.modifiers,i.modifiers)).forEach(function(e){n.options.modifiers[e]=w({},N.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return w({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&a(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}v.Utils=("undefined"!=typeof window?window:t.g).PopperUtils,v.placements=X,v.Defaults=te,e.default=v},954:function(e,t,n){var i=n(668);e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},668:function(e){e.exports=function(r,o,a,s){var l,c=0;return"boolean"!=typeof o&&(s=a,a=o,o=void 0),function(){var e=this,t=Number(new Date)-c,n=arguments;function i(){c=Number(new Date),a.apply(e,n)}s&&!l&&i(),l&&clearTimeout(l),void 0===s&&r<t?i():!0!==o&&(l=setTimeout(s?function(){l=void 0}:i,void 0===s?r-t:r))}}},672:function(e,t,n){var i;function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i=function(){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function a(e){return t({},te,e)}function e(e,t){var n,i="LazyLoad::Initialized",t=new e(t);try{n=new CustomEvent(i,{detail:{instance:t}})}catch(e){(n=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,{instance:t})}window.dispatchEvent(n)}function l(e,t){return e.getAttribute(oe+t)}function d(e){return b(e)===re}function u(e){return e.llTempImage}function $(e,t){e&&(e.toLoadCount=t)}function j(e){for(var t,n=[],i=0;t=e.children[i];i+=1)"SOURCE"===t.tagName&&n.push(t);return n}function z(e,t){j(e).forEach(t)}function B(e){delete e[g]}function n(t,e){var n;I(t)||(n={},e.forEach(function(e){n[e]=t.getAttribute(e)}),t[g]=n)}function p(i,e){var r;I(i)&&(r=ce(i),e.forEach(function(e){var t,n;t=i,(n=r[e=e])?t.setAttribute(e,n):t.removeAttribute(e)}))}function F(e,t,n){E(e,t.class_applied),w(e,ie),n&&(t.unobserve_completed&&C(e,t),_(t.callback_applied,e,n))}function H(e,t,n){E(e,t.class_loading),w(e,v),n&&(k(n,1),_(t.callback_loading,e,n))}function i(e,t,n){n&&e.setAttribute(t,n)}function W(e,t){i(e,m,l(e,t.data_sizes)),i(e,o,l(e,t.data_srcset)),i(e,h,l(e,t.data_src))}function R(e,t){!t||0<t.loadingCount||0<t.toLoadCount||_(e.callback_finish,t)}function q(e,t,n){e.addEventListener(t,n),e.llEvLisnrs[t]=n}function G(e,t,n){delete e.llTempImage,k(n,-1),n&&--n.toLoadCount,T(e,t.class_loading),t.unobserve_completed&&C(e,n)}function c(a,s,l){var e,t,c=u(a)||a;P(c)||(P(e=c)||(e.llEvLisnrs={}),t="VIDEO"===e.tagName?"loadeddata":"load",q(e,t,function(e){var t=0,n=a,i=s,r=l,o=d(n);G(n,i,r),E(n,i.class_loaded),w(n,ne),_(i.callback_loaded,n,r),o||R(i,r),D(c)}),q(e,"error",function(e){var t=0,n=a,i=s,r=l,o=d(n);G(n,i,r),E(n,i.class_error),w(n,y),_(i.callback_error,n,r),i.restore_on_error&&p(n,M),o||R(i,r),D(c)}))}function V(e){return e.use_native&&"loading"in HTMLImageElement.prototype}function Y(e,c,d){e.forEach(function(e){return e.isIntersecting||0<e.intersectionRatio?(r=e.target,o=e,a=c,s=d,l=0<=ae.indexOf(b(r)),w(r,"entered"),E(r,a.class_entered),T(r,a.class_exited),a.unobserve_entered&&C(r,s),_(a.callback_enter,r,o,s),void(l||L(r,a,s))):(o=e.target,l=e,r=c,a=d,void(S(o)||(E(o,r.class_exited),s=o,e=l,n=a,(t=r).cancel_on_exit&&b(s)===v&&"IMG"===s.tagName&&(D(s),A(i=s,function(e){fe(e)}),fe(i),he(s),T(s,t.class_loading),k(n,-1),x(s),_(t.callback_cancel,s,e,n)),_(r.callback_exit,o,l,a))));var t,n,i,r,o,a,s,l})}function U(e){return Array.prototype.slice.call(e)}function s(e){return e.container.querySelectorAll(e.elements_selector)}function X(e){return b(e)===y}function Q(e,t){return e=e||s(t),U(e).filter(S)}function r(e,t){var i,r,n,o,e=a(e);this._settings=e,this.loadingCount=0,n=e,o=this,Z&&!V(n)&&(o._observer=new IntersectionObserver(function(e){Y(e,n,o)},{root:n.container===document?null:n.container,rootMargin:n.thresholds||n.threshold+"px"})),i=e,r=this,f&&window.addEventListener("online",function(){var t,e,n;e=r,n=s(t=i),U(n).filter(X).forEach(function(e){T(e,t.class_error),x(e)}),e.update()}),this.update(t)}var f="undefined"!=typeof window,K=f&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),Z=f&&"IntersectionObserver"in window,J=f&&"classList"in document.createElement("p"),ee=f&&1<window.devicePixelRatio,te={elements_selector:".lazy",container:K||f?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},h="src",o="srcset",m="sizes",g="llOriginalAttrs",v="loading",ne="loaded",ie="applied",y="error",re="native",oe="data-",b=function(e){return l(e,"ll-status")},w=function(e,t){var n;e=e,n="data-ll-status",null!==t?e.setAttribute(n,t):e.removeAttribute(n)},x=function(e){return w(e,null)},S=function(e){return null===b(e)},ae=[v,"loaded",ie,y],_=function(e,t,n,i){e&&(void 0===i?void 0===n?e(t):e(t,n):e(t,n,i))},E=function(e,t){J?e.classList.add(t):e.className+=(e.className?" ":"")+t},T=function(e,t){J?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},C=function(e,t){t&&(t=t._observer)&&t.unobserve(e)},k=function(e,t){e&&(e.loadingCount+=t)},A=function(e,t){e=e.parentNode;e&&"PICTURE"===e.tagName&&j(e).forEach(t)},O=[h],se=[h,"poster"],M=[h,o,m],le=["data"],I=function(e){return!!e[g]},ce=function(e){return e[g]},de={IMG:function(e,t){A(e,function(e){n(e,M),W(e,t)}),n(e,M),W(e,t)},IFRAME:function(e,t){n(e,O),i(e,h,l(e,t.data_src))},VIDEO:function(e,t){z(e,function(e){n(e,O),i(e,h,l(e,t.data_src))}),n(e,se),i(e,"poster",l(e,t.data_poster)),i(e,h,l(e,t.data_src)),e.load()},OBJECT:function(e,t){n(e,le),i(e,"data",l(e,t.data_src))}},ue=["IMG","IFRAME","VIDEO","OBJECT"],pe=function(e,t,n){e.removeEventListener(t,n)},P=function(e){return!!e.llEvLisnrs},D=function(e){if(P(e)){var t,n=e.llEvLisnrs;for(t in n){var i=n[t];pe(e,t,i)}delete e.llEvLisnrs}},L=function(e,t,n){var i,r,o,a,s;-1<ue.indexOf(e.tagName)?(c(o=e,i=t,s=n),i=i,s=s,(r=de[(o=o).tagName])&&(r(o,i),H(o,i,s))):(r=t,o=n,(i=e).llTempImage=document.createElement("IMG"),c(i,r,o),I(s=i)||(s[g]={backgroundImage:s.style.backgroundImage}),s=o,e=l(t=i,(n=r).data_bg),a=l(t,n.data_bg_hidpi),(a=ee&&a?a:e)&&(t.style.backgroundImage='url("'.concat(a,'")'),u(t).setAttribute(h,a),H(t,n,s)),e=o,n=l(a=i,(t=r).data_bg_multi),s=l(a,t.data_bg_multi_hidpi),(s=ee&&s?s:n)&&(a.style.backgroundImage=s,F(a,t,e)),n=o,(t=l(s=i,(a=r).data_bg_set))&&(e=(t=t.split("|")).map(function(e){return"image-set(".concat(e,")")}),s.style.backgroundImage=e.join(),""===s.style.backgroundImage&&(e=t.map(function(e){return"-webkit-image-set(".concat(e,")")}),s.style.backgroundImage=e.join()),F(s,a,n)))},fe=function(e){e.removeAttribute(h),e.removeAttribute(o),e.removeAttribute(m)},he=function(e){A(e,function(e){p(e,M)}),p(e,M)},me={IMG:he,IFRAME:function(e){p(e,O)},VIDEO:function(e){z(e,function(e){p(e,O)}),p(e,se),e.load()},OBJECT:function(e){p(e,le)}},ge=["IMG","IFRAME","VIDEO"];if(r.prototype={update:function(e){var t,n,i,r,o=this._settings,e=Q(e,o);$(this,e.length),!K&&Z?V(o)?(i=o,r=this,e.forEach(function(e){var t,n;-1!==ge.indexOf(e.tagName)&&(t=i,n=r,(e=e).setAttribute("loading","lazy"),c(e,t,n),(n=de[e.tagName])&&n(e,t),w(e,re))}),$(r,0)):(o=e,(t=this._observer).disconnect(),n=t,o.forEach(function(e){n.observe(e)})):this.loadAll(e)},destroy:function(){this._observer&&this._observer.disconnect(),s(this._settings).forEach(function(e){B(e)}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){var t=this,n=this._settings;Q(e,n).forEach(function(e){C(e,t),L(e,n,t)})},restoreAll:function(){var r=this._settings;s(r).forEach(function(e){var t,n,i;t=r,(i=me[(n=e=e).tagName])?i(n):I(i=n)&&(n=ce(i),i.style.backgroundImage=n.backgroundImage),i=t,S(n=e)||d(n)||(T(n,i.class_entered),T(n,i.class_exited),T(n,i.class_applied),T(n,i.class_loading),T(n,i.class_loaded),T(n,i.class_error)),x(e),B(e)})}},r.load=function(e,t){t=a(t);L(e,t)},r.resetStatus=function(e){x(e)},f){var ve=r,N=window.lazyLoadOptions;if(N)if(N.length)for(var ye,be=0;ye=N[be];be+=1)e(ve,ye);else e(ve,N)}return r},"object"==r(t)?e.exports=i():void 0!==(n="function"==typeof(i=i)?i.call(t,n,t,e):i)&&(e.exports=n)},276:function(){!function(){"use strict";function t(e){if(!e)throw new Error("No options passed to Waypoint constructor");if(!e.element)throw new Error("No element option passed to Waypoint constructor");if(!e.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+n,this.options=t.Adapter.extend({},t.defaults,e),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=e.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),o[this.key]=this,n+=1}var n=0,o={};t.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},t.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete o[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(e){var t,n=[];for(t in o)n.push(o[t]);for(var i=0,r=n.length;i<r;i++)n[i][e]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){for(var e in t.Context.refreshAll(),o)o[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(e){window.setTimeout(e,1e3/60)}function n(e){this.element=e,this.Adapter=f.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,r[e.waypointContextKey]=this,i+=1,f.windowContext||(f.windowContext=!0,f.windowContext=new n(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,r={},f=window.Waypoint,e=window.onload;n.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},n.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),n=this.element==this.element.window;e&&t&&!n&&(this.adapter.off(".waypoints"),delete r[this.key])},n.prototype.createThrottledResizeHandler=function(){function e(){t.handleResize(),t.didResize=!1}var t=this;this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,f.requestAnimationFrame(e))})},n.prototype.createThrottledScrollHandler=function(){function e(){t.handleScroll(),t.didScroll=!1}var t=this;this.adapter.on("scroll.waypoints",function(){t.didScroll&&!f.isTouch||(t.didScroll=!0,f.requestAnimationFrame(e))})},n.prototype.handleResize=function(){f.Context.refreshAll()},n.prototype.handleScroll=function(){var e,t,n={},i={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"}};for(e in i){var r,o=i[e],a=o.newScroll>o.oldScroll?o.forward:o.backward;for(r in this.waypoints[e]){var s,l,c=this.waypoints[e][r];null!==c.triggerPoint&&(s=o.oldScroll<c.triggerPoint,l=o.newScroll>=c.triggerPoint,(s&&l||!s&&!l)&&(c.queueTrigger(a),n[c.group.id]=c.group))}}for(t in n)n[t].flushTriggers();this.oldScroll={x:i.horizontal.newScroll,y:i.vertical.newScroll}},n.prototype.innerHeight=function(){return this.element==this.element.window?f.viewportHeight():this.adapter.innerHeight()},n.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},n.prototype.innerWidth=function(){return this.element==this.element.window?f.viewportWidth():this.adapter.innerWidth()},n.prototype.destroy=function(){var e,t=[];for(e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,r=t.length;i<r;i++)t[i].destroy()},n.prototype.refresh=function(){var e,t,n=this.element==this.element.window,i=n?void 0:this.adapter.offset(),r={};for(t in this.handleScroll(),e={horizontal:{contextOffset:n?0:i.left,contextScroll:n?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:n?0:i.top,contextScroll:n?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var o,a=e[t];for(o in this.waypoints[t]){var s,l=this.waypoints[t][o],c=l.options.offset,d=l.triggerPoint,u=0,p=null==d;l.element!==l.element.window&&(u=l.adapter.offset()[a.offsetProp]),"function"==typeof c?c=c.apply(l):"string"==typeof c&&(c=parseFloat(c),-1<l.options.offset.indexOf("%")&&(c=Math.ceil(a.contextDimension*c/100))),s=a.contextScroll-a.contextOffset,l.triggerPoint=Math.floor(u+s-c),u=d<a.oldScroll,s=l.triggerPoint>=a.oldScroll,c=!u&&!s,!p&&(u&&s)?(l.queueTrigger(a.backward),r[l.group.id]=l.group):(!p&&c||p&&a.oldScroll>=l.triggerPoint)&&(l.queueTrigger(a.forward),r[l.group.id]=l.group)}}return f.requestAnimationFrame(function(){for(var e in r)r[e].flushTriggers()}),this},n.findOrCreateByElement=function(e){return n.findByElement(e)||new n(e)},n.refreshAll=function(){for(var e in r)r[e].refresh()},n.findByElement=function(e){return r[e.waypointContextKey]},window.onload=function(){e&&e(),n.refreshAll()},f.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},f.Context=n}(),function(){"use strict";function o(e,t){return e.triggerPoint-t.triggerPoint}function a(e,t){return t.triggerPoint-e.triggerPoint}function t(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},i=window.Waypoint;t.prototype.add=function(e){this.waypoints.push(e)},t.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},t.prototype.flushTriggers=function(){for(var e in this.triggerQueues){var t=this.triggerQueues[e];t.sort("up"===e||"left"===e?a:o);for(var n=0,i=t.length;n<i;n+=1){var r=t[n];!r.options.continuous&&n!==t.length-1||r.trigger([e])}}this.clearTriggerQueues()},t.prototype.next=function(e){this.waypoints.sort(o);e=i.Adapter.inArray(e,this.waypoints);return e===this.waypoints.length-1?null:this.waypoints[e+1]},t.prototype.previous=function(e){this.waypoints.sort(o);e=i.Adapter.inArray(e,this.waypoints);return e?this.waypoints[e-1]:null},t.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},t.prototype.remove=function(e){e=i.Adapter.inArray(e,this.waypoints);-1<e&&this.waypoints.splice(e,1)},t.prototype.first=function(){return this.waypoints[0]},t.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},t.findOrCreate=function(e){return n[e.axis][e.name]||new t(e)},i.Group=t}(),function(){"use strict";function n(e){this.$element=i(e)}var i=window.jQuery,e=window.Waypoint;i.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,t){n.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}}),i.each(["extend","inArray","isEmptyObject"],function(e,t){n[t]=i[t]}),e.adapters.push({name:"jquery",Adapter:n}),e.Adapter=n}(),function(){"use strict";function e(i){return function(){var t=[],n=arguments[0];return i.isFunction(arguments[0])&&((n=i.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var e=i.extend({},n,{element:this});"string"==typeof e.context&&(e.context=i(this).closest(e.context)[0]),t.push(new r(e))}),t}}var r=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}()},332:function(){!function(){"use strict";function t(e){this.options=n.extend({},r.defaults,t.defaults,e),this.element=this.options.element,this.$element=n(this.element),this.createWrapper(),this.createWaypoint()}var n=window.jQuery,r=window.Waypoint;t.prototype.createWaypoint=function(){var i=this.options.handler;this.waypoint=new r(n.extend({},this.options,{element:this.wrapper,handler:n.proxy(function(e){var t=-1<this.options.direction.indexOf(e),n=t?this.$element.outerHeight(!0):"";this.$wrapper.height(n),this.$element.toggleClass(this.options.stuckClass,t),i&&i.call(this,e)},this)}))},t.prototype.createWrapper=function(){this.options.wrapper&&this.$element.wrap(this.options.wrapper),this.$wrapper=this.$element.parent(),this.wrapper=this.$wrapper[0]},t.prototype.destroy=function(){this.$element.parent()[0]===this.wrapper&&(this.waypoint.destroy(),this.$element.removeClass(this.options.stuckClass),this.options.wrapper&&this.$element.unwrap())},t.defaults={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck",direction:"down right"},r.Sticky=t}()},311:function(e){"use strict";e.exports=jQuery}},i={};function nt(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,nt),t.exports}nt.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return nt.d(t,{a:t}),t},nt.d=function(e,t){for(var n in t)nt.o(t,n)&&!nt.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},nt.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),nt.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},nt.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};!function(){"use strict";nt(249),nt(144),nt(650),nt(276),nt(332);function N(e){return(N="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})(e)}function $(e){return null!==e&&"object"===N(e)&&"constructor"in e&&e.constructor===Object}function r(e,t){var n=0<arguments.length&&void 0!==e?e:{},i=1<arguments.length&&void 0!==t?t:{};Object.keys(i).forEach(function(e){void 0===n[e]?n[e]=i[e]:$(i[e])&&$(n[e])&&0<Object.keys(i[e]).length&&r(n[e],i[e])})}var j={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function _(){var e="undefined"!=typeof document?document:{};return r(e,j),e}var z={document:j,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function I(){var e="undefined"!=typeof window?window:{};return r(e,z),e}function B(e){return(B="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})(e)}function l(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function F(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)}}function H(e,t){if(t&&("object"===B(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return W(e)}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e){var n="function"==typeof Map?new Map:void 0;return function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return q(e,arguments,d(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),c(t,e)}(e)}function q(e,t,n){return(q=G()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);t=new(Function.bind.apply(e,i));return n&&c(t,n.prototype),t}).apply(null,arguments)}function G(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){var t=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e);n=s,i=G();var n,i,r,o,a=function(){var e,t=d(n);return H(this,i?(e=d(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))};function s(e){var t,n;if(this instanceof s)return"number"==typeof e?t=a.call(this,e):(t=a.call.apply(a,[this].concat(l(e||[]))),e=W(t),n=e.__proto__,Object.defineProperty(e,"__proto__",{get:function(){return n},set:function(e){n.__proto__=e}})),H(t);throw new TypeError("Cannot call a class as a function")}return t=s,r&&F(t.prototype,r),o&&F(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(R(Array));function o(e){var t=[];return(0<arguments.length&&void 0!==e?e:[]).forEach(function(e){Array.isArray(e)?t.push.apply(t,l(o(e))):t.push(e)}),t}function Y(e,t){return Array.prototype.filter.call(e,t)}function m(e,t){var n=I(),i=_(),r=[];if(!t&&e instanceof u)return e;if(!e)return new u(r);if("string"==typeof e){var o=e.trim();if(0<=o.indexOf("<")&&0<=o.indexOf(">")){var a="div",s=(0===o.indexOf("<li")&&(a="ul"),0===o.indexOf("<tr")&&(a="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(a="tr"),0===o.indexOf("<tbody")&&(a="table"),0===o.indexOf("<option")&&(a="select"),i.createElement(a));s.innerHTML=o;for(var l=0;l<s.childNodes.length;l+=1)r.push(s.childNodes[l])}else r=function(e,t){if("string"!=typeof e)return[e];for(var n=[],i=t.querySelectorAll(e),r=0;r<i.length;r+=1)n.push(i[r]);return n}(e.trim(),t||i)}else if(e.nodeType||e===n||e===i)r.push(e);else if(Array.isArray(e)){if(e instanceof u)return e;r=e}return new u(function(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(r))}m.fn=u.prototype;var U="resize scroll".split(" ");function e(r){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(void 0!==t[0])return this.on.apply(this,[r].concat(t));for(var i=0;i<this.length;i+=1)U.indexOf(r)<0&&(r in this[i]?this[i][r]():m(this[i]).trigger(r));return this}}e("click"),e("blur"),e("focus"),e("focusin"),e("focusout"),e("keyup"),e("keydown"),e("keypress"),e("submit"),e("change"),e("mousedown"),e("mousemove"),e("mouseup"),e("mouseenter"),e("mouseleave"),e("mouseout"),e("mouseover"),e("touchstart"),e("touchend"),e("touchmove"),e("resize"),e("scroll");var t,p,n,X={addClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=o(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).add.apply(e,l(i))}),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=o(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).remove.apply(e,l(i))}),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=o(t.map(function(e){return e.split(" ")}));return 0<Y(this,function(t){return 0<i.filter(function(e){return t.classList.contains(e)}).length}).length},toggleClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=o(t.map(function(e){return e.split(" ")}));this.forEach(function(t){i.forEach(function(e){t.classList.toggle(e)})})},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(var i in e)this[n][i]=e[i],this[n].setAttribute(i,e[i]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?"".concat(e,"ms"):e;return this},on:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[0],o=t[1],a=t[2],r=t[3];function s(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),m(t).is(o))a.apply(t,n);else for(var i=m(t).parents(),r=0;r<i.length;r+=1)m(i[r]).is(o)&&a.apply(i[r],n)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"==typeof t[1]&&(i=t[0],a=t[1],r=t[2],o=void 0);for(var c,r=r||!1,d=i.split(" "),u=0;u<this.length;u+=1){var p=this[u];if(o)for(c=0;c<d.length;c+=1){var f=d[c];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[f]||(p.dom7LiveListeners[f]=[]),p.dom7LiveListeners[f].push({listener:a,proxyListener:s}),p.addEventListener(f,s,r)}else for(c=0;c<d.length;c+=1){var h=d[c];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[h]||(p.dom7Listeners[h]=[]),p.dom7Listeners[h].push({listener:a,proxyListener:l}),p.addEventListener(h,l,r)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var i=t[0],r=t[1],o=t[2],a=t[3],s=("function"==typeof t[1]&&(i=t[0],o=t[1],a=t[2],r=void 0),a=a||!1,i.split(" ")),l=0;l<s.length;l+=1)for(var c=s[l],d=0;d<this.length;d+=1){var u=this[d],p=void 0;if(!r&&u.dom7Listeners?p=u.dom7Listeners[c]:r&&u.dom7LiveListeners&&(p=u.dom7LiveListeners[c]),p&&p.length)for(var f=p.length-1;0<=f;--f){var h=p[f];(o&&h.listener===o||o&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===o||!o)&&(u.removeEventListener(c,h.proxyListener,a),p.splice(f,1))}}return this},trigger:function(){for(var e=I(),t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];for(var r=n[0].split(" "),o=n[1],a=0;a<r.length;a+=1)for(var s=r[a],l=0;l<this.length;l+=1){var c,d=this[l];e.CustomEvent&&(c=new e.CustomEvent(s,{detail:o,bubbles:!0,cancelable:!0}),d.dom7EventData=n.filter(function(e,t){return 0<t}),d.dispatchEvent(c),d.dom7EventData=[],delete d.dom7EventData)}return this},transitionEnd:function(n){var i=this;return n&&i.on("transitionend",function e(t){t.target===this&&(n.call(this,t),i.off("transitionend",e))}),this},outerWidth:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))):this[0].offsetWidth:null},outerHeight:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))):this[0].offsetHeight:null},styles:function(){var e=I();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){var e,t,n,i,r,o;return 0<this.length?(o=I(),i=_(),t=(e=this[0]).getBoundingClientRect(),i=i.body,n=e.clientTop||i.clientTop||0,i=e.clientLeft||i.clientLeft||0,r=e===o?o.scrollY:e.scrollTop,o=e===o?o.scrollX:e.scrollLeft,{top:t.top+r-n,left:t.left+o-i}):null},css:function(e,t){var n,i=I();if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(var r in e)this[n].style[r]=e[r];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}if(2!==arguments.length||"string"!=typeof e)return this;for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this},each:function(n){return n&&this.forEach(function(e,t){n.apply(e,[e,t])}),this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,n,i=I(),r=_(),o=this[0];if(!o||void 0===e)return!1;if("string"==typeof e){if(o.matches)return o.matches(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);for(t=m(e),n=0;n<t.length;n+=1)if(t[n]===o)return!0;return!1}if(e===r)return o===r;if(e===i)return o===i;if(e.nodeType||e instanceof u){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===o)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=this.length;return m(t-1<e?[]:e<0?(t=t+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e=_(),t=0;t<arguments.length;t+=1)for(var n=t<0||arguments.length<=t?void 0:arguments[t],i=0;i<this.length;i+=1)if("string"==typeof n){var r=e.createElement("div");for(r.innerHTML=n;r.firstChild;)this[i].appendChild(r.firstChild)}else if(n instanceof u)for(var o=0;o<n.length;o+=1)this[i].appendChild(n[o]);else this[i].appendChild(n);return this},prepend:function(e){for(var t,n=_(),i=0;i<this.length;i+=1)if("string"==typeof e){var r=n.createElement("div");for(r.innerHTML=e,t=r.childNodes.length-1;0<=t;--t)this[i].insertBefore(r.childNodes[t],this[i].childNodes[0])}else if(e instanceof u)for(t=0;t<e.length;t+=1)this[i].insertBefore(e[t],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&m(this[0].nextElementSibling).is(e)?m([this[0].nextElementSibling]):m([]):this[0].nextElementSibling?m([this[0].nextElementSibling]):m([]):m([])},nextAll:function(e){var t=[],n=this[0];if(!n)return m([]);for(;n.nextElementSibling;){var i=n.nextElementSibling;(!e||m(i).is(e))&&t.push(i),n=i}return m(t)},prev:function(e){var t;return 0<this.length?(t=this[0],e?t.previousElementSibling&&m(t.previousElementSibling).is(e)?m([t.previousElementSibling]):m([]):t.previousElementSibling?m([t.previousElementSibling]):m([])):m([])},prevAll:function(e){var t=[],n=this[0];if(!n)return m([]);for(;n.previousElementSibling;){var i=n.previousElementSibling;(!e||m(i).is(e))&&t.push(i),n=i}return m(t)},parent:function(e){for(var t=[],n=0;n<this.length;n+=1)null===this[n].parentNode||e&&!m(this[n].parentNode).is(e)||t.push(this[n].parentNode);return m(t)},parents:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var i=this[n].parentNode;i;)e&&!m(i).is(e)||t.push(i),i=i.parentNode;return m(t)},closest:function(e){var t=this;return void 0===e?m([]):t.is(e)?t:t.parents(e).eq(0)},find:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var i=this[n].querySelectorAll(e),r=0;r<i.length;r+=1)t.push(i[r]);return m(t)},children:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var i=this[n].children,r=0;r<i.length;r+=1)e&&!m(i[r]).is(e)||t.push(i[r]);return m(t)},filter:function(e){return m(Y(this,e))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}},P=(Object.keys(X).forEach(function(e){Object.defineProperty(m.fn,e,{value:X[e],writable:!0})}),m);function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K(e){return(K="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})(e)}function E(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function y(){return Date.now()}function D(e,t){void 0===t&&(t="x");var n,i,r,o,a=I(),s=(e=e,s=I(),o=(o=!(o=s.getComputedStyle?s.getComputedStyle(e,null):o)&&e.currentStyle?e.currentStyle:o)||e.style);return a.WebKitCSSMatrix?(6<(i=s.transform||s.webkitTransform).split(",").length&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new a.WebKitCSSMatrix("none"===i?"":i)):n=(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=a.WebKitCSSMatrix?r.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),(i="y"===t?a.WebKitCSSMatrix?r.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5]):i)||0}function f(e){return"object"===K(e)&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function h(e){for(var t,n=Object(arguments.length<=0?void 0:e),i=["__proto__","constructor","prototype"],r=1;r<arguments.length;r+=1){var o=r<0||arguments.length<=r?void 0:arguments[r];if(null!=o&&(t=o,!("undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType))))for(var a=Object.keys(Object(o)).filter(function(e){return i.indexOf(e)<0}),s=0,l=a.length;s<l;s+=1){var c=a[s],d=Object.getOwnPropertyDescriptor(o,c);void 0!==d&&d.enumerable&&(f(n[c])&&f(o[c])?o[c].__swiper__?n[c]=o[c]:h(n[c],o[c]):!f(n[c])&&f(o[c])?(n[c]={},o[c].__swiper__?n[c]=o[c]:h(n[c],o[c])):n[c]=o[c])}}return n}function V(e,t,n){e.style.setProperty(t,n)}function Z(e){function i(e,t){return"next"===n&&t<=e||"prev"===n&&e<=t}var r,o=e.swiper,a=e.targetPosition,s=e.side,l=I(),c=-o.translate,d=null,u=o.params.speed,n=(o.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(o.cssModeFrameID),c<a?"next":"prev");(function e(){r=(new Date).getTime(),null===d&&(d=r);var t=Math.max(Math.min((r-d)/u,1),0),t=.5-Math.cos(t*Math.PI)/2,n=c+t*(a-c);if(i(n,a)&&(n=a),o.wrapperEl.scrollTo(Q({},s,n)),i(n,a))return o.wrapperEl.style.overflow="hidden",o.wrapperEl.style.scrollSnapType="",setTimeout(function(){o.wrapperEl.style.overflow="",o.wrapperEl.scrollTo(Q({},s,n))}),void l.cancelAnimationFrame(o.cssModeFrameID);o.cssModeFrameID=l.requestAnimationFrame(e)})()}function J(){var n,e;return t||(n=I(),e=_(),t={smoothScroll:e.documentElement&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in n||n.DocumentTouch&&e instanceof n.DocumentTouch),passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});n.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in n}),t}function ee(e){var t,n,i,r,o,a,s,l,c,d;return void 0===e&&(e={}),p||(e=(void 0===(e=e)?{}:e).userAgent,t=J(),n=(o=I()).navigator.platform,e=e||o.navigator.userAgent,i={ios:!1,android:!1},r=o.screen.width,o=o.screen.height,a=e.match(/(Android);?[\s\/]+([\d.]+)?/),s=e.match(/(iPad).*OS\s([\d_]+)/),l=e.match(/(iPod)(.*OS\s([\d_]+))?/),c=!s&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/),d="Win32"===n,n="MacIntel"===n,!s&&n&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(r,"x").concat(o))&&(s=(s=e.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"],n=!1),a&&!d&&(i.os="android",i.android=!0),(s||c||l)&&(i.os="ios",i.ios=!0),p=i),p}function te(){var e,t;return n||(t=I(),n={isSafari:0<=(e=t.navigator.userAgent.toLowerCase()).indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}),n}function ne(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}function oe(e){var t=e.swiper,n=e.runCallbacks,i=e.direction,e=e.step,r=t.activeIndex,o=t.previousIndex,i=(i=i)||(o<r?"next":r<o?"prev":"reset");t.emit("transition".concat(e)),n&&r!==o&&("reset"===i?t.emit("slideResetTransition".concat(e)):(t.emit("slideChangeTransition".concat(e)),"next"===i?t.emit("slideNextTransition".concat(e)):t.emit("slidePrevTransition".concat(e))))}function ae(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}function se(e){return(se="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})(e)}function le(i,e){return function e(t){if(!t||t===_()||t===I())return null;var n=(t=t.assignedSlot||t).closest(i);return n||t.getRootNode?n||e(t.getRootNode().host):null}(e=void 0===e?this:e)}function ce(){var e,t,n=this,i=n.params,r=n.el;r&&0===r.offsetWidth||(i.breakpoints&&n.setBreakpoint(),r=n.allowSlideNext,e=n.allowSlidePrev,t=n.snapGrid,n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses(),("auto"===i.slidesPerView||1<i.slidesPerView)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides?n.slideTo(n.slides.length-1,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0),n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.run(),n.allowSlidePrev=e,n.allowSlideNext=r,n.params.watchOverflow&&t!==n.snapGrid&&n.checkOverflow())}var de=!1;function ue(){}function pe(e,t){var n,i=_(),r=e.params,o=e.touchEvents,a=e.el,s=e.wrapperEl,l=e.device,c=e.support,d=!!r.nested,u="on"===t?"addEventListener":"removeEventListener";c.touch?(n=!("touchstart"!==o.start||!c.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1},a[u](o.start,e.onTouchStart,n),a[u](o.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:d}:d),a[u](o.end,e.onTouchEnd,n),o.cancel&&a[u](o.cancel,e.onTouchEnd,n)):(a[u](o.start,e.onTouchStart,!1),i[u](o.move,e.onTouchMove,d),i[u](o.end,e.onTouchEnd,!1)),(r.preventClicks||r.preventClicksPropagation)&&a[u]("click",e.onClick,!0),r.cssMode&&s[u]("scroll",e.onScroll),r.updateOnWindowResize?e[t](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",ce,!0):e[t]("observerUpdate",ce,!0)}function fe(e,t){return e.grid&&t.grid&&1<t.grid.rows}function he(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function me(e){return(me="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})(e)}var ge={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",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,_emitClasses:!1};function g(e){return(g="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})(e)}function ve(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ye(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 be={eventsEmitter:{on:function(e,t,n){var i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;var r=n?"unshift":"push";return e.split(" ").forEach(function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once:function(i,r,e){var o=this;return!o.eventsListeners||o.destroyed||"function"!=typeof r?o:(a.__emitterProxy=r,o.on(i,a,e));function a(){o.off(i,a),a.__emitterProxy&&delete a.__emitterProxy;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.apply(o,t)}},onAny:function(e,t){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;t=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[t](e),n},offAny:function(e){var t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;e=t.eventsAnyListeners.indexOf(e);return 0<=e&&t.eventsAnyListeners.splice(e,1),t},off:function(e,i){var r=this;return!r.eventsListeners||r.destroyed||r.eventsListeners&&e.split(" ").forEach(function(n){void 0===i?r.eventsListeners[n]=[]:r.eventsListeners[n]&&r.eventsListeners[n].forEach(function(e,t){(e===i||e.__emitterProxy&&e.__emitterProxy===i)&&r.eventsListeners[n].splice(t,1)})}),r},emit:function(){var e,n,i,r=this;if(!r.eventsListeners||r.destroyed)return r;if(!r.eventsListeners)return r;for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return i="string"==typeof o[0]||Array.isArray(o[0])?(e=o[0],n=o.slice(1,o.length),r):(e=o[0].events,n=o[0].data,o[0].context||r),n.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(function(t){r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(function(e){e.apply(i,[t].concat(ne(n)))}),r.eventsListeners&&r.eventsListeners[t]&&r.eventsListeners[t].forEach(function(e){e.apply(i,n)})}),r}},update:{updateSize:function(){var e=this,t=e.$el,n=void 0!==e.params.width&&null!==e.params.width?e.params.width:t[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:t[0].clientHeight;0===n&&e.isHorizontal()||0===i&&e.isVertical()||(n=n-parseInt(t.css("padding-left")||0,10)-parseInt(t.css("padding-right")||0,10),i=i-parseInt(t.css("padding-top")||0,10)-parseInt(t.css("padding-bottom")||0,10),Number.isNaN(n)&&(n=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:n,height:i,size:e.isHorizontal()?n:i}))},updateSlides:function(){var t=this;function n(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function e(e,t){return parseFloat(e.getPropertyValue(n(t))||0)}var i=t.params,r=t.$wrapperEl,o=t.size,a=t.rtlTranslate,s=t.wrongRTL,l=t.virtual&&i.virtual.enabled,$=(l?t.virtual:t).slides.length,c=r.children(".".concat(t.params.slideClass)),d=(l?t.virtual.slides:c).length,u=[],p=[],f=[],h=i.slidesOffsetBefore,m=("function"==typeof h&&(h=i.slidesOffsetBefore.call(t)),i.slidesOffsetAfter),j=("function"==typeof m&&(m=i.slidesOffsetAfter.call(t)),t.snapGrid.length),z=t.slidesGrid.length,g=i.spaceBetween,v=-h,y=0,b=0;if(void 0!==o){"string"==typeof g&&0<=g.indexOf("%")&&(g=parseFloat(g.replace("%",""))/100*o),t.virtualSize=-g,a?c.css({marginLeft:"",marginBottom:"",marginTop:""}):c.css({marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&(V(t.wrapperEl,"--swiper-centered-offset-before",""),V(t.wrapperEl,"--swiper-centered-offset-after",""));for(var w,x,S,_,B,F,E=i.grid&&1<i.grid.rows&&t.grid,H=(E&&t.grid.initSlides(d),"auto"===i.slidesPerView&&i.breakpoints&&0<Object.keys(i.breakpoints).filter(function(e){return void 0!==i.breakpoints[e].slidesPerView}).length),T=0;T<d;T+=1){P=0;var C,k,A,W,R,O,M,I,q,P,D=c.eq(T);E&&t.grid.updateSlide(T,D,d,n),"none"!==D.css("display")&&("auto"===i.slidesPerView?(H&&(c[T].style[n("width")]=""),I=getComputedStyle(D[0]),C=D[0].style.transform,k=D[0].style.webkitTransform,C&&(D[0].style.transform="none"),k&&(D[0].style.webkitTransform="none"),P=i.roundLengths?t.isHorizontal()?D.outerWidth(!0):D.outerHeight(!0):(A=e(I,"width"),W=e(I,"padding-left"),R=e(I,"padding-right"),O=e(I,"margin-left"),M=e(I,"margin-right"),(I=I.getPropertyValue("box-sizing"))&&"border-box"===I?A+O+M:(q=(I=D[0]).clientWidth,A+W+R+O+M+(I.offsetWidth-q))),C&&(D[0].style.transform=C),k&&(D[0].style.webkitTransform=k),i.roundLengths&&(P=Math.floor(P))):(P=(o-(i.slidesPerView-1)*g)/i.slidesPerView,i.roundLengths&&(P=Math.floor(P)),c[T]&&(c[T].style[n("width")]="".concat(P,"px"))),c[T]&&(c[T].swiperSlideSize=P),f.push(P),i.centeredSlides?(v=v+P/2+y/2+g,0===y&&0!==T&&(v=v-o/2-g),0===T&&(v=v-o/2-g),Math.abs(v)<.001&&(v=0),i.roundLengths&&(v=Math.floor(v)),b%i.slidesPerGroup==0&&u.push(v),p.push(v)):(i.roundLengths&&(v=Math.floor(v)),(b-Math.min(t.params.slidesPerGroupSkip,b))%t.params.slidesPerGroup==0&&u.push(v),p.push(v),v=v+P+g),t.virtualSize+=P+g,y=P,b+=1)}if(t.virtualSize=Math.max(t.virtualSize,o)+m,a&&s&&("slide"===i.effect||"coverflow"===i.effect)&&r.css({width:"".concat(t.virtualSize+i.spaceBetween,"px")}),i.setWrapperSize&&r.css(ie({},n("width"),"".concat(t.virtualSize+i.spaceBetween,"px"))),E&&t.grid.updateWrapperSize(P,u,n),!i.centeredSlides){for(var G=[],L=0;L<u.length;L+=1){var N=u[L];i.roundLengths&&(N=Math.floor(N)),u[L]<=t.virtualSize-o&&G.push(N)}u=G,1<Math.floor(t.virtualSize-o)-Math.floor(u[u.length-1])&&u.push(t.virtualSize-o)}0===u.length&&(u=[0]),0!==i.spaceBetween&&(s=t.isHorizontal()&&a?"marginLeft":n("marginRight"),c.filter(function(e,t){return!i.cssMode||t!==c.length-1}).css(ie({},s,"".concat(g,"px")))),i.centeredSlides&&i.centeredSlidesBounds&&(w=0,f.forEach(function(e){w+=e+(i.spaceBetween||0)}),x=(w-=i.spaceBetween)-o,u=u.map(function(e){return e<0?-h:x<e?x+m:e})),i.centerInsufficientSlides&&(S=0,f.forEach(function(e){S+=e+(i.spaceBetween||0)}),(S-=i.spaceBetween)<o&&(_=(o-S)/2,u.forEach(function(e,t){u[t]=e-_}),p.forEach(function(e,t){p[t]=e+_}))),Object.assign(t,{slides:c,snapGrid:u,slidesGrid:p,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds&&(V(t.wrapperEl,"--swiper-centered-offset-before","".concat(-u[0],"px")),V(t.wrapperEl,"--swiper-centered-offset-after","".concat(t.size/2-f[f.length-1]/2,"px")),B=-t.snapGrid[0],F=-t.slidesGrid[0],t.snapGrid=t.snapGrid.map(function(e){return e+B}),t.slidesGrid=t.slidesGrid.map(function(e){return e+F})),d!==$&&t.emit("slidesLengthChange"),u.length!==j&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==z&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect||(r="".concat(i.containerModifierClass,"backface-hidden"),a=t.$el.hasClass(r),d<=i.maxBackfaceHiddenSlides?a||t.$el.addClass(r):a&&t.$el.removeClass(r))}},updateAutoHeight:function(e){function t(t){return(a?r.slides.filter(function(e){return parseInt(e.getAttribute("data-swiper-slide-index"),10)===t}):r.slides.eq(t))[0]}var n,i,r=this,o=[],a=r.virtual&&r.params.virtual.enabled,s=0;if("number"==typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed),"auto"!==r.params.slidesPerView&&1<r.params.slidesPerView)if(r.params.centeredSlides)(r.visibleSlides||P([])).each(function(e){o.push(e)});else for(n=0;n<Math.ceil(r.params.slidesPerView);n+=1){var l=r.activeIndex+n;if(l>r.slides.length&&!a)break;o.push(t(l))}else o.push(t(r.activeIndex));for(n=0;n<o.length;n+=1)void 0!==o[n]&&(s=s<(i=o[n].offsetHeight)?i:s);!s&&0!==s||r.$wrapperEl.css("height","".concat(s,"px"))},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,n=t.params,i=t.slides,r=t.rtlTranslate,o=t.snapGrid;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var a=r?e:-e;i.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<i.length;s+=1){var l=i[s],c=l.swiperSlideOffset,d=(n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset),(a+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+n.spaceBetween)),u=(a-o[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+n.spaceBetween),c=-(a-c),p=c+t.slidesSizesGrid[s];(0<=c&&c<t.size-1||1<p&&p<=t.size||c<=0&&p>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(s),i.eq(s).addClass(n.slideVisibleClass)),l.progress=r?-d:d,l.originalProgress=r?-u:u}t.visibleSlides=P(t.visibleSlides)}},updateProgress:function(e){var t=this,n=(void 0===e&&(n=t.rtlTranslate?-1:1,e=t&&t.translate&&t.translate*n||0),t.params),i=t.maxTranslate()-t.minTranslate(),r=t.progress,o=t.isBeginning,a=o,s=l=t.isEnd,l=0==i?o=!(r=0):(o=(r=(e-t.minTranslate())/i)<=0,1<=r);Object.assign(t,{progress:r,isBeginning:o,isEnd:l}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!a&&t.emit("reachBeginning toEdge"),l&&!s&&t.emit("reachEnd toEdge"),(a&&!o||s&&!l)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e=this.slides,t=this.params,n=this.$wrapperEl,i=this.activeIndex,r=this.realIndex,o=this.virtual&&t.virtual.enabled,i=(e.removeClass("".concat(t.slideActiveClass," ").concat(t.slideNextClass," ").concat(t.slidePrevClass," ").concat(t.slideDuplicateActiveClass," ").concat(t.slideDuplicateNextClass," ").concat(t.slideDuplicatePrevClass)),(o=o?this.$wrapperEl.find(".".concat(t.slideClass,'[data-swiper-slide-index="').concat(i,'"]')):e.eq(i)).addClass(t.slideActiveClass),t.loop&&(o.hasClass(t.slideDuplicateClass)?n.children(".".concat(t.slideClass,":not(.").concat(t.slideDuplicateClass,')[data-swiper-slide-index="').concat(r,'"]')):n.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass,'[data-swiper-slide-index="').concat(r,'"]'))).addClass(t.slideDuplicateActiveClass),o.nextAll(".".concat(t.slideClass)).eq(0).addClass(t.slideNextClass)),r=(t.loop&&0===i.length&&(i=e.eq(0)).addClass(t.slideNextClass),o.prevAll(".".concat(t.slideClass)).eq(0).addClass(t.slidePrevClass));t.loop&&0===r.length&&(r=e.eq(-1)).addClass(t.slidePrevClass),t.loop&&((i.hasClass(t.slideDuplicateClass)?n.children(".".concat(t.slideClass,":not(.").concat(t.slideDuplicateClass,')[data-swiper-slide-index="').concat(i.attr("data-swiper-slide-index"),'"]')):n.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass,'[data-swiper-slide-index="').concat(i.attr("data-swiper-slide-index"),'"]'))).addClass(t.slideDuplicateNextClass),(r.hasClass(t.slideDuplicateClass)?n.children(".".concat(t.slideClass,":not(.").concat(t.slideDuplicateClass,')[data-swiper-slide-index="').concat(r.attr("data-swiper-slide-index"),'"]')):n.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass,'[data-swiper-slide-index="').concat(r.attr("data-swiper-slide-index"),'"]'))).addClass(t.slideDuplicatePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(e){var t=this,n=t.rtlTranslate?t.translate:-t.translate,i=t.slidesGrid,r=t.snapGrid,o=t.params,a=t.activeIndex,s=t.realIndex,l=t.snapIndex,c=e;if(void 0===c){for(var d=0;d<i.length;d+=1)void 0!==i[d+1]?n>=i[d]&&n<i[d+1]-(i[d+1]-i[d])/2?c=d:n>=i[d]&&n<i[d+1]&&(c=d+1):n>=i[d]&&(c=d);o.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}(e=0<=r.indexOf(n)?r.indexOf(n):(e=Math.min(o.slidesPerGroupSkip,c))+Math.floor((c-e)/o.slidesPerGroup))>=r.length&&(e=r.length-1),c===a?e!==l&&(t.snapIndex=e,t.emit("snapIndexChange")):(o=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10),Object.assign(t,{snapIndex:e,realIndex:o,previousIndex:a,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==o&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange"))},updateClickedSlide:function(e){var t,n=this,i=n.params,r=P(e).closest(".".concat(i.slideClass))[0],o=!1;if(r)for(var a=0;a<n.slides.length;a+=1)if(n.slides[a]===r){o=!0,t=a;break}if(!r||!o)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=r,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(P(r).attr("data-swiper-slide-index"),10):n.clickedIndex=t,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,n=this.rtlTranslate,i=this.translate,r=this.$wrapperEl;return t.virtualTranslate?n?-i:i:t.cssMode?i:(t=D(r[0],e),(t=n?-t:t)||0)},setTranslate:function(e,t){var n=this,i=n.rtlTranslate,r=n.params,o=n.$wrapperEl,a=n.wrapperEl,s=n.progress,l=0,c=0;n.isHorizontal()?l=i?-e:e:c=e,r.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),r.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:r.virtualTranslate||o.transform("translate3d(".concat(l,"px, ").concat(c,"px, ").concat(0,"px)")),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,(a=0==(i=n.maxTranslate()-n.minTranslate())?0:(e-n.minTranslate())/i)!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);var o=this,a=o.params,s=o.wrapperEl;if(o.animating&&a.preventInteractionOnTransition)return!1;var l=o.minTranslate(),c=o.maxTranslate(),l=i&&l<e?l:i&&e<c?c:e;if(o.updateProgress(l),a.cssMode){i=o.isHorizontal();if(0===t)s[i?"scrollLeft":"scrollTop"]=-l;else{if(!o.support.smoothScroll)return Z({swiper:o,targetPosition:-l,side:i?"left":"top"}),!0;s.scrollTo((re(c={},i?"left":"top",-l),re(c,"behavior","smooth"),c))}return!0}return 0===t?(o.setTransition(0),o.setTranslate(l),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(l),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var n=this.params;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),oe({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var n=this.params;this.animating=!1,n.cssMode||(this.setTransition(0),oe({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,n,i,r){if(void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"number"!=typeof(e=void 0===e?0:e)&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. [".concat(se(e),"] given."));if("string"==typeof e){var o=parseInt(e,10);if(!isFinite(o))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(e,"] given."));e=o}var a=this,s=e,o=(s<0&&(s=0),a.params),e=a.snapGrid,l=a.slidesGrid,c=a.previousIndex,d=a.activeIndex,u=a.rtlTranslate,p=a.wrapperEl,f=a.enabled;if(a.animating&&o.preventInteractionOnTransition||!f&&!i&&!r)return!1;var h,f=Math.min(a.params.slidesPerGroupSkip,s),m=((r=f+Math.floor((s-f)/a.params.slidesPerGroup))>=e.length&&(r=e.length-1),(d||o.initialSlide||0)===(c||0)&&n&&a.emit("beforeSlideChangeStart"),-e[r]);if(a.updateProgress(m),o.normalizeSlideIndex)for(var g=0;g<l.length;g+=1){var v=-Math.floor(100*m),y=Math.floor(100*l[g]),b=Math.floor(100*l[g+1]);void 0!==l[g+1]?y<=v&&v<b-(b-y)/2?s=g:y<=v&&v<b&&(s=g+1):y<=v&&(s=g)}if(a.initialized&&s!==d){if(!a.allowSlideNext&&m<a.translate&&m<a.minTranslate())return!1;if(!a.allowSlidePrev&&m>a.translate&&m>a.maxTranslate()&&(d||0)!==s)return!1}if(h=d<s?"next":s<d?"prev":"reset",u&&-m===a.translate||!u&&m===a.translate)return a.updateActiveIndex(s),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(m),"reset"!==h&&(a.transitionStart(n,h),a.transitionEnd(n,h)),!1;if(o.cssMode){f=a.isHorizontal(),c=u?m:-m;if(0===t){e=a.virtual&&a.params.virtual.enabled;e&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),p[f?"scrollLeft":"scrollTop"]=c,e&&requestAnimationFrame(function(){a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1})}else{if(!a.support.smoothScroll)return Z({swiper:a,targetPosition:c,side:f?"left":"top"}),!0;p.scrollTo((ae(r={},f?"left":"top",c),ae(r,"behavior","smooth"),r))}return!0}return a.setTransition(t),a.setTranslate(m),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(n,h),0===t?a.transitionEnd(n,h):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,h))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){return void 0===t&&(t=this.params.speed),e=void 0===e?0:e,this.params.loop&&(e+=this.loopedSlides),this.slideTo(e,t,n=void 0===n?!0:n,i)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,r=i.animating,o=i.enabled,a=i.params;if(!o)return i;if(o=a.slidesPerGroup,"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1)),o=i.activeIndex<a.slidesPerGroupSkip?1:o,a.loop){if(r&&a.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return a.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+o,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,r=i.params,o=i.animating,a=i.snapGrid,s=i.slidesGrid,l=i.rtlTranslate;if(!i.enabled)return i;if(r.loop){if(o&&r.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,u=c(l?i.translate:-i.translate),o=a.map(c),o=(void 0===(l=a[o.indexOf(u)-1])&&r.cssMode&&(a.forEach(function(e,t){e<=u&&(d=t)}),void 0!==d&&(l=a[0<d?d-1:d])),0);return void 0!==l&&((o=s.indexOf(l))<0&&(o=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=o-i.slidesPerViewDynamic("previous",!0)+1,o=Math.max(o,0))),r.rewind&&i.isBeginning?(a=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1,i.slideTo(a,e,t,n)):i.slideTo(o,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t=void 0===t?!0:t,n)},slideToClosest:function(e,t,n,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);var r,o=this,a=o.activeIndex,s=(s=Math.min(o.params.slidesPerGroupSkip,a))+Math.floor((a-s)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;return l>=o.snapGrid[s]?(r=o.snapGrid[s],(o.snapGrid[s+1]-r)*i<l-r&&(a+=o.params.slidesPerGroup)):l-(r=o.snapGrid[s-1])<=(o.snapGrid[s]-r)*i&&(a-=o.params.slidesPerGroup),a=Math.max(a,0),a=Math.min(a,o.slidesGrid.length-1),o.slideTo(a,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,i=t.$wrapperEl,r="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,o=t.clickedIndex;n.loop?t.animating||(e=parseInt(P(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?o<t.loopedSlides-r/2||o>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),o=i.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),E(function(){t.slideTo(o)})):t.slideTo(o):o>t.slides.length-r?(t.loopFix(),o=i.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),E(function(){t.slideTo(o)})):t.slideTo(o)):t.slideTo(o)}},loop:{loopCreate:function(){var i=this,e=_(),t=i.params,n=i.$wrapperEl,r=0<n.children().length?P(n.children()[0].parentNode):n,o=(r.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass)).remove(),r.children(".".concat(t.slideClass)));if(t.loopFillGroupWithBlank){var a=t.slidesPerGroup-o.length%t.slidesPerGroup;if(a!==t.slidesPerGroup){for(var s=0;s<a;s+=1){var l=P(e.createElement("div")).addClass("".concat(t.slideClass," ").concat(t.slideBlankClass));r.append(l)}o=r.children(".".concat(t.slideClass))}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=o.length),i.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),i.loopedSlides+=t.loopAdditionalSlides,i.loopedSlides>o.length&&(i.loopedSlides=o.length);var c=[],d=[];o.each(function(e,t){var n=P(e);t<i.loopedSlides&&d.push(e),t<o.length&&t>=o.length-i.loopedSlides&&c.push(e),n.attr("data-swiper-slide-index",t)});for(var u=0;u<d.length;u+=1)r.append(P(d[u].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var p=c.length-1;0<=p;--p)r.prepend(P(c[p].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){var e=this,t=(e.emit("beforeLoopFix"),e.activeIndex),n=e.slides,i=e.loopedSlides,r=e.allowSlidePrev,o=e.allowSlideNext,a=e.snapGrid,s=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var l,a=-a[t]-e.getTranslate();t<i?(l=n.length-3*i+t,e.slideTo(l+=i,0,!1,!0)&&0!=a&&e.setTranslate((s?-e.translate:e.translate)-a)):t>=n.length-i&&(l=-n.length+t+i,e.slideTo(l+=i,0,!1,!0)&&0!=a&&e.setTranslate((s?-e.translate:e.translate)-a)),e.allowSlidePrev=r,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,n=this.slides;e.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass,",.").concat(t.slideClass,".").concat(t.slideBlankClass)).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t;this.support.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||((t="container"===this.params.touchEventsTarget?this.el:this.wrapperEl).style.cursor="move",t.style.cursor=e?"grabbing":"grab")},unsetGrabCursor:function(){this.support.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this["container"===this.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){var e=this,t=_(),n=e.params,i=e.support;e.onTouchStart=function(e){var t=this,n=_(),i=I(),r=t.touchEventsData,o=t.params,a=t.touches,s=t.enabled;if(s&&(!t.animating||!o.preventInteractionOnTransition)){!t.animating&&o.cssMode&&o.loop&&t.loopFix();var s=e,l=(s.originalEvent&&(s=s.originalEvent),P(s.target));if(("wrapper"!==o.touchEventsTarget||l.closest(t.wrapperEl).length)&&(r.isTouchEvent="touchstart"===s.type,(r.isTouchEvent||!("which"in s)||3!==s.which)&&!(!r.isTouchEvent&&"button"in s&&0<s.button||r.isTouched&&r.isMoved))){!!o.noSwipingClass&&""!==o.noSwipingClass&&s.target&&s.target.shadowRoot&&e.path&&e.path[0]&&(l=P(e.path[0]));var c=o.noSwipingSelector||".".concat(o.noSwipingClass),d=!(!s.target||!s.target.shadowRoot);if(o.noSwiping&&(d?le(c,l[0]):l.closest(c)[0]))t.allowClick=!0;else if(!o.swipeHandler||l.closest(o.swipeHandler)[0]){a.currentX=("touchstart"===s.type?s.targetTouches[0]:s).pageX,a.currentY=("touchstart"===s.type?s.targetTouches[0]:s).pageY;var d=a.currentX,c=a.currentY,u=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,p=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(u&&(d<=p||d>=i.innerWidth-p)){if("prevent"!==u)return;e.preventDefault()}Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=d,a.startY=c,r.touchStartTime=y(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,0<o.threshold&&(r.allowThresholdMove=!1),"touchstart"!==s.type&&(i=!0,l.is(r.focusableElements)&&(i=!1,"SELECT"===l[0].nodeName&&(r.isTouched=!1)),n.activeElement&&P(n.activeElement).is(r.focusableElements)&&n.activeElement!==l[0]&&n.activeElement.blur(),p=i&&t.allowTouchMove&&o.touchStartPreventDefault,!o.touchStartForcePreventDefault&&!p||l[0].isContentEditable||s.preventDefault()),t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",s)}}}}.bind(e),e.onTouchMove=function(e){var t=_(),n=this,i=n.touchEventsData,r=n.params,o=n.touches,a=n.rtlTranslate;if(n.enabled)if(e.originalEvent&&(e=e.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===e.type){var s="touchmove"===e.type&&e.targetTouches&&(e.targetTouches[0]||e.changedTouches[0]),l=("touchmove"===e.type?s:e).pageX,s=("touchmove"===e.type?s:e).pageY;if(e.preventedByNestedSwiper)return o.startX=l,void(o.startY=s);if(!n.allowTouchMove)return P(e.target).is(i.focusableElements)||(n.allowClick=!1),void(i.isTouched&&(Object.assign(o,{startX:l,startY:s,currentX:l,currentY:s}),i.touchStartTime=y()));if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(s<o.startY&&n.translate<=n.maxTranslate()||s>o.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<o.startX&&n.translate<=n.maxTranslate()||l>o.startX&&n.translate>=n.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&e.target===t.activeElement&&P(e.target).is(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);if(i.allowTouchCallbacks&&n.emit("touchMove",e),!(e.targetTouches&&1<e.targetTouches.length)){o.currentX=l,o.currentY=s;t=o.currentX-o.startX,l=o.currentY-o.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(t,2)+Math.pow(l,2))<n.params.threshold))if(void 0===i.isScrolling&&(n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:25<=t*t+l*l&&(s=180*Math.atan2(Math.abs(l),Math.abs(t))/Math.PI,i.isScrolling=n.isHorizontal()?s>r.touchAngle:90-s>r.touchAngle)),i.isScrolling&&n.emit("touchMoveOpposite",e),void 0!==i.startMoving||o.currentX===o.startX&&o.currentY===o.startY||(i.startMoving=!0),i.isScrolling)i.isTouched=!1;else if(i.startMoving){n.allowClick=!1,!r.cssMode&&e.cancelable&&e.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&e.stopPropagation(),i.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",e)),n.emit("sliderMove",e),i.isMoved=!0;s=n.isHorizontal()?t:l,t=(o.diff=s,s*=r.touchRatio,n.swipeDirection=0<(s=a?-s:s)?"prev":"next",i.currentTranslate=s+i.startTranslate,!0),l=r.resistanceRatio;if(r.touchReleaseOnEdges&&(l=0),0<s&&i.currentTranslate>n.minTranslate()?(t=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+i.startTranslate+s,l))):s<0&&i.currentTranslate<n.maxTranslate()&&(t=!1,r.resistance&&(i.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-i.startTranslate-s,l))),t&&(e.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),0<r.threshold){if(!(Math.abs(s)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",e)}.bind(e),e.onTouchEnd=function(e){var t=this,n=t.touchEventsData,i=t.params,r=t.touches,o=t.rtlTranslate,a=t.slidesGrid;if(t.enabled){if(e.originalEvent&&(e=e.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",e),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var s,l=y(),c=l-n.touchStartTime;if(t.allowClick&&(h=e.path||e.composedPath&&e.composedPath(),t.updateClickedSlide(h&&h[0]||e.target),t.emit("tap click",e),c<300&&l-n.lastClickTime<300&&t.emit("doubleTap doubleClick",e)),n.lastClickTime=y(),E(function(){t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,s=i.followFinger?o?t.translate:-t.translate:-n.currentTranslate,!i.cssMode)if(t.params.freeMode&&i.freeMode.enabled)t.freeMode.onTouchEnd({currentPos:s});else{for(var d=0,u=t.slidesSizesGrid[0],p=0;p<a.length;p+=p<i.slidesPerGroupSkip?1:i.slidesPerGroup){var f=p<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==a[p+f]?s>=a[p]&&s<a[p+f]&&(u=a[(d=p)+f]-a[p]):s>=a[p]&&(d=p,u=a[a.length-1]-a[a.length-2])}var h=null,l=null,r=(i.rewind&&(t.isBeginning?l=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(h=0)),(s-a[d])/u),o=d<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;c>i.longSwipesMs?i.longSwipes?("next"===t.swipeDirection&&(r>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?h:d+o):t.slideTo(d)),"prev"===t.swipeDirection&&(r>1-i.longSwipesRatio?t.slideTo(d+o):null!==l&&r<0&&Math.abs(r)>i.longSwipesRatio?t.slideTo(l):t.slideTo(d))):t.slideTo(t.activeIndex):i.shortSwipes?t.navigation&&(e.target===t.navigation.nextEl||e.target===t.navigation.prevEl)?e.target===t.navigation.nextEl?t.slideTo(d+o):t.slideTo(d):("next"===t.swipeDirection&&t.slideTo(null!==h?h:d+o),"prev"===t.swipeDirection&&t.slideTo(null!==l?l:d)):t.slideTo(t.activeIndex)}}}.bind(e),n.cssMode&&(e.onScroll=function(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;e.enabled&&(e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses(),(0==(t=e.maxTranslate()-e.minTranslate())?0:(e.translate-e.minTranslate())/t)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1))}.bind(e)),e.onClick=function(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(e),i.touch&&!de&&(t.addEventListener("touchstart",ue),de=!0),pe(e,"on")},detachEvents:function(){pe(this,"off")}},breakpoints:{setBreakpoint:function(){var e,t,n,i,r=this,o=r.activeIndex,a=r.initialized,s=void 0===(s=r.loopedSlides)?0:s,l=r.params,c=r.$el,d=l.breakpoints;d&&0!==Object.keys(d).length&&(e=r.getBreakpoint(d,r.params.breakpointsBase,r.el))&&r.currentBreakpoint!==e&&(d=(e in d?d[e]:void 0)||r.originalParams,n=fe(r,l),i=fe(r,d),t=l.enabled,n&&!i?(c.removeClass("".concat(l.containerModifierClass,"grid ").concat(l.containerModifierClass,"grid-column")),r.emitContainerClasses()):!n&&i&&(c.addClass("".concat(l.containerModifierClass,"grid")),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===l.grid.fill)&&c.addClass("".concat(l.containerModifierClass,"grid-column")),r.emitContainerClasses()),n=d.direction&&d.direction!==l.direction,i=l.loop&&(d.slidesPerView!==l.slidesPerView||n),n&&a&&r.changeDirection(),h(r.params,d),c=r.params.enabled,Object.assign(r,{allowTouchMove:r.params.allowTouchMove,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev}),t&&!c?r.disable():!t&&c&&r.enable(),r.currentBreakpoint=e,r.emit("_beforeBreakpoint",d),i&&a&&(r.loopDestroy(),r.loopCreate(),r.updateSlides(),r.slideTo(o-s+r.loopedSlides,0,!1)),r.emit("breakpoint",d))},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),e&&("container"!==t||n)){var i=!1,r=I(),o="window"===t?r.innerHeight:n.clientHeight,a=Object.keys(e).map(function(e){var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:o*t,point:e}):{value:e,point:e}});a.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var s=0;s<a.length;s+=1){var l=a[s],c=l.point,l=l.value;"window"===t?r.matchMedia("(min-width: ".concat(l,"px)")).matches&&(i=c):l<=n.clientWidth&&(i=c)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var e,t=this,n=t.isLocked,i=t.params,r=i.slidesOffsetBefore;r?(e=t.slides.length-1,e=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*r,t.isLocked=t.size>e):t.isLocked=1===t.snapGrid.length,!0===i.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===i.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),n&&n!==t.isLocked&&(t.isEnd=!1),n!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var n,i,e=this.classNames,t=this.params,r=this.rtl,o=this.$el,a=this.device,s=this.support,r=(s=["initialized",t.direction,{"pointer-events":!s.touch},{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:r},{grid:t.grid&&1<t.grid.rows},{"grid-column":t.grid&&1<t.grid.rows&&"column"===t.grid.fill},{android:a.android},{ios:a.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],n=t.containerModifierClass,i=[],s.forEach(function(t){"object"===me(t)?Object.keys(t).forEach(function(e){t[e]&&i.push(n+e)}):"string"==typeof t&&i.push(n+t)}),i);e.push.apply(e,he(r)),o.addClass(he(e).join(" ")),this.emitContainerClasses()},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,n,i,r,o){var a=I();function s(){o&&o()}!(P(e).parent("picture")[0]||e.complete&&r)&&t?((e=new a.Image).onload=s,e.onerror=s,i&&(e.sizes=i),n&&(e.srcset=n),t&&(e.src=t)):s()},preloadImages:function(){var e=this;function t(){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")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},we={},xe=function(){function d(){var e=this,t=d;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");for(var n,o,i,r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];if(o=h({},o=(o=1===a.length&&a[0].constructor&&"Object"===Object.prototype.toString.call(a[0]).slice(8,-1)?a[0]:(n=a[0],a[1]))||{}),n&&!o.el&&(o.el=n),o.el&&1<P(o.el).length)return i=[],P(o.el).each(function(e){e=h({},o,{el:e});i.push(new d(e))}),i;var l=this,c=(l.__swiper__=!0,l.support=J(),l.device=ee({userAgent:o.userAgent}),l.browser=te(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=ve(l.__modules__),o.modules&&Array.isArray(o.modules)&&(e=l.modules).push.apply(e,ve(o.modules)),{}),t=(l.modules.forEach(function(e){var i,r;e({swiper:l,extendParams:(i=o,r=c,function(e){void 0===e&&(e={});var t=Object.keys(e)[0],n=e[t];"object"===g(n)&&null!==n&&(0<=["navigation","pagination","scrollbar"].indexOf(t)&&!0===i[t]&&(i[t]={auto:!0}),t in i&&"enabled"in n&&(!0===i[t]&&(i[t]={enabled:!0}),"object"!==g(i[t])||"enabled"in i[t]||(i[t].enabled=!0),i[t]||(i[t]={enabled:!1}))),h(r,e)}),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})}),h({},ge,c));return l.params=h({},t,we,o),l.originalParams=h({},l.params),l.passedParams=h({},o),l.params&&l.params.on&&Object.keys(l.params.on).forEach(function(e){l.on(e,l.params.on[e])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),l.$=P,Object.assign(l,{enabled:l.params.enabled,el:n,classNames:[],slides:P(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"],l.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},l.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},l.support.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),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,focusableElements:l.params.focusableElements,lastClickTime:y(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}var e,t,n;return e=d,n=[{key:"extendDefaults",value:function(e){h(we,e)}},{key:"extendedDefaults",get:function(){return we}},{key:"defaults",get:function(){return ge}},{key:"installModule",value:function(e){var t=d.prototype.__modules__=d.prototype.__modules__?d.prototype.__modules__:[];"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}},{key:"use",value:function(e){return Array.isArray(e)?e.forEach(function(e){return d.installModule(e)}):d.installModule(e),d}}],(t=[{key:"enable",value:function(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}},{key:"disable",value:function(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}},{key:"setProgress",value:function(e,t){e=Math.min(Math.max(e,0),1);var n=this.minTranslate(),i=this.maxTranslate();this.translateTo((i-n)*e+n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var e,t=this;t.params._emitClasses&&t.el&&(e=t.el.className.split(" ").filter(function(e){return 0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)}),t.emit("_containerClasses",e.join(" ")))}},{key:"getSlideClasses",value:function(e){var t=this;return t.destroyed?"":e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")}},{key:"emitSlidesClasses",value:function(){var n,i=this;i.params._emitClasses&&i.el&&(n=[],i.slides.each(function(e){var t=i.getSlideClasses(e);n.push({slideEl:e,classNames:t}),i.emit("_slideClass",e,t)}),i.emit("_slideClasses",n))}},{key:"slidesPerViewDynamic",value:function(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var n=this.params,i=this.slides,r=this.slidesGrid,o=this.slidesSizesGrid,a=this.size,s=this.activeIndex,l=1;if(n.centeredSlides){for(var c,d=i[s].swiperSlideSize,u=s+1;u<i.length;u+=1)i[u]&&!c&&(l+=1,a<(d+=i[u].swiperSlideSize)&&(c=!0));for(var p=s-1;0<=p;--p)i[p]&&!c&&(l+=1,a<(d+=i[p].swiperSlideSize)&&(c=!0))}else if("current"===e)for(var f=s+1;f<i.length;f+=1)(t?r[f]+o[f]-r[s]<a:r[f]-r[s]<a)&&(l+=1);else for(var h=s-1;0<=h;--h)r[s]-r[h]<a&&(l+=1);return l}},{key:"update",value:function(){var e,t,n=this;function i(){var e=n.rtlTranslate?-1*n.translate:n.translate,e=Math.min(Math.max(e,n.maxTranslate()),n.minTranslate());n.setTranslate(e),n.updateActiveIndex(),n.updateSlidesClasses()}n&&!n.destroyed&&(e=n.snapGrid,(t=n.params).breakpoints&&n.setBreakpoint(),n.updateSize(),n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.params.freeMode&&n.params.freeMode.enabled?(i(),n.params.autoHeight&&n.updateAutoHeight()):(("auto"===n.params.slidesPerView||1<n.params.slidesPerView)&&n.isEnd&&!n.params.centeredSlides?n.slideTo(n.slides.length-1,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0))||i(),t.watchOverflow&&e!==n.snapGrid&&n.checkOverflow(),n.emit("update"))}},{key:"changeDirection",value:function(t,e){void 0===e&&(e=!0);var n=this,i=n.params.direction;return(t=t||("horizontal"===i?"vertical":"horizontal"))===i||"horizontal"!==t&&"vertical"!==t||(n.$el.removeClass("".concat(n.params.containerModifierClass).concat(i)).addClass("".concat(n.params.containerModifierClass).concat(t)),n.emitContainerClasses(),n.params.direction=t,n.slides.each(function(e){"vertical"===t?e.style.width="":e.style.height=""}),n.emit("changeDirection"),e&&n.update()),n}},{key:"mount",value:function(e){var t=this;if(t.mounted)return!0;var n=P(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;var i,r=function(){return".".concat((t.params.wrapperClass||"").trim().split(" ").join("."))},o=e&&e.shadowRoot&&e.shadowRoot.querySelector?((i=P(e.shadowRoot.querySelector(r()))).children=function(e){return n.children(e)},i):(n.children?n:P(n)).children(r());return 0===o.length&&t.params.createElements&&(i=_().createElement("div"),o=P(i),i.className=t.params.wrapperClass,n.append(i),n.children(".".concat(t.params.slideClass)).each(function(e){o.append(e)})),Object.assign(t,{$el:n,el:e,$wrapperEl:o,wrapperEl:o[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===o.css("display")}),!0}},{key:"init",value:function(e){var t=this;return t.initialized||!1!==t.mount(e)&&(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}},{key:"destroy",value:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n,i=this,r=i.params,o=i.$el,a=i.$wrapperEl,s=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),t&&(i.removeClasses(),o.removeAttr("style"),a.removeAttr("style"),s&&s.length&&s.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,n=i,Object.keys(n).forEach(function(e){try{n[e]=null}catch(e){}try{delete n[e]}catch(e){}})),i.destroyed=!0),null}}])&&ye(e.prototype,t),n&&ye(e,n),Object.defineProperty(e,"prototype",{writable:!1}),d}(),Se=(Object.keys(be).forEach(function(t){Object.keys(be[t]).forEach(function(e){xe.prototype[e]=be[t][e]})}),xe.use([function(e){function o(){a&&!a.destroyed&&a.initialized&&(i("beforeResize"),i("resize"))}function t(){a&&!a.destroyed&&a.initialized&&i("orientationchange")}var a=e.swiper,n=e.on,i=e.emit,r=I(),s=null,l=null;n("init",function(){a.params.resizeObserver&&void 0!==r.ResizeObserver?a&&!a.destroyed&&a.initialized&&(s=new ResizeObserver(function(n){l=r.requestAnimationFrame(function(){var e=a.width,t=a.height,i=e,r=t;n.forEach(function(e){var t=e.contentBoxSize,n=e.contentRect,e=e.target;e&&e!==a.el||(i=n?n.width:(t[0]||t).inlineSize,r=n?n.height:(t[0]||t).blockSize)}),i===e&&r===t||o()})})).observe(a.el):(r.addEventListener("resize",o),r.addEventListener("orientationchange",t))}),n("destroy",function(){l&&r.cancelAnimationFrame(l),s&&s.unobserve&&a.el&&(s.unobserve(a.el),s=null),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",t)})},function(e){function n(e,t){void 0===t&&(t={});var n=new(s.MutationObserver||s.WebkitMutationObserver)(function(e){var t;1===e.length?o("observerUpdate",e[0]):(t=function(){o("observerUpdate",e[0])},s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0))});n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.push(n)}var i=e.swiper,t=e.extendParams,r=e.on,o=e.emit,a=[],s=I();t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",function(){if(i.params.observer){if(i.params.observeParents)for(var e=i.$el.parents(),t=0;t<e.length;t+=1)n(e[t]);n(i.$el[0],{childList:i.params.observeSlideChildren}),n(i.$wrapperEl[0],{attributes:!1})}}),r("destroy",function(){a.forEach(function(e){e.disconnect()}),a.splice(0,a.length)})}]),xe);function _e(e){return(_e="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})(e)}function Ee(n,i,r,o){var a=_();return n.params.createElements&&Object.keys(o).forEach(function(e){var t;r[e]||!0!==r.auto||((t=n.$el.children(".".concat(o[e]))[0])||((t=a.createElement("div")).className=o[e],n.$el.append(t)),r[e]=t,i[e]=t)}),r}function w(e){return".".concat((e=void 0===e?"":e).trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,"."))}function Te(e){return(Te="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})(e)}function Ce(e){return(Ce="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})(e)}function ke(e){return(ke="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})(e)}function Ae(e){return(Ae="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})(e)}function x(e){var t,n=e.effect,i=e.swiper,r=e.on,o=e.setTranslate,a=e.setTransition,s=e.overwriteParams,l=e.perspective,c=e.recreateShadows,d=e.getEffectParams;r("beforeInit",function(){var e;i.params.effect===n&&(i.classNames.push("".concat(i.params.containerModifierClass).concat(n)),l&&l()&&i.classNames.push("".concat(i.params.containerModifierClass,"3d")),e=s?s():{},Object.assign(i.params,e),Object.assign(i.originalParams,e))}),r("setTranslate",function(){i.params.effect===n&&o()}),r("setTransition",function(e,t){i.params.effect===n&&a(t)}),r("transitionEnd",function(){i.params.effect===n&&c&&d&&d().slideShadows&&(i.slides.each(function(e){i.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()}),c())}),r("virtualUpdate",function(){i.params.effect===n&&(i.slides.length||(t=!0),requestAnimationFrame(function(){t&&i.slides&&i.slides.length&&(o(),t=!1)}))})}function S(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function T(e){var n,i=e.swiper,t=e.duration,r=e.transformEl,e=e.allSlides,o=i.slides,a=i.activeIndex,s=i.$wrapperEl;i.params.virtualTranslate&&0!==t&&(n=!1,(e?r?o.find(r):o:r?o.eq(a).find(r):o.eq(a)).transitionEnd(function(){if(!n&&i&&!i.destroyed){n=!0,i.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)s.trigger(e[t])}}))}function C(e,t,n){var i="swiper-slide-shadow".concat(n?"-".concat(n):""),e=e.transformEl?t.find(e.transformEl):t,t=e.children(".".concat(i));return t.length||(t=P('<div class="swiper-slide-shadow'.concat(n?"-".concat(n):"",'"></div>')),e.append(t)),t}Se.use([function(e){var t,x=e.swiper,n=e.extendParams,i=e.on,S=e.emit;function _(e,t){var n=x.params.virtual;if(n.cache&&x.virtual.cache[t])return x.virtual.cache[t];e=n.renderSlide?P(n.renderSlide.call(x,e,t)):P('<div class="'.concat(x.params.slideClass,'" data-swiper-slide-index="').concat(t,'">').concat(e,"</div>"));return e.attr("data-swiper-slide-index")||e.attr("data-swiper-slide-index",t),n.cache&&(x.virtual.cache[t]=e),e}function s(e){var t,n=x.params,i=n.slidesPerView,r=n.slidesPerGroup,n=n.centeredSlides,o=x.params.virtual,a=o.addSlidesBefore,o=o.addSlidesAfter,s=x.virtual,l=s.from,c=s.to,d=s.slides,u=s.slidesGrid,s=s.offset,p=(x.params.cssMode||x.updateActiveIndex(),x.activeIndex||0),f=x.rtlTranslate?"right":x.isHorizontal()?"left":"top",n=n?(t=Math.floor(i/2)+r+o,Math.floor(i/2)+r+a):(t=i+(r-1)+o,r+a),h=Math.max((p||0)-n,0),m=Math.min((p||0)+t,d.length-1),i=(x.slidesGrid[h]||0)-(x.slidesGrid[0]||0);function g(){x.updateSlides(),x.updateProgress(),x.updateSlidesClasses(),x.lazy&&x.params.lazy.enabled&&x.lazy.load(),S("virtualUpdate")}if(Object.assign(x.virtual,{from:h,to:m,offset:i,slidesGrid:x.slidesGrid}),l===h&&c===m&&!e)return x.slidesGrid!==u&&i!==s&&x.slides.css(f,"".concat(i,"px")),x.updateProgress(),void S("virtualUpdate");if(x.params.virtual.renderExternal)return x.params.virtual.renderExternal.call(x,{offset:i,from:h,to:m,slides:function(){for(var e=[],t=h;t<=m;t+=1)e.push(d[t]);return e}()}),void(x.params.virtual.renderExternalUpdate?g():S("virtualUpdate"));var v=[],y=[];if(e)x.$wrapperEl.find(".".concat(x.params.slideClass)).remove();else for(var b=l;b<=c;b+=1)(b<h||m<b)&&x.$wrapperEl.find(".".concat(x.params.slideClass,'[data-swiper-slide-index="').concat(b,'"]')).remove();for(var w=0;w<d.length;w+=1)h<=w&&w<=m&&(void 0===c||e?y.push(w):(c<w&&y.push(w),w<l&&v.push(w)));y.forEach(function(e){x.$wrapperEl.append(_(d[e],e))}),v.sort(function(e,t){return t-e}).forEach(function(e){x.$wrapperEl.prepend(_(d[e],e))}),x.$wrapperEl.children(".swiper-slide").css(f,"".concat(i,"px")),g()}n({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),x.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},i("beforeInit",function(){x.params.virtual.enabled&&(x.virtual.slides=x.params.virtual.slides,x.classNames.push("".concat(x.params.containerModifierClass,"virtual")),x.params.watchSlidesProgress=!0,x.originalParams.watchSlidesProgress=!0,x.params.initialSlide||s())}),i("setTranslate",function(){x.params.virtual.enabled&&(x.params.cssMode&&!x._immediateVirtual?(clearTimeout(t),t=setTimeout(function(){s()},100)):s())}),i("init update resize",function(){x.params.virtual.enabled&&x.params.cssMode&&V(x.wrapperEl,"--swiper-virtual-size","".concat(x.virtualSize,"px"))}),Object.assign(x.virtual,{appendSlide:function(e){if("object"===_e(e)&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&x.virtual.slides.push(e[t]);else x.virtual.slides.push(e);s(!0)},prependSlide:function(e){var i,r,t=x.activeIndex,n=t+1,o=1;if(Array.isArray(e)){for(var a=0;a<e.length;a+=1)e[a]&&x.virtual.slides.unshift(e[a]);n=t+e.length,o=e.length}else x.virtual.slides.unshift(e);x.params.virtual.cache&&(i=x.virtual.cache,r={},Object.keys(i).forEach(function(e){var t=i[e],n=t.attr("data-swiper-slide-index");n&&t.attr("data-swiper-slide-index",parseInt(n,10)+o),r[parseInt(e,10)+o]=t}),x.virtual.cache=r),s(!0),x.slideTo(n,0)},removeSlide:function(e){if(null!=e){var t=x.activeIndex;if(Array.isArray(e))for(var n=e.length-1;0<=n;--n)x.virtual.slides.splice(e[n],1),x.params.virtual.cache&&delete x.virtual.cache[e[n]],e[n]<t&&--t,t=Math.max(t,0);else x.virtual.slides.splice(e,1),x.params.virtual.cache&&delete x.virtual.cache[e],e<t&&--t,t=Math.max(t,0);s(!0),x.slideTo(t,0)}},removeAllSlides:function(){x.virtual.slides=[],x.params.virtual.cache&&(x.virtual.cache={}),s(!0),x.slideTo(0,0)},update:s})},function(e){var y=e.swiper,t=e.extendParams,n=e.on,b=e.emit,w=_(),x=I();function i(e){if(y.enabled){var t=y.rtlTranslate,n=(e=e.originalEvent?e.originalEvent:e).keyCode||e.charCode,i=y.params.keyboard.pageUpDown,r=i&&33===n,i=i&&34===n,o=37===n,a=39===n,s=38===n,l=40===n;if(!y.allowSlideNext&&(y.isHorizontal()&&a||y.isVertical()&&l||i))return!1;if(!y.allowSlidePrev&&(y.isHorizontal()&&o||y.isVertical()&&s||r))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||w.activeElement&&w.activeElement.nodeName&&("input"===w.activeElement.nodeName.toLowerCase()||"textarea"===w.activeElement.nodeName.toLowerCase()))){if(y.params.keyboard.onlyInViewport&&(r||i||o||a||s||l)){var c=!1;if(0<y.$el.parents(".".concat(y.params.slideClass)).length&&0===y.$el.parents(".".concat(y.params.slideActiveClass)).length)return;for(var d=y.$el,u=d[0].clientWidth,d=d[0].clientHeight,p=x.innerWidth,f=x.innerHeight,h=y.$el.offset(),m=(t&&(h.left-=y.$el[0].scrollLeft),[[h.left,h.top],[h.left+u,h.top],[h.left,h.top+d],[h.left+u,h.top+d]]),g=0;g<m.length;g+=1){var v=m[g];0<=v[0]&&v[0]<=p&&0<=v[1]&&v[1]<=f&&(0===v[0]&&0===v[1]||(c=!0))}if(!c)return}y.isHorizontal()?((r||i||o||a)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),((i||a)&&!t||(r||o)&&t)&&y.slideNext(),((r||o)&&!t||(i||a)&&t)&&y.slidePrev()):((r||i||s||l)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(i||l)&&y.slideNext(),(r||s)&&y.slidePrev()),b("keyPress",n)}}}function r(){y.keyboard.enabled||(P(w).on("keydown",i),y.keyboard.enabled=!0)}function o(){y.keyboard.enabled&&(P(w).off("keydown",i),y.keyboard.enabled=!1)}t({keyboard:{enabled:!(y.keyboard={enabled:!1}),onlyInViewport:!0,pageUpDown:!0}}),n("init",function(){y.params.keyboard.enabled&&r()}),n("destroy",function(){y.keyboard.enabled&&o()}),Object.assign(y.keyboard,{enable:r,disable:o})},function(e){var p,f,h=e.swiper,t=e.extendParams,n=e.on,m=e.emit,i=I(),r=(t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),h.mousewheel={enabled:!1},y()),g=[];function o(){h.enabled&&(h.mouseEntered=!0)}function a(){h.enabled&&(h.mouseEntered=!1)}function v(e){h.params.mousewheel.thresholdDelta&&e.delta<h.params.mousewheel.thresholdDelta||h.params.mousewheel.thresholdTime&&y()-r<h.params.mousewheel.thresholdTime||6<=e.delta&&y()-r<60||(e.direction<0?h.isEnd&&!h.params.loop||h.animating||(h.slideNext(),m("scroll",e.raw)):h.isBeginning&&!h.params.loop||h.animating||(h.slidePrev(),m("scroll",e.raw)),r=(new i.Date).getTime())}function s(e){var t=e;if(h.enabled){var n=h.params.mousewheel,i=(h.params.cssMode&&t.preventDefault(),h.$el);if("container"!==h.params.mousewheel.eventsTarget&&(i=P(h.params.mousewheel.eventsTarget)),!h.mouseEntered&&!i[0].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var i=0,r=h.rtlTranslate?-1:1,o=(u=d=l=a=0,"detail"in(o=t)&&(l=o.detail),"wheelDelta"in o&&(l=-o.wheelDelta/120),"wheelDeltaY"in o&&(l=-o.wheelDeltaY/120),"wheelDeltaX"in o&&(a=-o.wheelDeltaX/120),"axis"in o&&o.axis===o.HORIZONTAL_AXIS&&(a=l,l=0),d=10*a,u=10*l,"deltaY"in o&&(u=o.deltaY),"deltaX"in o&&(d=o.deltaX),o.shiftKey&&!d&&(d=u,u=0),(d||u)&&o.deltaMode&&(1===o.deltaMode?(d*=40,u*=40):(d*=800,u*=800)),{spinX:a=d&&!a?d<1?-1:1:a,spinY:l=u&&!l?u<1?-1:1:l,pixelX:d,pixelY:u});if(n.forceToAxis)if(h.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;i=-o.pixelX*r}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;i=-o.pixelY}else i=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*r:-o.pixelY;if(0===i)return!0;n.invert&&(i=-i);var a=h.getTranslate()+i*n.sensitivity;if((a=a>=h.minTranslate()?h.minTranslate():a)<=h.maxTranslate()&&(a=h.maxTranslate()),(!!h.params.loop||!(a===h.minTranslate()||a===h.maxTranslate()))&&h.params.nested&&t.stopPropagation(),h.params.freeMode&&h.params.freeMode.enabled){var s={time:y(),delta:Math.abs(i),direction:Math.sign(i)},l=f&&s.time<f.time+500&&s.delta<=f.delta&&s.direction===f.direction;if(!l){f=void 0,h.params.loop&&h.loopFix();var c,d=h.getTranslate()+i*n.sensitivity,u=h.isBeginning,r=h.isEnd;if((d=d>=h.minTranslate()?h.minTranslate():d)<=h.maxTranslate()&&(d=h.maxTranslate()),h.setTransition(0),h.setTranslate(d),h.updateProgress(),h.updateActiveIndex(),h.updateSlidesClasses(),(!u&&h.isBeginning||!r&&h.isEnd)&&h.updateSlidesClasses(),h.params.freeMode.sticky&&(clearTimeout(p),p=void 0,15<=g.length&&g.shift(),o=g.length?g[g.length-1]:void 0,a=g[0],g.push(s),o&&(s.delta>o.delta||s.direction!==o.direction)?g.splice(0):15<=g.length&&s.time-a.time<500&&1<=a.delta-s.delta&&s.delta<=6&&(c=0<i?.8:.2,f=s,g.splice(0),p=E(function(){h.slideToClosest(h.params.speed,!0,void 0,c)},0)),p=p||E(function(){f=s,g.splice(0),h.slideToClosest(h.params.speed,!0,void 0,.5)},500)),l||m("scroll",t),h.params.autoplay&&h.params.autoplayDisableOnInteraction&&h.autoplay.stop(),d===h.minTranslate()||d===h.maxTranslate())return!0}}else{n={time:y(),delta:Math.abs(i),direction:Math.sign(i),raw:e},u=(2<=g.length&&g.shift(),g.length?g[g.length-1]:void 0);if(g.push(n),(!u||n.direction!==u.direction||n.delta>u.delta||n.time>u.time+150)&&v(n),function(e){var t=h.params.mousewheel;if(e.direction<0){if(h.isEnd&&!h.params.loop&&t.releaseOnEdges)return 1}else if(h.isBeginning&&!h.params.loop&&t.releaseOnEdges)return 1}(n))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1}}function l(e){var t=h.$el;(t="container"!==h.params.mousewheel.eventsTarget?P(h.params.mousewheel.eventsTarget):t)[e]("mouseenter",o),t[e]("mouseleave",a),t[e]("wheel",s)}function c(){return h.params.cssMode?(h.wrapperEl.removeEventListener("wheel",s),!0):!h.mousewheel.enabled&&(l("on"),h.mousewheel.enabled=!0)}function d(){return h.params.cssMode?(h.wrapperEl.addEventListener(event,s),!0):!!h.mousewheel.enabled&&(l("off"),!(h.mousewheel.enabled=!1))}n("init",function(){!h.params.mousewheel.enabled&&h.params.cssMode&&d(),h.params.mousewheel.enabled&&c()}),n("destroy",function(){h.params.cssMode&&c(),h.mousewheel.enabled&&d()}),Object.assign(h.mousewheel,{enable:c,disable:d})},function(e){var o=e.swiper,t=e.extendParams,n=e.on,a=e.emit;function i(e){var t;return e&&(t=P(e),o.params.uniqueNavElements&&"string"==typeof e&&1<t.length&&1===o.$el.find(e).length&&(t=o.$el.find(e))),t}function r(e,t){var n=o.params.navigation;e&&0<e.length&&(e[t?"addClass":"removeClass"](n.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=t),o.params.watchOverflow&&o.enabled&&e[o.isLocked?"addClass":"removeClass"](n.lockClass))}function s(){var e,t;o.params.loop||(t=(e=o.navigation).$nextEl,r(e.$prevEl,o.isBeginning&&!o.params.rewind),r(t,o.isEnd&&!o.params.rewind))}function l(e){e.preventDefault(),o.isBeginning&&!o.params.loop&&!o.params.rewind||o.slidePrev()}function c(e){e.preventDefault(),o.isEnd&&!o.params.loop&&!o.params.rewind||o.slideNext()}function d(){var e,t,n=o.params.navigation;o.params.navigation=Ee(o,o.originalParams.navigation,o.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(n.nextEl||n.prevEl)&&(e=i(n.nextEl),t=i(n.prevEl),e&&0<e.length&&e.on("click",c),t&&0<t.length&&t.on("click",l),Object.assign(o.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),o.enabled||(e&&e.addClass(n.lockClass),t&&t.addClass(n.lockClass)))}function u(){var e=o.navigation,t=e.$nextEl,e=e.$prevEl;t&&t.length&&(t.off("click",c),t.removeClass(o.params.navigation.disabledClass)),e&&e.length&&(e.off("click",l),e.removeClass(o.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}}),o.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",function(){d(),s()}),n("toEdge fromEdge lock unlock",function(){s()}),n("destroy",function(){u()}),n("enable disable",function(){var e=o.navigation,t=e.$nextEl,e=e.$prevEl;t&&t[o.enabled?"removeClass":"addClass"](o.params.navigation.lockClass),e&&e[o.enabled?"removeClass":"addClass"](o.params.navigation.lockClass)}),n("click",function(e,t){var n,i=o.navigation,r=i.$nextEl,i=i.$prevEl,t=t.target;!o.params.navigation.hideOnClick||P(t).is(i)||P(t).is(r)||o.pagination&&o.params.pagination&&o.params.pagination.clickable&&(o.pagination.el===t||o.pagination.el.contains(t))||(r?n=r.hasClass(o.params.navigation.hiddenClass):i&&(n=i.hasClass(o.params.navigation.hiddenClass)),a(!0===n?"navigationShow":"navigationHide"),r&&r.toggleClass(o.params.navigation.hiddenClass),i&&i.toggleClass(o.params.navigation.hiddenClass))}),Object.assign(o.navigation,{update:s,init:d,destroy:u})},function(e){var h,m=e.swiper,t=e.extendParams,n=e.on,g=e.emit,e="swiper-pagination",v=(t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"".concat(e,"-bullet"),bulletActiveClass:"".concat(e,"-bullet-active"),modifierClass:"".concat(e,"-"),currentClass:"".concat(e,"-current"),totalClass:"".concat(e,"-total"),hiddenClass:"".concat(e,"-hidden"),progressbarFillClass:"".concat(e,"-progressbar-fill"),progressbarOppositeClass:"".concat(e,"-progressbar-opposite"),clickableClass:"".concat(e,"-clickable"),lockClass:"".concat(e,"-lock"),horizontalClass:"".concat(e,"-horizontal"),verticalClass:"".concat(e,"-vertical")}}),m.pagination={el:null,$el:null,bullets:[]},0);function y(){return!m.params.pagination.el||!m.pagination.el||!m.pagination.$el||0===m.pagination.$el.length}function b(e,t){var n=m.params.pagination.bulletActiveClass;e[t]().addClass("".concat(n,"-").concat(t))[t]().addClass("".concat(n,"-").concat(t,"-").concat(t))}function i(){var e=m.rtl,n=m.params.pagination;if(!y()){var i,t=(m.virtual&&m.params.virtual.enabled?m.virtual:m).slides.length,r=m.pagination.$el,o=m.params.loop?Math.ceil((t-2*m.loopedSlides)/m.params.slidesPerGroup):m.snapGrid.length;if(m.params.loop?((i=Math.ceil((m.activeIndex-m.loopedSlides)/m.params.slidesPerGroup))>t-1-2*m.loopedSlides&&(i-=t-2*m.loopedSlides),o-1<i&&(i-=o),i<0&&"bullets"!==m.params.paginationType&&(i=o+i)):i=void 0!==m.snapIndex?m.snapIndex:m.activeIndex||0,"bullets"===n.type&&m.pagination.bullets&&0<m.pagination.bullets.length){var a,s,l,c=m.pagination.bullets;if(n.dynamicBullets&&(h=c.eq(0)[m.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(m.isHorizontal()?"width":"height","".concat(h*(n.dynamicMainBullets+4),"px")),1<n.dynamicMainBullets&&void 0!==m.previousIndex&&((v+=i-(m.previousIndex-m.loopedSlides||0))>n.dynamicMainBullets-1?v=n.dynamicMainBullets-1:v<0&&(v=0)),a=Math.max(i-v,0),l=((s=a+(Math.min(c.length,n.dynamicMainBullets)-1))+a)/2),c.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(function(e){return"".concat(n.bulletActiveClass).concat(e)}).join(" ")),1<r.length)c.each(function(e){var e=P(e),t=e.index();t===i&&e.addClass(n.bulletActiveClass),n.dynamicBullets&&(a<=t&&t<=s&&e.addClass("".concat(n.bulletActiveClass,"-main")),t===a&&b(e,"prev"),t===s&&b(e,"next"))});else{var t=c.eq(i),d=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){for(var t=c.eq(a),u=c.eq(s),p=a;p<=s;p+=1)c.eq(p).addClass("".concat(n.bulletActiveClass,"-main"));if(m.params.loop)if(d>=c.length){for(var f=n.dynamicMainBullets;0<=f;--f)c.eq(c.length-f).addClass("".concat(n.bulletActiveClass,"-main"));c.eq(c.length-n.dynamicMainBullets-1).addClass("".concat(n.bulletActiveClass,"-prev"))}else b(t,"prev"),b(u,"next");else b(t,"prev"),b(u,"next")}}n.dynamicBullets&&(d=Math.min(c.length,n.dynamicMainBullets+4),t=(h*d-h)/2-l*h,u=e?"right":"left",c.css(m.isHorizontal()?u:"top","".concat(t,"px")))}"fraction"===n.type&&(r.find(w(n.currentClass)).text(n.formatFractionCurrent(i+1)),r.find(w(n.totalClass)).text(n.formatFractionTotal(o))),"progressbar"===n.type&&(d=n.progressbarOpposite?m.isHorizontal()?"vertical":"horizontal":m.isHorizontal()?"horizontal":"vertical",l=(i+1)/o,u=e=1,"horizontal"===d?e=l:u=l,r.find(w(n.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(e,") scaleY(").concat(u,")")).transition(m.params.speed)),"custom"===n.type&&n.renderCustom?(r.html(n.renderCustom(m,i+1,o)),g("paginationRender",r[0])):g("paginationUpdate",r[0]),m.params.watchOverflow&&m.enabled&&r[m.isLocked?"addClass":"removeClass"](n.lockClass)}}function r(){var e=m.params.pagination;if(!y()){var t=(m.virtual&&m.params.virtual.enabled?m.virtual:m).slides.length,n=m.pagination.$el,i="";if("bullets"===e.type){var r=m.params.loop?Math.ceil((t-2*m.loopedSlides)/m.params.slidesPerGroup):m.snapGrid.length;m.params.freeMode&&m.params.freeMode.enabled&&!m.params.loop&&t<r&&(r=t);for(var o=0;o<r;o+=1)e.renderBullet?i+=e.renderBullet.call(m,o,e.bulletClass):i+="<".concat(e.bulletElement,' class="').concat(e.bulletClass,'"></').concat(e.bulletElement,">");n.html(i),m.pagination.bullets=n.find(w(e.bulletClass))}"fraction"===e.type&&(i=e.renderFraction?e.renderFraction.call(m,e.currentClass,e.totalClass):'<span class="'.concat(e.currentClass,'"></span>')+" / "+'<span class="'.concat(e.totalClass,'"></span>'),n.html(i)),"progressbar"===e.type&&(i=e.renderProgressbar?e.renderProgressbar.call(m,e.progressbarFillClass):'<span class="'.concat(e.progressbarFillClass,'"></span>'),n.html(i)),"custom"!==e.type&&g("paginationRender",m.pagination.$el[0])}}function o(){m.params.pagination=Ee(m,m.originalParams.pagination,m.params.pagination,{el:"swiper-pagination"});var e,t=m.params.pagination;!t.el||0!==(e=P(t.el)).length&&(m.params.uniqueNavElements&&"string"==typeof t.el&&1<e.length&&1<(e=m.$el.find(t.el)).length&&(e=e.filter(function(e){return P(e).parents(".swiper")[0]===m.el})),"bullets"===t.type&&t.clickable&&e.addClass(t.clickableClass),e.addClass(t.modifierClass+t.type),e.addClass(m.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),v=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.addClass(t.progressbarOppositeClass),t.clickable&&e.on("click",w(t.bulletClass),function(e){e.preventDefault();e=P(this).index()*m.params.slidesPerGroup;m.params.loop&&(e+=m.loopedSlides),m.slideTo(e)}),Object.assign(m.pagination,{$el:e,el:e[0]}),m.enabled||e.addClass(t.lockClass))}function a(){var e,t=m.params.pagination;y()||((e=m.pagination.$el).removeClass(t.hiddenClass),e.removeClass(t.modifierClass+t.type),e.removeClass(m.isHorizontal()?t.horizontalClass:t.verticalClass),m.pagination.bullets&&m.pagination.bullets.removeClass&&m.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&e.off("click",w(t.bulletClass)))}n("init",function(){o(),r(),i()}),n("activeIndexChange",function(){(m.params.loop||void 0===m.snapIndex)&&i()}),n("snapIndexChange",function(){m.params.loop||i()}),n("slidesLengthChange",function(){m.params.loop&&(r(),i())}),n("snapGridLengthChange",function(){m.params.loop||(r(),i())}),n("destroy",function(){a()}),n("enable disable",function(){var e=m.pagination.$el;e&&e[m.enabled?"removeClass":"addClass"](m.params.pagination.lockClass)}),n("lock unlock",function(){i()}),n("click",function(e,t){var t=t.target,n=m.pagination.$el;m.params.pagination.el&&m.params.pagination.hideOnClick&&0<n.length&&!P(t).hasClass(m.params.pagination.bulletClass)&&(m.navigation&&(m.navigation.nextEl&&t===m.navigation.nextEl||m.navigation.prevEl&&t===m.navigation.prevEl)||(t=n.hasClass(m.params.pagination.hiddenClass),g(!0===t?"paginationShow":"paginationHide"),n.toggleClass(m.params.pagination.hiddenClass)))}),Object.assign(m.pagination,{render:r,update:i,init:o,destroy:a})},function(e){var o,a,s,i,l=e.swiper,t=e.extendParams,n=e.on,c=e.emit,d=_(),u=!1,p=null,f=null;function r(){var e,t,n,i,r,o;l.params.scrollbar.el&&l.scrollbar.el&&(i=l.scrollbar,e=l.rtlTranslate,o=l.progress,t=i.$dragEl,n=i.$el,i=l.params.scrollbar,o=(s-(r=a))*o,e?0<(o=-o)?(r=a-o,o=0):s<-o+a&&(r=s+o):o<0?(r=a+o,o=0):s<o+a&&(r=s-o),l.isHorizontal()?(t.transform("translate3d(".concat(o,"px, 0, 0)")),t[0].style.width="".concat(r,"px")):(t.transform("translate3d(0px, ".concat(o,"px, 0)")),t[0].style.height="".concat(r,"px")),i.hide&&(clearTimeout(p),n[0].style.opacity=1,p=setTimeout(function(){n[0].style.opacity=0,n.transition(400)},1e3)))}function h(){var e,t,n;l.params.scrollbar.el&&l.scrollbar.el&&(t=(e=l.scrollbar).$dragEl,n=e.$el,t[0].style.width="",t[0].style.height="",s=l.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,i=l.size/(l.virtualSize+l.params.slidesOffsetBefore-(l.params.centeredSlides?l.snapGrid[0]:0)),a="auto"===l.params.scrollbar.dragSize?s*i:parseInt(l.params.scrollbar.dragSize,10),l.isHorizontal()?t[0].style.width="".concat(a,"px"):t[0].style.height="".concat(a,"px"),n[0].style.display=1<=i?"none":"",l.params.scrollbar.hide&&(n[0].style.opacity=0),l.params.watchOverflow&&l.enabled&&e.$el[l.isLocked?"addClass":"removeClass"](l.params.scrollbar.lockClass))}function m(e){return l.isHorizontal()?("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientX:("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientY}function g(e){var t=l.scrollbar,n=l.rtlTranslate,t=t.$el,e=(m(e)-t.offset()[l.isHorizontal()?"left":"top"]-(null!==o?o:a/2))/(s-a),t=(e=Math.max(Math.min(e,1),0),n&&(e=1-e),l.minTranslate()+(l.maxTranslate()-l.minTranslate())*e);l.updateProgress(t),l.setTranslate(t),l.updateActiveIndex(),l.updateSlidesClasses()}function v(e){var t=l.params.scrollbar,n=l.scrollbar,i=l.$wrapperEl,r=n.$el,n=n.$dragEl;u=!0,o=e.target===n[0]||e.target===n?m(e)-e.target.getBoundingClientRect()[l.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),n.transition(100),g(e),clearTimeout(f),r.transition(0),t.hide&&r.css("opacity",1),l.params.cssMode&&l.$wrapperEl.css("scroll-snap-type","none"),c("scrollbarDragStart",e)}function y(e){var t=l.scrollbar,n=l.$wrapperEl,i=t.$el,t=t.$dragEl;u&&(e.preventDefault?e.preventDefault():e.returnValue=!1,g(e),n.transition(0),i.transition(0),t.transition(0),c("scrollbarDragMove",e))}function b(e){var t=l.params.scrollbar,n=l.scrollbar,i=l.$wrapperEl,r=n.$el;u&&(u=!1,l.params.cssMode&&(l.$wrapperEl.css("scroll-snap-type",""),i.transition("")),t.hide&&(clearTimeout(f),f=E(function(){r.css("opacity",0),r.transition(400)},1e3)),c("scrollbarDragEnd",e),t.snapOnRelease&&l.slideToClosest())}function w(e){var t=l.scrollbar,n=l.touchEventsTouch,i=l.touchEventsDesktop,r=l.params,o=l.support,t=t.$el[0],a=!(!o.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},r=!(!o.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};t&&(e="on"===e?"addEventListener":"removeEventListener",o.touch?(t[e](n.start,v,a),t[e](n.move,y,a),t[e](n.end,b,r)):(t[e](i.start,v,a),d[e](i.move,y,a),d[e](i.end,b,r)))}function x(){var e,t=l.scrollbar,n=l.$el,i=(l.params.scrollbar=Ee(l,l.originalParams.scrollbar,l.params.scrollbar,{el:"swiper-scrollbar"}),l.params.scrollbar);i.el&&(e=P(i.el),0===(n=(e=l.params.uniqueNavElements&&"string"==typeof i.el&&1<e.length&&1===n.find(i.el).length?n.find(i.el):e).find(".".concat(l.params.scrollbar.dragClass))).length&&(n=P('<div class="'.concat(l.params.scrollbar.dragClass,'"></div>')),e.append(n)),Object.assign(t,{$el:e,el:e[0],$dragEl:n,dragEl:n[0]}),i.draggable&&l.params.scrollbar.el&&w("on"),e&&e[l.enabled?"removeClass":"addClass"](l.params.scrollbar.lockClass))}function S(){l.params.scrollbar.el&&w("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}}),l.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},n("init",function(){x(),h(),r()}),n("update resize observerUpdate lock unlock",function(){h()}),n("setTranslate",function(){r()}),n("setTransition",function(e,t){t=t,l.params.scrollbar.el&&l.scrollbar.el&&l.scrollbar.$dragEl.transition(t)}),n("enable disable",function(){var e=l.scrollbar.$el;e&&e[l.enabled?"removeClass":"addClass"](l.params.scrollbar.lockClass)}),n("destroy",function(){S()}),Object.assign(l.scrollbar,{updateSize:h,setTranslate:r,init:x,destroy:S})},function(e){function o(e,t){var n=l.rtl,e=P(e),n=n?-1:1,i=e.attr("data-swiper-parallax")||"0",r=e.attr("data-swiper-parallax-x"),o=e.attr("data-swiper-parallax-y"),a=e.attr("data-swiper-parallax-scale"),s=e.attr("data-swiper-parallax-opacity");r||o?(r=r||"0",o=o||"0"):l.isHorizontal()?(r=i,o="0"):(o=i,r="0"),r=0<=r.indexOf("%")?"".concat(parseInt(r,10)*t*n,"%"):"".concat(r*t*n,"px"),o=0<=o.indexOf("%")?"".concat(parseInt(o,10)*t,"%"):"".concat(o*t,"px"),null!=s&&(i=s-(s-1)*(1-Math.abs(t)),e[0].style.opacity=i),null==a?e.transform("translate3d(".concat(r,", ").concat(o,", 0px)")):(n=a-(a-1)*(1-Math.abs(t)),e.transform("translate3d(".concat(r,", ").concat(o,", 0px) scale(").concat(n,")")))}function t(){var e=l.$el,t=l.slides,i=l.progress,r=l.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){o(e,i)}),t.each(function(e,t){var n=e.progress;1<l.params.slidesPerGroup&&"auto"!==l.params.slidesPerView&&(n+=Math.ceil(t/2)-i*(r.length-1)),n=Math.min(Math.max(n,-1),1),P(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){o(e,n)})})}var l=e.swiper,n=e.extendParams,e=e.on;n({parallax:{enabled:!1}}),e("beforeInit",function(){l.params.parallax.enabled&&(l.params.watchSlidesProgress=!0,l.originalParams.watchSlidesProgress=!0)}),e("init",function(){l.params.parallax.enabled&&t()}),e("setTranslate",function(){l.params.parallax.enabled&&t()}),e("setTransition",function(e,t){var n;l.params.parallax.enabled&&(void 0===(n=t)&&(n=l.params.speed),l.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){var e=P(e),t=parseInt(e.attr("data-swiper-parallax-duration"),10)||n;0===n&&(t=0),e.transition(t)}))})},function(e){var t,o,a,l=e.swiper,n=e.extendParams,i=e.on,r=e.emit,c=I(),d=(n({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),l.zoom={enabled:!1},1),s=!1,u={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},p={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:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},h=1;function m(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,e=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(e-n,2))}function g(e){var t=l.support,n=l.params.zoom;if(a=o=!1,!t.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;o=!0,u.scaleStart=m(e)}u.$slideEl&&u.$slideEl.length||(u.$slideEl=P(e.target).closest(".".concat(l.params.slideClass)),0===u.$slideEl.length&&(u.$slideEl=l.slides.eq(l.activeIndex)),u.$imageEl=u.$slideEl.find(".".concat(n.containerClass)).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),u.$imageWrapEl=u.$imageEl.parent(".".concat(n.containerClass)),u.maxRatio=u.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==u.$imageWrapEl.length)?(u.$imageEl&&u.$imageEl.transition(0),s=!0):u.$imageEl=void 0}function v(e){var t=l.support,n=l.params.zoom,i=l.zoom;if(!t.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a=!0,u.scaleMove=m(e)}u.$imageEl&&0!==u.$imageEl.length?(t.gestures?i.scale=e.scale*d:i.scale=u.scaleMove/u.scaleStart*d,i.scale>u.maxRatio&&(i.scale=u.maxRatio-1+Math.pow(i.scale-u.maxRatio+1,.5)),i.scale<n.minRatio&&(i.scale=n.minRatio+1-Math.pow(n.minRatio-i.scale+1,.5)),u.$imageEl.transform("translate3d(0,0,0) scale(".concat(i.scale,")"))):"gesturechange"===e.type&&g(e)}function y(e){var t=l.device,n=l.support,i=l.params.zoom,r=l.zoom;if(!n.gestures){if(!o||!a)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!t.android)return;a=o=!1}u.$imageEl&&0!==u.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,u.maxRatio),i.minRatio),u.$imageEl.transition(l.params.speed).transform("translate3d(0,0,0) scale(".concat(r.scale,")")),d=r.scale,s=!1,1===r.scale&&(u.$slideEl=void 0))}function b(e){var t=l.zoom;if(u.$imageEl&&0!==u.$imageEl.length&&(l.allowClick=!1,p.isTouched&&u.$slideEl)){p.isMoved||(p.width=u.$imageEl[0].offsetWidth,p.height=u.$imageEl[0].offsetHeight,p.startX=D(u.$imageWrapEl[0],"x")||0,p.startY=D(u.$imageWrapEl[0],"y")||0,u.slideWidth=u.$slideEl[0].offsetWidth,u.slideHeight=u.$slideEl[0].offsetHeight,u.$imageWrapEl.transition(0));var n=p.width*t.scale,t=p.height*t.scale;if(!(n<u.slideWidth&&t<u.slideHeight)){if(p.minX=Math.min(u.slideWidth/2-n/2,0),p.maxX=-p.minX,p.minY=Math.min(u.slideHeight/2-t/2,0),p.maxY=-p.minY,p.touchesCurrent.x=("touchmove"===e.type?e.targetTouches[0]:e).pageX,p.touchesCurrent.y=("touchmove"===e.type?e.targetTouches[0]:e).pageY,!p.isMoved&&!s){if(l.isHorizontal()&&(Math.floor(p.minX)===Math.floor(p.startX)&&p.touchesCurrent.x<p.touchesStart.x||Math.floor(p.maxX)===Math.floor(p.startX)&&p.touchesCurrent.x>p.touchesStart.x))return void(p.isTouched=!1);if(!l.isHorizontal()&&(Math.floor(p.minY)===Math.floor(p.startY)&&p.touchesCurrent.y<p.touchesStart.y||Math.floor(p.maxY)===Math.floor(p.startY)&&p.touchesCurrent.y>p.touchesStart.y))return void(p.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),p.isMoved=!0,p.currentX=p.touchesCurrent.x-p.touchesStart.x+p.startX,p.currentY=p.touchesCurrent.y-p.touchesStart.y+p.startY,p.currentX<p.minX&&(p.currentX=p.minX+1-Math.pow(p.minX-p.currentX+1,.8)),p.currentX>p.maxX&&(p.currentX=p.maxX-1+Math.pow(p.currentX-p.maxX+1,.8)),p.currentY<p.minY&&(p.currentY=p.minY+1-Math.pow(p.minY-p.currentY+1,.8)),p.currentY>p.maxY&&(p.currentY=p.maxY-1+Math.pow(p.currentY-p.maxY+1,.8)),f.prevPositionX||(f.prevPositionX=p.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=p.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(p.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(p.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(p.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(p.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=p.touchesCurrent.x,f.prevPositionY=p.touchesCurrent.y,f.prevTime=Date.now(),u.$imageWrapEl.transform("translate3d(".concat(p.currentX,"px, ").concat(p.currentY,"px,0)"))}}}function w(){var e=l.zoom;u.$slideEl&&l.previousIndex!==l.activeIndex&&(u.$imageEl&&u.$imageEl.transform("translate3d(0,0,0) scale(1)"),u.$imageWrapEl&&u.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,d=1,u.$slideEl=void 0,u.$imageEl=void 0,u.$imageWrapEl=void 0)}function x(e){var t,n,i,r,o,a=l.zoom,s=l.params.zoom;u.$slideEl||(e&&e.target&&(u.$slideEl=P(e.target).closest(".".concat(l.params.slideClass))),u.$slideEl||(l.params.virtual&&l.params.virtual.enabled&&l.virtual?u.$slideEl=l.$wrapperEl.children(".".concat(l.params.slideActiveClass)):u.$slideEl=l.slides.eq(l.activeIndex)),u.$imageEl=u.$slideEl.find(".".concat(s.containerClass)).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),u.$imageWrapEl=u.$imageEl.parent(".".concat(s.containerClass))),u.$imageEl&&0!==u.$imageEl.length&&u.$imageWrapEl&&0!==u.$imageWrapEl.length&&(l.params.cssMode&&(l.wrapperEl.style.overflow="hidden",l.wrapperEl.style.touchAction="none"),u.$slideEl.addClass("".concat(s.zoomedSlideClass)),t=void 0===p.touchesStart.x&&e?(o=("touchend"===e.type?e.changedTouches[0]:e).pageX,("touchend"===e.type?e.changedTouches[0]:e).pageY):(o=p.touchesStart.x,p.touchesStart.y),a.scale=u.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,d=u.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,e?(s=u.$slideEl[0].offsetWidth,e=u.$slideEl[0].offsetHeight,o=u.$slideEl.offset().left+c.scrollX+s/2-o,t=u.$slideEl.offset().top+c.scrollY+e/2-t,r=u.$imageEl[0].offsetWidth,i=u.$imageEl[0].offsetHeight,r=r*a.scale,i=i*a.scale,s=Math.min(s/2-r/2,0),r=Math.min(e/2-i/2,0),(e=-s)<(i=(i=o*a.scale)<s?s:i)&&(i=e),(o=-r)<(n=(n=t*a.scale)<r?r:n)&&(n=o)):n=i=0,u.$imageWrapEl.transition(300).transform("translate3d(".concat(i,"px, ").concat(n,"px,0)")),u.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(a.scale,")")))}function S(){var e=l.zoom,t=l.params.zoom;u.$slideEl||(l.params.virtual&&l.params.virtual.enabled&&l.virtual?u.$slideEl=l.$wrapperEl.children(".".concat(l.params.slideActiveClass)):u.$slideEl=l.slides.eq(l.activeIndex),u.$imageEl=u.$slideEl.find(".".concat(t.containerClass)).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),u.$imageWrapEl=u.$imageEl.parent(".".concat(t.containerClass))),u.$imageEl&&0!==u.$imageEl.length&&u.$imageWrapEl&&0!==u.$imageWrapEl.length&&(l.params.cssMode&&(l.wrapperEl.style.overflow="",l.wrapperEl.style.touchAction=""),e.scale=1,d=1,u.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),u.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),u.$slideEl.removeClass("".concat(t.zoomedSlideClass)),u.$slideEl=void 0)}function _(e){var t=l.zoom;t.scale&&1!==t.scale?S():x(e)}function E(){var e=l.support;return{passiveListener:!("touchstart"!==l.touchEvents.start||!e.passiveListener||!l.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!e.passiveListener||{passive:!1,capture:!0}}}function T(){return".".concat(l.params.slideClass)}function C(e){var t=E().passiveListener,n=T();l.$wrapperEl[e]("gesturestart",n,g,t),l.$wrapperEl[e]("gesturechange",n,v,t),l.$wrapperEl[e]("gestureend",n,y,t)}function k(){t||(t=!0,C("on"))}function A(){t&&(t=!1,C("off"))}function O(){var e,t,n,i=l.zoom;i.enabled||(i.enabled=!0,i=l.support,e=(t=E()).passiveListener,t=t.activeListenerWithCapture,n=T(),i.gestures?(l.$wrapperEl.on(l.touchEvents.start,k,e),l.$wrapperEl.on(l.touchEvents.end,A,e)):"touchstart"===l.touchEvents.start&&(l.$wrapperEl.on(l.touchEvents.start,n,g,e),l.$wrapperEl.on(l.touchEvents.move,n,v,t),l.$wrapperEl.on(l.touchEvents.end,n,y,e),l.touchEvents.cancel&&l.$wrapperEl.on(l.touchEvents.cancel,n,y,e)),l.$wrapperEl.on(l.touchEvents.move,".".concat(l.params.zoom.containerClass),b,t))}function M(){var e,t,n,i=l.zoom;i.enabled&&(e=l.support,i.enabled=!1,t=(i=E()).passiveListener,i=i.activeListenerWithCapture,n=T(),e.gestures?(l.$wrapperEl.off(l.touchEvents.start,k,t),l.$wrapperEl.off(l.touchEvents.end,A,t)):"touchstart"===l.touchEvents.start&&(l.$wrapperEl.off(l.touchEvents.start,n,g,t),l.$wrapperEl.off(l.touchEvents.move,n,v,i),l.$wrapperEl.off(l.touchEvents.end,n,y,t),l.touchEvents.cancel&&l.$wrapperEl.off(l.touchEvents.cancel,n,y,t)),l.$wrapperEl.off(l.touchEvents.move,".".concat(l.params.zoom.containerClass),b,i))}Object.defineProperty(l.zoom,"scale",{get:function(){return h},set:function(e){var t,n;h!==e&&(t=u.$imageEl?u.$imageEl[0]:void 0,n=u.$slideEl?u.$slideEl[0]:void 0,r("zoomChange",e,t,n)),h=e}}),i("init",function(){l.params.zoom.enabled&&O()}),i("destroy",function(){M()}),i("touchStart",function(e,t){var n;l.zoom.enabled&&(t=t,n=l.device,u.$imageEl&&0!==u.$imageEl.length&&!p.isTouched&&(n.android&&t.cancelable&&t.preventDefault(),p.isTouched=!0,p.touchesStart.x=("touchstart"===t.type?t.targetTouches[0]:t).pageX,p.touchesStart.y=("touchstart"===t.type?t.targetTouches[0]:t).pageY))}),i("touchEnd",function(e,t){if(l.zoom.enabled){var n=l.zoom;if(u.$imageEl&&0!==u.$imageEl.length){if(!p.isTouched||!p.isMoved)return void(p.isTouched=!1,p.isMoved=!1);p.isTouched=!1,p.isMoved=!1;var i=300,r=300,o=f.x*i,o=p.currentX+o,a=f.y*r,a=p.currentY+a,i=(0!==f.x&&(i=Math.abs((o-p.currentX)/f.x)),0!==f.y&&(r=Math.abs((a-p.currentY)/f.y)),Math.max(i,r)),r=(p.currentX=o,p.currentY=a,p.width*n.scale),o=p.height*n.scale;p.minX=Math.min(u.slideWidth/2-r/2,0),p.maxX=-p.minX,p.minY=Math.min(u.slideHeight/2-o/2,0),p.maxY=-p.minY,p.currentX=Math.max(Math.min(p.currentX,p.maxX),p.minX),p.currentY=Math.max(Math.min(p.currentY,p.maxY),p.minY),u.$imageWrapEl.transition(i).transform("translate3d(".concat(p.currentX,"px, ").concat(p.currentY,"px,0)"))}}}),i("doubleTap",function(e,t){!l.animating&&l.params.zoom.enabled&&l.zoom.enabled&&l.params.zoom.toggle&&_(t)}),i("transitionEnd",function(){l.zoom.enabled&&l.params.zoom.enabled&&w()}),i("slideChange",function(){l.zoom.enabled&&l.params.zoom.enabled&&l.params.cssMode&&w()}),Object.assign(l.zoom,{enable:O,disable:M,in:x,out:S,toggle:_})},function(e){var h=e.swiper,t=e.extendParams,n=e.on,d=e.emit,c=(t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),!(h.lazy={})),m=!1;function g(e,s){void 0===s&&(s=!0);var l,c=h.params.lazy;void 0!==e&&0!==h.slides.length&&(e=(l=h.virtual&&h.params.virtual.enabled?h.$wrapperEl.children(".".concat(h.params.slideClass,'[data-swiper-slide-index="').concat(e,'"]')):h.slides.eq(e)).find(".".concat(c.elementClass,":not(.").concat(c.loadedClass,"):not(.").concat(c.loadingClass,")")),!l.hasClass(c.elementClass)||l.hasClass(c.loadedClass)||l.hasClass(c.loadingClass)||e.push(l[0]),0!==e.length&&e.each(function(e){var t=P(e),n=(t.addClass(c.loadingClass),t.attr("data-background")),i=t.attr("data-src"),r=t.attr("data-srcset"),o=t.attr("data-sizes"),a=t.parent("picture");h.loadImage(t[0],i||n,r,o,!1,function(){var e;null==h||!h||h&&!h.params||h.destroyed||(n?(t.css("background-image",'url("'.concat(n,'")')),t.removeAttr("data-background")):(r&&(t.attr("srcset",r),t.removeAttr("data-srcset")),o&&(t.attr("sizes",o),t.removeAttr("data-sizes")),a.length&&a.children("source").each(function(e){e=P(e);e.attr("data-srcset")&&(e.attr("srcset",e.attr("data-srcset")),e.removeAttr("data-srcset"))}),i&&(t.attr("src",i),t.removeAttr("data-src"))),t.addClass(c.loadedClass).removeClass(c.loadingClass),l.find(".".concat(c.preloaderClass)).remove(),h.params.loop&&s&&(e=l.attr("data-swiper-slide-index"),l.hasClass(h.params.slideDuplicateClass)?g(h.$wrapperEl.children('[data-swiper-slide-index="'.concat(e,'"]:not(.').concat(h.params.slideDuplicateClass,")")).index(),!1):g(h.$wrapperEl.children(".".concat(h.params.slideDuplicateClass,'[data-swiper-slide-index="').concat(e,'"]')).index(),!1)),d("lazyImageReady",l[0],t[0]),h.params.autoHeight&&h.updateAutoHeight())}),d("lazyImageLoad",l[0],t[0])}))}function u(){var t=h.$wrapperEl,n=h.params,i=h.slides,e=h.activeIndex,r=h.virtual&&n.virtual.enabled,o=n.lazy,a=n.slidesPerView;function s(e){if(r){if(t.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]')).length)return 1}else if(i[e])return 1}function l(e){return r?P(e).attr("data-swiper-slide-index"):P(e).index()}if("auto"===a&&(a=0),m=m||!0,h.params.watchSlidesProgress)t.children(".".concat(n.slideVisibleClass)).each(function(e){g(r?P(e).attr("data-swiper-slide-index"):P(e).index())});else if(1<a)for(var c=e;c<e+a;c+=1)s(c)&&g(c);else g(e);if(o.loadPrevNext)if(1<a||o.loadPrevNextAmount&&1<o.loadPrevNextAmount){for(var o=o.loadPrevNextAmount,d=a,u=Math.min(e+d+Math.max(o,d),i.length),d=Math.max(e-Math.max(d,o),0),p=e+a;p<u;p+=1)s(p)&&g(p);for(var f=d;f<e;f+=1)s(f)&&g(f)}else{o=t.children(".".concat(n.slideNextClass)),d=(0<o.length&&g(l(o)),t.children(".".concat(n.slidePrevClass)));0<d.length&&g(l(d))}}function p(){var e=I();if(h&&!h.destroyed){for(var t=h.params.lazy.scrollingElement?P(h.params.lazy.scrollingElement):P(e),n=t[0]===e,i=n?e.innerWidth:t[0].offsetWidth,r=n?e.innerHeight:t[0].offsetHeight,n=h.$el.offset(),o=!1,a=(h.rtlTranslate&&(n.left-=h.$el[0].scrollLeft),[[n.left,n.top],[n.left+h.width,n.top],[n.left,n.top+h.height],[n.left+h.width,n.top+h.height]]),s=0;s<a.length;s+=1){var l=a[s];0<=l[0]&&l[0]<=i&&0<=l[1]&&l[1]<=r&&(0===l[0]&&0===l[1]||(o=!0))}e=!("touchstart"!==h.touchEvents.start||!h.support.passiveListener||!h.params.passiveListeners)&&{passive:!0,capture:!1};o?(u(),t.off("scroll",p,e)):c||(c=!0,t.on("scroll",p,e))}}n("beforeInit",function(){h.params.lazy.enabled&&h.params.preloadImages&&(h.params.preloadImages=!1)}),n("init",function(){h.params.lazy.enabled&&(h.params.lazy.checkInView?p:u)()}),n("scroll",function(){h.params.freeMode&&h.params.freeMode.enabled&&!h.params.freeMode.sticky&&u()}),n("scrollbarDragMove resize _freeModeNoMomentumRelease",function(){h.params.lazy.enabled&&(h.params.lazy.checkInView?p:u)()}),n("transitionStart",function(){!h.params.lazy.enabled||!h.params.lazy.loadOnTransitionStart&&(h.params.lazy.loadOnTransitionStart||m)||(h.params.lazy.checkInView?p:u)()}),n("transitionEnd",function(){h.params.lazy.enabled&&!h.params.lazy.loadOnTransitionStart&&(h.params.lazy.checkInView?p:u)()}),n("slideChange",function(){var e=h.params,t=e.lazy,n=e.cssMode,i=e.watchSlidesProgress,r=e.touchReleaseOnEdges,e=e.resistanceRatio;t.enabled&&(n||i&&(r||0===e))&&u()}),Object.assign(h.lazy,{load:u,loadInSlide:g})},function(e){var l=e.swiper,t=e.extendParams,e=e.on;function c(e,t){var n,i,r,o,a,s=function(e,t){for(i=-1,n=e.length;1<n-i;)e[r=n+i>>1]<=t?i=r:n=r;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=s(this.x,e),o=a-1,(e-this.x[o])*(this.y[a]-this.y[o])/(this.x[a]-this.x[o])+this.y[o]):0},this}function n(){l.controller.control&&l.controller.spline&&(l.controller.spline=void 0,delete l.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),l.controller={control:void 0},e("beforeInit",function(){l.controller.control=l.params.controller.control}),e("update",function(){n()}),e("resize",function(){n()}),e("observerUpdate",function(){n()}),e("setTranslate",function(e,t,n){l.controller.control&&l.controller.setTranslate(t,n)}),e("setTransition",function(e,t,n){l.controller.control&&l.controller.setTransition(t,n)}),Object.assign(l.controller,{setTranslate:function(e,t){var i,r,n=l.controller.control,o=l.constructor;function a(e){var t,n=l.rtlTranslate?-l.translate:l.translate;"slide"===l.params.controller.by&&(t=e,l.controller.spline||(l.controller.spline=l.params.loop?new c(l.slidesGrid,t.slidesGrid):new c(l.snapGrid,t.snapGrid)),r=-l.controller.spline.interpolate(-n)),r&&"container"!==l.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(l.maxTranslate()-l.minTranslate()),r=(n-l.minTranslate())*i+e.minTranslate()),l.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,l),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(n))for(var s=0;s<n.length;s+=1)n[s]!==t&&n[s]instanceof o&&a(n[s]);else n instanceof o&&t!==n&&a(n)},setTransition:function(t,e){var n,i=l.constructor,r=l.controller.control;function o(e){e.setTransition(t,l),0!==t&&(e.transitionStart(),e.params.autoHeight&&E(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){r&&(e.params.loop&&"slide"===l.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(r))for(n=0;n<r.length;n+=1)r[n]!==e&&r[n]instanceof i&&o(r[n]);else r instanceof i&&e!==r&&o(r)}})},function(e){var s=e.swiper,t=e.extendParams,e=e.on,l=(t({a11y:{enabled:!0,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}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),null);function n(e){var t=l;0!==t.length&&(t.html(""),t.html(e))}function i(e){e.attr("tabIndex","0")}function r(e){e.attr("tabIndex","-1")}function c(e,t){e.attr("role",t)}function d(e,t){e.attr("aria-roledescription",t)}function u(e,t){e.attr("aria-label",t)}function o(e){e.attr("aria-disabled",!0)}function a(e){e.attr("aria-disabled",!1)}function p(e){var t;13!==e.keyCode&&32!==e.keyCode||(t=s.params.a11y,e=P(e.target),s.navigation&&s.navigation.$nextEl&&e.is(s.navigation.$nextEl)&&(s.isEnd&&!s.params.loop||s.slideNext(),s.isEnd?n(t.lastSlideMessage):n(t.nextSlideMessage)),s.navigation&&s.navigation.$prevEl&&e.is(s.navigation.$prevEl)&&(s.isBeginning&&!s.params.loop||s.slidePrev(),s.isBeginning?n(t.firstSlideMessage):n(t.prevSlideMessage)),s.pagination&&e.is(w(s.params.pagination.bulletClass))&&e[0].click())}function f(){return s.pagination&&s.pagination.bullets&&s.pagination.bullets.length}function h(){return f()&&s.params.pagination.clickable}function m(e,t,n){i(e),"BUTTON"!==e[0].tagName&&(c(e,"button"),e.on("keydown",p)),u(e,n),e.attr("aria-controls",t)}function g(e){var t,n;(e=e.target.closest(".".concat(s.params.slideClass)))&&s.slides.includes(e)&&(t=s.slides.indexOf(e)===s.activeIndex,n=s.params.watchSlidesProgress&&s.visibleSlides&&s.visibleSlides.includes(e),t||n||s.slideTo(s.slides.indexOf(e),0))}function v(){var e,t,n=s.params.a11y,i=(s.$el.append(l),s.$el),i=(n.containerRoleDescriptionMessage&&d(i,n.containerRoleDescriptionMessage),n.containerMessage&&u(i,n.containerMessage),s.$wrapperEl),r=n.id||i.attr("id")||"swiper-wrapper-".concat("x".repeat(r=void 0===(r=16)?16:r).replace(/x/g,function(){return Math.round(16*Math.random()).toString(16)})),o=s.params.autoplay&&s.params.autoplay.enabled?"off":"polite",a=(i.attr("id",r),i.attr("aria-live",o),n.itemRoleDescriptionMessage&&d(P(s.slides),n.itemRoleDescriptionMessage),c(P(s.slides),n.slideRole),(s.params.loop?s.slides.filter(function(e){return!e.classList.contains(s.params.slideDuplicateClass)}):s.slides).length);s.slides.each(function(e,t){e=P(e),t=s.params.loop?parseInt(e.attr("data-swiper-slide-index"),10):t;u(e,n.slideLabelMessage.replace(/\{\{index\}\}/,t+1).replace(/\{\{slidesLength\}\}/,a))}),s.navigation&&s.navigation.$nextEl&&(e=s.navigation.$nextEl),s.navigation&&s.navigation.$prevEl&&(t=s.navigation.$prevEl),e&&e.length&&m(e,r,n.nextSlideMessage),t&&t.length&&m(t,r,n.prevSlideMessage),h()&&s.pagination.$el.on("keydown",w(s.params.pagination.bulletClass),p),s.$el.on("focus",g,!0)}e("beforeInit",function(){l=P('<span class="'.concat(s.params.a11y.notificationClass,'" aria-live="assertive" aria-atomic="true"></span>'))}),e("afterInit",function(){s.params.a11y.enabled&&v()}),e("fromEdge toEdge afterInit lock unlock",function(){var e,t;s.params.a11y.enabled&&!s.params.loop&&!s.params.rewind&&s.navigation&&(e=(t=s.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(s.isBeginning?(o(t),r(t)):(a(t),i(t))),e&&0<e.length&&(s.isEnd?(o(e),r(e)):(a(e),i(e))))}),e("paginationUpdate",function(){var t;s.params.a11y.enabled&&(t=s.params.a11y,f()&&s.pagination.bullets.each(function(e){e=P(e);s.params.pagination.clickable&&(i(e),s.params.pagination.renderBullet||(c(e,"button"),u(e,t.paginationBulletMessage.replace(/\{\{index\}\}/,e.index()+1)))),e.is(".".concat(s.params.pagination.bulletActiveClass))?e.attr("aria-current","true"):e.removeAttr("aria-current")}))}),e("destroy",function(){var e,t;s.params.a11y.enabled&&(l&&0<l.length&&l.remove(),s.navigation&&s.navigation.$nextEl&&(e=s.navigation.$nextEl),s.navigation&&s.navigation.$prevEl&&(t=s.navigation.$prevEl),e&&e.off("keydown",p),t&&t.off("keydown",p),h()&&s.pagination.$el.off("keydown",w(s.params.pagination.bulletClass),p),s.$el.off("focus",g,!0))})},function(e){function t(e,t){var n,i,r=I();o&&a.params.history.enabled&&(n=a.params.url?new URL(a.params.url):r.location,t=a.slides.eq(t),t=s(t.attr("data-history")),0<a.params.history.root.length?("/"===(i=a.params.history.root)[i.length-1]&&(i=i.slice(0,i.length-1)),t="".concat(i,"/").concat(e,"/").concat(t)):n.pathname.includes(e)||(t="".concat(e,"/").concat(t)),a.params.history.keepQuery&&(t+=n.search),(i=r.history.state)&&i.value===t||(a.params.history.replaceState?r.history.replaceState({value:t},null,t):r.history.pushState({value:t},null,t)))}function n(){r=l(a.params.url),c(a.params.speed,r.value,!1)}var a=e.swiper,i=e.extendParams,e=e.on,o=(i({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}}),!1),r={},s=function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},l=function(e){var t=I(),e=e?new URL(e):t.location,t=e.pathname.slice(1).split("/").filter(function(e){return""!==e}),e=t.length;return{key:t[e-2],value:t[e-1]}},c=function(e,t,n){if(t)for(var i=0,r=a.slides.length;i<r;i+=1){var o=a.slides.eq(i);s(o.attr("data-history"))!==t||o.hasClass(a.params.slideDuplicateClass)||(o=o.index(),a.slideTo(o,e,n))}else a.slideTo(0,e,n)};e("init",function(){if(a.params.history.enabled){var e=I();if(a.params.history){if(!e.history||!e.history.pushState)return void(a.params.history.enabled=!1,a.params.hashNavigation.enabled=!0);o=!0,((r=l(a.params.url)).key||r.value)&&(c(0,r.value,a.params.runCallbacksOnInit),a.params.history.replaceState||e.addEventListener("popstate",n))}}}),e("destroy",function(){var e;a.params.history.enabled&&(e=I(),a.params.history.replaceState||e.removeEventListener("popstate",n))}),e("transitionEnd _freeModeNoMomentumRelease",function(){o&&t(a.params.history.key,a.activeIndex)}),e("slideChange",function(){o&&a.params.cssMode&&t(a.params.history.key,a.activeIndex)})},function(e){function r(){i("hashChange");var e=s.location.hash.replace("#","");e!==o.slides.eq(o.activeIndex).attr("data-hash")&&void 0!==(e=o.$wrapperEl.children(".".concat(o.params.slideClass,'[data-hash="').concat(e,'"]')).index())&&o.slideTo(e)}function t(){var e;a&&o.params.hashNavigation.enabled&&(o.params.hashNavigation.replaceState&&l.history&&l.history.replaceState?l.history.replaceState(null,null,"#".concat(o.slides.eq(o.activeIndex).attr("data-hash"))||0):(e=(e=o.slides.eq(o.activeIndex)).attr("data-hash")||e.attr("data-history"),s.location.hash=e||""),i("hashSet"))}var o=e.swiper,n=e.extendParams,i=e.emit,e=e.on,a=!1,s=_(),l=I();n({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}}),e("init",function(){if(o.params.hashNavigation.enabled&&!(!o.params.hashNavigation.enabled||o.params.history&&o.params.history.enabled)){a=!0;var e=s.location.hash.replace("#","");if(e)for(var t=0,n=o.slides.length;t<n;t+=1){var i=o.slides.eq(t);(i.attr("data-hash")||i.attr("data-history"))!==e||i.hasClass(o.params.slideDuplicateClass)||(i=i.index(),o.slideTo(i,0,o.params.runCallbacksOnInit,!0))}o.params.hashNavigation.watchState&&P(l).on("hashchange",r)}}),e("destroy",function(){o.params.hashNavigation.enabled&&o.params.hashNavigation.watchState&&P(l).off("hashchange",r)}),e("transitionEnd _freeModeNoMomentumRelease",function(){a&&t()}),e("slideChange",function(){a&&o.params.cssMode&&t()})},function(e){var n,i=e.swiper,t=e.extendParams,r=e.on,o=e.emit;function a(){var e=i.slides.eq(i.activeIndex),t=i.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(t=e.attr("data-swiper-autoplay")||i.params.autoplay.delay),clearTimeout(n),n=E(function(){var e;i.params.autoplay.reverseDirection?i.params.loop?(i.loopFix(),e=i.slidePrev(i.params.speed,!0,!0),o("autoplay")):i.isBeginning?i.params.autoplay.stopOnLastSlide?l():(e=i.slideTo(i.slides.length-1,i.params.speed,!0,!0),o("autoplay")):(e=i.slidePrev(i.params.speed,!0,!0),o("autoplay")):i.params.loop?(i.loopFix(),e=i.slideNext(i.params.speed,!0,!0),o("autoplay")):i.isEnd?i.params.autoplay.stopOnLastSlide?l():(e=i.slideTo(0,i.params.speed,!0,!0),o("autoplay")):(e=i.slideNext(i.params.speed,!0,!0),o("autoplay")),(i.params.cssMode&&i.autoplay.running||!1===e)&&a()},t)}function s(){return void 0===n&&(!i.autoplay.running&&(i.autoplay.running=!0,o("autoplayStart"),a(),!0))}function l(){return!!i.autoplay.running&&(void 0!==n&&(n&&(clearTimeout(n),n=void 0),i.autoplay.running=!1,o("autoplayStop"),!0))}function c(e){!i.autoplay.running||i.autoplay.paused||(n&&clearTimeout(n),i.autoplay.paused=!0,0!==e&&i.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(function(e){i.$wrapperEl[0].addEventListener(e,u)}):(i.autoplay.paused=!1,a()))}function d(){var e=_();"hidden"===e.visibilityState&&i.autoplay.running&&c(),"visible"===e.visibilityState&&i.autoplay.paused&&(a(),i.autoplay.paused=!1)}function u(e){i&&!i.destroyed&&i.$wrapperEl&&e.target===i.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(function(e){i.$wrapperEl[0].removeEventListener(e,u)}),i.autoplay.paused=!1,(i.autoplay.running?a:l)())}function p(){i.params.autoplay.disableOnInteraction?l():(o("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach(function(e){i.$wrapperEl[0].removeEventListener(e,u)})}function f(){i.params.autoplay.disableOnInteraction||(i.autoplay.paused=!1,o("autoplayResume"),a())}t({autoplay:{enabled:!(i.autoplay={running:!1,paused:!1}),delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),r("init",function(){i.params.autoplay.enabled&&(s(),_().addEventListener("visibilitychange",d),i.params.autoplay.pauseOnMouseEnter&&(i.$el.on("mouseenter",p),i.$el.on("mouseleave",f)))}),r("beforeTransitionStart",function(e,t,n){i.autoplay.running&&(n||!i.params.autoplay.disableOnInteraction?i.autoplay.pause(t):l())}),r("sliderFirstMove",function(){i.autoplay.running&&(i.params.autoplay.disableOnInteraction?l:c)()}),r("touchEnd",function(){i.params.cssMode&&i.autoplay.paused&&!i.params.autoplay.disableOnInteraction&&a()}),r("destroy",function(){i.$el.off("mouseenter",p),i.$el.off("mouseleave",f),i.autoplay.running&&l(),_().removeEventListener("visibilitychange",d)}),Object.assign(i.autoplay,{pause:c,run:a,start:s,stop:l})},function(e){var p=e.swiper,t=e.extendParams,e=e.on,n=(t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}}),!1),i=!1;function r(){var e,t,n,i=p.thumbs.swiper;i&&!i.destroyed&&(e=i.clickedIndex,(n=i.clickedSlide)&&P(n).hasClass(p.params.thumbs.slideThumbActiveClass)||null!=e&&(n=i.params.loop?parseInt(P(i.clickedSlide).attr("data-swiper-slide-index"),10):e,p.params.loop&&(i=p.activeIndex,p.slides.eq(i).hasClass(p.params.slideDuplicateClass)&&(p.loopFix(),p._clientLeft=p.$wrapperEl[0].clientLeft,i=p.activeIndex),e=p.slides.eq(i).prevAll('[data-swiper-slide-index="'.concat(n,'"]')).eq(0).index(),t=p.slides.eq(i).nextAll('[data-swiper-slide-index="'.concat(n,'"]')).eq(0).index(),n=void 0===e||void 0!==t&&t-i<i-e?t:e),p.slideTo(n)))}function o(){var e=p.params.thumbs;if(n)return!1;n=!0;var t=p.constructor;return e.swiper instanceof t?(p.thumbs.swiper=e.swiper,Object.assign(p.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(p.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):f(e.swiper)&&(e=Object.assign({},e.swiper),Object.assign(e,{watchSlidesProgress:!0,slideToClickedSlide:!1}),p.thumbs.swiper=new t(e),i=!0),p.thumbs.swiper.$el.addClass(p.params.thumbs.thumbsContainerClass),p.thumbs.swiper.on("tap",r),!0}function a(e){var t=p.thumbs.swiper;if(t&&!t.destroyed){var n,i,r,o="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView,a=p.params.thumbs.autoScrollOffset,s=a&&!t.params.loop,l=(p.realIndex===t.realIndex&&!s||(n=t.activeIndex,r=t.params.loop?(t.slides.eq(n).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,n=t.activeIndex),r=t.slides.eq(n).prevAll('[data-swiper-slide-index="'.concat(p.realIndex,'"]')).eq(0).index(),i=t.slides.eq(n).nextAll('[data-swiper-slide-index="'.concat(p.realIndex,'"]')).eq(0).index(),i=void 0===r?i:void 0===i?r:i-n==n-r?1<t.params.slidesPerGroup?i:n:i-n<n-r?i:r,p.activeIndex>p.previousIndex?"next":"prev"):(i=p.realIndex)>p.previousIndex?"next":"prev",s&&(i+="next"===r?a:-1*a),t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(i)<0&&(t.params.centeredSlides?i=n<i?i-Math.floor(o/2)+1:i+Math.floor(o/2)-1:n<i&&t.params.slidesPerGroup,t.slideTo(i,e?0:void 0))),1),c=p.params.thumbs.slideThumbActiveClass;if(1<p.params.slidesPerView&&!p.params.centeredSlides&&(l=p.params.slidesPerView),p.params.thumbs.multipleActiveThumbs||(l=1),l=Math.floor(l),t.slides.removeClass(c),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var d=0;d<l;d+=1)t.$wrapperEl.children('[data-swiper-slide-index="'.concat(p.realIndex+d,'"]')).addClass(c);else for(var u=0;u<l;u+=1)t.slides.eq(p.realIndex+u).addClass(c)}}p.thumbs={swiper:null},e("beforeInit",function(){var e=p.params.thumbs;e&&e.swiper&&(o(),a(!0))}),e("slideChange update resize observerUpdate",function(){a()}),e("setTransition",function(e,t){var n=p.thumbs.swiper;n&&!n.destroyed&&n.setTransition(t)}),e("beforeDestroy",function(){var e=p.thumbs.swiper;e&&!e.destroyed&&i&&e.destroy()}),Object.assign(p.thumbs,{init:o,update:a})},function(e){var h=e.swiper,t=e.extendParams,m=e.emit,g=e.once;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(h,{freeMode:{onTouchStart:function(){var e=h.getTranslate();h.setTranslate(e),h.setTransition(0),h.touchEventsData.velocities.length=0,h.freeMode.onTouchEnd({currentPos:h.rtl?h.translate:-h.translate})},onTouchMove:function(){var e=h.touchEventsData,t=h.touches;0===e.velocities.length&&e.velocities.push({position:t[h.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:t[h.isHorizontal()?"currentX":"currentY"],time:y()})},onTouchEnd:function(e){var e=e.currentPos,t=h.params,n=h.$wrapperEl,i=h.rtlTranslate,r=h.snapGrid,o=h.touchEventsData,a=y()-o.touchStartTime;if(e<-h.minTranslate())h.slideTo(h.activeIndex);else if(e>-h.maxTranslate())h.slides.length<r.length?h.slideTo(r.length-1):h.slideTo(h.slides.length-1);else{if(t.freeMode.momentum){1<o.velocities.length?(e=o.velocities.pop(),d=o.velocities.pop(),c=e.position-d.position,d=e.time-d.time,h.velocity=c/d,h.velocity/=2,Math.abs(h.velocity)<t.freeMode.minimumVelocity&&(h.velocity=0),(150<d||300<y()-e.time)&&(h.velocity=0)):h.velocity=0,h.velocity*=t.freeMode.momentumVelocityRatio,o.velocities.length=0;var s,l,c=1e3*t.freeMode.momentumRatio,d=h.velocity*c,u=h.translate+d,e=(i&&(u=-u),!1),d=20*Math.abs(h.velocity)*t.freeMode.momentumBounceRatio;if(u<h.maxTranslate())t.freeMode.momentumBounce?(u+h.maxTranslate()<-d&&(u=h.maxTranslate()-d),s=h.maxTranslate(),o.allowMomentumBounce=e=!0):u=h.maxTranslate(),t.loop&&t.centeredSlides&&(l=!0);else if(u>h.minTranslate())t.freeMode.momentumBounce?(u-h.minTranslate()>d&&(u=h.minTranslate()+d),s=h.minTranslate(),o.allowMomentumBounce=e=!0):u=h.minTranslate(),t.loop&&t.centeredSlides&&(l=!0);else if(t.freeMode.sticky){for(var p,f=0;f<r.length;f+=1)if(r[f]>-u){p=f;break}u=-(u=Math.abs(r[p]-u)<Math.abs(r[p-1]-u)||"next"===h.swipeDirection?r[p]:r[p-1])}if(l&&g("transitionEnd",function(){h.loopFix()}),0!==h.velocity)c=i?Math.abs((-u-h.translate)/h.velocity):Math.abs((u-h.translate)/h.velocity),t.freeMode.sticky&&(c=(d=Math.abs((i?-u:u)-h.translate))<(l=h.slidesSizesGrid[h.activeIndex])?t.speed:d<2*l?1.5*t.speed:2.5*t.speed);else if(t.freeMode.sticky)return void h.slideToClosest();t.freeMode.momentumBounce&&e?(h.updateProgress(s),h.setTransition(c),h.setTranslate(u),h.transitionStart(!0,h.swipeDirection),h.animating=!0,n.transitionEnd(function(){h&&!h.destroyed&&o.allowMomentumBounce&&(m("momentumBounce"),h.setTransition(t.speed),setTimeout(function(){h.setTranslate(s),n.transitionEnd(function(){h&&!h.destroyed&&h.transitionEnd()})},0))})):h.velocity?(m("_freeModeNoMomentumRelease"),h.updateProgress(u),h.setTransition(c),h.setTranslate(u),h.transitionStart(!0,h.swipeDirection),h.animating||(h.animating=!0,n.transitionEnd(function(){h&&!h.destroyed&&h.transitionEnd()}))):h.updateProgress(u),h.updateActiveIndex(),h.updateSlidesClasses()}else{if(t.freeMode.sticky)return void h.slideToClosest();t.freeMode&&m("_freeModeNoMomentumRelease")}(!t.freeMode.momentum||a>=t.longSwipesMs)&&(h.updateProgress(),h.updateActiveIndex(),h.updateSlidesClasses())}}}})},function(e){var d,u,p,f=e.swiper;(0,e.extendParams)({grid:{rows:1,fill:"column"}}),f.grid={initSlides:function(e){var t=f.params.slidesPerView,n=f.params.grid,i=n.rows,n=n.fill;u=d/i,p=Math.floor(e/i),d=Math.floor(e/i)===e/i?e:Math.ceil(e/i)*i,"auto"!==t&&"row"===n&&(d=Math.max(d,t*i))},updateSlide:function(e,t,n,i){var r,o,a=f.params,s=a.slidesPerGroup,a=a.spaceBetween,l=f.params.grid,c=l.rows,l=l.fill;"row"===l&&1<s?(r=e-c*s*(o=Math.floor(e/(s*c))),n=0===o?s:Math.min(Math.ceil((n-o*c*s)/c),s),n=(o=r-(r=Math.floor(r/n))*n+o*s)+r*d/c,t.css({"-webkit-order":n,order:n})):"column"===l?(r=e-(o=Math.floor(e/c))*c,(p<o||o===p&&r===c-1)&&c<=(r+=1)&&(r=0,o+=1)):o=e-(r=Math.floor(e/u))*u,t.css(i("margin-top"),0!==r?a&&"".concat(a,"px"):"")},updateWrapperSize:function(e,t,n){var i=f.params,r=i.spaceBetween,o=i.centeredSlides,a=i.roundLengths,i=f.params.grid.rows;if(f.virtualSize=(e+r)*d,f.virtualSize=Math.ceil(f.virtualSize/i)-r,f.$wrapperEl.css((e={},i=n("width"),n="".concat(f.virtualSize+r,"px"),i in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n,e)),o){t.splice(0,t.length);for(var s=[],l=0;l<t.length;l+=1){var c=t[l];a&&(c=Math.floor(c)),t[l]<f.virtualSize+t[0]&&s.push(c)}t.push.apply(t,s)}}}},function(e){e=e.swiper,Object.assign(e,{appendSlide:function(e){var t=this.$wrapperEl,n=this.params;if(n.loop&&this.loopDestroy(),"object"===Te(e)&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&t.append(e[i]);else t.append(e);n.loop&&this.loopCreate(),n.observer||this.update()}.bind(e),prependSlide:function(e){var t=this.params,n=this.$wrapperEl,i=this.activeIndex,r=(t.loop&&this.loopDestroy(),i+1);if("object"===Ce(e)&&"length"in e){for(var o=0;o<e.length;o+=1)e[o]&&n.prepend(e[o]);r=i+e.length}else n.prepend(e);t.loop&&this.loopCreate(),t.observer||this.update(),this.slideTo(r,0,!1)}.bind(e),addSlide:function(e,t){var n=this,i=n.$wrapperEl,r=n.params,o=n.activeIndex,a=(r.loop&&(o-=n.loopedSlides,n.loopDestroy(),n.slides=i.children(".".concat(r.slideClass))),n.slides.length);if(e<=0)n.prependSlide(t);else if(a<=e)n.appendSlide(t);else{for(var s=e<o?o+1:o,l=[],c=a-1;e<=c;--c){var d=n.slides.eq(c);d.remove(),l.unshift(d)}if("object"===ke(t)&&"length"in t){for(var u=0;u<t.length;u+=1)t[u]&&i.append(t[u]);s=e<o?o+t.length:o}else i.append(t);for(var p=0;p<l.length;p+=1)i.append(l[p]);r.loop&&n.loopCreate(),r.observer||n.update(),r.loop?n.slideTo(s+n.loopedSlides,0,!1):n.slideTo(s,0,!1)}}.bind(e),removeSlide:function(e){var t,n=this,i=n.params,r=n.$wrapperEl,o=n.activeIndex,a=(i.loop&&(o-=n.loopedSlides,n.loopDestroy(),n.slides=r.children(".".concat(i.slideClass))),o);if("object"===Ae(e)&&"length"in e){for(var s=0;s<e.length;s+=1)t=e[s],n.slides[t]&&n.slides.eq(t).remove(),t<a&&--a;a=Math.max(a,0)}else n.slides[t=e]&&n.slides.eq(t).remove(),t<a&&--a,a=Math.max(a,0);i.loop&&n.loopCreate(),i.observer||n.update(),i.loop?n.slideTo(a+n.loopedSlides,0,!1):n.slideTo(a,0,!1)}.bind(e),removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}.bind(e)})},function(e){var s=e.swiper,t=e.extendParams,e=e.on;t({fadeEffect:{crossFade:!1,transformEl:null}}),x({effect:"fade",swiper:s,on:e,setTranslate:function(){for(var e=s.slides,t=s.params.fadeEffect,n=0;n<e.length;n+=1){var i=s.slides.eq(n),r=-i[0].swiperSlideOffset,o=(s.params.virtualTranslate||(r-=s.translate),0),a=(s.isHorizontal()||(o=r,r=0),s.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0));S(t,i).css({opacity:a}).transform("translate3d(".concat(r,"px, ").concat(o,"px, 0px)"))}},setTransition:function(e){var t=s.params.fadeEffect.transformEl;(t?s.slides.find(t):s.slides).transition(e),T({swiper:s,duration:e,transformEl:t,allSlides:!0})},overwriteParams:function(){return{slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!s.params.cssMode}}})},function(e){function _(e,t,n){var i=n?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=n?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===i.length&&(i=P('<div class="swiper-slide-shadow-'.concat(n?"left":"top",'"></div>')),e.append(i)),0===r.length&&(r=P('<div class="swiper-slide-shadow-'.concat(n?"right":"bottom",'"></div>')),e.append(r)),i.length&&(i[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))}var E=e.swiper,t=e.extendParams,e=e.on;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}}),x({effect:"cube",swiper:E,on:e,setTranslate:function(){var e=E.$el,t=E.$wrapperEl,n=E.slides,i=E.width,r=E.height,o=E.rtlTranslate,a=E.size,s=E.browser,l=E.params.cubeEffect,c=E.isHorizontal(),d=E.virtual&&E.params.virtual.enabled,u=0;l.shadow&&(c?(0===(S=t.find(".swiper-cube-shadow")).length&&(S=P('<div class="swiper-cube-shadow"></div>'),t.append(S)),S.css({height:"".concat(i,"px")})):0===(S=e.find(".swiper-cube-shadow")).length&&(S=P('<div class="swiper-cube-shadow"></div>'),e.append(S)));for(var p,f=0;f<n.length;f+=1){var h=n.eq(f),m=f,g=90*(m=d?parseInt(h.attr("data-swiper-slide-index"),10):m),v=Math.floor(g/360),y=(o&&(g=-g,v=Math.floor(-g/360)),Math.max(Math.min(h[0].progress,1),-1)),b=0,w=0,x=0,v=(m%4==0?(b=4*-v*a,x=0):(m-1)%4==0?(b=0,x=4*-v*a):(m-2)%4==0?(b=a+4*v*a,x=a):(m-3)%4==0&&(b=-a,x=3*a+4*a*v),o&&(b=-b),c||(w=b,b=0),"rotateX(".concat(c?0:-g,"deg) rotateY(").concat(c?g:0,"deg) translate3d(").concat(b,"px, ").concat(w,"px, ").concat(x,"px)"));y<=1&&-1<y&&(u=o?90*-m-90*y:90*m+90*y),h.transform(v),l.slideShadows&&_(h,y,c)}t.css({"-webkit-transform-origin":"50% 50% -".concat(a/2,"px"),"transform-origin":"50% 50% -".concat(a/2,"px")}),l.shadow&&(c?S.transform("translate3d(0px, ".concat(i/2+l.shadowOffset,"px, ").concat(-i/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(l.shadowScale,")")):(e=Math.abs(u)-90*Math.floor(Math.abs(u)/90),i=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),e=l.shadowScale,i=l.shadowScale/i,p=l.shadowOffset,S.transform("scale3d(".concat(e,", 1, ").concat(i,") translate3d(0px, ").concat(r/2+p,"px, ").concat(-r/2/i,"px) rotateX(-90deg)"))));var S=s.isSafari||s.isWebView?-a/2:0;t.transform("translate3d(0px,0,".concat(S,"px) rotateX(").concat(E.isHorizontal()?0:u,"deg) rotateY(").concat(E.isHorizontal()?-u:0,"deg)")),t[0].style.setProperty("--swiper-cube-translate-z","".concat(S,"px"))},setTransition:function(e){var t=E.$el;E.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),E.params.cubeEffect.shadow&&!E.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)},recreateShadows:function(){var n=E.isHorizontal();E.slides.each(function(e){var t=Math.max(Math.min(e.progress,1),-1);_(P(e),t,n)})},getEffectParams:function(){return E.params.cubeEffect},perspective:function(){return!0},overwriteParams:function(){return{slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0}}})},function(e){function d(e,t,n){var i=u.isHorizontal()?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=u.isHorizontal()?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===i.length&&(i=C(n,e,u.isHorizontal()?"left":"top")),0===r.length&&(r=C(n,e,u.isHorizontal()?"right":"bottom")),i.length&&(i[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))}var u=e.swiper,t=e.extendParams,e=e.on;t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}}),x({effect:"flip",swiper:u,on:e,setTranslate:function(){for(var e=u.slides,t=u.rtlTranslate,n=u.params.flipEffect,i=0;i<e.length;i+=1){var r=e.eq(i),o=r[0].progress,a=(u.params.flipEffect.limitRotation&&(o=Math.max(Math.min(r[0].progress,1),-1)),r[0].swiperSlideOffset),s=-180*o,l=0,a=u.params.cssMode?-a-u.translate:-a,c=0,o=(u.isHorizontal()?t&&(s=-s):(c=a,l=-s,s=a=0),r[0].style.zIndex=-Math.abs(Math.round(o))+e.length,n.slideShadows&&d(r,o,n),"translate3d(".concat(a,"px, ").concat(c,"px, 0px) rotateX(").concat(l,"deg) rotateY(").concat(s,"deg)"));S(n,r).transform(o)}},setTransition:function(e){var t=u.params.flipEffect.transformEl;(t?u.slides.find(t):u.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),T({swiper:u,duration:e,transformEl:t})},recreateShadows:function(){var i=u.params.flipEffect;u.slides.each(function(e){var t=P(e),n=t[0].progress;u.params.flipEffect.limitRotation&&(n=Math.max(Math.min(e.progress,1),-1)),d(t,n,i)})},getEffectParams:function(){return u.params.flipEffect},perspective:function(){return!0},overwriteParams:function(){return{slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!u.params.cssMode}}})},function(e){var w=e.swiper,t=e.extendParams,e=e.on;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),x({effect:"coverflow",swiper:w,on:e,setTranslate:function(){for(var e=w.width,t=w.height,n=w.slides,i=w.slidesSizesGrid,r=w.params.coverflowEffect,o=w.isHorizontal(),a=w.translate,s=o?e/2-a:t/2-a,l=o?r.rotate:-r.rotate,c=r.depth,d=0,u=n.length;d<u;d+=1){var p=n.eq(d),f=i[d],h=(s-p[0].swiperSlideOffset-f/2)/f,h="function"==typeof r.modifier?r.modifier(h):h*r.modifier,m=o?l*h:0,g=o?0:l*h,v=-c*Math.abs(h),y=r.stretch,f=("string"==typeof y&&-1!==y.indexOf("%")&&(y=parseFloat(r.stretch)/100*f),o?0:y*h),y=o?y*h:0,b=1-(1-r.scale)*Math.abs(h),y=(Math.abs(y)<.001&&(y=0),Math.abs(f)<.001&&(f=0),Math.abs(v)<.001&&(v=0),Math.abs(m)<.001&&(m=0),Math.abs(g)<.001&&(g=0),Math.abs(b)<.001&&(b=0),"translate3d(".concat(y,"px,").concat(f,"px,").concat(v,"px)  rotateX(").concat(g,"deg) rotateY(").concat(m,"deg) scale(").concat(b,")"));S(r,p).transform(y),p[0].style.zIndex=1-Math.abs(Math.round(h)),r.slideShadows&&(f=o?p.find(".swiper-slide-shadow-left"):p.find(".swiper-slide-shadow-top"),v=o?p.find(".swiper-slide-shadow-right"):p.find(".swiper-slide-shadow-bottom"),0===f.length&&(f=C(r,p,o?"left":"top")),0===v.length&&(v=C(r,p,o?"right":"bottom")),f.length&&(f[0].style.opacity=0<h?h:0),v.length&&(v[0].style.opacity=0<-h?-h:0))}},setTransition:function(e){var t=w.params.coverflowEffect.transformEl;(t?w.slides.find(t):w.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)},perspective:function(){return!0},overwriteParams:function(){return{watchSlidesProgress:!0}}})},function(e){var h=e.swiper,t=e.extendParams,e=e.on;t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}}),x({effect:"creative",swiper:h,on:e,setTranslate:function(){for(var d=h.slides,e=h.$wrapperEl,t=h.slidesSizesGrid,u=h.params.creativeEffect,p=u.progressMultiplier,f=h.params.centeredSlides,n=(f&&(t=t[0]/2-h.params.slidesOffsetBefore||0,e.transform("translateX(calc(50% - ".concat(t,"px))"))),0);n<d.length;n+=1)!function(e){var e=d.eq(e),t=e[0].progress,n=Math.min(Math.max(e[0].progress,-u.limitProgress),u.limitProgress),i=n,r=(f||(i=Math.min(Math.max(e[0].originalProgress,-u.limitProgress),u.limitProgress)),e[0].swiperSlideOffset),o=[h.params.cssMode?-r-h.translate:-r,0,0],a=[0,0,0],r=!1,s=(h.isHorizontal()||(o[1]=o[0],o[0]=0),{translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1}),t=(n<0?(s=u.next,r=!0):0<n&&(s=u.prev,r=!0),o.forEach(function(e,t){o[t]="calc(".concat(e,"px + (").concat("string"==typeof(e=s.translate[t])?e:"".concat(e,"px")," * ").concat(Math.abs(n*p),"))")}),a.forEach(function(e,t){a[t]=s.rotate[t]*Math.abs(n*p)}),e[0].style.zIndex=-Math.abs(Math.round(t))+d.length,o.join(", ")),l="rotateX(".concat(a[0],"deg) rotateY(").concat(a[1],"deg) rotateZ(").concat(a[2],"deg)"),c="scale(".concat(i<0?1+(1-s.scale)*i*p:1-(1-s.scale)*i*p,")"),i=i<0?1+(1-s.opacity)*i*p:1-(1-s.opacity)*i*p,t="translate3d(".concat(t,") ").concat(l," ").concat(c),r=(!(r&&s.shadow||!r)||(l=0===(l=e.children(".swiper-slide-shadow")).length&&s.shadow?C(u,e):l).length&&(c=u.shadowPerProgress?n*(1/u.limitProgress):n,l[0].style.opacity=Math.min(Math.max(Math.abs(c),0),1)),S(u,e));r.transform(t).css({opacity:i}),s.origin&&r.css("transform-origin",s.origin)}(n)},setTransition:function(e){var t=h.params.creativeEffect.transformEl;(t?h.slides.find(t):h.slides).transition(e).find(".swiper-slide-shadow").transition(e),T({swiper:h,duration:e,transformEl:t,allSlides:!0})},perspective:function(){return h.params.creativeEffect.perspective},overwriteParams:function(){return{watchSlidesProgress:!0,virtualTranslate:!h.params.cssMode}}})},function(e){var b=e.swiper,t=e.extendParams,e=e.on;t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0}}),x({effect:"cards",swiper:b,on:e,setTranslate:function(){for(var e=b.slides,t=b.activeIndex,n=b.params.cardsEffect,i=b.touchEventsData,r=i.startTranslate,o=i.isTouched,a=b.translate,s=0;s<e.length;s+=1){var l=e.eq(s),c=l[0].progress,d=Math.min(Math.max(c,-4),4),u=l[0].swiperSlideOffset,u=(b.params.centeredSlides&&!b.params.cssMode&&b.$wrapperEl.transform("translateX(".concat(b.minTranslate(),"px)")),b.params.centeredSlides&&b.params.cssMode&&(u-=e[0].swiperSlideOffset),b.params.cssMode?-u-b.translate:-u),p=0,f=-100*Math.abs(d),h=1,m=-2*d,g=8-.75*Math.abs(d),v=b.virtual&&b.params.virtual.enabled?b.virtual.from+s:s,y=(v===t||v===t-1)&&0<d&&d<1&&(o||b.params.cssMode)&&a<r,v=(v===t||v===t+1)&&d<0&&-1<d&&(o||b.params.cssMode)&&r<a,y=((y||v)&&(m+=-28*d*(y=Math.pow(1-Math.abs((Math.abs(d)-.5)/.5),.5)),h+=-.5*y,g+=96*y,p="".concat(-25*y*Math.abs(d),"%")),u=d<0?"calc(".concat(u,"px + (").concat(g*Math.abs(d),"%))"):0<d?"calc(".concat(u,"px + (-").concat(g*Math.abs(d),"%))"):"".concat(u,"px"),b.isHorizontal()||(v=p,p=u,u=v),"".concat(d<0?1+(1-h)*d:1-(1-h)*d)),g="\n        translate3d(".concat(u,", ").concat(p,", ").concat(f,"px)\n        rotateZ(").concat(n.rotate?m:0,"deg)\n        scale(").concat(y,")\n      ");!n.slideShadows||(v=0===(v=l.find(".swiper-slide-shadow")).length?C(n,l):v).length&&(v[0].style.opacity=Math.min(Math.max((Math.abs(d)-.5)/.5,0),1)),l[0].style.zIndex=-Math.abs(Math.round(c))+e.length,S(n,l).transform(g)}},setTransition:function(e){var t=b.params.cardsEffect.transformEl;(t?b.slides.find(t):b.slides).transition(e).find(".swiper-slide-shadow").transition(e),T({swiper:b,duration:e,transformEl:t})},perspective:function(){return!0},overwriteParams:function(){return{watchSlidesProgress:!0,virtualTranslate:!b.params.cssMode}}})}]);var b=prestashop,k=nt.n(b),b=nt(311),A=nt.n(b);function Oe(e,t){var n=t.children().detach();t.empty().append(e.children().detach()),e.append(n)}function Me(){k().responsive.mobile?A()("*[id^='_desktop_']").each(function(e,t){var n=A()("#".concat(t.id.replace("_desktop_","_mobile_")));n&&Oe(A()(t),n)}):A()("*[id^='_mobile_']").each(function(e,t){var n=A()("#".concat(t.id.replace("_mobile_","_desktop_")));n&&Oe(A()(t),n)}),k().emit("responsive update",{mobile:k().responsive.mobile})}k().themeSelectors={product:{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:".js-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",product:".js-product",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"},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"}},A()(document).ready(function(){k().emit("themeSelectorsInit")}),k().responsive=k().responsive||{},k().responsive.current_width=window.innerWidth,k().responsive.min_width=991,k().responsive.mobile=k().responsive.current_width<=k().responsive.min_width,A()(window).on("resize",function(){var e=k().responsive.current_width,t=k().responsive.min_width,n=window.innerWidth,e=t<=e&&n<t||e<t&&t<=n;k().responsive.current_width=n,k().responsive.mobile=k().responsive.current_width<=k().responsive.min_width,e&&Me()}),A()(document).ready(function(){var e,t;1===sthemeTheme.rm_breakpoint&&(k().responsive.min_width=5e3,k().responsive.mobile=!0),k().responsive.mobile&&Me(),"up"!==sthemeTheme.rm_sticky&&"down"!==sthemeTheme.rm_sticky||(e=sthemeTheme.rm_sticky,t=A()("#mobile-header-sticky"),"up"===e&&t.stickyUpHeader(),t.length&&new Waypoint.Sticky({element:t[0],wrapper:'<div class="sticky-mobile-wrapper" />',stuckClass:"stuck stuck-".concat(e)}))}),A()(document).ready(function(){1===A()("body#checkout").length&&(0!==A()(".js-cancel-address").length&&A()(".checkout-step:not(.js-current-step) .step-title").addClass("not-allowed"),A()(k().themeSelectors.checkout.termsLink).on("click",function(e){e.preventDefault();e=A()(e.target).attr("href");e&&(e+="?content_only=1",A().get(e,function(e){A()(k().themeSelectors.modal).find(k().themeSelectors.modalContent).html(A()(e).find(".page-cms").contents())}).fail(function(e){k().emit("handleError",{eventType:"clickTerms",resp:e})})),A()(k().themeSelectors.modal).modal("show")}),A()(k().themeSelectors.checkout.giftCheckbox).on("click",function(){A()("#gift").collapse("toggle")})),k().on("updatedDeliveryForm",function(e){void 0!==e.deliveryOption&&0!==e.deliveryOption.length&&(A()(k().themeSelectors.checkout.carrierExtraContent).hide(),e.deliveryOption.next(k().themeSelectors.checkout.carrierExtraContent).slideDown())})}),A()(document).ready(function(){A()("body#order-detail")&&A()("".concat(prestashop.themeSelectors.order.returnForm," table thead input[type=checkbox]")).on("click",function(){var n=A()(this).prop("checked");A()("".concat(prestashop.themeSelectors.order.returnForm," table tbody input[type=checkbox]")).each(function(e,t){A()(t).prop("checked",n)})})});var b=nt(672),Ie=nt.n(b);function Pe(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 De=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")}var t,n,i;return t=e,(n=[{key:"init",value:function(){}}])&&Pe(t.prototype,n),i&&Pe(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Le(o){function e(){function t(){var e=[e=n.attr("href"),0<=e.indexOf("?")?"&":"?","from-xhr"].join("");A().get(e,null,null,"json").then(function(e){0;A()("#js-product-list").find(".products").first().prepend(A()(e.rendered_products).find(".products").first().html()),k().emit("afterUpdateProductList");e=A()(e.rendered_products).find("#infinity-url-prev");e.length&&(n=e,t())})}var e=A()("#js-product-list").find(".products")[0],n=A()("#infinity-url-prev"),i=A()("#infinity-url-next"),r={element:e,handler:function(e){var n;"down"==e&&(e=[n=i.attr("href"),0<=n.indexOf("?")?"&":"?","from-xhr"].join(""),o.addClass("-infinity-loading"),a.destroy(),s=!1,A().get(e,null,null,"json").then(function(e){history.pushState({},"",n);var t=A()("#js-product-list");t.find(".products").first().append(A()(e.rendered_products).find(".products").first().html()),t.find(".pagination").first().replaceWith(A()(e.rendered_products).find(".pagination").first()),A()("#js-product-list-bottom").replaceWith(e.rendered_products_bottom);(new De).init(),o.removeClass("-infinity-loading"),k().emit("afterUpdateProductList");t=A()(e.rendered_products).find("#infinity-url-next");t.length?(i=t,a=new Waypoint(r),s=!0):s&&a.destroy()}))},offset:"bottom-in-view"};i.length&&(a=new Waypoint(r),s=!0),n.length&&t()}var a,s=!1;e(),k().on("afterUpdateProductListFacets",function(){s&&a.destroy(),e()})}function Ne(){sthemeTheme.pl_grid_qty&&A().each(A()('input.input-qty[name="qty"]'),function(e,t){A()(t).TouchSpin({verticalbuttons:!0,verticalupclass:"fa fa-angle-up touchspin-up",verticaldownclass:"fa fa-angle-down touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:parseInt(A()(t).attr("min"),10),max:parseInt(A()(t).attr("max"),10)})})}A()(document).ready(function(){function t(e){if(void 0!==e.target.dataset.searchUrl)return e.target.dataset.searchUrl;if(void 0===A()(e.target).parent()[0].dataset.searchUrl)throw new Error("Can not parse search URL");return A()(e.target).parent()[0].dataset.searchUrl}var r=A()("body"),e=A()("#products"),n=window.location.href,o=(k().sthemeLazyLoad=new(Ie())({elements_selector:".js-lazy-product-image",threshold:600,class_loading:"lazy-product-loading"}),sthemeTheme.pl_infinity&&Le(e),Ne(),A()(document).ready(function(){r.on("click",".js-quick-view-stheme",function(e){var t=A()(e.target).closest(".js-product-miniature");k().emit("clickQuickView",{miniature:t,dataset:t.data()}),e.preventDefault()}),r.on("change",".input-qty",function(){var e=parseInt(this.min,10);parseInt(this.value,10)<e&&(this.value=e)})}),k().on("clickQuickView",function(e){var t={action:"quickview",id_product:e.dataset.idProduct,id_product_attribute:e.dataset.idProductAttribute},n=e.miniature.parent().prev().children(".js-product-miniature").first(),i=e.miniature.parent().next().children(".js-product-miniature").first();A().post(k().urls.pages.product,t,null,"json").then(function(e){var t=A()(".modal.quickview").first();t.length?o(r,e,n,i,t):o(r,e,n,i,!1)}).fail(function(e){k().emit("handleError",{eventType:"clickQuickView",resp:e})})}),function(e,t,n,i,r){function o(e){var t=e.find("#product-images-large");new Swiper(t[0],{loop:!1,effect:"fade",fadeEffect:{crossFade:!0},preloadImages:!1,lazy:{loadPrevNext:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),"inner"==sthemeTheme.pp_zoom?e.find(".easyzoom-product").easyZoom():e.find(".js-easyzoom-trigger").on("click",function(e){e.preventDefault()}),A()(".modal-backdrop.show").first().addClass("backdrop-second"),k().emit("quickViewShown",{modal:e})}r?r.find("#quickview-modal-product-content").replaceWith(A()(t.quickview_html).find("#quickview-modal-product-content")):e.append(t.quickview_html);var a=A()("#quickview-modal"),e=A()("#js-quickview-prev-btn"),t=A()("#js-quickview-next-btn"),s=(n.length||e.hide(),i.length||t.hide(),e.on("click",function(e){var t=n;k().emit("clickQuickView",{miniature:t,dataset:t.data()}),e.preventDefault()}),t.on("click",function(e){var t=i;k().emit("clickQuickView",{miniature:t,dataset:t.data()}),e.preventDefault()}),r?o(a):(a.modal("show"),a.on("shown.bs.modal",function(){o(a)}),a.on("hide.bs.modal",function(){a.remove(),A()("#sthemesizecharts-modal").remove()})),A()("#sthemesizecharts-modal"));a.find("#quantity_wanted").TouchSpin({verticalbuttons:!0,verticalupclass:"fa fa-angle-up touchspin-up",verticaldownclass:"fa fa-angle-down touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:1,max:1e6}),s.on("show.bs.modal",function(){s.detach(),s.appendTo("body"),A()(this).addClass("fv-modal-stack"),a.addClass("quickview-second-modal")})});r.on("click","#search_filter_toggler",function(){A()("#search_filters_wrapper").removeClass("hidden-sm-down"),A()("#content-wrapper").addClass("hidden-sm-down"),A()("#footer").addClass("hidden-sm-down"),A()("#left-column, #right-column").addClass("-only-facet-search")}),r.on("click","#search_center_filter_toggler",function(){A()("#facets_search_center").slideToggle("100")}),A()("#search_filter_controls .ok, #search_filter_controls .js-search-filters-clear-all").on("click",function(){A()("#search_filters_wrapper").addClass("hidden-sm-down"),A()("#content-wrapper").removeClass("hidden-sm-down"),A()("#footer").removeClass("hidden-sm-down"),A()("#left-column, #right-column").removeClass("-only-facet-search"),k().sthemeLazyLoad.update()});r.on("change","#search_filters input[data-search-url]",function(e){k().emit("updateFacets",t(e))}),r.on("click",".js-search-filters-clear-all",function(e){k().emit("updateFacets",t(e))}),r.on("click",".js-search-link",function(e){e.preventDefault(),k().emit("updateFacets",A()(e.target).closest("a").get(0).href),"backToTop"===A()(e.target).data("afterClick")&&k().emit("updateFacetsBackToTop",A()(e.target).closest("a").get(0).href)}),A()(k().themeSelectors.listing.list).length&&window.addEventListener("popstate",function(e){e=e.state;window.location.href=e&&e.current_url?e.current_url:n}),r.on("change","".concat(k().themeSelectors.listing.searchFilters," select"),function(e){e=A()(e.target).closest("form");k().emit("updateFacets","?".concat(e.serialize()))}),r.on("click",'[data-button-action="change-list-view"]',function(e){}),k().on("updateFacets",function(){e.addClass("-facets-loading")}),k().on("updateFacetsBackToTop",function(){window.scrollTo(0,0)}),k().on("updateProductListAddToCart",function(e){e=e,A()(".js-product-add-cart-".concat(e.id_product,"-").concat(e.id_product_attribute)).replaceWith(e.new_html),Ne()}),k().on("updateProductList",function(e){A()(k().themeSelectors.listing.searchFilters).replaceWith(e.rendered_facets),A()(k().themeSelectors.listing.activeSearchFilters).replaceWith(e.rendered_active_filters),A()(k().themeSelectors.listing.listTop).replaceWith(e.rendered_products_top),A()(k().themeSelectors.listing.list).replaceWith(e.rendered_products),A()(k().themeSelectors.listing.listBottom).replaceWith(e.rendered_products_bottom),e.rendered_products_header&&A()(k().themeSelectors.listing.listHeader).replaceWith(e.rendered_products_header),(new De).init(),k().emit("afterUpdateProductListFacets"),k().emit("afterUpdateProductList")}),k().on("afterUpdateProductList",function(){"ontouchstart"in document.documentElement||(A()("body > .tooltip.bs-tooltip-top").remove(),A()(function(){A()('[data-toggle="tooltip"]').tooltip()})),k().sthemeLazyLoad.update(),Ne(),e.removeClass("-facets-loading")})});nt(391);A()(document).ready(function(){(t=A()(k().selectors.quantityWanted)).TouchSpin({verticalbuttons:!0,verticalupclass:"fa fa-angle-up touchspin-up",verticaldownclass:"fa fa-angle-down touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:parseInt(t.attr("min"),10),max:1e6}),A()(k().themeSelectors.touchspin).off("touchstart.touchspin"),t.focusout(function(){(""===t.val()||parseInt(t.val())<parseInt(t.attr("min")))&&(t.val(t.attr("min")),t.trigger("change"))}),A()("body").on("change keyup",k().selectors.quantityWanted,function(e){""!==t.val()&&(A()(e.currentTarget).trigger("touchspin.stopspin"),k().emit("updateProduct",{eventType:"updatedProductQuantity",event:e}))}),u(),d(),c(),p(),sthemeTheme.pl_crsl_autoplay&&(e={delay:4500,disableOnInteraction:!0}),new Swiper("#product-accessories-sidebar",{pagination:{el:".swiper-pagination-product",clickable:!0},autoplay:e,loop:!1,speed:600,watchOverflow:!0,slidesPerView:1,slidesPerColumn:5,slidesPerColumnFill:"row"});var r,o,t,e,n,i,a,s,l=A()("#main");function c(){if(A()(".modal.quickview").length)new Swiper("#product-images-large",{loop:!1,effect:"fade",fadeEffect:{crossFade:!0},preloadImages:!1,lazy:{loadPrevNext:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});else{if(!A()("#product-images-large").length)return;if(void 0!==r&&r.destroy(),"column"===sthemeTheme.pp_image_layout){var t=window.matchMedia("(min-width:768px)"),n=function(){if(!0===t.matches)void 0!==r&&r.destroy();else if(!1===t.matches)return e()},e=function(){r=new Swiper("#product-images-large",{loop:!1,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},preloadImages:!1,lazy:{loadPrevNext:!0},pagination:{el:".swiper-pagination-product",clickable:!0}})};try{t.addEventListener("change",function(){n()})}catch(e){try{t.addListener(n)}catch(e){}}n()}var i;"carousel"===sthemeTheme.pp_image_layout&&(A()("#product-images-thumbs").length&&(i={swiper:o,autoScrollOffset:1}),r=new Swiper("#product-images-large",{loop:!1,effect:"fade",fadeEffect:{crossFade:!0},preloadImages:!1,lazy:{loadPrevNext:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},thumbs:i}))}"inner"===sthemeTheme.pp_zoom?A()(".easyzoom-product").easyZoom():"modalzoom"===sthemeTheme.pp_zoom&&A()(".js-easyzoom-trigger").on("click",function(e){e.preventDefault()})}function d(){var e,t,n;"column"===sthemeTheme.pp_image_layout||A()(".modal.quickview").length||(void 0!==o&&o.destroy(),t="horizontal",e=A()("#product-images-thumbs"),"left"===sthemeTheme.pp_thumbs&&(t="vertical"),"leftd"===sthemeTheme.pp_thumbs&&(n={768:{direction:"vertical"}}),e.length&&(t={loop:!1,direction:t,slidesPerView:5,watchSlidesVisibility:!0,watchSlidesProgress:!0,preloadImages:!1,lazy:{loadPrevNext:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:n},n=A().extend({},t,e.data("swiper_options")),o=new Swiper(e[0],n)))}function u(){var e=A()(k().themeSelectors.fileInput);e.filestyle({buttonText:e.data("buttontext")}),e.on("change",function(e){var t;(e=A()(e.currentTarget)[0])&&(t=e.files[0])&&A()(e).prev().text(t.name)})}function p(){"ontouchstart"in document.documentElement||A()(function(){A()('[data-toggle="tooltip"]').tooltip()})}"tabha"==sthemeTheme.pp_tabs&&(e="#product-infos-tabs",n=576,A()(window).width()<n&&(s="",n=A()("".concat(e," li")).toArray(),a=A()("#product-infos-tabs-content"),i=a.find(".tab-pane").toArray(),s='<div class="card">',jQuery.each(n,function(e,t){s=(s=(s=(s=(s+='<div class="nav-tabs" role="tab" >')+(0<e?'<a class="nav-link collapsed" id="ma-nav-link-':'<a class="nav-link" id="ma-nav-link-').concat(e,'" data-toggle="collapse" data-parent="#product-infos-accordion-mobile" href="#product-infos-accordion-mobile-').concat(e,'">'))+"".concat(t.innerText)+'<i class="fa fa-angle-down float-right angle-down" aria-hidden="true"></i><i class="fa fa-angle-up float-right angle-up" aria-hidden="true"></i></a></div>')+'<div id="product-infos-accordion-mobile-'.concat(e,0<e?'" class="collapse tab-content" role="tabpanel">':'" class="collapse tab-content show" role="tabpanel">'))+'<div id="ma-'.concat(i[e].id,'" class=""></div>')+"</div>"}),s+="</div></div>",A()("#product-infos-accordion-mobile").html(s),jQuery.each(n,function(e,t){A()(i[e]).appendTo("#ma-".concat(i[e].id))}),k().sthemeLazyLoad.update(),A()(e).remove(),a.remove())),A()("body").on("click",'[data-button-action="add-to-cart"]',function(e){e.preventDefault(),A()(e.target).addClass("processing-add")}),k().on("updateCart",function(e){A()(".add-to-cart.processing-add").removeClass("processing-add")}),k().on("updateProduct",function(e){void 0!==k().page.page_name&&"product"===k().page.page_name&&l.addClass("-combinations-loading")}),k().on("updatedProduct",function(e){var t,n;u(),p(),d(),c(),e&&e.product_minimal_quantity&&(t=parseInt(e.product_minimal_quantity,10),n=k().selectors.quantityWanted,A()(n).trigger("touchspin.updatesettings",{min:t})),"column"===sthemeTheme.pp_image_layout&&k().sthemeLazyLoad.update(),A()(A()(".tabs .nav-link.active").attr("href")).addClass("active").removeClass("fade"),A()(k().themeSelectors.product.imagesModal).replaceWith(e.product_images_modal),l.removeClass("-combinations-loading")})});var b=nt(954),$e=nt.n(b),je=(k().cart=k().cart||{},k().cart.active_inputs=null,'input[name="product-quantity-spin"]'),O=!1,M=!1,L="";function ze(){A().each(A()(je),function(e,t){A()(t).TouchSpin({verticalbuttons:!0,verticalupclass:"fa fa-angle-up touchspin-up",verticaldownclass:"fa fa-angle-down touchspin-down",buttondown_class:"btn btn-touchspin  js-touchspin js-increase-product-quantity",buttonup_class:"btn btn-touchspin js-decrease-product-quantity",min:parseInt(A()(t).attr("min"),10),max:1e6})}),Be.switchErrorStat()}A()(document).ready(function(){var i=".js-cart-line-product-quantity",o=[],e=(k().on("updateCart",function(){A()(".quickview").modal("hide")}),k().on("updatedCart",function(){ze()}),k().on("updatedAjaxCart",function(){ze()}),ze(),A()("body"));function r(e,t){if("on.startupspin"!==(n=t)&&"on.startdownspin"!==n)return{url:e.attr("href"),type:function(e){for(var t,n=e.split("-"),i="",r=0;r<n.length;r+=1)t=n[r],i+=t=0!==r?t.substring(0,1).toUpperCase()+t.substring(1):t;return i}(e.data("link-action"))};var n,e=(n=(n=e).parents(".bootstrap-touchspin").find(i)).is(":focus")?null:n;if(!e)return!1;return"on.startupspin"===t?{url:e.data("up-url"),type:"increaseProductQuantity"}:{url:e.data("down-url"),type:"decreaseProductQuantity"}}function t(e){e.preventDefault();var n=A()(e.currentTarget),i=e.currentTarget.dataset,t=r(n,e.namespace);t&&(a(),A().ajax({url:t.url,method:"POST",data:{ajax:"1",action:"update"},dataType:"json",beforeSend:function(e){o.push(e)}}).then(function(e){var t;Be.checkUpdateOpertation(e),t=n,A()(t.parents(".bootstrap-touchspin").find("input")).val(e.quantity),k().emit("updateCart",{reason:i,resp:e})}).fail(function(e){k().emit("handleError",{eventType:"updateProductInCart",resp:e,cartAction:t.type})}))}var a=function(){for(;0<o.length;)o.pop().abort()};function n(e){var n,e=A()(e.currentTarget),t=e.data("update-url"),i=e.attr("value"),r=e.val();r!=parseInt(r,10)||r<0||isNaN(r)?e.val(i):0!=(i=r-i)&&(e.attr("value",r),r=t,t=i,i={ajax:"1",qty:Math.abs(t),action:"update",op:0<t?"up":"down"},n=e,a(),A().ajax({url:r,method:"POST",data:i,dataType:"json",beforeSend:function(e){o.push(e)}}).then(function(e){var t;Be.checkUpdateOpertation(e),n.val(e.quantity),t=n&&n.dataset?n.dataset:e,k().emit("updateCart",{reason:t,resp:e})}).fail(function(e){k().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",je,t),e.on("touchspin.on.startupspin",je,t),e.on("focusout keyup",i,function(e){return("keyup"!==e.type||13===e.keyCode)&&n(e),!1});e.on("hidden.bs.collapse","#promo-code",function(){A()(".display-promo").show(400)}),e.on("click",".promo-code-button",function(e){e.preventDefault(),A()("#promo-code").collapse("toggle")}),e.on("click",".display-promo",function(e){A()(e.currentTarget).hide(400)}),e.on("click",".js-discount .code",function(e){e.stopPropagation();e=A()(e.currentTarget);return A()("[name=discount_name]").val(e.text()),A()("#promo-code").collapse("show"),A()(".display-promo").hide(400),!1})});var Be={switchErrorStat:function(){var e,t=A()(".checkout a");(A()("#notifications article.alert-danger").length||""!==L&&!O)&&t.addClass("disabled"),""!==L?(e=' <article class="alert alert-danger" role="alert" data-alert="danger"><ul><li>'.concat(L,"</li></ul></article>"),A()("#notifications").html(e),L="",M=!1,O&&t.removeClass("disabled")):!O&&M&&(M=O=!1,A()("#notifications").html(""),t.removeClass("disabled"))},checkUpdateOpertation:function(e){O=e.hasOwnProperty("hasError");e=e.errors||"";L=e instanceof Array?e.join(" "):e,M=!0}};function Fe(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 He=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.backToTop(),this.productCarousels(),this.otherCarousels(),"ontouchstart"in document.documentElement&&A()("body").addClass("touch-device"),6===sthemeTheme.h_layout||7===sthemeTheme.h_layout||"menu"!==sthemeTheme.h_sticky&&"header"!==sthemeTheme.h_sticky||this.stickyHeader(sthemeTheme.h_sticky)}},{key:"backToTop",value:function(){var e=A()("#back-to-top");A()(window).scroll($e()(300,function(){300<A()(this).scrollTop()?e.addClass("-back-to-top-visible"):e.stop().removeClass("-back-to-top-visible")})),e.on("click",function(e){e.preventDefault(),A()("body, html").animate({scrollTop:0},300)})}},{key:"stickyHeader",value:function(e){var t,n,i,r,o=function(e){};"menu"==e?(t=A()("#smainmenu-wrapper"),n=A()("#sticky-cart-wrapper"),i=A()("#ps-shoppingcart-wrapper"),r=A()("#ps-shoppingcart"),o=function(e){"down"===e?("column"===sthemeTheme.pp_image_layout&&(e=30+t.height(),A()("#col-product-info").first().css("top","".concat(e,"px"))),n.append(r)):(i.append(r),"column"===sthemeTheme.pp_image_layout&&A()("#col-product-info").first().removeAttr("style"))}):(t=A()("#desktop-header"),"column"===sthemeTheme.pp_image_layout&&(o=function(e){"down"===e?(e=30+t.height(),A()("#col-product-info").first().css("top","".concat(e,"px"))):A()("#col-product-info").first().removeAttr("style")})),t.length&&new Waypoint.Sticky({element:t[0],wrapper:'<div class="sticky-desktop-wrapper" />',stuckClass:"stuck stuck-header-element stuck-".concat(e),handler:o,offset:0})}},{key:"productCarousels",value:function(){var e,t=A()(".swiper-default-carousel"),n={pagination:{el:".swiper-pagination-product",clickable:!0},autoplay:e=sthemeTheme.pl_crsl_autoplay?{delay:4500,disableOnInteraction:!0}:e,loop:!1,speed:600,lazy:{loadedClass:"loaded",checkInView:!0},watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},slidesPerView:sthemeTheme.pl_slider_p,slidesPerGroup:sthemeTheme.pl_slider_p,breakpoints:{768:{slidesPerView:sthemeTheme.pl_slider_t,slidesPerGroup:sthemeTheme.pl_slider_t},992:{slidesPerView:sthemeTheme.pl_slider_d,slidesPerGroup:sthemeTheme.pl_slider_d},1200:{slidesPerView:sthemeTheme.pl_slider_ld,slidesPerGroup:sthemeTheme.pl_slider_ld}}};t.each(function(){var e=A()(this),t=A().extend({},n,e.data("swiper_options"));new Swiper(e[0],t)})}},{key:"otherCarousels",value:function(){new Swiper(".js-sthemehtmlandbanners-block-banner-slider",{loop:!0,watchOverflow:!0,autoplay:{delay:5e3,disableOnInteraction:!0},pagination:{el:".swiper-pagination",clickable:!0}})}}])&&Fe(t.prototype,n),i&&Fe(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();function We(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)}}b=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")}var t,n,i;return t=e,(n=[{key:"init",value:function(){!sthemeTheme.f_fixed||window.MSInputMethodContext&&document.documentMode||A()("#footer").footerReveal({shadow:!1,zIndex:-1}),sthemeTheme.op_preloader&&this.pagePreloader()}},{key:"pagePreloader",value:function(){A()(window).on("load",function(){A()("#page-preloader").fadeOut("slow",function(){A()(this).remove()}),A()("#main-page-content").removeAttr("style")})}}])&&We(t.prototype,n),i&&We(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Re(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 qe=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.el=e}var e,n,i;return e=t,(n=[{key:"init",value:function(){this.el.find(".block-title").on("click",function(e,t){A()(this).parent().toggleClass("_toggled")})}}])&&Re(e.prototype,n),i&&Re(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();nt(21);function Ge(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)}}prestashop.blocksearch=prestashop.blocksearch||{},prestashop.blocksearch.initAutocomplete=function(i,e,t){var r,o=e.data("all-text"),a=e.data("brands-text"),s=e.data("product-text"),l=e.data("blog-text");e.autoComplete({minChars:2,cache:!1,source:function(e,n){try{r.abort()}catch(e){}r=A().post(t,{s:e,resultsPerPage:10,ajax:!0},null,"json").then(function(e){var t;Object.keys(e.brands).length&&(t={type:"brands",results:e.brands},e.products.push(t)),Object.keys(e.blogposts).length&&(t={type:"posts",results:e.blogposts},e.products.push(t));10<=e.products.length&&e.products.push({type:"all"}),n(e.products)}).fail(n)},renderItem:function(n,t){if("all"==n.type)return'<div class="autocomplete-suggestion autocomplete-suggestion-show-all dropdown-item" data-type="all" data-val="'+t+'"><div class="row no-gutters align-items-center"><div class="col"><span class="name">'+o+' <i class="fa fa-angle-right" aria-hidden="true"></i></span></div></div></div>';var i,r;if("brands"==n.type)return i="",Object.keys(n.results).forEach(function(e){i+='<div class="autocomplete-suggestion dropdown-item" data-url="'+n.results[e].link+'"><div class="row no-gutters align-items-center"><div class="col col-auto col-img"><img class="img-fluid" src="'+n.results[e].image+'" /></div><div class="col pt-3 pb-3"><span class="name">'+n.results[e].name+'</span></div><div class="col col-auto col-shop pt-3 pb-3 ">'+a+"</div></div></div>"}),i;if("posts"==n.type)return r="",Object.keys(n.results).forEach(function(e){var t="";void 0!==n.results[e].banner_thumb&&(t='<img class="img-fluid" src="'+n.results[e].banner_thumb+'" />'),r+='<div class="autocomplete-suggestion dropdown-item" data-url="'+n.results[e].url+'"><div class="row no-gutters align-items-center"><div class="col col-auto col-img"><div class="col col-auto col-img">'+t+'</div></div><div class="col pt-3 pb-3"><span class="name">'+n.results[e].title+'</span></div><div class="col col-auto col-shop pt-3 pb-3 ">'+l+"</div></div></div>"}),r;t="";try{t='<div class="col col-auto col-img"><img class="img-fluid" src="'+n.cover.small.url+'" /></div>'}catch(e){t=""}return'<div class="autocomplete-suggestion dropdown-item" data-url="'+n.url+'"><div class="row no-gutters align-items-center">'+t+'<div class="col pt-3 pb-3"><span class="name">'+n.name+'</span><span class="product-price">'+n.price+'</span></div><div class="col col-auto col-shop pt-3 pb-3 ">'+s+"</div></div></div>"},onSelect:function(e,t,n){"all"==n.data("type")?i.find("form").submit():window.location.href=n.data("url")}})};var Ve=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=A()("#search_widget"),t=A()("#search-widget-mobile"),n=e.find("input[type=text]"),i=t.find("input[type=text]"),r=e.attr("data-search-controller-url"),o=A()("#header-search-btn"),a=A()("#mobile-btn-search"),s=prestashop.blocksearch.initAutocomplete||function(e,t,n){};s(e,n,r),s(t,i,r),o.on("shown.bs.dropdown",function(){setTimeout(function(){n.focus()},300)}),a.on("shown.bs.dropdown",function(){setTimeout(function(){A()("#mobile-btn-search").find("input[type=text]").focus()},300)}),A()("#fullscreen-search-backdrop").on("touchstart",function(e){e.stopPropagation(),A()("#header-search-btn-drop").dropdown("toggle")})}}])&&Ge(t.prototype,n),i&&Ge(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Ye(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 Ue=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.el=e}var e,n,i;return e=t,(n=[{key:"init",value:function(){this.el.find("select.link").each(function(e,t){A()(t).on("change",function(){window.location=A()(this).val()})})}}])&&Ye(e.prototype,n),i&&Ye(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Xe(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 Qe=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.parentFocus(),this.togglePasswordVisibility()}},{key:"parentFocus",value:function(){A()(".js-child-focus").focus(function(){A()(this).closest(".js-parent-focus").addClass("focus")}),A()(".js-child-focus").focusout(function(){A()(this).closest(".js-parent-focus").removeClass("focus")})}},{key:"togglePasswordVisibility",value:function(){A()('button[data-action="show-password"]').on("click",function(){var e=A()(this).closest(".input-group").children("input.js-visible-password");"password"===e.attr("type")?(e.attr("type","text"),A()(this).find("i").removeClass("fa-eye-slash").addClass("fa-eye")):(e.attr("type","password"),A()(this).find("i").removeClass("fa-eye").addClass("fa-eye-slash"))})}}])&&Xe(t.prototype,n),i&&Xe(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Ke(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 Ze,Je=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")}var t,n,i;return t=e,(n=[{key:"init",value:function(){var t,n,e,i=A()("#wrapper");i.on("show.bs.modal","#product-modal",function(e){var e=("carousel"===sthemeTheme.pp_image_layout?A()("#product-images-large .swiper-slide-active img").first():A()(e.relatedTarget)).data("image-large-src");A()(".js-modal-product-cover-easyzoom").first().attr("href",e),A()(".js-modal-product-cover").first().attr("src",e),"inner"===sthemeTheme.pp_zoom||"modalzoom"===sthemeTheme.pp_zoom?(e=A()(".easyzoom-modal").easyZoom(),t=e.data("easyZoom")):i.on("click",".js-modal-product-cover-easyzoom",function(e){e.preventDefault()})}),i.on("shown.bs.modal","#product-modal",function(){(e=A()("#modal-product-thumbs")).length&&(n=new Swiper(e[0],{loop:!1,slidesPerView:6,slidesPerGroup:6,centerInsufficientSlides:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},preloadImages:!1,lazy:{loadPrevNext:!0},breakpoints:{768:{slidesPerView:10,slidesPerGroup:10}}}))}),i.on("hidden.bs.modal","#product-modal",function(e){"inner"!==sthemeTheme.pp_zoom&&"modalzoom"!==sthemeTheme.pp_zoom||t.teardown(),void 0!==n&&n.destroy()}),A()("body").on("click",".js-modal-thumb",function(e){"inner"===sthemeTheme.pp_zoom||"modalzoom"===sthemeTheme.pp_zoom?t.swap(A()(e.target).data("image-large-src"),A()(e.target).data("image-large-src")):A()(".js-modal-product-cover").attr("src",A()(e.target).data("image-large-src"))})}}])&&Ke(t.prototype,n),i&&Ke(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}(),et=nt(291),tt=nt.n(et);nt(46),nt(848),nt(571);for(Ze in k().blockcart=k().blockcart||{},k().blockcart.showModal=function(e){function t(){return A()("#blockcart-modal-wrap")}var n,i;"modal"===sthemeTheme.cart_confirmation?((n=t()).length&&(n.remove(),A()(".modal-backdrop.show").first().remove()),A()("body").append(e),(n=A()("#blockcart-modal")).modal("show"),n.on("hide.bs.modal",function(e){k().emit("updateProduct",{reason:e.currentTarget.dataset,event:e})}),n.on("shown.bs.modal",function(){k().sthemeLazyLoad.update(),new Swiper(".swiper-crossselling-products",{pagination:{el:".swiper-pagination-product",clickable:!0},autoplay:{delay:4500,disableOnInteraction:!0},loop:!1,speed:600,lazy:{loadedClass:"loaded",checkInView:!0},watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,slidesPerView:2,slidesPerGroup:2,breakpoints:{768:{slidesPerView:3,slidesPerGroup:3},992:{slidesPerView:5,slidesPerGroup:5},1200:{slidesPerView:5,slidesPerGroup:5}}})})):"notification"===sthemeTheme.cart_confirmation?((i=t()).length&&i.remove(),A()("body").append(e),(i=A()("#blockcart-notification")).addClass("ns-show"),k().emit("updateProduct",{}),setTimeout(function(){i.addClass("ns-hide")},3500)):(k().responsive.mobile?(A()("#mobile-cart-toogle").dropdown("toggle"),"floating"===sthemeTheme.cart_style&&A()("body").animate({scrollTop:A()("#mobile-cart-toogle").offset().top},300)):(A()("#cart-toogle").dropdown("toggle"),"floating"===sthemeTheme.cart_style&&A()("body").animate({scrollTop:A()("#blockcart").offset().top},300)),k().emit("updateProduct",{}))},window.Swiper=Se,tt().prototype)k()[Ze]=tt().prototype[Ze];et=new b;A()(document).ready(function(){var e=A()(".js-dropdown"),t=A()(".js-block-toggle"),n=new Qe,t=new qe(t),e=new Ue(e),i=new De,r=new Je,o=new He,a=new Ve;t.init(),a.init(),e.init(),n.init(),i.init(),r.init(),o.init()}),et.init(),window._BStooltip=jQuery.fn.tooltip}()}();/**
 * 2007-2020 PrestaShop.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <contact@prestashop.com>
 * @copyright 2007-2020 PrestaShop SA
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */
$(document).ready(function(){$('.block_newsletter form').on('submit',function(){var psemailsubscriptionForm=$(this);if(typeof psemailsubscription_subscription==='undefined'){return!0}
$('.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})});/**
 * 2007-2015 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <contact@prestashop.com>
 * @copyright 2007-2015 PrestaShop SA
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */
function addNotification(){var ids=$('div.js-mailalert  input[type=hidden]');$.ajax({type:'POST',url:$('div.js-mailalert').data('url'),data:'id_product='+ids[0].value+'&id_product_attribute='+ids[1].value+'&customer_email='+$('div.js-mailalert  input[type=email]').val(),success:function(resp){resp=JSON.parse(resp);$('div.js-mailalert  span.js-mailalert-response').html(resp.message).show();if(!resp.error){$('div.js-mailalert  a').hide();$('div.js-mailalert  input[type=email]').hide()}}});return!1}
$('document').ready(function(){$('.js-remove-email-alert').click(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()})}}})})});jQuery(document).ready(function($){if($(".sdimageslider-container")&&$(".sdimageslider-container").length!=0){var swiperhometabrecommendedproducts=new Swiper(".sdimageslider-container",{loop:!$('.sdimageslider-container').data('wrap'),effect:$('.sdimageslider-container').data('effect'),grabCursor:!0,centeredSlides:!0,slidesPerView:1,autoHeight:!0,navigation:{nextEl:".next",prevEl:".prev",},pagination:{el:'.swiper-pagination',type:$('.sdimageslider-container').data('pagination'),clickable:!0},autoplay:{delay:$('.sdimageslider-container').data('interval'),pauseOnMouseEnter:$('.sdimageslider-container').data('pause'),disableOnInteraction:!1,stopOnLastSlide:$('.sdimageslider-container').data('wrap')},});let pauseOnHover=$('.sdimageslider-container').data('pause');if(pauseOnHover){$(".sdimageslider-container").hover(function(){(this).swiper.autoplay.stop()},function(){(this).swiper.autoplay.start()})}}});$(document).ready(function(){const swiper=new Swiper('.swiper_usp_block',{breakpoints:{320:{slidesPerView:1,},767:{slidesPerView:2,},1024:{slidesPerView:3,},1200:{slidesPerView:4,},},})});$(document).ready(function(){if($(".uspTop-swiper")&&$(".uspTop-swiper").length!=0){var USP_MOBILECOLUMN=$("#USP_MOBILECOLUMN").val()!=""?$("#USP_MOBILECOLUMN").val():1;var USP_DESKTOPCOLUMN=$("#USP_DESKTOPCOLUMN").val()!=""?$("#USP_DESKTOPCOLUMN").val():3;var swiper=new Swiper(".uspTop-swiper",{autoplay:{delay:1500,disableOnInteraction:!1,},breakpoints:{992:{slidesPerView:USP_DESKTOPCOLUMN,},320:{slidesPerView:USP_MOBILECOLUMN,},},})}});/**
 * NOTICE OF LICENSE
 *
 * @author    Klarna Bank AB www.klarna.com
 * @copyright Copyright (c) permanent, Klarna Bank AB
 * @license   ISC
 * @see       /LICENSE
 *
 * International Registered Trademark & Property of Klarna Bank AB
 */
$(document).ready(function(){prestashop.on('updatedCart',function(){const $price=$('div.cart-total .value');if($price.length<1){return}
const price=$price.text();if(price.length<1){return}
$('klarna-placement').attr('data-purchase-amount',formatIntegerPrice(price.replace(/[^\d.-]/g,'')));window.Klarna.OnsiteMessaging.refresh()});prestashop.on('updatedProduct',function(){const $price=$('.js-product-prices .current-price .current-price-value');const $quantity=$('.js-product-add-to-cart .product-quantity #quantity_wanted');if($price.length<1||$quantity.length<1){return}
const price=$price.attr('content');const quantity=$quantity.val();if(price.length<1||quantity.length<1){return}
$('klarna-placement').attr('data-purchase-amount',formatIntegerPrice(price*quantity));window.Klarna.OnsiteMessaging.refresh()});function formatIntegerPrice(price){const floatPrice=parseFloat(price).toFixed(2);return(floatPrice*100).toFixed(0)}});/**
 * Copyright 2024 LÍNEA GRÁFICA E.C.E S.L.
 *
 * @author    Línea Gráfica E.C.E. S.L.
 * @copyright Lineagrafica.es - Línea Gráfica E.C.E. S.L. all rights reserved.
 * @license   https://www.apache.org/licenses/LICENSE-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
!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)}(this,function(a){function b(a){this.$container,this.constraints=null,this.__$tooltip,this.__init(a)}function c(b,c){var d=!0;return a.each(b,function(a,e){return void 0===c[a]||b[a]!==c[a]?(d=!1,!1):void 0}),d}function d(b){var c=b.attr("id"),d=c?h.window.document.getElementById(c):null;return d?d===b[0]:a.contains(h.window.document.body,b[0])}function e(){if(!g)return!1;var a=g.document.body||g.document.documentElement,b=a.style,c="transition",d=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof b[c])return!0;c=c.charAt(0).toUpperCase()+c.substr(1);for(var e=0;e<d.length;e++)if("string"==typeof b[d[e]+c])return!0;return!1}var f={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},g="undefined"!=typeof window?window:null,h={hasTouchCapability:!(!g||!("ontouchstart"in g||g.DocumentTouch&&g.document instanceof g.DocumentTouch||g.navigator.maxTouchPoints)),hasTransitions:e(),IE:!1,semVer:"4.2.8",window:g},i=function(){this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__instancesLatestArr=[],this.__plugins={},this._env=h};i.prototype={__bridge:function(b,c,d){if(!c[d]){var e=function(){};e.prototype=b;var g=new e;g.__init&&g.__init(c),a.each(b,function(a,b){0!=a.indexOf("__")&&(c[a]?f.debug&&console.log("The "+a+" method of the "+d+" plugin conflicts with another plugin or native methods"):(c[a]=function(){return g[a].apply(g,Array.prototype.slice.apply(arguments))},c[a].bridged=g))}),c[d]=g}return this},__setWindow:function(a){return h.window=a,this},_getRuler:function(a){return new b(a)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(b){var c=this;if("string"==typeof b){var d=b,e=null;return d.indexOf(".")>0?e=c.__plugins[d]:a.each(c.__plugins,function(a,b){return b.name.substring(b.name.length-d.length-1)=="."+d?(e=b,!1):void 0}),e}if(b.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return c.__plugins[b.name]=b,b.core&&c.__bridge(b.core,c,b.name),this},_trigger:function(){var a=Array.prototype.slice.apply(arguments);return"string"==typeof a[0]&&(a[0]={type:a[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,a),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,a),this},instances:function(b){var c=[],d=b||".tooltipstered";return a(d).each(function(){var b=a(this),d=b.data("tooltipster-ns");d&&a.each(d,function(a,d){c.push(b.data(d))})}),c},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(b){var c=b?b+" ":"";return a(c+".tooltipstered").toArray()},setDefaults:function(b){return a.extend(f,b),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.tooltipster=new i,a.Tooltipster=function(b,c){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(b,c)},a.Tooltipster.prototype={__init:function(b,c){var d=this;if(d._$origin=a(b),d.__options=a.extend(!0,{},f,c),d.__optionsFormat(),!h.IE||h.IE>=d.__options.IEmin){var e=null;if(void 0===d._$origin.data("tooltipster-initialTitle")&&(e=d._$origin.attr("title"),void 0===e&&(e=null),d._$origin.data("tooltipster-initialTitle",e)),null!==d.__options.content)d.__contentSet(d.__options.content);else{var g,i=d._$origin.attr("data-tooltip-content");i&&(g=a(i)),g&&g[0]?d.__contentSet(g.first()):d.__contentSet(e)}d._$origin.removeAttr("title").addClass("tooltipstered"),d.__prepareOrigin(),d.__prepareGC(),a.each(d.__options.plugins,function(a,b){d._plug(b)}),h.hasTouchCapability&&a(h.window.document.body).on("touchmove."+d.__namespace+"-triggerOpen",function(a){d._touchRecordEvent(a)}),d._on("created",function(){d.__prepareTooltip()})._on("repositioned",function(a){d.__lastPosition=a.position})}else d.__options.disabled=!0},__contentInsert:function(){var a=this,b=a._$tooltip.find(".tooltipster-content"),c=a.__Content,d=function(a){c=a};return a._trigger({type:"format",content:a.__Content,format:d}),a.__options.functionFormat&&(c=a.__options.functionFormat.call(a,a,{origin:a._$origin[0]},a.__Content)),"string"!=typeof c||a.__options.contentAsHTML?b.empty().append(c):b.text(c),a},__contentSet:function(b){return b instanceof a&&this.__options.contentCloning&&(b=b.clone(!0)),this.__Content=b,this._trigger({type:"updated",content:b}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var b=this,c=b._$origin,d=b._$origin.is("area");if(d){var e=b._$origin.parent().attr("name");c=a('img[usemap="#'+e+'"]')}var f=c[0].getBoundingClientRect(),g=a(h.window.document),i=a(h.window),j=c,k={available:{document:null,window:null},document:{size:{height:g.height(),width:g.width()}},window:{scroll:{left:h.window.scrollX||h.window.document.documentElement.scrollLeft,top:h.window.scrollY||h.window.document.documentElement.scrollTop},size:{height:i.height(),width:i.width()}},origin:{fixedLineage:!1,offset:{},size:{height:f.bottom-f.top,width:f.right-f.left},usemapImage:d?c[0]:null,windowOffset:{bottom:f.bottom,left:f.left,right:f.right,top:f.top}}};if(d){var l=b._$origin.attr("shape"),m=b._$origin.attr("coords");if(m&&(m=m.split(","),a.map(m,function(a,b){m[b]=parseInt(a)})),"default"!=l)switch(l){case"circle":var n=m[0],o=m[1],p=m[2],q=o-p,r=n-p;k.origin.size.height=2*p,k.origin.size.width=k.origin.size.height,k.origin.windowOffset.left+=r,k.origin.windowOffset.top+=q;break;case"rect":var s=m[0],t=m[1],u=m[2],v=m[3];k.origin.size.height=v-t,k.origin.size.width=u-s,k.origin.windowOffset.left+=s,k.origin.windowOffset.top+=t;break;case"poly":for(var w=0,x=0,y=0,z=0,A="even",B=0;B<m.length;B++){var C=m[B];"even"==A?(C>y&&(y=C,0===B&&(w=y)),w>C&&(w=C),A="odd"):(C>z&&(z=C,1==B&&(x=z)),x>C&&(x=C),A="even")}k.origin.size.height=z-x,k.origin.size.width=y-w,k.origin.windowOffset.left+=w,k.origin.windowOffset.top+=x}}var D=function(a){k.origin.size.height=a.height,k.origin.windowOffset.left=a.left,k.origin.windowOffset.top=a.top,k.origin.size.width=a.width};for(b._trigger({type:"geometry",edit:D,geometry:{height:k.origin.size.height,left:k.origin.windowOffset.left,top:k.origin.windowOffset.top,width:k.origin.size.width}}),k.origin.windowOffset.right=k.origin.windowOffset.left+k.origin.size.width,k.origin.windowOffset.bottom=k.origin.windowOffset.top+k.origin.size.height,k.origin.offset.left=k.origin.windowOffset.left+k.window.scroll.left,k.origin.offset.top=k.origin.windowOffset.top+k.window.scroll.top,k.origin.offset.bottom=k.origin.offset.top+k.origin.size.height,k.origin.offset.right=k.origin.offset.left+k.origin.size.width,k.available.document={bottom:{height:k.document.size.height-k.origin.offset.bottom,width:k.document.size.width},left:{height:k.document.size.height,width:k.origin.offset.left},right:{height:k.document.size.height,width:k.document.size.width-k.origin.offset.right},top:{height:k.origin.offset.top,width:k.document.size.width}},k.available.window={bottom:{height:Math.max(k.window.size.height-Math.max(k.origin.windowOffset.bottom,0),0),width:k.window.size.width},left:{height:k.window.size.height,width:Math.max(k.origin.windowOffset.left,0)},right:{height:k.window.size.height,width:Math.max(k.window.size.width-Math.max(k.origin.windowOffset.right,0),0)},top:{height:Math.max(k.origin.windowOffset.top,0),width:k.window.size.width}};"html"!=j[0].tagName.toLowerCase();){if("fixed"==j.css("position")){k.origin.fixedLineage=!0;break}j=j.parent()}return k},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=a(h.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=a(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var b=this;return b.__options.selfDestruction?b.__garbageCollector=setInterval(function(){var c=(new Date).getTime();b.__touchEvents=a.grep(b.__touchEvents,function(a,b){return c-a.time>6e4}),d(b._$origin)||b.close(function(){b.destroy()})},2e4):clearInterval(b.__garbageCollector),b},__prepareOrigin:function(){var a=this;if(a._$origin.off("."+a.__namespace+"-triggerOpen"),h.hasTouchCapability&&a._$origin.on("touchstart."+a.__namespace+"-triggerOpen touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen",function(b){a._touchRecordEvent(b)}),a.__options.triggerOpen.click||a.__options.triggerOpen.tap&&h.hasTouchCapability){var b="";a.__options.triggerOpen.click&&(b+="click."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.tap&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&a._open(b)})}if(a.__options.triggerOpen.mouseenter||a.__options.triggerOpen.touchstart&&h.hasTouchCapability){var b="";a.__options.triggerOpen.mouseenter&&(b+="mouseenter."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.touchstart&&h.hasTouchCapability&&(b+="touchstart."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){!a._touchIsTouchEvent(b)&&a._touchIsEmulatedEvent(b)||(a.__pointerIsOverOrigin=!0,a._openShortly(b))})}if(a.__options.triggerClose.mouseleave||a.__options.triggerClose.touchleave&&h.hasTouchCapability){var b="";a.__options.triggerClose.mouseleave&&(b+="mouseleave."+a.__namespace+"-triggerOpen "),a.__options.triggerClose.touchleave&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&(a.__pointerIsOverOrigin=!1)})}return a},__prepareTooltip:function(){var b=this,c=b.__options.interactive?"auto":"";return b._$tooltip.attr("id",b.__namespace).css({"pointer-events":c,zIndex:b.__options.zIndex}),a.each(b.__previousThemes,function(a,c){b._$tooltip.removeClass(c)}),a.each(b.__options.theme,function(a,c){b._$tooltip.addClass(c)}),b.__previousThemes=a.merge([],b.__options.theme),b},__scrollHandler:function(b){var c=this;if(c.__options.triggerClose.scroll)c._close(b);else if(d(c._$origin)&&d(c._$tooltip)){var e=null;if(b.target===h.window.document)c.__Geometry.origin.fixedLineage||c.__options.repositionOnScroll&&c.reposition(b);else{e=c.__geometry();var f=!1;if("fixed"!=c._$origin.css("position")&&c.__$originParents.each(function(b,c){var d=a(c),g=d.css("overflow-x"),h=d.css("overflow-y");if("visible"!=g||"visible"!=h){var i=c.getBoundingClientRect();if("visible"!=g&&(e.origin.windowOffset.left<i.left||e.origin.windowOffset.right>i.right))return f=!0,!1;if("visible"!=h&&(e.origin.windowOffset.top<i.top||e.origin.windowOffset.bottom>i.bottom))return f=!0,!1}return"fixed"==d.css("position")?!1:void 0}),f)c._$tooltip.css("visibility","hidden");else if(c._$tooltip.css("visibility","visible"),c.__options.repositionOnScroll)c.reposition(b);else{var g=e.origin.offset.left-c.__Geometry.origin.offset.left,i=e.origin.offset.top-c.__Geometry.origin.offset.top;c._$tooltip.css({left:c.__lastPosition.coord.left+g,top:c.__lastPosition.coord.top+i})}}c._trigger({type:"scroll",event:b,geo:e})}return c},__stateSet:function(a){return this.__state=a,this._trigger({type:"state",state:a}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,a.each(this.__timeouts.close,function(a,b){clearTimeout(b)}),this.__timeouts.close=[],this},__trackerStart:function(){var a=this,b=a._$tooltip.find(".tooltipster-content");return a.__options.trackTooltip&&(a.__contentBcr=b[0].getBoundingClientRect()),a.__tracker=setInterval(function(){if(d(a._$origin)&&d(a._$tooltip)){if(a.__options.trackOrigin){var e=a.__geometry(),f=!1;c(e.origin.size,a.__Geometry.origin.size)&&(a.__Geometry.origin.fixedLineage?c(e.origin.windowOffset,a.__Geometry.origin.windowOffset)&&(f=!0):c(e.origin.offset,a.__Geometry.origin.offset)&&(f=!0)),f||(a.__options.triggerClose.mouseleave?a._close():a.reposition())}if(a.__options.trackTooltip){var g=b[0].getBoundingClientRect();g.height===a.__contentBcr.height&&g.width===a.__contentBcr.width||(a.reposition(),a.__contentBcr=g)}}else a._close()},a.__options.trackerInterval),a},_close:function(b,c,d){var e=this,f=!0;if(e._trigger({type:"close",event:b,stop:function(){f=!1}}),f||d){c&&e.__callbacks.close.push(c),e.__callbacks.open=[],e.__timeoutsClear();var g=function(){a.each(e.__callbacks.close,function(a,c){c.call(e,e,{event:b,origin:e._$origin[0]})}),e.__callbacks.close=[]};if("closed"!=e.__state){var i=!0,j=new Date,k=j.getTime(),l=k+e.__options.animationDuration[1];if("disappearing"==e.__state&&l>e.__closingTime&&e.__options.animationDuration[1]>0&&(i=!1),i){e.__closingTime=l,"disappearing"!=e.__state&&e.__stateSet("disappearing");var m=function(){clearInterval(e.__tracker),e._trigger({type:"closing",event:b}),e._$tooltip.off("."+e.__namespace+"-triggerClose").removeClass("tooltipster-dying"),a(h.window).off("."+e.__namespace+"-triggerClose"),e.__$originParents.each(function(b,c){a(c).off("scroll."+e.__namespace+"-triggerClose")}),e.__$originParents=null,a(h.window.document.body).off("."+e.__namespace+"-triggerClose"),e._$origin.off("."+e.__namespace+"-triggerClose"),e._off("dismissable"),e.__stateSet("closed"),e._trigger({type:"after",event:b}),e.__options.functionAfter&&e.__options.functionAfter.call(e,e,{event:b,origin:e._$origin[0]}),g()};h.hasTransitions?(e._$tooltip.css({"-moz-animation-duration":e.__options.animationDuration[1]+"ms","-ms-animation-duration":e.__options.animationDuration[1]+"ms","-o-animation-duration":e.__options.animationDuration[1]+"ms","-webkit-animation-duration":e.__options.animationDuration[1]+"ms","animation-duration":e.__options.animationDuration[1]+"ms","transition-duration":e.__options.animationDuration[1]+"ms"}),e._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),e.__options.animationDuration[1]>0&&e._$tooltip.delay(e.__options.animationDuration[1]),e._$tooltip.queue(m)):e._$tooltip.stop().fadeOut(e.__options.animationDuration[1],m)}}else g()}return e},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(b,c){var e=this;if(!e.__destroying&&d(e._$origin)&&e.__enabled){var f=!0;if("closed"==e.__state&&(e._trigger({type:"before",event:b,stop:function(){f=!1}}),f&&e.__options.functionBefore&&(f=e.__options.functionBefore.call(e,e,{event:b,origin:e._$origin[0]}))),f!==!1&&null!==e.__Content){c&&e.__callbacks.open.push(c),e.__callbacks.close=[],e.__timeoutsClear();var g,i=function(){"stable"!=e.__state&&e.__stateSet("stable"),a.each(e.__callbacks.open,function(a,b){b.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}),e.__callbacks.open=[]};if("closed"!==e.__state)g=0,"disappearing"===e.__state?(e.__stateSet("appearing"),h.hasTransitions?(e._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i)):e._$tooltip.stop().fadeIn(i)):"stable"==e.__state&&i();else{if(e.__stateSet("appearing"),g=e.__options.animationDuration[0],e.__contentInsert(),e.reposition(b,!0),h.hasTransitions?(e._$tooltip.addClass("tooltipster-"+e.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":e.__options.animationDuration[0]+"ms","-ms-animation-duration":e.__options.animationDuration[0]+"ms","-o-animation-duration":e.__options.animationDuration[0]+"ms","-webkit-animation-duration":e.__options.animationDuration[0]+"ms","animation-duration":e.__options.animationDuration[0]+"ms","transition-duration":e.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=e.__state&&(e._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i))},0)):e._$tooltip.css("display","none").fadeIn(e.__options.animationDuration[0],i),e.__trackerStart(),a(h.window).on("resize."+e.__namespace+"-triggerClose",function(b){var c=a(document.activeElement);(c.is("input")||c.is("textarea"))&&a.contains(e._$tooltip[0],c[0])||e.reposition(b)}).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)}),e.__$originParents=e._$origin.parents(),e.__$originParents.each(function(b,c){a(c).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)})}),e.__options.triggerClose.mouseleave||e.__options.triggerClose.touchleave&&h.hasTouchCapability){e._on("dismissable",function(a){a.dismissable?a.delay?(m=setTimeout(function(){e._close(a.event)},a.delay),e.__timeouts.close.push(m)):e._close(a):clearTimeout(m)});var j=e._$origin,k="",l="",m=null;e.__options.interactive&&(j=j.add(e._$tooltip)),e.__options.triggerClose.mouseleave&&(k+="mouseenter."+e.__namespace+"-triggerClose ",l+="mouseleave."+e.__namespace+"-triggerClose "),e.__options.triggerClose.touchleave&&h.hasTouchCapability&&(k+="touchstart."+e.__namespace+"-triggerClose",l+="touchend."+e.__namespace+"-triggerClose touchcancel."+e.__namespace+"-triggerClose"),j.on(l,function(a){if(e._touchIsTouchEvent(a)||!e._touchIsEmulatedEvent(a)){var b="mouseleave"==a.type?e.__options.delay:e.__options.delayTouch;e._trigger({delay:b[1],dismissable:!0,event:a,type:"dismissable"})}}).on(k,function(a){!e._touchIsTouchEvent(a)&&e._touchIsEmulatedEvent(a)||e._trigger({dismissable:!1,event:a,type:"dismissable"})})}e.__options.triggerClose.originClick&&e._$origin.on("click."+e.__namespace+"-triggerClose",function(a){e._touchIsTouchEvent(a)||e._touchIsEmulatedEvent(a)||e._close(a)}),(e.__options.triggerClose.click||e.__options.triggerClose.tap&&h.hasTouchCapability)&&setTimeout(function(){if("closed"!=e.__state){var b="",c=a(h.window.document.body);e.__options.triggerClose.click&&(b+="click."+e.__namespace+"-triggerClose "),e.__options.triggerClose.tap&&h.hasTouchCapability&&(b+="touchend."+e.__namespace+"-triggerClose"),c.on(b,function(b){e._touchIsMeaningfulEvent(b)&&(e._touchRecordEvent(b),e.__options.interactive&&a.contains(e._$tooltip[0],b.target)||e._close(b))}),e.__options.triggerClose.tap&&h.hasTouchCapability&&c.on("touchstart."+e.__namespace+"-triggerClose",function(a){e._touchRecordEvent(a)})}},0),e._trigger("ready"),e.__options.functionReady&&e.__options.functionReady.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}if(e.__options.timer>0){var m=setTimeout(function(){e._close()},e.__options.timer+g);e.__timeouts.close.push(m)}}}return e},_openShortly:function(a){var b=this,c=!0;if("stable"!=b.__state&&"appearing"!=b.__state&&!b.__timeouts.open&&(b._trigger({type:"start",event:a,stop:function(){c=!1}}),c)){var d=0==a.type.indexOf("touch")?b.__options.delayTouch:b.__options.delay;d[0]?b.__timeouts.open=setTimeout(function(){b.__timeouts.open=null,b.__pointerIsOverOrigin&&b._touchIsMeaningfulEvent(a)?(b._trigger("startend"),b._open(a)):b._trigger("startcancel")},d[0]):(b._trigger("startend"),b._open(a))}return b},_optionsExtract:function(b,c){var d=this,e=a.extend(!0,{},c),f=d.__options[b];return f||(f={},a.each(c,function(a,b){var c=d.__options[a];void 0!==c&&(f[a]=c)})),a.each(e,function(b,c){void 0!==f[b]&&("object"!=typeof c||c instanceof Array||null==c||"object"!=typeof f[b]||f[b]instanceof Array||null==f[b]?e[b]=f[b]:a.extend(e[b],f[b]))}),e},_plug:function(b){var c=a.tooltipster._plugin(b);if(!c)throw new Error('The "'+b+'" plugin is not defined');return c.instance&&a.tooltipster.__bridge(c.instance,this,c.name),this},_touchIsEmulatedEvent:function(a){for(var b=!1,c=(new Date).getTime(),d=this.__touchEvents.length-1;d>=0;d--){var e=this.__touchEvents[d];if(!(c-e.time<500))break;e.target===a.target&&(b=!0)}return b},_touchIsMeaningfulEvent:function(a){return this._touchIsTouchEvent(a)&&!this._touchSwiped(a.target)||!this._touchIsTouchEvent(a)&&!this._touchIsEmulatedEvent(a)},_touchIsTouchEvent:function(a){return 0==a.type.indexOf("touch")},_touchRecordEvent:function(a){return this._touchIsTouchEvent(a)&&(a.time=(new Date).getTime(),this.__touchEvents.push(a)),this},_touchSwiped:function(a){for(var b=!1,c=this.__touchEvents.length-1;c>=0;c--){var d=this.__touchEvents[c];if("touchmove"==d.type){b=!0;break}if("touchstart"==d.type&&a===d.target)break}return b},_trigger:function(){var b=Array.prototype.slice.apply(arguments);return"string"==typeof b[0]&&(b[0]={type:b[0]}),b[0].instance=this,b[0].origin=this._$origin?this._$origin[0]:null,b[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,b),a.tooltipster._trigger.apply(a.tooltipster,b),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,b),this},_unplug:function(b){var c=this;if(c[b]){var d=a.tooltipster._plugin(b);d.instance&&a.each(d.instance,function(a,d){c[a]&&c[a].bridged===c[b]&&delete c[a]}),c[b].__destroy&&c[b].__destroy(),delete c[b]}return c},close:function(a){return this.__destroyed?this.__destroyError():this._close(null,a),this},content:function(a){var b=this;if(void 0===a)return b.__Content;if(b.__destroyed)b.__destroyError();else if(b.__contentSet(a),null!==b.__Content){if("closed"!==b.__state&&(b.__contentInsert(),b.reposition(),b.__options.updateAnimation))if(h.hasTransitions){var c=b.__options.updateAnimation;b._$tooltip.addClass("tooltipster-update-"+c),setTimeout(function(){"closed"!=b.__state&&b._$tooltip.removeClass("tooltipster-update-"+c)},1e3)}else b._$tooltip.fadeTo(200,.5,function(){"closed"!=b.__state&&b._$tooltip.fadeTo(200,1)})}else b._close();return b},destroy:function(){var b=this;if(b.__destroyed)b.__destroyError();else{"closed"!=b.__state?b.option("animationDuration",0)._close(null,null,!0):b.__timeoutsClear(),b._trigger("destroy"),b.__destroyed=!0,b._$origin.removeData(b.__namespace).off("."+b.__namespace+"-triggerOpen"),a(h.window.document.body).off("."+b.__namespace+"-triggerOpen");var c=b._$origin.data("tooltipster-ns");if(c)if(1===c.length){var d=null;"previous"==b.__options.restoration?d=b._$origin.data("tooltipster-initialTitle"):"current"==b.__options.restoration&&(d="string"==typeof b.__Content?b.__Content:a("<div></div>").append(b.__Content).html()),d&&b._$origin.attr("title",d),b._$origin.removeClass("tooltipstered"),b._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else c=a.grep(c,function(a,c){return a!==b.__namespace}),b._$origin.data("tooltipster-ns",c);b._trigger("destroyed"),b._off(),b.off(),b.__Content=null,b.__$emitterPrivate=null,b.__$emitterPublic=null,b.__options.parent=null,b._$origin=null,b._$tooltip=null,a.tooltipster.__instancesLatestArr=a.grep(a.tooltipster.__instancesLatestArr,function(a,c){return b!==a}),clearInterval(b.__garbageCollector)}return b},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(a){return this.close(a)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(a){return this.__destroyed?this.__destroyError():this._open(null,a),this},option:function(b,c){return void 0===c?this.__options[b]:(this.__destroyed?this.__destroyError():(this.__options[b]=c,this.__optionsFormat(),a.inArray(b,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===b&&this.__prepareGC()),this)},reposition:function(a,b){var c=this;return c.__destroyed?c.__destroyError():"closed"!=c.__state&&d(c._$origin)&&(b||d(c._$tooltip))&&(b||c._$tooltip.detach(),c.__Geometry=c.__geometry(),c._trigger({type:"reposition",event:a,helper:{geo:c.__Geometry}})),c},show:function(a){return this.open(a)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.fn.tooltipster=function(){var b=Array.prototype.slice.apply(arguments),c="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof b[0]){var d="#*$~&";return this.each(function(){var e=a(this).data("tooltipster-ns"),f=e?a(this).data(e[0]):null;if(!f)throw new Error("You called Tooltipster's \""+b[0]+'" method on an uninitialized element');if("function"!=typeof f[b[0]])throw new Error('Unknown method "'+b[0]+'"');this.length>1&&"content"==b[0]&&(b[1]instanceof a||"object"==typeof b[1]&&null!=b[1]&&b[1].tagName)&&!f.__options.contentCloning&&f.__options.debug&&console.log(c);var g=f[b[0]](b[1],b[2]);return g!==f||"instance"===b[0]?(d=g,!1):void 0}),"#*$~&"!==d?d:this}a.tooltipster.__instancesLatestArr=[];var e=b[0]&&void 0!==b[0].multiple,g=e&&b[0].multiple||!e&&f.multiple,h=b[0]&&void 0!==b[0].content,i=h&&b[0].content||!h&&f.content,j=b[0]&&void 0!==b[0].contentCloning,k=j&&b[0].contentCloning||!j&&f.contentCloning,l=b[0]&&void 0!==b[0].debug,m=l&&b[0].debug||!l&&f.debug;return this.length>1&&(i instanceof a||"object"==typeof i&&null!=i&&i.tagName)&&!k&&m&&console.log(c),this.each(function(){var c=!1,d=a(this),e=d.data("tooltipster-ns"),f=null;e?g?c=!0:m&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):c=!0,c&&(f=new a.Tooltipster(this,b[0]),e||(e=[]),e.push(f.__namespace),d.data("tooltipster-ns",e),d.data(f.__namespace,f),f.__options.functionInit&&f.__options.functionInit.call(f,f,{origin:this}),f._trigger("init")),a.tooltipster.__instancesLatestArr.push(f)}),this},b.prototype={__init:function(b){this.__$tooltip=b,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=a('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo(h.window.document.body)},__forceRedraw:function(){var a=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(a)},constrain:function(a,b){return this.constraints={width:a,height:b},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:a}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var a=this.__$tooltip[0].getBoundingClientRect(),b={size:{height:a.height||a.bottom-a.top,width:a.width||a.right-a.left}};if(this.constraints){var c=this.__$tooltip.find(".tooltipster-content"),d=this.__$tooltip.outerHeight(),e=c[0].getBoundingClientRect(),f={height:d<=this.constraints.height,width:a.width<=this.constraints.width&&e.width>=c[0].scrollWidth-1};b.fits=f.height&&f.width}return h.IE&&h.IE<=11&&b.size.width!==h.window.document.documentElement.clientWidth&&(b.size.width=Math.ceil(b.size.width)+1),b}};var j=navigator.userAgent.toLowerCase();-1!=j.indexOf("msie")?h.IE=parseInt(j.split("msie")[1]):-1!==j.toLowerCase().indexOf("trident")&&-1!==j.indexOf(" rv:11")?h.IE=11:-1!=j.toLowerCase().indexOf("edge/")&&(h.IE=parseInt(j.toLowerCase().split("edge/")[1]));var k="tooltipster.sideTip";return a.tooltipster._plugin({name:k,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(a){var b=this;b.__instance=a,b.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),b.__previousState="closed",b.__options,b.__optionsFormat(),b.__instance._on("state."+b.__namespace,function(a){"closed"==a.state?b.__close():"appearing"==a.state&&"closed"==b.__previousState&&b.__create(),b.__previousState=a.state}),b.__instance._on("options."+b.__namespace,function(){b.__optionsFormat()}),b.__instance._on("reposition."+b.__namespace,function(a){b.__reposition(a.event,a.helper)})},__close:function(){this.__instance.content()instanceof a&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var b=a('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');this.__options.arrow||b.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&b.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&b.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=b,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var b=this;if(b.__options=b.__instance._optionsExtract(k,b.__defaults()),b.__options.position&&(b.__options.side=b.__options.position),"object"!=typeof b.__options.distance&&(b.__options.distance=[b.__options.distance]),b.__options.distance.length<4&&(void 0===b.__options.distance[1]&&(b.__options.distance[1]=b.__options.distance[0]),void 0===b.__options.distance[2]&&(b.__options.distance[2]=b.__options.distance[0]),void 0===b.__options.distance[3]&&(b.__options.distance[3]=b.__options.distance[1])),b.__options.distance={top:b.__options.distance[0],right:b.__options.distance[1],bottom:b.__options.distance[2],left:b.__options.distance[3]},"string"==typeof b.__options.side){var c={top:"bottom",right:"left",bottom:"top",left:"right"};b.__options.side=[b.__options.side,c[b.__options.side]],"left"==b.__options.side[0]||"right"==b.__options.side[0]?b.__options.side.push("top","bottom"):b.__options.side.push("right","left")}6===a.tooltipster._env.IE&&b.__options.arrow!==!0&&(b.__options.arrow=!1)},__reposition:function(b,c){var d,e=this,f=e.__targetFind(c),g=[];e.__instance._$tooltip.detach();var h=e.__instance._$tooltip.clone(),i=a.tooltipster._getRuler(h),j=!1,k=e.__instance.option("animation");switch(k&&h.removeClass("tooltipster-"+k),a.each(["window","document"],function(d,k){var l=null;if(e.__instance._trigger({container:k,helper:c,satisfied:j,takeTest:function(a){l=a},results:g,type:"positionTest"}),1==l||0!=l&&0==j&&("window"!=k||e.__options.viewportAware))for(var d=0;d<e.__options.side.length;d++){var m={horizontal:0,vertical:0},n=e.__options.side[d];"top"==n||"bottom"==n?m.vertical=e.__options.distance[n]:m.horizontal=e.__options.distance[n],e.__sideChange(h,n),a.each(["natural","constrained"],function(a,d){if(l=null,e.__instance._trigger({container:k,event:b,helper:c,mode:d,results:g,satisfied:j,side:n,takeTest:function(a){l=a},type:"positionTest"}),1==l||0!=l&&0==j){var h={container:k,distance:m,fits:null,mode:d,outerSize:null,side:n,size:null,target:f[n],whole:null},o="natural"==d?i.free():i.constrain(c.geo.available[k][n].width-m.horizontal,c.geo.available[k][n].height-m.vertical),p=o.measure();if(h.size=p.size,h.outerSize={height:p.size.height+m.vertical,width:p.size.width+m.horizontal},"natural"==d?c.geo.available[k][n].width>=h.outerSize.width&&c.geo.available[k][n].height>=h.outerSize.height?h.fits=!0:h.fits=!1:h.fits=p.fits,"window"==k&&(h.fits?"top"==n||"bottom"==n?h.whole=c.geo.origin.windowOffset.right>=e.__options.minIntersection&&c.geo.window.size.width-c.geo.origin.windowOffset.left>=e.__options.minIntersection:h.whole=c.geo.origin.windowOffset.bottom>=e.__options.minIntersection&&c.geo.window.size.height-c.geo.origin.windowOffset.top>=e.__options.minIntersection:h.whole=!1),g.push(h),h.whole)j=!0;else if("natural"==h.mode&&(h.fits||h.size.width<=c.geo.available[k][n].width))return!1}})}}),e.__instance._trigger({edit:function(a){g=a},event:b,helper:c,results:g,type:"positionTested"}),g.sort(function(a,b){if(a.whole&&!b.whole)return-1;if(!a.whole&&b.whole)return 1;if(a.whole&&b.whole){var c=e.__options.side.indexOf(a.side),d=e.__options.side.indexOf(b.side);return d>c?-1:c>d?1:"natural"==a.mode?-1:1}if(a.fits&&!b.fits)return-1;if(!a.fits&&b.fits)return 1;if(a.fits&&b.fits){var c=e.__options.side.indexOf(a.side),d=e.__options.side.indexOf(b.side);return d>c?-1:c>d?1:"natural"==a.mode?-1:1}return"document"==a.container&&"bottom"==a.side&&"natural"==a.mode?-1:1}),d=g[0],d.coord={},d.side){case"left":case"right":d.coord.top=Math.floor(d.target-d.size.height/2);break;case"bottom":case"top":d.coord.left=Math.floor(d.target-d.size.width/2)}switch(d.side){case"left":d.coord.left=c.geo.origin.windowOffset.left-d.outerSize.width;break;case"right":d.coord.left=c.geo.origin.windowOffset.right+d.distance.horizontal;break;case"top":d.coord.top=c.geo.origin.windowOffset.top-d.outerSize.height;break;case"bottom":d.coord.top=c.geo.origin.windowOffset.bottom+d.distance.vertical}"window"==d.container?"top"==d.side||"bottom"==d.side?d.coord.left<0?c.geo.origin.windowOffset.right-this.__options.minIntersection>=0?d.coord.left=0:d.coord.left=c.geo.origin.windowOffset.right-this.__options.minIntersection-1:d.coord.left>c.geo.window.size.width-d.size.width&&(c.geo.origin.windowOffset.left+this.__options.minIntersection<=c.geo.window.size.width?d.coord.left=c.geo.window.size.width-d.size.width:d.coord.left=c.geo.origin.windowOffset.left+this.__options.minIntersection+1-d.size.width):d.coord.top<0?c.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0?d.coord.top=0:d.coord.top=c.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:d.coord.top>c.geo.window.size.height-d.size.height&&(c.geo.origin.windowOffset.top+this.__options.minIntersection<=c.geo.window.size.height?d.coord.top=c.geo.window.size.height-d.size.height:d.coord.top=c.geo.origin.windowOffset.top+this.__options.minIntersection+1-d.size.height):(d.coord.left>c.geo.window.size.width-d.size.width&&(d.coord.left=c.geo.window.size.width-d.size.width),d.coord.left<0&&(d.coord.left=0)),e.__sideChange(h,d.side),c.tooltipClone=h[0],c.tooltipParent=e.__instance.option("parent").parent[0],c.mode=d.mode,c.whole=d.whole,c.origin=e.__instance._$origin[0],c.tooltip=e.__instance._$tooltip[0],delete d.container,delete d.fits,delete d.mode,delete d.outerSize,delete d.whole,d.distance=d.distance.horizontal||d.distance.vertical;var l=a.extend(!0,{},d);if(e.__instance._trigger({edit:function(a){d=a},event:b,helper:c,position:l,type:"position"}),e.__options.functionPosition){var m=e.__options.functionPosition.call(e,e.__instance,c,l);m&&(d=m)}i.destroy();var n,o;"top"==d.side||"bottom"==d.side?(n={prop:"left",val:d.target-d.coord.left},o=d.size.width-this.__options.minIntersection):(n={prop:"top",val:d.target-d.coord.top},o=d.size.height-this.__options.minIntersection),n.val<this.__options.minIntersection?n.val=this.__options.minIntersection:n.val>o&&(n.val=o);var p;p=c.geo.origin.fixedLineage?c.geo.origin.windowOffset:{left:c.geo.origin.windowOffset.left+c.geo.window.scroll.left,top:c.geo.origin.windowOffset.top+c.geo.window.scroll.top},d.coord={left:p.left+(d.coord.left-c.geo.origin.windowOffset.left),top:p.top+(d.coord.top-c.geo.origin.windowOffset.top)},e.__sideChange(e.__instance._$tooltip,d.side),c.geo.origin.fixedLineage?e.__instance._$tooltip.css("position","fixed"):e.__instance._$tooltip.css("position",""),e.__instance._$tooltip.css({left:d.coord.left,top:d.coord.top,height:d.size.height,width:d.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(n.prop,n.val),e.__instance._$tooltip.appendTo(e.__instance.option("parent")),e.__instance._trigger({type:"repositioned",event:b,position:d})},__sideChange:function(a,b){a.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+b)},__targetFind:function(a){var b={},c=this.__instance._$origin[0].getClientRects();if(c.length>1){var d=this.__instance._$origin.css("opacity");1==d&&(this.__instance._$origin.css("opacity",.99),c=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1))}if(c.length<2)b.top=Math.floor(a.geo.origin.windowOffset.left+a.geo.origin.size.width/2),b.bottom=b.top,b.left=Math.floor(a.geo.origin.windowOffset.top+a.geo.origin.size.height/2),b.right=b.left;else{var e=c[0];b.top=Math.floor(e.left+(e.right-e.left)/2),e=c.length>2?c[Math.ceil(c.length/2)-1]:c[0],b.right=Math.floor(e.top+(e.bottom-e.top)/2),e=c[c.length-1],b.bottom=Math.floor(e.left+(e.right-e.left)/2),e=c.length>2?c[Math.ceil((c.length+1)/2)-1]:c[c.length-1],b.left=Math.floor(e.top+(e.bottom-e.top)/2)}return b}}}),a});/**
 * Copyright 2024 LÍNEA GRÁFICA E.C.E S.L.
 *
 * @author    Línea Gráfica E.C.E. S.L.
 * @copyright Lineagrafica.es - Línea Gráfica E.C.E. S.L. all rights reserved.
 * @license   https://www.apache.org/licenses/LICENSE-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
window.addEventListener('load',function(){if(typeof(lgcookieslaw_consent_mode)!=='undefined'&&lgcookieslaw_consent_mode==1){var first_script=document.getElementsByTagName("script")[0];var script_consent_default=$('#lgcookieslaw_script_gtm')[0];document.head.insertBefore(script_consent_default,first_script)}
var object_lgcookieslaw_front=new LGCookiesLawFront();object_lgcookieslaw_front.init()});function LGCookiesLawFront(){var self=this;var reload;var show_fixed_button;var saved_preferences;var save_user_consent;var reject_cookies_when_closing_banner;var consent_mode;var banner_urls;var banner_selectors;this.init=function(){if(typeof(lgcookieslaw_reload)!=='undefined'){self.reload=lgcookieslaw_reload}else{self.reload=0}
if(typeof(lgcookieslaw_block_navigation)!=='undefined'){self.block_navigation=lgcookieslaw_block_navigation}else{self.block_navigation=0}
if(typeof(lgcookieslaw_show_fixed_button)!=='undefined'){self.show_fixed_button=lgcookieslaw_show_fixed_button}else{self.show_fixed_button=1}
if(typeof(lgcookieslaw_saved_preferences)!=='undefined'){self.saved_preferences=lgcookieslaw_saved_preferences}else{self.saved_preferences=1}
if(typeof(lgcookieslaw_save_user_consent)!=='undefined'){self.save_user_consent=lgcookieslaw_save_user_consent}else{self.save_user_consent=1}
if(typeof(lgcookieslaw_reject_cookies_when_closing_banner)!=='undefined'){self.reject_cookies_when_closing_banner=lgcookieslaw_reject_cookies_when_closing_banner}else{self.reject_cookies_when_closing_banner=0}
if(typeof(lgcookieslaw_consent_mode)!=='undefined'){self.consent_mode=lgcookieslaw_consent_mode}else{self.consent_mode=1}
self.initBanner()};this.initBanner=function(){self.initBannerURLs();self.initBannerSelectors();self.initBannerEvents();self.initBannerElements();self.showInitialBanner()};this.initBannerSelectors=function(){self.banner_selectors={banner:'#lgcookieslaw_banner',banner_desktop:'#desktop-header #lgcookieslaw_banner',banner_mobile:'#mobile-header #lgcookieslaw_banner',overlay:'.lgcookieslaw-overlay',modal:'#lgcookieslaw_modal',customize_cookies_link:'#lgcookieslaw_customize_cookies_link',fixed_button:'#lgcookieslaw_fixed_button',fixed_button_desktop:'#desktop-header #lgcookieslaw_fixed_button',fixed_button_mobile:'#mobile-header #lgcookieslaw_fixed_button',accept_buttons:'.lgcookieslaw-accept-button',reject_buttons:'.lgcookieslaw-reject-button',partial_accept_buttons:'.lgcookieslaw-partial-accept-button',banner_close_button:'.lgcookieslaw-banner-close-button',sliders:'.lgcookieslaw-slider',slider:'#lgcookieslaw_slider_',tooltips:'.lgcookieslaw-tooltip-container',cancel_button:'#lgcookieslaw_cancel_button',purposes:'.lgcookieslaw-purpose',user_consent_elements:'.lgcookieslaw-modal-header-title-user-consent-elements',user_consent_download:'.lgcookieslaw-user-consent-download',user_consent_consent_date:'.lgcookieslaw-user-consent-consent-date',user_consent_consent_date_text:'.lgcookieslaw-user-consent-consent-date-text',}};this.initBannerURLs=function(){if(typeof(lgcookieslaw_reject_cookies_when_closing_banner)!=='undefined'){banner_url=lgcookieslaw_banner_url_ajax_controller}else{banner_url=''}
self.banner_urls={ajax_controller:banner_url,}};this.initBannerEvents=function(){$(self.banner_selectors.cancel_button).click(function(e){e.preventDefault();let cancelButtonCallBack=async function(){if(typeof $.fancybox.close!=='function'){$(self.banner_selectors.modal).hide('slow',function(){self.enableButtons()})}else{$.fancybox.close()}
await self.showInitialBanner()}
$('#lgcookieslaw_banner').toggle();$('#lgcookieslaw_modal').toggle();if($(window).width()<768){$('.lgcookieslaw-banner-container').toggle()}
cancelButtonCallBack()});$('#lgcookieslaw_customize_cookies_link').click(function(e){e.preventDefault();$('#lgcookieslaw_modal').toggle();if($(window).width()<768){$('.lgcookieslaw-banner-container').toggle()}});$(self.banner_selectors.fixed_button).click(function(e){e.preventDefault();$('#lgcookieslaw_banner').toggle();$('#lgcookieslaw_modal').toggle()});$(self.banner_selectors.accept_buttons).click(function(e){e.preventDefault();self.saveUserPreferences('accept')});$(self.banner_selectors.reject_buttons).click(function(e){e.preventDefault();self.saveUserPreferences('reject')});$(self.banner_selectors.partial_accept_buttons).click(function(e){e.preventDefault();self.saveUserPreferences('partial_accept')});$(self.banner_selectors.sliders).click(function(e){e.preventDefault();self.slideSwitch(this)});if($(self.banner_selectors.banner_close_button).length){$(self.banner_selectors.banner_close_button).click(function(e){e.preventDefault();if(self.reject_cookies_when_closing_banner){self.saveUserPreferences('reject')}else{self.hideBanner()}})}};this.initBannerElements=function(){self.initTooltipElements();self.initConsentElements()};this.initConsentElements=function(){if(self.save_user_consent&&self.saved_preferences){$(self.banner_selectors.user_consent_elements).show()}else{$(self.banner_selectors.user_consent_elements).hide()}};this.showInitialBanner=function(){if(self.saved_preferences){self.hideBanner();self.showFixedButton()}else{self.showBanner();self.hideFixedButton()}};this.showBanner=function(){if($(self.banner_selectors.banner_desktop).length||$(self.banner_selectors.banner_mobile).length){if(window.innerWidth>=992){var banner=$(self.banner_selectors.banner_desktop)}else{var banner=$(self.banner_selectors.banner_mobile)}}else{var banner=$(self.banner_selectors.banner)}
if(banner.length){banner.css('display','table')}
if(self.block_navigation){$(self.banner_selectors.overlay).css('display','block')}};this.hideBanner=function(){if($(self.banner_selectors.banner_desktop).length||$(self.banner_selectors.banner_mobile).length){if(window.innerWidth>=992){var banner=$(self.banner_selectors.banner_desktop)}else{var banner=$(self.banner_selectors.banner_mobile)}}else{var banner=$(self.banner_selectors.banner)}
if(banner.length){banner.css('display','none')}
if(self.block_navigation){$(self.banner_selectors.overlay).css('display','none')}};this.showFixedButton=function(){if(self.show_fixed_button){if($(self.banner_selectors.fixed_button_desktop).length||$(self.banner_selectors.fixed_button_mobile).length){if(window.innerWidth>=992){var fixed_button=$(self.banner_selectors.fixed_button_desktop)}else{var fixed_button=$(self.banner_selectors.fixed_button_mobile)}}else{var fixed_button=$(self.banner_selectors.fixed_button)}
if(fixed_button.length){fixed_button.css('display','flex').hide().fadeIn()}}};this.hideFixedButton=function(){if(self.show_fixed_button){if($(self.banner_selectors.fixed_button_desktop).length||$(self.banner_selectors.fixed_button_mobile).length){if(window.innerWidth>=992){var fixed_button=$(self.banner_selectors.fixed_button_desktop)}else{var fixed_button=$(self.banner_selectors.fixed_button_mobile)}}else{var fixed_button=$(self.banner_selectors.fixed_button)}
if(fixed_button.length){fixed_button.fadeOut()}}};this.initFancyBoxElements=function(){var fancybox_options={href:self.banner_selectors.modal,autoSize:!1,width:700,height:'auto',padding:0,wrapCSS:'lgcookieslaw-fancybox',modal:!0,helpers:{overlay:{css:{'transition':'1s',},},},beforeClose:function(){self.showInitialBanner()},afterClose:function(){self.enableButtons()},beforeLoad:function(){self.hideBanner();self.hideFixedButton();self.enableButtons()},};if(jQuery().fancybox){$(self.banner_selectors.customize_cookies_link).fancybox(fancybox_options)}
if(self.show_fixed_button){if($(self.banner_selectors.fixed_button_desktop).length||$(self.banner_selectors.fixed_button_mobile).length){if(window.innerWidth>=992){$(self.banner_selectors.fixed_button_desktop).fancybox(fancybox_options)}else{$(self.banner_selectors.fixed_button_mobile).fancybox(fancybox_options)}}else{$(self.banner_selectors.fixed_button).fancybox(fancybox_options)}}};this.initTooltipElements=function(){if(jQuery().tooltipster){$(self.banner_selectors.tooltips).tooltipster({theme:'tooltipster-borderless',})}};this.enableButtons=function(){$(self.banner_selectors.accept_buttons).prop('disabled',!1);$(self.banner_selectors.reject_buttons).prop('disabled',!1);$(self.banner_selectors.partial_accept_buttons).prop('disabled',!1)};this.disableButtons=function(){$(self.banner_selectors.accept_buttons).prop('disabled',!0);$(self.banner_selectors.reject_buttons).prop('disabled',!0);$(self.banner_selectors.partial_accept_buttons).prop('disabled',!0)};this.saveUserPreferences=function(consent_type){var success=consent_type;self.disableButtons();if(success){self.setConsentType(consent_type);var accepted_purposes=self.getAcceptedPurposes();$.ajax({type:'POST',headers:{'cache-control':'no-cache',},url:self.banner_urls.ajax_controller+'?rand='+new Date().getTime(),async:!1,cache:!1,dataType:'json',data:{action:'saveUserPreferences',ajax:!0,token:lgcookieslaw_ajax_calls_token,accepted_purposes:accepted_purposes,},success:function(data){success=data.status;if(data.status){if(self.reload==!0){location.reload()}else{self.saved_preferences=!0;$(self.banner_selectors.user_consent_consent_date).tooltipster('destroy');$(self.banner_selectors.user_consent_consent_date).attr('title',data.user_consent_consent_date_content).tooltipster({theme:'tooltipster-borderless',restoration:'current',});$(self.banner_selectors.user_consent_consent_date_text).text(data.user_consent_consent_date_text);if(data.user_consent_download_url!=!1){$(self.banner_selectors.user_consent_download).attr('href',data.user_consent_download_url);$(self.banner_selectors.user_consent_download).show()}else{$(self.banner_selectors.user_consent_download).hide()}
self.initConsentElements();self.updateConsentMode(consent_type);$(self.banner_selectors.cancel_button).click()}}},})}
return success};this.setConsentType=function(consent_type){var check=null;switch(consent_type){case 'accept':check=!0;break;case 'reject':check=!1;break;case 'partial_accept':default:break}
if(check!==null){$(self.banner_selectors.purposes).each(function(){var checkbox=$(this);if(!checkbox.data('technical')&&checkbox.data('checked')!=check){var slider=$(self.banner_selectors.slider+checkbox.data('id-lgcookieslaw-purpose'));let clickSliderCallBack=async function(){await self.slideSwitch(slider)}
clickSliderCallBack()}})}};this.getAcceptedPurposes=function(){var accepted_purposes=[];$(self.banner_selectors.purposes).each(function(){var checkbox=$(this);if(checkbox.data('checked')){accepted_purposes.push(checkbox.data('id-lgcookieslaw-purpose'))}});return accepted_purposes};this.getCookies=function(){var cookies=[];var pairs=document.cookie.split(';');for(var i=0;i<pairs.length;i++){var pair=pairs[i].split('=');cookies[(pair[0]+'').trim()]=unescape(pair[1])}
return cookies};this.deleteCookies=function(cookies){var success=!self.isEmpty(cookies);if(success){Object.keys(cookies).map(function(key,index){document.cookie=key+'=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/';document.cookie=key+'=; domain=.'+window.location.hostname+'; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/';document.cookie=key+'=; domain=.'+window.location.hostname.replace('www.','')+'; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/'})}
return success};this.updateConsentMode=function(consent_type){if(self.consent_mode){var check=null;var accepted_purposes=self.getAcceptedPurposes();switch(consent_type){case 'accept':check=!0;break;case 'reject':check=!1;break;case 'partial_accept':default:break}
if(check==!0){gtag('consent','update',{'ad_storage':'granted','ad_user_data':'granted','ad_personalization':'granted','analytics_storage':'granted'})}else if(check==!1){gtag('consent','update',{'ad_storage':'denied','ad_user_data':'denied','ad_personalization':'denied','analytics_storage':'denied'})}else{var advertising_cookies=2;var analytics_cookies=3;if(accepted_purposes[1]==advertising_cookies&&accepted_purposes[2]!==analytics_cookies){gtag('consent','update',{'ad_storage':'granted','ad_user_data':'granted','ad_personalization':'granted','analytics_storage':'denied'})}else if(accepted_purposes[1]==analytics_cookies){gtag('consent','update',{'ad_storage':'denied','ad_user_data':'denied','ad_personalization':'denied','analytics_storage':'granted'})}else if(accepted_purposes[1]==advertising_cookies&&accepted_purposes[2]==analytics_cookies){gtag('consent','update',{'ad_storage':'granted','ad_user_data':'granted','ad_personalization':'granted','analytics_storage':'granted'})}}}};this.slideSwitch=function(slider){if(!$(slider).parent().hasClass('lgcookieslaw-switch-disabled')){var checkbox=$(slider).parent().find('input[type=checkbox]');if($(slider).hasClass('lgcookieslaw-slider-checked')){$(slider).removeClass('lgcookieslaw-slider-checked');checkbox.data('checked',!1)}else{$(slider).addClass('lgcookieslaw-slider-checked');checkbox.data('checked',!0)}}};this.showMessage=function(caller_element,caller_element_context,alert_type,message){self.cleanMessage(caller_element);$(caller_element+'_alert').addClass('alert-'+alert_type).html(message).fadeIn();$(caller_element_context).animate({scrollTop:0})};this.cleanMessage=function(caller_element){$(caller_element+'_alert').removeClass('alert-success alert-danger').html('')};this.validateFieldsForm=function(caller_element,caller_element_context,error_message){var correct_fields=!0;$(caller_element+' input[type=text].is_required:visible, '+caller_element+' input[type=password].is_required:visible, '+caller_element+' input[type=tel].is_required:visible, '+caller_element+' textarea.is_required:visible').each(function(){if(!$(this).val()||$(this).parent().hasClass('form-error')||$(this).parent().parent().hasClass('form-error')){if($(this).parent().hasClass('input-group')){$(this).parent().parent().addClass('form-error')}else{$(this).parent().addClass('form-error')}
correct_fields=!1}});if(!correct_fields){self.showMessage(caller_element,caller_element_context,'danger',error_message)}
return correct_fields};this.validateIsCustomerName=function(s){var reg=/^(?:[^0-9!<>,;?=+()\/\\@#"°*`\{\}_^$%:¤\[\]|\.。]|[\.。](?:\s|$))*$/;return reg.test(s)};this.validateIsName=function(s){var reg=/^[^0-9!<>,;?=+()@#"°\{\}_$%:]+$/;return reg.test(s)}
this.validateIsGenericName=function(s){var reg=/^[^<>={}]+$/;return reg.test(s)};this.validateIsAddress=function(s){var reg=/^[^!<>?=+@{}_$%]+$/;return reg.test(s)};this.validateIsPostCode=function(s,pattern,iso_code){if(typeof iso_code==='undefined'||iso_code==''){iso_code='[A-Z]{2}'}
if(typeof(pattern)=='undefined'||pattern.length==0){pattern='[a-zA-Z 0-9-]+'}else{var replacements={' ':'(?:\ |)','-':'(?:-|)','N':'[0-9]','L':'[a-zA-Z]','C':iso_code};for(var new_value in replacements){pattern=pattern.split(new_value).join(replacements[new_value])}}
var reg=new RegExp('^'+pattern+'$');return reg.test(s)};this.validateIsCityName=function(s){var reg=/^[^!<>;?=+@#"°{}_$%]+$/;return reg.test(s)};this.validateIsMessage=function(s){var reg=/^[^<>{}]+$/;return reg.test(s)};this.validateIsPhoneNumber=function(s){var reg=/^[+0-9. ()-]+$/;return reg.test(s)};this.validateIsDniLite=function(s){var reg=/^[0-9a-z-.]{1,16}$/i;return reg.test(s)};this.validateIsEmail=function(s){var reg=LGCookiesLawUnicodeHack(/^[a-z\p{L}0-9!#$%&'*+\/=?^`{}|~_-]+[.a-z\p{L}0-9!#$%&'*+\/=?^`{}|~_-]*@[a-z\p{L}0-9]+[._a-z\p{L}0-9-]*\.[a-z\p{L}0-9]+$/i,!1);return reg.test(s)};this.validateIsPasswd=function(s){return(s.length>=5&&s.length<255)};this.validateField=function(that){if($(that).hasClass('is_required')||$(that).val().length){var result=!0;if($(that).hasClass('is_required')&&!$(that).val().length){result=!1}
if(result){if($(that).attr('data-validate')){var result=eval("self.validate"+self.capitalizeFirstLetter($(that).attr('data-validate'))+"($(that).val());")}}
if($(that).parent().hasClass('input-group')){if(result){$(that).parent().parent().removeClass('form-error').addClass('form-ok')}else{$(that).parent().parent().addClass('form-error').removeClass('form-ok')}}else{if(result){$(that).parent().removeClass('form-error').addClass('form-ok')}else{$(that).parent().addClass('form-error').removeClass('form-ok')}}}};this.capitalizeFirstLetter=function(string){return string.charAt(0).toUpperCase()+string.slice(1)};this.inArray=function(needle,haystack){var length=haystack.length;for(var i=0;i<length;i++){if(haystack[i]==needle){return!0}}
return!1};this.isEmpty=function(value){return value===undefined||value==null||value.length<=0}}
var LGCookiesLawUnicodeHack=(function(){var unicodeCategories={Pi:'[\u00ab\u2018\u201b\u201c\u201f\u2039\u2e02\u2e04\u2e09\u2e0c\u2e1c]',Sk:'[\u005e\u0060\u00a8\u00af\u00b4\u00b8\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02ed\u02ef-\u02ff\u0374\u0375\u0384\u0385\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u309b\u309c\ua700-\ua716\ua720\ua721\uff3e\uff40\uffe3]',Sm:'[\u002b\u003c-\u003e\u007c\u007e\u00ac\u00b1\u00d7\u00f7\u03f6\u2044\u2052\u207a-\u207c\u208a-\u208c\u2140-\u2144\u214b\u2190-\u2194\u219a\u219b\u21a0\u21a3\u21a6\u21ae\u21ce\u21cf\u21d2\u21d4\u21f4-\u22ff\u2308-\u230b\u2320\u2321\u237c\u239b-\u23b3\u23dc-\u23e1\u25b7\u25c1\u25f8-\u25ff\u266f\u27c0-\u27c4\u27c7-\u27ca\u27d0-\u27e5\u27f0-\u27ff\u2900-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2aff\ufb29\ufe62\ufe64-\ufe66\uff0b\uff1c-\uff1e\uff5c\uff5e\uffe2\uffe9-\uffec]',So:'[\u00a6\u00a7\u00a9\u00ae\u00b0\u00b6\u0482\u060e\u060f\u06e9\u06fd\u06fe\u07f6\u09fa\u0b70\u0bf3-\u0bf8\u0bfa\u0cf1\u0cf2\u0f01-\u0f03\u0f13-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fcf\u1360\u1390-\u1399\u1940\u19e0-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u214a\u214c\u214d\u2195-\u2199\u219c-\u219f\u21a1\u21a2\u21a4\u21a5\u21a7-\u21ad\u21af-\u21cd\u21d0\u21d1\u21d3\u21d5-\u21f3\u2300-\u2307\u230c-\u231f\u2322-\u2328\u232b-\u237b\u237d-\u239a\u23b4-\u23db\u23e2-\u23e7\u2400-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u25b6\u25b8-\u25c0\u25c2-\u25f7\u2600-\u266e\u2670-\u269c\u26a0-\u26b2\u2701-\u2704\u2706-\u2709\u270c-\u2727\u2729-\u274b\u274d\u274f-\u2752\u2756\u2758-\u275e\u2761-\u2767\u2794\u2798-\u27af\u27b1-\u27be\u2800-\u28ff\u2b00-\u2b1a\u2b20-\u2b23\u2ce5-\u2cea\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u3190\u3191\u3196-\u319f\u31c0-\u31cf\u3200-\u321e\u322a-\u3243\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u32fe\u3300-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua828-\ua82b\ufdfd\uffe4\uffe8\uffed\uffee\ufffc\ufffd]',Po:'[\u0021-\u0023\u0025-\u0027\u002a\u002c\u002e\u002f\u003a\u003b\u003f\u0040\u005c\u00a1\u00b7\u00bf\u037e\u0387\u055a-\u055f\u0589\u05be\u05c0\u05c3\u05c6\u05f3\u05f4\u060c\u060d\u061b\u061e\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0964\u0965\u0970\u0df4\u0e4f\u0e5a\u0e5b\u0f04-\u0f12\u0f85\u0fd0\u0fd1\u104a-\u104f\u10fb\u1361-\u1368\u166d\u166e\u16eb-\u16ed\u1735\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u1805\u1807-\u180a\u1944\u1945\u19de\u19df\u1a1e\u1a1f\u1b5a-\u1b60\u2016\u2017\u2020-\u2027\u2030-\u2038\u203b-\u203e\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205e\u2cf9-\u2cfc\u2cfe\u2cff\u2e00\u2e01\u2e06-\u2e08\u2e0b\u2e0e-\u2e16\u3001-\u3003\u303d\u30fb\ua874-\ua877\ufe10-\ufe16\ufe19\ufe30\ufe45\ufe46\ufe49-\ufe4c\ufe50-\ufe52\ufe54-\ufe57\ufe5f-\ufe61\ufe68\ufe6a\ufe6b\uff01-\uff03\uff05-\uff07\uff0a\uff0c\uff0e\uff0f\uff1a\uff1b\uff1f\uff20\uff3c\uff61\uff64\uff65]',Mn:'[\u0300-\u036f\u0483-\u0486\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u0615\u064b-\u065e\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0901\u0902\u093c\u0941-\u0948\u094d\u0951-\u0954\u0962\u0963\u0981\u09bc\u09c1-\u09c4\u09cd\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a70\u0a71\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3f\u0b41-\u0b43\u0b4d\u0b56\u0b82\u0bc0\u0bcd\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0cbc\u0cbf\u0cc6\u0ccc\u0ccd\u0ce2\u0ce3\u0d41-\u0d43\u0d4d\u0dca\u0dd2-\u0dd4\u0dd6\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032\u1036\u1037\u1039\u1058\u1059\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1dc0-\u1dca\u1dfe\u1dff\u20d0-\u20dc\u20e1\u20e5-\u20ef\u302a-\u302f\u3099\u309a\ua806\ua80b\ua825\ua826\ufb1e\ufe00-\ufe0f\ufe20-\ufe23]',Ps:'[\u0028\u005b\u007b\u0f3a\u0f3c\u169b\u201a\u201e\u2045\u207d\u208d\u2329\u2768\u276a\u276c\u276e\u2770\u2772\u2774\u27c5\u27e6\u27e8\u27ea\u2983\u2985\u2987\u2989\u298b\u298d\u298f\u2991\u2993\u2995\u2997\u29d8\u29da\u29fc\u3008\u300a\u300c\u300e\u3010\u3014\u3016\u3018\u301a\u301d\ufd3e\ufe17\ufe35\ufe37\ufe39\ufe3b\ufe3d\ufe3f\ufe41\ufe43\ufe47\ufe59\ufe5b\ufe5d\uff08\uff3b\uff5b\uff5f\uff62]',Cc:'[\u0000-\u001f\u007f-\u009f]',Cf:'[\u00ad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u202a-\u202e\u2060-\u2063\u206a-\u206f\ufeff\ufff9-\ufffb]',Ll:'[\u0061-\u007a\u00aa\u00b5\u00ba\u00df-\u00f6\u00f8-\u00ff\u0101\u0103\u0105\u0107\u0109\u010b\u010d\u010f\u0111\u0113\u0115\u0117\u0119\u011b\u011d\u011f\u0121\u0123\u0125\u0127\u0129\u012b\u012d\u012f\u0131\u0133\u0135\u0137\u0138\u013a\u013c\u013e\u0140\u0142\u0144\u0146\u0148\u0149\u014b\u014d\u014f\u0151\u0153\u0155\u0157\u0159\u015b\u015d\u015f\u0161\u0163\u0165\u0167\u0169\u016b\u016d\u016f\u0171\u0173\u0175\u0177\u017a\u017c\u017e-\u0180\u0183\u0185\u0188\u018c\u018d\u0192\u0195\u0199-\u019b\u019e\u01a1\u01a3\u01a5\u01a8\u01aa\u01ab\u01ad\u01b0\u01b4\u01b6\u01b9\u01ba\u01bd-\u01bf\u01c6\u01c9\u01cc\u01ce\u01d0\u01d2\u01d4\u01d6\u01d8\u01da\u01dc\u01dd\u01df\u01e1\u01e3\u01e5\u01e7\u01e9\u01eb\u01ed\u01ef\u01f0\u01f3\u01f5\u01f9\u01fb\u01fd\u01ff\u0201\u0203\u0205\u0207\u0209\u020b\u020d\u020f\u0211\u0213\u0215\u0217\u0219\u021b\u021d\u021f\u0221\u0223\u0225\u0227\u0229\u022b\u022d\u022f\u0231\u0233-\u0239\u023c\u023f\u0240\u0242\u0247\u0249\u024b\u024d\u024f-\u0293\u0295-\u02af\u037b-\u037d\u0390\u03ac-\u03ce\u03d0\u03d1\u03d5-\u03d7\u03d9\u03db\u03dd\u03df\u03e1\u03e3\u03e5\u03e7\u03e9\u03eb\u03ed\u03ef-\u03f3\u03f5\u03f8\u03fb\u03fc\u0430-\u045f\u0461\u0463\u0465\u0467\u0469\u046b\u046d\u046f\u0471\u0473\u0475\u0477\u0479\u047b\u047d\u047f\u0481\u048b\u048d\u048f\u0491\u0493\u0495\u0497\u0499\u049b\u049d\u049f\u04a1\u04a3\u04a5\u04a7\u04a9\u04ab\u04ad\u04af\u04b1\u04b3\u04b5\u04b7\u04b9\u04bb\u04bd\u04bf\u04c2\u04c4\u04c6\u04c8\u04ca\u04cc\u04ce\u04cf\u04d1\u04d3\u04d5\u04d7\u04d9\u04db\u04dd\u04df\u04e1\u04e3\u04e5\u04e7\u04e9\u04eb\u04ed\u04ef\u04f1\u04f3\u04f5\u04f7\u04f9\u04fb\u04fd\u04ff\u0501\u0503\u0505\u0507\u0509\u050b\u050d\u050f\u0511\u0513\u0561-\u0587\u1d00-\u1d2b\u1d62-\u1d77\u1d79-\u1d9a\u1e01\u1e03\u1e05\u1e07\u1e09\u1e0b\u1e0d\u1e0f\u1e11\u1e13\u1e15\u1e17\u1e19\u1e1b\u1e1d\u1e1f\u1e21\u1e23\u1e25\u1e27\u1e29\u1e2b\u1e2d\u1e2f\u1e31\u1e33\u1e35\u1e37\u1e39\u1e3b\u1e3d\u1e3f\u1e41\u1e43\u1e45\u1e47\u1e49\u1e4b\u1e4d\u1e4f\u1e51\u1e53\u1e55\u1e57\u1e59\u1e5b\u1e5d\u1e5f\u1e61\u1e63\u1e65\u1e67\u1e69\u1e6b\u1e6d\u1e6f\u1e71\u1e73\u1e75\u1e77\u1e79\u1e7b\u1e7d\u1e7f\u1e81\u1e83\u1e85\u1e87\u1e89\u1e8b\u1e8d\u1e8f\u1e91\u1e93\u1e95-\u1e9b\u1ea1\u1ea3\u1ea5\u1ea7\u1ea9\u1eab\u1ead\u1eaf\u1eb1\u1eb3\u1eb5\u1eb7\u1eb9\u1ebb\u1ebd\u1ebf\u1ec1\u1ec3\u1ec5\u1ec7\u1ec9\u1ecb\u1ecd\u1ecf\u1ed1\u1ed3\u1ed5\u1ed7\u1ed9\u1edb\u1edd\u1edf\u1ee1\u1ee3\u1ee5\u1ee7\u1ee9\u1eeb\u1eed\u1eef\u1ef1\u1ef3\u1ef5\u1ef7\u1ef9\u1f00-\u1f07\u1f10-\u1f15\u1f20-\u1f27\u1f30-\u1f37\u1f40-\u1f45\u1f50-\u1f57\u1f60-\u1f67\u1f70-\u1f7d\u1f80-\u1f87\u1f90-\u1f97\u1fa0-\u1fa7\u1fb0-\u1fb4\u1fb6\u1fb7\u1fbe\u1fc2-\u1fc4\u1fc6\u1fc7\u1fd0-\u1fd3\u1fd6\u1fd7\u1fe0-\u1fe7\u1ff2-\u1ff4\u1ff6\u1ff7\u2071\u207f\u210a\u210e\u210f\u2113\u212f\u2134\u2139\u213c\u213d\u2146-\u2149\u214e\u2184\u2c30-\u2c5e\u2c61\u2c65\u2c66\u2c68\u2c6a\u2c6c\u2c74\u2c76\u2c77\u2c81\u2c83\u2c85\u2c87\u2c89\u2c8b\u2c8d\u2c8f\u2c91\u2c93\u2c95\u2c97\u2c99\u2c9b\u2c9d\u2c9f\u2ca1\u2ca3\u2ca5\u2ca7\u2ca9\u2cab\u2cad\u2caf\u2cb1\u2cb3\u2cb5\u2cb7\u2cb9\u2cbb\u2cbd\u2cbf\u2cc1\u2cc3\u2cc5\u2cc7\u2cc9\u2ccb\u2ccd\u2ccf\u2cd1\u2cd3\u2cd5\u2cd7\u2cd9\u2cdb\u2cdd\u2cdf\u2ce1\u2ce3\u2ce4\u2d00-\u2d25\ufb00-\ufb06\ufb13-\ufb17\uff41-\uff5a]',Lm:'[\u02b0-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ee\u037a\u0559\u0640\u06e5\u06e6\u07f4\u07f5\u07fa\u0e46\u0ec6\u10fc\u17d7\u1843\u1d2c-\u1d61\u1d78\u1d9b-\u1dbf\u2090-\u2094\u2d6f\u3005\u3031-\u3035\u303b\u309d\u309e\u30fc-\u30fe\ua015\ua717-\ua71a\uff70\uff9e\uff9f]',Lo:'[\u01bb\u01c0-\u01c3\u0294\u05d0-\u05ea\u05f0-\u05f2\u0621-\u063a\u0641-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u076d\u0780-\u07a5\u07b1\u07ca-\u07ea\u0904-\u0939\u093d\u0950\u0958-\u0961\u097b-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d28\u0d2a-\u0d39\u0d60\u0d61\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e45\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0edc\u0edd\u0f00\u0f40-\u0f47\u0f49-\u0f6a\u0f88-\u0f8b\u1000-\u1021\u1023-\u1027\u1029\u102a\u1050-\u1055\u10d0-\u10fa\u1100-\u1159\u115f-\u11a2\u11a8-\u11f9\u1200-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u1676\u1681-\u169a\u16a0-\u16ea\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17dc\u1820-\u1842\u1844-\u1877\u1880-\u18a8\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19a9\u19c1-\u19c7\u1a00-\u1a16\u1b05-\u1b33\u1b45-\u1b4b\u2135-\u2138\u2d30-\u2d65\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3006\u303c\u3041-\u3096\u309f\u30a1-\u30fa\u30ff\u3105-\u312c\u3131-\u318e\u31a0-\u31b7\u31f0-\u31ff\u3400\u4db5\u4e00\u9fbb\ua000-\ua014\ua016-\ua48c\ua800\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\uac00\ud7a3\uf900-\ufa2d\ufa30-\ufa6a\ufa70-\ufad9\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff66-\uff6f\uff71-\uff9d\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]',Co:'[\ue000\uf8ff]',Nd:'[\u0030-\u0039\u0660-\u0669\u06f0-\u06f9\u07c0-\u07c9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be6-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u17e0-\u17e9\u1810-\u1819\u1946-\u194f\u19d0-\u19d9\u1b50-\u1b59\uff10-\uff19]',Lt:'[\u01c5\u01c8\u01cb\u01f2\u1f88-\u1f8f\u1f98-\u1f9f\u1fa8-\u1faf\u1fbc\u1fcc\u1ffc]',Lu:'[\u0041-\u005a\u00c0-\u00d6\u00d8-\u00de\u0100\u0102\u0104\u0106\u0108\u010a\u010c\u010e\u0110\u0112\u0114\u0116\u0118\u011a\u011c\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c\u012e\u0130\u0132\u0134\u0136\u0139\u013b\u013d\u013f\u0141\u0143\u0145\u0147\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e\u0170\u0172\u0174\u0176\u0178\u0179\u017b\u017d\u0181\u0182\u0184\u0186\u0187\u0189-\u018b\u018e-\u0191\u0193\u0194\u0196-\u0198\u019c\u019d\u019f\u01a0\u01a2\u01a4\u01a6\u01a7\u01a9\u01ac\u01ae\u01af\u01b1-\u01b3\u01b5\u01b7\u01b8\u01bc\u01c4\u01c7\u01ca\u01cd\u01cf\u01d1\u01d3\u01d5\u01d7\u01d9\u01db\u01de\u01e0\u01e2\u01e4\u01e6\u01e8\u01ea\u01ec\u01ee\u01f1\u01f4\u01f6-\u01f8\u01fa\u01fc\u01fe\u0200\u0202\u0204\u0206\u0208\u020a\u020c\u020e\u0210\u0212\u0214\u0216\u0218\u021a\u021c\u021e\u0220\u0222\u0224\u0226\u0228\u022a\u022c\u022e\u0230\u0232\u023a\u023b\u023d\u023e\u0241\u0243-\u0246\u0248\u024a\u024c\u024e\u0386\u0388-\u038a\u038c\u038e\u038f\u0391-\u03a1\u03a3-\u03ab\u03d2-\u03d4\u03d8\u03da\u03dc\u03de\u03e0\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u03f7\u03f9\u03fa\u03fd-\u042f\u0460\u0462\u0464\u0466\u0468\u046a\u046c\u046e\u0470\u0472\u0474\u0476\u0478\u047a\u047c\u047e\u0480\u048a\u048c\u048e\u0490\u0492\u0494\u0496\u0498\u049a\u049c\u049e\u04a0\u04a2\u04a4\u04a6\u04a8\u04aa\u04ac\u04ae\u04b0\u04b2\u04b4\u04b6\u04b8\u04ba\u04bc\u04be\u04c0\u04c1\u04c3\u04c5\u04c7\u04c9\u04cb\u04cd\u04d0\u04d2\u04d4\u04d6\u04d8\u04da\u04dc\u04de\u04e0\u04e2\u04e4\u04e6\u04e8\u04ea\u04ec\u04ee\u04f0\u04f2\u04f4\u04f6\u04f8\u04fa\u04fc\u04fe\u0500\u0502\u0504\u0506\u0508\u050a\u050c\u050e\u0510\u0512\u0531-\u0556\u10a0-\u10c5\u1e00\u1e02\u1e04\u1e06\u1e08\u1e0a\u1e0c\u1e0e\u1e10\u1e12\u1e14\u1e16\u1e18\u1e1a\u1e1c\u1e1e\u1e20\u1e22\u1e24\u1e26\u1e28\u1e2a\u1e2c\u1e2e\u1e30\u1e32\u1e34\u1e36\u1e38\u1e3a\u1e3c\u1e3e\u1e40\u1e42\u1e44\u1e46\u1e48\u1e4a\u1e4c\u1e4e\u1e50\u1e52\u1e54\u1e56\u1e58\u1e5a\u1e5c\u1e5e\u1e60\u1e62\u1e64\u1e66\u1e68\u1e6a\u1e6c\u1e6e\u1e70\u1e72\u1e74\u1e76\u1e78\u1e7a\u1e7c\u1e7e\u1e80\u1e82\u1e84\u1e86\u1e88\u1e8a\u1e8c\u1e8e\u1e90\u1e92\u1e94\u1ea0\u1ea2\u1ea4\u1ea6\u1ea8\u1eaa\u1eac\u1eae\u1eb0\u1eb2\u1eb4\u1eb6\u1eb8\u1eba\u1ebc\u1ebe\u1ec0\u1ec2\u1ec4\u1ec6\u1ec8\u1eca\u1ecc\u1ece\u1ed0\u1ed2\u1ed4\u1ed6\u1ed8\u1eda\u1edc\u1ede\u1ee0\u1ee2\u1ee4\u1ee6\u1ee8\u1eea\u1eec\u1eee\u1ef0\u1ef2\u1ef4\u1ef6\u1ef8\u1f08-\u1f0f\u1f18-\u1f1d\u1f28-\u1f2f\u1f38-\u1f3f\u1f48-\u1f4d\u1f59\u1f5b\u1f5d\u1f5f\u1f68-\u1f6f\u1fb8-\u1fbb\u1fc8-\u1fcb\u1fd8-\u1fdb\u1fe8-\u1fec\u1ff8-\u1ffb\u2102\u2107\u210b-\u210d\u2110-\u2112\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u2130-\u2133\u213e\u213f\u2145\u2183\u2c00-\u2c2e\u2c60\u2c62-\u2c64\u2c67\u2c69\u2c6b\u2c75\u2c80\u2c82\u2c84\u2c86\u2c88\u2c8a\u2c8c\u2c8e\u2c90\u2c92\u2c94\u2c96\u2c98\u2c9a\u2c9c\u2c9e\u2ca0\u2ca2\u2ca4\u2ca6\u2ca8\u2caa\u2cac\u2cae\u2cb0\u2cb2\u2cb4\u2cb6\u2cb8\u2cba\u2cbc\u2cbe\u2cc0\u2cc2\u2cc4\u2cc6\u2cc8\u2cca\u2ccc\u2cce\u2cd0\u2cd2\u2cd4\u2cd6\u2cd8\u2cda\u2cdc\u2cde\u2ce0\u2ce2\uff21-\uff3a]',Cs:'[\ud800\udb7f\udb80\udbff\udc00\udfff]',Zl:'[\u2028]',Nl:'[\u16ee-\u16f0\u2160-\u2182\u3007\u3021-\u3029\u3038-\u303a]',Zp:'[\u2029]',No:'[\u00b2\u00b3\u00b9\u00bc-\u00be\u09f4-\u09f9\u0bf0-\u0bf2\u0f2a-\u0f33\u1369-\u137c\u17f0-\u17f9\u2070\u2074-\u2079\u2080-\u2089\u2153-\u215f\u2460-\u249b\u24ea-\u24ff\u2776-\u2793\u2cfd\u3192-\u3195\u3220-\u3229\u3251-\u325f\u3280-\u3289\u32b1-\u32bf]',Zs:'[\u0020\u00a0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]',Sc:'[\u0024\u00a2-\u00a5\u060b\u09f2\u09f3\u0af1\u0bf9\u0e3f\u17db\u20a0-\u20b5\ufdfc\ufe69\uff04\uffe0\uffe1\uffe5\uffe6]',Pc:'[\u005f\u203f\u2040\u2054\ufe33\ufe34\ufe4d-\ufe4f\uff3f]',Pd:'[\u002d\u058a\u1806\u2010-\u2015\u2e17\u301c\u3030\u30a0\ufe31\ufe32\ufe58\ufe63\uff0d]',Pe:'[\u0029\u005d\u007d\u0f3b\u0f3d\u169c\u2046\u207e\u208e\u232a\u2769\u276b\u276d\u276f\u2771\u2773\u2775\u27c6\u27e7\u27e9\u27eb\u2984\u2986\u2988\u298a\u298c\u298e\u2990\u2992\u2994\u2996\u2998\u29d9\u29db\u29fd\u3009\u300b\u300d\u300f\u3011\u3015\u3017\u3019\u301b\u301e\u301f\ufd3f\ufe18\ufe36\ufe38\ufe3a\ufe3c\ufe3e\ufe40\ufe42\ufe44\ufe48\ufe5a\ufe5c\ufe5e\uff09\uff3d\uff5d\uff60\uff63]',Pf:'[\u00bb\u2019\u201d\u203a\u2e03\u2e05\u2e0a\u2e0d\u2e1d]',Me:'[\u0488\u0489\u06de\u20dd-\u20e0\u20e2-\u20e4]',Mc:'[\u0903\u093e-\u0940\u0949-\u094c\u0982\u0983\u09be-\u09c0\u09c7\u09c8\u09cb\u09cc\u09d7\u0a03\u0a3e-\u0a40\u0a83\u0abe-\u0ac0\u0ac9\u0acb\u0acc\u0b02\u0b03\u0b3e\u0b40\u0b47\u0b48\u0b4b\u0b4c\u0b57\u0bbe\u0bbf\u0bc1\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcc\u0bd7\u0c01-\u0c03\u0c41-\u0c44\u0c82\u0c83\u0cbe\u0cc0-\u0cc4\u0cc7\u0cc8\u0cca\u0ccb\u0cd5\u0cd6\u0d02\u0d03\u0d3e-\u0d40\u0d46-\u0d48\u0d4a-\u0d4c\u0d57\u0d82\u0d83\u0dcf-\u0dd1\u0dd8-\u0ddf\u0df2\u0df3\u0f3e\u0f3f\u0f7f\u102c\u1031\u1038\u1056\u1057\u17b6\u17be-\u17c5\u17c7\u17c8\u1923-\u1926\u1929-\u192b\u1930\u1931\u1933-\u1938\u19b0-\u19c0\u19c8\u19c9\u1a19-\u1a1b\u1b04\u1b35\u1b3b\u1b3d-\u1b41\u1b43\u1b44\ua802\ua823\ua824\ua827]'};var firstLetters={};for(var p in unicodeCategories){if(firstLetters[p[0]])
firstLetters[p[0]]=unicodeCategories[p].substring(0,unicodeCategories[p].length-1)+firstLetters[p[0]].substring(1);else firstLetters[p[0]]=unicodeCategories[p]}
for(var p in firstLetters)
unicodeCategories[p]=firstLetters[p];return function(regexpString,classes){var modifiers="";if(regexpString instanceof RegExp){modifiers=(regexpString.global?"g":"")+(regexpString.ignoreCase?"i":"")+(regexpString.multiline?"m":"");regexpString=regexpString.source}
regexpString=regexpString.replace(/\\p\{(..?)\}/g,function(match,group){var unicode_categorie=unicodeCategories[group];if(!classes)
unicode_category=unicode_categorie.replace(/\[(.*?)\]/g,"$1")
return unicode_category||match});return new RegExp(regexpString,modifiers)}})();;/**
 * 2021 SIMULDIGITAL.CO.UK
 *
 * NOTICE OF LICENSE
 *
 * This file is licenced under the Software License Agreement.
 * With the purchase or the installation of the software in your application
 * you accept the licence agreement
 *
 *  @author    SIMULDIGITAL.CO.UK <support@simuldigital.co.uk>
 *  @copyright 2021 SIMULDIGITAL.CO.UK
 *  @license   Commercial license (You can not resell or redistribute this software)
 *
 */

/*!
 * The Final Countdown for jQuery v2.2.0 (http://hilios.github.io/jQuery.countdown/)
 * Copyright (c) 2016 Edson Hilios
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";function b(a){if(a instanceof Date)return a;if(String(a).match(g))return String(a).match(/^[0-9]*$/)&&(a=Number(a)),String(a).match(/\-/)&&(a=String(a).replace(/\-/g,"/")),new Date(a);throw new Error("Couldn't cast `"+a+"` to a date object.")}function c(a){var b=a.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(b)}function d(a){return function(b){var d=b.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(d)for(var f=0,g=d.length;f<g;++f){var h=d[f].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),j=c(h[0]),k=h[1]||"",l=h[3]||"",m=null;h=h[2],i.hasOwnProperty(h)&&(m=i[h],m=Number(a[m])),null!==m&&("!"===k&&(m=e(l,m)),""===k&&m<10&&(m="0"+m.toString()),b=b.replace(j,m.toString()))}return b=b.replace(/%%/,"%")}}function e(a,b){var c="s",d="";return a&&(a=a.replace(/(:|;|\s)/gi,"").split(/\,/),1===a.length?c=a[0]:(d=a[0],c=a[1])),Math.abs(b)>1?c:d}var f=[],g=[],h={precision:100,elapse:!1,defer:!1};g.push(/^[0-9]*$/.source),g.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g=new RegExp(g.join("|"));var i={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"},j=function(b,c,d){this.el=b,this.$el=a(b),this.interval=null,this.offset={},this.options=a.extend({},h),this.instanceNumber=f.length,f.push(this),this.$el.data("countdown-instance",this.instanceNumber),d&&("function"==typeof d?(this.$el.on("update.countdown",d),this.$el.on("stoped.countdown",d),this.$el.on("finish.countdown",d)):this.options=a.extend({},h,d)),this.setFinalDate(c),this.options.defer===!1&&this.start()};a.extend(j.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var a=this;this.update(),this.interval=setInterval(function(){a.update.call(a)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),f[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(a){this.finalDate=b(a)},update:function(){if(0===this.$el.closest("html").length)return void this.remove();var b,c=void 0!==a._data(this.el,"events"),d=new Date;b=this.finalDate.getTime()-d.getTime(),b=Math.ceil(b/1e3),b=!this.options.elapse&&b<0?0:Math.abs(b),this.totalSecsLeft!==b&&c&&(this.totalSecsLeft=b,this.elapsed=d>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-d.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))},dispatchEvent:function(b){var c=a.Event(b+".countdown");c.finalDate=this.finalDate,c.elapsed=this.elapsed,c.offset=a.extend({},this.offset),c.strftime=d(this.offset),this.$el.trigger(c)}}),a.fn.countdown=function(){var b=Array.prototype.slice.call(arguments,0);return this.each(function(){var c=a(this).data("countdown-instance");if(void 0!==c){var d=f[c],e=b[0];j.prototype.hasOwnProperty(e)?d[e].apply(d,b.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(d.setFinalDate.call(d,e),d.start()):a.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))}else new j(this,b[0],b[1])})}});function reInitSdiscountClock(){$('[data-countdown-product]').each(function(){var $this=$(this),finalDate=$(this).data('countdown-product');$this.countdown(finalDate,function(event){$this.html(event.strftime('<span class="countdown-time-group countdown-days"><span class="countdown-time ">%D</span> '+sdiscountclock_days+'</span> <span class="countdown-time-group countdown-hours"><span class="countdown-time">%H</span> : </span><span class="countdown-time-group countdown-minutes"><span class="countdown-time">%M</span> : </span><span class="countdown-time-group countdown-second"><span class="countdown-time">%S</span></span>'))})})}
$(window).on('load',function(){reInitSdiscountClock();prestashop.on('updatedProduct',function(e){reInitSdiscountClock()});prestashop.on('quickViewShown',function(e){reInitSdiscountClock()});prestashop.on('afterUpdateProductList',function(e){reInitSdiscountClock()})});/**
* 2007-2022 ETS-Soft
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please contact us for extra customization service at an affordable price
*
* @author ETS-Soft <etssoft.jsc@gmail.com>
* @copyright 2007-2022 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*/
$(function(){$(document).mouseup(function(e){var container_block_search=$('.prmn_extra_item.active');if(!container_block_search.is(e.target)&&container_block_search.has(e.target).length===0){$('.prmn_extra_item').removeClass('active')}});if($('.prmn_extra_item button[type="submit"]').length){$(document).on('click','.prmn_extra_item button[type="submit"]',function(){if(!$(this).closest('.prmn_extra_item').hasClass('prmn_display_search_default')){if(!$(this).closest('.prmn_extra_item').hasClass('active')){$(this).closest('.prmn_extra_item').addClass('active');return!1}else{if($(this).prev('input').val()==0){$('.prmn_extra_item').removeClass('active');return!1}}}})}
displayHeightTab();if($('.ets_prmn_megamenu.sticky_enabled').length>0){var sticky_navigation_offset_top=$('.ets_prmn_megamenu.sticky_enabled').offset().top;var headerFloatingHeight=$('.ets_prmn_megamenu.sticky_enabled').height()+($('#header').length>0?parseInt($('.ets_prmn_megamenu.sticky_enabled').css('marginTop').replace('px',''))+parseInt($('.ets_prmn_megamenu.sticky_enabled').css('marginBottom').replace('px','')):0);var oldHeaderMarginBottom=$('#header').length>0?parseInt($('#header').css('marginBottom').replace('px','')):0;var sticky_navigation=function(){if(!$('.ets_prmn_megamenu').hasClass('sticky_enabled'))
return!1;var scroll_top=$(window).scrollTop();if(scroll_top>sticky_navigation_offset_top){$('.ets_prmn_megamenu.sticky_enabled').addClass('scroll_heading');if($('#header').length>0)
$('#header').css({'marginBottom':headerFloatingHeight+'px'})}else{$('.ets_prmn_megamenu.sticky_enabled').removeClass('scroll_heading');if($('#header').length>0)
$('#header').css({'marginBottom':oldHeaderMarginBottom+'px'})}};sticky_navigation();$(window).scroll(function(){sticky_navigation()});if($(window).width()<768&&!$('body').hasClass('disable-sticky'))
$('body').addClass('disable-sticky');$(window).on('resize',function(e){if($(window).width()<768&&!$('body').hasClass('disable-sticky'))
$('body').addClass('disable-sticky');else if($(window).width()>=768&&$('body').hasClass('disable-sticky'))
$('body').removeClass('disable-sticky');})}
$(window).load(function(){if($('.ets_mn_submenu_full_height').length>0){var ver_sub_height=$('.ets_mn_submenu_full_height').height();$('.ets_mn_submenu_full_height').find('.prmn_columns_ul').css("min-height",ver_sub_height)}});if($('.prmn_columns_ul_tab_content').length>0&&$('body#index').length>0){$('.prmn_columns_ul_tab_content').addClass('active').prev('.arrow').removeClass('closed').addClass('opened')}
$(window).resize(function(){$('.prmn_menus_ul:not(.ets_prmn_all_show_resize)').removeClass('ets_mn_active')});$(document).on('click','.prmn_has_sub > .arrow',function(){var wrapper=$(this).next('.prmn_columns_ul');if($(this).hasClass('closed')){$('.prmn_columns_ul').removeClass('active');$('.prmn_has_sub').removeClass('open_c');$('.prmn_has_sub > .arrow').removeClass('opened');$('.prmn_has_sub > .arrow').addClass('closed');var btnObj=$(this);btnObj.removeClass('closed');btnObj.addClass('opened').parents('.prmn_has_sub').addClass('open_c');wrapper.stop(!0,!0).addClass('active')}else{var btnObj=$(this);btnObj.removeClass('opened')
$('.prmn_has_sub').removeClass('open_c');btnObj.addClass('closed');wrapper.stop(!0,!0).removeClass('active').parents('.prmn_menus_li.prmn_has_sub').removeClass('open_c')}});$('.ybc-menu-toggle, .ybc-menu-vertical-button').on('click',function(){var wrapper=$(this).next('.prmn_menus_ul');if($(this).hasClass('closed')){var btnObj=$(this);btnObj.removeClass('closed');btnObj.addClass('opened');wrapper.stop(!0,!0).addClass('active');if($('.transition_slide.transition_default').length!=''){wrapper.stop(!0,!0).slideDown(0)}}else{var btnObj=$(this);btnObj.removeClass('opened');btnObj.addClass('closed');wrapper.stop(!0,!0).removeClass('active');if($('.transition_slide.transition_default').length!=''){wrapper.stop(!0,!0).slideUp(0)}}});$('.close_menu').on('click',function(){$(this).parent().prev().removeClass('opened');$(this).parent().prev().addClass('closed');$(this).parent().stop(!0,!0).removeClass('active')});if($('.ets_prmn_megamenu').hasClass('enable_active_menu')&&$('.prmn_menus_ul > li').length>0){var currentUrl=window.location.href;$('.prmn_menus_ul > li').each(function(){if($(this).find('a[href="'+currentUrl+'"]').length>0){$(this).addClass('active');return!1}})}
if($('.prmn_breaker').length>0&&$('.prmn_breaker').prev('li').length>0){$('.prmn_breaker').prev('li').addClass('prmn_before_breaker')}
$('.prmn_tabs_li.hover').hover(function(){if(!$(this).hasClass('open')){$(this).closest('.prmn_columns_ul_tab').find('.prmn_tabs_li').removeClass('open');$(this).addClass('open');$(this).closest('.prmn_columns_ul').removeClass('prmn_tab_no_content');if(!$(this).find('.prmn_columns_contents_ul').length){$(this).closest('.prmn_columns_ul').addClass('prmn_tab_no_content')}
displayHeightTab()}},function(){if(!$(this).closest('.prmn_tabs_li').hasClass('ver_alway_hide')){$(this).closest('.prmn_tabs_li').removeClass('open')}
if($(this).closest('.prmn_columns_ul_tab').find('.prmn_tabs_li.open_first').length)
$(this).closest('.prmn_columns_ul_tab').find('.prmn_tabs_li.open_first').addClass('open');});$('.prmn_tabs_li').hover(function(){if($(this).parents('.prmn_columns_ul').find('.prmn_tabs_li.open_first').length>0){$('.prmn_tabs_li.open_first').removeClass('open')}},function(){$('.prmn_tabs_li.open_first').addClass('open')});$('.prmn_menus_li:not(.menu_ver_alway_show_sub )').hover(function(){$('.menu_ver_alway_show_sub .prmn_columns_ul_tab_content').removeClass('active')},function(){$('.menu_ver_alway_show_sub .prmn_columns_ul_tab_content').addClass('active')});$(document).on('click touchstar','.prmn_tab_li_content .toggle_arrow',function(evt){var btnObj=$(this).parents('.prmn_tab_li_content'),wrapper=$(this).parents('.prmn_tab_li_content').next();if(!btnObj.find('.prmn_tab_toggle_title a').is(evt.target)){if(btnObj.hasClass('closed')){$('.prmn_tab_li_content').removeClass('opened');$('.prmn_tab_li_content').addClass('closed');$('.prmn_columns_contents_ul').removeClass('active');btnObj.removeClass('closed');btnObj.addClass('opened');wrapper.stop(!0,!0).addClass('active')}else{btnObj.removeClass('opened');btnObj.addClass('closed');wrapper.stop(!0,!0).removeClass('active')}}});$(document).on('mouseenter touchend','.prmn_menus_li.prmn_has_sub',function(){displayWidthSettings()})});function displayWidthSettings(){if($(window).width()>=992){var pos_left=$('.ets_prmn_megamenu').offset().left;var mainmenu_w=$('.ets_prmn_megamenu').width();var menu_w=$('.prmn_menus_li > .prmn_columns_ul').width();var window_w=$(window).width();if((window_w-menu_w)/2>pos_left){var change_left=(window_w-menu_w)/2-pos_left}else{var change_left=pos_left-(window_w-menu_w)/2}
if((pos_left+mainmenu_w)>(pos_left+menu_w)){var change_left_2=change_left-((pos_left+mainmenu_w)-(pos_left+menu_w))}else{if((pos_left+menu_w)>window_w){if((pos_left+menu_w)-(pos_left+mainmenu_w)>change_left){var change_left_2=change_left}else{var change_left_2=(pos_left+menu_w)-(pos_left+mainmenu_w)}}else{if(change_left>pos_left){var change_left_2=pos_left-15}else{var change_left_2=change_left}}}
$('.ets_prmn_megamenu:not(.stickied) .prmn_menus_li.prmn_sub_align_auto > .prmn_columns_ul,.ets_megamenu:not(.sticky_fixed) .prmn_sub_align_auto > .list-tabs').css('margin-left','-'+change_left_2+'px')}else{$('.ets_prmn_megamenu:not(.stickied) .prmn_menus_li.prmn_sub_align_auto > .prmn_columns_ul,.ets_megamenu:not(.sticky_fixed) .prmn_sub_align_auto > .list-tabs').css('margin-left','auto')}}
function autoChangeStatus(){var width_ul_menu=$('ul.prmn_menus_ul').width();var width_li_menu=0;$('ul.prmn_menus_ul li.prmn_menus_li').each(function(){width_li_menu+=parseFloat($(this).width())});if(width_li_menu>width_ul_menu+7){$('.ets_prmn_megamenu').addClass('changestatus');$('.menu_ver_alway_show_sub .prmn_columns_ul_tab_content').removeClass('active');$('#index .menu_ver_alway_show_sub .arrow').removeClass('opened').addClass('closed')}else{$('.ets_prmn_megamenu').removeClass('changestatus');if($(window).width()>767){$('#index .menu_ver_alway_show_sub .arrow').addClass('opened').removeClass('closed');$('#index .menu_ver_alway_show_sub .prmn_columns_ul_tab_content').addClass('active')}}
if($(window).width()<768){$('.menu_ver_alway_show_sub .prmn_columns_ul_tab_content').removeClass('active');$('.menu_ver_alway_show_sub .arrow').removeClass('opened').addClass('closed')}}
function itemClickMenu($this){var btnObj=$($this).next('.arrow');var wrapper=btnObj.next();if(!btnObj.length){var btn_temp=$($this).closest('.prmn_tab_li_content').first();var wrapper=btn_temp.next();if(btn_temp.hasClass('closed')){$('.prmn_tab_li_content').removeClass('opened');$('.prmn_tab_li_content').addClass('closed');$('.prmn_tab_li_content + .prmn_columns_contents_ul').removeClass('active');btn_temp.removeClass('closed');btn_temp.addClass('opened');wrapper.stop(!0,!0).addClass('active')}else{btn_temp.removeClass('opened');btn_temp.addClass('closed');wrapper.stop(!0,!0).removeClass('active')}}else{if(btnObj.hasClass('closed')){$('.prmn_has_sub > .arrow').removeClass('opened');$('.prmn_has_sub > .arrow').addClass('closed');$('.prmn_columns_ul').removeClass('active');btnObj.removeClass('closed');btnObj.addClass('opened');wrapper.stop(!0,!0).addClass('active')}else{btnObj.removeClass('opened');btnObj.addClass('closed');wrapper.stop(!0,!0).removeClass('active')}}}
function clickTextShowMenu(){if($('.clicktext_show_submenu').length>0){$('.clicktext_show_submenu li.has-sub').each(function(){$(this).find('a').first().on('click',function(e){if($(window).width()<=767){e.preventDefault();var btnObj=$(this).next('.arrow');var wrapper=btnObj.next();if(btnObj.hasClass('closed')){btnObj.removeClass('closed');btnObj.addClass('opened');wrapper.stop(!0,!0).addClass('active')}else{btnObj.removeClass('opened');btnObj.addClass('closed');wrapper.stop(!0,!0).removeClass('active')}}})})}
if($('.clicktext_show_submenu').length>0){$('.clicktext_show_submenu li.has-sub').each(function(){$(this).find('a').first().on('click',function(e){if($('.ets_prmn_megamenu').hasClass('changestatus')&&$(window).width()>767){e.preventDefault();var btnObj=$(this).next('.arrow');var wrapper=btnObj.next();if(btnObj.hasClass('closed')){btnObj.removeClass('closed');btnObj.addClass('opened');wrapper.stop(!0,!0).addClass('active')}else{btnObj.removeClass('opened');btnObj.addClass('closed');wrapper.stop(!0,!0).removeClass('active')}}})})}
if($('.clicktext_show_submenu').length>0){$('.clicktext_show_submenu li.prmn_tabs_has_content > div').each(function(){$(this).find('a').first().on('click',function(e){if($(window).width()<=767){e.preventDefault();itemClickMenu(this)}})})}
if($('.clicktext_show_submenu').length>0){$('.clicktext_show_submenu li.prmn_tabs_has_content > div').each(function(){$(this).find('a').first().on('click',function(e){if($('.ets_prmn_megamenu').hasClass('changestatus')&&$(window).width()>767){e.preventDefault();itemClickMenu(this)}})})}
if($('.clicktext_show_submenu').length>0){$('.clicktext_show_submenu li.prmn_has_sub > a').each(function(){$(this).on('click',function(e){if($(window).width()<=767){e.preventDefault();itemClickMenu(this)}})})}
if($('.clicktext_show_submenu').length>0){$('.clicktext_show_submenu li.prmn_has_sub > a').each(function(){$(this).on('click',function(e){if($('.ets_prmn_megamenu').hasClass('changestatus')&&$(window).width()>767){e.preventDefault();itemClickMenu(this)}})})}
if($('.clicktext_show_submenu').length>0){$('.prmn_tab_has_child > .prmn_tab_toggle_title').on('click',function(e){if($(this).find('a').length<=0){if($('.ets_prmn_megamenu').hasClass('changestatus')||$(window).width()>767){var btnObj=$(this).parents('.prmn_tab_li_content'),wrapper=$(this).parents('.prmn_tab_li_content').next();if(btnObj.hasClass('closed')){$('.prmn_tab_li_content').removeClass('opened');$('.prmn_tab_li_content').addClass('closed');$('.prmn_tab_li_content + .prmn_columns_contents_ul').removeClass('active');btnObj.removeClass('closed');btnObj.addClass('opened');wrapper.stop(!0,!0).addClass('active')}else{btnObj.removeClass('opened');btnObj.addClass('closed');wrapper.stop(!0,!0).removeClass('active')}}}})}}
$(document).on('click','.ets_prmn_categories .has-sub .arrow',function(e){e.stopPropagation();var wrapper=$(this).next('.ets_prmn_categories');if($(this).hasClass('closed')){var btnObj=$(this);btnObj.removeClass('closed');btnObj.addClass('opened');wrapper.stop(!0,!0).addClass('active')}else{var btnObj=$(this);btnObj.removeClass('opened');btnObj.addClass('closed');wrapper.stop(!0,!0).removeClass('active')}});function displayHeightTab(){if($('.prmn_tabs_li.open .prmn_columns_contents_ul').length){$('.prmn_tabs_li.open .prmn_columns_contents_ul').each(function(){$(this).closest('.prmn_columns_ul_tab').css('height',$(this).height('px'))})}}
$(document).ready(function(){});$(document).ready(function(){autoChangeStatus();clickTextShowMenu();$(window).resize(function(){autoChangeStatus()});$('.prmn_menus_li iframe').hover(function(){$(this).parents('.prmn_menus_li').addClass('menu_hover')},function(){$(this).parents('.prmn_menus_li').removeClass('menu_hover')});$(".prmn_menus_li.click_open_submenu").click(function(){if(!$(this).find(".prmn_columns_ul").hasClass('open')){$(".prmn_columns_ul").removeClass("open");$(".prmn_menus_li.click_open_submenu").removeClass('open');$(this).find(".prmn_columns_ul").addClass("open");$(this).addClass("open")}});$(document).on("click",function(event){if(!$(event.target).closest(".prmn_menus_li").length){$(".prmn_columns_ul").removeClass("open");$(".prmn_menus_li.click_open_submenu").removeClass('open')}});$(document).on('click','.prmn_tab_li_content',function(){});$(document).on("click",function(event){if(!$(event.target).closest(".prmn_tabs_li").length){$(".prmn_tabs_li").removeClass("open");$(".prmn_tabs_li.open_first").addClass('open')}});$(document).on('click','.ets_prmn_megamenu a',function(){if($(this).attr('href')==''||$(this).attr('href')=='#'){return!1}})});$(document).ready(function(){var openedMenu;var dropdownToOpen;var dropdownAnimationTimer=void 0;if($(window).width()>996){$(document).on('mouseenter','.ets_prmn_megamenu  ul.prmn_menus_ul li.prmn_menus_li',function(){$(this).addClass('active');dropdownToOpen=$(this).attr('data-menu-index');if(openedMenu){$(this).find('.prmn_columns_ul').addClass('active-opened')}else{$(this).find('.prmn_columns_ul').addClass('active-transform')}
openedMenu=dropdownToOpen?dropdownToOpen:null});$(document).on('mouseleave','.ets_prmn_megamenu  ul.prmn_menus_ul li.prmn_menus_li',function(){$(this).removeClass('active');if($(this).find('.prmn_columns_ul').hasClass('active-opened')){$(this).find('.prmn_columns_ul').removeClass('active-opened')}else{$(this).find('.prmn_columns_ul').removeClass('active-transform')}
openedMenu=dropdownToOpen?dropdownToOpen:null;dropdownToOpen=null});$(document).on('mouseleave','.ets_prmn_megamenu  ul.prmn_menus_ul',function(){openedMenu=null;dropdownToOpen=null})}
$(document).on('mouseover','.ets_prmn_megamenu  ul.prmn_menus_ul li.prmn_menus_li',function(){$('.cart-preview').removeClass('show');$('.dropdown-menu-custom').removeClass('show')})});/**
* 2007-2022 ETS-Soft
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please contact us for extra customization service at an affordable price
*
* @author ETS-Soft <etssoft.jsc@gmail.com>
* @copyright 2007-2022 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*/
var etsMM={coundownClock:function(){if($('.ets-prmn-countdown').length){$('.ets-prmn-countdown').each(function(){var endDate=$(this).attr('data-datetime');if(endDate){var clock='<div class="ets-prmn-countdown-clock">'+'<span class="ets-prmn-countdown-number ets-prmn-countdown-days"></span>'+'<span class="ets-prmn-countdown-number ets-prmn-countdown-hours"></span>'+'<span class="ets-prmn-countdown-number ets-prmn-countdown-minutes"></span>'+'<span class="ets-prmn-countdown-number ets-prmn-countdown-seconds"></span>'+'</div>';$(this).html(clock);$(this).removeClass('hide');etsMM.setCountdown(this,endDate)}})}},setCountdown:function(element,endDate){var countDownDate=new Date(endDate).getTime();var clockInterval=setInterval(function(){var now=new Date().getTime();var distance=countDownDate-now;var days=Math.floor(distance/(1000*60*60*24));var hours=Math.floor((distance%(1000*60*60*24))/(1000*60*60));var minutes=Math.floor((distance%(1000*60*60))/(1000*60));var seconds=Math.floor((distance%(1000*60))/1000);$(element).find('.ets-prmn-countdown-days').html(days);$(element).find('.ets-prmn-countdown-hours').html(hours);$(element).find('.ets-prmn-countdown-minutes').html(minutes);$(element).find('.ets-prmn-countdown-seconds').html(seconds);if(distance<0){clearInterval(clockInterval);$(element).html('EXPIRED')}},1000)},flipClock:{flipTo:function(digit,n){var current=digit.attr('data-num');digit.attr('data-num',n);digit.find('.front').attr('data-content',current);digit.find('.back, .under').attr('data-content',n);digit.find('.flap').css('display','block');setTimeout(function(){digit.find('.base').text(n);digit.find('.flap').css('display','none')},350)},jumpTo:function(digit,n){digit.attr('data-num',n);digit.find('.base').text(n)},updateGroup:function(el,group,n,flip){var digit1=$(el).find('.ten'+group);var digit2=$(el).find('.'+group);n=String(n);if(n.length==1)n='0'+n;var num1=n.substr(0,1);var num2=n.substr(1,1);if(digit1.attr('data-num')!=num1){if(flip)etsMM.flipClock.flipTo(digit1,num1);else etsMM.flipClock.jumpTo(digit1,num1)}
if(digit2.attr('data-num')!=num2){if(flip)etsMM.flipClock.flipTo(digit2,num2);else etsMM.flipClock.jumpTo(digit2,num2)}},setTime:function(el,flip,time){var countDownDate=new Date(time).getTime();var now=new Date().getTime();var distance=countDownDate-now;if(distance<=0){$(el).html('');return}
var days=Math.floor(distance/(1000*60*60*24));var hours=Math.floor((distance%(1000*60*60*24))/(1000*60*60));var minutes=Math.floor((distance%(1000*60*60))/(1000*60));var seconds=Math.floor((distance%(1000*60))/1000);etsMM.flipClock.updateGroup(el,'day',days,flip);etsMM.flipClock.updateGroup(el,'hour',hours,flip);etsMM.flipClock.updateGroup(el,'min',minutes,flip);etsMM.flipClock.updateGroup(el,'sec',seconds,flip)},init:function(){var flipBox='<span class="base"></span>'+'<div class="flap over front"></div>'+'<div class="flap over back"></div>'+'<div class="flap under"></div>';$('.ets-prmn-countdown').each(function(){$(this).removeClass('hide');var endDate=$(this).attr('data-datetime');var flip=$(this).attr('data-animate-type')=='FLIP'?!0:!1;var trans={days:$(this).attr('data-trans-days'),hours:$(this).attr('data-trans-hours'),minutes:$(this).attr('data-trans-minutes'),seconds:$(this).attr('data-trans-seconds'),}
var clockBox=etsMM.flipClock.appendClock(flipBox,flip,trans);$(this).html(clockBox);etsMM.flipClock.setTime(this,flip,endDate);var $this=this;setInterval(function(){etsMM.flipClock.setTime($this,flip,endDate)},1000)})},appendClock:function(flipBox,flip,trans){return'<div class="clock '+(flip?'flip-clock':'normal-clock')+'">'+'<div class="digits">'+'<div class="clock-group">'+'<div class="digit tenday">'+flipBox+'</div>'+'<div class="digit day">'+flipBox+'</div>'+'</div>'+'<div class="text">'+(trans.days)+'</div>'+'</div>'+'<div class="digits">'+'<div class="clock-group">'+'<div class="digit tenhour">'+flipBox+'</div>'+'<div class="digit hour">'+flipBox+'</div>'+'</div>'+'<div class="text">'+(trans.hours)+'</div>'+'</div>'+'<div class="digits">'+'<div class="clock-group">'+'<div class="digit tenmin">'+flipBox+'</div>'+'<div class="digit min">'+flipBox+'</div>'+'</div>'+'<div class="text">'+(trans.minutes)+'</div>'+'</div>'+'<div class="digits">'+'<div class="clock-group">'+'<div class="digit tensec">'+flipBox+'</div>'+'<div class="digit sec">'+flipBox+'</div>'+'</div>'+'<div class="text">'+(trans.seconds)+'</div>'+'</div>'+'</div>'}}};/**
* 2007-2022 ETS-Soft
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please contact us for extra customization service at an affordable price
*
* @author ETS-Soft <etssoft.jsc@gmail.com>
* @copyright 2007-2022 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*/
var ets_prmn_top_menu=0;$(document).ready(function(){ets_prmn_top_menu=$('.ets_prmn_megamenu').offset().top;etsPRMNClock.flipClock.init();$(document).scroll(function(){etsPRMNClock.scrollSticky()})});var etsPRMNClock={scrollSticky:function(){if($('.ets_prmn_megamenu').hasClass('prmn_enabled_sticky')){if($(document).scrollTop()>=ets_prmn_top_menu)
$('.ets_prmn_megamenu').addClass('stickied');else $('.ets_prmn_megamenu').removeClass('stickied')}},coundownClock:function(){if($('.ets-prmn-countdown').length){$('.ets-prmn-countdown').each(function(){var endDate=$(this).attr('data-datetime');if(endDate){var clock='<div class="ets-prmn-countdown-clock">'+'<span class="ets-prmn-countdown-number ets-prmn-countdown-days"></span>'+'<span class="ets-prmn-countdown-number ets-prmn-countdown-hours"></span>'+'<span class="ets-prmn-countdown-number ets-prmn-countdown-minutes"></span>'+'<span class="ets-prmn-countdown-number ets-prmn-countdown-seconds"></span>'+'</div>';$(this).html(clock);$(this).removeClass('hide');etsPRMNClock.setCountdown(this,endDate)}})}},setCountdown:function(element,endDate){var countDownDate=new Date(endDate).getTime();var clockInterval=setInterval(function(){var now=new Date().getTime();var distance=countDownDate-now;var days=Math.floor(distance/(1000*60*60*24));var hours=Math.floor((distance%(1000*60*60*24))/(1000*60*60));var minutes=Math.floor((distance%(1000*60*60))/(1000*60));var seconds=Math.floor((distance%(1000*60))/1000);$(element).find('.ets-prmn-countdown-days').html(days);$(element).find('.ets-prmn-countdown-hours').html(hours);$(element).find('.ets-prmn-countdown-minutes').html(minutes);$(element).find('.ets-prmn-countdown-seconds').html(seconds);if(distance<0){clearInterval(clockInterval);$(element).html('EXPIRED')}},1000)},flipClock:{flipTo:function(digit,n){var current=digit.attr('data-num');digit.attr('data-num',n);digit.find('.front').attr('data-content',current);digit.find('.back, .under').attr('data-content',n);digit.find('.flap').css('display','block');setTimeout(function(){digit.find('.base').text(n);digit.find('.flap').css('display','none')},350)},jumpTo:function(digit,n){digit.attr('data-num',n);digit.find('.base').text(n)},updateGroup:function(el,group,n,flip){var digit1=$(el).find('.ten'+group);var digit2=$(el).find('.'+group);n=String(n);if(n.length==1)n='0'+n;var num1=n.substr(0,1);var num2=n.substr(1,1);if(digit1.attr('data-num')!=num1){if(flip)etsPRMNClock.flipClock.flipTo(digit1,num1);else etsPRMNClock.flipClock.jumpTo(digit1,num1)}
if(digit2.attr('data-num')!=num2){if(flip)etsPRMNClock.flipClock.flipTo(digit2,num2);else etsPRMNClock.flipClock.jumpTo(digit2,num2)}},setTime:function(el,flip,time){var countDownDate=new Date(time).getTime();var now=new Date().getTime();var distance=countDownDate-now;if(distance<=0){$(el).html('');return}
var days=Math.floor(distance/(1000*60*60*24));var hours=Math.floor((distance%(1000*60*60*24))/(1000*60*60));var minutes=Math.floor((distance%(1000*60*60))/(1000*60));var seconds=Math.floor((distance%(1000*60))/1000);etsPRMNClock.flipClock.updateGroup(el,'day',days,flip);etsPRMNClock.flipClock.updateGroup(el,'hour',hours,flip);etsPRMNClock.flipClock.updateGroup(el,'min',minutes,flip);etsPRMNClock.flipClock.updateGroup(el,'sec',seconds,flip)},init:function(){var flipBox='<span class="base"></span>'+'<div class="flap over front"></div>'+'<div class="flap over back"></div>'+'<div class="flap under"></div>';$('.ets-prmn-countdown').each(function(){$(this).removeClass('hide');var endDate=$(this).attr('data-datetime');var flip=$(this).attr('data-animate-type')=='FLIP'?!0:!1;var trans={days:$(this).attr('data-trans-days'),hours:$(this).attr('data-trans-hours'),minutes:$(this).attr('data-trans-minutes'),seconds:$(this).attr('data-trans-seconds'),}
var clockBox=etsPRMNClock.flipClock.appendClock(flipBox,flip,trans);$(this).html(clockBox);etsPRMNClock.flipClock.setTime(this,flip,endDate);var $this=this;setInterval(function(){etsPRMNClock.flipClock.setTime($this,flip,endDate)},1000)})},appendClock:function(flipBox,flip,trans){return'<div class="clock '+(flip?'flip-clock':'normal-clock')+'">'+'<div class="digits">'+'<div class="clock-group">'+'<div class="digit tenday">'+flipBox+'</div>'+'<div class="digit day">'+flipBox+'</div>'+'</div>'+'<div class="text">'+(trans.days)+'</div>'+'</div>'+'<div class="digits">'+'<div class="clock-group">'+'<div class="digit tenhour">'+flipBox+'</div>'+'<div class="digit hour">'+flipBox+'</div>'+'</div>'+'<div class="text">'+(trans.hours)+'</div>'+'</div>'+'<div class="digits">'+'<div class="clock-group">'+'<div class="digit tenmin">'+flipBox+'</div>'+'<div class="digit min">'+flipBox+'</div>'+'</div>'+'<div class="text">'+(trans.minutes)+'</div>'+'</div>'+'<div class="digits">'+'<div class="clock-group">'+'<div class="digit tensec">'+flipBox+'</div>'+'<div class="digit sec">'+flipBox+'</div>'+'</div>'+'<div class="text">'+(trans.seconds)+'</div>'+'</div>'+'</div>'}}};$(document).ready(function(){$('.scustomhtml img').css('max-width','100%');$('.scustomhtml img').css('height','auto');var $videos=$('iframe[src*="//www.youtube.com"],iframe[src*="//player.vimeo.com"]');$videos.each(function(){var $aspectRatio=0;if($(this).width()!=0&&$(this).height()!=0){$aspectRatio=$(this).height()/$(this).width()}else{$aspectRatio=9/16}
$(this).data('aspectRatio',$aspectRatio).removeAttr('height').removeAttr('width')});$(window).resize(function(){$videos.each(function(){var $currentVideo=$(this);var newWidth=$currentVideo.parent().width();$currentVideo.width(newWidth).height(newWidth*$currentVideo.data('aspectRatio'))})}).resize()});class LiteYTEmbed extends HTMLElement{connectedCallback(){this.videoId=this.getAttribute('videoid');let playBtnEl=this.querySelector('.lty-playbtn');this.playLabel=(playBtnEl&&playBtnEl.textContent.trim())||this.getAttribute('playlabel')||'Play';if(!this.style.backgroundImage){this.style.backgroundImage=`url("https://i.ytimg.com/vi/${this.videoId}/hqdefault.jpg")`}
if(!playBtnEl){playBtnEl=document.createElement('button');playBtnEl.type='button';playBtnEl.classList.add('lty-playbtn');this.append(playBtnEl)}
if(!playBtnEl.textContent){const playBtnLabelEl=document.createElement('span');playBtnLabelEl.className='lyt-visually-hidden';playBtnLabelEl.textContent=this.playLabel;playBtnEl.append(playBtnLabelEl)}
playBtnEl.removeAttribute('href');this.addEventListener('pointerover',LiteYTEmbed.warmConnections,{once:!0});this.addEventListener('click',this.addIframe);this.needsYTApiForAutoplay=navigator.vendor.includes('Apple')||navigator.userAgent.includes('Mobi')}
static addPrefetch(kind,url,as){const linkEl=document.createElement('link');linkEl.rel=kind;linkEl.href=url;if(as){linkEl.as=as}
document.head.append(linkEl)}
static warmConnections(){if(LiteYTEmbed.preconnected)return;LiteYTEmbed.addPrefetch('preconnect','https://www.youtube-nocookie.com');LiteYTEmbed.addPrefetch('preconnect','https://www.google.com');LiteYTEmbed.addPrefetch('preconnect','https://googleads.g.doubleclick.net');LiteYTEmbed.addPrefetch('preconnect','https://static.doubleclick.net');LiteYTEmbed.preconnected=!0}
fetchYTPlayerApi(){if(window.YT||(window.YT&&window.YT.Player))return;this.ytApiPromise=new Promise((res,rej)=>{var el=document.createElement('script');el.src='https://www.youtube.com/iframe_api';el.async=!0;el.onload=_=>{YT.ready(res)};el.onerror=rej;this.append(el)})}
async addYTPlayerIframe(params){this.fetchYTPlayerApi();await this.ytApiPromise;const videoPlaceholderEl=document.createElement('div')
this.append(videoPlaceholderEl);const paramsObj=Object.fromEntries(params.entries());new YT.Player(videoPlaceholderEl,{width:'100%',videoId:this.videoId,playerVars:paramsObj,events:{'onReady':event=>{event.target.playVideo()}}})}
async addIframe(){if(this.classList.contains('lyt-activated'))return;this.classList.add('lyt-activated');const params=new URLSearchParams(this.getAttribute('params')||[]);params.append('autoplay','1');params.append('playsinline','1');if(this.needsYTApiForAutoplay){return this.addYTPlayerIframe(params)}
const iframeEl=document.createElement('iframe');iframeEl.width=560;iframeEl.height=315;iframeEl.title=this.playLabel;iframeEl.allow='accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture';iframeEl.allowFullscreen=!0;iframeEl.src=`https://www.youtube-nocookie.com/embed/${encodeURIComponent(this.videoId)}?${params.toString()}`;this.append(iframeEl);iframeEl.focus()}}
customElements.define('lite-youtube',LiteYTEmbed);/**
* 2007-2023 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2023 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
$(document).ready(function($){$('.thumb-img a').on("click",function(e){e.preventDefault();let showcase_selector=$(this).closest('.showcase-wrapper');showcase_selector.find('li').removeClass('active');$(this).parent().addClass('active');showcase_selector.find('.thumb-previewer img').attr("src",$(this).attr("href"));showcase_selector.find('.thumb-previewer a').attr("href",$(this).attr("data-url"))})});/*!
* FitVids 1.1
*
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
*/
(function($){"use strict";$.fn.fitVids=function(options){var settings={customSelector:null,ignore:null,};if(!document.getElementById('fit-vids-style')){var head=document.head||document.getElementsByTagName('head')[0];var css='.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';var div=document.createElement('div');div.innerHTML='<p>x</p><style id="fit-vids-style">'+css+'</style>';head.appendChild(div.childNodes[1])}
if(options){$.extend(settings,options)}
return this.each(function(){var selectors=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];if(settings.customSelector){selectors.push(settings.customSelector)}
var ignoreList='.fitvidsignore';if(settings.ignore){ignoreList=ignoreList+', '+settings.ignore}
var $allVideos=$(this).find(selectors.join(','));$allVideos=$allVideos.not("object object");$allVideos=$allVideos.not(ignoreList);$allVideos.each(function(){var $this=$(this);if($this.parents(ignoreList).length>0){return}
if(this.tagName.toLowerCase()==='embed'&&$this.parent('object').length||$this.parent('.fluid-width-video-wrapper').length){return}
if((!$this.css('height')&&!$this.css('width'))&&(isNaN($this.attr('height'))||isNaN($this.attr('width')))){$this.attr('height',9);$this.attr('width',16)}
var height=(this.tagName.toLowerCase()==='object'||($this.attr('height')&&!isNaN(parseInt($this.attr('height'),10))))?parseInt($this.attr('height'),10):$this.height(),width=!isNaN(parseInt($this.attr('width'),10))?parseInt($this.attr('width'),10):$this.width(),aspectRatio=height/width;if(!$this.attr('id')){var videoID='fitvid'+Math.floor(Math.random()*999999);$this.attr('id',videoID)}
$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top',(aspectRatio*100)+"%");$this.removeAttr('height').removeAttr('width')})})}})(window.jQuery||window.Zepto);$(document).ready(function(){var swiper=new Swiper(".category-blog-swiper",{slidesPerView:3,spaceBetween:15,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev",},breakpoints:{320:{slidesPerView:1,},768:{slidesPerView:2,},1024:{slidesPerView:3,},},})});$(document).ready(function(){$(document).on('click','#anchor-accordion .tab-accordion .select-acc',function(e){if($(this).hasClass('collapsed')){$(this).parents('.tab-accordion').removeClass('active')}else{$(this).parents('.tab-accordion').addClass('active')}})});$(document).ready(function(){$('#order-confirmation .order-conf-newsletter .btn-subscribe').html('Join');let guestRegisterBtn=$('#guestRegistration #submitGuestRegister');let firstPassword=$("#guestRegistration #password");let secondPassword=$("#guestRegistration #confirmPassword");let msg=$("#guestRegistration #msg");guestRegisterBtn.addClass('disabled');secondPassword.keyup(function(){if(firstPassword.val()!=secondPassword.val()){msg.html("Password do not match").css("color","red")}else{msg.html("Password matched").css("color","green");guestRegisterBtn.removeClass('disabled')}});guestRegisterBtn.click(function(){if((firstPassword.val()!=''&&secondPassword.val()!='')&&(firstPassword.val()==secondPassword.val())){let id_customer=$('#guestRegistration').data('customerid');console.log(id_customer);$.ajax({type:"GET",url:guest_register_link,data:{action:'guestRegister',password:firstPassword.val(),id_customer:id_customer},success:function(response){if(response){window.location.href=account_url}}})}})});$(document).ready(function(){$(document).on('click','#pa-captcha-refesh',function(e){e.preventDefault();func_pa.refreshCaptcha($(this).parents('.pa-captcha-img').find('.pa-captcha-img-data').removeClass('loaded'));$(this).parents('.pa-captcha-inf').find('input[name=pa_captcha]').val('')});$('.sd_form_submit').click(function(e){let isValid=!1;currentForm=$('#my_captcha_form');var href=window.location.href;var splitit=(href.split('#'))[1];if(splitit!==""||splitit!=="undefined"){$('#my_captcha_form').animate({scrollTop:$('#'+splitit).offset().top})}
$('.error').remove();let requiredCount=0
let totalFieldCount=0;$('.sd_form-group input[data-required=1]').each(function(){totalFieldCount++});$('.sd_form-group textarea[data-required=1]').each(function(){totalFieldCount++});$('.sd_form-group .form-control').each(function(){$(this).map(function(){if(this.type==='email'){let inputvalues=$(this).val();if(this.value.trim().length<1){$(`#${this.id}`).after(`<span class="error">This field is required</span>`);isValid=!1;e.preventDefault();return!1}else{let regex=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(!regex.test(inputvalues)){$(`#${this.id}`).after(`<span class="error">Enter valid email</span>`);isValid=!1;e.preventDefault();return!1}else{requiredCount++}}}else{textId=$('#'+this.id).data('required');if(textId===1){if(this.value.trim().length<1){$(`#${this.id}`).after(`<span class="error">This field is required</span>`);isValid=!1;e.preventDefault();return!1}else{isValid=!0;requiredCount++}}}})});$('.checkbox_required').each(function(){if($(this).find('input[type="checkbox"]').filter(':checked').length<1){$(this).closest('.form-field').find('.error-log').after('<span class="error">Select any checkbox</span>');isValid=!1;e.preventDefault()}else{isValid=!0;requiredCount++}});if($('.google-captcha-form').length){var response=grecaptcha.getResponse();if(response.length==0){$(`#catptcharequired`).after(`<span class="error">reCAPTCHA error</span>`);return!1}}
if($('input[name=pa_captcha_realperson]').val().trim()===""){$(`#catptcharequired`).after('<span class="error">Security code does not match</span>');return!1}
if($('.sd_captcha-form').length){e.preventDefault();let captcha_type=$('.sd_captcha-form').attr('data-type');$.ajax({type:"POST",dataType:'json',url:validation_url,data:{action:'captcha_validation',type:captcha_type,pa_captcha:$('input[name=pa_captcha]').val(),pa_captcha_realperson:$('input[name=pa_captcha_realperson]').val(),posTo:$('input[name=posTo]').val(),realpersonPosTo:$('input[name=realpersonPosTo]').val(),},success:function(result){if(result.error){$($(`#catptcharequired`)).html('<span class="error">'+result.message+'</span>');func_pa.refreshCaptcha($('.pa-captcha-img').find('.pa-captcha-img-data').removeClass('loaded'));$('.pa-captcha-inf').find('input[name=pa_captcha]').val('')}else if(totalFieldCount===requiredCount){currentForm.submit()}}})}else if(isValid&&totalFieldCount===requiredCount){currentForm.submit()}})});var func_pa={refreshCaptcha:function(img){if(img.length&&!img.hasClass('loaded')){var orgLink=img.attr('src');var orgCode=img.attr('data-rand');var rand=Math.random();img.attr('src',orgLink.replace(orgCode,rand));img.attr('data-rand',rand);if(!img.hasClass('loaded')){img.addClass('loaded')}}},resetReCaptcha:function(){if(typeof recaptchaWidgets!=="undefined"&&typeof grecaptcha!=="undefined"){for(var i=0;i<recaptchaWidgets.length;i++){grecaptcha.reset(recaptchaWidgets[i])}}},loadCaptcha:function(){var img=$('.pa-captcha-img-data:not(.loaded)').first();if(img.length>0){img.load(function(){if(!img.hasClass('loaded')){func_pa.refreshCaptcha(img)}
if(img[0].complete&&img.hasClass('loaded')){func_pa.loadCaptcha()}}).filter(function(){return this.complete}).load()}}};(function(){var initializing=!1;window.JQClass=function(){};JQClass.classes={};JQClass.extend=function extender(prop){var base=this.prototype;initializing=!0;var prototype=new this();initializing=!1;for(var name in prop){prototype[name]=typeof prop[name]=='function'&&typeof base[name]=='function'?(function(name,fn){return function(){var __super=this._super;this._super=function(args){return base[name].apply(this,args||[])};var ret=fn.apply(this,arguments);this._super=__super;return ret}})(name,prop[name]):prop[name]}
function JQClass(){if(!initializing&&this._init){this._init.apply(this,arguments)}}
JQClass.prototype=prototype;JQClass.prototype.constructor=JQClass;JQClass.extend=extender;return JQClass}})();(function($){JQClass.classes.JQPlugin=JQClass.extend({name:'plugin',defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return'is-'+this.name},_init:function(){$.extend(this.defaultOptions,(this.regionalOptions&&this.regionalOptions[''])||{});var jqName=camelCase(this.name);$[jqName]=this;$.fn[jqName]=function(options){var otherArgs=Array.prototype.slice.call(arguments,1);if($[jqName]._isNotChained(options,otherArgs)){return $[jqName][options].apply($[jqName],[this[0]].concat(otherArgs))}
return this.each(function(){if(typeof options==='string'){if(options[0]==='_'||!$[jqName][options]){throw 'Unknown method: '+options}
$[jqName][options].apply($[jqName],[this].concat(otherArgs))}else{$[jqName]._attach(this,options)}})}},setDefaults:function(options){$.extend(this.defaultOptions,options||{})},_isNotChained:function(name,otherArgs){if(name==='option'&&(otherArgs.length===0||(otherArgs.length===1&&typeof otherArgs[0]==='string'))){return!0}
return $.inArray(name,this._getters)>-1},_attach:function(elem,options){elem=$(elem);if(elem.hasClass(this._getMarker())){return}
elem.addClass(this._getMarker());options=$.extend({},this.defaultOptions,this._getMetadata(elem),options||{});var inst=$.extend({name:this.name,elem:elem,options:options},this._instSettings(elem,options));elem.data(this.name,inst);this._postAttach(elem,inst);this.option(elem,options)},_instSettings:function(elem,options){return{}},_postAttach:function(elem,inst){},_getMetadata:function(elem){try{var data=elem.data(this.name.toLowerCase())||'';data=data.replace(/'/g,'"');data=data.replace(/([a-zA-Z0-9]+):/g,function(match,group,i){var count=data.substring(0,i).match(/"/g);return(!count||count.length%2===0?'"'+group+'":':group+':')});data=$.parseJSON('{'+data+'}');for(var name in data){var value=data[name];if(typeof value==='string'&&value.match(/^new Date\((.*)\)$/)){data[name]=eval(value)}}
return data}catch(e){return{}}},_getInst:function(elem){return $(elem).data(this.name)||{}},option:function(elem,name,value){elem=$(elem);var inst=elem.data(this.name);if(!name||(typeof name==='string'&&value==null)){var options=(inst||{}).options;return(options&&name?options[name]:options)}
if(!elem.hasClass(this._getMarker())){return}
var options=name||{};if(typeof name==='string'){options={};options[name]=value}
this._optionsChanged(elem,inst,options);$.extend(inst.options,options)},_optionsChanged:function(elem,inst,options){},destroy:function(elem){elem=$(elem);if(!elem.hasClass(this._getMarker())){return}
this._preDestroy(elem,this._getInst(elem));elem.removeData(this.name).removeClass(this._getMarker())},_preDestroy:function(elem,inst){}});function camelCase(name){return name.replace(/-([a-z])/g,function(match,group){return group.toUpperCase()})}
$.JQPlugin={createPlugin:function(superClass,overrides){if(typeof superClass==='object'){overrides=superClass;superClass='JQPlugin'}
superClass=camelCase(superClass);var className=camelCase(overrides.name);JQClass.classes[className]=JQClass.classes[superClass].extend(overrides);new JQClass.classes[className]()}}})(jQuery);(function($){var pluginName='realperson';var ALPHABETIC='ABCDEFGHIJKLMNOPQRSTUVWXYZ';var ALPHANUMERIC=ALPHABETIC+'0123456789';var DOTS=[['   *   ','  * *  ','  * *  ',' *   * ',' ***** ','*     *','*     *'],['****** ','*     *','*     *','****** ','*     *','*     *','****** '],[' ***** ','*     *','*      ','*      ','*      ','*     *',' ***** '],['****** ','*     *','*     *','*     *','*     *','*     *','****** '],['*******','*      ','*      ','****   ','*      ','*      ','*******'],['*******','*      ','*      ','****   ','*      ','*      ','*      '],[' ***** ','*     *','*      ','*      ','*   ***','*     *',' ***** '],['*     *','*     *','*     *','*******','*     *','*     *','*     *'],['*******','   *   ','   *   ','   *   ','   *   ','   *   ','*******'],['      *','      *','      *','      *','      *','*     *',' ***** '],['*     *','*   ** ','* **   ','**     ','* **   ','*   ** ','*     *'],['*      ','*      ','*      ','*      ','*      ','*      ','*******'],['*     *','**   **','* * * *','*  *  *','*     *','*     *','*     *'],['*     *','**    *','* *   *','*  *  *','*   * *','*    **','*     *'],[' ***** ','*     *','*     *','*     *','*     *','*     *',' ***** '],['****** ','*     *','*     *','****** ','*      ','*      ','*      '],[' ***** ','*     *','*     *','*     *','*   * *','*    * ',' **** *'],['****** ','*     *','*     *','****** ','*   *  ','*    * ','*     *'],[' ***** ','*     *','*      ',' ***** ','      *','*     *',' ***** '],['*******','   *   ','   *   ','   *   ','   *   ','   *   ','   *   '],['*     *','*     *','*     *','*     *','*     *','*     *',' ***** '],['*     *','*     *',' *   * ',' *   * ','  * *  ','  * *  ','   *   '],['*     *','*     *','*     *','*  *  *','* * * *','**   **','*     *'],['*     *',' *   * ','  * *  ','   *   ','  * *  ',' *   * ','*     *'],['*     *',' *   * ','  * *  ','   *   ','   *   ','   *   ','   *   '],['*******','     * ','    *  ','   *   ','  *    ',' *     ','*******'],['  ***  ',' *   * ','*   * *','*  *  *','* *   *',' *   * ','  ***  '],['   *   ','  **   ',' * *   ','   *   ','   *   ','   *   ','*******'],[' ***** ','*     *','      *','     * ','   **  ',' **    ','*******'],[' ***** ','*     *','      *','    ** ','      *','*     *',' ***** '],['    *  ','   **  ','  * *  ',' *  *  ','*******','    *  ','    *  '],['*******','*      ','****** ','      *','      *','*     *',' ***** '],['  **** ',' *     ','*      ','****** ','*     *','*     *',' ***** '],['*******','     * ','    *  ','   *   ','  *    ',' *     ','*      '],[' ***** ','*     *','*     *',' ***** ','*     *','*     *',' ***** '],[' ***** ','*     *','*     *',' ******','      *','     * ',' ****  ']];$.JQPlugin.createPlugin({name:pluginName,alphabetic:ALPHABETIC,alphanumeric:ALPHANUMERIC,defaultDots:DOTS,defaultOptions:{length:6,regenerate:'Click to change',hashName:'{n}Hash',dot:'*',dots:DOTS,chars:ALPHABETIC},_getters:['getHash'],_challengeClass:pluginName+'-challenge',_disabledClass:pluginName+'-disabled',_hashClass:pluginName+'-hash',_regenerateClass:pluginName+'-regen',_textClass:pluginName+'-text',_optionsChanged:function(elem,inst,options){$.extend(inst.options,options);var text='';for(var i=0;i<inst.options.length;i++){text+=inst.options.chars.charAt(Math.floor(Math.random()*inst.options.chars.length))}
inst.hash=hash(text+salt);var self=this;elem.closest('form').off('.'+inst.name).on('submit.'+inst.name,function(){var name=inst.options.hashName.replace(/\{n\}/,elem.attr('name'));var form=$(this);form.find('input[name="'+name+'"]').remove();form.append('<input type="hidden" class="'+self._hashClass+'" name="'+name+'" value="'+hash(text+salt)+'">');setTimeout(function(){form.find('input[name="'+name+'"]').remove()},0)});elem.prevAll('.'+this._challengeClass+',.'+this._hashClass).remove().end().before(this._generateHTML(inst,text)).prevAll('div.'+this._challengeClass).click(function(){if(!$(this).hasClass(self._disabledClass)){elem.realperson('option',{})}})},enable:function(elem){elem=$(elem);if(!elem.hasClass(this._getMarker())){return}
elem.removeClass(this._disabledClass).prop('disabled',!1).prevAll('.'+this._challengeClass).removeClass(this._disabledClass)},disable:function(elem){elem=$(elem);if(!elem.hasClass(this._getMarker())){return}
elem.addClass(this._disabledClass).prop('disabled',!0).prevAll('.'+this._challengeClass).addClass(this._disabledClass)},getHash:function(elem){var inst=this._getInst(elem);return inst?inst.hash:0},_generateHTML:function(inst,text){var html='<div class="'+this._challengeClass+'">'+'<div class="'+this._textClass+'">';for(var i=0;i<inst.options.dots[0].length;i++){for(var j=0;j<text.length;j++){html+=inst.options.dots[inst.options.chars.indexOf(text.charAt(j))][i].replace(/ /g,'&#160;').replace(/\*/g,inst.options.dot)+'&#160;&#160;'}
html+='<br>'}
html+='</div><div class="'+this._regenerateClass+'">'+inst.options.regenerate+'</div></div>';return html},_preDestroy:function(elem,inst){elem.closest('form').off('.'+inst.name);elem.prevAll('.'+this._challengeClass+',.'+this._hashClass).remove()}});var salt=$.salt||'#salt';delete $.salt;$(function(){var saltElem=$(salt);if(saltElem.length){salt=saltElem.text();saltElem.remove()}
if(salt==='#salt'){salt=''}});function hash(value){var hash=5381;for(var i=0;i<value.length;i++){hash=((hash<<5)+hash)+value.charCodeAt(i)}
return hash}})(jQuery);$('document').ready(function(){$('#realperson').realperson({length:6,chars:'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789',dot:'o',dots:[['   *   ','  ***  ','  ***  ',' **  * ',' ***** ','**    *','**    *'],['****** ','**    *','**    *','****** ','**    *','**    *','****** '],[' ***** ','**    *','**     ','**     ','**     ','**    *',' ***** '],['****** ','**    *','**    *','**    *','**    *','**    *','****** '],['*******','**     ','**     ','****   ','**     ','**     ','*******'],['*******','**     ','**     ','****   ','**     ','**     ','**     '],[' ***** ','**    *','**     ','**     ','**  ***','**    *',' ***** '],['**    *','**    *','**    *','*******','**    *','**    *','**    *'],['*******','  **   ','  **   ','  **   ','  **   ','  **   ','*******'],['     **','     **','     **','     **','     **','*    **',' ***** '],['**    *','**  ** ','****   ','**     ','****   ','**  ** ','**    *'],['**     ','**     ','**     ','**     ','**     ','**     ','*******'],['*     *','**   **','*** * *','** *  *','**    *','**    *','**    *'],['*     *','**    *','***   *','** *  *','**  * *','**   **','**    *'],[' ***** ','**    *','**    *','**    *','**    *','**    *',' ***** '],['****** ','**    *','**    *','****** ','**     ','**     ','**     '],[' ***** ','**    *','**    *','**    *','**  * *','**   * ',' **** *'],['****** ','**    *','**    *','****** ','**  *  ','**   * ','**    *'],[' ***** ','**    *','**     ',' ***** ','     **','*    **',' ***** '],['*******','  **   ','  **   ','  **   ','  **   ','  **   ','  **   '],['**    *','**    *','**    *','**    *','**    *','**    *',' ***** '],['**    *','**    *',' **  * ',' **  * ','  ***  ','  ***  ','   *   '],['**    *','**    *','**    *','** *  *','*** * *','**   **','*     *'],['**    *',' **  * ','  ***  ','   *   ','  ***  ',' **  * ','**    *'],['**    *',' **  * ','  ***  ','  **   ','  **   ','  **   ','  **   '],['*******','    ** ','   **  ','  **   ',' **    ','**     ','*******'],['  ***  ',' *   * ','*   * *','*  *  *','* *   *',' *   * ','  ***  '],['   *   ','  **   ',' * *   ','   *   ','   *   ','   *   ','*******'],[' ***** ','*     *','      *','     * ','   **  ',' **    ','*******'],[' ***** ','*     *','      *','    ** ','      *','*     *',' ***** '],['    *  ','   **  ','  * *  ',' *  *  ','*******','    *  ','    *  '],['*******','*      ','****** ','      *','      *','*     *',' ***** '],['  **** ',' *     ','*      ','****** ','*     *','*     *',' ***** '],['*******','     * ','    *  ','   *   ','  *    ',' *     ','*      '],[' ***** ','*     *','*     *',' ***** ','*     *','*     *',' ***** '],[' ***** ','*     *','*     *',' ******','      *','     * ',' ****  ']]})});$(document).ready(function(){var video=$(".product-custom-video").get(0);if(typeof video!=="undefined"){$('body').on('click','#product-images-thumbs .thumb',function(){video.paused?$('.product-custom-video').trigger('pause'):$('.product-custom-video').trigger('pause')});$('body').on('click','#product-video-thumb',function(){video.paused?$('.product-custom-video').trigger('play'):$('.product-custom-video').trigger('pause')});$('body').on('click','.play',function(){video.paused?$('.product-custom-video').trigger('play'):$('.product-custom-video').trigger('pause')})}});/**
 * Advanced Store Maps PrestaShop Module.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * @author    ReduxWeb
 * @copyright 2017-2022 reduxweb.net
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */
var AdvancedStoreMaps=function(){"use strict";function e(){return t.split(" ").map(function(t){return String.fromCharCode(t)}).join("").replace("{{date}}",(new Date).getFullYear())}function s(){if(0!==a.missingHooks.length){var t=h.ps.v17?"#content-wrapper":"#center_column",e=$(t);if(0!==e.length)for(var s in a.missingHooks){var i=a.missingHooks[s],i=$("<div />",{class:g,"data-hook":s,"data-width":i.mapWidth,"data-height":i.mapHeight,"data-layout":i.mapLayout});"displayContentWrapperTop"===s?e.prepend(i):e.append(i)}}c.containers=document.querySelectorAll("."+g)}function i(){r.mapClustering&&$("head").append('<script src="'+a.jsBaseLink+'markerclusterer.js"><\/script>')}function o(t){return y(t)||b(t)}function n(t,e){this.hook=e.hook||"",this.width=o(e.width)?e.width:"100%",this.height=o(e.height)?e.height:"60%",this.isPxWidth=y(this.width),this.isPxHeight=y(this.height),this.layout=0<=w.indexOf(e.layout)?e.layout:w[0],this.gm=t,this.el=null,this.main=null,this.map=null,this.infoWindow=null,this.markers=[],this.clusterer=null,this.searcher=null,this.buildLayout(),this.initMapWithMarkers(),this.initStoresSearcher()}var a,r,h,l,d,c={},t="65 100 118 97 110 99 101 100 32 83 116 111 114 101 32 77 97 112 115 32 40 99 41 32 67 111 112 121 114 105 103 104 116 32 50 48 49 55 45 123 123 100 97 116 101 125 125 32 82 101 100 117 120 87 101 98 32 119 119 119 46 114 101 100 117 120 119 101 98 46 110 101 116",u="AdvancedStoreMaps",m=u+"Data",p="https://maps.googleapis.com/maps/api/js",f=u+"InitMaps",g="rw-advancedstoremaps-map",v=(c.booted=!1,c.maps=[],c.containers=null,c.googleMapsCallback=null,c.googleMapsCallbackBefore=null,function(){if(0!==c.containers.length)if(d)if(void 0!==window.google&&void 0!==window.google.maps)i(),B();else{window[f]=function(){"function"==typeof c.googleMapsCallbackBefore&&c.googleMapsCallbackBefore(),B(),"function"==typeof c.googleMapsCallback&&c.googleMapsCallback()},i();var t="?key="+r.apiKey+"&callback="+f;if(r.mapLanguage==="shop")t+="&language="+h.langIsoCode;if(r.geocoding)t+="&libraries=geometry";$("head").append('<script src="'+p+t+'"><\/script>')}else $.getJSON(a.dataLink,function(t){t&&(d=t,v())})}),y=function(t){return/[0-9]*\.?[0-9]+px/i.test(t)},b=function(t){return/[0-9]*\.?[0-9]+%/.test(t)},w=["columns","columns-inv","rows","map-only"],k=(n.prototype.buildLayout=function(){var t;this.el||((t=document.createElement("div")).innerHTML='<div class="advsm-map"><div class="advsm-pad"></div><div class="advsm-container"><div class="advsm-main"><div class="advsm-pad"></div></div><div class="advsm-aside"><div class="advsm-search"><input type="text"><span></span><button class="advsm-search-clear" type="button"></button><div class="advsm-results" style="display: none;"></div></div><div class="advsm-filter"><select></select></div><div class="advsm-list"><div class="advsm-list-no-items" style="display: none;"></div></div></div></div></div>',this.el=t.firstChild,this.el.className+=" advsm-theme-"+("dark"===r.mapTheme?"dark":"light"),"map-only"===this.layout&&(t=this.el.querySelector(".advsm-aside")).parentNode.removeChild(t),this.gm.parentNode.insertBefore(this.el,this.gm),this.gm.className+=" advsm-placeholder",this.main=this.el.querySelector(".advsm-main"),this.main.appendChild(this.gm),this.el.className+=" advsm-layout-"+this.layout,this.el.className+=" advsm-width-"+(this.isPxWidth?"px":"pr"),this.el.className+=" advsm-height-"+(this.isPxHeight?"px":"pr"),this.isPxWidth?this.el.style.maxWidth=this.width:this.el.style.width=this.width,"map-only"===this.layout||"rows"===this.layout?this.isPxHeight?"rows"===this.layout?this.main.style.height=this.height:this.el.style.height=this.height:("rows"===this.layout?this.main:this.el).querySelector(".advsm-pad").style.paddingTop=this.height:(this.adaptLayout(),window.addEventListener("resize",this.adaptLayout.bind(this))))},n.prototype.adaptLayout=function(){var t=window.innerWidth<=768,e=(this.isPxHeight?(this.el.style.height=t?"":this.height,this.main.style.height=t?this.height:""):(this.el.querySelector(".advsm-pad").style.paddingTop=t?"":this.height,this.main.querySelector(".advsm-pad").style.paddingTop=t?this.height:""),"advsm-layout-rows"),s="advsm-layout-"+this.layout;t&&(t=e,e=s,s=t),this.el.className=this.el.className.replace(e,s)},n.prototype.initMapWithMarkers=function(){this.map||(this.map=new google.maps.Map(this.gm,this.getParams()),d.stores.forEach(function(t){this.markers.push(new k(this,t))}.bind(this)),this.infoWindow=new google.maps.InfoWindow({maxWidth:220}),r.mapClustering&&(this.clusterer=new MarkerClusterer(this.map,this.getMarkers(),r.clustererParams)))},n.prototype.getParams=function(){var t=Object.assign({},r.mapParams);return 0!==this.gm.clientWidth&&this.gm.clientWidth<576&&(t.controlSize=24),t},n.prototype.getMarkers=function(){return this.markers.map(function(t){return t.marker})},n.prototype.initStoresSearcher=function(){var t;this.searcher||(t=this.el.querySelector(".advsm-aside"))&&(this.searcher=new C(this,t))},n.prototype.center=function(t){this.map.setCenter(t)},n.prototype.reset=function(){this.map.setCenter(r.mapParams.center),this.map.setZoom(r.mapParams.zoom),this.markers.forEach(function(t){t.close()})},n.prototype.zoom=function(t){this.map.setZoom(t)},n.prototype.closeMarkers=function(){this.markers.forEach(function(t){t.close()})},function(t,e){this.store=e,this.map=t,this.marker=null,this.infoWindowContent="",this.timeout=0,this.initMarker(),this.addEventListeners()}),C=(k.prototype.initMarker=function(){this.marker||(this.marker=new google.maps.Marker(this.getParams()),this.marker.setMap(this.map.map))},k.prototype.getParams=function(){var t,e={title:this.store.name,position:new google.maps.LatLng(this.store.latitude,this.store.longitude)};return"bounce"===r.marker.animation?e.animation=google.maps.Animation.BOUNCE:"drop"===r.marker.animation&&(e.animation=google.maps.Animation.DROP),null!==r.marker.icon&&(t={url:r.marker.icon,scaledSize:new google.maps.Size(r.marker.width,r.marker.height)},e.icon=t),e},k.prototype.addEventListeners=function(){this.marker.addListener("click",this.open.bind(this))},k.prototype.getInfoWindowContent=function(){return this.infoWindowContent||(this.infoWindowContent=S(this.store)),this.infoWindowContent},k.prototype.open=function(){this.map.infoWindow.setContent(this.getInfoWindowContent()),this.map.infoWindow.open({map:this.map.map,shouldFocus:!1},this.marker)},k.prototype.close=function(){this.map.infoWindow.close()},k.prototype.show=function(t){this.map.closeMarkers(),this.map.zoom(t||18),this.map.center(this.marker.getPosition()),this.open(),0<=window.navigator.userAgent.indexOf("Edge")&&(clearTimeout(this.timeout),this.timeout=setTimeout(this.open.bind(this),800))},k.prototype.computeDistance=function(t){var e=this.marker.getPosition();return google.maps.geometry.spherical.computeDistanceBetween(t,e)},function(t,e){this.el=e,this.input=null,this.prevSearch="",this.select=null,this.clearBtn=null,this.list=null,this.noItems=null,this.map=t,this.items=[],this.filteredItems=this.items,this.geocoder=null,this.results=null,this.timeout=0,this.buildSearchElement(),this.buildFilterElement(),this.buildListElement()}),E=(C.prototype.buildSearchElement=function(){var t;this.search||(t=this.el.querySelector(".advsm-search"),this.input=t.querySelector("input"),this.input.setAttribute("placeholder",l.searchByAddr),this.clearBtn=t.querySelector(".advsm-search-clear"),this.clearBtn.addEventListener("click",this.onClearSearch.bind(this)),this.toggleClearBtn(!1),r.geocoding?(this.geocoder=new google.maps.Geocoder,this.results=t.querySelector(".advsm-results"),this.input.addEventListener("keyup",this.onGeoSearch.bind(this)),r.geoParams.detectLocation&&this.searchByUserLocation()):this.input.addEventListener("keyup",this.onTextSearch.bind(this)))},C.prototype.buildFilterElement=function(){var t;r.countryFilter&&!this.select&&(t=this.el.querySelector(".advsm-filter"),this.select=t.querySelector("select"),(t=document.createElement("option")).setAttribute("value",""),t.setAttribute("disabled",""),t.innerHTML=l.countryFilter,this.select.appendChild(t),(t=document.createElement("option")).setAttribute("value",""),t.innerHTML=l.allCountries,this.select.appendChild(t),d.countries.forEach(function(t){var e=document.createElement("option");e.setAttribute("value",t.iso_code),e.innerHTML=t.name,this.select.appendChild(e),t.iso_code===h.countryIsoCode&&(this.select.value=t.iso_code)}.bind(this)),this.select.addEventListener("change",this.onSelectChange.bind(this)),this.el.className+=" advsm-has-filter")},C.prototype.onSelectChange=function(t){this.filterItems(),this.resetSearch()},C.prototype.filterItems=function(){var e=this.getCountryIso();""===e?this.filteredItems=this.items:(this.filteredItems=[],this.items.forEach(function(t){t.marker.store.country_iso===e?this.filteredItems.push(t):t.hide()}.bind(this)))},C.prototype.getCountryIso=function(){return!this.select||this.select.selectedIndex<1?"":this.select.options[this.select.selectedIndex].value},C.prototype.onClearSearch=function(t){this.resetSearch()},C.prototype.toggleClearBtn=function(t){this.clearBtn.style.display=t?"block":"none"},C.prototype.buildListElement=function(){this.list||(this.list=this.el.querySelector(".advsm-list"),this.buildNoItems(),this.buildListItems(),this.filterItems())},C.prototype.buildNoItems=function(){var t,e;this.noItems||(this.noItems=this.el.querySelector(".advsm-list-no-items"),this.list.appendChild(this.noItems),t=document.createElement("div"),this.geocoder?t.innerText=l.noResultsFoundNear:t.innerText=l.noResultsFound,this.noItems.appendChild(t),(t=document.createElement("a")).setAttribute("href","#"),t.innerText=l.retrySearch,t.addEventListener("click",this.onResetSearch.bind(this)),(e=document.createElement("div")).className="advsm-retry-search",this.noItems.appendChild(e),e.appendChild(t))},C.prototype.onResetSearch=function(t){t.preventDefault(),this.resetSearch()},C.prototype.buildListItems=function(){0===this.items.length&&this.map.markers.forEach(function(t){t=new E(t);this.list.appendChild(t.elem),this.items.push(t)}.bind(this))},C.prototype.onTextSearch=function(t){this.toggleClearBtn(0<this.input.value.length);var e,s=this.input.value.trim().toLowerCase();this.prevSearch!==s&&(this.prevSearch=s,this.hideNoItems(),s.length<1?this.showAllItems():(e=!0,this.filteredItems.forEach(function(t){0<=t.keywords.indexOf(s)?(e=!1,t.show()):t.hide()}),e&&this.showNoItems()))},C.prototype.onGeoSearch=function(t){this.toggleClearBtn(0<this.input.value.length),clearTimeout(this.timeout),this.timeout=setTimeout(this.getResults.bind(this),500)},C.prototype.searchByUserLocation=function(){navigator.geolocation&&navigator.geolocation.getCurrentPosition(function(t){var s=new google.maps.LatLng(t.coords.latitude,t.coords.longitude);this.geocoder.geocode({location:s},function(t,e){e!==google.maps.GeocoderStatus.OK?this.buildNoResults():(e=t[0],this.input.value=e.formatted_address,this.prevSearch=e.formatted_address,this.toggleClearBtn(!0),this.searchItemsFrom(s))}.bind(this))}.bind(this))},C.prototype.getResults=function(){var t,e=this.input.value.trim();this.prevSearch!==e&&(this.prevSearch=e,this.hideNoItems(),e.length<2?(this.clearResults(),this.showAllItems()):(e={address:e},""!==(t=this.getCountryIso())&&(e.componentRestrictions={country:t}),this.geocoder.geocode(e,function(t,e){this.clearResults(),e!==google.maps.GeocoderStatus.OK?this.buildNoResults():1===t.length?this.searchItemsFrom(t[0].geometry.location):this.buildResults(t)}.bind(this))))},C.prototype.buildResults=function(t){t.forEach(this.buildResultsItem.bind(this)),this.results.style.display="block"},C.prototype.buildNoResults=function(){var t=document.createElement("a");t.setAttribute("href","#"),t.className="advsm-results-item",t.textContent=l.noAddressesFound,this.results.appendChild(t),this.results.style.display="block",t.addEventListener("click",this.onResetSearch.bind(this))},C.prototype.buildResultsItem=function(t){var e=document.createElement("a");e.setAttribute("href","#"),e.setAttribute("data-lat",t.geometry.location.lat()),e.setAttribute("data-lng",t.geometry.location.lng()),e.className="advsm-results-item",e.textContent=t.formatted_address,this.results.appendChild(e),e.addEventListener("click",this.onClickResult.bind(this))},C.prototype.onClickResult=function(t){t.preventDefault();t=t.target,t=new google.maps.LatLng(t.getAttribute("data-lat"),t.getAttribute("data-lng"));this.searchItemsFrom(t),this.clearResults()},C.prototype.searchItemsFrom=function(s){var i=null,o=[],n=r.geoParams.distance;this.filteredItems.forEach(function(t){var e=t.marker.computeDistance(s);(null===i||e<i.dist)&&(i={dist:e,item:t}),e<=n?o.push({dist:e,item:t}):t.hide()}),0===o.length?r.geoParams.showNearest?(i.item.show(),r.geoParams.showMarker&&i.item.showMarker()):this.showNoItems():(r.geoParams.orderByDistance?(o=o.sort(function(t,e){return t.dist>e.dist?1:-1})).forEach(function(t,e){t.item.show(e+1)}):o.forEach(function(t){t.item.show()}),r.geoParams.showMarker&&o[0].item.showMarker())},C.prototype.clearResults=function(){this.results.style.display="none",this.results.innerHTML=""},C.prototype.resetSearch=function(){clearTimeout(this.timeout),this.toggleClearBtn(!1),this.prevSearch="",this.input.value="",this.input.focus(),this.hideNoItems(),this.showAllItems(),this.geocoder&&(this.clearResults(),this.map.reset())},C.prototype.showAllItems=function(){this.filteredItems.forEach(function(t){t.show()})},C.prototype.hideNoItems=function(){this.noItems.style.display="none"},C.prototype.showNoItems=function(){this.noItems.style.display=""},function(t){this.marker=t,this.title=t.store.name,this.desc=t.store.address,this.featured=t.store.featured,this.keywords=this.getKeywords(),this.el=null,this.buildElem()}),S=(E.prototype.getKeywords=function(){return this.title.toLowerCase()+" "+this.desc.replace(/<br \/>(\r)?\n/g," ").trim().toLowerCase()},E.prototype.buildElem=function(){var t,e,s;this.el||((t=document.createElement("a")).setAttribute("href","#"),t.innerText=this.title,t.addEventListener("click",this.onClick.bind(this)),(e=document.createElement("div")).className="advsm-item-title",e.appendChild(t),(s=document.createElement("div")).className="advsm-item-desc",s.innerHTML=this.desc,this.elem=document.createElement("div"),this.elem.className="advsm-list-item",this.elem.appendChild(e),this.elem.appendChild(s),this.featured&&(this.elem.className+=" advsm-list-item-featured",(s=document.createElement("span")).className="advsm-item-featured-badge",s.setAttribute("title",l.featuredStore),e.insertBefore(s,t)))},E.prototype.onClick=function(t){t.preventDefault(),this.marker.show()},E.prototype.show=function(t){this.elem.style.display="",this.elem.style.order=t||""},E.prototype.showMarker=function(){this.marker.show(12)},E.prototype.hide=function(){this.elem.style.display="none"},function(e){var t=r.infoWindow.displayGetDirections,s='<div class="advsm-map-info advsm-map-info-store-'+e.id_store+(t?" advsm-map-info-push":"")+'"><div class="advsm-info-block advsm-info-title">'+e.name+"</div>";return r.infoWindow.storeDetails.forEach(function(t){switch(t){case"picture":s+=I(e);break;case"address":s+=L(e);break;case"phone":s+=M(e);break;case"email":s+=N(e);break;case"fax":s+=A(e);break;case"schedule":s+=x(e);break;case"note":s+=P(e);break;case"website":s+=W(e);break;case"content":s+=R(e)}}),t&&(s+=T(e.latitude,e.longitude)),s+="</div>"}),I=function(t){var e=t.picture.original,t=t.picture.default;return e?'<div class="advsm-info-block advsm-info-picture"><a href="'+e+'" target="_blank"><img src="'+(t||e)+'"></a></div>':""},L=function(t){return'<div class="advsm-info-block advsm-info-address">'+t.address+"</div>"},M=function(t){var e,s;return t.phone||0!==t.phones.length?(e="",s=t.phones.slice(),t.phone&&s.unshift(t.phone),s.forEach(function(t){e+='<span><a href="tel:'+t+'" title="'+t+'">'+t+"</a></span>"}),'<div class="advsm-info-block advsm-info-phone">'+e+"</div>"):""},N=function(t){var e,s;return t.email||0!==t.emails.length?(e="",s=t.emails.slice(),t.email&&s.unshift(t.email),s.forEach(function(t){e+='<span><a href="mailto:'+t+'" title="'+t+'">'+t+"</a></span>"}),'<div class="advsm-info-block advsm-info-email">'+e+"</div>"):""},A=function(t){return t.fax?'<div class="advsm-info-block advsm-info-fax">'+t.fax+"</div>":""},x=function(t){if(!Array.isArray(t.hours)||0===t.hours.length)return"";for(var i=Array.isArray(t.hours[0]),e=[],s=0;s<t.hours.length;s++){for(var o=t.hours[s],n=i?o.join(""):o,a=[l.weekdays[s]],r=s+1;r<t.hours.length;r++){if(n!==(i?t.hours[r].join(""):t.hours[r]))break;a.push(l.weekdays[r]),s=r}e.push({days:a,schedule:o})}var h='<div class="advsm-info-block advsm-info-schedule"><div class="advsm-info-schedule-title">'+l.workingHours+"</div>";return e.forEach(function(t){var e="--",s=(i?0!==t.schedule.length&&(e=t.schedule.join("<br>")):"string"==typeof t.schedule&&(e=t.schedule),t.days[0]);1<t.days.length&&(s=s.substr(0,3),s+="—"+t.days[t.days.length-1].substr(0,3)),h+='<div class="advsm-info-weekday"><span>'+s+"</span><span>"+e+"</span></div>"}),h+="</div>"},P=function(t){return t.note?'<div class="advsm-info-block advsm-info-note">'+t.note+"</div>":""},W=function(t){var e;return t.website?(e=t.website.replace(/^https?:\/\//,"",t.website),'<div class="advsm-info-block advsm-info-website"><a href="'+t.website+'" target="_blank" title="'+t.website+'">'+e+"</a></div>"):""},R=function(t){return t.content?'<div class="advsm-info-block advsm-info-content">'+t.content+"</div>":""},T=function(t,e){return'<div class="advsm-info-directions"><a href="https://maps.google.com/maps?saddr=&daddr=('+t+"%20,"+e+')" target="_blank">'+l.getDirections+"</a></div>"},B=function(){c.containers.forEach(function(t){c.maps.push(c.initMap(t))})};c.initMap=function(t,e){return e=e||{hook:t.getAttribute("data-hook"),width:t.getAttribute("data-width"),height:t.getAttribute("data-height"),layout:t.getAttribute("data-layout")},new n(t,e)};return c.run=function(){if(!c.booted){if("object"==typeof window[m]){var t=window[m];a=t.meta,r=t.settings,h=t.context,l=t.trans;try{r.mapParams.styles=JSON.parse(r.mapStyle)}catch(t){}s(),v()}c.booted=!0}return e},c}();document.addEventListener("DOMContentLoaded",AdvancedStoreMaps.run),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var s=Object(t),i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(s[n]=o[n])}return s},writable:!0,configurable:!0});;$(document).ready(function(){swiperRelated=new Swiper(".sd_product_list",{slidesPerView:4,cssMode:!0,centerInsufficientSlides:!0,lazy:{loadedClass:'loaded',checkInView:!0,},watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,loop:!1,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev",},pagination:{el:'.swiper-pagination',clickable:!0,},mousewheel:!0,breakpoints:{320:{spaceBetween:5,slidesPerView:2,},768:{spaceBetween:10,slidesPerView:2,},1024:{slidesPerView:4,spaceBetween:10,}}})});$(document).on('ready',function(){prestashop.on("updatedProduct",function(e){let id_product=$('input[name=id_product]').val();let $product_data=$.parseJSON($('#product-details').attr('data-product'));$.ajax({type:"POST",dataType:'json',url:ajax_url,data:{id_product_attribute:$product_data.id_product_attribute,id_product:id_product,action:'getCombinationDetails'},success:function(json){if(json.summary!==undefined&&json.summary!==''){$('.product-short-description').html(json.summary)}else if(json.summary===''){$('.product-short-description').html('')}
if(json.desc!==undefined&&json.desc!==''){if($('#product-infos-tabs').find('li a[href="#description"]').length===0&&($('.stheme-accordion').length===0)){let descLi='<li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#description">Description</a></li>';if($('#product-infos-tabs-content').length===0){$('.product-tabs').append('<div id="product-infos-tabs-content" class="tab-content"></div>')}
$('#product-infos-tabs').prepend(descLi);$('.tab-content').prepend(json.desc)}else{$('#description').html(json.desc)}}else if(json.desc===''){$('#product-infos-tabs').find('li a[href="#description"]').closest('li').remove();$('.tab-content #description').html('').remove()}}})})});/**
  * Copyright ETS Software Technology Co., Ltd
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future.
 *
 * @author ETS Software Technology Co., Ltd
 * @copyright  ETS Software Technology Co., Ltd
 * @license    Valid for 1 website (or project) for each purchase of license
 */
function EtsHelpers(){this.isFn=function(val){return typeof val===typeof Function};this.isset=function(val){return typeof val!==typeof undefined};this.stripHtmlTags=function(str,tags){let expr='';if(this.isset(tags)){if(Array.isArray(tags)){expr=`(${tags.join('|')})`}else{expr=tags}}else{expr='[a-z0-9]'}
const re=new RegExp(`<\\/?${expr}[^>]*?>`,'gi');return str.replace(re,'')};this.hasHtmlTag=function(str,tag){let expr;if(Array.isArray(tag)){expr=`(${tag.join('|')})`}else{expr=tag}
const re=new RegExp(`<\\/?${expr}[^>]*?>`,'gi');return re.test(str)};this.getLocationHash=function(){return location.hash.substr(1)};const fallbackCopyTextToClipboard=(text,onSuccess,onError)=>{const textArea=document.createElement('textarea');textArea.value=text;textArea.style.top='0';textArea.style.left='0';textArea.style.position='fixed';document.body.appendChild(textArea);textArea.focus();textArea.select();try{const successful=document.execCommand('copy');const msg=successful?'successful':'unsuccessful';if(successful&&typeof onSuccess===typeof Function){onSuccess.apply(null,[text])}else if(typeof onError===typeof Function){onError.apply(null,[text,'Fallback: Copying text command was unsuccessful'])}}catch(err){onError.apply(null,[text,'Fallback: Oops, unable to copy',err]);console.error('Fallback: Oops, unable to copy',err)}
document.body.removeChild(textArea)};this.copyTextToClipboard=(text,onSuccess,onError)=>{if(!navigator.clipboard){fallbackCopyTextToClipboard(text,onSuccess,onError);return}
navigator.clipboard.writeText(text).then(function(){if(typeof onSuccess===typeof Function){onSuccess.apply(null,[text])}},function(err){if(typeof onError===typeof Function){onError.apply(null,[text,'Async: Could not copy text',err])}})};this.arrayRemove=(value,array)=>{const index=array.indexOf(value);if(index!==-1){array.splice(index,1)}
return array}}
window.etsHelper=new EtsHelpers();if(!etsHelper.isFn(String.prototype.stripHtmlTags)){String.prototype.stripHtmlTags=function(tags){return etsHelper.stripHtmlTags(this,tags)}}
if(!etsHelper.isFn(String.prototype.hasHtmlTag)){String.prototype.hasHtmlTag=function(tag){return etsHelper.hasHtmlTag(this,tag)}}
if(!etsHelper.isFn(Array.prototype.remove)){Array.prototype.remove=function(value){return etsHelper.arrayRemove(value,this)}};/**
  * Copyright ETS Software Technology Co., Ltd
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future.
 *
 * @author ETS Software Technology Co., Ltd
 * @copyright  ETS Software Technology Co., Ltd
 * @license    Valid for 1 website (or project) for each purchase of license
 */
(function(jQuery){if(typeof etsSeoFo===typeof undefined){return}
function correctProductAttribute(){const hash=etsHelper.getLocationHash();if(hash.length&&hash.split('/').length&&etsSeoFo.productGroups){let classSelector='.product-variants';if(jQuery('.js-product-variants').length){classSelector='.js-product-variants'}
if(jQuery('.ce-product-variants').length){classSelector='.ce-product-variants'}
const parts=hash.split('/').map((v)=>decodeURIComponent(v));let firstElem;parts.forEach((item)=>{if(!item.trim().length){return}
const re=new RegExp(/\d-\w+/);let name;let value;let id;if(re.test(item)){[id,name,value]=item.split('-')}else{[name,value]=item.split('-')}
name=name.toLowerCase();if(etsSeoFo.productGroups[name]){const group=etsSeoFo.productGroups[name];const elem=jQuery(`${classSelector} [name="group[${group.idGroup}]"]`);if(!firstElem){firstElem=elem}
if(elem.is('select')){elem.find('option').prop('selected',!1);elem.val('')}else{elem.prop('checked',!1)}
group.attributes.forEach((attr)=>{let condTest;if(id){condTest=Boolean(attr.id===Number(id))}else{condTest=Boolean(attr.url.toLowerCase()===value.toLowerCase())}
if(condTest){if(elem.is('select')){elem.find(`option[value="${attr.id}"]`).prop('selected',!0);elem.val(attr.id)}else{elem.filter(`[value="${attr.id}"]`).prop('checked',!0)}}})}});if(window.hasOwnProperty('ceFrontend')&&window.ceFrontend.hasOwnProperty('refreshProduct')&&firstElem){if(firstElem.is('select')){firstElem.trigger('change.ce')}else{firstElem.first(':checked').trigger('change.ce')}}else{window.setTimeout(()=>{console.log('correctProductAttribute timeout run');const e=jQuery.Event('change');e.target=firstElem;e.handleObj=e.handleObj?e.handleObj:{};e.handleObj.selector='.product-variants, .js-product-variants *[name]';e.originalEvent=e;prestashop.emit('updateProduct',{eventType:'updatedProductCombination',event:e,})},200)}}}
if(etsSeoFo.productHasGroups&&etsSeoFo.conf.removeId){jQuery(document).ready(correctProductAttribute)}}(jQuery));/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
(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="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" 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;a&&!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)));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})},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.open(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);jQuery.fn.tooltip=window._BStooltip;$(document).ready(function(){prestashop.blockcart=prestashop.blockcart||{};var showModal=prestashop.blockcart.showModal||function(modal){};$(document).ready(function(){$(document).on('click','#js-cart-close',function(e){$('#blockcart, #mobile-cart-wrapper, #_mobile_blockcart-content, #_desktop_blockcart-content').removeClass('show');e.stopPropagation()});$(document).on('click','#blockcart-content',function(e){e.stopPropagation()});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}}
$.post(refreshURL,requestData).then(function(resp){$('#cart-toogle').html($(resp.preview).find('#cart-toogle').html());$('#blockcart-content').html($(resp.preview).find('#blockcart-content').html());$('#mobile-cart-products-count').text($(resp.preview).find('.cart-products-count-btn').first().text());prestashop.emit('updatedAjaxCart',{});if(event.reason.linkAction=='delete-from-cart'){prestashop.emit('updateProductListAddToCart',{id_product:event.reason.idProduct,id_product_attribute:event.reason.idProductAttribute,new_html:event.reason.newAddBtn})}else{prestashop.emit('updateProductListAddToCart',{id_product:event.reason.idProduct,id_product_attribute:event.reason.idProductAttribute,new_html:$(resp.preview).find('#updated-add-cart-btn-'+event.reason.idProduct+'-'+event.reason.idProductAttribute).html()})}
if(resp.modal){showModal(resp.modal)}}).fail(function(resp){prestashop.emit('handleError',{eventType:'updateShoppingCart',resp:resp})});if(event&&event.resp&&event.resp.hasError){prestashop.emit('showErrorNextToAddtoCartButton',{errorMessage:event.resp.errors.join('<br/>')});let $toast=$('#cart-error-toast');$toast.html(event.resp.errors.join('<br/>'));$toast.toast('show')}})})});!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Instafeed=t()}(this,function(){"use strict";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:1e4,after:null,apiTimeout:1e4,apiLimit:null,before:null,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)"undefined"!=typeof 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.before||"function"==typeof o.before,"before must be null or function, got "+o.before+" ("+typeof o.before+")"),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+")"),e(!o.apiLimit||"number"==typeof o.apiLimit,"apiLimit must null or number, got "+o.apiLimit+" ("+typeof o.apiLimit+")"),this._state={running:!1,node:null,token:null,paging:null,pool:[]},this._options=o}return t.prototype.run=function(){var e=this;return this._debug("run","options",this._options),this._debug("run","state",this._state),this._state.running?(this._debug("run","already running, skipping"),!1):(this._start(),this._debug("run","getting dom node"),"string"==typeof this._options.target?this._state.node=document.getElementById(this._options.target):this._state.node=this._options.target,this._state.node?(this._debug("run","got dom node",this._state.node),this._debug("run","getting access token"),this._getAccessToken(function(t,o){if(t)return e._debug("onTokenReceived","error",t),void e._fail(new Error("error getting access token: "+t.message));e._debug("onTokenReceived","got token",o),e._state.token=o,e._showNext(function(t){if(t)return e._debug("onNextShown","error",t),void e._fail(t);e._finish()})}),!0):(this._fail(new Error("no element found with ID "+this._options.target)),!1))},t.prototype.hasNext=function(){var e=this._state.paging,t=this._state.pool;return this._debug("hasNext","paging",e),this._debug("hasNext","pool",t.length,t),t.length>0||e&&"string"==typeof e.next},t.prototype.next=function(){var e=this;return e.hasNext()?e._state.running?(e._debug("next","already running, skipping"),!1):(e._start(),void e._showNext(function(t){if(t)return e._debug("onNextShown","error",t),void e._fail(t);e._finish()})):(e._debug("next","hasNext is false, skipping"),!1)},t.prototype._showNext=function(e){var t=this,o=null,n=null,i="number"==typeof this._options.limit;if(t._debug("showNext","pool",t._state.pool.length,t._state.pool),t._state.pool.length>0){if(n=i?t._state.pool.splice(0,t._options.limit):t._state.pool.splice(0),t._debug("showNext","items from pool",n.length,n),t._debug("showNext","updated pool",t._state.pool.length,t._state.pool),t._options.mock)t._debug("showNext","mock enabled, skipping render");else try{t._renderData(n)}catch(s){return void e(s)}e(null)}else t._state.paging&&"string"==typeof t._state.paging.next?o=t._state.paging.next:(o="https://graph.instagram.com/me/media?fields=caption,id,media_type,media_url,permalink,thumbnail_url,timestamp,username&access_token="+t._state.token,t._options.apiLimit||"number"!=typeof t._options.limit?"number"==typeof t._options.apiLimit&&(t._debug("showNext","apiLimit set, overriding limit",t._options.apiLimit,t._options.limit),o=o+"&limit="+t._options.apiLimit):(t._debug("showNext","no apiLimit set, falling back to limit",t._options.apiLimit,t._options.limit),o=o+"&limit="+t._options.limit)),t._debug("showNext","making request",o),t._makeApiRequest(o,function(o,n){var i=null;if(o)return t._debug("onResponseReceived","error",o),void e(new Error("api request error: "+o.message));t._debug("onResponseReceived","data",n),t._success(n),t._debug("onResponseReceived","setting paging",n.paging),t._state.paging=n.paging;try{if(i=t._processData(n),t._debug("onResponseReceived","processed data",i),i.unused&&i.unused.length>0){t._debug("onResponseReceived","saving unused to pool",i.unused.length,i.unused);for(var r=0;r<i.unused.length;r++)t._state.pool.push(i.unused[r])}}catch(a){return void e(a)}if(t._options.mock)t._debug("onResponseReceived","mock enabled, skipping append");else try{t._renderData(i.items)}catch(s){return void e(s)}e(null)})},t.prototype._processData=function(e){var t="function"==typeof this._options.transform,o="function"==typeof this._options.filter,n="function"==typeof this._options.sort,i="number"==typeof this._options.limit,s=[],r=null,a=null,u=null,l=null,p=null;if(this._debug("processData","hasFilter",o,"hasTransform",t,"hasSort",n,"hasLimit",i),"object"!=typeof e||"object"!=typeof e.data||e.data.length<=0)return null;for(var c=0;c<e.data.length;c++){if(a=this._getItemData(e.data[c]),t)try{u=this._options.transform(a),this._debug("processData","transformed item",a,u)}catch(f){throw this._debug("processData","error calling transform",f),new Error("error in transform: "+f.message)}else u=a;if(o){try{l=this._options.filter(u),this._debug("processData","filter item result",u,l)}catch(f){throw this._debug("processData","error calling filter",f),new Error("error in filter: "+f.message)}l&&s.push(u)}else s.push(u)}if(n)try{s.sort(this._options.sort)}catch(f){throw this._debug("processData","error calling sort",f),new Error("error in sort: "+f.message)}return i&&(r=s.length-this._options.limit,this._debug("processData","checking limit",s.length,this._options.limit,r),r>0&&(p=s.slice(s.length-r),this._debug("processData","unusedItems",p.length,p),s.splice(s.length-r,r))),{items:s,unused:p}},t.prototype._extractTags=function(e){var t=/#([^\s]+)/gi,o=/[~`!@#$%^&*\(\)\-\+={}\[\]:;"'<>\?,\./|\\\s]+/i,n=[],i=null;if("string"==typeof e)for(;null!==(i=t.exec(e));)!1===o.test(i[1])&&n.push(i[1]);return n},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,tags:this._extractTags(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,i=null,s=null,r="";if(this._debug("renderData","hasTemplate",t,"hasRender",o),!("object"!=typeof e||e.length<=0)){for(var a=0;a<e.length;a++){if(n=e[a],o)try{i=this._options.render(n,this._options),this._debug("renderData","custom render result",n,i)}catch(u){throw this._debug("renderData","error calling render",u),new Error("error in render: "+u.message)}else t&&(i=this._basicRender(n));i?r+=i:this._debug("renderData","render item did not return any content",n)}for(this._debug("renderData","html content",r),(s=document.createElement("div")).innerHTML=r,this._debug("renderData","container",s,s.childNodes.length,s.childNodes);s.childNodes.length>0;)this._debug("renderData","appending child",s.childNodes[0]),this._state.node.appendChild(s.childNodes[0])}},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,i="",s=0,r=null,a=null;null!==(n=t.exec(o));)r=n[1],i+=o.slice(s,n.index),(a=this._valueForKeyPath(r,e))&&(i+=a.toString()),s=t.lastIndex;return s<o.length&&(i+=o.slice(s,o.length)),i},t.prototype._valueForKeyPath=function(e,t){for(var o=/([\w]+)/gm,n=null,i=t;null!==(n=o.exec(e));){if("object"!=typeof i)return null;i=i[n[1]]}return i},t.prototype._fail=function(e){!this._runHook("error",e)&&console&&"function"==typeof console.error&&console.error(e),this._state.running=!1},t.prototype._start=function(){this._state.running=!0,this._runHook("before")},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,i=null,s=function(e,n){o||(o=!0,t(e,n))};(i=new XMLHttpRequest).ontimeout=function(){s(new Error("api request timed out"))},i.onerror=function(){s(new Error("api connection error"))},i.onload=function(e){var t=i.getResponseHeader("Content-Type"),o=null;if(n._debug("apiRequestOnLoad","loaded",e),n._debug("apiRequestOnLoad","response status",i.status),n._debug("apiRequestOnLoad","response content type",t),t.indexOf("application/json")>=0)try{o=JSON.parse(i.responseText)}catch(r){return n._debug("apiRequestOnLoad","json parsing error",r,i.responseText),void s(new Error("error parsing response json"))}200===i.status?s(null,o):o&&o.error?s(new Error(o.error.code+" "+o.error.message)):s(new Error("status code "+i.status))},i.open("GET",e,!0),i.timeout=this._options.apiTimeout,i.send()},t.prototype._getAccessToken=function(e){var t=!1,o=this,n=null,i=function(o,i){t||(t=!0,clearTimeout(n),e(o,i))};if("function"==typeof this._options.accessToken){this._debug("getAccessToken","calling accessToken as function"),n=setTimeout(function(){o._debug("getAccessToken","timeout check",t),i(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),i(e,n)})}catch(s){this._debug("getAccessToken","error invoking the accessToken as function",s),i(s,null)}}else this._debug("getAccessToken","treating accessToken as static",typeof this._options.accessToken),i(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(n){this._debug("runHook","error calling hook",e,n)}return o},t});!function($,window,document,undefined){"use strict";function Plugin(element,options){this.element=element,this.settings=$.extend({},defaults,options),this._defaults=defaults,this._name=pluginName,this.init()}var pluginName="numerator",defaults={easing:"swing",duration:500,delimiter:undefined,rounding:0,toValue:undefined,fromValue:0,queue:!1,onStart:function(){},onStep:function(){},onProgress:function(){},onComplete:function(){}};Plugin.prototype={init:function(){this.parseElement(),this.setValue()},parseElement:function(){var elText=$.trim($(this.element).text());this.settings.fromValue=this.format(elText),this.settings.toValue=this.format($(this.element).data("to_value"))},setValue:function(){var self=this;$({value:self.settings.fromValue}).animate({value:self.settings.toValue},{duration:parseInt(self.settings.duration),easing:self.settings.easing,start:self.settings.onStart,step:function(now,fx){$(self.element).text(self.format(now)),self.settings.onStep(now,fx)},progress:self.settings.onProgress,complete:self.settings.onComplete})},format:function(value){var self=this;return value=parseInt(this.settings.rounding)<1?parseInt(value):parseFloat(value).toFixed(parseInt(this.settings.rounding)),self.settings.delimiter?this.delimit(value):value},delimit:function(value){var self=this;if(value=value.toString(),self.settings.rounding&&parseInt(self.settings.rounding)>0){var decimals=value.substring(value.length-(self.settings.rounding+1),value.length),wholeValue=value.substring(0,value.length-(self.settings.rounding+1));return self.addCommas(wholeValue)+decimals}return self.addCommas(value)},addCommas:function(value){return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.settings.delimiter)}},$.fn[pluginName]=function(options){return this.each(function(){$.data(this,"plugin_"+pluginName)&&$.data(this,"plugin_"+pluginName,null),$.data(this,"plugin_"+pluginName,new Plugin(this,options))})}}(jQuery,window,document);var lottiePlayerLoaded=!1;jQuery.cachedScript=function(url,options){options=$.extend(options||{},{dataType:"script",cache:!0,url:url});return jQuery.ajax(options)};function loadElementorLottiePlayer(){if(!lottiePlayerLoaded){$.cachedScript("https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js").done(function(script,textStatus){console.log('Lottie player loaded');$.cachedScript("https://unpkg.com/@lottiefiles/lottie-interactivity@0.1.3/dist/lottie-interactivity.min.js").done(function(script,textStatus){console.log('Lottie player loaded2');var event=new CustomEvent("lottieLoaded");document.dispatchEvent(event)})});lottiePlayerLoaded=!0}};(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){var ElementsHandler;ElementsHandler=function($){var registeredHandlers={},registeredGlobalHandlers=[];var runGlobalHandlers=function($scope){$.each(registeredGlobalHandlers,function(){this.call($scope,$)})};this.addHandler=function(widgetType,callback){registeredHandlers[widgetType]=callback};this.addGlobalHandler=function(callback){registeredGlobalHandlers.push(callback)};this.runReadyTrigger=function($scope){var elementType=$scope.data('element_type');if(!elementType){return}
runGlobalHandlers($scope);if(!registeredHandlers[elementType]){return}
registeredHandlers[elementType].call($scope,$)}};module.exports=ElementsHandler},{}],2:[function(require,module,exports){(function($){var ElementsHandler=require('elementor-frontend/elements-handler'),Utils=require('elementor-frontend/utils');var ElementorFrontend=function(){var self=this,scopeWindow=window;var elementsDefaultHandlers={accordion:require('elementor-frontend/handlers/accordion'),alert:require('elementor-frontend/handlers/alert'),counter:require('elementor-frontend/handlers/counter'),'image-carousel':require('elementor-frontend/handlers/image-carousel'),instagram:require('elementor-frontend/handlers/instagram'),testimonial:require('elementor-frontend/handlers/testimonial'),progress:require('elementor-frontend/handlers/progress'),section:require('elementor-frontend/handlers/section'),tabs:require('elementor-frontend/handlers/tabs'),lottie:require('elementor-frontend/handlers/lottie'),'prestashop-widget-Blog':require('elementor-frontend/handlers/prestashop-blog'),'prestashop-widget-ProductsList':require('elementor-frontend/handlers/prestashop-productlist'),'prestashop-widget-ProductsListTabs':require('elementor-frontend/handlers/prestashop-productlisttabs'),'prestashop-widget-Brands':require('elementor-frontend/handlers/prestashop-brands'),'prestashop-widget-Search':require('elementor-frontend/handlers/prestashop-search'),'prestashop-widget-ContactForm':require('elementor-frontend/handlers/prestashop-contactform'),toggle:require('elementor-frontend/handlers/toggle'),video:require('elementor-frontend/handlers/video')};var addGlobalHandlers=function(){self.elementsHandler.addGlobalHandler(require('elementor-frontend/handlers/global'))};var addElementsHandlers=function(){$.each(elementsDefaultHandlers,function(elementName){self.elementsHandler.addHandler(elementName,this)})};var runElementsHandlers=function(){$('.elementor-element').each(function(){self.elementsHandler.runReadyTrigger($(this))})};this.config=elementorFrontendConfig;this.getScopeWindow=function(){return scopeWindow};this.setScopeWindow=function(window){scopeWindow=window};this.isEditMode=function(){return self.config.isEditMode};this.elementsHandler=new ElementsHandler($);this.utils=new Utils($);this.init=function(){addGlobalHandlers();addElementsHandlers();runElementsHandlers()};this.throttle=function(func,wait){var timeout,context,args,result,previous=0;var later=function(){previous=Date.now();timeout=null;result=func.apply(context,args);if(!timeout){context=args=null}};return function(){var now=Date.now(),remaining=wait-(now-previous);context=this;args=arguments;if(remaining<=0||remaining>wait){if(timeout){clearTimeout(timeout);timeout=null}
previous=now;result=func.apply(context,args);if(!timeout){context=args=null}}else if(!timeout){timeout=setTimeout(later,remaining)}
return result}}};window.elementorFrontend=new ElementorFrontend()})(jQuery);jQuery(function(){if(!elementorFrontend.isEditMode()){elementorFrontend.init()}})},{"elementor-frontend/elements-handler":1,"elementor-frontend/handlers/accordion":3,"elementor-frontend/handlers/alert":4,"elementor-frontend/handlers/counter":5,"elementor-frontend/handlers/global":6,"elementor-frontend/handlers/image-carousel":7,"elementor-frontend/handlers/instagram":8,"elementor-frontend/handlers/lottie":9,"elementor-frontend/handlers/prestashop-blog":10,"elementor-frontend/handlers/prestashop-brands":11,"elementor-frontend/handlers/prestashop-contactform":12,"elementor-frontend/handlers/prestashop-productlist":13,"elementor-frontend/handlers/prestashop-productlisttabs":14,"elementor-frontend/handlers/prestashop-search":15,"elementor-frontend/handlers/progress":16,"elementor-frontend/handlers/section":17,"elementor-frontend/handlers/tabs":18,"elementor-frontend/handlers/testimonial":19,"elementor-frontend/handlers/toggle":20,"elementor-frontend/handlers/video":21,"elementor-frontend/utils":22}],3:[function(require,module,exports){var activateSection=function(sectionIndex,$accordionTitles){var $activeTitle=$accordionTitles.filter('.active'),$requestedTitle=$accordionTitles.filter('[data-section="'+sectionIndex+'"]'),isRequestedActive=$requestedTitle.hasClass('active');$activeTitle.removeClass('active').next().slideUp();if(!isRequestedActive){$requestedTitle.addClass('active').next().slideDown()}};module.exports=function($){var $this=$(this),$accordionDiv=$this.find('.elementor-accordion'),defaultActiveSection=$accordionDiv.data('active-section'),activeFirst=$accordionDiv.data('active-first'),$accordionTitles=$this.find('.elementor-accordion-title');if(!defaultActiveSection){defaultActiveSection=1}
if(activeFirst){activateSection(defaultActiveSection,$accordionTitles)}
$accordionTitles.on('click',function(){activateSection(this.dataset.section,$accordionTitles)})}},{}],4:[function(require,module,exports){module.exports=function($){$(this).find('.elementor-alert-dismiss').on('click',function(){$(this).parent().fadeOut()})}},{}],5:[function(require,module,exports){module.exports=function($){var $number=$(this).find('.elementor-counter-number');$number.waypoint(function(){$number.numerator({duration:$number.data('duration')})},{offset:'90%'})}},{}],6:[function(require,module,exports){module.exports=function(){if(elementorFrontend.isEditMode()){return}
var $element=this,animation=$element.data('animation');if(!animation){return}
$element.addClass('elementor-invisible').removeClass(animation);$element.waypoint(function(){$element.removeClass('elementor-invisible').addClass(animation)},{offset:'90%'})}},{}],7:[function(require,module,exports){module.exports=function($){var $carousel=$(this).find('.elementor-image-carousel');if(!$carousel.length){return}
var savedOptions=$carousel.data('slider_options'),swiperOptions={touchEventsTarget:'container',loop:savedOptions.loop,speed:savedOptions.speed,watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,slidesPerView:savedOptions.slidesToShowMobile,slidesPerGroup:savedOptions.slidesToShowMobile,breakpoints:{768:{slidesPerView:savedOptions.slidesToShowTablet,slidesPerGroup:savedOptions.slidesToShowTablet,},992:{slidesPerView:savedOptions.slidesToShow,slidesPerGroup:savedOptions.slidesToShow,}}};if(savedOptions.autoplay){swiperOptions.autoplay={delay:savedOptions.autoplaySpeed,disableOnInteraction:savedOptions.disableOnInteraction,}}
if(savedOptions.lazy){swiperOptions.lazy={loadPrevNext:!0,}}
if(savedOptions.fade){swiperOptions.effect='fade';swiperOptions.fadeEffect={crossFade:!0}}
if(savedOptions.dots){swiperOptions.pagination={el:'.swiper-pagination',clickable:!0,}}
if(savedOptions.arrows){swiperOptions.navigation={nextEl:'.swiper-button-next',prevEl:'.swiper-button-prev',}}
var swiperInstance=new Swiper($carousel[0],swiperOptions);if(savedOptions.autoplay&&savedOptions.disableOnInteraction){$carousel.mouseenter(function(){swiperInstance.autoplay.stop()});$carousel.mouseleave(function(){swiperInstance.autoplay.start()})}}},{}],8:[function(require,module,exports){module.exports=function($){const $self=$(this);const $instagramWrapper=$self.find('.elementor-instagram');const $carousel=$self.find('.elementor-instagram-carousel');if(!$instagramWrapper.length){return}
const options=$instagramWrapper.data('options');const init=function(){initTokenConnection()};const initTokenConnection=function(){if(elementorFrontendConfig.instagramToken==''){return}
var tagsToReplace={'&':'&amp;','<':'&lt;','"':'&quot;','':'&quot;','>':'&gt;'};function replaceTag(tag){return tagsToReplace[tag]||tag}
function safe_tags_replace(str){return str.replace(/[&<>"']/g,replaceTag)}
let html="<div class='swiper-slide il-item "+options.class+"'><div class='il-item-inner'>";html+='<a href="{{link}}" class="instagram-{{type}}" rel="noopener" target="_blank" title="{{caption}}">';html+='<img loading="lazy" src="{{image}}" alt="{{caption}}" class="il-photo__img" width="" height="" />';html+='</a>';html+="</div></div>";const optionsPlugin={'target':$instagramWrapper[0],'accessToken':elementorFrontendConfig.instagramToken,'template':html,'limit':parseInt(options.limit_token),'success':function(response){response.data.forEach(function(i){var cleanCaption=safe_tags_replace(i.caption);i.caption=cleanCaption})},'after':function(){if(!$carousel.length){return}
initSwiper()}};const feed=new Instafeed(optionsPlugin);feed.run()};const initSwiper=function(){const savedOptions=$carousel.data('slider_options'),swiperOptions={touchEventsTarget:'container',loop:savedOptions.loop,watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,slidesPerView:savedOptions.slidesToShowMobile,slidesPerGroup:savedOptions.slidesToShowMobile,breakpoints:{768:{slidesPerView:savedOptions.slidesToShowTablet,slidesPerGroup:savedOptions.slidesToShowTablet,},992:{slidesPerView:savedOptions.slidesToShow,slidesPerGroup:savedOptions.slidesToShow,}}};if(savedOptions.autoplay){swiperOptions.autoplay={delay:savedOptions.autoplaySpeed,disableOnInteraction:savedOptions.disableOnInteraction,}}
if(savedOptions.dots){swiperOptions.pagination={el:'.swiper-pagination',clickable:!0,}}
if(savedOptions.arrows){swiperOptions.navigation={nextEl:$self.find('.elementor-swiper-button-next').first()[0],prevEl:$self.find('.elementor-swiper-button-prev').first()[0],}}
var swiperInstance=new Swiper($carousel[0],swiperOptions);if(savedOptions.autoplay&&savedOptions.disableOnInteraction){$carousel.mouseenter(function(){swiperInstance.autoplay.stop()});$carousel.mouseleave(function(){swiperInstance.autoplay.start()})}};init()}},{}],9:[function(require,module,exports){module.exports=function($){var $lottiePlayer=$(this).find('.lottie-animation');var offset=$lottiePlayer.data('offset')/100;var container=null;if($lottiePlayer.data('container')=='body'){container='body'}
if(elementorFrontendConfig.isEditMode){if($lottiePlayer.data('play')=='scroll'){window.frames[0].frameElement.contentWindow.lottieInteractivyBackofficeRun(offset,$lottiePlayer[0],container)}}else{if($lottiePlayer.data('play')=='scroll'){document.addEventListener("lottieLoaded",function(e){LottieInteractivity.create({mode:'scroll',player:$lottiePlayer[0],container:container,actions:[{visibility:[offset,1],type:'seek',frames:[0,'100%']}]})})}}}},{}],10:[function(require,module,exports){module.exports=function($){var $carousel=$(this).find('.elementor-blog-carousel');if(!$carousel.length){return}
var savedOptions=$carousel.data('slider_options'),swiperOptions={touchEventsTarget:'container',watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,lazy:{loadPrevNext:!0,checkInView:!0,},slidesPerView:savedOptions.slidesToShowMobile,slidesPerGroup:savedOptions.slidesToShowMobile,breakpoints:{768:{slidesPerView:savedOptions.slidesToShowTablet,slidesPerGroup:savedOptions.slidesToShowTablet,},992:{slidesPerView:savedOptions.slidesToShow,slidesPerGroup:savedOptions.slidesToShow,}}};if(savedOptions.autoplay){swiperOptions.autoplay={delay:savedOptions.autoplaySpeed,disableOnInteraction:savedOptions.disableOnInteraction,}}
if(savedOptions.dots){swiperOptions.pagination={el:'.swiper-pagination',clickable:!0,}}
if(savedOptions.arrows){swiperOptions.navigation={nextEl:$(this).find('.elementor-swiper-button-next').first()[0],prevEl:$(this).find('.elementor-swiper-button-prev').first()[0],}}
var swiperInstance=new Swiper($carousel[0],swiperOptions);if(savedOptions.autoplay&&savedOptions.disableOnInteraction){$carousel.mouseenter(function(){swiperInstance.autoplay.stop()});$carousel.mouseleave(function(){swiperInstance.autoplay.start()})}}},{}],11:[function(require,module,exports){module.exports=function($){var $carousel=$(this).find('.elementor-brands-carousel');if(!$carousel.length){return}
var savedOptions=$carousel.data('slider_options'),swiperOptions={touchEventsTarget:'container',watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,lazy:{loadPrevNext:!0,checkInView:!0,},slidesPerView:savedOptions.slidesToShowMobile,slidesPerGroup:savedOptions.slidesToShowMobile,slidesPerColumn:savedOptions.itemsPerColumn,breakpoints:{768:{slidesPerView:savedOptions.slidesToShowTablet,slidesPerGroup:savedOptions.slidesToShowTablet,slidesPerColumn:savedOptions.itemsPerColumn,},992:{slidesPerView:savedOptions.slidesToShow,slidesPerGroup:savedOptions.slidesToShow,slidesPerColumn:savedOptions.itemsPerColumn,}}};if(savedOptions.autoplay){swiperOptions.autoplay={delay:4500}}
if(savedOptions.itemsPerColumn>1){swiperOptions.slidesPerColumnFill='row'}
if(savedOptions.dots){swiperOptions.pagination={el:'.swiper-pagination',clickable:!0,}}
if(savedOptions.arrows){swiperOptions.navigation={nextEl:$(this).find('.elementor-swiper-button-next').first()[0],prevEl:$(this).find('.elementor-swiper-button-prev').first()[0],}}
var swiperInstance=new Swiper($carousel[0],swiperOptions);if(savedOptions.autoplay&&savedOptions.disableOnInteraction){$carousel.mouseenter(function(){swiperInstance.autoplay.stop()});$carousel.mouseleave(function(){swiperInstance.autoplay.start()})}}},{}],12:[function(require,module,exports){module.exports=function($){var $this=$(this);var $contactFormWrapper=$this.find('.elementor-contactform-wrapper');if(!$contactFormWrapper.length){return}
$.ajax({url:elementorFrontendConfig.ajax_csfr_token_url,processData:!1,contentType:!1,type:'POST',success:function(resp){$contactFormWrapper.find('.js-csfr-token').replaceWith($(resp.preview))}});$contactFormWrapper.on("submit",".js-elementor-contact-form",function(e){e.preventDefault();var formData=new FormData($(this)[0]);$.ajax({url:$(this).attr('action'),data:formData,processData:!1,contentType:!1,type:'POST',success:function(resp){$contactFormWrapper.find('.js-elementor-contact-norifcation-wrapper').replaceWith($(resp.preview).find('.js-elementor-contact-norifcation-wrapper'))}})})}},{}],13:[function(require,module,exports){module.exports=function($){var $carousel=$(this).find('.elementor-products-carousel');if(elementorFrontendConfig.isEditMode){$(this).find('img[data-src]').each(function(){$(this).attr('src',$(this).data('src'))})}
if(!$carousel.length){return}
var savedOptions=$carousel.data('slider_options'),swiperOptions={touchEventsTarget:'container',watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,lazy:{checkInView:!0,loadedClass:'loaded'},slidesPerView:savedOptions.slidesToShowMobile,slidesPerGroup:savedOptions.slidesToShowMobile,slidesPerColumn:savedOptions.itemsPerColumn,breakpoints:{768:{slidesPerView:savedOptions.slidesToShowTablet,slidesPerGroup:savedOptions.slidesToShowTablet,slidesPerColumn:savedOptions.itemsPerColumn,},992:{slidesPerView:savedOptions.slidesToShow,slidesPerGroup:savedOptions.slidesToShow,slidesPerColumn:savedOptions.itemsPerColumn,}}};if(savedOptions.autoplay){swiperOptions.autoplay={delay:4500,disableOnInteraction:!0,}}
if(savedOptions.itemsPerColumn>1){swiperOptions.slidesPerColumnFill='row'}
if(savedOptions.dots){swiperOptions.pagination={el:'.swiper-pagination',clickable:!0,}}
if(savedOptions.arrows){swiperOptions.navigation={nextEl:$(this).find('.elementor-swiper-button-next').first()[0],prevEl:$(this).find('.elementor-swiper-button-prev').first()[0],}}
var swiperInstance=new Swiper($carousel[0],swiperOptions);if(savedOptions.autoplay){$carousel.mouseenter(function(){swiperInstance.autoplay.stop()});$carousel.mouseleave(function(){swiperInstance.autoplay.start()})}}},{}],14:[function(require,module,exports){module.exports=function($){var $carousels=$(this).find('.elementor-products-carousel');if(elementorFrontendConfig.isEditMode){$(this).find('img[data-src]').each(function(){$(this).attr('src',$(this).data('src'))})}
if(!$carousels.length){return}
$carousels.each(function(){let $carousel=$(this);var savedOptions=$carousel.data('slider_options'),swiperOptions={touchEventsTarget:'container',watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,lazy:{checkInView:!0,loadedClass:'loaded'},slidesPerView:savedOptions.slidesToShowMobile,slidesPerGroup:savedOptions.slidesToShowMobile,slidesPerColumn:savedOptions.itemsPerColumn,breakpoints:{768:{slidesPerView:savedOptions.slidesToShowTablet,slidesPerGroup:savedOptions.slidesToShowTablet,slidesPerColumn:savedOptions.itemsPerColumn,},992:{slidesPerView:savedOptions.slidesToShow,slidesPerGroup:savedOptions.slidesToShow,slidesPerColumn:savedOptions.itemsPerColumn,}}};if(savedOptions.autoplay){swiperOptions.autoplay={delay:4500,disableOnInteraction:!0,}}
if(savedOptions.itemsPerColumn>1){swiperOptions.slidesPerColumnFill='row'}
if(savedOptions.dots){swiperOptions.pagination={el:'.swiper-pagination',clickable:!0,}}
if(savedOptions.arrows){swiperOptions.navigation={nextEl:$carousel.parent().find('.elementor-swiper-button-next').first()[0],prevEl:$carousel.parent().find('.elementor-swiper-button-prev').first()[0],}}
var swiperInstance=new Swiper($carousel[0],swiperOptions);if(savedOptions.autoplay){$carousel.mouseenter(function(){swiperInstance.autoplay.stop()});$carousel.mouseleave(function(){swiperInstance.autoplay.start()})}})}},{}],15:[function(require,module,exports){module.exports=function($){var $searchWidget=$(this).find('.search-widget-autocomplete');if(!$searchWidget.length){return}
if(elementorFrontendConfig.isEditMode){return}
let $searchBox=$searchWidget.find('input[type=text]');let searchURL=$searchWidget.attr('data-search-controller-url');var initAutocomplete=prestashop.blocksearch.initAutocomplete||function($searchWidget,$searchBox,searchURL){};initAutocomplete($searchWidget,$searchBox,searchURL)}},{}],16:[function(require,module,exports){module.exports=function($){var $progressbar=$(this).find('.elementor-progress-bar');$progressbar.waypoint(function(){$progressbar.css('width',$progressbar.data('max')+'%')},{offset:'90%'})}},{}],17:[function(require,module,exports){var BackgroundVideo=function($,$backgroundVideoContainer){var player,elements={},isYTVideo=!1;var calcVideosSize=function(){var containerWidth=$backgroundVideoContainer.outerWidth(),containerHeight=$backgroundVideoContainer.outerHeight(),aspectRatioSetting='16:9',aspectRatioArray=aspectRatioSetting.split(':'),aspectRatio=aspectRatioArray[0]/aspectRatioArray[1],ratioWidth=containerWidth/aspectRatio,ratioHeight=containerHeight*aspectRatio,isWidthFixed=containerWidth/containerHeight>aspectRatio;return{width:isWidthFixed?containerWidth:ratioHeight,height:isWidthFixed?ratioWidth:containerHeight}};var changeVideoSize=function(){var $video=isYTVideo?$(player.getIframe()):elements.$backgroundVideo,size=calcVideosSize();$video.width(size.width).height(size.height)};var prepareYTVideo=function(YT,videoID){player=new YT.Player(elements.$backgroundVideo[0],{videoId:videoID,events:{onReady:function(){player.mute();changeVideoSize();player.playVideo()},onStateChange:function(event){if(event.data===YT.PlayerState.ENDED){player.seekTo(0)}}},playerVars:{controls:0,autoplay:1,mute:1,showinfo:0}});$(elementorFrontend.getScopeWindow()).on('resize',changeVideoSize)};var initElements=function(){elements.$backgroundVideo=$backgroundVideoContainer.children('.elementor-background-video')};var run=function(){var videoID=elements.$backgroundVideo.data('video-id');if(videoID){isYTVideo=!0;elementorFrontend.utils.onYoutubeApiReady(function(YT){setTimeout(function(){prepareYTVideo(YT,videoID)},1)})}else{elements.$backgroundVideo.one('canplay',changeVideoSize)}};var init=function(){initElements();run()};init()};module.exports=function($){var $backgroundVideoContainer=this.find('.elementor-background-video-container');if($backgroundVideoContainer){new BackgroundVideo($,$backgroundVideoContainer)}}},{}],18:[function(require,module,exports){module.exports=function($){var $this=$(this),defaultActiveTab=$this.find('.elementor-tabs').data('active-tab'),$tabsTitles=$this.find('.elementor-tab-title'),$tabs=$this.find('.elementor-tab-content'),$active,$content;if(!defaultActiveTab){defaultActiveTab=1}
var activateTab=function(tabIndex){if($active){$active.removeClass('active');$content.removeClass('active')}
$active=$tabsTitles.filter('[data-tab="'+tabIndex+'"]');$active.addClass('active');$content=$tabs.filter('[data-tab="'+tabIndex+'"]');$content.addClass('active')};activateTab(defaultActiveTab);$tabsTitles.on('click',function(){activateTab(this.dataset.tab)})}},{}],19:[function(require,module,exports){module.exports=function($){var $carousel=$(this).find('.elementor-testimonial-carousel');if(!$carousel.length){return}
var savedOptions=$carousel.data('slider_options'),tabletSlides=1===savedOptions.slidesToShow?1:2,swiperOptions={touchEventsTarget:'container',loop:savedOptions.loop,speed:savedOptions.speed,watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,slidesPerView:1,slidesPerGroup:1,breakpoints:{768:{slidesPerView:tabletSlides,slidesPerGroup:tabletSlides,},992:{slidesPerView:savedOptions.slidesToShow,slidesPerGroup:savedOptions.slidesToShow,}}};if(savedOptions.autoplay){swiperOptions.autoplay={delay:savedOptions.autoplaySpeed,disableOnInteraction:savedOptions.disableOnInteraction,}}
if(savedOptions.fade){swiperOptions.effect='fade';swiperOptions.fadeEffect={crossFade:!0}}
if(savedOptions.dots){swiperOptions.pagination={el:'.swiper-pagination',clickable:!0,}}
if(savedOptions.arrows){swiperOptions.navigation={nextEl:$(this).find('.elementor-swiper-button-next').first()[0],prevEl:$(this).find('.elementor-swiper-button-prev').first()[0],}}
var swiperInstance=new Swiper($carousel[0],swiperOptions);if(savedOptions.autoplay&&savedOptions.disableOnInteraction){$carousel.mouseenter(function(){swiperInstance.autoplay.stop()});$carousel.mouseleave(function(){swiperInstance.autoplay.start()})}}},{}],20:[function(require,module,exports){module.exports=function($){var $toggleTitles=$(this).find('.elementor-toggle-title');$toggleTitles.on('click',function(){var $active=$(this),$content=$active.next();if($active.hasClass('active')){$active.removeClass('active');$content.slideUp()}else{$active.addClass('active');$content.slideDown()}})}},{}],21:[function(require,module,exports){module.exports=function($){var $this=$(this),$imageOverlay=$this.find('.elementor-custom-embed-image-overlay'),$videoModalBtn=$this.find('.elementor-video-open-modal').first(),$videoModal=$this.find('.elementor-video-modal').first(),$video=$this.find('.elementor-video').first(),$videoFrame=$this.find('iframe');if($imageOverlay.length){$imageOverlay.on('click',function(){$imageOverlay.remove();if($video.length){$video[0].play();return}
var newSourceUrl=$videoFrame[0].src;newSourceUrl=newSourceUrl.replace('autoplay=0','autoplay=1');$videoFrame[0].src=newSourceUrl})}
if(!$videoModalBtn.length){return}
$videoModalBtn.on('click',function(){if($video.length){$video[0].play();return}
var newSourceUrl=$videoFrame[0].src;newSourceUrl=newSourceUrl.replace('autoplay=0','autoplay=1');$videoFrame[0].src=newSourceUrl});$videoModal.on('hide.bs.modal',function(){if($video.length){$video[0].pause();return}
var newSourceUrl=$videoFrame[0].src;newSourceUrl=newSourceUrl.replace('autoplay=1','autoplay=0');$videoFrame[0].src=newSourceUrl})}},{}],22:[function(require,module,exports){var Utils;Utils=function($){var self=this;var isYTInserted=!1;this.onYoutubeApiReady=function(callback){if(!isYTInserted){insertYTApi()}
if(window.YT&&YT.loaded){callback(YT)}else{setTimeout(function(){self.onYoutubeApiReady(callback)},350)}};var insertYTApi=function(){isYTInserted=!0;$('script:first').before($('<script>',{src:'https://www.youtube.com/iframe_api'}))}};module.exports=Utils},{}]},{},[2]);(function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])
return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:!1};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.loaded=!0;return module.exports}
__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)})([(function(module,exports,__webpack_require__){'use strict';__webpack_require__(2);__webpack_require__(4)}),,(function(module,exports,__webpack_require__){'use strict';__webpack_require__(3);sproductreviews.script=(function(){var $productReviewForm=$('#sproductreviews-productreview-form');return{'init':function init(){if(sthemeTheme.pp_tabs=='tabh'||sthemeTheme.pp_tabs=='tabha'){$('#sproductreviews-rating-product').on('click',function(){var element=document.getElementById("product-infos-tabs");$('.nav-tabs a[data-studioextra="studio-reviews-tab"]').tab('show');if(typeof element!='undefined'&&element!=null){element.scrollIntoView()}})}else{$('#sproductreviews-rating-product').on('click',function(){document.getElementById("studio-reviews-tab").scrollIntoView()})}
$productReviewForm.submit(function(e){e.preventDefault();var $productReviewFormAlert=$('#sproductreviews-productreview-form-alert'),$productReviewFormSuccessAlert=$('#sproductreviews-productreview-form-success-alert');$.post($(this).attr('action'),$(this).serialize(),null,'json').then(function(resp){if(!resp.success){(function(){var htmlResp='<strong>'+resp.data.message+'</strong>';htmlResp=htmlResp+'<ul>';$.each(resp.data.errors,function(index,value){htmlResp=htmlResp+'<li>'+value+'</li>'});htmlResp=htmlResp+'</ul>';$productReviewFormAlert.html(htmlResp);$productReviewFormAlert.removeClass('hidden-xs-up')})()}else{var htmlResp='<strong>'+resp.data.message+'</strong>';$productReviewFormSuccessAlert.html(htmlResp);$productReviewFormSuccessAlert.removeClass('hidden-xs-up');$('#studio-reviews-modal').modal('hide')}}).fail(function(resp){$productReviewFormAlert.html(resp);$productReviewFormAlert.removeClass('invisible')});e.preventDefault()})}}})();$(document).ready(function(){sproductreviews.script.init()})}),(function(module,exports){"use strict";!(function(a){"use strict";function b(a){return"[data-value"+(a?"="+a:"")+"]"}function c(a,b,c){var d=c.activeIcon,e=c.inactiveIcon;a.removeClass(b?e:d).addClass(b?d:e)}function d(b,c){var d=a.extend({},i,b.data(),c);return d.inline=""===d.inline||d.inline,d.readonly=""===d.readonly||d.readonly,d.clearable===!1?d.clearableLabel="":d.clearableLabel=d.clearable,d.clearable=""===d.clearable||d.clearable,d}function e(b,c){if(c.inline)var d=a('<span class="rating-input"></span>');else var d=a('<div class="rating-input"></div>');d.addClass(b.attr("class")),d.removeClass("rating");for(var e=c.min;e<=c.max;e++)d.append('<i class="'+c.iconLib+'" data-value="'+e+'"></i>');return c.clearable&&!c.readonly&&d.append("&nbsp;").append('<a class="'+f+'"><i class="'+c.iconLib+" "+c.clearableIcon+'"/>'+c.clearableLabel+"</a>"),d}var f="rating-clear",g="."+f,h="hidden",i={min:1,max:5,"empty-value":0,iconLib:"glyphicon",activeIcon:"glyphicon-star",inactiveIcon:"glyphicon-star-empty",clearable:!1,clearableIcon:"glyphicon-remove",inline:!1,readonly:!1},j=function j(a,b){var c=this.$input=a;this.options=d(c,b);var f=this.$el=e(c,this.options);c.addClass(h).before(f),c.attr("type","hidden"),this.highlight(c.val())};j.VERSION="0.4.0",j.DEFAULTS=i,j.prototype={clear:function clear(){this.setValue(this.options["empty-value"])},setValue:function setValue(a){this.highlight(a),this.updateInput(a)},highlight:function highlight(a,d){var e=this.options,f=this.$el;if(a>=this.options.min&&a<=this.options.max){var i=f.find(b(a));c(i.prevAll("i").andSelf(),!0,e),c(i.nextAll("i"),!1,e)}else c(f.find(b()),!1,e);d||(a&&a!=this.options["empty-value"]?f.find(g).removeClass(h):f.find(g).addClass(h))},updateInput:function updateInput(a){var b=this.$input;b.val()!=a&&b.val(a).change()}};var k=a.fn.rating=function(c){return this.filter("input[type=number]").each(function(){var d=a(this),e="object"==typeof c&&c||{},f=new j(d,e);f.options.readonly||f.$el.on("mouseenter",b(),function(){f.highlight(a(this).data("value"),!0)}).on("mouseleave",b(),function(){f.highlight(d.val(),!0)}).on("click",b(),function(){f.setValue(a(this).data("value"))}).on("click",g,function(){f.clear()})})};k.Constructor=j,a(function(){a("input.rating[type=number]").each(function(){a(this).rating()})})})(jQuery)}),(function(module,exports){})]);;$(document).ready(function(){var swiper=new Swiper(".swiper_home_block_4",{slidesPerView:1,centerInsufficientSlides:!0,lazy:{loadedClass:"loaded",checkInView:!0,},scrollbar:{el:".swiper-scrollbar",hide:!1,dragSize:119,draggable:!0},keyboard:!0,breakpoints:{290:{slidesPerView:1,slidesPerGroup:1,},768:{slidesPerView:3,slidesPerGroup:1,},992:{slidesPerView:4,slidesPerGroup:1,}}})});function markAlreadyLikedPost(guest,id_simpleblog_post){if($.cookie('guest_'+guest+'_'+id_simpleblog_post)=="voted"){$('.simpleblog-like-button').addClass('voted')}};$(window).on('load',initProductPageGallery);$(window).on('load',initMasonryList);$(function(){if($('#module-ph_simpleblog-single').length>0){if(typeof fancybox!=='undefined'){$('.simpleblog__post a.fancybox').fancybox()}
markAlreadyLikedPost($('#module-ph_simpleblog-single .simpleblog-like-button').data('guest'),$('.simpleblog-single .simpleblog-like-button').data('post'));$(document).on('click','.simpleblog__share .btn',function(){type=$(this).attr('data-type');if(type.length){switch(type){case 'twitter':window.open('https://twitter.com/intent/tweet?text='+ph_sharing_name+' '+encodeURIComponent(ph_sharing_url),'sharertwt','toolbar=0,status=0,width=640,height=445');break;case 'facebook':window.open('http://www.facebook.com/sharer.php?u='+ph_sharing_url,'sharer','toolbar=0,status=0,width=660,height=445');break;case 'pinterest':window.open('http://www.pinterest.com/pin/create/button/?media='+ph_sharing_img+'&url='+ph_sharing_url,'sharerpinterest','toolbar=0,status=0,width=660,height=445');break}}});$(document).on('click','.simpleblog-like-button',function(e){e.preventDefault();var id_simpleblog_post=$(this).data('post');var id_guest=$(this).data('guest');var element=$(this);if($.cookie('guest_'+id_guest+'_'+id_simpleblog_post)=="voted"){$.cookie('guest_'+id_guest+'_'+id_simpleblog_post,'');var request=$.ajax({type:"POST",url:ph_simpleblog_ajax,data:{action:'removeRating',id_simpleblog_post:id_simpleblog_post,secure_key:ph_simpleblog_token,ajax:!0},success:function(result){var data=$.parseJSON(result);if(data.status=='success'){element.removeClass('voted').find('span.likes-count').text(data.message)}else{alert(data.message)}}})}else{$.cookie('guest_'+id_guest+'_'+id_simpleblog_post,'voted');var request=$.ajax({type:"POST",url:ph_simpleblog_ajax,data:{action:'addRating',id_simpleblog_post:id_simpleblog_post,secure_key:ph_simpleblog_token,ajax:!0},success:function(result){var data=$.parseJSON(result);if(data.status=='success'){element.addClass('voted').find('span.likes-count').text(data.message)}else{alert(data.message)}}})}})}
if(typeof fancybox!=='undefined'){$('.simpleblog-post-item a.post-gallery-link').fancybox();$("a.simpleblog__post-featured").fancybox({maxWidth:1440,fitToView:!1,autoSize:!1,closeClick:!1,width:640,height:385,openEffect:'none',closeEffect:'none',iframe:{preload:!1},helpers:{overlay:{css:{'background':'rgba(0, 0, 0, 0.90)'}}}})}
$(document).on('click','.reply-simpleblog-button',function(){$([document.documentElement,document.body]).animate({scrollTop:$('.simpleblog__addComment').offset().top},1000);$('.simpleblog_answer_info').addClass('d-block');$('.simpleblog__cancelReplay').addClass('d-block');$('input[name="id_parent"]').val($(this).data('id-comment'))});$(document).on('click','.simpleblog__cancelReplay',function(e){e.preventDefault();$('.simpleblog_answer_info').removeClass('d-block');$('.simpleblog__cancelReplay').removeClass('d-block');$('.simpleblog_answer_info').addClass('simpleblog_answer_info_active');$('input[name="id_parent"]').val(0)})});function initProductPageGallery(){$(".blog-fancybox").fancybox({helpers:{overlay:{locked:!1}}});var $gallery=$('.post-gallery__gallery-js');$gallery.one('layoutComplete',function(){$gallery.addClass('initialized')});$gallery.masonry({itemSelector:'.gallery-js__elem'})}
function initMasonryList(){var $list=$('.blog-masonry-list');$list.one('layoutComplete',function(){$list.addClass('initialized')});$list.masonry({itemSelector:'.simpleblog__listing__post'})};/*!
 * Masonry PACKAGED v4.2.2
 * Cascading grid layout library
 * https://masonry.desandro.com
 * MIT License
 * by David DeSandro
 */
!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var l=d.apply(u,n);o=void 0===o?l:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u>e;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),r.isBoxSizeOuter=s,i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,l=0;u>l;l++){var c=h[l],f=r[c],m=parseFloat(f);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,E=d&&s,b=t(r.width);b!==!1&&(a.width=b+(E?0:p+_));var x=t(r.height);return x!==!1&&(a.height=x+(E?0:g+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+z),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var n=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&&"number"==typeof t.length;return e?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(h)),d=s+"-options",l=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&&JSON.parse(r)}catch(a){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,i);l&&l.data(t,n,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},d=n.prototype=Object.create(t.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var n=u[i]||i;e[n]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",d=n?"bottom":"top",l=this.position.y+t[h];e[u]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),o&&!this.isTransitioning)return void this.layoutPosition();var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+o(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(f)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var o=m[n]||1;return i*o}var h=t.console,u=t.jQuery,d=function(){},l=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=d,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var m={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",r=this[o](n,t),s={x:this.columnWidth*r.col,y:r.y},a=r.y+t.size.outerHeight,h=n+r.col,u=r.col;h>u;u++)this.colYs[u]=a;return s},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(2>e)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,n=t>1&&i+t>this.cols;i=n?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,l=a;h>=l;l++)this.colYs[l]=Math.max(d,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i});(()=>{(()=>{"use strict";var C={8:()=>{$(document).ready(()=>{const t=$("body"),s='input[name="horizontal-product-quantity-spin"]',y=".js-cart-line-product-quantity",i=[];function b(e){return e==="on.startupspin"||e==="on.startdownspin"}function P(e){return e==="on.startupspin"}function f(e){const r=e.parents(".bootstrap-touchspin").find(y);return r.is(":focus")?null:r}function m(e){const r=e.split("-");let n,c,u="";for(n=0;n<r.length;n+=1)c=r[n],n!==0&&(c=c.substring(0,1).toUpperCase()+c.substring(1)),u+=c;return u}function g(e,r){if(!b(r))return{url:e.attr("href"),type:m(e.data("link-action"))};const n=f(e);if(!n)return!1;let c={};return P(r)?c={url:n.data("up-url"),type:"increaseProductQuantity"}:c={url:n.data("down-url"),type:"decreaseProductQuantity"},c}const w=()=>{let e;for(;i.length>0;)e=i.pop(),e.abort()},o=e=>$(e.parents(".bootstrap-touchspin").find("input")),d=e=>{e.preventDefault();const r=$(e.currentTarget),{dataset:n}=e.currentTarget,c=g(r,e.namespace),u={ajax:"1",action:"update"};c&&(w(),$.ajax({url:c.url,method:"POST",data:u,dataType:"json",beforeSend(h){i.push(h)}}).then(h=>{o(r).val(h.quantity),prestashop.emit("updateCart",{reason:n,resp:h})}).fail(h=>{prestashop.emit("handleError",{eventType:"updateProductInCart",resp:h,cartAction:c.type})}))};t.on("touchspin.on.startdownspin",s,d),t.on("touchspin.on.startupspin",s,d)});const a={switchErrorStat:()=>{const t=$(".checkout a");if(($("#notifications article.alert-danger").length||errorMsg!==""&&!hasError)&&t.addClass("disabled"),errorMsg!==""){const s=` <article class="alert alert-danger" role="alert" data-alert="danger"><ul><li>${errorMsg}</li></ul></article>`;$("#notifications").html(s),errorMsg="",isUpdateOperation=!1,hasError&&t.removeClass("disabled")}else!hasError&&isUpdateOperation&&(hasError=!1,isUpdateOperation=!1,$("#notifications").html(""),t.removeClass("disabled"))},checkUpdateOpertation:t=>{console.log("respobse",t),hasError=t.hasOwnProperty("hasError");const s=t.errors||"";s instanceof Array?errorMsg=s.join(" "):errorMsg=s,isUpdateOperation=!0}}}},_={};function l(a){var t=_[a];if(t!==void 0)return t.exports;var s=_[a]={exports:{}};return C[a](s,s.exports,l),s.exports}l.n=a=>{var t=a&&a.__esModule?()=>a.default:()=>a;return l.d(t,{a:t}),t},l.d=(a,t)=>{for(var s in t)l.o(t,s)&&!l.o(a,s)&&Object.defineProperty(a,s,{enumerable:!0,get:t[s]})},l.o=(a,t)=>Object.prototype.hasOwnProperty.call(a,t),l.r=a=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})};var v={};(()=>{l.r(v);class a{loadSpinner(d){$.each($(d),(e,r)=>{$(r).TouchSpin({verticalbuttons:!1,buttondown_txt:"",buttonup_txt:"",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:parseInt($(r).attr("min"),10),max:parseInt($(r).attr("max"),10)})})}}const t=a;var s=l(8);const y=window.prestashop;var i=l.n(y);$(document).ready(function(){let o=$(window).width();if(g(),$("body#index").length>0){let p=$("#desktop-header");o<=991&&(p=$("#mobile-header")),p.addClass("fixed-transparent-header"),$(document).scroll(function(){$(window).scrollTop()>30?p.removeClass("fixed-transparent-header"):$(window).scrollTop()<50&&p.addClass("fixed-transparent-header")}),$("#desktop-header").mouseenter(function(){$(this).addClass("hover-active")}).mouseleave(function(){$(this).removeClass("hover-active")})}let d=".ets_prmn_megamenu .prmn_menus_li";if($(d).on("mouseover",function(){$(this).find(".prmn_columns_ul").length!==0&&$(".menu-overlay").addClass("active")}),$(d).on("mouseout",function(){$(".menu-overlay").removeClass("active")}),new Swiper(".swiper-blog",{spaceBetween:16,lazy:{loadedClass:"loaded"},keyboard:!0,breakpoints:{320:{slidesPerView:1.1,spaceBetween:16},768:{slidesPerView:2,spaceBetween:16},1024:{slidesPerView:3,spaceBetween:20}}}),o<768){var e=$(".customtext-description-top"),r=e.height(),n=e.css("height","auto").height();e.height()<=89?($(".learn-more-description").hide(),e.css("height","auto")):($(".customtext-description-outer").append('<a href="#" class="learn-more-description">read more</a>'),$(".customtext-description-top").addClass("special-block"),e.css("height",89)),$(document).on("click",".customtext-description-outer .learn-more-description",function(p){p.preventDefault(),$(".customtext-description-outer").height("auto"),e=$(".customtext-description-top"),r=e.height(),n=e.css("height","auto").height(),e.height()>89?$(".customtext-description-top").hasClass("open")?($(".customtext-description-top").toggleClass("open"),e.height(r).animate({height:89},200),$(this).html("read more")):($(".customtext-description-top").toggleClass("open"),e.height(r).animate({height:n},500),$(this).html("read less")):$(".learn-more-description").hide()})}new Swiper(".advance-image-block-swiper",{spaceBetween:20,centerInsufficientSlides:!0,lazy:{loadedClass:"loaded",checkInView:!0},keyboard:!0,scrollbar:{el:".swiper-scrollbar",hide:!1,dragSize:119,draggable:!0},breakpoints:{320:{slidesPerView:1.1,spaceBetween:11},768:{slidesPerView:1.5,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20}}}),$(".menu-exit").click(function(){$(".ets_prmn_megamenu_content_content").find(".prmn_menus_ul").removeClass("active"),$(".ets_prmn_megamenu_content_content").find(".ybc-menu-toggle").addClass("closed"),$(".ets_prmn_megamenu_content_content").find(".ybc-menu-toggle").removeClass("opened")}),i().qtySpinner=new t;const c='.input-group-add-cart input.custom-touchspin[name="qty"]',u='input[name="horizontal-product-quantity-spin"]',h='input[name="custom-product-quantity-spin"]';i().qtySpinner.loadSpinner(u),i().qtySpinner.loadSpinner(h),i().qtySpinner.loadSpinner(c),i().on("updateProductListAddToCart",function(){i().qtySpinner.loadSpinner(c),i().qtySpinner.loadSpinner(h),i().qtySpinner.loadSpinner(u)}),i().on("updatedCart",()=>{i().qtySpinner.loadSpinner(u)}),i().on("updatedAjaxCart",()=>{i().qtySpinner.loadSpinner(u)}),$(window).on("shown.bs.modal",function(){i().qtySpinner.loadSpinner(c)}),b(),w(),i().on("updatedProduct",function(){w()}),new Swiper(".product-accessories-swiper",{slidesPerView:1,centerInsufficientSlides:!0,lazy:{loadedClass:"loaded",checkInView:!0},scrollbar:{el:".swiper-scrollbar",hide:!1,dragSize:119,draggable:!0},keyboard:!0,breakpoints:{290:{slidesPerView:1,slidesPerGroup:1,spaceBetween:10,scrollbar:{el:".swiper-scrollbar",hide:!1,dragSize:119,draggable:!0}},768:{slidesPerView:2,slidesPerGroup:1,spaceBetween:15},992:{slidesPerView:3,slidesPerGroup:1,spaceBetween:20}}}),new Swiper(".category-cover-swiper",{slidesPerView:1,centerInsufficientSlides:!0,lazy:{loadedClass:"loaded",checkInView:!0},pagination:{el:".swiper-pagination",clickable:!0}}),new Swiper(".key-feature-swiper",{scrollbar:{el:".swiper-scrollbar",hide:!1,dragSize:119,draggable:!0},breakpoints:{290:{slidesPerView:1.1,spaceBetween:5},575:{slidesPerView:1.3,spaceBetween:20},769:{slidesPerView:3,spaceBetween:20}}}),new Swiper(".subcategory-swiper",{breakpoints:{290:{slidesPerView:3.6,spaceBetween:20},768:{slidesPerView:6,spaceBetween:20},1024:{slidesPerView:6,spaceBetween:43}}});var k=new Swiper(".product-exta-swiper",{loop:!0,keyboard:!0,effect:"fade",autoplay:{delay:2e3,disableOnInteraction:!1}}),k=new Swiper(".product-page-usp",{keyboard:!0,effect:"fade",speed:500,autoplay:{delay:2e3,disableOnInteraction:!0}});if($(window).resize(function(){f()}),f(),$(window).width()<992&&(m(),g()),i().on("updatedProduct",function(p){$(window).width()<992&&(m(),g()),$(".product-variants-item  .set-of-combination-radio").each(function(){$(this).attr("checked")==="checked"&&$(this).closest(".set-of-combination").addClass("set-of-combination-selected")})}),$(document).on("click","#checkout .checkout-step-counts .count",function(){let p=$(this).parent().attr("data-id-step");$("#"+p+" .js-step-title").click(),$("#"+p).hasClass("-unreachable")||($(".step-count").removeClass("active"),$('[data-id-step="'+p+'"]').addClass("active"))}),$(document).on("click","#checkout .checkout-step-counts .count",function(){let p=$(this).parent().attr("data-id-step");$("#"+p).find(".js-step-title").click()}),o<992){var e=$(".category-description-top"),r=e.height(),n=e.css("height","auto").height();e.height()<=63?($(".learn-more-description").hide(),e.css("height","auto")):($(".category-description-outer").append('<a href="#" class="learn-more-description">Read More</a>'),$(".category-description-top").addClass("special-block"),e.css("height",63)),$(document).on("click",".category-description-outer .learn-more-description",function(x){if(x.preventDefault(),$(".category-description-outer").height("auto"),e=$(".category-description-top"),r=e.height(),n=e.css("height","auto").height(),e.height()>63)if($(".category-description-top").hasClass("open"))$(".category-description-top").toggleClass("open"),e.height(r).animate({height:63},63),$(this).html("Read More"),$(".category-description-top").closest(".category-image"),$(".category-description-top").closest(".category-image").css("height","unset"),$(".category-description-top").closest(".category-image").find("img").css("height","unset");else{$(".category-description-top").toggleClass("open"),e.height(r).animate({height:n},63),$(this).html("Read Less"),$(".category-description-top").closest(".category-image");var V=$(".category-description-top").closest(".category-image").find("img").height(),S=n+V;$(".category-description-top").closest(".category-image").css("height",S),$(".category-description-top").closest(".category-image").css("height",S),$(".category-description-top").closest(".category-image").find("img").css("height",S)}else $(".learn-more-description").hide()})}$(document).on("click",".custom-add-to-cart .add-to-cart",function(p){p.preventDefault(),$(".product-add-to-carts .add-to-cart").click()})});function b(){let o=".product-qty-spinner";i().qtySpinner.loadSpinner(o),$(i().themeSelectors.touchspin).off("touchstart.touchspin"),$("body").on("change keyup",o,d=>{o.val!==""&&($(d.currentTarget).trigger("touchspin.stopspin"),i().emit("updateProduct",{eventType:"updatedProductQuantity",event:d}))})}function P(){let o=$("#product-images-large");o.length&&(o[0].swiper&&o[0].swiper.destroy(),new Swiper("#product-images-large",{slidesPerView:1.4,centerInsufficientSlides:!0,lazy:{loadedClass:"loaded",checkInView:!0},breakpoints:{320:{slidesPerView:1.4,scrollbar:{el:".swiper-scrollbar",hide:!1,dragSize:80,draggable:!0}},768:{slidesPerView:1.4}}}))}function f(){let o=$("#col-product-info .product_header_container .desktop-page-title"),d=$(".col-product-image .product-info-header .mobile-product-title");$(window).width()<992?(d.append(o.html()),o.find("h1").remove()):(o.append(d.html()),d.find("h1").remove())}function m(){let o=$("#product .product-add-to-cart .product-prices-mobile .product-price"),d=$("#product .product-add-to-cart .product-prices-mobile .regular-price"),e=$(".col-product-info .product_header_container .current-price"),r=$(".col-product-info .product_header_container .page-title"),n=$(".col-product-info .product_header_container .product-discount");o.html(e.html()),d.html(n.html()),e.remove(),r.remove(),n.remove()}function g(){let o=$(".product-additional-info .delivery-date-info");$(".product-add-to-cart .delivery-date-mobile").html(o.html())}function w(){new Swiper(".product-thumb-swiper",{navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},lazy:{loadedClass:"loaded"},breakpoints:{290:{slidesPerView:4,spaceBetween:5},575:{slidesPerView:4,spaceBetween:5},769:{slidesPerView:5,spaceBetween:10},1024:{slidesPerView:6,spaceBetween:10}}})}})(),window.Theme=v})()})()