text: /*! For license information please see uix-kit.min.js.LICENSE.txt */
  (()=>{var e={696:(e,t,i)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}i.d(t,{ML:()=>a}),e=i.hmd(e);var a="undefined"!=typeof window?window:e.exports&&void 0!==i.g?i.g:{},r=(function(e){var t={},i=e.document,a=e.GreenSockGlobals=e.GreenSockGlobals||e;if(a.TweenLite)return a.TweenLite;var r,o,s,l,d,u,c,f=function(e){var t,i=e.split("."),n=a;for(t=0;t<i.length;t++)n[i[t]]=n=n[i[t]]||{};return n},p=f("com.greensock"),h=1e-8,m=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i},v=function(){},g=(u=Object.prototype.toString,c=u.call([]),function(e){return null!=e&&(e instanceof Array||"object"===n(e)&&!!e.push&&u.call(e)===c)}),y={},x=function e(i,n,r,o){this.sc=y[i]?y[i].sc:[],y[i]=this,this.gsClass=null,this.func=r;var s=[];this.check=function(l){for(var d,u,c,p,h=n.length,m=h;--h>-1;)(d=y[n[h]]||new e(n[h],[])).gsClass?(s[h]=d.gsClass,m--):l&&d.sc.push(this);if(0===m&&r)for(c=(u=("com.greensock."+i).split(".")).pop(),p=f(u.join("."))[c]=this.gsClass=r.apply(r,s),o&&(a[c]=t[c]=p),h=0;h<this.sc.length;h++)this.sc[h].check()},this.check(!0)},E=e._gsDefine=function(e,t,i,n){return new x(e,t,i,n)},T=p._class=function(e,t,i){return t=t||function(){},E(e,[],(function(){return t}),i),t};E.globals=a;var b=[0,0,1,1],_=T("easing.Ease",(function(e,t,i,n){this._func=e,this._type=i||0,this._power=n||0,this._params=t?b.concat(t):b}),!0),w=_.map={},S=_.register=function(e,t,i,n){for(var a,r,o,s,l=t.split(","),d=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--d>-1;)for(r=l[d],a=n?T("easing."+r,null,!0):p.easing[r]||{},o=u.length;--o>-1;)s=u[o],w[r+"."+s]=w[s+r]=a[s]=e.getRatio?e:e[s]||new e};for((s=_.prototype)._calcEnd=!1,s.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,n=1===t?1-e:2===t?e:e<.5?2*e:2*(1-e);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===t?1-n:2===t?n:e<.5?n/2:1-n/2},o=(r=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--o>-1;)s=r[o]+",Power"+o,S(new _(null,null,1,o),s,"easeOut",!0),S(new _(null,null,2,o),s,"easeIn"+(0===o?",easeNone":"")),S(new _(null,null,3,o),s,"easeInOut");w.linear=p.easing.Linear.easeIn,w.swing=p.easing.Quad.easeInOut;var C=T("events.EventDispatcher",(function(e){this._listeners={},this._eventTarget=e||this}));(s=C.prototype).addEventListener=function(e,t,i,n,a){a=a||0;var r,o,s=this._listeners[e],u=0;for(this!==l||d||l.wake(),null==s&&(this._listeners[e]=s=[]),o=s.length;--o>-1;)(r=s[o]).c===t&&r.s===i?s.splice(o,1):0===u&&r.pr<a&&(u=o+1);s.splice(u,0,{c:t,s:i,up:n,pr:a})},s.removeEventListener=function(e,t){var i,n=this._listeners[e];if(n)for(i=n.length;--i>-1;)if(n[i].c===t)return void n.splice(i,1)},s.dispatchEvent=function(e){var t,i,n,a=this._listeners[e];if(a)for((t=a.length)>1&&(a=a.slice(0)),i=this._eventTarget;--t>-1;)(n=a[t])&&(n.up?n.c.call(n.s||i,{type:e,target:i}):n.c.call(n.s||i))};var R=e.requestAnimationFrame,M=e.cancelAnimationFrame,L=Date.now||function(){return(new Date).getTime()},A=L();for(o=(r=["ms","moz","webkit","o"]).length;--o>-1&&!R;)R=e[r[o]+"RequestAnimationFrame"],M=e[r[o]+"CancelAnimationFrame"]||e[r[o]+"CancelRequestAnimationFrame"];T("Ticker",(function(e,t){var n,a,r,o,s,u=this,c=L(),f=!(!1===t||!R)&&"auto",p=500,h=33,m=function e(t){var i,l,d=L()-A;d>p&&(c+=d-h),A+=d,u.time=(A-c)/1e3,i=u.time-s,(!n||i>0||!0===t)&&(u.frame++,s+=i+(i>=o?.004:o-i),l=!0),!0!==t&&(r=a(e)),l&&u.dispatchEvent("tick")};C.call(u),u.time=u.frame=0,u.tick=function(){m(!0)},u.lagSmoothing=function(e,t){if(!arguments.length)return p<1e8;p=e||1e8,h=Math.min(t,p,0)},u.sleep=function(){null!=r&&(f&&M?M(r):clearTimeout(r),a=v,r=null,u===l&&(d=!1))},u.wake=function(e){null!==r?u.sleep():e?c+=-A+(A=L()):u.frame>10&&(A=L()-p+5),a=0===n?v:f&&R?R:function(e){return setTimeout(e,1e3*(s-u.time)+1|0)},u===l&&(d=!0),m(2)},u.fps=function(e){if(!arguments.length)return n;o=1/((n=e)||60),s=this.time+o,u.wake()},u.useRAF=function(e){if(!arguments.length)return f;u.sleep(),f=e,u.fps(n)},u.fps(e),setTimeout((function(){"auto"===f&&u.frame<5&&"hidden"!==(i||{}).visibilityState&&u.useRAF(!1)}),1500)})),(s=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var O=T("core.Animation",(function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!!t.immediateRender,this.data=t.data,this._reversed=!!t.reversed,Q){d||l.wake();var i=this.vars.useFrames?$:Q;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));l=O.ticker=new p.Ticker,(s=O.prototype)._dirty=s._gc=s._initted=s._paused=!1,s._totalTime=s._time=0,s._rawPrevTime=-1,s._next=s._last=s._onUpdate=s._timeline=s.timeline=null,s._paused=!1;!function e(){d&&L()-A>2e3&&("hidden"!==(i||{}).visibilityState||!l.lagSmoothing())&&l.wake();var t=setTimeout(e,2e3);t.unref&&t.unref()}(),s.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},s.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},s.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},s.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},s.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},s.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},s.render=function(e,t,i){},s.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},s.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime(!0))>=i&&e<i+this.totalDuration()/this._timeScale-h},s._enabled=function(e,t){return d||l.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},s._kill=function(e,t){return this._enabled(!1,!1)},s.kill=function(e,t){return this._kill(e,t),this},s._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},s._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();--t>-1;)"{self}"===e[t]&&(i[t]=this);return i},s._callback=function(e){var t=this.vars,i=t[e],n=t[e+"Params"],a=t[e+"Scope"]||t.callbackScope||this;switch(n?n.length:0){case 0:i.call(a);break;case 1:i.call(a,n[0]);break;case 2:i.call(a,n[0],n[1]);break;default:i.apply(a,n)}},s.eventCallback=function(e,t,i,n){if("on"===(e||"").substr(0,2)){var a=this.vars;if(1===arguments.length)return a[e];null==t?delete a[e]:(a[e]=t,a[e+"Params"]=g(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,a[e+"Scope"]=n),"onUpdate"===e&&(this._onUpdate=t)}return this},s.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},s.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},s.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},s.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},s.totalTime=function(e,t,i){if(d||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(e<0&&!i&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,a=this._timeline;if(e>n&&!i&&(e=n),this._startTime=(this._paused?this._pauseTime:a._time)-(this._reversed?n-e:e)/this._timeScale,a._dirty||this._uncache(!1),a._timeline)for(;a._timeline;)a._timeline._time!==(a._startTime+a._totalTime)/a._timeScale&&a.totalTime(a._totalTime,!0),a=a._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===e&&0!==this._duration||(H.length&&J(),this.render(e,t,!1),H.length&&J())}return this},s.progress=s.totalProgress=function(e,t){var i=this.duration();return arguments.length?this.totalTime(i*e,t):i?this._time/i:this.ratio},s.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},s.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},s.timeScale=function(e){if(!arguments.length)return this._timeScale;var t,i;for(e=e||h,this._timeline&&this._timeline.smoothChildTiming&&(i=(t=this._pauseTime)||0===t?t:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/e),this._timeScale=e,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},s.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},s.paused=function(e){if(!arguments.length)return this._paused;var t,i,n=this._timeline;return e!=this._paused&&n&&(d||e||l.wake(),i=(t=n.rawTime())-this._pauseTime,!e&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==i&&this._initted&&this.duration()&&(t=n.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var D=T("core.SimpleTimeline",(function(e){O.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0}));(s=D.prototype=new O).constructor=D,s.kill()._gc=!1,s._first=s._last=s._recent=null,s._sortChildren=!1,s.add=s.insert=function(e,t,i,n){var a,r;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=this.rawTime()-(e._timeline.rawTime()-e._pauseTime)),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),a=this._last,this._sortChildren)for(r=e._startTime;a&&a._startTime>r;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=a,this._recent=e,this._timeline&&this._uncache(!0),this},s._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},s.render=function(e,t,i){var n,a=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;a;)n=a._next,(a._active||e>=a._startTime&&!a._paused&&!a._gc)&&(a._reversed?a.render((a._dirty?a.totalDuration():a._totalDuration)-(e-a._startTime)*a._timeScale,t,i):a.render((e-a._startTime)*a._timeScale,t,i)),a=n},s.rawTime=function(){return d||l.wake(),this._totalTime};var P=T("TweenLite",(function(t,i,n){if(O.call(this,i,n),this.render=P.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:P.selector(t)||t;var a,r,o,s=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?V[P.defaultOverwrite]:"number"==typeof l?l>>0:V[l],(s||t instanceof Array||t.push&&g(t))&&"number"!=typeof t[0])for(this._targets=o=m(t),this._propLookup=[],this._siblings=[],a=0;a<o.length;a++)(r=o[a])?"string"!=typeof r?r.length&&r!==e&&r[0]&&(r[0]===e||r[0].nodeType&&r[0].style&&!r.nodeType)?(o.splice(a--,1),this._targets=o=o.concat(m(r))):(this._siblings[a]=Z(r,this,!1),1===l&&this._siblings[a].length>1&&te(r,this,null,1,this._siblings[a])):"string"==typeof(r=o[a--]=P.selector(r))&&o.splice(a+1,1):o.splice(a--,1);else this._propLookup={},this._siblings=Z(t,this,!1),1===l&&this._siblings.length>1&&te(t,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),I=function(t){return t&&t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)};(s=P.prototype=new O).constructor=P,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=s._lazy=!1,P.version="2.1.3",P.defaultEase=s._ease=new _(null,null,1,1),P.defaultOverwrite="auto",P.ticker=l,P.autoSleep=120,P.lagSmoothing=function(e,t){l.lagSmoothing(e,t)},P.selector=e.$||e.jQuery||function(t){var n=e.$||e.jQuery;return n?(P.selector=n,n(t)):(i||(i=e.document),i?i.querySelectorAll?i.querySelectorAll(t):i.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var H=[],k={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,F=/[\+-]=-?[\.\d]/,z=function(e){for(var t,i=this._firstPT,n=1e-6;i;)t=i.blob?1===e&&null!=this.end?this.end:e?this.join(""):this.start:i.c*e+i.s,i.m?t=i.m.call(this._tween,t,this._target||i.t,this._tween):t<n&&t>-n&&!i.blob&&(t=0),i.f?i.fp?i.t[i.p](i.fp,t):i.t[i.p](t):i.t[i.p]=t,i=i._next},j=function(e){return(1e3*e|0)/1e3+""},G=function(e,t,i,n){var a,r,o,s,l,d,u,c=[],f=0,p="",h=0;for(c.start=e,c.end=t,e=c[0]=e+"",t=c[1]=t+"",i&&(i(c),e=c[0],t=c[1]),c.length=0,a=e.match(N)||[],r=t.match(N)||[],n&&(n._next=null,n.blob=1,c._firstPT=c._applyPT=n),l=r.length,s=0;s<l;s++)u=r[s],p+=(d=t.substr(f,t.indexOf(u,f)-f))||!s?d:",",f+=d.length,h?h=(h+1)%5:"rgba("===d.substr(-5)&&(h=1),u===a[s]||a.length<=s?p+=u:(p&&(c.push(p),p=""),o=parseFloat(a[s]),c.push(o),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:o,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-o)||0,f:0,m:h&&h<4?Math.round:j}),f+=u.length;return(p+=t.substr(f))&&c.push(p),c.setRatio=z,F.test(t)&&(c.end=null),c},B=function(e,t,i,a,r,o,s,l,d){"function"==typeof a&&(a=a(d||0,e));var u=n(e[t]),c="function"!==u?"":t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3),f="get"!==i?i:c?s?e[c](s):e[c]():e[t],p="string"==typeof a&&"="===a.charAt(1),h={t:e,p:t,s:f,f:"function"===u,pg:0,n:r||t,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:p?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-f||0};if(("number"!=typeof f||"number"!=typeof a&&!p)&&(s||isNaN(f)||!p&&isNaN(a)||"boolean"==typeof f||"boolean"==typeof a?(h.fp=s,h={t:G(f,p?parseFloat(h.s)+h.c+(h.s+"").replace(/[0-9\-\.]/g,""):a,l||P.defaultStringFilter,h),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||t,pr:0,m:0}):(h.s=parseFloat(f),p||(h.c=parseFloat(a)-h.s||0))),h.c)return(h._next=this._firstPT)&&(h._next._prev=h),this._firstPT=h,h},W=P._internals={isArray:g,isSelector:I,lazyTweens:H,blobDif:G},U=P._plugins={},Y=W.tweenLookup={},X=0,q=W.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},V={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},$=O._rootFramesTimeline=new D,Q=O._rootTimeline=new D,K=30,J=W.lazyRender=function(){var e,t,i=H.length;for(k={},e=0;e<i;e++)(t=H[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);H.length=0};Q._startTime=l.time,$._startTime=l.frame,Q._active=$._active=!0,setTimeout(J,1),O._updateRoot=P.render=function(){var e,t,i;if(H.length&&J(),Q.render((l.time-Q._startTime)*Q._timeScale,!1,!1),$.render((l.frame-$._startTime)*$._timeScale,!1,!1),H.length&&J(),l.frame>=K){for(i in K=l.frame+(parseInt(P.autoSleep,10)||120),Y){for(e=(t=Y[i].tweens).length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete Y[i]}if((!(i=Q._first)||i._paused)&&P.autoSleep&&!$._first&&1===l._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||l.sleep()}}},l.addEventListener("tick",O._updateRoot);var Z=function(e,t,i){var n,a,r=e._gsTweenID;if(Y[r||(e._gsTweenID=r="t"+X++)]||(Y[r]={target:e,tweens:[]}),t&&((n=Y[r].tweens)[a=n.length]=t,i))for(;--a>-1;)n[a]===t&&n.splice(a,1);return Y[r].tweens},ee=function(e,t,i,n){var a,r,o=e.vars.onOverwrite;return o&&(a=o(e,t,i,n)),(o=P.onOverwrite)&&(r=o(e,t,i,n)),!1!==a&&!1!==r},te=function(e,t,i,n,a){var r,o,s,l;if(1===n||n>=4){for(l=a.length,r=0;r<l;r++)if((s=a[r])!==t)s._gc||s._kill(null,e,t)&&(o=!0);else if(5===n)break;return o}var d,u=t._startTime+h,c=[],f=0,p=0===t._duration;for(r=a.length;--r>-1;)(s=a[r])===t||s._gc||s._paused||(s._timeline!==t._timeline?(d=d||ie(t,0,p),0===ie(s,d,p)&&(c[f++]=s)):s._startTime<=u&&s._startTime+s.totalDuration()/s._timeScale>u&&((p||!s._initted)&&u-s._startTime<=2e-8||(c[f++]=s)));for(r=f;--r>-1;)if(l=(s=c[r])._firstPT,2===n&&s._kill(i,e,t)&&(o=!0),2!==n||!s._firstPT&&s._initted&&l){if(2!==n&&!ee(s,t))continue;s._enabled(!1,!1)&&(o=!0)}return o},ie=function(e,t,i){for(var n=e._timeline,a=n._timeScale,r=e._startTime;n._timeline;){if(r+=n._startTime,a*=n._timeScale,n._paused)return-100;n=n._timeline}return(r/=a)>t?r-t:i&&r===t||!e._initted&&r-t<2e-8?h:(r+=e.totalDuration()/e._timeScale/a)>t+h?0:r-t-h};s._init=function(){var e,t,i,n,a,r,o=this.vars,s=this._overwrittenProps,l=this._duration,d=!!o.immediateRender,u=o.ease,c=this._startAt;if(o.startAt){for(n in c&&(c.render(-1,!0),c.kill()),a={},o.startAt)a[n]=o.startAt[n];if(a.data="isStart",a.overwrite=!1,a.immediateRender=!0,a.lazy=d&&!1!==o.lazy,a.startAt=a.delay=null,a.onUpdate=o.onUpdate,a.onUpdateParams=o.onUpdateParams,a.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=P.to(this.target||{},0,a),d)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(c)c.render(-1,!0),c.kill(),this._startAt=null;else{for(n in 0!==this._time&&(d=!1),i={},o)q[n]&&"autoCSS"!==n||(i[n]=o[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=d&&!1!==o.lazy,i.immediateRender=d,this._startAt=P.to(this.target,0,i),d){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof _?u:"function"==typeof u?new _(u,o.easeParams):w[u]||P.defaultEase:P.defaultEase,o.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(r=this._targets.length,e=0;e<r;e++)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],s?s[e]:null,e)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,s,0);if(t&&P._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},s._initProps=function(t,i,n,a,r){var o,s,l,d,u,c;if(null==t)return!1;for(o in k[t._gsTweenID]&&J(),this.vars.css||t.style&&t!==e&&t.nodeType&&U.css&&!1!==this.vars.autoCSS&&function(e,t){var i,n={};for(i in e)q[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!U[i]||U[i]&&U[i]._autoCSS)||(n[i]=e[i],delete e[i]);e.css=n}(this.vars,t),this.vars)if(c=this.vars[o],q[o])c&&(c instanceof Array||c.push&&g(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[o]=c=this._swapSelfInParams(c,this));else if(U[o]&&(d=new U[o])._onInitTween(t,this.vars[o],this,r)){for(this._firstPT=u={_next:this._firstPT,t:d,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:d._priority,m:0},s=d._overwriteProps.length;--s>-1;)i[d._overwriteProps[s]]=this._firstPT;(d._priority||d._onInitAllProps)&&(l=!0),(d._onDisable||d._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[o]=B.call(this,t,o,"get",c,o,0,null,this.vars.stringFilter,r);return a&&this._kill(a,t)?this._initProps(t,i,n,a,r):this._overwrite>1&&this._firstPT&&n.length>1&&te(t,this,i,this._overwrite,n)?(this._kill(i,t),this._initProps(t,i,n,a,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(k[t._gsTweenID]=!0),l)},s.render=function(e,t,i){var n,a,r,o,s=this,l=s._time,d=s._duration,u=s._rawPrevTime;if(e>=d-h&&e>=0)s._totalTime=s._time=d,s.ratio=s._ease._calcEnd?s._ease.getRatio(1):1,s._reversed||(n=!0,a="onComplete",i=i||s._timeline.autoRemoveChildren),0===d&&(s._initted||!s.vars.lazy||i)&&(s._startTime===s._timeline._duration&&(e=0),(u<0||e<=0&&e>=-1e-8||u===h&&"isPause"!==s.data)&&u!==e&&(i=!0,u>h&&(a="onReverseComplete")),s._rawPrevTime=o=!t||e||u===e?e:h);else if(e<h)s._totalTime=s._time=0,s.ratio=s._ease._calcEnd?s._ease.getRatio(0):0,(0!==l||0===d&&u>0)&&(a="onReverseComplete",n=s._reversed),e>-1e-8?e=0:e<0&&(s._active=!1,0===d&&(s._initted||!s.vars.lazy||i)&&(u>=0&&(u!==h||"isPause"!==s.data)&&(i=!0),s._rawPrevTime=o=!t||e||u===e?e:h)),(!s._initted||s._startAt&&s._startAt.progress())&&(i=!0);else if(s._totalTime=s._time=e,s._easeType){var c=e/d,f=s._easeType,p=s._easePower;(1===f||3===f&&c>=.5)&&(c=1-c),3===f&&(c*=2),1===p?c*=c:2===p?c*=c*c:3===p?c*=c*c*c:4===p&&(c*=c*c*c*c),s.ratio=1===f?1-c:2===f?c:e/d<.5?c/2:1-c/2}else s.ratio=s._ease.getRatio(e/d);if(s._time!==l||i){if(!s._initted){if(s._init(),!s._initted||s._gc)return;if(!i&&s._firstPT&&(!1!==s.vars.lazy&&s._duration||s.vars.lazy&&!s._duration))return s._time=s._totalTime=l,s._rawPrevTime=u,H.push(s),void(s._lazy=[e,t]);s._time&&!n?s.ratio=s._ease.getRatio(s._time/d):n&&s._ease._calcEnd&&(s.ratio=s._ease.getRatio(0===s._time?0:1))}for(!1!==s._lazy&&(s._lazy=!1),s._active||!s._paused&&s._time!==l&&e>=0&&(s._active=!0),0===l&&(s._startAt&&(e>=0?s._startAt.render(e,!0,i):a||(a="_dummyGS")),s.vars.onStart&&(0===s._time&&0!==d||t||s._callback("onStart"))),r=s._firstPT;r;)r.f?r.t[r.p](r.c*s.ratio+r.s):r.t[r.p]=r.c*s.ratio+r.s,r=r._next;s._onUpdate&&(e<0&&s._startAt&&-1e-4!==e&&s._startAt.render(e,!0,i),t||(s._time!==l||n||i)&&s._callback("onUpdate")),a&&(s._gc&&!i||(e<0&&s._startAt&&!s._onUpdate&&-1e-4!==e&&s._startAt.render(e,!0,i),n&&(s._timeline.autoRemoveChildren&&s._enabled(!1,!1),s._active=!1),!t&&s.vars[a]&&s._callback(a),0===d&&s._rawPrevTime===h&&o!==h&&(s._rawPrevTime=0)))}},s._kill=function(e,t,i){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:P.selector(t)||t;var a,r,o,s,l,d,u,c,f,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,h=this._firstPT;if((g(t)||I(t))&&"number"!=typeof t[0])for(a=t.length;--a>-1;)this._kill(e,t[a],i)&&(d=!0);else{if(this._targets){for(a=this._targets.length;--a>-1;)if(t===this._targets[a]){l=this._propLookup[a]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[a]=e?this._overwrittenProps[a]||{}:"all";break}}else{if(t!==this.target)return!1;l=this._propLookup,r=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(l){if(u=e||l,c=e!==r&&"all"!==r&&e!==l&&("object"!==n(e)||!e._tempKill),i&&(P.onOverwrite||this.vars.onOverwrite)){for(o in u)l[o]&&(f||(f=[]),f.push(o));if((f||!e)&&!ee(this,i,t,f))return!1}for(o in u)(s=l[o])&&(p&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,d=!0),s.pg&&s.t._kill(u)&&(d=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete l[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&h&&this._enabled(!1,!1)}}return d},s.invalidate=function(){this._notifyPluginsOfEnabled&&P._onPluginEvent("_onDisable",this);var e=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],O.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(e,!1,!1!==this.vars.lazy)),this},s._enabled=function(e,t){if(d||l.wake(),e&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=Z(n[i],this,!0);else this._siblings=Z(this.target,this,!0)}return O.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&P._onPluginEvent(e?"_onEnable":"_onDisable",this)},P.to=function(e,t,i){return new P(e,t,i)},P.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new P(e,t,i)},P.fromTo=function(e,t,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new P(e,t,n)},P.delayedCall=function(e,t,i,n,a){return new P(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:a,overwrite:0})},P.set=function(e,t){return new P(e,0,t)},P.getTweensOf=function(e,t){if(null==e)return[];var i,n,a,r;if(e="string"!=typeof e?e:P.selector(e)||e,(g(e)||I(e))&&"number"!=typeof e[0]){for(i=e.length,n=[];--i>-1;)n=n.concat(P.getTweensOf(e[i],t));for(i=n.length;--i>-1;)for(r=n[i],a=i;--a>-1;)r===n[a]&&n.splice(i,1)}else if(e._gsTweenID)for(i=(n=Z(e).concat()).length;--i>-1;)(n[i]._gc||t&&!n[i].isActive())&&n.splice(i,1);return n||[]},P.killTweensOf=P.killDelayedCallsTo=function(e,t,i){"object"===n(t)&&(i=t,t=!1);for(var a=P.getTweensOf(e,t),r=a.length;--r>-1;)a[r]._kill(i,e)};var ne=T("plugins.TweenPlugin",(function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=ne.prototype}),!0);if(s=ne.prototype,ne.version="1.19.0",ne.API=2,s._firstPT=null,s._addTween=B,s.setRatio=z,s._kill=function(e){var t,i=this._overwriteProps,n=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;--t>-1;)null!=e[i[t]]&&i.splice(t,1);for(;n;)null!=e[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},s._mod=s._roundProps=function(e){for(var t,i=this._firstPT;i;)(t=e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")])&&"function"==typeof t&&(2===i.f?i.t._applyPT.m=t:i.m=t),i=i._next},P._onPluginEvent=function(e,t){var i,n,a,r,o,s=t._firstPT;if("_onInitAllProps"===e){for(;s;){for(o=s._next,n=a;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:r)?s._prev._next=s:a=s,(s._next=n)?n._prev=s:r=s,s=o}s=t._firstPT=a}for(;s;)s.pg&&"function"==typeof s.t[e]&&s.t[e]()&&(i=!0),s=s._next;return i},ne.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===ne.API&&(U[(new e[t])._propName]=e[t]);return!0},E.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,i=e.propName,n=e.priority||0,a=e.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=T("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){ne.call(this,i,n),this._overwriteProps=a||[]}),!0===e.global),s=o.prototype=new ne(i);for(t in s.constructor=o,o.API=e.API,r)"function"==typeof e[t]&&(s[r[t]]=e[t]);return o.version=e.version,ne.activate([o]),o},r=e._gsQueue){for(o=0;o<r.length;o++)r[o]();for(s in y)y[s].func||e.console.log("GSAP encountered missing dependency: "+s)}d=!1}(a),a.GreenSockGlobals),o=r.com.greensock;o.core.SimpleTimeline,o.core.Animation,r.Ease,r.Linear,r.Power1,r.Power2,r.Power3,r.Power4,r.TweenPlugin,o.events.EventDispatcher},319:()=>{var e;e=$.fn.attr,$.fn.attr=function(){if(0===arguments.length){if(0===this.length)return null;var t={};return $.each(this[0].attributes,(function(){this.specified&&(t[this.name]=this.value)})),t}return e.apply(this,arguments)}},695:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t,i,n){e(t.browser)===e(n)&&(jQuery.browser={},jQuery.browser.msie=!1,jQuery.browser.version=0,navigator.userAgent.match(/MSIE ([0-9]+)\./)&&(jQuery.browser.msie=!0,jQuery.browser.version=RegExp.$1));var a,r="hashchange",o=document,s=t.event.special,l=o.documentMode,d="onhashchange"in i&&(l===n||l>7);function u(e){return"#"+(e=e||location.href).replace(/^[^#]*#?(.*)$/,"$1")}t.fn.hashchange=function(e){return e?this.bind(r,e):this.trigger(r)},t.fn.hashchange.delay=50,s.hashchange=t.extend(s.hashchange,{setup:function(){if(d)return!1;t(a.start)},teardown:function(){if(d)return!1;t(a.stop)}}),a=function(){var e,a,s,l={},c=u(),f=function(e){return e},p=f,h=f;function m(){var n=u(),a=h(c);n!==c?(p(c=n,a),t(i).trigger(r)):a!==c&&(location.href=location.href.replace(/#.*/,"")+a),e=setTimeout(m,t.fn.hashchange.delay)}return l.start=function(){e||m()},l.stop=function(){e&&clearTimeout(e),e=n},t.browser.msie&&!d&&(l.start=function(){a||(s=(s=t.fn.hashchange.src)&&s+u(),a=t('<iframe tabindex="-1" title="empty"/>').hide().one("load",(function(){s||p(u()),m()})).attr("src",s||"javascript:0").insertAfter("body")[0].contentWindow,o.onpropertychange=function(){try{"title"===event.propertyName&&(a.document.title=o.title)}catch(e){}})},l.stop=f,h=function(){return u(a.location.href)},p=function(e,i){var n=a.document,r=t.fn.hashchange.domain;e!==i&&(n.title=o.title,n.open(),r&&n.write('<script>document.domain="'+r+'"<\/script>'),n.close(),a.location.hash=e)}),l}()}(jQuery,this)},111:()=>{!function(e){"use strict";e.scrollLock=function(){var t=e("html"),i=!1,n={scrollLeft:e(window).scrollLeft(),scrollTop:e(window).scrollTop()},a={},r={"overflow-y":"scroll",position:"fixed",width:"100%"};function o(){var i,n=t.attr("style"),r={};n&&(i=n.split(/;\s/),e.each(i,(function(e){if(e){var t=e.split(/\s:\s/);t.length<2||(r[t[0]]=t[1])}})),e.extend(a,r))}function s(){var a={};i||(n={scrollLeft:e(window).scrollLeft(),scrollTop:e(window).scrollTop()},o(),e.extend(a,r,{left:-n.scrollLeft+"px",top:-n.scrollTop+"px"}),t.css(a),e(window).scrollLeft(0).scrollTop(0),i=!0)}function l(){i&&(t.attr("style",e("<x>").css(a).attr("style")||""),e(window).scrollLeft(n.scrollLeft).scrollTop(n.scrollTop),i=!1)}return o(),function(e){arguments.length?e?s():l():i?l():s()}}()}(jQuery)},798:()=>{!function(e){e.fn.UixCountTo=function(t){return t=t||{},e(this).each((function(){var i=e.extend({},e.fn.UixCountTo.defaults,{from:e(this).data("counter-start"),to:e(this).data("counter-number"),fixed:e(this).data("counter-fixed"),speed:e(this).data("counter-duration"),refreshInterval:e(this).data("counter-refresh-interval"),dilimiter:e(this).data("counter-dilimiter"),doubleDigits:e(this).data("counter-double-digits"),onUpdate:null,onComplete:null},t),n=Math.ceil(i.speed/i.refreshInterval),a=(i.to-i.from)/n,r=this,o=e(this),s=0,l=i.from,d=o.data("count-to")||{};function u(e){var t=Number(e).toFixed(i.fixed);i.dilimiter&&t>0&&(t=t.toString().replace(/\B(?=(?:\d{3})+\b)/g,",")),i.doubleDigits&&t<10&&(t="0"+t),o.html(t)}o.data("count-to",d),d.interval&&clearInterval(d.interval),d.interval=setInterval((function(){s++,u(l+=a),"function"==typeof i.onUpdate&&i.onUpdate.call(r,l);s>=n&&(o.removeData("count-to"),clearInterval(d.interval),l=i.to,"function"==typeof i.onComplete&&i.onComplete.call(r,l))}),i.refreshInterval),u(l)}))},e.fn.UixCountTo.defaults={from:0,to:0,fixed:0,speed:500,refreshInterval:1,dilimiter:!0,doubleDigits:!1,onUpdate:null,onComplete:null}}(jQuery)},712:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){var i=!0;t.flexslider=function(e,n){var a=t(e);void 0===n.rtl&&"rtl"==t("html").attr("dir")&&(n.rtl=!0),a.vars=t.extend({},t.flexslider.defaults,n);var r,o=a.vars.namespace,s=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,l=("ontouchstart"in window||s||window.DocumentTouch&&document instanceof DocumentTouch)&&a.vars.touch,d="click touchend MSPointerUp keyup",u="",c="vertical"===a.vars.direction,f=a.vars.reverse,p=a.vars.itemWidth>0,h="fade"===a.vars.animation,m=""!==a.vars.asNavFor,v={};t.data(e,"flexslider",a),v={init:function(){a.animating=!1,a.currentSlide=parseInt(a.vars.startAt?a.vars.startAt:0,10),isNaN(a.currentSlide)&&(a.currentSlide=0),a.animatingTo=a.currentSlide,a.atEnd=0===a.currentSlide||a.currentSlide===a.last,a.containerSelector=a.vars.selector.substr(0,a.vars.selector.search(" ")),a.slides=t(a.vars.selector,a),a.container=t(a.containerSelector,a),a.count=a.slides.length,a.syncExists=t(a.vars.sync).length>0,"slide"===a.vars.animation&&(a.vars.animation="swing"),a.prop=c?"top":a.vars.rtl?"marginRight":"marginLeft",a.args={},a.manualPause=!1,a.stopped=!1,a.started=!1,a.startTimeout=null,a.transitions=!a.vars.video&&!h&&a.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in t)if(void 0!==e.style[t[i]])return a.pfx=t[i].replace("Perspective","").toLowerCase(),a.prop="-"+a.pfx+"-transform",!0;return!1}(),a.ensureAnimationEnd="",""!==a.vars.controlsContainer&&(a.controlsContainer=t(a.vars.controlsContainer).length>0&&t(a.vars.controlsContainer)),""!==a.vars.manualControls&&(a.manualControls=t(a.vars.manualControls).length>0&&t(a.vars.manualControls)),""!==a.vars.customDirectionNav&&(a.customDirectionNav=2===t(a.vars.customDirectionNav).length&&t(a.vars.customDirectionNav)),a.vars.randomize&&(a.slides.sort((function(){return Math.round(Math.random())-.5})),a.container.empty().append(a.slides)),a.doMath(),a.setup("init"),a.vars.controlNav&&v.controlNav.setup(),a.vars.directionNav&&v.directionNav.setup(),a.vars.keyboard&&(1===t(a.containerSelector).length||a.vars.multipleKeyboard)&&t(document).bind("keyup",(function(e){var t=e.keyCode;if(!a.animating&&(39===t||37===t)){var i=a.vars.rtl?37===t?a.getTarget("next"):39===t&&a.getTarget("prev"):39===t?a.getTarget("next"):37===t&&a.getTarget("prev");a.flexAnimate(i,a.vars.pauseOnAction)}})),a.vars.mousewheel&&a.bind("mousewheel",(function(e,t,i,n){e.preventDefault();var r=t<0?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(r,a.vars.pauseOnAction)})),a.vars.pausePlay&&v.pausePlay.setup(),a.vars.slideshow&&a.vars.pauseInvisible&&v.pauseInvisible.init(),a.vars.slideshow&&(a.vars.pauseOnHover&&a.hover((function(){a.manualPlay||a.manualPause||a.pause()}),(function(){a.manualPause||a.manualPlay||a.stopped||a.play()})),a.vars.pauseInvisible&&v.pauseInvisible.isHidden()||(a.vars.initDelay>0?a.startTimeout=setTimeout(a.play,a.vars.initDelay):a.play())),m&&v.asNav.setup(),l&&a.vars.touch&&v.touch(),(!h||h&&a.vars.smoothHeight)&&t(window).bind("resize orientationchange focus",v.resize),a.find("img").attr("draggable","false"),setTimeout((function(){a.vars.start(a)}),200)},asNav:{setup:function(){a.asNav=!0,a.animatingTo=Math.floor(a.currentSlide/a.move),a.currentItem=a.currentSlide,a.slides.removeClass(o+"active-slide").eq(a.currentItem).addClass(o+"active-slide"),s?(e._slider=a,a.slides.each((function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",(function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)}),!1),e.addEventListener("MSGestureTap",(function(e){e.preventDefault();var i=t(this),n=i.index();t(a.vars.asNavFor).data("flexslider").animating||i.hasClass("active")||(a.direction=a.currentItem<n?"next":"prev",a.flexAnimate(n,a.vars.pauseOnAction,!1,!0,!0))}))}))):a.slides.on(d,(function(e){e.preventDefault();var i=t(this),n=i.index();(a.vars.rtl?-1*(i.offset().right-t(a).scrollLeft()):i.offset().left-t(a).scrollLeft())<=0&&i.hasClass(o+"active-slide")?a.flexAnimate(a.getTarget("prev"),!0):t(a.vars.asNavFor).data("flexslider").animating||i.hasClass(o+"active-slide")||(a.direction=a.currentItem<n?"next":"prev",a.flexAnimate(n,a.vars.pauseOnAction,!1,!0,!0))}))}},controlNav:{setup:function(){a.manualControls?v.controlNav.setupManual():v.controlNav.setupPaging()},setupPaging:function(){var e,i,n="thumbnails"===a.vars.controlNav?"control-thumbs":"control-paging",r=1;if(a.controlNavScaffold=t('<ol class="'+o+"control-nav "+o+n+'"></ol>'),a.pagingCount>1)for(var s=0;s<a.pagingCount;s++){void 0===(i=a.slides.eq(s)).attr("data-thumb-alt")&&i.attr("data-thumb-alt","");var l=""!==i.attr("data-thumb-alt")?l=' alt="'+i.attr("data-thumb-alt")+'"':"";if(e="thumbnails"===a.vars.controlNav?'<img src="'+i.attr("data-thumb")+'"'+l+"/>":'<a href="#">'+r+"</a>","thumbnails"===a.vars.controlNav&&!0===a.vars.thumbCaptions){var c=i.attr("data-thumbcaption");""!==c&&void 0!==c&&(e+='<span class="'+o+'caption">'+c+"</span>")}a.controlNavScaffold.append("<li>"+e+"</li>"),r++}a.controlsContainer?t(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold),v.controlNav.set(),v.controlNav.active(),a.controlNavScaffold.delegate("a, img",d,(function(e){if(e.preventDefault(),""===u||u===e.type){var i=t(this),n=a.controlNav.index(i);i.hasClass(o+"active")||(a.direction=n>a.currentSlide?"next":"prev",a.flexAnimate(n,a.vars.pauseOnAction))}""===u&&(u=e.type),v.setToClearWatchedEvent()}))},setupManual:function(){a.controlNav=a.manualControls,v.controlNav.active(),a.controlNav.bind(d,(function(e){if(e.preventDefault(),""===u||u===e.type){var i=t(this),n=a.controlNav.index(i);i.hasClass(o+"active")||(n>a.currentSlide?a.direction="next":a.direction="prev",a.flexAnimate(n,a.vars.pauseOnAction))}""===u&&(u=e.type),v.setToClearWatchedEvent()}))},set:function(){var e="thumbnails"===a.vars.controlNav?"img":"a";a.controlNav=t("."+o+"control-nav li "+e,a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(o+"active").eq(a.animatingTo).addClass(o+"active")},update:function(e,i){a.pagingCount>1&&"add"===e?a.controlNavScaffold.append(t('<li><a href="#">'+a.count+"</a></li>")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(i).closest("li").remove(),v.controlNav.set(),a.pagingCount>1&&a.pagingCount!==a.controlNav.length?a.update(i,e):v.controlNav.active()}},directionNav:{setup:function(){var e=t('<ul class="'+o+'direction-nav"><li class="'+o+'nav-prev"><a class="'+o+'prev" href="#">'+a.vars.prevText+'</a></li><li class="'+o+'nav-next"><a class="'+o+'next" href="#">'+a.vars.nextText+"</a></li></ul>");a.customDirectionNav?a.directionNav=a.customDirectionNav:a.controlsContainer?(t(a.controlsContainer).append(e),a.directionNav=t("."+o+"direction-nav li a",a.controlsContainer)):(a.append(e),a.directionNav=t("."+o+"direction-nav li a",a)),v.directionNav.update(),a.directionNav.bind(d,(function(e){var i;e.preventDefault(),""!==u&&u!==e.type||(i=t(this).hasClass(o+"next")?a.getTarget("next"):a.getTarget("prev"),a.flexAnimate(i,a.vars.pauseOnAction)),""===u&&(u=e.type),v.setToClearWatchedEvent()}))},update:function(){var e=o+"disabled";1===a.pagingCount?a.directionNav.addClass(e).attr("tabindex","-1"):a.vars.animationLoop?a.directionNav.removeClass(e).removeAttr("tabindex"):0===a.animatingTo?a.directionNav.removeClass(e).filter("."+o+"prev").addClass(e).attr("tabindex","-1"):a.animatingTo===a.last?a.directionNav.removeClass(e).filter("."+o+"next").addClass(e).attr("tabindex","-1"):a.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=t('<div class="'+o+'pauseplay"><a href="#"></a></div>');a.controlsContainer?(a.controlsContainer.append(e),a.pausePlay=t("."+o+"pauseplay a",a.controlsContainer)):(a.append(e),a.pausePlay=t("."+o+"pauseplay a",a)),v.pausePlay.update(a.vars.slideshow?o+"pause":o+"play"),a.pausePlay.bind(d,(function(e){e.preventDefault(),""!==u&&u!==e.type||(t(this).hasClass(o+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())),""===u&&(u=e.type),v.setToClearWatchedEvent()}))},update:function(e){"play"===e?a.pausePlay.removeClass(o+"pause").addClass(o+"play").html(a.vars.playText):a.pausePlay.removeClass(o+"play").addClass(o+"pause").html(a.vars.pauseText)}},touch:function(){var t,i,n,r,o,l,d,u,m,v=!1,g=0,y=0,x=0;if(s){e.style.msTouchAction="none",e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",(function(t){t.stopPropagation(),a.animating?t.preventDefault():(a.pause(),e._gesture.addPointer(t.pointerId),x=0,r=c?a.h:a.w,l=Number(new Date),n=p&&f&&a.animatingTo===a.last?0:p&&f?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:p&&a.currentSlide===a.last?a.limit:p?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:f?(a.last-a.currentSlide+a.cloneOffset)*r:(a.currentSlide+a.cloneOffset)*r)}),!1),e._slider=a,e.addEventListener("MSGestureChange",(function(t){t.stopPropagation();var i=t.target._slider;if(i){var a=-t.translationX,s=-t.translationY;x+=c?s:a,o=(i.vars.rtl?-1:1)*x,v=c?Math.abs(x)<Math.abs(-a):Math.abs(x)<Math.abs(-s),t.detail!==t.MSGESTURE_FLAG_INERTIA?(!v||Number(new Date)-l>500)&&(t.preventDefault(),!h&&i.transitions&&(i.vars.animationLoop||(o=x/(0===i.currentSlide&&x<0||i.currentSlide===i.last&&x>0?Math.abs(x)/r+2:1)),i.setProps(n+o,"setTouch"))):setImmediate((function(){e._gesture.stop()}))}}),!1),e.addEventListener("MSGestureEnd",(function(e){e.stopPropagation();var a=e.target._slider;if(a){if(a.animatingTo===a.currentSlide&&!v&&null!==o){var s=f?-o:o,d=s>0?a.getTarget("next"):a.getTarget("prev");a.canAdvance(d)&&(Number(new Date)-l<550&&Math.abs(s)>50||Math.abs(s)>r/2)?a.flexAnimate(d,a.vars.pauseOnAction):h||a.flexAnimate(a.currentSlide,a.vars.pauseOnAction,!0)}t=null,i=null,o=null,n=null,x=0}}),!1)}else d=function(o){a.animating?o.preventDefault():(window.navigator.msPointerEnabled||1===o.touches.length)&&(a.pause(),r=c?a.h:a.w,l=Number(new Date),g=o.touches[0].pageX,y=o.touches[0].pageY,n=p&&f&&a.animatingTo===a.last?0:p&&f?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:p&&a.currentSlide===a.last?a.limit:p?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:f?(a.last-a.currentSlide+a.cloneOffset)*r:(a.currentSlide+a.cloneOffset)*r,t=c?y:g,i=c?g:y,e.addEventListener("touchmove",u,!1),e.addEventListener("touchend",m,!1))},u=function(e){g=e.touches[0].pageX,y=e.touches[0].pageY,o=c?t-y:(a.vars.rtl?-1:1)*(t-g);(!(v=c?Math.abs(o)<Math.abs(g-i):Math.abs(o)<Math.abs(y-i))||Number(new Date)-l>500)&&(e.preventDefault(),!h&&a.transitions&&(a.vars.animationLoop||(o/=0===a.currentSlide&&o<0||a.currentSlide===a.last&&o>0?Math.abs(o)/r+2:1),a.setProps(n+o,"setTouch")))},m=function(s){if(e.removeEventListener("touchmove",u,!1),a.animatingTo===a.currentSlide&&!v&&null!==o){var d=f?-o:o,c=d>0?a.getTarget("next"):a.getTarget("prev");a.canAdvance(c)&&(Number(new Date)-l<550&&Math.abs(d)>50||Math.abs(d)>r/2)?a.flexAnimate(c,a.vars.pauseOnAction):h||a.flexAnimate(a.currentSlide,a.vars.pauseOnAction,!0)}e.removeEventListener("touchend",m,!1),t=null,i=null,o=null,n=null},e.addEventListener("touchstart",d,!1)},resize:function(){!a.animating&&a.is(":visible")&&(p||a.doMath(),h?v.smoothHeight():p?(a.slides.width(a.computedW),a.update(a.pagingCount),a.setProps()):c?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(a.vars.smoothHeight&&v.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(e){if(!c||h){var t=h?a:a.viewport;e?t.animate({height:a.slides.eq(a.animatingTo).innerHeight()},e):t.innerHeight(a.slides.eq(a.animatingTo).innerHeight())}},sync:function(e){var i=t(a.vars.sync).data("flexslider"),n=a.animatingTo;switch(e){case"animate":i.flexAnimate(n,a.vars.pauseOnAction,!1,!0);break;case"play":i.playing||i.asNav||i.play();break;case"pause":i.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each((function(){var e=t(this);e.attr("id",e.attr("id")+"_clone")})),e},pauseInvisible:{visProp:null,init:function(){var e=v.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,(function(){v.pauseInvisible.isHidden()?a.startTimeout?clearTimeout(a.startTimeout):a.pause():a.started?a.play():a.vars.initDelay>0?setTimeout(a.play,a.vars.initDelay):a.play()}))}},isHidden:function(){var e=v.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(r),r=setTimeout((function(){u=""}),3e3)}},a.flexAnimate=function(e,i,n,r,s){if(a.vars.animationLoop||e===a.currentSlide||(a.direction=e>a.currentSlide?"next":"prev"),m&&1===a.pagingCount&&(a.direction=a.currentItem<e?"next":"prev"),!a.animating&&(a.canAdvance(e,s)||n)&&a.is(":visible")){if(m&&r){var d=t(a.vars.asNavFor).data("flexslider");if(a.atEnd=0===e||e===a.count-1,d.flexAnimate(e,!0,!1,!0,s),a.direction=a.currentItem<e?"next":"prev",d.direction=a.direction,Math.ceil((e+1)/a.visible)-1===a.currentSlide||0===e)return a.currentItem=e,a.slides.removeClass(o+"active-slide").eq(e).addClass(o+"active-slide"),!1;a.currentItem=e,a.slides.removeClass(o+"active-slide").eq(e).addClass(o+"active-slide"),e=Math.floor(e/a.visible)}if(a.animating=!0,a.animatingTo=e,i&&a.pause(),a.vars.before(a),a.syncExists&&!s&&v.sync("animate"),a.vars.controlNav&&v.controlNav.active(),p||a.slides.removeClass(o+"active-slide").eq(e).addClass(o+"active-slide"),a.atEnd=0===e||e===a.last,a.vars.directionNav&&v.directionNav.update(),e===a.last&&(a.vars.end(a),a.vars.animationLoop||a.pause()),h)l?(a.slides.eq(a.currentSlide).css({opacity:0,zIndex:1}),a.slides.eq(e).css({opacity:1,zIndex:2}),a.wrapup(x)):(a.slides.eq(a.currentSlide).css({zIndex:1}).animate({opacity:0},a.vars.animationSpeed,a.vars.easing),a.slides.eq(e).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing,a.wrapup));else{var u,g,y,x=c?a.slides.filter(":first").height():a.computedW;p?(u=a.vars.itemMargin,g=(y=(a.itemW+u)*a.move*a.animatingTo)>a.limit&&1!==a.visible?a.limit:y):g=0===a.currentSlide&&e===a.count-1&&a.vars.animationLoop&&"next"!==a.direction?f?(a.count+a.cloneOffset)*x:0:a.currentSlide===a.last&&0===e&&a.vars.animationLoop&&"prev"!==a.direction?f?0:(a.count+1)*x:f?(a.count-1-e+a.cloneOffset)*x:(e+a.cloneOffset)*x,a.setProps(g,"",a.vars.animationSpeed),a.transitions?(a.vars.animationLoop&&a.atEnd||(a.animating=!1,a.currentSlide=a.animatingTo),a.container.unbind("webkitTransitionEnd transitionend"),a.container.bind("webkitTransitionEnd transitionend",(function(){clearTimeout(a.ensureAnimationEnd),a.wrapup(x)})),clearTimeout(a.ensureAnimationEnd),a.ensureAnimationEnd=setTimeout((function(){a.wrapup(x)}),a.vars.animationSpeed+100)):a.container.animate(a.args,a.vars.animationSpeed,a.vars.easing,(function(){a.wrapup(x)}))}a.vars.smoothHeight&&v.smoothHeight(a.vars.animationSpeed)}},a.wrapup=function(e){h||p||(0===a.currentSlide&&a.animatingTo===a.last&&a.vars.animationLoop?a.setProps(e,"jumpEnd"):a.currentSlide===a.last&&0===a.animatingTo&&a.vars.animationLoop&&a.setProps(e,"jumpStart")),a.animating=!1,a.currentSlide=a.animatingTo,a.vars.after(a)},a.animateSlides=function(){!a.animating&&i&&a.flexAnimate(a.getTarget("next"))},a.pause=function(){clearInterval(a.animatedSlides),a.animatedSlides=null,a.playing=!1,a.vars.pausePlay&&v.pausePlay.update("play"),a.syncExists&&v.sync("pause")},a.play=function(){a.playing&&clearInterval(a.animatedSlides),a.animatedSlides=a.animatedSlides||setInterval(a.animateSlides,a.vars.slideshowSpeed),a.started=a.playing=!0,a.vars.pausePlay&&v.pausePlay.update("pause"),a.syncExists&&v.sync("play")},a.stop=function(){a.pause(),a.stopped=!0},a.canAdvance=function(e,t){var i=m?a.pagingCount-1:a.last;return!!t||(!(!m||a.currentItem!==a.count-1||0!==e||"prev"!==a.direction)||(!m||0!==a.currentItem||e!==a.pagingCount-1||"next"===a.direction)&&(!(e===a.currentSlide&&!m)&&(!!a.vars.animationLoop||(!a.atEnd||0!==a.currentSlide||e!==i||"next"===a.direction)&&(!a.atEnd||a.currentSlide!==i||0!==e||"next"!==a.direction))))},a.getTarget=function(e){return a.direction=e,"next"===e?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1},a.setProps=function(e,t,i){var n,r=(n=e||(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo,function(){if(p)return"setTouch"===t?e:f&&a.animatingTo===a.last?0:f?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:a.animatingTo===a.last?a.limit:n;switch(t){case"setTotal":return f?(a.count-1-a.currentSlide+a.cloneOffset)*e:(a.currentSlide+a.cloneOffset)*e;default:return e;case"jumpEnd":return f?e:a.count*e;case"jumpStart":return f?a.count*e:e}}()*(a.vars.rtl?1:-1)+"px");a.transitions&&(r=c?"translate3d(0,"+r+",0)":"translate3d("+(a.vars.rtl?-1:1)*parseInt(r)+"px,0,0)",i=void 0!==i?i/1e3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",i),a.container.css("transition-duration",i)),a.args[a.prop]=r,(a.transitions||void 0===i)&&a.container.css(a.args),a.container.css("transform",r)},a.setup=function(e){var i,n;h?(a.vars.rtl?a.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):a.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(l?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+a.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):0==a.vars.fadeFirstSlide?a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).css({opacity:1}):a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing)),a.vars.smoothHeight&&v.smoothHeight()):("init"===e&&(a.viewport=t('<div class="'+o+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset=0,f&&(n=t.makeArray(a.slides).reverse(),a.slides=t(n),a.container.empty().append(a.slides))),a.vars.animationLoop&&!p&&(a.cloneCount=2,a.cloneOffset=1,"init"!==e&&a.container.find(".clone").remove(),a.container.append(v.uniqueID(a.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(v.uniqueID(a.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),a.newSlides=t(a.vars.selector,a),i=f?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset,c&&!p?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout((function(){a.newSlides.css({display:"block"}),a.doMath(),a.viewport.height(a.h),a.setProps(i*a.h,"init")}),"init"===e?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(i*a.computedW,"init"),setTimeout((function(){a.doMath(),a.vars.rtl,a.newSlides.css({width:a.computedW,marginRight:a.computedM,float:"left",display:"block"}),a.vars.smoothHeight&&v.smoothHeight()}),"init"===e?100:0)));p||a.slides.removeClass(o+"active-slide").eq(a.currentSlide).addClass(o+"active-slide"),a.vars.init(a)},a.doMath=function(){var e=a.slides.first(),t=a.vars.itemMargin,i=a.vars.minItems,n=a.vars.maxItems;a.w=void 0===a.viewport?a.width():a.viewport.width(),a.h=e.height(),a.boxPadding=e.outerWidth()-e.width(),p?(a.itemT=a.vars.itemWidth+t,a.itemM=t,a.minW=i?i*a.itemT:a.w,a.maxW=n?n*a.itemT-t:a.w,a.itemW=a.minW>a.w?(a.w-t*(i-1))/i:a.maxW<a.w?(a.w-t*(n-1))/n:a.vars.itemWidth>a.w?a.w:a.vars.itemWidth,a.visible=Math.floor(a.w/a.itemW),a.move=a.vars.move>0&&a.vars.move<a.visible?a.vars.move:a.visible,a.pagingCount=Math.ceil((a.count-a.visible)/a.move+1),a.last=a.pagingCount-1,a.limit=1===a.pagingCount?0:a.vars.itemWidth>a.w?a.itemW*(a.count-1)+t*(a.count-1):(a.itemW+t)*a.count-a.w-t):(a.itemW=a.w,a.itemM=t,a.pagingCount=a.count,a.last=a.count-1),a.computedW=a.itemW-a.boxPadding,a.computedM=a.itemM},a.update=function(e,t){a.doMath(),p||(e<a.currentSlide?a.currentSlide+=1:e<=a.currentSlide&&0!==e&&(a.currentSlide-=1),a.animatingTo=a.currentSlide),a.vars.controlNav&&!a.manualControls&&("add"===t&&!p||a.pagingCount>a.controlNav.length?v.controlNav.update("add"):("remove"===t&&!p||a.pagingCount<a.controlNav.length)&&(p&&a.currentSlide>a.last&&(a.currentSlide-=1,a.animatingTo-=1),v.controlNav.update("remove",a.last))),a.vars.directionNav&&v.directionNav.update()},a.addSlide=function(e,i){var n=t(e);a.count+=1,a.last=a.count-1,c&&f?void 0!==i?a.slides.eq(a.count-i).after(n):a.container.prepend(n):void 0!==i?a.slides.eq(i).before(n):a.container.append(n),a.update(i,"add"),a.slides=t(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.added(a)},a.removeSlide=function(e){var i=isNaN(e)?a.slides.index(t(e)):e;a.count-=1,a.last=a.count-1,isNaN(e)?t(e,a.slides).remove():c&&f?a.slides.eq(a.last).remove():a.slides.eq(e).remove(),a.doMath(),a.update(i,"remove"),a.slides=t(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.removed(a)},v.init()},t(window).blur((function(e){i=!1})).focus((function(e){i=!0})),t.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},t.fn.flexslider=function(i){if(void 0===i&&(i={}),"object"===e(i))return this.each((function(){var e=t(this),n=i.selector?i.selector:".slides > li",a=e.find(n);1===a.length&&!1===i.allowOneSlide||0===a.length?(a.fadeIn(400),i.start&&i.start(e)):void 0===e.data("flexslider")&&new t.flexslider(this,i)}));var n=t(this).data("flexslider");switch(i){case"play":n.play();break;case"pause":n.pause();break;case"stop":n.stop();break;case"next":n.flexAnimate(n.getTarget("next"),!0);break;case"prev":case"previous":n.flexAnimate(n.getTarget("prev"),!0);break;default:"number"==typeof i&&n.flexAnimate(i,!0)}}}(jQuery)},829:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";t.fn.UixFormProgressToNext=function(i){var n=t.extend({selector:t(".uix-form-progress__target .uix-form-progress__target__step"),formTarget:t(".uix-form-progress__target"),indicator:".uix-form-progress .uix-form-progress__indicator",index:0},i);this.each((function(){t(this);var i,a,r=n.selector,o=n.formTarget,s=t(n.indicator),l=s.length,d=100/(l-1),u=0;if(0==s.length)return!1;(i=(a=n.index>l-1?l-1:n.index)-1)>l-2?(u=d*(l-2),a=l-2):a=i,u=d*a;var c=o.data("anime-speed");"undefined"===e(c)&&(c="0.5s");var f=c.toString().toLowerCase(),p=f.indexOf("ms")>=0,h=f.replace("ms","").replace("s",""),m=p?h:1e3*h,v=parseInt(r.eq(i).attr("data-step"))||!1,g=o.find('.uix-form-progress__target__step[data-step="'+(v+1)+'"]'),y=g.attr("data-step")-1;if(isNaN(y)&&(y=0),y>0){for(var x=0;x<a;x++)r.eq(x).addClass("leaving"),s.eq(x).addClass("is-active");s.eq(a).addClass("is-active")}r.eq(i).addClass("leaving"),setTimeout((function(){s.eq(y).addClass("is-active")}),m),g.addClass("coming").one("webkitTransitionEnd transitionend",(function(){g.removeClass("coming waiting")})),r.removeClass("is-active"),r.eq(y).addClass("is-active"),u+=d,0==y&&(t("body").addClass("form-progress-initok"),s.removeClass("is-active"),s.each((function(e){t(this).css("left",e*d+"%"),o.find(".uix-form-progress__target__step:eq("+e+")").attr("data-step",e+1)})),setTimeout((function(){o.addClass("js-uix-show")}),m),o.find(".uix-form-progress__target__step").removeClass("left leaving").css({position:"absolute"}).not(":eq(0)").addClass("waiting"));var E=o.find(".uix-form-progress__target__step:eq("+y+") > .uix-form-progress__content").height()+100;o.css("height",E+"px");var T=t(".uix-form-progress .uix-form-progress__indicator:eq("+y+") > span").html();return t("#app-form-progress-text").text(T),s.removeClass("current"),s.eq(y).addClass("current"),u>=100?o.find(".uix-form-progress__target__step").addClass("leaving").last().removeClass("coming waiting leaving"):t(".uix-form-progress").find(".uix-form-progress__indicator.is-active").next(".uix-form-progress__indicator").addClass("is-active"),t(".uix-form-progress .uix-form-progress__line span").css("width",u+"%"),!1}))}}(jQuery)},260:()=>{!function(e){"use strict";e.fn.UixRenderControlsDisable=function(t){var i=e.extend({controls:"input.is-disabled"},t);this.each((function(){e(i.controls).prop("disabled",!0)}))}}(jQuery)},366:()=>{!function(e){"use strict";e.fn.UixRenderControlsHover=function(t){var i=e.extend({controls:".js-uix-float-label"},t);this.each((function(){e(i.controls).each((function(){var t=e(this);t.on("focus",(function(){e(this).closest("div").find("label, .uix-controls__bar").addClass("is-active")})),t.on("blur change",(function(i){""!==t.val()&&"blank"!==t.val()||e(this).closest("div").find("label").removeClass("is-active"),(""===t.val()||"blank"===t.val()||""!=t.val()&&"blank"!=t.val())&&e(this).closest("div").find(".uix-controls__bar").removeClass("is-active")})),""!=t.val()&&"blank"!=t.val()&&e(this).closest("div").find("label").addClass("is-active")}))}))}}(jQuery)},599:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";t.fn.UixRenderControlsLineEff=function(i){var n=t.extend({controls:".uix-controls.uix-controls--line"},i);this.each((function(){t(this);var i=n.controls;t(i).each((function(){var i=t(this).data("exist");"undefined"===e(i)&&1!=i&&(t('<ins class="uix-controls__bar"></ins><ins class="uix-controls__basic-bar"></ins>').insertAfter(t(this).find("label")),(t(this).hasClass("uix-controls__multi-sel")||t(this).hasClass("uix-controls__single-sel"))&&t(this).find("> span").each((function(){t(this).prepend('<ins class="uix-controls__bar"></ins><ins class="uix-controls__basic-bar"></ins>')})),t(this).hasClass("uix-controls__number")&&t(this).prepend('<ins class="uix-controls__bar"></ins><ins class="uix-controls__basic-bar"></ins>'),t(this).data("exist",1))}))}))}}(jQuery)},283:()=>{!function(e){"use strict";e.fn.UixRenderCustomFileDropzone=function(t){var i=e.extend({controls:".uix-controls__file-field-container"},t);this.each((function(){e(i.controls).each((function(){var t=e(this).find('input[type="file"]');e(document).on("dragover",(function(e){var i=window.dropZoneTimeout;i?clearTimeout(i):t.addClass("in");var n=!1,a=e.target;do{if(a===t[0]){n=!0;break}a=a.parentNode}while(null!=a);n?t.addClass("hover"):t.removeClass("hover"),window.dropZoneTimeout=setTimeout((function(){window.dropZoneTimeout=null,t.removeClass("in hover")}),100)})),t.on("change",(function(t){var i=e(this)[0];if(i.files&&i.files[0]){var n=new FileReader;n.onload=function(e){e.target.result;var t=i.files[0].name;i.setAttribute("data-title",t)},n.readAsDataURL(i.files[0])}}))}))}))}}(jQuery)},392:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";t.fn.UixRenderCustomMultiSel=function(i){var n=t.extend({controls:".uix-controls__multi-sel"},i);this.each((function(){t(n.controls).each((function(){var i=t(this);if("undefined"===e(i.data("activated"))){t(this).find("> span").each((function(){var e="#"+t(this).parent().attr("data-targetid");t(e).val().indexOf(t(this).data("value"))>=0?t(this).addClass("is-active").attr("aria-checked",!0):t(this).removeClass("is-active").attr("aria-checked",!1)}));t(document).off("click.FORM_MULTI_SEL").on("click.FORM_MULTI_SEL",".uix-controls__multi-sel > span",(function(e){e.preventDefault();var i=t(this).parent(),n=t(this),a="#"+i.data("targetid"),r=n.data("value"),o=t(a).val()+",",s="";n.toggleClass("is-active").attr("aria-checked",(function(e,t){return"true"!=t})),s=(s=o.indexOf(r+",")<0?o+r+",":o.replace(r+",","")).replace(/,\s*$/,"").replace(/^,/,""),t(a).val(s),t(a).focus().blur()})),i.data("activated",1)}}))}))}}(jQuery)},49:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";t.fn.UixRenderNormalRadio=function(i){var n=t.extend({controls:".uix-controls__radio"},i);this.each((function(){t(n.controls).each((function(){t(this).find("> label").each((function(){var i="#"+t(this).parent().attr("data-targetid"),n="";t(this).parent().find("> label").each((function(){"undefined"!=e(t(this).data("switchid"))&&(n+=t(this).data("switchid")+",")})),t(this).parent().attr("data-switchids",n.replace(/,\s*$/,"")),"undefined"!=e(t(this).data("value"))&&(t(i).val()==t(this).data("value")?t(this).addClass("is-active").find('[type="radio"]').prop("checked",!0):t(this).removeClass("is-active").find('[type="radio"]').prop("checked",!1))}));var i=n.controls+" > label",a=function(i){i.each((function(i){var n=t(this),a=t("#"+n.attr("data-targetid")).val(),r=0;(n.find("> label").each((function(e){a==t(this).data("value")&&(r=e)})),"undefined"!=e(n.data("switchids"))&&""!=n.data("switchids"))&&n.data("switchids").split(",").forEach((function(e,i){r!=i?t("#"+e).hide():t("#"+e).show()}))}))};a(t(n.controls)),t(document).off("click.FORM_NORMAL_RADIO").on("click.FORM_NORMAL_RADIO",i,(function(i){var n=t(this).parent(),r=t(this),o="#"+n.data("targetid"),s="#"+r.data("switchid"),l=r.data("value");n.find("> label").removeClass("is-active").find('[type="radio"]').prop("checked",!1),t(o).val(l),r.addClass("is-active").find('[type="radio"]').prop("checked",!0),"undefined"!=e(r.data("switchid"))&&(a(n),t(s).show()),t(o).focus().blur()}))}))}))}}(jQuery)},838:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";t.fn.UixRenderNumberInput=function(i){var n=t.extend({controls:".uix-controls__number"},i);this.each((function(){t(n.controls).each((function(){var i=t(this);"undefined"===e(i.data("activated"))&&(t(document).off("click.FORM_NUMBER_BTN_ADD").on("click.FORM_NUMBER_BTN_ADD",n.controls+" .uix-controls__number__btn--add",(function(i){var n=parseFloat(t(this).data("step")),a=t(this).data("decimals"),r=t(this).closest(".uix-controls__number").find('input[type="number"]'),o=parseFloat(r.val()),s=r.attr("max");("undefined"===e(n)||isNaN(n))&&(n=1),"undefined"===e(a)&&(a=0),"undefined"!=e(s)&&parseFloat(o+n)>s&&(n=0),o=parseFloat(o+n),r.val(o.toFixed(a))})),t(document).off("click.FORM_NUMBER_BTN_REMOVE").on("click.FORM_NUMBER_BTN_REMOVE",n.controls+" .uix-controls__number__btn--remove",(function(i){var n=t(this).data("step"),a=t(this).data("decimals"),r=t(this).closest(".uix-controls__number").find('input[type="number"]'),o=parseFloat(r.val()),s=r.attr("min");("undefined"===e(n)||isNaN(n))&&(n=1),"undefined"===e(a)&&(a=0),"undefined"!=e(s)&&parseFloat(o-n)<s&&(n=0),o-=n,r.val(o.toFixed(a))})),i.data("activated",1))}))}))}}(jQuery)},895:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";t.fn.UixRenderCustomRadioCheckbox=function(i){var n=t.extend({radioWrapper:".uix-controls__radio",toggle:".uix-controls__toggle",checkboxWrapper:".uix-controls__checkbox"},i);this.each((function(){t(n.checkboxWrapper).each((function(){var i=t(this);"undefined"===e(i.data("activated"))&&(t(n.checkboxWrapper).find('input[type="checkbox"]').each((function(){var i=t(this).data("exist"),n=t(this).closest(".uix-controls");if("undefined"===e(i)&&1!=i){t('<span class="uix-controls__checkbox-trigger"></span>').insertAfter(t(this));var a="#"+n.attr("data-targetid");t(this).is(":checked")?(n.addClass("is-active").attr("aria-checked",!0),t(a).show()):(n.removeClass("is-active").attr("aria-checked",!1),t(a).hide()),t(this).data("exist",1)}})),t(document).on("change",n.toggle+' [type="checkbox"]',(function(e){var i=t(this).closest(".uix-controls"),n="#"+i.attr("data-targetid");this.checked?(i.addClass("is-active").attr("aria-checked",!0),t(n).show()):(i.removeClass("is-active").attr("aria-checked",!1),t(n).hide())})),i.data("activated",1))})),t(n.toggle).each((function(){var i=t(this);"undefined"===e(i.data("activated"))&&(t(n.toggle).find('input[type="checkbox"]').each((function(){var i=t(this).data("exist"),n=t(this).closest(".uix-controls"),a=n.data("off-text"),r=n.data("on-text");if("undefined"===e(i)&&1!=i){t('<span class="uix-controls__toggle-trigger" data-off-text="'+a+'" data-on-text="'+r+'"></span>').insertAfter(t(this));var o="#"+n.attr("data-targetid");t(this).is(":checked")?(n.addClass("is-active").attr("aria-checked",!0),t(o).show()):(n.removeClass("is-active").attr("aria-checked",!1),t(o).hide()),t(this).data("exist",1)}})),t(document).on("change",n.checkboxWrapper+' [type="checkbox"]',(function(e){var i=t(this).closest(".uix-controls"),n="#"+i.attr("data-targetid");this.checked?(i.addClass("is-active").attr("aria-checked",!0),t(n).show()):(i.removeClass("is-active").attr("aria-checked",!1),t(n).hide())})),i.data("activated",1))})),t(n.radioWrapper).each((function(){var i=t(this);"undefined"===e(i.data("activated"))&&(t(n.radioWrapper).find('input[type="radio"]').each((function(){var i=t(this).data("exist");"undefined"===e(i)&&1!=i&&(t('<span class="uix-controls__radio-trigger"></span>').insertAfter(t(this)),t(this).data("exist",1))})),i.data("activated",1))}))}))}}(jQuery)},616:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";t.fn.UixRenderCustomSelect=function(i){var n=t.extend({selector:".uix-controls__select",targetWrapper:".uix-controls__select-wrapper",trigger:".uix-controls__select-trigger",itemsWrapper:".uix-controls__select__option-container",item:".uix-controls__select__option"},i);this.each((function(){t(n.selector).not(".js-uix-new").each((function(){var i=t(this),a=i.attr("class"),r=(i.attr("id"),i.attr("name"),i.find("> span").html()),o=i.data("exist"),s="";"undefined"===e(o)&&1!=o&&(s='<div class="'+a+' js-uix-new">',s+='<span class="uix-controls__select-trigger">'+i.find("select").attr("placeholder")+'</span><ins class="uix-controls__bar"></ins><ins class="uix-controls__basic-bar"></ins>',s+='<div role="presentation" class="uix-controls__select__option-container">',i.find("select option").each((function(e){var i="";t(this).is(":selected")&&(i="is-active"),s+='<span role="option" class="uix-controls__select__option '+i+'" data-value="'+t(this).attr("value")+'">'+t(this).html()+"</span>"})),s+="</div></div>","undefined"!=e(r)&&""!=r&&(s+='<span class="uix-controls__select-label">'+r+"</span>"),i.wrap('<div class="'+n.targetWrapper.replace(".","")+" "+(i.hasClass("uix-controls--line")?"uix-controls--line":"")+" "+(i.hasClass("is-fullwidth")?"is-fullwidth":"")+" "+(i.hasClass("is-disabled")?"is-disabled":"")+'"></div>'),i.hide(),i.after(s),t(this).data("exist",1))})),t(document).off("click.FORM_CUSTOM_SELECT").on("click.FORM_CUSTOM_SELECT",n.trigger,(function(e){e.preventDefault(),t(this).closest(n.targetWrapper).find(n.selector+".js-uix-new").addClass("is-opened")})),t(document.body).on("click",(function(i){""!=i.target.className&&"undefined"!=e(i.target.className)&&"[object SVGAnimatedString]"!=Object.prototype.toString.call(i.target.className)&&i.target.className.indexOf("uix-controls__select__option")<0&&t(n.selector+".js-uix-new").removeClass("is-opened")})),t(n.selector+".js-uix-new").each((function(e){t(this).find(n.trigger).text(t(this).find(n.item+".is-active").html())})),t(document).off("click.FORM_CUSTOM_SELECT_ITEM").on("click.FORM_CUSTOM_SELECT_ITEM",n.item,(function(e){e.preventDefault();var i=t(this).closest(n.targetWrapper),a=i.find(n.selector+".js-uix-new"),r=t(this).data("value");a.removeClass("is-opened"),a.find(n.trigger).text(t(this).html()).addClass("is-active"),a.find(n.item).removeClass("is-active"),t(this).addClass("is-active"),i.find("select").val(r),i.find("select option").removeAttr("selected"),i.find('select option[value="'+r+'"]').attr("selected","selected").change()})),t(n.selector).not(".js-uix-new").each((function(){var e=t(this).find("select"),i=e.closest(n.targetWrapper).find(n.selector+".js-uix-new"),a="";e.closest(n.targetWrapper).find("select option").each((function(e){var i="";t(this).is(":selected")&&(i="is-active"),a+='<span role="option" class="uix-controls__select__option '+i+'" data-value="'+t(this).attr("value")+'">'+t(this).html()+"</span>"})),i.find(n.itemsWrapper).html("<div>"+a+"</div>"),i.each((function(e){t(this).find(n.trigger).text(t(this).find(n.item+".is-active").html())}))}))}))}}(jQuery)},81:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";t.fn.UixRenderCustomSingleSel=function(i){var n=t.extend({controls:".uix-controls__single-sel"},i);this.each((function(){t(n.controls).each((function(){var i=t(this);if("undefined"===e(i.data("activated"))){t(this).find("> span").each((function(){var i="#"+t(this).parent().attr("data-targetid"),n="";t(this).parent().find("> span").each((function(){"undefined"!=e(t(this).data("switchid"))&&(n+=t(this).data("switchid")+",")})),t(this).parent().attr("data-switchids",n.replace(/,\s*$/,"")),t(i).val()==t(this).data("value")?t(this).addClass("is-active").attr("aria-checked",!0):t(this).removeClass("is-active").attr("aria-checked",!1)}));var a=n.controls+" > span",r=function(i){i.each((function(i){var n=t(this),a=t("#"+n.attr("data-targetid")).val(),r=0;(n.find("> span").each((function(e){a==t(this).data("value")&&(r=e)})),"undefined"!=e(n.data("switchids"))&&""!=n.data("switchids"))&&n.data("switchids").split(",").forEach((function(e,i){r!=i?t("#"+e).hide():t("#"+e).show()}))}))};r(i),t(document).off("click.FORM_SINGLE_SEL").on("click.FORM_SINGLE_SEL",a,(function(i){i.preventDefault();var n=t(this).parent(),a=t(this),o="#"+n.data("targetid"),s="#"+a.data("switchid"),l=a.data("value");n.find("> span").removeClass("is-active").attr("aria-checked",!1),t(o).val(l),a.addClass("is-active").attr("aria-checked",!0),"undefined"!=e(a.data("switchid"))&&(r(n),t(s).show()),t(o).focus().blur()})),i.data("activated",1)}})),t(n.controls).each((function(){}))}))}}(jQuery)},292:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";t.fn.UixRenderTagInput=function(i){var n=t.extend({controls:".uix-controls__tags-wrapper"},i);this.each((function(){t(n.controls).each((function(){var i=t(this);if("undefined"===e(i.data("activated"))){var a=i.data("placeholder"),r=t('<div><ul class="uix-controls__tags__list"></ul><div class="uix-controls__tags"><input type="text" autoComplete="off" placeholder="'.concat(a,'" value=""></div></div>'));i.append(r);var o=-1,s=[],l="undefined"!=e(i.data("max-tags"))?i.data("max-tags"):10,d=i.find("> input").attr("type","hidden").val();d&&d.trim().replace(/^\,|\,$/g,"").split(",").forEach((function(e,t){s.push({content:e,id:t})}));var u=""!==d&&null!==d?s:[];i.data({data:u,"user-input":"","already-in-items":!1,max:l});var c=function(e,t){var i="",n=[];t.forEach((function(e,t){n.push(e.content),i+='<li data-item="'.concat(e.id,'">').concat(e.content,"</li>")})),e.find("> input").val(n.join(",")),e.find(".uix-controls__tags__list").html(i)};c(i,u),t(document).off("click.FORM_TAG_INPUT_DELETE").on("click.FORM_TAG_INPUT_DELETE",n.controls+" .uix-controls__tags__list > li",(function(e){var i=t(this).closest(n.controls),a=i.data("data"),r=Number(e.target.dataset.item),o=a.filter((function(e){return e.id!==r}));a=o,i.data({data:a}),c(i,a)})),t(document).on("change input",n.controls+" .uix-controls__tags input",(function(e){var i=t(this).closest(n.controls),a=i.data("data"),r=e.currentTarget.value,o=!1;a&&a.length>0&&(o=!!a.some((function(e){return e.content.toLowerCase()==r.toLowerCase()})));i.data({"user-input":e.currentTarget.value,"already-in-items":o})})),t(document).on("keypress",n.controls+" .uix-controls__tags input",(function(e){var i=t(this).closest(n.controls),a=i.data("data"),r=i.data("user-input"),s=i.data("already-in-items");if(13==e.which){if(e.preventDefault(),s)return!1;var l=a,d=r.trim();if(!d)return;if(i.data("max")-1<l.length)return;l.push({content:d,id:++o}),a=l,i.data({data:a,"user-input":""}),t(this).val(""),c(i,a)}})),t(document).on("focus",n.controls+" .uix-controls__tags input",(function(e){t(this).closest(n.controls).addClass("is-active")})),t(document).on("blur",n.controls+" .uix-controls__tags input",(function(e){t(this).closest(n.controls).removeClass("is-active")})),i.data("activated",1)}}))}))}}(jQuery)},433:()=>{!function(e){"use strict";e.fn.UixRenderCustomFile=function(t){var i=e.extend({controls:".uix-controls__file-container"},t);this.each((function(){e(i.controls).each((function(){var t=e(this).find('input[type="file"]'),i=e(this).find(".uix-controls__file-trigger"),n=e(this).next(".uix-controls__file-return");i.off("click").on("click",(function(){t.focusin()})),t.on("change",(function(){n.text(e(this).val())}))}))}))}}(jQuery)},126:()=>{!function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var o=n.length;o;)e.event.fixHooks[n[--o]]=e.event.mouseHooks;var s=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=a.length;t;)this.addEventListener(a[--t],l,!1);else this.onmousewheel=l;e.data(this,"mousewheel-line-height",s.getLineHeight(this)),e.data(this,"mousewheel-page-height",s.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=a.length;t;)this.removeEventListener(a[--t],l,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(n){var a=n||window.event,o=r.call(arguments,1),l=0,c=0,f=0,p=0,h=0,m=0;if((n=e.event.fix(a)).type="mousewheel","detail"in a&&(f=-1*a.detail),"wheelDelta"in a&&(f=a.wheelDelta),"wheelDeltaY"in a&&(f=a.wheelDeltaY),"wheelDeltaX"in a&&(c=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(c=-1*f,f=0),l=0===f?c:f,"deltaY"in a&&(l=f=-1*a.deltaY),"deltaX"in a&&(c=a.deltaX,0===f&&(l=-1*c)),0!==f||0!==c){if(1===a.deltaMode){var v=e.data(this,"mousewheel-line-height");l*=v,f*=v,c*=v}else if(2===a.deltaMode){var g=e.data(this,"mousewheel-page-height");l*=g,f*=g,c*=g}if(p=Math.max(Math.abs(f),Math.abs(c)),(!i||p<i)&&(i=p,u(a,p)&&(i/=40)),u(a,p)&&(l/=40,c/=40,f/=40),l=Math[l>=1?"floor":"ceil"](l/i),c=Math[c>=1?"floor":"ceil"](c/i),f=Math[f>=1?"floor":"ceil"](f/i),s.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();h=n.clientX-y.left,m=n.clientY-y.top}return n.deltaX=c,n.deltaY=f,n.deltaFactor=i,n.offsetX=h,n.offsetY=m,n.deltaMode=0,o.unshift(n,l,c,f),t&&clearTimeout(t),t=setTimeout(d,200),(e.event.dispatch||e.event.handle).apply(this,o)}}function d(){i=null}function u(e,t){return s.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery)},265:function(e,t,i){var n,a,r;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}r=function(){"use strict";function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},t.apply(this,arguments)}function i(e){return null!==e&&"object"===o(e)&&"constructor"in e&&e.constructor===Object}function n(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(a){void 0===e[a]?e[a]=t[a]:i(t[a])&&i(e[a])&&Object.keys(t[a]).length>0&&n(e[a],t[a])}))}var a={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function r(){var e="undefined"!=typeof document?document:{};return n(e,a),e}var s={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){var e="undefined"!=typeof window?window:{};return n(e,s),e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function f(e,t,i){return f=c()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return i&&u(a,i.prototype),a},f.apply(null,arguments)}function p(e){var t="function"==typeof Map?new Map:void 0;return p=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return f(e,arguments,d(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,e)},p(e)}var h=function(e){var t,i;function n(t){var i,n,a;return i=e.call.apply(e,[this].concat(t))||this,n=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i),a=n.__proto__,Object.defineProperty(n,"__proto__",{get:function(){return a},set:function(e){a.__proto__=e}}),i}return i=e,(t=n).prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i,n}(p(Array));function m(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,m(e)):t.push(e)})),t}function v(e,t){return Array.prototype.filter.call(e,t)}function g(e,t){var i=l(),n=r(),a=[];if(!t&&e instanceof h)return e;if(!e)return new h(a);if("string"==typeof e){var o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var s="div";0===o.indexOf("<li")&&(s="ul"),0===o.indexOf("<tr")&&(s="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(s="tr"),0===o.indexOf("<tbody")&&(s="table"),0===o.indexOf("<option")&&(s="select");var d=n.createElement(s);d.innerHTML=o;for(var u=0;u<d.childNodes.length;u+=1)a.push(d.childNodes[u])}else a=function(e,t){if("string"!=typeof e)return[e];for(var i=[],n=t.querySelectorAll(e),a=0;a<n.length;a+=1)i.push(n[a]);return i}(e.trim(),t||n)}else if(e.nodeType||e===i||e===n)a.push(e);else if(Array.isArray(e)){if(e instanceof h)return e;a=e}return new h(function(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}(a))}g.fn=h.prototype;var y,x,E,T={addClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=m(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,n)})),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=m(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,n)})),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=m(t.map((function(e){return e.split(" ")})));return v(this,(function(e){return n.filter((function(t){return e.classList.contains(t)})).length>0})).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=m(t.map((function(e){return e.split(" ")})));this.forEach((function(e){n.forEach((function(t){e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(var n in e)this[i][n]=e[n],this[i].setAttribute(n,e[n]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transition="string"!=typeof e?e+"ms":e;return this},on:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=t[0],a=t[1],r=t[2],o=t[3];function s(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),g(t).is(a))r.apply(t,i);else for(var n=g(t).parents(),o=0;o<n.length;o+=1)g(n[o]).is(a)&&r.apply(n[o],i)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(n=t[0],r=t[1],o=t[2],a=void 0),o||(o=!1);for(var d,u=n.split(" "),c=0;c<this.length;c+=1){var f=this[c];if(a)for(d=0;d<u.length;d+=1){var p=u[d];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[p]||(f.dom7LiveListeners[p]=[]),f.dom7LiveListeners[p].push({listener:r,proxyListener:s}),f.addEventListener(p,s,o)}else for(d=0;d<u.length;d+=1){var h=u[d];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[h]||(f.dom7Listeners[h]=[]),f.dom7Listeners[h].push({listener:r,proxyListener:l}),f.addEventListener(h,l,o)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=t[0],a=t[1],r=t[2],o=t[3];"function"==typeof t[1]&&(n=t[0],r=t[1],o=t[2],a=void 0),o||(o=!1);for(var s=n.split(" "),l=0;l<s.length;l+=1)for(var d=s[l],u=0;u<this.length;u+=1){var c=this[u],f=void 0;if(!a&&c.dom7Listeners?f=c.dom7Listeners[d]:a&&c.dom7LiveListeners&&(f=c.dom7LiveListeners[d]),f&&f.length)for(var p=f.length-1;p>=0;p-=1){var h=f[p];r&&h.listener===r||r&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===r?(c.removeEventListener(d,h.proxyListener,o),f.splice(p,1)):r||(c.removeEventListener(d,h.proxyListener,o),f.splice(p,1))}}return this},trigger:function(){for(var e=l(),t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];for(var a=i[0].split(" "),r=i[1],o=0;o<a.length;o+=1)for(var s=a[o],d=0;d<this.length;d+=1){var u=this[d];if(e.CustomEvent){var c=new e.CustomEvent(s,{detail:r,bubbles:!0,cancelable:!0});u.dom7EventData=i.filter((function(e,t){return t>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",(function i(n){n.target===this&&(e.call(this,n),t.off("transitionend",i))})),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=l();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=l(),t=r(),i=this[0],n=i.getBoundingClientRect(),a=t.body,o=i.clientTop||a.clientTop||0,s=i.clientLeft||a.clientLeft||0,d=i===e?e.scrollY:i.scrollTop,u=i===e?e.scrollX:i.scrollLeft;return{top:n.top+d-o,left:n.left+u-s}}return null},css:function(e,t){var i,n=l();if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var a in e)this[i].style[a]=e[a];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){return e?(this.forEach((function(t,i){e.apply(t,[t,i])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,i,n=l(),a=r(),o=this[0];if(!o||void 0===e)return!1;if("string"==typeof e){if(o.matches)return o.matches(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);for(t=g(e),i=0;i<t.length;i+=1)if(t[i]===o)return!0;return!1}if(e===a)return o===a;if(e===n)return o===n;if(e.nodeType||e instanceof h){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===o)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t=this.length;if(e>t-1)return g([]);if(e<0){var i=t+e;return g(i<0?[]:[this[i]])}return g([this[e]])},append:function(){for(var e,t=r(),i=0;i<arguments.length;i+=1){e=i<0||arguments.length<=i?void 0:arguments[i];for(var n=0;n<this.length;n+=1)if("string"==typeof e){var a=t.createElement("div");for(a.innerHTML=e;a.firstChild;)this[n].appendChild(a.firstChild)}else if(e instanceof h)for(var o=0;o<e.length;o+=1)this[n].appendChild(e[o]);else this[n].appendChild(e)}return this},prepend:function(e){var t,i,n=r();for(t=0;t<this.length;t+=1)if("string"==typeof e){var a=n.createElement("div");for(a.innerHTML=e,i=a.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(a.childNodes[i],this[t].childNodes[0])}else if(e instanceof h)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&g(this[0].nextElementSibling).is(e)?g([this[0].nextElementSibling]):g([]):this[0].nextElementSibling?g([this[0].nextElementSibling]):g([]):g([])},nextAll:function(e){var t=[],i=this[0];if(!i)return g([]);for(;i.nextElementSibling;){var n=i.nextElementSibling;e?g(n).is(e)&&t.push(n):t.push(n),i=n}return g(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&g(t.previousElementSibling).is(e)?g([t.previousElementSibling]):g([]):t.previousElementSibling?g([t.previousElementSibling]):g([])}return g([])},prevAll:function(e){var t=[],i=this[0];if(!i)return g([]);for(;i.previousElementSibling;){var n=i.previousElementSibling;e?g(n).is(e)&&t.push(n):t.push(n),i=n}return g(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?g(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return g(t)},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].parentNode;n;)e?g(n).is(e)&&t.push(n):t.push(n),n=n.parentNode;return g(t)},closest:function(e){var t=this;return void 0===e?g([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].querySelectorAll(e),a=0;a<n.length;a+=1)t.push(n[a]);return g(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].children,a=0;a<n.length;a+=1)e&&!g(n[a]).is(e)||t.push(n[a]);return g(t)},filter:function(e){return g(v(this,e))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function b(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function _(){return Date.now()}function w(e,t){void 0===t&&(t="x");var i,n,a,r=l(),o=r.getComputedStyle(e,null);return r.WebKitCSSMatrix?((n=o.transform||o.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),a=new r.WebKitCSSMatrix("none"===n?"":n)):i=(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=r.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=r.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0}function S(e){return"object"===o(e)&&null!==e&&e.constructor&&e.constructor===Object}function C(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t+=1){var i=t<0||arguments.length<=t?void 0:arguments[t];if(null!=i)for(var n=Object.keys(Object(i)),a=0,r=n.length;a<r;a+=1){var o=n[a],s=Object.getOwnPropertyDescriptor(i,o);void 0!==s&&s.enumerable&&(S(e[o])&&S(i[o])?C(e[o],i[o]):!S(e[o])&&S(i[o])?(e[o]={},C(e[o],i[o])):e[o]=i[o])}}return e}function R(e,t){Object.keys(t).forEach((function(i){S(t[i])&&Object.keys(t[i]).forEach((function(n){"function"==typeof t[i][n]&&(t[i][n]=t[i][n].bind(e))})),e[i]=t[i]}))}function M(){return y||(y=function(){var e=l(),t=r();return{touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!e.PointerEvent&&"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),y}function L(e){return void 0===e&&(e={}),x||(x=function(e){var t=(void 0===e?{}:e).userAgent,i=M(),n=l(),a=n.navigator.platform,r=t||n.navigator.userAgent,o={ios:!1,android:!1},s=n.screen.width,d=n.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/),c=r.match(/(iPad).*OS\s([\d_]+)/),f=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===a,m="MacIntel"===a;return!c&&m&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768"].indexOf(s+"x"+d)>=0&&((c=r.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),m=!1),u&&!h&&(o.os="android",o.android=!0),(c||p||f)&&(o.os="ios",o.ios=!0),o}(e)),x}function A(){return E||(E=function(){var e,t=l();return{isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(e=t.navigator.userAgent.toLowerCase(),e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()),E}Object.keys(T).forEach((function(e){g.fn[e]=T[e]}));var O={name:"resize",create:function(){var e=this;C(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=l();t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(e){var t=l();t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},D={attach:function(e,t){void 0===t&&(t={});var i=l(),n=this,a=new(i.MutationObserver||i.WebkitMutationObserver)((function(e){if(1!==e.length){var t=function(){n.emit("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}else n.emit("observerUpdate",e[0])}));a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(a)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)e.observer.attach(t[i]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},P={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){R(this,{observer:t(t({},D),{},{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},I={useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var n=t.modules[i];n.params&&C(e,n.params)}))},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var n=t.modules[i],a=e[i]||{};n.on&&t.on&&Object.keys(n.on).forEach((function(e){t.on(e,n.on[e])})),n.create&&n.create.bind(t)(a)}))}},H={on:function(e,t,i){var n=this;if("function"!=typeof t)return n;var a=i?"unshift":"push";return e.split(" ").forEach((function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][a](t)})),n},once:function(e,t,i){var n=this;if("function"!=typeof t)return n;function a(){n.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];t.apply(n,r)}return a.__emitterProxy=t,n.on(e,a,i)},onAny:function(e,t){var i=this;if("function"!=typeof e)return i;var n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;var i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off:function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((function(n,a){(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(a,1)}))})),i):i},emit:function(){var e,t,i,n=this;if(!n.eventsListeners)return n;for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),i=n):(e=r[0].events,t=r[0].data,i=r[0].context||n),t.unshift(i);var s=Array.isArray(e)?e:e.split(" ");return s.forEach((function(e){if(n.eventsListeners&&n.eventsListeners[e]){var a=[];n.eventsListeners[e].forEach((function(e){a.push(e)})),a.forEach((function(e){e.apply(i,t)}))}})),n}},k={updateSize:function(){var e,t,i=this,n=i.$el;e=void 0!==i.params.width&&null!==i.params.width?i.params.width:n[0].clientWidth,t=void 0!==i.params.height&&null!==i.params.width?i.params.height:n[0].clientHeight,0===e&&i.isHorizontal()||0===t&&i.isVertical()||(e=e-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),t=t-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),C(i,{width:e,height:t,size:i.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=l(),i=e.params,n=e.$wrapperEl,a=e.size,r=e.rtlTranslate,o=e.wrongRTL,s=e.virtual&&i.virtual.enabled,d=s?e.virtual.slides.length:e.slides.length,u=n.children("."+e.params.slideClass),c=s?e.virtual.slides.length:u.length,f=[],p=[],h=[];function m(e,t){return!i.cssMode||t!==u.length-1}var v=i.slidesOffsetBefore;"function"==typeof v&&(v=i.slidesOffsetBefore.call(e));var g=i.slidesOffsetAfter;"function"==typeof g&&(g=i.slidesOffsetAfter.call(e));var y=e.snapGrid.length,x=e.snapGrid.length,E=i.spaceBetween,T=-v,b=0,_=0;if(void 0!==a){var w,S;"string"==typeof E&&E.indexOf("%")>=0&&(E=parseFloat(E.replace("%",""))/100*a),e.virtualSize=-E,r?u.css({marginLeft:"",marginTop:""}):u.css({marginRight:"",marginBottom:""}),i.slidesPerColumn>1&&(w=Math.floor(c/i.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/i.slidesPerColumn)*i.slidesPerColumn,"auto"!==i.slidesPerView&&"row"===i.slidesPerColumnFill&&(w=Math.max(w,i.slidesPerView*i.slidesPerColumn)));for(var R,M=i.slidesPerColumn,L=w/M,A=Math.floor(c/i.slidesPerColumn),O=0;O<c;O+=1){S=0;var D=u.eq(O);if(i.slidesPerColumn>1){var P=void 0,I=void 0,H=void 0;if("row"===i.slidesPerColumnFill&&i.slidesPerGroup>1){var k=Math.floor(O/(i.slidesPerGroup*i.slidesPerColumn)),N=O-i.slidesPerColumn*i.slidesPerGroup*k,F=0===k?i.slidesPerGroup:Math.min(Math.ceil((c-k*M*i.slidesPerGroup)/M),i.slidesPerGroup);P=(I=N-(H=Math.floor(N/F))*F+k*i.slidesPerGroup)+H*w/M,D.css({"-webkit-box-ordinal-group":P,"-moz-box-ordinal-group":P,"-ms-flex-order":P,"-webkit-order":P,order:P})}else"column"===i.slidesPerColumnFill?(H=O-(I=Math.floor(O/M))*M,(I>A||I===A&&H===M-1)&&(H+=1)>=M&&(H=0,I+=1)):I=O-(H=Math.floor(O/L))*L;D.css("margin-"+(e.isHorizontal()?"top":"left"),0!==H&&i.spaceBetween&&i.spaceBetween+"px")}if("none"!==D.css("display")){if("auto"===i.slidesPerView){var z=t.getComputedStyle(D[0],null),j=D[0].style.transform,G=D[0].style.webkitTransform;if(j&&(D[0].style.transform="none"),G&&(D[0].style.webkitTransform="none"),i.roundLengths)S=e.isHorizontal()?D.outerWidth(!0):D.outerHeight(!0);else if(e.isHorizontal()){var B=parseFloat(z.getPropertyValue("width")||0),W=parseFloat(z.getPropertyValue("padding-left")||0),U=parseFloat(z.getPropertyValue("padding-right")||0),Y=parseFloat(z.getPropertyValue("margin-left")||0),X=parseFloat(z.getPropertyValue("margin-right")||0),q=z.getPropertyValue("box-sizing");S=q&&"border-box"===q?B+Y+X:B+W+U+Y+X}else{var V=parseFloat(z.getPropertyValue("height")||0),$=parseFloat(z.getPropertyValue("padding-top")||0),Q=parseFloat(z.getPropertyValue("padding-bottom")||0),K=parseFloat(z.getPropertyValue("margin-top")||0),J=parseFloat(z.getPropertyValue("margin-bottom")||0),Z=z.getPropertyValue("box-sizing");S=Z&&"border-box"===Z?V+K+J:V+$+Q+K+J}j&&(D[0].style.transform=j),G&&(D[0].style.webkitTransform=G),i.roundLengths&&(S=Math.floor(S))}else S=(a-(i.slidesPerView-1)*E)/i.slidesPerView,i.roundLengths&&(S=Math.floor(S)),u[O]&&(e.isHorizontal()?u[O].style.width=S+"px":u[O].style.height=S+"px");u[O]&&(u[O].swiperSlideSize=S),h.push(S),i.centeredSlides?(T=T+S/2+b/2+E,0===b&&0!==O&&(T=T-a/2-E),0===O&&(T=T-a/2-E),Math.abs(T)<.001&&(T=0),i.roundLengths&&(T=Math.floor(T)),_%i.slidesPerGroup==0&&f.push(T),p.push(T)):(i.roundLengths&&(T=Math.floor(T)),(_-Math.min(e.params.slidesPerGroupSkip,_))%e.params.slidesPerGroup==0&&f.push(T),p.push(T),T=T+S+E),e.virtualSize+=S+E,b=S,_+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+g,r&&o&&("slide"===i.effect||"coverflow"===i.effect)&&n.css({width:e.virtualSize+i.spaceBetween+"px"}),i.setWrapperSize&&(e.isHorizontal()?n.css({width:e.virtualSize+i.spaceBetween+"px"}):n.css({height:e.virtualSize+i.spaceBetween+"px"})),i.slidesPerColumn>1&&(e.virtualSize=(S+i.spaceBetween)*w,e.virtualSize=Math.ceil(e.virtualSize/i.slidesPerColumn)-i.spaceBetween,e.isHorizontal()?n.css({width:e.virtualSize+i.spaceBetween+"px"}):n.css({height:e.virtualSize+i.spaceBetween+"px"}),i.centeredSlides)){R=[];for(var ee=0;ee<f.length;ee+=1){var te=f[ee];i.roundLengths&&(te=Math.floor(te)),f[ee]<e.virtualSize+f[0]&&R.push(te)}f=R}if(!i.centeredSlides){R=[];for(var ie=0;ie<f.length;ie+=1){var ne=f[ie];i.roundLengths&&(ne=Math.floor(ne)),f[ie]<=e.virtualSize-a&&R.push(ne)}f=R,Math.floor(e.virtualSize-a)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-a)}if(0===f.length&&(f=[0]),0!==i.spaceBetween&&(e.isHorizontal()?r?u.filter(m).css({marginLeft:E+"px"}):u.filter(m).css({marginRight:E+"px"}):u.filter(m).css({marginBottom:E+"px"})),i.centeredSlides&&i.centeredSlidesBounds){var ae=0;h.forEach((function(e){ae+=e+(i.spaceBetween?i.spaceBetween:0)}));var re=(ae-=i.spaceBetween)-a;f=f.map((function(e){return e<0?-v:e>re?re+g:e}))}if(i.centerInsufficientSlides){var oe=0;if(h.forEach((function(e){oe+=e+(i.spaceBetween?i.spaceBetween:0)})),(oe-=i.spaceBetween)<a){var se=(a-oe)/2;f.forEach((function(e,t){f[t]=e-se})),p.forEach((function(e,t){p[t]=e+se}))}}C(e,{slides:u,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),c!==d&&e.emit("slidesLengthChange"),f.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==x&&e.emit("slidesGridLengthChange"),(i.watchSlidesProgress||i.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=this,n=[],a=0;if("number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed),"auto"!==i.params.slidesPerView&&i.params.slidesPerView>1)if(i.params.centeredSlides)i.visibleSlides.each((function(e){n.push(e)}));else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var r=i.activeIndex+t;if(r>i.slides.length)break;n.push(i.slides.eq(r)[0])}else n.push(i.slides.eq(i.activeIndex)[0]);for(t=0;t<n.length;t+=1)if(void 0!==n[t]){var o=n[t].offsetHeight;a=o>a?o:a}a&&i.$wrapperEl.css("height",a+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,n=t.slides,a=t.rtlTranslate;if(0!==n.length){void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;a&&(r=e),n.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var o=0;o<n.length;o+=1){var s=n[o],l=(r+(i.centeredSlides?t.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight){var d=-(r-s.swiperSlideOffset),u=d+t.slidesSizesGrid[o];(d>=0&&d<t.size-1||u>1&&u<=t.size||d<=0&&u>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(o),n.eq(o).addClass(i.slideVisibleClass))}s.progress=a?-l:l}t.visibleSlides=g(t.visibleSlides)}},updateProgress:function(e){var t=this;if(void 0===e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var n=t.params,a=t.maxTranslate()-t.minTranslate(),r=t.progress,o=t.isBeginning,s=t.isEnd,l=o,d=s;0===a?(r=0,o=!0,s=!0):(o=(r=(e-t.minTranslate())/a)<=0,s=r>=1),C(t,{progress:r,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),s&&!d&&t.emit("reachEnd toEdge"),(l&&!o||d&&!s)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e,t=this,i=t.slides,n=t.params,a=t.$wrapperEl,r=t.activeIndex,o=t.realIndex,s=t.virtual&&n.virtual.enabled;i.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass),(e=s?t.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+r+'"]'):i.eq(r)).addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+o+'"]').addClass(n.slideDuplicateActiveClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+o+'"]').addClass(n.slideDuplicateActiveClass));var l=e.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=i.eq(0)).addClass(n.slideNextClass);var d=e.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===d.length&&(d=i.eq(-1)).addClass(n.slidePrevClass),n.loop&&(l.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),d.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(e){var t,i=this,n=i.rtlTranslate?i.translate:-i.translate,a=i.slidesGrid,r=i.snapGrid,o=i.params,s=i.activeIndex,l=i.realIndex,d=i.snapIndex,u=e;if(void 0===u){for(var c=0;c<a.length;c+=1)void 0!==a[c+1]?n>=a[c]&&n<a[c+1]-(a[c+1]-a[c])/2?u=c:n>=a[c]&&n<a[c+1]&&(u=c+1):n>=a[c]&&(u=c);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(n)>=0)t=r.indexOf(n);else{var f=Math.min(o.slidesPerGroupSkip,u);t=f+Math.floor((u-f)/o.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),u!==s){var p=parseInt(i.slides.eq(u).attr("data-swiper-slide-index")||u,10);C(i,{snapIndex:t,realIndex:p,previousIndex:s,activeIndex:u}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==p&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}else t!==d&&(i.snapIndex=t,i.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,n=g(e.target).closest("."+i.slideClass)[0],a=!1;if(n)for(var r=0;r<t.slides.length;r+=1)t.slides[r]===n&&(a=!0);if(!n||!a)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(g(n).attr("data-swiper-slide-index"),10):t.clickedIndex=g(n).index(),i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},N={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,i=t.params,n=t.rtlTranslate,a=t.translate,r=t.$wrapperEl;if(i.virtualTranslate)return n?-a:a;if(i.cssMode)return a;var o=w(r[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){var i=this,n=i.rtlTranslate,a=i.params,r=i.$wrapperEl,o=i.wrapperEl,s=i.progress,l=0,d=0;i.isHorizontal()?l=n?-e:e:d=e,a.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),a.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-d:a.virtualTranslate||r.transform("translate3d("+l+"px, "+d+"px, 0px)"),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:d;var u=i.maxTranslate()-i.minTranslate();(0===u?0:(e-i.minTranslate())/u)!==s&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);var r=this,o=r.params,s=r.wrapperEl;if(r.animating&&o.preventInteractionOnTransition)return!1;var l,d=r.minTranslate(),u=r.maxTranslate();if(l=n&&e>d?d:n&&e<u?u:e,r.updateProgress(l),o.cssMode){var c,f=r.isHorizontal();return 0===t?s[f?"scrollLeft":"scrollTop"]=-l:s.scrollTo?s.scrollTo(((c={})[f?"left":"top"]=-l,c.behavior="smooth",c)):s[f?"scrollLeft":"scrollTop"]=-l,!0}return 0===t?(r.setTransition(0),r.setTranslate(l),i&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(l),i&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}},F={slideTo:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=this,r=e;r<0&&(r=0);var o=a.params,s=a.snapGrid,l=a.slidesGrid,d=a.previousIndex,u=a.activeIndex,c=a.rtlTranslate,f=a.wrapperEl;if(a.animating&&o.preventInteractionOnTransition)return!1;var p=Math.min(a.params.slidesPerGroupSkip,r),h=p+Math.floor((r-p)/a.params.slidesPerGroup);h>=s.length&&(h=s.length-1),(u||o.initialSlide||0)===(d||0)&&i&&a.emit("beforeSlideChangeStart");var m,v=-s[h];if(a.updateProgress(v),o.normalizeSlideIndex)for(var g=0;g<l.length;g+=1)-Math.floor(100*v)>=Math.floor(100*l[g])&&(r=g);if(a.initialized&&r!==u){if(!a.allowSlideNext&&v<a.translate&&v<a.minTranslate())return!1;if(!a.allowSlidePrev&&v>a.translate&&v>a.maxTranslate()&&(u||0)!==r)return!1}if(m=r>u?"next":r<u?"prev":"reset",c&&-v===a.translate||!c&&v===a.translate)return a.updateActiveIndex(r),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(v),"reset"!==m&&(a.transitionStart(i,m),a.transitionEnd(i,m)),!1;if(o.cssMode){var y,x=a.isHorizontal(),E=-v;return c&&(E=f.scrollWidth-f.offsetWidth-E),0===t?f[x?"scrollLeft":"scrollTop"]=E:f.scrollTo?f.scrollTo(((y={})[x?"left":"top"]=E,y.behavior="smooth",y)):f[x?"scrollLeft":"scrollTop"]=E,!0}return 0===t?(a.setTransition(0),a.setTranslate(v),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(i,m),a.transitionEnd(i,m)):(a.setTransition(t),a.setTranslate(v),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(i,m),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,m))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=this,r=e;return a.params.loop&&(r+=a.loopedSlides),a.slideTo(r,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,a=n.params,r=n.animating,o=n.activeIndex<a.slidesPerGroupSkip?1:a.slidesPerGroup;if(a.loop){if(r&&a.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return n.slideTo(n.activeIndex+o,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,a=n.params,r=n.animating,o=n.snapGrid,s=n.slidesGrid,l=n.rtlTranslate;if(a.loop){if(r&&a.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,c=d(l?n.translate:-n.translate),f=o.map((function(e){return d(e)})),p=(o[f.indexOf(c)],o[f.indexOf(c)-1]);return void 0===p&&a.cssMode&&o.forEach((function(e){!p&&c>=e&&(p=e)})),void 0!==p&&(u=s.indexOf(p))<0&&(u=n.activeIndex-1),n.slideTo(u,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var a=this,r=a.activeIndex,o=Math.min(a.params.slidesPerGroupSkip,r),s=o+Math.floor((r-o)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[s]){var d=a.snapGrid[s];l-d>(a.snapGrid[s+1]-d)*n&&(r+=a.params.slidesPerGroup)}else{var u=a.snapGrid[s-1];l-u<=(a.snapGrid[s]-u)*n&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,n=t.$wrapperEl,a="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(g(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?r<t.loopedSlides-a/2||r>t.slides.length-t.loopedSlides+a/2?(t.loopFix(),r=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),b((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-a?(t.loopFix(),r=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),b((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}},z={loopCreate:function(){var e=this,t=r(),i=e.params,n=e.$wrapperEl;n.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var a=n.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var o=i.slidesPerGroup-a.length%i.slidesPerGroup;if(o!==i.slidesPerGroup){for(var s=0;s<o;s+=1){var l=g(t.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);n.append(l)}a=n.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=a.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>a.length&&(e.loopedSlides=a.length);var d=[],u=[];a.each((function(t,i){var n=g(t);i<e.loopedSlides&&u.push(t),i<a.length&&i>=a.length-e.loopedSlides&&d.push(t),n.attr("data-swiper-slide-index",i)}));for(var c=0;c<u.length;c+=1)n.append(g(u[c].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var f=d.length-1;f>=0;f-=1)n.prepend(g(d[f].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,i=e.activeIndex,n=e.slides,a=e.loopedSlides,r=e.allowSlidePrev,o=e.allowSlideNext,s=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var d=-s[i]-e.getTranslate();i<a?(t=n.length-3*a+i,t+=a,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)):i>=n.length-a&&(t=-n.length+i+a,t+=a,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)),e.allowSlidePrev=r,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides;t.children("."+i.slideClass+"."+i.slideDuplicateClass+",."+i.slideClass+"."+i.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},j={appendSlide:function(e){var t=this,i=t.$wrapperEl,n=t.params;if(n.loop&&t.loopDestroy(),"object"===o(e)&&"length"in e)for(var a=0;a<e.length;a+=1)e[a]&&i.append(e[a]);else i.append(e);n.loop&&t.loopCreate(),n.observer&&t.support.observer||t.update()},prependSlide:function(e){var t=this,i=t.params,n=t.$wrapperEl,a=t.activeIndex;i.loop&&t.loopDestroy();var r=a+1;if("object"===o(e)&&"length"in e){for(var s=0;s<e.length;s+=1)e[s]&&n.prepend(e[s]);r=a+e.length}else n.prepend(e);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),t.slideTo(r,0,!1)},addSlide:function(e,t){var i=this,n=i.$wrapperEl,a=i.params,r=i.activeIndex;a.loop&&(r-=i.loopedSlides,i.loopDestroy(),i.slides=n.children("."+a.slideClass));var s=i.slides.length;if(e<=0)i.prependSlide(t);else if(e>=s)i.appendSlide(t);else{for(var l=r>e?r+1:r,d=[],u=s-1;u>=e;u-=1){var c=i.slides.eq(u);c.remove(),d.unshift(c)}if("object"===o(t)&&"length"in t){for(var f=0;f<t.length;f+=1)t[f]&&n.append(t[f]);l=r>e?r+t.length:r}else n.append(t);for(var p=0;p<d.length;p+=1)n.append(d[p]);a.loop&&i.loopCreate(),a.observer&&i.support.observer||i.update(),a.loop?i.slideTo(l+i.loopedSlides,0,!1):i.slideTo(l,0,!1)}},removeSlide:function(e){var t=this,i=t.params,n=t.$wrapperEl,a=t.activeIndex;i.loop&&(a-=t.loopedSlides,t.loopDestroy(),t.slides=n.children("."+i.slideClass));var r,s=a;if("object"===o(e)&&"length"in e){for(var l=0;l<e.length;l+=1)r=e[l],t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1);s=Math.max(s,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1),s=Math.max(s,0);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),i.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}};function G(e){var t=this,i=r(),n=l(),a=t.touchEventsData,o=t.params,s=t.touches;if(!t.animating||!o.preventInteractionOnTransition){var d=e;d.originalEvent&&(d=d.originalEvent);var u=g(d.target);if(("wrapper"!==o.touchEventsTarget||u.closest(t.wrapperEl).length)&&(a.isTouchEvent="touchstart"===d.type,(a.isTouchEvent||!("which"in d)||3!==d.which)&&!(!a.isTouchEvent&&"button"in d&&d.button>0||a.isTouched&&a.isMoved)))if(o.noSwiping&&u.closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0])t.allowClick=!0;else if(!o.swipeHandler||u.closest(o.swipeHandler)[0]){s.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,s.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;var c=s.currentX,f=s.currentY,p=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,h=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(!p||!(c<=h||c>=n.screen.width-h)){if(C(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=c,s.startY=f,a.touchStartTime=_(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==d.type){var m=!0;u.is(a.formElements)&&(m=!1),i.activeElement&&g(i.activeElement).is(a.formElements)&&i.activeElement!==u[0]&&i.activeElement.blur();var v=m&&t.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||v)&&d.preventDefault()}t.emit("touchStart",d)}}}}function B(e){var t=r(),i=this,n=i.touchEventsData,a=i.params,o=i.touches,s=i.rtlTranslate,l=e;if(l.originalEvent&&(l=l.originalEvent),n.isTouched){if(!n.isTouchEvent||"touchmove"===l.type){var d="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?d.pageX:l.pageX,c="touchmove"===l.type?d.pageY:l.pageY;if(l.preventedByNestedSwiper)return o.startX=u,void(o.startY=c);if(!i.allowTouchMove)return i.allowClick=!1,void(n.isTouched&&(C(o,{startX:u,startY:c,currentX:u,currentY:c}),n.touchStartTime=_()));if(n.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(i.isVertical()){if(c<o.startY&&i.translate<=i.maxTranslate()||c>o.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<o.startX&&i.translate<=i.maxTranslate()||u>o.startX&&i.translate>=i.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&g(l.target).is(n.formElements))return n.isMoved=!0,void(i.allowClick=!1);if(n.allowTouchCallbacks&&i.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){o.currentX=u,o.currentY=c;var f,p=o.currentX-o.startX,h=o.currentY-o.startY;if(!(i.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(h,2))<i.params.threshold))if(void 0===n.isScrolling&&(i.isHorizontal()&&o.currentY===o.startY||i.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:p*p+h*h>=25&&(f=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,n.isScrolling=i.isHorizontal()?f>a.touchAngle:90-f>a.touchAngle)),n.isScrolling&&i.emit("touchMoveOpposite",l),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){i.allowClick=!1,!a.cssMode&&l.cancelable&&l.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&l.stopPropagation(),n.isMoved||(a.loop&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!a.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),n.isMoved=!0;var m=i.isHorizontal()?p:h;o.diff=m,m*=a.touchRatio,s&&(m=-m),i.swipeDirection=m>0?"prev":"next",n.currentTranslate=m+n.startTranslate;var v=!0,y=a.resistanceRatio;if(a.touchReleaseOnEdges&&(y=0),m>0&&n.currentTranslate>i.minTranslate()?(v=!1,a.resistance&&(n.currentTranslate=i.minTranslate()-1+Math.pow(-i.minTranslate()+n.startTranslate+m,y))):m<0&&n.currentTranslate<i.maxTranslate()&&(v=!1,a.resistance&&(n.currentTranslate=i.maxTranslate()+1-Math.pow(i.maxTranslate()-n.startTranslate-m,y))),v&&(l.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(m)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=i.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}a.followFinger&&!a.cssMode&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(i.updateActiveIndex(),i.updateSlidesClasses()),a.freeMode&&(0===n.velocities.length&&n.velocities.push({position:o[i.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:o[i.isHorizontal()?"currentX":"currentY"],time:_()})),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",l)}function W(e){var t=this,i=t.touchEventsData,n=t.params,a=t.touches,r=t.rtlTranslate,o=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,c=_(),f=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),f<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=_(),b((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=n.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!n.cssMode)if(n.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(n.freeModeMomentum){if(i.velocities.length>1){var p=i.velocities.pop(),h=i.velocities.pop(),m=p.position-h.position,v=p.time-h.time;t.velocity=m/v,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),(v>150||_()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;var g=1e3*n.freeModeMomentumRatio,y=t.velocity*g,x=t.translate+y;r&&(x=-x);var E,T,w=!1,S=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(x<t.maxTranslate())n.freeModeMomentumBounce?(x+t.maxTranslate()<-S&&(x=t.maxTranslate()-S),E=t.maxTranslate(),w=!0,i.allowMomentumBounce=!0):x=t.maxTranslate(),n.loop&&n.centeredSlides&&(T=!0);else if(x>t.minTranslate())n.freeModeMomentumBounce?(x-t.minTranslate()>S&&(x=t.minTranslate()+S),E=t.minTranslate(),w=!0,i.allowMomentumBounce=!0):x=t.minTranslate(),n.loop&&n.centeredSlides&&(T=!0);else if(n.freeModeSticky){for(var C,R=0;R<l.length;R+=1)if(l[R]>-x){C=R;break}x=-(x=Math.abs(l[C]-x)<Math.abs(l[C-1]-x)||"next"===t.swipeDirection?l[C]:l[C-1])}if(T&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(g=r?Math.abs((-x-t.translate)/t.velocity):Math.abs((x-t.translate)/t.velocity),n.freeModeSticky){var M=Math.abs((r?-x:x)-t.translate),L=t.slidesSizesGrid[t.activeIndex];g=M<L?n.speed:M<2*L?1.5*n.speed:2.5*n.speed}}else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&w?(t.updateProgress(E),t.setTransition(g),t.setTranslate(x),t.transitionStart(!0,t.swipeDirection),t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),setTimeout((function(){t.setTranslate(E),o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(x),t.setTransition(g),t.setTranslate(x),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(x),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();(!n.freeModeMomentum||f>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var A=0,O=t.slidesSizesGrid[0],D=0;D<s.length;D+=D<n.slidesPerGroupSkip?1:n.slidesPerGroup){var P=D<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==s[D+P]?u>=s[D]&&u<s[D+P]&&(A=D,O=s[D+P]-s[D]):u>=s[D]&&(A=D,O=s[s.length-1]-s[s.length-2])}var I=(u-s[A])/O,H=A<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(f>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(I>=n.longSwipesRatio?t.slideTo(A+H):t.slideTo(A)),"prev"===t.swipeDirection&&(I>1-n.longSwipesRatio?t.slideTo(A+H):t.slideTo(A))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(A+H),"prev"===t.swipeDirection&&t.slideTo(A)):d.target===t.navigation.nextEl?t.slideTo(A+H):t.slideTo(A)}}}function U(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var n=e.allowSlideNext,a=e.allowSlidePrev,r=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=a,e.allowSlideNext=n,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}function Y(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function X(){var e=this,t=e.wrapperEl,i=e.rtlTranslate;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var n=e.maxTranslate()-e.minTranslate();(0===n?0:(e.translate-e.minTranslate())/n)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}var q=!1;function V(){}var $={attachEvents:function(){var e=this,t=r(),i=e.params,n=e.touchEvents,a=e.el,o=e.wrapperEl,s=e.device,l=e.support;e.onTouchStart=G.bind(e),e.onTouchMove=B.bind(e),e.onTouchEnd=W.bind(e),i.cssMode&&(e.onScroll=X.bind(e)),e.onClick=Y.bind(e);var d=!!i.nested;if(!l.touch&&l.pointerEvents)a.addEventListener(n.start,e.onTouchStart,!1),t.addEventListener(n.move,e.onTouchMove,d),t.addEventListener(n.end,e.onTouchEnd,!1);else{if(l.touch){var u=!("touchstart"!==n.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(n.start,e.onTouchStart,u),a.addEventListener(n.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),a.addEventListener(n.end,e.onTouchEnd,u),n.cancel&&a.addEventListener(n.cancel,e.onTouchEnd,u),q||(t.addEventListener("touchstart",V),q=!0)}(i.simulateTouch&&!s.ios&&!s.android||i.simulateTouch&&!l.touch&&s.ios)&&(a.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,d),t.addEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&a.addEventListener("click",e.onClick,!0),i.cssMode&&o.addEventListener("scroll",e.onScroll),i.updateOnWindowResize?e.on(s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",U,!0):e.on("observerUpdate",U,!0)},detachEvents:function(){var e=this,t=r(),i=e.params,n=e.touchEvents,a=e.el,o=e.wrapperEl,s=e.device,l=e.support,d=!!i.nested;if(!l.touch&&l.pointerEvents)a.removeEventListener(n.start,e.onTouchStart,!1),t.removeEventListener(n.move,e.onTouchMove,d),t.removeEventListener(n.end,e.onTouchEnd,!1);else{if(l.touch){var u=!("onTouchStart"!==n.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(n.start,e.onTouchStart,u),a.removeEventListener(n.move,e.onTouchMove,d),a.removeEventListener(n.end,e.onTouchEnd,u),n.cancel&&a.removeEventListener(n.cancel,e.onTouchEnd,u)}(i.simulateTouch&&!s.ios&&!s.android||i.simulateTouch&&!l.touch&&s.ios)&&(a.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,d),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&a.removeEventListener("click",e.onClick,!0),i.cssMode&&o.removeEventListener("scroll",e.onScroll),e.off(s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",U)}},Q={addClasses:function(){var e=this,t=e.classNames,i=e.params,n=e.rtl,a=e.$el,r=e.device,o=[];o.push("initialized"),o.push(i.direction),i.freeMode&&o.push("free-mode"),i.autoHeight&&o.push("autoheight"),n&&o.push("rtl"),i.slidesPerColumn>1&&(o.push("multirow"),"column"===i.slidesPerColumnFill&&o.push("multirow-column")),r.android&&o.push("android"),r.ios&&o.push("ios"),i.cssMode&&o.push("css-mode"),o.forEach((function(e){t.push(i.containerModifierClass+e)})),a.addClass(t.join(" ")),e.emitContainerClasses()},removeClasses:function(){var e=this,t=e.$el,i=e.classNames;t.removeClass(i.join(" ")),e.emitContainerClasses()}},K={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},J={modular:I,eventsEmitter:H,update:k,translate:N,transition:{setTransition:function(e,t){var i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this,n=i.activeIndex,a=i.params,r=i.previousIndex;if(!a.cssMode){a.autoHeight&&i.updateAutoHeight();var o=t;if(o||(o=n>r?"next":n<r?"prev":"reset"),i.emit("transitionStart"),e&&n!==r){if("reset"===o)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),"next"===o?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this,n=i.activeIndex,a=i.previousIndex,r=i.params;if(i.animating=!1,!r.cssMode){i.setTransition(0);var o=t;if(o||(o=n>a?"next":n<a?"prev":"reset"),i.emit("transitionEnd"),e&&n!==a){if("reset"===o)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),"next"===o?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}}},slide:F,loop:z,grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var i=t.el;i.style.cursor="move",i.style.cursor=e?"-webkit-grabbing":"-webkit-grab",i.style.cursor=e?"-moz-grabbin":"-moz-grab",i.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},manipulation:j,events:$,breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,n=e.loopedSlides,a=void 0===n?0:n,r=e.params,o=e.$el,s=r.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var l=e.getBreakpoint(s);if(l&&e.currentBreakpoint!==l){var d=l in s?s[l]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=d[e];void 0!==t&&(d[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var u=d||e.originalParams,c=r.slidesPerColumn>1,f=u.slidesPerColumn>1;c&&!f?(o.removeClass(r.containerModifierClass+"multirow "+r.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!c&&f&&(o.addClass(r.containerModifierClass+"multirow"),"column"===u.slidesPerColumnFill&&o.addClass(r.containerModifierClass+"multirow-column"),e.emitContainerClasses());var p=u.direction&&u.direction!==r.direction,h=r.loop&&(u.slidesPerView!==r.slidesPerView||p);p&&i&&e.changeDirection(),C(e.params,u),C(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=l,h&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}},getBreakpoint:function(e){var t=l();if(e){var i=!1,n=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var i=parseFloat(e.substr(1));return{value:t.innerHeight*i,point:e}}return{value:e,point:e}}));n.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var a=0;a<n.length;a+=1){var r=n[a],o=r.point;r.value<=t.innerWidth&&(i=o)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.params,i=e.isLocked,n=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&n?e.isLocked=n<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:Q,images:{loadImage:function(e,t,i,n,a,r){var o,s=l();function d(){r&&r()}g(e).parent("picture")[0]||e.complete&&a?d():t?((o=new s.Image).onload=d,o.onerror=d,n&&(o.sizes=n),i&&(o.srcset=i),t&&(o.src=t)):d()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},Z={},ee=function(){function t(){for(var e,i,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];1===a.length&&a[0].constructor&&a[0].constructor===Object?i=a[0]:(e=a[0],i=a[1]),i||(i={}),i=C({},i),e&&!i.el&&(i.el=e);var s=this;s.support=M(),s.device=L({userAgent:i.userAgent}),s.browser=A(),s.eventsListeners={},s.eventsAnyListeners=[],Object.keys(J).forEach((function(e){Object.keys(J[e]).forEach((function(i){t.prototype[i]||(t.prototype[i]=J[e][i])}))})),void 0===s.modules&&(s.modules={}),Object.keys(s.modules).forEach((function(e){var t=s.modules[e];if(t.params){var n=Object.keys(t.params)[0],a=t.params[n];if("object"!==o(a)||null===a)return;if(!(n in i)||!("enabled"in a))return;!0===i[n]&&(i[n]={enabled:!0}),"object"!==o(i[n])||"enabled"in i[n]||(i[n].enabled=!0),i[n]||(i[n]={enabled:!1})}}));var l=C({},K);s.useParams(l),s.params=C({},l,Z,i),s.originalParams=C({},s.params),s.passedParams=C({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach((function(e){s.on(e,s.params.on[e])})),s.$=g;var d=g(s.params.el);if(e=d[0]){if(d.length>1){var u=[];return d.each((function(e){var n=C({},i,{el:e});u.push(new t(n))})),u}var c,f,p;return e.swiper=s,e&&e.shadowRoot&&e.shadowRoot.querySelector?(c=g(e.shadowRoot.querySelector("."+s.params.wrapperClass))).children=function(e){return d.children(e)}:c=d.children("."+s.params.wrapperClass),C(s,{$el:d,el:e,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:g(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===s.params.direction},isVertical:function(){return"vertical"===s.params.direction},rtl:"rtl"===e.dir.toLowerCase()||"rtl"===d.css("direction"),rtlTranslate:"horizontal"===s.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===d.css("direction")),wrongRTL:"-webkit-box"===c.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:(f=["touchstart","touchmove","touchend","touchcancel"],p=["mousedown","mousemove","mouseup"],s.support.pointerEvents&&(p=["pointerdown","pointermove","pointerup"]),s.touchEventsTouch={start:f[0],move:f[1],end:f[2],cancel:f[3]},s.touchEventsDesktop={start:p[0],move:p[1],end:p[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:_(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.useModules(),s.emit("_swiper"),s.params.init&&s.init(),s}}var i,n,a,r=t.prototype;return r.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}},r.emitSlidesClasses=function(){var e=this;e.params._emitClasses&&e.el&&e.slides.each((function(t){var i=t.className.split(" ").filter((function(t){return 0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass)}));e.emit("_slideClass",t,i.join(" "))}))},r.slidesPerViewDynamic=function(){var e=this,t=e.params,i=e.slides,n=e.slidesGrid,a=e.size,r=e.activeIndex,o=1;if(t.centeredSlides){for(var s,l=i[r].swiperSlideSize,d=r+1;d<i.length;d+=1)i[d]&&!s&&(o+=1,(l+=i[d].swiperSlideSize)>a&&(s=!0));for(var u=r-1;u>=0;u-=1)i[u]&&!s&&(o+=1,(l+=i[u].swiperSlideSize)>a&&(s=!0))}else for(var c=r+1;c<i.length;c+=1)n[c]-n[r]<a&&(o+=1);return o},r.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(n(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||n(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function n(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},r.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(""+i.params.containerModifierClass+n).addClass(""+i.params.containerModifierClass+e),i.emitContainerClasses(),i.params.direction=e,i.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i},r.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},r.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i,n=this,a=n.params,r=n.$el,o=n.$wrapperEl,s=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),s&&s.length&&s.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,i=n,Object.keys(i).forEach((function(e){try{i[e]=null}catch(e){}try{delete i[e]}catch(e){}}))),n.destroyed=!0),null},t.extendDefaults=function(e){C(Z,e)},t.installModule=function(e){t.prototype.modules||(t.prototype.modules={});var i=e.name||Object.keys(t.prototype.modules).length+"_"+_();t.prototype.modules[i]=e},t.use=function(e){return Array.isArray(e)?(e.forEach((function(e){return t.installModule(e)})),t):(t.installModule(e),t)},i=t,a=[{key:"extendedDefaults",get:function(){return Z}},{key:"defaults",get:function(){return K}}],(n=null)&&e(i.prototype,n),a&&e(i,a),t}();ee.use([O,P]);var te={update:function(e){var t=this,i=t.params,n=i.slidesPerView,a=i.slidesPerGroup,r=i.centeredSlides,o=t.params.virtual,s=o.addSlidesBefore,l=o.addSlidesAfter,d=t.virtual,u=d.from,c=d.to,f=d.slides,p=d.slidesGrid,h=d.renderSlide,m=d.offset;t.updateActiveIndex();var v,g,y,x=t.activeIndex||0;v=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(g=Math.floor(n/2)+a+l,y=Math.floor(n/2)+a+s):(g=n+(a-1)+l,y=a+s);var E=Math.max((x||0)-y,0),T=Math.min((x||0)+g,f.length-1),b=(t.slidesGrid[E]||0)-(t.slidesGrid[0]||0);function _(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(C(t.virtual,{from:E,to:T,offset:b,slidesGrid:t.slidesGrid}),u===E&&c===T&&!e)return t.slidesGrid!==p&&b!==m&&t.slides.css(v,b+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:b,from:E,to:T,slides:function(){for(var e=[],t=E;t<=T;t+=1)e.push(f[t]);return e}()}),void(t.params.virtual.renderExternalUpdate&&_());var w=[],S=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var R=u;R<=c;R+=1)(R<E||R>T)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+R+'"]').remove();for(var M=0;M<f.length;M+=1)M>=E&&M<=T&&(void 0===c||e?S.push(M):(M>c&&S.push(M),M<u&&w.push(M)));S.forEach((function(e){t.$wrapperEl.append(h(f[e],e))})),w.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(h(f[e],e))})),t.$wrapperEl.children(".swiper-slide").css(v,b+"px"),_()},renderSlide:function(e,t){var i=this,n=i.params.virtual;if(n.cache&&i.virtual.cache[t])return i.virtual.cache[t];var a=n.renderSlide?g(n.renderSlide.call(i,e,t)):g('<div class="'+i.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),n.cache&&(i.virtual.cache[t]=a),a},appendSlide:function(e){var t=this;if("object"===o(e)&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&t.virtual.slides.push(e[i]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,i=t.activeIndex,n=i+1,a=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&t.virtual.slides.unshift(e[r]);n=i+e.length,a=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var o=t.virtual.cache,s={};Object.keys(o).forEach((function(e){var t=o[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1),s[parseInt(e,10)+a]=t})),t.virtual.cache=s}t.virtual.update(!0),t.slideTo(n,0)},removeSlide:function(e){var t=this;if(null!=e){var i=t.activeIndex;if(Array.isArray(e))for(var n=e.length-1;n>=0;n-=1)t.virtual.slides.splice(e[n],1),t.params.virtual.cache&&delete t.virtual.cache[e[n]],e[n]<i&&(i-=1),i=Math.max(i,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<i&&(i-=1),i=Math.max(i,0);t.virtual.update(!0),t.slideTo(i,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},ie={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){R(this,{virtual:t(t({},te),{},{slides:this.params.virtual.slides,cache:{}})})},on:{beforeInit:function(e){if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};C(e.params,t),C(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(e){e.params.virtual.enabled&&e.virtual.update()}}},ne={handle:function(e){var t=this,i=l(),n=r(),a=t.rtlTranslate,o=e;o.originalEvent&&(o=o.originalEvent);var s=o.keyCode||o.charCode,d=t.params.keyboard.pageUpDown,u=d&&33===s,c=d&&34===s,f=37===s,p=39===s,h=38===s,m=40===s;if(!t.allowSlideNext&&(t.isHorizontal()&&p||t.isVertical()&&m||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&f||t.isVertical()&&h||u))return!1;if(!(o.shiftKey||o.altKey||o.ctrlKey||o.metaKey||n.activeElement&&n.activeElement.nodeName&&("input"===n.activeElement.nodeName.toLowerCase()||"textarea"===n.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(u||c||f||p||h||m)){var v=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var g=i.innerWidth,y=i.innerHeight,x=t.$el.offset();a&&(x.left-=t.$el[0].scrollLeft);for(var E=[[x.left,x.top],[x.left+t.width,x.top],[x.left,x.top+t.height],[x.left+t.width,x.top+t.height]],T=0;T<E.length;T+=1){var b=E[T];b[0]>=0&&b[0]<=g&&b[1]>=0&&b[1]<=y&&(v=!0)}if(!v)return}t.isHorizontal()?((u||c||f||p)&&(o.preventDefault?o.preventDefault():o.returnValue=!1),((c||p)&&!a||(u||f)&&a)&&t.slideNext(),((u||f)&&!a||(c||p)&&a)&&t.slidePrev()):((u||c||h||m)&&(o.preventDefault?o.preventDefault():o.returnValue=!1),(c||m)&&t.slideNext(),(u||h)&&t.slidePrev()),t.emit("keyPress",s)}},enable:function(){var e=this,t=r();e.keyboard.enabled||(g(t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this,t=r();e.keyboard.enabled&&(g(t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},ae={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){R(this,{keyboard:t({enabled:!1},ne)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}},re={lastScrollTime:_(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return l().navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e=r(),t="onwheel",i=t in e;if(!i){var n=e.createElement("div");n.setAttribute(t,"return;"),i="function"==typeof n.onwheel}return!i&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(i=e.implementation.hasFeature("Events.wheel","3.0")),i}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,n=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=a,a=0),(n||a)&&e.deltaMode&&(1===e.deltaMode?(n*=40,a*=40):(n*=800,a*=800)),n&&!t&&(t=n<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,n=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var a=i.$el;if("container"!==i.params.mousewheel.eventsTarget&&(a=g(i.params.mousewheel.eventsTarget)),!i.mouseEntered&&!a[0].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,o=i.rtlTranslate?-1:1,s=re.normalize(t);if(n.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;r=-s.pixelX*o}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;r=-s.pixelY}else r=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*o:-s.pixelY;if(0===r)return!0;if(n.invert&&(r=-r),i.params.freeMode){var l={time:_(),delta:Math.abs(r),direction:Math.sign(r)},d=i.mousewheel.lastEventBeforeSnap,u=d&&l.time<d.time+500&&l.delta<=d.delta&&l.direction===d.direction;if(!u){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var c=i.getTranslate()+r*n.sensitivity,f=i.isBeginning,p=i.isEnd;if(c>=i.minTranslate()&&(c=i.minTranslate()),c<=i.maxTranslate()&&(c=i.maxTranslate()),i.setTransition(0),i.setTranslate(c),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!f&&i.isBeginning||!p&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var h=i.mousewheel.recentWheelEvents;h.length>=15&&h.shift();var m=h.length?h[h.length-1]:void 0,v=h[0];if(h.push(l),m&&(l.delta>m.delta||l.direction!==m.direction))h.splice(0);else if(h.length>=15&&l.time-v.time<500&&v.delta-l.delta>=1&&l.delta<=6){var y=r>0?.8:.2;i.mousewheel.lastEventBeforeSnap=l,h.splice(0),i.mousewheel.timeout=b((function(){i.slideToClosest(i.params.speed,!0,void 0,y)}),0)}i.mousewheel.timeout||(i.mousewheel.timeout=b((function(){i.mousewheel.lastEventBeforeSnap=l,h.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)}),500))}if(u||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),c===i.minTranslate()||c===i.maxTranslate())return!0}}else{var x={time:_(),delta:Math.abs(r),direction:Math.sign(r),raw:e},E=i.mousewheel.recentWheelEvents;E.length>=2&&E.shift();var T=E.length?E[E.length-1]:void 0;if(E.push(x),T?(x.direction!==T.direction||x.delta>T.delta||x.time>T.time+150)&&i.mousewheel.animateSlider(x):i.mousewheel.animateSlider(x),i.mousewheel.releaseScroll(x))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){var t=this,i=l();return!(this.params.mousewheel.thresholdDelta&&e.delta<this.params.mousewheel.thresholdDelta||this.params.mousewheel.thresholdTime&&_()-t.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime||!(e.delta>=6&&_()-t.mousewheel.lastScrollTime<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new i.Date).getTime(),1))},releaseScroll:function(e){var t=this,i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=re.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(i=g(e.params.mousewheel.eventsTarget)),i.on("mouseenter",e.mousewheel.handleMouseEnter),i.on("mouseleave",e.mousewheel.handleMouseLeave),i.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this,t=re.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(i=g(e.params.mousewheel.eventsTarget)),i.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},oe={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var i=e.navigation,n=i.$nextEl,a=i.$prevEl;a&&a.length>0&&(e.isBeginning?a.addClass(t.disabledClass):a.removeClass(t.disabledClass),a[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,i=this,n=i.params.navigation;(n.nextEl||n.prevEl)&&(n.nextEl&&(e=g(n.nextEl),i.params.uniqueNavElements&&"string"==typeof n.nextEl&&e.length>1&&1===i.$el.find(n.nextEl).length&&(e=i.$el.find(n.nextEl))),n.prevEl&&(t=g(n.prevEl),i.params.uniqueNavElements&&"string"==typeof n.prevEl&&t.length>1&&1===i.$el.find(n.prevEl).length&&(t=i.$el.find(n.prevEl))),e&&e.length>0&&e.on("click",i.navigation.onNextClick),t&&t.length>0&&t.on("click",i.navigation.onPrevClick),C(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,i=t.$nextEl,n=t.$prevEl;i&&i.length&&(i.off("click",e.navigation.onNextClick),i.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",e.navigation.onPrevClick),n.removeClass(e.params.navigation.disabledClass))}},se={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n,a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,o=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((n=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>a-1-2*e.loopedSlides&&(n-=a-2*e.loopedSlides),n>o-1&&(n-=o),n<0&&"bullets"!==e.params.paginationType&&(n=o+n)):n=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var s,l,d,u=e.pagination.bullets;if(i.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=n-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),s=n-e.pagination.dynamicBulletIndex,d=((l=s+(Math.min(u.length,i.dynamicMainBullets)-1))+s)/2),u.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),r.length>1)u.each((function(e){var t=g(e),a=t.index();a===n&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(a>=s&&a<=l&&t.addClass(i.bulletActiveClass+"-main"),a===s&&t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),a===l&&t.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))}));else{var c=u.eq(n),f=c.index();if(c.addClass(i.bulletActiveClass),i.dynamicBullets){for(var p=u.eq(s),h=u.eq(l),m=s;m<=l;m+=1)u.eq(m).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(f>=u.length-i.dynamicMainBullets){for(var v=i.dynamicMainBullets;v>=0;v-=1)u.eq(u.length-v).addClass(i.bulletActiveClass+"-main");u.eq(u.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),h.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),h.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var y=Math.min(u.length,i.dynamicMainBullets+4),x=(e.pagination.bulletSize*y-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,E=t?"right":"left";u.css(e.isHorizontal()?E:"top",x+"px")}}if("fraction"===i.type&&(r.find("."+i.currentClass).text(i.formatFractionCurrent(n+1)),r.find("."+i.totalClass).text(i.formatFractionTotal(o))),"progressbar"===i.type){var T;T=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var b=(n+1)/o,_=1,w=1;"horizontal"===T?_=b:w=b,r.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+_+") scaleY("+w+")").transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(r.html(i.renderCustom(e,n+1,o)),e.emit("paginationRender",r[0])):e.emit("paginationUpdate",r[0]),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el,a="";if("bullets"===t.type){for(var r=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,o=0;o<r;o+=1)t.renderBullet?a+=t.renderBullet.call(e,o,t.bulletClass):a+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";n.html(a),e.pagination.bullets=n.find("."+t.bulletClass)}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',n.html(a)),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',n.html(a)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=g(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();var i=g(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),C(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click","."+t.bulletClass)}}},le={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=e.rtlTranslate,n=e.progress,a=t.dragSize,r=t.trackSize,o=t.$dragEl,s=t.$el,l=e.params.scrollbar,d=a,u=(r-a)*n;i?(u=-u)>0?(d=a-u,u=0):-u+a>r&&(d=r+u):u<0?(d=a+u,u=0):u+a>r&&(d=r-u),e.isHorizontal()?(o.transform("translate3d("+u+"px, 0, 0)"),o[0].style.width=d+"px"):(o.transform("translate3d(0px, "+u+"px, 0)"),o[0].style.height=d+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),s[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){s[0].style.opacity=0,s.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=t.$dragEl,n=t.$el;i[0].style.width="",i[0].style.height="";var a,r=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,o=e.size/e.virtualSize,s=o*(r/e.size);a="auto"===e.params.scrollbar.dragSize?r*o:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i[0].style.width=a+"px":i[0].style.height=a+"px",n[0].style.display=o>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),C(t,{trackSize:r,divider:o,moveDivider:s,dragSize:a}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this,n=i.scrollbar,a=i.rtlTranslate,r=n.$el,o=n.dragSize,s=n.trackSize,l=n.dragStartPos;t=(n.getPointerPosition(e)-r.offset()[i.isHorizontal()?"left":"top"]-(null!==l?l:o/2))/(s-o),t=Math.max(Math.min(t,1),0),a&&(t=1-t);var d=i.minTranslate()+(i.maxTranslate()-i.minTranslate())*t;i.updateProgress(d),i.setTranslate(d),i.updateActiveIndex(),i.updateSlidesClasses()},onDragStart:function(e){var t=this,i=t.params.scrollbar,n=t.scrollbar,a=t.$wrapperEl,r=n.$el,o=n.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===o[0]||e.target===o?n.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.transition(100),o.transition(100),n.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),i.hide&&r.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,i=t.scrollbar,n=t.$wrapperEl,a=i.$el,r=i.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,i.setDragPosition(e),n.transition(0),a.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,i=t.params.scrollbar,n=t.scrollbar,a=t.$wrapperEl,r=n.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),a.transition("")),i.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=b((function(){r.css("opacity",0),r.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=r(),i=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,o=e.params,s=e.support,l=i.$el[0],d=!(!s.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},u=!(!s.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};s.touch?(l.addEventListener(n.start,e.scrollbar.onDragStart,d),l.addEventListener(n.move,e.scrollbar.onDragMove,d),l.addEventListener(n.end,e.scrollbar.onDragEnd,u)):(l.addEventListener(a.start,e.scrollbar.onDragStart,d),t.addEventListener(a.move,e.scrollbar.onDragMove,d),t.addEventListener(a.end,e.scrollbar.onDragEnd,u))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=r(),i=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,o=e.params,s=e.support,l=i.$el[0],d=!(!s.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},u=!(!s.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};s.touch?(l.removeEventListener(n.start,e.scrollbar.onDragStart,d),l.removeEventListener(n.move,e.scrollbar.onDragMove,d),l.removeEventListener(n.end,e.scrollbar.onDragEnd,u)):(l.removeEventListener(a.start,e.scrollbar.onDragStart,d),t.removeEventListener(a.move,e.scrollbar.onDragMove,d),t.removeEventListener(a.end,e.scrollbar.onDragEnd,u))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,i=e.$el,n=e.params.scrollbar,a=g(n.el);e.params.uniqueNavElements&&"string"==typeof n.el&&a.length>1&&1===i.find(n.el).length&&(a=i.find(n.el));var r=a.find("."+e.params.scrollbar.dragClass);0===r.length&&(r=g('<div class="'+e.params.scrollbar.dragClass+'"></div>'),a.append(r)),C(t,{$el:a,el:a[0],$dragEl:r,dragEl:r[0]}),n.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},de={setTransform:function(e,t){var i=this.rtl,n=g(e),a=i?-1:1,r=n.attr("data-swiper-parallax")||"0",o=n.attr("data-swiper-parallax-x"),s=n.attr("data-swiper-parallax-y"),l=n.attr("data-swiper-parallax-scale"),d=n.attr("data-swiper-parallax-opacity");if(o||s?(o=o||"0",s=s||"0"):this.isHorizontal()?(o=r,s="0"):(s=r,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*a+"%":o*t*a+"px",s=s.indexOf("%")>=0?parseInt(s,10)*t+"%":s*t+"px",null!=d){var u=d-(d-1)*(1-Math.abs(t));n[0].style.opacity=u}if(null==l)n.transform("translate3d("+o+", "+s+", 0px)");else{var c=l-(l-1)*(1-Math.abs(t));n.transform("translate3d("+o+", "+s+", 0px) scale("+c+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,n=e.progress,a=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t){e.parallax.setTransform(t,n)})),i.each((function(t,i){var r=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(i/2)-n*(a.length-1)),r=Math.min(Math.max(r,-1),1),g(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t){e.parallax.setTransform(t,r)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t){var i=g(t),n=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),i.transition(n)}))}},ue={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var t=this,i=t.support,n=t.params.zoom,a=t.zoom,r=a.gesture;if(a.fakeGestureTouched=!1,a.fakeGestureMoved=!1,!i.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a.fakeGestureTouched=!0,r.scaleStart=ue.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=g(e.target).closest("."+t.params.slideClass),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+n.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this,i=t.support,n=t.params.zoom,a=t.zoom,r=a.gesture;if(!i.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.fakeGestureMoved=!0,r.scaleMove=ue.getDistanceBetweenTouches(e)}r.$imageEl&&0!==r.$imageEl.length?(i.gestures?a.scale=e.scale*a.currentScale:a.scale=r.scaleMove/r.scaleStart*a.currentScale,a.scale>r.maxRatio&&(a.scale=r.maxRatio-1+Math.pow(a.scale-r.maxRatio+1,.5)),a.scale<n.minRatio&&(a.scale=n.minRatio+1-Math.pow(n.minRatio-a.scale+1,.5)),r.$imageEl.transform("translate3d(0,0,0) scale("+a.scale+")")):"gesturechange"===e.type&&a.onGestureStart(e)},onGestureEnd:function(e){var t=this,i=t.device,n=t.support,a=t.params.zoom,r=t.zoom,o=r.gesture;if(!n.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!i.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}o.$imageEl&&0!==o.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,o.maxRatio),a.minRatio),o.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(o.$slideEl=void 0))},onTouchStart:function(e){var t=this.device,i=this.zoom,n=i.gesture,a=i.image;n.$imageEl&&0!==n.$imageEl.length&&(a.isTouched||(t.android&&e.cancelable&&e.preventDefault(),a.isTouched=!0,a.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,i=t.zoom,n=i.gesture,a=i.image,r=i.velocity;if(n.$imageEl&&0!==n.$imageEl.length&&(t.allowClick=!1,a.isTouched&&n.$slideEl)){a.isMoved||(a.width=n.$imageEl[0].offsetWidth,a.height=n.$imageEl[0].offsetHeight,a.startX=w(n.$imageWrapEl[0],"x")||0,a.startY=w(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0),t.rtl&&(a.startX=-a.startX,a.startY=-a.startY));var o=a.width*i.scale,s=a.height*i.scale;if(!(o<n.slideWidth&&s<n.slideHeight)){if(a.minX=Math.min(n.slideWidth/2-o/2,0),a.maxX=-a.minX,a.minY=Math.min(n.slideHeight/2-s/2,0),a.maxY=-a.minY,a.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!a.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(a.minX)===Math.floor(a.startX)&&a.touchesCurrent.x<a.touchesStart.x||Math.floor(a.maxX)===Math.floor(a.startX)&&a.touchesCurrent.x>a.touchesStart.x))return void(a.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(a.minY)===Math.floor(a.startY)&&a.touchesCurrent.y<a.touchesStart.y||Math.floor(a.maxY)===Math.floor(a.startY)&&a.touchesCurrent.y>a.touchesStart.y))return void(a.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),a.isMoved=!0,a.currentX=a.touchesCurrent.x-a.touchesStart.x+a.startX,a.currentY=a.touchesCurrent.y-a.touchesStart.y+a.startY,a.currentX<a.minX&&(a.currentX=a.minX+1-Math.pow(a.minX-a.currentX+1,.8)),a.currentX>a.maxX&&(a.currentX=a.maxX-1+Math.pow(a.currentX-a.maxX+1,.8)),a.currentY<a.minY&&(a.currentY=a.minY+1-Math.pow(a.minY-a.currentY+1,.8)),a.currentY>a.maxY&&(a.currentY=a.maxY-1+Math.pow(a.currentY-a.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=a.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=a.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(a.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(a.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(a.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(a.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=a.touchesCurrent.x,r.prevPositionY=a.touchesCurrent.y,r.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,n=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,r=300,o=n.x*a,s=i.currentX+o,l=n.y*r,d=i.currentY+l;0!==n.x&&(a=Math.abs((s-i.currentX)/n.x)),0!==n.y&&(r=Math.abs((d-i.currentY)/n.y));var u=Math.max(a,r);i.currentX=s,i.currentY=d;var c=i.width*e.scale,f=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-c/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-f/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,i=t.gesture;i.$slideEl&&e.previousIndex!==e.activeIndex&&(i.$imageEl&&i.$imageEl.transform("translate3d(0,0,0) scale(1)"),i.$imageWrapEl&&i.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,i.$slideEl=void 0,i.$imageEl=void 0,i.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,n,a,r,o,s,l,d,u,c,f,p,h,m,v,g=this,y=g.zoom,x=g.params.zoom,E=y.gesture,T=y.image;E.$slideEl||(g.params.virtual&&g.params.virtual.enabled&&g.virtual?E.$slideEl=g.$wrapperEl.children("."+g.params.slideActiveClass):E.$slideEl=g.slides.eq(g.activeIndex),E.$imageEl=E.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),E.$imageWrapEl=E.$imageEl.parent("."+x.containerClass)),E.$imageEl&&0!==E.$imageEl.length&&(E.$slideEl.addClass(""+x.zoomedSlideClass),void 0===T.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=T.touchesStart.x,i=T.touchesStart.y),y.scale=E.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,y.currentScale=E.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,e?(m=E.$slideEl[0].offsetWidth,v=E.$slideEl[0].offsetHeight,n=E.$slideEl.offset().left+m/2-t,a=E.$slideEl.offset().top+v/2-i,s=E.$imageEl[0].offsetWidth,l=E.$imageEl[0].offsetHeight,d=s*y.scale,u=l*y.scale,p=-(c=Math.min(m/2-d/2,0)),h=-(f=Math.min(v/2-u/2,0)),(r=n*y.scale)<c&&(r=c),r>p&&(r=p),(o=a*y.scale)<f&&(o=f),o>h&&(o=h)):(r=0,o=0),E.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+o+"px,0)"),E.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+y.scale+")"))},out:function(){var e=this,t=e.zoom,i=e.params.zoom,n=t.gesture;n.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?n.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):n.$slideEl=e.slides.eq(e.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+i.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(t.scale=1,t.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+i.zoomedSlideClass),n.$slideEl=void 0)},toggleGestures:function(e){var t=this,i=t.zoom,n=i.slideSelector,a=i.passiveListener;t.$wrapperEl[e]("gesturestart",n,i.onGestureStart,a),t.$wrapperEl[e]("gesturechange",n,i.onGestureChange,a),t.$wrapperEl[e]("gestureend",n,i.onGestureEnd,a)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e=this,t=e.support,i=e.zoom;if(!i.enabled){i.enabled=!0;var n=!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!t.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;e.zoom.passiveListener=n,e.zoom.slideSelector=r,t.gestures?(e.$wrapperEl.on(e.touchEvents.start,e.zoom.enableGestures,n),e.$wrapperEl.on(e.touchEvents.end,e.zoom.disableGestures,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,i.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,r,i.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,r,i.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,i.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,i.onTouchMove,a)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){var i=e.support;e.zoom.enabled=!1;var n=!("touchstart"!==e.touchEvents.start||!i.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!i.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;i.gestures?(e.$wrapperEl.off(e.touchEvents.start,e.zoom.enableGestures,n),e.$wrapperEl.off(e.touchEvents.end,e.zoom.disableGestures,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,r,t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,r,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)}}},ce={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var a=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),r=a.find("."+n.elementClass+":not(."+n.loadedClass+"):not(."+n.loadingClass+")");!a.hasClass(n.elementClass)||a.hasClass(n.loadedClass)||a.hasClass(n.loadingClass)||r.push(a[0]),0!==r.length&&r.each((function(e){var r=g(e);r.addClass(n.loadingClass);var o=r.attr("data-background"),s=r.attr("data-src"),l=r.attr("data-srcset"),d=r.attr("data-sizes"),u=r.parent("picture");i.loadImage(r[0],s||o,l,d,!1,(function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(o?(r.css("background-image",'url("'+o+'")'),r.removeAttr("data-background")):(l&&(r.attr("srcset",l),r.removeAttr("data-srcset")),d&&(r.attr("sizes",d),r.removeAttr("data-sizes")),u.length&&u.children("source").each((function(e){var t=g(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),s&&(r.attr("src",s),r.removeAttr("data-src"))),r.addClass(n.loadedClass).removeClass(n.loadingClass),a.find("."+n.preloaderClass).remove(),i.params.loop&&t){var e=a.attr("data-swiper-slide-index");if(a.hasClass(i.params.slideDuplicateClass)){var c=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(c.index(),!1)}else{var f=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(f.index(),!1)}}i.emit("lazyImageReady",a[0],r[0]),i.params.autoHeight&&i.updateAutoHeight()}})),i.emit("lazyImageLoad",a[0],r[0])}))}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides,a=e.activeIndex,r=e.virtual&&i.virtual.enabled,o=i.lazy,s=i.slidesPerView;function l(e){if(r){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(n[e])return!0;return!1}function d(e){return r?g(e).attr("data-swiper-slide-index"):g(e).index()}if("auto"===s&&(s=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each((function(t){var i=r?g(t).attr("data-swiper-slide-index"):g(t).index();e.lazy.loadInSlide(i)}));else if(s>1)for(var u=a;u<a+s;u+=1)l(u)&&e.lazy.loadInSlide(u);else e.lazy.loadInSlide(a);if(o.loadPrevNext)if(s>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var c=o.loadPrevNextAmount,f=s,p=Math.min(a+f+Math.max(c,f),n.length),h=Math.max(a-Math.max(f,c),0),m=a+s;m<p;m+=1)l(m)&&e.lazy.loadInSlide(m);for(var v=h;v<a;v+=1)l(v)&&e.lazy.loadInSlide(v)}else{var y=t.children("."+i.slideNextClass);y.length>0&&e.lazy.loadInSlide(d(y));var x=t.children("."+i.slidePrevClass);x.length>0&&e.lazy.loadInSlide(d(x))}}},fe={LinearSpline:function(e,t){var i,n,a,r,o,s=function(e,t){for(n=-1,i=e.length;i-n>1;)e[a=i+n>>1]<=t?n=a:i=a;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=s(this.x,e),r=o-1,(e-this.x[r])*(this.y[o]-this.y[r])/(this.x[o]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new fe.LinearSpline(t.slidesGrid,e.slidesGrid):new fe.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,a=this,r=a.controller.control,o=a.constructor;function s(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),n=-a.controller.spline.interpolate(-t)),n&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),n=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var l=0;l<r.length;l+=1)r[l]!==t&&r[l]instanceof o&&s(r[l]);else r instanceof o&&t!==r&&s(r)},setTransition:function(e,t){var i,n=this,a=n.constructor,r=n.controller.control;function o(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&b((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){r&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(r))for(i=0;i<r.length;i+=1)r[i]!==t&&r[i]instanceof a&&o(r[i]);else r instanceof a&&t!==r&&o(r)}},pe={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){R(this,{controller:t({control:this.params.controller.control},fe)})},on:{update:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t,i){e.controller.control&&e.controller.setTranslate(t,i)},setTransition:function(e,t,i){e.controller.control&&e.controller.setTransition(t,i)}}},he={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,i=t.params.a11y;if(13===e.keyCode){var n=g(e.target);t.navigation&&t.navigation.$nextEl&&n.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(i.lastSlideMessage):t.a11y.notify(i.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&n.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(i.firstSlideMessage):t.a11y.notify(i.prevSlideMessage)),t.pagination&&n.is("."+t.params.pagination.bulletClass)&&n[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop&&e.navigation){var t=e.navigation,i=t.$nextEl,n=t.$prevEl;n&&n.length>0&&(e.isBeginning?(e.a11y.disableEl(n),e.a11y.makeElNotFocusable(n)):(e.a11y.enableEl(n),e.a11y.makeElFocusable(n))),i&&i.length>0&&(e.isEnd?(e.a11y.disableEl(i),e.a11y.makeElNotFocusable(i)):(e.a11y.enableEl(i),e.a11y.makeElFocusable(i)))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(i){var n=g(i);e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.paginationBulletMessage.replace(/\{\{index\}\}/,n.index()+1))}))},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,i,n=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(i=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,n.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),i&&(e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,n.prevSlideMessage),i.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e,t,i=this;i.a11y.liveRegion&&i.a11y.liveRegion.length>0&&i.a11y.liveRegion.remove(),i.navigation&&i.navigation.$nextEl&&(e=i.navigation.$nextEl),i.navigation&&i.navigation.$prevEl&&(t=i.navigation.$prevEl),e&&e.off("keydown",i.a11y.onEnterKey),t&&t.off("keydown",i.a11y.onEnterKey),i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.$el.off("keydown","."+i.params.pagination.bulletClass,i.a11y.onEnterKey)}},me={init:function(){var e=this,t=l();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var i=e.history;i.initialized=!0,i.paths=me.getPathValues(e.params.url),(i.paths.key||i.paths.value)&&(i.scrollToSlide(0,i.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=l();this.params.history.replaceState||e.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=me.getPathValues(e.params.url),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(e){var t=l(),i=(e?new URL(e):t.location).pathname.slice(1).split("/").filter((function(e){return""!==e})),n=i.length;return{key:i[n-2],value:i[n-1]}},setHistory:function(e,t){var i=this,n=l();if(i.history.initialized&&i.params.history.enabled){var a;a=i.params.url?new URL(i.params.url):n.location;var r=i.slides.eq(t),o=me.slugify(r.attr("data-history"));a.pathname.includes(e)||(o=e+"/"+o);var s=n.history.state;s&&s.value===o||(i.params.history.replaceState?n.history.replaceState({value:o},null,o):n.history.pushState({value:o},null,o))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){var n=this;if(t)for(var a=0,r=n.slides.length;a<r;a+=1){var o=n.slides.eq(a);if(me.slugify(o.attr("data-history"))===t&&!o.hasClass(n.params.slideDuplicateClass)){var s=o.index();n.slideTo(s,e,i)}}else n.slideTo(0,e,i)}},ve={onHashCange:function(){var e=this,t=r();e.emit("hashChange");var i=t.location.hash.replace("#","");if(i!==e.slides.eq(e.activeIndex).attr("data-hash")){var n=e.$wrapperEl.children("."+e.params.slideClass+'[data-hash="'+i+'"]').index();if(void 0===n)return;e.slideTo(n)}},setHash:function(){var e=this,t=l(),i=r();if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||0),e.emit("hashSet");else{var n=e.slides.eq(e.activeIndex),a=n.attr("data-hash")||n.attr("data-history");i.location.hash=a||"",e.emit("hashSet")}},init:function(){var e=this,t=r(),i=l();if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var n=t.location.hash.replace("#","");if(n)for(var a=0,o=e.slides.length;a<o;a+=1){var s=e.slides.eq(a);if((s.attr("data-hash")||s.attr("data-history"))===n&&!s.hasClass(e.params.slideDuplicateClass)){var d=s.index();e.slideTo(d,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&g(i).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){var e=l();this.params.hashNavigation.watchState&&g(e).off("hashchange",this.hashNavigation.onHashCange)}},ge={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=b((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()}),i)},start:function(){var e=this;return void 0===e.autoplay.timeout&&!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0)},stop:function(){var e=this;return!!e.autoplay.running&&void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0)},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))},onVisibilityChange:function(){var e=this,t=r();"hidden"===t.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===t.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(e){var t=this;t&&!t.destroyed&&t.$wrapperEl&&e.target===t.$wrapperEl[0]&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}},ye={setTranslate:function(){for(var e=this,t=e.slides,i=0;i<t.length;i+=1){var n=e.slides.eq(i),a=-n[0].swiperSlideOffset;e.params.virtualTranslate||(a-=e.translate);var r=0;e.isHorizontal()||(r=a,a=0);var o=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(n[0].progress),0):1+Math.min(Math.max(n[0].progress,-1),0);n.css({opacity:o}).transform("translate3d("+a+"px, "+r+"px, 0px)")}},setTransition:function(e){var t=this,i=t.slides,n=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var a=!1;i.transitionEnd((function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)n.trigger(e[i])}}))}}},xe={setTranslate:function(){var e,t=this,i=t.$el,n=t.$wrapperEl,a=t.slides,r=t.width,o=t.height,s=t.rtlTranslate,l=t.size,d=t.browser,u=t.params.cubeEffect,c=t.isHorizontal(),f=t.virtual&&t.params.virtual.enabled,p=0;u.shadow&&(c?(0===(e=n.find(".swiper-cube-shadow")).length&&(e=g('<div class="swiper-cube-shadow"></div>'),n.append(e)),e.css({height:r+"px"})):0===(e=i.find(".swiper-cube-shadow")).length&&(e=g('<div class="swiper-cube-shadow"></div>'),i.append(e)));for(var h=0;h<a.length;h+=1){var m=a.eq(h),v=h;f&&(v=parseInt(m.attr("data-swiper-slide-index"),10));var y=90*v,x=Math.floor(y/360);s&&(y=-y,x=Math.floor(-y/360));var E=Math.max(Math.min(m[0].progress,1),-1),T=0,b=0,_=0;v%4==0?(T=4*-x*l,_=0):(v-1)%4==0?(T=0,_=4*-x*l):(v-2)%4==0?(T=l+4*x*l,_=l):(v-3)%4==0&&(T=-l,_=3*l+4*l*x),s&&(T=-T),c||(b=T,T=0);var w="rotateX("+(c?0:-y)+"deg) rotateY("+(c?y:0)+"deg) translate3d("+T+"px, "+b+"px, "+_+"px)";if(E<=1&&E>-1&&(p=90*v+90*E,s&&(p=90*-v-90*E)),m.transform(w),u.slideShadows){var S=c?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),C=c?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===S.length&&(S=g('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),m.append(S)),0===C.length&&(C=g('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),m.append(C)),S.length&&(S[0].style.opacity=Math.max(-E,0)),C.length&&(C[0].style.opacity=Math.max(E,0))}}if(n.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),u.shadow)if(c)e.transform("translate3d(0px, "+(r/2+u.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+u.shadowScale+")");else{var R=Math.abs(p)-90*Math.floor(Math.abs(p)/90),M=1.5-(Math.sin(2*R*Math.PI/360)/2+Math.cos(2*R*Math.PI/360)/2),L=u.shadowScale,A=u.shadowScale/M,O=u.shadowOffset;e.transform("scale3d("+L+", 1, "+A+") translate3d(0px, "+(o/2+O)+"px, "+-o/2/A+"px) rotateX(-90deg)")}var D=d.isSafari||d.isWebView?-l/2:0;n.transform("translate3d(0px,0,"+D+"px) rotateX("+(t.isHorizontal()?0:p)+"deg) rotateY("+(t.isHorizontal()?-p:0)+"deg)")},setTransition:function(e){var t=this,i=t.$el;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&i.find(".swiper-cube-shadow").transition(e)}},Ee={setTranslate:function(){for(var e=this,t=e.slides,i=e.rtlTranslate,n=0;n<t.length;n+=1){var a=t.eq(n),r=a[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a[0].progress,1),-1));var o=-180*r,s=0,l=-a[0].swiperSlideOffset,d=0;if(e.isHorizontal()?i&&(o=-o):(d=l,l=0,s=-o,o=0),a[0].style.zIndex=-Math.abs(Math.round(r))+t.length,e.params.flipEffect.slideShadows){var u=e.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),c=e.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===u.length&&(u=g('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),a.append(u)),0===c.length&&(c=g('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),a.append(c)),u.length&&(u[0].style.opacity=Math.max(-r,0)),c.length&&(c[0].style.opacity=Math.max(r,0))}a.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+s+"deg) rotateY("+o+"deg)")}},setTransition:function(e){var t=this,i=t.slides,n=t.activeIndex,a=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;i.eq(n).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)a.trigger(e[i])}}))}}},Te={setTranslate:function(){for(var e=this,t=e.width,i=e.height,n=e.slides,a=e.slidesSizesGrid,r=e.params.coverflowEffect,o=e.isHorizontal(),s=e.translate,l=o?t/2-s:i/2-s,d=o?r.rotate:-r.rotate,u=r.depth,c=0,f=n.length;c<f;c+=1){var p=n.eq(c),h=a[c],m=(l-p[0].swiperSlideOffset-h/2)/h*r.modifier,v=o?d*m:0,y=o?0:d*m,x=-u*Math.abs(m),E=r.stretch;"string"==typeof E&&-1!==E.indexOf("%")&&(E=parseFloat(r.stretch)/100*h);var T=o?0:E*m,b=o?E*m:0,_=1-(1-r.scale)*Math.abs(m);Math.abs(b)<.001&&(b=0),Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(v)<.001&&(v=0),Math.abs(y)<.001&&(y=0),Math.abs(_)<.001&&(_=0);var w="translate3d("+b+"px,"+T+"px,"+x+"px)  rotateX("+y+"deg) rotateY("+v+"deg) scale("+_+")";if(p.transform(w),p[0].style.zIndex=1-Math.abs(Math.round(m)),r.slideShadows){var S=o?p.find(".swiper-slide-shadow-left"):p.find(".swiper-slide-shadow-top"),C=o?p.find(".swiper-slide-shadow-right"):p.find(".swiper-slide-shadow-bottom");0===S.length&&(S=g('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),p.append(S)),0===C.length&&(C=g('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),p.append(C)),S.length&&(S[0].style.opacity=m>0?m:0),C.length&&(C[0].style.opacity=-m>0?-m:0)}}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},be={init:function(){var e=this,t=e.params.thumbs;if(e.thumbs.initialized)return!1;e.thumbs.initialized=!0;var i=e.constructor;return t.swiper instanceof i?(e.thumbs.swiper=t.swiper,C(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),C(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):S(t.swiper)&&(e.thumbs.swiper=new i(C({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick),!0},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var i=t.clickedIndex,n=t.clickedSlide;if(!(n&&g(n).hasClass(e.params.thumbs.slideThumbActiveClass)||null==i)){var a;if(a=t.params.loop?parseInt(g(t.clickedSlide).attr("data-swiper-slide-index"),10):i,e.params.loop){var r=e.activeIndex;e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var o=e.slides.eq(r).prevAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),s=e.slides.eq(r).nextAll('[data-swiper-slide-index="'+a+'"]').eq(0).index();a=void 0===o?s:void 0===s?o:s-r<r-o?s:o}e.slideTo(a)}}},update:function(e){var t=this,i=t.thumbs.swiper;if(i){var n="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView,a=t.params.thumbs.autoScrollOffset,r=a&&!i.params.loop;if(t.realIndex!==i.realIndex||r){var o,s,l=i.activeIndex;if(i.params.loop){i.slides.eq(l).hasClass(i.params.slideDuplicateClass)&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,l=i.activeIndex);var d=i.slides.eq(l).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),u=i.slides.eq(l).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index();o=void 0===d?u:void 0===u?d:u-l==l-d?l:u-l<l-d?u:d,s=t.activeIndex>t.previousIndex?"next":"prev"}else s=(o=t.realIndex)>t.previousIndex?"next":"prev";r&&(o+="next"===s?a:-1*a),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(o)<0&&(i.params.centeredSlides?o=o>l?o-Math.floor(n/2)+1:o+Math.floor(n/2)-1:o>l&&(o=o-n+1),i.slideTo(o,e?0:void 0))}var c=1,f=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(c=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(c=1),c=Math.floor(c),i.slides.removeClass(f),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(var p=0;p<c;p+=1)i.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+p)+'"]').addClass(f);else for(var h=0;h<c;h+=1)i.slides.eq(t.realIndex+h).addClass(f)}}},_e=[ie,ae,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){R(this,{mousewheel:{enabled:!1,lastScrollTime:_(),lastEventBeforeSnap:void 0,recentWheelEvents:[],enable:re.enable,disable:re.disable,handle:re.handle,handleMouseEnter:re.handleMouseEnter,handleMouseLeave:re.handleMouseLeave,animateSlider:re.animateSlider,releaseScroll:re.releaseScroll}})},on:{init:function(e){!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(e){e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){R(this,{navigation:t({},oe)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},click:function(e,t){var i,n=e.navigation,a=n.$nextEl,r=n.$prevEl;!e.params.navigation.hideOnClick||g(t.target).is(r)||g(t.target).is(a)||(a?i=a.hasClass(e.params.navigation.hiddenClass):r&&(i=r.hasClass(e.params.navigation.hiddenClass)),!0===i?e.emit("navigationShow"):e.emit("navigationHide"),a&&a.toggleClass(e.params.navigation.hiddenClass),r&&r.toggleClass(e.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){R(this,{pagination:t({dynamicBulletIndex:0},se)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},click:function(e,t){e.params.pagination.el&&e.params.pagination.hideOnClick&&e.pagination.$el.length>0&&!g(t.target).hasClass(e.params.pagination.bulletClass)&&(!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){R(this,{scrollbar:t({isTouched:!1,timeout:null,dragTimeout:null},le)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,t){e.scrollbar.setTransition(t)},destroy:function(e){e.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){R(this,{parallax:t({},de)})},on:{beforeInit:function(e){e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e,t){e.params.parallax.enabled&&e.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this;R(e,{zoom:t({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},ue)});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,a=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,a)}i=t}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){R(this,{lazy:t({initialImageLoaded:!1},ce)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(e){e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove:function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},pe,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){R(this,{a11y:t(t({},he),{},{liveRegion:g('<span class="'+this.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},on:{init:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){R(this,{history:t({},me)})},on:{init:function(e){e.params.history.enabled&&e.history.init()},destroy:function(e){e.params.history.enabled&&e.history.destroy()},transitionEnd:function(e){e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange:function(e){e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){R(this,{hashNavigation:t({initialized:!1},ve)})},on:{init:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(e){e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange:function(e){e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){R(this,{autoplay:t(t({},ge),{},{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),r().addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t,i){e.autoplay.running&&(i||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.running&&e.autoplay.stop(),r().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){R(this,{fadeEffect:t({},ye)})},on:{beforeInit:function(e){if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};C(e.params,t),C(e.originalParams,t)}},setTranslate:function(e){"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e,t){"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){R(this,{cubeEffect:t({},xe)})},on:{beforeInit:function(e){if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};C(e.params,t),C(e.originalParams,t)}},setTranslate:function(e){"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e,t){"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){R(this,{flipEffect:t({},Ee)})},on:{beforeInit:function(e){if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};C(e.params,t),C(e.originalParams,t)}},setTranslate:function(e){"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e,t){"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){R(this,{coverflowEffect:t({},Te)})},on:{beforeInit:function(e){"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){R(this,{thumbs:t({swiper:null,initialized:!1},be)})},on:{beforeInit:function(e){var t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,t){var i=e.thumbs.swiper;i&&i.setTransition(t)},beforeDestroy:function(e){var t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}}];return ee.use(_e),ee},"object"===o(t)?e.exports=r():void 0===(a="function"==typeof(n=r)?n.call(t,i,t,e):n)||(e.exports=a)},782:()=>{var e;jQuery.fn.sortElements=(e=[].sort,function(t,i){i=i||function(){return this};var n=this.map((function(){var e=i.call(this),t=e.parentNode,n=t.insertBefore(document.createTextNode(""),e.nextSibling);return function(){if(t===this)throw new Error("You can't sort elements if any one is a descendant of another.");t.insertBefore(this,n),t.removeChild(n)}}));return e.call(this,t).each((function(e){n[e].call(i.call(this))}))})}},t={};function i(n){var a=t[n];if(void 0!==a)return a.exports;var r=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}var t,n;"undefined"==typeof APP_ROOTPATH?(t="",n=""):(t=APP_ROOTPATH.templateUrl.replace(/\/\s*$/,""),n=APP_ROOTPATH.homeUrl.replace(/\/\s*$/,""),APP_ROOTPATH.ajaxUrl.replace(/\/\s*$/,""));var a=!1;try{document.addEventListener("test",null,{get passive(){a=!0}})}catch(e){}/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);var r=/(android)/i.test(navigator.userAgent),o=(navigator.userAgent.match(/(iPhone|iPod|Android|ios|Mobile)/i),navigator.userAgent.match(/Version\/[\d\.]+.*Safari/),!!window.ActiveXObject||window,a),s=function(t,i,n){var a={},r={documentReady:[],pageLoaded:[]};function o(i){i="undefined"==e(i)?t:i,r.documentReady.forEach((function(e){e(i)}))}function s(i){i="object"==e(i)?t:i,r.pageLoaded.forEach((function(e){e(i)}))}return 0==t("img").length&&t("body").prepend('<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="" style="display:none">'),t.isFunction(t.fn.waitForImages)?t("body").waitForImages(s):t(i).on("load",s),t(n).ready(o),a.setContext=function(i){var n=t;return"undefined"!==e(i)?function(e){return t(i).find(e)}:n},a.components=r,a.documentReady=o,a.pageLoaded=s,a}($,window,document),l=l||function(){function e(){}return e.version="0.0.1",e.create=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},e}(),d=d||function(){function e(){}return e.version="0.0.1",e.evaluate=function(e){var t=e.replace(/\s/g,"").split(""),i=[],n=[],a=0,r=!0;i[a]="";for(var o=0;o<t.length;o++)isNaN(parseInt(t[o]))&&"."!==t[o]&&!r?(n[a]=t[o],i[++a]="",r=!0):(i[a]+=t[o],r=!1);e=parseFloat(i[0]);for(var s=0;s<n.length;s++){var l=parseFloat(i[s+1]);switch(n[s]){case"+":e+=l;break;case"-":e-=l;break;case"*":e*=l;break;case"/":e/=l}}return e},e}(),u=u||function(){function t(){}return t.version="0.0.1",t.getTransitionDuration=function(t){if("undefined"===e(t))return 0;var i=window.getComputedStyle(t),n=i.webkitTransitionDuration,a=i.webkitTransitionDelay;return"undefined"!=e(n)?(n=n.indexOf("ms")>-1?parseFloat(n):1e3*parseFloat(n),a=a.indexOf("ms")>-1?parseFloat(a):1e3*parseFloat(a),n):0},t.getAbsoluteCoordinates=function(e){var t=window.innerWidth,i=null,n=null;return document.getElementsByTagName("body")[0].className.match(/rtl/)?(i=0==e.offsetLeft?t-(e.parentElement.offsetLeft+e.parentElement.offsetWidth):t-(e.offsetLeft+e.offsetWidth),n=0==e.offsetTop?t-(e.parentElement.offsetTop+e.parentElement.offsetHeight):t-(e.offsetTop+e.offsetHeight)):(i=0==e.offsetLeft?e.parentElement.offsetLeft:e.offsetLeft,n=0==e.offsetTop?e.parentElement.offsetTop:e.offsetTop),{left:i,top:n}},t}(),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,i=!1;return function(){i||(e.apply(this,arguments),i=!0,setTimeout((function(){i=!1}),t))}},f=function(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){clearTimeout(t),t=setTimeout((function(){e.apply(this,arguments)}),i)}};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}!function(e){e.fn.UixModuleFilter=function(t){var i=e.extend({destroy:!1,add:{moduleName:"OLD_MODULE_NAME",pageLoaded:!1,version:"0.0.1",callback:function(){}}},t);this.each((function(){if(i.destroy&&"[object String]"==Object.prototype.toString.call(i.destroy)){var t=i.destroy;"undefined"!=p(s[t])&&delete s[t]}if(i.add&&"[object Object]"==Object.prototype.toString.call(i.add)&&i.add.hasOwnProperty("pageLoaded")){var n=i.add.moduleName;if("undefined"!=p(s[n]))console.log("The module already exists, please destroy the old module or change the new module name.");else{if(!i.add.pageLoaded||0==i.add.pageLoaded){var a=(o=s,jQuery,window,document,o[n]=o[n]||{},o[n].version=i.add.version,o[n].documentReady=function(e){i.add.callback()},o.components.documentReady.push(o[n].documentReady),a);s[n].documentReady(e)}if(i.add.pageLoaded||1==i.add.pageLoaded){var r=function(e,t,a,o){return e[n]=e[n]||{},e[n].version=i.add.version,e[n].pageLoaded=function(){i.add.callback()},e.components.pageLoaded.push(e[n].pageLoaded),r}(s,jQuery,window,document);s[n].pageLoaded()}}}var o}))}}(jQuery),function(e){e.fn.UixApplyAsyncScripts=function(t){var i=e.extend({scrollReveal:!0,ajaxPostList:!0,ajaxDDList:!0,counterAnim:!0,lightBox:!0},t);this.each((function(){s.MAIN&&s.MAIN.pageLoaded(),s.COMMON_HEIGHT&&s.COMMON_HEIGHT.pageLoaded(),s.ADVANCED_SLIDER&&s.ADVANCED_SLIDER.pageLoaded(),s.ADVANCED_SLIDER_FILTER&&s.ADVANCED_SLIDER_FILTER.pageLoaded(),s.FULL_WIDTH_COLUMN_TO_EDGE&&s.FULL_WIDTH_COLUMN_TO_EDGE.pageLoaded(),s.STICKY_EL&&s.STICKY_EL.pageLoaded(),s.TEXT_EFFECT&&s.TEXT_EFFECT.pageLoaded(),s.TIMELINE&&s.TIMELINE.pageLoaded(),s.HYBRID_CONTENT_SLIDER&&s.HYBRID_CONTENT_SLIDER.pageLoaded(),s.MAIN&&s.MAIN.documentReady(e),s.TABLE&&s.TABLE.documentReady(e),s.TABLE_SORTER&&s.TABLE_SORTER.documentReady(e),s.MODAL_DIALOG&&s.MODAL_DIALOG.documentReady(e),s.PARALLAX&&s.PARALLAX.documentReady(e),s.VIDEOS&&s.VIDEOS.documentReady(e),s.BODY_AND_HEADER&&s.BODY_AND_HEADER.documentReady(e),s.SET_BG&&s.SET_BG.documentReady(e),s.GET_CUSTOM_ATTRS&&s.GET_CUSTOM_ATTRS.documentReady(e),s.PAGINATION&&s.PAGINATION.documentReady(e),s.FORM&&s.FORM.documentReady(e),s.FLEXSLIDER&&s.FLEXSLIDER.documentReady(e),s.RETINA&&s.RETINA.documentReady(e),s.SHOW_MORELESS&&s.SHOW_MORELESS.documentReady(e),s.DROPDOWN_MENU&&s.DROPDOWN_MENU.documentReady(e),s.DROPDOWN_MENU2&&s.DROPDOWN_MENU2.documentReady(e),s.ACCORDION&&s.ACCORDION.documentReady(e),s.GALLERY&&s.GALLERY.documentReady(e),s.IMAGE_SHAPES&&s.IMAGE_SHAPES.documentReady(e),s.PERIODICAL_SCROLL&&s.PERIODICAL_SCROLL.documentReady(e),s.PRICING&&s.PRICING.documentReady(e),s.PROGRESS_BAR&&s.PROGRESS_BAR.documentReady(e),s.PROGRESS_LINE&&s.PROGRESS_LINE.documentReady(e),s.ROTATING_EL&&s.ROTATING_EL.documentReady(e),s.SMOOTH_SCROLLING_ANCHORLINK&&s.SMOOTH_SCROLLING_ANCHORLINK.documentReady(e),s.SWIPER&&s.SWIPER.documentReady(e),s.TABS&&s.TABS.documentReady(e),s.TEAM_FOCUS&&s.TEAM_FOCUS.documentReady(e),s.LAVA_LAMP_STYLE_MENU&&s.LAVA_LAMP_STYLE_MENU.documentReady(e),s.CIRCLE_LAYOUT&&s.CIRCLE_LAYOUT.documentReady(e),s.MULTI_ITEMS_CAROUSEL&&s.MULTI_ITEMS_CAROUSEL.documentReady(e),s.THREE_BACKGROUND&&s.THREE_BACKGROUND.documentReady(e),s.THREE_CAROUSEL&&s.THREE_CAROUSEL.documentReady(e),s.THREE_LIQUID_SCROLLSPY_SLIDER&&s.THREE_LIQUID_SCROLLSPY_SLIDER.documentReady(e),i.scrollReveal&&s.SCROLL_REVEAL&&s.SCROLL_REVEAL.documentReady(e),i.ajaxPostList&&s.POST_LIST_AJAX&&s.POST_LIST_AJAX.documentReady(e),i.ajaxDDList&&s.CASCADING_DD_LIST&&s.CASCADING_DD_LIST.documentReady(e),i.counterAnim&&s.COUNTER&&s.COUNTER.documentReady(e),i.lightBox&&s.LIGHTBOX&&s.LIGHTBOX.pageLoaded(),e.isFunction(e.uix_sc_init)&&e.uix_sc_init()}))}}(jQuery),function(e){e.fn.UixApplyAsyncAllScripts=function(t){var i=e.extend({runAll:!0},t);this.each((function(){var t=s.components.pageLoaded,n=s.components.documentReady;if(i.runAll){for(var a=0;a<t.length;a++)t[a]();for(var r=0;r<n.length;r++)n[r](e)}e.isFunction(e.uix_sc_init)&&e.uix_sc_init()}))}}(jQuery);!function(e,t,i,n){null!==i.BODY_AND_HEADER&&(e.BODY_AND_HEADER=e.BODY_AND_HEADER||{},e.BODY_AND_HEADER.version="0.0.8",e.BODY_AND_HEADER.documentReady=function(e){if(e("body").hasClass("onepage"))return!1;var t=i.innerWidth;i.innerHeight;function n(t){var i=e(".uix-header__placeholder.js-uix-header__placeholder-autoheight");t>768?(i.css("height",e(".uix-header__container").outerHeight(!0)+"px"),e("body").removeClass("is-mobile")):(i.css("height",0),e("body").addClass("is-mobile"))}n(t);var a=f((function(){i.innerWidth!=t&&n(t=i.innerWidth)}),50);i.removeEventListener("resize",a),i.addEventListener("resize",a);var r=e(".uix-header__container, .uix-header__placeholder");var o=c((function(){e(i).scrollTop()>=220?r.addClass("is-fixed"):r.removeClass("is-fixed")}),5);i.removeEventListener("scroll",o),i.removeEventListener("touchmove",o),i.addEventListener("scroll",o),i.addEventListener("touchmove",o),o()},e.components.documentReady.push(e.BODY_AND_HEADER.documentReady))}(s,jQuery,window,document);(function(e,t,i,n){null!==i.COMMON_HEIGHT&&(e.COMMON_HEIGHT=e.COMMON_HEIGHT||{},e.COMMON_HEIGHT.version="0.0.4",e.COMMON_HEIGHT.pageLoaded=function(){var e=i.innerWidth;i.innerHeight;a(e);var n=f((function(){i.innerWidth!=e&&a(e=i.innerWidth)}),50);function a(e){t(".js-uix-common-height").each((function(){var i=t(this),n="[class*=col-], [class*=uix-core-grid__col-]",a=0;i.children(n).each((function(){var e=t(this);e.find("img").each((function(){"inline"==t(this).parent("a").css("display")&&t(this).parent("a").css("display","inline-block")})),(e.hasClass("max-height")||e.height()>a)&&(a=e.outerHeight())})),e>768?i.children(n).each((function(){t(this).css("height",a)})):i.children(n).each((function(){t(this).css("height","auto")}))}))}i.removeEventListener("resize",n),i.addEventListener("resize",n)},e.components.pageLoaded.push(e.COMMON_HEIGHT.pageLoaded))})(s,jQuery,window,document),i(319);!function(e,t,i,n){null!==i.GET_CUSTOM_ATTRS&&(e.GET_CUSTOM_ATTRS=e.GET_CUSTOM_ATTRS||{},e.GET_CUSTOM_ATTRS.version="0.0.1",e.GET_CUSTOM_ATTRS.documentReady=function(e){e("[data-my-custom-datas]").each((function(){var t=e(this).attr(),i="";e.each(t,(function(e,t){e.indexOf("data-custom-field-")>=0&&(i+='"'+e.replace("data-custom-field-","")+'": "'+t+'", ')})),i=i.replace(/,\s*$/,"")}))},e.components.documentReady.push(e.GET_CUSTOM_ATTRS.documentReady))}(s,jQuery,window,document);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}!function(e,t,i,n){null!==i.LOADER&&(e.LOADER=e.LOADER||{},e.LOADER.version="0.0.5",e.LOADER.documentReady=function(e){n.addEventListener("touchstart",(function(e){e.touches.length>1&&e.preventDefault()}));var t=0;n.addEventListener("touchend",(function(e){var i=(new Date).getTime();i-t<=300&&e.preventDefault(),t=i}),!1);var a,r=[],o=0;e(".uix-video__slider > video").each((function(){r.push(e(this))})),a=r.length,console.log("videosTotal: "+a+", videosLoaded: "+o);var s=0,l=0,d=function(t){e(".uix-loader-progress > span").text(e(".uix-loader-progress").data("txt").replace(/\{progress\}/g,t)),TweenMax.to(".uix-loader-progress__line",.3,{width:t/100*i.innerWidth})};e("body").waitForImages().progress((function(t,i,n){l=i;var r=parseInt(t/(i-(1-a))*100);e("img").length<=1&&(r=100),isNaN(r)&&(r=100),s=r;for(var o=1;o<10;o++)r<10*o&&e("body").addClass("loaded"+o);d(r)})).done((function(){console.log("loadedPercent: "+s+", imageTotal: "+l),function(t,i){var s=0,l=function(){d(100),e("body").addClass("loaded10"),TweenMax.to(".uix-loader, .uix-loader-progress, .uix-loader-progress__line",.5,{css:{opacity:0,display:"none"}})};t<100?r.forEach((function(e){var i=e.find("source:first").attr("src");"undefined"===h(i)&&(i=e.attr("src"));var r=n.getElementById(e.attr("id")),u=i;r.addEventListener("loadedmetadata",(function(e){o++;var i=t+(100-t-(s=(1-o/a)*(100-t)));d(i),100==i&&l(),console.log("remainedPercentComplete: "+s+", currentPercent: "+i),console.log("videosTotal: "+a+", videosLoaded: "+o)}),!1),r.src=u})):0==s&&l()}(s)}))},e.components.documentReady.push(e.LOADER.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.MEGA_MENU&&(e.MEGA_MENU=e.MEGA_MENU||{},e.MEGA_MENU.version="0.0.5",e.MEGA_MENU.pageLoaded=function(){var e=i.innerWidth;i.innerHeight;setTimeout((function(){a(e)}),500);var n=f((function(){i.innerWidth!=e&&a(e=i.innerWidth)}),50);function a(i){var n=t(".uix-menu__container:not(.is-mobile)"),a=1140;i>1430&&(a=1278),a=e-15,n.find("li.multi-column  > ul .multi-column-title").each((function(){var e=t(this).html();""!=e&&t(this).html(e.replace(/<[^>]+>/g,""))})),i>768&&n.find("li.multi-column").each((function(e){var n=t(this),r=n.find("> ul > li").length,o=(n.find("> ul > li").first().width(),n.find("> ul.sub-menu")),s=null,l=null,d=o.width();if(n.find(".uix-menu__arrow-mega").length<1&&n.prepend('<span class="uix-menu__arrow-mega"></span>'),r>0)if(l=u.getAbsoluteCoordinates(o[0]).left,a>i&&(a=i),d+20>a)d=a,s=a/r-2.888,o.find("> li").css({width:s+"px"}),o.find("> li ul li").css({width:s+"px"}),t("body").hasClass("rtl")?o.css({"margin-right":(i-d)/2-l+"px"}):o.css({"margin-left":(i-d)/2-l+"px"});else{o.find("> li").css({width:"270px"}),o.find("> li ul li").css({width:"270px"});var c=l+d;c>i&&(t("body").hasClass("rtl")?o.css({"margin-right":-(c-i)+"px"}):o.css({"margin-left":-(c-i)+"px"}))}}))}i.removeEventListener("resize",n),i.addEventListener("resize",n)},e.components.pageLoaded.push(e.MEGA_MENU.pageLoaded))}(s,jQuery,window,document);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}!function(e,t,i,n){null!==i.MOBILE_MENU&&(e.MOBILE_MENU=e.MOBILE_MENU||{},e.MOBILE_MENU.version="0.0.9",e.MOBILE_MENU.documentReady=function(e){var t=i.innerWidth,n=(i.innerHeight,e(".admin-bar .uix-menu-mobile__toggle"));var a=c((function(){e(i).scrollTop()>=46?n.addClass("is-fixed"):n.removeClass("is-fixed")}),5);i.removeEventListener("scroll",a),i.removeEventListener("touchmove",a),i.addEventListener("scroll",a),i.addEventListener("touchmove",a),a();var r=e(".uix-menu-mobile__toggle"),o=e("body");function s(t){t<=768&&e(".uix-menu__container.is-mobile .uix-menu > li").each((function(){e(this).find("ul").length>0&&(e(this).find(".uix-menu__arrow-mobile").length<1&&e(this).prepend('<em class="uix-menu__arrow-mobile"></em>'),e(this).find("ul ul").addClass("sub-sub"),e(this).find(" > a").attr("href","javascript:void(0);"))}))}e("nav.uix-menu__container").clone().addClass("is-mobile").appendTo("body"),e.when(e(".uix-menu__container.is-mobile").length>0).then((function(){r.on("touchstart click",(function(t){if(t.preventDefault(),t.stopPropagation(),e(this).toggleClass("is-active"),e(this).hasClass("is-active")){var i=e(".uix-brand--mobile img").attr("src");"undefined"!==m(i)&&""!=i&&i.indexOf("blank.gif")>=0&&e(".mobile-inner").css("margin-top","-70px"),o.addClass("js-uix-menu-opened")}else o.removeClass("js-uix-menu-opened")})),e(".uix-menu-mobile__mask").on("click",(function(){r.removeClass("is-active"),o.removeClass("js-uix-menu-opened")})),e(".uix-menu__container.is-mobile ul li").find("> a").on("click",(function(t){e(this).find(".uix-menu__arrow-mobile").text().replace(/(.).*\1/g,"$1");var i=e(this).next("ul");if(i.length>0){if(t.preventDefault(),"true"!=e(this).attr("aria-expanded")){var n=e(this).parent("li").siblings().find("> a");n.removeClass("is-opened").attr("aria-expanded",!1),n.parent("li").find(".uix-menu__arrow-mobile").removeClass("is-opened"),n.parent("li").removeClass("is-opened"),e(this).addClass("is-opened").attr("aria-expanded",!0),e(this).parent("li").find(".uix-menu__arrow-mobile").addClass("is-opened"),e(this).parent("li").addClass("is-opened"),TweenMax.to(n.next("ul"),.5,{height:0}),TweenMax.set(i,{height:"auto"}),TweenMax.from(i,.5,{height:0})}else e(this).removeClass("is-opened").attr("aria-expanded",!1),e(this).parent("li").find(".uix-menu__arrow-mobile").removeClass("is-opened"),e(this).parent("li").removeClass("is-opened"),TweenMax.to(i,.5,{height:0});return!1}})),s(t);var n=f((function(){i.innerWidth!=t&&(t=i.innerWidth,o.removeClass("js-uix-menu-opened"),r.removeClass("is-active"),s(t))}),50);i.removeEventListener("resize",n),i.addEventListener("resize",n)}))},e.components.documentReady.push(e.MOBILE_MENU.documentReady))}(s,jQuery,window,document);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}!function(e,t,i,n){null!==i.NAVIGATION&&(e.NAVIGATION=e.NAVIGATION||{},e.NAVIGATION.version="0.1.0",e.NAVIGATION.documentReady=function(e){var t=".uix-menu__container:not(.is-mobile) ul.uix-menu",n=e(t).data("current");"undefined"!==v(n)&&e(t+" > li:eq("+n+")").addClass("is-active");e(t+" > li.multi-column > ul li ul").addClass("multi"),e(t+" > li:not(.multi-column) ul, .uix-menu__container:not(.is-mobile) li.multi-column > ul.sub-menu > li > ul, "+t+" li.multi-column > ul").css("margin-top","15px"),e(t+" li").on("mouseenter",(function(){TweenMax.set(e(this).find(" > ul.sub-menu:not(.multi), .uix-menu__arrow-mega"),{css:{opacity:0,display:"block",marginTop:"15px"},onComplete:function(){TweenMax.to(this.target,.3,{css:{opacity:1,marginTop:0},ease:Power2.easeOut})}})})).on("mouseleave",(function(){TweenMax.to(e(this).find(" > ul.sub-menu:not(.multi), .uix-menu__arrow-mega"),.3,{css:{opacity:0,marginTop:"15px"},onComplete:function(){TweenMax.set(this.target,{css:{display:"none"}})}})})),e(t+" li").each((function(){e(this).find("ul").length>0&&e(this).prepend('<span class="uix-menu__arrow"></span>')}));var a=e(".uix-menu__container:not(.is-mobile)");var r=c((function(){e(i).scrollTop()>=220?a.addClass("is-fixed"):a.removeClass("is-fixed")}),5);i.removeEventListener("scroll",r),i.removeEventListener("touchmove",r),i.addEventListener("scroll",r),i.addEventListener("touchmove",r),r()},e.components.documentReady.push(e.NAVIGATION.documentReady))}(s,jQuery,window,document);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}!function(e){e.fn.UixParallax=function(t){var i=e.extend({speed:.25,offsetTop:0,transition:"all 0.4s cubic-bezier(0, 0, 0.34, 0.96) 0s",bg:{enable:!0,xPos:"50%"}},t);this.each((function(){var t=i.bg,n=e(this),a="50%",r=parseFloat(i.offsetTop),o=-parseFloat(i.speed);t&&(t=i.bg.enable,a=i.bg.xPos),n.css({transition:"none"}),t?TweenMax.set(n,{backgroundPosition:a+" "+(-n[0].getBoundingClientRect().top*o-r)+"px"}):TweenMax.set(n,{y:0});var s=c((function(){var e=n[0].getBoundingClientRect().top;t?TweenMax.set(n,{css:{"background-position":a+" "+(0-(e*o+r))+"px",transition:i.transition}}):TweenMax.set(n,{css:{transform:"matrix(1, 0, 0, 1, 0, "+(0-(e*o+r))+")",transition:i.transition}})}),5);window.removeEventListener("scroll",s),window.removeEventListener("touchmove",s),window.addEventListener("scroll",s),window.addEventListener("touchmove",s),"loading"!=document.readyState?s():document.addEventListener?document.addEventListener("DOMContentLoaded",s):document.attachEvent("onreadystatechange",(function(){"loading"!=document.readyState&&s()}))}))}}(jQuery);!function(e,t,i,n){null!==i.SET_BG&&(e.SET_BG=e.SET_BG||{},e.SET_BG.version="0.0.8",e.SET_BG.documentReady=function(e){var t=i.innerWidth;i.innerHeight;a();var n=f((function(){i.innerWidth!=t&&(t=i.innerWidth,a())}),50);function a(){e("[data-bg]").each((function(){var t=e(this),i=t.data("bg");if("undefined"===g(i)&&(i={src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",position:"top left",size:"cover",repeat:"no-repeat",offsetTop:0,fill:!1,parallax:0,transition:"none 0s ease 0s",move:!1}),i){var n=i.src,a=i.position,r=i.size,o=i.repeat,s=i.transition,l=i.offsetTop,d=i.parallax,u=i.move;"undefined"===g(a)&&(a="top left"),"undefined"===g(r)&&(r="cover"),"undefined"===g(o)&&(o="no-repeat"),"undefined"===g(l)&&(l=0),"undefined"===g(s)&&(s="none 0s ease 0s"),"undefined"===g(u)&&(u=!1),d&&"undefined"!=g(d)&&0!=d&&(a=a.replace("top","50%"));var c="none",f="infinite";if(u&&"[object Object]"==Object.prototype.toString.call(u)){switch(u.loop||(f="1 forwards"),a="0 0",u.dir){case"top":c="js-uix-cssanim--move-t "+parseInt(u.speed)+"s "+"linear "+f;break;case"bottom":c="js-uix-cssanim--move-b "+parseInt(u.speed)+"s "+"linear "+f;break;case"left":c="js-uix-cssanim--move-l "+parseInt(u.speed)+"s "+"linear "+f;break;case"right":c="js-uix-cssanim--move-r "+parseInt(u.speed)+"s "+"linear "+f}0==e("#js-uix-cssanim--move-t").length&&e('<style id="js-uix-cssanim--move-t">').text("@keyframes js-uix-cssanim--move-t{from{background-position:0 0;}to{background-position:0 -19999px;}").appendTo("head"),0==e("#js-uix-cssanim--move-b").length&&e('<style id="js-uix-cssanim--move-b">').text("@keyframes js-uix-cssanim--move-b{from{background-position:0 0;}to{background-position:0 19999px;}").appendTo("head"),0==e("#js-uix-cssanim--move-l").length&&e('<style id="js-uix-cssanim--move-l">').text("@keyframes js-uix-cssanim--move-l{from{background-position:0 0;}to{background-position:-19999px 0;}").appendTo("head"),0==e("#js-uix-cssanim--move-r").length&&e('<style id="js-uix-cssanim--move-r">').text("@keyframes js-uix-cssanim--move-r{from{background-position:0 0;}to{background-position:19999px 0;}").appendTo("head")}"undefined"!=g(n)&&""!=n&&(i.fill?Modernizr.cssanimations&&t.css({background:"url("+n+") "+o,"background-size":r,"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent",animation:c}):t.css({"background-image":"url("+n+")","background-position":a,"background-size":r,"background-repeat":o,animation:c}),d&&"undefined"!=g(d)&&0!=d&&t.UixParallax({speed:d,transition:s,offsetTop:l,bg:{enable:!0,xPos:"50%"}}))}}))}i.removeEventListener("resize",n),i.addEventListener("resize",n)},e.components.documentReady.push(e.SET_BG.documentReady))}(s,jQuery,window,document);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}!function(e,t,i,n){null!==i.VIDEOS&&(e.VIDEOS=e.VIDEOS||{},e.VIDEOS.version="0.1.3",e.VIDEOS.documentReady=function(e){var t=i.innerWidth,a=i.innerHeight;e(".uix-video").each((function(){var i=e(this),n=i.find("video").attr("id"),a="videocover-"+n,o=i.closest("[data-embed-video-wrapper]").width(),s=i.data("embed-video-autoplay"),l=i.data("embed-video-loop"),d=i.data("embed-video-controls"),u=i.data("embed-video-width"),c=i.data("embed-video-height");if(i.find(".video-js").attr("id",n),"undefined"===y(s)&&(s=!0),"undefined"===y(l)&&(l=!0),"undefined"===y(d)&&(d=!1),"undefined"!==y(u)&&"auto"!=u||(u=o),"undefined"!==y(c)&&"auto"!=c||(c=o/1.77777777777778),0==e("#"+a).length){e('<div id="'+a+'" class="uix-video__cover"><span class="uix-video__cover__placeholder" style="background-image:url('+i.find("video").attr("poster")+')"></span><span class="uix-video__cover__playbtn"></span></div>').insertBefore(i);var f=Modernizr.touchevents?"touchstart":"click";e("#"+a+" .uix-video__cover__playbtn").on(f,(function(t){t.preventDefault(),p.play(),e("#"+a).hide()})),s&&!r||e("#"+a+" .uix-video__cover__playbtn").show()}t<=768&&i.find(".video-js").attr({playsinline:"true"});var p=videojs(n,{width:u,height:c,loop:l,autoplay:s},(function(){var t=function(e){var t,n,a=e.videoWidth(),r=e.videoHeight();n=r*((t=o)/a),isNaN(t)||isNaN(n)||(e.height(n),e.width(t)),i.css("visibility","visible"),i.find(".vjs-loading-spinner, .vjs-big-play-button").hide()};t(this),this.on("loadedmetadata",(function(){t(this)})),s&&(this.muted(!0),this.play()),d||this.controls(!1);this.on("timeupdate",(function(){this.duration()>0&&(!0,this.currentTime()>0&&(!0,this.off("timeupdate"),e("#"+a).hide()))}))}))}));var o="[data-video-win]";e(o).each((function(){var t=e(this),i="",n=t.data("video-mp4"),a=t.data("video-webm"),r=t.data("video-ogv"),o=t.data("video-poster"),s=t.data("modal-id"),l=s+"--videopush";if("undefined"===y(n)&&(n=""),"undefined"===y(a)&&(a=""),"undefined"===y(r)&&(r=""),t.find("[data-video-iframe]").length>0&&(i=t.find("[data-video-iframe]").html()),0==e("#"+s).length){var d="",u="",c="",f="";""!=n&&(u='<source src="'+n+'" type="video/mp4">'),""!=a&&(c='<source src="'+a+'" type="video/webm">'),""!=r&&(f='<source src="'+r+'" type="video/ogv">'),d+='<div class="uix-modal-box is-fullscreen is-video" role="dialog" tabindex="-1" aria-hidden="true" id="'+s+'">',d+='<button type="button" class="uix-modal-box__close" data-modal-close-trigger="true"></button>',d+='<div class="uix-modal-box__content" role="document">',d+='<div class="uix-modal-box__video-waiting"></div><div class="uix-modal-box__video-container" data-video-player-init="0">',t.find("[data-video-iframe]").length>0&&""!=i?(d+='<div id="'+l+'" class="embed-responsive embed-responsive-16by9">',d+=i,d+="</div>"):(d+='<video id="'+l+'" class="video-js vjs-default-skin" controls poster="'+o+'">',d+=u+c+f,d+="</video>"),d+="</div>",d+="</div>",e(d+="</div>").appendTo("body")}})),e(n).off("click.VIDEOS").on("click.VIDEOS",o,(function(){var i=e(this).data("modal-id")+"--videopush",r=t-80,o=a-80,s=e("#"+i).closest(".uix-modal-box__video-container"),l=s.prev(".uix-modal-box__video-waiting"),d=s.data("video-player-init"),u=!1,c=function(){TweenMax.set(s,{alpha:1}),l.removeClass("is-active")};if(e("#"+i).find("iframe").length>0?u=e("#"+i).find("iframe"):(TweenMax.set(s,{alpha:0}),l.addClass("is-active")),u&&"object"===y(u)){if(u.length>0){var f=u.width(),p=u.height(),h=f,m=p;p>o&&(h=f*((m=o)/p)),h>r&&(m=p*((h=r)/f)),u.css({left:(r-h)/2+"px",top:(o-m)/2+"px",height:m+"px",width:h+"px"}),t<=768&&u.css({top:0}).parent(".embed-responsive").css({top:(o-m)/2+"px"})}return!1}t<=768&&e("#"+i).attr({playsinline:"true"});var v=videojs(i,{width:1,height:1,autoplay:!0,loop:!0},(function(){var e=function(e){var t=e.videoWidth(),i=e.videoHeight(),n=t,l=i;i>o&&(n=t*((l=o)/i)),n>r&&(l=i*((n=r)/t)),e.height(l),e.width(n),s.find(" > div.video-js").css({width:n+"px"});var d=parseFloat(a-l)/2-50;s.css({transform:"translateY("+d+"px)"}),c()};e(this),this.on("loadedmetadata",(function(){e(this),s.data("video-player-init",1)})),this.play(),this.on("timeupdate",(function(){var e=this.duration();e>0&&this.currentTime()})),this.on("ended",(function(){}))}));1===d&&c(),e(n).off("click.VIDEOS_CLOSE").on("click.VIDEOS_CLOSE",".uix-modal-box [data-modal-close-trigger], .uix-modal-mask:not(.js-uix-disabled)",(function(){v.ready((function(){this.pause()}))}))}))},e.components.documentReady.push(e.VIDEOS.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.MAIN&&(e.MAIN=e.MAIN||{},e.MAIN.version="0.0.1",e.MAIN.documentReady=function(e){},e.MAIN.pageLoaded=function(){},e.components.documentReady.push(e.MAIN.documentReady),e.components.pageLoaded.push(e.MAIN.pageLoaded))}(s,jQuery,window,document);function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}!function(e,t,i,n){null!==i.ACCORDION_BG&&(e.ACCORDION_BG=e.ACCORDION_BG||{},e.ACCORDION_BG.version="0.0.7",e.ACCORDION_BG.documentReady=function(e){var t=i.innerWidth;i.innerHeight;if(t<=768)return!1;e(".uix-accordion-img").each((function(){var t,i=e(this),n=i.data("event"),a=i.data("out-reset"),r=i.data("actived-item"),o=i.data("offset"),s=i.data("direction"),l=i.data("close-btn"),d=i.find("> ul").children("li"),u=d.length;function c(){"verticle"==s?d.removeClass("is-active active-sub").css("height",100/u+"%"):d.removeClass("is-active active-sub").css("width",100/u+"%")}"undefined"===x(r)&&(r=!1),"undefined"===x(n)&&(n="click"),"undefined"===x(a)&&(a=!0),"undefined"===x(o)&&(o="60%"),c(),d.on(n,(function(t){t.stopPropagation(),"uix-accordion-img__content__info"!=t.target.className&&"uix-accordion-img__content"!=t.target.className||(e(this).hasClass("is-active")?e(this).addClass("is-active"):(d.addClass("active-sub"),e(this).addClass("is-active"),e(this).siblings().removeClass("is-active"),"verticle"==s?(d.css("height",(100-parseFloat(o))/(u-1)+"%"),e(this).css("height",o)):(d.css("width",(100-parseFloat(o))/(u-1)+"%"),e(this).css("width",o))))})),a&&i.on("mouseleave",(function(e){c()})),"undefined"!=x(l)&&0!=l&&""!=l&&e(l).off("click").on("click",(function(e){e.preventDefault(),c()})),(t=parseFloat(r))>=0&&("verticle"==s?(d.css("height",(100-parseFloat(o))/(u-1)+"%"),d.eq(t).css("height",o).addClass("is-active")):(d.css("width",(100-parseFloat(o))/(u-1)+"%"),d.eq(t).css("width",o).addClass("is-active")))}))},e.components.documentReady.push(e.ACCORDION_BG.documentReady))}(s,jQuery,window,document);function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}!function(e,t,i,n){null!==i.ACCORDION&&(e.ACCORDION=e.ACCORDION||{},e.ACCORDION.version="0.0.3",e.ACCORDION.documentReady=function(e){e(".uix-accordion").each((function(){var t=e(this),i=t.children("dl"),n=(t.find("dt"),t.data("event")),a=t.data("first-show"),r=function(e){TweenMax.set(e,{height:"auto"}),TweenMax.from(e,.5,{height:0})};"undefined"===E(n)&&(n="click"),"undefined"===E(a)&&(a=!1),a&&(i.first().addClass("is-active").attr("aria-expanded",!0),r(i.first().find("dd"))),i.off(n).on(n,(function(t){t.stopPropagation();var i="true"!=e(this).attr("aria-expanded"),n=e(this).find("dd");if(i){var a=e(this).siblings();a.removeClass("is-active").attr("aria-expanded",!1),e(this).addClass("is-active").attr("aria-expanded",!0),TweenMax.to(a.find("dd"),.5,{height:0}),r(n)}else"click"==t.type&&(e(this).removeClass("is-active").attr("aria-expanded",!1),TweenMax.to(n,.5,{height:0}))}))}))},e.components.documentReady.push(e.ACCORDION.documentReady))}(s,jQuery,window,document);function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}!function(e,t,i,n){null!==i.ADVANCED_SLIDER&&(e.ADVANCED_SLIDER=e.ADVANCED_SLIDER||{},e.ADVANCED_SLIDER.version="0.2.7",e.ADVANCED_SLIDER.pageLoaded=function(){var e=i.innerWidth,a=(i.innerHeight,0),r=t(".uix-advanced-slider");s(!1);var o=f((function(){i.innerWidth!=e&&(e=i.innerWidth,s(!0))}),50);function s(e){r.each((function(){var i,r,o=t(this),s=o.find(".uix-advanced-slider__item"),c=s.first(),f=o.data("activated");if("undefined"===T(f)||0===f){var p=o.data("controls-pagination"),h=o.data("controls-arrows"),m=o.data("draggable"),v=o.data("draggable-cursor"),g=o.data("count-total"),y=o.data("count-now");"undefined"===T(p)&&(p=".uix-advanced-slider__pagination"),"undefined"!==T(h)&&0!=h||(h=".uix-advanced-slider__arrows"),"undefined"===T(m)&&(m=!1),"undefined"!==T(v)&&0!=v||(v="move"),"undefined"===T(g)&&(g="p.count em.count"),"undefined"===T(y)&&(y="p.count em.current");var x,E=o.data("auto"),b=o.data("timing"),_=o.data("loop");if("undefined"===T(E)&&(E=!1),"undefined"===T(b)&&(b=1e4),"undefined"===T(_)&&(_=!1),o[0].animatedSlides,a=u.getTransitionDuration(c[0]),s.each((function(e){t(this).delay(a*e).queue("fx",(function(){t(this).addClass("is-loaded").dequeue()}))})),s.addClass("next"),setTimeout((function(){c.addClass("is-active")}),a),c.find("video").length>0){var w=n.getElementById(c.find("video").attr("id")),S=c.find("source:first").attr("src");"undefined"===T(S)&&(S=c.attr("src")),w.addEventListener("loadedmetadata",(function(e){o.css("height",this.videoHeight*(o.width()/this.videoWidth)+"px"),i=this.videoWidth,r=this.videoHeight,d(o,i,r,p,h,_,m,v,g,y)}),!1),w.src=S}else{var C=c.find("img").attr("src");if("undefined"!=T(C)){var R=new Image;R.onload=function(){o.css("height",o.width()*(this.height/this.width)+"px"),i=this.width,r=this.height,d(o,i,r,p,h,_,m,v,g,y)},R.src=C}}if(!e&&E&&!isNaN(parseFloat(b))&&isFinite(b)){l(x,b,_,o,g,y,p,h);var M=function(){clearInterval(o[0].animatedSlides)},L=function(){l(x,b,_,o,g,y,p,h)};o.on("mouseenter",M),o.on("mouseleave",L),Modernizr.touchevents&&(o.on("pointerenter",M),o.on("pointerleave",L))}o.data("activated",1)}}))}function l(e,t,i,n,a,r,o,s){var l=n.find(".uix-advanced-slider__item"),d=l.length;n[0].animatedSlides=setInterval((function(){e=parseFloat(l.filter(".is-active").index()),e++,i?(e==d&&(e=0),e<0&&(e=d-1),c(e,n,"next",a,r,o,s,i)):e<d&&e>=0&&c(e,n,"next",a,r,o,s,i)}),t)}function d(e,i,r,o,s,l,d,u,f,h){var m=e,v=m.find(".uix-advanced-slider__item"),g=(v.first(),v.length);0==t(s).length&&t("body").prepend('<div style="display:none;" class="uix-advanced-slider__arrows '+s.replace("#","").replace(".","")+'"><a href="#" class="uix-advanced-slider__arrows--prev"></a><a href="#" class="uix-advanced-slider__arrows--next"></a></div>'),v.last().addClass("last"),v.first().addClass("first"),1==g&&(t(o).hide(),t(s).hide()),p(v,!1);var y="";y+="<ul>";for(var x=0;x<g;x++)y+="<li><a "+(0==x?'class="is-active"':"")+' data-index="'+x+'" href="javascript:"></a></li>';y+="</ul>",""==t(o).html()&&t(o).html(y),t(o).find("li a").off("click").on("click",(function(e){if(e.preventDefault(),"true"==t(this).attr("aria-disabled"))return!1;if(t(o).find("li a").attr("aria-disabled","true"),t(o).find("li a").delay(a).queue((function(e){t(o).find("li a").attr("aria-disabled","false"),e()})),!t(this).hasClass("is-active")){var i="prev";t(this).attr("data-index")>parseFloat(v.filter(".is-active").index())&&(i="next"),c(t(this).attr("data-index"),m,i,f,h,o,s,l),clearInterval(m[0].animatedSlides)}}));var E=t(s).find(".uix-advanced-slider__arrows--prev"),T=t(s).find(".uix-advanced-slider__arrows--next");function b(){return"true"!=E.attr("aria-disabled")&&(E.attr("aria-disabled","true"),E.delay(a).queue((function(e){E.attr("aria-disabled","false"),e()})),!E.hasClass("is-disabled")&&void c(parseFloat(v.filter(".is-active").index())-1,m,"prev",f,h,o,s,l))}function _(){return"true"!=T.attr("aria-disabled")&&(T.attr("aria-disabled","true"),T.delay(a).queue((function(e){T.attr("aria-disabled","false"),e()})),!T.hasClass("is-disabled")&&void c(parseFloat(v.filter(".is-active").index())+1,m,"next",f,h,o,s,l))}t(s).find("a").attr("href","javascript:"),t(s).find("a").removeClass("is-disabled"),l||E.addClass("is-disabled"),E.off("click").on("click",(function(e){e.preventDefault(),clearInterval(m[0].animatedSlides),b()})),T.off("click").on("click",(function(e){e.preventDefault(),clearInterval(m[0].animatedSlides),_()}));var w,S=m.find(".uix-advanced-slider__inner"),C=!1;function R(e){var t=e.touches;t&&t.length?(w=t[0].clientX,t[0].clientY):(w=e.clientX,e.clientY),n.addEventListener("mouseup",L),n.addEventListener("mousemove",M),n.addEventListener("touchend",L),n.addEventListener("touchmove",M)}function M(e){var t,i=e.touches;i&&i.length?(t=w-i[0].clientX,i[0].clientY):(t=w-e.clientX,e.clientY),t>=50&&(C||(C=!0,_())),t<=-50&&(C||(C=!0,b()))}function L(e){n.removeEventListener("mousemove",M),n.removeEventListener("touchmove",M),setTimeout((function(){C=!1}),a)}S.find("img").css({"pointer-events":"none","user-select":"none"}),d&&""!=u&&0!=u&&S.css("cursor",u),Modernizr.touchevents&&(d=!0),d&&(S[0].removeEventListener("mousedown",R),n.removeEventListener("mouseup",L),S[0].removeEventListener("touchstart",R),n.removeEventListener("touchend",L),S[0].addEventListener("mousedown",R),S[0].addEventListener("touchstart",R))}function c(e,i,a,r,o,s,l,d){var u=i.find(".uix-advanced-slider__item"),c=u.length;if(1==c)return t(s).hide(),t(l).hide(),!1;d?(e==c&&(e=0),e<0&&(e=c-1)):(t(l).find("a").removeClass("is-disabled"),e==c-1&&t(l).find(".uix-advanced-slider__arrows--next").addClass("is-disabled"),0==e&&t(l).find(".uix-advanced-slider__arrows--prev").addClass("is-disabled")),Modernizr.touchevents&&(e==c&&(e=c-1),e<0&&(e=0),d||(0==e&&t(l).find(".uix-advanced-slider__arrows--prev").addClass("is-disabled"),e==c-1&&t(l).find(".uix-advanced-slider__arrows--next").addClass("is-disabled")));var f=u.eq(e),h="";"prev"==a&&(h="prev"),"next"==a&&(h="next"),t(s).find("li a").removeClass("leave"),t(s).find("li a.is-active").removeClass("is-active").addClass("leave"),t(s).find('li a[data-index="'+e+'"]').addClass("is-active").removeClass("leave"),u.removeClass("leave prev next"),u.addClass(h),i.find(".uix-advanced-slider__item.is-active").removeClass("is-active").addClass("leave "+h),f.addClass("is-active "+h).removeClass("leave"),t(r).text(c),t(o).text(parseFloat(e)+1),p(u,!1),p(f,!0),function(e,t){if(t.find("video").length>0){var i=n.getElementById(t.find("video").attr("id")),a=t.find("source:first").attr("src");"undefined"===T(a)&&(a=t.attr("src")),i.addEventListener("loadedmetadata",(function(i){e.css("height",this.videoHeight*(t.closest(".uix-advanced-slider__outline").width()/this.videoWidth)+"px")}),!1),i.src=a}else{var r=t.find("img").attr("src");if("undefined"!=T(r)){var o=new Image;o.onload=function(){e.css("height",t.closest(".uix-advanced-slider__outline").width()*(this.height/this.width)+"px")},o.src=r}}}(i,f)}function p(i,n){i.find(".uix-video__slider").each((function(){var i=t(this),a=i.closest(".uix-advanced-slider__outline").width(),r=i.find("video").attr("id")+"-slider-videopush",o="videocover-"+r,s=t("#"+r+"-replay-btn"),l=i.data("embed-video-controls"),d=i.data("embed-video-autoplay"),u=i.data("embed-video-loop"),c=i.data("embed-video-width"),f=i.data("embed-video-height");if(i.find(".video-js").attr("id",r),"undefined"===T(d)&&(d=!0),"undefined"===T(u)&&(u=!0),"undefined"===T(l)&&(l=!1),"undefined"!==T(c)&&"auto"!=c||(c=a),"undefined"!==T(f)&&"auto"!=f||(f=a/1.77777777777778),0==t("#"+o).length){t('<div id="'+o+'" class="uix-video__cover"><span class="uix-video__cover__placeholder" style="background-image:url('+i.find("video").attr("poster")+')"></span><span class="uix-video__cover__playbtn"></span></div>').insertBefore(i);var p=Modernizr.touchevents?"touchstart":"click";t("#"+o+" .uix-video__cover__playbtn").on(p,(function(e){e.preventDefault(),h.play(),t("#"+o).hide()}))}0==s.length&&i.after('<span class="uix-video__btn-play" id="'+r+'-replay-btn"></span>'),d&&e<=768&&i.find(".video-js").attr({autoplay:"true",muted:"true",playsinline:"true"});var h=videojs(r,{width:c,height:f,loop:u,autoplay:d},(function(){if(this.on("loadedmetadata",(function(){var e,t,n,r,o;r=(e=this).videoWidth(),o=e.videoHeight(),n=o*((t=a)/r),isNaN(t)||isNaN(n)||(e.height(n),e.width(t),i.css("height",n)),i.css("visibility","visible"),i.find(".vjs-loading-spinner, .vjs-big-play-button").hide()})),d||i.find(".vjs-big-play-button").show(),i.find(".vjs-big-play-button").off("click").on("click",(function(){t(this).hide()})),d){this.muted(!0);var e=this.play();void 0!==e&&e.then((function(){})).catch((function(e){t("#"+o).show(),t("#"+o+" .uix-video__cover__playbtn").show(),console.log("Autoplay was prevented.")}))}l||this.controls(!1);if(this.on("timeupdate",(function(){this.duration()>0&&(!0,this.currentTime()>0&&(!0,this.off("timeupdate"),t("#"+o).hide()))})),n){if(this.muted(!1),d){this.currentTime(0);var r=this.play();void 0!==r&&r.then((function(){})).catch((function(e){t("#"+o).show(),t("#"+o+" .uix-video__cover__playbtn").show(),console.log("Autoplay was prevented.")})),s.hide(),this.on("ended",(function(){u?(this.currentTime(0),this.play()):(this.currentTime(0),s.show().off("click").on("click",(function(e){e.preventDefault(),this.play(),s.hide()})))}))}}else this.pause(),this.currentTime(0)}))}))}i.removeEventListener("resize",o),i.addEventListener("resize",o)},e.components.pageLoaded.push(e.ADVANCED_SLIDER.pageLoaded))}(s,jQuery,window,document);var b,_,w,S=i(696),C=/(\d|\.)+/g,R=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,M={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},L=function(e,t,i){return 255*(6*(e=e<0?e+1:e>1?e-1:e)<1?t+(i-t)*e*6:e<.5?i:3*e<2?t+(i-t)*(2/3-e)*6:t)+.5|0},A=function(e,t){var i,n,a,r,o,s,l,d,u,c,f,p="hsl"===t;if(e)if("number"==typeof e)i=[e>>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),M[e])i=M[e];else if("#"===e.charAt(0))4===e.length&&(n=e.charAt(1),a=e.charAt(2),r=e.charAt(3),e="#"+n+n+a+a+r+r),i=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e];else if("hsl"===e.substr(0,3))if(i=f=e.match(C),p){if(-1!==e.indexOf("="))return e.match(R)}else o=Number(i[0])%360/360,s=Number(i[1])/100,n=2*(l=Number(i[2])/100)-(a=l<=.5?l*(s+1):l+s-l*s),i.length>3&&(i[3]=Number(e[3])),i[0]=L(o+1/3,n,a),i[1]=L(o,n,a),i[2]=L(o-1/3,n,a);else i=e.match(C)||M.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=M.black;return p&&!f&&(n=i[0]/255,a=i[1]/255,r=i[2]/255,l=((d=Math.max(n,a,r))+(u=Math.min(n,a,r)))/2,d===u?o=s=0:(c=d-u,s=l>.5?c/(2-d-u):c/(d+u),o=d===n?(a-r)/c+(a<r?6:0):d===a?(r-n)/c+2:(n-a)/c+4,o*=60),i[0]=o+.5|0,i[1]=100*s+.5|0,i[2]=100*l+.5|0),"number"===t?i[0]<<16|i[1]<<8|i[2]:i},O=function(e,t){var i,n,a,r=(e+"").match(P)||[],o=0,s="";if(!r.length)return e;for(i=0;i<r.length;i++)n=r[i],o+=(a=e.substr(o,e.indexOf(n,o)-o)).length+n.length,3===(n=A(n,t?"hsl":"rgb")).length&&n.push(1),s+=a+(t?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return s+e.substr(o)},D=(S.ML.GreenSockGlobals||S.ML).TweenLite,P="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b",I=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],H=.212671,k=.71516,N=.072169,F=function(e,t){var i,n,a=[],r=0,o=0;for(i=0;i<4;i++){for(n=0;n<5;n++)o=4===n?e[r+4]:0,a[r+n]=e[r]*t[n]+e[r+1]*t[n+5]+e[r+2]*t[n+10]+e[r+3]*t[n+15]+o;r+=5}return a},z=function(e,t){var i=1-t,n=i*H,a=i*k,r=i*N;return F([n+t,a,r,0,0,n,a+t,r,0,0,n,a,r+t,0,0,0,0,0,1,0],e)},j=function(e,t,i){var n=A(t),a=n[0]/255,r=n[1]/255,o=n[2]/255,s=1-i;return F([s+i*a*H,i*a*k,i*a*N,0,0,i*r*H,s+i*r*k,i*r*N,0,0,i*o*H,i*o*k,s+i*o*N,0,0,0,0,0,1,0],e)},G=function(e,t){t*=Math.PI/180;var i=Math.cos(t),n=Math.sin(t);return F([H+i*(1-H)+n*-H,k+i*-k+n*-k,N+i*-N+n*(1-N),0,0,H+i*-H+.143*n,k+.28484*i+.14*n,N+i*-N+-.283*n,0,0,H+i*-H+-.787329*n,k+i*-k+n*k,N+i*(1-N)+n*N,0,0,0,0,0,1,0,0,0,0,0,1],e)},B=function(e,t){return F([t,0,0,0,.5*(1-t),0,t,0,0,.5*(1-t),0,0,t,0,.5*(1-t),0,0,0,1,0],e)},W=function(e,t){var i,n=S.ML.PIXI.filters[t],a=e.filters||[],r=a.length;if(!n)throw"PixiPlugin error: "+t+" isn't present.";for(;--r>-1;)if(a[r]instanceof n)return a[r];return i=new n,"BlurFilter"===t&&(i.blur=0),a.push(i),e.filters=a,i},U=function(e,t,i,n){t._addTween(i,e,i[e],n[e],e),t._overwriteProps.push(e)},Y=function(e,t){var i=new S.ML.PIXI.filters.ColorMatrixFilter;return i.matrix=t,i.brightness(e,!0),i.matrix},X={contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},q=function(e,t,i){var n,a,r,o=W(e,"ColorMatrixFilter"),s=e._gsColorMatrixFilter=e._gsColorMatrixFilter||{contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},l=t.combineCMF&&!("colorMatrixFilter"in t&&!t.colorMatrixFilter);r=o.matrix,t.resolution&&(o.resolution=t.resolution),t.matrix&&t.matrix.length===r.length?(a=t.matrix,1!==s.contrast&&U("contrast",i,s,X),s.hue&&U("hue",i,s,X),1!==s.brightness&&U("brightness",i,s,X),s.colorizeAmount&&(U("colorize",i,s,X),U("colorizeAmount",i,s,X)),1!==s.saturation&&U("saturation",i,s,X)):(a=I.slice(),null!=t.contrast?(a=B(a,Number(t.contrast)),U("contrast",i,s,t)):1!==s.contrast&&(l?a=B(a,s.contrast):U("contrast",i,s,X)),null!=t.hue?(a=G(a,Number(t.hue)),U("hue",i,s,t)):s.hue&&(l?a=G(a,s.hue):U("hue",i,s,X)),null!=t.brightness?(a=Y(Number(t.brightness),a),U("brightness",i,s,t)):1!==s.brightness&&(l?a=Y(s.brightness,a):U("brightness",i,s,X)),null!=t.colorize?(t.colorizeAmount="colorizeAmount"in t?Number(t.colorizeAmount):1,a=j(a,t.colorize,t.colorizeAmount),U("colorize",i,s,t),U("colorizeAmount",i,s,t)):s.colorizeAmount&&(l?a=j(a,s.colorize,s.colorizeAmount):(U("colorize",i,s,X),U("colorizeAmount",i,s,X))),null!=t.saturation?(a=z(a,Number(t.saturation)),U("saturation",i,s,t)):1!==s.saturation&&(l?a=z(a,s.saturation):U("saturation",i,s,X))),n=a.length;for(;--n>-1;)a[n]!==r[n]&&i._addTween(r,n,r[n],a[n],"colorMatrixFilter");i._overwriteProps.push("colorMatrixFilter")},V=function(e,t,i,n,a){var r=n._firstPT={_next:n._firstPT,t:e,p:t,proxy:{},f:"function"==typeof e[t]};r.proxy[t]="rgb("+A(r.f?e[t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3)]():e[t]).join(",")+")",a._addTween(r.proxy,t,"get","number"==typeof i?"rgb("+A(i,!1).join(",")+")":i,t,null,null,b)},Q=function(e,t){var i=t.setRatio,n=function e(n){var a,r=e._firstPT;for(i.call(t,n);r;)a=A(r.proxy[r.p],"number"),r.f?r.t[r.p](a):r.t[r.p]=a,r=r._next;e.graphics&&(e.graphics.dirty++,e.graphics.clearDirty++)};return t.setRatio=n,n},K={tint:1,lineColor:1,fillColor:1},J="position,scale,skew,pivot,anchor,tilePosition,tileScale".split(","),Z={x:"position",y:"position",tileX:"tilePosition",tileY:"tilePosition"},ee={colorMatrixFilter:1,saturation:1,contrast:1,hue:1,colorize:1,colorizeAmount:1,brightness:1,combineCMF:1},te=Math.PI/180,ie=function(e){return"string"==typeof e&&"="===e.charAt(1)?e.substr(0,2)+parseFloat(e.substr(2))*te:e*te};for(_=0;_<J.length;_++)w=J[_],Z[w+"X"]=w,Z[w+"Y"]=w;for(w in M)P+="|"+w+"\\b";P=new RegExp(P+")","gi"),b=function(e){var t,i=e[0]+" "+e[1];P.lastIndex=0,P.test(i)&&(t=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),e[0]=O(e[0],t),e[1]=O(e[1],t))},D.defaultStringFilter||(D.defaultStringFilter=b);var ne=S.ML._gsDefine.plugin({propName:"pixi",priority:0,API:2,global:!0,version:"0.3.0",init:function(e,t,i,n){if(!e instanceof S.ML.PIXI.DisplayObject)return!1;var a,r,o,s,l,d,u,c,f,p,h,m="4"===S.ML.PIXI.VERSION.charAt(0);for(d in t){if(a=Z[d],"function"==typeof(o=t[d])&&(o=o(n||0,e)),a)r=-1!==d.charAt(d.length-1).toLowerCase().indexOf("x")?"x":"y",this._addTween(e[a],r,e[a][r],"skew"===a?ie(o):o,d);else if("scale"===d||"anchor"===d||"pivot"===d||"tileScale"===d)this._addTween(e[d],"x",e[d].x,o,d+"X"),this._addTween(e[d],"y",e[d].y,o,d+"Y");else if("rotation"===d)this._addTween(e,d,e.rotation,ie(o),d);else if(ee[d])s||(q(e,t.colorMatrixFilter||t,this),s=!0);else if("blur"===d||"blurX"===d||"blurY"===d||"blurPadding"===d){if(l=W(e,"BlurFilter"),this._addTween(l,d,l[d],o,d),0!==t.blurPadding)for(u=t.blurPadding||2*Math.max(l[d],o),f=e.filters.length;--f>-1;)e.filters[f].padding=Math.max(e.filters[f].padding,u)}else if(K[d])if(c||(c=Q(0,this)),("lineColor"===d||"fillColor"===d)&&e instanceof S.ML.PIXI.Graphics){for(f=(p=(e.geometry||e).graphicsData).length;--f>-1;)V(m?p[f]:p[f][d.substr(0,4)+"Style"],m?d:"color",o,c,this);c.graphics=e.geometry||e}else V(e,d,o,c,this);else"autoAlpha"===d?(this._firstPT=h={t:{setRatio:function(){e.visible=!!e.alpha}},p:"setRatio",s:0,c:1,f:1,pg:0,n:"visible",pr:0,m:0,_next:this._firstPT},h._next&&(h._next._prev=h),this._addTween(e,"alpha",e.alpha,o,"alpha"),this._overwriteProps.push("alpha","visible")):this._addTween(e,d,e[d],o,d);this._overwriteProps.push(d)}return!0}});function ae(e){return ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(e)}ne.colorProps=K,ne.parseColor=A,ne.formatColors=O,ne.colorStringFilter=b,ne.registerPIXI=function(e){S.ML.PIXI=e};!function(e,t,i,n){null!==i.ADVANCED_SLIDER_FILTER&&(e.ADVANCED_SLIDER_FILTER=e.ADVANCED_SLIDER_FILTER||{},e.ADVANCED_SLIDER_FILTER.version="0.3.6",e.ADVANCED_SLIDER_FILTER.pageLoaded=function(){PIXI.utils.skipHello();var e,a,r,o,s,l,d=i.innerWidth,u=(i.innerHeight,1e3),c=t(".uix-advanced-slider-sp"),p=[],h="uix-advanced-slider-sp__canvas-container",m="uix-advanced-slider-sp__canvas";g(!1);var v=f((function(){i.innerWidth!=d&&(d=i.innerWidth,g(!0))}),50);function g(e){c.each((function(){var i,a,r=t(this),o=r.find(".uix-advanced-slider-sp__item"),s=o.first(),l=r.data("activated");if("undefined"===ae(l)||0===l){var d=r.data("controls-pagination"),c=r.data("controls-arrows"),f=r.data("draggable"),p=r.data("draggable-cursor"),h=r.data("count-total"),m=r.data("count-now"),v=r.data("speed"),g=r.data("filter-texture");"undefined"===ae(d)&&(d=".uix-advanced-slider-sp__pagination"),"undefined"!==ae(c)&&0!=c||(c=".uix-advanced-slider-sp__arrows"),"undefined"===ae(f)&&(f=!1),"undefined"!==ae(p)&&0!=p||(p="move"),"undefined"===ae(h)&&(h="p.count em.count"),"undefined"===ae(m)&&(m="p.count em.current"),"undefined"!==ae(g)&&g&&""!=g||(g="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var E,T=r.data("auto"),b=r.data("timing"),_=r.data("loop");if("undefined"===ae(T)&&(T=!1),"undefined"===ae(b)&&(b=1e4),"undefined"===ae(_)&&(_=!1),r[0].animatedSlides,"undefined"!=ae(v)&&0!=v&&(u=v),Modernizr.webgl||r.find("img").css("visibility","visible"),o.addClass("next"),s.addClass("is-active"),TweenMax.set(o,{alpha:0,onComplete:function(){TweenMax.to(s,u/1e3,{alpha:1,delay:u/1e3})}}),s.find("video").length>0){var w=n.getElementById(s.find("video").attr("id")),S=s.find("source:first").attr("src");"undefined"===ae(S)&&(S=s.attr("src")),"undefined"!=ae(S)&&(w.addEventListener("loadedmetadata",(function(e){r.css("height",this.videoHeight*(r.width()/this.videoWidth)+"px"),i=this.videoWidth,a=this.videoHeight,x(r,i,a,d,c,_,f,p,h,m,g)}),!1),w.src=S)}else{var C=s.find("img").attr("src");if("undefined"!=ae(C)){var R=new Image;R.onload=function(){r.css("height",r.width()*(this.height/this.width)+"px"),i=this.width,a=this.height,x(r,i,a,d,c,_,f,p,h,m,g)},R.src=C}}if(!e&&T&&!isNaN(parseFloat(b))&&isFinite(b)){y(E,b,_,r,h,m,d,c);var M=function(){clearInterval(r[0].animatedSlides)},L=function(){y(E,b,_,r,h,m,d,c)};r.on("mouseenter",M),r.on("mouseleave",L),Modernizr.touchevents&&(r.on("pointerenter",M),r.on("pointerleave",L))}r.data("activated",1)}}))}function y(e,t,i,n,a,r,o,s){var l=n.find(".uix-advanced-slider-sp__item"),d=l.length;n[0].animatedSlides=setInterval((function(){e=parseFloat(l.filter(".is-active").index()),e++,i?(e==d&&(e=0),e<0&&(e=d-1),E(e,n,0==e?"prev":"next",a,r,o,s,i)):e<d&&e>=0&&E(e,n,"next",a,r,o,s,i)}),t)}function x(i,d,c,f,v,g,y,x,T,S,C){var R=i,M=R.find(".uix-advanced-slider-sp__item"),L=M.first(),A=M.length;0==t(v).length&&t("body").prepend('<div style="display:none;" class="uix-advanced-slider-sp__arrows '+v.replace("#","").replace(".","")+'"><a href="#" class="uix-advanced-slider-sp__arrows--prev"></a><a href="#" class="uix-advanced-slider-sp__arrows--next"></a></div>'),M.last().addClass("last"),M.first().addClass("first"),1==A&&(t(f).hide(),t(v).hide()),Modernizr.webgl&&(0==t("#"+m).length&&R.prepend('<div id="'+h+'" class="uix-advanced-slider-sp__canvas-container"><canvas id="'+m+'"></canvas></div>'),R.find(".uix-advanced-slider-sp__item").each((function(e){var i=t(this);if(i.find("video").length>0){var a=n.getElementById(i.find("video").attr("id")),r=i.find("video source:first").attr("src");"undefined"===ae(r)&&(r=i.attr("src")),a.addEventListener("loadedmetadata",(function(e){var t,i=this.videoWidth,n=this.videoHeight;t=n*(R.width()/i),p.length<A&&p.push(t)}),!1),a.src=r}else{var o=i.find("img").attr("src"),s=new Image;s.onload=function(){var e,t=this.width,i=this.height;e=i*(R.width()/t),p.length<A&&p.push(e)},s.src=o}})),e=new PIXI.Application({width:R.width(),height:R.height(),transparent:!0,antialias:!0,autoResize:!0,view:n.getElementById(m)}),a=new PIXI.autoDetectRenderer({width:R.width(),height:R.height(),transparent:!0,view:n.getElementById("uix-advanced-slider-sp__canvas")}),r=new PIXI.Container,o=new PIXI.Container,s=/^.*\.(avi|AVI|wmv|WMV|flv|FLV|mpg|MPG|mp4|MP4)/.test(C)?new PIXI.Sprite(PIXI.Texture.from(C)):new PIXI.Sprite.from(C),l=new PIXI.filters.DisplacementFilter(s),R.hasClass("uix-advanced-slider-sp--eff-brightness")&&(R.find(".uix-advanced-slider-sp__item").each((function(i){var a,r=t(this);if(r.find("video").length>0){var o=r.find("source:first").attr("src");"undefined"===ae(o)&&(o=r.attr("src"));var s=PIXI.Texture.from(o);a=new PIXI.Sprite(s);var l=s.baseTexture.resource.source;l.autoplay=!1,l.pause(),l.currentTime=0,l.muted=!0;var d=n.getElementById(r.find("video").attr("id"));d.addEventListener("loadedmetadata",(function(t){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"}),!1),d.src=o}else{var u=r.find("img").attr("src"),c=new Image;a=new PIXI.Sprite.from(u),c.onload=function(){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"},c.src=u}a.anchor.set(0),a.width=e.view.width,a.height=e.view.height,TweenMax.set(a,{alpha:0}),e.stage.addChild(a)})),setTimeout((function(){b(R,L)}),u)),R.hasClass("uix-advanced-slider-sp--eff-liquid")&&(R.find(".uix-advanced-slider-sp__item").each((function(i){var u,c=t(this),f=R.width()/d;if(c.find("video").length>0){var h=c.find("source:first").attr("src");"undefined"===ae(h)&&(h=c.attr("src"));var m=PIXI.Texture.from(h);u=new PIXI.Sprite(m);var v=m.baseTexture.resource.source;v.autoplay=!1,v.pause(),v.currentTime=0,v.muted=!0;var g=n.getElementById(c.find("video").attr("id"));g.addEventListener("loadedmetadata",(function(t){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"}),!1),g.src=h}else{var y=c.find("img").attr("src"),x=new Image;u=new PIXI.Sprite.from(y),x.onload=function(){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"},x.src=y}u.anchor.set(0),u.width=e.view.width,u.height=e.view.height,u.scale.set(f),o.addChild(u),r.addChild(o),r.interactive=!0,s.texture.baseTexture.wrapMode=PIXI.WRAP_MODES.REPEAT,r.filters=[l],s.anchor.set(.5),s.x=a.width/2,s.y=a.height/2,s.scale.x=1,s.scale.y=1,l.autoFit=!1,r.addChild(s);var E=new PIXI.Ticker;E.autoStart=!0,E.add((function(e){a.render(r)}))})),setTimeout((function(){b(R,L)}),u)),R.hasClass("uix-advanced-slider-sp--eff-liquid2")&&(R.find(".uix-advanced-slider-sp__item").each((function(i){var u,c=t(this),f=R.width()/d;if(c.find("video").length>0){var h=c.find("source:first").attr("src");"undefined"===ae(h)&&(h=c.attr("src"));var m=PIXI.Texture.from(h);u=new PIXI.Sprite(m);var v=m.baseTexture.resource.source;v.autoplay=!1,v.pause(),v.currentTime=0,v.muted=!0;var g=n.getElementById(c.find("video").attr("id"));g.addEventListener("loadedmetadata",(function(t){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"}),!1),g.src=h}else{var y=c.find("img").attr("src"),x=new Image;u=new PIXI.Sprite.from(y),x.onload=function(){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"},x.src=y}u.anchor.set(0),u.width=e.view.width,u.height=e.view.height,u.scale.set(f),TweenMax.set(u,{alpha:0}),o.addChild(u),r.addChild(o),r.interactive=!0,s.texture.baseTexture.wrapMode=PIXI.WRAP_MODES.CLAMP,r.filters=[l],s.anchor.set(.5),s.x=a.width/2,s.y=a.height/2,l.autoFit=!1,r.addChild(s);var E=new PIXI.Ticker;E.autoStart=!0,E.add((function(e){a.render(r)}))})),setTimeout((function(){b(R,L)}),u)),R.hasClass("uix-advanced-slider-sp--eff-liquid3")&&(R.find(".uix-advanced-slider-sp__item").each((function(i){var u,c=t(this),f=R.width()/d;if(c.find("video").length>0){var h=c.find("source:first").attr("src");"undefined"===ae(h)&&(h=c.attr("src"));var m=PIXI.Texture.from(h);u=new PIXI.Sprite(m);var v=m.baseTexture.resource.source;v.autoplay=!1,v.pause(),v.currentTime=0,v.muted=!0;var g=n.getElementById(c.find("video").attr("id"));g.addEventListener("loadedmetadata",(function(t){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"}),!1),g.src=h}else{var y=c.find("img").attr("src"),x=new Image;u=new PIXI.Sprite.from(y),x.onload=function(){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"},x.src=y}u.anchor.set(0),u.width=e.view.width,u.height=e.view.height,u.scale.set(f),TweenMax.set(u,{alpha:0}),o.addChild(u),r.addChild(o),r.interactive=!0,s.texture.baseTexture.wrapMode=PIXI.WRAP_MODES.REPEAT,r.filters=[l],s.anchor.set(.5),s.x=a.width/2,s.y=a.height/2,l.autoFit=!1,r.addChild(s);var E=new PIXI.Ticker;E.autoStart=!0,E.add((function(e){s.x+=1*e,s.y+=.3,a.render(r)}))})),setTimeout((function(){b(R,L)}),u)),R.hasClass("uix-advanced-slider-sp--eff-parallax")&&(R.find(".uix-advanced-slider-sp__item").each((function(i){var s,l=t(this),u=R.width()/d;if(l.find("video").length>0){var c=l.find("source:first").attr("src");"undefined"===ae(c)&&(c=l.attr("src"));var f=PIXI.Texture.from(c);s=new PIXI.Sprite(f);var h=f.baseTexture.resource.source;h.autoplay=!1,h.pause(),h.currentTime=0,h.muted=!0;var m=n.getElementById(l.find("video").attr("id"));m.addEventListener("loadedmetadata",(function(t){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"}),!1),m.src=c}else{var v=l.find("img").attr("src"),g=new Image;s=new PIXI.Sprite.from(v),g.onload=function(){e.view.style.width=R.width()+"px",e.view.style.height=p[i]+"px"},g.src=v}s.anchor.set(0),s.width=e.view.width,s.height=e.view.height,s.scale.set(u),TweenMax.set(s,{alpha:0}),o.addChild(s),r.addChild(o),r.interactive=!0;var y=new PIXI.Graphics;y.lineStyle(0),y.beginFill(16777215),y.moveTo(0,0),y.lineTo(e.view.width,0),y.lineTo(e.view.width,e.view.height),y.lineTo(0,e.view.height),y.endFill(),y.position.x=0,y.position.y=0,s.mask=y,r.addChild(y);var x=new PIXI.Ticker;x.autoStart=!0,x.add((function(e){a.render(r)}))})),setTimeout((function(){b(R,L)}),u)),_(0,A-1,R,"in","next")),Modernizr.webgl||w(M,!1);var O="";O+="<ul>";for(var D=0;D<A;D++)O+="<li><a "+(0==D?'class="is-active"':"")+' data-index="'+D+'" href="javascript:"></a></li>';O+="</ul>",""==t(f).html()&&t(f).html(O),t(f).find("li a").off("click").on("click",(function(e){if(e.preventDefault(),"true"==t(this).attr("aria-disabled"))return!1;if(t(f).find("li a").attr("aria-disabled","true"),t(f).find("li a").delay(u).queue((function(e){t(f).find("li a").attr("aria-disabled","false"),e()})),!t(this).hasClass("is-active")){var i="prev";t(this).attr("data-index")>parseFloat(M.filter(".is-active").index())&&(i="next"),_(M.filter(".is-active").index(),M.filter(".leave").index(),R,"out",i),E(t(this).attr("data-index"),R,i,T,S,f,v,g),clearInterval(R[0].animatedSlides)}}));var P=t(v).find(".uix-advanced-slider-sp__arrows--prev"),I=t(v).find(".uix-advanced-slider-sp__arrows--next");function H(){return"true"!=P.attr("aria-disabled")&&(P.attr("aria-disabled","true"),P.delay(u).queue((function(e){P.attr("aria-disabled","false"),e()})),!P.hasClass("is-disabled")&&(_(M.filter(".is-active").index(),M.filter(".leave").index(),R,"out","prev"),void E(parseFloat(M.filter(".is-active").index())-1,R,"prev",T,S,f,v,g)))}function k(){return"true"!=I.attr("aria-disabled")&&(I.attr("aria-disabled","true"),I.delay(u).queue((function(e){I.attr("aria-disabled","false"),e()})),!I.hasClass("is-disabled")&&(_(M.filter(".is-active").index(),M.filter(".leave").index(),R,"out","next"),void E(parseFloat(M.filter(".is-active").index())+1,R,"next",T,S,f,v,g)))}t(v).find("a").attr("href","javascript:"),t(v).find("a").removeClass("is-disabled"),g||P.addClass("is-disabled"),P.off("click").on("click",(function(e){e.preventDefault(),clearInterval(R[0].animatedSlides),H()})),I.off("click").on("click",(function(e){e.preventDefault(),clearInterval(R[0].animatedSlides),k()}));var N,F=R.find(".uix-advanced-slider-sp__inner"),z=!1;function j(e){var t=e.touches;t&&t.length?(N=t[0].clientX,t[0].clientY):(N=e.clientX,e.clientY),n.addEventListener("mouseup",B),n.addEventListener("mousemove",G),n.addEventListener("touchend",B),n.addEventListener("touchmove",G)}function G(e){var t,i=e.touches;i&&i.length?(t=N-i[0].clientX,i[0].clientY):(t=N-e.clientX,e.clientY),t>=50&&(z||(z=!0,k())),t<=-50&&(z||(z=!0,H()))}function B(e){n.removeEventListener("mousemove",G),n.removeEventListener("touchmove",G),setTimeout((function(){z=!1}),u)}F.find("img").css({"pointer-events":"none","user-select":"none"}),y&&""!=x&&0!=x&&F.css("cursor",x),Modernizr.touchevents&&(y=!0),y&&(F[0].removeEventListener("mousedown",j),n.removeEventListener("mouseup",B),F[0].removeEventListener("touchstart",j),n.removeEventListener("touchend",B),F[0].addEventListener("mousedown",j),F[0].addEventListener("touchstart",j))}function E(e,i,n,a,r,o,s,l){var d=i.find(".uix-advanced-slider-sp__item"),c=d.length;if(1==c)return t(o).hide(),t(s).hide(),!1;l?(e==c&&(e=0),e<0&&(e=c-1)):(t(s).find("a").removeClass("is-disabled"),e==c-1&&t(s).find(".uix-advanced-slider-sp__arrows--next").addClass("is-disabled"),0==e&&t(s).find(".uix-advanced-slider-sp__arrows--prev").addClass("is-disabled")),Modernizr.touchevents&&(e==c&&(e=c-1),e<0&&(e=0),l||(0==e&&t(s).find(".uix-advanced-slider-sp__arrows--prev").addClass("is-disabled"),e==c-1&&t(s).find(".uix-advanced-slider-sp__arrows--next").addClass("is-disabled")));var f=d.eq(e),p="";"prev"==n&&(p="prev"),"next"==n&&(p="next"),t(o).find("li a").removeClass("leave"),t(o).find("li a.is-active").removeClass("is-active").addClass("leave"),t(o).find('li a[data-index="'+e+'"]').addClass("is-active").removeClass("leave"),d.removeClass("leave prev next"),d.addClass(p),i.find(".uix-advanced-slider-sp__item.is-active").removeClass("is-active").addClass("leave "+p),f.addClass("is-active "+p).removeClass("leave"),t(a).text(c),t(r).text(parseFloat(e)+1),Modernizr.webgl||(w(d,!1),w(f,!0)),setTimeout((function(){b(i,f)}),u),i.hasClass("uix-advanced-slider-sp--eff-brightness"),i.hasClass("uix-advanced-slider-sp--eff-liquid"),i.hasClass("uix-advanced-slider-sp--eff-liquid2"),i.hasClass("uix-advanced-slider-sp--eff-liquid3"),i.hasClass("uix-advanced-slider-sp--eff-parallax")&&l&&0==e&&(n="prev"),_(e,d.filter(".leave").index(),i,"in",n)}function T(e,t){TweenMax.to(["#"+m,".uix-advanced-slider-sp__wrapper",".uix-advanced-slider-sp__inner",".uix-advanced-slider-sp__canvas-container"],u/1e3,{width:e,height:t})}function b(t,i){if(i.find("video").length>0){var a=n.getElementById(i.find("video").attr("id")),r=i.find("source:first").attr("src");"undefined"===ae(r)&&(r=i.attr("src")),a.addEventListener("loadedmetadata",(function(n){var a=this.videoHeight*(i.closest(".uix-advanced-slider__outline").width()/this.videoWidth);Modernizr.webgl&&(e.view.style.height=a+"px"),t.css("height",a+"px")}),!1),a.src=r}else{var o=i.find("img").attr("src");if("undefined"!=ae(o)){var s=new Image;s.onload=function(){Modernizr.webgl&&(e.view.style.height=i.find("img").height()+"px"),t.css("height",i.closest(".uix-advanced-slider__outline").width()*(this.height/this.width)+"px")},s.src=o}}}function _(i,a,r,c,f){if(Modernizr.webgl){var m=t("#"+h),v=r.find(".uix-advanced-slider-sp__item").eq(i),g=r.find(".uix-advanced-slider-sp__item"),y=(v.find("img").attr("src"),r.width(),r.height(),r.find(".uix-advanced-slider-sp__item").length);if(i=parseFloat(i),a=parseFloat(a),r.hasClass("uix-advanced-slider-sp--eff-brightness")&&(TweenMax.to(g,u/1e3,{alpha:0}),"out"==c?TweenMax.to(e.stage.children[i],u/1e3,{pixi:{brightness:5},alpha:1}):TweenMax.to(m,u/1e3,{alpha:0,onComplete:function(){var t=e.stage.children[i];TweenMax.to(this.target,u/1e3,{alpha:1});for(var n=0;n<y;n++){var a=e.stage.children[n];if(TweenMax.set(a,{alpha:0}),null==a._texture.baseTexture.imageType){var r=a.texture.baseTexture.resource.source;r.currentTime=0,r.autoplay=!1,"[object Function]"==Object.prototype.toString.call(r.pause)&&r.pause(),r.muted=!0}}if(null==t._texture.baseTexture.imageType){var o=t.texture.baseTexture.resource.source;o.currentTime=0,o.autoplay=!0,"[object Function]"==Object.prototype.toString.call(o.play)&&o.play(),o.muted=!1}T(d,p[i]),TweenMax.set(t,{pixi:{brightness:5},alpha:1,onComplete:function(){TweenMax.to(this.target,u/1e3,{pixi:{brightness:1}}),TweenMax.to(v,u/1e3,{alpha:1})}})}})),r.hasClass("uix-advanced-slider-sp--eff-liquid")){TweenMax.to(g,u/1e3,{alpha:0});var x=o.children[i],E=o.children[a];if(!r.hasClass("js-init-ok")){for(var b=0;b<y;b++){var _=o.children[b];TweenMax.set(_,{alpha:0})}r.addClass("js-init-ok")}if("out"==c);else{setTimeout((function(){for(var e=0;e<y;e++){var t=o.children[e];if(null==t._texture.baseTexture.imageType){var n=t.texture.baseTexture.resource.source;n.currentTime=0,n.autoplay=!1,"[object Function]"==Object.prototype.toString.call(n.pause)&&n.pause(),n.muted=!0}}if(null==x._texture.baseTexture.imageType){var a=x.texture.baseTexture.resource.source;a.currentTime=0,a.autoplay=!0,"[object Function]"==Object.prototype.toString.call(a.play)&&a.play(),a.muted=!1}T(d,p[i])}),100);var w=new TimelineMax({onComplete:function(){s.scale.set(1)},onUpdate:function(){s.rotation+=.02*w.progress(),s.scale.set(3*w.progress())}});if(w.clear(),w.isActive())return;w.to(l.scale,u/1e3,{x:300,y:300,ease:Power1.easeOut}).to(E,u/2/1e3,{alpha:0,ease:Power2.easeOut},u/3/1e3).to(x,u/2/1e3,{alpha:1,ease:Power2.easeOut},u/2/1e3).to(l.scale,u/1e3,{x:0,y:0,ease:Power2.easeOut},u/2/1e3).to(v,u/1e3,{alpha:1,ease:Power2.easeOut},"final"),r[0].addEventListener("mousedown",(function(e){TweenMax.to(l.scale,1,{x:"+="+100*Math.sin(e.pageX),y:"+="+100*Math.cos(e.pageY)}),S()})),r[0].addEventListener("mouseup",(function(e){TweenMax.to(l.scale,1,{x:0,y:0})}));var S=function(){l.rotation+=.001}}}if(r.hasClass("uix-advanced-slider-sp--eff-liquid2")&&(TweenMax.to(g,u/1e3,{alpha:0}),"out"==c?TweenMax.to(s.scale,1,{x:10}):(TweenMax.to(m,u/1e3,{alpha:0,onComplete:function(){var e=o.children[i];TweenMax.to(this.target,u/1e3,{alpha:1});for(var t=0;t<y;t++){var n=o.children[t];if(TweenMax.set(n,{alpha:0}),null==n._texture.baseTexture.imageType){var a=n.texture.baseTexture.resource.source;a.currentTime=0,a.autoplay=!1,"[object Function]"==Object.prototype.toString.call(a.pause)&&a.pause(),a.muted=!0}}if(null==e._texture.baseTexture.imageType){var r=e.texture.baseTexture.resource.source;r.currentTime=0,r.autoplay=!0,"[object Function]"==Object.prototype.toString.call(r.play)&&r.play(),r.muted=!1}T(d,p[i]);var c=new TimelineMax({delay:0,paused:!1,repeat:0,onRepeat:function(){},onComplete:function(){TweenMax.to(s.scale,1,{x:1,y:1}),TweenMax.to(s,1,{rotation:0})},onUpdate:function(){s.scale.set(13*c.progress()),s.rotation+=.02*c.progress()}});c.clear(),c.to(l.scale,u/1e3,{y:"+=200",ease:Power3.easeOut}).to(e,u/2/1e3,{alpha:1,ease:Power3.easeOut},u/2/1e3).to(l.scale,u/1e3,{y:0,ease:Power3.easeOut},u/2/1e3).to(v,u/1e3,{alpha:1,ease:Power2.easeOut},"final")}}),n.addEventListener("mousemove",(function(e){TweenMax.to(l.scale,1,{x:e.pageX/2+""})})))),r.hasClass("uix-advanced-slider-sp--eff-liquid3")&&(TweenMax.to(g,u/1e3,{alpha:0}),"out"==c?TweenMax.to(s,1,{x:23,y:10}):TweenMax.to(m,u/1e3,{alpha:0,onComplete:function(){var e=o.children[i];TweenMax.to(this.target,u/1e3,{alpha:1});for(var t=0;t<y;t++){var n=o.children[t];if(TweenMax.set(n,{alpha:0}),null==n._texture.baseTexture.imageType){var a=n.texture.baseTexture.resource.source;a.currentTime=0,a.autoplay=!1,"[object Function]"==Object.prototype.toString.call(a.pause)&&a.pause(),a.muted=!0}}if(null==e._texture.baseTexture.imageType){var r=e.texture.baseTexture.resource.source;r.currentTime=0,r.autoplay=!0,"[object Function]"==Object.prototype.toString.call(r.play)&&r.play(),r.muted=!1}T(d,p[i]);var s=new TimelineMax({delay:0,paused:!1,repeat:0,onRepeat:function(){},onComplete:function(){},onUpdate:function(){}});s.clear(),s.to(l.scale,u/1e3,{y:"+=50",ease:Power3.easeOut}).to(e,u/2/1e3,{alpha:1,ease:Power3.easeOut},u/2/1e3).to(l.scale,u/1e3,{y:0,ease:Power3.easeOut},u/2/1e3).to(v,u/1e3,{alpha:1,ease:Power2.easeOut},"final")}})),r.hasClass("uix-advanced-slider-sp--eff-parallax")){TweenMax.to(g,u/1e3,{alpha:0}),g.attr("data-text-eff-enable",0),v.attr("data-text-eff-enable",1);var C=o.children[i],R=o.children[a];if(!r.hasClass("js-init-ok")){for(var M=0;M<y;M++){var L=o.children[M];TweenMax.set(L.mask,{x:e.view.width})}r.addClass("js-init-ok")}if("out"==c);else{setTimeout((function(){for(var e=0;e<y;e++){var t=o.children[e];if(null==t._texture.baseTexture.imageType){var n=t.texture.baseTexture.resource.source;n.currentTime=0,n.autoplay=!1,"[object Function]"==Object.prototype.toString.call(n.pause)&&n.pause(),n.muted=!0}}if(null==C._texture.baseTexture.imageType){var a=C.texture.baseTexture.resource.source;a.currentTime=0,a.autoplay=!0,"[object Function]"==Object.prototype.toString.call(a.play)&&a.play(),a.muted=!1}T(d,p[i])}),100);var A,O=e.view.width/6,D=u/1e3;"next"==f?(C.x=O,C.mask.x=e.view.width,A=e.view.width,TweenMax.to(R,D,{x:-O,ease:Power2.easeInOut})):(C.x=-O,C.mask.x=-(e.view.width+C.x),A=-e.view.width,TweenMax.to(R,D,{x:O,ease:Power2.easeInOut}),TweenMax.to(R.mask,D,{x:e.view.width,ease:Power4.easeInOut})),TweenMax.set(C,{alpha:1,onComplete:function(){TweenMax.to(this.target,D,{x:0,ease:Power2.easeInOut})}}),TweenMax.to(C.mask,D,{x:0,ease:Power4.easeInOut,onComplete:function(){!function(){for(var e=0;e<y;e++){var t=o.children[e];i!=e&&(t.mask.x=A)}}()}}),setTimeout((function(){t.isFunction(t.fn.UixTextEff)&&v.find("[data-text-eff]").each((function(e){t(n).UixTextEff({selectors:'[data-text-eff="'+t(this).data("text-eff")+'"]',scrollSpy:!1})})),g.each((function(){1==t(this).attr("data-text-eff-enable")?TweenMax.to(t(this),D,{alpha:1,delay:D/2}):TweenMax.to(t(this),D,{alpha:0,delay:D/2})}))}),1e3*D/2)}}}else r.find(".uix-advanced-slider-sp__item canvas").hide()}function w(e,i){e.find(".uix-video__slider").each((function(){var e=t(this),n=e.closest(".uix-advanced-slider__outline").width(),a=e.find("video").attr("id")+"-slider-videopush",r="videocover-"+a,o=t("#"+a+"-replay-btn"),s=e.data("embed-video-controls"),l=e.data("embed-video-autoplay"),u=e.data("embed-video-loop"),c=e.data("embed-video-width"),f=e.data("embed-video-height");if(e.find(".video-js").attr("id",a),"undefined"===ae(l)&&(l=!0),"undefined"===ae(u)&&(u=!0),"undefined"===ae(s)&&(s=!1),"undefined"!==ae(c)&&"auto"!=c||(c=n),"undefined"!==ae(f)&&"auto"!=f||(f=n/1.77777777777778),0==t("#"+r).length){t('<div id="'+r+'" class="uix-video__cover"><span class="uix-video__cover__placeholder" style="background-image:url('+e.find("video").attr("poster")+')"></span><span class="uix-video__cover__playbtn"></span></div>').insertBefore(e);var p=Modernizr.touchevents?"touchstart":"click";t("#"+r+" .uix-video__cover__playbtn").on(p,(function(e){e.preventDefault(),h.play(),t("#"+r).hide()}))}0==o.length&&e.after('<span class="uix-video__btn-play" id="'+a+'-replay-btn"></span>'),l&&d<=768&&e.find(".video-js").attr({autoplay:"true",muted:"true",playsinline:"true"});var h=videojs(a,{width:c,height:f,loop:u,autoplay:l},(function(){if(this.on("loadedmetadata",(function(){var t,i,a,r,o;r=(t=this).videoWidth(),o=t.videoHeight(),a=o*((i=n)/r),isNaN(i)||isNaN(a)||(t.height(a),t.width(i),e.css("height",a)),e.css("visibility","visible"),e.find(".vjs-loading-spinner, .vjs-big-play-button").hide()})),l||e.find(".vjs-big-play-button").show(),e.find(".vjs-big-play-button").off("click").on("click",(function(){t(this).hide()})),l){this.muted(!0);var a=this.play();void 0!==a&&a.then((function(){})).catch((function(e){t("#"+r).show(),t("#"+r+" .uix-video__cover__playbtn").show(),console.log("Autoplay was prevented.")}))}s||this.controls(!1);if(this.on("timeupdate",(function(){this.duration()>0&&(!0,this.currentTime()>0&&(!0,this.off("timeupdate"),t("#"+r).hide()))})),i){if(this.muted(!1),l){this.currentTime(0);var d=this.play();void 0!==d&&d.then((function(){})).catch((function(e){t("#"+r).show(),t("#"+r+" .uix-video__cover__playbtn").show(),console.log("Autoplay was prevented.")})),o.hide(),this.on("ended",(function(){u?(this.currentTime(0),this.play()):(this.currentTime(0),o.show().off("click").on("click",(function(e){e.preventDefault(),this.play(),o.hide()})))}))}}else this.pause(),this.currentTime(0)}))}))}i.removeEventListener("resize",v),i.addEventListener("resize",v)},e.components.pageLoaded.push(e.ADVANCED_SLIDER_FILTER.pageLoaded))}(s,jQuery,window,document);function re(e){return re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(e)}!function(e,t,i,n){null!==i.AJAX_PUSH_CONTENT&&(e.AJAX_PUSH_CONTENT=e.AJAX_PUSH_CONTENT||{},e.AJAX_PUSH_CONTENT.version="0.1.9",e.AJAX_PUSH_CONTENT.documentReady=function(e){var t,a="[data-ajax-push-content]",r=[],o={container:"#my-ajax-demo-push-container",target:"#my-ajax-demo-target-container",loading:'<div class="my-loader"><span><i class="fa fa-spinner fa-spin"></i> loading <em id="app-loading" data-txt="{progress}%"></em>...</span></div>',method:"POST"},s=(n.title,0),d=function(t){e("#app-loading").text(e("#app-loading").data("txt").replace(/\{progress\}/g,t))};function u(a,o,u,f,p,h){if(0==a.length)return!1;"undefined"!==re(p)&&""!=p||(p="POST");var m=axios.interceptors.request.use((function(e){return function(e,t){TweenMax.to(e.find(".ajax-content-loader"),.3,{css:{opacity:1},ease:Power2.easeOut}),e.html('<div class="ajax-content-loader">'+t+"</div>").promise().done((function(){d(0),TweenMax.set(e.find(".ajax-content-loader"),{css:{display:"block"},onComplete:function(){TweenMax.to(this.target,.5,{alpha:1})}})}))}(a,u),e}),(function(e){return Promise.reject(e)})),v=new FormData,g={action:"load_singlepages_ajax_content"};for(var y in g)v.append(y,g[y]);axios({timeout:15e3,method:p,url:f,data:v,responseType:"text"}).then((function(u){var f,p=u.data,m=o?e(p).find(o).html():"";r=[],e(p).find("img").each((function(){r.push({url:this.src,id:"img-"+l.create(),type:"img"})})),e(p).find(".uix-video__slider > video").each((function(){var t=e(this).find("source:first").attr("src");"undefined"===re(t)&&(t=e(this).attr("src")),r.push({url:t,id:"video-"+l.create(),type:"video"})}));var v=1;0==r.length&&(d(f=100),c(a,e(p).filter("title").text(),h,p));var g=function(e){f=parseInt(v/r.length*100),console.log("progress: "+f+"%"),isNaN(f)&&(f=100),s=f,d(f);return v++,f},y=function(){!function(e,t,i,n){if(s<100)return!1;c(e,i,n,t)}(a,m,e(p).filter("title").text(),h)};(function(){for(var t=[],i=function(i){"img"==r[i].type?t.push(new Promise((function(e,t){var a=n.createElement("img");a.crossOrigin="anonymous",a.src=r[i].url,a.onload=function(t){return"undefined"===re(t.path)?e(t.target.currentSrc):e(t.path[0].currentSrc)}})).then(g)):t.push(new Promise((function(t,n){return e("#"+r[i].id).one("loadedmetadata",t),t(r[i].url)})).then(g))},a=0;a<r.length;a++)i(a);return Promise.all(t)})().then((function(e){clearInterval(t),y()}));var x=(new Date).getTime();t&&clearInterval(t),t=setInterval((function(){((new Date).getTime()-x)/1e3>=10&&(console.log("Page load timeout!"),p.indexOf("<body")>=0?i.location.href=location.href:c(a,e(p).filter("title").text(),h,p),clearInterval(t),y())}),500)})).catch((function(e){if(e.response){var t=e.response.status;console.log(t),404!=t&&405!=t||(i.location.href=f)}else e.request?(console.log(e.request),i.location.href=f):console.log(e.message)})),axios.interceptors.request.eject(m)}function c(t,i,a,r){TweenMax.to(t.find(".ajax-content-loader"),.5,{alpha:0,onComplete:function(){TweenMax.set(this.target,{css:{display:"none"}}),t.html(r).promise().done((function(){e(n).UixApplyAsyncScripts(),i&&(n.title=i),a&&a.data("request-running",!1)}))},delay:.5})}e(n).off("click.AJAX_PUSH_CONTENT").on("click.AJAX_PUSH_CONTENT",a,(function(t){t.preventDefault(),s=0;var i=e(this),n=i.attr("href"),a=i.data("ajax-push-content");if("undefined"==re(a)&&(a=o),"undefined"===re(n)&&(n=i.closest("a").attr("href")),!i.data("request-running"))return i.data("request-running",!0),history.pushState?history.pushState(null,null,n):location.hash=n,u(e(a.container),a.target,a.loading,n,a.method,i),!1})),i.addEventListener("popstate",(function(t){var i=null,n=location.href;e(a).each((function(){this.href===location.href&&(i=this,n=this.href)})),null==i&&e(a).each((function(){var t=e(this).data("ajax-push-content");"undefined"!=re(t)&&e(t.container).html("")}));var r=e(i).data("ajax-push-content");"undefined"!=re(r)&&u(e(r.container),r.target,r.loading,n,r.method,e(i))}))},e.components.documentReady.push(e.AJAX_PUSH_CONTENT.documentReady))}(s,jQuery,window,document);function oe(e){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(e)}!function(e,t,i,n){null!==i.AJAX_PAGE_LOADER&&(e.AJAX_PAGE_LOADER=e.AJAX_PAGE_LOADER||{},e.AJAX_PAGE_LOADER.version="0.2.1",e.AJAX_PAGE_LOADER.documentReady=function(e){var t,a=i.innerWidth,r=i.innerHeight,s=[],d="[data-ajax-page]",u=e(d).parent().parent().find("li"),c=u.length,p=e(".uix-ajax-load__fullpage-container"),h=".ajax-container",m=e(h).data("ajax-page-id"),v=0,g=0,y=function(t){e("#app-loading").text(e("#app-loading").data("txt").replace(/\{progress\}/g,t))};if(0==p.length)return!1;function x(){a<=768?e(d).data("mobile-running",!0):e(d).data("mobile-running",!1)}0==e(".js-uix-ajax-load__container").length?T(e(h),!1,"down",0,!1):"undefined"!=oe(m)&&u.eq(m).addClass("is-active"),x();var E=f((function(){i.innerWidth!=a&&(a=i.innerWidth,x())}),50);function T(a,r,o,d,f){var p=parseFloat(u.filter(".is-active").find("> a").attr("data-index")),h=null;if((h=/^[-+]?(\d+|\d+\.\d*|\d*\.\d+)$/.test(d)?d:"down"==o||!1===o?p+1:p-1)<=parseFloat(c-1)&&h>=0){if(h>parseFloat(c-1)&&(h=parseFloat(c-1)),h<0&&(h=0),u.eq(h).find("> a").data("mobile-running"))return;if(u.removeClass("is-active"),u.eq(h).addClass("is-active"),r&&"undefined"!==oe(r)||(r=u.eq(h).find("> a").attr("href")),f){var m=u.eq(h).find("> a").attr("href");history.pushState?history.pushState(null,null,r):location.hash=m}var v=axios.interceptors.request.use((function(e){return y(0),TweenMax.set(".uix-ajax-load__loader",{css:{display:"block"},onComplete:function(){TweenMax.to(this.target,.5,{alpha:1})}}),e}),(function(e){return Promise.reject(e)})),x=new FormData,E={action:"load_singlepages_ajax_content"};for(var T in E)x.append(T,E[T]);axios({timeout:15e3,method:"undefined"===oe(a.data("ajax-method"))?"POST":a.data("ajax-method"),url:r,data:x,responseType:"text"}).then((function(r){var d,u=r.data;s=[],e(u).find("img").each((function(){s.push({url:this.src,id:"img-"+l.create(),type:"img"})})),e(u).find(".uix-video__slider > video").each((function(){var t=e(this).find("source:first").attr("src");"undefined"===oe(t)&&(t=e(this).attr("src")),s.push({url:t,id:"video-"+l.create(),type:"video"})}));var c=1;if(0==s.length){y(d=100);var f=a.html();b(a,e(u).filter("title").text(),o,f,u)}var p=function(e){d=parseInt(c/s.length*100),console.log("progress: "+d+"%"),isNaN(d)&&(d=100),g=d,y(d);return c++,d},h=function(){!function(e,t,i,n){if(g<100)return!1;var a=t.html();b(t,n,e,a,i)}(o,a,e(u).find(".js-uix-ajax-load__container").html(),e(u).filter("title").text())};(function(){for(var t=[],i=function(i){"img"==s[i].type?t.push(new Promise((function(e,t){var a=n.createElement("img");a.crossOrigin="anonymous",a.src=s[i].url,a.onload=function(t){return"undefined"===oe(t.path)?e(t.target.currentSrc):e(t.path[0].currentSrc)}})).then(p)):t.push(new Promise((function(t,n){return e("#"+s[i].id).one("loadedmetadata",t),t(s[i].url)})).then(p))},a=0;a<s.length;a++)i(a);return Promise.all(t)})().then((function(e){clearInterval(t),h()}));var m=(new Date).getTime();t&&clearInterval(t),t=setInterval((function(){if(((new Date).getTime()-m)/1e3>=10){if(console.log("Page load timeout!"),u.indexOf("<body")>=0)i.location.href=location.href;else{var n=a.html();b(a,e(u).filter("title").text(),o,n,u)}clearInterval(t),h()}}),500)})).catch((function(e){if(e.response){var t=e.response.status;console.log(t),404!=t&&405!=t||(i.location.href=r)}else e.request?(console.log(e.request),i.location.href=r):console.log(e.message)})),axios.interceptors.request.eject(v)}}function b(t,i,a,o,s){TweenMax.to(".uix-ajax-load__loader",.5,{alpha:0,onComplete:function(){TweenMax.set(this.target,{css:{display:"none"}}),t.html(s).promise().done((function(){!function(t,i,a){var o=p.find("> section"),s=o.clone();o.css({"z-index":1}),s.prependTo(p).css({"z-index":2,transform:"translateY("+("down"==t||!1===t?r:-r)+"px)"}).find(h).html(a),o.first().find(h).html(i).promise().done((function(){TweenMax.to(o.first(),1,{y:"down"==t||!1===t?-r/2:r/2,ease:Power2.easeOut}),TweenMax.to(s,1,{y:0,ease:Power2.easeOut,onComplete:function(){o.first().remove(),e(n).UixApplyAsyncScripts()}})}))}(a,o,s),i&&(n.title=i),e(d).data("request-running",!1)}))},delay:.5})}i.removeEventListener("resize",E),i.addEventListener("resize",E),e(n).off("click.AJAX_PAGE_LOADER").on("click.AJAX_PAGE_LOADER",d,(function(t){if(!e(this).data("mobile-running")){t.preventDefault(),g=0;var i=e(this),n=i.attr("data-index"),a=i.attr("href");if("undefined"===oe(a)&&(a=i.closest("a").attr("href")),!e(d).data("request-running")){e(d).data("request-running",!0),history.pushState?history.pushState(null,null,a):location.hash=a;var r=u.filter(".is-active").find("> a").attr("data-index")>n?"up":"down";return T(e(h),a,r,n,!1),!1}}})),i.addEventListener("popstate",(function(t){var i=null,n=location.href;e(d).each((function(){this.href===location.href&&(i=this,n=this.href)})),null==i&&T(e(h),!1,"down",0,!1);var a=e(i).data("index");"undefined"!=oe(a)&&T(e(h),n,"down",a,!1)}));var _=0,w=function(t){var i,n,a=null,r=t.touches;r&&r.length?a=_-r[0].pageY:n=Math.max(-1,Math.min(1,-t.deltaY)),null!=a?(a>=50&&(i="up"),a<=-50&&(i="down")):i=n<0?"down":"up",function(t,i){var n=(new Date).getTime();n-v<1500||(T(e(h),!1,"down"==i?"down":"up",!1,!0),v=n)}(0,i)};i.addEventListener("wheel",w,!!o&&{passive:!0}),i.addEventListener("touchstart",(function(e){var t=e.touches;t&&t.length&&(_=t[0].pageY)}),!!o&&{passive:!0}),i.addEventListener("touchmove",w,!!o&&{passive:!0})},e.components.documentReady.push(e.AJAX_PAGE_LOADER.documentReady))}(s,jQuery,window,document);function se(e){return se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},se(e)}var le=(S.ML.document||{}).documentElement,de=S.ML,ue=function(e,t){var i="x"===t?"Width":"Height",n="scroll"+i,a="client"+i,r=document.body;return e===de||e===le||e===r?Math.max(le[n],r[n])-(de["inner"+i]||le[a]||r[a]):e[n]-e["offset"+i]},ce=function(e,t){var i="scroll"+("x"===t?"Left":"Top");return e===de&&(null!=e.pageXOffset?i="page"+t.toUpperCase()+"Offset":e=null!=le[i]?le:document.body),function(){return e[i]}},fe=function(e,t){var i,n=(i=e,"string"==typeof i&&(i=TweenLite.selector(i)),i.length&&i!==de&&i[0]&&i[0].style&&!i.nodeType&&(i=i[0]),i===de||i.nodeType&&i.style?i:null).getBoundingClientRect(),a=document.body,r=!t||t===de||t===a,o=r?{top:le.clientTop-(window.pageYOffset||le.scrollTop||a.scrollTop||0),left:le.clientLeft-(window.pageXOffset||le.scrollLeft||a.scrollLeft||0)}:t.getBoundingClientRect(),s={x:n.left-o.left,y:n.top-o.top};return!r&&t&&(s.x+=ce(t,"x")(),s.y+=ce(t,"y")()),s},pe=function(e,t,i,n){var a=se(e);return isNaN(e)?"string"===a&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+n:"max"===e?ue(t,i):Math.min(ue(t,i),fe(e,t)[i]):parseFloat(e)},he=S.ML._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.2",init:function(e,t,i){return this._wdw=e===de,this._target=e,this._tween=i,"object"!==se(t)?"string"==typeof(t={y:t}).y&&"max"!==t.y&&"="!==t.y.charAt(1)&&(t.x=t.y):t.nodeType&&(t={y:t,x:t}),this.vars=t,this._autoKill=!1!==t.autoKill,this.getX=ce(e,"x"),this.getY=ce(e,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=t.x?(this._addTween(this,"x",this.x,pe(t.x,e,"x",this.x)-(t.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=t.y?(this._addTween(this,"y",this.y,pe(t.y,e,"y",this.y)-(t.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(e){this._super.setRatio.call(this,e);var t=this._wdw||!this.skipX?this.getX():this.xPrev,i=this._wdw||!this.skipY?this.getY():this.yPrev,n=i-this.yPrev,a=t-this.xPrev,r=he.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(a>r||a<-r)&&t<ue(this._target,"x")&&(this.skipX=!0),!this.skipY&&(n>r||n<-r)&&i<ue(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?de.scrollTo(this.skipX?t:this.x,this.skipY?i:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),me=he.prototype;he.max=ue,he.getOffset=fe,he.buildGetter=ce,he.autoKillThreshold=7,me._kill=function(e){return e.scrollTo_x&&(this.skipX=!0),e.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,e)};!function(e,t,i,n){null!==i.BACK_TO_TOP&&(e.BACK_TO_TOP=e.BACK_TO_TOP||{},e.BACK_TO_TOP.version="0.1.0",e.BACK_TO_TOP.documentReady=function(e){i.innerWidth;var t=i.innerHeight;e('<a href="#" id="uix-to-top"><i class="fa fa-arrow-up" aria-hidden="true"></i></a>').appendTo("body"),e.when(e("#uix-to-top").length>0).then((function(){var n=e("#uix-to-top");var a=c((function(){e(i).scrollTop()>=t/2?n.addClass("is-active"):n.removeClass("is-active")}),5);i.removeEventListener("scroll",a),i.removeEventListener("touchmove",a),i.addEventListener("scroll",a),i.addEventListener("touchmove",a),a(),n.off("click").on("click",(function(e){return e.preventDefault(),TweenMax.to(i,.5,{scrollTo:{y:0,autoKill:!1},ease:Power2.easeOut}),!1}))}))},e.components.documentReady.push(e.BACK_TO_TOP.documentReady))}(s,jQuery,window,document);function ve(e){return ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ve(e)}(function(e,t,i,n){null!==i.CIRCLE_LAYOUT&&(e.CIRCLE_LAYOUT=e.CIRCLE_LAYOUT||{},e.CIRCLE_LAYOUT.version="0.0.1",e.CIRCLE_LAYOUT.documentReady=function(e){e(".js-uix-circle-layout").each((function(t){var i=e(this),n=i.find("> ul"),a=n.find("> li"),r=a.first().outerWidth(),o=a.first().outerHeight(),s=i.data("circle-layout-display"),l=i.data("circle-layout-radius"),d=i.data("circle-layout-radius-c"),u=i.data("circle-layout-rotation");"undefined"===ve(s)&&(s=5),"undefined"===ve(l)&&(l=180),"undefined"===ve(d)&&(d=110),"undefined"===ve(u)&&(u=0),i.css({width:2*l+"px"}),n.css({width:2*l+"px",height:2*l+"px",transform:"rotate("+parseFloat(u)+"deg)"}),n.next("div").css({width:2*d+"px",height:2*d+"px"});var c=2*Math.PI/s,f=n.width(),p=0,h=0;a.each((function(){var t=e(this),i=l*Math.cos(p)-r/2,n=l*Math.sin(p)-o/2;t.css({transform:"translate("+parseFloat(i+r/2)+"px,"+parseFloat(f/2+n+o/2)+"px)","transition-delay":h+"s"}).find("> a").css({transform:"rotate("+parseFloat(-u)+"deg)"}),p+=c,h+=.15}))}))},e.components.documentReady.push(e.CIRCLE_LAYOUT.documentReady))})(s,jQuery,window,document),i(798);function ge(e){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ge(e)}!function(e,t,i,n){null!==i.COUNTER&&(e.COUNTER=e.COUNTER||{},e.COUNTER.version="0.0.6",e.COUNTER.documentReady=function(e){e("[data-counter-number]").each((function(){var t=e(this),n=c((function(){var e=t[0].getBoundingClientRect().top,n=t.data("activated");e<1*i.innerHeight&&"undefined"===ge(n)&&(t.UixCountTo(),t.data("activated",1))}),5);i.removeEventListener("scroll",n),i.removeEventListener("touchmove",n),i.addEventListener("scroll",n),i.addEventListener("touchmove",n),n()}))},e.components.documentReady.push(e.COUNTER.documentReady))}(s,jQuery,window,document);function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}!function(e,t,i,n){null!==i.DROPDOWN_MENU&&(e.DROPDOWN_MENU=e.DROPDOWN_MENU||{},e.DROPDOWN_MENU.version="0.0.7",e.DROPDOWN_MENU.documentReady=function(e){e(".uix-dropdown-menu").each((function(){var t=e(this).find('input[type="hidden"]').val(),i=e(this).find('ul > li > a[data-value="'+t+'"]').parent().index(),n=e(this).find("ul > li");n.removeClass("is-active"),n.eq(i).addClass("is-active"),e(this).find("> summary > span").html(n.eq(i).find("> a").data("display-text"))})),e(n).off("click.DROPDOWN_MENU").on("click.DROPDOWN_MENU",".uix-dropdown-menu > summary",(function(t){t.stopPropagation(),e(this).parent(".uix-dropdown-menu").toggleClass("is-opened")})),e(n).off("click.DROPDOWN_MENU_LINK").on("click.DROPDOWN_MENU_LINK",".uix-dropdown-menu li a",(function(t){t.stopPropagation();var i=e(this).closest(".uix-dropdown-menu");i.hasClass("is-opened")&&i.removeAttr("open").removeClass("is-opened"),"undefined"!=ye(e(this).attr("data-value"))&&""!=e(this).attr("data-value")&&i.find('input[type="hidden"]').val(e(this).attr("data-value")),"undefined"!=ye(e(this).data("display-text"))&&""!=e(this).data("display-text")&&i.find("> summary > span").html(e(this).data("display-text")),i.find("li").removeClass("is-active"),e(this).parent().addClass("is-active")})),e(n.body).on("click",(function(t){e(t.target.offsetParent).hasClass("uix-dropdown-menu")||e(".uix-dropdown-menu").removeAttr("open").removeClass("is-opened")}))},e.components.documentReady.push(e.DROPDOWN_MENU.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.DROPDOWN_MENU2&&(e.DROPDOWN_MENU2=e.DROPDOWN_MENU2||{},e.DROPDOWN_MENU2.version="0.0.5",e.DROPDOWN_MENU2.documentReady=function(e){var t=e(".uix-vertical-menu li");t.find("> a").off("click").on("click",(function(t){var i=e(this).next("ul");if(i.length>0){if(t.preventDefault(),"true"!=e(this).attr("aria-expanded")){var n=e(this).parent("li").siblings().find("> a");n.removeClass("is-active").attr("aria-expanded",!1),e(this).addClass("is-active").attr("aria-expanded",!0),TweenMax.to(n.next("ul"),.5,{height:0}),TweenMax.set(i,{height:"auto"}),TweenMax.from(i,.5,{height:0})}else e(this).removeClass("is-active").attr("aria-expanded",!1),TweenMax.to(i,.5,{height:0});return!1}})),0==t.find("> a .uix-vertical-menu__arrow").length&&t.find("> a").append('<span class="uix-vertical-menu__arrow"></span>'),t.each((function(){0==e(this).find("ul").length&&e(this).children("a").children(".uix-vertical-menu__arrow").hide()}))},e.components.documentReady.push(e.DROPDOWN_MENU2.documentReady))}(s,jQuery,window,document);function xe(e){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xe(e)}(function(e,t,i,n){null!==i.CASCADING_DD_LIST&&(e.CASCADING_DD_LIST=e.CASCADING_DD_LIST||{},e.CASCADING_DD_LIST.version="0.2.1",e.CASCADING_DD_LIST.documentReady=function(e){var t=".uix-cascading-dropdown-list",i=0===e(t).length?1:e(t).length+1;e(t).each((function(){i--;var t=l.create(),a=e(this),r=a.data("activated");a.attr("id","app-"+t);var o=a.data("cascading-dd-json"),s=a.data("cascading-dd-method"),d=a.data("cascading-dd-loading-tmpl");if("undefined"===xe(o)&&(o=""),"undefined"===xe(s)&&(s="POST"),"undefined"===xe(d)&&(d="<div>loading...</div>"),"undefined"===xe(r)){var u=function(){var e=a.find(".uix-cascading-dropdown-list__loading__wrapper");a.data("loading")?e.html(d):e.html("")},c=function(e,t,i){var n=[],a="",r=!0,o=0,s=function(e,t){for(var i=0;i<e.length;i++)if(e[i].id.toString()===t.toString())return i;return-1};!function l(d,u){void 0===u?u=0:u++;for(var c=0;c<d.length;c++){var f=d[c],p="key"===i?f.id.toString():f.name.toString();if(r&&(-1!==s(e,f.id)&&(n.push(p),a=p),f.children&&n.push(p)),f.id.toString()===t.toString()){n.push(p),r=!1,o=u;break}r&&f.children&&l(f.children,u)}}(e);var l=(n=n.filter((function(e,t,i){return i.indexOf(e,0)===t}))).slice(n.indexOf(a),n.length);if(l.length>1){l.splice(1);var d=n.slice(-o);l=l.concat(d)}return l},f=function(e,t){m.val(t),a.data({selectedData:{labels:c(e,t,"value"),values:c(e,t,"key")}})},p=function(){var e=a.data("isShow"),t=a.data("data");if(e){var i="";t.map((function(e,t){var n="";e.map((function(e,i){n+='<div class="'+(e.current?"uix-cascading-dropdown-list__opt is-active":"uix-cascading-dropdown-list__opt")+'" data-level="'+t+"\" data-value='"+JSON.stringify(e)+"' data-index=\""+i+'">'+e.name+"</div>"})),i+="<li>"+n+"</li>"})),h.html('\n                        <div class="uix-cascading-dropdown-list__items">\n                            <ul>\n                                '+i+"\n                            </ul>\n            \n                        </div>\n                        ")}else h.html("");var n=a.data("selectedData"),r="";n.labels&&n.labels.map((function(e,t,i){var a='<input name="'+g+'-node[]" type="hidden" value="'+n.values[t]+'"/>';i.length-1===t?r+="<span>"+e+a+"</span>":r+="<span>"+e+a+'</span><svg viewBox="0 0 22 22" width="8"><path d="m345.44 248.29l-194.29 194.28c-12.359 12.365-32.397 12.365-44.75 0-12.354-12.354-12.354-32.391 0-44.744l171.91-171.91-171.91-171.9c-12.354-12.359-12.354-32.394 0-44.748 12.354-12.359 32.391-12.359 44.75 0l194.29 194.28c6.177 6.18 9.262 14.271 9.262 22.366 0 8.099-3.091 16.196-9.267 22.373" transform="matrix(.03541-.00013.00013.03541 2.98 3.02)" fill="#a5a5a5"/></svg>'})),v.html(r)};a.append('\n                    <em class="uix-cascading-dropdown-list__result"></em>\n                    <span class="uix-cascading-dropdown-list__items__wrapper"></span>\n                    <span class="uix-cascading-dropdown-list__loading__wrapper"></span>    \n                ');var h=a.find(".uix-cascading-dropdown-list__items__wrapper"),m=a.find("input.uix-cascading-dropdown-list__res"),v=a.find(".uix-cascading-dropdown-list__result"),g=void 0===m.attr("name")?"auto-name-"+t:m.attr("name"),y=m.val();a.data({ajaxOptions:[],firstLevelItems:[],loading:!0,data:[],selectedData:{labels:[],values:[]},isShow:!1}),u(),m.attr({type:"hidden",name:g}),a.css("z-index",i);var x="get"===s.toLowerCase()?axios.get(o):axios.post(o),E=null;x.then((function(e){var t;E=e.data,a.data({loading:!1}),u(),void 0!==E&&(a.data({ajaxOptions:E}),t=[],a.data("ajaxOptions").forEach((function(e){t.push({id:e.id,name:e.name})})),a.data({data:[a.data("ajaxOptions")],firstLevelItems:[t]}),m.val(""),y&&f(E,y),p())})),e(n).off("click.CASCADING_DROPDOWNLIST_TRIGGER"+t).on("click.CASCADING_DROPDOWNLIST_TRIGGER"+t,"#".concat("app-"+t," .uix-cascading-dropdown-list__trigger"),(function(e){!function(e){e.preventDefault(),a.data({isShow:!a.data("isShow")})}(e),p()})),e(n).off("click.CASCADING_DROPDOWNLIST_OPTIONS_OPEN"+t).on("click.CASCADING_DROPDOWNLIST_OPTIONS_OPEN"+t,"#".concat("app-"+t," .uix-cascading-dropdown-list__opt"),(function(t){var i=e(this).data("level");!function(e,t,i){console.log("resValue: ",e," | index: ",t," | level: ",i),f(a.data("ajaxOptions"),e.id);var n=a.data("data");if(n.splice(i+1),e.children){var r=e.children;!function(e){for(var t=0;t<e.length;t++)e[t].current=!1}(r),n[i+1]=r}a.data({data:n}),function(e,t){for(var i=0;i<e.length;i++)e[i].current=i===t}(n[i],t)}(e(this).data("value"),e(this).data("index"),i),p()})),e(n).on("click.CASCADING_DROPDOWNLIST_CLOSE",(function(e){!function(e){""!=e.target.className&&e.target.className.indexOf("uix-cascading-dropdown-list__trigger")<0&&e.target.className.indexOf("uix-cascading-dropdown-list__items")<0&&e.target.className.indexOf("uix-cascading-dropdown-list__opt")<0&&a.data({isShow:!1})}(e),p()})),a.data("activated",1)}}))},e.components.documentReady.push(e.CASCADING_DD_LIST.documentReady))})(s,jQuery,window,document),i(712);function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}!function(e,t,i,n){null!==i.FLEXSLIDER&&(e.FLEXSLIDER=e.FLEXSLIDER||{},e.FLEXSLIDER.version="0.2.1",e.FLEXSLIDER.documentReady=function(e){var t=i.innerWidth,a=(i.innerHeight,{vars:{}}),r="uix-flexslider__";function s(e){return i.innerWidth<=768?1:e}function l(i,n,a){if(0==n.find(".uix-flexslider__item").length)return!1;var r=n.currentSlide,o=n.count,s="uix-flexslider__item--active",l=s+"-prev",u=s+"-next",c=n.find(".uix-flexslider__item"),f=n.slides.eq(r),p=n.slides.eq(r-1),h=n.slides.eq(n.animatingTo),m=n.slides.eq(0),v=(f.height(),n.data("my-nav-thumbs")),g=n.data("my-prev-next-thumbs"),y=n.data("my-nav-timeline"),x=n.data("my-count-total"),E=n.data("my-count-now"),T=n.data("my-multiple-items"),b=n.data("my-multiple-items-move"),_=n.data("my-parallax"),w=n.data("my-controls");if("undefined"===Ee(g)&&(g=!1),"undefined"===Ee(y)&&(y=!1),"undefined"===Ee(x)&&(x=!1),"undefined"===Ee(E)&&(E=!1),"undefined"===Ee(_)&&(_=!1),"undefined"===Ee(b)&&(b=1),"undefined"!=Ee(w)&&""!=w&&0!=w){var S=e(".uix-flexslider__mycontrols"+w+" a"),C="uix-flexslider__disabled";1===n.pagingCount?S.addClass(C).attr("tabindex","-1"):n.vars.animationLoop?S.removeClass(C).removeAttr("tabindex"):0===n.animatingTo?(S.removeClass(C),S.first().addClass(C).attr("tabindex","-1")):n.animatingTo===n.last?(S.removeClass(C),S.last().addClass(C).attr("tabindex","-1")):S.removeClass(C).removeAttr("tabindex")}var R=e(x||".uix-flexslider__mycontrols__count em.count"),M=e(E||".uix-flexslider__mycontrols__count em.current");if("start"==a||"after"==a){if(n.removeClass("uix-flexslider__-flexslider-loading"),y&&""!=y){var L=e(y).width();e(y).find("> span").css({width:L,transition:"all "+parseFloat(n.vars.slideshowSpeed-n.vars.animationSpeed)+"ms linear"})}if(g&&""!=g){var A,O,D=r-1,P=n.animatingTo+1,I=e(g+"> a"),H=I.filter(".uix-flexslider__mycontrols--thumb__prev"),k=I.filter(".uix-flexslider__mycontrols--thumb__next");H.removeClass("is-disabled"),k.removeClass("is-disabled"),n.vars.animationLoop?(-1===D&&(D=n.last),P===n.last+1&&(P=0)):(-1===D&&H.addClass("is-disabled"),P===n.last+1&&k.addClass("is-disabled")),A=n.slides.eq(D).find("img").attr("src"),O=n.slides.eq(P).find("img").attr("src"),e(g).length>0&&(I.attr("href","javascript:void(0);"),"undefined"!=Ee(A)&&H.attr("data-goto",D).find("> span").html('<img src="'+A+'" alt="">'),"undefined"!=Ee(O)&&k.attr("data-goto",P).find("> span").html('<img src="'+O+'" alt="">'),I.off("click").on("click",(function(t){t.preventDefault(),n.flexslider(parseInt(e(this).attr("data-goto")))})))}if(d(c,!1),d(f,!0),n.vars.slideshow&&(n.playing||n.play()),e("a").each((function(){"undefined"===Ee(e(this).attr("href"))&&e(this).attr("href","#")})),v&&""!=v&&(e(".uix-flexslider__thumbs"+v+" > ul > li").removeClass("is-active"),e(".uix-flexslider__thumbs"+v+" > ul > li").eq(r).addClass("is-active")),n.find("[data-slider-bg]").each((function(){e(this).css("background-image","url("+e(this).data("slider-bg")+")")})),e.isFunction(e.fn.lightbox)&&n.slides.find("a[rel^='theme-slider-prettyPhoto']").lightbox(),"undefined"!=Ee(T)&&""!=T&&0!=T&&(1==b?(c.removeClass(s),c.removeClass(l),c.removeClass(u),t<=768?c.eq(parseFloat(r)).addClass(s):(c.eq(parseFloat(r+1)).addClass(s),c.eq(parseFloat(r)).addClass(l),c.eq(parseFloat(r+2)).addClass(u))):c.addClass(s)),0==i.find(".uix-flexslider__mycontrols__count").length&&i.closest("section").find(".uix-flexslider__mycontrols__count").length>0){var N=o,F=r+1;N<10&&(N="0"+N),F<10&&(F="0"+F),R.text(N),M.text(F)}}if("before"==a&&(h.find("img").addClass("is-active"),f.find("img").removeClass("is-active"),p.find("img").removeClass("is-active"),m.find("img").removeClass("is-active"),y&&""!=y&&e(y).find("> span").css({width:0,transition:"all 100ms linear"})),"end"==a&&m.find("img").addClass("is-active"),("before"==a||"start"==a)&&_){var z="uix-flexslider__item--left";e.each(n.slides,(function(t,i){var a=e(i);a.removeClass("uix-flexslider__item--right uix-flexslider__item--left"),t>=n.animatingTo&&"uix-flexslider__item--right"!==z?z="uix-flexslider__item--right":a.addClass(z)}))}return r}function d(i,n){i.find(".uix-video__slider").each((function(){var i=e(this),a=i.closest("[data-embed-video-wrapper]").width(),r=i.find("video").attr("id")+"-slider-videopush",o="videocover-"+r,s=e("#"+r+"-replay-btn"),l=i.data("embed-video-controls"),d=i.data("embed-video-autoplay"),u=i.data("embed-video-loop"),c=i.data("embed-video-width"),f=i.data("embed-video-height");if(i.find(".video-js").attr("id",r),"undefined"===Ee(d)&&(d=!0),"undefined"===Ee(u)&&(u=!0),"undefined"===Ee(l)&&(l=!1),"undefined"!==Ee(c)&&"auto"!=c||(c=a),"undefined"!==Ee(f)&&"auto"!=f||(f=a/1.77777777777778),0==e("#"+o).length){e('<div id="'+o+'" class="uix-video__cover"><span class="uix-video__cover__placeholder" style="background-image:url('+i.find("video").attr("poster")+')"></span><span class="uix-video__cover__playbtn"></span></div>').insertBefore(i);var p=Modernizr.touchevents?"touchstart":"click";e("#"+o+" .uix-video__cover__playbtn").on(p,(function(t){t.preventDefault(),h.play(),e("#"+o).hide()}))}0==s.length&&i.after('<span class="uix-video__btn-play" id="'+r+'-replay-btn"></span>'),d&&t<=768&&i.find(".video-js").attr({autoplay:"true",muted:"true",playsinline:"true"});var h=videojs(r,{width:c,height:f,loop:u,autoplay:d},(function(){if(this.on("loadedmetadata",(function(){var e,t,n,r,o;r=(e=this).videoWidth(),o=e.videoHeight(),n=o*((t=a)/r),isNaN(t)||isNaN(n)||(e.height(n),e.width(t),i.css("height",n)),i.css("visibility","visible"),i.find(".vjs-loading-spinner, .vjs-big-play-button").hide()})),d||i.find(".vjs-big-play-button").show(),i.find(".vjs-big-play-button").off("click").on("click",(function(){e(this).hide()})),d){var t=this.play();void 0!==t&&t.then((function(){})).catch((function(t){e("#"+o).show(),e("#"+o+" .uix-video__cover__playbtn").show(),console.log("Autoplay was prevented.")}))}l||this.controls(!1);if(this.on("timeupdate",(function(){this.duration()>0&&(!0,this.currentTime()>0&&(!0,this.off("timeupdate"),e("#"+o).hide()))})),n){if(d){this.currentTime(0);var r=this.play();void 0!==r&&r.then((function(){})).catch((function(t){e("#"+o).show(),e("#"+o+" .uix-video__cover__playbtn").show(),console.log("Autoplay was prevented.")})),s.hide(),this.on("ended",(function(){u?(this.currentTime(0),this.play()):(this.currentTime(0),s.show().off("click").on("click",(function(e){e.preventDefault(),this.play(),s.hide()})))}))}}else this.pause(),this.currentTime(0)}))}))}var u=e(".uix-flexslider");u.each((function(){var t,i,u,c,f,p,h,m=e(this),v=m.data("speed"),g=m.data("draggable"),y=m.data("wheel"),x=m.data("timing"),E=m.data("loop"),T=m.data("prev"),b=m.data("next"),_=m.data("animation"),w=m.data("paging"),S=m.data("arrows"),C=m.data("auto"),R=m.data("my-nav-thumbs"),M=m.data("my-prev-next-thumbs"),L=m.data("my-nav-timeline"),A=m.data("my-count-total"),O=m.data("my-count-now"),D=m.data("my-controls"),P=m.data("my-multiple-items"),I=m.data("my-multiple-items-move"),H=m.data("my-parallax"),k=m.data("my-sync");d(m.find(".uix-flexslider__item"),!1),"undefined"===Ee(D)||""==D||0==D?(t="",i=""):(t=e(".uix-flexslider__mycontrols"+D+" .uix-flexslider__mycontrols__control-paging"),(i=e(".uix-flexslider__mycontrols"+D+" a")).first().addClass("uix-flexslider__prev"),i.last().addClass("uix-flexslider__next")),"undefined"===Ee(v)&&(v=600),"undefined"===Ee(x)&&(x=1e4),"undefined"===Ee(E)&&(E=!0),"undefined"===Ee(T)&&(T="<i class='fa fa-chevron-left'></i>"),"undefined"===Ee(b)&&(b="<i class='fa fa-chevron-right'></i>"),"undefined"===Ee(_)&&(_="slide"),"undefined"===Ee(w)&&(w=!0),"undefined"===Ee(S)&&(S=!0),"undefined"===Ee(C)&&(C=!0),"undefined"===Ee(g)&&(g=!1),"undefined"===Ee(y)&&(y=!1),"undefined"===Ee(R)&&(R=!1),"undefined"===Ee(M)&&(M=!1),"undefined"===Ee(L)&&(L=!1),"undefined"===Ee(A)&&(A=!1),"undefined"===Ee(O)&&(O=!1),"undefined"===Ee(H)&&(H=!1),"undefined"===Ee(I)&&(I=1),g&&function(e,t){function i(){e.flexslider("prev")}function a(){e.flexslider("next")}var r,o,s=e.find(".uix-flexslider__inner"),l=!1;function d(t){e.data("flexslider").animating||(r=t.clientX,o=t.clientY,n.addEventListener("mouseup",c),n.addEventListener("mousemove",u))}function u(t){var n,s;n=r-t.clientX,s=o-t.clientY,"horizontal"===e.data("flexslider").vars.direction?(n>=50&&(l||(l=!0,a())),n<=-50&&(l||(l=!0,i()))):(s>=50&&(l||(l=!0,a())),s<=-50&&(l||(l=!0,i())))}function c(e){n.removeEventListener("mousemove",u),setTimeout((function(){l=!1}),t)}s.find("img").css({"pointer-events":"none","user-select":"none"}),s.css("cursor","move"),s[0].removeEventListener("mousedown",d),n.removeEventListener("mouseup",c),s[0].addEventListener("mousedown",d)}(m,v),y&&(c=null,f=!1,(u=m)[0].addEventListener("wheel",(function(e){var t=Math.max(-1,Math.min(1,-e.deltaY));c&&clearTimeout(c),f||(t<0?u.flexslider("next"):u.flexslider("prev")),f=!0,c=setTimeout((function(){f=!1}),60)}),!!o&&{passive:!0})),R&&(p=m,e(".uix-flexslider__thumbs"+(h=R)+" > ul > li").off("click").on("click",(function(){e(".uix-flexslider__thumbs"+h+" > ul > li").removeClass("is-active"),e(this).addClass("is-active"),p.flexslider(e(this).index())})),E=!1);var N=0,F=I,z=0,j=0;"undefined"!=Ee(P)&&""!=P&&0!=P&&(N=1,z=s(P),j=s(P)),e("[data-my-sync]").each((function(){var t=e(this).data("my-sync"),i=m.attr("id");if("undefined"!=Ee(t)&&(t=t.toString().replace("#","").replace(".","")),"undefined"!=Ee(i)&&i==t)return C=!1,w=!1,!1})),m.flexslider({namespace:r,animation:_,selector:".uix-flexslider__inner > div.uix-flexslider__item",controlNav:w,smoothHeight:!0,prevText:T,nextText:b,animationSpeed:v,slideshowSpeed:x,slideshow:C,animationLoop:E,directionNav:S,itemWidth:N,move:F,minItems:z,maxItems:j,controlsContainer:t,customDirectionNav:i,start:function(e){"undefined"!=Ee(P)&&""!=P&&0!=P&&(a=e),l(m,e,"start")},before:function(t){l(m,t,"before"),"undefined"!=Ee(k)&&""!=k&&0!=k&&function(t,i,n,a,r){for(var o=e(i).flexslider({slideshow:!1,controlNav:!1,animationLoop:n,animationSpeed:a,slideshowSpeed:r}),s=0;s<o.length;s++)e(o[s]).data("flexslider").flexAnimate(t)}(t.animatingTo,k,E,v,x)},after:function(e){l(m,e,"after")},end:function(e){l(m,e,"end")}})}));var c=f((function(){i.innerWidth!=t&&(t=i.innerWidth,u.each((function(){if(e(this).length>0){var t=e(this).data("my-multiple-items");if("undefined"!=Ee(t)&&""!=t&&0!=t){var i=s(t);a.vars.minItems=i,a.vars.maxItems=i}e(this).data("flexslider").setup()}})))}),50);i.removeEventListener("resize",c),i.addEventListener("resize",c)},e.components.documentReady.push(e.FLEXSLIDER.documentReady))}(s,jQuery,window,document);(function(e,t,i,n){null!==i.FLOATING_SIDE_EL&&(e.FLOATING_SIDE_EL=e.FLOATING_SIDE_EL||{},e.FLOATING_SIDE_EL.version="0.0.7",e.FLOATING_SIDE_EL.documentReady=function(e){var t=0,a=e(".uix-floating-side-el"),r=a.offset();if(0==a.length)return!1;t=e(n).height(),TweenMax.to(a,.3,{css:{marginTop:-r.top+(e(i).height()-a.height())/2}});var o=c((function(){var o=a.height(),s=e(i).scrollTop();if(t=e(n).height(),s>r.top){var l=s-r.top,d=t-o;l>d&&(l=d),TweenMax.to(a,.3,{css:{marginTop:l+(i.innerHeight-o)/2}})}else TweenMax.to(a,.3,{css:{marginTop:0}})}),5);i.removeEventListener("scroll",o),i.removeEventListener("touchmove",o),i.addEventListener("scroll",o),i.addEventListener("touchmove",o),o()},e.components.documentReady.push(e.FLOATING_SIDE_EL.documentReady))})(s,jQuery,window,document),i(829);function Te(e){return Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Te(e)}var be,_e,we,Se,Ce,Re,Me;(function(e,t,i,n){null!==i.FORM_PROGRESS&&(e.FORM_PROGRESS=e.FORM_PROGRESS||{},e.FORM_PROGRESS.version="0.0.5",e.FORM_PROGRESS.pageLoaded=function(){t(".uix-form-progress progress");var e=t(".uix-form-progress__target"),a=t(".uix-form-progress .uix-form-progress__indicator"),r=(e.height(),a.length,e.data("anime-speed"));"undefined"===Te(r)&&(r="0.5s");var o=r.toString().toLowerCase();o.indexOf("ms"),o.replace("ms","").replace("s","");function s(){t(n).UixFormProgressToNext({selector:t(".uix-form-progress__target .uix-form-progress__target__step"),formTarget:t(".uix-form-progress__target"),indicator:".uix-form-progress .uix-form-progress__indicator",index:0})}s(),setTimeout((function(){e.addClass("is-active")}),1e3*parseFloat(r)),t(n).off("click.FORM_PROGRESS").on("click.FORM_PROGRESS",".uix-form-progress__target .go-step:not(.disable)",(function(a){a.preventDefault();var r=t(this).parents(".uix-form-progress__target__step");t(n).UixFormProgressToNext({selector:t(".uix-form-progress__target .uix-form-progress__target__step"),formTarget:e,indicator:".uix-form-progress .uix-form-progress__indicator",index:r.index()+1}),TweenMax.to(i,.5,{scrollTo:{y:0,autoKill:!1},ease:Power2.easeOut})})),t(n).off("click.FORM_PROGRESS_RESET").on("click.FORM_PROGRESS_RESET",".uix-form-progress__target .go-reset",(function(e){e.preventDefault(),s()}))},e.components.pageLoaded.push(e.FORM_PROGRESS.pageLoaded))})(s,jQuery,window,document),i(49),i(126);function Le(e){return Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Le(e)}function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}Me=864e5,_e=function(e,t){return"string"==typeof e&&"string"==typeof t&&e.toLowerCase()===t.toLowerCase()},we=function(e,t,i){var n=i||"0",a=e.toString();return a.length<t?we(n+a,t):a},Se=function(e){var t,i;for(e=e||{},t=1;t<arguments.length;t++)if(i=arguments[t])for(var n in i)i.hasOwnProperty(n)&&("object"==Le(i[n])?Se(e[n],i[n]):e[n]=i[n]);return e},Ce=function(e,t){for(var i=0;i<t.length;i++)if(t[i].toLowerCase()===e.toLowerCase())return i;return-1},Re={dateSettings:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridiem:["AM","PM"],ordinal:function(e){var t=e%10,i={1:"st",2:"nd",3:"rd"};return 1!==Math.floor(e%100/10)&&i[t]?i[t]:"th"}},separators:/[ \-+\/\.T:@]/g,validParts:/[dDjlNSwzWFmMntLoYyaABgGhHisueTIOPZcrU]/g,intParts:/[djwNzmnyYhHgGis]/g,tzParts:/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,tzClip:/[^-+\dA-Z]/g},be=function(e){var t=this,i=Se(Re,e);t.dateSettings=i.dateSettings,t.separators=i.separators,t.validParts=i.validParts,t.intParts=i.intParts,t.tzParts=i.tzParts,t.tzClip=i.tzClip},be.prototype={constructor:be,getMonth:function(e){var t;return 0===(t=Ce(e,this.dateSettings.monthsShort)+1)&&(t=Ce(e,this.dateSettings.months)+1),t},parseDate:function(e,t){var i,n,a,r,o,s,l,d,u,c,f=this,p=!1,h=!1,m=f.dateSettings,v={date:null,year:null,month:null,day:null,hour:0,min:0,sec:0};if(!e)return null;if(e instanceof Date)return e;if("U"===t)return(a=parseInt(e))?new Date(1e3*a):e;switch(Le(e)){case"number":return new Date(e);case"string":break;default:return null}if(!(i=t.match(f.validParts))||0===i.length)throw new Error("Invalid date format definition.");for(n=e.replace(f.separators,"\0").split("\0"),a=0;a<n.length;a++)switch(r=n[a],o=parseInt(r),i[a]){case"y":case"Y":if(!o)return null;u=r.length,v.year=2===u?parseInt((70>o?"20":"19")+r):o,p=!0;break;case"m":case"n":case"M":case"F":if(isNaN(o)){if(!((s=f.getMonth(r))>0))return null;v.month=s}else{if(!(o>=1&&12>=o))return null;v.month=o}p=!0;break;case"d":case"j":if(!(o>=1&&31>=o))return null;v.day=o,p=!0;break;case"g":case"h":if(c=n[l=i.indexOf("a")>-1?i.indexOf("a"):i.indexOf("A")>-1?i.indexOf("A"):-1],l>-1)d=_e(c,m.meridiem[0])?0:_e(c,m.meridiem[1])?12:-1,o>=1&&12>=o&&d>-1?v.hour=o+d-1:o>=0&&23>=o&&(v.hour=o);else{if(!(o>=0&&23>=o))return null;v.hour=o}h=!0;break;case"G":case"H":if(!(o>=0&&23>=o))return null;v.hour=o,h=!0;break;case"i":if(!(o>=0&&59>=o))return null;v.min=o,h=!0;break;case"s":if(!(o>=0&&59>=o))return null;v.sec=o,h=!0}if(!0===p&&v.year&&v.month&&v.day)v.date=new Date(v.year,v.month-1,v.day,v.hour,v.min,v.sec,0);else{if(!0!==h)return null;v.date=new Date(0,0,0,v.hour,v.min,v.sec,0)}return v.date},guessDate:function(e,t){if("string"!=typeof e)return e;var i,n,a,r,o,s,l=e.replace(this.separators,"\0").split("\0"),d=t.match(this.validParts),u=new Date,c=0;if(!/^[djmn]/g.test(d[0]))return e;for(a=0;a<l.length;a++){if(c=2,o=l[a],s=parseInt(o.substr(0,2)),isNaN(s))return null;switch(a){case 0:"m"===d[0]||"n"===d[0]?u.setMonth(s-1):u.setDate(s);break;case 1:"m"===d[0]||"n"===d[0]?u.setDate(s):u.setMonth(s-1);break;case 2:if(n=u.getFullYear(),c=4>(i=o.length)?i:4,!(n=parseInt(4>i?n.toString().substr(0,4-i)+o:o.substr(0,4))))return null;u.setFullYear(n);break;case 3:u.setHours(s);break;case 4:u.setMinutes(s);break;case 5:u.setSeconds(s)}(r=o.substr(c)).length>0&&l.splice(a+1,0,r)}return u},parseFormat:function(e,t){var i,n=this,a=n.dateSettings,r=/\\?(.?)/gi,o=function(e,t){return i[e]?i[e]():t};return i={d:function(){return we(i.j(),2)},D:function(){return a.daysShort[i.w()]},j:function(){return t.getDate()},l:function(){return a.days[i.w()]},N:function(){return i.w()||7},w:function(){return t.getDay()},z:function(){var e=new Date(i.Y(),i.n()-1,i.j()),t=new Date(i.Y(),0,1);return Math.round((e-t)/Me)},W:function(){var e=new Date(i.Y(),i.n()-1,i.j()-i.N()+3),t=new Date(e.getFullYear(),0,4);return we(1+Math.round((e-t)/Me/7),2)},F:function(){return a.months[t.getMonth()]},m:function(){return we(i.n(),2)},M:function(){return a.monthsShort[t.getMonth()]},n:function(){return t.getMonth()+1},t:function(){return new Date(i.Y(),i.n(),0).getDate()},L:function(){var e=i.Y();return e%4==0&&e%100!=0||e%400==0?1:0},o:function(){var e=i.n(),t=i.W();return i.Y()+(12===e&&9>t?1:1===e&&t>9?-1:0)},Y:function(){return t.getFullYear()},y:function(){return i.Y().toString().slice(-2)},a:function(){return i.A().toLowerCase()},A:function(){var e=i.G()<12?0:1;return a.meridiem[e]},B:function(){var e=3600*t.getUTCHours(),i=60*t.getUTCMinutes(),n=t.getUTCSeconds();return we(Math.floor((e+i+n+3600)/86.4)%1e3,3)},g:function(){return i.G()%12||12},G:function(){return t.getHours()},h:function(){return we(i.g(),2)},H:function(){return we(i.G(),2)},i:function(){return we(t.getMinutes(),2)},s:function(){return we(t.getSeconds(),2)},u:function(){return we(1e3*t.getMilliseconds(),6)},e:function(){return/\((.*)\)/.exec(String(t))[1]||"Coordinated Universal Time"},I:function(){return new Date(i.Y(),0)-Date.UTC(i.Y(),0)!=new Date(i.Y(),6)-Date.UTC(i.Y(),6)?1:0},O:function(){var e=t.getTimezoneOffset(),i=Math.abs(e);return(e>0?"-":"+")+we(100*Math.floor(i/60)+i%60,4)},P:function(){var e=i.O();return e.substr(0,3)+":"+e.substr(3,2)},T:function(){return(String(t).match(n.tzParts)||[""]).pop().replace(n.tzClip,"")||"UTC"},Z:function(){return 60*-t.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(r,o)},r:function(){return"D, d M Y H:i:s O".replace(r,o)},U:function(){return t.getTime()/1e3||0}},o(e,e)},formatDate:function(e,t){var i,n,a,r,o,s=this,l="";if("string"==typeof e&&!(e=s.parseDate(e,t)))return null;if(e instanceof Date){for(a=t.length,i=0;a>i;i++)"S"!==(o=t.charAt(i))&&"\\"!==o&&(i>0&&"\\"===t.charAt(i-1)?l+=o:(r=s.parseFormat(o,e),i!==a-1&&s.intParts.test(o)&&"S"===t.charAt(i+1)&&(n=parseInt(r)||0,r+=s.dateSettings.ordinal(n)),l+=r));return l}return""}},function(e){var t={i18n:{ar:{months:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],dayOfWeekShort:["ن","ث","ع","خ","ج","س","ح"],dayOfWeek:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"]},ro:{months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],dayOfWeekShort:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],dayOfWeek:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"]},id:{months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],dayOfWeekShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],dayOfWeek:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},is:{months:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],dayOfWeekShort:["Sun","Mán","Þrið","Mið","Fim","Fös","Lau"],dayOfWeek:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"]},bg:{months:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],dayOfWeekShort:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],dayOfWeek:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"]},fa:{months:["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],dayOfWeekShort:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayOfWeek:["یک‌شنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنج‌شنبه","جمعه","شنبه","یک‌شنبه"]},ru:{months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],dayOfWeekShort:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],dayOfWeek:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"]},uk:{months:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],dayOfWeekShort:["Ндл","Пнд","Втр","Срд","Чтв","Птн","Сбт"],dayOfWeek:["Неділя","Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},el:{months:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],dayOfWeekShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayOfWeek:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},de:{months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dayOfWeekShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayOfWeek:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},nl:{months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],dayOfWeekShort:["zo","ma","di","wo","do","vr","za"],dayOfWeek:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},tr:{months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],dayOfWeekShort:["Paz","Pts","Sal","Çar","Per","Cum","Cts"],dayOfWeek:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},fr:{months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],dayOfWeekShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayOfWeek:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},es:{months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],dayOfWeekShort:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],dayOfWeek:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"]},th:{months:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],dayOfWeekShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayOfWeek:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัส","ศุกร์","เสาร์","อาทิตย์"]},pl:{months:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],dayOfWeekShort:["nd","pn","wt","śr","cz","pt","sb"],dayOfWeek:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},pt:{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],dayOfWeek:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"]},ch:{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeekShort:["日","一","二","三","四","五","六"]},se:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"]},km:{months:["មករា​","កុម្ភៈ","មិនា​","មេសា​","ឧសភា​","មិថុនា​","កក្កដា​","សីហា​","កញ្ញា​","តុលា​","វិច្ឆិកា","ធ្នូ​"],dayOfWeekShort:["អាទិ​","ច័ន្ទ​","អង្គារ​","ពុធ​","ព្រហ​​","សុក្រ​","សៅរ៍"],dayOfWeek:["អាទិត្យ​","ច័ន្ទ​","អង្គារ​","ពុធ​","ព្រហស្បតិ៍​","សុក្រ​","សៅរ៍"]},kr:{months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayOfWeekShort:["일","월","화","수","목","금","토"],dayOfWeek:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},it:{months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayOfWeek:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]},da:{months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],dayOfWeekShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayOfWeek:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},no:{months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],dayOfWeekShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayOfWeek:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"]},ja:{months:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeekShort:["日","月","火","水","木","金","土"],dayOfWeek:["日曜","月曜","火曜","水曜","木曜","金曜","土曜"]},vi:{months:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayOfWeekShort:["CN","T2","T3","T4","T5","T6","T7"],dayOfWeek:["Chủ nhật","Thứ hai","Thứ ba","Thứ tư","Thứ năm","Thứ sáu","Thứ bảy"]},sl:{months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],dayOfWeekShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayOfWeek:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"]},cs:{months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],dayOfWeekShort:["Ne","Po","Út","St","Čt","Pá","So"]},hu:{months:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],dayOfWeekShort:["Va","Hé","Ke","Sze","Cs","Pé","Szo"],dayOfWeek:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},az:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],dayOfWeekShort:["B","Be","Ça","Ç","Ca","C","Ş"],dayOfWeek:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},bs:{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"]},ca:{months:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],dayOfWeekShort:["Dg","Dl","Dt","Dc","Dj","Dv","Ds"],dayOfWeek:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"]},"en-GB":{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},et:{months:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],dayOfWeekShort:["P","E","T","K","N","R","L"],dayOfWeek:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"]},eu:{months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],dayOfWeekShort:["Ig.","Al.","Ar.","Az.","Og.","Or.","La."],dayOfWeek:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"]},fi:{months:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],dayOfWeekShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayOfWeek:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},gl:{months:["Xan","Feb","Maz","Abr","Mai","Xun","Xul","Ago","Set","Out","Nov","Dec"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Xov","Ven","Sab"],dayOfWeek:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"]},hr:{months:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],dayOfWeekShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"]},ko:{months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayOfWeekShort:["일","월","화","수","목","금","토"],dayOfWeek:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},lt:{months:["Sausio","Vasario","Kovo","Balandžio","Gegužės","Birželio","Liepos","Rugpjūčio","Rugsėjo","Spalio","Lapkričio","Gruodžio"],dayOfWeekShort:["Sek","Pir","Ant","Tre","Ket","Pen","Šeš"],dayOfWeek:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis"]},lv:{months:["Janvāris","Februāris","Marts","Aprīlis ","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],dayOfWeekShort:["Sv","Pr","Ot","Tr","Ct","Pk","St"],dayOfWeek:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena"]},mk:{months:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],dayOfWeekShort:["нед","пон","вто","сре","чет","пет","саб"],dayOfWeek:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"]},mn:{months:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],dayOfWeekShort:["Дав","Мяг","Лха","Пүр","Бсн","Бям","Ням"],dayOfWeek:["Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба","Ням"]},"pt-BR":{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayOfWeek:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"]},sk:{months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],dayOfWeekShort:["Ne","Po","Ut","St","Št","Pi","So"],dayOfWeek:["Nedeľa","Pondelok","Utorok","Streda","Štvrtok","Piatok","Sobota"]},sq:{months:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],dayOfWeekShort:["Die","Hën","Mar","Mër","Enj","Pre","Shtu"],dayOfWeek:["E Diel","E Hënë","E Martē","E Mërkurë","E Enjte","E Premte","E Shtunë"]},"sr-YU":{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sre","čet","Pet","Sub"],dayOfWeek:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"]},sr:{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],dayOfWeekShort:["нед","пон","уто","сре","чет","пет","суб"],dayOfWeek:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"]},sv:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayOfWeek:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"]},"zh-TW":{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeekShort:["日","一","二","三","四","五","六"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},zh:{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeekShort:["日","一","二","三","四","五","六"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},ug:{months:["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي"],dayOfWeek:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"]},he:{months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],dayOfWeekShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayOfWeek:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת","ראשון"]},hy:{months:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],dayOfWeekShort:["Կի","Երկ","Երք","Չոր","Հնգ","Ուրբ","Շբթ"],dayOfWeek:["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","Ուրբաթ","Շաբաթ"]},kg:{months:["Үчтүн айы","Бирдин айы","Жалган Куран","Чын Куран","Бугу","Кулжа","Теке","Баш Оона","Аяк Оона","Тогуздун айы","Жетинин айы","Бештин айы"],dayOfWeekShort:["Жек","Дүй","Шей","Шар","Бей","Жум","Ише"],dayOfWeek:["Жекшемб","Дүйшөмб","Шейшемб","Шаршемб","Бейшемби","Жума","Ишенб"]},rm:{months:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],dayOfWeekShort:["Du","Gli","Ma","Me","Gie","Ve","So"],dayOfWeek:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"]},ka:{months:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],dayOfWeekShort:["კვ","ორშ","სამშ","ოთხ","ხუთ","პარ","შაბ"],dayOfWeek:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"]}},ownerDocument:document,contentWindow:window,value:"",rtl:!1,format:"Y/m/d H:i",formatTime:"H:i",formatDate:"Y/m/d",startDate:!1,step:60,monthChangeSpinner:!0,closeOnDateSelect:!1,closeOnTimeSelect:!0,closeOnWithoutClick:!0,closeOnInputClick:!0,openOnFocus:!0,timepicker:!0,datepicker:!0,weeks:!1,defaultTime:!1,defaultDate:!1,minDate:!1,maxDate:!1,minTime:!1,maxTime:!1,minDateTime:!1,maxDateTime:!1,allowTimes:[],opened:!1,initTime:!0,inline:!1,theme:"",touchMovedThreshold:5,onSelectDate:function(){},onSelectTime:function(){},onChangeMonth:function(){},onGetWeekOfYear:function(){},onChangeYear:function(){},onChangeDateTime:function(){},onShow:function(){},onClose:function(){},onGenerate:function(){},withoutCopyright:!0,inverseButton:!1,hours12:!1,next:"xdsoft_next",prev:"xdsoft_prev",dayOfWeekStart:0,parentID:"body",timeHeightInTimePicker:25,timepickerScrollbar:!0,todayButton:!0,prevButton:!0,nextButton:!0,defaultSelect:!0,scrollMonth:!0,scrollTime:!0,scrollInput:!0,lazyInit:!1,mask:!1,validateOnBlur:!0,allowBlank:!0,yearStart:1950,yearEnd:2050,monthStart:0,monthEnd:11,style:"",id:"",fixed:!1,roundTime:"round",className:"",weekends:[],highlightedDates:[],highlightedPeriods:[],allowDates:[],allowDateRe:null,disabledDates:[],disabledWeekDays:[],yearOffset:0,beforeShowDay:null,enterLikeTab:!0,showApplyButton:!1,insideParent:!1},i=null,n=null,a="en",r={meridiem:["AM","PM"]},o=function(){var o=t.i18n[a],s={days:o.dayOfWeek,daysShort:o.dayOfWeekShort,months:o.months,monthsShort:e.map(o.months,(function(e){return e.substring(0,3)}))};"function"==typeof be&&(i=n=new be({dateSettings:e.extend({},r,s)}))},s={moment:{default_options:{format:"YYYY/MM/DD HH:mm",formatDate:"YYYY/MM/DD",formatTime:"HH:mm"},formatter:{parseDate:function(e,t){if(d(t))return n.parseDate(e,t);var i=moment(e,t);return!!i.isValid()&&i.toDate()},formatDate:function(e,t){return d(t)?n.formatDate(e,t):moment(e).format(t)},formatMask:function(e){return e.replace(/Y{4}/g,"9999").replace(/Y{2}/g,"99").replace(/M{2}/g,"19").replace(/D{2}/g,"39").replace(/H{2}/g,"29").replace(/m{2}/g,"59").replace(/s{2}/g,"59")}}}};e.datetimepicker={setLocale:function(e){var i=t.i18n[e]?e:"en";a!==i&&(a=i,o())},setDateFormatter:function(n){if("string"==typeof n&&s.hasOwnProperty(n)){var a=s[n];e.extend(t,a.default_options),i=a.formatter}else i=n}};var l={RFC_2822:"D, d M Y H:i:s O",ATOM:"Y-m-dTH:i:sP",ISO_8601:"Y-m-dTH:i:sO",RFC_822:"D, d M y H:i:s O",RFC_850:"l, d-M-y H:i:s T",RFC_1036:"D, d M y H:i:s O",RFC_1123:"D, d M Y H:i:s O",RSS:"D, d M Y H:i:s O",W3C:"Y-m-dTH:i:sP"},d=function(e){return-1!==Object.values(l).indexOf(e)};function u(e,t,i){this.date=e,this.desc=t,this.style=i}e.extend(e.datetimepicker,l),o(),window.getComputedStyle||(window.getComputedStyle=function(e){return this.el=e,this.getPropertyValue=function(t){var i=/(-([a-z]))/g;return"float"===t&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,(function(e,t,i){return i.toUpperCase()}))),e.currentStyle[t]||null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i,n;for(i=t||0,n=this.length;i<n;i+=1)if(this[i]===e)return i;return-1}),Date.prototype.countDaysInMonth=function(){return new Date(this.getFullYear(),this.getMonth()+1,0).getDate()},e.fn.xdsoftScroller=function(t,i){return this.each((function(){var n,a,r,o,s,l=e(this),d=function(e){var t,i={x:0,y:0};return"touchstart"===e.type||"touchmove"===e.type||"touchend"===e.type||"touchcancel"===e.type?(t=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],i.x=t.clientX,i.y=t.clientY):"mousedown"!==e.type&&"mouseup"!==e.type&&"mousemove"!==e.type&&"mouseover"!==e.type&&"mouseout"!==e.type&&"mouseenter"!==e.type&&"mouseleave"!==e.type||(i.x=e.clientX,i.y=e.clientY),i},u=100,c=!1,f=0,p=0,h=0,m=!1,v=0,g=function(){};"hide"!==i?(e(this).hasClass("xdsoft_scroller_box")||(n=l.children().eq(0),a=l[0].clientHeight,r=n[0].offsetHeight,o=e('<div class="xdsoft_scrollbar"></div>'),s=e('<div class="xdsoft_scroller"></div>'),o.append(s),l.addClass("xdsoft_scroller_box").append(o),g=function(e){var t=d(e).y-f+v;t<0&&(t=0),t+s[0].offsetHeight>h&&(t=h-s[0].offsetHeight),l.trigger("scroll_element.xdsoft_scroller",[u?t/u:0])},s.on("touchstart.xdsoft_scroller mousedown.xdsoft_scroller",(function(n){a||l.trigger("resize_scroll.xdsoft_scroller",[i]),f=d(n).y,v=parseInt(s.css("margin-top"),10),h=o[0].offsetHeight,"mousedown"===n.type||"touchstart"===n.type?(t.ownerDocument&&e(t.ownerDocument.body).addClass("xdsoft_noselect"),e([t.ownerDocument.body,t.contentWindow]).on("touchend mouseup.xdsoft_scroller",(function i(){e([t.ownerDocument.body,t.contentWindow]).off("touchend mouseup.xdsoft_scroller",i).off("mousemove.xdsoft_scroller",g).removeClass("xdsoft_noselect")})),e(t.ownerDocument.body).on("mousemove.xdsoft_scroller",g)):(m=!0,n.stopPropagation(),n.preventDefault())})).on("touchmove",(function(e){m&&(e.preventDefault(),g(e))})).on("touchend touchcancel",(function(){m=!1,v=0})),l.on("scroll_element.xdsoft_scroller",(function(e,t){a||l.trigger("resize_scroll.xdsoft_scroller",[t,!0]),t=t>1?1:t<0||isNaN(t)?0:t,s.css("margin-top",u*t),setTimeout((function(){n.css("marginTop",-parseInt((n[0].offsetHeight-a)*t,10))}),10)})).on("resize_scroll.xdsoft_scroller",(function(e,t,i){var d,c;a=l[0].clientHeight,r=n[0].offsetHeight,c=(d=a/r)*o[0].offsetHeight,d>1?s.hide():(s.show(),s.css("height",parseInt(c>10?c:10,10)),u=o[0].offsetHeight-s[0].offsetHeight,!0!==i&&l.trigger("scroll_element.xdsoft_scroller",[t||Math.abs(parseInt(n.css("marginTop"),10))/(r-a)]))})),l.on("mousewheel",(function(e){var t=Math.abs(parseInt(n.css("marginTop"),10));return(t-=20*e.deltaY)<0&&(t=0),l.trigger("scroll_element.xdsoft_scroller",[t/(r-a)]),e.stopPropagation(),!1})),l.on("touchstart",(function(e){c=d(e),p=Math.abs(parseInt(n.css("marginTop"),10))})),l.on("touchmove",(function(e){if(c){e.preventDefault();var t=d(e);l.trigger("scroll_element.xdsoft_scroller",[(p-(t.y-c.y))/(r-a)])}})),l.on("touchend touchcancel",(function(){c=!1,p=0}))),l.trigger("resize_scroll.xdsoft_scroller",[i])):l.find(".xdsoft_scrollbar").hide()}))},e.fn.datetimepicker=function(n,r){var o,s,l=this,d=17,c=13,f=27,p=37,h=38,m=39,v=40,g=9,y=116,x=65,E=67,T=86,b=90,_=89,w=!1,S=e.isPlainObject(n)||!n?e.extend(!0,{},t,n):e.extend(!0,{},t),C=0;return o=function(t){var r,o,s,l,C,R,M=e('<div class="xdsoft_datetimepicker xdsoft_noselect"></div>'),L=e('<div class="xdsoft_copyright"><a target="_blank" href="http://xdsoft.net/jqplugins/datetimepicker/">xdsoft.net</a></div>'),A=e('<div class="xdsoft_datepicker active"></div>'),O=e('<div class="xdsoft_monthpicker"><button type="button" class="xdsoft_prev"></button><button type="button" class="xdsoft_today_button"></button><div class="xdsoft_label xdsoft_month"><span></span><i></i></div><div class="xdsoft_label xdsoft_year"><span></span><i></i></div><button type="button" class="xdsoft_next"></button></div>'),D=e('<div class="xdsoft_calendar"></div>'),P=e('<div class="xdsoft_timepicker active"><button type="button" class="xdsoft_prev"></button><div class="xdsoft_time_box"></div><button type="button" class="xdsoft_next"></button></div>'),I=P.find(".xdsoft_time_box").eq(0),H=e('<div class="xdsoft_time_variant"></div>'),k=e('<button type="button" class="xdsoft_save_selected blue-gradient-button">Save Selected</button>'),N=e('<div class="xdsoft_select xdsoft_monthselect"><div></div></div>'),F=e('<div class="xdsoft_select xdsoft_yearselect"><div></div></div>'),z=!1,j=0;S.id&&M.attr("id",S.id),S.style&&M.attr("style",S.style),S.weeks&&M.addClass("xdsoft_showweeks"),S.rtl&&M.addClass("xdsoft_rtl"),M.addClass("xdsoft_"+S.theme),M.addClass(S.className),O.find(".xdsoft_month span").after(N),O.find(".xdsoft_year span").after(F),O.find(".xdsoft_month,.xdsoft_year").on("touchstart mousedown.xdsoft",(function(t){var i,n,a=e(this).find(".xdsoft_select").eq(0),r=0,o=0,s=a.is(":visible");for(O.find(".xdsoft_select").hide(),C.currentTime&&(r=C.currentTime[e(this).hasClass("xdsoft_month")?"getMonth":"getFullYear"]()),a[s?"hide":"show"](),i=a.find("div.xdsoft_option"),n=0;n<i.length&&i.eq(n).data("value")!==r;n+=1)o+=i[0].offsetHeight;return a.xdsoftScroller(S,o/(a.children()[0].offsetHeight-a[0].clientHeight)),t.stopPropagation(),!1}));var G=function(e){var t=e.originalEvent,i=t.touches?t.touches[0]:t;this.touchStartPosition=this.touchStartPosition||i;var n=Math.abs(this.touchStartPosition.clientX-i.clientX),a=Math.abs(this.touchStartPosition.clientY-i.clientY);Math.sqrt(n*n+a*a)>S.touchMovedThreshold&&(this.touchMoved=!0)};function B(){var e,i=!1;return S.startDate?i=C.strToDate(S.startDate):(i=S.value||(t&&t.val&&t.val()?t.val():""))?(i=C.strToDateTime(i),S.yearOffset&&(i=new Date(i.getFullYear()-S.yearOffset,i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()))):S.defaultDate&&(i=C.strToDateTime(S.defaultDate),S.defaultTime&&(e=C.strtotime(S.defaultTime),i.setHours(e.getHours()),i.setMinutes(e.getMinutes()))),i&&C.isValidDate(i)?M.data("changed",!0):i="",i||0}function W(n){var a=function(e,t){var i=e.replace(/([\[\]\/\{\}\(\)\-\.\+]{1})/g,"\\$1").replace(/_/g,"{digit+}").replace(/([0-9]{1})/g,"{digit$1}").replace(/\{digit([0-9]{1})\}/g,"[0-$1_]{1}").replace(/\{digit[\+]\}/g,"[0-9_]{1}");return new RegExp(i).test(t)},r=function(e,t){if(!(e="string"==typeof e||e instanceof String?n.ownerDocument.getElementById(e):e))return!1;if(e.createTextRange){var i=e.createTextRange();return i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",t),i.select(),!0}return!!e.setSelectionRange&&(e.setSelectionRange(t,t),!0)};n.mask&&t.off("keydown.xdsoft"),!0===n.mask&&(i.formatMask?n.mask=i.formatMask(n.format):n.mask=n.format.replace(/Y/g,"9999").replace(/F/g,"9999").replace(/m/g,"19").replace(/d/g,"39").replace(/H/g,"29").replace(/i/g,"59").replace(/s/g,"59")),"string"===e.type(n.mask)&&(a(n.mask,t.val())||(t.val(n.mask.replace(/[0-9]/g,"_")),r(t[0],0)),t.on("paste.xdsoft",(function(i){var o=(i.clipboardData||i.originalEvent.clipboardData||window.clipboardData).getData("text"),s=this.value,l=this.selectionStart,d=s.substr(0,l),u=s.substr(l+o.length);return s=d+o+u,l+=o.length,a(n.mask,s)?(this.value=s,r(this,l)):""===e.trim(s)?this.value=n.mask.replace(/[0-9]/g,"_"):t.trigger("error_input.xdsoft"),i.preventDefault(),!1})),t.on("keydown.xdsoft",(function(i){var o,s=this.value,l=i.which,u=this.selectionStart,S=this.selectionEnd,C=u!==S;if(l>=48&&l<=57||l>=96&&l<=105||8===l||46===l){for(o=8===l||46===l?"_":String.fromCharCode(96<=l&&l<=105?l-48:l),8===l&&u&&!C&&(u-=1);;){var R=n.mask.substr(u,1),M=u<n.mask.length,L=u>0;if(!(/[^0-9_]/.test(R)&&M&&L))break;u+=8!==l||C?1:-1}if(i.metaKey&&(u=0,C=!0),C){var A=S-u,O=n.mask.replace(/[0-9]/g,"_"),D=O.substr(u,A).substr(1),P=s.substr(0,u),I=o+D,H=s.substr(u+A);s=P+I+H}else{var k=s.substr(0,u),N=o,F=s.substr(u+1);s=k+N+F}if(""===e.trim(s))s=O;else if(u===n.mask.length)return i.preventDefault(),!1;for(u+=8===l?0:1;/[^0-9_]/.test(n.mask.substr(u,1))&&u<n.mask.length&&u>0;)u+=8===l?0:1;a(n.mask,s)?(this.value=s,r(this,u)):""===e.trim(s)?this.value=n.mask.replace(/[0-9]/g,"_"):t.trigger("error_input.xdsoft")}else if(-1!==[x,E,T,b,_].indexOf(l)&&w||-1!==[f,h,v,p,m,y,d,g,c].indexOf(l))return!0;return i.preventDefault(),!1})))}O.find(".xdsoft_select").xdsoftScroller(S).on("touchstart mousedown.xdsoft",(function(e){var t=e.originalEvent;this.touchMoved=!1,this.touchStartPosition=t.touches?t.touches[0]:t,e.stopPropagation(),e.preventDefault()})).on("touchmove",".xdsoft_option",G).on("touchend mousedown.xdsoft",".xdsoft_option",(function(){if(!this.touchMoved){void 0!==C.currentTime&&null!==C.currentTime||(C.currentTime=C.now());var t=C.currentTime.getFullYear();C&&C.currentTime&&C.currentTime[e(this).parent().parent().hasClass("xdsoft_monthselect")?"setMonth":"setFullYear"](e(this).data("value")),e(this).parent().parent().hide(),M.trigger("xchange.xdsoft"),S.onChangeMonth&&e.isFunction(S.onChangeMonth)&&S.onChangeMonth.call(M,C.currentTime,M.data("input")),t!==C.currentTime.getFullYear()&&e.isFunction(S.onChangeYear)&&S.onChangeYear.call(M,C.currentTime,M.data("input"))}})),M.getValue=function(){return C.getCurrentTime()},M.setOptions=function(n){var a={};S=e.extend(!0,{},S,n),n.allowTimes&&e.isArray(n.allowTimes)&&n.allowTimes.length&&(S.allowTimes=e.extend(!0,[],n.allowTimes)),n.weekends&&e.isArray(n.weekends)&&n.weekends.length&&(S.weekends=e.extend(!0,[],n.weekends)),n.allowDates&&e.isArray(n.allowDates)&&n.allowDates.length&&(S.allowDates=e.extend(!0,[],n.allowDates)),n.allowDateRe&&"[object String]"===Object.prototype.toString.call(n.allowDateRe)&&(S.allowDateRe=new RegExp(n.allowDateRe)),n.highlightedDates&&e.isArray(n.highlightedDates)&&n.highlightedDates.length&&(e.each(n.highlightedDates,(function(t,n){var r,o=e.map(n.split(","),e.trim),s=new u(i.parseDate(o[0],S.formatDate),o[1],o[2]),l=i.formatDate(s.date,S.formatDate);void 0!==a[l]?(r=a[l].desc)&&r.length&&s.desc&&s.desc.length&&(a[l].desc=r+"\n"+s.desc):a[l]=s})),S.highlightedDates=e.extend(!0,[],a)),n.highlightedPeriods&&e.isArray(n.highlightedPeriods)&&n.highlightedPeriods.length&&(a=e.extend(!0,[],S.highlightedDates),e.each(n.highlightedPeriods,(function(t,n){var r,o,s,l,d,c,f;if(e.isArray(n))r=n[0],o=n[1],s=n[2],f=n[3];else{var p=e.map(n.split(","),e.trim);r=i.parseDate(p[0],S.formatDate),o=i.parseDate(p[1],S.formatDate),s=p[2],f=p[3]}for(;r<=o;)l=new u(r,s,f),d=i.formatDate(r,S.formatDate),r.setDate(r.getDate()+1),void 0!==a[d]?(c=a[d].desc)&&c.length&&l.desc&&l.desc.length&&(a[d].desc=c+"\n"+l.desc):a[d]=l})),S.highlightedDates=e.extend(!0,[],a)),n.disabledDates&&e.isArray(n.disabledDates)&&n.disabledDates.length&&(S.disabledDates=e.extend(!0,[],n.disabledDates)),n.disabledWeekDays&&e.isArray(n.disabledWeekDays)&&n.disabledWeekDays.length&&(S.disabledWeekDays=e.extend(!0,[],n.disabledWeekDays)),!S.open&&!S.opened||S.inline||t.trigger("open.xdsoft"),S.inline&&(z=!0,M.addClass("xdsoft_inline"),t.after(M).hide()),S.inverseButton&&(S.next="xdsoft_prev",S.prev="xdsoft_next"),S.datepicker?A.addClass("active"):A.removeClass("active"),S.timepicker?P.addClass("active"):P.removeClass("active"),S.value&&(C.setCurrentTime(S.value),t&&t.val&&t.val(C.str)),isNaN(S.dayOfWeekStart)?S.dayOfWeekStart=0:S.dayOfWeekStart=parseInt(S.dayOfWeekStart,10)%7,S.timepickerScrollbar||I.xdsoftScroller(S,"hide"),S.minDate&&/^[\+\-](.*)$/.test(S.minDate)&&(S.minDate=i.formatDate(C.strToDateTime(S.minDate),S.formatDate)),S.maxDate&&/^[\+\-](.*)$/.test(S.maxDate)&&(S.maxDate=i.formatDate(C.strToDateTime(S.maxDate),S.formatDate)),S.minDateTime&&/^\+(.*)$/.test(S.minDateTime)&&(S.minDateTime=C.strToDateTime(S.minDateTime).dateFormat(S.formatDate)),S.maxDateTime&&/^\+(.*)$/.test(S.maxDateTime)&&(S.maxDateTime=C.strToDateTime(S.maxDateTime).dateFormat(S.formatDate)),k.toggle(S.showApplyButton),O.find(".xdsoft_today_button").css("visibility",S.todayButton?"visible":"hidden"),O.find("."+S.prev).css("visibility",S.prevButton?"visible":"hidden"),O.find("."+S.next).css("visibility",S.nextButton?"visible":"hidden"),W(S),S.validateOnBlur&&t.off("blur.xdsoft").on("blur.xdsoft",(function(){if(S.allowBlank&&(!e.trim(e(this).val()).length||"string"==typeof S.mask&&e.trim(e(this).val())===S.mask.replace(/[0-9]/g,"_")))e(this).val(null),M.data("xdsoft_datetime").empty();else{var t=i.parseDate(e(this).val(),S.format);if(t)e(this).val(i.formatDate(t,S.format));else{var n=+[e(this).val()[0],e(this).val()[1]].join(""),a=+[e(this).val()[2],e(this).val()[3]].join("");!S.datepicker&&S.timepicker&&n>=0&&n<24&&a>=0&&a<60?e(this).val([n,a].map((function(e){return e>9?e:"0"+e})).join(":")):e(this).val(i.formatDate(C.now(),S.format))}M.data("xdsoft_datetime").setCurrentTime(e(this).val())}M.trigger("changedatetime.xdsoft"),M.trigger("close.xdsoft")})),S.dayOfWeekStartPrev=0===S.dayOfWeekStart?6:S.dayOfWeekStart-1,M.trigger("xchange.xdsoft").trigger("afterOpen.xdsoft")},M.data("options",S).on("touchstart mousedown.xdsoft",(function(e){return e.stopPropagation(),e.preventDefault(),F.hide(),N.hide(),!1})),I.append(H),I.xdsoftScroller(S),M.on("afterOpen.xdsoft",(function(){I.xdsoftScroller(S)})),M.append(A).append(P),!0!==S.withoutCopyright&&M.append(L),A.append(O).append(D).append(k),S.insideParent?e(t).parent().append(M):e(S.parentID).append(M),C=new function(){var t=this;t.now=function(e){var i,n,a=new Date;return!e&&S.defaultDate&&(i=t.strToDateTime(S.defaultDate),a.setFullYear(i.getFullYear()),a.setMonth(i.getMonth()),a.setDate(i.getDate())),a.setFullYear(a.getFullYear()),!e&&S.defaultTime&&(n=t.strtotime(S.defaultTime),a.setHours(n.getHours()),a.setMinutes(n.getMinutes()),a.setSeconds(n.getSeconds()),a.setMilliseconds(n.getMilliseconds())),a},t.isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},t.setCurrentTime=function(e,i){"string"==typeof e?t.currentTime=t.strToDateTime(e):t.isValidDate(e)?t.currentTime=e:e||i||!S.allowBlank||S.inline?t.currentTime=t.now():t.currentTime=null,M.trigger("xchange.xdsoft")},t.empty=function(){t.currentTime=null},t.getCurrentTime=function(){return t.currentTime},t.nextMonth=function(){void 0!==t.currentTime&&null!==t.currentTime||(t.currentTime=t.now());var i,n=t.currentTime.getMonth()+1;return 12===n&&(t.currentTime.setFullYear(t.currentTime.getFullYear()+1),n=0),i=t.currentTime.getFullYear(),t.currentTime.setDate(Math.min(new Date(t.currentTime.getFullYear(),n+1,0).getDate(),t.currentTime.getDate())),t.currentTime.setMonth(n),S.onChangeMonth&&e.isFunction(S.onChangeMonth)&&S.onChangeMonth.call(M,C.currentTime,M.data("input")),i!==t.currentTime.getFullYear()&&e.isFunction(S.onChangeYear)&&S.onChangeYear.call(M,C.currentTime,M.data("input")),M.trigger("xchange.xdsoft"),n},t.prevMonth=function(){void 0!==t.currentTime&&null!==t.currentTime||(t.currentTime=t.now());var i=t.currentTime.getMonth()-1;return-1===i&&(t.currentTime.setFullYear(t.currentTime.getFullYear()-1),i=11),t.currentTime.setDate(Math.min(new Date(t.currentTime.getFullYear(),i+1,0).getDate(),t.currentTime.getDate())),t.currentTime.setMonth(i),S.onChangeMonth&&e.isFunction(S.onChangeMonth)&&S.onChangeMonth.call(M,C.currentTime,M.data("input")),M.trigger("xchange.xdsoft"),i},t.getWeekOfYear=function(t){if(S.onGetWeekOfYear&&e.isFunction(S.onGetWeekOfYear)){var i=S.onGetWeekOfYear.call(M,t);if(void 0!==i)return i}var n=new Date(t.getFullYear(),0,1);return 4!==n.getDay()&&n.setMonth(0,1+(4-n.getDay()+7)%7),Math.ceil(((t-n)/864e5+n.getDay()+1)/7)},t.strToDateTime=function(e){var n,a,r=[];return e&&e instanceof Date&&t.isValidDate(e)?e:((r=/^([+-]{1})(.*)$/.exec(e))&&(r[2]=i.parseDate(r[2],S.formatDate)),r&&r[2]?(n=r[2].getTime()-6e4*r[2].getTimezoneOffset(),a=new Date(t.now(!0).getTime()+parseInt(r[1]+"1",10)*n)):a=e?i.parseDate(e,S.format):t.now(),t.isValidDate(a)||(a=t.now()),a)},t.strToDate=function(e){if(e&&e instanceof Date&&t.isValidDate(e))return e;var n=e?i.parseDate(e,S.formatDate):t.now(!0);return t.isValidDate(n)||(n=t.now(!0)),n},t.strtotime=function(e){if(e&&e instanceof Date&&t.isValidDate(e))return e;var n=e?i.parseDate(e,S.formatTime):t.now(!0);return t.isValidDate(n)||(n=t.now(!0)),n},t.str=function(){var e=S.format;return S.yearOffset&&(e=(e=e.replace("Y",t.currentTime.getFullYear()+S.yearOffset)).replace("y",String(t.currentTime.getFullYear()+S.yearOffset).substring(2,4))),i.formatDate(t.currentTime,e)},t.currentTime=this.now()},k.on("touchend click",(function(e){e.preventDefault(),M.data("changed",!0),C.setCurrentTime(B()),t.val(C.str()),M.trigger("close.xdsoft")})),O.find(".xdsoft_today_button").on("touchend mousedown.xdsoft",(function(){M.data("changed",!0),C.setCurrentTime(0,!0),M.trigger("afterOpen.xdsoft")})).on("dblclick.xdsoft",(function(){var e,i,n=C.getCurrentTime();n=new Date(n.getFullYear(),n.getMonth(),n.getDate()),e=C.strToDate(S.minDate),n<(e=new Date(e.getFullYear(),e.getMonth(),e.getDate()))||(i=C.strToDate(S.maxDate),n>(i=new Date(i.getFullYear(),i.getMonth(),i.getDate()))||(t.val(C.str()),t.trigger("change"),M.trigger("close.xdsoft")))})),O.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",(function(){var t=e(this),i=0,n=!1;!function e(a){t.hasClass(S.next)?C.nextMonth():t.hasClass(S.prev)&&C.prevMonth(),S.monthChangeSpinner&&(n||(i=setTimeout(e,a||100)))}(500),e([S.ownerDocument.body,S.contentWindow]).on("touchend mouseup.xdsoft",(function t(){clearTimeout(i),n=!0,e([S.ownerDocument.body,S.contentWindow]).off("touchend mouseup.xdsoft",t)}))})),P.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",(function(){var t=e(this),i=0,n=!1,a=110;!function e(r){var o=I[0].clientHeight,s=H[0].offsetHeight,l=Math.abs(parseInt(H.css("marginTop"),10));t.hasClass(S.next)&&s-o-S.timeHeightInTimePicker>=l?H.css("marginTop","-"+(l+S.timeHeightInTimePicker)+"px"):t.hasClass(S.prev)&&l-S.timeHeightInTimePicker>=0&&H.css("marginTop","-"+(l-S.timeHeightInTimePicker)+"px"),I.trigger("scroll_element.xdsoft_scroller",[Math.abs(parseInt(H[0].style.marginTop,10)/(s-o))]),a=a>10?10:a-10,n||(i=setTimeout(e,r||a))}(500),e([S.ownerDocument.body,S.contentWindow]).on("touchend mouseup.xdsoft",(function t(){clearTimeout(i),n=!0,e([S.ownerDocument.body,S.contentWindow]).off("touchend mouseup.xdsoft",t)}))})),r=0,M.on("xchange.xdsoft",(function(o){clearTimeout(r),r=setTimeout((function(){void 0!==C.currentTime&&null!==C.currentTime||(C.currentTime=C.now());for(var r,o,s,l,d,u,c,f,p,h,m="",v=new Date(C.currentTime.getFullYear(),C.currentTime.getMonth(),1,12,0,0),g=0,y=C.now(),x=!1,E=!1,T=!1,b=!1,_=[],w=!0,R="";v.getDay()!==S.dayOfWeekStart;)v.setDate(v.getDate()-1);for(m+="<table><thead><tr>",S.weeks&&(m+="<th></th>"),r=0;r<7;r+=1)m+="<th>"+S.i18n[a].dayOfWeekShort[(r+S.dayOfWeekStart)%7]+"</th>";for(m+="</tr></thead>",m+="<tbody>",!1!==S.maxDate&&(x=C.strToDate(S.maxDate),x=new Date(x.getFullYear(),x.getMonth(),x.getDate(),23,59,59,999)),!1!==S.minDate&&(E=C.strToDate(S.minDate),E=new Date(E.getFullYear(),E.getMonth(),E.getDate())),!1!==S.minDateTime&&(T=C.strToDate(S.minDateTime),T=new Date(T.getFullYear(),T.getMonth(),T.getDate(),T.getHours(),T.getMinutes(),T.getSeconds())),!1!==S.maxDateTime&&(b=C.strToDate(S.maxDateTime),b=new Date(b.getFullYear(),b.getMonth(),b.getDate(),b.getHours(),b.getMinutes(),b.getSeconds())),!1!==b&&(h=31*(12*b.getFullYear()+b.getMonth())+b.getDate());g<C.currentTime.countDaysInMonth()||v.getDay()!==S.dayOfWeekStart||C.currentTime.getMonth()===v.getMonth();){_=[],g+=1,s=v.getDay(),l=v.getDate(),d=v.getFullYear(),k=v.getMonth(),u=C.getWeekOfYear(v),p="",_.push("xdsoft_date"),c=S.beforeShowDay&&e.isFunction(S.beforeShowDay.call)?S.beforeShowDay.call(M,v):null,S.allowDateRe&&"[object RegExp]"===Object.prototype.toString.call(S.allowDateRe)&&(S.allowDateRe.test(i.formatDate(v,S.formatDate))||_.push("xdsoft_disabled")),S.allowDates&&S.allowDates.length>0&&-1===S.allowDates.indexOf(i.formatDate(v,S.formatDate))&&_.push("xdsoft_disabled");var L=31*(12*v.getFullYear()+v.getMonth())+v.getDate();(!1!==x&&v>x||!1!==T&&v<T||!1!==E&&v<E||!1!==b&&L>h||c&&!1===c[0])&&_.push("xdsoft_disabled"),-1!==S.disabledDates.indexOf(i.formatDate(v,S.formatDate))&&_.push("xdsoft_disabled"),-1!==S.disabledWeekDays.indexOf(s)&&_.push("xdsoft_disabled"),t.is("[disabled]")&&_.push("xdsoft_disabled"),c&&""!==c[1]&&_.push(c[1]),C.currentTime.getMonth()!==k&&_.push("xdsoft_other_month"),(S.defaultSelect||M.data("changed"))&&i.formatDate(C.currentTime,S.formatDate)===i.formatDate(v,S.formatDate)&&_.push("xdsoft_current"),i.formatDate(y,S.formatDate)===i.formatDate(v,S.formatDate)&&_.push("xdsoft_today"),0!==v.getDay()&&6!==v.getDay()&&-1===S.weekends.indexOf(i.formatDate(v,S.formatDate))||_.push("xdsoft_weekend"),void 0!==S.highlightedDates[i.formatDate(v,S.formatDate)]&&(o=S.highlightedDates[i.formatDate(v,S.formatDate)],_.push(void 0===o.style?"xdsoft_highlighted_default":o.style),p=void 0===o.desc?"":o.desc),S.beforeShowDay&&e.isFunction(S.beforeShowDay)&&_.push(S.beforeShowDay(v)),w&&(m+="<tr>",w=!1,S.weeks&&(m+="<th>"+u+"</th>")),m+='<td data-date="'+l+'" data-month="'+k+'" data-year="'+d+'" class="xdsoft_date xdsoft_day_of_week'+v.getDay()+" "+_.join(" ")+'" title="'+p+'"><div>'+l+"</div></td>",v.getDay()===S.dayOfWeekStartPrev&&(m+="</tr>",w=!0),v.setDate(l+1)}m+="</tbody></table>",D.html(m),O.find(".xdsoft_label span").eq(0).text(S.i18n[a].months[C.currentTime.getMonth()]),O.find(".xdsoft_label span").eq(1).text(C.currentTime.getFullYear()+S.yearOffset),R="",k="";var A=0;if(!1!==S.minTime){var P=C.strtotime(S.minTime);A=60*P.getHours()+P.getMinutes()}var I=1440;if(!1!==S.maxTime){P=C.strtotime(S.maxTime);I=60*P.getHours()+P.getMinutes()}if(!1!==S.minDateTime){P=C.strToDateTime(S.minDateTime);if(i.formatDate(C.currentTime,S.formatDate)===i.formatDate(P,S.formatDate))(k=60*P.getHours()+P.getMinutes())>A&&(A=k)}if(!1!==S.maxDateTime){var k;P=C.strToDateTime(S.maxDateTime);if(i.formatDate(C.currentTime,S.formatDate)===i.formatDate(P,S.formatDate))(k=60*P.getHours()+P.getMinutes())<I&&(I=k)}if(f=function(n,a){var r,o=C.now(),s=S.allowTimes&&e.isArray(S.allowTimes)&&S.allowTimes.length;o.setHours(n),n=parseInt(o.getHours(),10),o.setMinutes(a),a=parseInt(o.getMinutes(),10),_=[];var l=60*n+a;(t.is("[disabled]")||l>=I||l<A)&&_.push("xdsoft_disabled"),(r=new Date(C.currentTime)).setHours(parseInt(C.currentTime.getHours(),10)),s||r.setMinutes(Math[S.roundTime](C.currentTime.getMinutes()/S.step)*S.step),(S.initTime||S.defaultSelect||M.data("changed"))&&r.getHours()===parseInt(n,10)&&(!s&&S.step>59||r.getMinutes()===parseInt(a,10))&&(S.defaultSelect||M.data("changed")?_.push("xdsoft_current"):S.initTime&&_.push("xdsoft_init_time")),parseInt(y.getHours(),10)===parseInt(n,10)&&parseInt(y.getMinutes(),10)===parseInt(a,10)&&_.push("xdsoft_today"),R+='<div class="xdsoft_time '+_.join(" ")+'" data-hour="'+n+'" data-minute="'+a+'">'+i.formatDate(o,S.formatTime)+"</div>"},S.allowTimes&&e.isArray(S.allowTimes)&&S.allowTimes.length)for(g=0;g<S.allowTimes.length;g+=1)f(C.strtotime(S.allowTimes[g]).getHours(),k=C.strtotime(S.allowTimes[g]).getMinutes());else for(g=0,r=0;g<(S.hours12?12:24);g+=1)for(r=0;r<60;r+=S.step){var z=60*g+r;z<A||(z>=I||f((g<10?"0":"")+g,k=(r<10?"0":"")+r))}for(H.html(R),n="",g=parseInt(S.yearStart,10);g<=parseInt(S.yearEnd,10);g+=1)n+='<div class="xdsoft_option '+(C.currentTime.getFullYear()===g?"xdsoft_current":"")+'" data-value="'+g+'">'+(g+S.yearOffset)+"</div>";for(F.children().eq(0).html(n),g=parseInt(S.monthStart,10),n="";g<=parseInt(S.monthEnd,10);g+=1)n+='<div class="xdsoft_option '+(C.currentTime.getMonth()===g?"xdsoft_current":"")+'" data-value="'+g+'">'+S.i18n[a].months[g]+"</div>";N.children().eq(0).html(n),e(M).trigger("generate.xdsoft")}),10),o.stopPropagation()})).on("afterOpen.xdsoft",(function(){var e,t,i,n;S.timepicker&&(H.find(".xdsoft_current").length?e=".xdsoft_current":H.find(".xdsoft_init_time").length&&(e=".xdsoft_init_time"),e?(t=I[0].clientHeight,(i=H[0].offsetHeight)-t<(n=H.find(e).index()*S.timeHeightInTimePicker+1)&&(n=i-t),I.trigger("scroll_element.xdsoft_scroller",[parseInt(n,10)/(i-t)])):I.trigger("scroll_element.xdsoft_scroller",[0]))})),o=0,D.on("touchend click.xdsoft","td",(function(i){i.stopPropagation(),o+=1;var n=e(this),a=C.currentTime;if(null==a&&(C.currentTime=C.now(),a=C.currentTime),n.hasClass("xdsoft_disabled"))return!1;a.setDate(1),a.setFullYear(n.data("year")),a.setMonth(n.data("month")),a.setDate(n.data("date")),M.trigger("select.xdsoft",[a]),t.val(C.str()),S.onSelectDate&&e.isFunction(S.onSelectDate)&&S.onSelectDate.call(M,C.currentTime,M.data("input"),i),M.data("changed",!0),M.trigger("xchange.xdsoft"),M.trigger("changedatetime.xdsoft"),(o>1||!0===S.closeOnDateSelect||!1===S.closeOnDateSelect&&!S.timepicker)&&!S.inline&&M.trigger("close.xdsoft"),setTimeout((function(){o=0}),200)})),H.on("touchstart","div",(function(e){this.touchMoved=!1})).on("touchmove","div",G).on("touchend click.xdsoft","div",(function(t){if(!this.touchMoved){t.stopPropagation();var i=e(this),n=C.currentTime;if(null==n&&(C.currentTime=C.now(),n=C.currentTime),i.hasClass("xdsoft_disabled"))return!1;n.setHours(i.data("hour")),n.setMinutes(i.data("minute")),M.trigger("select.xdsoft",[n]),M.data("input").val(C.str()),S.onSelectTime&&e.isFunction(S.onSelectTime)&&S.onSelectTime.call(M,C.currentTime,M.data("input"),t),M.data("changed",!0),M.trigger("xchange.xdsoft"),M.trigger("changedatetime.xdsoft"),!0!==S.inline&&!0===S.closeOnTimeSelect&&M.trigger("close.xdsoft")}})),A.on("mousewheel.xdsoft",(function(e){return!S.scrollMonth||(e.deltaY<0?C.nextMonth():C.prevMonth(),!1)})),t.on("mousewheel.xdsoft",(function(e){return!S.scrollInput||(!S.datepicker&&S.timepicker?((s=H.find(".xdsoft_current").length?H.find(".xdsoft_current").eq(0).index():0)+e.deltaY>=0&&s+e.deltaY<H.children().length&&(s+=e.deltaY),H.children().eq(s).length&&H.children().eq(s).trigger("mousedown"),!1):S.datepicker&&!S.timepicker?(A.trigger(e,[e.deltaY,e.deltaX,e.deltaY]),t.val&&t.val(C.str()),M.trigger("changedatetime.xdsoft"),!1):void 0)})),M.on("changedatetime.xdsoft",(function(t){if(S.onChangeDateTime&&e.isFunction(S.onChangeDateTime)){var i=M.data("input");S.onChangeDateTime.call(M,C.currentTime,i,t),delete S.value,i.trigger("change")}})).on("generate.xdsoft",(function(){S.onGenerate&&e.isFunction(S.onGenerate)&&S.onGenerate.call(M,C.currentTime,M.data("input")),z&&(M.trigger("afterOpen.xdsoft"),z=!1)})).on("click.xdsoft",(function(e){e.stopPropagation()})),s=0,R=function(e,t){do{if(!(e=e.parentNode)||!1===t(e))break}while("HTML"!==e.nodeName)},l=function(){var t,i,n,a,r,o,s,l,d,u,c,f,p;if(t=(l=M.data("input")).offset(),i=l[0],u="top",n=t.top+i.offsetHeight-1,a=t.left,r="absolute",d=e(S.contentWindow).width(),f=e(S.contentWindow).height(),p=e(S.contentWindow).scrollTop(),S.ownerDocument.documentElement.clientWidth-t.left<A.parent().outerWidth(!0)){var h=A.parent().outerWidth(!0)-i.offsetWidth;a-=h}"rtl"===l.parent().css("direction")&&(a-=M.outerWidth()-l.outerWidth()),S.fixed?(n-=p,a-=e(S.contentWindow).scrollLeft(),r="fixed"):(s=!1,R(i,(function(e){return null!==e&&("fixed"===S.contentWindow.getComputedStyle(e).getPropertyValue("position")?(s=!0,!1):void 0)})),s&&!S.insideParent?(r="fixed",n+M.outerHeight()>f+p?(u="bottom",n=f+p-t.top):n-=p):n+M[0].offsetHeight>f+p&&(n=t.top-M[0].offsetHeight+1),n<0&&(n=0),a+i.offsetWidth>d&&(a=d-i.offsetWidth)),o=M[0],R(o,(function(e){if("relative"===S.contentWindow.getComputedStyle(e).getPropertyValue("position")&&d>=e.offsetWidth)return a-=(d-e.offsetWidth)/2,!1})),c={position:r,left:S.insideParent?i.offsetLeft:a,top:"",bottom:""},S.insideParent?c[u]=i.offsetTop+i.offsetHeight:c[u]=n,M.css(c)},M.on("open.xdsoft",(function(t){var i=!0;S.onShow&&e.isFunction(S.onShow)&&(i=S.onShow.call(M,C.currentTime,M.data("input"),t)),!1!==i&&(M.show(),l(),e(S.contentWindow).off("resize.xdsoft",l).on("resize.xdsoft",l),S.closeOnWithoutClick&&e([S.ownerDocument.body,S.contentWindow]).on("touchstart mousedown.xdsoft",(function t(){M.trigger("close.xdsoft"),e([S.ownerDocument.body,S.contentWindow]).off("touchstart mousedown.xdsoft",t)})))})).on("close.xdsoft",(function(t){var i=!0;O.find(".xdsoft_month,.xdsoft_year").find(".xdsoft_select").hide(),S.onClose&&e.isFunction(S.onClose)&&(i=S.onClose.call(M,C.currentTime,M.data("input"),t)),!1===i||S.opened||S.inline||M.hide(),t.stopPropagation()})).on("toggle.xdsoft",(function(){M.is(":visible")?M.trigger("close.xdsoft"):M.trigger("open.xdsoft")})).data("input",t),j=0,M.data("xdsoft_datetime",C),M.setOptions(S),C.setCurrentTime(B()),t.data("xdsoft_datetimepicker",M).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",(function(){t.is(":disabled")||t.data("xdsoft_datetimepicker").is(":visible")&&S.closeOnInputClick||S.openOnFocus&&(clearTimeout(j),j=setTimeout((function(){t.is(":disabled")||(z=!0,C.setCurrentTime(B(),!0),S.mask&&W(S),M.trigger("open.xdsoft"))}),100))})).on("keydown.xdsoft",(function(t){var i,n=t.which;return-1!==[c].indexOf(n)&&S.enterLikeTab?(i=e("input:visible,textarea:visible,button:visible,a:visible"),M.trigger("close.xdsoft"),i.eq(i.index(this)+1).focus(),!1):-1!==[g].indexOf(n)?(M.trigger("close.xdsoft"),!0):void 0})).on("blur.xdsoft",(function(){M.trigger("close.xdsoft")}))},s=function(t){var i=t.data("xdsoft_datetimepicker");i&&(i.data("xdsoft_datetime",null),i.remove(),t.data("xdsoft_datetimepicker",null).off(".xdsoft"),e(S.contentWindow).off("resize.xdsoft"),e([S.contentWindow,S.ownerDocument.body]).off("mousedown.xdsoft touchstart"),t.unmousewheel&&t.unmousewheel())},e(S.ownerDocument).off("keydown.xdsoftctrl keyup.xdsoftctrl").off("keydown.xdsoftcmd keyup.xdsoftcmd").on("keydown.xdsoftctrl",(function(e){e.keyCode===d&&(w=!0)})).on("keyup.xdsoftctrl",(function(e){e.keyCode===d&&(w=!1)})).on("keydown.xdsoftcmd",(function(e){91===e.keyCode&&!0})).on("keyup.xdsoftcmd",(function(e){91===e.keyCode&&!1})),this.each((function(){var t,a=e(this).data("xdsoft_datetimepicker");if(a){if("string"===e.type(n))switch(n){case"show":e(this).select().focus(),a.trigger("open.xdsoft");break;case"hide":a.trigger("close.xdsoft");break;case"toggle":a.trigger("toggle.xdsoft");break;case"destroy":s(e(this));break;case"reset":this.value=this.defaultValue,this.value&&a.data("xdsoft_datetime").isValidDate(i.parseDate(this.value,S.format))||a.data("changed",!1),a.data("xdsoft_datetime").setCurrentTime(this.value);break;case"validate":a.data("input").trigger("blur.xdsoft");break;default:a[n]&&e.isFunction(a[n])&&(l=a[n](r))}else a.setOptions(n);return 0}"string"!==e.type(n)&&(!S.lazyInit||S.open||S.inline?o(e(this)):(t=e(this)).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",(function e(){t.is(":disabled")||t.data("xdsoft_datetimepicker")||(clearTimeout(C),C=setTimeout((function(){t.data("xdsoft_datetimepicker")||o(t),t.off("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",e).trigger("open.xdsoft")}),100))})))})),l},e.fn.datetimepicker.defaults=t}(jQuery),function(e){e.fn.UixRenderDatePicker=function(t){var i=e.extend({controls:"[data-picker]"},t);this.each((function(){e.isFunction(e.fn.datetimepicker)&&(e(i.controls).each((function(){var t=e(this),i=t.data("picker-format"),n=t.data("picker-timepicker"),a=t.data("picker-lang"),r=t.data("picker-min-date"),o=t.data("picker-max-date"),s=!1;"undefined"===Ae(i)&&(i="M d, Y"),"undefined"===Ae(n)&&(n=!1),"undefined"===Ae(a)&&(a="en"),"undefined"===Ae(r)&&(r=!1),"undefined"===Ae(o)&&(o=!1),"undefined"===Ae(s)&&(s=!1),e.datetimepicker.setLocale(a),e("body").hasClass("rtl")&&(s=!0),n&&e(document).on("mouseenter","td.xdsoft_date[data-date]",(function(){e(this).hasClass("xdsoft_disabled")?e(this).closest(".xdsoft_datepicker").next(".xdsoft_timepicker.active").hide():e(this).closest(".xdsoft_datepicker").next(".xdsoft_timepicker.active").show()})),t.datetimepicker({rtl:s,timepicker:n,format:i,formatTime:"H:i",formatDate:"Y/m/d",minDate:r,maxDate:o})})),e(document).on("mouseleave","[data-handler]",(function(){e("[data-picker]").each((function(){e(this).closest("div").find("label, .uix-controls__bar").addClass("is-active")}))})))}))}}(jQuery);i(366),i(81),i(392),i(283),i(433),i(260),i(599),i(895),i(616),i(292),i(838);function Oe(e){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oe(e)}!function(e){e.fn.UixRenderDynamicFields=function(t){var i=e.extend({controls:".uix-controls__dynamic-fields-container"},t);this.each((function(){e(i.controls).each((function(){var t=e(this);if("undefined"===Oe(t.data("activated"))){var i=t.find(".uix-controls__dynamic-fields__addbtn"),n=t.find(".uix-controls__dynamic-fields__append"),a=".uix-controls__dynamic-fields__tmpl__wrapper",r=n.find(a).length,o=0==r?1:r+1,s=t.data("max-fields");"undefined"===Oe(s)&&(s=5);var d=function(t){t=t.replace(/___GUID___/gi,l.create()),o==s&&i.hide(),o<=s&&(n.append(t),e(document).UixRenderCustomSelect(),e(document).UixRenderCustomRadioCheckbox(),e(document).UixRenderControlsLineEff(),e(document).UixRenderControlsDisable(),e(document).UixRenderCustomFile(),e(document).UixRenderCustomFileDropzone(),e(document).UixRenderControlsHover(),e(document).UixRenderCustomMultiSel(),e(document).UixRenderCustomSingleSel(),e(document).UixRenderNormalRadio(),e(document).UixRenderDatePicker(),e(document).UixRenderTagInput(),e(document).UixRenderNumberInput(),o++)};0==r&&d(t.find(".uix-controls__dynamic-fields__tmpl").html()),i.off("click").off("click").on("click",(function(n){return n.preventDefault(),d(t.find(".uix-controls__dynamic-fields__tmpl").html()),t.find(".uix-controls__dynamic-fields__removebtn").off("click").on("click",(function(t){t.preventDefault(),i.show(),e(this).closest(a).remove(),o--})),!1})),t.data("activated",1)}}))}))}}(jQuery);!function(e,t,i,n){null!==i.FORM&&(e.FORM=e.FORM||{},e.FORM.version="0.1.8",e.FORM.documentReady=function(e){e(n).UixRenderCustomSelect(),e(n).UixRenderCustomRadioCheckbox(),e(n).UixRenderControlsLineEff(),e(n).UixRenderControlsDisable(),e(n).UixRenderCustomFile(),e(n).UixRenderCustomFileDropzone(),e(n).UixRenderControlsHover(),e(n).UixRenderCustomMultiSel(),e(n).UixRenderCustomSingleSel(),e(n).UixRenderNormalRadio(),e(n).UixRenderDatePicker(),e(n).UixRenderTagInput(),e(n).UixRenderDynamicFields(),e(n).UixRenderNumberInput(),e(".uix-search-box__submit").off("click").on("click",(function(){e(this).closest("form").submit()}))},e.components.documentReady.push(e.FORM.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.GALLERY&&(e.GALLERY=e.GALLERY||{},e.GALLERY.version="0.0.5",e.GALLERY.documentReady=function(e){e(".uix-gallery").each((function(){var t=e(this).data("show-type");if(t.indexOf("masonry")>=0&&(e(this).addClass("masonry-container"),e(this).find(".uix-gallery__item").addClass("masonry-item")),t.indexOf("filter")>=0&&(e(this).addClass("filter-container"),e(this).find(".uix-gallery__item").addClass("filter-item")),t.indexOf("filter")>=0||t.indexOf("masonry")>=0){var i=e(this).data("filter-id"),n=e(this).find(".uix-gallery__tiles"),a=(e(this).find(".uix-gallery__item"),e(i)),r=new Muuri(n.get(0),{items:n.get(0).querySelectorAll(".uix-gallery__item"),showDuration:300,showEasing:"ease",hideDuration:300,hideEasing:"ease",visibleStyles:{opacity:"1",transform:"scale(1)"},hiddenStyles:{opacity:"0",transform:"scale(0.5)"},layout:{fillGaps:!1,horizontal:!1,alignRight:!1,alignBottom:!1,rounding:!0},layoutOnResize:100,layoutOnInit:!0,layoutDuration:300,layoutEasing:"ease",dragEnabled:!1});n.waitForImages().done((function(){r.refreshItems().layout(),e("body").addClass("images-loaded")})),t.indexOf("filter")>=0?a.find("li > a").off("click").on("click",(function(){var t=e(this),i="current-cat",n=t.parent().hasClass(i),o=n?"all":t.data("group");n||a.find(".current-cat").removeClass(i),t.parent().toggleClass(i);var s=o;return r.filter((function(e){var t=e.getElement().getAttribute("data-groups").toString().replace(/^\,|\,$/g,"").replace(/^\[|\]$/g,"")+",all";return!s||(t||"").indexOf(s)>-1})),!1})):a.find('[data-group="all"]').parent("li").remove()}}))},e.components.documentReady.push(e.GALLERY.documentReady))}(s,jQuery,window,document);function De(e){return De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},De(e)}!function(e,t,i,n){null!==i.HYBRID_CONTENT_SLIDER&&(e.HYBRID_CONTENT_SLIDER=e.HYBRID_CONTENT_SLIDER||{},e.HYBRID_CONTENT_SLIDER.version="0.1.1",e.HYBRID_CONTENT_SLIDER.pageLoaded=function(){t(".uix-hybrid-content-slider").each((function(){var e=t(this),i=e.find(".uix-hybrid-content-slider__items"),n=e.find(".uix-hybrid-content-slider__items > div"),a=n.length,r=e.data("dir"),o=e.data("speed"),s=e.data("next"),l=e.data("prev"),d=e.data("pagination"),u=e.data("draggable"),c=e.data("draggable-cursor");"undefined"===De(r)&&(r="horizontal"),"undefined"===De(o)&&(o=250),"undefined"===De(s)&&(s="#uix-hybrid-content-slider__controls-123 .uix-hybrid-content-slider__controls--next"),"undefined"===De(l)&&(l="#uix-hybrid-content-slider__controls-123 .uix-hybrid-content-slider__controls--prev"),"undefined"===De(d)&&(d="#uix-hybrid-content-slider__pagination-123"),"undefined"===De(u)&&(u=!1),"undefined"===De(c)&&(c="move");var f,p=e.data("auto"),h=e.data("timing"),m=e.data("loop");"undefined"===De(p)&&(p=!1),"undefined"===De(h)&&(h=1e4),"undefined"===De(m)&&(m=!1),e[0].animatedSlides;var v,g=[],y=[];n.each((function(e){var i=t(this).height();y.push(i),t(this).attr({"data-height":i,"data-index":e})}));for(var x=0,E=0;E<y.length&&(x+=y[E],E+1!=a-1);E++);Y(t(s),t(l),"init",null),U(0),n.addClass("js-is-ready"),B(0);var T=i.width()/1;v=e.width()/1,"horizontal"===r&&i.css("width",a*T),function(){if("horizontal"===r){var e=v;TweenMax.set(n,{width:e,height:function(e,t){return y[e]},x:function(t,i){return t*e}})}else TweenMax.set(n,{height:function(e,t){return y[e]},y:function(e,t){for(var i=0,n=0;n<y.length;n++){if(i+="undefined"===De(y[n-1])?0:y[n-1],n==e)break}return i}})}(),t(l).addClass("is-disabled").data("disabled",1);var b=t(l),_=t(s);function w(){if("true"==b.attr("aria-disabled"))return!1;b.attr("aria-disabled","true"),b.delay(o).queue((function(e){b.attr("aria-disabled","false"),e()})),j(!1,b,"prev"),clearInterval(e[0].animatedSlides)}function S(){if("true"==_.attr("aria-disabled"))return!1;_.attr("aria-disabled","true"),_.delay(o).queue((function(e){_.attr("aria-disabled","false"),e()})),j(!1,_,"next"),clearInterval(e[0].animatedSlides)}if(_.off("click").on("click",e,(function(e){e.preventDefault(),S()})),b.off("click").on("click",e,(function(e){e.preventDefault(),w()})),t(d).length>0&&0==t(d).html().length){var C="";C+='<ul class="uix-hybrid-content-slider__pagination--default">';for(var R=0;R<a;R++)C+='<li><a data-target-index="'+R+'" href="javascript:void(0);"></a></li>';C+="</ul>",t(d).html(C).promise().done((function(){G(0)}))}else G(0);t(d).find("li a").off("click").on("click",e,(function(i){if(i.preventDefault(),"true"==t(this).attr("aria-disabled"))return!1;t(d).find("li a").attr("aria-disabled","true"),t(d).find("li a").delay(o).queue((function(e){t(d).find("li a").attr("aria-disabled","false"),e()})),t(this).parent().hasClass("is-active")||(j(!0,t(this),"next"),clearInterval(e[0].animatedSlides))}));var M,L=e,A={};u&&""!=c&&0!=c&&L.css("cursor",c),u||(A={inputClass:Hammer.TouchInput});var O=L[0],D=new Hammer(O,A),P=!0,I=0,H=y.toString();if(D.get("pan").set({direction:Hammer.DIRECTION_ALL}),D.on("press panright panleft panup pandown",(function(n){switch(M=n.type,"undefined"===De(I=t(n.target).data("index"))&&(I=t(n.target).closest(".uix-hybrid-content-slider__item").data("index")),"undefined"===De(I)&&(I=t(n.target).find(".uix-hybrid-content-slider__item").data("index")),M){case"panleft":case"panup":I+=1;break;case"panright":case"pandown":I=I}var o=!1,d="horizontal"===r?i.find('[data-index="0"]')[0]._gsTransform.x:i.find('[data-index="0"]')[0]._gsTransform.y;if(("panright"==M||"pandown"==M)&&d>=0&&(o=!0),("panleft"==M||"panup"==M)&&d<=("horizontal"===r?-v*(a-1):-x)&&(o=!0),"horizontal"===r)switch(M){case"panleft":if(n.deltaX>-v/4&&n.deltaX<0){P=!1;var u=t(s);z(e,u,n.deltaX,.1,!0,I,H)}else P=!o;break;case"panright":if(n.deltaX<v/4&&n.deltaX>0){P=!1;var c=t(l);z(e,c,n.deltaX,.1,!0,I,H)}else P=!o}else{var f="undefined"===De(H.split(",")[I-1])?H.split(",")[I]:H.split(",")[I-1];switch(M){case"panup":if(n.deltaY>-f/4&&n.deltaY<0){P=!1;var p=t(s);z(e,p,n.deltaY,.1,!0,I,H)}else P=!o;break;case"pandown":if(n.deltaY<f/4&&n.deltaY>0){P=!1;var h=t(l);z(e,h,n.deltaY,.1,!0,I,H)}else P=!o}}})),D.on("panend",(function(t){if(P)if("horizontal"===r)switch(M){case"panleft":S();break;case"panright":w()}else switch(M){case"panup":S();break;case"pandown":w()}else z(e,!1,g,null,!1,I,H);clearInterval(e[0].animatedSlides)})),p&&!isNaN(parseFloat(h))&&isFinite(h)){F(f,h,m);var k=function(){clearInterval(e[0].animatedSlides)},N=function(){F(f,h,m)};e.on("mouseenter",k),e.on("mouseleave",N),Modernizr.touchevents&&(e.on("pointerenter",k),e.on("pointerleave",N))}function F(t,i,o){e[0].animatedSlides=setInterval((function(){var i=function(t){for(var i=v*t,n=0,a=0;a<y.length;a++){if(n+="undefined"===De(y[a-1])?0:y[a-1],a==t)break}z(e,"auto","horizontal"===r?-i:-n,null,!1,t,y)};t=parseFloat(n.filter(".is-active").index()),t++,o?(t==a&&(t=0),t<0&&(t=a-1),i(t)):t<a&&t>=0&&i(t)}),i)}function z(e,i,n,d,u,c,f){null==d&&(d=o/1e3);var p=e.children(".uix-hybrid-content-slider__items").find("> div"),h=[];f.toString().split(",").forEach((function(e){h.push(parseFloat(e))}));var m="init";if(!1!==i&&"auto"!==i&&(m="undefined"!==De(i.attr("class"))?i.attr("class").indexOf("--next")>=0?"next":"prev":"next"),"auto"===i&&(m="next"),"horizontal"===r){var y=v;TweenMax.to(p,d,{x:function(e,t){for(var i=0,r=0;r<a;r++){if(i+=0==r?0:y,r==e)break}if(Array.isArray(n))return 0==n.length?i:n[e];if(u){var o=Math.round(t._gsTransform.x/y)*y;return o+n}for(var s=0,l=0;l<a;l++){if(s+=0==l?0:y,l==("next"==m?c:c-1))break}return i+-s},onComplete:function(){if(!u&&!Array.isArray(n)){var e;X(Math.round(p.first()[0]._gsTransform.x),Math.round((p.length-1)*y)),U(e=Math.round(p.first()[0]._gsTransform.x/y)),Y(t(s),t(l),m,"next"==m?Math.abs(e):Math.abs(e)+1),G(Math.abs(e)),B(Math.abs(e)),g=W()}}})}else TweenMax.to(p,d,{y:function(e,t){for(var i=0,a=0;a<h.length;a++){if(i+="undefined"===De(h[a-1])?0:h[a-1],a==e)break}if(Array.isArray(n))return 0==n.length?i:n[e];if(u){var r="undefined"===De(h[c-1])?h[c]:h[c-1],o=Math.round(t._gsTransform.y/r)*r;return o+n}for(var s=0,l=0;l<h.length;l++){if(s+="undefined"===De(h[l-1])?0:h[l-1],l==("next"==m?c:c-1))break}return i+-s},onComplete:function(){u||Array.isArray(n)||(X(p.first()[0]._gsTransform.y,x),Y(t(s),t(l),m,c),U("next"==m?c:c-1),G("next"==m?c:c-1),B("next"==m?c:c-1),g=W())}})}function j(t,i,n){var a,o=i.data("disabled"),s=parseFloat(i.attr("data-target-index")),l=v,d="undefined"===De(y[s-1])?0:y[s-1];if(t){l=v*s;for(var u=0,c=0;c<y.length;c++){if(u+="undefined"===De(y[c-1])?0:y[c-1],c==s)break}d=u}a="next"==n?"horizontal"===r?-l:-d:"horizontal"===r?l:d,"undefined"===De(o)&&z(e,i,a,null,!1,s,y)}function G(e){t(d).find("li").removeClass("is-active"),t(d).find('li a[data-target-index="'+e+'"]').parent().addClass("is-active")}function B(e){n.removeClass("is-active"),n.eq(e).addClass("is-active")}function W(){var e=[];return n.each((function(){e.push("horizontal"===r?t(this)[0]._gsTransform.x:t(this)[0]._gsTransform.y)})),e}function U(e){"undefined"!==De(y[Math.abs(e)])&&TweenMax.to(i,.2,{height:y[Math.abs(e)]})}function Y(e,t,i,n){switch(i){case"init":e.attr({"data-target-index":1}),t.attr({"data-target-index":0});break;case"next":var a=parseFloat(e.attr("data-target-index")),r=parseFloat(t.attr("data-target-index"));null!=n&&(a=n,r=n-1),e.attr({"data-target-index":a+1}),t.attr({"data-target-index":r+1});break;case"prev":var o=parseFloat(e.attr("data-target-index"))-1,s=parseFloat(t.attr("data-target-index"))-1;null!=n&&(o=n,s=n-1),e.attr({"data-target-index":o}),t.attr({"data-target-index":s})}}function X(e,i){Math.abs(e)==i?(t(s).addClass("is-disabled").data("disabled",1),t(l).removeClass("is-disabled").removeData("disabled")):0==Math.round(e)?(t(s).removeClass("is-disabled").removeData("disabled"),t(l).addClass("is-disabled").data("disabled",1)):(t(s).removeClass("is-disabled").removeData("disabled"),t(l).removeClass("is-disabled").removeData("disabled"))}}))},e.components.pageLoaded.push(e.HYBRID_CONTENT_SLIDER.pageLoaded))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.HOVER_DELAY_INTERACTION&&(e.HOVER_DELAY_INTERACTION=e.HOVER_DELAY_INTERACTION||{},e.HOVER_DELAY_INTERACTION.version="0.0.1",e.HOVER_DELAY_INTERACTION.documentReady=function(e){e(".uix-hover-delay-el").on("mouseover",(function(){var t=e(this);t.prop("hoverTimeout")&&t.prop("hoverTimeout",clearTimeout(t.prop("hoverTimeout"))),t.prop("hoverIntent",setTimeout((function(){t.find("> div").html("Okay!")}),250))})).on("mouseleave",(function(){var t=e(this);t.prop("hoverIntent")&&t.prop("hoverIntent",clearTimeout(t.prop("hoverIntent"))),t.prop("hoverTimeout",setTimeout((function(){t.find("> div").html("Touch Me")}),250))}))},e.components.documentReady.push(e.HOVER_DELAY_INTERACTION.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.IMAGE_SHAPES&&(e.IMAGE_SHAPES=e.IMAGE_SHAPES||{},e.IMAGE_SHAPES.version="0.0.2",e.IMAGE_SHAPES.documentReady=function(e){var t=i.innerWidth;i.innerHeight;a(t);var n=f((function(){i.innerWidth!=t&&a(t=i.innerWidth)}),50);function a(t){e(".uix-shape-img").each((function(){var i=e(this),n="uix-shape-img-"+l.create(),a=i.data("path"),r=parseFloat(i.data("svg-const-width")),o=parseFloat(i.data("svg-const-height")),s=r/o,d=i.find("img").attr("src"),u=parseFloat(i.data("img-width")),c=null,f="",p=u,h=null;u>t&&(u=t);var m=new Image;m.onload=function(){h=i.find("img").height(),p=i.find("img").width(),f+='<svg fill-rule="evenodd" clip-rule="evenodd" width="'+u+'px" height="'+(c=u/s)+'px" viewBox="0 0 '+u+" "+c+'" >',f+='\t<pattern id="'+n+'" patternUnits="userSpaceOnUse" width="'+r+'" height="'+o+'">',f+='\t\t  <image xlink:href="'+d+'" width="'+r+'px" height="'+r/(p/h)+'px" x="0" y="0" />',f+="\t</pattern> ",f+='\t<path fill="url(#'+n+')" transform="scale('+u/r+')" d="'+a+'"/>',f+="</svg>",i.addClass("is-active").html(f)},m.src=d}))}i.removeEventListener("resize",n),i.addEventListener("resize",n)},e.components.documentReady.push(e.IMAGE_SHAPES.documentReady))}(s,jQuery,window,document);function Pe(e){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pe(e)}!function(e,t,i,n){null!==i.INFINITE_SCROLLING_EL&&(e.INFINITE_SCROLLING_EL=e.INFINITE_SCROLLING_EL||{},e.INFINITE_SCROLLING_EL.version="0.0.3",e.INFINITE_SCROLLING_EL.documentReady=function(e){e(".uix-infinite-scrolling").each((function(){var t=e(this),i=t.data("speed"),n=t.data("gap");"undefined"===Pe(i)&&(i=3e3),"undefined"===Pe(n)&&(n=20);var a=t[0],r=a.clientWidth,o=a.firstElementChild,s=o.children.length,l=[];Array.prototype.forEach.call(o.children,(function(e,t){l.push(e.clientWidth+n)}));for(var d=l.reduce((function(e,t,i,n){return e+t})),u=Math.ceil(r/d),c=0;c<u;c++){var f=o.cloneNode(!0).querySelectorAll("li");Array.prototype.some.call(f,(function(e,t){if(o.appendChild(e),t===s-1)return!0}))}var p=a.getElementsByTagName("li"),h=[],m=[];Array.prototype.forEach.call(p,(function(e,t){h.push(e.clientWidth+n)})),m.push(0,h[0]);var v=h.reduce((function(e,t,i,n){var a=e+t;return m.push(a),a}));m.pop(),TweenMax.set(p,{x:function(e){return m[e]}});var g=new TimelineMax({repeat:-1,paused:!0});g.to(p,i/1e3,{ease:Linear.easeNone,x:"-="+d,modifiers:{x:function(e,t){return e%v}}}).progress(1).progress(0).play(),t.on("mouseenter",(function(){g.pause()})).on("mouseleave",(function(){g.play()}))}))},e.components.documentReady.push(e.INFINITE_SCROLLING_EL.documentReady))}(s,jQuery,window,document);(function(e,t,i,n){null!==i.LAVA_LAMP_STYLE_MENU&&(e.LAVA_LAMP_STYLE_MENU=e.LAVA_LAMP_STYLE_MENU||{},e.LAVA_LAMP_STYLE_MENU.version="0.0.3",e.LAVA_LAMP_STYLE_MENU.documentReady=function(e){var t=e(".uix-lavalamp-menu__container"),i="ul.uix-lavalamp-menu",n=i+" .uix-lavalamp-menu__slide-line";if(0==t.length)return!1;function a(t){var a=e(i+" > li").eq(t).find("a"),r=a.offset(),o=e(".uix-lavalamp-menu__container").offset();e(i+" > li").removeClass("is-active"),a.parent().addClass("is-active"),TweenMax.to(n,1,{css:{width:parseFloat(a.outerWidth()+0)+"px",x:r.left-o.left+"px"},ease:Elastic.easeOut.config(1,.5)})}e(i).append('<span class="uix-lavalamp-menu__slide-line"></span>'),TweenMax.set(n,{css:{width:0,x:0,y:0}}),e(i+" > li a").on("mouseover",(function(){a(e(this).parent().index())})),a(0)},e.components.documentReady.push(e.LAVA_LAMP_STYLE_MENU.documentReady))})(s,jQuery,window,document),i(111);function Ie(e){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(e)}!function(e,t,i,n){null!==i.LIGHTBOX&&(e.LIGHTBOX=e.LIGHTBOX||{},e.LIGHTBOX.version="0.2.2",e.LIGHTBOX.pageLoaded=function(){0==t(".uix-lightbox__container").length&&t("body").prepend('<div class="uix-lightbox__loading is-loaded uix-t-c"><i class="fa fa-spinner fa-spin"></i> Loading...</div><a class="uix-lightbox__original__close" href="javascript:void(0);"></a><div class="uix-lightbox__container"><div class="uix-lightbox__inner"><div class="uix-lightbox__html"></div><p class="title"></p></div></div><div class="uix-lightbox__container-mask"></div><div class="uix-lightbox__close"><button type="button"></button></div>'),t("template").each((function(){var e=t(this).html((function(e,t){return t.replace(/[\r\n]/g,"")})).context.innerHTML,i=t(this).attr("id");"undefined"!==Ie(i)&&!t("body").hasClass(i)&&t("<div>"+e+"</div>").find('[role="dialog"]').length>0&&(t(this).removeAttr("id"),t("body").addClass(i),t(e.replace(/role=[\'\"]dialog[\'\"]/,'role="dialog" id="'+i+'"')).appendTo("body"))}));var e=".uix-lightbox__inner",a=".uix-lightbox__container",r=".uix-lightbox__loading",o=".uix-lightbox__container-mask",s=".uix-lightbox__close",d=".uix-lightbox__original__close",u=i.location.href,c=t(e).find(".uix-lightbox__html"),f=1e3;function p(e,n){var a=n.closest(".uix-lightbox__html").find(".uix-lightbox__photo-container.uix-lightbox__photo-sets-container"),o=n.closest(".uix-lightbox__html").find(".uix-lightbox__thumb-container li");o.removeClass("is-active"),n.addClass("is-active"),TweenMax.set(a.find("li"),{css:{display:"none",opacity:0},onComplete:function(){t(this.target).removeClass("is-active")}}),TweenMax.set(a.find("li").eq(e),{css:{display:"block",opacity:0},onComplete:function(){var o=this.target;t(o).addClass("is-active");var s=new Image;s.src=a.find("li").eq(e).find("img").attr("src"),s.onload=function(){t(r).addClass("is-loaded"),TweenMax.set(n.closest(".uix-lightbox__html"),{css:{display:"block"},onComplete:function(){TweenMax.to(this.target,.5,{alpha:1})}});var s,l=i.innerWidth-30,d=this.width,u=this.height,c=d>f?f:d;c>l&&(c=l),(s=c*(u/d))>i.innerHeight&&(s=.95*i.innerHeight),a.css({height:s+"px"}).find("img").css({height:s+"px"});var p=a.find("li").eq(e).find(".uix-lightbox__original__target");u>i.innerHeight?p.addClass("uix-lightbox__original__target--imgfull"):p.removeClass("uix-lightbox__original__target--imgfull"),TweenMax.to(o,.5,{alpha:1})}}})}function h(i){t(a).hasClass("js-uix-ajax")&&history.pushState(null,null,i),t(a).removeClass("js-uix-no-fixed js-uix-ajax"),t(s).removeClass("is-active"),t("html").css("overflow-y","auto"),t(e).removeClass("js-uix-custom js-uix-pure-image"),t(a).hide(),t(o).hide(),t.scrollLock(!1),t("body").removeClass("scrollLock")}i.addEventListener("popstate",(function(e){var i=null;t("[data-lb-ajax]").each((function(){var e=decodeURIComponent(n.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent("uix-lightbox-ajaxURL").replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;t(this).attr("href")===e&&(i=this)}));var a=t(i).data("lb-ajax-doc-url");"undefined"!=Ie(a)&&h(a)})),t(n).off("click.LIGHTBOX_TRIGGER").on("click.LIGHTBOX_TRIGGER",".uix-lightbox__trigger",(function(){var d=t(this),p=d.data("lb-src"),h=d.data("lb-html"),m=d.data("lb-fixed"),v=d.data("lb-mask-close"),g=d.data("lb-ajax"),y="",x="",E="";"undefined"===Ie(m)&&(m=!0),"undefined"===Ie(v)&&(v=!1),"undefined"===Ie(g)&&(g=!1),g&&(t(a).addClass("js-uix-ajax"),"undefined"===Ie(d.data("lb-ajax-doc-url"))&&d.data("lb-ajax-doc-url",u)),t(r).removeClass("is-loaded"),t(a).css("margin-top",0),m||(t(a).addClass("js-uix-no-fixed"),t(s).addClass("is-active"),t(a).css("margin-top",t(i).scrollTop()+"px")),t(e).removeClass("js-uix-custom js-uix-pure-image"),t(a).hasClass("js-uix-no-fixed")||(t.scrollLock(!0),t("body").addClass("scrollLock"));var T=function(){t(s).addClass("is-active"),t(a).show(),t(o).show(),t(e).show()},b=function(){TweenMax.set(c,{css:{display:"block"},onComplete:function(){TweenMax.to(this.target,.5,{alpha:1})}})};if(TweenMax.set(c,{css:{display:"none"}}),"undefined"!=Ie(p)&&""!=p){if(T(),x=p.indexOf("[")>=0&&p.indexOf("]")>=0?JSON.parse(p.replace(/([a-zA-Z0-9]+?):/g,'"$1":').replace(/'/g,'"')):p,"[object Array]"==Object.prototype.toString.call(x)){var _="",w="";E=x[0].large,_+='<div class="uix-lightbox__photo-container uix-lightbox__photo-sets-container"><a href="javascript:" class="uix-lightbox__photo-sets__prev"></a><a href="javascript:" class="uix-lightbox__photo-sets__next"></a><ul>';for(var S=0;S<x.length;S++){var C="lightbox-"+l.create();_+="<li>",_+='\t<a class="uix-lightbox__original__link" data-target-id="'+C+"-sets-"+S+'" href="javascript:void(0);">',_+='\t   <img src="'+x[S].large+'" alt="">',_+="\t</a>",_+='\t<div class="uix-lightbox__original__target" id="'+C+"-sets-"+S+'">',_+='\t   <img src="'+x[S].large+'" alt="">',_+="\t</div>",_+="</li>"}_+="</ul></div>",w+='<div class="uix-lightbox__thumb-container"><ul>';for(var R=0;R<x.length;R++){w+="<li "+(0==R?'class="is-active"':"")+'><img src="'+x[R].thumb+'" alt=""></li>'}y=_+(w+="</ul></div>")}else{var M="lightbox-"+l.create();E=x,y+='<div class="uix-lightbox__photo-container">',y+='\t<a class="uix-lightbox__original__link" data-target-id="'+M+'" href="javascript:void(0);">',y+='\t   <img src="'+x+'" alt="">',y+="\t</a>",y+='\t<div class="uix-lightbox__original__target" id="'+M+'">',y+='\t   <img src="'+x+'" alt="">',y+="\t</div>",y+="</div>"}c.html(y).promise().done((function(){t(e).addClass("js-uix-pure-image");var n=new Image;n.src=E,n.onload=function(){t(r).addClass("is-loaded"),b();var n,a=i.innerWidth-30,o=this.width,s=this.height,l=o/s,d=o>f?f:o;d>a&&(d=a),(n=d*(s/o))>i.innerHeight&&(n=.95*i.innerHeight),t(e).css({width:d+"px"}),t(".uix-lightbox__photo-container.uix-lightbox__photo-sets-container").css({height:n+"px"}),c.find(".uix-lightbox__photo-sets-container ul > li img").css({height:n+"px"}),t("body").hasClass("rtl")?c.find(".uix-lightbox__photo-sets-container").css({width:"calc("+n*l+"px + 6rem)","margin-right":"-3rem"}):c.find(".uix-lightbox__photo-sets-container").css({width:"calc("+n*l+"px + 6rem)","margin-left":"-3rem"});var u=t(".uix-lightbox__photo-container > .uix-lightbox__original__target");s>i.innerHeight?u.addClass("uix-lightbox__original__target--imgfull"):u.removeClass("uix-lightbox__original__target--imgfull")},t(e).find("> .uix-lightbox__html").removeClass("js-uix-no-img")}))}if("undefined"!=Ie(h)&&""!=h){h=h.replace("#","");var L=t("#"+h).find(".uix-lightbox__content > div");T();var A=function(){t(r).addClass("is-loaded"),t(e).addClass("js-uix-custom"),t(e).find("> .uix-lightbox__html .uix-lightbox__content").length>0&&(i.innerWidth<=768?t(e).css("width",i.innerWidth-10+"px"):t(e).css("width",t(e).find("> .uix-lightbox__html .uix-lightbox__content").width()+"px"),t(e).find("> .uix-lightbox__html").addClass("js-uix-no-img"))};if(t(a).hasClass("js-uix-ajax")){var O=d.attr("href"),D=g;history.pushState?history.pushState(null,null,O):location.hash=O,n.cookie="uix-lightbox-ajaxURL="+O;var P=axios.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),I=new FormData,H={action:"load_singlepages_ajax_content"};for(var k in H)I.append(k,H[k]);axios({timeout:15e3,method:D.method,url:O,data:I,responseType:"text"}).then((function(e){var i=e.data;L.html(t(i).find(g.target).html()).promise().done((function(){c.html(t("#"+h).html()).promise().done((function(){t(n).UixApplyAsyncScripts({lightBox:!1,ajaxPostList:!1}),b(),A()}))}))})).catch((function(e){if(e.response){var t=e.response.status;console.log(t),404!=t&&405!=t||(i.location.href=O)}else e.request?(console.log(e.request),i.location.href=O):console.log(e.message)})),axios.interceptors.request.eject(P)}else b(),c.html(t("#"+h).html()).promise().done((function(){A()}))}return!1})),t(n).off("click.LIGHTBOX_CLOSE").on("click.LIGHTBOX_CLOSE",s+","+o,(function(){h(u)})),t(n).off("click.LIGHTBOX_THUMB").on("click.LIGHTBOX_THUMB",".uix-lightbox__thumb-container li",(function(){p(t(this).index(),t(this))})),t(n).off("click.LIGHTBOX_PHOTO_SETS").on("click.LIGHTBOX_PHOTO_SETS",".uix-lightbox__photo-sets-container > a",(function(){t(this).closest(".uix-lightbox__html").find(".uix-lightbox__photo-container.uix-lightbox__photo-sets-container");var e=t(this).closest(".uix-lightbox__html").find(".uix-lightbox__thumb-container li"),i=e.length,n=e.filter(".is-active").index(),a=n-1,r=n+1;a<0&&(a=i-1),r>i-1&&(r=0),t(this).hasClass("uix-lightbox__photo-sets__prev")&&p(a,e.eq(a)),t(this).hasClass("uix-lightbox__photo-sets__next")&&p(r,e.eq(r))})),i.innerWidth>768&&(t(n).off("click.LIGHTBOX_ORGINAL_LINK").on("click.LIGHTBOX_ORGINAL_LINK",".uix-lightbox__original__link",(function(e){t(".uix-lightbox__original__target#"+t(this).data("target-id")).addClass("is-active"),t(this).closest(".uix-lightbox__container.js-uix-no-fixed").length>0&&t(".uix-lightbox__container.js-uix-no-fixed, .uix-lightbox__original__target--imgfull").addClass("no-fixed-imgEnlarged"),t("html").css("overflow-y","hidden"),t(d).addClass("is-active")})),t(n).off("click.LIGHTBOX_LARGE_IMG_CLOSE").on("click.LIGHTBOX_LARGE_IMG_CLOSE",d,(function(e){t(".uix-lightbox__original__target").removeClass("is-active"),t(".uix-lightbox__container.js-uix-no-fixed, .uix-lightbox__original__target--imgfull").removeClass("no-fixed-imgEnlarged"),t(this).removeClass("is-active"),t("html").css("overflow-y","auto")})))},e.components.pageLoaded.push(e.LIGHTBOX.pageLoaded))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.BULLETED_LIST&&(e.BULLETED_LIST=e.BULLETED_LIST||{},e.BULLETED_LIST.version="0.0.1",e.BULLETED_LIST.documentReady=function(e){e("[data-list-bullet]").each((function(){var t=e(this).attr("data-list-bullet");e(this).find("li").prepend('<i class="'+t+'" aria-hidden="true"></i>')}))},e.components.documentReady.push(e.BULLETED_LIST.documentReady))}(s,jQuery,window,document);function He(e){return He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},He(e)}!function(e,t,i,n){null!==i.POST_LIST_AJAX&&(e.POST_LIST_AJAX=e.POST_LIST_AJAX||{},e.POST_LIST_AJAX.version="0.1.9",e.POST_LIST_AJAX.documentReady=function(e){function t(t,i,a,r,o,s,l,d,u,c,f,p,h){var m=t,v=n.getElementById(l).innerHTML;if(m.hasClass("js-ajax-comments")){var g=v;Template7.registerPartial("comments",g),v='{{> "comments"}}'}var y=Template7.compile(v),x=e(a),E=function(){x.addClass("is-hide"),m.after(h.none)},T=axios.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),b=new FormData;for(var _ in i)b.append(_,i[_]);axios({timeout:15e3,method:f,url:d,data:b,responseType:"json"}).then((function(t){var i=t.data;if((i&&(null==i||"[object String]"==Object.prototype.toString.call(i.items))||i&&(null==i||"[object String]"==Object.prototype.toString.call(i.comments)))&&E(),i&&i.hasOwnProperty("items")&&"[object Array]"==Object.prototype.toString.call(i.items)||i&&i.hasOwnProperty("comments")&&"[object Array]"==Object.prototype.toString.call(i.comments))try{var a=y(i),s=m.find(c).html(),l=null;"before"==p&&(l=e(s+a),m.find(c).before(l)),"html"==p&&(l=e(a),m.find(c).html(l)),"append"==p&&m.find(c).append(a),e(n).UixApplyAsyncScripts({ajaxPostList:!1}),x.removeClass(u),r==o&&9999!=o&&-1!=o&&1!=o&&E()}catch(e){console.log(e.message),x.addClass("is-hide"),m.after(h.error)}else E()})).catch((function(e){if(e.response){var t=e.response.status;console.log(t)}else e.request?(console.log(e.request),E()):console.log(e.message)})),axios.interceptors.request.eject(T)}e("[data-ajax-list-json]").each((function(){var n=e(this),a="refresh-all-waypoint-"+l.create(),r=n.data("ajax-list-page-now"),o=r,s=n.data("ajax-list-page-per"),d=n.data("ajax-list-page-total"),u=n.data("ajax-list-method"),f=n.data("ajax-list-trigger"),p=n.data("ajax-list-infinitescroll"),h=n.data("ajax-list-json"),m=n.data("ajax-list-render"),v=n.data("ajax-list-temp-id"),g=n.data("ajax-list-push-container-class"),y=n.data("ajax-list-trigger-active-class"),x=n.data("ajax-list-page-parm-str"),E=n.data("ajax-list-none-info");n.attr("id",a),"undefined"===He(x)&&(x={totalPage:"total",currentPage:"page",displayPerPage:"per"}),"undefined"===He(r)&&(r=1),"undefined"===He(s)&&(s=8),"undefined"===He(d)&&(d=3),"undefined"!=He(d)&&"-1"==d&&(d=9999),"undefined"===He(f)&&(f=".uix-load-more"),"undefined"===He(p)&&(p=!1),"undefined"===He(m)&&(m="before"),"undefined"===He(h)&&(h=""),"undefined"===He(v)&&(v=""),"undefined"===He(y)&&(y="is-waiting"),"undefined"===He(u)&&(u="POST"),"undefined"===He(E)&&(E='{"none":"","error":""}'),y=y.replace(".",""),"undefined"===He(g)&&(g=".uix-ajax-items__container",0==n.find(g).length&&e("#"+v).after('<div class="uix-ajax-items__container"></div>'));var T=n.attr(),b="",_="";if(e.each(T,(function(e,t){e.indexOf("data-ajax-list-field-")>=0&&(_+='"'+e.replace("data-ajax-list-field-","")+'": "'+t+'", ')})),_=_.replace(/,\s*$/,""),""!=h&&""!=v)if(2==r&&(b=""!=_?JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": 1, '+_+" }"):JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": 1 }'),t(n,b,e(f),r,d,s,v,h,y,g,u,m,E)),p){var w=e(f);w.offset().top;w.attr("data-cur-page",o),1==d&&w.addClass("is-hide");var S=c((function(){if(parseFloat(w[0].getBoundingClientRect().top+w.outerHeight(!0))<i.innerHeight&&!w.hasClass(y)){w.addClass(y);var e=w.attr("data-cur-page");if(e=parseFloat(e)+1,w.attr("data-cur-page",e),e==d+1)return!1;b=""!=_?JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": '+e+", "+_+" }"):JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": '+e+" }"),t(n,b,w,e,d,s,v,h,y,g,u,m,E)}}),5);i.removeEventListener("scroll",S),i.removeEventListener("touchmove",S),i.addEventListener("scroll",S),i.addEventListener("touchmove",S),S()}else{var C="";if(C=f.indexOf("[")>=0&&f.indexOf("]")>=0?JSON.parse(f.replace(/([a-zA-Z0-9]+?):/g,'"$1":').replace(/'/g,'"')):f,"[object Array]"==Object.prototype.toString.call(C)){var R=C[0].prev,M=C[1].next;e(M).parent().attr("data-cur-page",o),1==d&&e(M).addClass("is-hide"),e(M).off("click").on("click",(function(i){i.preventDefault();var a=e(this),r=a.parent().attr("data-cur-page");return r=parseFloat(r)+1,a.parent().attr("data-cur-page",r),e(R).removeClass(y),e(M).removeClass(y),e(R).removeClass("is-hide"),a.addClass(y),b=""!=_?JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": '+r+", "+_+" }"):JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": '+r+" }"),t(n,b,a,r,d,s,v,h,y,g,u,m,E),!1})),e(R).addClass("is-hide"),e(R).off("click").on("click",(function(i){i.preventDefault();var a=e(this),r=a.parent().attr("data-cur-page");return r=parseFloat(r)-1,a.parent().attr("data-cur-page",r),e(R).removeClass(y),e(M).removeClass(y),e(M).removeClass("is-hide"),a.addClass(y),b=""!=_?JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": '+r+", "+_+" }"):JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": '+r+" }"),t(n,b,a,r,d,s,v,h,y,g,u,m,E),!1}))}else e(f).attr("data-cur-page",o),1==d&&e(f).addClass("is-hide"),e(f).off("click.POST_LIST_AJAX").on("click.POST_LIST_AJAX",(function(i){i.preventDefault();var a=e(this),r=a.attr("data-cur-page");return r=parseFloat(r)+1,a.attr("data-cur-page",r),a.addClass(y),b=""!=_?JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": '+r+", "+_+" }"):JSON.parse('{ "'+x.totalPage+'": '+d+', "'+x.displayPerPage+'": '+s+', "'+x.currentPage+'": '+r+" }"),t(n,b,a,r,d,s,v,h,y,g,u,m,E),!1}))}}))},e.components.documentReady.push(e.POST_LIST_AJAX.documentReady))}(s,jQuery,window,document);function ke(e){return ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ke(e)}!function(e,t,i,n){null!==i.FULL_WIDTH_COLUMN_TO_EDGE&&(e.FULL_WIDTH_COLUMN_TO_EDGE=e.FULL_WIDTH_COLUMN_TO_EDGE||{},e.FULL_WIDTH_COLUMN_TO_EDGE.version="0.0.2",e.FULL_WIDTH_COLUMN_TO_EDGE.pageLoaded=function(){function e(e,n,a){var r=e.offset(),o=t(i).width()-r.left;if(a>768){if(e.css("width",o+15),"left"==n){var s=-(r.left+30);e.css("margin-left",s+"px")}}else e.css("width","inherit"),"left"==n&&e.css("margin-left","-15px")}t(".js-uix-fullwidth-column-to-edge--extend-right").each((function(){var n=t(this);"undefined"===ke(n.data("activated"))&&(e(t(this),"right",i.innerWidth),n.data("activated",1))})),t(".js-uix-fullwidth-column-to-edge--extend-left").each((function(){var n=t(this);"undefined"===ke(n.data("activated"))&&(e(t(this),"left",i.innerWidth),n.data("activated",1))}))},e.components.pageLoaded.push(e.FULL_WIDTH_COLUMN_TO_EDGE.pageLoaded))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.LOGIN_UI&&(e.LOGIN_UI=e.LOGIN_UI||{},e.LOGIN_UI.version="0.0.2",e.LOGIN_UI.documentReady=function(e){var t=e(".uix-special-login__toggle"),i=e(".uix-special-login__form");t.data("switched",!0).off("click").on("click",(function(t){t.preventDefault();var n=i.eq(0),a=i.eq(1);e(this).data("switched")?(e(this).data("switched",!1),TweenMax.set(a,{height:"auto"}),TweenMax.from(a,.5,{height:0}),TweenMax.to(n,.5,{height:0}),e(this).find("> span i").eq(0).hide(),e(this).find("> span i").eq(1).show()):(e(this).data("switched",!0),TweenMax.set(n,{height:"auto"}),TweenMax.from(n,.5,{height:0}),TweenMax.to(a,.5,{height:0}),e(this).find("> span i").eq(1).hide(),e(this).find("> span i").eq(0).show())}))},e.components.documentReady.push(e.LOGIN_UI.documentReady))}(s,jQuery,window,document);function Ne(e){return Ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ne(e)}function Fe(e){return Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fe(e)}!function(e){e.fn.UixFireModalDialog=function(t){var i=e.extend({id:"demo",height:!1,width:!1,speed:500,btn:!1,lightbox:!0,autoClose:!1,closeOnlyBtn:!1},t);this.each((function(){if(""==i.id)return!1;clearTimeout(window.setCloseModalDialog),0==e(".uix-modal-mask").length&&e("body").prepend('<div class="uix-modal-mask"></div>'),e.when(e(".uix-modal-mask").length>0).then((function(){i.closeOnlyBtn?e(".uix-modal-mask").addClass("js-uix-disabled"):e(".uix-modal-mask").removeClass("js-uix-disabled");var t=i.id,n=i.height,a=i.width,r=i.btn,o=i.autoClose,s=e(".uix-modal-box#"+t);r&&(r.attr("href","javascript:void(0)"),s.find(".uix-modal-box__content").addClass("js-uix-no-fullscreen"),r.data("video-win")&&s.find(".uix-modal-box__content > .uix-modal-box__body").css("overflow-y","hidden")),s.length>0&&(e.scrollLock(!0),e("body").addClass("scrollLock"),"undefined"!=Ne(n)&&""!=n&&n&&s.css({height:n}),"undefined"!=Ne(a)&&""!=a&&a&&s.css({width:a}),i.lightbox&&TweenMax.set(".uix-modal-mask",{css:{opacity:0,display:"none"},onComplete:function(){TweenMax.to(this.target,.3,{css:{opacity:1,display:"block"}})}}),s.addClass("is-active"),o&&!isNaN(o)&&(window.setCloseModalDialog=setTimeout((function(){e(document).closeModalDialog()}),o))),s.hasClass("is-fullscreen")&&setTimeout((function(){s.hasClass("is-video")?s.find(".uix-modal-box__content > .uix-modal-box__body").css("overflow-y","hidden"):s.find(".uix-modal-box__content > .uix-modal-box__body").css("overflow-y","scroll")}),i.speed)}))}))}}(jQuery),function(e){e.fn.UixCloseModalDialog=function(t){var i=e.extend({target:".uix-modal-box"},t);this.each((function(){e(".uix-modal-mask").removeClass("js-uix-disabled"),e(i.target).removeClass("is-active"),TweenMax.to(".uix-modal-mask",.3,{css:{opacity:0,display:"none"}}),e(i.target).find(".uix-modal-box__content").removeClass("js-uix-no-fullscreen"),e.scrollLock(!1),e("body").removeClass("scrollLock"),clearTimeout(window.setCloseModalDialog)}))}}(jQuery);!function(e,t,i,n){null!==i.MODAL_DIALOG&&(e.MODAL_DIALOG=e.MODAL_DIALOG||{},e.MODAL_DIALOG.version="0.1.8",e.MODAL_DIALOG.documentReady=function(e){var t=u.getTransitionDuration(e(".uix-modal-box:first")[0]);e("template").each((function(){var t=e(this).html((function(e,t){return t.replace(/[\r\n]/g,"")})).context.innerHTML,i=e(this).attr("id");"undefined"!==Fe(i)&&!e("body").hasClass(i)&&e("<div>"+t+"</div>").find('[role="dialog"]').length>0&&(e(this).removeAttr("id"),e("body").addClass(i),e(t.replace(/role=[\'\"]dialog[\'\"]/,'role="dialog" id="'+i+'"')).appendTo("body"))})),0==e(".uix-modal-mask").length&&e("body").prepend('<div class="uix-modal-mask"></div>'),e(n).off("click.MODAL_DIALOG").on("click.MODAL_DIALOG","[data-modal-id]",(function(){var i=e(this).data("modal-height"),a=e(this).data("modal-width"),r=e(this).data("modal-lightbox"),o=e(this).data("modal-close-time"),s=e(this).data("modal-close-onlybtn");return"undefined"===Fe(i)&&(i=!1),"undefined"===Fe(a)&&(a=!1),"undefined"===Fe(r)&&(r=!0),"undefined"===Fe(o)&&(o=!1),"undefined"===Fe(s)&&(s=!1),e(n).UixFireModalDialog({id:e(this).data("modal-id"),height:i,width:a,speed:t,btn:e(this),lightbox:r,autoClose:o,closeOnlyBtn:s}),!1})),e(n).off("click.MODAL_DIALOG_CLOSE").on("click.MODAL_DIALOG_CLOSE",".uix-modal-box [data-modal-close-trigger], .uix-modal-mask:not(.js-uix-disabled)",(function(){return e(this).hasClass("uix-modal-box__close")&&e(this).parent().removeClass("is-active"),e(n).UixCloseModalDialog(),!1}))},e.components.documentReady.push(e.MODAL_DIALOG.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.MOUSEWHEEL_INTERACTION&&(e.MOUSEWHEEL_INTERACTION=e.MOUSEWHEEL_INTERACTION||{},e.MOUSEWHEEL_INTERACTION.version="0.0.4",e.MOUSEWHEEL_INTERACTION.documentReady=function(e){if(!e("body").hasClass("mousewheel-interaction"))return!1;var t=0,n=0,a=0,r=function(i){var r,o,s=null,l=i.touches;l&&l.length?s=a-l[0].pageY:o=Math.max(-1,Math.min(1,-i.deltaY)),null!=s?(s>=10&&(r="up"),s<=-10&&(r="down")):r=o<0?"down":"up",function(i,a){var r=(new Date).getTime();if(r-t<1500)return;"down"==a?(e("#demo-mousewheel-interaction-status").html("Direction: down, Total: "+n),n++):(e("#demo-mousewheel-interaction-status").html("Direction: up, Total: "+n),n++);t=r}(0,r)};i.addEventListener("wheel",r,!!o&&{passive:!0}),i.addEventListener("touchstart",(function(e){var t=e.touches;t&&t.length&&(a=t[0].pageY)}),!!o&&{passive:!0}),i.addEventListener("touchmove",r,!!o&&{passive:!0})},e.components.documentReady.push(e.MOUSEWHEEL_INTERACTION.documentReady))}(s,jQuery,window,document);function ze(e){return ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ze(e)}var je=function(e,t,i){var n=e.type,a=e.setRatio,r=t._tween,o=t._target;e.type=2,e.m=i,e.setRatio=function(t){var s,l,d,u=1e-6;if(1!==t||r._time!==r._duration&&0!==r._time)if(t||r._time!==r._duration&&0!==r._time||-1e-6===r._rawPrevTime)if(s=e.c*t+e.s,e.r?s=Math.round(s):s<u&&s>-u&&(s=0),n)if(1===n){for(l=e.xs0+s+e.xs1,d=1;d<e.l;d++)l+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=i.call(r,l,o,r)}else-1===n?e.t[e.p]=i.call(r,e.xs0,o,r):a&&a.call(e,t);else e.t[e.p]=i.call(r,s+e.xs0,o,r);else 2!==n?e.t[e.p]=i.call(r,e.b,o,r):a.call(e,t);else if(2!==n)if(e.r&&-1!==n)if(s=Math.round(e.s+e.c),n){if(1===n){for(l=e.xs0+s+e.xs1,d=1;d<e.l;d++)l+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=i.call(r,l,o,r)}}else e.t[e.p]=i.call(r,s+e.xs0,o,r);else e.t[e.p]=i.call(r,e.e,o,r);else a.call(e,t)}},Ge=function(e,t){var i=t._firstPT,n=e.rotation&&-1!==t._overwriteProps.join("").indexOf("bezier");for(e.scale?e.scaleX=e.scaleY=e.scale:e.rotationZ&&(e.rotation=e.rotationZ);i;)"function"==typeof e[i.p]?je(i,t,e[i.p]):n&&"bezier"===i.n&&-1!==i.plugin._overwriteProps.join("").indexOf("rotation")&&(i.data.mod=e.rotation),i=i._next},Be=S.ML._gsDefine.plugin({propName:"modifiers",version:"0.0.4",API:2,init:function(e,t,i){return this._tween=i,this._vars=t,!0},initAll:function(){var e,t,i=this._tween,n=this._vars,a=i._firstPT;if(a._modInitted)return!1;for(a._modInitted=1;a;)t=a._next,e=n[a.n],a.pg?"css"===a.t._propName?Ge(n,a.t):a.t!==this&&(e=n[a.t._propName],a.t._tween=i,a.t._mod("object"===ze(e)?e:n)):"function"==typeof e&&(2===a.f&&a.t?(a.t._applyPT.m=e,a.t._tween=i):(this._add(a.t,a.p,a.s,a.c,e),t&&(t._prev=a._prev),a._prev?a._prev._next=t:i._firstPT===a&&(i._firstPT=t),a._next=a._prev=null,i._propLookup[a.n]=this)),a=t;return!1}}).prototype;function We(e){return We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We(e)}Be._add=function(e,t,i,n,a){this._addTween(e,t,i,i+n,t,a),this._overwriteProps.push(t)},Be=S.ML._gsDefine.globals.TweenLite.version.split("."),Number(Be[0])<=1&&Number(Be[1])<19&&S.ML.console&&console.log("ModifiersPlugin requires GSAP 1.19.0 or later.");(function(e,t,i,n){null!==i.MULTI_ITEMS_CAROUSEL&&(e.MULTI_ITEMS_CAROUSEL=e.MULTI_ITEMS_CAROUSEL||{},e.MULTI_ITEMS_CAROUSEL.version="0.0.6",e.MULTI_ITEMS_CAROUSEL.documentReady=function(e){e(".uix-multi-carousel").each((function(){var t=e(this),n=t.find(".uix-multi-carousel__items"),a=t.find(".uix-multi-carousel__items > div"),r=a.length,o=t.data("show"),s=t.data("dir"),l=t.data("loop"),d=t.data("speed"),u=t.data("next"),c=t.data("prev"),f=t.data("draggable"),p=t.data("draggable-cursor");"undefined"===We(s)&&(s="horizontal"),"undefined"===We(l)&&(l=!1),"undefined"===We(o)&&(o=3),"undefined"===We(d)&&(d=250),"undefined"===We(u)&&(u=".uix-multi-carousel__controls--next"),"undefined"===We(c)&&(c=".uix-multi-carousel__controls--prev"),"undefined"===We(f)&&(f=!1),"undefined"===We(p)&&(p="move"),i.innerWidth<=768&&(o=3);var h,m,v=Math.round(o/2)-1,g=n.width()/o,y=n.height()/o;"horizontal"===s?(h=t.width()/o,n.css("width",r*g)):(m=t.height()/o,n.css("height",r*y)),function(){if("horizontal"===s){var e=h;TweenMax.set(a,{width:e,x:function(t,i){return t===v&&l&&TweenMax.set(i,{className:"+=is-active"}),a.eq(t).attr("data-index",t),t*e}})}else{var t=m;TweenMax.set(a,{height:t,y:function(e,i){return e===v&&l&&TweenMax.set(i,{className:"+=is-active"}),a.eq(e).attr("data-index",e),e*t}})}}(),l||e(c).addClass("is-disabled").data("disabled",1);var x=e(c),E=e(u);E.off("click").on("click",t,(function(e){e.preventDefault(),function(){if("true"==E.attr("aria-disabled"))return!1;E.attr("aria-disabled","true"),E.delay(d).queue((function(e){E.attr("aria-disabled","false"),e()})),M(E,"next")}()})),x.off("click").on("click",t,(function(e){e.preventDefault(),function(){if("true"==x.attr("aria-disabled"))return!1;x.attr("aria-disabled","true"),x.delay(d).queue((function(e){x.attr("aria-disabled","false"),e()})),M(x,"prev")}()}));var T,b=t,_={};f&&""!=p&&0!=p&&b.css("cursor",p),f||(_={inputClass:Hammer.TouchInput});var w=b[0],S=new Hammer(w,_),C=!0;function R(e,t,i,n){null==i&&(i=d/1e3);var a=e.children(".uix-multi-carousel__items").find("> div");if("horizontal"===s){var r=h,u=(a.length-1)*r;TweenMax.to(a,i,{x:function(e,i){var n=Math.round(i._gsTransform.x/r)*r;return n+t},modifiers:{x:function(e,t){return l?(e===v*r?TweenMax.set(t,{className:"+=is-active"}):TweenMax.set(t,{className:"-=is-active"}),A(e,-r,u)):e}},onComplete:function(){n||0==t||L(Math.round(a.first()[0]._gsTransform.x),Math.round((a.length-o)*r))}})}else{var c=m,f=(a.length-1)*c;TweenMax.to(a,i,{y:function(e,i){var n=Math.round(i._gsTransform.y/c)*c;return n+t},modifiers:{y:function(e,t){return l?(e===v*c?TweenMax.set(t,{className:"+=is-active"}):TweenMax.set(t,{className:"-=is-active"}),A(e,-c,f)):e}},onComplete:function(){n||0==t||L(Math.round(a.first()[0]._gsTransform.y),Math.round((a.length-o)*c))}})}}function M(e,i){var n,a=e.data("disabled");n="next"==i?"horizontal"===s?-h:-m:"horizontal"===s?h:m,"undefined"===We(a)&&R(t,n,null,!1)}function L(t,i){if(l)return!1;Math.abs(t)==i?(e(u).addClass("is-disabled").data("disabled",1),e(c).removeClass("is-disabled").removeData("disabled")):0==Math.round(t)?(e(u).removeClass("is-disabled").removeData("disabled"),e(c).addClass("is-disabled").data("disabled",1)):(e(u).removeClass("is-disabled").removeData("disabled"),e(c).removeClass("is-disabled").removeData("disabled"))}function A(e,t,i){var n=i-t;return(n+(e-t)%n)%n+t}S.get("pan").set({direction:Hammer.DIRECTION_ALL}),S.on("press panright panleft panup pandown",(function(e){T=e.type;var i=!1;if(!l){var a="horizontal"===s?n.find('[data-index="0"]')[0]._gsTransform.x:n.find('[data-index="0"]')[0]._gsTransform.y;("panright"==T||"pandown"==T)&&a>=0&&(i=!0),("panleft"==T||"panup"==T)&&a<=("horizontal"===s?-h*(r-o):-m*(r-o))&&(i=!0)}switch(T){case"panleft":e.deltaX>-h/4&&e.deltaX<0?(C=!1,R(t,e.deltaX,.1,!0)):C=!i;break;case"panup":e.deltaY>-m/4&&e.deltaY<0?(C=!1,R(t,e.deltaY,.1,!0)):C=!i;break;case"panright":e.deltaX<h/4&&e.deltaX>0?(C=!1,R(t,e.deltaX,.1,!0)):C=!i;break;case"pandown":e.deltaY<m/4&&e.deltaY>0?(C=!1,R(t,e.deltaY,.1,!0)):C=!i}})),S.on("panend",(function(e){if(C)switch(T){case"panleft":case"panup":R(t,"horizontal"===s?-h:-m,null,!1);break;case"panright":case"pandown":R(t,"horizontal"===s?h:m,null,!1)}else R(t,0,null,!1)}))}))},e.components.documentReady.push(e.MULTI_ITEMS_CAROUSEL.documentReady))})(s,jQuery,window,document),i(695);!function(e,t,i,n){null!==i.ONEPAGE&&(e.ONEPAGE=e.ONEPAGE||{},e.ONEPAGE.version="0.1.0",e.ONEPAGE.documentReady=function(e){i.innerWidth;var t=i.innerHeight,a=e(".uix-normal-load__onepage-container"),r=a.find("[data-highlight-section]"),o=r.length,s=e(".uix-menu"),l=e(".uix-menu-sidefixed"),d=0;if(0==a.length)return!1;function u(e,t,a){var s=parseFloat(r.filter(".is-active").attr("data-index")),l=null,d=null;l="down"==t||!1===t?s+1:s-1,/^[-+]?(\d+|\d+\.\d*|\d*\.\d+)$/.test(a)&&(l=parseFloat(a-1)),l<=parseFloat(o-1)&&l>=0&&(l>parseFloat(o-1)&&(l=parseFloat(o-1)),l<0&&(l=0),(d=r.eq(l)).length>0&&TweenMax.to(i,1,{scrollTo:{y:d.offset().top-0,autoKill:!1},ease:Power2.easeOut,onComplete:function(){r.removeClass("leave"),r.eq(s).addClass("leave"),r.removeClass("is-active"),d.addClass("is-active").removeClass("leave");var e=r.filter(".is-active").index()+1,t=i.location.href.substr(0,i.location.href.indexOf("#"))+"#"+r.filter(".is-active").attr("id");history.pushState({},n.title,t),console.log("Section "+e+" loaded!")}}))}function f(t,i,n){return n?i.find("li > a[href=#"+e(t).attr("id")+"]").parent("li").index():i.find("li > a[href=#"+e(t).attr("id")+"]").parent("li")}function p(e){return e.find("li")}function h(t){t.find("li > a").off("click.ONEPAGE").on("click.ONEPAGE",(function(t){if(t.preventDefault(),e(this).parent().hasClass("is-active"))return!1;u(0,!1,e(this).parent("li").index()+1)}))}e.each(r,(function(t){e(this).attr("data-index",t),0==t&&e(this).addClass("is-active")})),setTimeout((function(){var e,t=i.location.hash;t?(e=t.split("section-")[1],u(a,!1,e)):u(a,!1,1)}),500),e(i).on("hashchange",(function(){var e,t=i.location.hash;t&&(e=t.split("section-")[1],u(a,!1,e))})),h(s),h(l),s.find("li:first").addClass("is-active"),l.find("li:first").addClass("is-active");var m=l.length>0?l.offset().top:0,v=parseFloat(e(n).height()-e(".uix-footer__container").height())-t/3;var g=c((function(){var t=e(i).scrollTop(),n=parseFloat(t+0),a=e('[data-highlight-section="true"]').first().offset().top,r=e('[data-highlight-section="true"]').last().offset().top+e('[data-highlight-section="true"]').last().height();e('[data-highlight-section="true"]').each((function(){var t=e(this);t.offset().top<n+1&&(p(s).removeClass("is-active"),p(l).removeClass("is-active"),f(t,s,!1).addClass("is-active"),f(t,l,!1).addClass("is-active"))})),(n>r||n<a-1)&&(p(s).removeClass("is-active"),p(l).removeClass("is-active")),n>v||n<m?l.removeClass("is-fixed"):l.addClass("is-fixed")}),5);i.removeEventListener("scroll",g),i.removeEventListener("touchmove",g),i.addEventListener("scroll",g),i.addEventListener("touchmove",g),g();var y=0,x=function(e){var t,i,n=null,a=e.touches;a&&a.length?n=y-a[0].pageY:i=Math.max(-1,Math.min(1,-e.deltaY)),null!=n?(n>=50&&(t="up"),n<=-50&&(t="down")):t=i<0?"down":"up",function(e,t){var i=(new Date).getTime();i-d<1500||(u(0,"down"==t?"down":"up",!1),d=i)}(0,t)};i.addEventListener("wheel",x,{passive:!0}),i.addEventListener("touchstart",(function(e){var t=e.touches;t&&t.length&&(y=t[0].pageY)}),{passive:!0}),i.addEventListener("touchmove",x,{passive:!0})},e.components.documentReady.push(e.ONEPAGE.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.ONEPAGE2&&(e.ONEPAGE2=e.ONEPAGE2||{},e.ONEPAGE2.version="0.0.7",e.ONEPAGE2.documentReady=function(e){i.innerWidth;var t=i.innerHeight,a=e(".uix-normal-load__onepage-container2"),r=a.find("[data-highlight-section]"),s=r.length,l=e(".uix-menu"),d=e(".uix-menu-sidefixed"),u=0;if(0==a.length)return!1;a.css({position:"relative"});for(var c=10,f=0;f<s;f++)r.eq(f).css({position:"absolute",width:"100%","z-index":c,top:0,left:0}),c--;function p(e,a,o){var u=parseFloat(r.filter(".is-active").attr("data-index")),c=null,f=null;c="down"==a||!1===a?u+1:u-1,/^[-+]?(\d+|\d+\.\d*|\d*\.\d+)$/.test(o)&&(c=parseFloat(o-1)),c<=parseFloat(s-1)&&c>=0&&(c>parseFloat(s-1)&&(c=parseFloat(s-1)),c<0&&(c=0),(f=r.eq(c)).length>0&&TweenMax.set(f,{css:{"z-index":12,top:"down"==a||!1===a?t:-t},onComplete:function(){r.eq(u).css("z-index",11),function(e,t){for(var i=10,n=0;n<s;n++)e&&n!=e&&n!=t&&r.eq(n).css("z-index",i),i--}(c,u),TweenMax.to(r.eq(u),1,{css:{top:"down"==a||!1===a?-t/2:t/2},ease:Power2.easeOut}),TweenMax.to(this.target,.5,{css:{top:0},ease:Power2.easeOut,onComplete:function(){r.removeClass("leave"),r.eq(u).addClass("leave"),r.removeClass("is-active"),f.addClass("is-active").removeClass("leave");var e=r.filter(".is-active").index()+1,t=i.location.href.substr(0,i.location.href.indexOf("#"))+"#"+r.filter(".is-active").attr("id");history.pushState({},n.title,t),console.log("Section "+e+" loaded!"),h(l).removeClass("is-active"),h(d).removeClass("is-active"),l.find("li").eq(c).addClass("is-active"),d.find("li").eq(c).addClass("is-active")}})}}))}function h(e){return e.find("li")}function m(t){t.find("li > a").off("click.ONEPAGE2").on("click.ONEPAGE2",(function(t){if(t.preventDefault(),e(this).parent().hasClass("is-active"))return!1;var i="down";r.filter(".is-active").index()>e(this).parent().index()&&(i="up"),p(0,i,e(this).parent("li").index()+1)}))}e.each(r,(function(t){e(this).attr("data-index",t),0==t&&e(this).addClass("is-active")})),setTimeout((function(){var e,t=i.location.hash;t?(e=t.split("section-")[1],p(a,!1,e)):p(a,!1,1)}),500),e(i).on("hashchange",(function(){var e,t=i.location.hash;t&&(e=t.split("section-")[1],p(a,!1,e))})),m(l),m(d),l.find("li:first").addClass("is-active"),d.find("li:first").addClass("is-active");var v=0,g=function(e){var t,i,n=null,a=e.touches;a&&a.length?n=v-a[0].pageY:i=Math.max(-1,Math.min(1,-e.deltaY)),null!=n?(n>=50&&(t="up"),n<=-50&&(t="down")):t=i<0?"down":"up",function(e,t){var i=(new Date).getTime();i-u<1500||(p(0,"down"==t?"down":"up",!1),u=i)}(0,t)};i.addEventListener("wheel",g,!!o&&{passive:!0}),i.addEventListener("touchstart",(function(e){var t=e.touches;t&&t.length&&(v=t[0].pageY)}),!!o&&{passive:!0}),i.addEventListener("touchmove",g,!!o&&{passive:!0})},e.components.documentReady.push(e.ONEPAGE2.documentReady))}(s,jQuery,window,document);function Ue(e){return Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(e)}!function(e,t,i,n){null!==i.PARALLAX&&(e.PARALLAX=e.PARALLAX||{},e.PARALLAX.version="0.0.8",e.PARALLAX.documentReady=function(e){var t=i.innerWidth;i.innerHeight;a(t);var n=f((function(){i.innerWidth!=t&&a(t=i.innerWidth)}),50);function a(t){e(".uix-parallax--el").each((function(){var t=e(this),i=t.data("speed"),n=t.data("transition");"undefined"===Ue(i)&&(i=0),"undefined"===Ue(n)&&(n="none 0s ease 0s"),t.UixParallax({speed:i,bg:!1,transition:n})})),e(".uix-parallax").each((function(){var i=e(this),n=i.find(".uix-parallax__img"),a=n.attr("src"),r=i.data("skew"),o=i.data("speed"),s=i.data("transition"),l=i.data("overlay-bg"),d=i.data("fully-visible"),u=i.data("xpos"),c=parseFloat(i.data("offset-top")),f=null,p=null,h="cover";"undefined"!==Ue(l)&&"none"!=l&&0!=l&&0!=l||(l="rgba(0, 0, 0, 0)"),"undefined"===Ue(o)&&(o=0),"undefined"===Ue(s)&&(s="none 0s ease 0s"),"undefined"===Ue(u)&&(u="50%"),"undefined"===Ue(c)&&(c=0),"undefined"===Ue(d)&&(d=!1);var m=new Image;m.onload=function(){if(f=n.height(),p=n.width(),i.hasClass("uix-height--10")||i.hasClass("uix-height--20")||i.hasClass("uix-height--30")||i.hasClass("uix-height--40")||i.hasClass("uix-height--50")||i.hasClass("uix-height--60")||i.hasClass("uix-height--70")||i.hasClass("uix-height--80")||i.hasClass("uix-height--90")||i.hasClass("uix-height--100")){var e=i.height();i.css({height:e+"px"}),n.css("max-height",e+"px")}else i.css({height:i.height()+"px"});t<=768&&i.find(".uix-v-align--absolute").height()>=f&&(i.find(".uix-v-align--absolute").addClass("uix-v-align--relative"),n.hide()),h=p>t?"contain":"cover",f<=i.height()&&(h="cover"),d&&(h=p<t?"cover":"contain"),"undefined"!=Ue(a)&&(Modernizr.cssanimations?i.css({background:"linear-gradient("+l+", "+l+"), url("+a+") "+u+" "+c+"px/"+h+" no-repeat fixed"}):i.css({background:"url("+a+") "+u+" "+c+"px/"+h+" no-repeat fixed"})),"undefined"!=Ue(r)&&0!=r&&i.css({transform:"skew(0deg, "+r+"deg)"}),i.UixParallax({speed:o,transition:s,offsetTop:c,bg:{enable:!0,xPos:u}})},m.src=a}))}i.removeEventListener("resize",n),i.addEventListener("resize",n)},e.components.documentReady.push(e.PARALLAX.documentReady))}(s,jQuery,window,document);function Ye(e){return Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ye(e)}!function(e,t,i,n){null!==i.PERIODICAL_SCROLL&&(e.PERIODICAL_SCROLL=e.PERIODICAL_SCROLL||{},e.PERIODICAL_SCROLL.version="0.0.5",e.PERIODICAL_SCROLL.documentReady=function(e){e(".uix-periodical-scroll").each((function(){var t=e(this),i=t.data("speed"),n=t.data("timing"),a=t.find("> ul"),r=a.find("li:first").height();t.css({height:r+"px",overflow:"hidden"}),"undefined"===Ye(i)&&(i=600),"undefined"===Ye(n)&&(n=2e3),1==a.find("li").length&&a.prepend(a.find("li:first").clone());var o=a.find("> li"),s=2*r;TweenMax.killTweensOf(o);var l=new TimelineMax({repeat:-1,repeatDelay:.15});l.pause(),setTimeout((function(){l.play()}),i),l.add(TweenMax.staggerFromTo(o,i/1e3,{opacity:0,y:s},{opacity:1,y:0},n/1e3)).add(TweenMax.staggerTo(o,i/1e3,{delay:n/1e3,opacity:0,y:-s,onComplete:function(){TweenMax.set(this.target,{delay:.15,opacity:0,y:s})}},n/1e3),0),o.on("mouseenter",(function(){l.pause()})).on("mouseleave",(function(){l.play(),e(this).index()>0&&TweenMax.set(o.first(),{opacity:0,y:s})}))}))},e.components.documentReady.push(e.PERIODICAL_SCROLL.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.PRICING&&(e.PRICING=e.PRICING||{},e.PRICING.version="0.0.3",e.PRICING.documentReady=function(e){var t=i.innerWidth;i.innerHeight;a(t);var n=f((function(){i.innerWidth!=t&&a(t=i.innerWidth)}),50);function a(t){e(".uix-price").each((function(){var i=e(this).find(".js-uix-init-height"),n=[],a=[];i.each((function(t){e(this).find(".uix-price__outline, .uix-price__excerpt").css("height","auto");var i=e(this).height(),r=e(this).find(".uix-price__excerpt").height();n.push(i),a.push(r)}));var r=Math.max.apply(Math,n);r>0&&(t>768?(i.find(".uix-price__outline").css("height",r+"px"),i.find(".uix-price__outline.is-active").each((function(){var t=Math.abs(parseInt(e(this).css("transform").split(",")[5]));isNaN(t)||e(this).css("height",r+2*t+"px")}))):i.find(".uix-price__outline").css("height","auto"),i.find(".uix-price__outline.is-active").each((function(){e(this).closest(".uix-price__outline--hover").data("tcolor");var t=e(this).closest(".uix-price__outline--hover").data("bcolor");e(this).css("background-color",t),e(this).find(".uix-btn").removeClass("uix-btn__bg--primary").addClass("uix-btn__bg--secondary")})))}))}i.removeEventListener("resize",n),i.addEventListener("resize",n)},e.components.documentReady.push(e.PRICING.documentReady))}(s,jQuery,window,document);function Xe(e){return Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xe(e)}!function(e,t,i,n){null!==i.PROGRESS_BAR&&(e.PROGRESS_BAR=e.PROGRESS_BAR||{},e.PROGRESS_BAR.version="0.0.7",e.PROGRESS_BAR.documentReady=function(e){e("[data-progressbar-percent]").each((function(){var t=e(this),n=c((function(){var e=t[0].getBoundingClientRect().top,n=t.data("activated");if(e<1*i.innerHeight&&"undefined"===Xe(n)){var a=t.data("progressbar-percent"),r=t.data("progressbar-unit");"undefined"===Xe(a)&&(a=0),"undefined"===Xe(r)&&(r="%"),t.hasClass("uix-progressbar--circle")&&(t.find(".uix-progressbar__track").html("<span>"+a+'<em class="uix-progressbar__unit">'+r+"</em></span>"),t.addClass("uix-progressbar--progress-"+a)),t.hasClass("uix-progressbar--rectangle")&&(t.find(".uix-progressbar__bar > span").html(a+'<em class="uix-progressbar__unit">'+r+"</em>"),t.addClass("uix-progressbar--progress-"+a)),t.data("activated",1)}}),5);i.removeEventListener("scroll",n),i.removeEventListener("touchmove",n),i.addEventListener("scroll",n),i.addEventListener("touchmove",n),n()}))},e.components.documentReady.push(e.PROGRESS_BAR.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.PROGRESS_LINE&&(e.PROGRESS_LINE=e.PROGRESS_LINE||{},e.PROGRESS_LINE.version="0.0.3",e.PROGRESS_LINE.documentReady=function(e){var t=e(".uix-progress-line").find(".uix-progress-line__circle");t.on("mouseenter",(function(){var i=e(this).index()/2;t.removeClass("is-active"),t.next(".uix-progress-line__bar").removeClass("is-active");for(var n=i;n>=0;n--)t.eq(n).addClass("is-active"),t.eq(n).next(".uix-progress-line__bar").addClass("is-active")})),t.parent().on("mouseleave",(function(){var e,i;e=0,i=setInterval((function(){t.eq(e).addClass("is-active"),t.eq(e).next(".uix-progress-line__bar").addClass("is-active"),10==++e&&clearInterval(i)}),50)}))},e.components.documentReady.push(e.PROGRESS_LINE.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.RETINA&&(e.RETINA=e.RETINA||{},e.RETINA.version="0.0.1",e.RETINA.documentReady=function(e){var t=!1,n="undefined"==typeof exports?i:exports;(n.devicePixelRatio>1||n.matchMedia&&n.matchMedia("(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)").matches)&&(t=!0),t&&e("[data-retina]").each((function(){e(this).attr({src:e(this).data("retina")})}))},e.components.documentReady.push(e.RETINA.documentReady))}(s,jQuery,window,document);function qe(e){return qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qe(e)}!function(e,t,i,n){null!==i.ROTATING_EL&&(e.ROTATING_EL=e.ROTATING_EL||{},e.ROTATING_EL.version="0.0.2",e.ROTATING_EL.documentReady=function(e){e("[data-pointer-to-deg]").each((function(){var t=e(this),a=t.data("pointer-to-deg");if("undefined"===qe(a)&&(a=!1),a){if(0==e(a.target).length)return!1;var r,o,s=e(a.target)[0],l=s.getBoundingClientRect(),d=i.getComputedStyle(s).transformOrigin.split(" ");a.mouseSpy&&e(n).on("mousemove touchstart touchmove",(function(e){var t=e;e.targetTouches&&e.targetTouches[0]?(e.preventDefault(),t=e.targetTouches[0],r=t.pageX,o=t.pageY):(r=e.clientX,o=e.clientY);var n=l.top+parseInt(d[1])-i.pageYOffset,a=l.left+parseInt(d[0])-i.pageXOffset,u=Math.atan2(r-a,o-n)*(180/Math.PI)*-1+180;s.style.transform="rotate("+u+"deg)"})),t.off("click").on("click",(function(e){e.preventDefault(),s.style.transform="rotate("+a.deg+"deg)"}))}}))},e.components.documentReady.push(e.ROTATING_EL.documentReady))}(s,jQuery,window,document);function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}!function(e,t,i,n){null!==i.SCROLL_REVEAL&&(e.SCROLL_REVEAL=e.SCROLL_REVEAL||{},e.SCROLL_REVEAL.version="0.1.6",e.SCROLL_REVEAL.documentReady=function(e){e("[data-uix-anim]").each((function(){var t,n=e(this),a=new TimelineMax({paused:!0}),r=n.data("uix-anim");"undefined"!==Ve(r)&&""!=r&&!1!==r||(r={from:{opacity:0,x:70},to:{opacity:1,x:0},ease:"Power2.easeOut",duration:.4,delay:0,infinite:!1,viewport:"100%"});var o=r.from,s=r.to,l=r.ease,d=r.duration,u=r.delay,f=r.infinite;"undefined"===Ve(t=r.viewport)&&(t="100%"),"undefined"===Ve(l)&&(l="Power2.easeOut"),"undefined"===Ve(u)&&(u=0),"undefined"===Ve(d)&&(d=.4),"undefined"===Ve(f)&&(f=!1),t=parseFloat(t)/100;var p=f?1:0;TweenMax.set(n,{css:o});var h="[object String]"==Object.prototype.toString.call(o);h?s=s.replace(/\./,""):(a.to(n,d,{css:s,ease:l,delay:u}),n[0].animation=a);var m=c((function(){var a=n[0].getBoundingClientRect().top,r=n.data("activated");a<i.innerHeight*t?"undefined"===Ve(r)&&(h?n.delay(1e3*u).queue("fx",(function(){e(this).addClass(s).dequeue()})):(n[0].animation.play(),v("show")),n.data("activated",1)):"undefined"!==Ve(r)&&1===p&&(h?n.removeClass(s):(n[0].animation.reverse(),v("hide")),n.removeData("activated"))}),5);function v(t){var i=n.data("img-ids");"undefined"!==Ve(i)&&("show"==t?i.forEach((function(t){e(t).each((function(t){e(this).delay(50*t).queue("fx",(function(){e(this).addClass("is-active"),e(this).dequeue()}))}))})):i.forEach((function(t){e(t).removeClass("is-active")})))}i.removeEventListener("scroll",m),i.removeEventListener("touchmove",m),i.addEventListener("scroll",m),i.addEventListener("touchmove",m),m()}))},e.components.documentReady.push(e.SCROLL_REVEAL.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.SCROLLSPY_ANIM&&(e.SCROLLSPY_ANIM=e.SCROLLSPY_ANIM||{},e.SCROLLSPY_ANIM.version="0.0.7",e.SCROLLSPY_ANIM.documentReady=function(e){PIXI.utils.skipHello();var t=e("#scrollspy-animate-demo");if(0==t.length)return!1;i.innerWidth;var a,r,o=i.innerHeight;if(Modernizr.webgl){var s=t.find(".row canvas"),l=s.data("txt").split(""),d=new PIXI.Application({width:25*(l.length+2),height:90,antialias:!0,transparent:!0,resolution:1,autoResize:1,view:n.getElementById("scrollspy-animate-demo--txt")}),u=new PIXI.Container;(r=PIXI.Sprite.from(s.data("filter-texture"))).texture.baseTexture.wrapMode=PIXI.WRAP_MODES.REPEAT;var f=new PIXI.filters.DisplacementFilter(r),p=new PIXI.TextStyle({fontSize:45,letterSpacing:0,breakWords:!0,dropShadow:!0,dropShadowAngle:Math.PI/6,dropShadowAlpha:.5,dropShadowColor:"#333",dropShadowBlur:1,fill:"white",fontFamily:"Arial Black",fontStyle:"normal",fontWeight:"bold",wordWrap:!1,align:"left"});(a=new PIXI.Text(s.data("txt"),p)).x=0,a.y=0,d.stage.addChild(a),a.anchor.set(0),a.scale.set(1),r.anchor.set(0),r.scale.set(.3),r.x=-50,r.y=0,d.stage.filterArea=d.screen,d.stage.addChild(a,r),d.stage.filters=[f];var h=new PIXI.Ticker;h.autoStart=!0,h.add((function(e){r.y+=.2*e,d.render(u)}))}var m=c((function(){var n=t.height(),a=t.offset().top-0,s=e(i).scrollTop(),l=s/2,d=s/n,u=1-.1*d,c=1-d,f=(s-a)/(n-o/6);t[0].getBoundingClientRect().top<i.innerHeight?(t.find(".row").css({transition:"none",transform:"translateY("+l+"px) scale("+u+")",opacity:c}),e("body").removeClass("js-uix-content-part").removeClass("js-uix-bottom-part")):e("body").addClass("js-uix-content-part").removeClass("js-uix-bottom-part"),t.find(".row h3 em").text(f.toFixed(2)),Modernizr.webgl&&TweenMax.set(r,{x:o*f})}),5);i.removeEventListener("scroll",m),i.removeEventListener("touchmove",m),i.addEventListener("scroll",m),i.addEventListener("touchmove",m),m()},e.components.documentReady.push(e.SCROLLSPY_ANIM.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.SHOW_MORELESS&&(e.SHOW_MORELESS=e.SHOW_MORELESS||{},e.SHOW_MORELESS.version="0.0.3",e.SHOW_MORELESS.documentReady=function(e){e(".uix-more-btn__link").each((function(){var t=e(this),i=t.parent().prev(".uix-more-btn"),n=t.find("> span"),a=i.height();t.off("click").on("click",(function(t){t.preventDefault(),"true"!=e(this).attr("aria-expanded")?(i.addClass("is-active").attr("aria-expanded",!0),e(this).addClass("is-active").attr("aria-expanded",!0),TweenMax.set(i,{height:"auto"}),TweenMax.from(i,.5,{height:a}),n.eq(0).hide(),n.eq(1).show()):(i.removeClass("is-active").attr("aria-expanded",!1),e(this).removeClass("is-active").attr("aria-expanded",!1),TweenMax.to(i,.5,{height:a}),n.eq(0).show(),n.eq(1).hide())}))}))},e.components.documentReady.push(e.SHOW_MORELESS.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.SKEW_ON_SCROLL&&(e.SKEW_ON_SCROLL=e.SKEW_ON_SCROLL||{},e.SKEW_ON_SCROLL.version="0.0.1",e.SKEW_ON_SCROLL.documentReady=function(e){e(".uix-skewscroll-container").each((function(){var t=e(this).find("p"),n=0;TweenMax.set(t,{transformOrigin:"center left"}),TweenMax.ticker.addEventListener("tick",(function(){n+=.15*(i.scrollY-n);var e=(i.scrollY-n)/20;e=Math.min(Math.max(e,-15),15),TweenLite.set(t,{skewY:e})}))}))},e.components.documentReady.push(e.SKEW_ON_SCROLL.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.SMOOTH_SCROLLING_ANCHORLINK&&(e.SMOOTH_SCROLLING_ANCHORLINK=e.SMOOTH_SCROLLING_ANCHORLINK||{},e.SMOOTH_SCROLLING_ANCHORLINK.version="0.0.8",e.SMOOTH_SCROLLING_ANCHORLINK.documentReady=function(e){if(e("body").hasClass("onepage"))return!1;var t=i.location.href;if(e("a").on("click",(function(n){if(0!=e(this).data("smooth-scrolling")){var a,r,o=e(this).attr("href");if(o.indexOf("#")>=0&&"#"!=o){n.preventDefault();var s=o.split("#");a=s[1],r=s[0],t.indexOf(r)<0&&(i.location.href=r+"#!!"+a)}}})),t.indexOf("#!!")>=0){var n=t.split("#!!"),a=e("#"+n[1]);a.length&&TweenMax.to(i,.5,{scrollTo:{y:a.offset().top,autoKill:!1},ease:Power2.easeOut,onComplete:function(){var t=a[0].getBoundingClientRect().top;(t<0||t>30)&&e('a[href*="#'+n[1]+'"]').trigger("click")}})}e('a[href*="#"]').on("click",(function(t){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname&&"#"!=e(this).attr("href")&e(this).attr("href").indexOf("#?")<0){var n=e(this.hash);(n=n.length?n:e("[name="+this.hash.slice(1)+"]")).length&&(t.preventDefault(),TweenMax.to(i,.5,{scrollTo:{y:n.offset().top,autoKill:!1},ease:Power2.easeOut,onComplete:function(){var t=e(n);if(t.focus(),t.is(":focus"))return!1;t.attr("tabindex","-1"),t.focus()}}))}}))},e.components.documentReady.push(e.SMOOTH_SCROLLING_ANCHORLINK.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.SMOOTH_SCROLLING_PAGE&&(e.SMOOTH_SCROLLING_PAGE=e.SMOOTH_SCROLLING_PAGE||{},e.SMOOTH_SCROLLING_PAGE.version="0.1.4",e.SMOOTH_SCROLLING_PAGE.pageLoaded=function(){if(!t("body").hasClass("smooth-scrolling-page"))return!1;var e=i.innerWidth,a=i.innerHeight,r=n.documentElement,o=n.body,s={target:"#uix-scrollspy-area",ease:.05,endY:0,y:0,resizeRequest:1,scrollRequest:0},l=null;TweenMax.set(s.target,{rotation:.01,force3D:!0});var d=t(s.target).offset().top,u="#app-scrolling-progress1";TweenMax.set(u,{toAlpha:1});var p=new TimelineMax({paused:!0}).to(u,10,{height:t(s.target).height()-2*a-200}).to(u,2,{height:t(s.target).height()-2*a}).to(u,10,{width:15},0).to("#app-scrolling-progress2",.3,{rotation:-10,scale:.5,transformOrigin:"center"},1.000010000100001).to("#app-scrolling-progress3",.3,{rotation:1125,scale:.1,transformOrigin:"center"},1.234567901234568),h=0,m=new TimelineMax({paused:!0}).to("#app-scene-2 p",.3,{x:100},0),v=0,g=new TimelineMax({paused:!0}).to("#app-scene-3 p",.3,{x:200},0),y="js-uix-smooth-scrolling-page-wrapper";function x(){var e=s.resizeRequest>0;if(e){var n=t(s.target).height();o.style.height=parseFloat(n+d)+"px",s.resizeRequest=0}var u=i.pageYOffset||r.scrollTop||o.scrollTop||0;s.endY=u,s.y+=(u-s.y)*s.ease,(Math.abs(u-s.y)<.05||e)&&(s.y=u,s.scrollRequest=0),TweenMax.set(s.target,{y:-s.y,onComplete:function(){}}),l=s.scrollRequest>0?requestAnimationFrame(x):null;var c=s.y;i.innerWidth<=768||t(".uix-header__container").outerHeight(!0);t(".uix-scrollspy-animate--parallax__wrapper").each((function(){var e=t(this),i=e.find(".uix-scrollspy-animate--parallax"),n=i[0].getBoundingClientRect(),a=n.top,r=-parseFloat(e.data("scrollspy-speed"));e.css({overflow:"hidden",height:n.height-.3*n.height}),i.css({"margin-top":.15*-n.height}),TweenMax.set(e,{css:{transform:"matrix(1, 0, 0, 1, 0, "+(0-a*r)+")",transition:"none"}}),TweenMax.set(i,{css:{transform:"matrix(1, 0, 0, 1, 0, "+(0-a*(r/2))+")",transition:"none"}})})),t(".uix-scrollspy-animate--transparency").each((function(){var e=t(this),i=e[0].getBoundingClientRect(),n=(0-i.top*-parseFloat(e.data("scrollspy-speed")))/i.height;TweenMax.set(e,{alpha:e.data("scrollspy-reverse")?1-n:n})}));var f=c/(t(s.target).height()-a);console.log("Body progress: "+f);var y=1*f;TweenMax.to(p,1,{progress:y,ease:Sine.easeOut});var E=t("#app-scene-2").outerHeight(!0),T=t("#app-scene-2")[0].getBoundingClientRect().top,b=parseFloat(T/E)-.5;b<=0&&b>=-1&&(console.log("Scene 2 progress: "+Math.abs(b)),h=Math.abs(b)),TweenMax.to(m,1,{progress:h});var _=t("#app-scene-3").outerHeight(!0),w=t("#app-scene-3")[0].getBoundingClientRect().top,S=parseFloat(w/_)-.5;S<=0&&S>=-1&&(console.log("Scene 3 progress: "+Math.abs(S)),v=Math.abs(S)),TweenMax.to(g,1,{progress:v}),c}t("body").hasClass(y)||(t("body").addClass(y),t(s.target).wrap('<div id="uix-scrollspy-area__wrapper" style="overflow:hidden;position:fixed;height:100%;width:100%;top:0;left:0;right:0;bottom:0;"></div>').css("margin-top",d+"px"));var E=c((function(){s.scrollRequest++,l||(l=requestAnimationFrame(x))}),5);i.removeEventListener("scroll",E),i.removeEventListener("touchmove",E),i.addEventListener("scroll",E),i.addEventListener("touchmove",E),E();var T=f((function(){i.innerWidth!=e&&(e=i.innerWidth,s.resizeRequest++,l||(l=requestAnimationFrame(x)))}),50);i.removeEventListener("resize",T),i.addEventListener("resize",T)},e.components.pageLoaded.push(e.SMOOTH_SCROLLING_PAGE.pageLoaded))}(s,jQuery,window,document);function $e(e){return $e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$e(e)}!function(e,t,i,n){null!==i.STICKY_EL&&(e.STICKY_EL=e.STICKY_EL||{},e.STICKY_EL.version="0.0.8",e.STICKY_EL.pageLoaded=function(){var e=i.innerWidth,n=i.innerHeight,a=e<=768?0:t(".uix-header__container").outerHeight(!0);t(".js-uix-sticky-el").each((function(){var e=t(this),i=e.outerHeight(!0),n=e.attr("class").replace("js-uix-sticky-el",""),a="sticky-"+l.create();e.attr("data-sticky-id",a),e.hasClass("is-placeholder")||t('<div class="'+n+' is-placeholder"></div>').css({height:i+"px",width:"100%",display:"none",visibility:"hidden"}).attr("data-sticky-id",a).insertBefore(e)})),o(e);var r=f((function(){i.innerWidth!=e&&o(e=i.innerWidth)}),50);function o(r){r>768?t(".js-uix-sticky-el").each((function(){var r=t(this),o=r.offset().top,s=r.width(),l=r.data("sticky-id"),u=t('[data-sticky-id="'+l+'"].is-placeholder');var f=c((function(){var l=t(i).scrollTop(),c=parseFloat(l+i.innerHeight);if(parseFloat(l+a)>o?(r.addClass("is-active").css({width:s+"px",top:a+"px"}),u.css("display","block")):(r.removeClass("is-active").css({top:0}),u.css("display","none")),"undefined"!=$e(r.data("stop-trigger"))&&t(r.data("stop-trigger")).length>0){var f="undefined"!=$e(r.data("stop-trigger-diff"))&&r.data("stop-trigger-diff").length>0?d.evaluate(r.data("stop-trigger-diff").replace(/\s/g,"").replace(/\%\h/g,n).replace(/\%\w/g,e)):0,p=t(r.data("stop-trigger")).offset().top-f;c>=p?r.css({top:parseFloat(a-(c-p))+"px"}):r.length>0&&r.position().top<a&&r.css({top:a+"px"})}}),5);i.removeEventListener("scroll",f),i.removeEventListener("touchmove",f),i.addEventListener("scroll",f),i.addEventListener("touchmove",f),f()})):(t(".js-uix-sticky-el").removeClass("is-active"),t("[data-sticky-id].is-placeholder").css("display","none"))}i.removeEventListener("resize",r),i.addEventListener("resize",r)},e.components.pageLoaded.push(e.STICKY_EL.pageLoaded))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.SVG_MAP_CHINA&&(e.SVG_MAP_CHINA=e.SVG_MAP_CHINA||{},e.SVG_MAP_CHINA.version="0.0.2",e.SVG_MAP_CHINA.documentReady=function(e){var t=e(".uix-svgmap--china");function i(i){var n=1==i?.3:1;t.children().removeClass("is-show"),t.find("circle").css({r:6,"font-size":"6px","z-index":1,opacity:n}),t.find(".uix-svgmap--china__name").each((function(){e(this).css({transform:"translate(0,15px)","z-index":1,opacity:n}).text(e(this).data("title"))})),t.find(".uix-svgmap--china__num").css({"font-size":"6px","z-index":1,opacity:n})}e(n).off("click.SVG_MAP_CHINA").on("click.SVG_MAP_CHINA",".uix-svgmap--china__trigger a",(function(n){n.stopPropagation();var a,r,o,s=e(this).data("title"),l=e(this).text(),d="";e(".uix-svgmap--china .uix-svgmap--china__name").each((function(){if(s==e(this).data("title"))return d=e(this).data("title"),!1})),a=e('.uix-svgmap--china .uix-svgmap--china__name[data-title="'+d+'"]').index(),i(1),r=a,o=l,t.each((function(){e(this).children().eq(r).addClass("is-show"),e(this).find("circle").eq(r).css({r:15,"z-index":2,opacity:1}),e(this).find(".uix-svgmap--china__name").eq(r).css({transform:"translate(0,25px)","z-index":2,opacity:1}).text(o),e(this).find(".uix-svgmap--china__num").eq(r).css({"font-size":"10px","z-index":2,opacity:1})}))})),e(n.body).on("click",(function(e){i(2)}))},e.components.documentReady.push(e.SVG_MAP_CHINA.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.SVG_MAP_WORLD&&(e.SVG_MAP_WORLD=e.SVG_MAP_WORLD||{},e.SVG_MAP_WORLD.version="0.0.2",e.SVG_MAP_WORLD.documentReady=function(e){var t=e(".uix-svgmap--world");function i(i){var n=1==i?.3:1;t.children().removeClass("is-show"),t.find("path").css({"z-index":1,opacity:n}),t.find(".uix-svgmap--world__name").each((function(){e(this).css({"z-index":1,opacity:n,"font-size":"3px"}).text(e(this).data("title"))})),t.find(".uix-svgmap--world__num").css({"font-size":"6px","z-index":1,opacity:n})}e(n).off("click.SVG_MAP_WORLD").on("click.SVG_MAP_WORLD",".uix-svgmap--world__trigger a",(function(n){n.stopPropagation();var a,r,o=e(this).data("title"),s=e(this).text(),l=0;e(".uix-svgmap--world .uix-svgmap--world__name").each((function(t){if(o==e(this).data("title"))return e(this).data("title"),l=t,!1})),i(1),a=l,r=s,t.each((function(){e(this).children().eq(a).addClass("is-show"),e(this).find("path").eq(a).css({"z-index":2,opacity:1}),e(this).find(".uix-svgmap--world__name").eq(a).css({"z-index":2,opacity:1,"font-size":"10px"}).text(r),e(this).find(".uix-svgmap--world__num").eq(a).css({"font-size":"10px","z-index":2,opacity:1})}))})),e(n.body).on("click",(function(e){i(2)}))},e.components.documentReady.push(e.SVG_MAP_WORLD.documentReady))}(s,jQuery,window,document);function Qe(e){return Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qe(e)}!function(e,t,i,n){null!==i.SVG_MASK_SLIDER&&(e.SVG_MASK_SLIDER=e.SVG_MASK_SLIDER||{},e.SVG_MASK_SLIDER.version="0.0.5",e.SVG_MASK_SLIDER.pageLoaded=function(){var e=i.innerWidth,a=(i.innerHeight,0),r=1e3,o=t(".uix-svgMask-slider"),s=!1;u(!1);var d=f((function(){i.innerWidth!=e&&(e=i.innerWidth,u(!0))}),50);function u(e){o.each((function(){var i=t(this),o=i.find(".uix-svgMask-slider__item"),d=o.first(),u=i.data("activated");if("undefined"===Qe(u)||0===u){var f=i.data("controls-pagination"),h=i.data("controls-arrows"),m=i.data("draggable"),v=i.data("draggable-cursor"),g=i.data("count-total"),y=i.data("count-now"),x=i.data("speed");"undefined"===Qe(f)&&(f=".uix-svgMask-slider__pagination"),"undefined"!==Qe(h)&&0!=h||(h=".uix-svgMask-slider__arrows"),"undefined"===Qe(m)&&(m=!1),"undefined"!==Qe(v)&&0!=v||(v="move"),"undefined"===Qe(g)&&(g="p.count em.count"),"undefined"===Qe(y)&&(y="p.count em.current");var E,T=i.data("auto"),b=i.data("timing"),_=i.data("loop");"undefined"===Qe(T)&&(T=!1),"undefined"===Qe(b)&&(b=1e4),"undefined"===Qe(_)&&(_=!1),i[0].animatedSlides,"undefined"!=Qe(x)&&0!=x&&(r=x),a=r;var w=new TimelineMax({delay:0}),S=new TimelineMax({delay:0});w.to(o.find(".uix-svgMask-slider__txt__content"),.1,{opacity:0}).to(o.find("svg image"),.2,{scale:1.1},"-=0.1").to(i.find(".uix-svgMask-slider__inner"),.9,{ease:Circ.easeOut,scale:.85},"-=0.2").to(i.find(".uix-svgMask-slider__inner"),.75,{ease:Elastic.easeOut.config(4,1.5),scale:1}).pause(),S.to(o.find(".uix-svgMask-slider__txt__mask"),.6,{css:{marginLeft:0}}).to(o.find(".uix-svgMask-slider__txt__content"),.1,{opacity:1},"-=0.1").to(o.find("svg image"),.2,{scale:1},"-=0.1").to(o.find(".uix-svgMask-slider__txt__mask"),.6,{css:{marginLeft:"-100vw"}}),o.each((function(e){var i=l.create(),n=t(this);n.find("clipPath").attr("id",i+"-img"),n.find("image").attr("clip-path","url(#"+i+"-img)"),n.delay(a*e).queue("fx",(function(){t(this).addClass("is-loaded").dequeue()}))})),o.addClass("next"),setTimeout((function(){d.addClass("is-active")}),a);var C=d.find("img").attr("src");if("undefined"!=Qe(C)){var R=new Image;R.onload=function(){i.css("height",i.width()*(this.height/this.width)+"px"),this.width,this.height,function(e,i,r,o,l,d,u,c,f,h,m,v){var g=e,y=g.find(".uix-svgMask-slider__item"),x=(y.first(),y.length);0==t(l).length&&t("body").prepend('<div style="display:none;" class="uix-svgMask-slider__arrows '+l.replace("#","").replace(".","")+'"><a href="#" class="uix-svgMask-slider__arrows--prev"></a><a href="#" class="uix-svgMask-slider__arrows--next"></a></div>');y.last().addClass("last"),y.first().addClass("first"),1==x&&(t(o).hide(),t(l).hide());var E="";E+="<ul>";for(var T=0;T<x;T++)E+="<li><a "+(0==T?'class="is-active"':"")+' data-index="'+T+'" href="javascript:"></a></li>';E+="</ul>",""==t(o).html()&&t(o).html(E);t(o).find("li a").off("click").on("click",(function(e){if(e.preventDefault(),s)return!1;if("true"==t(this).attr("aria-disabled"))return!1;if(t(o).find("li a").attr("aria-disabled","true"),t(o).find("li a").delay(a).queue((function(e){t(o).find("li a").attr("aria-disabled","false"),e()})),!t(this).hasClass("is-active")){m.restart(),setTimeout((function(){v.restart()}),1500);var i="prev";t(this).attr("data-index")>parseFloat(y.filter(".is-active").index())&&(i="next"),p(t(this).attr("data-index"),g,i,f,h,o,l,d),clearInterval(g[0].animatedSlides)}}));var b=t(l).find(".uix-svgMask-slider__arrows--prev"),_=t(l).find(".uix-svgMask-slider__arrows--next");t(l).find("a").attr("href","javascript:"),t(l).find("a").removeClass("is-disabled"),d||b.addClass("is-disabled");function w(){return!s&&("true"!=b.attr("aria-disabled")&&(b.attr("aria-disabled","true"),b.delay(a).queue((function(e){b.attr("aria-disabled","false"),e()})),!b.hasClass("is-disabled")&&(m.restart(),setTimeout((function(){v.restart()}),1500),void p(parseFloat(y.filter(".is-active").index())-1,g,"prev",f,h,o,l,d))))}function S(){return!s&&("true"!=_.attr("aria-disabled")&&(_.attr("aria-disabled","true"),_.delay(a).queue((function(e){_.attr("aria-disabled","false"),e()})),!_.hasClass("is-disabled")&&(m.restart(),setTimeout((function(){v.restart()}),1500),void p(parseFloat(y.filter(".is-active").index())+1,g,"next",f,h,o,l,d))))}b.off("click").on("click",(function(e){e.preventDefault(),clearInterval(g[0].animatedSlides),w()})),_.off("click").on("click",(function(e){e.preventDefault(),clearInterval(g[0].animatedSlides),S()}));var C,R=g.find(".uix-svgMask-slider__inner"),M=!1;R.find("img").css({"pointer-events":"none","user-select":"none"}),u&&""!=c&&0!=c&&R.css("cursor",c);Modernizr.touchevents&&(u=!0);u&&(R[0].removeEventListener("mousedown",L),n.removeEventListener("mouseup",O),R[0].removeEventListener("touchstart",L),n.removeEventListener("touchend",O),R[0].addEventListener("mousedown",L),R[0].addEventListener("touchstart",L));function L(e){var t=e.touches;t&&t.length?(C=t[0].clientX,t[0].clientY):(C=e.clientX,e.clientY),n.addEventListener("mouseup",O),n.addEventListener("mousemove",A),n.addEventListener("touchend",O),n.addEventListener("touchmove",A)}function A(e){var t,i=e.touches;i&&i.length?(t=C-i[0].clientX,i[0].clientY):(t=C-e.clientX,e.clientY),t>=50&&(M||(M=!0,S())),t<=-50&&(M||(M=!0,w()))}function O(e){n.removeEventListener("mousemove",A),n.removeEventListener("touchmove",A),setTimeout((function(){M=!1}),a)}}(i,0,0,f,h,_,m,v,g,y,w,S)},R.src=C}if(!e&&T&&!isNaN(parseFloat(b))&&isFinite(b)){c(E,b,_,i,g,y,f,h);var M=function(){clearInterval(i[0].animatedSlides)},L=function(){c(E,b,_,i,g,y,f,h)};i.on("mouseenter",M),i.on("mouseleave",L),Modernizr.touchevents&&(i.on("pointerenter",M),i.on("pointerleave",L))}i.data("activated",1)}}))}function c(e,t,i,n,a,r,o,s){var l=n.find(".uix-svgMask-slider__item"),d=l.length;n[0].animatedSlides=setInterval((function(){e=parseFloat(l.filter(".is-active").index()),e++,i?(e==d&&(e=0),e<0&&(e=d-1),p(e,n,"next",a,r,o,s,i)):e<d&&e>=0&&p(e,n,"next",a,r,o,s,i)}),t)}function p(e,i,n,a,o,l,d,u){var c=i.find(".uix-svgMask-slider__item"),f=c.length;if(1==f)return t(l).hide(),t(d).hide(),!1;u?(e==f&&(e=0),e<0&&(e=f-1)):(t(d).find("a").removeClass("is-disabled"),e==f-1&&t(d).find(".uix-svgMask-slider__arrows--next").addClass("is-disabled"),0==e&&t(d).find(".uix-svgMask-slider__arrows--prev").addClass("is-disabled")),Modernizr.touchevents&&(e==f&&(e=f-1),e<0&&(e=0),u||(0==e&&t(d).find(".uix-svgMask-slider__arrows--prev").addClass("is-disabled"),e==f-1&&t(d).find(".uix-svgMask-slider__arrows--next").addClass("is-disabled")));var p=c.eq(e),h="";if("prev"==n&&(h="prev"),"next"==n&&(h="next"),t(l).find("li a").removeClass("leave"),t(l).find("li a.is-active").removeClass("is-active").addClass("leave"),t(l).find('li a[data-index="'+e+'"]').addClass("is-active").removeClass("leave"),c.removeClass("leave prev next"),c.addClass(h),i.find(".uix-svgMask-slider__item.is-active").removeClass("is-active").addClass("leave "+h),p.addClass("is-active "+h).removeClass("leave"),!s){s=!0;"next"==n?p.find("polygon").css({"transform-origin":"center",transform:"rotate(180deg)"}):p.find("polygon").css({"transform-origin":"center",transform:"rotate(0)"}),TweenMax.set(p.find("polygon")[0],{attr:{points:"1 0.5 1 540.5 1 1080.5 0 1080.5 4 1080.5 4 540.5 4 0.5 0 0.5 1 0.5"},onComplete:function(){anime.timeline({loop:!1}).add({targets:p.find("polygon")[0],points:[{value:"0.5 0.5 0.5 540.5 0.5 1080.5 1519.5 1080.5 1531.5 1080.5 1066.5 525.5 601.5 1.5 589.5 1.5 0.5 0.5"}],duration:r,easing:"easeOutExpo"}).add({targets:p.find("polygon")[0],points:[{value:"0.5 0.5 0.5 540.5 0.5 1080.5 960.5 1080.5 1920.5 1080.5 1920.5 540.5 1920.5 0.5 960.5 0.5 0.5 0.5"}],duration:r,easing:"easeOutExpo",complete:function(){s=!1}})}})}t(a).text(f),t(o).text(parseFloat(e)+1),function(e,t){var i=t.find("img").attr("src");if("undefined"!=Qe(i)){var n=new Image;n.onload=function(){e.css("height",t.closest(".uix-svgMask-slider__outline").width()*(this.height/this.width)+"px")},n.src=i}}(i,p)}i.removeEventListener("resize",d),i.addEventListener("resize",d)},e.components.pageLoaded.push(e.SVG_MASK_SLIDER.pageLoaded))}(s,jQuery,window,document);var Ke=i(265),Je=i.n(Ke);function Ze(e){return Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ze(e)}!function(e,t,i,n){null!==i.SWIPER&&(e.SWIPER=e.SWIPER||{},e.SWIPER.version="0.0.6",e.SWIPER.documentReady=function(e){e(".uix-swiper").each((function(){var t,i,n,a=e(this);if("undefined"===Ze(a.data("activated"))){if(a.find("#app-slider1").length>0){var r=new(Je())("#app-slider2",{slidesPerView:5,spaceBetween:10,allowTouchMove:!1});new(Je())("#app-slider1",{slidesPerView:1,spaceBetween:10,speed:1e3,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(e,t){return'<span class="'+t+'">'+(e+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{640:{slidesPerView:2,spaceBetween:20},768:{slidesPerView:4,spaceBetween:40},1024:{slidesPerView:5,spaceBetween:50}}}).on("slideChange",(function(){var e=this.activeIndex;r.slideTo(e,1e3,!1)}))}if(a.find("#app-slider3").length>0){var o=new(Je())("#app-slider3",{slidesPerView:1,spaceBetween:0,loop:!1,speed:1e3,grabCursor:!1,watchSlidesProgress:!0,mousewheelControl:!1,keyboardControl:!1,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(e,t){return'<span class="'+t+'">'+(e+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},on:{progress:function(e){for(var t=this,i=0;i<t.slides.length;i++){var n=t.slides[i].progress*(.5*t.width);t.slides[i].querySelector(".slide-inner").style.transform="translate3d("+n+"px, 0, 0)"}},touchStart:function(e){e.passedParams;for(var t=0;t<this.slides.length;t++)this.slides[t].style.transition=""},setTransition:function(e){for(var t=e.passedParams,i=this,n=0;n<i.slides.length;n++)i.slides[n].style.transition=t.speed+"ms",i.slides[n].querySelector(".slide-inner").style.transition=t.speed+"ms"}}});o.autoplay.start()}if(a.find("#app-slider4").length>0){var s=new(Je())("#app-slider4",{slidesPerView:1,spaceBetween:0,loop:!1,speed:1e3,grabCursor:!1,watchSlidesProgress:!0,mousewheelControl:!1,keyboardControl:!1,virtualTranslate:!0,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(e,t){return'<span class="'+t+'">'+(e+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},on:{progress:function(e){for(var t=0;t<this.slides.length;t++){this.slides[t].progress;console.log(e.params)}},touchStart:function(e){e.params},setTransition:function(e){e.params},setTranslate:function(e){var t,i,n=e.params,a=this,r=n.speed/1e3,o=a.slides;o[(t=a,i=o,Math.abs(1===i[t.activeIndex].progress)?t.activeIndex:t.slidesGrid.indexOf(-t.touchEventsData.startTranslate||t.params.initialSlide))].progress;o.map((function(e,t){var i=-e.swiperSlideOffset;a.params.virtualTranslate||(i-=a.translate);var n=0;a.isHorizontal()||(n=i,i=0),TweenMax.set(e,{x:i,y:n});var o,s,l,d=Math.max(1-Math.abs(e.progress),0),u=1-.05*(o=e.progress,s=-1,l=1,Math.max(s,Math.min(o,l)));TweenMax.to(e,r,{scale:u,opacity:d})}))}}});s.autoplay.start()}if(a.find("#app-slider5").length>0)new(Je())("#app-slider5",{slidesPerView:3,spaceBetween:30,loop:!0,speed:1e3,centeredSlides:!0,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(e,t){return'<span class="'+t+'">'+(e+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});if(a.find("#app-slider6").length>0)new(Je())("#app-slider6",{slidesPerView:"auto",spaceBetween:30,loop:!0,speed:1e3,centeredSlides:!0,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(e,t){return'<span class="'+t+'">'+(e+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});if(a.find("#app-slider7").length>0){var l=function(e,t,i){TweenMax.set("#app-slider7__progress",{width:0,onComplete:function(){TweenMax.to("#app-slider7__progress",e/1e3,{width:"100%"})}}),TweenMax.set("#app-slider7__progress2",{width:100/t*i+"%",onComplete:function(){TweenMax.to("#app-slider7__progress2",e/1e3,{width:100/t*(i+1)+"%"})}})};new(Je())("#app-slider7",{slidesPerView:1,spaceBetween:0,loop:!1,speed:3500,grabCursor:!1,watchSlidesProgress:!0,mousewheelControl:!1,keyboardControl:!1,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(e,t){return'<span class="'+t+'">'+(e+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},on:{init:function(e){var t=this;console.log("current index: "+t.activeIndex),l(e.passedParams.speed,t.slides.length,t.activeIndex)},slideChange:function(e){var t=this;console.log("current index: "+t.activeIndex),l(e.passedParams.speed,t.slides.length,t.activeIndex)}}})}if(a.find("#app-slider8").length>0){var d=new(Je())("#app-slider8",{spaceBetween:10,grabCursor:!1,loop:!0,loopedSlides:4,autoplay:{delay:5e3},on:{click:function(){}},keyboard:{enabled:!0,onlyInViewport:!1},autoHeight:!0,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(e,t){return'<span class="'+t+'">'+(e+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},speed:1e3}),u=new(Je())("#app-slider8-thumbs",{spaceBetween:10,centeredSlides:!0,slidesPerView:"auto",touchRatio:.4,slideToClickedSlide:!0,loop:!0,loopedSlides:4,keyboard:{enabled:!0,onlyInViewport:!1},speed:1e3});d.controller.control=u,u.controller.control=d}if(a.find("#app-slider9").length>0){var c=function(t,i){var n=e("#app-slider9-triggers > div");n.removeClass("is-active"),n.eq(t).addClass("is-active"),i||f.slideTo(t,1e3)},f=new(Je())("#app-slider9",(n={init:function(e){c(this.activeIndex,!0)}},(i="on")in(t={spaceBetween:10,grabCursor:!1,autoplay:{delay:5e3},on:{click:function(){}},keyboard:{enabled:!0,onlyInViewport:!1},autoHeight:!0,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(e,t){return'<span class="'+t+'">'+(e+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},speed:1e3})?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t));f.on("slideChange",(function(){var e=this.activeIndex;c(e,!1)})),e("#app-slider9-triggers > div").on("click",(function(){c(e(this).index(),!1)}))}a.data("activated",1)}}))},e.components.documentReady.push(e.SWIPER.documentReady))}(s,jQuery,window,document);function et(){}function tt(){var e=arguments.length,t=arguments[0];if(e<2)return t;for(var i=1;i<e;i++)for(var n=arguments[i],a=Object.keys(n||{}),r=a.length,o=0;o<r;o++){var s=a[o];t[s]=n[s]}return t}function it(e){return tt({},e)}function nt(e){var t,i,n=it(e);for(t=0;i=(a=1+t++)<1||arguments.length<=a?void 0:arguments[a];){var a;delete n[i]}return n}et.prototype={mainCamera:null,cubeCameras:{},reserved:{time:null,cameraPosition:null},umap:{float:{type:"f",value:0},int:{type:"i",value:0},vec2:{type:"v2",value:function(){return new THREE.Vector2}},vec3:{type:"v3",value:function(){return new THREE.Vector3}},vec4:{type:"v4",value:function(){return new THREE.Vector4}},samplerCube:{type:"t"},sampler2D:{type:"t"}},getUmap:function(e){var t=this.umap[e].value;return"function"==typeof t?t():t},load:function(e,t){var i=this,n=e,a="string"==typeof e;a&&(n=[e]);for(var r=new Array(n.length),o=0,s=function(e,s){(new THREE.FileLoader).load(s,(function(l){var d;try{delete(d=JSON.parse(l)).id}catch(e){throw new Error("Could not parse shader"+s+"! Please verify the URL is correct.")}i.add(d.name,d),r[e]=d,++o===n.length&&t(a?r[0]:r)}))},l=0;l<n.length;l++)s(l,n[l])},loadJSON:function(e,t){var i=this,n=e,a="string"==typeof e;a&&(n=[e]);for(var r,o,s,l=new Array(n.length),d=0,u=0;u<n.length;u++)r=u,o=n[u],s=void 0,delete(s=o).id,i.add(s.name,s),l[r]=s,++d===n.length&&t(a?l[0]:l)},registerCamera:function(e){if(!(e instanceof THREE.Camera))throw new Error("Cannot register a non-camera as a camera!");this.mainCamera=e},registerCubeCamera:function(e,t){if(!t.renderTarget)throw new Error("Cannot register a non-camera as a camera!");this.cubeCameras[e]=t},unregisterCamera:function(e){if(e in this.cubeCameras)delete this.cubeCameras[e];else{if(e!==this.mainCamera)throw new Error("You never registered camera "+e);delete this.mainCamera}},updateSource:function(e,t,i){if(i=i||"name",!this.shaderTypes[e])throw new Error("Runtime Error: Cannot update shader "+e+" because it has not been added.");var n,a,r=this.add(e,t);for(a=0;n=this.runningShaders[a++];)n[i]===e&&(tt(n.material,nt(r,"id")),n.material.needsUpdate=!0)},renameShader:function(e,t){var i,n;if(!(e in this.shaderTypes))throw new Error("Could not rename shader "+e+" to "+t+". It does not exist.");for(this.shaderTypes[t]=this.shaderTypes[e],delete this.shaderTypes[e],i=0;n=this.runningShaders[i++];)n.name===e&&(n.name=t)},get:function(e){var t=this.shaderTypes[e];return t.initted||this.create(e),t.material},add:function(e,t){var i,n=it(t);for(var a in n.fragmentShader=t.fragment,n.vertexShader=t.vertex,delete n.fragment,delete n.vertex,n.uniforms)null===(i=n.uniforms[a]).value&&(n.uniforms[a].value=this.getUmap(i.glslType));return e in this.shaderTypes?tt(this.shaderTypes[e],n):this.shaderTypes[e]=n,n},create:function(e){for(var t=this.shaderTypes[e],i=Object.keys(t),n={},a=0;a<i.length;a++)"id"!==i[a]&&(n[i[a]]=t[i[a]]);return t.material=new THREE.RawShaderMaterial(n),this.runningShaders.push(t),t.init&&t.init(t.material),t.material.needsUpdate=!0,t.initted=!0,t.material},updateRuntime:function(e,t,i){var n,a,r,o;for(i=i||"name",a=0;n=this.runningShaders[a++];)if(n[i]===e)for(r in t.uniforms)r in this.reserved||r in n.material.uniforms&&("t"===(o=t.uniforms[r]).type&&"string"==typeof o.value&&(o.value=this.cubeCameras[o.value].renderTarget),n.material.uniforms[r].value=t.uniforms[r].value)},updateShaders:function(e,t){var i,n;for(t=t||{},n=0;i=this.runningShaders[n++];){for(var a in t.uniforms)a in i.material.uniforms&&(i.material.uniforms[a].value=t.uniforms[a]);"cameraPosition"in i.material.uniforms&&this.mainCamera&&(i.material.uniforms.cameraPosition.value=this.mainCamera.position.clone()),"viewMatrix"in i.material.uniforms&&this.mainCamera&&(i.material.uniforms.viewMatrix.value=this.mainCamera.matrixWorldInverse),"time"in i.material.uniforms&&(i.material.uniforms.time.value=e)}},shaderTypes:{},runningShaders:[]};const at=et;!function(e,t,i,n){null!==i.THREE_BACKGROUND_THREE&&(e.THREE_BACKGROUND_THREE=e.THREE_BACKGROUND_THREE||{},e.THREE_BACKGROUND_THREE.version="0.0.5",e.THREE_BACKGROUND_THREE.documentReady=function(e){if(0==e("#3D-background-three-canvas").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,o,s,l,d,u=i.innerWidth,c=i.innerHeight,f="3D-background-three-canvas",p=new THREE.Clock,h=!1,m=0,v=0,g=u/2,y=c/2,x=0,E=0,T=new THREE.Vector3,b=new at;function _(){a.aspect=i.innerWidth/i.innerHeight,a.updateProjectionMatrix(),s.setSize(i.innerWidth,i.innerHeight)}function w(e){m=e.clientX-g,v=e.clientY-y}function S(e){e.preventDefault(),h=!0,m=e.clientX-g,v=e.clientY-y}function C(e){e.preventDefault(),h=!1,m=e.clientX-g,v=e.clientY-y}function R(e,t){return Math.random()*(t-e)+e}return b.load([e("#"+f).data("shader-url")],(function(e){var t=b.get(e[0].name);d.material=t})),{init:function(){(a=new THREE.PerspectiveCamera(60,u/c,100,2e6)).position.set(0,100,2e3),b.registerCamera(a),(r=new THREE.Scene).add(new THREE.AmbientLight(5592405)),(o=new THREE.SpotLight(16777215,1.5)).position.set(0,500,2e3),r.add(o),(s=new THREE.WebGLRenderer({canvas:n.getElementById(f),alpha:!0,antialias:!0})).setSize(u,c);var e=new THREE.SphereGeometry(5,32,32,0,2*Math.PI,0,2*Math.PI);(d=new THREE.Mesh(e)).scale.setScalar(1e4),d.renderDepth=0,r.add(d);var t=new THREE.MeshPhongMaterial({color:16777215,flatShading:!0,vertexColors:THREE.VertexColors});l=new THREE.Mesh(function(e,t){for(var i=new THREE.Geometry,n=function(e,t){e.faces.forEach((function(e){for(var i=e instanceof THREE.Face3?3:4,n=0;n<i;n++)e.vertexColors[n]=t}))},a=0;a<t;a++){var r=new THREE.Vector3;r.x=1e4*Math.random()-5e3,r.y=6e3*Math.random()-3e3,r.z=8e3*Math.random()-4e3;var o=new THREE.Euler;o.x=2*Math.random()*Math.PI,o.y=2*Math.random()*Math.PI,o.z=2*Math.random()*Math.PI;var s=new THREE.Vector3;s.x=200*Math.random()+100;var l=void 0,d=new THREE.Color;"cube"==e?(l=new THREE.BoxGeometry(1,1,1),s.y=200*Math.random()+100,s.z=200*Math.random()+100,d.setRGB(0,0,Math.random()+.1)):"sphere"==e?(l=new THREE.IcosahedronGeometry(1,1),s.y=s.z=s.x,d.setRGB(.35,R(.12,.3),.2)):"poly"==e&&(l=new THREE.CylinderGeometry(3,6,3,5,1),s.y=30*Math.random(),s.z=30*Math.random(),d.setRGB(Math.random()+.1,0,0)),n(l,d);var u=new THREE.Mesh(l);u.position.copy(r),u.rotation.copy(o),u.scale.copy(s),u.updateMatrix(),i.merge(u.geometry,u.matrix)}return i}("sphere",200),t),r.add(l),i.addEventListener("resize",_,!1),n.addEventListener("mousemove",w,!1),n.addEventListener("mousedown",S,!1),n.addEventListener("mouseup",C,!1)},render:function e(){requestAnimationFrame(e);var i=new THREE.Vector3(0,.2,.1),n=p.getDelta();h||(l.rotation.x+=n*i.x,l.rotation.y+=n*i.y,l.rotation.z+=n*i.z),s.setClearColor(0),b.updateShaders(p.getElapsedTime()),x+=.01*(.002*m-x),E+=.01*(.002*v-E);var o=35*-Math.sin(1.5*x),d=35*Math.cos(1.5*x),u=130*E+0;a.position.set(o,u,d),a.lookAt(T);for(var c=0;c<t.length;c++)t[c].update(1*p.getElapsedTime());s.render(r,a)},getRendererCanvasID:function(){return f},getScene:function(){return r},getCamera:function(){return a}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_BACKGROUND_THREE.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.THREE_BACKGROUND_THREE2&&(e.THREE_BACKGROUND_THREE2=e.THREE_BACKGROUND_THREE2||{},e.THREE_BACKGROUND_THREE2.version="0.0.4",e.THREE_BACKGROUND_THREE2.documentReady=function(e){if(0==e("#3D-background-three-canvas2").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,o,s,l,d=i.innerWidth,u=i.innerHeight,c="3D-background-three-canvas2",f=new THREE.Clock;new THREE.Vector2;function p(){a.aspect=i.innerWidth/i.innerHeight,a.updateProjectionMatrix(),o.setSize(i.innerWidth,i.innerHeight)}function h(e){var t=o.domElement.getBoundingClientRect();l.position.z=(e.clientX-t.left)/t.width*4-1}return{init:function(){(a=new THREE.PerspectiveCamera(50,d/u,.01,1e3)).position.set(0,0,1.8),r=new THREE.Scene,(o=new THREE.WebGLRenderer({canvas:n.getElementById(c),alpha:!0,antialias:!0})).setSize(d,u),(s=new THREE.ShaderMaterial({uniforms:{time:{value:1},texture:{value:(new THREE.TextureLoader).load(e("#"+c).data("filter-texture"))}},fragmentShader:"#define GLSLIFY 1\nuniform float time;\n\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvoid main( void ) {\n\n    vec2 position = - 1.0 + 2.0 * vUv;\n\n    float a = atan( position.y, position.x );\n    float r = sqrt( dot( position, position ) );\n\n    vec2 uv;\n    uv.x = cos( a ) / r;\n    uv.y = sin( a ) / r;\n    uv /= 10.0;\n    uv += time * 0.05;\n\n    vec3 color = texture2D( texture, uv ).rgb;\n\n    gl_FragColor = vec4( color * r * 1.5, 1.0 );\n\n}",vertexShader:"#define GLSLIFY 1\nvarying vec2 vUv;\n\nvoid main()\n{\n    vUv = uv;\n    vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );\n    gl_Position = projectionMatrix * mvPosition;\n}"})).uniforms.texture.value.wrapS=THREE.RepeatWrapping,s.uniforms.texture.value.wrapT=THREE.RepeatWrapping;var t=new THREE.SphereGeometry(5,50,50,0,2*Math.PI,0,2*Math.PI);l=new THREE.Mesh(t,s),r.add(l),i.addEventListener("resize",p,!1),n.addEventListener("mousemove",h,!1)},render:function e(){requestAnimationFrame(e);var i=f.getDelta();o.setClearColor(0),s.uniforms.time.value+=5*i;for(var n=0;n<t.length;n++)t[n].update(1*f.getElapsedTime());o.render(r,a)},getRendererCanvasID:function(){return c},getScene:function(){return r},getCamera:function(){return a}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_BACKGROUND_THREE2.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.THREE_BACKGROUND_THREE3&&(e.THREE_BACKGROUND_THREE3=e.THREE_BACKGROUND_THREE3||{},e.THREE_BACKGROUND_THREE3.version="0.0.2",e.THREE_BACKGROUND_THREE3.documentReady=function(e){if(0==e("#3D-background-three-canvas3").length||!Modernizr.webgl)return!1;var t=[],a=function(){var e,a,r,o,s=i.innerWidth,l=i.innerHeight,d="3D-background-three-canvas3",u=new THREE.Vector2,c=new THREE.Euler,f=THREE.Math.degToRad(30),p=THREE.Math.degToRad(10);function h(){e.aspect=i.innerWidth/i.innerHeight,e.updateProjectionMatrix(),r.setSize(i.innerWidth,i.innerHeight)}function m(e){var t=r.domElement.getBoundingClientRect();u.x=(e.clientX-t.left)/t.width*2-1,u.y=(e.clientY-t.top)/t.height*-2+1,c.y=u.x*f,c.x=-u.y*p}function v(e,t,i){e&&e[t]!==i&&(e[t]+=.1*(i-e[t]),Math.abs(i-e[t])<.001&&(e[t]=i))}return{init:function(){(e=new THREE.PerspectiveCamera(50,s/l,.01,1e3)).position.set(0,0,1.8),a=new THREE.Scene,(r=new THREE.WebGLRenderer({canvas:n.getElementById(d),alpha:!0,antialias:!0})).setSize(s,l);var t=new THREE.SphereBufferGeometry(2,12,12),u=new THREE.MeshBasicMaterial({color:4802889,wireframe:!0});(o=new THREE.Mesh(t,u)).position.y=-.2,a.add(o),i.addEventListener("resize",h,!1),n.addEventListener("mousemove",m,!1)},render:function i(){requestAnimationFrame(i),.1,r.setClearColor(0),v(o.rotation,"x",c.x),v(o.rotation,"y",c.y);for(var n=0;n<t.length;n++)t[n].update(1*clock.getElapsedTime());r.render(a,e)},getRendererCanvasID:function(){return d},getScene:function(){return a},getCamera:function(){return e}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_BACKGROUND_THREE3.documentReady))}(s,jQuery,window,document);function rt(e){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rt(e)}!function(e,t,i,n){null!==i.THREE_BACKGROUND&&(e.THREE_BACKGROUND=e.THREE_BACKGROUND||{},e.THREE_BACKGROUND.version="0.0.4",e.THREE_BACKGROUND.documentReady=function(e){function t(t){var n,r,o,s,l=t.currentTarget.obj,d=t.currentTarget.itemsTotal,u=t.currentTarget.config.offset,c=l.clientWidth,f=l.clientHeight,p=0,h=0;u&&(1===d?p=Math.pow(u[0],u[1]):(p=u[0],h=u[1]));var m=t.touches;if(m&&m.length?(n=m[0].clientX+i.pageXOffset,r=m[0].clientY+i.pageYOffset):(n=t.clientX+i.pageXOffset,r=t.clientY+i.pageYOffset),o=n-e(l).offset().left,s=r-e(l).offset().top,1===d){var v=a(o,c,p),g=a(s,f,p);l.style.transform="rotateX(".concat(g,"deg) rotateY(").concat(v,"deg)")}else{var y=o/c,x=s/f,E=l.children;Array.prototype.forEach.call(E,(function(e,t){var i=y*(p*Math.pow(h,t)),n=x*(p*Math.pow(h,t)),a=x*(180/Math.PI)-35;e.style.transform="translate(".concat(i,"px ,").concat(n,"px) rotate3d( -1, 1, 0, ").concat(a,"deg )")}))}}function n(e){var t=e.currentTarget.obj,i=e.currentTarget.itemsTotal;if(e.currentTarget.config.reset)if(1===i)t.style.transform="rotateX(0deg) rotateY(0deg)";else{var n=t.children;Array.prototype.forEach.call(n,(function(e,t){e.style.transform="translate(0,0) rotate3d( -1, 1, 0, 0deg )"}))}}function a(e,t,i){return Math.floor(e/t*(2*i))-i}e("[data-3d-animate]").each((function(i,a){var r=e(a).data("3d-animate");"undefined"===rt(r)&&(r=!1),r&&(a.removeEventListener("mousemove",t),a.removeEventListener("touchmove",t),a.addEventListener("mousemove",t),a.addEventListener("touchmove",t),a.removeEventListener("mouseleave",n),a.removeEventListener("touchend",n),a.addEventListener("mouseleave",n),a.addEventListener("touchend",n),a.obj=a,a.itemsTotal=a.children.length,a.config=r)}))},e.components.documentReady.push(e.THREE_BACKGROUND.documentReady))}(s,jQuery,window,document);function ot(e){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ot(e)}!function(e,t,i,n){null!==i.THREE_CAROUSEL&&(e.THREE_CAROUSEL=e.THREE_CAROUSEL||{},e.THREE_CAROUSEL.version="0.0.2",e.THREE_CAROUSEL.documentReady=function(e){e(".uix-3d-carousel").each((function(){var t,i=e(this),n=i.find("> ul"),a=n.find("> li"),r=a.length,o=i.data("timing"),s=i.data("prev-btn"),l=i.data("next-btn"),d=i.data("draggable"),u=null,c=[],f=1,p=0;if("undefined"===ot(o)&&(o=5e3),"undefined"===ot(s)&&(s=".my-carousel-3d-prev"),"undefined"===ot(l)&&(l=".my-carousel-3d-next"),"undefined"===ot(d)&&(d=!1),3==r){var h=a.eq(1).clone();a.last().after(h)}if(2==r){var m=a.eq(0).clone(),v=a.eq(1).clone();a.last().after([m,v])}if(1==r){var g=a.eq(0).clone(),y=a.eq(0).clone(),x=a.eq(0).clone();a.last().after([g,y,x])}a=(n=i.find("> ul")).find("> li"),r=a.length,t=r,a.each((function(t){c[t]=e(this).text(),e(this).attr("id",t+1)})),n.on("mouseenter",(function(){clearInterval(u)})).on("mouseleave",(function(){u=setInterval(S,o)})),S("clockwise"),e(s).on("click",(function(e){return e.preventDefault(),S("clockwise"),!1})),e(l).on("click",(function(e){return e.preventDefault(),S("counter-clockwise"),!1})),a.on("click",(function(t){t.preventDefault(),"uix-3d-carousel__item uix-3d-carousel__item--left-pos"==e(this).attr("class")?S("counter-clockwise"):S("clockwise")}));var E,T=n,b={};d||(b={inputClass:Hammer.TouchInput});var _=T[0],w=new Hammer(_,b);function S(e){var i=e;if("counter-clockwise"==i){var a=parseFloat(n.find("> li.uix-3d-carousel__item--left-pos").attr("id")-1);0==a&&(a=r),n.find("> li.uix-3d-carousel__item--right-pos").removeClass("uix-3d-carousel__item--right-pos").addClass("uix-3d-carousel__item--back-pos"),n.find("> li.uix-3d-carousel__item--main-pos").removeClass("uix-3d-carousel__item--main-pos").addClass("uix-3d-carousel__item--right-pos"),n.find("> li.uix-3d-carousel__item--left-pos").removeClass("uix-3d-carousel__item--left-pos").addClass("uix-3d-carousel__item--main-pos"),n.find("> li#"+a).removeClass("uix-3d-carousel__item--back-pos").addClass("uix-3d-carousel__item--left-pos"),--f<1&&(f=r)}if("clockwise"==i||""==i||null==i){var o=function(e){return"leftposition"!=e&&(p++,f+p>t&&(p=1-f)),"leftposition"==e&&(p=f-1)<1&&(p=r),p};n.find("> li#"+f).removeClass("uix-3d-carousel__item--main-pos").addClass("uix-3d-carousel__item--left-pos"),n.find("> li#"+(f+o())).removeClass("uix-3d-carousel__item--right-pos").addClass("uix-3d-carousel__item--main-pos"),n.find("> li#"+(f+o())).removeClass("uix-3d-carousel__item--back-pos").addClass("uix-3d-carousel__item--right-pos"),n.find("> li#"+o("leftposition")).removeClass("uix-3d-carousel__item--left-pos").addClass("uix-3d-carousel__item--back-pos"),f++,p=0,f>r&&(f=1)}}w.get("pan").set({direction:Hammer.DIRECTION_ALL}),w.on("press panright panleft",(function(e){E=e.type})),w.on("panend",(function(e){"panleft"==E&&S("clockwise"),"panright"==E&&S("counter-clockwise")}))}))},e.components.documentReady.push(e.THREE_CAROUSEL.documentReady))}(s,jQuery,window,document);THREE.OrbitControls=function(e,t){var i,n,a,r,o;this.object=e,this.domElement=void 0!==t?t:document,this.enabled=!0,this.target=new THREE.Vector3,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.25,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!1,this.keyPanSpeed=7,this.autoRotate=!1,this.autoRotateSpeed=2,this.enableKeys=!0,this.keys={LEFT:37,UP:38,RIGHT:39,BOTTOM:40},this.mouseButtons={ORBIT:THREE.MOUSE.LEFT,ZOOM:THREE.MOUSE.MIDDLE,PAN:THREE.MOUSE.RIGHT},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this.getPolarAngle=function(){return h.phi},this.getAzimuthalAngle=function(){return h.theta},this.saveState=function(){s.target0.copy(s.target),s.position0.copy(s.object.position),s.zoom0=s.object.zoom},this.reset=function(){s.target.copy(s.target0),s.object.position.copy(s.position0),s.object.zoom=s.zoom0,s.object.updateProjectionMatrix(),s.dispatchEvent(l),s.update(),f=c.NONE},this.update=(i=new THREE.Vector3,n=(new THREE.Quaternion).setFromUnitVectors(e.up,new THREE.Vector3(0,1,0)),a=n.clone().inverse(),r=new THREE.Vector3,o=new THREE.Quaternion,function(){var e=s.object.position;return i.copy(e).sub(s.target),i.applyQuaternion(n),h.setFromVector3(i),s.autoRotate&&f===c.NONE&&L(2*Math.PI/60/60*s.autoRotateSpeed),h.theta+=m.theta,h.phi+=m.phi,h.theta=Math.max(s.minAzimuthAngle,Math.min(s.maxAzimuthAngle,h.theta)),h.phi=Math.max(s.minPolarAngle,Math.min(s.maxPolarAngle,h.phi)),h.makeSafe(),h.radius*=v,h.radius=Math.max(s.minDistance,Math.min(s.maxDistance,h.radius)),s.target.add(g),i.setFromSpherical(h),i.applyQuaternion(a),e.copy(s.target).add(i),s.object.lookAt(s.target),!0===s.enableDamping?(m.theta*=1-s.dampingFactor,m.phi*=1-s.dampingFactor,g.multiplyScalar(1-s.dampingFactor)):(m.set(0,0,0),g.set(0,0,0)),v=1,!!(y||r.distanceToSquared(s.object.position)>p||8*(1-o.dot(s.object.quaternion))>p)&&(s.dispatchEvent(l),r.copy(s.object.position),o.copy(s.object.quaternion),y=!1,!0)}),this.dispose=function(){s.domElement.removeEventListener("contextmenu",Y,!1),s.domElement.removeEventListener("mousedown",N,!1),s.domElement.removeEventListener("wheel",j,!1),s.domElement.removeEventListener("touchstart",B,!1),s.domElement.removeEventListener("touchend",U,!1),s.domElement.removeEventListener("touchmove",W,!1),document.removeEventListener("mousemove",F,!1),document.removeEventListener("mouseup",z,!1),window.removeEventListener("keydown",G,!1)};var s=this,l={type:"change"},d={type:"start"},u={type:"end"},c={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_DOLLY_PAN:4},f=c.NONE,p=1e-6,h=new THREE.Spherical,m=new THREE.Spherical,v=1,g=new THREE.Vector3,y=!1,x=new THREE.Vector2,E=new THREE.Vector2,T=new THREE.Vector2,b=new THREE.Vector2,_=new THREE.Vector2,w=new THREE.Vector2,S=new THREE.Vector2,C=new THREE.Vector2,R=new THREE.Vector2;function M(){return Math.pow(.95,s.zoomSpeed)}function L(e){m.theta-=e}function A(e){m.phi-=e}var O,D=(O=new THREE.Vector3,function(e,t){O.setFromMatrixColumn(t,0),O.multiplyScalar(-e),g.add(O)}),P=function(){var e=new THREE.Vector3;return function(t,i){!0===s.screenSpacePanning?e.setFromMatrixColumn(i,1):(e.setFromMatrixColumn(i,0),e.crossVectors(s.object.up,e)),e.multiplyScalar(t),g.add(e)}}(),I=function(){var e=new THREE.Vector3;return function(t,i){var n=s.domElement===document?s.domElement.body:s.domElement;if(s.object.isPerspectiveCamera){var a=s.object.position;e.copy(a).sub(s.target);var r=e.length();r*=Math.tan(s.object.fov/2*Math.PI/180),D(2*t*r/n.clientHeight,s.object.matrix),P(2*i*r/n.clientHeight,s.object.matrix)}else s.object.isOrthographicCamera?(D(t*(s.object.right-s.object.left)/s.object.zoom/n.clientWidth,s.object.matrix),P(i*(s.object.top-s.object.bottom)/s.object.zoom/n.clientHeight,s.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),s.enablePan=!1)}}();function H(e){s.object.isPerspectiveCamera?v/=e:s.object.isOrthographicCamera?(s.object.zoom=Math.max(s.minZoom,Math.min(s.maxZoom,s.object.zoom*e)),s.object.updateProjectionMatrix(),y=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),s.enableZoom=!1)}function k(e){s.object.isPerspectiveCamera?v*=e:s.object.isOrthographicCamera?(s.object.zoom=Math.max(s.minZoom,Math.min(s.maxZoom,s.object.zoom/e)),s.object.updateProjectionMatrix(),y=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),s.enableZoom=!1)}function N(e){if(!1!==s.enabled){switch(e.preventDefault(),e.button){case s.mouseButtons.ORBIT:if(!1===s.enableRotate)return;!function(e){x.set(e.clientX,e.clientY)}(e),f=c.ROTATE;break;case s.mouseButtons.ZOOM:if(!1===s.enableZoom)return;!function(e){S.set(e.clientX,e.clientY)}(e),f=c.DOLLY;break;case s.mouseButtons.PAN:if(!1===s.enablePan)return;!function(e){b.set(e.clientX,e.clientY)}(e),f=c.PAN}f!==c.NONE&&(document.addEventListener("mousemove",F,!1),document.addEventListener("mouseup",z,!1),s.dispatchEvent(d))}}function F(e){if(!1!==s.enabled)switch(e.preventDefault(),f){case c.ROTATE:if(!1===s.enableRotate)return;!function(e){E.set(e.clientX,e.clientY),T.subVectors(E,x).multiplyScalar(s.rotateSpeed);var t=s.domElement===document?s.domElement.body:s.domElement;L(2*Math.PI*T.x/t.clientWidth),A(2*Math.PI*T.y/t.clientHeight),x.copy(E),s.update()}(e);break;case c.DOLLY:if(!1===s.enableZoom)return;!function(e){C.set(e.clientX,e.clientY),R.subVectors(C,S),R.y>0?H(M()):R.y<0&&k(M()),S.copy(C),s.update()}(e);break;case c.PAN:if(!1===s.enablePan)return;!function(e){_.set(e.clientX,e.clientY),w.subVectors(_,b).multiplyScalar(s.panSpeed),I(w.x,w.y),b.copy(_),s.update()}(e)}}function z(e){!1!==s.enabled&&(document.removeEventListener("mousemove",F,!1),document.removeEventListener("mouseup",z,!1),s.dispatchEvent(u),f=c.NONE)}function j(e){!1===s.enabled||!1===s.enableZoom||f!==c.NONE&&f!==c.ROTATE||(e.preventDefault(),e.stopPropagation(),s.dispatchEvent(d),function(e){e.deltaY<0?k(M()):e.deltaY>0&&H(M()),s.update()}(e),s.dispatchEvent(u))}function G(e){!1!==s.enabled&&!1!==s.enableKeys&&!1!==s.enablePan&&function(e){switch(e.keyCode){case s.keys.UP:I(0,s.keyPanSpeed),s.update();break;case s.keys.BOTTOM:I(0,-s.keyPanSpeed),s.update();break;case s.keys.LEFT:I(s.keyPanSpeed,0),s.update();break;case s.keys.RIGHT:I(-s.keyPanSpeed,0),s.update()}}(e)}function B(e){if(!1!==s.enabled){switch(e.preventDefault(),e.touches.length){case 1:if(!1===s.enableRotate)return;!function(e){x.set(e.touches[0].pageX,e.touches[0].pageY)}(e),f=c.TOUCH_ROTATE;break;case 2:if(!1===s.enableZoom&&!1===s.enablePan)return;!function(e){if(s.enableZoom){var t=e.touches[0].pageX-e.touches[1].pageX,i=e.touches[0].pageY-e.touches[1].pageY,n=Math.sqrt(t*t+i*i);S.set(0,n)}if(s.enablePan){var a=.5*(e.touches[0].pageX+e.touches[1].pageX),r=.5*(e.touches[0].pageY+e.touches[1].pageY);b.set(a,r)}}(e),f=c.TOUCH_DOLLY_PAN;break;default:f=c.NONE}f!==c.NONE&&s.dispatchEvent(d)}}function W(e){if(!1!==s.enabled)switch(e.preventDefault(),e.stopPropagation(),e.touches.length){case 1:if(!1===s.enableRotate)return;if(f!==c.TOUCH_ROTATE)return;!function(e){E.set(e.touches[0].pageX,e.touches[0].pageY),T.subVectors(E,x).multiplyScalar(s.rotateSpeed);var t=s.domElement===document?s.domElement.body:s.domElement;L(2*Math.PI*T.x/t.clientWidth),A(2*Math.PI*T.y/t.clientHeight),x.copy(E),s.update()}(e);break;case 2:if(!1===s.enableZoom&&!1===s.enablePan)return;if(f!==c.TOUCH_DOLLY_PAN)return;!function(e){if(s.enableZoom){var t=e.touches[0].pageX-e.touches[1].pageX,i=e.touches[0].pageY-e.touches[1].pageY,n=Math.sqrt(t*t+i*i);C.set(0,n),R.set(0,Math.pow(C.y/S.y,s.zoomSpeed)),H(R.y),S.copy(C)}if(s.enablePan){var a=.5*(e.touches[0].pageX+e.touches[1].pageX),r=.5*(e.touches[0].pageY+e.touches[1].pageY);_.set(a,r),w.subVectors(_,b).multiplyScalar(s.panSpeed),I(w.x,w.y),b.copy(_)}s.update()}(e);break;default:f=c.NONE}}function U(e){!1!==s.enabled&&(s.dispatchEvent(u),f=c.NONE)}function Y(e){!1!==s.enabled&&e.preventDefault()}s.domElement.addEventListener("contextmenu",Y,!1),s.domElement.addEventListener("mousedown",N,!1),s.domElement.addEventListener("wheel",j,!1),s.domElement.addEventListener("touchstart",B,!1),s.domElement.addEventListener("touchend",U,!1),s.domElement.addEventListener("touchmove",W,!1),window.addEventListener("keydown",G,!1),this.update()},THREE.OrbitControls.prototype=Object.create(THREE.EventDispatcher.prototype),THREE.OrbitControls.prototype.constructor=THREE.OrbitControls,Object.defineProperties(THREE.OrbitControls.prototype,{center:{get:function(){return console.warn("THREE.OrbitControls: .center has been renamed to .target"),this.target}},noZoom:{get:function(){return console.warn("THREE.OrbitControls: .noZoom has been deprecated. Use .enableZoom instead."),!this.enableZoom},set:function(e){console.warn("THREE.OrbitControls: .noZoom has been deprecated. Use .enableZoom instead."),this.enableZoom=!e}},noRotate:{get:function(){return console.warn("THREE.OrbitControls: .noRotate has been deprecated. Use .enableRotate instead."),!this.enableRotate},set:function(e){console.warn("THREE.OrbitControls: .noRotate has been deprecated. Use .enableRotate instead."),this.enableRotate=!e}},noPan:{get:function(){return console.warn("THREE.OrbitControls: .noPan has been deprecated. Use .enablePan instead."),!this.enablePan},set:function(e){console.warn("THREE.OrbitControls: .noPan has been deprecated. Use .enablePan instead."),this.enablePan=!e}},noKeys:{get:function(){return console.warn("THREE.OrbitControls: .noKeys has been deprecated. Use .enableKeys instead."),!this.enableKeys},set:function(e){console.warn("THREE.OrbitControls: .noKeys has been deprecated. Use .enableKeys instead."),this.enableKeys=!e}},staticMoving:{get:function(){return console.warn("THREE.OrbitControls: .staticMoving has been deprecated. Use .enableDamping instead."),!this.enableDamping},set:function(e){console.warn("THREE.OrbitControls: .staticMoving has been deprecated. Use .enableDamping instead."),this.enableDamping=!e}},dynamicDampingFactor:{get:function(){return console.warn("THREE.OrbitControls: .dynamicDampingFactor has been renamed. Use .dampingFactor instead."),this.dampingFactor},set:function(e){console.warn("THREE.OrbitControls: .dynamicDampingFactor has been renamed. Use .dampingFactor instead."),this.dampingFactor=e}}});THREE.OrbitControls;function st(e){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},st(e)}!function(e,t,i,n){null!==i.THREE_GALLERY&&(e.THREE_GALLERY=e.THREE_GALLERY||{},e.THREE_GALLERY.version="0.0.5",e.THREE_GALLERY.documentReady=function(e){if(0==e("#3D-gallery-three-canvas").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,o,s,l,d,u=i.innerWidth,p=i.innerHeight,h="3D-gallery-three-canvas",m=[],v=!1,g=0,y=0;function x(){a.aspect=i.innerWidth/i.innerHeight,a.updateProjectionMatrix(),l.setSize(i.innerWidth,i.innerHeight)}function E(){y=g,g=i.pageYOffset,console.log("lastScrollValue: "+y+", scrollValue: "+g)}return{init:function(){(a=new THREE.PerspectiveCamera(75,u/p,1,1e4)).position.set(0,0,1e3),(r=new THREE.OrbitControls(a)).autoRotate=!1,r.autoRotateSpeed=.5,r.rotateSpeed=.5,r.zoomSpeed=1.2,r.panSpeed=.8,r.enableZoom=!1,r.enableDamping=!0,r.dampingFactor=.25,r.screenSpacePanning=!1,r.minDistance=100,r.maxDistance=500,r.maxPolarAngle=Math.PI/2,r.target.set(30,167,81),r.update(),(o=new THREE.Scene).add(new THREE.AmbientLight(5592405)),(s=new THREE.SpotLight(16777215,1.5)).position.set(0,500,2e3),o.add(s),(l=new THREE.WebGLRenderer({canvas:n.getElementById(h),alpha:!0,antialias:!0})).setSize(u,p);var t=["https://placekitten.com/2100/2100","https://placekitten.com/2200/2200","https://placekitten.com/2300/2300","https://placekitten.com/2400/2400","https://placekitten.com/2500/2500","https://placekitten.com/2000/2000","https://placekitten.com/1600/1600","https://placekitten.com/1650/1650","https://placekitten.com/1670/1670","https://placekitten.com/1680/1680","https://placekitten.com/1700/1700"],v=new THREE.TextureLoader;v.crossOrigin="anonymous";var g=1500*(d=t.length)/(2*Math.PI),y=2*Math.PI/d;a.position.length()>g&&a.position.set(0,0,0),t.forEach((function(t,i){!function(t,i,n,a,r,o,s,l,d){t.load(i,(function(t){var i=new THREE.MeshBasicMaterial({map:t}),c=new THREE.PlaneGeometry(a,r),f=new THREE.Mesh(c,i);f.minFilter=THREE.LinearFilter,f.overdraw=!0,f.rotation.y=-n*s,f.position.set(l*Math.sin(n*s),0,-l*Math.cos(n*s)),m.push(f),TweenMax.to(d,.5,{width:Math.round(100*m.length/o)+"%",onComplete:function(){e(this.target).width()>=u-50&&TweenMax.to(this.target,.5,{alpha:0})}})}),void 0,(function(e){console.error("An error happened.")}))}(v,t,i,1400,933,d,y,g,e("#3D-gallery-three-canvas__loader"))}));var T=f(x,50);i.removeEventListener("resize",T),i.addEventListener("resize",T);var b=c(E,5);i.removeEventListener("scroll",b),i.removeEventListener("touchmove",b),i.addEventListener("scroll",b),i.addEventListener("touchmove",b),b()},render:function e(){requestAnimationFrame(e),.1,l.setClearColor(0);var i=g-y;i>60?i=60:i<-60&&(i=-60),a.position.x=a.position.x+i,"undefined"!=st(m)&&(v||m.length!==d||(m.forEach((function(e){o.add(e)})),v=!0)),r.update();for(var n=0;n<t.length;n++)t[n].update(1*clock.getElapsedTime());l.render(o,a)},getRendererCanvasID:function(){return h},getScene:function(){return o},getCamera:function(){return a}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_GALLERY.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.THREE_IMAGE_TRANSITION&&(e.THREE_IMAGE_TRANSITION=e.THREE_IMAGE_TRANSITION||{},e.THREE_IMAGE_TRANSITION.version="0.0.3",e.THREE_IMAGE_TRANSITION.documentReady=function(e){if(0==e("#3D-imagetransition-three-canvas").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,o,s,l,d,u,c=i.innerWidth,f=i.innerHeight,p="3D-imagetransition-three-canvas",h=e("#"+p).parent().width(),m=e("#"+p).parent().width()*(550/1400);function v(){a.aspect=i.innerWidth/i.innerHeight,a.updateProjectionMatrix(),l.setSize(i.innerWidth,i.innerHeight)}function g(e){TweenMax.to(u.uniforms.dispFactor,1.5,{value:1,ease:Expo.easeOut})}function y(e){TweenMax.to(u.uniforms.dispFactor,1,{value:0,ease:Expo.easeOut})}return{init:function(){(a=new THREE.PerspectiveCamera(75,c/f,1,1e4)).position.set(0,0,1e3),(r=new THREE.OrbitControls(a)).autoRotate=!1,r.autoRotateSpeed=.5,r.rotateSpeed=.5,r.zoomSpeed=1.2,r.panSpeed=.8,r.enableZoom=!1,r.enableDamping=!0,r.dampingFactor=.25,r.screenSpacePanning=!1,r.minDistance=100,r.maxDistance=500,r.maxPolarAngle=Math.PI/2,r.target.set(30,167,81),r.update(),(o=new THREE.Scene).add(new THREE.AmbientLight(5592405)),(s=new THREE.SpotLight(16777215,1.5)).position.set(0,500,2e3),o.add(s),(l=new THREE.WebGLRenderer({canvas:n.getElementById(p),alpha:!0,antialias:!0})).setSize(h,m);var t=["https://placekitten.com/1400/550","https://placekitten.com/1410/550"],x=new THREE.TextureLoader;x.crossOrigin="anonymous";var E=x.load(t[0]),T=x.load(t[1]),b=e("#"+p).data("filter-texture"),_=x.load(b);_.wrapS=_.wrapT=THREE.RepeatWrapping,E.magFilter=T.magFilter=THREE.LinearFilter,E.minFilter=T.minFilter=THREE.LinearFilter,E.anisotropy=l.capabilities.getMaxAnisotropy(),T.anisotropy=l.capabilities.getMaxAnisotropy();var w=new THREE.PlaneBufferGeometry(h,m,1);u=new THREE.ShaderMaterial({uniforms:{effectFactor:{type:"f",value:1},dispFactor:{type:"f",value:0},texture:{type:"t",value:E},texture2:{type:"t",value:T},disp:{type:"t",value:_}},vertexShader:"#define GLSLIFY 1\nvarying vec2 vUv;\nvoid main() {\n  vUv = uv;\n  gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"#define GLSLIFY 1\nvarying vec2 vUv;\n\nuniform sampler2D texture;\nuniform sampler2D texture2;\nuniform sampler2D disp;\n\n// uniform float time;\n// uniform float _rot;\nuniform float dispFactor;\nuniform float effectFactor;\n\n// vec2 rotate(vec2 v, float a) {\n//  float s = sin(a);\n//  float c = cos(a);\n//  mat2 m = mat2(c, -s, s, c);\n//  return m * v;\n// }\n\nvoid main() {\n\n    vec2 uv = vUv;\n\n    // uv -= 0.5;\n    // vec2 rotUV = rotate(uv, _rot);\n    // uv += 0.5;\n\n    vec4 disp = texture2D(disp, uv);\n\n    vec2 distortedPosition = vec2(uv.x + dispFactor * (disp.r*effectFactor), uv.y);\n    vec2 distortedPosition2 = vec2(uv.x - (1.0 - dispFactor) * (disp.r*effectFactor), uv.y);\n\n    vec4 _texture = texture2D(texture, distortedPosition);\n    vec4 _texture2 = texture2D(texture2, distortedPosition2);\n\n    vec4 finalTexture = mix(_texture, _texture2, dispFactor);\n\n    gl_FragColor = finalTexture;\n    // gl_FragColor = disp;\n}",transparent:!0,opacity:1}),(d=new THREE.Mesh(w,u)).position.set(0,0,0),o.add(d),i.addEventListener("resize",v,!1),n.getElementById(p).addEventListener("mouseenter",g,!1),n.getElementById(p).addEventListener("mouseleave",y,!1)},render:function e(){requestAnimationFrame(e),.1,r.update();for(var i=0;i<t.length;i++)t[i].update(1*clock.getElapsedTime());l.render(o,a)},getRendererCanvasID:function(){return p},getScene:function(){return o},getCamera:function(){return a}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_IMAGE_TRANSITION.documentReady))}(s,jQuery,window,document);THREE.GLTFLoader=function(){function e(e){this.manager=void 0!==e?e:THREE.DefaultLoadingManager,this.dracoLoader=null}function t(){var e={};return{get:function(t){return e[t]},add:function(t,i){e[t]=i},remove:function(t){delete e[t]},removeAll:function(){e={}}}}e.prototype={constructor:e,crossOrigin:"Anonymous",load:function(e,t,i,n){var a=this,r=void 0!==this.path?this.path:THREE.LoaderUtils.extractUrlBase(e),o=new THREE.FileLoader(a.manager);o.setResponseType("arraybuffer"),o.load(e,(function(e){try{a.parse(e,r,t,n)}catch(e){if(void 0===n)throw e;n(e)}}),i,n)},setCrossOrigin:function(e){return this.crossOrigin=e,this},setPath:function(e){return this.path=e,this},setDRACOLoader:function(e){return this.dracoLoader=e,this},parse:function(e,t,s,l){var f,p={};if("string"==typeof e)f=e;else if(THREE.LoaderUtils.decodeText(new Uint8Array(e,0,4))===o){try{p[i.KHR_BINARY_GLTF]=new d(e)}catch(e){return void(l&&l(e))}f=p[i.KHR_BINARY_GLTF].content}else f=THREE.LoaderUtils.decodeText(new Uint8Array(e));var h=JSON.parse(f);if(void 0===h.asset||h.asset.version[0]<2)l&&l(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported. Use LegacyGLTFLoader instead."));else{if(h.extensionsUsed)for(var m=0;m<h.extensionsUsed.length;++m){var v=h.extensionsUsed[m],g=h.extensionsRequired||[];switch(v){case i.KHR_LIGHTS:p[v]=new a(h);break;case i.KHR_MATERIALS_UNLIT:p[v]=new r(h);break;case i.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS:p[v]=new c;break;case i.KHR_DRACO_MESH_COMPRESSION:p[v]=new u(h,this.dracoLoader);break;case i.MSFT_TEXTURE_DDS:p[i.MSFT_TEXTURE_DDS]=new n;break;default:g.indexOf(v)>=0&&console.warn('THREE.GLTFLoader: Unknown extension "'+v+'".')}}var y=new j(h,p,{path:t||this.path||"",crossOrigin:this.crossOrigin,manager:this.manager});y.parse((function(e,t,i,n,a){var r={scene:e,scenes:t,cameras:i,animations:n,asset:a.asset,parser:y,userData:{}};P(p,r,a),s(r)}),l)}}};var i={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS:"KHR_lights",KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS:"KHR_materials_pbrSpecularGlossiness",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",MSFT_TEXTURE_DDS:"MSFT_texture_dds"};function n(){if(!THREE.DDSLoader)throw new Error("THREE.GLTFLoader: Attempting to load .dds texture without importing THREE.DDSLoader");this.name=i.MSFT_TEXTURE_DDS,this.ddsLoader=new THREE.DDSLoader}function a(e){this.name=i.KHR_LIGHTS,this.lights={};var t=(e.extensions&&e.extensions[i.KHR_LIGHTS]||{}).lights||{};for(var n in t){var a,r=t[n],o=(new THREE.Color).fromArray(r.color);switch(r.type){case"directional":(a=new THREE.DirectionalLight(o)).target.position.set(0,0,1),a.add(a.target);break;case"point":a=new THREE.PointLight(o);break;case"spot":a=new THREE.SpotLight(o),r.spot=r.spot||{},r.spot.innerConeAngle=void 0!==r.spot.innerConeAngle?r.spot.innerConeAngle:0,r.spot.outerConeAngle=void 0!==r.spot.outerConeAngle?r.spot.outerConeAngle:Math.PI/4,a.angle=r.spot.outerConeAngle,a.penumbra=1-r.spot.innerConeAngle/r.spot.outerConeAngle,a.target.position.set(0,0,1),a.add(a.target);break;case"ambient":a=new THREE.AmbientLight(o)}a&&(a.decay=2,void 0!==r.intensity&&(a.intensity=r.intensity),a.name=r.name||"light_"+n,this.lights[n]=a)}}function r(e){this.name=i.KHR_MATERIALS_UNLIT}r.prototype.getMaterialType=function(e){return THREE.MeshBasicMaterial},r.prototype.extendParams=function(e,t,i){var n=[];e.color=new THREE.Color(1,1,1),e.opacity=1;var a=t.pbrMetallicRoughness;if(a){if(Array.isArray(a.baseColorFactor)){var r=a.baseColorFactor;e.color.fromArray(r),e.opacity=r[3]}void 0!==a.baseColorTexture&&n.push(i.assignTexture(e,"map",a.baseColorTexture.index))}return Promise.all(n)};var o="glTF",s=1313821514,l=5130562;function d(e){this.name=i.KHR_BINARY_GLTF,this.content=null,this.body=null;var t=new DataView(e,0,12);if(this.header={magic:THREE.LoaderUtils.decodeText(new Uint8Array(e.slice(0,4))),version:t.getUint32(4,!0),length:t.getUint32(8,!0)},this.header.magic!==o)throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");if(this.header.version<2)throw new Error("THREE.GLTFLoader: Legacy binary file detected. Use LegacyGLTFLoader instead.");for(var n=new DataView(e,12),a=0;a<n.byteLength;){var r=n.getUint32(a,!0);a+=4;var d=n.getUint32(a,!0);if(a+=4,d===s){var u=new Uint8Array(e,12+a,r);this.content=THREE.LoaderUtils.decodeText(u)}else if(d===l){var c=12+a;this.body=e.slice(c,c+r)}a+=r}if(null===this.content)throw new Error("THREE.GLTFLoader: JSON content not found.")}function u(e,t){if(!t)throw new Error("THREE.GLTFLoader: No DRACOLoader instance provided.");this.name=i.KHR_DRACO_MESH_COMPRESSION,this.json=e,this.dracoLoader=t}function c(){return{name:i.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS,specularGlossinessParams:["color","map","lightMap","lightMapIntensity","aoMap","aoMapIntensity","emissive","emissiveIntensity","emissiveMap","bumpMap","bumpScale","normalMap","displacementMap","displacementScale","displacementBias","specularMap","specular","glossinessMap","glossiness","alphaMap","envMap","envMapIntensity","refractionRatio"],getMaterialType:function(){return THREE.ShaderMaterial},extendParams:function(e,t,i){var n=t.extensions[this.name],a=THREE.ShaderLib.standard,r=THREE.UniformsUtils.clone(a.uniforms),o=["#ifdef USE_SPECULARMAP","\tuniform sampler2D specularMap;","#endif"].join("\n"),s=["#ifdef USE_GLOSSINESSMAP","\tuniform sampler2D glossinessMap;","#endif"].join("\n"),l=["vec3 specularFactor = specular;","#ifdef USE_SPECULARMAP","\tvec4 texelSpecular = texture2D( specularMap, vUv );","\ttexelSpecular = sRGBToLinear( texelSpecular );","\t// reads channel RGB, compatible with a glTF Specular-Glossiness (RGBA) texture","\tspecularFactor *= texelSpecular.rgb;","#endif"].join("\n"),d=["float glossinessFactor = glossiness;","#ifdef USE_GLOSSINESSMAP","\tvec4 texelGlossiness = texture2D( glossinessMap, vUv );","\t// reads channel A, compatible with a glTF Specular-Glossiness (RGBA) texture","\tglossinessFactor *= texelGlossiness.a;","#endif"].join("\n"),u=["PhysicalMaterial material;","material.diffuseColor = diffuseColor.rgb;","material.specularRoughness = clamp( 1.0 - glossinessFactor, 0.04, 1.0 );","material.specularColor = specularFactor.rgb;"].join("\n"),c=a.fragmentShader.replace("uniform float roughness;","uniform vec3 specular;").replace("uniform float metalness;","uniform float glossiness;").replace("#include <roughnessmap_pars_fragment>",o).replace("#include <metalnessmap_pars_fragment>",s).replace("#include <roughnessmap_fragment>",l).replace("#include <metalnessmap_fragment>",d).replace("#include <lights_physical_fragment>",u);delete r.roughness,delete r.metalness,delete r.roughnessMap,delete r.metalnessMap,r.specular={value:(new THREE.Color).setHex(1118481)},r.glossiness={value:.5},r.specularMap={value:null},r.glossinessMap={value:null},e.vertexShader=a.vertexShader,e.fragmentShader=c,e.uniforms=r,e.defines={STANDARD:""},e.color=new THREE.Color(1,1,1),e.opacity=1;var f=[];if(Array.isArray(n.diffuseFactor)){var p=n.diffuseFactor;e.color.fromArray(p),e.opacity=p[3]}if(void 0!==n.diffuseTexture&&f.push(i.assignTexture(e,"map",n.diffuseTexture.index)),e.emissive=new THREE.Color(0,0,0),e.glossiness=void 0!==n.glossinessFactor?n.glossinessFactor:1,e.specular=new THREE.Color(1,1,1),Array.isArray(n.specularFactor)&&e.specular.fromArray(n.specularFactor),void 0!==n.specularGlossinessTexture){var h=n.specularGlossinessTexture.index;f.push(i.assignTexture(e,"glossinessMap",h)),f.push(i.assignTexture(e,"specularMap",h))}return Promise.all(f)},createMaterial:function(e){var t=new THREE.ShaderMaterial({defines:e.defines,vertexShader:e.vertexShader,fragmentShader:e.fragmentShader,uniforms:e.uniforms,fog:!0,lights:!0,opacity:e.opacity,transparent:e.transparent});return t.isGLTFSpecularGlossinessMaterial=!0,t.color=e.color,t.map=void 0===e.map?null:e.map,t.lightMap=null,t.lightMapIntensity=1,t.aoMap=void 0===e.aoMap?null:e.aoMap,t.aoMapIntensity=1,t.emissive=e.emissive,t.emissiveIntensity=1,t.emissiveMap=void 0===e.emissiveMap?null:e.emissiveMap,t.bumpMap=void 0===e.bumpMap?null:e.bumpMap,t.bumpScale=1,t.normalMap=void 0===e.normalMap?null:e.normalMap,e.normalScale&&(t.normalScale=e.normalScale),t.displacementMap=null,t.displacementScale=1,t.displacementBias=0,t.specularMap=void 0===e.specularMap?null:e.specularMap,t.specular=e.specular,t.glossinessMap=void 0===e.glossinessMap?null:e.glossinessMap,t.glossiness=e.glossiness,t.alphaMap=null,t.envMap=void 0===e.envMap?null:e.envMap,t.envMapIntensity=1,t.refractionRatio=.98,t.extensions.derivatives=!0,t},cloneMaterial:function(e){var t=e.clone();t.isGLTFSpecularGlossinessMaterial=!0;for(var i=this.specularGlossinessParams,n=0,a=i.length;n<a;n++)t[i[n]]=e[i[n]];return t},refreshUniforms:function(e,t,i,n,a,r){if(!0===a.isGLTFSpecularGlossinessMaterial){var o,s,l,d=a.uniforms,u=a.defines;if(d.opacity.value=a.opacity,d.diffuse.value.copy(a.color),d.emissive.value.copy(a.emissive).multiplyScalar(a.emissiveIntensity),d.map.value=a.map,d.specularMap.value=a.specularMap,d.alphaMap.value=a.alphaMap,d.lightMap.value=a.lightMap,d.lightMapIntensity.value=a.lightMapIntensity,d.aoMap.value=a.aoMap,d.aoMapIntensity.value=a.aoMapIntensity,a.map?o=a.map:a.specularMap?o=a.specularMap:a.displacementMap?o=a.displacementMap:a.normalMap?o=a.normalMap:a.bumpMap?o=a.bumpMap:a.glossinessMap?o=a.glossinessMap:a.alphaMap?o=a.alphaMap:a.emissiveMap&&(o=a.emissiveMap),void 0!==o)if(o.isWebGLRenderTarget&&(o=o.texture),void 0!==o.matrix){if(!0===o.matrixAutoUpdate){s=o.offset,l=o.repeat;var c=o.rotation,f=o.center;o.matrix.setUvTransform(s.x,s.y,l.x,l.y,c,f.x,f.y)}d.uvTransform.value.copy(o.matrix)}else s=o.offset,l=o.repeat,d.offsetRepeat.value.set(s.x,s.y,l.x,l.y);d.envMap.value=a.envMap,d.envMapIntensity.value=a.envMapIntensity,d.flipEnvMap.value=a.envMap&&a.envMap.isCubeTexture?-1:1,d.refractionRatio.value=a.refractionRatio,d.specular.value.copy(a.specular),d.glossiness.value=a.glossiness,d.glossinessMap.value=a.glossinessMap,d.emissiveMap.value=a.emissiveMap,d.bumpMap.value=a.bumpMap,d.normalMap.value=a.normalMap,d.displacementMap.value=a.displacementMap,d.displacementScale.value=a.displacementScale,d.displacementBias.value=a.displacementBias,null!==d.glossinessMap.value&&void 0===u.USE_GLOSSINESSMAP&&(u.USE_GLOSSINESSMAP="",u.USE_ROUGHNESSMAP=""),null===d.glossinessMap.value&&void 0!==u.USE_GLOSSINESSMAP&&(delete u.USE_GLOSSINESSMAP,delete u.USE_ROUGHNESSMAP)}}}}function f(e,t,i,n){THREE.Interpolant.call(this,e,t,i,n)}u.prototype.decodePrimitive=function(e,t){var i=this.json,n=this.dracoLoader,a=e.extensions[this.name].bufferView,r=e.extensions[this.name].attributes,o={},s={},l={};for(var d in r)d in C&&(o[C[d]]=r[d]);for(d in e.attributes)if(void 0!==C[d]&&void 0!==r[d]){var u=i.accessors[e.attributes[d]],c=E[u.componentType];l[C[d]]=c,s[C[d]]=!0===u.normalized}return t.getDependency("bufferView",a).then((function(e){return new Promise((function(t){n.decodeDracoFile(e,(function(e){for(var i in e.attributes){var n=e.attributes[i],a=s[i];void 0!==a&&(n.normalized=a)}t(e)}),o,l)}))}))},f.prototype=Object.create(THREE.Interpolant.prototype),f.prototype.constructor=f,f.prototype.interpolate_=function(e,t,i,n){for(var a=this.resultBuffer,r=this.sampleValues,o=this.valueSize,s=2*o,l=3*o,d=n-t,u=(i-t)/d,c=u*u,f=c*u,p=e*l,h=p-l,m=2*f-3*c+1,v=f-2*c+u,g=-2*f+3*c,y=f-c,x=0;x!==o;x++){var E=r[h+x+o],T=r[h+x+s]*d,b=r[p+x+o],_=r[p+x]*d;a[x]=m*E+v*T+g*b+y*_}return a};var p=0,h=1,m=2,v=3,g=4,y=5,x=6,E=(THREE.Matrix3,THREE.Matrix4,THREE.Vector2,THREE.Vector3,THREE.Vector4,THREE.Texture,{5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array}),T={9728:THREE.NearestFilter,9729:THREE.LinearFilter,9984:THREE.NearestMipMapNearestFilter,9985:THREE.LinearMipMapNearestFilter,9986:THREE.NearestMipMapLinearFilter,9987:THREE.LinearMipMapLinearFilter},b={33071:THREE.ClampToEdgeWrapping,33648:THREE.MirroredRepeatWrapping,10497:THREE.RepeatWrapping},_={6406:THREE.AlphaFormat,6407:THREE.RGBFormat,6408:THREE.RGBAFormat,6409:THREE.LuminanceFormat,6410:THREE.LuminanceAlphaFormat},w={5121:THREE.UnsignedByteType,32819:THREE.UnsignedShort4444Type,32820:THREE.UnsignedShort5551Type,33635:THREE.UnsignedShort565Type},S=(THREE.BackSide,THREE.FrontSide,THREE.NeverDepth,THREE.LessDepth,THREE.EqualDepth,THREE.LessEqualDepth,THREE.GreaterEqualDepth,THREE.NotEqualDepth,THREE.GreaterEqualDepth,THREE.AlwaysDepth,THREE.AddEquation,THREE.SubtractEquation,THREE.ReverseSubtractEquation,THREE.ZeroFactor,THREE.OneFactor,THREE.SrcColorFactor,THREE.OneMinusSrcColorFactor,THREE.SrcAlphaFactor,THREE.OneMinusSrcAlphaFactor,THREE.DstAlphaFactor,THREE.OneMinusDstAlphaFactor,THREE.DstColorFactor,THREE.OneMinusDstColorFactor,THREE.SrcAlphaSaturateFactor,{SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16}),C={POSITION:"position",NORMAL:"normal",TEXCOORD_0:"uv",TEXCOORD0:"uv",TEXCOORD:"uv",TEXCOORD_1:"uv2",COLOR_0:"color",COLOR0:"color",COLOR:"color",WEIGHTS_0:"skinWeight",WEIGHT:"skinWeight",JOINTS_0:"skinIndex",JOINT:"skinIndex"},R={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"},M={CUBICSPLINE:THREE.InterpolateSmooth,LINEAR:THREE.InterpolateLinear,STEP:THREE.InterpolateDiscrete},L="OPAQUE",A="MASK",O="BLEND";function D(e,t){return"string"!=typeof e||""===e?"":/^(https?:)?\/\//i.test(e)||/^data:.*,.*$/i.test(e)||/^blob:.*$/i.test(e)?e:t+e}function P(e,t,i){for(var n in i.extensions)void 0===e[n]&&(t.userData.gltfExtensions=t.userData.gltfExtensions||{},t.userData.gltfExtensions[n]=i.extensions[n])}function I(e,t){if(e.updateMorphTargets(),void 0!==t.weights)for(var i=0,n=t.weights.length;i<n;i++)e.morphTargetInfluences[i]=t.weights[i];if(t.extras&&Array.isArray(t.extras.targetNames)){var a=t.extras.targetNames;if(e.morphTargetInfluences.length===a.length){e.morphTargetDictionary={};for(i=0,n=a.length;i<n;i++)e.morphTargetDictionary[a[i]]=i}else console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}function H(e,t){return e.indices===t.indices&&k(e.attributes,t.attributes)}function k(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var i in e)if(e[i]!==t[i])return!1;return!0}function N(e,t){if(e.length!==t.length)return!1;for(var i=0,n=e.length;i<n;i++)if(e[i]!==t[i])return!1;return!0}function F(e,t){for(var i=0,n=e.length;i<n;i++){var a=e[i];if(H(a.primitive,t))return a.promise}return null}function z(e){if(e.isInterleavedBufferAttribute){for(var t=e.count,i=e.itemSize,n=e.array.slice(0,t*i),a=0;a<t;++a)n[a]=e.getX(a),i>=2&&(n[a+1]=e.getY(a)),i>=3&&(n[a+2]=e.getZ(a)),i>=4&&(n[a+3]=e.getW(a));return new THREE.BufferAttribute(n,i,e.normalized)}return e.clone()}function j(e,i,n){this.json=e||{},this.extensions=i||{},this.options=n||{},this.cache=new t,this.primitiveCache=[],this.multiplePrimitivesCache=[],this.multiPassGeometryCache=[],this.textureLoader=new THREE.TextureLoader(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.fileLoader=new THREE.FileLoader(this.options.manager),this.fileLoader.setResponseType("arraybuffer")}function G(e,t,i){var n=t.attributes;for(var a in n){var r=C[a],o=i[n[a]];r&&(r in e.attributes||e.setAttribute(r,o))}void 0===t.indices||e.index||e.setIndex(i[t.indices]),void 0!==t.targets&&function(e,t,i){for(var n=!1,a=!1,r=0,o=t.length;r<o&&(void 0!==(d=t[r]).POSITION&&(n=!0),void 0!==d.NORMAL&&(a=!0),!n||!a);r++);if(n||a){var s=[],l=[];for(r=0,o=t.length;r<o;r++){var d=t[r],u="morphTarget"+r;if(n){if(void 0!==d.POSITION){var c=z(i[d.POSITION]);c.name=u;for(var f=e.attributes.position,p=0,h=c.count;p<h;p++)c.setXYZ(p,c.getX(p)+f.getX(p),c.getY(p)+f.getY(p),c.getZ(p)+f.getZ(p))}else c=e.attributes.position;s.push(c)}if(a){if(void 0!==d.NORMAL){var m;(m=z(i[d.NORMAL])).name=u;var v=e.attributes.normal;for(p=0,h=m.count;p<h;p++)m.setXYZ(p,m.getX(p)+v.getX(p),m.getY(p)+v.getY(p),m.getZ(p)+v.getZ(p))}else m=e.attributes.normal;l.push(m)}}n&&(e.morphAttributes.position=s),a&&(e.morphAttributes.normal=l)}}(e,t.targets,i),void 0!==t.extras&&(e.userData=t.extras)}return j.prototype.parse=function(e,t){var i=this.json;this.cache.removeAll(),this.markDefs(),this.getMultiDependencies(["scene","animation","camera"]).then((function(t){var n=t.scenes||[],a=n[i.scene||0],r=t.animations||[],o=t.cameras||[];e(a,n,o,r,i)})).catch(t)},j.prototype.markDefs=function(){for(var e=this.json.nodes||[],t=this.json.skins||[],i=this.json.meshes||[],n={},a={},r=0,o=t.length;r<o;r++)for(var s=t[r].joints,l=0,d=s.length;l<d;l++)e[s[l]].isBone=!0;for(var u=0,c=e.length;u<c;u++){var f=e[u];void 0!==f.mesh&&(void 0===n[f.mesh]&&(n[f.mesh]=a[f.mesh]=0),n[f.mesh]++,void 0!==f.skin&&(i[f.mesh].isSkinnedMesh=!0))}this.json.meshReferences=n,this.json.meshUses=a},j.prototype.getDependency=function(e,t){var i=e+":"+t,n=this.cache.get(i);if(!n){switch(e){case"scene":n=this.loadScene(t);break;case"node":n=this.loadNode(t);break;case"mesh":n=this.loadMesh(t);break;case"accessor":n=this.loadAccessor(t);break;case"bufferView":n=this.loadBufferView(t);break;case"buffer":n=this.loadBuffer(t);break;case"material":n=this.loadMaterial(t);break;case"texture":n=this.loadTexture(t);break;case"skin":n=this.loadSkin(t);break;case"animation":n=this.loadAnimation(t);break;case"camera":n=this.loadCamera(t);break;default:throw new Error("Unknown type: "+e)}this.cache.add(i,n)}return n},j.prototype.getDependencies=function(e){var t=this.cache.get(e);if(!t){var i=this,n=this.json[e+("mesh"===e?"es":"s")]||[];t=Promise.all(n.map((function(t,n){return i.getDependency(e,n)}))),this.cache.add(e,t)}return t},j.prototype.getMultiDependencies=function(e){for(var t={},i=[],n=0,a=e.length;n<a;n++){var r=e[n],o=this.getDependencies(r);o=o.then(function(e,i){t[e]=i}.bind(this,r+("mesh"===r?"es":"s"))),i.push(o)}return Promise.all(i).then((function(){return t}))},j.prototype.loadBuffer=function(e){var t=this.json.buffers[e],n=this.fileLoader;if(t.type&&"arraybuffer"!==t.type)throw new Error("THREE.GLTFLoader: "+t.type+" buffer type is not supported.");if(void 0===t.uri&&0===e)return Promise.resolve(this.extensions[i.KHR_BINARY_GLTF].body);var a=this.options;return new Promise((function(e,i){n.load(D(t.uri,a.path),e,void 0,(function(){i(new Error('THREE.GLTFLoader: Failed to load buffer "'+t.uri+'".'))}))}))},j.prototype.loadBufferView=function(e){var t=this.json.bufferViews[e];return this.getDependency("buffer",t.buffer).then((function(e){var i=t.byteLength||0,n=t.byteOffset||0;return e.slice(n,n+i)}))},j.prototype.loadAccessor=function(e){var t=this,i=this.json,n=this.json.accessors[e];if(void 0===n.bufferView&&void 0===n.sparse)return null;var a=[];return void 0!==n.bufferView?a.push(this.getDependency("bufferView",n.bufferView)):a.push(null),void 0!==n.sparse&&(a.push(this.getDependency("bufferView",n.sparse.indices.bufferView)),a.push(this.getDependency("bufferView",n.sparse.values.bufferView))),Promise.all(a).then((function(e){var a,r,o=e[0],s=S[n.type],l=E[n.componentType],d=l.BYTES_PER_ELEMENT,u=d*s,c=n.byteOffset||0,f=i.bufferViews[n.bufferView].byteStride,p=!0===n.normalized;if(f&&f!==u){var h="InterleavedBuffer:"+n.bufferView+":"+n.componentType,m=t.cache.get(h);m||(a=new l(o),m=new THREE.InterleavedBuffer(a,f/d),t.cache.add(h,m)),r=new THREE.InterleavedBufferAttribute(m,s,c/d,p)}else a=null===o?new l(n.count*s):new l(o,c,n.count*s),r=new THREE.BufferAttribute(a,s,p);if(void 0!==n.sparse){var v=S.SCALAR,g=E[n.sparse.indices.componentType],y=n.sparse.indices.byteOffset||0,x=n.sparse.values.byteOffset||0,T=new g(e[1],y,n.sparse.count*v),b=new l(e[2],x,n.sparse.count*s);null!==o&&r.setArray(r.array.slice());for(var _=0,w=T.length;_<w;_++){var C=T[_];if(r.setX(C,b[_*s]),s>=2&&r.setY(C,b[_*s+1]),s>=3&&r.setZ(C,b[_*s+2]),s>=4&&r.setW(C,b[_*s+3]),s>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return r}))},j.prototype.loadTexture=function(e){var t,n=this,a=this.json,r=this.options,o=this.textureLoader,s=window.URL||window.webkitURL,l=a.textures[e],d=l.extensions||{},u=(t=d[i.MSFT_TEXTURE_DDS]?a.images[d[i.MSFT_TEXTURE_DDS].source]:a.images[l.source]).uri,c=!1;return void 0!==t.bufferView&&(u=n.getDependency("bufferView",t.bufferView).then((function(e){c=!0;var i=new Blob([e],{type:t.mimeType});return u=s.createObjectURL(i)}))),Promise.resolve(u).then((function(e){var t=THREE.Loader.Handlers.get(e);return t||(t=d[i.MSFT_TEXTURE_DDS]?n.extensions[i.MSFT_TEXTURE_DDS].ddsLoader:o),new Promise((function(i,n){t.load(D(e,r.path),i,void 0,n)}))})).then((function(e){!0===c&&s.revokeObjectURL(u),e.flipY=!1,void 0!==l.name&&(e.name=l.name),d[i.MSFT_TEXTURE_DDS]||(e.format=void 0!==l.format?_[l.format]:THREE.RGBAFormat),void 0!==l.internalFormat&&e.format!==_[l.internalFormat]&&console.warn("THREE.GLTFLoader: Three.js does not support texture internalFormat which is different from texture format. internalFormat will be forced to be the same value as format."),e.type=void 0!==l.type?w[l.type]:THREE.UnsignedByteType;var t=(a.samplers||{})[l.sampler]||{};return e.magFilter=T[t.magFilter]||THREE.LinearFilter,e.minFilter=T[t.minFilter]||THREE.LinearMipMapLinearFilter,e.wrapS=b[t.wrapS]||THREE.RepeatWrapping,e.wrapT=b[t.wrapT]||THREE.RepeatWrapping,e}))},j.prototype.assignTexture=function(e,t,i){return this.getDependency("texture",i).then((function(i){e[t]=i}))},j.prototype.loadMaterial=function(e){var t,n=this,a=(this.json,this.extensions),r=this.json.materials[e],o={},s=r.extensions||{},l=[];if(s[i.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS]){var d=a[i.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS];t=d.getMaterialType(r),l.push(d.extendParams(o,r,n))}else if(s[i.KHR_MATERIALS_UNLIT]){var u=a[i.KHR_MATERIALS_UNLIT];t=u.getMaterialType(r),l.push(u.extendParams(o,r,n))}else{t=THREE.MeshStandardMaterial;var c=r.pbrMetallicRoughness||{};if(o.color=new THREE.Color(1,1,1),o.opacity=1,Array.isArray(c.baseColorFactor)){var f=c.baseColorFactor;o.color.fromArray(f),o.opacity=f[3]}if(void 0!==c.baseColorTexture&&l.push(n.assignTexture(o,"map",c.baseColorTexture.index)),o.metalness=void 0!==c.metallicFactor?c.metallicFactor:1,o.roughness=void 0!==c.roughnessFactor?c.roughnessFactor:1,void 0!==c.metallicRoughnessTexture){var p=c.metallicRoughnessTexture.index;l.push(n.assignTexture(o,"metalnessMap",p)),l.push(n.assignTexture(o,"roughnessMap",p))}}!0===r.doubleSided&&(o.side=THREE.DoubleSide);var h=r.alphaMode||L;return h===O?o.transparent=!0:(o.transparent=!1,h===A&&(o.alphaTest=void 0!==r.alphaCutoff?r.alphaCutoff:.5)),void 0!==r.normalTexture&&t!==THREE.MeshBasicMaterial&&(l.push(n.assignTexture(o,"normalMap",r.normalTexture.index)),o.normalScale=new THREE.Vector2(1,1),void 0!==r.normalTexture.scale&&o.normalScale.set(r.normalTexture.scale,r.normalTexture.scale)),void 0!==r.occlusionTexture&&t!==THREE.MeshBasicMaterial&&(l.push(n.assignTexture(o,"aoMap",r.occlusionTexture.index)),void 0!==r.occlusionTexture.strength&&(o.aoMapIntensity=r.occlusionTexture.strength)),void 0!==r.emissiveFactor&&t!==THREE.MeshBasicMaterial&&(o.emissive=(new THREE.Color).fromArray(r.emissiveFactor)),void 0!==r.emissiveTexture&&t!==THREE.MeshBasicMaterial&&l.push(n.assignTexture(o,"emissiveMap",r.emissiveTexture.index)),Promise.all(l).then((function(){var e;return e=t===THREE.ShaderMaterial?a[i.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS].createMaterial(o):new t(o),void 0!==r.name&&(e.name=r.name),e.normalScale&&(e.normalScale.y=-e.normalScale.y),e.map&&(e.map.encoding=THREE.sRGBEncoding),e.emissiveMap&&(e.emissiveMap.encoding=THREE.sRGBEncoding),e.specularMap&&(e.specularMap.encoding=THREE.sRGBEncoding),r.extras&&(e.userData=r.extras),r.extensions&&P(a,e,r),e}))},j.prototype.loadGeometries=function(e){var t,n=this,a=this.extensions,r=this.primitiveCache,o=function(e){if(e.length<2)return!1;var t=e[0],i=t.targets||[];if(void 0===t.indices)return!1;for(var n=1,a=e.length;n<a;n++){var r=e[n];if(t.mode!==r.mode)return!1;if(void 0===r.indices)return!1;if(!k(t.attributes,r.attributes))return!1;var o=r.targets||[];if(i.length!==o.length)return!1;for(var s=0,l=i.length;s<l;s++)if(!k(i[s],o[s]))return!1}return!0}(e);return o&&(t=e,e=[e[0]]),this.getDependencies("accessor").then((function(s){for(var l=[],d=0,u=e.length;d<u;d++){var c=e[d],f=F(r,c);if(f)l.push(f);else if(c.extensions&&c.extensions[i.KHR_DRACO_MESH_COMPRESSION]){var p=a[i.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(c,n).then((function(e){return G(e,c,s),e}));r.push({primitive:c,promise:p}),l.push(p)}else{var h=new THREE.BufferGeometry;G(h,c,s);p=Promise.resolve(h);r.push({primitive:c,promise:p}),l.push(p)}}return Promise.all(l).then((function(i){if(o){var a=i[0],r=function(e,t,i){for(var n=0,a=e.length;n<a;n++){var r=e[n];if(t===r.baseGeometry&&N(i,r.primitives))return r.geometry}return null}(g=n.multiPassGeometryCache,a,t);if(null!==r)return[r.geometry];var l=new THREE.BufferGeometry;for(var d in l.name=a.name,l.userData=a.userData,a.attributes)l.setAttribute(d,a.attributes[d]);for(var d in a.morphAttributes)l.morphAttributes[d]=a.morphAttributes[d];for(var u=[],c=0,f=0,p=t.length;f<p;f++){for(var h=s[t[f].indices],m=0,v=h.count;m<v;m++)u.push(h.array[m]);l.addGroup(c,h.count,f),c+=h.count}return l.setIndex(u),g.push({geometry:l,baseGeometry:a,primitives:t}),[l]}if(i.length>1&&void 0!==THREE.BufferGeometryUtils){for(f=1,p=e.length;f<p;f++)if(e[0].mode!==e[f].mode)return i;var g;r=function(e,t){for(var i=0,n=e.length;i<n;i++){var a=e[i];if(N(t,a.baseGeometries))return a.geometry}return null}(g=n.multiplePrimitivesCache,i);if(r){if(null!==r.geometry)return[r.geometry]}else{l=THREE.BufferGeometryUtils.mergeBufferGeometries(i,!0);if(g.push({geometry:l,baseGeometries:i}),null!==l)return[l]}}return i}))}))},j.prototype.loadMesh=function(e){var t=this,n=(this.json,this.extensions),a=this.json.meshes[e];return this.getMultiDependencies(["accessor","material"]).then((function(r){for(var o=a.primitives,s=[],l=0,d=o.length;l<d;l++)s[l]=void 0===o[l].material?new THREE.MeshStandardMaterial({color:16777215,emissive:0,metalness:1,roughness:1,transparent:!1,depthTest:!0,side:THREE.FrontSide}):r.materials[o[l].material];return t.loadGeometries(o).then((function(r){for(var l=1===r.length&&r[0].groups.length>0,d=[],u=0,c=r.length;u<c;u++){var f,E=r[u],T=o[u],b=l?s:s[u];if(T.mode===g||T.mode===y||T.mode===x||void 0===T.mode)f=!0===a.isSkinnedMesh?new THREE.SkinnedMesh(E,b):new THREE.Mesh(E,b),T.mode===y?f.drawMode=THREE.TriangleStripDrawMode:T.mode===x&&(f.drawMode=THREE.TriangleFanDrawMode);else if(T.mode===h)f=new THREE.LineSegments(E,b);else if(T.mode===v)f=new THREE.Line(E,b);else if(T.mode===m)f=new THREE.LineLoop(E,b);else{if(T.mode!==p)throw new Error("THREE.GLTFLoader: Primitive mode unsupported: "+T.mode);f=new THREE.Points(E,b)}Object.keys(f.geometry.morphAttributes).length>0&&I(f,a),f.name=a.name||"mesh_"+e,r.length>1&&(f.name+="_"+u),void 0!==a.extras&&(f.userData=a.extras),d.push(f);for(var _=l?f.material:[f.material],w=void 0!==E.attributes.color,S=void 0===E.attributes.normal,C=!0===f.isSkinnedMesh,R=Object.keys(E.morphAttributes).length>0,M=R&&void 0!==E.morphAttributes.normal,L=0,A=_.length;L<A;L++){b=_[L];if(f.isPoints){var O="PointsMaterial:"+b.uuid,D=t.cache.get(O);D||(D=new THREE.PointsMaterial,THREE.Material.prototype.copy.call(D,b),D.color.copy(b.color),D.map=b.map,D.lights=!1,t.cache.add(O,D)),b=D}else if(f.isLine){O="LineBasicMaterial:"+b.uuid;var P=t.cache.get(O);P||(P=new THREE.LineBasicMaterial,THREE.Material.prototype.copy.call(P,b),P.color.copy(b.color),P.lights=!1,t.cache.add(O,P)),b=P}if(w||S||C||R){O="ClonedMaterial:"+b.uuid+":";b.isGLTFSpecularGlossinessMaterial&&(O+="specular-glossiness:"),C&&(O+="skinning:"),w&&(O+="vertex-colors:"),S&&(O+="flat-shading:"),R&&(O+="morph-targets:"),M&&(O+="morph-normals:");var H=t.cache.get(O);H||(H=b.isGLTFSpecularGlossinessMaterial?n[i.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS].cloneMaterial(b):b.clone(),C&&(H.skinning=!0),w&&(H.vertexColors=THREE.VertexColors),S&&(H.flatShading=!0),R&&(H.morphTargets=!0),M&&(H.morphNormals=!0),t.cache.add(O,H)),b=H}_[L]=b,b.aoMap&&void 0===E.attributes.uv2&&void 0!==E.attributes.uv&&(console.log("THREE.GLTFLoader: Duplicating UVs to support aoMap."),E.setAttribute("uv2",new THREE.BufferAttribute(E.attributes.uv.array,2))),b.isGLTFSpecularGlossinessMaterial&&(f.onBeforeRender=n[i.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS].refreshUniforms)}f.material=l?_:_[0]}if(1===d.length)return d[0];var k=new THREE.Group;for(u=0,c=d.length;u<c;u++)k.add(d[u]);return k}))}))},j.prototype.loadCamera=function(e){var t,i=this.json.cameras[e],n=i[i.type];if(n)return"perspective"===i.type?t=new THREE.PerspectiveCamera(THREE.Math.radToDeg(n.yfov),n.aspectRatio||1,n.znear||1,n.zfar||2e6):"orthographic"===i.type&&(t=new THREE.OrthographicCamera(n.xmag/-2,n.xmag/2,n.ymag/2,n.ymag/-2,n.znear,n.zfar)),void 0!==i.name&&(t.name=i.name),i.extras&&(t.userData=i.extras),Promise.resolve(t);console.warn("THREE.GLTFLoader: Missing camera parameters.")},j.prototype.loadSkin=function(e){var t=this.json.skins[e],i={joints:t.joints};return void 0===t.inverseBindMatrices?Promise.resolve(i):this.getDependency("accessor",t.inverseBindMatrices).then((function(e){return i.inverseBindMatrices=e,i}))},j.prototype.loadAnimation=function(e){this.json;var t=this.json.animations[e];return this.getMultiDependencies(["accessor","node"]).then((function(i){for(var n=[],a=0,r=t.channels.length;a<r;a++){var o=t.channels[a],s=t.samplers[o.sampler];if(s){var l=o.target,d=void 0!==l.node?l.node:l.id,u=void 0!==t.parameters?t.parameters[s.input]:s.input,c=void 0!==t.parameters?t.parameters[s.output]:s.output,p=i.accessors[u],h=i.accessors[c],m=i.nodes[d];if(m){var v;switch(m.updateMatrix(),m.matrixAutoUpdate=!0,R[l.path]){case R.weights:v=THREE.NumberKeyframeTrack;break;case R.rotation:v=THREE.QuaternionKeyframeTrack;break;default:v=THREE.VectorKeyframeTrack}var g=m.name?m.name:m.uuid,y=void 0!==s.interpolation?M[s.interpolation]:THREE.InterpolateLinear,x=[];R[l.path]===R.weights?m.traverse((function(e){!0===e.isMesh&&e.morphTargetInfluences&&x.push(e.name?e.name:e.uuid)})):x.push(g);for(var E=0,T=x.length;E<T;E++){var b=new v(x[E]+"."+R[l.path],THREE.AnimationUtils.arraySlice(p.array,0),THREE.AnimationUtils.arraySlice(h.array,0),y);"CUBICSPLINE"===s.interpolation&&(b.createInterpolant=function(e){return new f(this.times,this.values,this.getValueSize()/3,e)},b.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline=!0),n.push(b)}}}}d=void 0!==t.name?t.name:"animation_"+e;return new THREE.AnimationClip(d,void 0,n)}))},j.prototype.loadNode=function(e){this.json;var t=this.extensions,n=this.json.meshReferences,a=this.json.meshUses,r=this.json.nodes[e];return this.getMultiDependencies(["mesh","skin","camera","light"]).then((function(e){var o;if(!0===r.isBone)o=new THREE.Bone;else if(void 0!==r.mesh){var s=e.meshes[r.mesh];if(o=s.clone(),!0===s.isGroup)for(var l=0,d=s.children.length;l<d;l++){var u=s.children[l];u.material&&!0===u.material.isGLTFSpecularGlossinessMaterial&&(o.children[l].onBeforeRender=u.onBeforeRender)}else s.material&&!0===s.material.isGLTFSpecularGlossinessMaterial&&(o.onBeforeRender=s.onBeforeRender);n[r.mesh]>1&&(o.name+="_instance_"+a[r.mesh]++)}else if(void 0!==r.camera)o=e.cameras[r.camera];else if(r.extensions&&r.extensions[i.KHR_LIGHTS]&&void 0!==r.extensions[i.KHR_LIGHTS].light){o=t[i.KHR_LIGHTS].lights[r.extensions[i.KHR_LIGHTS].light]}else o=new THREE.Object3D;if(void 0!==r.name&&(o.name=THREE.PropertyBinding.sanitizeNodeName(r.name)),r.extras&&(o.userData=r.extras),r.extensions&&P(t,o,r),void 0!==r.matrix){var c=new THREE.Matrix4;c.fromArray(r.matrix),o.applyMatrix4(c)}else void 0!==r.translation&&o.position.fromArray(r.translation),void 0!==r.rotation&&o.quaternion.fromArray(r.rotation),void 0!==r.scale&&o.scale.fromArray(r.scale);return o}))},j.prototype.loadScene=function(){function e(t,i,n,a,r){var o=a[t],s=n.nodes[t];if(void 0!==s.skin)for(var l=!0===o.isGroup?o.children:[o],d=0,u=l.length;d<u;d++){for(var c=l[d],f=r[s.skin],p=[],h=[],m=0,v=f.joints.length;m<v;m++){var g=f.joints[m],y=a[g];if(y){p.push(y);var x=new THREE.Matrix4;void 0!==f.inverseBindMatrices&&x.fromArray(f.inverseBindMatrices.array,16*m),h.push(x)}else console.warn('THREE.GLTFLoader: Joint "%s" could not be found.',g)}c.bind(new THREE.Skeleton(p,h),c.matrixWorld)}if(i.add(o),s.children){var E=s.children;for(d=0,u=E.length;d<u;d++){e(E[d],o,n,a,r)}}}return function(t){var n=this.json,a=this.extensions,r=this.json.scenes[t];return this.getMultiDependencies(["node","skin"]).then((function(t){var o=new THREE.Scene;void 0!==r.name&&(o.name=r.name),r.extras&&(o.userData=r.extras),r.extensions&&P(a,o,r);for(var s=r.nodes||[],l=0,d=s.length;l<d;l++)e(s[l],o,n,t.nodes,t.skins);if(r.extensions&&r.extensions[i.KHR_LIGHTS]&&void 0!==r.extensions[i.KHR_LIGHTS].light){var u=a[i.KHR_LIGHTS].lights;o.add(u[r.extensions[i.KHR_LIGHTS].light])}return o}))}}(),e}();THREE.GLTFLoader;function lt(e){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lt(e)}!function(e,i,n,a){null!==n.THREE_MODEL&&(e.THREE_MODEL=e.THREE_MODEL||{},e.THREE_MODEL.version="0.0.5",e.THREE_MODEL.documentReady=function(e){if(0==e("#3D-model-canvas").length||!Modernizr.webgl)return!1;var i=[],r=function(){var r,o,s,l,d,u=n.innerWidth,c=n.innerHeight,f="3D-model-canvas",p=[],h=0,m=Date.now();function v(){r.aspect=n.innerWidth/n.innerHeight,r.updateProjectionMatrix(),s.setSize(n.innerWidth,n.innerHeight)}function g(e){return e*Math.PI/180}return{init:function(){(r=new THREE.PerspectiveCamera(45,u/c,1,1e4)).position.set(0,0,100),r.target=new THREE.Vector3(0,150,0),o=new THREE.Scene,p[0]=new THREE.PointLight(16777215,1,0),p[1]=new THREE.PointLight(16777215,1,0),p[2]=new THREE.DirectionalLight(16777215),p[0].position.set(0,200,0),p[1].position.set(100,200,100),p[2].position.set(120,200,0),p[2].intensity=.6,o.add(p[0]),o.add(p[1]),o.add(p[2]),(s=new THREE.WebGLRenderer({canvas:a.getElementById(f),alpha:!0,antialias:!0})).setSize(u,c),l=new THREE.Object3D;var i=new THREE.LoadingManager;i.onProgress=function(e,t,i){console.log(e,t,i)};var h="undefined"!=lt(e("#3D-model-canvas").data("texture-src"))?e("#3D-model-canvas").data("texture-src"):t+"/assets/models/gltf/project.jpg",m="undefined"!=lt(e("#3D-model-canvas").data("model-src"))?e("#3D-model-canvas").data("model-src"):t+"/assets/models/gltf/project.glb",g=new THREE.TextureLoader(i).load(h),y=new THREE.GLTFLoader(i);y.crossOrigin="anonymous",y.load(m,(function(e){var t=e.scene.children[0];e.scene.children[0].traverse((function(e){e instanceof THREE.Mesh&&(console.log(e),e.material.emissive=new THREE.Color(16737792),e.material.normalMap=g,e.material.shadowSide=THREE.DoubleSide,e.material.wireframe=!1,e.material.emissiveIntensity=.5,e.material.fog=!1,e.castShadow=!0)})),l.add(t),l.scale.set(1.2,1.2,1.2),l.position.y=100,o.add(l),l.origPos={x:l.position.x,y:l.position.y,z:l.position.z,rx:l.rotation.x,ry:l.rotation.y,rz:l.rotation.z},d=new THREE.AnimationMixer(l),console.log(d),e.animations.forEach((function(e){var t=d.clipAction(e);t.setDuration(1),0===t.time&&(t.time=t.getClip().duration),console.log(t),t.paused=!1,t.play()}))}),(function(e){if(e.lengthComputable){var t=e.loaded/e.total*100;console.log(Math.round(t,2)+"% downloaded")}}),(function(e){})),n.addEventListener("resize",v,!1)},render:function e(){if(requestAnimationFrame(e),h+=.1,r.position.x=600*Math.sin(g(h)),r.position.z=600*Math.cos(g(h)),r.lookAt(r.target),d){var t=Date.now();d.update(.001*(t-m)),m=t}for(var n=0;n<i.length;n++)i[n].update(1*clock.getElapsedTime());s.render(o,r)},getRendererCanvasID:function(){return f},getScene:function(){return o},getCamera:function(){return r}}}();r.init(),r.render()},e.components.documentReady.push(e.THREE_MODEL.documentReady))}(s,jQuery,window,document);THREE.CSS3DObject=function(e){THREE.Object3D.call(this),this.element=e,this.element.style.position="absolute",this.addEventListener("removed",(function(){null!==this.element.parentNode&&this.element.parentNode.removeChild(this.element)}))},THREE.CSS3DObject.prototype=Object.create(THREE.Object3D.prototype),THREE.CSS3DObject.prototype.constructor=THREE.CSS3DObject,THREE.CSS3DSprite=function(e){THREE.CSS3DObject.call(this,e)},THREE.CSS3DSprite.prototype=Object.create(THREE.CSS3DObject.prototype),THREE.CSS3DSprite.prototype.constructor=THREE.CSS3DSprite,THREE.CSS3DRenderer=function(){var e,t,i,n;console.log("THREE.CSS3DRenderer",THREE.REVISION);var a=new THREE.Matrix4,r={camera:{fov:0,style:""},objects:new WeakMap},o=document.createElement("div");o.style.overflow="hidden",this.domElement=o;var s=document.createElement("div");s.style.WebkitTransformStyle="preserve-3d",s.style.transformStyle="preserve-3d",o.appendChild(s);var l=/Trident/i.test(navigator.userAgent);function d(e){return Math.abs(e)<1e-10?0:e}function u(e){var t=e.elements;return"matrix3d("+d(t[0])+","+d(-t[1])+","+d(t[2])+","+d(t[3])+","+d(t[4])+","+d(-t[5])+","+d(t[6])+","+d(t[7])+","+d(t[8])+","+d(-t[9])+","+d(t[10])+","+d(t[11])+","+d(t[12])+","+d(-t[13])+","+d(t[14])+","+d(t[15])+")"}function c(e,t){var a=e.elements,r="matrix3d("+d(a[0])+","+d(a[1])+","+d(a[2])+","+d(a[3])+","+d(-a[4])+","+d(-a[5])+","+d(-a[6])+","+d(-a[7])+","+d(a[8])+","+d(a[9])+","+d(a[10])+","+d(a[11])+","+d(a[12])+","+d(a[13])+","+d(a[14])+","+d(a[15])+")";return l?"translate(-50%,-50%)translate("+i+"px,"+n+"px)"+t+r:"translate(-50%,-50%)"+r}function f(e,t,i){if(e instanceof THREE.CSS3DObject){var n;e instanceof THREE.CSS3DSprite?(a.copy(t.matrixWorldInverse),a.transpose(),a.copyPosition(e.matrixWorld),a.scale(e.scale),a.elements[3]=0,a.elements[7]=0,a.elements[11]=0,a.elements[15]=1,n=c(a,i)):n=c(e.matrixWorld,i);var o=e.element,d=r.objects.get(e);if(void 0===d||d!==n){o.style.WebkitTransform=n,o.style.transform=n;var u={style:n};l&&(u.distanceToCameraSquared=p(t,e)),r.objects.set(e,u)}o.parentNode!==s&&s.appendChild(o)}for(var h=0,m=e.children.length;h<m;h++)f(e.children[h],t,i)}this.getSize=function(){return{width:e,height:t}},this.setSize=function(a,r){i=(e=a)/2,n=(t=r)/2,o.style.width=a+"px",o.style.height=r+"px",s.style.width=a+"px",s.style.height=r+"px"};var p=function(){var e=new THREE.Vector3,t=new THREE.Vector3;return function(i,n){return e.setFromMatrixPosition(i.matrixWorld),t.setFromMatrixPosition(n.matrixWorld),e.distanceToSquared(t)}}();function h(e){for(var t=function(e){var t=[];return e.traverse((function(e){e instanceof THREE.CSS3DObject&&t.push(e)})),t}(e).sort((function(e,t){return r.objects.get(e).distanceToCameraSquared-r.objects.get(t).distanceToCameraSquared})),i=t.length,n=0,a=t.length;n<a;n++)t[n].element.style.zIndex=i-n}this.render=function(e,t){var a=t.projectionMatrix.elements[5]*n;r.camera.fov!==a&&(t.isPerspectiveCamera&&(o.style.WebkitPerspective=a+"px",o.style.perspective=a+"px"),r.camera.fov=a),e.updateMatrixWorld(),null===t.parent&&t.updateMatrixWorld();var d=t.isOrthographicCamera?"scale("+a+")"+u(t.matrixWorldInverse):"translateZ("+a+"px)"+u(t.matrixWorldInverse),c=d+"translate("+i+"px,"+n+"px)";r.camera.style===c||l||(s.style.WebkitTransform=c,s.style.transform=c,r.camera.style=c),f(e,t,d),l&&h(e)}};THREE.CSS3DObject;!function(e,t,i,n){null!==i.THREE_PAGES&&(e.THREE_PAGES=e.THREE_PAGES||{},e.THREE_PAGES.version="0.0.2",e.THREE_PAGES.documentReady=function(e){if(0==e("#3D-renderer").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,o,s,l,d=i.innerWidth,u=i.innerHeight,c="3D-renderer",f=new THREE.Clock;function p(){a.aspect=i.innerWidth/i.innerHeight,a.updateProjectionMatrix(),l.setSize(i.innerWidth,i.innerHeight)}return{init:function(){(a=new THREE.PerspectiveCamera(45,d/u,1,1e4)).position.set(0,0,-1e3),(r=new THREE.OrbitControls(a)).rotateSpeed=.5,r.zoomSpeed=1.2,r.panSpeed=.8,r.enableZoom=!0,r.enableDamping=!0,r.dampingFactor=.25,r.screenSpacePanning=!1,r.minDistance=1e3,r.maxDistance=1500,r.maxPolarAngle=Math.PI/2,o=new THREE.Scene,s=new THREE.HemisphereLight(16760679,1427199),o.add(s),(l=new THREE.WebGLRenderer({alpha:!0,antialias:!0})).setClearColor(16777215,0),l.setSize(d-50,u-50),l.domElement.style.zIndex=5,n.getElementById(c).appendChild(l.domElement),e("#html3D-view").clone().find(".html3D-view-content").each((function(){var t=new THREE.CSS3DObject(e.parseHTML(e(this)[0].outerHTML)[0]);t.position.x=e(this).data("position-x")||0,t.position.y=e(this).data("position-y")||0,t.position.z=e(this).data("position-z")||0,t.rotation.x=e(this).data("rotation-x")||0,t.rotation.y=e(this).data("rotation-y")||3.14159265358979,t.rotation.z=e(this).data("rotation-z")||0,o.add(t)})),(l=new THREE.CSS3DRenderer).setSize(d,u),l.domElement.style.position="absolute",l.domElement.style.top=0,n.getElementById(c).appendChild(l.domElement),i.addEventListener("resize",p,!1)},render:function e(){requestAnimationFrame(e),f.getDelta(),r.update();for(var i=0;i<t.length;i++)t[i].update(1*f.getElapsedTime());l.render(o,a)},getRendererCanvasID:function(){return rendererCanvasID},getScene:function(){return o},getCamera:function(){return a}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_PAGES.documentReady))}(s,jQuery,window,document);function dt(e){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dt(e)}!function(e,t,i,n){null!==i.THREE_PARTICLE&&(e.THREE_PARTICLE=e.THREE_PARTICLE||{},e.THREE_PARTICLE.version="0.0.6",e.THREE_PARTICLE.documentReady=function(e){if(0==e("#3D-particle-effect-canvas").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,s,l,d,u,c,f,p,h,m,v,g,y=i.innerWidth,x=i.innerHeight,E="3D-particle-effect-canvas",T=new THREE.Clock,b=0,_=0,w=!0,S={x:0,y:0},C=y/2,R=x/2,M=13515326,L=new THREE.Vector3(0,0,0),A=0;function O(){s.aspect=i.innerWidth/i.innerHeight,s.updateProjectionMatrix(),a.setSize(i.innerWidth,i.innerHeight)}function D(e){b=e.clientX-C,_=e.clientY-R,w&&(s.position.x+=(e.clientX-S.x)/100,s.position.y-=(e.clientY-S.y)/100,s.lookAt(L),S={x:e.clientX,y:e.clientY})}function P(e){1==e.touches.length&&(e.preventDefault(),b=e.touches[0].pageX-C,_=e.touches[0].pageY-R)}function I(e){1==e.touches.length&&(e.preventDefault(),b=e.touches[0].pageX-C,_=e.touches[0].pageY-R)}function H(){w=!1}function k(e){w=!0,S={x:e.clientX,y:e.clientY}}function N(e){return e*Math.PI/180}return{init:function(){60,p=y/x,1,1e4,(s=new THREE.PerspectiveCamera(60,p,1,1e4)).position.set(0,65,-500),s.lookAt(L);var t=30*Math.PI/180;v=(s.position.z+200)*Math.tan(t),v*s.aspect,1e3,h=THREE.Math.degToRad(s.fov),m=2*Math.tan(h/2)*1e3,m*s.aspect,(r=new THREE.Scene).fog=new THREE.Fog(M,.0025,650),(u=new THREE.Mesh(new THREE.CircleGeometry(1e3,32),new THREE.MeshPhongMaterial({emissive:14569742,side:THREE.DoubleSide}))).receiveShadow=!0,u.position.set(0,-101,5),u.rotation.x=N(-95),r.add(u);var T=N(50);(c=new THREE.SpotLight(16777215,2,1200,T,1,1)).position.set(5,320,5),c.castShadow=!0,c.shadow.mapSize.width=1024,c.shadow.mapSize.height=1024,c.shadow.camera.near=.5,c.shadow.camera.far=31,r.add(c),f=new THREE.AmbientLight(16777215,.08),r.add(f),(a=new THREE.WebGLRenderer({canvas:n.getElementById(E),alpha:!0,antialias:!0})).setSize(y,x),a.shadowMap.enabled=!0,a.shadowMap.type=THREE.PCFSoftShadowMap,(new THREE.TextureLoader).load(e("#"+E).data("img-src"),(function(e){d=function(e){var t=n.createElement("canvas");t.width=e.width,t.height=e.height;var i=t.getContext("2d");return i.drawImage(e,0,0),i.getImageData(0,0,e.width,e.height)}(e.image);for(var t=new THREE.Geometry,i=new THREE.PointsMaterial({size:3,color:16777215,sizeAttenuation:!1,fog:!1}),a=0,o=d.height;a<o;a+=2)for(var s=0,u=d.width;s<u;s+=2)if(d.data[4*s+4*a*d.width+3]>128){var c=new THREE.Vector3;c.x=1e3*Math.random()-500,c.y=1e3*Math.random()-500,c.z=500*-Math.random(),c.destination={x:s-d.width/2,y:-a+d.height/2,z:0},c.speed=Math.random()/200+.015,t.vertices.push(c)}l=new THREE.Points(t,i),r.add(l),l.scale.setScalar(.7),l.position.y=50,l.position.z=70,l.rotation.y=N(180),l.castShadow=!0}),void 0,(function(e){console.error("An error happened.")})),g=new THREE.Object3D,r.add(g);for(var b=new THREE.TetrahedronGeometry(2,0),_=new THREE.MeshPhongMaterial({color:16777215,emissive:16777215,shininess:80,flatShading:!0}),w=0;w<750;w++){var S=new THREE.Mesh(b,_);S.position.set(Math.random()-.5,Math.random()-.5,Math.random()-.5).normalize(),S.position.multiplyScalar(90+700*Math.random()),S.rotation.set(2*Math.random(),2*Math.random(),2*Math.random()),g.add(S),S.castShadow=!0}n.addEventListener("mousemove",D,!1),n.addEventListener("touchstart",P,!!o&&{passive:!0}),n.addEventListener("touchmove",I,!!o&&{passive:!0}),n.addEventListener("mousedown",k,!1),n.addEventListener("mouseup",H,!1),i.addEventListener("resize",O,!1)},render:function e(){requestAnimationFrame(e);var i=T.getDelta();if(a.setClearColor(M),"undefined"!=dt(l)){for(var n,o=0,d=l.geometry.vertices.length;o<d;o++)(n=l.geometry.vertices[o]).x+=(n.destination.x-n.x)*n.speed,n.y+=(n.destination.y-n.y)*n.speed,n.z+=(n.destination.z-n.z)*n.speed;if(i-A>40){var u=Math.floor(Math.random()*l.geometry.vertices.length),c=l.geometry.vertices[u],f=l.geometry.vertices[l.geometry.vertices.length-u];TweenMax.to(n,2*Math.random()+1,{x:f.x,y:f.y,ease:Power2.easeInOut}),TweenMax.to(f,2*Math.random()+1,{x:c.x,y:c.y,ease:Power2.easeInOut}),A=i}l.geometry.verticesNeedUpdate=!0}w||(s.position.x+=.06*(0-s.position.x),s.position.y+=.06*(0-s.position.y)),s.position.x+=.09*(b-s.position.x),s.position.y+=.09*(-_-s.position.y),s.position.y<-60&&(s.position.y=-60),s.lookAt(L),g.rotation.x+=0,g.rotation.y-=.004;for(var p=0;p<t.length;p++)t[p].update(1*T.getElapsedTime());a.render(r,s)},getRendererCanvasID:function(){return E},getScene:function(){return r},getCamera:function(){return s}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_PARTICLE.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.THREE_SPHERE_THREE&&(e.THREE_SPHERE_THREE=e.THREE_SPHERE_THREE||{},e.THREE_SPHERE_THREE.version="0.0.2",e.THREE_SPHERE_THREE.documentReady=function(e){if(0==e("#3D-sphere-three-canvas").length||!Modernizr.webgl)return!1;var t=[],a=function(){var e,a,r,o,s,l,d=i.innerWidth,u=i.innerHeight,c="3D-sphere-three-canvas";function f(){e.aspect=i.innerWidth/i.innerHeight,e.updateProjectionMatrix(),s.setSize(i.innerWidth,i.innerHeight)}return{init:function(){(e=new THREE.PerspectiveCamera(40,i.innerWidth/i.innerHeight,1,100)).position.set(0,-46,18),(a=new THREE.OrbitControls(e)).minDistance=10,a.maxDistance=50,(r=new THREE.Scene).add(new THREE.AmbientLight(5592405)),(o=new THREE.SpotLight(16777215,1.5)).position.set(0,500,2e3),r.add(o),(s=new THREE.WebGLRenderer({canvas:n.getElementById(c),alpha:!0,antialias:!0})).setSize(d,u);var t=new THREE.SphereGeometry(3,32,32),p=new THREE.TextureLoader;p.crossOrigin="anonymous";var h=p.load("https://placekitten.com/1650/1650"),m=new THREE.MeshBasicMaterial({map:h});l=new THREE.Object3D,r.add(l);var v=new THREE.Object3D,g=new THREE.Object3D,y=new THREE.Object3D;v.rotation.z=0,g.rotation.z=2*Math.PI/3,y.rotation.z=4*Math.PI/3,l.add(v),l.add(g),l.add(y);var x=new THREE.Mesh(t,m),E=new THREE.Mesh(t,m),T=new THREE.Mesh(t,m);x.position.y=5,E.position.y=15,T.position.y=25,v.add(x),g.add(E),y.add(T),i.addEventListener("resize",f,!1)},render:function i(){requestAnimationFrame(i),l.rotation.z+=.01,a.update();for(var n=0;n<t.length;n++)t[n].update(1*clock.getElapsedTime());s.render(r,e)},getRendererCanvasID:function(){return c},getScene:function(){return r},getCamera:function(){return e}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_SPHERE_THREE.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.THREE_OBJ_ANIM_INTERACTION&&(e.THREE_OBJ_ANIM_INTERACTION=e.THREE_OBJ_ANIM_INTERACTION||{},e.THREE_OBJ_ANIM_INTERACTION.version="0.0.3",e.THREE_OBJ_ANIM_INTERACTION.documentReady=function(e){if(0==e("#3D-object-buttonevent-canvas").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,o,s,l,d,u,c,f=i.innerWidth,p=i.innerHeight,h="3D-object-buttonevent-canvas",m=200;return e("#3D-object-button1").on("click",(function(e){e.preventDefault();var t=s.position.x,i=s.position.z,n=t*Math.cos(55)-i*Math.sin(55),a=i*Math.cos(55)+t*Math.sin(55);TweenMax.to(s.position,1.5,{x:n,z:a,ease:Power0.easeNone,onUpdate:function(){}})})),e("#3D-object-button2").on("click",(function(e){e.preventDefault();var t=l.geometry.vertices;t[2].x=t[3].x=t[4].x=t[5].x=-Math.sin(0)*c,t[2].z=t[3].z=Math.cos(0)*c,t[4].z=t[5].z=-Math.cos(0)*c;for(var i=6;i<t.length;i++){var n=i,a=Math.floor((n+2)/4),r=n/4===Math.floor(n/4)||(n-1)/4===Math.floor((n-1)/4)?-1:1,o=t[n-4].x-Math.sin(n*(r*(2*a-1)))*c*r,s=t[n-4].z+Math.cos(n*(r*(2*a-1)))*c*r;TweenMax.to(t[n],1.5,{x:o,z:s,ease:Power0.easeNone,onUpdate:function(){}})}})),e("#3D-object-button3").on("click",(function(e){e.preventDefault();var t=Math.floor(Math.random()*Math.floor(3));TweenMax.to(l.scale,1.5,{x:t,y:t,z:t,ease:Power0.easeNone,onUpdate:function(){}})})),{init:function(){(a=new THREE.WebGLRenderer({canvas:n.getElementById(h),alpha:!0,antialias:!0})).setSize(f,p),r=new THREE.Scene,(s=new THREE.PerspectiveCamera(70,f/p,1,100)).position.set(1,1,22),(o=new THREE.OrbitControls(s,a.domElement)).addEventListener("change",(function(){a.render(r,s)}),!1),o.enableZoom=!1,o.enablePan=!1,u=new THREE.MeshPhongMaterial({color:15428917,specular:15428917,shininess:15,flatShading:THREE.FlatShading,side:THREE.DoubleSide,transparent:!0,opacity:.8});var e=new THREE.DirectionalLight(16777215);e.position.set(-5,10,10);var t=new THREE.PointLight(16777215,.7,0);t.position.set(5,5,-5),r.add(e,t),d=new THREE.Object3D,function(){var e=new THREE.Geometry;c=2*Math.PI*3/m,e.vertices.push(new THREE.Vector3(0,3,0)),e.vertices.push(new THREE.Vector3(0,-3,0));for(var t=0;t<Math.floor(100);t++)e.vertices.push(new THREE.Vector3(0,3,c*t)),e.vertices.push(new THREE.Vector3(0,-3,c*t)),e.vertices.push(new THREE.Vector3(0,3,-c*t)),e.vertices.push(new THREE.Vector3(0,-3,-c*t));e.faces.push(new THREE.Face3(0,1,2)),e.faces.push(new THREE.Face3(1,2,3)),e.faces.push(new THREE.Face3(0,1,4)),e.faces.push(new THREE.Face3(1,4,5));for(var i=1;i<Math.floor(100);i++)e.faces.push(new THREE.Face3(2+4*(i-1),3+4*(i-1),6+4*(i-1))),e.faces.push(new THREE.Face3(3+4*(i-1),6+4*(i-1),7+4*(i-1))),e.faces.push(new THREE.Face3(4+4*(i-1),5+4*(i-1),8+4*(i-1))),e.faces.push(new THREE.Face3(5+4*(i-1),8+4*(i-1),9+4*(i-1)));l=new THREE.Mesh(e,u),d.add(l)}(),d.position.set(-3,3,0),d.rotation.y=Math.PI,r.add(d),a.render(r,s)},render:function e(){requestAnimationFrame(e),l.geometry.verticesNeedUpdate=!0,o.update();for(var i=0;i<t.length;i++)t[i].update(1*clock.getElapsedTime());a.render(r,s)},getRendererCanvasID:function(){return h},getScene:function(){return r},getCamera:function(){return s}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_OBJ_ANIM_INTERACTION.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.THREE_MOUSE_INTERACTION&&(e.THREE_MOUSE_INTERACTION=e.THREE_MOUSE_INTERACTION||{},e.THREE_MOUSE_INTERACTION.version="0.0.4",e.THREE_MOUSE_INTERACTION.documentReady=function(e){if(0==e("#3D-mouseinteraction-three-canvas").length||!Modernizr.webgl)return!1;var t=[],a=function(){var e,a,r,o,s,l,d,u,c,f=i.innerWidth,p=i.innerHeight,h="3D-mouseinteraction-three-canvas",m=new THREE.Vector2,v=[];function g(){e.aspect=i.innerWidth/i.innerHeight,e.updateProjectionMatrix(),s.setSize(i.innerWidth,i.innerHeight)}function y(e){e.preventDefault(),m.x=e.clientX/i.innerWidth*2-1,m.y=-e.clientY/i.innerHeight*2+1}function x(t){if(t.preventDefault(),m.x=t.clientX/i.innerWidth*2-1,m.y=-t.clientY/i.innerHeight*2+1,!0,d.setFromCamera(m,e),(u=d.intersectObjects(v)).length>0&&u[0].object.name.indexOf("nucleus")>=0){var n=u[0].object;console.log(n.name);var r=n.position;console.log(r);var o=r.clone();TweenMax.to(a.target,2,{x:o.x,y:o.y,z:o.z}),TweenMax.to(e.position,2,{x:o.x,y:o.y,z:o.z+100,onUpdate:function(){e.up.set(0,1,0),e.updateProjectionMatrix()},onComplete:function(){var t=function(e,t,i,n){var a=new THREE.Vector3;a.setFromMatrixPosition(e.matrixWorld);var r=i/2,o=n/2,s=n/i;a.project(t),a.x=a.x*r+r,a.y=-a.y*o+o;var l=(new THREE.Box3).setFromObject(e).getSize(new THREE.Vector3),d=7;return{position:a,width:(l.x*d*s).toFixed(2),height:(l.y*d*s).toFixed(2)}}(n,e,s.domElement.width,s.domElement.height);console.log("Current object coordinates: {x: ".concat(t.position.x,", y: ").concat(t.position.y,", z: ").concat(t.position.z," }"))}})}else TweenMax.to(a.target,2,{x:0,y:0,z:0,onComplete:function(){TweenMax.resumeAll()}})}function E(e){e.preventDefault(),m.x=e.clientX/i.innerWidth*2-1,m.y=-e.clientY/i.innerHeight*2+1,0,!1}return{init:function(){(e=new THREE.PerspectiveCamera(75,f/p,1,1e4)).position.set(0,0,1300),(a=new THREE.OrbitControls(e)).autoRotate=!1,a.autoRotateSpeed=.5,a.rotateSpeed=.5,a.zoomSpeed=1.2,a.panSpeed=.8,a.enableZoom=!0,a.enableDamping=!0,a.dampingFactor=.25,a.screenSpacePanning=!1,a.minDistance=100,a.maxDistance=500,a.maxPolarAngle=Math.PI/2,a.target.set(30,167,81),a.update(),(r=new THREE.Scene).add(new THREE.AmbientLight(5592405)),(o=new THREE.SpotLight(16777215,1.5)).position.set(0,500,2e3),r.add(o),(s=new THREE.WebGLRenderer({canvas:n.getElementById(h),alpha:!0,antialias:!0})).setSize(f,p),function(e,t){for(var i=function(e,t){e.faces.forEach((function(e){for(var i=e instanceof THREE.Face3?3:4,n=0;n<i;n++)e.vertexColors[n]=t}))},n=0;n<t;n++){var a=void 0;"cube"==e?a=new THREE.BoxGeometry(1,1,1):"sphere"==e?a=new THREE.IcosahedronGeometry(1,1):"poly"==e&&(a=new THREE.CylinderGeometry(3,6,3,5,1));var o=new THREE.Vector3;o.x=500*Math.random(),o.y=400*Math.random(),o.z=300*Math.random();var s=new THREE.Euler;s.x=2*Math.random()*Math.PI,s.y=2*Math.random()*Math.PI,s.z=2*Math.random()*Math.PI;new THREE.Vector3;var d=new THREE.Color;d.setRGB(Math.random(),Math.random(),Math.random()),i(a,d);var u=new THREE.MeshPhongMaterial({color:16777215,flatShading:!0,vertexColors:THREE.VertexColors});(l=new THREE.Mesh(a,u)).name="nucleus-"+n,l.position.x=800*Math.random()-400,l.position.y=800*Math.random()-400,l.position.z=800*Math.random()-400,l.rotation.x=2*Math.random()*Math.PI,l.rotation.y=2*Math.random()*Math.PI,l.rotation.z=2*Math.random()*Math.PI,l.scale.x=Math.random()+5,l.scale.y=Math.random()+5,l.scale.z=Math.random()+5,r.add(l),v.push(l)}}("poly",15),i.addEventListener("resize",g,!1),d=new THREE.Raycaster,n.addEventListener("mousemove",y,!1),n.getElementById(h).addEventListener("click",x,!1),n.addEventListener("mouseup",E,!1)},render:function i(){requestAnimationFrame(i),.1,s.setClearColor(0),d.setFromCamera(m,e),(u=d.intersectObjects(v)).length>0?c!=u[0].object&&(c&&c.material.emissive.setHex(c.currentHex),(c=u[0].object).currentHex=c.material.emissive.getHex(),c.material.emissive.setHex(16711680)):(c&&c.material.emissive.setHex(c.currentHex),c=null),a.update();for(var n=0;n<t.length;n++)t[n].update(1*clock.getElapsedTime());s.render(r,e)},getRendererCanvasID:function(){return h},getScene:function(){return r},getCamera:function(){return e}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_MOUSE_INTERACTION.documentReady))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.THREE_MOUSE_INTERACTION2&&(e.THREE_MOUSE_INTERACTION2=e.THREE_MOUSE_INTERACTION2||{},e.THREE_MOUSE_INTERACTION2.version="0.0.5",e.THREE_MOUSE_INTERACTION2.documentReady=function(e){if(0==e("#3D-mouseinteraction2-three-canvas").length||!Modernizr.webgl)return!1;var t=[],a=function(){var e,a,r,s,l,d,u,c,f=i.innerWidth,p=i.innerHeight,h="3D-mouseinteraction2-three-canvas",m=new function(e){this.targetPosition=0,this.targetPositionOnMouseDown=0,this.mouseY=0,this.mouseYOnMouseDown=0,this.scrollPosY=0,this.domElem=void 0,this.init=function(e){this.domElem=e,this.domElem.addEventListener("mousedown",this.onDocumentMouseDown,!1),this.domElem.addEventListener("touchstart",this.onDocumentTouchStart,!!o&&{passive:!0}),this.domElem.addEventListener("touchmove",this.onDocumentTouchMove,!!o&&{passive:!0}),this.domElem.addEventListener("wheel",this.onDocumentMousewheel,!!o&&{passive:!0})},this.onDocumentMouseDown=function(e){e.preventDefault(),this.domElem.addEventListener("mousemove",this.onDocumentMouseMove,!1),this.domElem.addEventListener("mouseup",this.onDocumentMouseUp,!1),this.domElem.addEventListener("mouseout",this.onDocumentMouseOut,!1),this.mouseYOnMouseDown=e.clientY,this.targetPositionOnMouseDown=this.targetPosition}.bind(this),this.onDocumentMouseMove=function(e){this.mouseY=e.clientY,this.targetPosition=this.targetPositionOnMouseDown+.02*(this.mouseY-this.mouseYOnMouseDown)}.bind(this),this.onDocumentMouseUp=function(e){this.domElem.removeEventListener("mousemove",this.onDocumentMouseMove,!1),this.domElem.removeEventListener("mouseup",this.onDocumentMouseUp,!1),this.domElem.removeEventListener("mouseout",this.onDocumentMouseOut,!1)}.bind(this),this.onDocumentMouseOut=function(e){this.domElem.removeEventListener("mousemove",this.onDocumentMouseMove,!1),this.domElem.removeEventListener("mouseup",this.onDocumentMouseUp,!1),this.domElem.removeEventListener("mouseout",this.onDocumentMouseOut,!1)}.bind(this),this.onDocumentTouchStart=function(e){1==e.touches.length&&(e.preventDefault(),this.mouseYOnMouseDown=e.touches[0].pageY,this.targetPositionOnMouseDown=this.targetPosition)}.bind(this),this.onDocumentTouchMove=function(e){1==e.touches.length&&(e.preventDefault(),this.mouseY=e.touches[0].pageY,this.targetPosition=this.targetPositionOnMouseDown+.02*(this.mouseY-this.mouseYOnMouseDown))}.bind(this),this.onDocumentMousewheel=function(e){this.targetPosition=this.targetPosition+.005*e.wheelDeltaY}.bind(this),this.getScrollPosY=function(){return this.scrollPosY=this.scrollPosY+.05*(this.targetPosition-this.scrollPosY),this.scrollPosY}.bind(this)}({direction:"y"}),v=new THREE.Vector2,g=[];function y(){e.aspect=i.innerWidth/i.innerHeight,e.updateProjectionMatrix(),s.setSize(i.innerWidth,i.innerHeight)}function x(e){e.preventDefault(),v.x=e.clientX/i.innerWidth*2-1,v.y=-e.clientY/i.innerHeight*2+1}function E(t){if(t.preventDefault(),v.x=t.clientX/i.innerWidth*2-1,v.y=-t.clientY/i.innerHeight*2+1,!0,d.setFromCamera(v,e),(u=d.intersectObjects(g)).length>0&&u[0].object.name.indexOf("nucleus")>=0){var n=u[0].object,a=n.position;console.log(a);var r=a.clone();m.targetPosition=n.position.y/1e4;var o={x:n.position.x,y:n.position.y,z:n.position.z+1100};TweenMax.to(o,2,{x:r.x,y:r.y,z:r.z}),TweenMax.to(e.position,2,{x:r.x,y:r.y,z:r.z+1e3,onUpdate:function(){e.up.set(0,1,0),e.updateProjectionMatrix()},onComplete:function(){var t=function(e,t,i,n){var a=new THREE.Vector3;a.setFromMatrixPosition(e.matrixWorld);var r=i/2,o=n/2,s=n/i;a.project(t),a.x=a.x*r+r,a.y=-a.y*o+o;var l=(new THREE.Box3).setFromObject(e).getSize(new THREE.Vector3),d=7;return{position:a,width:(l.x*d*s).toFixed(2),height:(l.y*d*s).toFixed(2)}}(n,e,s.domElement.width,s.domElement.height);console.log("Current object coordinates: {x: ".concat(t.position.x,", y: ").concat(t.position.y,", z: ").concat(t.position.z," }"))}})}else m.targetPosition=0,TweenMax.to(e.position,2,{x:0,y:0,z:2e4,onComplete:function(){TweenMax.resumeAll()}})}function T(e){e.preventDefault(),v.x=e.clientX/i.innerWidth*2-1,v.y=-e.clientY/i.innerHeight*2+1,0,!1}return{init:function(){(e=new THREE.PerspectiveCamera(70,f/p,1,5e4)).position.set(0,0,2e4),(a=new THREE.Scene).add(new THREE.AmbientLight(5592405)),(r=new THREE.SpotLight(16777215,1.5)).position.set(0,500,2e3),a.add(r),(s=new THREE.WebGLRenderer({canvas:n.getElementById(h),alpha:!0,antialias:!0})).setSize(f,p),m.init(s.domElement),function(e){new THREE.Geometry;for(var t=function(e,t){e.faces.forEach((function(e){for(var i=e instanceof THREE.Face3?3:4,n=0;n<i;n++)e.vertexColors[n]=t}))},i=0;i<e;i++){var n=void 0,r=new THREE.Color,o=new THREE.Vector3;o.x=i%10*2e3-9e3,o.y=2e3*Math.floor(i%100/10)-9e3,o.z=2e3*Math.floor(i/100)-1e3;var s=new THREE.Euler;s.x=0,s.y=0,s.z=0;var d=new THREE.Vector3;d.x=1200,d.y=600,d.z=200,n=new THREE.BoxGeometry(1,1,1),r.setRGB(0,0,Math.random()+.1),t(n,r);var u=new THREE.MeshPhongMaterial({color:16777215,flatShading:!0,vertexColors:THREE.VertexColors});l=new THREE.Mesh(n,u),a.add(l);new THREE.Mesh(n);l.name="nucleus-"+i,l.position.copy(o),l.rotation.copy(s),l.scale.copy(d),l.updateMatrix(),a.add(l),g.push(l)}}(500),i.addEventListener("resize",y,!1),d=new THREE.Raycaster,n.addEventListener("mousemove",x,!1),n.getElementById(h).addEventListener("click",E,!1),n.addEventListener("mouseup",T,!1)},render:function i(){requestAnimationFrame(i),s.setClearColor(0),e.position.y=1e4*m.getScrollPosY(),d.setFromCamera(v,e),(u=d.intersectObjects(g)).length>0?c!=u[0].object&&(c&&c.material.emissive.setHex(c.currentHex),(c=u[0].object).currentHex=c.material.emissive.getHex(),c.material.emissive.setHex(16711680)):(c&&c.material.emissive.setHex(c.currentHex),c=null);for(var n=0;n<t.length;n++)t[n].update(1*clock.getElapsedTime());s.render(a,e)},getRendererCanvasID:function(){return h},getScene:function(){return a},getCamera:function(){return e}}}();a.init(),a.render()},e.components.documentReady.push(e.THREE_MOUSE_INTERACTION2.documentReady))}(s,jQuery,window,document);THREE.ExplodeModifier=function(){},THREE.ExplodeModifier.prototype.modify=function(e){for(var t=[],i=0,n=e.faces.length;i<n;i++){var a=t.length,r=e.faces[i],o=r.a,s=r.b,l=r.c,d=e.vertices[o],u=e.vertices[s],c=e.vertices[l];t.push(d.clone()),t.push(u.clone()),t.push(c.clone()),r.a=a,r.b=a+1,r.c=a+2}e.vertices=t};THREE.ExplodeModifier;function ut(e){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ut(e)}!function(e,t,i,n){null!==i.THREE_SHATTER_SLIDER&&(e.THREE_SHATTER_SLIDER=e.THREE_SHATTER_SLIDER||{},e.THREE_SHATTER_SLIDER.version="0.1.0",e.THREE_SHATTER_SLIDER.documentReady=function(e){if(0==e(".uix-3d-slider--shatter").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,o,s,d,u,c,f=i.innerWidth,p=i.innerHeight,h=e(".uix-3d-slider--shatter"),m="uix-3d-slider--shatter__loader",v="uix-3d-slider--shatter__canvas",g=1e3,y=[],x=!1,E=[],T=!1;function b(){a.aspect=i.innerWidth/i.innerHeight,a.updateProjectionMatrix(),d.setSize(i.innerWidth,i.innerHeight)}function _(t,i,n,a,r,o){var s=n,l=a;u=new THREE.MeshBasicMaterial({map:t});var d=new THREE.BoxGeometry(s,l,13),c=new THREE.Mesh(d,u);c.minFilter=THREE.LinearFilter,c.overdraw=!0,c.position.set(0,0,0),d.center(),(new THREE.ExplodeModifier).modify(d);for(var p=0;p<d.vertices.length;p++){var h=d.vertices[p];h.origPos={x:h.x,y:h.y,z:h.z}}y.push(c),TweenMax.to(o,.5,{width:Math.round(100*y.length/r)+"%",onComplete:function(){e(this.target).width()>=f-50&&TweenMax.to(this.target,.5,{alpha:0})}})}function w(e,t,i,n,a,r,o,s){var l=n.find(".uix-3d-slider--shatter__item"),d=l.length;n[0].animatedSlides=setInterval((function(){if(e=parseFloat(l.filter(".is-active").index()),e++,i){e==d&&(e=0),e<0&&(e=d-1);var t=l.filter(".is-active").index(),n=e;S(t,n,0==e?"prev":"next",a,r,o,s,i)}else{if(e<d&&e>=0)S(l.filter(".is-active").index(),e,"next",a,r,o,s,i)}}),t)}function S(t,i,n,a,r,o,s,l){var d=h.find(".uix-3d-slider--shatter__item"),u=d.length;if(1==u)return e(o).hide(),e(s).hide(),!1;if(!T){T=!0,l?(t>u-1&&(t=0),t<0&&(t=u-1),i<0&&(i=u-1),i>u-1&&(i=0)):(t>u-1&&(t=u-1),t<0&&(t=0),i<0&&(i=0),i>u-1&&(i=u-1));var c=h.find(".uix-3d-slider--shatter__item").eq(t),f=h.find(".uix-3d-slider--shatter__item").eq(i);console.log("Current: "+t+" | Next: "+i);var p="";if("prev"==n&&(p="prev"),"next"==n&&(p="next"),d.removeClass("is-active leave prev next").addClass(p),c.addClass("leave"),f.addClass("is-active"),e(o).find("ul > li").removeClass("is-active leave prev next").addClass(p),e(o).find("ul > li").eq(t).addClass("leave"),e(o).find("ul > li").eq(i).addClass("is-active"),l||(e(s).find("a").removeClass("is-disabled"),i==u-1&&e(s).find(".uix-3d-slider--shatter__arrows--next").addClass("is-disabled"),0==i&&e(s).find(".uix-3d-slider--shatter__arrows--prev").addClass("is-disabled")),e(a).text(u),e(r).text(parseFloat(t)+1),y.forEach((function(e,t){var i=e.material.map.image;"video"==i.localName&&(i.autoplay=!1,i.currentTime=0,i.muted=!0,i.pause())})),i,"undefined"!=ut(y[i]))for(var m=y[i].geometry.vertices,v=0;v<m.length;v++)TweenMax.to(m[v],2,{x:m[v].origPos.x,y:m[v].origPos.y,z:m[v].origPos.z,ease:"Expo.easeInOut"});var g=y[i].material.map.image;if("video"==g.localName&&(g.autoplay=!0,g.currentTime=0,g.muted=!1,g.play()),"undefined"!=ut(y[t]))for(var x=y[t].geometry.vertices,E=0;E<x.length;E++){var b=new THREE.Vector3;Math.random();b.x=Math.random(),b.y=Math.random()*(50*E),b.z=-300*Math.random(),TweenMax.to(x[E],2,{x:b.x,y:b.y,z:b.z,ease:"Expo.easeInOut",onComplete:function(){T=!1}})}}}return{init:function(){(a=new THREE.PerspectiveCamera(55,i.innerWidth/i.innerHeight,10,2500)).movementSpeed=100,a.rollSpeed=.5,a.position.y=60,a.position.z=500,(o=new THREE.Scene).add(new THREE.AmbientLight(5592405)),(s=new THREE.SpotLight(16777215,1.5)).position.set(0,0,2e3),o.add(s),(d=new THREE.WebGLRenderer({canvas:n.getElementById(v),alpha:!0,antialias:!0})).setPixelRatio(i.devicePixelRatio),d.setSize(i.innerWidth,i.innerHeight),(r=new THREE.OrbitControls(a,d.domElement)).autoRotate=!1,r.autoRotateSpeed=.5,r.rotateSpeed=.5,r.zoomSpeed=1.2,r.panSpeed=.8,r.enableZoom=!1,r.target.set(0,0,0),r.update();var t=new THREE.TextureLoader;t.crossOrigin="anonymous",c=E.length,E.forEach((function(i,a){if("img"==i.type)t.load(i.url,(function(t){_(t,a,475,375,c,e("#"+m))}),void 0,(function(e){console.error("An error happened.")}));else{var r=new THREE.VideoTexture(n.getElementById(i.id));r.minFilter=THREE.LinearFilter,r.magFilter=THREE.LinearFilter,r.format=THREE.RGBFormat,r.image.autoplay=!0,r.image.loop=!0,r.image.currentTime=0,r.image.muted=!1,r.image.pause(),_(r,a,475,375,c,e("#"+m))}})),i.addEventListener("resize",b,!1)},render:function e(){requestAnimationFrame(e),.1,y.forEach((function(e,t){e.geometry.verticesNeedUpdate=!0})),"undefined"!=ut(y)&&(x||y.length!==c||(y.forEach((function(e,t){if(o.add(e),0==t){var i=e.material.map.image;"video"==i.localName&&(i.autoplay=!0,i.currentTime=0,i.muted=!0,i.play())}if(t>0)for(var n=e.geometry.vertices,a=0;a<n.length;a++){var r=new THREE.Vector3;Math.random();r.x=Math.random(),r.y=Math.random()*(50*a),r.z=-300*Math.random(),n[a].x=r.x,n[a].y=r.y,n[a].z=r.z}console.log(e)})),x=!0)),r.update();for(var i=0;i<t.length;i++)t[i].update(1*clock.getElapsedTime());d.render(o,a)},wrapperInit:function(){h.each((function(){var t=e(this),i=t.find(".uix-3d-slider--shatter__item"),a=i.first(),r=i.length,o=t.data("activated");if("undefined"===ut(o)||0===o){var s=t.data("controls-pagination"),d=t.data("controls-arrows"),u=t.data("filter-texture"),c=t.data("draggable"),f=t.data("draggable-cursor"),h=t.data("speed"),m=t.data("count-total"),y=t.data("count-now");"undefined"===ut(s)&&(s=".uix-3d-slider--shatter__pagination"),"undefined"!==ut(d)&&0!=d||(d=".uix-3d-slider--shatter__arrows"),"undefined"===ut(_)&&(_=!1),"undefined"!==ut(u)&&u&&""!=u||(u="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"),"undefined"===ut(c)&&(c=!1),"undefined"===ut(f)&&(f="move");var x,T=t.data("auto"),b=t.data("timing"),_=t.data("loop");"undefined"===ut(T)&&(T=!1),"undefined"===ut(b)&&(b=1e4),"undefined"===ut(_)&&(_=!1),t[0].animatedSlides,0==e(d).length&&e("body").prepend('<div style="display:none;" class="uix-3d-slider--shatter__arrows '+d.replace("#","").replace(".","")+'"><a href="#" class="uix-3d-slider--shatter__arrows--prev"></a><a href="#" class="uix-3d-slider--shatter__arrows--next"></a></div>'),1==r&&(e(s).hide(),e(d).hide()),e(s).find("ul > li").first().addClass("is-active"),t.css("height",p+"px"),0==e("#"+v).length&&t.prepend('<div id="uix-3d-slider--shatter__canvas-container" class="uix-3d-slider--shatter__canvas-container"><canvas id="'+v+'"></canvas></div>'),"undefined"!=ut(h)&&0!=h&&(g=h),i.addClass("next"),a.addClass("is-active"),i.last().addClass("last"),i.first().addClass("first"),i.each((function(){var t=e(this);if(t.find("video").length>0){n.getElementById(t.find("video").attr("id"));var i=t.find("source:first").attr("src");"undefined"===ut(i)&&(i=t.attr("src")),"undefined"!=ut(i)&&E.push({url:i,id:t.find("video").attr("id"),type:"video"})}else{var a=t.find("img").attr("src");"undefined"!=ut(a)&&E.push({url:a,id:"img-"+l.create(),type:"img"})}}));var C="";C+="<ul>";for(var R=0;R<r;R++)C+="<li "+(0==R?'class="is-active"':"")+' data-index="'+R+'"><a href="javascript:"></a></li>';C+="</ul>",""==e(s).html()&&e(s).html(C),e(s).find("ul > li").off("click").on("click",(function(i){if(i.preventDefault(),"true"==e(this).attr("aria-disabled"))return!1;e(s).find("ul > li").attr("aria-disabled","true"),e(s).find("ul > li").delay(g).queue((function(t){e(s).find("ul > li").attr("aria-disabled","false"),t()}));var n=e(s).find("ul > li.is-active").index(),a=e(this).index(),r="prev";e(this).attr("data-index")>n&&(r="next"),S(n,a,r,m,y,s,d,_),clearInterval(t[0].animatedSlides)}));var M=e(d).find(".uix-3d-slider--shatter__arrows--prev"),L=e(d).find(".uix-3d-slider--shatter__arrows--next");if(e(d).find("a").attr("href","javascript:"),e(d).find("a").removeClass("is-disabled"),_||M.addClass("is-disabled"),M.off("click").on("click",(function(n){if(n.preventDefault(),"true"==e(this).attr("aria-disabled"))return!1;e(this).attr("aria-disabled","true"),e(this).delay(g).queue((function(t){e(this).attr("aria-disabled","false"),t()})),S(i.filter(".is-active").index(),parseFloat(i.filter(".is-active").index())-1,"prev",m,y,s,d,_),clearInterval(t[0].animatedSlides)})),L.off("click").on("click",(function(n){if(n.preventDefault(),"true"==e(this).attr("aria-disabled"))return!1;e(this).attr("aria-disabled","true"),e(this).delay(g).queue((function(t){e(this).attr("aria-disabled","false"),t()})),S(i.filter(".is-active").index(),parseFloat(i.filter(".is-active").index())+1,"next",m,y,s,d,_),clearInterval(t[0].animatedSlides)})),T&&!isNaN(parseFloat(b))&&isFinite(b)){w(x,b,_,t,m,y,s,d);var A=function(){clearInterval(t[0].animatedSlides)},O=function(){w(x,b,_,t,m,y,s,d)};t.on("mouseenter",A),t.on("mouseleave",O),Modernizr.touchevents&&(t.on("pointerenter",A),t.on("pointerleave",O))}t.data("activated",1)}}))},getRendererCanvasID:function(){return v},getScene:function(){return o},getCamera:function(){return a}}}();a.wrapperInit(),a.init(),a.render()},e.components.documentReady.push(e.THREE_SHATTER_SLIDER.documentReady))}(s,jQuery,window,document);function ct(e){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ct(e)}!function(e,t,i,n){null!==i.THREE_EXP_PARTICLE_SLIDER&&(e.THREE_EXP_PARTICLE_SLIDER=e.THREE_EXP_PARTICLE_SLIDER||{},e.THREE_EXP_PARTICLE_SLIDER.version="0.1.0",e.THREE_EXP_PARTICLE_SLIDER.documentReady=function(e){if(0==e(".uix-3d-slider--expParticle").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,o,s,d,u,c,f,p,h=i.innerWidth,m=i.innerHeight,v=e(".uix-3d-slider--expParticle"),g="uix-3d-slider--expParticle__loader",y="uix-3d-slider--expParticle__canvas",x=1e3,E=new THREE.Clock,T=[],b=!1,_=[],w=!1,S=0,C=[],R=[];function M(){a.aspect=i.innerWidth/i.innerHeight,a.updateProjectionMatrix(),d.setSize(i.innerWidth,i.innerHeight)}function L(t,i,n,a,r,o){var s,l,d,f,m,v,g,y=n,x=a,E=new THREE.Object3D;for(.04,1/15,v=y/25,g=x/15,p=0,s=0;s<25;s++)for(l=0;l<15;l++){d=s,f=l,A(m=new THREE.BoxBufferGeometry(v,g,v),.04,.06666666666666667,d,f),R[p]=new THREE.MeshBasicMaterial({map:t}),u=R[p],(c=new THREE.Mesh(m,u)).position.x=(s-12.5)*v,c.position.y=(l-7.5)*g,c.position.z=0,c.scale.x=c.scale.y=c.scale.z=1,c.origPos={x:c.position.x,y:c.position.y,z:c.position.z};var b=4e3*Math.random()*(Math.random()>.5?1:-1),_=2e3*Math.random(),w=3e3*Math.random();c.position.x=b,c.position.y=_,c.position.z=w,c.targetPos={x:b,y:_,z:w},E.add(c),C[p]=c,p+=1}T.push(E),TweenMax.to(o,.5,{width:Math.round(100*T.length/r)+"%",onComplete:function(){e(this.target).width()>=h-50&&TweenMax.to(this.target,.5,{alpha:0})}})}function A(e,t,i,n,a){for(var r=e.attributes.uv.array,o=0;o<r.length;o+=2)r[o]=(r[o]+n)*t,r[o+1]=(r[o+1]+a)*i}function O(e,t,i,n,a,r,o,s){var l=n.find(".uix-3d-slider--expParticle__item"),d=l.length;n[0].animatedSlides=setInterval((function(){if(e=parseFloat(l.filter(".is-active").index()),e++,i){e==d&&(e=0),e<0&&(e=d-1);var t=l.filter(".is-active").index(),n=e;D(t,n,0==e?"prev":"next",a,r,o,s,i)}else{if(e<d&&e>=0)D(l.filter(".is-active").index(),e,"next",a,r,o,s,i)}}),t)}function D(t,i,n,a,r,o,s,l){var d=v.find(".uix-3d-slider--expParticle__item"),u=d.length;if(1==u)return e(o).hide(),e(s).hide(),!1;if(!w){w=!0,l?(t>u-1&&(t=0),t<0&&(t=u-1),i<0&&(i=u-1),i>u-1&&(i=0)):(t>u-1&&(t=u-1),t<0&&(t=0),i<0&&(i=0),i>u-1&&(i=u-1));var c=v.find(".uix-3d-slider--expParticle__item").eq(t),f=v.find(".uix-3d-slider--expParticle__item").eq(i);console.log("Current: "+t+" | Next: "+i);var p="";"prev"==n&&(p="prev"),"next"==n&&(p="next"),d.removeClass("is-active leave prev next").addClass(p),c.addClass("leave"),f.addClass("is-active"),e(o).find("ul > li").removeClass("is-active leave prev next").addClass(p),e(o).find("ul > li").eq(t).addClass("leave"),e(o).find("ul > li").eq(i).addClass("is-active"),l||(e(s).find("a").removeClass("is-disabled"),i==u-1&&e(s).find(".uix-3d-slider--expParticle__arrows--next").addClass("is-disabled"),0==i&&e(s).find(".uix-3d-slider--expParticle__arrows--prev").addClass("is-disabled")),e(a).text(u),e(r).text(parseFloat(t)+1),S=i,w=!1}}return{init:function(){(a=new THREE.PerspectiveCamera(55,i.innerWidth/i.innerHeight,10,2500)).movementSpeed=100,a.rollSpeed=.5,a.position.y=60,a.position.z=500,(o=new THREE.Scene).add(new THREE.AmbientLight(5592405)),(s=new THREE.SpotLight(16777215,1.5)).position.set(0,0,2e3),o.add(s),(d=new THREE.WebGLRenderer({canvas:n.getElementById(y),alpha:!0,antialias:!0})).setPixelRatio(i.devicePixelRatio),d.setSize(i.innerWidth,i.innerHeight),(r=new THREE.OrbitControls(a,d.domElement)).autoRotate=!1,r.autoRotateSpeed=.5,r.rotateSpeed=.5,r.zoomSpeed=1.2,r.panSpeed=.8,r.enableZoom=!1,r.target.set(0,0,0),r.update();var t=new THREE.TextureLoader;t.crossOrigin="anonymous",f=_.length,_.forEach((function(i,a){if("img"==i.type)t.load(i.url,(function(t){L(t,a,475,375,f,e("#"+g))}),void 0,(function(e){console.error("An error happened.")}));else{var r=new THREE.VideoTexture(n.getElementById(i.id));r.minFilter=THREE.LinearFilter,r.magFilter=THREE.LinearFilter,r.format=THREE.RGBFormat,r.image.autoplay=!0,r.image.loop=!0,r.image.currentTime=0,r.image.muted=!0,r.image.play(),L(r,a,475,375,f,e("#"+g))}})),i.addEventListener("resize",M,!1)},render:function e(){if(requestAnimationFrame(e),E.getElapsedTime(),"undefined"!=ct(T[S]))for(var i=T[S].children,n=2e-4*Math.random(),s=0;s<i.length;s++)for(var l=0;l<i[s].parent.children.length;l++){var u=i[s].parent.children[l];u.position.x+=(u.origPos.x-u.position.x)*n,u.position.y+=(u.origPos.y-u.position.y)*n,u.position.z+=(u.origPos.z-u.position.z)*n}T.forEach((function(e,t){if(t!=S)for(var i=e.children,n=5e-5*Math.random(),a=0;a<i.length;a++)for(var r=0;r<i[a].parent.children.length;r++){var o=i[a].parent.children[r];o.position.x+=(o.targetPos.x-o.position.x)*n,o.position.y+=(o.targetPos.y-o.position.y)*n,o.position.z+=(o.targetPos.z-o.position.z)*n}})),"undefined"!=ct(T)&&(b||T.length!==f||(T.forEach((function(e,t){o.add(e),console.log(e)})),b=!0)),r.update();for(var c=0;c<t.length;c++)t[c].update(1*E.getElapsedTime());d.render(o,a)},wrapperInit:function(){v.each((function(){var t=e(this),i=t.find(".uix-3d-slider--expParticle__item"),a=i.first(),r=i.length,o=t.data("activated");if("undefined"===ct(o)||0===o){var s=t.data("controls-pagination"),d=t.data("controls-arrows"),u=t.data("filter-texture"),c=t.data("draggable"),f=t.data("draggable-cursor"),p=t.data("speed"),h=t.data("count-total"),v=t.data("count-now");"undefined"===ct(s)&&(s=".uix-3d-slider--expParticle__pagination"),"undefined"!==ct(d)&&0!=d||(d=".uix-3d-slider--expParticle__arrows"),"undefined"!==ct(u)&&u&&""!=u||(u="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"),"undefined"===ct(c)&&(c=!1),"undefined"===ct(f)&&(f="move"),"undefined"===ct(h)&&(h="p.count em.count"),"undefined"===ct(v)&&(v="p.count em.current");var g,E=t.data("auto"),T=t.data("timing"),b=t.data("loop");"undefined"===ct(E)&&(E=!1),"undefined"===ct(T)&&(T=1e4),"undefined"===ct(b)&&(b=!1),t[0].animatedSlides,0==e(d).length&&e("body").prepend('<div style="display:none;" class="uix-3d-slider--expParticle__arrows '+d.replace("#","").replace(".","")+'"><a href="#" class="uix-3d-slider--expParticle__arrows--prev"></a><a href="#" class="uix-3d-slider--expParticle__arrows--next"></a></div>'),1==r&&(e(s).hide(),e(d).hide()),e(s).find("ul > li").first().addClass("is-active"),t.css("height",m+"px"),0==e("#"+y).length&&t.prepend('<div id="uix-3d-slider--expParticle__canvas-container" class="uix-3d-slider--expParticle__canvas-container"><canvas id="'+y+'"></canvas></div>'),"undefined"!=ct(p)&&0!=p&&(x=p),i.addClass("next"),a.addClass("is-active"),i.last().addClass("last"),i.first().addClass("first"),i.each((function(){var t=e(this);if(t.find("video").length>0){n.getElementById(t.find("video").attr("id"));var i=t.find("source:first").attr("src");"undefined"===ct(i)&&(i=t.attr("src")),"undefined"!=ct(i)&&_.push({url:i,id:t.find("video").attr("id"),type:"video"})}else{var a=t.find("img").attr("src");"undefined"!=ct(a)&&_.push({url:a,id:"img-"+l.create(),type:"img"})}}));var w="";w+="<ul>";for(var S=0;S<r;S++)w+="<li "+(0==S?'class="is-active"':"")+' data-index="'+S+'"><a href="javascript:"></a></li>';w+="</ul>",""==e(s).html()&&e(s).html(w),e(s).find("ul > li").off("click").on("click",(function(i){if(i.preventDefault(),"true"==e(this).attr("aria-disabled"))return!1;e(s).find("ul > li").attr("aria-disabled","true"),e(s).find("ul > li").delay(x).queue((function(t){e(s).find("ul > li").attr("aria-disabled","false"),t()}));var n=e(s).find("ul > li.is-active").index(),a=e(this).index(),r="prev";e(this).attr("data-index")>n&&(r="next"),D(n,a,r,h,v,s,d,b),clearInterval(t[0].animatedSlides)}));var C=e(d).find(".uix-3d-slider--expParticle__arrows--prev"),R=e(d).find(".uix-3d-slider--expParticle__arrows--next");if(e(d).find("a").attr("href","javascript:"),e(d).find("a").removeClass("is-disabled"),b||C.addClass("is-disabled"),C.off("click").on("click",(function(n){if(n.preventDefault(),"true"==e(this).attr("aria-disabled"))return!1;e(this).attr("aria-disabled","true"),e(this).delay(x).queue((function(t){e(this).attr("aria-disabled","false"),t()})),D(i.filter(".is-active").index(),parseFloat(i.filter(".is-active").index())-1,"prev",h,v,s,d,b),clearInterval(t[0].animatedSlides)})),R.off("click").on("click",(function(n){if(n.preventDefault(),"true"==e(this).attr("aria-disabled"))return!1;e(this).attr("aria-disabled","true"),e(this).delay(x).queue((function(t){e(this).attr("aria-disabled","false"),t()})),D(i.filter(".is-active").index(),parseFloat(i.filter(".is-active").index())+1,"next",h,v,s,d,b),clearInterval(t[0].animatedSlides)})),E&&!isNaN(parseFloat(T))&&isFinite(T)){O(g,T,b,t,h,v,s,d);var M=function(){clearInterval(t[0].animatedSlides)},L=function(){O(g,T,b,t,h,v,s,d)};t.on("mouseenter",M),t.on("mouseleave",L),Modernizr.touchevents&&(t.on("pointerenter",M),t.on("pointerleave",L))}t.data("activated",1)}}))},getRendererCanvasID:function(){return y},getScene:function(){return o},getCamera:function(){return a}}}();a.wrapperInit(),a.init(),a.render()},e.components.documentReady.push(e.THREE_EXP_PARTICLE_SLIDER.documentReady))}(s,jQuery,window,document);const ft="#define GLSLIFY 1\nvarying vec2 vUv;\n\nuniform sampler2D texture;\nuniform sampler2D texture2;\nuniform sampler2D disp;\n\n// uniform float time;\n// uniform float _rot;\nuniform float dispFactor;\nuniform float effectFactor;\n\n// vec2 rotate(vec2 v, float a) {\n//  float s = sin(a);\n//  float c = cos(a);\n//  mat2 m = mat2(c, -s, s, c);\n//  return m * v;\n// }\n\nvoid main() {\n\n    vec2 uv = vUv;\n\n    // uv -= 0.5;\n    // vec2 rotUV = rotate(uv, _rot);\n    // uv += 0.5;\n\n    vec4 disp = texture2D(disp, uv);\n\n    vec2 distortedPosition = vec2(uv.x + dispFactor * (disp.r*effectFactor), uv.y);\n    vec2 distortedPosition2 = vec2(uv.x - (1.0 - dispFactor) * (disp.r*effectFactor), uv.y);\n\n    vec4 _texture = texture2D(texture, distortedPosition);\n    vec4 _texture2 = texture2D(texture2, distortedPosition2);\n\n    vec4 finalTexture = mix(_texture, _texture2, dispFactor);\n\n    gl_FragColor = finalTexture;\n    // gl_FragColor = disp;\n}",pt="#define GLSLIFY 1\nvarying vec2 vUv;\nvoid main() {\n  vUv = uv;\n  gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}";function ht(e){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ht(e)}var mt,vt,gt;!function(e,t,i,n){null!==i.THREE_LIQUID_SCROLLSPY_SLIDER&&(e.THREE_LIQUID_SCROLLSPY_SLIDER=e.THREE_LIQUID_SCROLLSPY_SLIDER||{},e.THREE_LIQUID_SCROLLSPY_SLIDER.version="0.1.4",e.THREE_LIQUID_SCROLLSPY_SLIDER.documentReady=function(e){if(0==e(".uix-3d-slider--liquid-scrollspy").length||!Modernizr.webgl)return!1;var t=[],a=function(){var a,r,s,d,u,c,f,p,h=i.innerWidth,m=i.innerHeight,v=e(".uix-3d-slider--liquid-scrollspy"),g="uix-3d-slider--liquid-scrollspy__loader",y="uix-3d-slider--liquid-scrollspy__canvas",x=1e3,E=.5625,T=new THREE.TextureLoader;T.crossOrigin="anonymous";var b,_,w,S,C,R,M,L,A=[],O=!1;function D(e){var t;if(/[\/.](gif|jpg|jpeg|png)$/i.test(e))t=T.load(e);else{var i=n.createElement("video");i.src=e,(t=new THREE.VideoTexture(i)).minFilter=THREE.LinearFilter,t.magFilter=THREE.LinearFilter,t.format=THREE.RGBFormat,t.image.autoplay=!0,t.image.loop=!0,t.image.currentTime=0,t.image.muted=!0,t.image.play()}return t}function P(){requestAnimationFrame(P),.1;for(var e=0;e<t.length;e++)t[e].update(1*clock.getElapsedTime());d.render(r,a)}function I(){a.aspect=i.innerWidth/i.innerHeight,a.updateProjectionMatrix(),d.setSize(i.innerWidth,i.innerHeight)}function H(e){var t,i,n=null,a=e.touches;if(a&&a.length?(n=startY-a[0].pageY,a[0].pageY):(i=Math.max(-1,Math.min(1,-e.deltaY)),e.deltaY),null!=n?(n>=50&&(t="up"),n<=-50&&(t="down")):t=i<0?"down":"up",b){var r=w.filter(".is-active").index();"down"==t&&(N(r,parseFloat(w.filter(".is-active").index())+1,"next",S,C,R,M,L),clearInterval(_)),"up"==t&&(N(r,parseFloat(w.filter(".is-active").index())-1,"prev",S,C,R,M,L),clearInterval(_))}}function k(e,t,i,n,a,r,o,s){var l=n.find(".uix-3d-slider--liquid-scrollspy__item"),d=l.length;n[0].animatedSlides=setInterval((function(){if(e=parseFloat(l.filter(".is-active").index()),e++,i){e==d&&(e=0),e<0&&(e=d-1);var t=l.filter(".is-active").index(),n=e;N(t,n,0==e?"prev":"next",a,r,o,s,i)}else{if(e<d&&e>=0)N(l.filter(".is-active").index(),e,"next",a,r,o,s,i)}}),t)}function N(t,i,n,a,r,o,s,l){var d=v.find(".uix-3d-slider--liquid-scrollspy__item"),c=d.length;if(1==c)return e(o).hide(),e(s).hide(),!1;if(!O){O=!0,l?(t>c-1&&(t=0),t<0&&(t=c-1),i<0&&(i=c-1),i>c-1&&(i=0)):(t>c-1&&(t=c-1),t<0&&(t=0),i<0&&(i=0),i>c-1&&(i=c-1));var f=v.find(".uix-3d-slider--liquid-scrollspy__item").eq(t),h=v.find(".uix-3d-slider--liquid-scrollspy__item").eq(i);console.log("Current: "+t+" | Next: "+i);var m="";"prev"==n&&(m="prev"),"next"==n&&(m="next"),d.removeClass("is-active leave prev next").addClass(m),f.addClass("leave"),h.addClass("is-active"),e(o).find("ul > li").removeClass("is-active leave prev next").addClass(m),e(o).find("ul > li").eq(t).addClass("leave"),e(o).find("ul > li").eq(i).addClass("is-active"),l||(e(s).find("a").removeClass("is-disabled"),i==c-1&&e(s).find(".uix-3d-slider--liquid-scrollspy__arrows--next").addClass("is-disabled"),0==i&&e(s).find(".uix-3d-slider--liquid-scrollspy__arrows--prev").addClass("is-disabled")),e(a).text(c),e(r).text(parseFloat(t)+1),i,u.uniforms.texture.value=p[Math.floor(t)],u.uniforms.texture2.value=p[Math.floor(i)],TweenMax.to(u.uniforms.dispFactor,1.5,{value:1,ease:Expo.easeOut,onComplete:function(){var e,a;"prev"==n&&(u.uniforms.texture.value=p[Math.floor(t)],u.uniforms.texture2.value=p[Math.floor(i-1)],l&&(e=i,a=i-1,0==i&&(a=c-1))),"next"==n&&(u.uniforms.texture.value=p[Math.floor(t)],u.uniforms.texture2.value=p[Math.floor(i)],l&&(e=i,a=i+1,i==c-1&&(a=0))),u.uniforms.texture.value=p[Math.floor(e)],u.uniforms.texture2.value=p[Math.floor(a)],TweenMax.set(this.target,{value:0}),O=!1}})}}return{wrapperInit:function(){v.each((function(){var t=e(this),i=t.find(".uix-3d-slider--liquid-scrollspy__item"),a=i.first(),r=i.length,o=t.data("activated");if("undefined"===ht(o)||0===o){var s=t.data("controls-pagination"),d=t.data("controls-arrows"),u=t.data("filter-texture"),c=t.data("draggable"),p=t.data("draggable-cursor"),m=t.data("speed"),v=t.data("count-total"),g=t.data("count-now"),T=t.data("scrollspy");"undefined"===ht(s)&&(s=".uix-3d-slider--liquid-scrollspy__pagination"),"undefined"!==ht(d)&&0!=d||(d=".uix-3d-slider--liquid-scrollspy__arrows"),"undefined"===ht(I)&&(I=!1),"undefined"!==ht(u)&&u&&""!=u||(u="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"),"undefined"===ht(c)&&(c=!1),"undefined"===ht(p)&&(p="move"),"undefined"===ht(T)&&(T=!1);var O,D=t.data("auto"),P=t.data("timing"),I=t.data("loop");"undefined"===ht(D)&&(D=!1),"undefined"===ht(P)&&(P=1e4),"undefined"===ht(I)&&(I=!1),f=u,t[0].animatedSlides,b=T,_=t[0].animatedSlides,w=i,S=v,C=g,R=s,M=d,L=I,0==e(d).length&&e("body").prepend('<div style="display:none;" class="uix-3d-slider--liquid-scrollspy__arrows '+d.replace("#","").replace(".","")+'"><a href="#" class="uix-3d-slider--liquid-scrollspy__arrows--prev"></a><a href="#" class="uix-3d-slider--liquid-scrollspy__arrows--next"></a></div>'),1==r&&(e(s).hide(),e(d).hide()),e(s).find("ul > li").first().addClass("is-active"),t.css("height",h*E+"px"),0==e("#"+y).length&&t.prepend('<div id="uix-3d-slider--liquid-scrollspy__canvas-container" class="uix-3d-slider--liquid-scrollspy__canvas-container"><canvas id="'+y+'"></canvas></div>'),"undefined"!=ht(m)&&0!=m&&(x=m),i.addClass("next"),a.addClass("is-active"),i.last().addClass("last"),i.first().addClass("first"),i.each((function(){var t=e(this);if(t.find("video").length>0){n.getElementById(t.find("video").attr("id"));var i=t.find("source:first").attr("src");"undefined"===ht(i)&&(i=t.attr("src")),"undefined"!=ht(i)&&A.push({url:i,id:t.find("video").attr("id"),type:"video"})}else{var a=t.find("img").attr("src");"undefined"!=ht(a)&&A.push({url:a,id:"img-"+l.create(),type:"img"})}}));var H="";H+="<ul>";for(var F=0;F<r;F++)H+="<li "+(0==F?'class="is-active"':"")+' data-index="'+F+'"><a href="javascript:"></a></li>';H+="</ul>",""==e(s).html()&&e(s).html(H),e(s).find("ul > li").off("click").on("click",(function(i){if(i.preventDefault(),"true"==e(this).attr("aria-disabled"))return!1;e(s).find("ul > li").attr("aria-disabled","true"),e(s).find("ul > li").delay(x).queue((function(t){e(s).find("ul > li").attr("aria-disabled","false"),t()}));var n=e(s).find("ul > li.is-active").index(),a=e(this).index(),r="prev";e(this).attr("data-index")>n&&(r="next"),N(n,a,r,v,g,s,d,I),clearInterval(t[0].animatedSlides)}));var z=e(d).find(".uix-3d-slider--liquid-scrollspy__arrows--prev"),j=e(d).find(".uix-3d-slider--liquid-scrollspy__arrows--next");if(e(d).find("a").attr("href","javascript:"),e(d).find("a").removeClass("is-disabled"),I||z.addClass("is-disabled"),z.off("click").on("click",(function(n){if(n.preventDefault(),"true"==e(this).attr("aria-disabled"))return!1;e(this).attr("aria-disabled","true"),e(this).delay(x).queue((function(t){e(this).attr("aria-disabled","false"),t()})),N(i.filter(".is-active").index(),parseFloat(i.filter(".is-active").index())-1,"prev",v,g,s,d,I),clearInterval(t[0].animatedSlides)})),j.off("click").on("click",(function(n){if(n.preventDefault(),"true"==e(this).attr("aria-disabled"))return!1;e(this).attr("aria-disabled","true"),e(this).delay(x).queue((function(t){e(this).attr("aria-disabled","false"),t()})),N(i.filter(".is-active").index(),parseFloat(i.filter(".is-active").index())+1,"next",v,g,s,d,I),clearInterval(t[0].animatedSlides)})),D&&!isNaN(parseFloat(P))&&isFinite(P)){k(O,P,I,t,v,g,s,d);var G=function(){clearInterval(t[0].animatedSlides)},B=function(){k(O,P,I,t,v,g,s,d)};t.on("mouseenter",G),t.on("mouseleave",B),Modernizr.touchevents&&(t.on("pointerenter",G),t.on("pointerleave",B))}t.data("activated",1)}}))},texturesInit:function(){(function(){for(var t=[],i=function(i){"img"==A[i].type?t.push(new Promise((function(e,t){var a=n.createElement("img");a.crossOrigin="anonymous",a.src=A[i].url,a.onload=function(t){return TweenMax.to("#"+g,.5,{width:Math.round(i/A.length*100)+"%"}),"undefined"===ht(t.path)?e(t.target.currentSrc):e(t.path[0].currentSrc)}})).then(D)):t.push(new Promise((function(t,n){return TweenMax.to("#"+g,.5,{width:Math.round(i/A.length*100)+"%"}),e("#"+A[i].id).one("loadedmetadata",t),t(A[i].url)})).then(D))},a=0;a<A.length;a++)i(a);return Promise.all(t)})().then((function(t){TweenMax.to(e("#"+g),.5,{alpha:0}),function(t){p=t,(a=new THREE.PerspectiveCamera(45,i.innerWidth/i.innerHeight,.1,1e4)).position.z=1e3,a.lookAt=new THREE.Vector3(0,0,0);var l=1e3,v=THREE.Math.degToRad(a.fov),g=2*Math.tan(v/2)*l,x=g*a.aspect;(r=new THREE.Scene).add(new THREE.AmbientLight(5592405)),(s=new THREE.SpotLight(16777215,1.5)).position.set(0,0,2e3),r.add(s),(d=new THREE.WebGLRenderer({canvas:n.getElementById(y),alpha:!0,antialias:!0})).setPixelRatio(i.devicePixelRatio),d.setSize(h,m);var b=p[0],_=p[1],w=1,S=T.load(f);S.wrapS=S.wrapT=THREE.RepeatWrapping,b.magFilter=_.magFilter=THREE.LinearFilter,b.minFilter=_.minFilter=THREE.LinearFilter,b.anisotropy=d.capabilities.getMaxAnisotropy(),_.anisotropy=d.capabilities.getMaxAnisotropy();var C=new THREE.PlaneBufferGeometry(x,g,1);e("#"+y).css("height",h*E+"px"),C.center(),u=new THREE.ShaderMaterial({uniforms:{effectFactor:{type:"f",value:w},dispFactor:{type:"f",value:0},texture:{type:"t",value:b},texture2:{type:"t",value:_},disp:{type:"t",value:S}},vertexShader:pt,fragmentShader:ft,transparent:!0,opacity:1}),(c=new THREE.Mesh(C,u)).position.set(0,0,0),r.add(c),i.addEventListener("resize",I,!1),i.addEventListener("wheel",H,!!o&&{passive:!0})}(t),P()}))},getRendererCanvasID:function(){return y},getScene:function(){return r},getCamera:function(){return a}}}();a.wrapperInit(),a.texturesInit()},e.components.documentReady.push(e.THREE_LIQUID_SCROLLSPY_SLIDER.documentReady))}(s,jQuery,window,document);THREE.EffectComposer=function(e,t){if(this.renderer=e,void 0===t){var i={minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat,stencilBuffer:!1},n=e.getDrawingBufferSize(new THREE.Vector2);(t=new THREE.WebGLRenderTarget(n.width,n.height,i)).texture.name="EffectComposer.rt1"}this.renderTarget1=t,this.renderTarget2=t.clone(),this.renderTarget2.texture.name="EffectComposer.rt2",this.writeBuffer=this.renderTarget1,this.readBuffer=this.renderTarget2,this.renderToScreen=!0,this.passes=[],void 0===THREE.CopyShader&&console.error("THREE.EffectComposer relies on THREE.CopyShader"),void 0===THREE.ShaderPass&&console.error("THREE.EffectComposer relies on THREE.ShaderPass"),this.copyPass=new THREE.ShaderPass(THREE.CopyShader),this._previousFrameTime=Date.now()},Object.assign(THREE.EffectComposer.prototype,{swapBuffers:function(){var e=this.readBuffer;this.readBuffer=this.writeBuffer,this.writeBuffer=e},addPass:function(e){this.passes.push(e);var t=this.renderer.getDrawingBufferSize(new THREE.Vector2);e.setSize(t.width,t.height)},insertPass:function(e,t){this.passes.splice(t,0,e)},isLastEnabledPass:function(e){for(var t=e+1;t<this.passes.length;t++)if(this.passes[t].enabled)return!1;return!0},render:function(e){void 0===e&&(e=.001*(Date.now()-this._previousFrameTime)),this._previousFrameTime=Date.now();var t,i,n=this.renderer.getRenderTarget(),a=!1,r=this.passes.length;for(i=0;i<r;i++)if(!1!==(t=this.passes[i]).enabled){if(t.renderToScreen=this.renderToScreen&&this.isLastEnabledPass(i),t.render(this.renderer,this.writeBuffer,this.readBuffer,e,a),t.needsSwap){if(a){var o=this.renderer.context;o.stencilFunc(o.NOTEQUAL,1,4294967295),this.copyPass.render(this.renderer,this.writeBuffer,this.readBuffer,e),o.stencilFunc(o.EQUAL,1,4294967295)}this.swapBuffers()}void 0!==THREE.MaskPass&&(t instanceof THREE.MaskPass?a=!0:t instanceof THREE.ClearMaskPass&&(a=!1))}this.renderer.setRenderTarget(n)},reset:function(e){if(void 0===e){var t=this.renderer.getDrawingBufferSize(new THREE.Vector2);(e=this.renderTarget1.clone()).setSize(t.width,t.height)}this.renderTarget1.dispose(),this.renderTarget2.dispose(),this.renderTarget1=e,this.renderTarget2=e.clone(),this.writeBuffer=this.renderTarget1,this.readBuffer=this.renderTarget2},setSize:function(e,t){this.renderTarget1.setSize(e,t),this.renderTarget2.setSize(e,t);for(var i=0;i<this.passes.length;i++)this.passes[i].setSize(e,t)}}),THREE.Pass=function(){this.enabled=!0,this.needsSwap=!0,this.clear=!1,this.renderToScreen=!1},Object.assign(THREE.Pass.prototype,{setSize:function(e,t){},render:function(e,t,i,n,a){console.error("THREE.Pass: .render() must be implemented in derived pass.")}}),THREE.Pass.FullScreenQuad=(mt=new THREE.OrthographicCamera(-1,1,1,-1,0,1),vt=new THREE.PlaneBufferGeometry(2,2),gt=function(e){this._mesh=new THREE.Mesh(vt,e)},Object.defineProperty(gt.prototype,"material",{get:function(){return this._mesh.material},set:function(e){this._mesh.material=e}}),Object.assign(gt.prototype,{render:function(e){e.render(this._mesh,mt)}}),gt);THREE.EffectComposer;THREE.MaskPass=function(e,t){THREE.Pass.call(this),this.scene=e,this.camera=t,this.clear=!0,this.needsSwap=!1,this.inverse=!1},THREE.MaskPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.MaskPass,render:function(e,t,i,n,a){var r,o,s=e.context,l=e.state;l.buffers.color.setMask(!1),l.buffers.depth.setMask(!1),l.buffers.color.setLocked(!0),l.buffers.depth.setLocked(!0),this.inverse?(r=0,o=1):(r=1,o=0),l.buffers.stencil.setTest(!0),l.buffers.stencil.setOp(s.REPLACE,s.REPLACE,s.REPLACE),l.buffers.stencil.setFunc(s.ALWAYS,r,4294967295),l.buffers.stencil.setClear(o),e.setRenderTarget(i),this.clear&&e.clear(),e.render(this.scene,this.camera),e.setRenderTarget(t),this.clear&&e.clear(),e.render(this.scene,this.camera),l.buffers.color.setLocked(!1),l.buffers.depth.setLocked(!1),l.buffers.stencil.setFunc(s.EQUAL,1,4294967295),l.buffers.stencil.setOp(s.KEEP,s.KEEP,s.KEEP)}}),THREE.ClearMaskPass=function(){THREE.Pass.call(this),this.needsSwap=!1},THREE.ClearMaskPass.prototype=Object.create(THREE.Pass.prototype),Object.assign(THREE.ClearMaskPass.prototype,{render:function(e,t,i,n,a){e.state.buffers.stencil.setTest(!1)}});THREE.MaskPass;THREE.TexturePass=function(e,t){THREE.Pass.call(this),void 0===THREE.CopyShader&&console.error("THREE.TexturePass relies on THREE.CopyShader");var i=THREE.CopyShader;this.map=e,this.opacity=void 0!==t?t:1,this.uniforms=THREE.UniformsUtils.clone(i.uniforms),this.material=new THREE.ShaderMaterial({uniforms:this.uniforms,vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,depthTest:!1,depthWrite:!1}),this.needsSwap=!1,this.fsQuad=new THREE.Pass.FullScreenQuad(null)},THREE.TexturePass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.TexturePass,render:function(e,t,i,n,a){var r=e.autoClear;e.autoClear=!1,this.fsQuad.material=this.material,this.uniforms.opacity.value=this.opacity,this.uniforms.tDiffuse.value=this.map,this.material.transparent=this.opacity<1,e.setRenderTarget(this.renderToScreen?null:i),this.clear&&e.clear(),this.fsQuad.render(e),e.autoClear=r}});THREE.TexturePass;THREE.ShaderPass=function(e,t){THREE.Pass.call(this),this.textureID=void 0!==t?t:"tDiffuse",e instanceof THREE.ShaderMaterial?(this.uniforms=e.uniforms,this.material=e):e&&(this.uniforms=THREE.UniformsUtils.clone(e.uniforms),this.material=new THREE.ShaderMaterial({defines:Object.assign({},e.defines),uniforms:this.uniforms,vertexShader:e.vertexShader,fragmentShader:e.fragmentShader})),this.fsQuad=new THREE.Pass.FullScreenQuad(this.material)},THREE.ShaderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.ShaderPass,render:function(e,t,i,n,a){this.uniforms[this.textureID]&&(this.uniforms[this.textureID].value=i.texture),this.fsQuad.material=this.material,this.renderToScreen?(e.setRenderTarget(null),this.fsQuad.render(e)):(e.setRenderTarget(t),this.clear&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),this.fsQuad.render(e))}});THREE.ShaderPass;THREE.RenderPass=function(e,t,i,n,a){THREE.Pass.call(this),this.scene=e,this.camera=t,this.overrideMaterial=i,this.clearColor=n,this.clearAlpha=void 0!==a?a:0,this.clear=!0,this.clearDepth=!1,this.needsSwap=!1},THREE.RenderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.RenderPass,render:function(e,t,i,n,a){var r,o,s=e.autoClear;e.autoClear=!1,this.scene.overrideMaterial=this.overrideMaterial,this.clearColor&&(r=e.getClearColor().getHex(),o=e.getClearAlpha(),e.setClearColor(this.clearColor,this.clearAlpha)),this.clearDepth&&e.clearDepth(),e.setRenderTarget(this.renderToScreen?null:i),this.clear&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),e.render(this.scene,this.camera),this.clearColor&&e.setClearColor(r,o),this.scene.overrideMaterial=null,e.autoClear=s}});THREE.RenderPass;THREE.ClearPass=function(e,t){THREE.Pass.call(this),this.needsSwap=!1,this.clearColor=void 0!==e?e:0,this.clearAlpha=void 0!==t?t:0},THREE.ClearPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.ClearPass,render:function(e,t,i,n,a){var r,o;this.clearColor&&(r=e.getClearColor().getHex(),o=e.getClearAlpha(),e.setClearColor(this.clearColor,this.clearAlpha)),e.setRenderTarget(this.renderToScreen?null:i),e.clear(),this.clearColor&&e.setClearColor(r,o)}});THREE.ClearPass;THREE.CopyShader={uniforms:{tDiffuse:{value:null},opacity:{value:1}},vertexShader:["varying vec2 vUv;","void main() {","vUv = uv;","gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );","}"].join("\n"),fragmentShader:["uniform float opacity;","uniform sampler2D tDiffuse;","varying vec2 vUv;","void main() {","vec4 texel = texture2D( tDiffuse, vUv );","gl_FragColor = opacity * texel;","}"].join("\n")};THREE.CopyShader;THREE.ConvolutionShader={defines:{KERNEL_SIZE_FLOAT:"25.0",KERNEL_SIZE_INT:"25"},uniforms:{tDiffuse:{value:null},uImageIncrement:{value:new THREE.Vector2(.001953125,0)},cKernel:{value:[]}},vertexShader:["uniform vec2 uImageIncrement;","varying vec2 vUv;","void main() {","vUv = uv - ( ( KERNEL_SIZE_FLOAT - 1.0 ) / 2.0 ) * uImageIncrement;","gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );","}"].join("\n"),fragmentShader:["uniform float cKernel[ KERNEL_SIZE_INT ];","uniform sampler2D tDiffuse;","uniform vec2 uImageIncrement;","varying vec2 vUv;","void main() {","vec2 imageCoord = vUv;","vec4 sum = vec4( 0.0, 0.0, 0.0, 0.0 );","for( int i = 0; i < KERNEL_SIZE_INT; i ++ ) {","sum += texture2D( tDiffuse, imageCoord ) * cKernel[ i ];","imageCoord += uImageIncrement;","}","gl_FragColor = sum;","}"].join("\n"),buildKernel:function(e){function t(e,t){return Math.exp(-e*e/(2*t*t))}var i,n,a,r,o=2*Math.ceil(3*e)+1;for(o>25&&(o=25),r=.5*(o-1),n=new Array(o),a=0,i=0;i<o;++i)n[i]=t(i-r,e),a+=n[i];for(i=0;i<o;++i)n[i]/=a;return n}};THREE.ConvolutionShader;THREE.BloomPass=function(e,t,i,n){THREE.Pass.call(this),e=void 0!==e?e:1,t=void 0!==t?t:25,i=void 0!==i?i:4,n=void 0!==n?n:256;var a={minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat};this.renderTargetX=new THREE.WebGLRenderTarget(n,n,a),this.renderTargetX.texture.name="BloomPass.x",this.renderTargetY=new THREE.WebGLRenderTarget(n,n,a),this.renderTargetY.texture.name="BloomPass.y",void 0===THREE.CopyShader&&console.error("THREE.BloomPass relies on THREE.CopyShader");var r=THREE.CopyShader;this.copyUniforms=THREE.UniformsUtils.clone(r.uniforms),this.copyUniforms.opacity.value=e,this.materialCopy=new THREE.ShaderMaterial({uniforms:this.copyUniforms,vertexShader:r.vertexShader,fragmentShader:r.fragmentShader,blending:THREE.AdditiveBlending,transparent:!0}),void 0===THREE.ConvolutionShader&&console.error("THREE.BloomPass relies on THREE.ConvolutionShader");var o=THREE.ConvolutionShader;this.convolutionUniforms=THREE.UniformsUtils.clone(o.uniforms),this.convolutionUniforms.uImageIncrement.value=THREE.BloomPass.blurX,this.convolutionUniforms.cKernel.value=THREE.ConvolutionShader.buildKernel(i),this.materialConvolution=new THREE.ShaderMaterial({uniforms:this.convolutionUniforms,vertexShader:o.vertexShader,fragmentShader:o.fragmentShader,defines:{KERNEL_SIZE_FLOAT:t.toFixed(1),KERNEL_SIZE_INT:t.toFixed(0)}}),this.needsSwap=!1,this.fsQuad=new THREE.Pass.FullScreenQuad(null)},THREE.BloomPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.BloomPass,render:function(e,t,i,n,a){a&&e.context.disable(e.context.STENCIL_TEST),this.fsQuad.material=this.materialConvolution,this.convolutionUniforms.tDiffuse.value=i.texture,this.convolutionUniforms.uImageIncrement.value=THREE.BloomPass.blurX,e.setRenderTarget(this.renderTargetX),e.clear(),this.fsQuad.render(e),this.convolutionUniforms.tDiffuse.value=this.renderTargetX.texture,this.convolutionUniforms.uImageIncrement.value=THREE.BloomPass.blurY,e.setRenderTarget(this.renderTargetY),e.clear(),this.fsQuad.render(e),this.fsQuad.material=this.materialCopy,this.copyUniforms.tDiffuse.value=this.renderTargetY.texture,a&&e.context.enable(e.context.STENCIL_TEST),e.setRenderTarget(i),this.clear&&e.clear(),this.fsQuad.render(e)}}),THREE.BloomPass.blurX=new THREE.Vector2(.001953125,0),THREE.BloomPass.blurY=new THREE.Vector2(0,.001953125);THREE.BloomPass;THREE.FilmPass=function(e,t,i,n){THREE.Pass.call(this),void 0===THREE.FilmShader&&console.error("THREE.FilmPass relies on THREE.FilmShader");var a=THREE.FilmShader;this.uniforms=THREE.UniformsUtils.clone(a.uniforms),this.material=new THREE.ShaderMaterial({uniforms:this.uniforms,vertexShader:a.vertexShader,fragmentShader:a.fragmentShader}),void 0!==n&&(this.uniforms.grayscale.value=n),void 0!==e&&(this.uniforms.nIntensity.value=e),void 0!==t&&(this.uniforms.sIntensity.value=t),void 0!==i&&(this.uniforms.sCount.value=i),this.fsQuad=new THREE.Pass.FullScreenQuad(this.material)},THREE.FilmPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.FilmPass,render:function(e,t,i,n){this.uniforms.tDiffuse.value=i.texture,this.uniforms.time.value+=n,this.renderToScreen?(e.setRenderTarget(null),this.fsQuad.render(e)):(e.setRenderTarget(t),this.clear&&e.clear(),this.fsQuad.render(e))}});THREE.FilmPass;THREE.FilmShader={uniforms:{tDiffuse:{value:null},time:{value:0},nIntensity:{value:.5},sIntensity:{value:.05},sCount:{value:4096},grayscale:{value:1}},vertexShader:["varying vec2 vUv;","void main() {","vUv = uv;","gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );","}"].join("\n"),fragmentShader:["#include <common>","uniform float time;","uniform bool grayscale;","uniform float nIntensity;","uniform float sIntensity;","uniform float sCount;","uniform sampler2D tDiffuse;","varying vec2 vUv;","void main() {","vec4 cTextureScreen = texture2D( tDiffuse, vUv );","float dx = rand( vUv + time );","vec3 cResult = cTextureScreen.rgb + cTextureScreen.rgb * clamp( 0.1 + dx, 0.0, 1.0 );","vec2 sc = vec2( sin( vUv.y * sCount ), cos( vUv.y * sCount ) );","cResult += cTextureScreen.rgb * vec3( sc.x, sc.y, sc.x ) * sIntensity;","cResult = cTextureScreen.rgb + clamp( nIntensity, 0.0,1.0 ) * ( cResult - cTextureScreen.rgb );","if( grayscale ) {","cResult = vec3( cResult.r * 0.3 + cResult.g * 0.59 + cResult.b * 0.11 );","}","gl_FragColor =  vec4( cResult, cTextureScreen.a );","}"].join("\n")};THREE.FilmShader;!function(e,t,i,n){null!==i.THREE_FILMIC_EFF&&(e.THREE_FILMIC_EFF=e.THREE_FILMIC_EFF||{},e.THREE_FILMIC_EFF.version="0.0.2",e.THREE_FILMIC_EFF.documentReady=function(e){if(0==e("#3D-filmic-effects-canvas").length||!Modernizr.webgl)return!1;var t=[],a=function(){var e,a,r,o,s,l,d,u=i.innerWidth,c=i.innerHeight,f="3D-filmic-effects-canvas",p=[],h=new THREE.Clock;function m(){e.aspect=i.innerWidth/i.innerHeight,e.updateProjectionMatrix(),r.setSize(i.innerWidth,i.innerHeight)}return{init:function(){(e=new THREE.PerspectiveCamera(60,u/c,1,1e4)).position.set(0,0,100),e.lookAt(new THREE.Vector3(0,0,0)),a=new THREE.Scene,p[0]=new THREE.PointLight(16777215,1,0),p[1]=new THREE.PointLight(16777215,1,0),p[2]=new THREE.DirectionalLight(16777215),p[0].position.set(0,200,0),p[1].position.set(100,200,100),p[2].position.set(120,200,0),p[2].intensity=.6,a.add(p[0]),a.add(p[1]),a.add(p[2]),(r=new THREE.WebGLRenderer({canvas:n.getElementById(f),alpha:!0,antialias:!0})).setSize(u,c),r.shadowMap.enabled=!0,r.shadowMap.type=THREE.PCFSoftShadowMap,l=new THREE.BloomPass(1,25,4,256),d=new THREE.FilmPass(.35,.025,648,!1);var t=new THREE.RenderPass(a,e),h=new THREE.ShaderPass(THREE.CopyShader);h.renderToScreen=!0,(s=new THREE.EffectComposer(r)).addPass(t),s.addPass(l),s.addPass(d),s.addPass(h);var v=new THREE.PlaneGeometry(1e5,1e5),g=new THREE.MeshNormalMaterial({side:THREE.DoubleSide});(o=new THREE.Mesh(v,g)).visible=!1,a.add(o),new THREE.MeshNormalMaterial;var y=new THREE.MeshLambertMaterial({color:16764108}),x=(new THREE.MeshBasicMaterial({color:5635976}),new THREE.IcosahedronGeometry(30,1)),E=new THREE.Mesh(x,y);E.position.x=0,E.position.y=0,E.position.z=0,a.add(E),i.addEventListener("resize",m,!1)},render:function e(){requestAnimationFrame(e),r.setClearColor(0);for(var i=0;i<t.length;i++)t[i].update(1*h.getElapsedTime());s.render()},getRendererCanvasID:function(){return f},getScene:function(){return a},getCamera:function(){return e}}}();a.init(),a.render();var r=a.getScene();a.getCamera();t.push(new function(e,t){for(var i=new THREE.IcosahedronGeometry(t,4),n=0;n<i.vertices.length;n+=1){var a=1+Math.random()+Math.random();i.vertices[n].multiplyScalar(a)}var r=new THREE.TextureLoader;r.setCrossOrigin("anonymous");var o=r.load("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAACAAIUyQ49AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3AUUFhoiw1VdsQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAIQUlEQVR42u1baW/bRhB9u6Qkx1fiOFGcNCiaAGn//+9pG7RxTie1Y8u2TnL65a0xmcxSlCxbaWECCx6iyZ03b86lgbvtblvbJiKFiBTrnENcMwY9jjsA1rWVt0z54ADgXUcIQf7zADiCBXPc5XEBQDjS394KIOUNCx4ygmsTLAjERP0m5vgKkFUDUd6g4J7wHhgdAJsAppnHBgWIrBqI8hYE935L50n7mwDOtQlYk7CArAqI8gaE985zIBQ0g66JSFp4aQBDRCRcB4RyBcI3CW1/j4YVyQd0uIcStHYAsEBcsWFZEMoVaz2q82iuefcnBkQDgHWCtQJFzDVcx0mWS2hbGrQdG469vyk5Otx7mq7Ne615ZE2ijXm0BiCEICISAewwZE0c4aMR3u5hmFGoURpN63AoCojaMRMLQjKrKYBqlSZQ86E/8fjQCB/nnFszKc0Qh/I6DNaO5i0IDwnoOZXUuBVLmEAFYAZgjy87NQIXmREppL52nxGgAnCRAS7nUL3tCYBdKmkQQqhW4gNMShsAXAL4BOA5gN8AnAD4qgCwgFgTCer9hdrDsKDm31RzANiiaW5ybscAZiv1AU64uwTwkSD0AewDeGNAKBwAogGgQ0Z1jNevlb0HBYLdHlPwgiw64vNCJndYrBw2sd6OCwAfeNwD8Mo4NX1cGq/fUd7fnuvhPS+B+5Rm2AUwBvCZ9L+ao1dpLtsP0NrXNjqkOSQbf+UIUToC2uNew72l4z+e0Q9FCn+khMccX9HOBDKZXlR5fDoeKnMoAPzKa5/VxK0/0FEAAO5RkET7Stm/nu8ugA0CJjTFL4r20SZTTZliuYT27SgUCMkxBjqlXQDvjD/QjjBpOdKOKxPzrd0/pvCiIscXJycJJodY3ASU9uEI7yU6BTX4SYXYLoCXGcp3lG13yICciZS09/u8Ho3N58Lm1dxzviAuoX00mEOkNo4UhTsEwXOG3YwPsOHxgMKnUDmk5msn05zXj1jYBOZVetEZFZnwSGVmv1Bjuhm6p9piJQUbq+ZI5DM2eE2Y4R2rHCEquudKcLluHuA5Qc8cbKw/UxlaQSZ0yJJN0joBcKr+5lz1CUoCWjPhOqNAUYFQm/lIG+GzADTU+cgA4bGgUGHyhM7xIbW+w98eK1qfkxXHBOhSsWHG66NMUhUUENYMGqNBuUQegBZABOMc0/FTAnAAYJspbFQM2KSg50ywjgnCiYrxMVN2t5nvtavB0KLVZUFJtr5LAZ8TgC2CkLYdOrrPzCkmFP6dET73Ti8MXhuANq2ueaGyR8H69AX7dGyb5v09ldMnk3iXabCEOUpp7QiXaYlFE7p0KOuaNHaDdt8n/fsUfov32DWClPwMyYhUcgvtf0Y2pDHh/VPVpJl6LbPWDGDXpzRZms7Be0xaNlQ48xKdgvf1lfb3SPtOprRNawTbBOpE9QmGStiZGuk8mcyI905U7wLcVyIyBVCFEOrvAKD37yoH1TONjKBA6ahrIdPP013fxJiiYcFEFMg6W4yZDrH2OR2z0FITgEqlzmMCeiEi4xCClM7620hExvTA1psX1PwWX7KpihI9mUq1sOpMA3NuJa5aXloYfa5NYszQeUkhx/xdd5LlOmEwTSY9+CJDfX28RSpu0/ntA3hAlolhQZpYpeL/B/Yd3/N9U4f69lhrvZVDW1Qj9lrttLHS+ZQaOac9J/ucZhY89P1nZNulub923ikt59sOANJEMr34JsFrQ9EpNXdCQc5UojNR2qp4fsoa4oT3DciYqaF/3QKI7+bv9QTKBbUvplWtX+wBEKl1ofDvlSndY36QzGBAoQ8Z/08ISGrD/5kRvjYsqhsWTpbKAyTj5a32gxE+OdBtVbunxuUp4/y+mkPS/t8sp9+QNR2+52cAb1XXyGOBFyVk1QDAYYP2+pXqCO3RjpMD+0JKf1QO8R7vHwD4i/cccQz4+0M++wmjzgf1rjb0X6jA8apCu5wVzWJHNA2PfQqfkqRUzXVZE+ySGem4w3WFQ5pKKomT3aeMMp1fEKx0PlOA6P3VgmquJ9gWANsDtAsgpdr3KXxKnqq0UKFA2uDosiTuUeA3KuWtTLzf4LOTsCMAr9W5BUCa4n/rkrGBBcFZ+jogrZPwEzqzmWmI6q7wAYU7V9SWjEYLApZq/wmAP5yMr5X2F02E7Eqt7sSkju22KlxGqiMUTQsrqvx8zGfMjDZrR7Njan2L7wtstf2+TARoBQCXxT0wdBTo0+mJalhOFTvqzNJY4H2lSmm9pbHKsOErtf+Ez3upQGhF/WUZAMMCGOEvGe5mzgKFtzgaTCqby/gqhxGnBOGAz31Bc/ASt+sBQBYEh1r79OIVhf/HEd42MG2zQufvsxYJlh4DvjctkL5gwqQz2tW0xBxTeEThh5zIRSZpqk273LKgcgCoTSUomQwwhcBD+oVn9Amv234rtFA1qEB4QIc3IuUnjn2L4zhhogmc5gZMCV037HUWOGAWecDU+e1NNEWhmhoD2uEM336+EhTt7fpcMGmzNYEK/kdSkinArNO7ZILUFZGdEMJgpQDQD4gSHEbj3hpChP9lWdpsLe/l8k2fyX1zPz+LGYpIEJGYWl8rY0AIYWwAsQ0Tb3U296EkTBpbod2HknNLXVXSr9YHZHyC193x2tPiZJ8jFjyV+hYg96msZLS+nk9lTYiUhuwxt7wGRo8txYKmiu67Bs3aP5bWk8iwwUuk9HZBFjQ1UFcu+EoBmAOEzCm6Zsqhenn8N9d+6H+YyACBzHK1jQQwqznS5H9+aABykzaZpD4Z2mv/i3+amgeIAmZ0m0KvDYCGbYK77W6729ax/Qsf5ETUur8sQgAAAABJRU5ErkJggg=="),s=new THREE.PointsMaterial({map:o,color:"#fff",size:20,blending:THREE.AdditiveBlending,transparent:!1}),l=new THREE.Points(i,s);e.add(l),this.update=function(e){l.rotation.y=.13*e}}(r,150))},e.components.documentReady.push(e.THREE_FILMIC_EFF.documentReady))}(s,jQuery,window,document);function yt(e){return yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yt(e)}!function(e,t,i,n){null!==i.THREE_SIMULATE_HTML_LAYOUT&&(e.THREE_SIMULATE_HTML_LAYOUT=e.THREE_SIMULATE_HTML_LAYOUT||{},e.THREE_SIMULATE_HTML_LAYOUT.version="0.0.2",e.THREE_SIMULATE_HTML_LAYOUT.documentReady=function(e){if(0==e("#app-3D-page-container").length||!Modernizr.webgl)return!1;var t,a=0,r=n.getElementById("app-3D-page-container"),o=(r.clientHeight||r.offsetHeight,i.innerHeight,null),s=null,l=new THREE.Clock,d=[],u=new THREE.LoadingManager;u.onLoad=function(){},u.onProgress=function(e,t,i){},u.onError=function(e){console.log("▶▶▶▶▶ There was an error loading ◀◀◀◀◀◀  "+e)};var p=new THREE.TextureLoader(u);function h(e,a,l,u){console.log("wrapperHeight: "+a),(o=new THREE.OrthographicCamera(-l/a/2,l/a/2,.5,-.5,-.1,.1)).position.set(0,0,0),o.lookAt(new THREE.Vector3(0,0,0)),s=new THREE.Scene,(t=new THREE.WebGLRenderer({alpha:!0,antialias:!0})).setSize(l,a),t.shadowMap=!0,t.shadowMapSoft=!0,e[0].appendChild(t.domElement);var h=0;n.querySelectorAll(".app-coverWebgl ~ img").forEach((function(e){d.forEach((function(t,i){(t.url.indexOf(e.src)>=0||e.src==t.url)&&(t.visibleWidth=e.width,t.visibleHeight=e.height,t.top=e.getBoundingClientRect().top,t.left=e.getBoundingClientRect().left)}))})),console.log(d),n.querySelectorAll(".app-coverWebgl").forEach((function(e){var n,r=e.getAttribute("data-url");i["tex"+h]=p.load(r),i["tex"+h].anisotropy=t.capabilities.getMaxAnisotropy(),d.forEach((function(e,t){if(e.url.indexOf(r)>=0||r==e.url){var o=u/l*(n=l/a);i["geometry"+t]=new THREE.BoxBufferGeometry(e.visibleWidth/a,e.visibleHeight/a,40/a),i["tex"+t].wrapS=i["tex"+t].wrapT=THREE.RepeatWrapping,i["materiel"+t]=new THREE.MeshBasicMaterial({map:i["tex"+t]}),i["materiel"+t].map.minFilter=THREE.LinearFilter,i["mesh"+t]=new THREE.Mesh(i["geometry"+t],i["materiel"+t]),i["mesh"+t].material.transparent=!0,i["mesh"+t].position.y=-(e.top+e.visibleHeight/2)/a+.5,i["mesh"+t].position.x=(e.left*n+e.visibleWidth*n/2)/l-.5*n-o,s.add(i["mesh"+t])}})),h++}));var m=f((function(){var e,i;e=l,i=a,o.aspect=e/i,o.updateProjectionMatrix(),t.setSize(e,i)}),50);i.removeEventListener("resize",m),i.addEventListener("resize",m);var g=c(v,5);r.removeEventListener("scroll",g),r.removeEventListener("touchmove",g),r.addEventListener("scroll",g),r.addEventListener("touchmove",g),g()}function m(){requestAnimationFrame(m);l.getDelta();d.forEach((function(e,t){i["mesh"+t].rotation.y=.01*a,i["mesh"+t].rotation.x=.004*a})),t.render(s,o)}function v(e){a=r.scrollTop,console.log(r.scrollTop)}p.crossOrigin="anonymous";var g=[];e("section").find("img").each((function(){g.push({url:this.src,type:"img"}),d.push({w:0,h:0,visibleWidth:0,visibleHeight:0,top:0,left:0,url:this.src})}));var y=0,x=function(e){var t=e.url,i=e.w,n=e.h;return d.forEach((function(e,a){(t.indexOf(e.url)>=0||t==e.url)&&(e.w=i,e.h=n)})),++y};(function(){for(var e=[],t=function(t){"img"==g[t].type&&e.push(new Promise((function(e,i){var n=new Image;n.crossOrigin="anonymous",n.src=g[t].url,n.onload=function(t){return"undefined"===yt(t.path)?e({w:0,h:0,url:t.target.currentSrc}):e({w:t.path[0].naturalWidth,h:t.path[0].naturalHeight,url:t.path[0].currentSrc})}})).then(x))},i=0;i<g.length;i++)t(i);return Promise.all(e)})().then((function(t){console.log("------images loaded!------"),setTimeout((function(){var t=e("#app-3D-page-container").find(".app-innerCanvas"),i=-e("#app-3D-page-container")[0].getBoundingClientRect().top;t.css({position:"absolute","z-index":"-1",left:0,top:i}),t.length>0&&(h(t,e("#app-3D-page-container").find(".app-work-detail__wrapper").outerHeight(!0),e("#app-3D-page-container").find(".app-work-detail__wrapper").outerWidth(!0),e("#app-3D-page-container").find(".app-work-detail__wrapper").offset().left-15),m()),e("#app-3D-page-container").css("overflow-y","auto")}),500)}))},e.components.documentReady.push(e.THREE_SIMULATE_HTML_LAYOUT.documentReady))}(s,jQuery,window,document);function xt(e){return xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xt(e)}(function(e,t,i,n){null!==i.TABLE&&(e.TABLE=e.TABLE||{},e.TABLE.version="0.0.5",e.TABLE.documentReady=function(e){var t=i.innerWidth;i.innerHeight;e(".js-uix-table--responsive").each((function(t){var i=e(this);i.find(" thead th").each((function(t){var i=e(this).html().replace(/<span[^>]*>[\s\S]+<\/span>/g,"");"undefined"===xt(e(this).attr("data-table"))&&e(this).attr("data-table",i)})),i.find(" tbody tr").each((function(t){e(this).find("> td").each((function(t){var n=i.find(" thead th").eq(t).attr("data-table");e(this).attr("data-table",n)}))}))})),a(t);var n=f((function(){i.innerWidth!=t&&a(t=i.innerWidth)}),50);function a(t){e(".js-uix-table--responsive-scrolled").each((function(t){var i=e(this);i.find(" tbody tr").each((function(t){e(this).find("> td").each((function(t){i.find(" thead th").eq(t).attr("data-table-row",t),e(this).attr("data-table-row",t)}))}))})),t<=768?e(".js-uix-table--responsive-scrolled").each((function(t){for(var i=e(this),n=i.find(" tbody tr").length,a=function(t){var n=[];i.find(' [data-table-row="'+t+'"]').each((function(t){var i=e(this).outerHeight();n.push(i)}));var a=Math.max.apply(Math,n);i.find(' [data-table-row="'+t+'"]').css({height:a+"px"})},r=0;r<n;r++)a(r)})):e(".js-uix-table--responsive-scrolled tbody td, .js-uix-table--responsive-scrolled thead th").removeAttr("style")}i.removeEventListener("resize",n),i.addEventListener("resize",n)},e.components.documentReady.push(e.TABLE.documentReady))})(s,jQuery,window,document),i(782);!function(e,t,i,n){null!==i.TABLE_SORTER&&(e.TABLE_SORTER=e.TABLE_SORTER||{},e.TABLE_SORTER.version="0.0.3",e.TABLE_SORTER.documentReady=function(e){e(".js-uix-table-sorter").each((function(){var t=e(this).find("table");t.find("[data-sort-type]").each((function(){0==e(this).find(".uix-table-sorter").length&&e(this).wrapInner('<span class="uix-table-sorter" />');var i=e(this),n=i.index(),a=i.data("sort-type"),r=!1;i.off("click").on("click",(function(){t.find("tbody td").filter((function(){return e(this).index()===n})).sortElements((function(i,n){var o=e.text([i]).replace(/(<([^>]+)>)/gi,""),s=e.text([n]).replace(/(<([^>]+)>)/gi,"");return"number"==a&&(o=Number(o.replace(/[^0-9.-]+/g,"")),s=Number(s.replace(/[^0-9.-]+/g,""))),"date"==a&&(o=new Date(o),s=new Date(s)),t.find("tbody tr").addClass("js-uix-newsort"),o>s?r?-1:1:r?1:-1}),(function(){return this.parentNode})),r=!r}))}))}))},e.components.documentReady.push(e.TABLE_SORTER.documentReady))}(s,jQuery,window,document);function Et(e){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Et(e)}!function(e,t,i,n){null!==i.TABS&&(e.TABS=e.TABS||{},e.TABS.version="0.1.5",e.TABS.documentReady=function(e){e(".uix-tabs").each((function(t){var n=e(this),a=n.find(".uix-tabs__nav ul > li"),r=a.first().outerWidth(),o=a.first().outerHeight(),s=a.length,l=n.find(".uix-tabs__content"),d=t,u=n.data("fullwidth"),c=n.data("rotation"),f=n.data("rotation-radius"),p=n.data("rotation-wrapper-angle"),h=n.data("rotation-display");if("undefined"!=Et(u)&&1==u&&a.css("width",100/s+"%"),"undefined"===Et(c)&&(c=!1),"undefined"===Et(p)&&(p=0),"undefined"===Et(h)&&(h=5),a.each((function(t){t+=1,e(this).attr("href","javascript:"),e(this).attr("data-tab",d+"-tabs-show"+t)})),e(l).each((function(t){t+=1,e(this).attr("id",d+"-tabs-show"+t)})),0==n.find(".uix-tabs__nav ul > li:first .uix-tabs__marker").length&&n.find(".uix-tabs__nav ul > li:first").prepend('<div class="uix-tabs__marker"></div>'),c){n.find(".uix-tabs__nav").css({width:2*f+"px"}),n.find(".uix-tabs__nav ul").css({width:2*f+"px",height:2*f+"px",transform:"rotate("+parseFloat(p)+"deg)"});var m=2*Math.PI/h,v=n.find(".uix-tabs__nav ul").width(),g=0,y=0;n.find(".uix-tabs__nav ul > li").each((function(){var t=e(this),i=f*Math.cos(g)-r/2,n=f*Math.sin(g)-o/2;t.css({transform:"translate("+parseFloat(i)+"px,"+parseFloat(v/2+n)+"px)","transition-delay":y+"s"}).find("> a").css({transform:"rotate("+parseFloat(-p)+"deg)"}),g+=m,y+=.15})),n.off("click").on("click",".uix-tabs__nav ul > li",(function(t){var i=e(this).attr("data-tab"),a=e(this).index();n.find(".uix-tabs__nav ul > li").removeClass("is-active"),n.find(".uix-tabs__content").removeClass("is-active"),e(this).addClass("is-active"),e("#"+i).addClass("is-active");var s=2*Math.PI/h,l=a%h*s;!function t(){Math.abs(l-g)>1/8?(g+=(l>g?1:-1)/8,setTimeout(t,20)):g=l;n.find(".uix-tabs__nav ul > li").each((function(t){var i=Math.cos(-Math.PI/2+t*s-g)*f-r/2,n=Math.sin(-Math.PI/2+t*s-g)*f+o;e(this).css({transform:"translate("+parseFloat(i)+"px,"+parseFloat(n)+"px)",transition:"none","transition-delay":0}).find("> a").css({transform:"rotate("+parseFloat(-p)+"deg)"})}))}()}))}c||n.off("click").on("click",".uix-tabs__nav ul > li",(function(t){var a=e(this).attr("data-tab"),r=e(this).index();n.find(".uix-tabs__nav ul > li").removeClass("is-active"),n.find(".uix-tabs__content").removeClass("is-active"),e(this).addClass("is-active"),e("#"+a).addClass("is-active");var o=100*r,s=r*n.find(".uix-tabs__nav ul > li:first").outerHeight();return i.innerWidth<=768?n.find(".uix-tabs__marker").css({transform:"translateY( "+s+"px )"}):n.find(".uix-tabs__marker").css({transform:"translateX( "+o+"% )"}),!1})),n.find(".uix-tabs__nav ul > li.is-active").trigger("click");var x,E=i.location.href;E.indexOf("#")>=0&&(x=E.split("#")[1],e(".uix-tabs").find("ul > li:eq("+x+")").trigger("click"))}))},e.components.documentReady.push(e.TABS.documentReady))}(s,jQuery,window,document);function Tt(e){return Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(e)}!function(e,t,i,n){null!==i.TEAM_FOCUS&&(e.TEAM_FOCUS=e.TEAM_FOCUS||{},e.TEAM_FOCUS.version="0.0.4",e.TEAM_FOCUS.documentReady=function(e){var t=".uix-team-focus__mask";e(".uix-team-focus").each((function(){var i,a=e(this),r="uix-team-focus-"+l.create(),o="#"+r+"> div",s=a.data("hover-width"),d=a.data("target-width"),u=a.data("target-info"),c=a.data("close-btn");a.attr("id",r),"undefined"===Tt(s)&&(s=20),"undefined"===Tt(d)&&(d=80),"undefined"===Tt(c)&&(c=".close"),"undefined"===Tt(u)&&(u=".uix-team-focus__info"),i=e(o).length,TweenMax.set(o,{width:100/i+"%"}),e(o).each((function(t){e(this).attr("data-index",t)})),e(o).on("mouseenter",(function(){var t=e(this),n=t.siblings().not(".focus");TweenMax.to(t,.3,{width:s+"%"}),TweenMax.to(n,.3,{width:(100-s)/(i-1)+"%"})})),e(n).off("click.TEAM_FOCUS").on("click.TEAM_FOCUS",o,(function(i){i.preventDefault();var n=e(this),a=n.siblings(),s=n.clone();e(t).show(),e(o).removeClass("is-active"),n.addClass("is-active");var l=e(u),d=n.data("name"),c=n.data("po"),f=n.data("intro");TweenMax.set(l,{css:{opacity:0,display:"none"},onComplete:function(){TweenMax.to(this.target,.5,{css:{opacity:1,display:"block"}})}}),l.find("h4 strong").html(d),l.find("h4 em").html(c),l.find(".uix-team-focus__info__text").html(f),n.hasClass("focus")||(e(o+".focus").remove(),TweenMax.set(s,{alpha:0,onComplete:function(){this.target.prependTo("#"+r).addClass("focus")}}),TweenMax.to(o,.3,{alpha:1}),TweenMax.to(n,.3,{alpha:0}),TweenMax.to(a,.3,{alpha:.3}))})),e(n).off("click.TEAM_FOCUS_CLOSE").on("click.TEAM_FOCUS_CLOSE",o+".focus, "+c+", "+u+", "+t,(function(n){n.preventDefault(),e(t).hide(),TweenMax.to(o,.3,{width:100/i+"%",ease:Back.easeOut}),TweenMax.to(o+".focus",.3,{alpha:0,onComplete:function(){e(o+".focus").remove(),TweenMax.to(o,.3,{alpha:1})}});var a=e(u);TweenMax.to(a,.5,{css:{opacity:0,display:"none"}}),a.find("h4 strong").html(""),a.find("h4 em").html(""),a.find(".uix-team-focus__info__text").html("")}))}))},e.components.documentReady.push(e.TEAM_FOCUS.documentReady))}(s,jQuery,window,document);function bt(e){return bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bt(e)}!function(e){e.fn.UixTextEff=function(t){var i=e.extend({selectors:".letters-eff-fadeInRight",scrollSpy:!1},t);this.each((function(){var t,n=i.selectors,a=i.scrollSpy,r=e(n),o=r.data("text-eff-speed");if("undefined"===bt(o)&&(o=1200),r.length>1)return!1;if(r.html(r.text().replace(/([^\x00-\x80]|\w|((?=[\x21-\x7e]+)[^A-Za-z0-9]))/g,"<span class='uix-letter'>$&</span>")),n.indexOf("fadeInRight")>=0&&(t=anime.timeline({loop:!1}).add({targets:n+" .uix-letter",translateX:[40,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:o,delay:function(e,t){return 500+30*t}})),n.indexOf("zoomInDown")>=0&&(t=anime.timeline({loop:!1}).add({targets:n+" .uix-letter",scale:[0,1],duration:o,elasticity:600,delay:function(e,t){return 45*(t+1)}})),n.indexOf("flyInOut")>=0&&(t=anime.timeline({loop:!1}).add({targets:n+" .uix-letter",translateX:[40,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:o,delay:function(e,t){return 500+30*t}})),n.indexOf("fading")>=0&&(t=anime.timeline({loop:!1}).add({targets:n+" .uix-letter",opacity:[0,1],easing:"easeInOutQuad",duration:o,delay:function(e,t){return 150*(t+1)}})),n.indexOf("floatingUp")>=0&&(t=anime.timeline({loop:!1}).add({targets:n+" .uix-letter",translateY:["1.1em",0],translateZ:0,duration:o,delay:function(e,t){return 50*t}})),n.indexOf("scaleIn")>=0&&(t=anime.timeline({loop:!1}).add({targets:n+" .uix-letter",opacity:[0,1],scale:[3.5,1],duration:o})),t.pause(),a){var s=c((function(){var e=r[0].getBoundingClientRect().top,i=r.data("activated");e<1*window.innerHeight&&"undefined"===bt(i)&&(t.play(),r.data("activated",1))}),5);window.removeEventListener("scroll",s),window.removeEventListener("touchmove",s),window.addEventListener("scroll",s),window.addEventListener("touchmove",s),"loading"!=document.readyState?s():document.addEventListener?document.addEventListener("DOMContentLoaded",s):document.attachEvent("onreadystatechange",(function(){"loading"!=document.readyState&&s()}))}else t.play()}))}}(jQuery);!function(e,t,i,n){null!==i.TEXT_EFFECT&&(e.TEXT_EFFECT=e.TEXT_EFFECT||{},e.TEXT_EFFECT.version="0.0.5",e.TEXT_EFFECT.pageLoaded=function(){t("[data-text-eff]").each((function(e){t(n).UixTextEff({selectors:'[data-text-eff="'+t(this).data("text-eff")+'"]',scrollSpy:!0})}))},e.components.pageLoaded.push(e.TEXT_EFFECT.pageLoaded))}(s,jQuery,window,document);function _t(e){return _t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_t(e)}!function(e,t,i,n){null!==i.TIMELINE&&(e.TIMELINE=e.TIMELINE||{},e.TIMELINE.version="0.1.8",e.TIMELINE.pageLoaded=function(){var e=i.innerWidth;i.innerHeight;function n(e,i,n,a,r){var o,s=e.find(".uix-timeline__item").length,l=e.find(".uix-timeline__item"),d=e.find(".uix-timeline__item.is-active").index();if(o=null!=i&&"object"===_t(i)?d=i.index():a?d>=0?d-1:0:d<s?d+1:s-1,e.find(".uix-timeline__btn--prev, .uix-timeline__btn--next").removeClass("is-disabled"),a?(o<0&&(o=0),0==o&&e.find(".uix-timeline__btn--prev").addClass("is-disabled")):(o>s-1&&(o=s-1),o>s-2&&e.find(".uix-timeline__btn--next").addClass("is-disabled"),0==o&&e.find(".uix-timeline__btn--prev").addClass("is-disabled")),l.removeClass("is-active"),e.find(".uix-timeline__item:eq("+o+")").addClass("is-active"),"horizontal"===r){for(var u=0,c=0;c<o;c++)u+=e.find(".uix-timeline__item:eq("+c+")").width();e.find(".uix-timeline__container > .uix-timeline").css({"margin-left":-parseFloat(u)+"px"})}if("vertical"==r){for(var f=0,p=0;p<o;p++)f+=e.find(".uix-timeline__item:eq("+p+")").outerHeight(!0);e.find(".uix-timeline__container > .uix-timeline").css({"margin-top":-parseFloat(f)+"px"})}t(n).text(e.find(".uix-timeline__item:eq("+o+")").find(".uix-timeline__item__date").text())}t(".uix-timeline__container-wrapper.js-uix-timeline").each((function(){var i=t(this),a=i.find(".uix-timeline__container"),r=a.find("> .uix-timeline"),o=i.hasClass("is-vertical")?"vertical":"horizontal",s=r.data("show-ele");if("undefined"===_t(s)&&(s="#timeline-number-show"),i.find(".uix-timeline__btn--prev").off("click").on("click",(function(e){return e.preventDefault(),n(i,null,s,!0,o),!1})),i.find(".uix-timeline__btn--next").off("click").on("click",(function(e){return e.preventDefault(),n(i,null,s,!1,o),!1})),i.find(".uix-timeline__item .uix-timeline__item__img").off("click").on("click",(function(e){return e.preventDefault(),n(i,t(this).parent(),s,!1,o),!1})),n(i,i.find(".uix-timeline__item.is-active"),s,!1,o),0==i.find(".uix-timeline__item.is-active").index()&&i.find(".uix-timeline__btn--prev").addClass("is-disabled"),"horizontal"===o&&i.hasClass("is-reversed")&&e>768){var l=function(e){for(var i=0,n=0;n<e.length;n++){var a=t(e[n]).outerHeight(!0);i<a&&(i=a)}for(var r=0;r<e.length;r++)t(e[r]).css("height",i+"px");return i}(r.find(".uix-timeline__item__info"));a.css({padding:parseFloat(l+64)+"px 0"})}}))},e.components.pageLoaded.push(e.TIMELINE.pageLoaded))}(s,jQuery,window,document);!function(e,t,i,n){null!==i.VERTICAL_MENU&&(e.VERTICAL_MENU=e.VERTICAL_MENU||{},e.VERTICAL_MENU.version="0.0.6",e.VERTICAL_MENU.documentReady=function(e){var t=i.innerWidth,n=i.innerHeight,a=".uix-v-menu__container:not(.is-mobile) ul.uix-menu";e(a+" > li.multi-column > ul li ul").addClass("multi"),e(a+" > li:not(.multi-column) ul, .uix-v-menu__container:not(.is-mobile) li.multi-column > ul.sub-menu > li > ul, "+a+" li.multi-column > ul").css("margin-top","15px"),e(a+" li").on("mouseenter",(function(){TweenMax.set(e(this).find(" > ul.sub-menu:not(.multi), .uix-menu__arrow-mega"),{css:{opacity:0,display:"block",marginTop:"15px"},onComplete:function(){TweenMax.to(this.target,.3,{css:{opacity:1,marginTop:0},ease:Power2.easeOut})}});var i=e(a+" > li.multi-column > ul").width(),n=parseFloat(t-e(a).parent().width()),r=e(a+" > li.multi-column > ul > li").length;i>n&&e(a+" > li.multi-column > ul > li").css("width",n/r+"px")})).on("mouseleave",(function(){TweenMax.to(e(this).find(" > ul.sub-menu:not(.multi), .uix-menu__arrow-mega"),.3,{css:{opacity:0,marginTop:"15px"},onComplete:function(){TweenMax.set(this.target,{css:{display:"none"}})}})})),e(a+" li").each((function(){e(this).find("ul").length>0&&e(this).prepend('<span class="uix-menu__arrow"></span>')})),o(n);var r=f((function(){i.innerHeight!=n&&o(n=i.innerHeight)}),50);function o(t){var n=e(".uix-v-menu__container:not(.is-mobile)"),a=t-0;e(".admin-bar").length>0&&(a=t-132),n.css({position:"fixed",height:a+"px",marginTop:0});var r=c((function(){var t=e("ul.uix-menu").height(),r=e(i).scrollTop();t>a&&(n.css({position:"absolute",height:t+"px"}),r>=t-a?n.css({position:"fixed",marginTop:-(t-a)+"px"}):n.css({position:"absolute",marginTop:0})),n.height()<a&&n.css({position:"fixed",height:a+"px",marginTop:0})}),5);i.removeEventListener("scroll",r),i.removeEventListener("touchmove",r),i.addEventListener("scroll",r),i.addEventListener("touchmove",r),r()}i.removeEventListener("resize",r),i.addEventListener("resize",r)},e.components.documentReady.push(e.VERTICAL_MENU.documentReady))}(s,jQuery,window,document);!function(e,t,i,a){null!==i.WP_CORE&&(e.WP_CORE=e.WP_CORE||{},e.WP_CORE.version="0.0.1",e.WP_CORE.documentReady=function(e){e(".uix-pagination__container li > span.current").each((function(){e(this).parent("li").addClass("is-active")})),e("#cat").on("change",(function(){var t=e(this).val();return t&&(location.href=n+"/?cat="+t),!1}))},e.components.documentReady.push(e.WP_CORE.documentReady))}(s,jQuery,window,document)})()})();
  //# sourceMappingURL=js/uix-kit.min.js.map