Jump to content
soussi

Mobile Menu Hide On Scroll

Recommended Posts

Good evening,

 

I try to prevent my mobile menu to hide on scroll.

 

Can you plaise help me for that.

Here my Js Code : 

 

(function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:false,exports:{}};t[n].call(o.exports,o,o.exports,i);o.l=true;return o.exports}i.m=t;i.c=e;i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:false,enumerable:true,get:n})};i.n=function(t){var e=t&&t.__esModule?function e(){return t["default"]}:function e(){return t};i.d(e,"a",e);return e};i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};i.p="";return i(i.s=5)})([function(t,e){t.exports=jQuery},function(t,e){t.exports=prestashop},function(t,e,i){var n,o;/*! VelocityJS.org (1.5.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */ /*! VelocityJS.org (1.5.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
(function(t){"use strict";if(t.jQuery)return;var e=function(t,i){return new e.fn.init(t,i)};e.isWindow=function(t){return t&&t===t.window};e.type=function(t){if(!t)return t+"";return"object"===typeof t||"function"===typeof t?o[r.call(t)]||"object":typeof t};e.isArray=Array.isArray||function(t){return"array"===e.type(t)};function i(t){var i=t.length,n=e.type(t);if("function"===n||e.isWindow(t))return false;if(1===t.nodeType&&i)return true;return"array"===n||0===i||"number"===typeof i&&i>0&&i-1 in t}e.isPlainObject=function(t){var i;if(!t||"object"!==e.type(t)||t.nodeType||e.isWindow(t))return false;try{if(t.constructor&&!s.call(t,"constructor")&&!s.call(t.constructor.prototype,"isPrototypeOf"))return false}catch(t){return false}for(i in t);return void 0===i||s.call(t,i)};e.each=function(t,e,n){var o,s=0,r=t.length,a=i(t);if(n)if(a)for(;s<r;s++){o=e.apply(t,n);if(false===o)break}else for(s in t){if(!t.hasOwnProperty(s))continue;o=e.apply(t,n);if(false===o)break}else if(a)for(;s<r;s++){o=e.call(t,s,t);if(false===o)break}else for(s in t){if(!t.hasOwnProperty(s))continue;o=e.call(t,s,t);if(false===o)break}return t};e.data=function(t,i,o){if(void 0===o){var s=t[e.expando],r=s&&n;if(void 0===i)return r;if(r&&i in r)return r}else if(void 0!==i){var a=t[e.expando]||(t[e.expando]=++e.uuid);n[a]=n[a]||{};n[a]=o;return o}};e.removeData=function(t,i){var o=t[e.expando],s=o&&n[o];s&&(i?e.each(i,function(t,e){delete s[e]}):delete n[o])};e.extend=function(){var t,i,n,o,s,r,a=arguments[0]||{},l=1,c=arguments.length,u=false;if("boolean"===typeof a){u=a;a=arguments[l]||{};l++}"object"!==typeof a&&"function"!==e.type(a)&&(a={});if(l===c){a=this;l--}for(;l<c;l++)if(s=arguments[l])for(o in s){if(!s.hasOwnProperty(o))continue;t=a[o];n=s[o];if(a===n)continue;if(u&&n&&(e.isPlainObject(n)||(i=e.isArray(n)))){if(i){i=false;r=t&&e.isArray(t)?t:[]}else r=t&&e.isPlainObject(t)?t:{};a[o]=e.extend(u,r,n)}else void 0!==n&&(a[o]=n)}return a};e.queue=function(t,n,o){function s(t,e){var n=e||[];t&&(i(Object(t))?function(t,e){var i=+e.length,n=0,o=t.length;while(n<i)t[o++]=e[n++];if(i!==i)while(void 0!==e[n])t[o++]=e[n++];t.length=o;return t}(n,"string"===typeof t?[t]:t):[].push.call(n,t));return n}if(!t)return;n=(n||"fx")+"queue";var r=e.data(t,n);if(!o)return r||[];!r||e.isArray(o)?r=e.data(t,n,s(o)):r.push(o);return r};e.dequeue=function(t,i){e.each(t.nodeType?[t]:t,function(t,n){i=i||"fx";var o=e.queue(n,i),s=o.shift();"inprogress"===s&&(s=o.shift());if(s){"fx"===i&&o.unshift("inprogress");s.call(n,function(){e.dequeue(n,i)})}})};e.fn=e.prototype={init:function(t){if(t.nodeType){this[0]=t;return this}throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(t){var e=t.offsetParent;while(e&&"html"!==e.nodeName.toLowerCase()&&e.style&&"static"===e.style.position.toLowerCase())e=e.offsetParent;return e||document}var i=this[0],n=t(i),o=this.offset(),s=/^(?:body|html)$/i.test(n.nodeName)?{top:0,left:0}:e(n).offset();o.top-=parseFloat(i.style.marginTop)||0;o.left-=parseFloat(i.style.marginLeft)||0;if(n.style){s.top+=parseFloat(n.style.borderTopWidth)||0;s.left+=parseFloat(n.style.borderLeftWidth)||0}return{top:o.top-s.top,left:o.left-s.left}}};var n={};e.expando="velocity"+(new Date).getTime();e.uuid=0;var o={},s=o.hasOwnProperty,r=o.toString;var a="Boolean Number String Function Array Date RegExp Object Error".split(" ");for(var l=0;l<a.length;l++)o["[object "+a[l]+"]"]=a[l].toLowerCase();e.fn.init.prototype=e.fn;t.Velocity={Utilities:e}})(window);(function(s){"use strict";if("object"===typeof t&&"object"===typeof t.exports)t.exports=s();else{true;!(n=s,o="function"===typeof n?n.call(e,i,e,t):n,void 0!==o&&(t.exports=o))}})(function(){"use strict";return function(t,e,i,n){var o=function(){if(i.documentMode)return i.documentMode;for(var t=7;t>4;t--){var e=i.createElement("div");e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e";if(e.getElementsByTagName("span").length){e=null;return t}}return n}();var s=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var i=(new Date).getTime(),n;n=Math.max(0,16-(i-t));t=i+n;return setTimeout(function(){e(i+n)},n)}}();var r=function(){var t=e.performance||{};if("function"!==typeof t.now){var i=t.timing&&t.timing.navigationStart?t.timing.navigationStart:(new Date).getTime();t.now=function(){return(new Date).getTime()-i}}return t}();function a(t){var e=-1,i=t?t.length:0,n=[];while(++e<i){var o=t[e];o&&n.push(o)}return n}var l=function(){var t=Array.prototype.slice;try{t.call(i.documentElement);return t}catch(e){return function(e,i){var n=this.length;"number"!==typeof e&&(e=0);"number"!==typeof i&&(i=n);if(this.slice)return t.call(this,e,i);var o,s=[],r=e>=0?e:Math.max(0,n+e),a=i<0?n+i:Math.min(i,n),l=a-r;if(l>0){s=new Array(l);if(this.charAt)for(o=0;o<l;o++)s[o]=this.charAt(r+o);else for(o=0;o<l;o++)s[o]=this[r+o]}return s}}}();var c=function(){if(Array.prototype.includes)return function(t,e){return t.includes(e)};if(Array.prototype.indexOf)return function(t,e){return t.indexOf(e)>=0};return function(t,e){for(var i=0;i<t.length;i++)if(t===e)return true;return false}};function u(t){d.isWrapped(t)?t=l.call(t):d.isNode(t)&&(t=[t]);return t}var d={isNumber:function(t){return"number"===typeof t},isString:function(t){return"string"===typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isWrapped:function(t){return t&&t!==e&&d.isNumber(t.length)&&!d.isString(t)&&!d.isFunction(t)&&!d.isNode(t)&&(0===t.length||d.isNode(t[0]))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)if(t.hasOwnProperty(e))return false;return true}};var h,p=false;if(t.fn&&t.fn.jquery){h=t;p=true}else h=e.Velocity.Utilities;if(o<=8&&!p)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(o<=7){jQuery.fn.velocity=jQuery.fn.animate;return}var f=400,m="swing";var g={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e.navigator.userAgent),isAndroid:/Android/i.test(e.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(e.navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(e.navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:false,calls:[],delayedElements:{count:0}},CSS:{},Utilities:h,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:f,easing:m,begin:n,complete:n,progress:n,display:n,visibility:n,loop:false,delay:false,mobileHA:true,_cacheValues:true,promiseRejectEmpty:true},init:function(t){h.data(t,"velocity",{isSVG:d.isSVG(t),isAnimating:false,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:false,version:{major:1,minor:5,patch:2},debug:false,timestamp:true,pauseAll:function(t){var e=(new Date).getTime();h.each(g.State.calls,function(e,i){if(i){if(t!==n&&(i[2].queue!==t||false===i[2].queue))return true;i[5]={resume:false}}});h.each(g.State.delayedElements,function(t,i){if(!i)return;y(i,e)})},resumeAll:function(t){var e=(new Date).getTime();h.each(g.State.calls,function(e,i){if(i){if(t!==n&&(i[2].queue!==t||false===i[2].queue))return true;i[5]&&(i[5].resume=true)}});h.each(g.State.delayedElements,function(t,i){if(!i)return;w(i,e)})}};if(e.pageYOffset!==n){g.State.scrollAnchor=e;g.State.scrollPropertyLeft="pageXOffset";g.State.scrollPropertyTop="pageYOffset"}else{g.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body;g.State.scrollPropertyLeft="scrollLeft";g.State.scrollPropertyTop="scrollTop"}function v(t){var e=h.data(t,"velocity");return null===e?n:e}function y(t,e){var i=v(t);if(i&&i.delayTimer&&!i.delayPaused){i.delayRemaining=i.delay-e+i.delayBegin;i.delayPaused=true;clearTimeout(i.delayTimer.setTimeout)}}function w(t,e){var i=v(t);if(i&&i.delayTimer&&i.delayPaused){i.delayPaused=false;i.delayTimer.setTimeout=setTimeout(i.delayTimer.next,i.delayRemaining)}}function b(t){return function(e){return Math.round(e*t)*(1/t)}}function _(t,i,n,o){var s=4,r=.001,a=1e-7,l=10,c=11,u=1/(c-1),d="Float32Array"in e;if(4!==arguments.length)return false;for(var h=0;h<4;++h)if("number"!==typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return false;t=Math.min(t,1);n=Math.min(n,1);t=Math.max(t,0);n=Math.max(n,0);var p=d?new Float32Array(c):new Array(c);function f(t,e){return 1-3*e+3*t}function m(t,e){return 3*e-6*t}function g(t){return 3*t}function v(t,e,i){return((f(e,i)*t+m(e,i))*t+g(e))*t}function y(t,e,i){return 3*f(e,i)*t*t+2*m(e,i)*t+g(e)}function w(e,i){for(var o=0;o<s;++o){var r=y(i,t,n);if(0===r)return i;var a=v(i,t,n)-e;i-=a/r}return i}function b(){for(var e=0;e<c;++e)p[e]=v(e*u,t,n)}function _(e,i,o){var s,r,c=0;do{r=i+(o-i)/2;s=v(r,t,n)-e;s>0?o=r:i=r}while(Math.abs(s)>a&&++c<l);return r}function C(e){var i=0,o=1,s=c-1;for(;o!==s&&p[o]<=e;++o)i+=u;--o;var a=(e-p[o])/(p[o+1]-p[o]),l=i+a*u,d=y(l,t,n);return d>=r?w(e,l):0===d?l:_(e,i,i+u)}var x=false;function E(){x=true;t===i&&n===o||b()}var T=function(e){x||E();if(t===i&&n===o)return e;if(0===e)return 0;if(1===e)return 1;return v(C(e),i,o)};T.getControlPoints=function(){return[{x:t,y:i},{x:n,y:o}]};var S="generateBezier("+[t,i,n,o]+")";T.toString=function(){return S};return T}var C=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,i,n){var o={x:e.x+n.dx*i,v:e.v+n.dv*i,tension:e.tension,friction:e.friction};return{dx:o.v,dv:t(o)}}function i(i,n){var o={dx:i.v,dv:t(i)},s=e(i,.5*n,o),r=e(i,.5*n,s),a=e(i,n,r),l=1/6*(o.dx+2*(s.dx+r.dx)+a.dx),c=1/6*(o.dv+2*(s.dv+r.dv)+a.dv);i.x=i.x+l*n;i.v=i.v+c*n;return i}return function t(e,n,o){var s={x:-1,v:0,tension:null,friction:null},r=[0],a=0,l=1e-4,c=.016,u,d,h;e=parseFloat(e)||500;n=parseFloat(n)||20;o=o||null;s.tension=e;s.friction=n;u=null!==o;if(u){a=t(e,n);d=a/o*c}else d=c;while(true){h=i(h||s,d);r.push(1+h.x);a+=16;if(!(Math.abs(h.x)>l&&Math.abs(h.v)>l))break}return u?function(t){return r[t*(r.length-1)|0]}:a}}();g.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}};h.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){g.Easings[e[0]]=_.apply(null,e[1])});function x(t,e){var i=t;d.isString(t)?g.Easings[t]||(i=false):i=d.isArray(t)&&1===t.length?b.apply(null,t):d.isArray(t)&&2===t.length?C.apply(null,t.concat([e])):!(!d.isArray(t)||4!==t.length)&&_.apply(null,t);false===i&&(i=g.Easings[g.defaults.easing]?g.defaults.easing:m);return i}var E=g.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<E.Lists.colors.length;t++){var e="color"===E.Lists.colors[t]?"0 0 0 1":"255 255 255 1";E.Hooks.templates[E.Lists.colors[t]]=["Red Green Blue Alpha",e]}var i,n,s;if(o)for(i in E.Hooks.templates){if(!E.Hooks.templates.hasOwnProperty(i))continue;n=E.Hooks.templates;s=n[0].split(" ");var r=n[1].match(E.RegEx.valueSplit);if("Color"===s[0]){s.push(s.shift());r.push(r.shift());E.Hooks.templates=[s.join(" "),r.join(" ")]}}for(i in E.Hooks.templates){if(!E.Hooks.templates.hasOwnProperty(i))continue;n=E.Hooks.templates;s=n[0].split(" ");for(var a in s){if(!s.hasOwnProperty(a))continue;var l=i+s[a],c=a;E.Hooks.registered[l]=[i,c]}}},getRoot:function(t){var e=E.Hooks.registered[t];return e?e[0]:t},getUnit:function(t,e){var i=(t.substr(e||0,5).match(/^[a-z%]+/)||[])[0]||"";if(i&&c(E.Lists.units,i))return i;return""},fixColors:function(t){return t.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(t,e,i){if(E.Lists.colorNames.hasOwnProperty(i))return(e||"rgba(")+E.Lists.colorNames+(e?"":",1)");return e+i})},cleanRootPropertyValue:function(t,e){E.RegEx.valueUnwrap.test(e)&&(e=e.match(E.RegEx.valueUnwrap)[1]);E.Values.isCSSNullValue(e)&&(e=E.Hooks.templates[t][1]);return e},extractValue:function(t,e){var i=E.Hooks.registered[t];if(i){var n=i[0],o=i[1];e=E.Hooks.cleanRootPropertyValue(n,e);return e.toString().match(E.RegEx.valueSplit)[o]}return e},injectValue:function(t,e,i){var n=E.Hooks.registered[t];if(n){var o=n[0],s=n[1],r,a;i=E.Hooks.cleanRootPropertyValue(o,i);r=i.toString().match(E.RegEx.valueSplit);r=e;a=r.join(" ");return a}return i}},Normalizations:{registered:{clip:function(t,e,i){switch(t){case"name":return"clip";case"extract":var n;if(E.RegEx.wrappedValueAlreadyExtracted.test(i))n=i;else{n=i.toString().match(E.RegEx.valueUnwrap);n=n?n[1].replace(/,(\s+)?/g," "):i}return n;case"inject":return"rect("+i+")"}},blur:function(t,e,i){switch(t){case"name":return g.State.isFirefox?"filter":"-webkit-filter";case"extract":var n=parseFloat(i);if(!(n||0===n)){var o=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i);n=o?o[1]:0}return n;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(t,e,i){if(o<=8)switch(t){case"name":return"filter";case"extract":var n=i.toString().match(/alpha\(opacity=(.*)\)/i);i=n?n[1]/100:1;return i;case"inject":e.style.zoom=1;return parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(t){case"name":return"opacity";case"extract":return i;case"inject":return i}}},register:function(){o&&!(o>9)||g.State.isGingerbread||(E.Lists.transformsBase=E.Lists.transformsBase.concat(E.Lists.transforms3D));for(var t=0;t<E.Lists.transformsBase.length;t++)(function(){var e=E.Lists.transformsBase[t];E.Normalizations.registered[e]=function(t,i,o){switch(t){case"name":return"transform";case"extract":if(v(i)===n||v(i).transformCache[e]===n)return/^scale/i.test(e)?1:0;return v(i).transformCache[e].replace(/[()]/g,"");case"inject":var s=false;switch(e.substr(0,e.length-1)){case"translate":s=!/(%|px|em|rem|vw|vh|\d)$/i.test(o);break;case"scal":case"scale":g.State.isAndroid&&v(i).transformCache[e]===n&&o<1&&(o=1);s=!/(\d)$/i.test(o);break;case"skew":s=!/(deg|\d)$/i.test(o);break;case"rotate":s=!/(deg|\d)$/i.test(o);break}s||(v(i).transformCache[e]="("+o+")");return v(i).transformCache[e]}}})();for(var e=0;e<E.Lists.colors.length;e++)(function(){var t=E.Lists.colors[e];E.Normalizations.registered[t]=function(e,i,s){switch(e){case"name":return t;case"extract":var r;if(E.RegEx.wrappedValueAlreadyExtracted.test(s))r=s;else{var a,l={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(s)?a=l!==n?l:l.black:E.RegEx.isHex.test(s)?a="rgb("+E.Values.hexToRgb(s).join(" ")+")":/^rgba?\(/i.test(s)||(a=l.black);r=(a||s).toString().match(E.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}(!o||o>8)&&3===r.split(" ").length&&(r+=" 1");return r;case"inject":if(/^rgb/.test(s))return s;o<=8?4===s.split(" ").length&&(s=s.split(/\s+/).slice(0,3).join(" ")):3===s.split(" ").length&&(s+=" 1");return(o<=8?"rgb":"rgba")+"("+s.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}})();function i(t,e,i){var n="border-box"===E.getPropertyValue(e,"boxSizing").toString().toLowerCase();if(n===(i||false)){var o,s,r=0,a="width"===t?["Left","Right"]:["Top","Bottom"],l=["padding"+a[0],"padding"+a[1],"border"+a[0]+"Width","border"+a[1]+"Width"];for(o=0;o<l.length;o++){s=parseFloat(E.getPropertyValue(e,l[o]));isNaN(s)||(r+=s)}return i?-r:r}return 0}function s(t,e){return function(n,o,s){switch(n){case"name":return t;case"extract":return parseFloat(s)+i(t,o,e);case"inject":return parseFloat(s)-i(t,o,e)+"px"}}}E.Normalizations.registered.innerWidth=s("width",true);E.Normalizations.registered.innerHeight=s("height",true);E.Normalizations.registered.outerWidth=s("width");E.Normalizations.registered.outerHeight=s("height")}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";(o||g.State.isAndroid&&!g.State.isChrome)&&(e+="|transform");return new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(g.State.prefixMatches[t])return[g.State.prefixMatches[t],true];var e=["","Webkit","Moz","ms","O"];for(var i=0,n=e.length;i<n;i++){var o;o=0===i?t:e+t.replace(/^\w/,function(t){return t.toUpperCase()});if(d.isString(g.State.prefixElement.style[o])){g.State.prefixMatches[t]=o;return[o,true]}}return[t,false]}},Values:{hexToRgb:function(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,n;t=t.replace(e,function(t,e,i,n){return e+e+i+i+n+n});n=i.exec(t);return n?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:[0,0,0]},isCSSNullValue:function(t){return!t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){if(t)if(t.classList)t.classList.add(e);else if(d.isString(t.className))t.className+=(t.className.length?" ":"")+e;else{var i=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",i+(i?" ":"")+e)}},removeClass:function(t,e){if(t)if(t.classList)t.classList.remove(e);else if(d.isString(t.className))t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ");else{var i=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",i.replace(new RegExp("(^|s)"+e.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(t,i,s,r){function a(t,i){var s=0;if(o<=8)s=h.css(t,i);else{var l=false;if(/^(width|height)$/.test(i)&&0===E.getPropertyValue(t,"display")){l=true;E.setPropertyValue(t,"display",E.Values.getDisplayType(t))}var c=function(){l&&E.setPropertyValue(t,"display","none")};if(!r){if("height"===i&&"border-box"!==E.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var u=t.offsetHeight-(parseFloat(E.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(E.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(E.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(E.getPropertyValue(t,"paddingBottom"))||0);c();return u}if("width"===i&&"border-box"!==E.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetWidth-(parseFloat(E.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(E.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(E.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(E.getPropertyValue(t,"paddingRight"))||0);c();return d}}var p;p=v(t)===n?e.getComputedStyle(t,null):v(t).computedStyle?v(t).computedStyle:v(t).computedStyle=e.getComputedStyle(t,null);"borderColor"===i&&(i="borderTopColor");s=9===o&&"filter"===i?p.getPropertyValue(i):p;""!==s&&null!==s||(s=t.style);c()}if("auto"===s&&/^(top|right|bottom|left)$/i.test(i)){var f=a(t,"position");("fixed"===f||"absolute"===f&&/top|left/i.test(i))&&(s=h(t).position()+"px")}return s}var l;if(E.Hooks.registered){var c=i,u=E.Hooks.getRoot(c);s===n&&(s=E.getPropertyValue(t,E.Names.prefixCheck(u)[0]));E.Normalizations.registered&&(s=E.Normalizations.registered("extract",t,s));l=E.Hooks.extractValue(c,s)}else if(E.Normalizations.registered){var d,p;d=E.Normalizations.registered("name",t);if("transform"!==d){p=a(t,E.Names.prefixCheck(d)[0]);E.Values.isCSSNullValue(p)&&E.Hooks.templates&&(p=E.Hooks.templates[1])}l=E.Normalizations.registered("extract",t,p)}if(!/^[\d-]/.test(l)){var f=v(t);if(f&&f.isSVG&&E.Names.SVGAttribute(i))if(/^(height|width)$/i.test(i))try{l=t.getBBox()}catch(t){l=0}else l=t.getAttribute(i);else l=a(t,E.Names.prefixCheck(i)[0])}E.Values.isCSSNullValue(l)&&(l=0);g.debug>=2&&console.log("Get "+i+": "+l);return l},setPropertyValue:function(t,i,n,s,r){var a=i;if("scroll"===i)r.container?r.container["scroll"+r.direction]=n:"Left"===r.direction?e.scrollTo(n,r.alternateValue):e.scrollTo(r.alternateValue,n);else if(E.Normalizations.registered&&"transform"===E.Normalizations.registered("name",t)){E.Normalizations.registered("inject",t,n);a="transform";n=v(t).transformCache}else{if(E.Hooks.registered){var l=i,c=E.Hooks.getRoot(i);s=s||E.getPropertyValue(t,c);n=E.Hooks.injectValue(l,n,s);i=c}if(E.Normalizations.registered){n=E.Normalizations.registered("inject",t,n);i=E.Normalizations.registered("name",t)}a=E.Names.prefixCheck(i)[0];if(o<=8)try{t.style[a]=n}catch(t){g.debug&&console.log("Browser does not support ["+n+"] for ["+a+"]")}else{var u=v(t);u&&u.isSVG&&E.Names.SVGAttribute(i)?t.setAttribute(i,n):t.style[a]=n}g.debug>=2&&console.log("Set "+i+" ("+a+"): "+n)}return[a,n]},flushTransformCache:function(t){var e="",i=v(t);if((o||g.State.isAndroid&&!g.State.isChrome)&&i&&i.isSVG){var n=function(e){return parseFloat(E.getPropertyValue(t,e))};var s={translate:[n("translateX"),n("translateY")],skewX:[n("skewX")],skewY:[n("skewY")],scale:1!==n("scale")?[n("scale"),n("scale")]:[n("scaleX"),n("scaleY")],rotate:[n("rotateZ"),0,0]};h.each(v(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate");if(s[t]){e+=t+"("+s[t].join(" ")+") ";delete s[t]}})}else{var r,a;h.each(v(t).transformCache,function(i){r=v(t).transformCache;if("transformPerspective"===i){a=r;return true}9===o&&"rotateZ"===i&&(i="rotate");e+=i+r+" "});a&&(e="perspective"+a+" "+e)}E.setPropertyValue(t,"transform",e)}};E.Hooks.register();E.Normalizations.register();g.hook=function(t,e,i){var o;t=u(t);h.each(t,function(t,s){v(s)===n&&g.init(s);if(i===n)o===n&&(o=E.getPropertyValue(s,e));else{var r=E.setPropertyValue(s,e,i);"transform"===r[0]&&g.CSS.flushTransformCache(s);o=r}});return o};var T=function(){var t;function o(){return r?_.promise||null:a}var s=arguments[0]&&(arguments[0].p||h.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||d.isString(arguments[0].properties)),r,a,l;var p,m,b;if(d.isWrapped(this)){r=false;l=0;p=this;a=this}else{r=true;l=1;p=s?arguments[0].elements||arguments[0].e:arguments[0]}var _={promise:null,resolver:null,rejecter:null};r&&g.Promise&&(_.promise=new g.Promise(function(t,e){_.resolver=t;_.rejecter=e}));if(s){m=arguments[0].properties||arguments[0].p;b=arguments[0].options||arguments[0].o}else{m=arguments[l];b=arguments[l+1]}p=u(p);if(!p){_.promise&&(m&&b&&false===b.promiseRejectEmpty?_.resolver():_.rejecter());return}var C=p.length,S=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(m)&&!h.isPlainObject(b)){var k=l+1;b={};for(var A=k;A<arguments.length;A++)d.isArray(arguments[A])||!/^(fast|normal|slow)$/i.test(arguments[A])&&!/^\d/.test(arguments[A])?d.isString(arguments[A])||d.isArray(arguments[A])?b.easing=arguments[A]:d.isFunction(arguments[A])&&(b.complete=arguments[A]):b.duration=arguments[A]}var O;switch(m){case"scroll":O="scroll";break;case"reverse":O="reverse";break;case"pause":var D=(new Date).getTime();h.each(p,function(t,e){y(e,D)});h.each(g.State.calls,function(t,e){var i=false;e&&h.each(e[1],function(t,o){var s=b===n?"":b;if(true!==s&&e[2].queue!==s&&!(b===n&&false===e[2].queue))return true;h.each(p,function(t,n){if(n===o){e[5]={resume:false};i=true;return false}});if(i)return false})});return o();case"resume":h.each(p,function(t,e){w(e,D)});h.each(g.State.calls,function(t,e){var i=false;e&&h.each(e[1],function(t,o){var s=b===n?"":b;if(true!==s&&e[2].queue!==s&&!(b===n&&false===e[2].queue))return true;if(!e[5])return true;h.each(p,function(t,n){if(n===o){e[5].resume=true;i=true;return false}});if(i)return false})});return o();case"finish":case"finishAll":case"stop":h.each(p,function(t,e){if(v(e)&&v(e).delayTimer){clearTimeout(v(e).delayTimer.setTimeout);v(e).delayTimer.next&&v(e).delayTimer.next();delete v(e).delayTimer}if("finishAll"===m&&(true===b||d.isString(b))){h.each(h.queue(e,d.isString(b)?b:""),function(t,e){d.isFunction(e)&&e()});h.queue(e,d.isString(b)?b:"",[])}});var P=[];h.each(g.State.calls,function(t,e){e&&h.each(e[1],function(i,o){var s=b===n?"":b;if(true!==s&&e[2].queue!==s&&!(b===n&&false===e[2].queue))return true;h.each(p,function(i,n){if(n===o){if(true===b||d.isString(b)){h.each(h.queue(n,d.isString(b)?b:""),function(t,e){d.isFunction(e)&&e(null,true)});h.queue(n,d.isString(b)?b:"",[])}if("stop"===m){var r=v(n);r&&r.tweensContainer&&(true===s||""===s)&&h.each(r.tweensContainer,function(t,e){e.endValue=e.currentValue});P.push(t)}else"finish"!==m&&"finishAll"!==m||(e[2].duration=1)}})})});if("stop"===m){h.each(P,function(t,e){$(e,true)});_.promise&&_.resolver(p)}return o();default:if(!h.isPlainObject(m)||d.isEmptyObject(m)){if(d.isString(m)&&g.Redirects[m]){t=h.extend({},b);var N=t.duration,L=t.delay||0;true===t.backwards&&(p=h.extend(true,[],p).reverse());h.each(p,function(e,i){parseFloat(t.stagger)?t.delay=L+parseFloat(t.stagger)*e:d.isFunction(t.stagger)&&(t.delay=L+t.stagger.call(i,e,C));if(t.drag){t.duration=parseFloat(N)||(/^(callout|transition)/.test(m)?1e3:f);t.duration=Math.max(t.duration*(t.backwards?1-e/C:(e+1)/C),.75*t.duration,200)}g.Redirects[m].call(i,i,t||{},e,C,p,_.promise?_:n)});return o()}var j="Velocity: First argument ("+m+") was not a property map, a known action, or a registered redirect. Aborting.";_.promise?_.rejecter(new Error(j)):e.console&&console.log(j);return o()}O="start"}var V={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null};var M=[];function F(t,o){var s=h.extend({},g.defaults,b),r={},a;v(t)===n&&g.init(t);parseFloat(s.delay)&&false!==s.queue&&h.queue(t,s.queue,function(e,i){if(true===i)return true;g.velocityQueueEntryFlag=true;var n=g.State.delayedElements.count++;g.State.delayedElements[n]=t;var o=function(t){return function(){g.State.delayedElements[t]=false;e()}}(n);v(t).delayBegin=(new Date).getTime();v(t).delay=parseFloat(s.delay);v(t).delayTimer={setTimeout:setTimeout(e,parseFloat(s.delay)),next:o}});switch(s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=f;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}if(false!==g.mock)if(true===g.mock)s.duration=s.delay=1;else{s.duration*=parseFloat(g.mock)||1;s.delay*=parseFloat(g.mock)||1}s.easing=x(s.easing,s.duration);s.begin&&!d.isFunction(s.begin)&&(s.begin=null);s.progress&&!d.isFunction(s.progress)&&(s.progress=null);s.complete&&!d.isFunction(s.complete)&&(s.complete=null);if(s.display!==n&&null!==s.display){s.display=s.display.toString().toLowerCase();"auto"===s.display&&(s.display=g.CSS.Values.getDisplayType(t))}s.visibility!==n&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase());s.mobileHA=s.mobileHA&&g.State.isMobile&&!g.State.isGingerbread;function l(l){var u,f;if(s.begin&&0===S)try{s.begin.call(p,p)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===O){var y=/^x$/i.test(s.axis)?"Left":"Top",w=parseFloat(s.offset)||0,T,k,$;if(s.container)if(d.isWrapped(s.container)||d.isNode(s.container)){s.container=s.container[0]||s.container;T=s.container["scroll"+y];$=T+h(t).position()[y.toLowerCase()]+w}else s.container=null;else{T=g.State.scrollAnchor[g.State["scrollProperty"+y]];k=g.State.scrollAnchor[g.State["scrollProperty"+("Left"===y?"Top":"Left")]];$=h(t).offset()[y.toLowerCase()]+w}r={scroll:{rootPropertyValue:false,startValue:T,currentValue:T,endValue:$,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:y,alternateValue:k}},element:t};g.debug&&console.log("tweensContainer (scroll): ",r.scroll,t)}else if("reverse"===O){u=v(t);if(!u)return;if(!u.tweensContainer){h.dequeue(t,s.queue);return}"none"===u.opts.display&&(u.opts.display="auto");"hidden"===u.opts.visibility&&(u.opts.visibility="visible");u.opts.loop=false;u.opts.begin=null;u.opts.complete=null;b.easing||delete s.easing;b.duration||delete s.duration;s=h.extend({},u.opts,s);f=h.extend(true,{},u?u.tweensContainer:null);for(var A in f)if(f.hasOwnProperty(A)&&"element"!==A){var D=f[A].startValue;f[A].startValue=f[A].currentValue=f[A].endValue;f[A].endValue=D;d.isEmptyObject(b)||(f[A].easing=s.easing);g.debug&&console.log("reverse tweensContainer ("+A+"): "+JSON.stringify(f[A]),t)}r=f}else if("start"===O){u=v(t);u&&u.tweensContainer&&true===u.isAnimating&&(f=u.tweensContainer);var P=function(e,i){var n,r,a;d.isFunction(e)&&(e=e.call(t,o,C));if(d.isArray(e)){n=e[0];if(!d.isArray(e[1])&&/^[\d-]/.test(e[1])||d.isFunction(e[1])||E.RegEx.isHex.test(e[1]))a=e[1];else if(d.isString(e[1])&&!E.RegEx.isHex.test(e[1])&&g.Easings[e[1]]||d.isArray(e[1])){r=i?e[1]:x(e[1],s.duration);a=e[2]}else a=e[1]||e[2]}else n=e;i||(r=r||s.easing);d.isFunction(n)&&(n=n.call(t,o,C));d.isFunction(a)&&(a=a.call(t,o,C));return[n||0,r,a]};var N=function(o,l){var c=E.Hooks.getRoot(o),p=false,m=l[0],v=l[1],y=l[2],w;if((!u||!u.isSVG)&&"tween"!==c&&false===E.Names.prefixCheck(c)[1]&&E.Normalizations.registered[c]===n){g.debug&&console.log("Skipping ["+c+"] due to a lack of browser support.");return}(s.display!==n&&null!==s.display&&"none"!==s.display||s.visibility!==n&&"hidden"!==s.visibility)&&/opacity|filter/.test(o)&&!y&&0!==m&&(y=0);if(s._cacheValues&&f&&f[o]){y===n&&(y=f[o].endValue+f[o].unitType);p=u.rootPropertyValueCache[c]}else if(E.Hooks.registered[o])if(y===n){p=E.getPropertyValue(t,c);y=E.getPropertyValue(t,o,p)}else p=E.Hooks.templates[c][1];else y===n&&(y=E.getPropertyValue(t,o));var b,_,C,x=false;var T=function(t,e){var i,n;n=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){i=t;return""});i||(i=E.Values.getUnitType(t));return[n,i]};if(y!==m&&d.isString(y)&&d.isString(m)){w="";var S=0,k=0,I=[],$=[],A=0,O=0,D=0;y=E.Hooks.fixColors(y);m=E.Hooks.fixColors(m);while(S<y.length&&k<m.length){var P=y,N=m[k];if(/[\d\.-]/.test(P)&&/[\d\.-]/.test(N)){var L=P,j=N,M=".",F=".";while(++S<y.length){P=y;if(P===M)M="..";else if(!/\d/.test(P))break;L+=P}while(++k<m.length){N=m[k];if(N===F)F="..";else if(!/\d/.test(N))break;j+=N}var R=E.Hooks.getUnit(y,S),H=E.Hooks.getUnit(m,k);S+=R.length;k+=H.length;if(R===H)if(L===j)w+=L+R;else{w+="{"+I.length+(O?"!":"")+"}"+R;I.push(parseFloat(L));$.push(parseFloat(j))}else{var z=parseFloat(L),q=parseFloat(j);w+=(A<5?"calc":"")+"("+(z?"{"+I.length+(O?"!":"")+"}":"0")+R+" + "+(q?"{"+(I.length+(z?1:0))+(O?"!":"")+"}":"0")+H+")";if(z){I.push(z);$.push(0)}if(q){I.push(0);$.push(q)}}}else{if(P!==N){A=0;break}w+=P;S++;k++;0===A&&"c"===P||1===A&&"a"===P||2===A&&"l"===P||3===A&&"c"===P||A>=4&&"("===P?A++:(A&&A<5||A>=4&&")"===P&&--A<5)&&(A=0);if(0===O&&"r"===P||1===O&&"g"===P||2===O&&"b"===P||3===O&&"a"===P||O>=3&&"("===P){3===O&&"a"===P&&(D=1);O++}else D&&","===P?++D>3&&(O=D=0):(D&&O<(D?5:4)||O>=(D?4:3)&&")"===P&&--O<(D?5:4))&&(O=D=0)}}if(S!==y.length||k!==m.length){g.debug&&console.error('Trying to pattern match mis-matched strings ["'+m+'", "'+y+'"]');w=n}if(w)if(I.length){g.debug&&console.log('Pattern found "'+w+'" -> ',I,$,"["+y+","+m+"]");y=I;m=$;_=C=""}else w=n}if(!w){b=T(o,y);y=b[0];C=b[1];b=T(o,m);m=b[0].replace(/^([+-\/*])=/,function(t,e){x=e;return""});_=b[1];y=parseFloat(y)||0;m=parseFloat(m)||0;if("%"===_)if(/^(fontSize|lineHeight)$/.test(o)){m/=100;_="em"}else if(/^scale/.test(o)){m/=100;_=""}else if(/(Red|Green|Blue)$/i.test(o)){m=m/100*255;_=""}}var W=function(){var n={myParent:t.parentNode||i.body,position:E.getPropertyValue(t,"position"),fontSize:E.getPropertyValue(t,"fontSize")},o=n.position===V.lastPosition&&n.myParent===V.lastParent,s=n.fontSize===V.lastFontSize;V.lastParent=n.myParent;V.lastPosition=n.position;V.lastFontSize=n.fontSize;var r=100,a={};if(s&&o){a.emToPx=V.lastEmToPx;a.percentToPxWidth=V.lastPercentToPxWidth;a.percentToPxHeight=V.lastPercentToPxHeight}else{var l=u&&u.isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div");g.init(l);n.myParent.appendChild(l);h.each(["overflow","overflowX","overflowY"],function(t,e){g.CSS.setPropertyValue(l,e,"hidden")});g.CSS.setPropertyValue(l,"position",n.position);g.CSS.setPropertyValue(l,"fontSize",n.fontSize);g.CSS.setPropertyValue(l,"boxSizing","content-box");h.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){g.CSS.setPropertyValue(l,e,r+"%")});g.CSS.setPropertyValue(l,"paddingLeft",r+"em");a.percentToPxWidth=V.lastPercentToPxWidth=(parseFloat(E.getPropertyValue(l,"width",null,true))||1)/r;a.percentToPxHeight=V.lastPercentToPxHeight=(parseFloat(E.getPropertyValue(l,"height",null,true))||1)/r;a.emToPx=V.lastEmToPx=(parseFloat(E.getPropertyValue(l,"paddingLeft"))||1)/r;n.myParent.removeChild(l)}null===V.remToPx&&(V.remToPx=parseFloat(E.getPropertyValue(i.body,"fontSize"))||16);if(null===V.vwToPx){V.vwToPx=parseFloat(e.innerWidth)/100;V.vhToPx=parseFloat(e.innerHeight)/100}a.remToPx=V.remToPx;a.vwToPx=V.vwToPx;a.vhToPx=V.vhToPx;g.debug>=1&&console.log("Unit ratios: "+JSON.stringify(a),t);return a};if(/[\/*]/.test(x))_=C;else if(C!==_&&0!==y)if(0===m)_=C;else{a=a||W();var B=/margin|padding|left|right|width|text|word|letter/i.test(o)||/X$/.test(o)||"x"===o?"x":"y";switch(C){case"%":y*="x"===B?a.percentToPxWidth:a.percentToPxHeight;break;case"px":break;default:y*=a[C+"ToPx"]}switch(_){case"%":y*=1/("x"===B?a.percentToPxWidth:a.percentToPxHeight);break;case"px":break;default:y*=1/a[_+"ToPx"]}}switch(x){case"+":m=y+m;break;case"-":m=y-m;break;case"*":m*=y;break;case"/":m=y/m;break}r[o]={rootPropertyValue:p,startValue:y,currentValue:y,endValue:m,unitType:_,easing:v};w&&(r[o].pattern=w);g.debug&&console.log("tweensContainer ("+o+"): "+JSON.stringify(r[o]),t)};for(var L in m){if(!m.hasOwnProperty(L))continue;var j=E.Names.camelCase(L),F=P(m[L]);if(c(E.Lists.colors,j)){var R=F[0],H=F[1],z=F[2];if(E.RegEx.isHex.test(R)){var q=["Red","Green","Blue"],W=E.Values.hexToRgb(R),B=z?E.Values.hexToRgb(z):n;for(var U=0;U<q.length;U++){var Q=[W];H&&Q.push(H);B!==n&&Q.push(B);N(j+q,Q)}continue}}N(j,F)}r.element=t}if(r.element){E.Values.addClass(t,"velocity-animating");M.push(r);u=v(t);if(u){if(""===s.queue){u.tweensContainer=r;u.opts=s}u.isAnimating=true}if(S===C-1){g.State.calls.push([M,p,s,null,_.resolver,null,0]);if(false===g.State.isTicking){g.State.isTicking=true;I()}}else S++}}if(false===s.queue)if(s.delay){var u=g.State.delayedElements.count++;g.State.delayedElements=t;var y=function(t){return function(){g.State.delayedElements[t]=false;l()}}(u);v(t).delayBegin=(new Date).getTime();v(t).delay=parseFloat(s.delay);v(t).delayTimer={setTimeout:setTimeout(l,parseFloat(s.delay)),next:y}}else l();else h.queue(t,s.queue,function(t,e){if(true===e){_.promise&&_.resolver(p);return true}g.velocityQueueEntryFlag=true;l(t)});""!==s.queue&&"fx"!==s.queue||"inprogress"===h.queue(t)[0]||h.dequeue(t)}h.each(p,function(t,e){d.isNode(e)&&F(e,t)});t=h.extend({},g.defaults,b);t.loop=parseInt(t.loop,10);var R=2*t.loop-1;if(t.loop)for(var H=0;H<R;H++){var z={delay:t.delay,progress:t.progress};if(H===R-1){z.display=t.display;z.visibility=t.visibility;z.complete=t.complete}T(p,"reverse",z)}return o()};g=h.extend(T,g);g.animate=T;var S=e.requestAnimationFrame||s;if(!g.State.isMobile&&i.hidden!==n){var k=function(){if(i.hidden){S=function(t){return setTimeout(function(){t(true)},16)};I()}else S=e.requestAnimationFrame||s};k();i.addEventListener("visibilitychange",k)}function I(t){if(t){var e=g.timestamp&&true!==t?t:r.now();var i=g.State.calls.length;if(i>1e4){g.State.calls=a(g.State.calls);i=g.State.calls.length}for(var s=0;s<i;s++){if(!g.State.calls)continue;var l=g.State.calls,c=l[0],u=l[2],p=l[3],f=!p,m=null,y=l[5],w=l[6];p||(p=g.State.calls[3]=e-16);if(y){if(true!==y.resume)continue;p=l[3]=Math.round(e-w-16);l[5]=null}w=l[6]=e-p;var b=Math.min(w/u.duration,1);for(var _=0,C=c.length;_<C;_++){var x=c[_],T=x.element;if(!v(T))continue;var k=false;if(u.display!==n&&null!==u.display&&"none"!==u.display){if("flex"===u.display){var A=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];h.each(A,function(t,e){E.setPropertyValue(T,"display",e)})}E.setPropertyValue(T,"display",u.display)}u.visibility!==n&&"hidden"!==u.visibility&&E.setPropertyValue(T,"visibility",u.visibility);for(var O in x)if(x.hasOwnProperty(O)&&"element"!==O){var D=x[O],P,N=d.isString(D.easing)?g.Easings[D.easing]:D.easing;if(d.isString(D.pattern)){var L=1===b?function(t,e,i){var n=D.endValue[e];return i?Math.round(n):n}:function(t,e,i){var n=D.startValue[e],o=D.endValue[e]-n,s=n+o*N(b,u,o);return i?Math.round(s):s};P=D.pattern.replace(/{(\d+)(!)?}/g,L)}else if(1===b)P=D.endValue;else{var j=D.endValue-D.startValue;P=D.startValue+j*N(b,u,j)}if(!f&&P===D.currentValue)continue;D.currentValue=P;if("tween"===O)m=P;else{var V;if(E.Hooks.registered[O]){V=E.Hooks.getRoot(O);var M=v(T).rootPropertyValueCache[V];M&&(D.rootPropertyValue=M)}var F=E.setPropertyValue(T,O,D.currentValue+(o<9&&0===parseFloat(P)?"":D.unitType),D.rootPropertyValue,D.scrollData);E.Hooks.registered[O]&&(E.Normalizations.registered[V]?v(T).rootPropertyValueCache[V]=E.Normalizations.registered[V]("extract",null,F[1]):v(T).rootPropertyValueCache[V]=F[1]);"transform"===F[0]&&(k=true)}}if(u.mobileHA&&v(T).transformCache.translate3d===n){v(T).transformCache.translate3d="(0px, 0px, 0px)";k=true}k&&E.flushTransformCache(T)}u.display!==n&&"none"!==u.display&&(g.State.calls[2].display=false);u.visibility!==n&&"hidden"!==u.visibility&&(g.State.calls[2].visibility=false);u.progress&&u.progress.call(l[1],l[1],b,Math.max(0,p+u.duration-e),p,m);1===b&&$(s)}}g.State.isTicking&&S(I)}function $(t,e){if(!g.State.calls[t])return false;var i=g.State.calls[t][0],o=g.State.calls[t][1],s=g.State.calls[t][2],r=g.State.calls[t][4];var a=false;for(var l=0,c=i.length;l<c;l++){var u=i[l].element;if(!e&&!s.loop){"none"===s.display&&E.setPropertyValue(u,"display",s.display);"hidden"===s.visibility&&E.setPropertyValue(u,"visibility",s.visibility)}var d=v(u);if(true!==s.loop&&(h.queue(u)[1]===n||!/\.velocityQueueEntryFlag/i.test(h.queue(u)[1]))&&d){d.isAnimating=false;d.rootPropertyValueCache={};var p=false;h.each(E.Lists.transforms3D,function(t,e){var i=/^scale/.test(e)?1:0,o=d.transformCache[e];if(d.transformCache[e]!==n&&new RegExp("^\\("+i+"[^.]").test(o)){p=true;delete d.transformCache[e]}});if(s.mobileHA){p=true;delete d.transformCache.translate3d}p&&E.flushTransformCache(u);E.Values.removeClass(u,"velocity-animating")}if(!e&&s.complete&&!s.loop&&l===c-1)try{s.complete.call(o,o)}catch(t){setTimeout(function(){throw t},1)}r&&true!==s.loop&&r(o);if(d&&true===s.loop&&!e){h.each(d.tweensContainer,function(t,e){if(/^rotate/.test(t)&&(parseFloat(e.startValue)-parseFloat(e.endValue))%360===0){var i=e.startValue;e.startValue=e.endValue;e.endValue=i}if(/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType){e.endValue=0;e.startValue=100}});g(u,"reverse",{loop:true,delay:s.delay})}false!==s.queue&&h.dequeue(u,s.queue)}g.State.calls[t]=false;for(var f=0,m=g.State.calls.length;f<m;f++)if(false!==g.State.calls[f]){a=true;break}if(false===a){g.State.isTicking=false;delete g.State.calls;g.State.calls=[]}}t.Velocity=g;if(t!==e){t.fn.velocity=T;t.fn.velocity.defaults=g.defaults}h.each(["Down","Up"],function(t,e){g.Redirects["slide"+e]=function(t,i,o,s,r,a){var l=h.extend({},i),c=l.begin,u=l.complete,d={},p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};l.display===n&&(l.display="Down"===e?"inline"===g.CSS.Values.getDisplayType(t)?"inline-block":"block":"none");l.begin=function(){0===o&&c&&c.call(r,r);for(var i in p){if(!p.hasOwnProperty(i))continue;d=t.style;var n=E.getPropertyValue(t,i);p="Down"===e?[n,0]:[0,n]}d.overflow=t.style.overflow;t.style.overflow="hidden"};l.complete=function(){for(var e in d)d.hasOwnProperty(e)&&(t.style[e]=d[e]);if(o===s-1){u&&u.call(r,r);a&&a.resolver(r)}};g(t,p,l)}});h.each(["In","Out"],function(t,e){g.Redirects["fade"+e]=function(t,i,o,s,r,a){var l=h.extend({},i),c=l.complete,u={opacity:"In"===e?1:0};0!==o&&(l.begin=null);l.complete=o!==s-1?null:function(){c&&c.call(r,r);a&&a.resolver(r)};l.display===n&&(l.display="In"===e?"auto":"none");g(this,u,l)}});return g}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)})},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);class s{init(){o()(".js-product-miniature").each((t,e)=>{const i=10;let n=o()(e).find(".discount-percentage");let s=o()(e).find(".on-sale");let r=o()(e).find(".new");if(n.length){r.css("top",2*n.height()+i);n.css("top",-o()(e).find(".thumbnail-container").height()+o()(e).find(".product-description").height()+i)}if(s.length){n.css("top",parseFloat(n.css("top"))+s.height()+i);r.css("top",2*n.height()+s.height()+2*i)}if(o()(e).find(".color").length>5){let t=0;o()(e).find(".color").each((e,i)=>{if(e>4){o()(i).hide();t++}});o()(e).find(".js-count").append(`+${t}`)}})}}e["a"]=s},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);class s{constructor(t){this.el=t}init(){this.el.on("show.bs.dropdown",function(t,e){e?o()(`#${e}`).find(".dropdown-menu").first().stop(true,true).slideDown():o()(t.target).find(".dropdown-menu").first().stop(true,true).slideDown()});this.el.on("hide.bs.dropdown",function(t,e){e?o()(`#${e}`).find(".dropdown-menu").first().stop(true,true).slideUp():o()(t.target).find(".dropdown-menu").first().stop(true,true).slideUp()});this.el.find("select.link").each(function(t,e){o()(e).on("change",function(t){window.location=o()(this).val()})})}}e["a"]=s},function(t,e,i){i(6);t.exports=i(61)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:true});var n=i(7);var o=i.n(n);var s=i(10);var r=i.n(s);var a=i(11);var l=i.n(a);var c=i(12);var u=i(13);var d=i(14);var h=i(15);var p=i(16);var f=i(17);var m=i(4);var g=i(18);var v=i(3);var y=i(19);var w=i(20);var b=i(1);var _=i.n(b);var C=i(21);var x=i.n(C);var E=i(22);var T=i.n(E);var S=i(23);var k=i.n(S);var I=i(24);var A=i.n(I);var O=i(25);var D=i.n(O);var P=i(26);var N=i.n(P);var L=i(27);var j=i.n(L);var V=i(28);var M=i.n(V);var F=i(29);var R=i.n(F);var H=i(30);var z=i.n(H);var q=i(32);var W=i.n(q);var B=i(33);var U=i.n(B);var Q=i(34);var X=i.n(Q);var Y=i(35);var G=i.n(Y);var K=i(36);var Z=i.n(K);var J=i(37);var tt=i.n(J);var et=i(38);var it=i.n(et);var nt=i(39);var ot=i(40);for(var st in x.a.prototype)_.a[st]=x.a.prototype[st];$(document).ready(()=>{let t=$(".js-dropdown");const e=new g["a"];let i=$('.js-top-menu ul[data-depth="0"]');let n=new m["a"](t);let o=new w["a"](i);let s=new v["a"];let r=new y["a"];n.init();e.init();o.init();s.init();r.init()})},function(t,e,i){(function(e){t.exports=e["Tether"]=i(9)}).call(e,i(8))},function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(1,eval)("this")}catch(t){"object"===typeof window&&(i=window)}t.exports=i},function(t,e,i){var n,o,s;/*! tether 1.4.4 */ /*! tether 1.4.4 */
(function(i,r){true;!(o=[],n=r,s="function"===typeof n?n.apply(e,o):n,void 0!==s&&(t.exports=s))})(this,function(){"use strict";var t=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e;n.enumerable=n.enumerable||false;n.configurable=true;"value"in n&&(n.writable=true);Object.defineProperty(t,n.key,n)}}return function(e,i,n){i&&t(e.prototype,i);n&&t(e,n);return e}}();function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=void 0;"undefined"===typeof i&&(i={modules:[]});var n=null;function o(t){var e=t.getBoundingClientRect();var i={};for(var n in e)i[n]=e[n];if(t.ownerDocument!==document){var s=t.ownerDocument.defaultView.frameElement;if(s){var r=o(s);i.top+=r.top;i.bottom+=r.top;i.left+=r.left;i.right+=r.left}}return i}function s(t){var e=getComputedStyle(t)||{};var i=e.position;var n=[];if("fixed"===i)return[t];var o=t;while((o=o.parentNode)&&o&&1===o.nodeType){var s=void 0;try{s=getComputedStyle(o)}catch(t){}if("undefined"===typeof s||null===s){n.push(o);return n}var r=s;var a=r.overflow;var l=r.overflowX;var c=r.overflowY;/(auto|scroll|overlay)/.test(a+c+l)&&("absolute"!==i||["relative","absolute","fixed"].indexOf(s.position)>=0)&&n.push(o)}n.push(t.ownerDocument.body);t.ownerDocument!==document&&n.push(t.ownerDocument.defaultView);return n}var r=function(){var t=0;return function(){return++t}}();var a={};var l=function t(){var e=n;if(!e||!document.body.contains(e)){e=document.createElement("div");e.setAttribute("data-tether-id",r());f(e.style,{top:0,left:0,position:"absolute"});document.body.appendChild(e);n=e}var i=e.getAttribute("data-tether-id");if("undefined"===typeof a){a=o(e);C(function(){delete a})}return a};function c(){n&&document.body.removeChild(n);n=null}function u(t){var e=void 0;if(t===document){e=document;t=document.documentElement}else e=t.ownerDocument;var i=e.documentElement;var n=o(t);var s=l();n.top-=s.top;n.left-=s.left;"undefined"===typeof n.width&&(n.width=document.body.scrollWidth-n.left-n.right);"undefined"===typeof n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom);n.top=n.top-i.clientTop;n.left=n.left-i.clientLeft;n.right=e.body.clientWidth-n.width-n.left;n.bottom=e.body.clientHeight-n.height-n.top;return n}function d(t){return t.offsetParent||document.documentElement}var h=null;function p(){if(h)return h;var t=document.createElement("div");t.style.width="100%";t.style.height="200px";var e=document.createElement("div");f(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"});e.appendChild(t);document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var n=t.offsetWidth;i===n&&(n=e.clientWidth);document.body.removeChild(e);var o=i-n;h={width:o,height:o};return h}function f(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];var e=[];Array.prototype.push.apply(e,arguments);e.slice(1).forEach(function(e){if(e)for(var i in e)({}).hasOwnProperty.call(e,i)&&(t=e)});return t}function m(t,e){if("undefined"!==typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var i=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi");var n=y(t).replace(i," ");w(t,n)}}function g(t,e){if("undefined"!==typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{m(t,e);var i=y(t)+" "+e;w(t,i)}}function v(t,e){if("undefined"!==typeof t.classList)return t.classList.contains(e);var i=y(t);return new RegExp("(^| )"+e+"( |$)","gi").test(i)}function y(t){if(t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString)return t.className.baseVal;return t.className}function w(t,e){t.setAttribute("class",e)}function b(t,e,i){i.forEach(function(i){-1===e.indexOf(i)&&v(t,i)&&m(t,i)});e.forEach(function(e){v(t,e)||g(t,e)})}var _=[];var C=function t(e){_.push(e)};var x=function t(){var e=void 0;while(e=_.pop())e()};var E=function(){function i(){e(this,i)}t(i,[{key:"on",value:function t(e,i,n){var o=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];"undefined"===typeof this.bindings&&(this.bindings={});"undefined"===typeof this.bindings[e]&&(this.bindings[e]=[]);this.bindings[e].push({handler:i,ctx:n,once:o})}},{key:"once",value:function t(e,i,n){this.on(e,i,n,true)}},{key:"off",value:function t(e,i){if("undefined"===typeof this.bindings||"undefined"===typeof this.bindings[e])return;if("undefined"===typeof i)delete this.bindings[e];else{var n=0;while(n<this.bindings[e].length)this.bindings[e][n].handler===i?this.bindings[e].splice(n,1):++n}}},{key:"trigger",value:function t(e){if("undefined"!==typeof this.bindings&&this.bindings[e]){var i=0;for(var n=arguments.length,o=Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments;while(i<this.bindings[e].length){var r=this.bindings[e];var a=r.handler;var l=r.ctx;var c=r.once;var u=l;"undefined"===typeof u&&(u=this);a.apply(u,o);c?this.bindings[e].splice(i,1):++i}}}}]);return i}();i.Utils={getActualBoundingClientRect:o,getScrollParents:s,getBounds:u,getOffsetParent:d,extend:f,addClass:g,removeClass:m,hasClass:v,updateClasses:b,defer:C,flush:x,uniqueId:r,Evented:E,getScrollBarSize:p,removeUtilElements:c};"use strict";var T=function(){function t(t,e){var i=[];var n=true;var o=false;var s=void 0;try{for(var r=t[Symbol.iterator](),a;!(n=(a=r.next()).done);n=true){i.push(a.value);if(e&&i.length===e)break}}catch(t){o=true;s=t}finally{try{!n&&r["return"]&&r["return"]()}finally{if(o)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var t=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e;n.enumerable=n.enumerable||false;n.configurable=true;"value"in n&&(n.writable=true);Object.defineProperty(t,n.key,n)}}return function(e,i,n){i&&t(e.prototype,i);n&&t(e,n);return e}}();var S=function t(e,i,n){var o=true;t:while(o){var s=e,r=i,a=n;o=false;null===s&&(s=Function.prototype);var l=Object.getOwnPropertyDescriptor(s,r);if(void 0===l){var c=Object.getPrototypeOf(s);if(null===c)return;e=c;i=r;n=a;o=true;l=c=void 0;continue t}if("value"in l)return l.value;var u=l.get;if(void 0===u)return;return u.call(a)}};function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}});e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}if("undefined"===typeof i)throw new Error("You must include the utils.js file before tether.js");var I=i.Utils;var s=I.getScrollParents;var u=I.getBounds;var d=I.getOffsetParent;var f=I.extend;var g=I.addClass;var m=I.removeClass;var b=I.updateClasses;var C=I.defer;var x=I.flush;var p=I.getScrollBarSize;var c=I.removeUtilElements;function $(t,e){var i=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+i>=e&&e>=t-i}var A=function(){if("undefined"===typeof document)return"";var t=document.createElement("div");var e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"];for(var i=0;i<e.length;++i){var n=e;if(void 0!==t.style[n])return n}}();var O=[];var D=function t(){O.forEach(function(t){t.position(false)});x()};function P(){if("object"===typeof performance&&"function"===typeof performance.now)return performance.now();return+new Date}(function(){var t=null;var e=null;var i=null;var n=function n(){if("undefined"!==typeof e&&e>16){e=Math.min(e-16,250);i=setTimeout(n,250);return}if("undefined"!==typeof t&&P()-t<10)return;if(null!=i){clearTimeout(i);i=null}t=P();D();e=P()-t};"undefined"!==typeof window&&"undefined"!==typeof window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,n)})})();var N={center:"center",left:"right",right:"left"};var L={middle:"middle",top:"bottom",bottom:"top"};var j={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"};var V=function t(e,i){var n=e.left;var o=e.top;"auto"===n&&(n=N[i.left]);"auto"===o&&(o=L[i.top]);return{left:n,top:o}};var M=function t(e){var i=e.left;var n=e.top;"undefined"!==typeof j[e.left]&&(i=j[e.left]);"undefined"!==typeof j[e.top]&&(n=j[e.top]);return{left:i,top:n}};function F(){var t={top:0,left:0};for(var e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];i.forEach(function(e){var i=e.top;var n=e.left;"string"===typeof i&&(i=parseFloat(i,10));"string"===typeof n&&(n=parseFloat(n,10));t.top+=i;t.left+=n});return t}function R(t,e){"string"===typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width);"string"===typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height);return t}var H=function t(e){var i=e.split(" ");var n=T(i,2);var o=n[0];var s=n[1];return{top:o,left:s}};var z=H;var q=function(n){k(o,n);function o(t){var n=this;e(this,o);S(Object.getPrototypeOf(o.prototype),"constructor",this).call(this);this.position=this.position.bind(this);O.push(this);this.history=[];this.setOptions(t,false);i.modules.forEach(function(t){"undefined"!==typeof t.initialize&&t.initialize.call(n)});this.position()}t(o,[{key:"getClass",value:function t(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0];var i=this.options.classes;return"undefined"!==typeof i&&i[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function t(e){var i=this;var n=arguments.length<=1||void 0===arguments[1]||arguments[1];var o={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=f(o,e);var r=this.options;var a=r.element;var l=r.target;var c=r.targetModifier;this.element=a;this.target=l;this.targetModifier=c;if("viewport"===this.target){this.target=document.body;this.targetModifier="visible"}else if("scroll-handle"===this.target){this.target=document.body;this.targetModifier="scroll-handle"}["element","target"].forEach(function(t){if("undefined"===typeof i[t])throw new Error("Tether Error: Both element and target must be defined");"undefined"!==typeof i[t].jquery?i[t]=i[t][0]:"string"===typeof i[t]&&(i[t]=document.querySelector(i[t]))});g(this.element,this.getClass("element"));false===this.options.addTargetClasses||g(this.target,this.getClass("target"));if(!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=z(this.options.targetAttachment);this.attachment=z(this.options.attachment);this.offset=H(this.options.offset);this.targetOffset=H(this.options.targetOffset);"undefined"!==typeof this.scrollParents&&this.disable();"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=s(this.target);false===this.options.enabled||this.enable(n)}},{key:"getTargetBounds",value:function t(){if("undefined"===typeof this.targetModifier)return u(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var e=u(this.target);var i={height:e.height,width:e.width,top:e.top,left:e.left};i.height=Math.min(i.height,e.height-(pageYOffset-e.top));i.height=Math.min(i.height,e.height-(e.top+e.height-(pageYOffset+innerHeight)));i.height=Math.min(innerHeight,i.height);i.height-=2;i.width=Math.min(i.width,e.width-(pageXOffset-e.left));i.width=Math.min(i.width,e.width-(e.left+e.width-(pageXOffset+innerWidth)));i.width=Math.min(innerWidth,i.width);i.width-=2;i.top<pageYOffset&&(i.top=pageYOffset);i.left<pageXOffset&&(i.left=pageXOffset);return i}if("scroll-handle"===this.targetModifier){var e=void 0;var n=this.target;if(n===document.body){n=document.documentElement;e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}}else e=u(n);var o=getComputedStyle(n);var s=n.scrollWidth>n.clientWidth||[o.overflow,o.overflowX].indexOf("scroll")>=0||this.target!==document.body;var r=0;s&&(r=15);var a=e.height-parseFloat(o.borderTopWidth)-parseFloat(o.borderBottomWidth)-r;var i={width:15,height:.975*a*(a/n.scrollHeight),left:e.left+e.width-parseFloat(o.borderLeftWidth)-15};var l=0;a<408&&this.target===document.body&&(l=-11e-5*Math.pow(a,2)-.00727*a+22.58);this.target!==document.body&&(i.height=Math.max(i.height,24));var c=this.target.scrollTop/(n.scrollHeight-a);i.top=c*(a-i.height-l)+e.top+parseFloat(o.borderTopWidth);this.target===document.body&&(i.height=Math.max(i.height,24));return i}}},{key:"clearCache",value:function t(){this._cache={}}},{key:"cache",value:function t(e,i){"undefined"===typeof this._cache&&(this._cache={});"undefined"===typeof this._cache[e]&&(this._cache[e]=i.call(this));return this._cache[e]}},{key:"enable",value:function t(){var e=this;var i=arguments.length<=0||void 0===arguments[0]||arguments[0];false===this.options.addTargetClasses||g(this.target,this.getClass("enabled"));g(this.element,this.getClass("enabled"));this.enabled=true;this.scrollParents.forEach(function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)});i&&this.position()}},{key:"disable",value:function t(){var e=this;m(this.target,this.getClass("enabled"));m(this.element,this.getClass("enabled"));this.enabled=false;"undefined"!==typeof this.scrollParents&&this.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.position)})}},{key:"destroy",value:function t(){var e=this;this.disable();O.forEach(function(t,i){t===e&&O.splice(i,1)});0===O.length&&c()}},{key:"updateAttachClasses",value:function t(e,i){var n=this;e=e||this.attachment;i=i||this.targetAttachment;var o=["left","top","bottom","right","middle","center"];"undefined"!==typeof this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length);"undefined"===typeof this._addAttachClasses&&(this._addAttachClasses=[]);var s=this._addAttachClasses;e.top&&s.push(this.getClass("element-attached")+"-"+e.top);e.left&&s.push(this.getClass("element-attached")+"-"+e.left);i.top&&s.push(this.getClass("target-attached")+"-"+i.top);i.left&&s.push(this.getClass("target-attached")+"-"+i.left);var r=[];o.forEach(function(t){r.push(n.getClass("element-attached")+"-"+t);r.push(n.getClass("target-attached")+"-"+t)});C(function(){if(!("undefined"!==typeof n._addAttachClasses))return;b(n.element,n._addAttachClasses,r);false===n.options.addTargetClasses||b(n.target,n._addAttachClasses,r);delete n._addAttachClasses})}},{key:"position",value:function t(){var e=this;var n=arguments.length<=0||void 0===arguments[0]||arguments[0];if(!this.enabled)return;this.clearCache();var o=V(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,o);var s=this.cache("element-bounds",function(){return u(e.element)});var r=s.width;var a=s.height;if(0===r&&0===a&&"undefined"!==typeof this.lastSize){var l=this.lastSize;r=l.width;a=l.height}else this.lastSize={width:r,height:a};var c=this.cache("target-bounds",function(){return e.getTargetBounds()});var h=c;var f=R(M(this.attachment),{width:r,height:a});var m=R(M(o),h);var g=R(this.offset,{width:r,height:a});var v=R(this.targetOffset,h);f=F(f,g);m=F(m,v);var y=c.left+m.left-f.left;var w=c.top+m.top-f.top;for(var b=0;b<i.modules.length;++b){var _=i.modules;var C=_.position.call(this,{left:y,top:w,targetAttachment:o,targetPos:c,elementPos:s,offset:f,targetOffset:m,manualOffset:g,manualTargetOffset:v,scrollbarSize:k,attachment:this.attachment});if(false===C)return false;if("undefined"===typeof C||"object"!==typeof C)continue;w=C.top;y=C.left}var E={page:{top:w,left:y},viewport:{top:w-pageYOffset,bottom:pageYOffset-w-a+innerHeight,left:y-pageXOffset,right:pageXOffset-y-r+innerWidth}};var T=this.target.ownerDocument;var S=T.defaultView;var k=void 0;if(S.innerHeight>T.documentElement.clientHeight){k=this.cache("scrollbar-size",p);E.viewport.bottom-=k.height}if(S.innerWidth>T.documentElement.clientWidth){k=this.cache("scrollbar-size",p);E.viewport.right-=k.width}if(-1===["","static"].indexOf(T.body.style.position)||-1===["","static"].indexOf(T.body.parentElement.style.position)){E.page.bottom=T.body.scrollHeight-w-a;E.page.right=T.body.scrollWidth-y-r}"undefined"===typeof this.options.optimizations||false===this.options.optimizations.moveElement||"undefined"!==typeof this.targetModifier||function(){var t=e.cache("target-offsetparent",function(){return d(e.target)});var i=e.cache("target-offsetparent-bounds",function(){return u(t)});var n=getComputedStyle(t);var o=i;var s={};["Top","Left","Bottom","Right"].forEach(function(t){s[t.toLowerCase()]=parseFloat(n["border"+t+"Width"])});i.right=T.body.scrollWidth-i.left-o.width+s.right;i.bottom=T.body.scrollHeight-i.top-o.height+s.bottom;if(E.page.top>=i.top+s.top&&E.page.bottom>=i.bottom&&E.page.left>=i.left+s.left&&E.page.right>=i.right){var r=t.scrollTop;var a=t.scrollLeft;E.offset={top:E.page.top-i.top+r-s.top,left:E.page.left-i.left+a-s.left}}}();this.move(E);this.history.unshift(E);this.history.length>3&&this.history.pop();n&&x();return true}},{key:"move",value:function t(e){var i=this;if(!("undefined"!==typeof this.element.parentNode))return;var n={};for(var o in e){n[o]={};for(var s in e[o]){var r=false;for(var a=0;a<this.history.length;++a){var l=this.history[a];if("undefined"!==typeof l[o]&&!$(l[o],e[o])){r=true;break}}r||(n[o]=true)}}var c={top:"",left:"",right:"",bottom:""};var u=function t(e,n){var o="undefined"!==typeof i.options.optimizations;var s=o?i.options.optimizations.gpu:null;if(false!==s){var r=void 0,a=void 0;if(e.top){c.top=0;r=n.top}else{c.bottom=0;r=-n.bottom}if(e.left){c.left=0;a=n.left}else{c.right=0;a=-n.right}if(window.matchMedia){var l=window.matchMedia("only screen and (min-resolution: 1.3dppx)").matches||window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 1.3)").matches;if(!l){a=Math.round(a);r=Math.round(r)}}c[A]="translateX("+a+"px) translateY("+r+"px)";"msTransform"!==A&&(c[A]+=" translateZ(0)")}else{e.top?c.top=n.top+"px":c.bottom=n.bottom+"px";e.left?c.left=n.left+"px":c.right=n.right+"px"}};var h=false;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)){c.position="absolute";u(n.page,e.page)}else if((n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)){c.position="fixed";u(n.viewport,e.viewport)}else if("undefined"!==typeof n.offset&&n.offset.top&&n.offset.left)(function(){c.position="absolute";var t=i.cache("target-offsetparent",function(){return d(i.target)});d(i.element)!==t&&C(function(){i.element.parentNode.removeChild(i.element);t.appendChild(i.element)});u(n.offset,e.offset);h=true})();else{c.position="absolute";u({top:true,left:true},e.page)}if(!h)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{var p=function t(e){var i=e.ownerDocument;var n=i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement;return n===e};var m=true;var g=this.element.parentNode;while(g&&1===g.nodeType&&"BODY"!==g.tagName&&!p(g)){if("static"!==getComputedStyle(g).position){m=false;break}g=g.parentNode}if(!m){this.element.parentNode.removeChild(this.element);this.element.ownerDocument.body.appendChild(this.element)}}var v={};var y=false;for(var s in c){var w=c;var b=this.element.style;if(b!==w){y=true;v=w}}y&&C(function(){f(i.element.style,v);i.trigger("repositioned")})}}]);return o}(E);q.modules=[];i.position=D;var W=f(q,i);"use strict";var T=function(){function t(t,e){var i=[];var n=true;var o=false;var s=void 0;try{for(var r=t[Symbol.iterator](),a;!(n=(a=r.next()).done);n=true){i.push(a.value);if(e&&i.length===e)break}}catch(t){o=true;s=t}finally{try{!n&&r["return"]&&r["return"]()}finally{if(o)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var I=i.Utils;var u=I.getBounds;var f=I.extend;var b=I.updateClasses;var C=I.defer;var B=["left","top","right","bottom"];function U(t,e){"scrollParent"===e?e=t.scrollParents[0]:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]);e===document&&(e=e.documentElement);"undefined"!==typeof e.nodeType&&function(){var t=e;var i=u(e);var n=i;var o=getComputedStyle(e);e=[n.left,n.top,i.width+n.left,i.height+n.top];if(t.ownerDocument!==document){var s=t.ownerDocument.defaultView;e[0]+=s.pageXOffset;e[1]+=s.pageYOffset;e[2]+=s.pageXOffset;e[3]+=s.pageYOffset}B.forEach(function(t,i){t=t[0].toUpperCase()+t.substr(1);"Top"===t||"Left"===t?e+=parseFloat(o["border"+t+"Width"]):e-=parseFloat(o["border"+t+"Width"])})}();return e}i.modules.push({position:function t(e){var i=this;var n=e.top;var o=e.left;var s=e.targetAttachment;if(!this.options.constraints)return true;var r=this.cache("element-bounds",function(){return u(i.element)});var a=r.height;var l=r.width;if(0===l&&0===a&&"undefined"!==typeof this.lastSize){var c=this.lastSize;l=c.width;a=c.height}var d=this.cache("target-bounds",function(){return i.getTargetBounds()});var h=d.height;var p=d.width;var m=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass;var i=t.pinnedClass;e&&m.push(e);i&&m.push(i)});m.forEach(function(t){["left","top","right","bottom"].forEach(function(e){m.push(t+"-"+e)})});var g=[];var v=f({},s);var y=f({},this.attachment);this.options.constraints.forEach(function(t){var e=t.to;var r=t.attachment;var c=t.pin;"undefined"===typeof r&&(r="");var u=void 0,d=void 0;if(r.indexOf(" ")>=0){var f=r.split(" ");var m=T(f,2);d=m[0];u=m[1]}else u=d=r;var w=U(i,e);if("target"===d||"both"===d){if(n<w[1]&&"top"===v.top){n+=h;v.top="bottom"}if(n+a>w[3]&&"bottom"===v.top){n-=h;v.top="top"}}if("together"===d){if("top"===v.top)if("bottom"===y.top&&n<w[1]){n+=h;v.top="bottom";n+=a;y.top="top"}else if("top"===y.top&&n+a>w[3]&&n-(a-h)>=w[1]){n-=a-h;v.top="bottom";y.top="bottom"}if("bottom"===v.top)if("top"===y.top&&n+a>w[3]){n-=h;v.top="top";n-=a;y.top="bottom"}else if("bottom"===y.top&&n<w[1]&&n+(2*a-h)<=w[3]){n+=a-h;v.top="top";y.top="top"}if("middle"===v.top)if(n+a>w[3]&&"top"===y.top){n-=a;y.top="bottom"}else if(n<w[1]&&"bottom"===y.top){n+=a;y.top="top"}}if("target"===u||"both"===u){if(o<w[0]&&"left"===v.left){o+=p;v.left="right"}if(o+l>w[2]&&"right"===v.left){o-=p;v.left="left"}}if("together"===u)if(o<w[0]&&"left"===v.left){if("right"===y.left){o+=p;v.left="right";o+=l;y.left="left"}else if("left"===y.left){o+=p;v.left="right";o-=l;y.left="right"}}else if(o+l>w[2]&&"right"===v.left){if("left"===y.left){o-=p;v.left="left";o-=l;y.left="right"}else if("right"===y.left){o-=p;v.left="left";o+=l;y.left="left"}}else if("center"===v.left)if(o+l>w[2]&&"left"===y.left){o-=l;y.left="right"}else if(o<w[0]&&"right"===y.left){o+=l;y.left="left"}if("element"===d||"both"===d){if(n<w[1]&&"bottom"===y.top){n+=a;y.top="top"}if(n+a>w[3]&&"top"===y.top){n-=a;y.top="bottom"}}if("element"===u||"both"===u){if(o<w[0])if("right"===y.left){o+=l;y.left="left"}else if("center"===y.left){o+=l/2;y.left="left"}if(o+l>w[2])if("left"===y.left){o-=l;y.left="right"}else if("center"===y.left){o-=l/2;y.left="right"}}"string"===typeof c?c=c.split(",").map(function(t){return t.trim()}):true===c&&(c=["top","left","right","bottom"]);c=c||[];var b=[];var _=[];if(n<w[1])if(c.indexOf("top")>=0){n=w[1];b.push("top")}else _.push("top");if(n+a>w[3])if(c.indexOf("bottom")>=0){n=w[3]-a;b.push("bottom")}else _.push("bottom");if(o<w[0])if(c.indexOf("left")>=0){o=w[0];b.push("left")}else _.push("left");if(o+l>w[2])if(c.indexOf("right")>=0){o=w[2]-l;b.push("right")}else _.push("right");b.length&&function(){var t=void 0;t="undefined"!==typeof i.options.pinnedClass?i.options.pinnedClass:i.getClass("pinned");g.push(t);b.forEach(function(e){g.push(t+"-"+e)})}();_.length&&function(){var t=void 0;t="undefined"!==typeof i.options.outOfBoundsClass?i.options.outOfBoundsClass:i.getClass("out-of-bounds");g.push(t);_.forEach(function(e){g.push(t+"-"+e)})}();(b.indexOf("left")>=0||b.indexOf("right")>=0)&&(y.left=v.left=false);(b.indexOf("top")>=0||b.indexOf("bottom")>=0)&&(y.top=v.top=false);if(v.top!==s.top||v.left!==s.left||y.top!==i.attachment.top||y.left!==i.attachment.left){i.updateAttachClasses(y,v);i.trigger("update",{attachment:y,targetAttachment:v})}});C(function(){false===i.options.addTargetClasses||b(i.target,g,m);b(i.element,g,m)});return{top:n,left:o}}});"use strict";var I=i.Utils;var u=I.getBounds;var b=I.updateClasses;var C=I.defer;i.modules.push({position:function t(e){var i=this;var n=e.top;var o=e.left;var s=this.cache("element-bounds",function(){return u(i.element)});var r=s.height;var a=s.width;var l=this.getTargetBounds();var c=n+r;var d=o+a;var h=[];n<=l.bottom&&c>=l.top&&["left","right"].forEach(function(t){var e=l[t];e!==o&&e!==d||h.push(t)});o<=l.right&&d>=l.left&&["top","bottom"].forEach(function(t){var e=l[t];e!==n&&e!==c||h.push(t)});var p=[];var f=[];var m=["left","top","right","bottom"];p.push(this.getClass("abutted"));m.forEach(function(t){p.push(i.getClass("abutted")+"-"+t)});h.length&&f.push(this.getClass("abutted"));h.forEach(function(t){f.push(i.getClass("abutted")+"-"+t)});C(function(){false===i.options.addTargetClasses||b(i.target,f,p);b(i.element,f,p)});return true}});"use strict";var T=function(){function t(t,e){var i=[];var n=true;var o=false;var s=void 0;try{for(var r=t[Symbol.iterator](),a;!(n=(a=r.next()).done);n=true){i.push(a.value);if(e&&i.length===e)break}}catch(t){o=true;s=t}finally{try{!n&&r["return"]&&r["return"]()}finally{if(o)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();i.modules.push({position:function t(e){var i=e.top;var n=e.left;if(!this.options.shift)return;var o=this.options.shift;"function"===typeof this.options.shift&&(o=this.options.shift.call(this,{top:i,left:n}));var s=void 0,r=void 0;if("string"===typeof o){o=o.split(" ");o[1]=o[1]||o[0];var a=o;var l=T(a,2);s=l[0];r=l[1];s=parseFloat(s,10);r=parseFloat(r,10)}else{s=o.top;r=o.left}i+=s;n+=r;return{top:i,left:n}}});return W})},function(t,e){
/*!
 * Bootstrap v4.0.0-alpha.5 (https://getbootstrap.com)
 * Copyright 2011-2016 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(jQuery),+function(){function t(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function e(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e;n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),s=function(t){function e(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function i(t){return(t[0]||t).nodeType}function n(){return{bindType:a.end,delegateType:a.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function o(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in c)if(void 0!==t.style[e])return{end:c[e]};return!1}function s(e){var i=this,n=!1;return t(this).one(u.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||u.triggerTransitionEnd(i)},e),this}function r(){a=o(),t.fn.emulateTransitionEnd=s,u.supportsTransitionEnd()&&(t.event.special[u.TRANSITION_END]=n())}var a=!1,l=1e6,c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},u={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(Math.random()*l)}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function(t){new Function("bs","return bs")(t.offsetHeight)},triggerTransitionEnd:function(e){t(e).trigger(a.end)},supportsTransitionEnd:function(){return Boolean(a)},typeCheckConfig:function(t,n,o){for(var s in o)if(o.hasOwnProperty(s)){var r=o,a=n,l=void 0;if(l=a&&i(a)?"element":e(a),!new RegExp(r).test(l))throw new Error(t.toUpperCase()+': Option "'+s+'" provided type "'+l+'" but expected type "'+r+'".')}}};return r(),u}(jQuery),r=(function(t){var e="alert",n="4.0.0-alpha.5",r="bs.alert",a="."+r,l=".data-api",c=t.fn[e],u=150,d={DISMISS:'[data-dismiss="alert"]'},h={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+l},p={ALERT:"alert",FADE:"fade",IN:"in"},f=function(){function e(t){i(this,e),this._element=t}return e.prototype.close=function(t){t=t||this._element;var e=this._getRootElement(t),i=this._triggerCloseEvent(e);i.isDefaultPrevented()||this._removeElement(e)},e.prototype.dispose=function(){t.removeData(this._element,r),this._element=null},e.prototype._getRootElement=function(e){var i=s.getSelectorFromElement(e),n=!1;return i&&(n=t(i)[0]),n||(n=t(e).closest("."+p.ALERT)[0]),n},e.prototype._triggerCloseEvent=function(e){var i=t.Event(h.CLOSE);return t(e).trigger(i),i},e.prototype._removeElement=function(e){return t(e).removeClass(p.IN),s.supportsTransitionEnd()&&t(e).hasClass(p.FADE)?void t(e).one(s.TRANSITION_END,t.proxy(this._destroyElement,this,e)).emulateTransitionEnd(u):void this._destroyElement(e)},e.prototype._destroyElement=function(e){t(e).detach().trigger(h.CLOSED).remove()},e._jQueryInterface=function(i){return this.each(function(){var n=t(this),o=n.data(r);o||(o=new e(this),n.data(r,o)),"close"===i&&o(this)})},e._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(e,null,[{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(h.CLICK_DATA_API,d.DISMISS,f._handleDismiss(new f)),t.fn[e]=f._jQueryInterface,t.fn[e].Constructor=f,t.fn[e].noConflict=function(){return t.fn[e]=c,f._jQueryInterface},f}(jQuery),function(t){var e="button",n="4.0.0-alpha.5",s="bs.button",r="."+s,a=".data-api",l=t.fn[e],c={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},u={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},d={CLICK_DATA_API:"click"+r+a,FOCUS_BLUR_DATA_API:"focus"+r+a+" blur"+r+a},h=function(){function e(t){i(this,e),this._element=t}return e.prototype.toggle=function(){var e=!0,i=t(this._element).closest(u.DATA_TOGGLE)[0];if(i){var n=t(this._element).find(u.INPUT)[0];if(n){if("radio"===n.type)if(n.checked&&t(this._element).hasClass(c.ACTIVE))e=!1;else{var o=t(i).find(u.ACTIVE)[0];o&&t(o).removeClass(c.ACTIVE)}e&&(n.checked=!t(this._element).hasClass(c.ACTIVE),t(this._element).trigger("change")),n.focus()}}else this._element.setAttribute("aria-pressed",!t(this._element).hasClass(c.ACTIVE));e&&t(this._element).toggleClass(c.ACTIVE)},e.prototype.dispose=function(){t.removeData(this._element,s),this._element=null},e._jQueryInterface=function(i){return this.each(function(){var n=t(this).data(s);n||(n=new e(this),t(this).data(s,n)),"toggle"===i&&n()})},o(e,null,[{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(d.CLICK_DATA_API,u.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var i=e.target;t(i).hasClass(c.BUTTON)||(i=t(i).closest(u.BUTTON)),h._jQueryInterface.call(t(i),"toggle")}).on(d.FOCUS_BLUR_DATA_API,u.DATA_TOGGLE_CARROT,function(e){var i=t(e.target).closest(u.BUTTON)[0];t(i).toggleClass(c.FOCUS,/^focus(in)?$/.test(e.type))}),t.fn[e]=h._jQueryInterface,t.fn[e].Constructor=h,t.fn[e].noConflict=function(){return t.fn[e]=l,h._jQueryInterface},h}(jQuery),function(t){var e="carousel",r="4.0.0-alpha.5",a="bs.carousel",l="."+a,c=".data-api",u=t.fn[e],d=600,h=37,p=39,f={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},m={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},g={NEXT:"next",PREVIOUS:"prev"},v={SLIDE:"slide"+l,SLID:"slid"+l,KEYDOWN:"keydown"+l,MOUSEENTER:"mouseenter"+l,MOUSELEAVE:"mouseleave"+l,LOAD_DATA_API:"load"+l+c,CLICK_DATA_API:"click"+l+c},y={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"right",LEFT:"left",ITEM:"carousel-item"},w={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".next, .prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},b=function(){function c(e,n){i(this,c),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(n),this._element=t(e)[0],this._indicatorsElement=t(this._element).find(w.INDICATORS)[0],this._addEventListeners()}return c.prototype.next=function(){this._isSliding||this._slide(g.NEXT)},c.prototype.nextWhenVisible=function(){document.hidden||this.next()},c.prototype.prev=function(){this._isSliding||this._slide(g.PREVIOUS)},c.prototype.pause=function(e){e||(this._isPaused=!0),t(this._element).find(w.NEXT_PREV)[0]&&s.supportsTransitionEnd()&&(s.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},c.prototype.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval(t.proxy(document.visibilityState?this.nextWhenVisible:this.next,this),this._config.interval))},c.prototype.to=function(e){var i=this;this._activeElement=t(this._element).find(w.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(this._isSliding)return void t(this._element).one(v.SLID,function(){return i.to(e)});if(n===e)return this.pause(),void this.cycle();var o=e>n?g.NEXT:g.PREVIOUS;this._slide(o,this._items[e])}},c.prototype.dispose=function(){t(this._element).off(l),t.removeData(this._element,a),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},c.prototype._getConfig=function(i){return i=t.extend({},f,i),s.typeCheckConfig(e,i,m),i},c.prototype._addEventListeners=function(){this._config.keyboard&&t(this._element).on(v.KEYDOWN,t.proxy(this._keydown,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||t(this._element).on(v.MOUSEENTER,t.proxy(this.pause,this)).on(v.MOUSELEAVE,t.proxy(this.cycle,this))},c.prototype._keydown=function(t){if(t.preventDefault(),!/input|textarea/i.test(t.target.tagName))switch(t.which){case h:this.prev();break;case p:this.next();break;default:return}},c.prototype._getItemIndex=function(e){return this._items=t.makeArray(t(e).parent().find(w.ITEM)),this._items.indexOf(e)},c.prototype._getItemByDirection=function(t,e){var i=t===g.NEXT,n=t===g.PREVIOUS,o=this._getItemIndex(e),s=this._items.length-1,r=n&&0===o||i&&o===s;if(r&&!this._config.wrap)return e;var a=t===g.PREVIOUS?-1:1,l=(o+a)%this._items.length;return-1===l?this._items[this._items.length-1]:this._items[l]},c.prototype._triggerSlideEvent=function(e,i){var n=t.Event(v.SLIDE,{relatedTarget:e,direction:i});return t(this._element).trigger(n),n},c.prototype._setActiveIndicatorElement=function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(w.ACTIVE).removeClass(y.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(y.ACTIVE)}},c.prototype._slide=function(e,i){var n=this,o=t(this._element).find(w.ACTIVE_ITEM)[0],r=i||o&&this._getItemByDirection(e,o),a=Boolean(this._interval),l=e===g.NEXT?y.LEFT:y.RIGHT;if(r&&t(r).hasClass(y.ACTIVE))return void(this._isSliding=!1);var c=this._triggerSlideEvent(r,l);if(!c.isDefaultPrevented()&&o&&r){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(r);var u=t.Event(v.SLID,{relatedTarget:r,direction:l});s.supportsTransitionEnd()&&t(this._element).hasClass(y.SLIDE)?(t(r).addClass(e),s.reflow(r),t(o).addClass(l),t(r).addClass(l),t(o).one(s.TRANSITION_END,function(){t(r).removeClass(l).removeClass(e),t(r).addClass(y.ACTIVE),t(o).removeClass(y.ACTIVE).removeClass(e).removeClass(l),n._isSliding=!1,setTimeout(function(){return t(n._element).trigger(u)},0)}).emulateTransitionEnd(d)):(t(o).removeClass(y.ACTIVE),t(r).addClass(y.ACTIVE),this._isSliding=!1,t(this._element).trigger(u)),a&&this.cycle()}},c._jQueryInterface=function(e){return this.each(function(){var i=t(this).data(a),o=t.extend({},f,t(this).data());"object"===("undefined"==typeof e?"undefined":n(e))&&t.extend(o,e);var s="string"==typeof e?e:o.slide;if(i||(i=new c(this,o),t(this).data(a,i)),"number"==typeof e)i.to(e);else if("string"==typeof s){if(void 0===i)throw new Error('No method named "'+s+'"');i()}else o.interval&&(i.pause(),i.cycle())})},c._dataApiClickHandler=function(e){var i=s.getSelectorFromElement(this);if(i){var n=t(i)[0];if(n&&t(n).hasClass(y.CAROUSEL)){var o=t.extend({},t(n).data(),t(this).data()),r=this.getAttribute("data-slide-to");r&&(o.interval=!1),c._jQueryInterface.call(t(n),o),r&&t(n).data(a).to(r),e.preventDefault()}}},o(c,null,[{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return f}}]),c}();return t(document).on(v.CLICK_DATA_API,w.DATA_SLIDE,b._dataApiClickHandler),t(window).on(v.LOAD_DATA_API,function(){t(w.DATA_RIDE).each(function(){var e=t(this);b._jQueryInterface.call(e,e.data())})}),t.fn[e]=b._jQueryInterface,t.fn[e].Constructor=b,t.fn[e].noConflict=function(){return t.fn[e]=u,b._jQueryInterface},b}(jQuery),function(t){var e="collapse",r="4.0.0-alpha.5",a="bs.collapse",l="."+a,c=".data-api",u=t.fn[e],d=600,h={toggle:!0,parent:""},p={toggle:"boolean",parent:"string"},f={SHOW:"show"+l,SHOWN:"shown"+l,HIDE:"hide"+l,HIDDEN:"hidden"+l,CLICK_DATA_API:"click"+l+c},m={IN:"in",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},g={WIDTH:"width",HEIGHT:"height"},v={ACTIVES:".card > .in, .card > .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},y=function(){function l(e,n){i(this,l),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(n),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return l.prototype.toggle=function(){t(this._element).hasClass(m.IN)?this.hide():this.show()},l.prototype.show=function(){var e=this;if(!this._isTransitioning&&!t(this._element).hasClass(m.IN)){var i=void 0,n=void 0;if(this._parent&&(i=t.makeArray(t(v.ACTIVES)),i.length||(i=null)),!(i&&(n=t(i).data(a),n&&n._isTransitioning))){var o=t.Event(f.SHOW);if(t(this._element).trigger(o),!o.isDefaultPrevented()){i&&(l._jQueryInterface.call(t(i),"hide"),n||t(i).data(a,null));var r=this._getDimension();t(this._element).removeClass(m.COLLAPSE).addClass(m.COLLAPSING),this._element.style[r]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&t(this._triggerArray).removeClass(m.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var c=function(){t(e._element).removeClass(m.COLLAPSING).addClass(m.COLLAPSE).addClass(m.IN),e._element.style[r]="",e.setTransitioning(!1),t(e._element).trigger(f.SHOWN)};if(!s.supportsTransitionEnd())return void c();var u=r[0].toUpperCase()+r.slice(1),h="scroll"+u;t(this._element).one(s.TRANSITION_END,c).emulateTransitionEnd(d),this._element.style[r]=this._element[h]+"px"}}}},l.prototype.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(m.IN)){var i=t.Event(f.HIDE);if(t(this._element).trigger(i),!i.isDefaultPrevented()){var n=this._getDimension(),o=n===g.WIDTH?"offsetWidth":"offsetHeight";this._element.style[n]=this._element[o]+"px",s.reflow(this._element),t(this._element).addClass(m.COLLAPSING).removeClass(m.COLLAPSE).removeClass(m.IN),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&t(this._triggerArray).addClass(m.COLLAPSED).attr("aria-expanded",!1),this.setTransitioning(!0);var r=function(){e.setTransitioning(!1),t(e._element).removeClass(m.COLLAPSING).addClass(m.COLLAPSE).trigger(f.HIDDEN)};return this._element.style[n]="",s.supportsTransitionEnd()?void t(this._element).one(s.TRANSITION_END,r).emulateTransitionEnd(d):void r()}}},l.prototype.setTransitioning=function(t){this._isTransitioning=t},l.prototype.dispose=function(){t.removeData(this._element,a),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},l.prototype._getConfig=function(i){return i=t.extend({},h,i),i.toggle=Boolean(i.toggle),s.typeCheckConfig(e,i,p),i},l.prototype._getDimension=function(){var e=t(this._element).hasClass(g.WIDTH);return e?g.WIDTH:g.HEIGHT},l.prototype._getParent=function(){var e=this,i=t(this._config.parent)[0],n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(i).find(n).each(function(t,i){e._addAriaAndCollapsedClass(l._getTargetFromElement(i),)}),i},l.prototype._addAriaAndCollapsedClass=function(e,i){if(e){var n=t(e).hasClass(m.IN);e.setAttribute("aria-expanded",n),i.length&&t(i).toggleClass(m.COLLAPSED,!n).attr("aria-expanded",n)}},l._getTargetFromElement=function(e){var i=s.getSelectorFromElement(e);return i?t(i)[0]:null},l._jQueryInterface=function(e){return this.each(function(){var i=t(this),o=i.data(a),s=t.extend({},h,i.data(),"object"===("undefined"==typeof e?"undefined":n(e))&&e);if(!o&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),o||(o=new l(this,s),i.data(a,o)),"string"==typeof e){if(void 0===o[e])throw new Error('No method named "'+e+'"');o[e]()}})},o(l,null,[{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return h}}]),l}();return t(document).on(f.CLICK_DATA_API,v.DATA_TOGGLE,function(e){e.preventDefault();var i=y._getTargetFromElement(this),n=t(i).data(a),o=n?"toggle":t(this).data();y._jQueryInterface.call(t(i),o)}),t.fn[e]=y._jQueryInterface,t.fn[e].Constructor=y,t.fn[e].noConflict=function(){return t.fn[e]=u,y._jQueryInterface},y}(jQuery),function(t){var e="dropdown",n="4.0.0-alpha.5",r="bs.dropdown",a="."+r,l=".data-api",c=t.fn[e],u=27,d=38,h=40,p=3,f={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK:"click"+a,CLICK_DATA_API:"click"+a+l,KEYDOWN_DATA_API:"keydown"+a+l},m={BACKDROP:"dropdown-backdrop",DISABLED:"disabled",OPEN:"open"},g={BACKDROP:".dropdown-backdrop",DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",ROLE_MENU:'[role="menu"]',ROLE_LISTBOX:'[role="listbox"]',NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:'[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a'},v=function(){function e(t){i(this,e),this._element=t,this._addEventListeners()}return e.prototype.toggle=function(){if(this.disabled||t(this).hasClass(m.DISABLED))return!1;var i=e._getParentFromElement(this),n=t(i).hasClass(m.OPEN);if(e._clearMenus(),n)return!1;if("ontouchstart"in document.documentElement&&!t(i).closest(g.NAVBAR_NAV).length){var o=document.createElement("div");o.className=m.BACKDROP,t(o).insertBefore(this),t(o).on("click",e._clearMenus)}var s={relatedTarget:this},r=t.Event(f.SHOW,s);return t(i).trigger(r),!r.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),t(i).toggleClass(m.OPEN),t(i).trigger(t.Event(f.SHOWN,s)),!1)},e.prototype.dispose=function(){t.removeData(this._element,r),t(this._element).off(a),this._element=null},e.prototype._addEventListeners=function(){t(this._element).on(f.CLICK,this.toggle)},e._jQueryInterface=function(i){return this.each(function(){var n=t(this).data(r);if(n||t(this).data(r,n=new e(this)),"string"==typeof i){if(void 0===n)throw new Error('No method named "'+i+'"');n.call(this)}})},e._clearMenus=function(i){if(!i||i.which!==p){var n=t(g.BACKDROP)[0];n&&n.parentNode.removeChild(n);for(var o=t.makeArray(t(g.DATA_TOGGLE)),s=0;s<o.length;s++){var r=e._getParentFromElement(o),a={relatedTarget:o};if(t(r).hasClass(m.OPEN)&&!(i&&"click"===i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(r,i.target))){var l=t.Event(f.HIDE,a);t(r).trigger(l),l.isDefaultPrevented()||(o.setAttribute("aria-expanded","false"),t(r).removeClass(m.OPEN).trigger(t.Event(f.HIDDEN,a)))}}}},e._getParentFromElement=function(e){var i=void 0,n=s.getSelectorFromElement(e);return n&&(i=t(n)[0]),i||e.parentNode},e._dataApiKeydownHandler=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)&&(i.preventDefault(),i.stopPropagation(),!this.disabled&&!t(this).hasClass(m.DISABLED))){var n=e._getParentFromElement(this),o=t(n).hasClass(m.OPEN);if(!o&&i.which!==u||o&&i.which===u){if(i.which===u){var s=t(n).find(g.DATA_TOGGLE)[0];t(s).trigger("focus")}return void t(this).trigger("click")}var r=t.makeArray(t(g.VISIBLE_ITEMS));if(r=r.filter(function(t){return t.offsetWidth||t.offsetHeight}),r.length){var a=r.indexOf(i.target);i.which===d&&a>0&&a--,i.which===h&&a<r.length-1&&a++,a<0&&(a=0),r[a].focus()}}},o(e,null,[{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(f.KEYDOWN_DATA_API,g.DATA_TOGGLE,v._dataApiKeydownHandler).on(f.KEYDOWN_DATA_API,g.ROLE_MENU,v._dataApiKeydownHandler).on(f.KEYDOWN_DATA_API,g.ROLE_LISTBOX,v._dataApiKeydownHandler).on(f.CLICK_DATA_API,v._clearMenus).on(f.CLICK_DATA_API,g.DATA_TOGGLE,v.prototype.toggle).on(f.CLICK_DATA_API,g.FORM_CHILD,function(t){t.stopPropagation()}),t.fn[e]=v._jQueryInterface,t.fn[e].Constructor=v,t.fn[e].noConflict=function(){return t.fn[e]=c,v._jQueryInterface},v}(jQuery),function(t){var e="modal",r="4.0.0-alpha.5",a="bs.modal",l="."+a,c=".data-api",u=t.fn[e],d=300,h=150,p=27,f={backdrop:!0,keyboard:!0,focus:!0,show:!0},m={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},g={HIDE:"hide"+l,HIDDEN:"hidden"+l,SHOW:"show"+l,SHOWN:"shown"+l,FOCUSIN:"focusin"+l,RESIZE:"resize"+l,CLICK_DISMISS:"click.dismiss"+l,KEYDOWN_DISMISS:"keydown.dismiss"+l,MOUSEUP_DISMISS:"mouseup.dismiss"+l,MOUSEDOWN_DISMISS:"mousedown.dismiss"+l,CLICK_DATA_API:"click"+l+c},v={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",IN:"in"},y={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".navbar-fixed-top, .navbar-fixed-bottom, .is-fixed"},w=function(){function c(e,n){i(this,c),this._config=this._getConfig(n),this._element=e,this._dialog=t(e).find(y.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}return c.prototype.toggle=function(t){return this._isShown?this.hide():this.show(t)},c.prototype.show=function(e){var i=this,n=t.Event(g.SHOW,{relatedTarget:e});t(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),t(document.body).addClass(v.OPEN),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(g.CLICK_DISMISS,y.DATA_DISMISS,t.proxy(this.hide,this)),t(this._dialog).on(g.MOUSEDOWN_DISMISS,function(){t(i._element).one(g.MOUSEUP_DISMISS,function(e){t(e.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(t.proxy(this._showElement,this,e)))},c.prototype.hide=function(e){e&&e.preventDefault();var i=t.Event(g.HIDE);t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),t(document).off(g.FOCUSIN),t(this._element).removeClass(v.IN),t(this._element).off(g.CLICK_DISMISS),t(this._dialog).off(g.MOUSEDOWN_DISMISS),s.supportsTransitionEnd()&&t(this._element).hasClass(v.FADE)?t(this._element).one(s.TRANSITION_END,t.proxy(this._hideModal,this)).emulateTransitionEnd(d):this._hideModal())},c.prototype.dispose=function(){t.removeData(this._element,a),t(window).off(l),t(document).off(l),t(this._element).off(l),t(this._backdrop).off(l),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null},c.prototype._getConfig=function(i){return i=t.extend({},f,i),s.typeCheckConfig(e,i,m),i},c.prototype._showElement=function(e){var i=this,n=s.supportsTransitionEnd()&&t(this._element).hasClass(v.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&s.reflow(this._element),t(this._element).addClass(v.IN),this._config.focus&&this._enforceFocus();var o=t.Event(g.SHOWN,{relatedTarget:e}),r=function(){i._config.focus&&i._element.focus(),t(i._element).trigger(o)};n?t(this._dialog).one(s.TRANSITION_END,r).emulateTransitionEnd(d):r()},c.prototype._enforceFocus=function(){var e=this;t(document).off(g.FOCUSIN).on(g.FOCUSIN,function(i){document===i.target||e._element===i.target||t(e._element).has(i.target).length||e._element.focus()})},c.prototype._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(g.KEYDOWN_DISMISS,function(t){t.which===p&&e.hide()}):this._isShown||t(this._element).off(g.KEYDOWN_DISMISS)},c.prototype._setResizeEvent=function(){this._isShown?t(window).on(g.RESIZE,t.proxy(this._handleUpdate,this)):t(window).off(g.RESIZE)},c.prototype._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._showBackdrop(function(){t(document.body).removeClass(v.OPEN),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(g.HIDDEN)})},c.prototype._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},c.prototype._showBackdrop=function(e){var i=this,n=t(this._element).hasClass(v.FADE)?v.FADE:"";if(this._isShown&&this._config.backdrop){var o=s.supportsTransitionEnd()&&n;if(this._backdrop=document.createElement("div"),this._backdrop.className=v.BACKDROP,n&&t(this._backdrop).addClass(n),t(this._backdrop).appendTo(document.body),t(this._element).on(g.CLICK_DISMISS,function(t){return i._ignoreBackdropClick?void(i._ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"===i._config.backdrop?i._element.focus():i.hide()))}),o&&s.reflow(this._backdrop),t(this._backdrop).addClass(v.IN),!e)return;if(!o)return void e();t(this._backdrop).one(s.TRANSITION_END,e).emulateTransitionEnd(h)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(v.IN);var r=function(){i._removeBackdrop(),e&&e()};s.supportsTransitionEnd()&&t(this._element).hasClass(v.FADE)?t(this._backdrop).one(s.TRANSITION_END,r).emulateTransitionEnd(h):r()}else e&&e()},c.prototype._handleUpdate=function(){this._adjustDialog()},c.prototype._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},c.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},c.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},c.prototype._setScrollbar=function(){var e=parseInt(t(y.FIXED_CONTENT).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=e+this._scrollbarWidth+"px")},c.prototype._resetScrollbar=function(){document.body.style.paddingRight=this._originalBodyPadding},c.prototype._getScrollbarWidth=function(){var t=document.createElement("div");t.className=v.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},c._jQueryInterface=function(e,i){return this.each(function(){var o=t(this).data(a),s=t.extend({},c.Default,t(this).data(),"object"===("undefined"==typeof e?"undefined":n(e))&&e);if(o||(o=new c(this,s),t(this).data(a,o)),"string"==typeof e){if(void 0===o[e])throw new Error('No method named "'+e+'"');o[e](i)}else s.show&&o.show(i)})},o(c,null,[{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return f}}]),c}();return t(document).on(g.CLICK_DATA_API,y.DATA_TOGGLE,function(e){var i=this,n=void 0,o=s.getSelectorFromElement(this);o&&(n=t(o)[0]);var r=t(n).data(a)?"toggle":t.extend({},t(n).data(),t(this).data());"A"===this.tagName&&e.preventDefault();var l=t(n).one(g.SHOW,function(e){e.isDefaultPrevented()||l.one(g.HIDDEN,function(){t(i).is(":visible")&&i.focus()})});w._jQueryInterface.call(t(n),r,this)}),t.fn[e]=w._jQueryInterface,t.fn[e].Constructor=w,t.fn[e].noConflict=function(){return t.fn[e]=u,w._jQueryInterface},w}(jQuery),function(t){var e="scrollspy",r="4.0.0-alpha.5",a="bs.scrollspy",l="."+a,c=".data-api",u=t.fn[e],d={offset:10,method:"auto",target:""},h={offset:"number",method:"string",target:"(string|element)"},p={ACTIVATE:"activate"+l,SCROLL:"scroll"+l,LOAD_DATA_API:"load"+l+c},f={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",NAV_LINK:"nav-link",NAV:"nav",ACTIVE:"active"},m={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",LIST_ITEM:".list-item",LI:"li",LI_DROPDOWN:"li.dropdown",NAV_LINKS:".nav-link",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},g={OFFSET:"offset",POSITION:"position"},v=function(){function c(e,n){i(this,c),this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+m.NAV_LINKS+","+this._config.target+" "+m.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(p.SCROLL,t.proxy(this._process,this)),this.refresh(),this._process()}return c.prototype.refresh=function(){var e=this,i=this._scrollElement!==this._scrollElement.window?g.POSITION:g.OFFSET,n="auto"===this._config.method?i:this._config.method,o=n===g.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var r=t.makeArray(t(this._selector));r.map(function(e){var i=void 0,r=s.getSelectorFromElement(e);return r&&(i=t(r)[0]),i&&(i.offsetWidth||i.offsetHeight)?[t(i)[n]().top+o,r]:null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},c.prototype.dispose=function(){t.removeData(this._element,a),t(this._scrollElement).off(l),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},c.prototype._getConfig=function(i){if(i=t.extend({},d,i),"string"!=typeof i.target){var n=t(i.target).attr("id");n||(n=s.getUID(e),t(i.target).attr("id",n)),i.target="#"+n}return s.typeCheckConfig(e,i,h),i},c.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.scrollY:this._scrollElement.scrollTop},c.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},c.prototype._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._scrollElement.offsetHeight;if(this._scrollHeight!==e&&this.refresh(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}if(this._activeTarget&&t<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){var s=this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1]);s&&this._activate(this._targets[o])}},c.prototype._activate=function(e){this._activeTarget=e,this._clear();var i=this._selector.split(",");i=i.map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'});var n=t(i.join(","));n.hasClass(f.DROPDOWN_ITEM)?(n.closest(m.DROPDOWN).find(m.DROPDOWN_TOGGLE).addClass(f.ACTIVE),n.addClass(f.ACTIVE)):n.parents(m.LI).find(m.NAV_LINKS).addClass(f.ACTIVE),t(this._scrollElement).trigger(p.ACTIVATE,{relatedTarget:e})},c.prototype._clear=function(){t(this._selector).filter(m.ACTIVE).removeClass(f.ACTIVE)},c._jQueryInterface=function(e){return this.each(function(){var i=t(this).data(a),o="object"===("undefined"==typeof e?"undefined":n(e))&&e||null;if(i||(i=new c(this,o),t(this).data(a,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})},o(c,null,[{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return d}}]),c}();return t(window).on(p.LOAD_DATA_API,function(){for(var e=t.makeArray(t(m.DATA_SPY)),i=e.length;i--;){var n=t(e);v._jQueryInterface.call(n,n.data())}}),t.fn[e]=v._jQueryInterface,t.fn[e].Constructor=v,t.fn[e].noConflict=function(){return t.fn[e]=u,v._jQueryInterface},v}(jQuery),function(t){var e="tab",n="4.0.0-alpha.5",r="bs.tab",a="."+r,l=".data-api",c=t.fn[e],u=150,d={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK_DATA_API:"click"+a+l},h={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",FADE:"fade",IN:"in"},p={A:"a",LI:"li",DROPDOWN:".dropdown",UL:"ul:not(.dropdown-menu)",FADE_CHILD:"> .nav-item .fade, > .fade",ACTIVE:".active",ACTIVE_CHILD:"> .nav-item > .active, > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},f=function(){function e(t){i(this,e),this._element=t}return e.prototype.show=function(){var e=this;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!t(this._element).hasClass(h.ACTIVE)){var i=void 0,n=void 0,o=t(this._element).closest(p.UL)[0],r=s.getSelectorFromElement(this._element);o&&(n=t.makeArray(t(o).find(p.ACTIVE)),n=n[n.length-1]);var a=t.Event(d.HIDE,{relatedTarget:this._element}),l=t.Event(d.SHOW,{relatedTarget:n});if(n&&t(n).trigger(a),t(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(i=t(r)[0]),this._activate(this._element,o);var c=function(){var i=t.Event(d.HIDDEN,{relatedTarget:e._element}),o=t.Event(d.SHOWN,{relatedTarget:n});t(n).trigger(i),t(e._element).trigger(o)};i?this._activate(i,i.parentNode,c):c()}}},e.prototype.dispose=function(){t.removeClass(this._element,r),this._element=null},e.prototype._activate=function(e,i,n){var o=t(i).find(p.ACTIVE_CHILD)[0],r=n&&s.supportsTransitionEnd()&&(o&&t(o).hasClass(h.FADE)||Boolean(t(i).find(p.FADE_CHILD)[0])),a=t.proxy(this._transitionComplete,this,e,o,r,n);o&&r?t(o).one(s.TRANSITION_END,a).emulateTransitionEnd(u):a(),o&&t(o).removeClass(h.IN)},e.prototype._transitionComplete=function(e,i,n,o){if(i){t(i).removeClass(h.ACTIVE);var r=t(i).find(p.DROPDOWN_ACTIVE_CHILD)[0];r&&t(r).removeClass(h.ACTIVE),i.setAttribute("aria-expanded",!1)}if(t(e).addClass(h.ACTIVE),e.setAttribute("aria-expanded",!0),n?(s.reflow(e),t(e).addClass(h.IN)):t(e).removeClass(h.FADE),e.parentNode&&t(e.parentNode).hasClass(h.DROPDOWN_MENU)){var a=t(e).closest(p.DROPDOWN)[0];a&&t(a).find(p.DROPDOWN_TOGGLE).addClass(h.ACTIVE),e.setAttribute("aria-expanded",!0)}o&&o()},e._jQueryInterface=function(i){return this.each(function(){var n=t(this),o=n.data(r);if(o||(o=o=new e(this),n.data(r,o)),"string"==typeof i){if(void 0===o)throw new Error('No method named "'+i+'"');o()}})},o(e,null,[{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(d.CLICK_DATA_API,p.DATA_TOGGLE,function(e){e.preventDefault(),f._jQueryInterface.call(t(this),"show")}),t.fn[e]=f._jQueryInterface,t.fn[e].Constructor=f,t.fn[e].noConflict=function(){return t.fn[e]=c,f._jQueryInterface},f}(jQuery),function(t){if(void 0===window.Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var e="tooltip",r="4.0.0-alpha.5",a="bs.tooltip",l="."+a,c=t.fn[e],u=150,d="bs-tether",h={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[]},p={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array"},f={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},m={IN:"in",OUT:"out"},g={HIDE:"hide"+l,HIDDEN:"hidden"+l,SHOW:"show"+l,SHOWN:"shown"+l,INSERTED:"inserted"+l,CLICK:"click"+l,FOCUSIN:"focusin"+l,FOCUSOUT:"focusout"+l,MOUSEENTER:"mouseenter"+l,MOUSELEAVE:"mouseleave"+l},v={FADE:"fade",IN:"in"},y={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner"},w={element:!1,enabled:!1},b={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},_=function(){function c(t,e){i(this,c),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return c.prototype.enable=function(){this._isEnabled=!0},c.prototype.disable=function(){this._isEnabled=!1},c.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},c.prototype.toggle=function(e){if(e){var i=this.constructor.DATA_KEY,n=t(e.currentTarget).data(i);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(t(this.getTipElement()).hasClass(v.IN))return void this._leave(null,this);this._enter(null,this)}},c.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},c.prototype.show=function(){var e=this,i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var n=t.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!n)return;var o=this.getTipElement(),r=s.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&t(o).addClass(v.FADE);var a="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,l=this._getAttachment(a);t(o).data(this.constructor.DATA_KEY,this).appendTo(document.body),t(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:l,element:o,target:this.element,classes:w,classPrefix:d,offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),s.reflow(o),this._tether.position(),t(o).addClass(v.IN);var u=function(){var i=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),i===m.OUT&&e._leave(null,e)};if(s.supportsTransitionEnd()&&t(this.tip).hasClass(v.FADE))return void t(this.tip).one(s.TRANSITION_END,u).emulateTransitionEnd(c._TRANSITION_DURATION);u()}},c.prototype.hide=function(e){var i=this,n=this.getTipElement(),o=t.Event(this.constructor.Event.HIDE),r=function(){i._hoverState!==m.IN&&n.parentNode&&n.parentNode.removeChild(n),i.element.removeAttribute("aria-describedby"),t(i.element).trigger(i.constructor.Event.HIDDEN),i.cleanupTether(),e&&e()};t(this.element).trigger(o),o.isDefaultPrevented()||(t(n).removeClass(v.IN),s.supportsTransitionEnd()&&t(this.tip).hasClass(v.FADE)?t(n).one(s.TRANSITION_END,r).emulateTransitionEnd(u):r(),this._hoverState="")},c.prototype.isWithContent=function(){return Boolean(this.getTitle())},c.prototype.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0]},c.prototype.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(y.TOOLTIP_INNER),this.getTitle()),e.removeClass(v.FADE).removeClass(v.IN),this.cleanupTether()},c.prototype.setElementContent=function(e,i){var o=this.config.html;"object"===("undefined"==typeof i?"undefined":n(i))&&(i.nodeType||i.jquery)?o?t(i).parent().is(e)||e.empty().append(i):e.text(t(i).text()):e[o?"html":"text"](i)},c.prototype.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},c.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},c.prototype._getAttachment=function(t){return f[t.toUpperCase()]},c.prototype._setListeners=function(){var e=this,i=this.config.trigger.split(" ");i.forEach(function(i){if("click"===i)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,t.proxy(e.toggle,e));else if(i!==b.MANUAL){var n=i===b.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,o=i===b.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(n,e.config.selector,t.proxy(e._enter,e)).on(o,e.config.selector,t.proxy(e._leave,e))}}),this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},c.prototype._fixTitle=function(){var t=n(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},c.prototype._enter=function(e,i){var n=this.constructor.DATA_KEY;return i=i||t(e.currentTarget).data(n),i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),e&&(i._activeTrigger["focusin"===e.type?b.FOCUS:b.HOVER]=!0),t(i.getTipElement()).hasClass(v.IN)||i._hoverState===m.IN?void(i._hoverState=m.IN):(clearTimeout(i._timeout),i._hoverState=m.IN,i.config.delay&&i.config.delay.show?void(i._timeout=setTimeout(function(){i._hoverState===m.IN&&i.show()},i.config.delay.show)):void i.show())},c.prototype._leave=function(e,i){var n=this.constructor.DATA_KEY;if(i=i||t(e.currentTarget).data(n),i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),e&&(i._activeTrigger["focusout"===e.type?b.FOCUS:b.HOVER]=!1),!i._isWithActiveTrigger())return clearTimeout(i._timeout),i._hoverState=m.OUT,i.config.delay&&i.config.delay.hide?void(i._timeout=setTimeout(function(){i._hoverState===m.OUT&&i.hide()},i.config.delay.hide)):void i.hide()},c.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},c.prototype._getConfig=function(i){return i=t.extend({},this.constructor.Default,t(this.element).data(),i),i.delay&&"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),s.typeCheckConfig(e,i,this.constructor.DefaultType),i},c.prototype._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},c._jQueryInterface=function(e){return this.each(function(){var i=t(this).data(a),o="object"===("undefined"==typeof e?"undefined":n(e))?e:null;if((i||!/dispose|hide/.test(e))&&(i||(i=new c(this,o),t(this).data(a,i)),"string"==typeof e)){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})},o(c,null,[{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return a}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return l}},{key:"DefaultType",get:function(){return p}}]),c}();return t.fn[e]=_._jQueryInterface,t.fn[e].Constructor=_,t.fn[e].noConflict=function(){return t.fn[e]=c,_._jQueryInterface},_}(jQuery));(function(s){var a="popover",l="4.0.0-alpha.5",c="bs.popover",u="."+c,d=s.fn[a],h=s.extend({},r.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),p=s.extend({},r.DefaultType,{content:"(string|element|function)"}),f={FADE:"fade",IN:"in"},m={TITLE:".popover-title",CONTENT:".popover-content"},g={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,INSERTED:"inserted"+u,CLICK:"click"+u,FOCUSIN:"focusin"+u,FOCUSOUT:"focusout"+u,MOUSEENTER:"mouseenter"+u,MOUSELEAVE:"mouseleave"+u},v=function(r){function d(){return i(this,d),t(this,r.apply(this,arguments))}return e(d,r),d.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},d.prototype.getTipElement=function(){return this.tip=this.tip||s(this.config.template)[0]},d.prototype.setContent=function(){var t=s(this.getTipElement());this.setElementContent(t.find(m.TITLE),this.getTitle()),this.setElementContent(t.find(m.CONTENT),this._getContent()),t.removeClass(f.FADE).removeClass(f.IN),this.cleanupTether()},d.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},d._jQueryInterface=function(t){return this.each(function(){var e=s(this).data(c),i="object"===("undefined"==typeof t?"undefined":n(t))?t:null;if((e||!/destroy|hide/.test(t))&&(e||(e=new d(this,i),s(this).data(c,e)),"string"==typeof t)){if(void 0===e[t])throw new Error('No method named "'+t+'"');e[t]()}})},o(d,null,[{key:"VERSION",get:function(){return l}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return a}},{key:"DATA_KEY",get:function(){return c}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return u}},{key:"DefaultType",get:function(){return p}}]),d}(r);return s.fn[a]=v._jQueryInterface,s.fn[a].Constructor=v,s.fn[a].noConflict=function(){return s.fn[a]=d,v._jQueryInterface},v})(jQuery)}()},function(t,e){(function(t){"use strict";var e=0;function i(t,e){return t+".touchspin_"+e}function n(e,n){return t.map(e,function(t){return i(t,n)})}t.fn.TouchSpin=function(i){if("destroy"===i){this.each(function(){var e=t(this),i=e.data();t(document).off(n(["mouseup","touchend","touchcancel","mousemove","touchmove","scroll","scrollstart"],i.spinnerid).join(" "))});return}var o={min:0,max:100,initval:"",replacementval:"",step:1,decimals:0,stepinterval:100,forcestepdivisibility:"round",stepintervaldelay:500,verticalbuttons:false,verticalupclass:"glyphicon glyphicon-chevron-up",verticaldownclass:"glyphicon glyphicon-chevron-down",prefix:"",postfix:"",prefix_extraclass:"",postfix_extraclass:"",booster:true,boostat:10,maxboostedstep:false,mousewheel:true,buttondown_class:"btn btn-default",buttonup_class:"btn btn-default",buttondown_txt:"-",buttonup_txt:"+"};var s={min:"min",max:"max",initval:"init-val",replacementval:"replacement-val",step:"step",decimals:"decimals",stepinterval:"step-interval",verticalbuttons:"vertical-buttons",verticalupclass:"vertical-up-class",verticaldownclass:"vertical-down-class",forcestepdivisibility:"force-step-divisibility",stepintervaldelay:"step-interval-delay",prefix:"prefix",postfix:"postfix",prefix_extraclass:"prefix-extra-class",postfix_extraclass:"postfix-extra-class",booster:"booster",boostat:"boostat",maxboostedstep:"max-boosted-step",mousewheel:"mouse-wheel",buttondown_class:"button-down-class",buttonup_class:"button-up-class",buttondown_txt:"button-down-txt",buttonup_txt:"button-up-txt"};return this.each(function(){var r,a=t(this),l=a.data(),c,u,d,h,p,f,m,g=0,v=false;y();function y(){if(a.data("alreadyinitialized"))return;a.data("alreadyinitialized",true);e+=1;a.data("spinnerid",e);if(!a.is("input")){console.log("Must be an input.");return}_();w();D();E();k();I();$();A();u.input.css("display","block")}function w(){""!==r.initval&&""===a.val()&&a.val(r.initval)}function b(t){x(t);D();var e=u.input.val();if(""!==e){e=Number(u.input.val());u.input.val(e.toFixed(r.decimals))}}function _(){r=t.extend({},o,l,C(),i)}function C(){var e={};t.each(s,function(t,i){var n="bts-"+i;a.is("[data-"+n+"]")&&(e[t]=a.data(n))});return e}function x(e){r=t.extend({},r,e)}function E(){var t=a.val(),e=a.parent();""!==t&&(t=Number(t).toFixed(r.decimals));a.data("initvalue",t).val(t);a.addClass("form-control");e.hasClass("input-group")?T(e):S()}function T(e){e.addClass("bootstrap-touchspin");var i=a.prev(),n=a.next();var o,s,l='<span class="input-group-addon bootstrap-touchspin-prefix">'+r.prefix+"</span>",u='<span class="input-group-addon bootstrap-touchspin-postfix">'+r.postfix+"</span>";if(i.hasClass("input-group-btn")){o='<button class="'+r.buttondown_class+' bootstrap-touchspin-down" type="button">'+r.buttondown_txt+"</button>";i.append(o)}else{o='<span class="input-group-btn"><button class="'+r.buttondown_class+' bootstrap-touchspin-down" type="button">'+r.buttondown_txt+"</button></span>";t(o).insertBefore(a)}if(n.hasClass("input-group-btn")){s='<button class="'+r.buttonup_class+' bootstrap-touchspin-up" type="button">'+r.buttonup_txt+"</button>";n.prepend(s)}else{s='<span class="input-group-btn"><button class="'+r.buttonup_class+' bootstrap-touchspin-up" type="button">'+r.buttonup_txt+"</button></span>";t(s).insertAfter(a)}t(l).insertBefore(a);t(u).insertAfter(a);c=e}function S(){var e;e=r.verticalbuttons?'<div class="input-group bootstrap-touchspin"><span class="input-group-addon bootstrap-touchspin-prefix">'+r.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+r.postfix+'</span><span class="input-group-btn-vertical"><button class="'+r.buttondown_class+' bootstrap-touchspin-up" type="button"><i class="'+r.verticalupclass+'"></i></button><button class="'+r.buttonup_class+' bootstrap-touchspin-down" type="button"><i class="'+r.verticaldownclass+'"></i></button></span></div>':'<div class="input-group bootstrap-touchspin"><span class="input-group-btn"><button class="'+r.buttondown_class+' bootstrap-touchspin-down" type="button">'+r.buttondown_txt+'</button></span><span class="input-group-addon bootstrap-touchspin-prefix">'+r.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+r.postfix+'</span><span class="input-group-btn"><button class="'+r.buttonup_class+' bootstrap-touchspin-up" type="button">'+r.buttonup_txt+"</button></span></div>";c=t(e).insertBefore(a);t(".bootstrap-touchspin-prefix",c).after(a);a.hasClass("input-sm")?c.addClass("input-group-sm"):a.hasClass("input-lg")&&c.addClass("input-group-lg")}function k(){u={down:t(".bootstrap-touchspin-down",c),up:t(".bootstrap-touchspin-up",c),input:t("input",c),prefix:t(".bootstrap-touchspin-prefix",c).addClass(r.prefix_extraclass),postfix:t(".bootstrap-touchspin-postfix",c).addClass(r.postfix_extraclass)}}function I(){""===r.prefix&&u.prefix.hide();""===r.postfix&&u.postfix.hide()}function $(){a.on("keydown",function(t){var e=t.keyCode||t.which;if(38===e){if("up"!==v){N();V()}t.preventDefault()}else if(40===e){if("down"!==v){L();j()}t.preventDefault()}});a.on("keyup",function(t){var e=t.keyCode||t.which;38===e?M():40===e&&M()});a.on("blur",function(){D()});u.down.on("keydown",function(t){var e=t.keyCode||t.which;if(32===e||13===e){if("down"!==v){L();j()}t.preventDefault()}});u.down.on("keyup",function(t){var e=t.keyCode||t.which;32!==e&&13!==e||M()});u.up.on("keydown",function(t){var e=t.keyCode||t.which;if(32===e||13===e){if("up"!==v){N();V()}t.preventDefault()}});u.up.on("keyup",function(t){var e=t.keyCode||t.which;32!==e&&13!==e||M()});u.down.on("mousedown.touchspin",function(t){u.down.off("touchstart.touchspin");if(a.is(":disabled"))return;L();j();t.preventDefault();t.stopPropagation()});u.down.on("touchstart.touchspin",function(t){u.down.off("mousedown.touchspin");if(a.is(":disabled"))return;L();j();t.preventDefault();t.stopPropagation()});u.up.on("mousedown.touchspin",function(t){u.up.off("touchstart.touchspin");if(a.is(":disabled"))return;N();V();t.preventDefault();t.stopPropagation()});u.up.on("touchstart.touchspin",function(t){u.up.off("mousedown.touchspin");if(a.is(":disabled"))return;N();V();t.preventDefault();t.stopPropagation()});u.up.on("mouseout touchleave touchend touchcancel",function(t){if(!v)return;t.stopPropagation();M()});u.down.on("mouseout touchleave touchend touchcancel",function(t){if(!v)return;t.stopPropagation();M()});u.down.on("mousemove touchmove",function(t){if(!v)return;t.stopPropagation();t.preventDefault()});u.up.on("mousemove touchmove",function(t){if(!v)return;t.stopPropagation();t.preventDefault()});t(document).on(n(["mouseup","touchend","touchcancel"],e).join(" "),function(t){if(!v)return;t.preventDefault();M()});t(document).on(n(["mousemove","touchmove","scroll","scrollstart"],e).join(" "),function(t){if(!v)return;t.preventDefault();M()});a.on("mousewheel DOMMouseScroll",function(t){if(!r.mousewheel||!a.is(":focus"))return;var e=t.originalEvent.wheelDelta||-t.originalEvent.deltaY||-t.originalEvent.detail;t.stopPropagation();t.preventDefault();e<0?L():N()})}function A(){a.on("touchspin.uponce",function(){M();N()});a.on("touchspin.downonce",function(){M();L()});a.on("touchspin.startupspin",function(){V()});a.on("touchspin.startdownspin",function(){j()});a.on("touchspin.stopspin",function(){M()});a.on("touchspin.updatesettings",function(t,e){b(e)})}function O(t){switch(r.forcestepdivisibility){case"round":return(Math.round(t/r.step)*r.step).toFixed(r.decimals);case"floor":return(Math.floor(t/r.step)*r.step).toFixed(r.decimals);case"ceil":return(Math.ceil(t/r.step)*r.step).toFixed(r.decimals);default:return t}}function D(){var t,e,i;t=a.val();if(""===t){if(""!==r.replacementval){a.val(r.replacementval);a.trigger("change")}return}if(r.decimals>0&&"."===t)return;e=parseFloat(t);isNaN(e)&&(e=""!==r.replacementval?r.replacementval:0);i=e;e.toString()!==t&&(i=e);e<r.min&&(i=r.min);e>r.max&&(i=r.max);i=O(i);if(Number(t).toString()!==i.toString()){a.val(i);a.trigger("change")}}function P(){if(r.booster){var t=Math.pow(2,Math.floor(g/r.boostat))*r.step;if(r.maxboostedstep&&t>r.maxboostedstep){t=r.maxboostedstep;d=Math.round(d/t)*t}return Math.max(r.step,t)}return r.step}function N(){D();d=parseFloat(u.input.val());isNaN(d)&&(d=0);var t=d,e=P();d+=e;if(d>r.max){d=r.max;a.trigger("touchspin.on.max");M()}u.input.val(Number(d).toFixed(r.decimals));t!==d&&a.trigger("change")}function L(){D();d=parseFloat(u.input.val());isNaN(d)&&(d=0);var t=d,e=P();d-=e;if(d<r.min){d=r.min;a.trigger("touchspin.on.min");M()}u.input.val(d.toFixed(r.decimals));t!==d&&a.trigger("change")}function j(){M();g=0;v="down";a.trigger("touchspin.on.startspin");a.trigger("touchspin.on.startdownspin");f=setTimeout(function(){h=setInterval(function(){g++;L()},r.stepinterval)},r.stepintervaldelay)}function V(){M();g=0;v="up";a.trigger("touchspin.on.startspin");a.trigger("touchspin.on.startupspin");m=setTimeout(function(){p=setInterval(function(){g++;N()},r.stepinterval)},r.stepintervaldelay)}function M(){clearTimeout(f);clearTimeout(m);clearInterval(h);clearInterval(p);switch(v){case"up":a.trigger("touchspin.on.stopupspin");a.trigger("touchspin.on.stopspin");break;case"down":a.trigger("touchspin.on.stopdownspin");a.trigger("touchspin.on.stopspin");break}g=0;v=false}})}})(jQuery)},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);var s=i(1);var r=i.n(s);r.a.responsive=r.a.responsive||{};r.a.responsive.current_width=window.innerWidth;r.a.responsive.min_width=768;r.a.responsive.mobile=r.a.responsive.current_width<r.a.responsive.min_width;function a(t,e){var i=e.children().detach();e.empty().append(t.children().detach());t.append(i)}function l(){r.a.responsive.mobile?o()("*[id^='_desktop_']").each(function(t,e){var i=o()("#"+e.id.replace("_desktop_","_mobile_"));i.length&&a(o()(e),i)}):o()("*[id^='_mobile_']").each(function(t,e){var i=o()("#"+e.id.replace("_mobile_","_desktop_"));i.length&&a(o()(e),i)});r.a.emit("responsive update",{mobile:r.a.responsive.mobile})}o()(window).on("resize",function(){var t=r.a.responsive.current_width;var e=r.a.responsive.min_width;var i=window.innerWidth;var n=t>=e&&i<e||t<e&&i>=e;r.a.responsive.current_width=i;r.a.responsive.mobile=r.a.responsive.current_width<r.a.responsive.min_width;n&&l()});o()(document).ready(function(){r.a.responsive.mobile&&l()})},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);var s=i(1);var r=i.n(s);function a(){0!==o()(".js-cancel-address").length&&o()(".checkout-step:not(.js-current-step) .step-title").addClass("not-allowed");o()(".js-terms a").on("click",t=>{t.preventDefault();var e=o()(t.target).attr("href");if(e){e+="?content_only=1";o.a.get(e,t=>{o()("#modal").find(".js-modal-content").html(o()(t).find(".page-cms").contents())}).fail(t=>{r.a.emit("handleError",{eventType:"clickTerms",resp:t})})}o()("#modal").modal("show")});o()(".js-gift-checkbox").on("click",t=>{o()("#gift").collapse("toggle")})}o()(document).ready(()=>{1===o()("body#checkout").length&&a();r.a.on("updatedDeliveryForm",t=>{if("undefined"===typeof t.deliveryOption||0===t.deliveryOption.length)return;o()(".carrier-extra-content").hide();t.deliveryOption.next(".carrier-extra-content").slideDown()})})},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);function s(){o()("#order-return-form table thead input[type=checkbox]").on("click",function(){var t=o()(this).prop("checked");o()("#order-return-form table tbody input[type=checkbox]").each(function(e,i){o()(i).prop("checked",t)})})}function r(){o()("body#order-detail")&&s()}o()(document).ready(r)},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);var s=i(1);var r=i.n(s);var a=i(2);var l=i.n(a);var c=i(3);o()(document).ready(()=>{r.a.on("clickQuickView",function(e){let i={action:"quickview",id_product:e.dataset.idProduct,id_product_attribute:e.dataset.idProductAttribute};o.a.post(r.a.urls.pages.product,i,null,"json").then(function(e){o()("body").append(e.quickview_html);let i=o()(`#quickview-modal-${e.product.id}-${e.product.id_product_attribute}`);i.modal("show");t(i);i.on("hidden.bs.modal",function(){i.remove()})}).fail(t=>{r.a.emit("handleError",{eventType:"clickQuickView",resp:t})})});var t=t=>{const i=4;var n=o()(".js-arrows");var s=t.find(".js-qv-product-images");o()(".js-thumb").on("click",t=>{o()(".js-thumb").hasClass("selected")&&o()(".js-thumb").removeClass("selected");o()(t.currentTarget).addClass("selected");o()(".js-qv-product-cover").attr("src",o()(t.target).data("image-large-src"))});s.find("li").length<=i?n.hide():n.on("click",t=>{if(o()(t.target).hasClass("arrow-up")&&o()(".js-qv-product-images").position().top<0){e("up");o()(".arrow-down").css("opacity","1")}else if(o()(t.target).hasClass("arrow-down")&&s.position().top+s.height()>o()(".js-qv-mask").height()){e("down");o()(".arrow-up").css("opacity","1")}});t.find("#quantity_wanted").TouchSpin({verticalbuttons:true,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:1,max:1e6})};var e=t=>{const e=20;var i=o()(".js-qv-product-images");var n=o()(".js-qv-product-images li img").height()+e;var s=i.position().top;i.velocity({translateY:"up"===t?s+n:s-n},function(){i.position().top>=0?o()(".arrow-up").css("opacity",".2"):i.position().top+i.height()<=o()(".js-qv-mask").height()&&o()(".arrow-down").css("opacity",".2")})};o()("body").on("click","#search_filter_toggler",function(){o()("#search_filters_wrapper").removeClass("hidden-sm-down");o()("#content-wrapper").addClass("hidden-sm-down");o()("#footer").addClass("hidden-sm-down")});o()("#search_filter_controls .clear").on("click",function(){o()("#search_filters_wrapper").addClass("hidden-sm-down");o()("#content-wrapper").removeClass("hidden-sm-down");o()("#footer").removeClass("hidden-sm-down")});o()("#search_filter_controls .ok").on("click",function(){o()("#search_filters_wrapper").addClass("hidden-sm-down");o()("#content-wrapper").removeClass("hidden-sm-down");o()("#footer").removeClass("hidden-sm-down")});const i=function(t){if(void 0!==t.target.dataset.searchUrl)return t.target.dataset.searchUrl;if(void 0===o()(t.target).parent()[0].dataset.searchUrl)throw new Error("Can not parse search URL");return o()(t.target).parent()[0].dataset.searchUrl};o()("body").on("change","#search_filters input[data-search-url]",function(t){r.a.emit("updateFacets",i(t))});o()("body").on("click",".js-search-filters-clear-all",function(t){r.a.emit("updateFacets",i(t))});o()("body").on("click",".js-search-link",function(t){t.preventDefault();r.a.emit("updateFacets",o()(t.target).closest("a").get(0).href)});o()("body").on("change","#search_filters select",function(t){const e=o()(t.target).closest("form");r.a.emit("updateFacets","?"+e.serialize())});r.a.on("updateProductList",t=>{u(t)})});function u(t){o()("#search_filters").replaceWith(t.rendered_facets);o()("#js-active-search-filters").replaceWith(t.rendered_active_filters);o()("#js-product-list-top").replaceWith(t.rendered_products_top);o()("#js-product-list").replaceWith(t.rendered_products);o()("#js-product-list-bottom").replaceWith(t.rendered_products_bottom);let e=new c["a"];e.init()}},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);o()(document).ready(function(){n();i();t();e();o()("body").on("click",".js-change-attr",function(t,e){if("undefined"===typeof e||"updatedProductQuantity"!=e.eventType){s("in");setTimeout(function(){s("out");Pace.stop();o()(".js-page-progress-bar").removeClass("js-page-progress-bar")},800)}});prestashop.on("updatedProduct",function(n){i();t();s("out");if(n&&n.product_minimal_quantity){const t=parseInt(n.product_minimal_quantity,10);const e="#quantity_wanted";let i=o()(e);i.trigger("touchspin.updatesettings",{min:t})}e();o()(o()(".tabs .nav-link.active").attr("href")).addClass("active").removeClass("fade");o()(".js-product-images-modal").replaceWith(n.product_images_modal)});function t(){o()(".js-thumb").on("click",t=>{o()(".selected").removeClass("selected");o()(t.target).addClass("selected")})}function e(){if(o()("#main .js-qv-product-images li").length>2){o()("#main .js-qv-mask").addClass("scroll");o()(".scroll-box-arrows").addClass("scroll");o()("#main .js-qv-mask").scrollbox({direction:"h",distance:"auto",autoPlay:false,infiniteLoop:false,onMouseOverPause:false});o()(".scroll-box-arrows .left").click(function(){o()("#main .js-qv-mask").trigger("backward")});o()(".scroll-box-arrows .right").click(function(){o()("#main .js-qv-mask").trigger("forward")})}else{o()("#main .js-qv-mask").removeClass("scroll");o()(".scroll-box-arrows").removeClass("scroll")}}function i(){o()(".js-file-input").on("change",t=>{let e,i;(e=o()(t.currentTarget)[0])&&(i=e.files[0])&&o()(e).prev().text(i.name)})}function n(){let t=o()("#quantity_wanted");t.TouchSpin({verticalbuttons:true,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:parseInt(t.attr("min"),10),max:1e6});var e=t.val();t.on("keyup change",function(t){const i=o()(this).val();if(i!==e){e=i;let n=o()(".product-refresh");o()(t.currentTarget).trigger("touchspin.stopspin");n.trigger("click",{eventType:"updatedProductQuantity"})}t.preventDefault();return false})}});function s(t){"in"==t?o()(".js-product-refresh-loading").fadeIn():o()(".js-product-refresh-loading").fadeOut()}},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);var s=i(1);var r=i.n(s);r.a.cart=r.a.cart||{};r.a.cart.active_inputs=null;var a='input[name="product-quantity-spin"]';function l(){o.a.each(o()(a),function(t,e){o()(e).TouchSpin({verticalbuttons:true,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin js-increase-product-quantity",buttonup_class:"btn btn-touchspin js-touchspin js-decrease-product-quantity",min:parseInt(o()(e).attr("min"),10),max:1e6})})}o()(document).ready(()=>{let t=".js-cart-line-product-quantity";let e=[];r.a.on("updateCart",()=>{o()(".quickview").modal("hide")});r.a.on("updatedCart",()=>{l()});l();let i=o()("body");function n(t){return"on.startupspin"===t||"on.startdownspin"===t}function s(t){return"on.startupspin"===t}function c(e){var i=e.parents(".bootstrap-touchspin").find(t);return i.is(":focus")?null:i}function u(t){let e=t.split("-");let i;let n;let o="";for(i=0;i<e.length;i++){n=e;0!==i&&(n=n.substring(0,1).toUpperCase()+n.substring(1));o+=n}return o}function d(t,e){if(!n(e))return{url:t.attr("href"),type:u(t.data("link-action"))};let i=c(t);if(!i)return;let o={};o=s(e)?{url:i.data("up-url"),type:"increaseProductQuantity"}:{url:i.data("down-url"),type:"decreaseProductQuantity"};return o}let h=()=>{var t;while(e.length>0){t=e.pop();t.abort()}};var p=t=>{return o()(t.parents(".bootstrap-touchspin").find("input"))};var f=t=>{t.preventDefault();let i=o()(t.currentTarget);let n=t.currentTarget.dataset;let s=d(i,t.namespace);let a={ajax:"1",action:"update"};if("undefined"===typeof s)return;h();o.a.ajax({url:s.url,method:"POST",data:a,dataType:"json",beforeSend:function(t){e.push(t)}}).then(function(t){var e=p(i);e.val(t.quantity);r.a.emit("updateCart",{reason:n})}).fail(t=>{r.a.emit("handleError",{eventType:"updateProductInCart",resp:t,cartAction:s.type})})};i.on("click",'[data-link-action="delete-from-cart"], [data-link-action="remove-voucher"]',f);i.on("touchspin.on.startdownspin",a,f);i.on("touchspin.on.startupspin",a,f);function m(t,i,n){h();return o.a.ajax({url:t,method:"POST",data:i,dataType:"json",beforeSend:function(t){e.push(t)}}).then(function(t){n.val(t.quantity);var e;e=n&&n.dataset?n.dataset:t;r.a.emit("updateCart",{reason:e})}).fail(t=>{r.a.emit("handleError",{eventType:"updateProductQuantityInCart",resp:t})})}function g(t){return{ajax:"1",qty:Math.abs(t),action:"update",op:v(t)}}function v(t){return t>0?"up":"down"}function y(t){let e=o()(t.currentTarget);let i=e.data("update-url");let n=e.attr("value");let s=e.val();if(s!=parseInt(s)||s<0||isNaN(s)){e.val(n);return}let r=s-n;if(0==r)return;var a=g(r);m(i,a,e)}i.on("focusout",t,t=>{y(t)});i.on("keyup",t,t=>{13==t.keyCode&&y(t)});i.on("click",".js-discount .code",t=>{t.stopPropagation();var e=o()(t.currentTarget);var i=o()("[name=discount_name]");i.val(e.text());return false})})},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);class s{init(){this.parentFocus();this.togglePasswordVisibility()}parentFocus(){o()(".js-child-focus").focus(function(){o()(this).closest(".js-parent-focus").addClass("focus")});o()(".js-child-focus").focusout(function(){o()(this).closest(".js-parent-focus").removeClass("focus")})}togglePasswordVisibility(){o()('button[data-action="show-password"]').on("click",function(){var t=o()(this).closest(".input-group").children("input.js-visible-password");if("password"===t.attr("type")){t.attr("type","text");o()(this).text(o()(this).data("textHide"))}else{t.attr("type","password");o()(this).text(o()(this).data("textShow"))}})}}e["a"]=s},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);var s=i(2);var r=i.n(s);class a{init(){const t=5;const e=10;let i=o()(".js-modal-arrows");let n=o()(".js-modal-product-images");let s=o()(".on-sale");o()("body").on("click",".js-modal-thumb",t=>{o()(".js-modal-thumb").hasClass("selected")&&o()(".js-modal-thumb").removeClass("selected");o()(t.currentTarget).addClass("selected");o()(".js-modal-product-cover").attr("src",o()(t.target).data("image-large-src"));o()(".js-modal-product-cover").attr("title",o()(t.target).attr("title"));o()(".js-modal-product-cover").attr("alt",o()(t.target).attr("alt"))}).on("click","aside#thumbnails",t=>{"thumbnails"==t.target.id&&o()("#product-modal").modal("hide")});s.length&&o()("#product").length&&o()(".new").css("top",s.height()+e);o()(".js-modal-product-images li").length<=t?i.css("opacity",".2"):i.on("click",t=>{if(o()(t.target).hasClass("arrow-up")&&n.position().top<0){this.move("up");o()(".js-modal-arrow-down").css("opacity","1")}else if(o()(t.target).hasClass("arrow-down")&&n.position().top+n.height()>o()(".js-modal-mask").height()){this.move("down");o()(".js-modal-arrow-up").css("opacity","1")}})}move(t){const e=10;var i=o()(".js-modal-product-images");var n=o()(".js-modal-product-images li img").height()+e;var s=i.position().top;i.velocity({translateY:"up"===t?s+n:s-n},function(){i.position().top>=0?o()(".js-modal-arrow-up").css("opacity",".2"):i.position().top+i.height()<=o()(".js-modal-mask").height()&&o()(".js-modal-arrow-down").css("opacity",".2")})}}e["a"]=a},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);var s=i(4);class r extends s["a"]{init(){let t;let e=this;this.el.find("li").hover(e=>{if(this.el.parent().hasClass("mobile"))return;if(t!==o()(e.currentTarget).attr("id")){0===o()(e.target).data("depth")&&o()(`#${t} .js-sub-menu`).hide();t=o()(e.currentTarget).attr("id")}t&&0===o()(e.target).data("depth")&&o()(`#${t} .js-sub-menu`).show().css({top:o()(`#${t}`).height()+o()(`#${t}`).position().top})});o()("#menu-icon").on("click",function(){o()("#mobile_top_menu_wrapper").toggle();e.toggleMobileMenu()});o()(".js-top-menu").mouseleave(()=>{if(this.el.parent().hasClass("mobile"))return;o()(`#${t} .js-sub-menu`).hide()});this.el.on("click",t=>{if(this.el.parent().hasClass("mobile"))return;t.stopPropagation()});prestashop.on("responsive update",function(t){o()(".js-sub-menu").removeAttr("style");e.toggleMobileMenu()});super.init()}toggleMobileMenu(){if(o()("#mobile_top_menu_wrapper").is(":visible")){o()("#notifications").hide();o()("#wrapper").hide();o()("#footer").hide()}else{o()("#notifications").show();o()("#wrapper").show();o()("#footer").show()}}}e["a"]=r},function(t,e,i){"use strict";var n="object"===typeof Reflect?Reflect:null;var o=n&&"function"===typeof n.apply?n.apply:function t(e,i,n){return Function.prototype.apply.call(e,i,n)};var s;s=n&&"function"===typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function t(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function t(e){return Object.getOwnPropertyNames(e)};function r(t){console&&console.warn&&console.warn(t)}var a=Number.isNaN||function t(e){return e!==e};function l(){l.init.call(this)}t.exports=l;l.EventEmitter=l;l.prototype._events=void 0;l.prototype._eventsCount=0;l.prototype._maxListeners=void 0;var c=10;Object.defineProperty(l,"defaultMaxListeners",{enumerable:true,get:function(){return c},set:function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}});l.init=function(){if(void 0===this._events||this._events===Object.getPrototypeOf(this)._events){this._events=Object.create(null);this._eventsCount=0}this._maxListeners=this._maxListeners||void 0};l.prototype.setMaxListeners=function t(e){if("number"!==typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");this._maxListeners=e;return this};function u(t){if(void 0===t._maxListeners)return l.defaultMaxListeners;return t._maxListeners}l.prototype.getMaxListeners=function t(){return u(this)};l.prototype.emit=function t(e){var i=[];for(var n=1;n<arguments.length;n++)i.push(arguments[n]);var s="error"===e;var r=this._events;if(void 0!==r)s=s&&void 0===r.error;else if(!s)return false;if(s){var a;i.length>0&&(a=i[0]);if(a instanceof Error)throw a;var l=new Error("Unhandled error."+(a?" ("+a.message+")":""));l.context=a;throw l}var c=r[e];if(void 0===c)return false;if("function"===typeof c)o(c,this,i);else{var u=c.length;var d=g(c,u);for(var n=0;n<u;++n)o(d[n],this,i)}return true};function d(t,e,i,n){var o;var s;var a;if("function"!==typeof i)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof i);s=t._events;if(void 0===s){s=t._events=Object.create(null);t._eventsCount=0}else{if(void 0!==s.newListener){t.emit("newListener",e,i.listener?i.listener:i);s=t._events}a=s[e]}if(void 0===a){a=s[e]=i;++t._eventsCount}else{"function"===typeof a?a=s[e]=n?[i,a]:[a,i]:n?a.unshift(i):a.push(i);o=u(t);if(o>0&&a.length>o&&!a.warned){a.warned=true;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning";l.emitter=t;l.type=e;l.count=a.length;r(l)}}return t}l.prototype.addListener=function t(e,i){return d(this,e,i,false)};l.prototype.on=l.prototype.addListener;l.prototype.prependListener=function t(e,i){return d(this,e,i,true)};function h(){var t=[];for(var e=0;e<arguments.length;e++)t.push(arguments[e]);if(!this.fired){this.target.removeListener(this.type,this.wrapFn);this.fired=true;o(this.listener,this.target,t)}}function p(t,e,i){var n={fired:false,wrapFn:void 0,target:t,type:e,listener:i};var o=h.bind(n);o.listener=i;n.wrapFn=o;return o}l.prototype.once=function t(e,i){if("function"!==typeof i)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof i);this.on(e,p(this,e,i));return this};l.prototype.prependOnceListener=function t(e,i){if("function"!==typeof i)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof i);this.prependListener(e,p(this,e,i));return this};l.prototype.removeListener=function t(e,i){var n,o,s,r,a;if("function"!==typeof i)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof i);o=this._events;if(void 0===o)return this;n=o[e];if(void 0===n)return this;if(n===i||n.listener===i)if(0===--this._eventsCount)this._events=Object.create(null);else{delete o[e];o.removeListener&&this.emit("removeListener",e,n.listener||i)}else if("function"!==typeof n){s=-1;for(r=n.length-1;r>=0;r--)if(n[r]===i||n[r].listener===i){a=n[r].listener;s=r;break}if(s<0)return this;0===s?n.shift():v(n,s);1===n.length&&(o[e]=n[0]);void 0!==o.removeListener&&this.emit("removeListener",e,a||i)}return this};l.prototype.off=l.prototype.removeListener;l.prototype.removeAllListeners=function t(e){var i,n,o;n=this._events;if(void 0===n)return this;if(void 0===n.removeListener){if(0===arguments.length){this._events=Object.create(null);this._eventsCount=0}else void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]);return this}if(0===arguments.length){var s=Object.keys(n);var r;for(o=0;o<s.length;++o){r=s[o];if("removeListener"===r)continue;this.removeAllListeners(r)}this.removeAllListeners("removeListener");this._events=Object.create(null);this._eventsCount=0;return this}i=n[e];if("function"===typeof i)this.removeListener(e,i);else if(void 0!==i)for(o=i.length-1;o>=0;o--)this.removeListener(e,i[o]);return this};function f(t,e,i){var n=t._events;if(void 0===n)return[];var o=n[e];if(void 0===o)return[];if("function"===typeof o)return i?[o.listener||o]:[o];return i?y(o):g(o,o.length)}l.prototype.listeners=function t(e){return f(this,e,true)};l.prototype.rawListeners=function t(e){return f(this,e,false)};l.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):m.call(t,e)};l.prototype.listenerCount=m;function m(t){var e=this._events;if(void 0!==e){var i=e[t];if("function"===typeof i)return 1;if(void 0!==i)return i.length}return 0}l.prototype.eventNames=function t(){return this._eventsCount>0?s(this._events):[]};function g(t,e){var i=new Array(e);for(var n=0;n<e;++n)i[n]=t[n];return i}function v(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function y(t){var e=new Array(t.length);for(var i=0;i<e.length;++i)e=t.listener||t;return e}},function(t,e){(function(t){var e=0;var i=function(e,i){this.options=i;this.$elementFilestyle=[];this.$element=t(e)};i.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(t){if(true===t){if(!this.options.disabled){this.$element.attr("disabled","true");this.$elementFilestyle.find("label").attr("disabled","true");this.options.disabled=true}}else{if(false!==t)return this.options.disabled;if(this.options.disabled){this.$element.removeAttr("disabled");this.$elementFilestyle.find("label").removeAttr("disabled");this.options.disabled=false}}},buttonBefore:function(t){if(true===t){if(!this.options.buttonBefore){this.options.buttonBefore=true;if(this.options.input){this.$elementFilestyle.remove();this.constructor();this.pushNameFiles()}}}else{if(false!==t)return this.options.buttonBefore;if(this.options.buttonBefore){this.options.buttonBefore=false;if(this.options.input){this.$elementFilestyle.remove();this.constructor();this.pushNameFiles()}}}},icon:function(t){if(true===t){if(!this.options.icon){this.options.icon=true;this.$elementFilestyle.find("label").prepend(this.htmlIcon())}}else{if(false!==t)return this.options.icon;if(this.options.icon){this.options.icon=false;this.$elementFilestyle.find(".icon-span-filestyle").remove()}}},input:function(t){if(true===t){if(!this.options.input){this.options.input=true;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(false!==t)return this.options.input;if(this.options.input){this.options.input=false;this.$elementFilestyle.find(":text").remove();var e=this.pushNameFiles();e.length>0&&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(t){if(void 0===t)return this.options.size;var e=this.$elementFilestyle.find("label"),i=this.$elementFilestyle.find("input");e.removeClass("btn-lg btn-sm");i.removeClass("input-lg input-sm");if("nr"!=t){e.addClass("btn-"+t);i.addClass("input-"+t)}},placeholder:function(t){if(void 0===t)return this.options.placeholder;this.options.placeholder=t;this.$elementFilestyle.find("input").attr("placeholder",t)},buttonText:function(t){if(void 0===t)return this.options.buttonText;this.options.buttonText=t;this.$elementFilestyle.find("label .buttonText").html(this.options.buttonText)},buttonName:function(t){if(void 0===t)return this.options.buttonName;this.options.buttonName=t;this.$elementFilestyle.find("label").attr({class:"btn "+this.options.buttonName})},iconName:function(t){if(void 0===t)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 t="",e=[];void 0===this.$element[0].files?e[0]={name:this.$element[0]&&this.$element[0].value}:e=this.$element[0].files;for(var i=0;i<e.length;i++)t+=e.name.split("\\").pop()+", ";""!==t?this.$elementFilestyle.find(":text").val(t.replace(/\, $/g,"")):this.$elementFilestyle.find(":text").val("");return e},constructor:function(){var i=this,n="",o=i.$element.attr("id"),s=[],r="",a;if(""===o||!o){o="filestyle-"+e;i.$element.attr({id:o});e++}r='<span class="group-span-filestyle '+(i.options.input?"input-group-btn":"")+'"><label for="'+o+'" class="btn '+i.options.buttonName+" "+("nr"==i.options.size?"":"btn-"+i.options.size)+'" '+(i.options.disabled?'disabled="true"':"")+">"+i.htmlIcon()+'<span class="buttonText">'+i.options.buttonText+"</span></label></span>";n=i.options.buttonBefore?r+i.htmlInput():i.htmlInput()+r;i.$elementFilestyle=t('<div class="bootstrap-filestyle input-group">'+n+"</div>");i.$elementFilestyle.find(".group-span-filestyle").attr("tabindex","0").keypress(function(t){if(13===t.keyCode||32===t.charCode){i.$elementFilestyle.find("label").click();return false}});i.$element.css({position:"absolute",clip:"rect(0px 0px 0px 0px)"}).attr("tabindex","-1").after(i.$elementFilestyle);i.options.disabled&&i.$element.attr("disabled","true");i.$element.change(function(){var t=i.pushNameFiles();false==i.options.input&&i.options.badge?0==i.$elementFilestyle.find(".badge").length?i.$elementFilestyle.find("label").append(' <span class="badge">'+t.length+"</span>"):0==t.length?i.$elementFilestyle.find(".badge").remove():i.$elementFilestyle.find(".badge").html(t.length):i.$elementFilestyle.find(".badge").remove()});window.navigator.userAgent.search(/firefox/i)>-1&&i.$elementFilestyle.find("label").click(function(){i.$element.click();return false})}};var n=t.fn.filestyle;t.fn.filestyle=function(e,n){var o="",s=this.each(function(){if("file"===t(this).attr("type")){var s=t(this),r=s.data("filestyle"),a=t.extend({},t.fn.filestyle.defaults,e,"object"===typeof e&&e);if(!r){s.data("filestyle",r=new i(this,a));r.constructor()}"string"===typeof e&&(o=r[e](n))}});return void 0!==typeof o?o:s};t.fn.filestyle.defaults={buttonText:"Choose file",iconName:"glyphicon glyphicon-folder-open",buttonName:"btn-default",size:"nr",input:true,badge:true,icon:true,buttonBefore:false,disabled:false,placeholder:""};t.fn.filestyle.noConflict=function(){t.fn.filestyle=n;return this};t(function(){t(".filestyle").each(function(){var e=t(this),i={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(i)})})})(window.jQuery)},function(t,e){(function(t){t.fn.scrollbox=function(e){var i={linear:false,startDelay:2,delay:3,step:5,speed:32,switchItems:1,direction:"vertical",distance:"auto",autoPlay:true,onMouseOverPause:true,paused:false,queue:null,listElement:"ul",listItemElement:"li",infiniteLoop:true,switchAmount:0,afterForward:null,afterBackward:null,triggerStackable:false};e=t.extend(i,e);e.scrollOffset="vertical"===e.direction?"scrollTop":"scrollLeft";e.queue&&(e.queue=t("#"+e.queue));return this.each(function(){var i=t(this),n,o=null,s=null,r=false,a,l,c,u,d,h,p,f,m=0,g=0;if(e.onMouseOverPause){i.bind("mouseover",function(){r=true});i.bind("mouseout",function(){r=false})}n=i.children(e.listElement+":first-child");false===e.infiniteLoop&&0===e.switchAmount&&(e.switchAmount=n.children().length);d=function(){if(r)return;var l,u,d,h,p;l=n.children(e.listItemElement+":first-child");h="auto"!==e.distance?e.distance:"vertical"===e.direction?l.outerHeight(true):l.outerWidth(true);if(e.linear)d=Math.min(i[0][e.scrollOffset]+e.step,h);else{p=Math.max(3,parseInt(.3*(h-i[0][e.scrollOffset]),10));d=Math.min(i[0][e.scrollOffset]+p,h)}i[0][e.scrollOffset]=d;if(d>=h){for(u=0;u<e.switchItems;u++){if(e.queue&&e.queue.find(e.listItemElement).length>0){n.append(e.queue.find(e.listItemElement)[0]);n.children(e.listItemElement+":first-child").remove()}else n.append(n.children(e.listItemElement+":first-child"));++m}i[0][e.scrollOffset]=0;clearInterval(o);o=null;t.isFunction(e.afterForward)&&e.afterForward.call(i,{switchCount:m,currentFirstChild:n.children(e.listItemElement+":first-child")});if(e.triggerStackable&&0!==g){a();return}if(false===e.infiniteLoop&&m>=e.switchAmount)return;e.autoPlay&&(s=setTimeout(c,1e3*e.delay))}};h=function(){if(r)return;var l,u,d,h,p;if(0===i[0][e.scrollOffset]){for(u=0;u<e.switchItems;u++)n.children(e.listItemElement+":last-child").insertBefore(n.children(e.listItemElement+":first-child"));l=n.children(e.listItemElement+":first-child");h="auto"!==e.distance?e.distance:"vertical"===e.direction?l.height():l.width();i[0][e.scrollOffset]=h}if(e.linear)d=Math.max(i[0][e.scrollOffset]-e.step,0);else{p=Math.max(3,parseInt(.3*i[0][e.scrollOffset],10));d=Math.max(i[0][e.scrollOffset]-p,0)}i[0][e.scrollOffset]=d;if(0===d){--m;clearInterval(o);o=null;t.isFunction(e.afterBackward)&&e.afterBackward.call(i,{switchCount:m,currentFirstChild:n.children(e.listItemElement+":first-child")});if(e.triggerStackable&&0!==g){a();return}e.autoPlay&&(s=setTimeout(c,1e3*e.delay))}};a=function(){if(0===g)return;if(g>0){g--;s=setTimeout(c,0)}else{g++;s=setTimeout(l,0)}};c=function(){clearInterval(o);o=setInterval(d,e.speed)};l=function(){clearInterval(o);o=setInterval(h,e.speed)};p=function(){e.autoPlay=true;r=false;clearInterval(o);o=setInterval(d,e.speed)};f=function(){r=true};u=function(t){e.delay=t||e.delay;clearTimeout(s);e.autoPlay&&(s=setTimeout(c,1e3*e.delay))};e.autoPlay&&(s=setTimeout(c,1e3*e.startDelay));i.bind("resetClock",function(t){u(t)});i.bind("forward",function(){if(e.triggerStackable)null!==o?g++:c();else{clearTimeout(s);c()}});i.bind("backward",function(){if(e.triggerStackable)null!==o?g--:l();else{clearTimeout(s);l()}});i.bind("pauseHover",function(){f()});i.bind("forwardHover",function(){p()});i.bind("speedUp",function(t,i){"undefined"===i&&(i=Math.max(1,parseInt(e.speed/2,10)));e.speed=i});i.bind("speedDown",function(t,i){"undefined"===i&&(i=2*e.speed);e.speed=i});i.bind("updateConfig",function(i,n){e=t.extend(e,n)})})}})(jQuery)},function(t,e){!function(t,e,i,n){var o,s,r,a,l,c,u,d,h,p;function f(e,i){for(var n in e.owlCarousel={name:"Owl Carousel",author:"Bartosz Wojciechowski",version:"2.0.0-beta.2.1"},this.options=t.extend({},o,i),this._options=t.extend({},o,this.options),this.itemData=t.extend({},s),this.dom=t.extend({},r),this.width=t.extend({},a),this.num=t.extend({},l),this.pos=t.extend({},c),this.drag=t.extend({},u),this.speed=t.extend({},d),this.state=t.extend({},h),this.e=t.extend({},p),this.plugins={},this.suppressedEvents={},this.dom.el=e,this.dom.$el=t(e),f.Plugins)this.plugins[n]=new f.Plugins[n](this);this.init()}function m(t){var e,n,o=i.createElement("div"),s=t;for(e in s)if(n=s[e],void 0!==o.style[n])return o=null,[n,e];return[!1]}s={index:!(o={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"}),indexAbs:!1,posLeft:!1,clone:!1,active:!1,loaded:!1,lazyLoad:!1,current:!1,width:!1,center:!1,page:!1,hasVideo:!1,playVideo:!1},r={el:null,$el:null,stage:null,$stage:null,oStage:null,$oStage:null,$items:null,$oItems:null,$cItems:null,$content:null},h={isTouch:!(d={onDragEnd:300,css2speed:0}),isScrolling:!(u={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null}),isSwiping:!(c={start:0,max:0,maxValue:0,prev:0,current:0,currentAbs:0,stage:0,items:[],lsCurrent:0}),direction:!(l={items:0,oItems:0,cItems:0,active:0,merged:[]}),inMotion:!(a={el:0,stage:0,item:0,prevWindow:0,cloneLast:0})},p={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null},f.Plugins={},f.prototype.init=function(){var t,e,i;if((this.trigger("initialize"),this.dom.$el.hasClass(this.options.baseClass)||this.dom.$el.addClass(this.options.baseClass),this.dom.$el.hasClass(this.options.themeClass)||this.dom.$el.addClass(this.options.themeClass),this.options.rtl&&this.dom.$el.addClass("owl-rtl"),this.browserSupport(),this.sortOptions(),this.setResponsiveOptions(),this.options.autoWidth&&!0!==this.state.imagesLoaded)&&(t=this.dom.$el.find("img"),e=this.options.nestedItemSelector?"."+this.options.nestedItemSelector:n,i=this.dom.$el.children(e).width(),t.length&&i<=0))return this.preloadAutoWidthImages(t),!1;this.width.prevWindow=this.windowWidth(),this.createStage(),this.fetchContent(),this.eventsCall(),this.internalEvents(),this.dom.$el.addClass("owl-loading"),this.refresh(!0),this.dom.$el.removeClass("owl-loading").addClass("owl-loaded"),this.trigger("initialized"),this.addTriggerableEvents()},f.prototype.sortOptions=function(){var t,e,i,n,o=[];for(e in t=this.options.responsive,this.responsiveSorted={},t)o.push(e);for(o=o.sort(function(t,e){return t-e}),i=0;i<o.length;i++)n=o,this.responsiveSorted[n]=t[n]},f.prototype.setResponsiveOptions=function(){if(!1===this.options.responsive)return!1;var t,e,i,n,o;for(n in t=this.windowWidth(),resOpt=this.options.responsive,this._options)"responsive"!==n&&(this.options[n]=this._options[n]);for(e in this.responsiveSorted)if(e<=t)for(i in o=e,this.responsiveSorted[o])this.options=this.responsiveSorted[o];this.num.breakpoint=o,this.options.responsiveClass&&this.dom.$el.attr("class",function(t,e){return e.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+o)},f.prototype.optionsLogic=function(){this.dom.$el.toggleClass("owl-center",this.options.center),this.options.loop&&this.num.oItems<this.options.items&&(this.options.loop=!1),this.options.autoWidth&&(this.options.stagePadding=!1,this.options.merge=!1)},f.prototype.createStage=function(){var e=i.createElement("div"),n=i.createElement(this.options.stageElement);e.className="owl-stage-outer",n.className="owl-stage",e.appendChild(n),this.dom.el.appendChild(e),this.dom.oStage=e,this.dom.$oStage=t(e),this.dom.stage=n,this.dom.$stage=t(n),n=e=null},f.prototype.createItemContainer=function(){var e=i.createElement(this.options.itemElement);return e.className=this.options.itemClass,t(e)},f.prototype.fetchContent=function(e){e?this.dom.$content=e instanceof jQuery?e:t(e):this.options.nestedItemSelector?this.dom.$content=this.dom.$el.find("."+this.options.nestedItemSelector).not(".owl-stage-outer"):this.dom.$content=this.dom.$el.children().not(".owl-stage-outer"),this.num.oItems=this.dom.$content.length,0!==this.num.oItems&&this.initStructure()},f.prototype.initStructure=function(){this.createNormalStructure()},f.prototype.createNormalStructure=function(){var t,e;for(t=0;t<this.num.oItems;t++)e=this.createItemContainer(),this.initializeItemContainer(e,this.dom.$content[t]),this.dom.$stage.append(e);this.dom.$content=null},f.prototype.createCustomStructure=function(t){var e,i;for(e=0;e<t;e++)i=this.createItemContainer(),this.createItemContainerData(i),this.dom.$stage.append(i)},f.prototype.initializeItemContainer=function(t,e){this.trigger("change",{property:{name:"item",value:t}}),this.createItemContainerData(t),t.append(e),this.trigger("changed",{property:{name:"item",value:t}})},f.prototype.createItemContainerData=function(e,i){var n=t.extend({},this.itemData);i&&t.extend(n,i.data("owl-item")),e.data("owl-item",n)},f.prototype.cloneItemContainer=function(t){var e=t.clone(!0,!0).addClass("cloned");return this.createItemContainerData(e,e),e.data("owl-item").clone=!0,e},f.prototype.updateLocalContent=function(){var e;for(this.dom.$oItems=this.dom.$stage.find("."+this.options.itemClass).filter(function(){return!1===t(this).data("owl-item").clone}),this.num.oItems=this.dom.$oItems.length,e=0;e<this.num.oItems;e++)this.dom.$oItems.eq(e).data("owl-item").index=e},f.prototype.loopClone=function(){if(!this.options.loop||this.num.oItems<this.options.items)return!1;var e,i,n,o=this.options.items,s=this.num.oItems-1;for(this.options.stagePadding&&1===this.options.items&&(o+=1),this.num.cItems=2*o,n=0;n<o;n++)e=this.cloneItemContainer(this.dom.$oItems.eq(n)),i=this.cloneItemContainer(this.dom.$oItems.eq(s-n)),this.dom.$stage.append(e),this.dom.$stage.prepend(i);this.dom.$cItems=this.dom.$stage.find("."+this.options.itemClass).filter(function(){return!0===t(this).data("owl-item").clone})},f.prototype.reClone=function(){null!==this.dom.$cItems&&(this.dom.$cItems.remove(),this.dom.$cItems=null,this.num.cItems=0),this.options.loop&&this.loopClone()},f.prototype.calculate=function(){var t,e,i,n,o,s,r,a=0,l=0;for(this.width.el=this.dom.$el.width()-2*this.options.stagePadding,this.width.view=this.dom.$el.width(),i=this.width.el-this.options.margin*(1===this.options.items?0:this.options.items-1),this.width.el=this.width.el+this.options.margin,this.width.item=(i/this.options.items+this.options.margin).toFixed(3),this.dom.$items=this.dom.$stage.find(".owl-item"),this.num.items=this.dom.$items.length,this.options.autoWidth&&this.dom.$items.css("width",""),this.pos.items=[],this.num.merged=[],n=this.options.rtl?this.options.center?-this.width.el/2:0:this.options.center?this.width.el/2:0,t=this.width.mergeStage=0;t<this.num.items;t++)this.options.merge?(r=this.dom.$items.eq(t).find("[data-merge]").attr("data-merge")||1,this.options.mergeFit&&r>this.options.items&&(r=this.options.items),this.num.merged.push(parseInt(r)),this.width.mergeStage+=this.width.item*this.num.merged[t]):this.num.merged.push(1),s=this.width.item*this.num.merged[t],this.options.autoWidth&&(s=this.dom.$items.eq(t).width()+this.options.margin,this.options.rtl?this.dom.$items[t].style.marginLeft=this.options.margin+"px":this.dom.$items[t].style.marginRight=this.options.margin+"px"),this.pos.items.push(n),this.dom.$items.eq(t).data("owl-item").posLeft=a,this.dom.$items.eq(t).data("owl-item").width=s,this.options.rtl?(n+=s,a+=s):(n-=s,a-=s),l-=Math.abs(s),this.options.center&&(this.pos.items[t]=this.options.rtl?this.pos.items[t]+s/2:this.pos.items[t]-s/2);for(this.options.autoWidth?this.width.stage=this.options.center?Math.abs(l):Math.abs(n):this.width.stage=Math.abs(l),o=this.num.oItems+this.num.cItems,e=0;e<o;e++)this.dom.$items.eq(e).data("owl-item").indexAbs=e;this.setMinMax(),this.setSizes()},f.prototype.setMinMax=function(){var t,e,i;if(e=this.dom.$oItems.eq(0).data("owl-item").indexAbs,this.pos.min=0,this.pos.minValue=this.pos.items[e],this.options.loop||(this.pos.max=this.num.oItems-1),this.options.loop&&(this.pos.max=this.num.oItems+this.options.items),this.options.loop||this.options.center||(this.pos.max=this.num.oItems-this.options.items),this.options.loop&&this.options.center&&(this.pos.max=this.num.oItems+this.options.items),this.pos.maxValue=this.pos.items[this.pos.max],!this.options.loop&&!this.options.center&&this.options.autoWidth||this.options.merge&&!this.options.center){for(i=this.options.rtl?1:-1,t=0;t<this.pos.items.length;t++)this.pos.items[t]*i<this.width.stage-this.width.el&&(this.pos.max=t+1);this.pos.maxValue=this.options.rtl?this.width.stage-this.width.el:-(this.width.stage-this.width.el),this.pos.items[this.pos.max]=this.pos.maxValue}this.options.center?this.pos.loop=this.pos.items[0]-this.pos.items[this.num.oItems]:this.pos.loop=-this.pos.items[this.num.oItems],this.num.oItems<this.options.items&&!this.options.center&&(this.pos.max=0,this.pos.maxValue=this.pos.items[0])},f.prototype.setSizes=function(){!1!==this.options.stagePadding&&(this.dom.oStage.style.paddingLeft=this.options.stagePadding+"px",this.dom.oStage.style.paddingRight=this.options.stagePadding+"px"),this.options.rtl?e.setTimeout(t.proxy(function(){this.dom.stage.style.width=this.width.stage+"px"},this),0):this.dom.stage.style.width=this.width.stage+"px";for(var i=0;i<this.num.items;i++)this.options.autoWidth||(this.dom.$items.style.width=this.width.item-this.options.margin+"px"),this.options.rtl?this.dom.$items.style.marginLeft=this.options.margin+"px":this.dom.$items.style.marginRight=this.options.margin+"px",1===this.num.merged||this.options.autoWidth||(this.dom.$items.style.width=this.width.item*this.num.merged-this.options.margin+"px");this.width.stagePrev=this.width.stage},f.prototype.responsive=function(){return!!this.num.oItems&&!!this.isElWidthChanged()&&!this.trigger("resize").isDefaultPrevented()&&(this.state.responsive=!0,this.refresh(),this.state.responsive=!1,void this.trigger("resized"))},f.prototype.refresh=function(t){if(this.trigger("refresh"),this.setResponsiveOptions(),this.updateLocalContent(),this.optionsLogic(),0===this.num.oItems)return!1;this.dom.$stage.addClass("owl-refresh"),this.reClone(),this.calculate(),this.dom.$stage.removeClass("owl-refresh"),t?this.initPosition():this.jumpTo(this.pos.current,!1),this.state.orientation=e.orientation,this.watchVisibility(),this.trigger("refreshed")},f.prototype.updateActiveItems=function(){var t,e,i,n,o,s,r;for(this.trigger("change",{property:{name:"items",value:this.dom.$items}}),t=0;t<this.num.items;t++)this.dom.$items.eq(t).data("owl-item").active=!1,this.dom.$items.eq(t).data("owl-item").current=!1,this.dom.$items.eq(t).removeClass(this.options.activeClass).removeClass(this.options.centerClass);for(this.num.active=0,padding=2*this.options.stagePadding,stageX=this.pos.stage+padding,view=this.options.rtl?this.width.view:-this.width.view,e=0;e<this.num.items;e++)n=(i=this.dom.$items.eq(e)).data("owl-item").posLeft,o=i.data("owl-item").width,s=this.options.rtl?n-o-padding:n-o+padding,(this.op(n,"<=",stageX)&&this.op(n,">",stageX+view)||this.op(s,"<",stageX)&&this.op(s,">",stageX+view))&&(this.num.active++,this.options.freeDrag&&!r&&(r=!0,this.pos.current=i.data("owl-item").index,this.pos.currentAbs=i.data("owl-item").indexAbs),i.data("owl-item").active=!0,i.data("owl-item").current=!0,i.addClass(this.options.activeClass),this.options.lazyLoad,this.options.loop&&this.updateClonedItemsState(i.data("owl-item").index));this.options.center&&(this.dom.$items.eq(this.pos.currentAbs).addClass(this.options.centerClass).data("owl-item").center=!0),this.trigger("changed",{property:{name:"items",value:this.dom.$items}})},f.prototype.updateClonedItemsState=function(t){var e,i,n;for(this.options.center&&(e=this.dom.$items.eq(this.pos.currentAbs).data("owl-item").index),n=0;n<this.num.items;n++)(i=this.dom.$items.eq(n)).data("owl-item").index===t&&(i.data("owl-item").current=!0,i.data("owl-item").index===e&&i.addClass(this.options.centerClass))},f.prototype.eventsCall=function(){this.e._onDragStart=t.proxy(function(t){this.onDragStart(t)},this),this.e._onDragMove=t.proxy(function(t){this.onDragMove(t)},this),this.e._onDragEnd=t.proxy(function(t){this.onDragEnd(t)},this),this.e._transitionEnd=t.proxy(function(t){this.transitionEnd(t)},this),this.e._resizer=t.proxy(function(){this.responsiveTimer()},this),this.e._responsiveCall=t.proxy(function(){this.responsive()},this),this.e._preventClick=t.proxy(function(t){this.preventClick(t)},this)},f.prototype.responsiveTimer=function(){if(this.windowWidth()===this.width.prevWindow)return!1;e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this.e._responsiveCall,this.options.responsiveRefreshRate),this.width.prevWindow=this.windowWidth()},f.prototype.internalEvents=function(){var t="ontouchstart"in e||!!navigator.msMaxTouchPoints,n=e.navigator.msPointerEnabled;this.dragType=t&&!n?["touchstart","touchmove","touchend","touchcancel"]:t&&n?["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel"]:["mousedown","mousemove","mouseup"],(t||n)&&this.options.touchDrag?this.on(i,this.dragType[3],this.e._onDragEnd):(this.dom.$stage.on("dragstart",function(){return!1}),this.options.mouseDrag?this.dom.stage.onselectstart=function(){return!1}:this.dom.$el.add