Jump to content

Mobile Menu Hide On Scroll


soussi

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.addClass("owl-text-select-on")),this.transitionEndVendor&&this.on(this.dom.stage,this.transitionEndVendor,this.e._transitionEnd,!1),!1!==this.options.responsive&&this.on(e,"resize",this.e._resizer,!1),this.dragEvents()},f.prototype.dragEvents=function(){!this.options.touchDrag||"touchstart"!==this.dragType[0]&&"MSPointerDown"!==this.dragType[0]?this.options.mouseDrag&&"mousedown"===this.dragType[0]?this.on(this.dom.stage,this.dragType[0],this.e._onDragStart,!1):this.off(this.dom.stage,this.dragType[0],this.e._onDragStart):this.on(this.dom.stage,this.dragType[0],this.e._onDragStart,!1)},f.prototype.onDragStart=function(t){var n,o,s,r,a;if(3===(n=t.originalEvent||t||e.event).which)return!1;if("mousedown"===this.dragType[0]&&this.dom.$stage.addClass("owl-grab"),this.trigger("drag"),this.drag.startTime=(new Date).getTime(),this.setSpeed(0),this.state.isTouch=!0,this.state.isScrolling=!1,this.state.isSwiping=!1,this.drag.distance=0,s=(o="touchstart"===n.type)?t.targetTouches[0].pageX:n.pageX||n.clientX,r=o?t.targetTouches[0].pageY:n.pageY||n.clientY,this.drag.offsetX=this.dom.$stage.position().left-this.options.stagePadding,this.drag.offsetY=this.dom.$stage.position().top,this.options.rtl&&(this.drag.offsetX=this.dom.$stage.position().left+this.width.stage-this.width.el+this.options.margin),this.state.inMotion&&this.support3d)a=this.getTransformProperty(),this.drag.offsetX=a,this.animStage(a);else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1;this.drag.startX=s-this.drag.offsetX,this.drag.startY=r-this.drag.offsetY,this.drag.start=s-this.drag.startX,this.drag.targetEl=n.target||n.srcElement,this.drag.updatedX=this.drag.start,"IMG"!==this.drag.targetEl.tagName&&"A"!==this.drag.targetEl.tagName||(this.drag.targetEl.draggable=!1),this.on(i,this.dragType[1],this.e._onDragMove,!1),this.on(i,this.dragType[2],this.e._onDragEnd,!1)},f.prototype.onDragMove=function(t){var i,n,o,s,r,a,l;this.state.isTouch&&(this.state.isScrolling||(o=(n="touchmove"==(i=t.originalEvent||t||e.event).type)?i.targetTouches[0].pageX:i.pageX||i.clientX,s=n?i.targetTouches[0].pageY:i.pageY||i.clientY,this.drag.currentX=o-this.drag.startX,this.drag.currentY=s-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.options.rtl?"right":"left":0<this.drag.distance&&(this.state.direction=this.options.rtl?"left":"right"),this.options.loop?this.op(this.drag.currentX,">",this.pos.minValue)&&"right"===this.state.direction?this.drag.currentX-=this.pos.loop:this.op(this.drag.currentX,"<",this.pos.maxValue)&&"left"===this.state.direction&&(this.drag.currentX+=this.pos.loop):(r=this.options.rtl?this.pos.maxValue:this.pos.minValue,a=this.options.rtl?this.pos.minValue:this.pos.maxValue,l=this.options.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,r+l),a+l)),this.drag.updatedX=this.drag.currentX,(16<this.drag.currentY||this.drag.currentY<-16)&&!1===this.state.isSwiping&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animStage(this.drag.updatedX)))},f.prototype.onDragEnd=function(){var t,e;if(this.state.isTouch){if("mousedown"===this.dragType[0]&&this.dom.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&!0!==this.state.inMotion)return this.state.inMotion=!1;this.drag.endTime=(new Date).getTime(),t=this.drag.endTime-this.drag.startTime,(3<Math.abs(this.drag.distance)||300<t)&&this.removeClick(this.drag.targetEl),e=this.closest(this.drag.updatedX),this.setSpeed(this.options.dragEndSpeed,!1,!0),this.animStage(this.pos.items[e]),this.options.pullDrag||this.drag.updatedX!==this.pos.items[e]||this.transitionEnd(),this.drag.distance=0,this.off(i,this.dragType[1],this.e._onDragMove),this.off(i,this.dragType[2],this.e._onDragEnd)}},f.prototype.removeClick=function(i){this.drag.targetEl=i,t(i).on("click.preventClick",this.e._preventClick),e.setTimeout(function(){t(i).off("click.preventClick")},300)},f.prototype.preventClick=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),t(e.target).off("click.preventClick")},f.prototype.getTransformProperty=function(){var t;return!0!==(16===(t=(t=e.getComputedStyle(this.dom.stage,null).getPropertyValue(this.vendorName+"transform")).replace(/matrix(3d)?\(|\)/g,"").split(",")).length)?t[4]:t[12]},f.prototype.closest=function(t){var e,i=0;if(!this.options.freeDrag)for(e=0;e<this.num.items;e++)t>this.pos.items[e]-30&&t<this.pos.items[e]+30?i=e:this.op(t,"<",this.pos.items[e])&&this.op(t,">",this.pos.items[e+1||this.pos.items[e]-this.width.el])&&(i="left"===this.state.direction?e+1:e);return this.options.loop||(this.op(t,">",this.pos.minValue)?i=t=this.pos.min:this.op(t,"<",this.pos.maxValue)&&(i=t=this.pos.max)),this.options.freeDrag?t:(this.pos.currentAbs=i,this.pos.current=this.dom.$items.eq(i).data("owl-item").index,i)},f.prototype.animStage=function(e,i){e!==this.pos.stage&&!0!==i&&(this.trigger("translate"),this.state.inMotion=!0);var n=this.pos.stage=e,o=this.dom.stage.style;this.support3d?(translate="translate3d("+n+"px,0px, 0px)",o[this.transformVendor]=translate):this.state.isTouch?o.left=n+"px":this.dom.$stage.animate({left:n},this.speed.css2speed,this.options.fallbackEasing,t.proxy(function(){this.state.inMotion&&this.transitionEnd()},this)),this.onChange()},f.prototype.updatePosition=function(t){if(0===this.num.oItems||t===n)return!1;this.pos.prev=this.pos.currentAbs,this.state.revert||this.options.loop?this.state.revert||(t=t>=this.num.oItems?this.num.oItems-1:t):t=t>this.pos.max?this.pos.max:t<=0?0:t;var e=this.trigger("change",{property:{name:"position",value:t}});t=e.data?e.data:t,this.state.revert?(this.pos.current=this.dom.$items.eq(t).data("owl-item").index,this.pos.currentAbs=t):(this.pos.current=this.dom.$oItems.eq(t).data("owl-item").index,this.pos.currentAbs=this.dom.$oItems.eq(t).data("owl-item").indexAbs),this.trigger("changed",{property:{name:"position",value:t}})},f.prototype.setSpeed=function(t,e,i){var o,s,r=t,a=e;return(!1===r&&0!==r&&!0!==i||r===n)&&(6<(o=0===(o=Math.abs(a-this.pos.prev))?1:o)&&(o=6),r=o*this.options.smartSpeed),!1===r&&!0===i&&(r=this.options.smartSpeed),0===r&&(r=0),this.support3d?(s=this.dom.stage.style).webkitTransitionDuration=s.MsTransitionDuration=s.msTransitionDuration=s.MozTransitionDuration=s.OTransitionDuration=s.transitionDuration=r/1e3+"s":this.speed.css2speed=r,this.speed.current=r},f.prototype.jumpTo=function(t,e){this.updatePosition(t),this.setSpeed(0),this.animStage(this.pos.items[this.pos.currentAbs],e)},f.prototype.to=function(i,n){if(this.options.loop){var o=i-this.pos.current,s=this.pos.currentAbs,r=this.pos.currentAbs,a=this.pos.currentAbs+o,l=r-a<0;this.state.revert=!0,a<this.options.items&&!1===l?(this.state.bypass=!0,s=this.num.items-(this.options.items-r)-this.options.items,this.jumpTo(s,!0)):a>=this.num.items-this.options.items&&!0===l&&(this.state.bypass=!0,s=r-this.num.oItems,this.jumpTo(s,!0)),e.clearTimeout(this.e._goToLoop),this.e._goToLoop=e.setTimeout(t.proxy(function(){this.state.bypass=!1,this.updatePosition(s+o),this.setSpeed(n,this.pos.currentAbs),this.animStage(this.pos.items[this.pos.currentAbs]),this.state.revert=!1},this),30)}else this.updatePosition(i),this.setSpeed(n,this.pos.currentAbs),this.animStage(this.pos.items[this.pos.currentAbs])},f.prototype.next=function(t){t=t||!1,this.to(this.pos.current+1,t)},f.prototype.prev=function(t){t=t||!1,this.to(this.pos.current-1,t)},f.prototype.initPosition=function(){if(!this.dom.$oItems)return!1;var t=this.options.startPosition;"number"==typeof(t=this.trigger("change",{property:{name:"position",value:t}}).data||t)&&this.options.center||(t=0),this.dom.oStage.scrollLeft=0,this.jumpTo(t,!0),this.trigger("changed",{property:{name:"position",value:t}})},f.prototype.transitionEnd=function(t){if(t!==n&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.dom.stage))return!1;this.state.inMotion=!1,this.trigger("translated")},f.prototype.isElWidthChanged=function(){return this.dom.$el.width()-this.options.stagePadding!==this.width.el+this.options.margin},f.prototype.windowWidth=function(){return this.options.responsiveBaseElement!==e?this.width.window=t(this.options.responsiveBaseElement).width():e.innerWidth?this.width.window=e.innerWidth:i.documentElement&&i.documentElement.clientWidth&&(this.width.window=i.documentElement.clientWidth),this.width.window},f.prototype.insertContent=function(t){this.dom.$stage.empty(),this.fetchContent(t),this.refresh()},f.prototype.addItem=function(t,e){var i=this.createItemContainer();e=e||0,this.initializeItemContainer(i,t),0===this.dom.$oItems.length?this.dom.$stage.append(i):-1!==c?this.dom.$oItems.eq(e).before(i):this.dom.$oItems.eq(e).after(i),this.refresh()},f.prototype.removeItem=function(t){this.dom.$oItems.eq(t).remove(),this.refresh()},f.prototype.addTriggerableEvents=function(){var e=t.proxy(function(e,i){return t.proxy(function(){this.suppressedEvents=!0,e.apply(this,[].slice.call(arguments,1)),delete this.suppressedEvents},this)},this);t.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.insertContent,add:this.addItem,remove:this.removeItem},t.proxy(function(t,i){this.dom.$el.on(t+".owl.carousel",e(i,t+".owl.carousel"))},this))},f.prototype.watchVisibility=function(){function i(t){return 0<t.offsetWidth&&0<t.offsetHeight}i(this.dom.el)||(this.dom.$el.addClass("owl-hidden"),e.clearInterval(this.e._checkVisibile),this.e._checkVisibile=e.setInterval(t.proxy(function(){i(this.dom.el)&&(this.dom.$el.removeClass("owl-hidden"),this.refresh(),e.clearInterval(this.e._checkVisibile))},this),500))},f.prototype.onChange=function(){this.state.isTouch||this.state.bypass||(this.updateActiveItems(),this.storeInfo())},f.prototype.storeInfo=function(){this.info={items:this.options.items,allItems:this.num.oItems,currentPosition:this.pos.current,currentPage:this.pos.currentPage,allPages:this.num.allPages,windowWidth:this.width.window,elWidth:this.width.el,breakpoint:this.num.breakpoint},"function"==typeof this.options.info&&this.options.info.apply(this,[this.info,this.dom.el])},f.prototype.preloadAutoWidthImages=function(e){var i,n,o,s;i=0,n=this,e.each(function(r,a){o=t(a),(s=new Image).onload=function(){i++,o.attr("src",s.src),o.css("opacity",1),i>=e.length&&(n.state.imagesLoaded=!0,n.init())},s.src=o.attr("src")||o.attr("data-src")||o.attr("data-src-retina")})},f.prototype.destroy=function(){for(var t in this.dom.$el.hasClass(this.options.themeClass)&&this.dom.$el.removeClass(this.options.themeClass),!1!==this.options.responsive&&this.off(e,"resize",this.e._resizer),this.transitionEndVendor&&this.off(this.dom.stage,this.transitionEndVendor,this.e._transitionEnd),this.plugins)this.plugins[t].destroy();(this.options.mouseDrag||this.options.touchDrag)&&(this.off(this.dom.stage,this.dragType[0],this.e._onDragStart),this.options.mouseDrag&&this.off(i,this.dragType[3],this.e._onDragStart),this.options.mouseDrag&&(this.dom.$stage.off("dragstart",function(){return!1}),this.dom.stage.onselectstart=function(){})),this.dom.$el.off(".owl"),null!==this.dom.$cItems&&this.dom.$cItems.remove(),this.e=null,this.dom.$el.data("owlCarousel",null),delete this.dom.el.owlCarousel,this.dom.$stage.unwrap(),this.dom.$items.unwrap(),this.dom.$items.contents().unwrap(),this.dom=null},f.prototype.op=function(t,e,i){var n=this.options.rtl;switch(e){case"<":return n?i<t:t<i;case">":return n?t<i:i<t;case">=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},f.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},f.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},f.prototype.trigger=function(e,i,n){var o={item:{count:this.num.oItems,index:this.pos.current}},s=t.camelCase(t.grep(["on",e,n],function(t){return t}).join("-").toLowerCase()),r=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend(o,i));return t.each(this.plugins,function(t,e){e.onTrigger&&e.onTrigger(r)}),this.suppressedEvents[r.type]||this.dom.$el.trigger(r),"function"==typeof this.options&&this.options.apply(this,r),r},f.prototype.browserSupport=function(){if(this.support3d=m(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0],this.support3d){this.transformVendor=m(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0];this.transitionEndVendor=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"][m(["transition","WebkitTransition","MozTransition","OTransition"])[1]],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=e.orientation},t.fn.owlCarousel=function(e){return this.each(function(){t(this).data("owlCarousel")||t(this).data("owlCarousel",new f(this,e))})},t.fn.owlCarousel.Constructor=f}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){LazyLoad=function(e){this.owl=e,this.owl.options=t.extend({},LazyLoad.Defaults,this.owl.options),this.owl.options.lazyLoad&&(dem=0,this.handlers={"changed.owl.carousel":t.proxy(function(t){dem+=1,"items"==t.property.name&&t.property.value&&!t.property.value.is(":empty")&&this.check()},this)},this.owl.dom.$el.on(this.handlers))},LazyLoad.Defaults={lazyLoad:!1},LazyLoad.prototype.check=function(){var i,n,o,s=1<e.devicePixelRatio?"data-src-retina":"data-src";for($new_this=this,n=0;n<this.owl.num.items;n++)!0===(o=this.owl.dom.$items.eq(n)).data("owl-item").current&&t(o).find(".ajax_block_product").each(function(){i=t(this).find(".owl-lazy"),(i.attr(s)||i.attr("data-src"))&&$new_this.preload(i,o)})},LazyLoad.prototype.preload=function(i,n){var o,s,r;i.each(t.proxy(function(i,n){this.owl.trigger("load",null,"lazy"),o=t(n),s=new Image,r=(r=1<e.devicePixelRatio?o.attr("data-src-retina"):o.attr("data-src"))||o.attr("data-src"),s.onload=t.proxy(function(){o.is("img")?o.attr("src",s.src):o.css("background-image","url("+s.src+")"),o.css("opacity",1),this.owl.trigger("loaded",null,"lazy")},this),s.src=r},this))},LazyLoad.prototype.destroy=function(){var t,e;for(t in this.handlers)this.owl.dom.$el.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.lazyLoad=LazyLoad}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){AutoHeight=function(e){this.owl=e,this.owl.options=t.extend({},AutoHeight.Defaults,this.owl.options),this.handlers={"refreshed.owl.carousel changed.owl.carousel":t.proxy(function(){this.owl.options.autoHeight&&this.setHeight()},this)},this.owl.dom.$el.on(this.handlers)},AutoHeight.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},AutoHeight.prototype.setHeight=function(){var t,i=this.owl.dom.$items.eq(this.owl.pos.currentAbs),n=this.owl.dom.$oStage,o=0;this.owl.dom.$oStage.hasClass(this.owl.options.autoHeightClass)||this.owl.dom.$oStage.addClass(this.owl.options.autoHeightClass),t=e.setInterval(function(){o+=1,i.data("owl-item").loaded?(n.height(i.height()+"px"),clearInterval(t)):500===o&&clearInterval(t)},100)},AutoHeight.prototype.destroy=function(){var t,e;for(t in this.handlers)this.owl.dom.$el.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoHeight=AutoHeight}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){Video=function(e){this.owl=e,this.owl.options=t.extend({},Video.Defaults,this.owl.options),this.handlers={"resize.owl.carousel":t.proxy(function(t){this.owl.options.video&&!this.isInFullScreen()&&t.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":t.proxy(function(t){this.owl.state.videoPlay&&this.stopVideo()},this),"refresh.owl.carousel refreshed.owl.carousel":t.proxy(function(t){if(!this.owl.options.video)return!1;this.refreshing="refresh"==t.type},this),"changed.owl.carousel":t.proxy(function(t){this.refreshing&&"items"==t.property.name&&t.property.value&&!t.property.value.is(":empty")&&this.checkVideoLinks()},this)},this.owl.dom.$el.on(this.handlers),this.owl.dom.$el.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.playVideo(t)},this))},Video.Defaults={video:!1,videoHeight:!1,videoWidth:!1},Video.prototype.checkVideoLinks=function(){var t,e,i;for(i=0;i<this.owl.num.items;i++)(e=this.owl.dom.$items.eq(i)).data("owl-item").hasVideo||(t=e.find(".owl-video")).length&&(this.owl.state.hasVideos=!0,this.owl.dom.$items.eq(i).data("owl-item").hasVideo=!0,t.css("display","none"),this.getVideoInfo(t,e))},Video.prototype.getVideoInfo=function(t,e){var i,n,o,s,r=t.data("vimeo-id"),a=t.data("youtube-id"),l=t.data("width")||this.owl.options.videoWidth,c=t.data("height")||this.owl.options.videoHeight,u=t.attr("href");if(r)n="vimeo",o=r;else if(a)n="youtube",o=a;else{if(!u)throw new Error("Missing video link.");-1<(o=u.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")?n="youtube":-1<o[3].indexOf("vimeo")&&(n="vimeo"),o=o[6]}e.data("owl-item").videoType=n,e.data("owl-item").videoId=o,e.data("owl-item").videoWidth=l,e.data("owl-item").videoHeight=c,i={type:n,id:o},s=l&&c?'style="width:'+l+"px;height:"+c+'px;"':"",t.wrap('<div class="owl-video-wrapper"'+s+"></div>"),this.createVideoTn(t,i)},Video.prototype.createVideoTn=function(e,i){var n,o=e.find("img"),s="src",r="",a=this.owl;if(this.owl.options.lazyLoad&&(s="data-src",r="owl-lazy"),o.length)return l(o.attr(s)),o.remove(),!1;function l(t){'<div class="owl-video-play-icon"></div>',n=a.options.lazyLoad?'<div class="owl-video-tn '+r+'" '+s+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(n),e.after('<div class="owl-video-play-icon"></div>')}"youtube"===i.type?l("http://img.youtube.com/vi/"+i.id+"/hqdefault.jpg"):"vimeo"===i.type&&t.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){l(t[0].thumbnail_large),a.options.loop&&a.updateActiveItems()}})},Video.prototype.stopVideo=function(){this.owl.trigger("stop",null,"video");var t=this.owl.dom.$items.eq(this.owl.state.videoPlayIndex);t.find(".owl-video-frame").remove(),t.removeClass("owl-video-playing"),this.owl.state.videoPlay=!1},Video.prototype.playVideo=function(e){this.owl.trigger("play",null,"video"),this.owl.state.videoPlay&&this.stopVideo();var i,n,o,s=t(e.target||e.srcElement),r=s.closest("."+this.owl.options.itemClass);o=r.data("owl-item").videoType,id=r.data("owl-item").videoId,width=r.data("owl-item").videoWidth||Math.floor(r.data("owl-item").width-this.owl.options.margin),height=r.data("owl-item").videoHeight||this.owl.dom.$stage.height(),"youtube"===o?i='<iframe width="'+width+'" height="'+height+'" src="http://www.youtube.com/embed/'+id+"?autoplay=1&v="+id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===o&&(i='<iframe src="http://player.vimeo.com/video/'+id+'?autoplay=1" width="'+width+'" height="'+height+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),r.addClass("owl-video-playing"),this.owl.state.videoPlay=!0,this.owl.state.videoPlayIndex=r.data("owl-item").indexAbs,n=t('<div style="height:'+height+"px; width:"+width+'px" class="owl-video-frame">'+i+"</div>"),s.after(n)},Video.prototype.isInFullScreen=function(){var n=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return n&&t(n.parentNode).hasClass("owl-video-frame")&&(this.owl.setSpeed(0),this.owl.state.isFullScreen=!0),!(n&&this.owl.state.isFullScreen&&this.owl.state.videoPlay)&&(this.owl.state.isFullScreen?this.owl.state.isFullScreen=!1:!this.owl.state.videoPlay||this.owl.state.orientation===e.orientation||(this.owl.state.orientation=e.orientation,!1))},Video.prototype.destroy=function(){var t,e;for(t in this.owl.dom.$el.off("click.owl.video"),this.handlers)this.owl.dom.$el.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.video=Video}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){Animate=function(e){this.owl=e,this.owl.options=t.extend({},Animate.Defaults,this.owl.options),this.swapping=!0,(this.owl.options.animateIn||this.owl.options.animateOut)&&(this.handlers={"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){this.swapping="translated"==t.type},this),"translate.owl.carousel":t.proxy(function(t){this.swapping&&this.swap()},this)},this.owl.dom.$el.on(this.handlers))},Animate.Defaults={animateOut:!1,animateIn:!1},Animate.prototype.swap=function(){if(1!==this.owl.options.items||!this.owl.support3d)return!1;this.owl.setSpeed(0);var e,i,n,o,s=this.owl.dom.$items.eq(this.owl.pos.prev),r=Math.abs(s.data("owl-item").width)*this.owl.pos.prev,a=this.owl.dom.$items.eq(this.owl.pos.currentAbs),l=Math.abs(a.data("owl-item").width)*this.owl.pos.currentAbs;if(this.owl.pos.currentAbs===this.owl.pos.prev)return!1;e=l-r,i=this.owl.options.animateIn,n=this.owl.options.animateOut,o=this.owl,removeStyles=function(){t(this).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(i).removeClass(n),o.transitionEnd()},n&&s.css({left:e+"px"}).addClass("animated owl-animated-out "+n).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",removeStyles),i&&a.addClass("animated owl-animated-in "+i).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",removeStyles)},Animate.prototype.destroy=function(){var t,e;for(t in this.handlers)this.owl.dom.$el.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.animate=Animate}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){Autoplay=function(e){this.owl=e,this.owl.options=t.extend({},Autoplay.Defaults,this.owl.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":t.proxy(function(){this.autoplay()},this),"play.owl.autoplay":t.proxy(function(t,e,i){this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this.owl.options.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this.owl.options.autoplayHoverPause&&this.autoplay()},this)},this.owl.dom.$el.on(this.handlers)},Autoplay.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},Autoplay.prototype.autoplay=function(){this.owl.options.autoplay&&!this.owl.state.videoPlay?(e.clearInterval(this.apInterval),this.apInterval=e.setInterval(t.proxy(function(){this.play()},this),this.owl.options.autoplayTimeout)):(e.clearInterval(this.apInterval),this.autoplayState=!1)},Autoplay.prototype.play=function(t,n){return!0!==i.hidden&&(this.owl.options.autoplay||(this.owl._options.autoplay=this.owl.options.autoplay=!0,this.owl._options.autoplayTimeout=this.owl.options.autoplayTimeout=t||this.owl.options.autoplayTimeout||4e3,this.owl._options.autoplaySpeed=n||this.owl.options.autoplaySpeed),!1===this.owl.options.autoplay||this.owl.state.isTouch||this.owl.state.isScrolling||this.owl.state.isSwiping||this.owl.state.inMotion?(e.clearInterval(this.apInterval),!1):(!this.owl.options.loop&&this.owl.pos.current>=this.owl.pos.max?(e.clearInterval(this.e._autoplay),this.owl.to(0)):this.owl.next(this.owl.options.autoplaySpeed),void(this.autoplayState=!0)))},Autoplay.prototype.stop=function(){this.owl._options.autoplay=this.owl.options.autoplay=!1,this.autoplayState=!1,e.clearInterval(this.apInterval)},Autoplay.prototype.pause=function(){e.clearInterval(this.apInterval)},Autoplay.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this.apInterval),this.handlers)this.owl.dom.$el.off(t,this.handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this&&(this=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=Autoplay}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function(e){if(this.core=e,this.core.options=t.extend({},o.Defaults,this.core.options),this.refreshing=!1,this.initialized=!1,this.page=null,this.pages=[],this.controls={},this.template=null,this.$element=this.core.dom.$el,!this.core.options.nav&&!this.core.options.dots)return!1;this.handlers={"initialized.owl.carousel":t.proxy(function(){this.initialized||this.initialize()},this),"changed.owl.carousel":t.proxy(function(e){"items"==e.property.name&&this.initialized&&this.update(),this.filling&&(e.property.value.data("owl-item").dot=t(":first-child",e.property.value).find("[data-dot]").andSelf().data("dot"))},this),"change.owl.carousel":t.proxy(function(t){if("position"==t.property.name&&!this.core.state.revert&&!this.core.options.loop&&this.core.options.navRewind){var e=this.core.pos;t.data=t.property.value>e.max?e.current>=e.max?e.min:e.max:t.property.value<0?e.max:t.property.value}this.filling=this.core.options.dotsData&&"item"==t.property.name&&t.property.value&&t.property.value.is(":empty")},this),"refresh.owl.carousel refreshed.owl.carousel":t.proxy(function(t){this.refreshing="refresh"==t.type},this),"refreshed.owl.carousel":t.proxy(function(){this.initialized&&this.refresh()},this)},this.$element.on(this.handlers)};o.Defaults={nav:!1,navRewind:!0,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotData:!1,dotsSpeed:!1,dotsContainer:!1,controlsClass:"owl-controls"},o.prototype.initialize=function(){var e,i=this.core.options;this.refresh(),i.dotsData||(this.template=t("<div>").addClass(i.dotClass).append(t("<span>")).prop("outerHTML")),i.navContainer&&i.dotsContainer||(this.controls.$container=t("<div>").addClass(i.controlsClass).appendTo(this.$element)),i.dots&&(this.$indicators=i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.controls.$container),this.$indicators.on(this.core.dragType[2],"div",t.proxy(function(e){var n=t(e.target).parent().is(this.$indicators)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.core.to(this.pages[n].start,i.dotsSpeed)},this))),i.nav&&(e=i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).prependTo(this.controls.$container),this.controls.$next=t("<"+i.navElement+">"),this.controls.$previous=this.controls.$next.clone(),this.controls.$previous.addClass(i.navClass[0]).text(i.navText[0]).prependTo(e).on(this.core.dragType[2],t.proxy(function(t){this.core.to(this.core.pos.current-i.slideBy)},this)),this.controls.$next.addClass(i.navClass[1]).text(i.navText[1]).appendTo(e).on(this.core.dragType[2],t.proxy(function(t){this.core.to(this.core.pos.current+i.slideBy)},this))),this.update(),this.initialized=!0},o.prototype.destroy=function(){var t,e,i;for(t in this.handlers)this.$element.off(t,this.handlers[t]);for(e in this.controls)this.controls[e].remove();for(i in Object.getOwnPropertyNames(this))"function"!=typeof this&&(this=null)},o.prototype.refresh=function(){var t,e,i=this.core.options,n=this.core.num.cItems/2,o=this.core.num.items-n,s=this.core.num.oItems,r=i.center||i.autoWidth||i.dotData?1:i.dotsEach||i.items;if(i.nav&&(i.navRewind=s>i.items||i.center,i.slideBy&&"page"===i.slideBy?i.slideBy=i.items:i.slideBy=Math.min(i.slideBy,i.items)),i.dots)for(this.pages=[],t=n,e=0;t<o;t++)(r<=e||0===e)&&(this.pages.push({start:t-n,end:t-n+r-1}),e=0,0),e+=this.core.num.merged[t]},o.prototype.update=function(){var e,i,n="",o=this.core.options,s=this.core.dom.$oItems,r=this.core.pos.current;if(!o.nav||o.loop||o.navRewind||(this.controls.$previous.toggleClass("disabled",r<=0),this.controls.$next.toggleClass("disabled",r>=this.core.pos.max)),o.dots){if(e=this.pages.length-this.$indicators.children().length,this.page=t.grep(this.pages,function(t){return t.start<=r&&t.end>=r}).pop(),0<e){for(i=0;i<Math.abs(e);i++)n+=o.dotData?s.eq(i).data("owl-item").dot:this.template;this.$indicators.append(n)}else e<0&&this.$indicators.children().slice(e).remove();this.$indicators.find(".active").removeClass("active"),this.$indicators.children().eq(this.pages.indexOf(this.page)%s.length).addClass("active")}},o.prototype.onTrigger=function(t){var e=this.core.options;t.page={index:this.pages.indexOf(this.page),count:this.pages.length,size:e.center||e.autoWidth||e.dotData?1:e.dotsEach||e.items}},t.fn.owlCarousel.Constructor.Plugins.Navigation=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function(i){if(this.carousel=i,this.options=t.extend({},o.Defaults,this.carousel.options),this.hashes={},this.$element=this.carousel.dom.$el,!this.options.URLhashListener)return!1;this.handlers={"initialized.owl.carousel":t.proxy(function(){e.location.hash.substring(1)&&t(e).trigger("hashchange.owl.navigation")},this),"changed.owl.carousel":t.proxy(function(e){this.filling&&(e.property.value.data("owl-item").hash=t(":first-child",e.property.value).find("[data-hash]").andSelf().data("hash"),this.hashes[e.property.value.data("owl-item").hash]=e.property.value)},this),"change.owl.carousel":t.proxy(function(t){"position"==t.property.name&&"URLHash"==t.property.value&&(t.data=this.hashes[e.location.hash.substring(1)]),this.filling="item"==t.property.name&&t.property.value&&t.property.value.is(":empty")},this)},this.$element.on(this.handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(){var t=e.location.hash.substring(1),i=this.hashes[t]&&this.hashes[t].index()||0;if(!t)return!1;this.carousel.dom.oStage.scrollLeft=0,this.carousel.to(i)},this))};o.Defaults={URLhashListener:!1},o.prototype.destroy=function(){var i,n;for(i in t(e).off("hashchange.owl.navigation"),this.handlers)this.owl.dom.$el.off(i,this.handlers);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=o}(window.Zepto||window.jQuery,window,document)},function(module,exports){!function($){function format(t){for(var e=1;e<arguments.length;e++)t=t.replace("%"+(e-1),arguments[e]);return t}function CloudZoom(t,e){var i,n,o,s,r,a,l,c,u=$("img",t),d=null,h=null,p=null,f=null,m=null,g=null,v=0,y=0,w=0,b=0,_=0,C=0,x=this;setTimeout(function(){if(null===h){var e=t.width();t.parent().append(format('<div style="width:%0px;position:absolute;top:75%;left:%1px;text-align:center" class="cloud-zoom-loading" >Loading...</div>',e/3,e/2-e/6)).find(":last").css("opacity",.5)}},200);this.removeBits=function(){p&&(p.remove(),p=null),f&&(f.remove(),f=null),m&&(m.remove(),m=null),null!==g&&(g.remove(),g=null),$(".cloud-zoom-loading",t.parent()).remove()},this.destroy=function(){t.data("zoom",null),h&&(h.unbind(),h.remove(),h=null),d&&(d.remove(),d=null),this.removeBits()},this.fadedOut=function(){d&&(d.remove(),d=null),this.removeBits()},this.controlLoop=function(){if(p){var t=a-u.offset().left-.5*s>>0,i=l-u.offset().top-.5*r>>0;t<0?t=0:t>u.outerWidth()-s&&(t=u.outerWidth()-s),i<0?i=0:i>u.outerHeight()-r&&(i=u.outerHeight()-r),p.css({left:t,top:i}),p.css("background-position",-t+"px "+-i+"px"),y=t/u.outerWidth()*o.width>>0,w=i/u.outerHeight()*o.height>>0,_+=(y-_)/e.smoothMove,b+=(w-b)/e.smoothMove,d.css("background-position",-(_>>0)+"px "+-(b>>0)+"px")}v=setTimeout(function(){x.controlLoop()},30)},this.init2=function(t,e){1===e&&(o=t),2===++C&&this.init()},this.init=function(){$(".cloud-zoom-loading",t.parent()).remove(),(h=t.parent().append(format("<div class='mousetrap' style=';z-index:999;position:absolute;width:%0px;height:%1px;left:%2px;top:%3px;'></div>",u.outerWidth(),u.outerHeight(),0,0)).find(":last")).bind("mousemove",this,function(t){a=t.pageX,l=t.pageY}),h.bind("mouseleave",this,function(t){return clearTimeout(v),p&&p.fadeOut(299),f&&f.fadeOut(299),m&&m.fadeOut(299),d.fadeOut(300,function(){x.fadedOut()}),!1}),h.bind("mouseenter",this,function(i){a=i.pageX,l=i.pageY,c=i.data,d&&(d.stop(!0,!1),d.remove());var n=e.adjustX,g=e.adjustY,v=u.outerWidth(),y=u.outerHeight(),w=e.zoomWidth,b=e.zoomHeight;"auto"==e.zoomWidth&&(w=v),"auto"==e.zoomHeight&&(b=y);var _=t.parent();switch(e.position){case"top":g-=b;break;case"right":n+=v;break;case"bottom":g+=y;break;case"left":n-=w;break;case"inside":w=v,b=y;break;default:(_=$("#"+e.position)).length?(w=_.innerWidth(),b=_.innerHeight()):(_=t,n+=v,g+=y)}d=_.append(format('<div id="cloud-zoom-big" class="cloud-zoom-big" style="display:none;position:absolute;left:%0px;top:%1px;width:%2px;height:%3px;background-image:url(\'%4\');z-index:99;"></div>',n,g,w,b,o.src)).find(":last"),u.attr("title")&&e.showTitle&&d.append(format('<div class="cloud-zoom-title">%0</div>',u.attr("title"))).find(":last").css("opacity",e.titleOpacity),d.show(),p&&(p.remove(),p=null),s=u.outerWidth()/o.width*d.width(),r=u.outerHeight()/o.height*d.height(),p=t.append(format("<div class = 'cloud-zoom-lens' style='display:none;z-index:98;position:absolute;width:%0px;height:%1px;'></div>",s,r)).find(":last"),h.css("cursor",p.css("cursor"));var C=!1;e.tint&&(p.css("background",'url("'+u.attr("src")+'")'),(f=t.append(format('<div style="display:none;position:absolute; left:0px; top:0px; width:%0px; height:%1px; background-color:%2;" />',u.outerWidth(),u.outerHeight(),e.tint)).find(":last")).css("opacity",e.tintOpacity),C=!0,f.fadeIn(500)),e.softFocus&&(p.css("background",'url("'+u.attr("src")+'")'),(m=t.append(format('<div style="position:absolute;display:none;top:2px; left:2px; width:%0px; height:%1px;" />',u.outerWidth()-2,u.outerHeight()-2,e.tint)).find(":last")).css("background",'url("'+u.attr("src")+'")'),m.css("opacity",.5),C=!0,m.fadeIn(500)),C||p.css("opacity",e.lensOpacity),"inside"!==e.position&&p.fadeIn(500),c.controlLoop()})},i=new Image,$(i).load(function(){x.init2(this,0)}),i.src=u.attr("src"),n=new Image,$(n).load(function(){x.init2(this,1)}),n.src=t.attr("href")}$.fn.CloudZoom=function(options){try{document.execCommand("BackgroundImageCache",!1,!0)}catch(t){}return this.each(function(){var relOpts,opts;eval("var\ta = {"+$(this).attr("rel")+"}"),relOpts=a,$(this).is(".cloud-zoom")?($(this).css({position:"relative",display:"block"}),$("img",$(this)).css({display:"block"}),"wrap"!=$(this).parent().attr("id")&&$(this).wrap('<div id="wrap" style="top:0px;z-index:9999;position:relative;"></div>'),opts=$.extend({},$.fn.CloudZoom.defaults,options),opts=$.extend({},opts,relOpts),$(this).data("zoom",new CloudZoom($(this),opts))):$(this).is(".cloud-zoom-gallery")&&(opts=$.extend({},relOpts,options),$(this).data("relOpts",opts),$(this).bind("mouseenter",$(this),function(t){var e=t.data.data("relOpts");return $("#"+e.useZoom).data("zoom").destroy(),$("#"+e.useZoom).attr("href",t.data.attr("href")),$("#"+e.useZoom+" img").attr("src",t.data.data("relOpts").smallImage),$("#"+t.data.data("relOpts").useZoom).CloudZoom(),!1}))}),this},$.fn.CloudZoom.defaults={zoomWidth:"auto",zoomHeight:"auto",position:"right",tint:!1,tintOpacity:.5,lensOpacity:.5,softFocus:!1,smoothMove:3,showTitle:!0,titleOpacity:.5,adjustX:0,adjustY:0}}(jQuery)},function(t,e){(function(t){t.fn.slides=function(e){return e=t.extend({},t.fn.slides.option,e),this.each(function(){function i(i,n,o){if(!y&&v){y=!0,e.animationStart(g+1);switch(i){case"next":f=g,p=g+1,p=a===p?0:p,b=2*l,i=2*-l,g=p;break;case"prev":f=g,p=g-1,p=-1===p?a-1:p,b=0,i=0,g=p;break;case"pagination":p=parseInt(o,10),f=t("."+e.paginationClass+" li."+e.currentClass+" a",s).attr("href").match("[^#/]+$"),p>f?(b=2*l,i=2*-l):(b=0,i=0),g=p}"fade"===n?e.crossfade?r.children(":eq("+p+")",s).css({zIndex:10}).fadeIn(e.fadeSpeed,e.fadeEasing,function(){e.autoHeight?r.animate({height:r.children(":eq("+p+")",s).outerHeight()},e.autoHeightSpeed,function(){r.children(":eq("+f+")",s).css({display:"none",zIndex:0}),r.children(":eq("+p+")",s).css({zIndex:0}),e.animationComplete(p+1),y=!1}):(r.children(":eq("+f+")",s).css({display:"none",zIndex:0}),r.children(":eq("+p+")",s).css({zIndex:0}),e.animationComplete(p+1),y=!1)}):r.children(":eq("+f+")",s).fadeOut(e.fadeSpeed,e.fadeEasing,function(){e.autoHeight?r.animate({height:r.children(":eq("+p+")",s).outerHeight()},e.autoHeightSpeed,function(){r.children(":eq("+p+")",s).fadeIn(e.fadeSpeed,e.fadeEasing)}):r.children(":eq("+p+")",s).fadeIn(e.fadeSpeed,e.fadeEasing,function(){t.browser.msie&&t(this).get(0).style.removeAttribute("filter")}),e.animationComplete(p+1),y=!1}):(r.children(":eq("+p+")").css({left:b,display:"block"}),e.autoHeight?r.animate({left:i,height:r.children(":eq("+p+")").outerHeight()},e.slideSpeed,e.slideEasing,function(){r.css({left:-l}),r.children(":eq("+p+")").css({left:l,zIndex:5}),r.children(":eq("+f+")").css({left:l,display:"none",zIndex:0}),e.animationComplete(p+1),y=!1}):r.animate({left:i},e.slideSpeed,e.slideEasing,function(){r.css({left:-l}),r.children(":eq("+p+")").css({left:l,zIndex:5}),r.children(":eq("+f+")").css({left:l,display:"none",zIndex:0}),e.animationComplete(p+1),y=!1})),e.pagination&&(t("."+e.paginationClass+" li."+e.currentClass,s).removeClass(e.currentClass),t("."+e.paginationClass+" li:eq("+p+")",s).addClass(e.currentClass))}}function n(){clearInterval(s.data("interval"))}function o(){e.pause?(clearTimeout(s.data("pause")),clearInterval(s.data("interval")),x=setTimeout(function(){clearTimeout(s.data("pause")),E=setInterval(function(){i("next",d)},e.play),s.data("interval",E)},e.pause),s.data("pause",x)):n()}t("."+e.container,t(this)).children().wrapAll('<div class="slides_control"/>');var s=t(this),r=t(".slides_control",s),a=r.children().size(),l=r.children().outerWidth(),c=r.children().outerHeight(),u=e.start-1,d=e.effect.indexOf(",")<0?e.effect:e.effect.replace(" ","").split(",")[0],h=e.effect.indexOf(",")<0?d:e.effect.replace(" ","").split(",")[1],p=0,f=0,m=0,g=0,v,y,w,b,_,C,x,E;if(a<2)return t("."+e.container,t(this)).fadeIn(e.fadeSpeed,e.fadeEasing,function(){v=!0,e.slidesLoaded()}),t("."+e.next+", ."+e.prev).fadeOut(0),!1;if(a<2)return;u<0&&(u=0),u>a&&(u=a-1),e.start&&(g=u),e.randomize&&r.randomize(),t("."+e.container,s).css({overflow:"hidden",position:"relative"}),r.children().css({position:"absolute",top:0,left:r.children().outerWidth(),zIndex:0,display:"none"}),r.css({position:"relative",width:3*l,height:c,left:-l}),t("."+e.container,s).css({display:"block"}),e.autoHeight&&(r.children().css({height:"auto"}),r.animate({height:r.children(":eq("+u+")").outerHeight()},e.autoHeightSpeed));if(e.preload&&r.find("img:eq("+u+")").length){t("."+e.container,s).css({background:"url("+e.preloadImage+") no-repeat 50% 50%"});var T=r.find("img:eq("+u+")").attr("src")+"?"+(new Date).getTime();C="slides_control"!=t("img",s).parent().attr("class")?r.children(":eq(0)")[0].tagName.toLowerCase():r.find("img:eq("+u+")"),r.find("img:eq("+u+")").attr("src",T).load(function(){r.find(C+":eq("+u+")").fadeIn(e.fadeSpeed,e.fadeEasing,function(){t(this).css({zIndex:5}),t("."+e.container,s).css({background:""}),v=!0,e.slidesLoaded()})})}else r.children(":eq("+u+")").fadeIn(e.fadeSpeed,e.fadeEasing,function(){v=!0,e.slidesLoaded()});e.bigTarget&&(r.children().css({cursor:"pointer"}),r.children().click(function(){return i("next",d),!1})),e.hoverPause&&e.play&&(r.bind("mouseover",function(){n()}),r.bind("mouseleave",function(){o()})),e.generateNextPrev&&(t("."+e.container,s).after('<a href="#" class="'+e.prev+'">Prev</a>'),t("."+e.prev,s).after('<a href="#" class="'+e.next+'">Next</a>')),t("."+e.next,s).click(function(t){t.preventDefault(),e.play&&o(),i("next",d)}),t("."+e.prev,s).click(function(t){t.preventDefault(),e.play&&o(),i("prev",d)}),e.generatePagination?(e.prependPagination?s.prepend("<ul class="+e.paginationClass+"></ul>"):s.append("<ul class="+e.paginationClass+"></ul>"),r.children().each(function(){t("."+e.paginationClass,s).append('<li><a href="#'+m+'">'+(m+1)+"</a></li>"),m++})):t("."+e.paginationClass+" li a",s).each(function(){t(this).attr("href","#"+m),m++}),t("."+e.paginationClass+" li:eq("+u+")",s).addClass(e.currentClass),t("."+e.paginationClass+" li a",s).click(function(){return e.play&&o(),w=t(this).attr("href").match("[^#/]+$"),g!=w&&i("pagination",h,w),!1}),t("a.link",s).click(function(){return e.play&&o(),w=t(this).attr("href").match("[^#/]+$")-1,g!=w&&i("pagination",h,w),!1}),e.play&&(E=setInterval(function(){i("next",d)},e.play),s.data("interval",E))})},t.fn.slides.option={preload:!1,preloadImage:"/img/loading.gif",container:"slides_container",generateNextPrev:!1,next:"next",prev:"prev",pagination:!0,generatePagination:!0,prependPagination:!1,paginationClass:"pagination",currentClass:"current",fadeSpeed:350,fadeEasing:"",slideSpeed:350,slideEasing:"",start:1,effect:"slide",crossfade:!1,randomize:!1,play:0,pause:0,hoverPause:!1,autoHeight:!1,autoHeightSpeed:350,bigTarget:!1,animationStart:function(){},animationComplete:function(){},slidesLoaded:function(){}},t.fn.randomize=function(e){function n(){return Math.round(Math.random())-.5}return t(this).each(function(){var o=t(this),s=o.children(),r=s.length;if(r>1){s.hide();var a=[];for(i=0;i<r;i++)a[a.length]=i;a=a.sort(n),t.each(a,function(t,i){var n=s.eq(i),r=n.clone(!0);r.show().appendTo(o),void 0!==e&&e(n,r),n.remove()})}})}})(jQuery)},function(t,e){!function(t){var e,i,n,o,s,r,a,l,c,u,d,h,p,f,m,g,v,y,w,b,_,C,x,E,T,S,k,I,$,A,O,D,P,N,L,j,V,M=(i={eventName:"click",onShow:function(){},onBeforeShow:function(){},onHide:function(){},onChange:function(){},onSubmit:function(){},color:"ff0000",livePreview:!0,flat:!(e=65)},n=function(e,i){var n=L(e);t(i).data("colorpicker").fields.eq(1).val(n.r).end().eq(2).val(n.g).end().eq(3).val(n.b).end()},o=function(e,i){t(i).data("colorpicker").fields.eq(4).val(e.h).end().eq(5).val(e.s).end().eq(6).val(e.b).end()},s=function(e,i){t(i).data("colorpicker").fields.eq(0).val(j(e)).end()},r=function(e,i){t(i).data("colorpicker").selector.css("backgroundColor","#"+j({h:e.h,s:100,b:100})),t(i).data("colorpicker").selectorIndic.css({left:parseInt(150*e.s/100,10),top:parseInt(150*(100-e.b)/100,10)})},a=function(e,i){t(i).data("colorpicker").hue.css("top",parseInt(150-150*e.h/360,10))},l=function(e,i){t(i).data("colorpicker").currentColor.css("backgroundColor","#"+j(e))},c=function(e,i){t(i).data("colorpicker").newColor.css("backgroundColor","#"+j(e))},u=function(i){var n=i.charCode||i.keyCode||-1;if(e<n&&n<=90||32==n)return!1;!0===t(this).parent().parent().data("colorpicker").livePreview&&d.apply(this)},d=function(e){var i,l=t(this).parent().parent();0<this.parentNode.className.indexOf("_hex")?l.data("colorpicker").color=i=P(D(this.value)):0<this.parentNode.className.indexOf("_hsb")?l.data("colorpicker").color=i=A({h:parseInt(l.data("colorpicker").fields.eq(4).val(),10),s:parseInt(l.data("colorpicker").fields.eq(5).val(),10),b:parseInt(l.data("colorpicker").fields.eq(6).val(),10)}):l.data("colorpicker").color=i=N(O({r:parseInt(l.data("colorpicker").fields.eq(1).val(),10),g:parseInt(l.data("colorpicker").fields.eq(2).val(),10),b:parseInt(l.data("colorpicker").fields.eq(3).val(),10)})),e&&(n(i,l.get(0)),s(i,l.get(0)),o(i,l.get(0))),r(i,l.get(0)),a(i,l.get(0)),c(i,l.get(0)),l.data("colorpicker").onChange.apply(l,[i,j(i),L(i)])},h=function(e){t(this).parent().parent().data("colorpicker").fields.parent().removeClass("colorpicker_focus")},p=function(){e=0<this.parentNode.className.indexOf("_hex")?70:65,t(this).parent().parent().data("colorpicker").fields.parent().removeClass("colorpicker_focus"),t(this).parent().addClass("colorpicker_focus")},f=function(e){var i=t(this).parent().find("input").focus(),n={el:t(this).parent().addClass("colorpicker_slider"),max:0<this.parentNode.className.indexOf("_hsb_h")?360:0<this.parentNode.className.indexOf("_hsb")?100:255,y:e.pageY,field:i,val:parseInt(i.val(),10),preview:t(this).parent().parent().data("colorpicker").livePreview};t(document).bind("mouseup",n,g),t(document).bind("mousemove",n,m)},m=function(t){return t.data.field.val(Math.max(0,Math.min(t.data.max,parseInt(t.data.val+t.pageY-t.data.y,10)))),t.data.preview&&d.apply(t.data.field.get(0),[!0]),!1},g=function(e){return d.apply(e.data.field.get(0),[!0]),e.data.el.removeClass("colorpicker_slider").find("input").focus(),t(document).unbind("mouseup",g),t(document).unbind("mousemove",m),!1},v=function(e){var i={cal:t(this).parent(),y:t(this).offset().top};i.preview=i.cal.data("colorpicker").livePreview,t(document).bind("mouseup",i,w),t(document).bind("mousemove",i,y)},y=function(t){return d.apply(t.data.cal.data("colorpicker").fields.eq(4).val(parseInt(360*(150-Math.max(0,Math.min(150,t.pageY-t.data.y)))/150,10)).get(0),[t.data.preview]),!1},w=function(e){return n(e.data.cal.data("colorpicker").color,e.data.cal.get(0)),s(e.data.cal.data("colorpicker").color,e.data.cal.get(0)),t(document).unbind("mouseup",w),t(document).unbind("mousemove",y),!1},b=function(e){var i={cal:t(this).parent(),pos:t(this).offset()};i.preview=i.cal.data("colorpicker").livePreview,t(document).bind("mouseup",i,C),t(document).bind("mousemove",i,_)},_=function(t){return d.apply(t.data.cal.data("colorpicker").fields.eq(6).val(parseInt(100*(150-Math.max(0,Math.min(150,t.pageY-t.data.pos.top)))/150,10)).end().eq(5).val(parseInt(100*Math.max(0,Math.min(150,t.pageX-t.data.pos.left))/150,10)).get(0),[t.data.preview]),!1},C=function(e){return n(e.data.cal.data("colorpicker").color,e.data.cal.get(0)),s(e.data.cal.data("colorpicker").color,e.data.cal.get(0)),t(document).unbind("mouseup",C),t(document).unbind("mousemove",_),!1},x=function(e){t(this).addClass("colorpicker_focus")},E=function(e){t(this).removeClass("colorpicker_focus")},T=function(e){var i=t(this).parent(),n=i.data("colorpicker").color;i.data("colorpicker").origColor=n,l(n,i.get(0)),i.data("colorpicker").onSubmit(n,j(n),L(n),i.data("colorpicker").el)},S=function(e){var i=t("#"+t(this).data("colorpickerId"));i.data("colorpicker").onBeforeShow.apply(this,[i.get(0)]);var n=t(this).offset(),o=$(),s=n.top+this.offsetHeight,r=n.left;return s+176>o.t+o.h&&(s-=this.offsetHeight+176),r+356>o.l+o.w&&(r-=356),i.css({left:r+"px",top:s+"px"}),0!=i.data("colorpicker").onShow.apply(this,[i.get(0)])&&i.show(),t(document).bind("mousedown",{cal:i},k),!1},k=function(e){I(e.data.cal.get(0),e.target,e.data.cal.get(0))||(0!=e.data.cal.data("colorpicker").onHide.apply(this,[e.data.cal.get(0)])&&e.data.cal.hide(),t(document).unbind("mousedown",k))},I=function(t,e,i){if(t==e)return!0;if(t.contains)return t.contains(e);if(t.compareDocumentPosition)return!!(16&t.compareDocumentPosition(e));for(var n=e.parentNode;n&&n!=i;){if(n==t)return!0;n=n.parentNode}return!1},$=function(){var t="CSS1Compat"==document.compatMode;return{l:window.pageXOffset||(t?document.documentElement.scrollLeft:document.body.scrollLeft),t:window.pageYOffset||(t?document.documentElement.scrollTop:document.body.scrollTop),w:window.innerWidth||(t?document.documentElement.clientWidth:document.body.clientWidth),h:window.innerHeight||(t?document.documentElement.clientHeight:document.body.clientHeight)}},A=function(t){return{h:Math.min(360,Math.max(0,t.h)),s:Math.min(100,Math.max(0,t.s)),b:Math.min(100,Math.max(0,t.b))}},O=function(t){return{r:Math.min(255,Math.max(0,t.r)),g:Math.min(255,Math.max(0,t.g)),b:Math.min(255,Math.max(0,t.b))}},D=function(t){var e=6-t.length;if(0<e){for(var i=[],n=0;n<e;n++)i.push("0");i.push(t),t=i.join("")}return t},P=function(t){return N((e=t,{r:(e=parseInt(-1<e.indexOf("#")?e.substring(1):e,16))>>16,g:(65280&e)>>8,b:255&e}));var e},N=function(t){var e={h:0,s:0,b:0},i=Math.min(t.r,t.g,t.b),n=Math.max(t.r,t.g,t.b),o=n-i;return e.b=n,e.s=0!=n?255*o/n:0,0!=e.s?t.r==n?e.h=(t.g-t.b)/o:t.g==n?e.h=2+(t.b-t.r)/o:e.h=4+(t.r-t.g)/o:e.h=-1,e.h*=60,e.h<0&&(e.h+=360),e.s*=100/255,e.b*=100/255,e},L=function(t){var e={},i=Math.round(t.h),n=Math.round(255*t.s/100),o=Math.round(255*t.b/100);if(0==n)e.r=e.g=e.b=o;else{var s=o,r=(255-n)*o/255,a=i%60*(s-r)/60;360==i&&(i=0),i<60?(e.r=s,e.b=r,e.g=r+a):i<120?(e.g=s,e.b=r,e.r=s-a):i<180?(e.g=s,e.r=r,e.b=r+a):i<240?(e.b=s,e.r=r,e.g=s-a):i<300?(e.b=s,e.g=r,e.r=r+a):e.b=i<360?(e.r=s,e.g=r,s-a):(e.r=0,e.g=0)}return{r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b)}},j=function(e){return i=L(e),n=[i.r.toString(16),i.g.toString(16),i.b.toString(16)],t.each(n,function(t,e){1==e.length&&(n[t]="0"+e)}),n.join("");var i,n},V=function(){var e=t(this).parent(),i=e.data("colorpicker").origColor;e.data("colorpicker").color=i,n(i,e.get(0)),s(i,e.get(0)),o(i,e.get(0)),r(i,e.get(0)),a(i,e.get(0)),c(i,e.get(0))},{init:function(e){if("string"==typeof(e=t.extend({},i,e||{})).color)e.color=P(e.color);else if(null!=e.color.r&&null!=e.color.g&&null!=e.color.b)e.color=N(e.color);else{if(null==e.color.h||null==e.color.s||null==e.color.b)return this;e.color=A(e.color)}return this.each(function(){if(!t(this).data("colorpickerId")){var i=t.extend({},e);i.origColor=e.color;var m="collorpicker_"+parseInt(1e3*Math.random());t(this).data("colorpickerId",m);var g=t('<div class="colorpicker"><div class="colorpicker_color"><div><div></div></div></div><div class="colorpicker_hue"><div></div></div><div class="colorpicker_new_color"></div><div class="colorpicker_current_color"></div><div class="colorpicker_hex"><input type="text" maxlength="6" size="6" /></div><div class="colorpicker_rgb_r colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_g colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_h colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_s colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_submit"></div></div>').attr("id",m);i.flat?g.appendTo(this).show():g.appendTo(document.body),i.fields=g.find("input").bind("keyup",u).bind("change",d).bind("blur",h).bind("focus",p),g.find("span").bind("mousedown",f).end().find(">div.colorpicker_current_color").bind("click",V),i.selector=g.find("div.colorpicker_color").bind("mousedown",b),i.selectorIndic=i.selector.find("div div"),i.el=this,i.hue=g.find("div.colorpicker_hue div"),g.find("div.colorpicker_hue").bind("mousedown",v),i.newColor=g.find("div.colorpicker_new_color"),i.currentColor=g.find("div.colorpicker_current_color"),g.data("colorpicker",i),g.find("div.colorpicker_submit").bind("mouseenter",x).bind("mouseleave",E).bind("click",T),n(i.color,g.get(0)),o(i.color,g.get(0)),s(i.color,g.get(0)),a(i.color,g.get(0)),r(i.color,g.get(0)),l(i.color,g.get(0)),c(i.color,g.get(0)),i.flat?g.css({position:"relative",display:"block"}):t(this).bind(i.eventName,S)}})},showPicker:function(){return this.each(function(){t(this).data("colorpickerId")&&S.apply(this)})},hidePicker:function(){return this.each(function(){t(this).data("colorpickerId")&&t("#"+t(this).data("colorpickerId")).hide()})},setColor:function(e){if("string"==typeof e)e=P(e);else if(null!=e.r&&null!=e.g&&null!=e.b)e=N(e);else{if(null==e.h||null==e.s||null==e.b)return this;e=A(e)}return this.each(function(){if(t(this).data("colorpickerId")){var i=t("#"+t(this).data("colorpickerId"));i.data("colorpicker").color=e,i.data("colorpicker").origColor=e,n(e,i.get(0)),o(e,i.get(0)),s(e,i.get(0)),a(e,i.get(0)),r(e,i.get(0)),l(e,i.get(0)),c(e,i.get(0))}})}});t.fn.extend({ColorPicker:M.init,ColorPickerHide:M.hidePicker,ColorPickerShow:M.showPicker,ColorPickerSetColor:M.setColor})}(jQuery)},function(t,e){!function(t){t.cookie=function(e,i,n){if(1<arguments.length&&(!/Object/.test(Object.prototype.toString.call(i))||null==i)){if(n=t.extend({},n),null==i&&(n.expires=-1),"number"==typeof n.expires){var o=n.expires,s=n.expires=new Date;s.setDate(s.getDate()+o)}return i=String(i),document.cookie=[encodeURIComponent(e),"=",n.raw?i:encodeURIComponent(i),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("")}for(var r,a=(n=i||{}).raw?function(t){return t}:decodeURIComponent,l=document.cookie.split("; "),c=0;r=l[c]&&l[c].split("=");c++)if(a(r[0])===e)return a(r[1]||"");return null}}(jQuery)},function(t,e){!function(t,e,i,n){var o=t(e);t.fn.lazyload=function(s){var r,a=this,l={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:e,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};function c(){var e=0;a.each(function(){var i=t(this);if(!l.skip_invisible||i.is(":visible"))if(t.abovethetop(this,l)||t.leftofbegin(this,l));else if(t.belowthefold(this,l)||t.rightoffold(this,l)){if(++e>l.failure_limit)return!1}else i.trigger("appear"),e=0})}return s&&(n!==s.failurelimit&&(s.failure_limit=s.failurelimit,delete s.failurelimit),n!==s.effectspeed&&(s.effect_speed=s.effectspeed,delete s.effectspeed),t.extend(l,s)),r=l.container===n||l.container===e?o:t(l.container),0===l.event.indexOf("scroll")&&r.bind(l.event,function(){return c()}),this.each(function(){var e=this,i=t(e);e.loaded=!1,i.attr("src")!==n&&!1!==i.attr("src")||i.is("img")&&i.attr("src",l.placeholder),i.one("appear",function(){if(!this.loaded){if(l.appear){var n=a.length;l.appear.call(e,n,l)}t("<img />").bind("load",function(){var n=i.attr("data-"+l.data_attribute);i.hide(),i.is("img")?i.attr("src",n):i.css("background-image","url('"+n+"')"),i[l.effect](l.effect_speed),e.loaded=!0;var o=t.grep(a,function(t){return!t.loaded});if(a=t(o),l.load){var s=a.length;l.load.call(e,s,l)}}).attr("src",i.attr("data-"+l.data_attribute))}}),0!==l.event.indexOf("scroll")&&i.bind(l.event,function(){e.loaded||i.trigger("appear")})}),o.bind("resize",function(){c()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&o.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&a.each(function(){t(this).trigger("appear")})}),t(i).ready(function(){c()}),this},t.belowthefold=function(i,s){return(s.container===n||s.container===e?(e.innerHeight?e.innerHeight:o.height())+o.scrollTop():t(s.container).offset().top+t(s.container).height())<=t(i).offset().top-s.threshold},t.rightoffold=function(i,s){return(s.container===n||s.container===e?o.width()+o.scrollLeft():t(s.container).offset().left+t(s.container).width())<=t(i).offset().left-s.threshold},t.abovethetop=function(i,s){return(s.container===n||s.container===e?o.scrollTop():t(s.container).offset().top)>=t(i).offset().top+s.threshold+t(i).height()},t.leftofbegin=function(i,s){return(s.container===n||s.container===e?o.scrollLeft():t(s.container).offset().left)>=t(i).offset().left+s.threshold+t(i).width()},t.inviewport=function(e,i){return!(t.rightoffold(e,i)||t.leftofbegin(e,i)||t.belowthefold(e,i)||t.abovethetop(e,i))},t.extend(t.expr[":"],{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return t.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!t.rightoffold(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return t.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!t.rightoffold(e,{threshold:0})}})}(jQuery,window,document)},function(t,e,i){var n,o;(function(s){"use strict";!(n=[i(0)],o=function(t){var e=t.scrollTo=function(e,i,n){return t(window).scrollTo(e,i,n)};e.defaults={axis:"xy",duration:0,limit:!0};e.window=function(e){return t(window)._scrollable()};t.fn._scrollable=function(){return this.map(function(){var e=this,i=!e.nodeName||-1!=t.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"]);if(!i)return e;var n=(e.contentWindow||e).document||e.ownerDocument||e;return/webkit/i.test(navigator.userAgent)||"BackCompat"==n.compatMode?n.body:n.documentElement})};t.fn.scrollTo=function(n,o,s){if("object"==typeof o){s=o;o=0}"function"==typeof s&&(s={onAfter:s});"max"==n&&(n=9e9);s=t.extend({},e.defaults,s);o=o||s.duration;s.queue=s.queue&&s.axis.length>1;s.queue&&(o/=2);s.offset=i(s.offset);s.over=i(s.over);return this._scrollable().each(function(){if(null==n)return;var r=this,a=t(r),l=n,c,u={},d=a.is("html,body");switch(typeof l){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(l)){l=i(l);break}l=d?t(l):t(l,this);if(!l.length)return;case"object":(l.is||l.style)&&(c=(l=t(l)).offset())}var h=t.isFunction(s.offset)&&s.offset(r,l)||s.offset;t.each(s.axis.split(""),function(t,i){var n="x"==i?"Left":"Top",o=n.toLowerCase(),f="scroll"+n,m=r[f],g=e.max(r,i);if(c){u[f]=c[o]+(d?0:m-a.offset()[o]);if(s.margin){u[f]-=parseInt(l.css("margin"+n))||0;u[f]-=parseInt(l.css("border"+n+"Width"))||0}u[f]+=h[o]||0;s.over[o]&&(u[f]+=l["x"==i?"width":"height"]()*s.over[o])}else{var v=l[o];u[f]=v.slice&&"%"==v.slice(-1)?parseFloat(v)/100*g:v}s.limit&&/^\d+$/.test(u[f])&&(u[f]=u[f]<=0?0:Math.min(u[f],g));if(!t&&s.queue){m!=u[f]&&p(s.onAfterFirst);delete u[f]}});p(s.onAfter);function p(t){a.animate(u,o,s.easing,t&&function(){t.call(this,l,s)})}}).end()};e.max=function(e,i){var n="x"==i?"Width":"Height",o="scroll"+n;if(!t(e).is("html,body"))return e[o]-t(e)[n.toLowerCase()]();var s="client"+n,r=e.ownerDocument.documentElement,a=e.ownerDocument.body;return Math.max(r[o],a[o])-Math.min(r,a)};function i(e){return t.isFunction(e)||t.isPlainObject(e)?e:{top:e,left:e}}return e}.apply(e,n),void 0!==o&&(t.exports=o))})(i(31))},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(e,i){(function(t,e){if(t.cleanData){var i=t.cleanData;t.cleanData=function(e){for(var n=0,o;null!=(o=e[n]);n++)try{t(o).triggerHandler("remove")}catch(t){}i(e)}}else{var n=t.fn.remove;t.fn.remove=function(e,i){return this.each(function(){i||(!e||t.filter(e,[this]).length)&&t("*",this).add([this]).each(function(){try{t(this).triggerHandler("remove")}catch(t){}});return n.call(t(this),e,i)})}}t.widget=function(e,i,n){var o=e.split(".")[0],s;e=e.split(".")[1],s=o+"-"+e,n||(n=i,i=t.Widget),t.expr[":"]=function(i){return!!t.data(i,e)},t[o]=t[o]||{},t[o][e]=function(t,e){arguments.length&&this._createWidget(t,e)};var r=new i;r.options=t.extend(!0,{},r.options),t[o][e].prototype=t.extend(!0,r,{namespace:o,widgetName:e,widgetEventPrefix:t[o][e].prototype.widgetEventPrefix||e,widgetBaseClass:s},n),t.widget.bridge(e,t[o][e])},t.widget.bridge=function(i,n){t.fn=function(o){var s="string"==typeof o,r=Array.prototype.slice.call(arguments,1),a=this;o=!s&&r.length?t.extend.apply(null,[!0,o].concat(r)):o;if(s&&"_"===o.charAt(0))return a;s?this.each(function(){var n=t.data(this,i),s=n&&t.isFunction(n[o])?n[o].apply(n,r):n;if(s!==n&&s!==e){a=s;return!1}}):this.each(function(){var e=t.data(this,i);e?e.option(o||{})._init():t.data(this,i,new n(o,this))});return a}},t.Widget=function(t,e){arguments.length&&this._createWidget(t,e)},t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(e,i){t.data(i,this.widgetName,this),this.element=t(i),this.options=t.extend(!0,{},this.options,this._getCreateOptions(),e);var n=this;this.element.bind("remove."+this.widgetName,function(){n.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return t.metadata&&t.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName),this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(i,n){var o=i;if(0===arguments.length)return t.extend({},this.options);if("string"==typeof i){if(n===e)return this.options;o={},o=n}this._setOptions(o);return this},_setOptions:function(e){var i=this;t.each(e,function(t,e){i._setOption(t,e)});return this},_setOption:function(t,e){this.options[t]=e,"disabled"===t&&this.widget()[e?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",e);return this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(e,i,n){var o,s,r=this.options[e];n=n||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],s=i.originalEvent;if(s)for(o in s)o in i||(i[o]=s[o]);this.element.trigger(i,n);return!(t.isFunction(r)&&!1===r.call(this.element[0],i,n)||i.isDefaultPrevented())}}})(jQuery);(function(e,i){function n(){return++r}function o(){return++s}var s=0,r=0;e.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:!1,cookie:null,collapsible:!1,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(!0)},_setOption:function(t,e){if("selected"==t){if(this.options.collapsible&&e==this.options.selected)return;this.select(e)}else this.options[t]=e,this._tabify()},_tabId:function(t){return t.title&&t.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+o()},_sanitizeSelector:function(t){return t.replace(/:/g,"\\:")},_cookie:function(){var t=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+n());return e.cookie.apply(null,[t].concat(e.makeArray(arguments)))},_ui:function(t,e){return{tab:t,panel:e,index:this.anchors.index(t)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var t=e(this);t.html(t.data("label.tabs")).removeData("label.tabs")})},_tabify:function(t){function n(t,i){t.css("display",""),!e.support.opacity&&i.opacity&&t[0].style.removeAttribute("filter")}var o=this,s=this.options,r=/^#.+/;this.list=this.element.find("ol,ul").eq(0),this.lis=e(" > li:has(a[href])",this.list),this.anchors=this.lis.map(function(){return e("a",this)[0]}),this.panels=e([]),this.anchors.each(function(t,i){var n=e(i).attr("href"),a=n.split("#")[0],l;a&&(a===location.toString().split("#")[0]||(l=e("base")[0])&&a===l.href)&&(n=i.hash,i.href=n);if(r.test(n))o.panels=o.panels.add(o.element.find(o._sanitizeSelector(n)));else if(n&&"#"!==n){e.data(i,"href.tabs",n),e.data(i,"load.tabs",n.replace(/#.*$/,""));var c=o._tabId(i);i.href="#"+c;var u=o.element.find("#"+c);u.length||(u=e(s.panelTemplate).attr("id",c).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(o.panels[t-1]||o.list),u.data("destroy.tabs",!0)),o.panels=o.panels.add(u)}else s.disabled.push(t)}),t?(this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"),this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addClass("ui-state-default ui-corner-top"),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom"),s.selected===i?(location.hash&&this.anchors.each(function(t,e){if(e.hash==location.hash){s.selected=t;return!1}}),"number"!=typeof s.selected&&s.cookie&&(s.selected=parseInt(o._cookie(),10)),"number"!=typeof s.selected&&this.lis.filter(".ui-tabs-selected").length&&(s.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))),s.selected=s.selected||(this.lis.length?0:-1)):null===s.selected&&(s.selected=-1),s.selected=s.selected>=0&&this.anchors[s.selected]||s.selected<0?s.selected:0,s.disabled=e.unique(s.disabled.concat(e.map(this.lis.filter(".ui-state-disabled"),function(t,e){return o.lis.index(t)}))).sort(),-1!=e.inArray(s.selected,s.disabled)&&s.disabled.splice(e.inArray(s.selected,s.disabled),1),this.panels.addClass("ui-tabs-hide"),this.lis.removeClass("ui-tabs-selected ui-state-active"),s.selected>=0&&this.anchors.length&&(o.element.find(o._sanitizeSelector(o.anchors[s.selected].hash)).removeClass("ui-tabs-hide"),this.lis.eq(s.selected).addClass("ui-tabs-selected ui-state-active"),o.element.queue("tabs",function(){o._trigger("show",null,o._ui(o.anchors[s.selected],o.element.find(o._sanitizeSelector(o.anchors[s.selected].hash))[0]))}),this.load(s.selected)),e(window).bind("unload",function(){o.lis.add(o.anchors).unbind(".tabs"),o.lis=o.anchors=o.panels=null})):s.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")),this.element[s.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible"),s.cookie&&this._cookie(s.selected,s.cookie);for(var a=0,l;l=this.lis[a];a++)e(l)[-1==e.inArray(a,s.disabled)||e(l).hasClass("ui-tabs-selected")?"removeClass":"addClass"]("ui-state-disabled");!1===s.cache&&this.anchors.removeData("cache.tabs"),this.lis.add(this.anchors).unbind(".tabs");if("mouseover"!==s.event){var c=function(t,e){e.is(":not(.ui-state-disabled)")&&e.addClass("ui-state-"+t)},u=function(t,e){e.removeClass("ui-state-"+t)};this.lis.bind("mouseover.tabs",function(){c("hover",e(this))}),this.lis.bind("mouseout.tabs",function(){u("hover",e(this))}),this.anchors.bind("focus.tabs",function(){c("focus",e(this).closest("li"))}),this.anchors.bind("blur.tabs",function(){u("focus",e(this).closest("li"))})}var d,h;s.fx&&(e.isArray(s.fx)?(d=s.fx[0],h=s.fx[1]):d=h=s.fx);var p=h?function(t,i){e(t).closest("li").addClass("ui-tabs-selected ui-state-active"),i.hide().removeClass("ui-tabs-hide").animate(h,h.duration||"normal",function(){n(i,h),o._trigger("show",null,o._ui(t,i[0]))})}:function(t,i){e(t).closest("li").addClass("ui-tabs-selected ui-state-active"),i.removeClass("ui-tabs-hide"),o._trigger("show",null,o._ui(t,i[0]))},f=d?function(t,e){e.animate(d,d.duration||"normal",function(){o.lis.removeClass("ui-tabs-selected ui-state-active"),e.addClass("ui-tabs-hide"),n(e,d),o.element.dequeue("tabs")})}:function(t,e,i){o.lis.removeClass("ui-tabs-selected ui-state-active"),e.addClass("ui-tabs-hide"),o.element.dequeue("tabs")};this.anchors.bind(s.event+".tabs",function(){var t=this,i=e(t).closest("li"),n=o.panels.filter(":not(.ui-tabs-hide)"),r=o.element.find(o._sanitizeSelector(t.hash));if(i.hasClass("ui-tabs-selected")&&!s.collapsible||i.hasClass("ui-state-disabled")||i.hasClass("ui-state-processing")||o.panels.filter(":animated").length||!1===o._trigger("select",null,o._ui(this,r[0]))){this.blur();return!1}s.selected=o.anchors.index(this),o.abort();if(s.collapsible){if(i.hasClass("ui-tabs-selected")){s.selected=-1,s.cookie&&o._cookie(s.selected,s.cookie),o.element.queue("tabs",function(){f(t,n)}).dequeue("tabs"),this.blur();return!1}if(!n.length){s.cookie&&o._cookie(s.selected,s.cookie),o.element.queue("tabs",function(){p(t,r)}),o.load(o.anchors.index(this)),this.blur();return!1}}s.cookie&&o._cookie(s.selected,s.cookie);if(!r.length)throw"jQuery UI Tabs: Mismatching fragment identifier.";n.length&&o.element.queue("tabs",function(){f(t,n)}),o.element.queue("tabs",function(){p(t,r)}),o.load(o.anchors.index(this));e.browser.msie&&this.blur()}),this.anchors.bind("click.tabs",function(){return!1})},_getIndex:function(t){"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$="+t+"]")));return t},destroy:function(){var t=this.options;this.abort(),this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs"),this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.anchors.each(function(){var t=e.data(this,"href.tabs");t&&(this.href=t);var i=e(this).unbind(".tabs");e.each(["href","load","cache"],function(t,e){i.removeData(e+".tabs")})}),this.lis.unbind(".tabs").add(this.panels).each(function(){e.data(this,"destroy.tabs")?e(this).remove():e(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}),t.cookie&&this._cookie(null,t.cookie);return this},add:function(t,n,o){o===i&&(o=this.anchors.length);var s=this,r=this.options,a=e(r.tabTemplate.replace(/#\{href\}/g,t).replace(/#\{label\}/g,n)),l=t.indexOf("#")?this._tabId(e("a",a)[0]):t.replace("#","");a.addClass("ui-state-default ui-corner-top").data("destroy.tabs",!0);var c=s.element.find("#"+l);c.length||(c=e(r.panelTemplate).attr("id",l).data("destroy.tabs",!0)),c.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"),o>=this.lis.length?(a.appendTo(this.list),c.appendTo(this.list[0].parentNode)):(a.insertBefore(this.lis[o]),c.insertBefore(this.panels[o])),r.disabled=e.map(r.disabled,function(t,e){return t>=o?++t:t}),this._tabify(),1==this.anchors.length&&(r.selected=0,a.addClass("ui-tabs-selected ui-state-active"),c.removeClass("ui-tabs-hide"),this.element.queue("tabs",function(){s._trigger("show",null,s._ui(s.anchors[0],s.panels[0]))}),this.load(0)),this._trigger("add",null,this._ui(this.anchors[o],this.panels[o]));return this},remove:function(t){t=this._getIndex(t);var i=this.options,n=this.lis.eq(t).remove(),o=this.panels.eq(t).remove();n.hasClass("ui-tabs-selected")&&this.anchors.length>1&&this.select(t+(t+1<this.anchors.length?1:-1)),i.disabled=e.map(e.grep(i.disabled,function(e,i){return e!=t}),function(e,i){return e>=t?--e:e}),this._tabify(),this._trigger("remove",null,this._ui(n.find("a")[0],o[0]));return this},enable:function(t){t=this._getIndex(t);var i=this.options;if(-1!=e.inArray(t,i.disabled)){this.lis.eq(t).removeClass("ui-state-disabled"),i.disabled=e.grep(i.disabled,function(e,i){return e!=t}),this._trigger("enable",null,this._ui(this.anchors[t],this.panels[t]));return this}},disable:function(t){t=this._getIndex(t);var e=this,i=this.options;t!=i.selected&&(this.lis.eq(t).addClass("ui-state-disabled"),i.disabled.push(t),i.disabled.sort(),this._trigger("disable",null,this._ui(this.anchors[t],this.panels[t])));return this},select:function(t){t=this._getIndex(t);if(-1==t){if(!this.options.collapsible||-1==this.options.selected)return this;t=this.options.selected}this.anchors.eq(t).trigger(this.options.event+".tabs");return this},load:function(t){t=this._getIndex(t);var i=this,n=this.options,o=this.anchors.eq(t)[0],s=e.data(o,"load.tabs");this.abort();if(s&&(0===this.element.queue("tabs").length||!e.data(o,"cache.tabs"))){this.lis.eq(t).addClass("ui-state-processing");if(n.spinner){var r=e("span",o);r.data("label.tabs",r.html()).html(n.spinner)}this.xhr=e.ajax(e.extend({},n.ajaxOptions,{url:s,success:function(s,r){i.element.find(i._sanitizeSelector(o.hash)).html(s),i._cleanup(),n.cache&&e.data(o,"cache.tabs",!0),i._trigger("load",null,i._ui(i.anchors[t],i.panels[t]));try{n.ajaxOptions.success(s,r)}catch(t){}},error:function(e,s,r){i._cleanup(),i._trigger("load",null,i._ui(i.anchors[t],i.panels[t]));try{n.ajaxOptions.error(e,s,t,o)}catch(r){}}})),i.element.dequeue("tabs");return this}this.element.dequeue("tabs")},abort:function(){this.element.queue([]),this.panels.stop(!1,!0),this.element.queue("tabs",this.element.queue("tabs").splice(-2,2)),this.xhr&&(this.xhr.abort(),delete this.xhr),this._cleanup();return this},url:function(t,e){this.anchors.eq(t).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}}),e.extend(e.ui.tabs,{version:"1.8.18"}),e.extend(e.ui.tabs.prototype,{rotation:null,rotate:function(e,i){var n=this,o=this.options,s=n._rotate||(n._rotate=function(t){clearTimeout(n.rotation),n.rotation=setTimeout(function(){var t=o.selected;n.select(++t<n.anchors.length?t:0)},e),t&&t.stopPropagation()}),r=n._unrotate||(n._unrotate=i?function(e){t=o.selected,s()}:function(t){t.clientX&&n.rotate(null)});e?(this.element.bind("tabsshow",s),this.anchors.bind(o.event+".tabs",r),s()):(clearTimeout(n.rotation),this.element.unbind("tabsshow",s),this.anchors.unbind(o.event+".tabs",r),delete this._rotate,delete this._unrotate);return this}})})(jQuery)},function(t,e){(function(t){var e=function(e,i){var n=t.extend({},t.fn.nivoSlider.defaults,i);var o={currentSlide:0,currentImage:"",totalSlides:0,running:false,paused:false,stop:false,controlNavEl:false};var s=t(e);s.data("nivo:vars",o).addClass("nivoSlider");var r=s.children();r.each(function(){var e=t(this);var i="";if(!e.is("img")){if(e.is("a")){e.addClass("nivo-imageLink");i=e}e=e.find("img:first")}var n=0===n?e.attr("width"):e.width(),s=0===s?e.attr("height"):e.height();""!==i&&i.css("display","none");e.css("display","none");o.totalSlides++});n.randomStart&&(n.startSlide=Math.floor(Math.random()*o.totalSlides));if(n.startSlide>0){n.startSlide>=o.totalSlides&&(n.startSlide=o.totalSlides-1);o.currentSlide=n.startSlide}t(r[o.currentSlide]).is("img")?o.currentImage=t(r[o.currentSlide]):o.currentImage=t(r[o.currentSlide]).find("img:first");t(r[o.currentSlide]).is("a")&&t(r[o.currentSlide]).css("display","block");var a=t("<img/>").addClass("nivo-main-image");a.attr("src",o.currentImage.attr("src")).show();s.append(a);t(window).resize(function(){s.children("img").width(s.width());a.attr("src",o.currentImage.attr("src"));a.stop().height("auto");t(".nivo-slice").remove();t(".nivo-box").remove()});s.append(t('<div class="nivo-caption"></div>'));var l=function(e){var i=t(".nivo-caption",s);if(""!=o.currentImage.attr("title")&&void 0!=o.currentImage.attr("title")){var n=o.currentImage.attr("title");"#"==n.substr(0,1)&&(n=t(n).html());if("block"==i.css("display"))setTimeout(function(){i.html(n)},e.animSpeed);else{i.html(n);i.stop().fadeIn(e.animSpeed)}}else i.stop().fadeOut(e.animSpeed)};l(n);var c=0;!n.manualAdvance&&r.length>1&&(c=setInterval(function(){f(s,r,n,false)},n.pauseTime));if(n.directionNav){s.append('<div class="nivo-directionNav"><a class="nivo-prevNav">'+n.prevText+'</a><a class="nivo-nextNav">'+n.nextText+"</a></div>");t(s).on("click","a.nivo-prevNav",function(){if(o.running)return false;clearInterval(c);c="";o.currentSlide-=2;f(s,r,n,"prev")});t(s).on("click","a.nivo-nextNav",function(){if(o.running)return false;clearInterval(c);c="";f(s,r,n,"next")})}if(n.controlNav){o.controlNavEl=t('<div class="nivo-controlNav"></div>');s.after(o.controlNavEl);for(var u=0;u<r.length;u++)if(n.controlNavThumbs){o.controlNavEl.addClass("nivo-thumbs-enabled");var d=r.eq(u);d.is("img")||(d=d.find("img:first"));d.attr("data-thumb")&&o.controlNavEl.append('<a class="nivo-control" rel="'+u+'"><img src="'+d.attr("data-thumb")+'" alt="" /></a>')}else o.controlNavEl.append('<a class="nivo-control" rel="'+u+'">'+(u+1)+"</a>");t("a:eq("+o.currentSlide+")",o.controlNavEl).addClass("active");t("a",o.controlNavEl).bind("click",function(){if(o.running)return false;if(t(this).hasClass("active"))return false;clearInterval(c);c="";a.attr("src",o.currentImage.attr("src"));o.currentSlide=t(this).attr("rel")-1;f(s,r,n,"control")})}n.pauseOnHover&&s.hover(function(){o.paused=true;clearInterval(c);c=""},function(){o.paused=false;""!==c||n.manualAdvance||(c=setInterval(function(){f(s,r,n,false)},n.pauseTime))});s.bind("nivo:animFinished",function(){a.attr("src",o.currentImage.attr("src"));o.running=false;t(r).each(function(){t(this).is("a")&&t(this).css("display","none")});t(r[o.currentSlide]).is("a")&&t(r[o.currentSlide]).css("display","block");""!==c||o.paused||n.manualAdvance||(c=setInterval(function(){f(s,r,n,false)},n.pauseTime));n.afterChange.call(this)});var h=function(e,i,n){t(n.currentImage).parent().is("a")&&t(n.currentImage).parent().css("display","block");t('img[src="'+n.currentImage.attr("src")+'"]',e).not(".nivo-main-image,.nivo-control img").width(e.width()).css("visibility","hidden").show();var o=t('img[src="'+n.currentImage.attr("src")+'"]',e).not(".nivo-main-image,.nivo-control img").parent().is("a")?t('img[src="'+n.currentImage.attr("src")+'"]',e).not(".nivo-main-image,.nivo-control img").parent().height():t('img[src="'+n.currentImage.attr("src")+'"]',e).not(".nivo-main-image,.nivo-control img").height();for(var s=0;s<i.slices;s++){var r=Math.round(e.width()/i.slices);s===i.slices-1?e.append(t('<div class="nivo-slice" name="'+s+'"><img src="'+n.currentImage.attr("src")+'" style="position:absolute; width:'+e.width()+"px; height:auto; display:block !important; top:0; left:-"+(r+s*r-r)+'px;" /></div>').css({left:r*s+"px",width:e.width()-r*s+"px",height:o+"px",opacity:"0",overflow:"hidden"})):e.append(t('<div class="nivo-slice" name="'+s+'"><img src="'+n.currentImage.attr("src")+'" style="position:absolute; width:'+e.width()+"px; height:auto; display:block !important; top:0; left:-"+(r+s*r-r)+'px;" /></div>').css({left:r*s+"px",width:r+"px",height:o+"px",opacity:"0",overflow:"hidden"}))}t(".nivo-slice",e).height(o);a.stop().animate({height:t(n.currentImage).height()},i.animSpeed)};var p=function(e,i,n){t(n.currentImage).parent().is("a")&&t(n.currentImage).parent().css("display","block");t('img[src="'+n.currentImage.attr("src")+'"]',e).not(".nivo-main-image,.nivo-control img").width(e.width()).css("visibility","hidden").show();var o=Math.round(e.width()/i.boxCols),s=Math.round(t('img[src="'+n.currentImage.attr("src")+'"]',e).not(".nivo-main-image,.nivo-control img").height()/i.boxRows);for(var r=0;r<i.boxRows;r++)for(var l=0;l<i.boxCols;l++)if(l===i.boxCols-1){e.append(t('<div class="nivo-box" name="'+l+'" rel="'+r+'"><img src="'+n.currentImage.attr("src")+'" style="position:absolute; width:'+e.width()+"px; height:auto; display:block; top:-"+s*r+"px; left:-"+o*l+'px;" /></div>').css({opacity:0,left:o*l+"px",top:s*r+"px",width:e.width()-o*l+"px"}));t('.nivo-box[name="'+l+'"]',e).height(t('.nivo-box[name="'+l+'"] img',e).height()+"px")}else{e.append(t('<div class="nivo-box" name="'+l+'" rel="'+r+'"><img src="'+n.currentImage.attr("src")+'" style="position:absolute; width:'+e.width()+"px; height:auto; display:block; top:-"+s*r+"px; left:-"+o*l+'px;" /></div>').css({opacity:0,left:o*l+"px",top:s*r+"px",width:o+"px"}));t('.nivo-box[name="'+l+'"]',e).height(t('.nivo-box[name="'+l+'"] img',e).height()+"px")}a.stop().animate({height:t(n.currentImage).height()},i.animSpeed)};var f=function(e,i,n,o){var s=e.data("nivo:vars");s&&s.currentSlide===s.totalSlides-1&&n.lastSlide.call(this);if((!s||s.stop)&&!o)return false;n.beforeChange.call(this);if(o){"prev"===o&&a.attr("src",s.currentImage.attr("src"));"next"===o&&a.attr("src",s.currentImage.attr("src"))}else a.attr("src",s.currentImage.attr("src"));s.currentSlide++;if(s.currentSlide===s.totalSlides){s.currentSlide=0;n.slideshowEnd.call(this)}s.currentSlide<0&&(s.currentSlide=s.totalSlides-1);t(i[s.currentSlide]).is("img")?s.currentImage=t(i[s.currentSlide]):s.currentImage=t(i[s.currentSlide]).find("img:first");if(n.controlNav){t("a",s.controlNavEl).removeClass("active");t("a:eq("+s.currentSlide+")",s.controlNavEl).addClass("active")}l(n);t(".nivo-slice",e).remove();t(".nivo-box",e).remove();var r=n.effect,c="";if("random"===n.effect){c=new Array("sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","fade","boxRandom","boxRain","boxRainReverse","boxRainGrow","boxRainGrowReverse");r=c[Math.floor(Math.random()*(c.length+1))];void 0===r&&(r="fade")}if(-1!==n.effect.indexOf(",")){c=n.effect.split(",");r=c[Math.floor(Math.random()*c.length)];void 0===r&&(r="fade")}s.currentImage.attr("data-transition")&&(r=s.currentImage.attr("data-transition"));s.running=true;var u=0,d=0,f="",g="",v="",y="";if("sliceDown"===r||"sliceDownRight"===r||"sliceDownLeft"===r){h(e,n,s);u=0;d=0;f=t(".nivo-slice",e);"sliceDownLeft"===r&&(f=t(".nivo-slice",e)._reverse());f.each(function(){var i=t(this);i.css({top:"0px"});d===n.slices-1?setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed,"",function(){e.trigger("nivo:animFinished")})},100+u):setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed)},100+u);u+=50;d++})}else if("sliceUp"===r||"sliceUpRight"===r||"sliceUpLeft"===r){h(e,n,s);u=0;d=0;f=t(".nivo-slice",e);"sliceUpLeft"===r&&(f=t(".nivo-slice",e)._reverse());f.each(function(){var i=t(this);i.css({bottom:"0px"});d===n.slices-1?setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed,"",function(){e.trigger("nivo:animFinished")})},100+u):setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed)},100+u);u+=50;d++})}else if("sliceUpDown"===r||"sliceUpDownRight"===r||"sliceUpDownLeft"===r){h(e,n,s);u=0;d=0;var w=0;f=t(".nivo-slice",e);"sliceUpDownLeft"===r&&(f=t(".nivo-slice",e)._reverse());f.each(function(){var i=t(this);if(0===d){i.css("top","0px");d++}else{i.css("bottom","0px");d=0}w===n.slices-1?setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed,"",function(){e.trigger("nivo:animFinished")})},100+u):setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed)},100+u);u+=50;w++})}else if("fold"===r){h(e,n,s);u=0;d=0;t(".nivo-slice",e).each(function(){var i=t(this);var o=i.width();i.css({top:"0px",width:"0px"});d===n.slices-1?setTimeout(function(){i.animate({width:o,opacity:"1.0"},n.animSpeed,"",function(){e.trigger("nivo:animFinished")})},100+u):setTimeout(function(){i.animate({width:o,opacity:"1.0"},n.animSpeed)},100+u);u+=50;d++})}else if("fade"===r){h(e,n,s);g=t(".nivo-slice:first",e);g.css({width:e.width()+"px"});g.animate({opacity:"1.0"},2*n.animSpeed,"",function(){e.trigger("nivo:animFinished")})}else if("slideInRight"===r){h(e,n,s);g=t(".nivo-slice:first",e);g.css({width:"0px",opacity:"1"});g.animate({width:e.width()+"px"},2*n.animSpeed,"",function(){e.trigger("nivo:animFinished")})}else if("slideInLeft"===r){h(e,n,s);g=t(".nivo-slice:first",e);g.css({width:"0px",opacity:"1",left:"",right:"0px"});g.animate({width:e.width()+"px"},2*n.animSpeed,"",function(){g.css({left:"0px",right:""});e.trigger("nivo:animFinished")})}else if("boxRandom"===r){p(e,n,s);v=n.boxCols*n.boxRows;d=0;u=0;y=m(t(".nivo-box",e));y.each(function(){var i=t(this);d===v-1?setTimeout(function(){i.animate({opacity:"1"},n.animSpeed,"",function(){e.trigger("nivo:animFinished")})},100+u):setTimeout(function(){i.animate({opacity:"1"},n.animSpeed)},100+u);u+=20;d++})}else if("boxRain"===r||"boxRainReverse"===r||"boxRainGrow"===r||"boxRainGrowReverse"===r){p(e,n,s);v=n.boxCols*n.boxRows;d=0;u=0;var b=0;var _=0;var C=[];C=[];y=t(".nivo-box",e);"boxRainReverse"!==r&&"boxRainGrowReverse"!==r||(y=t(".nivo-box",e)._reverse());y.each(function(){C[_]=t(this);_++;if(_===n.boxCols){b++;_=0;C=[]}});for(var x=0;x<2*n.boxCols;x++){var E=x;for(var T=0;T<n.boxRows;T++){if(E>=0&&E<n.boxCols){(function(i,o,s,a,l){var c=t(C[o]);var u=c.width();var d=c.height();"boxRainGrow"!==r&&"boxRainGrowReverse"!==r||c.width(0).height(0);a===l-1?setTimeout(function(){c.animate({opacity:"1",width:u,height:d},n.animSpeed/1.3,"",function(){e.trigger("nivo:animFinished")})},100+s):setTimeout(function(){c.animate({opacity:"1",width:u,height:d},n.animSpeed/1.3)},100+s)})(T,E,u,d,v);d++}E--}u+=100}}};var m=function(t){for(var e,i,n=t.length;n;e=parseInt(Math.random()*n,10),i=t[--n],t[n]=t[e],t[e]=i);return t};var g=function(t){this.console&&"undefined"!==typeof console.log&&console.log(t)};this.stop=function(){if(!t(e).data("nivo:vars").stop){t(e).data("nivo:vars").stop=true;g("Stop Slider")}};this.start=function(){if(t(e).data("nivo:vars").stop){t(e).data("nivo:vars").stop=false;g("Start Slider")}};n.afterLoad.call(this);return this};t.fn.nivoSlider=function(i){return this.each(function(n,o){var s=t(this);if(s.data("nivoslider"))return s.data("nivoslider");var r=new e(this,i);s.data("nivoslider",r)})};t.fn.nivoSlider.defaults={effect:"random",slices:15,boxCols:8,boxRows:4,animSpeed:500,pauseTime:3e3,startSlide:0,directionNav:true,controlNav:true,controlNavThumbs:false,pauseOnHover:true,manualAdvance:false,prevText:"Prev",nextText:"Next",randomStart:false,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}};t.fn._reverse=[].reverse})(jQuery)},function(module,exports){eval(function(t,e,i,n,o,s){o=function(t){return(t<e?"":o(parseInt(t/e)))+((t%=e)>35?String.fromCharCode(t+29):t.toString(36))};if(!"".replace(/^/,String)){while(i--)s[o(i)]=n||o(i);n=[function(t){return s[t]}];o=function(){return"\\w+"};i=1}while(i--)n&&(t=t.replace(new RegExp("\\b"+o(i)+"\\b","g"),n));return t}(";4(w)(3($){$.Y.T=3(c){c=$.15({m:'X U',E:'',B:z,8:z},c||{});o d={};o e={t:3(n,a,b){2.6(n);$(a).D('.j').A().l(b||'x')},6:3(n){$(d[n].7).O('.j').u('9').u('x')},h:3(n){4(!$(d[n].5).Z('.m')){$(d[n].5).D('.j').A().l('9')}},g:3(n,a){d[n].5=a;o b=$(a).L('a').K();$(d[n].7).J(b);e.6(n);e.h(n);4(c.I)c.I.W(d[n].7,[b,a])}};2.V(3(i){o n=2.G;4(!d[n])d[n]={r:0};i=d[n].r;d[n].r++;4(i==0){c.8=$(2).S('p')||c.8;d[n].7=$('<R Q=\"P\" G=\"'+n+'\" q=\"\"'+(c.8?' p=\"p\"':'')+'>');$(2).C(d[n].7);4(c.8||c.B){}F{$(2).C($('<k y=\"m\"><a s=\"'+c.m+'\">'+c.E+'</a></k>').H(3(){e.6(n);$(2).l('9')}).v(3(){e.h(n);$(2).u('9')}).g(3(){e.g(n,2)}))}};f=$('<k y=\"j\"><a s=\"'+(2.s||2.q)+'\">'+2.q+'</a></k>');$(2).N(f);4(c.8){$(f).l('M')}F{$(f).H(3(){e.6(n);e.t(n,2)}).v(3(){e.6(n);e.h(n)}).g(3(){e.g(n,2)})};4(2.14)d[n].5=f;$(2).13();4(i+1==2.12)e.h(n)});11(n 10 d)4(d[n].5){e.t(n,d[n].5,'9');$(d[n].7).J($(d[n].5).L('a').K())}16 2}})(w);",62,69,"||this|function|if|currentElem|drain|valueElem|readOnly|star_on||||||eStar|click|reset||star|div|addClass|cancel||var|disabled|value|count|title|fill|removeClass|mouseout|jQuery|star_hover|class|false|andSelf|required|before|prevAll|cancelValue|else|name|mouseover|callback|val|text|children|star_readonly|after|siblings|hidden|type|input|attr|rating|Rating|each|apply|Cancel|fn|is|in|for|length|remove|checked|extend|return".split("|"),0,{}))},function(t,e,i){var n,o,s;!function(r){!(o=[i(0)],n=r,s="function"===typeof n?n.apply(e,o):n,void 0!==s&&(t.exports=s))}(function(t){"use strict";var e=function(i,n){this.$element=t(i),this.defaults=t.extend({},e.defaults,this.$element.data(),t.isPlainObject(n)?n:{}),this.init()};e.prototype={constructor:e,init:function(){var t=this.$element.html(),e=new Date(this.defaults.date||t);e.getTime()&&(this.content=t,this.date=e,this.find(),this.defaults.autoStart&&this.start())},find:function(){var t=this.$element;this.$days=t.find("[data-days]"),this.$hours=t.find("[data-hours]"),this.$minutes=t.find("[data-minutes]"),this.$seconds=t.find("[data-seconds]"),0<this.$days.length+this.$hours.length+this.$minutes.length+this.$seconds.length&&(this.found=!0)},reset:function(){this.found?(this.output("days"),this.output("hours"),this.output("minutes"),this.output("seconds")):this.output()},ready:function(){var t,e=this.date,i={};return!!e&&((t=e.getTime()-(new Date).getTime())<=0?(this.end(),!1):(i.days=t,i.hours=i.days%864e5,i.minutes=i.hours%36e5,i.seconds=i.minutes%6e4,i.milliseconds=i.seconds%1e3,this.days=Math.floor(i.days/864e5),this.hours=Math.floor(i.hours/36e5),this.minutes=Math.floor(i.minutes/6e4),this.seconds=Math.floor(i.seconds/1e3),this.deciseconds=Math.floor(i.milliseconds/100),!0))},start:function(){!this.active&&this.ready()&&(this.active=!0,this.reset(),this.autoUpdate=this.defaults.fast?setInterval(t.proxy(this.fastUpdate,this),100):setInterval(t.proxy(this.update,this),1e3))},stop:function(){this.active&&(this.active=!1,clearInterval(this.autoUpdate))},end:function(){this.date&&(this.stop(),this.days=0,this.hours=0,this.minutes=0,this.seconds=0,this.deciseconds=0,this.reset(),this.defaults.end())},destroy:function(){this.date&&(this.stop(),this.$days=null,this.$hours=null,this.$minutes=null,this.$seconds=null,this.$element.empty().html(this.content),this.$element.removeData("countdown"))},fastUpdate:function(){0<=--this.deciseconds?this.output("deciseconds"):(this.deciseconds=9,this.update())},update:function(){0<=--this.seconds?this.output("seconds"):(this.seconds=59,0<=--this.minutes?this.output("minutes"):(this.minutes=59,0<=--this.hours?this.output("hours"):(this.hours=23,0<=--this.days?this.output("days"):this.end())))},output:function(t){if(this.found)switch(t){case"deciseconds":this.$seconds.text(this.getSecondsText());break;case"seconds":this.$seconds.text(this.seconds);break;case"minutes":this.$minutes.text(this.minutes);break;case"hours":this.$hours.text(this.hours);break;case"days":this.$days.text(this.days)}else this.$element.empty().html(this.template())},template:function(){return this.defaults.text.replace("%s",this.days).replace("%s",this.hours).replace("%s",this.minutes).replace("%s",this.getSecondsText())},getSecondsText:function(){return this.active&&this.defaults.fast?this.seconds+"."+this.deciseconds:this.seconds}},e.defaults={autoStart:!0,date:null,fast:!1,end:t.noop,text:"%s days, %s hrs, %s min, %s seconds"},e.setDefaults=function(i){t.extend(e.defaults,i)},t.fn.countdown=function(i){return this.each(function(){var n=t(this),o=n.data("countdown");o||n.data("countdown",o=new e(this,i)),"string"==typeof i&&t.isFunction(o)&&o()})},t.fn.countdown.constructor=e,t.fn.countdown.setDefaults=e.setDefaults,t(function(){t("[countdown]").countdown()})})},function(t,e){(function(){var t,e,i,n,o,s,r,a,l,c,u,d,h,p,f,m,g,v,y,w,b,_,C,x,E,T,S,k,I,$,A,O,D,P,N,L,j,V,M,F,R,H,z,q,W,B,U,Q,X,Y=[].slice,G={}.hasOwnProperty,K=function(t,e){for(var i in e)G.call(e,i)&&(t=e);function n(){this.constructor=t}n.prototype=e.prototype;t.prototype=new n;t.__super__=e.prototype;return t},Z=[].indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(e in this&&this[e]===t)return e;return-1};b={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:false,restartOnPushState:false,restartOnRequestAfter:false,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:false};I=function(){var t;return null!=(t="undefined"!==typeof performance&&null!==performance&&"function"===typeof performance.now?performance.now():void 0)?t:+new Date};A=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame;w=window.cancelAnimationFrame||window.mozCancelAnimationFrame;if(null==A){A=function(t){return setTimeout(t,50)};w=function(t){return clearTimeout(t)}}D=function(t){var e,i;e=I();i=function(){var n;n=I()-e;if(n>=33){e=I();return t(n,function(){return A(i)})}return setTimeout(i,33-n)};return i()};O=function(){var t,e,i;i=arguments[0],e=arguments[1],t=3<=arguments.length?Y.call(arguments,2):[];return"function"===typeof i[e]?i[e].apply(i,t):i[e]};_=function(){var t,e,i,n,o,s,r;e=arguments[0],n=2<=arguments.length?Y.call(arguments,1):[];for(s=0,r=n.length;s<r;s++){i=n;if(i)for(t in i){if(!G.call(i,t))continue;o=i[t];null!=e[t]&&"object"===typeof e[t]&&null!=o&&"object"===typeof o?_(e[t],o):e[t]=o}}return e};g=function(t){var e,i,n,o,s;i=e=0;for(o=0,s=t.length;o<s;o++){n=t[o];i+=Math.abs(n);e++}return i/e};x=function(t,e){var i,n,o;null==t&&(t="options");null==e&&(e=true);o=document.querySelector("[data-pace-"+t+"]");if(!o)return;i=o.getAttribute("data-pace-"+t);if(!e)return i;try{return JSON.parse(i)}catch(t){n=t;return"undefined"!==typeof console&&null!==console?console.error("Error parsing inline pace options",n):void 0}};r=function(){function t(){}t.prototype.on=function(t,e,i,n){var o;null==n&&(n=false);null==this.bindings&&(this.bindings={});null==(o=this.bindings)[t]&&(o[t]=[]);return this.bindings[t].push({handler:e,ctx:i,once:n})};t.prototype.once=function(t,e,i){return this.on(t,e,i,true)};t.prototype.off=function(t,e){var i,n,o;if(null==(null!=(n=this.bindings)?n[t]:void 0))return;if(null==e)return delete this.bindings[t];i=0;o=[];while(i<this.bindings[t].length)this.bindings[t].handler===e?o.push(this.bindings[t].splice(i,1)):o.push(i++);return o};t.prototype.trigger=function(){var t,e,i,n,o,s,r,a,l;i=arguments[0],t=2<=arguments.length?Y.call(arguments,1):[];if(null!=(r=this.bindings)?r:void 0){o=0;l=[];while(o<this.bindings.length){a=this.bindings[o],n=a.handler,e=a.ctx,s=a.once;n.apply(null!=e?e:this,t);s?l.push(this.bindings.splice(o,1)):l.push(o++)}return l}};return t}();c=window.Pace||{};window.Pace=c;_(c,r.prototype);$=c.options=_({},b,window.paceOptions,x());U=["ajax","document","eventLag","elements"];for(z=0,W=U.length;z<W;z++){j=U[z];true===$[j]&&($[j]=b[j])}l=function(t){K(e,t);function e(){Q=e.__super__.constructor.apply(this,arguments);return Q}return e}(Error);e=function(){function t(){this.progress=0}t.prototype.getElement=function(){var t;if(null==this.el){t=document.querySelector($.target);if(!t)throw new l;this.el=document.createElement("div");this.el.className="pace pace-active";document.body.className=document.body.className.replace(/pace-done/g,"");document.body.className+=" pace-running";this.el.innerHTML='<div class="pace-progress">\n  <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>';null!=t.firstChild?t.insertBefore(this.el,t.firstChild):t.appendChild(this.el)}return this.el};t.prototype.finish=function(){var t;t=this.getElement();t.className=t.className.replace("pace-active","");t.className+=" pace-inactive";document.body.className=document.body.className.replace("pace-running","");return document.body.className+=" pace-done"};t.prototype.update=function(t){this.progress=t;return this.render()};t.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(t){l=t}return this.el=void 0};t.prototype.render=function(){var t,e,i,n,o,s,r;if(null==document.querySelector($.target))return false;t=this.getElement();n="translate3d("+this.progress+"%, 0, 0)";r=["webkitTransform","msTransform","transform"];for(o=0,s=r.length;o<s;o++){e=r[o];t.children[0].style[e]=n}if(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0){t.children[0].setAttribute("data-progress-text",(0|this.progress)+"%");if(this.progress>=100)i="99";else{i=this.progress<10?"0":"";i+=0|this.progress}t.children[0].setAttribute("data-progress",""+i)}return this.lastRenderedProgress=this.progress};t.prototype.done=function(){return this.progress>=100};return t}();a=function(){function t(){this.bindings={}}t.prototype.trigger=function(t,e){var i,n,o,s,r;if(null!=this.bindings[t]){s=this.bindings[t];r=[];for(n=0,o=s.length;n<o;n++){i=s[n];r.push(i.call(this,e))}return r}};t.prototype.on=function(t,e){var i;null==(i=this.bindings)[t]&&(i[t]=[]);return this.bindings[t].push(e)};return t}();H=window.XMLHttpRequest;R=window.XDomainRequest;F=window.WebSocket;C=function(t,e){var i,n,o;o=[];for(n in e.prototype)try{null==t[n]&&"function"!==typeof e[n]?"function"===typeof Object.defineProperty?o.push(Object.defineProperty(t,n,{get:function(){return e.prototype[n]},configurable:true,enumerable:true})):o.push(t[n]=e.prototype[n]):o.push(void 0)}catch(t){i=t}return o};S=[];c.ignore=function(){var t,e,i;e=arguments[0],t=2<=arguments.length?Y.call(arguments,1):[];S.unshift("ignore");i=e.apply(null,t);S.shift();return i};c.track=function(){var t,e,i;e=arguments[0],t=2<=arguments.length?Y.call(arguments,1):[];S.unshift("track");i=e.apply(null,t);S.shift();return i};L=function(t){var e;null==t&&(t="GET");if("track"===S[0])return"force";if(!S.length&&$.ajax){if("socket"===t&&$.ajax.trackWebSockets)return true;if(e=t.toUpperCase(),Z.call($.ajax.trackMethods,e)>=0)return true}return false};u=function(t){K(e,t);function e(){var t,i=this;e.__super__.constructor.apply(this,arguments);t=function(t){var e;e=t.open;return t.open=function(n,o,s){L(n)&&i.trigger("request",{type:n,url:o,request:t});return e.apply(t,arguments)}};window.XMLHttpRequest=function(e){var i;i=new H(e);t(i);return i};try{C(window.XMLHttpRequest,H)}catch(t){}if(null!=R){window.XDomainRequest=function(){var e;e=new R;t(e);return e};try{C(window.XDomainRequest,R)}catch(t){}}if(null!=F&&$.ajax.trackWebSockets){window.WebSocket=function(t,e){var n;n=null!=e?new F(t,e):new F(t);L("socket")&&i.trigger("request",{type:"socket",url:t,protocols:e,request:n});return n};try{C(window.WebSocket,F)}catch(t){}}}return e}(a);q=null;E=function(){null==q&&(q=new u);return q};N=function(t){var e,i,n,o;o=$.ajax.ignoreURLs;for(i=0,n=o.length;i<n;i++){e=o;if("string"===typeof e){if(-1!==t.indexOf(e))return true}else if(e.test(t))return true}return false};E().on("request",function(e){var i,n,o,s,r;s=e.type,o=e.request,r=e.url;if(N(r))return;if(!c.running&&(false!==$.restartOnRequestAfter||"force"===L(s))){n=arguments;i=$.restartOnRequestAfter||0;"boolean"===typeof i&&(i=0);return setTimeout(function(){var e,i,r,a,l,u;e="socket"===s?o.readyState<2:0<(a=o.readyState)&&a<4;if(e){c.restart();l=c.sources;u=[];for(i=0,r=l.length;i<r;i++){j=l;if(j instanceof t){j.watch.apply(j,n);break}u.push(void 0)}return u}},i)}});t=function(){function t(){var t=this;this.elements=[];E().on("request",function(){return t.watch.apply(t,arguments)})}t.prototype.watch=function(t){var e,i,n,o;n=t.type,e=t.request,o=t.url;if(N(o))return;i="socket"===n?new p(e):new f(e);return this.elements.push(i)};return t}();f=function(){function t(t){var e,i,n,o,s,r,a=this;this.progress=0;if(null!=window.ProgressEvent){i=null;t.addEventListener("progress",function(t){return t.lengthComputable?a.progress=100*t.loaded/t.total:a.progress=a.progress+(100-a.progress)/2},false);r=["load","abort","timeout","error"];for(n=0,o=r.length;n<o;n++){e=r[n];t.addEventListener(e,function(){return a.progress=100},false)}}else{s=t.onreadystatechange;t.onreadystatechange=function(){var e;0===(e=t.readyState)||4===e?a.progress=100:3===t.readyState&&(a.progress=50);return"function"===typeof s?s.apply(null,arguments):void 0}}}return t}();p=function(){function t(t){var e,i,n,o,s=this;this.progress=0;o=["error","open"];for(i=0,n=o.length;i<n;i++){e=o;t.addEventListener(e,function(){return s.progress=100},false)}}return t}();n=function(){function t(t){var e,i,n,s;null==t&&(t={});this.elements=[];null==t.selectors&&(t.selectors=[]);s=t.selectors;for(i=0,n=s.length;i<n;i++){e=s;this.elements.push(new o(e))}}return t}();o=function(){function t(t){this.selector=t;this.progress=0;this.check()}t.prototype.check=function(){var t=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return t.check()},$.elements.checkInterval)};t.prototype.done=function(){return this.progress=100};return t}();i=function(){t.prototype.states={loading:0,interactive:50,complete:100};function t(){var t,e,i=this;this.progress=null!=(e=this.states[document.readyState])?e:100;t=document.onreadystatechange;document.onreadystatechange=function(){null!=i.states[document.readyState]&&(i.progress=i.states[document.readyState]);return"function"===typeof t?t.apply(null,arguments):void 0}}return t}();s=function(){function t(){var t,e,i,n,o,s=this;this.progress=0;t=0;o=[];n=0;i=I();e=setInterval(function(){var r;r=I()-i-50;i=I();o.push(r);o.length>$.eventLag.sampleCount&&o.shift();t=g(o);if(++n>=$.eventLag.minSamples&&t<$.eventLag.lagThreshold){s.progress=100;return clearInterval(e)}return s.progress=3/(t+3)*100},50)}return t}();h=function(){function t(t){this.source=t;this.last=this.sinceLastUpdate=0;this.rate=$.initialRate;this.catchup=0;this.progress=this.lastProgress=0;null!=this.source&&(this.progress=O(this.source,"progress"))}t.prototype.tick=function(t,e){var i;null==e&&(e=O(this.source,"progress"));e>=100&&(this.done=true);if(e===this.last)this.sinceLastUpdate+=t;else{this.sinceLastUpdate&&(this.rate=(e-this.last)/this.sinceLastUpdate);this.catchup=(e-this.progress)/$.catchupTime;this.sinceLastUpdate=0;this.last=e}e>this.progress&&(this.progress+=this.catchup*t);i=1-Math.pow(this.progress/100,$.easeFactor);this.progress+=i*this.rate*t;this.progress=Math.min(this.lastProgress+$.maxProgressPerFrame,this.progress);this.progress=Math.max(0,this.progress);this.progress=Math.min(100,this.progress);this.lastProgress=this.progress;return this.progress};return t}();V=null;P=null;v=null;M=null;m=null;y=null;c.running=false;T=function(){if($.restartOnPushState)return c.restart()};if(null!=window.history.pushState){B=window.history.pushState;window.history.pushState=function(){T();return B.apply(window.history,arguments)}}if(null!=window.history.replaceState){X=window.history.replaceState;window.history.replaceState=function(){T();return X.apply(window.history,arguments)}}d={ajax:t,elements:n,document:i,eventLag:s};(k=function(){var t,i,n,o,s,r,a,l;c.sources=V=[];r=["ajax","elements","document","eventLag"];for(i=0,o=r.length;i<o;i++){t=r;false!==$[t]&&V.push(new d[t]($[t]))}l=null!=(a=$.extraSources)?a:[];for(n=0,s=l.length;n<s;n++){j=l[n];V.push(new j($))}c.bar=v=new e;P=[];return M=new h})();c.stop=function(){c.trigger("stop");c.running=false;v.destroy();y=true;if(null!=m){"function"===typeof w&&w(m);m=null}return k()};c.restart=function(){c.trigger("restart");c.stop();return c.start()};c.go=function(){var t;c.running=true;v.render();t=I();y=false;return m=D(function(e,i){var n,o,s,r,a,l,u,d,p,f,m,g,w,b,_,C;d=100-v.progress;o=m=0;s=true;for(l=g=0,b=V.length;g<b;l=++g){j=V[l];f=null!=P[l]?P[l]:P[l]=[];a=null!=(C=j.elements)?C:[j];for(u=w=0,_=a.length;w<_;u=++w){r=a;p=null!=f?f:f=new h(r);s&=p.done;if(p.done)continue;o++;m+=p.tick(e)}}n=m/o;v.update(M.tick(e,n));if(v.done()||s||y){v.update(100);c.trigger("done");return setTimeout(function(){v.finish();c.running=false;return c.trigger("hide")},Math.max($.ghostTime,Math.max($.minTime-(I()-t),0)))}return i()})};c.start=function(t){_($,t);c.running=true;try{v.render()}catch(t){l=t}if(document.querySelector(".pace")){c.trigger("start");return c.go()}return setTimeout(c.start,50)}})(jQuery)},function(t,e){function i(t,e){if(""!=$("#"+t).val()){$("head").append('<link id="link_'+t+'" rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family='+$("#"+t).val()+'">');$.cookie(""+t,$("#"+t).val());$(""+e).css("font-family",$.cookie(t))}}function n(t){$("div.option_columns div").hide();$("div."+t).show()}function o(){var t={};if(document.cookie&&""!=document.cookie){var e=document.cookie.split(";");for(var i=0;i<e.length;i++){var n=e.split("=");n[0]=n[0].replace(/^ /,"");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}}return t}$(window).ready(function(){$("input[name=color_template]").click(function(){s();$.cookie("color_template",$(this).val());$.ajax({type:"POST",headers:{"cache-control":"no-cache"},url:path_config+"color_ajax.php?rand="+(new Date).getTime(),data:"reset=0&color_template="+$(this).val(),success:function(t){location.reload(true)}})});$("input[value="+$.cookie("color_template")+"]").attr("checked","true");var t='<style id="setconfig">.box-mode #page{\tposition: relative; width: 1200px;   box-shadow: 0 0 8px #666666;    margin: 0 auto;}</style>';if($.cookie("mode_css"))if("1200px"==$.cookie("mode_css")){$("body").addClass("box-mode");$("#page").css("width","");$("body").append(t)}else{$("body style#setconfig").remove();$("#page").css("width",$.cookie("mode_css"));$("body").removeClass("box-mode")}$("input[name=mode_css][value=box]").click(function(){$("#page").css("width","");$("link#setconfig").length||$("body").append(t);$("body").addClass("box-mode");$.cookie("mode_css","1200px");$.cookie("mode_css_input","box")});$("input[name=mode_css][value=wide]").click(function(){$("#page").css("width","100%");$("body style#setconfig").remove();$.cookie("mode_css","100%");$.cookie("mode_css_input","wide");$("body").removeClass("box-mode");"index"==page_name});$("#wt_reset").click(function(){var t=o();for(var e in t)"display"!=e&&"display_class"!=e&&$.cookie(e,null);$("input[name=color_template]").attr("checked",false);$("input[name=mode_css]").attr("checked",false);$(".pattern_item").removeClass("active");$.ajax({type:"POST",headers:{"cache-control":"no-cache"},url:path_config+"color_ajax.php?rand="+(new Date).getTime(),data:"reset=1",success:function(t){location.reload(true)}})});$("#demo_container .head").click(function(){if($(this).hasClass("show"))$(this).removeClass("show");else{$("#demo_container .head").removeClass("show");$(this).addClass("show")}$(this).closest("li").find(".demo_content").slideToggle(function(){if($(this).closest("li").find(".demo_content").is(":hidden"))$(this).closest("li").find(".demo_content").hide();else{$("#demo_container .demo_content").hide();$(this).closest("li").find(".demo_content").show()}})});if($.cookie("cookie_bg_pattern")){$("body").css("background-image",'url("'+$.cookie("cookie_bg_pattern")+'")');$("body").css("background-repeat","repeat")}});function s(){var t=o();for(var e in t)"display"!=e&&"display_class"!=e&&$.cookie(e,null);$(".pattern_item").removeClass("active")}$(function(){var t="";function e(e,n){$("#"+e).ColorPicker({color:"#0000ff",onShow:function(t){$(t).fadeIn(500);return false},onHide:function(t){$(t).fadeOut(500);return false},onChange:function(o,s,r){$("#"+e).css("background","#"+s);$.cookie(""+e,"#"+s);for(var a in n)if(a)if(-1!=a.indexOf("_")){var l=a.split("_");var c=l[0];var u=-1*parseInt(l[1]);var d=i($.cookie(e),u);$(""+n[a]).css(""+c,""+d)}else{$(""+n[a]).css(""+a,""+$.cookie(e));t=$.cookie(e);var h=n[a];var p=new Array;var p=h.split(",");for(j=0;j<p.length;j++){var f=p[j].indexOf(":hover");if(f>0){var m=p[j].substr(0,f);var g=f+7;var v=p[j].substr(g,p[j].length);$(m).hover(function(){$(".quick-view",this).css("background-color",$.cookie(e));$(".button.ajax_add_to_cart_button",this).css("background-color",$.cookie(e))},function(){$(".quick-view",this).css("background-color","#f5f5f5");$(".button.ajax_add_to_cart_button",this).css("background-color","#f5f5f5")})}}}}});if(null!=$.cookie(""+e)){$("#"+e).css("background",""+$.cookie(e));for(var o in n)if(o)if(-1!=o.indexOf("_")){var s=o.split("_");var r=s[0];var a=-1*parseInt(s[1]);var l=i($.cookie(e),a);$(""+n[o]).css(""+r,""+l)}else{$(""+n[o]).css(""+o,""+$.cookie(e));t=$.cookie(e);var c=n[o];var u=new Array;var u=c.split(",");for(j=0;j<u.length;j++){var d=u[j].indexOf(":hover ");if(d>0){var h=u[j].substr(0,d);var p=d+7;var f=u[j].substr(p,u[j].length);$(h).hover(function(){$(".quick-view",this).css("background-color",$.cookie(e));$(".button.ajax_add_to_cart_button",this).css("background-color",$.cookie(e))},function(){$(".quick-view",this).css("background-color","#f5f5f5");$(".button.ajax_add_to_cart_button",this).css("background-color","#f5f5f5")})}}}}}$(document).ready(function(){$(document).on("click","#demo_icon_set",function(){if($("#demo_frontend").hasClass("slideShowPanel")){$("#demo_frontend").animate({right:"-276px"},500);$("#demo_frontend").removeClass("slideShowPanel")}else{$("#demo_frontend").animate({right:"0px"},500);$("#demo_frontend").addClass("slideShowPanel")}});$(document).on("click",".close-demo_frontend",function(){if($("#demo_frontend").hasClass("slideShowPanel")){$("#demo_frontend").animate({right:"-276px"},500);$("#demo_frontend").removeClass("slideShowPanel")}else{$("#demo_frontend").animate({right:"0px"},500);$("#demo_frontend").addClass("slideShowPanel")}});var t=config_data;for(var i in t)i&&e(i,t["selector"]);var n=config_body_col});function i(t,e){var i=false;if("#"==t[0]){t=t.slice(1);i=true}var n=parseInt(t,16);var o=(n>>16)+e;o>255?o=255:o<0&&(o=0);var s=(n>>8&255)+e;s>255?s=255:s<0&&(s=0);var r=(255&n)+e;r>255?r=255:r<0&&(r=0);return(i?"#":"")+(r|s<<8|o<<16).toString(16)}})},function(t,e){function i(){var t;"number"==typeof window.innerWidth?t=window.innerWidth:document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?t=document.documentElement.clientWidth:document.body&&(document.body.clientWidth||document.body.clientHeight)&&(t=document.body.clientWidth);return t}function n(t,e){"undefined"==typeof e&&(e=false);if(t.prop("href")){var i=t.attr("tv-img-src");var n=t.attr("title");var o=t.attr("href");t.parent().parent().parent().parent().parent().find(".wt-image").prop("src")!=i&&t.parent().parent().parent().parent().parent().find(".wt-image").attr({src:i,alt:n,title:n}).load(function(){"undefined"!=typeof jqZoomEnabled&&jqZoomEnabled&&$(this).attr("rel",o)});$(".thumbs_list li a").removeClass("shown");$(t).addClass("shown")}}$(function(){var t=1;if("undefined"!==typeof t&&t){"undefined"!==typeof scrol_to_top_text&&scrol_to_top_text||(scrol_to_top_text="to top");var e="<div id='wt_scroll_top' data-toggle='tooltip' data-placement='top' title='"+scrol_to_top_text+"'>"+scrol_to_top_text+"</div>";$("body").append(e);$(window).scroll(function(){0!=$(this).scrollTop()?$("#wt_scroll_top").fadeIn():$("#wt_scroll_top").fadeOut()});$("#wt_scroll_top").click(function(){$("body,html").animate({scrollTop:0},500)})}$(".thumbs_list li a").hover(function(){n($(this));$(this).addClass("select")},function(){$(this).removeClass("select")})});function o(){var t=!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0;var e="undefined"!==typeof InstallTrigger;var i=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0;var n=!!window.chrome&&!t;var o=(false,!!document.documentMode);if(!n&&!i)return false;$(".bn-top-home ul li:first-child").css("margin-bottom","1px")}$(window).scroll(function(){$(window).width()>1200&&s()});function s(){var t=$("#header .header-top").height()+400;if($(this).scrollTop()>t){$("#wt-menu-horizontal").addClass("wt-menu-sticky animated fadeInDown");$("#header").addClass("header-sticky");$(".wt-verticalmenu").addClass("sticky animated fadeInDown");$("#index .vertical-menu-content").addClass("hided");$("#index .vertical-menu-content").removeClass("opened");$("#_desktop_cart").addClass("animated fadeInDown");$(".top-wishlists").addClass("animated fadeInDown");$(".blockviewed").addClass("animated fadeInDown");$("#desktop_user_info").addClass("animated fadeInDown");$(".wt-prod-cat-icon-nav").addClass("animated fadeInDown")}else{$("#wt-menu-horizontal").removeClass("wt-menu-sticky animated fadeInDown");$("#header").removeClass("header-sticky");$("#_desktop_cart").removeClass("animated fadeInDown");$(".top-wishlists").removeClass("animated fadeInDown");$(".blockviewed").removeClass("animated fadeInDown");$("#desktop_user_info").removeClass("animated fadeInDown");$(".wt-verticalmenu").removeClass("sticky animated fadeInDown");$("#index .vertical-menu-content").removeClass("hided")}}function r(t){$("#js-product-list .ajax_block_product").removeClass("col-md-6");$("#js-product-list .ajax_block_product").removeClass("col-md-4");$("#js-product-list .ajax_block_product").removeClass("col-md-2");$("#js-product-list .ajax_block_product").removeClass("row-line");$("#js-product-list .ajax_block_product").addClass(t);$("ul.filter-col-item li").removeClass("selected");$("#"+$.cookie("filter_select")).addClass("selected")}$(window).resize(function(){if(i()>1180){filter_item=$.cookie("filter_item");$(".filter-col-item li").removeClass("selected");$(".filter-col-item #grid_4").addClass("selected");r(filter_item)}else if(i()>767){$(".filter-col-item li").removeClass("selected");$(".filter-col-item #grid_2").addClass("selected");filter_item=$.cookie("filter_item");r(filter_item)}else{filter_item=$.cookie("filter_item");$(".filter-col-item li").removeClass("selected");$(".filter-col-item #grid_2").addClass("selected");$("#js-product-list .ajax_block_product").removeClass("col-md-6");$("#js-product-list .ajax_block_product").removeClass("col-md-4");$("#js-product-list .ajax_block_product").removeClass("col-md-2");$("#js-product-list .ajax_block_product").removeClass("row-line");$("ul.product_list.grid > li").addClass(filter_item)}});function a(){$(".add-to-cart").click(function(t){t.preventDefault();$("#wt_loading_overlay").css({display:"block"});id_cart_button_product=$(this).attr("wt_id_product_atrr");name_module=$(this).attr("wt-name-module");$("#"+name_module+"-wt-cart-id-product-"+id_cart_button_product).removeClass("added");$("#"+name_module+"-wt-cart-id-product-"+id_cart_button_product).addClass("onload")});$(".quick-view").click(function(t){t.preventDefault();$("#wt_loading_overlay").css({display:"block"})})}function l(){$thumbnailsContainer=$(".thumb-container");$thumbnails=$(".thumb-container a");$productImages=$(".product-cover a");addCloudZoom=function(t){t.addClass("cloud-zoom").attr("rel","zoomWidth:600,zoomHeight:'auto',position:'right',adjustX:10").CloudZoom()};$thumbnails.length&&$(".thumb-container a").bind("click",function(){$image=$(this).clone(false);$image.insertAfter(".product-cover a");$productImages.remove();$productImages=$image;$(".mousetrap").remove();addCloudZoom($productImages);return false});addCloudZoom($productImages)}function c(){$("#js-product-list .ajax_block_product").hover(function(){var t=$("#products").attr("static_token");var e=$("#products").attr("urls_pages_cart");$("#add-to-cart-or-refresh",this).attr("action",e);$("#token-product-list",this).attr("value",t)},function(){})}$(document).ready(function(){if($.cookie("filter_item")){var t=$.cookie("filter_item");var e=$.cookie("filter_select")}else{$.cookie("filter_item","col-md-4");var t=$.cookie("filter_item");$.cookie("filter_select","grid_4");var e=$.cookie("filter_select")}r($.cookie("filter_item"));$("img.lazy").lazyload({effect:"fadeIn",event:"scroll",delay:0});l();c();var i=0;var n="";a();$(document).ajaxComplete(function(){$("#wt_loading_overlay").css({display:"none"});$("#"+n+"-wt-cart-id-product-"+i).removeClass("onload");$("#"+n+"-wt-cart-id-product-"+i).addClass("added");a();c();l();$("img.lazy_ajax").lazyload({effect:"fadeIn",event:"scroll"})});$(".filter-col-item li a").click(function(e){e.preventDefault();$(".filter-col-item li").removeClass("selected");$.cookie("filter_select",$(this).parent().attr("id"));t=$(this).attr("class");$.cookie("filter_item",t);r($.cookie("filter_item"))});$(document).ajaxComplete(function(){r($.cookie("filter_item"));var e=$("#js-product-list-top").html();null!=e&&$("body,html").animate({scrollTop:$("#js-product-list-top").offset().top-60},500);$(".filter-col-item li a").click(function(e){e.preventDefault();$(".filter-col-item li").removeClass("selected");$.cookie("filter_select",$(this).parent().attr("id"));t=$(this).attr("class");t=$(this).attr("class");$.cookie("filter_item",t);r($.cookie("filter_item"))})})})},function(t,e,i){"use strict";var n=i(1);var o=i.n(n);var s=i(0);var r=i.n(s);o.a.blockcart=o.a.blockcart||{};o.a.blockcart.showModal=(t=>{function e(){return r()("#blockcart-modal")}let i=e();i.length&&i.remove();r()("body").append(t);i=e();i.modal("show").on("hidden.bs.modal",t=>{o.a.emit("updateProduct",{reason:t.currentTarget.dataset})})})},function(t,e,i){"use strict";var n=i(0);var o=i.n(n);var s=i(41);var r=i.n(s);var a=i(42);var l=i.n(a);var c=i(44);var u=i.n(c);var d=i(53);var h=i.n(d);var p=i(54);var f=i.n(p);var m=i(56);var g=i.n(m);var v=i(58);var y=i.n(v);var w=i(60);var b=i.n(w)},function(t,e){$(document).ready(function(){"ontouchstart"in document.documentElement||!$(".js-page-progress-bar").length||Pace.start()})},function(t,e){function i(){return!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i))}function n(){return!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i))}function o(t,e){var i="";if(0==$("#more_menu").length)for(var n=t+1;n<=e;n++)i+="<li>"+$("#wt-menu-horizontal ul.menu-content li.level-1:nth-child("+n+")").html()+"</li>";return i}function s(t,e,i,n,o){if(t>0&&e>0){$("#more_menu").length>0&&$("#wt-menu-horizontal .container").html(o);if($(window).width()>992&&$(window).width()<=1199){0==$("#more_menu").length&&$('<li id="more_menu" class="level-1 more-menu"><a href="#"><span class="icon-plus"></span>'+text_more+'</a><ul class="menu-dropdown cat-drop-menu wt-sub-auto">'+i+"</ul></li>").insertAfter("#wt-menu-horizontal ul.menu-content li.level-1:nth-child("+t+")");if($("#more_menu").length>0)for(var s=t+2;s<=numLiItem+1;s++){$("#wt-menu-horizontal ul.menu-content li:nth-child("+s+").level-1").remove();var r=t+2;$("#wt-menu-horizontal ul.menu-content li:nth-child("+r+").level-1").remove()}}}}$(document).ready(function(){numLiItem=$("#wt-menu-horizontal .menu-content li.level-1").length;nIpadHorizontal=5;nIpadVertical=6;htmlLiH=o(nIpadHorizontal,numLiItem);htmlLiV=o(nIpadVertical,numLiItem);htmlMenu=$("#wt-menu-horizontal").html();s(nIpadHorizontal,nIpadVertical,htmlLiH,htmlLiV,htmlMenu);$(document).on("click","#wt-menu-horizontal .icon-drop-mobile",function(){$(this).next().toggle("slow");$(this).toggleClass("opened")});if($(window).width()<991){$("#wt-menu-horizontal ul.menu-content").css("display","none");r()}$(window).resize(function(){$(window).width()<991?r():$("#wt-menu-horizontal ul.menu-content").css("display","block")});$(window).resize(function(){numLiItem=$("#wt-menu-horizontal .menu-content li.level-1").length;nIpadHorizontal=5;nIpadVertical=6;htmlLiH=o(nIpadHorizontal,numLiItem);htmlLiV=o(nIpadVertical,numLiItem);htmlMenu=$("#wt-menu-horizontal").html();if($(window).width()<991)$("#wt-menu-horizontal ul.menu-content").css("display","none");else{s(nIpadHorizontal,nIpadVertical,htmlLiH,htmlLiV,htmlMenu);$("#wt-menu-horizontal ul.menu-content").css("display","block")}})});$(window).resize(function(){s(nIpadHorizontal,nIpadVertical,htmlLiH,htmlLiV,htmlMenu);!i()&&$(window).width()<1007&&$("#wt-menu-horizontal").removeClass("wt-menu-sticky animated")});function r(){$(".wt-menu-horizontal .title-menu-mobile").click(function(){if($(".wt-menu-horizontal .menu-content").hasClass("slideDown")){$(".wt-menu-horizontal .menu-content").stop(true,true).slideUp(300);$(".wt-menu-horizontal .menu-content").removeClass("slideDown")}else{$(".wt-menu-horizontal .menu-content").stop(true,true).slideDown(600);$(".wt-menu-horizontal .menu-content").addClass("slideDown")}})}},,function(t,e){function i(t,e,i){"top"==t?jQuery(".nivo-caption").animate({top:"0"},i,e,o):"bottom"==t?jQuery(".nivo-caption").animate({bottom:"0"},i,e,o):"left"==t?jQuery(".nivo-caption").animate({left:"0"},i,e,o):"right"==t?jQuery(".nivo-caption").animate({right:"0"},i,e,o):"opacity"==t&&jQuery(".nivo-caption").animate({opacity:"1"},i,"swing",o)}function n(t,e,i){"top"==t?jQuery(".nivo-caption").animate({top:"-100%"},i,e):"bottom"==t?jQuery(".nivo-caption").animate({bottom:"-100%"},i,e):"left"==t?jQuery(".nivo-caption").animate({left:"-100%"},i,e):"right"==t?jQuery(".nivo-caption").animate({right:"-100%"},i,e):"opacity"==t&&jQuery(".nivo-caption").animate({opacity:"0"},i,"swing")}function o(){jQuery(".nivo-caption .js-slide-products-related").fadeIn()}$(window).load(function(){var t=$("#wtslideshow"),e=t.data("settings");t.length&&t.nivoSlider({effect:e.effect,slices:Number(e.slices),boxCols:Number(e.boxCols),boxRows:Number(e.boxRows),animSpeed:Number(e.animSpeed),pauseTime:Number(e.pauseTime),startSlide:Number(e.startSlide),directionNav:e.directionNav,controlNav:e.controlNav,controlNavThumbs:e.controlNavThumbs,pauseOnHover:e.pauseOnHover,manualAdvance:e.manualAdvance,randomStart:e.randomStart,afterLoad:function(){i(e.caption_effect,"easeInBack",e.animSpeed)},beforeChange:function(){n(e.caption_effect,"easeInBack",e.animSpeed)},afterChange:function(){i(e.caption_effect,"easeInBack",e.animSpeed)}})})},,,,,,,,,function(t,e){function i(){$("#wt_testimonial_content").owlCarousel({loop:true,responsive:{0:{items:1},464:{items:1},750:{items:1},974:{items:1},1170:{items:1}},dots:true,nav:false,loop:true,slideSpeed:500,paginationSpeed:1e3,scrollPerPage:true,lazyLoad:true})}$(document).ready(function(){i()});$(window).resize(function(){i()})},function(t,e){$(function(){var t="<div class='wt-main-loading-overlay'><div class='wt_loading'><div class='loader'></div></div></div>";$("ul.product-list li .wt_container_thumbnail").hover(function(){var e=$(this).attr("wt-data-id-product");var i=$(this).attr("wt-name-module");var n=$(this).attr("id-tab");n=""!=n?"-"+n:"";if(""==$("#"+i+n+"-wt-thumbs-content-"+e).html()){$("#"+i+n+"-wt-thumbs-content-"+e).html(t);s(i,n,e)}},function(){});$(".wt_home_filter_product_tab ul.title-tab li").click(function(){var t="<div class='wt-main-loading-overlay filter'><div class='wt_loading'><div class='loader'></div></div></div>";var e=$(this).attr("type-tab");var i=$(this).attr("id-tab");var n=$(this).attr("wt-name-module");$("#ul_tv_tab li").removeClass("ui-tabs-selected");$(this).addClass("ui-tabs-selected");$("#tabs-"+i).show();$("#tabs-"+i).html(t);r(n,i,e)})});$(window).ready(function(){i();$("input[name=mode_css]").click(function(){i()})});$(window).resize(function(){i()});$(document).ajaxComplete(function(){$(".thumbs_list li a").hover(function(){o($(this));$(this).addClass("select")},function(){$(this).removeClass("select")});n()});function i(){var t=0;for(var e in tabs){t+=1;owl=$("#carousel"+t);owl.owlCarousel({responsive:{0:{items:2,slideBy:2},464:{items:2,slideBy:2},750:{items:3,slideBy:2},974:{items:4,slideBy:2},1170:{items:5,slideBy:2},1620:{items:6,slideBy:3}},dots:false,nav:true,loop:true,margin:15,slideSpeed:500,lazyLoad:true});owl.trigger("refresh.owl.carousel")}}function n(){var t="<p class='loading'></p>";$("ul.product-list li .wt_container_thumbnail").hover(function(){var e=$(this).attr("wt-data-id-product");var i=$(this).attr("wt-name-module");var n=$(this).attr("id-tab");n=""!=n?"-"+n:"";if(""==$("#"+i+n+"-wt-thumbs-content-"+e).html()){$("#"+i+n+"-wt-thumbs-content-"+e).html(t);s(i,n,e)}},function(){})}function o(t,e){"undefined"==typeof e&&(e=false);if(t.prop("href")){var i=t.attr("tv-img-src").replace("thickbox","large");var n=t.attr("title");var o=t.attr("href");t.parent().parent().parent().parent().parent().find(".wt-image").prop("src")!=i&&t.parent().parent().parent().parent().parent().find(".wt-image").attr({src:i,alt:n,title:n}).load(function(){"undefined"!=typeof jqZoomEnabled&&jqZoomEnabled&&$(this).attr("rel",o)});$(".thumbs_list li a").removeClass("shown");$(t).addClass("shown")}}function s(t,e,i){var n=$("#wt_home_filter_product_tab_ssl").attr("wt_base_ssl")+"modules/wtproductfilter/controller_ajax_images.php";$.post(n,{id_Product:i},function(n){$("#"+t+e+"-wt-thumbs-content-"+i).html(n)})}function r(t,e,i){var n=$("#wt_home_filter_product_tab_ssl").attr("wt_base_ssl")+"modules/wtproductfilter/controller_ajax_product.php";var o=$("#wt_home_filter_product_tab_ssl").attr("url_page_cart");var s=$("#wt_home_filter_product_tab_ssl").attr("static_token");$.post(n,{id_Tab:e,type_Tab:i,name_Module:t,Url_Page_Cart:o,Static_Token:s},function(t){$(".tabs-carousel").hide();$("#tabs-"+e).show();$("#tabs-"+e).html(t)}).fail(function(t,i,n){$("#tabs-"+e).html(t.responseText)})}},,function(t,e){function i(){$("#ul_productscategory_list").owlCarousel({responsive:{0:{items:2},464:{items:2},750:{items:3},974:{items:4},1170:{items:5},1670:{items:6}},dots:true,nav:false,loop:true,margin:15,slideSpeed:500,paginationSpeed:1e3,scrollPerPage:true,lazyLoad:true})}$(document).ready(function(){i()});$(window).resize(function(){i()})},,function(t,e){function i(){$("#subcategory_list").owlCarousel({responsive:{0:{items:2},464:{items:2},750:{items:3},974:{items:4},1170:{items:5},1670:{items:6}},dots:true,nav:true,loop:true,margin:15,slideSpeed:500,paginationSpeed:1e3,scrollPerPage:true,lazyLoad:true})}$(document).ready(function(){i()});$(window).resize(function(){i()})},,function(t,e){$(window).load(function(){i()});$(window).resize(function(){i()});function i(){if(1==wtmanufacture){$("#wt_manufacture").owlCarousel({responsive:{0:{items:1},464:{items:1},750:{items:1},974:{items:2},1170:{items:2},1670:{items:2}},dots:true,nav:false,loop:true,margin:0,slideSpeed:1e3,paginationSpeed:1e3,scrollPerPage:true,lazyLoad:true});$("#wt_manufacture").trigger("refresh.owl.carousel")}}},function(t,e){}]);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...