var _gsScope;!function(t,e){var i=function(){e(t.lazySizes),t.removeEventListener("lazyunveilread",i,!0)};e=e.bind(null,t,t.document),"object"==typeof module&&module.exports?e(require("lazysizes")):t.lazySizes?i():t.addEventListener("lazyunveilread",i,!0)}(window,function(t,e,i){"use strict";var n,s,r,a,o,l=e.documentElement;i.getCustomMedias=(n=/['"]/g,s=/\s*\|\s*/g,r=/^([a-z0-9_-]+)\s*:\s*(.+)$/i,a=function(t,e){return((getComputedStyle(t,e)||{getPropertyValue:function(){}}).getPropertyValue("content")||"none").replace(n,"").trim()},o=function(t,e){t.split(s).forEach(function(t){t.match(r)&&(e[RegExp.$1]=RegExp.$2)})},function(t,n){return t=t||i.cfg.customMedia,n=n||e.querySelector("html"),o(a(n,":before"),t),o(a(n,":after"),t),t}),i.updateCustomMedia=function(){var t,e,n,s=l.querySelectorAll("source[media][data-media][srcset]");for(i.getCustomMedias(),t=0,e=s.length;tm.x||m.y!==f.y&&m.x===f.x||f===m?(m.cx=f.x-m.x,m.cy=f.y-m.y,m.n=f,m.nx=f.x,this.fast&&1h||r===c-1)&&(n.push(u+","+p),s=(l-p)/(o-u)),u=o,p=l;return y&&("string"==typeof y?document.querySelector(y):y).setAttribute("d",n.join(" ")),n.join(" ")},l},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).CustomEase};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=e())}(),function(){var t=window,e=t.navigator.userAgent,i=1,n=t.RainbowBridge||(t.RainbowBridge={}),s={callMethod:function(t,e,i,n){var s=r.generatePort();"function"!=typeof n&&(n=null),r.registerCallback(s,n),r.callNativeMethod(t,s,e,i)},onComplete:function(t,e){r.onNativeComplete(t,e)}},r={callbacks:{},registerCallback:function(t,e){e&&(r.callbacks[t]=e)},getCallback:function(t){var e={};return r.callbacks[t]?e.callback=r.callbacks[t]:e.callback=null,e},unRegisterCallback:function(t){r.callbacks[t]&&delete r.callbacks[t]},onNativeComplete:function(t,e){var i=r.str2Json(e),n=r.getCallback(t).callback;r.unRegisterCallback(t),n&&n&&n(i)},generatePort:function(){return Math.floor(Math.random()*(1<<50))+""+i++},str2Json:function(t){if(!t||"string"!=typeof t)return t||{};try{return JSON.parse(t)}catch(t){return{status:{code:1,msg:"params parse error!"}}}},json2Str:function(t){return t&&"object"==typeof t?JSON.stringify(t):t||""},callNativeMethod:function(e,i,n,s){if(r.isAndroid()){var a="rainbow://"+e+":"+i+"/"+n+"?"+r.json2Str(s);t.prompt(a,"")}},isAndroid:function(){return!!(-1>0,0!==this._cycle&&this._cycle===this._totalTime/l&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=v-this._time),this._time>v?this._time=v:this._time<0&&(this._time=0)),this._easeType?(c=this._time/v,(1===(h=this._easeType)||3===h&&.5<=c)&&(c=1-c),3===h&&(c*=2),1===(u=this._easePower)?c*=c:2===u?c*=c*c:3===u?c*=c*c*c:4===u&&(c*=c*c*c*c),1===h?this.ratio=1-c:2===h?this.ratio=c:this._time/v<.5?this.ratio=c/2:this.ratio=1-c/2):this.ratio=this._ease.getRatio(this._time/v)),f!==this._time||i||g!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=f,this._totalTime=m,this._rawPrevTime=y,this._cycle=g,o.lazyTweens.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/v):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==f&&0<=t&&(this._active=!0),0===m&&(2===this._initted&&0this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},h.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},h.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,n,s=this.vars;for(n in s)i=s[n],l(i)&&-1!==i.join("").indexOf("{self}")&&(s[n]=this._swapSelfInParams(i));l(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},s=1e-10,r=i._internals,a=n._internals={},o=r.isSelector,l=r.isArray,c=r.lazyTweens,h=r.lazyRender,u=_gsScope._gsDefine.globals,p=function(t){var e,i={};for(e in t)i[e]=t[e];return i},d=function(t,e,i){var n,s,r=t.cycle;for(n in r)s=r[n],t[n]="function"==typeof s?s.call(e[i],i):s[i%s.length];delete t.cycle},f=a.pauseCallback=function(){},m=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},g=n.prototype=new e;return n.version="1.19.0",g.constructor=n,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,n,s){var r=n.repeat&&u.TweenMax||i;return e?this.add(new r(t,e,n),s):this.set(t,n,s)},g.from=function(t,e,n,s){return this.add((n.repeat&&u.TweenMax||i).from(t,e,n),s)},g.fromTo=function(t,e,n,s,r){var a=s.repeat&&u.TweenMax||i;return e?this.add(a.fromTo(t,e,n,s),r):this.set(t,s,r)},g.staggerTo=function(t,e,s,r,a,l,c,h){var u,f,g=new n({onComplete:l,onCompleteParams:c,callbackScope:h,smoothChildTiming:this.smoothChildTiming}),v=s.cycle;for("string"==typeof t&&(t=i.selector(t)||t),o(t=t||[])&&(t=m(t)),(r=r||0)<0&&((t=m(t)).reverse(),r*=-1),f=0;fs._startTime;d._timeline;)f&&d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._gc&&d._enabled(!0,!1),d=d._timeline;return this},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var n=e.length;-1<--n;)this.remove(e[n]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){e.prototype._remove.call(this,t,i);var n=this._last;return n?this._time>n._startTime+n._totalDuration/n._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},g.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,n,s){var r=i.delayedCall(0,f,n,s||this);return r.vars.onComplete=r.vars.onReverseComplete=e,r.data="isPause",this._hasPause=!0,this.add(r,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,n,s){var r;if(s instanceof t&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&l(s)))for(r=s.length;-1<--r;)s[r]instanceof t&&s[r].timeline===this&&this.remove(s[r]);if("string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(-1===(r=e.indexOf("=")))return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(r-1)+"1",10)*Number(e.substr(r+1)),e=1s&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,t=d+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==s&&(0=t&&!u;)n._duration||"isPause"===n.data&&0this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,i),u=u._prev;u=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=a}this._onUpdate&&(e||(c.length&&h(),this._callback("onUpdate"))),o&&(this._gc||(m===this._startTime||g!==this._timeScale)&&(0===this._time||d>=this.totalDuration())&&(r&&(c.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,n,s){s=s||-9999999999;for(var r=[],a=this._first,o=0;a;)a._startTime=i&&(s._startTime+=t),s=s._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,s=!1;-1<--n;)i[n]._kill(t,e)&&(s=!0);return s},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,n){this._forcingPlayhead=!0;var s=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,s=this._last,r=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>r&&this._sortChildren&&!s._paused?this.add(s,s._startTime-s._delay):r=s._startTime,s._startTime<0&&!s._paused&&(n-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale),this.shiftChildren(-s._startTime,!1,-9999999999),r=0),n<(i=s._startTime+s._totalDuration/s._timeScale)&&(n=i),s=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!e)for(var i=this._first,n=this._time;i;)i._startTime===n&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},n},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var n=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},s=1e-10,r=e._internals,a=r.lazyTweens,o=r.lazyRender,l=_gsScope._gsDefine.globals,c=new i(null,null,1,0),h=n.prototype=new t;return h.constructor=n,h.kill()._gc=!1,n.version="1.19.0",h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},h.addCallback=function(t,i,n,s){return this.add(e.delayedCall(0,t,n,s),i)},h.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,s=this._parseTimeOrLabel(e);-1<--n;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},h.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},h.tweenTo=function(t,i){i=i||{};var n,s,r,a={ease:c,useFrames:this.usesFrames(),immediateRender:!1},o=i.repeat&&l.TweenMax||e;for(s in i)a[s]=i[s];return a.time=this._parseTimeOrLabel(t),n=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,r=new o(this,n,a),a.onStart=function(){r.target.paused(!0),r.vars.time!==r.target.time()&&n===r.duration()&&r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale),i.onStart&&r._callback("onStart")},r},h.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},h.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,r,l,c,h,u,p,d,f=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,g=this._time,v=this._totalTime,y=this._startTime,_=this._timeScale,w=this._rawPrevTime,x=this._paused,b=this._cycle;if(f-1e-7<=t)this._locked||(this._totalTime=f,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(r=!0,c="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&-1e-7<=t||w<0||w===s)&&w!==t&&this._first&&(h=!0,s>0,0!==this._cycle&&this._cycle===this._totalTime/u&&v<=t&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&0!=(1&this._cycle)&&(this._time=m-this._time),this._time>m?t=(this._time=m)+1e-4:this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if(g<=(t=this._time))for(n=this._first;n&&n._startTime<=t&&!p;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(p=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!p;)n._duration||"isPause"===n.data&&0this._time;)p.render(p._reversed?p.totalDuration()-(t-p._startTime)*p._timeScale:(t-p._startTime)*p._timeScale,e,i),p=p._prev;p=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=l}this._onUpdate&&(e||(a.length&&o(),this._callback("onUpdate"))),c&&(this._locked||this._gc||(y===this._startTime||_!==this._timeScale)&&(0===this._time||f>=this.totalDuration())&&(r&&(a.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[c]&&this._callback(c)))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},h.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,s,r=[],a=this.getChildren(t,e,i),o=0,l=a.length;for(n=0;nt)return i[e].name;return null},h.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;-1<--i;)if(e[i].timethis._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},h.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},n},!0),n=180/Math.PI,s=[],r=[],a=[],o={},l=_gsScope._gsDefine.globals,c=function(t,e,i,n){i===n&&(i=n-(n-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},h=function(t,e,i,n){var s={a:t},r={},a={},o={c:n},l=(t+e)/2,c=(e+i)/2,h=(i+n)/2,u=(l+c)/2,p=(c+h)/2,d=(p-u)/8;return s.b=l+(t-l)/4,r.b=u+d,s.c=r.a=(s.b+r.b)/2,r.c=a.a=(u+p)/2,a.b=p-d,o.b=h+(n-h)/4,a.c=o.a=(a.b+o.b)/2,[s,r,a,o]},u=function(t,e,i,n,o){var l,c,u,p,d,f,m,g,v,y,_,w,x,b=t.length-1,T=0,S=t[0].a;for(l=0;l>0||6)-1,u=[],p=[];for(i in t)f(t[i],a,e);for(s=a.length,n=0;n>0]=p,o[r]=c,l=0,p=[]);return{length:c,lengths:o,segments:u}}(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),r=p.length;-1<--r;){for(a=0;a<3;a++)n=p[r][a],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=p[r][2],this._initialRotations[r]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,s,r,a,o,l,c,h,u,p=this._segCount,d=this._func,f=this._target,m=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,u=this._curSeg,t*=this._length,s=this._li,t>this._l2&&s=t;);0===s&&tthis._s2&&s=t;);0===s&&t>0)*(1/p))*p;for(i=1-o,s=this._props.length;-1<--s;)r=this._props[s],l=(o*o*(a=this._beziers[r][e]).da+3*i*(o*a.ca+i*a.ba))*o+a.a,this._mod[r]&&(l=this._mod[r](l,f)),d[r]?f[r](l):f[r]=l;if(this._autoRotate){var g,v,y,_,w,x,b,T=this._autoRotate;for(s=T.length;-1<--s;)r=T[s][2],x=T[s][3]||0,b=!0===T[s][4]?1:n,a=this._beziers[T[s][0]],g=this._beziers[T[s][1]],a&&g&&(a=a[e],g=g[e],v=a.a+(a.b-a.a)*o,v+=((_=a.b+(a.c-a.b)*o)-v)*o,_+=(a.c+(a.d-a.c)*o-_)*o,y=g.a+(g.b-g.a)*o,y+=((w=g.b+(g.c-g.b)*o)-y)*o,w+=(g.c+(g.d-g.c)*o-w)*o,l=m?Math.atan2(w-y,_-v)*b+x:this._initialRotations[s],this._mod[r]&&(l=this._mod[r](l,f)),d[r]?f[r](l):f[r]=l)}}}),g=m.prototype,m.bezierThrough=d,m.cubicToQuadratic=h,m._autoCSS=!0,m.quadraticToCubic=function(t,e,i){return new c(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssRegister=function(){var t=l.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,s=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,r,a,o,l){e instanceof Array&&(e={values:e}),l=new m;var c,h,u,p=e.values,d=p.length-1,f=[],g={};if(d<0)return o;for(c=0;c<=d;c++)u=i(t,p[c],a,o,l,d!==c),f[c]=u.end;for(h in e)g[h]=e[h];return g.values=f,(o=new s(t,"bezier",0,0,u.pt,2)).data=u,o.plugin=l,o.setRatio=n,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(c=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=u.end.left?[["left","top","rotation",c,!1]]:null!=u.end.x&&[["x","y","rotation",c,!1]]),g.autoRotate&&(a._transform||a._enableTransforms(!1),u.autoRotate=a._target._gsTransform,u.proxy.rotation=u.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(u.proxy,g,a._tween),o}})}},g._mod=function(t){for(var e,i=this._overwriteProps,n=i.length;-1<--n;)(e=t[i[n]])&&"function"==typeof e&&(this._mod[i[n]]=e)},g._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;-1<--i;)n[i]===e&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;-1<--i;)t[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,s,r,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o=_gsScope._gsDefine.globals,l={},c=a.prototype=new t("css");(c.constructor=a).version="1.19.0",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,c="px",a.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c,lineHeight:""};var h,u,p,d,f,m,g,v,y,_,w=/(?:\-|\.|\b)(\d|\.|e\-)+/g,x=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,T=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,S=/(?:\d|\-|\+|=|#|\.)*/g,C=/opacity *= *([^)]*)/i,M=/opacity:([^;]*)/i,k=/alpha\(opacity *=.+?\)/i,P=/^(rgb|hsl)/,A=/([A-Z])/g,D=/-([a-z])/gi,E=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,z=function(t,e){return e.toUpperCase()},O=/(?:Left|Right|Width)/i,I=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,N=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,L=/,(?=[^\)]*(?:\(|$))/gi,Y=/[\s,\(]/i,R=Math.PI/180,X=180/Math.PI,B={},H=document,W=function(t){return H.createElementNS?H.createElementNS("http://www.w3.org/1999/xhtml",t):H.createElement(t)},F=W("div"),j=W("img"),q=a._internals={_specialProps:l},G=navigator.userAgent,U=(y=G.indexOf("Android"),_=W("a"),p=-1!==G.indexOf("Safari")&&-1===G.indexOf("Chrome")&&(-1===y||3>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(s=t.charAt(2))+s+(r=t.charAt(3))+r),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=p=t.match(w),e){if(-1!==t.indexOf("="))return t.match(x)}else a=Number(i[0])%360/360,o=Number(i[1])/100,n=2*(l=Number(i[2])/100)-(s=l<=.5?l*(o+1):l+o-l*o),3d--)for(;++dp--)for(;++p>0];return s.parse(e,o,r,a)}},_t=(q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,s,r,a=this.data,o=a.proxy,l=a.firstMPT;l;)e=o[l.v],l.r?e=Math.round(e):e<1e-6&&-1e-6o.length?l.length:o.length,a=0;am.pr;)y=y._next;(m._prev=y?y._prev:w)?m._prev._next=m:_=m,(m._next=y)?y._prev=m:w=m,m=x}this._firstPT=_}return!0},c.parse=function(t,e,i,r){var a,o,c,u,p,d,f,m,y,_,w=t.style;for(a in e)"function"==typeof(d=e[a])&&(d=d(v,g)),(o=l[a])?i=o.parse(t,d,a,this,i,r,e):(p=tt(t,a,s)+"",y="string"==typeof d,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||y&&P.test(d)?(y||(d=(3<(d=ft(d)).length?"rgba(":"rgb(")+d.join(",")+")"),i=bt(w,a,p,d,!0,"transparent",i,0,r)):y&&Y.test(d)?i=bt(w,a,p,d,!0,null,i,0,r):(f=(c=parseFloat(p))||0===c?p.substr((c+"").length):"",(""===p||"auto"===p)&&("width"===a||"height"===a?(c=ot(t,a,s),f="px"):"left"===a||"top"===a?(c=it(t,a,s),f="px"):(c="opacity"!==a?0:1,f="")),(_=y&&"="===d.charAt(1))?(u=parseInt(d.charAt(0)+"1",10),d=d.substr(2),u*=parseFloat(d),m=d.replace(S,"")):(u=parseFloat(d),m=y?d.replace(S,""):""),""===m&&(m=a in n?n[a]:f),d=u||0===u?(_?u+c:u)+m:e[a],f!==m&&""!==m&&(u||0===u)&&c&&(c=et(t,a,c,f),"%"===m?(c/=et(t,a,100,"%")/100,!0!==e.strictUnits&&(p=c+"%")):"em"===m||"rem"===m||"vw"===m||"vh"===m?c/=et(t,a,1,m):"px"!==m&&(u=et(t,a,u,m),m="px"),_&&(u||0===u)&&(d=u+c+m)),_&&(u+=c),!c&&0!==c||!u&&0!==u?void 0!==w[a]&&(d||d+""!="NaN"&&null!=d)?(i=new wt(w,a,u||c||0,0,i,-1,a,!1,0,p,d)).xs0="none"!==d||"display"!==a&&-1===a.indexOf("Style")?d:p:$("invalid "+a+" tween value: "+e[a]):(i=new wt(w,a,c,u-c,i,0,a,!1!==h&&("px"===m||"zIndex"===a),0,p,d)).xs0=m)),r&&i&&!i.plugin&&(i.plugin=r);return i},c.setRatio=function(t){var e,i,n,s=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;s;){if(e=s.c*t+s.s,s.r?e=Math.round(e):e<1e-6&&-1e-6this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},(g=(e=l("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0)).prototype=new t).constructor=e,g.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),(this._p2*t>>0)*this._p1},g.config=e.config=function(t){return new e(t)},(g=(i=l("easing.RoughEase",function(e){for(var i,n,s,r,a,o,l=(e=e||{}).taper||"none",c=[],h=0,u=0|(e.points||20),d=u,f=!1!==e.randomize,m=!0===e.clamp,g=e.template instanceof t?e.template:null,v="number"==typeof e.strength?.4*e.strength:.4;-1<--d;)i=f?Math.random():1/u*d,n=g?g.getRatio(i):i,s="none"===l?v:"out"===l?(r=1-i)*r*v:"in"===l?i*i*v:(r=i<.5?2*i:2*(1-i))*r*.5*v,f?n+=Math.random()*s-.5*s:d%2?n+=.5*s:n-=.5*s,m&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,u("Bounce",c("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),c("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),c("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),u("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),u("Elastic",(n=function(e,i,n){var s=l("easing."+e,function(t,e){this._p1=1<=t?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,r.config=function(t,e){return new s(t,e)},s})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),u("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),u("Sine",c("SineOut",function(t){return Math.sin(t*o)}),c("SineIn",function(t){return 1-Math.cos(t*o)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(i,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),f},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i,n,s={},r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!r.TweenLite){var a,o,l,c,h,u=function(t){var e,i=t.split("."),n=r;for(e=0;e=i&&tthis._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(h||c.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(nr;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=s,this._recent=t,this._timeline&&this._uncache(!0),this},l._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(t,e,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)n=s._next,(s._active||t>=s._startTime&&!s._paused)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n},l.rawTime=function(){return h||c.wake(),this._totalTime};var O=w("TweenLite",function(e,i,n){if(D.call(this,i,n),this.render=O.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:O.selector(e)||e;var s,r,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?G[O.defaultOverwrite]:"number"==typeof l?l>>0:G[l],(o||e instanceof Array||e.push&&g(e))&&"number"!=typeof e[0])for(this._targets=a=f(e),this._propLookup=[],this._siblings=[],s=0;s=$){for(i in $=c.frame+(parseInt(O.autoSleep,10)||120),F){for(t=(e=F[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete F[i]}if((!(i=V._first)||i._paused)&&O.autoSleep&&!U._first&&1===c._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||c.sleep()}}},c.addEventListener("tick",D._updateRoot);var Z=function(t,e,i){var n,s,r=t._gsTweenID;if(F[r||(t._gsTweenID=r="t"+j++)]||(F[r]={target:t,tweens:[]}),e&&((n=F[r].tweens)[s=n.length]=e,i))for(;-1<--s;)n[s]===e&&n.splice(s,1);return F[r].tweens},J=function(t,e,i,n){var s,r,a=t.vars.onOverwrite;return a&&(s=a(t,e,i,n)),(a=O.onOverwrite)&&(r=a(t,e,i,n)),!1!==s&&!1!==r},K=function(t,e,i,n,s){var r,a,o,l;if(1===n||4<=n){for(l=s.length,r=0;rh&&((f||!o._initted)&&h-o._startTime<=2e-10||(u[p++]=o)));for(r=p;-1<--r;)if(o=u[r],2===n&&o._kill(i,t,e)&&(a=!0),2!==n||!o._firstPT&&o._initted){if(2!==n&&!J(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},tt=function(t,e,i){for(var n=t._timeline,s=n._timeScale,r=t._startTime;n._timeline;){if(r+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return e<(r/=s)?r-e:i&&r===e||!t._initted&&r-e<2*d?d:(r+=t.totalDuration()/t._timeScale/s)>e+d?0:r-e-d};l._init=function(){var t,e,i,n,s,r,a=this.vars,o=this._overwrittenProps,l=this._duration,c=!!a.immediateRender,h=a.ease;if(a.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),s={},a.startAt)s[n]=a.startAt[n];if(s.overwrite=!1,s.immediateRender=!0,s.lazy=c&&!1!==a.lazy,s.startAt=s.delay=null,this._startAt=O.to(this.target,0,s),c)if(0o.pr;)n=n._next;(o._prev=n?n._prev:r)?o._prev._next=o:s=o,(o._next=n)?n._prev=o:r=o,o=a}o=e._firstPT=s}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},et.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===et.API&&(W[(new t[e])._propName]=t[e]);return!0},_.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,s=t.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){et.call(this,i,n),this._overwriteProps=s||[]},!0===t.global),o=a.prototype=new et(i);for(e in(o.constructor=a).API=t.API,r)"function"==typeof t[e]&&(o[r[e]]=t[e]);return a.version=t.version,et.activate([a]),a},a=t._gsQueue){for(o=0;othis.maxPosY){this.transitionTime(500);var i=Math.max(this.indicatorHeight-3*(t-this.maxPosY),8);this.indicatorStyle.height=i+"px",t=this.maxPosY+this.indicatorHeight-i}else this.indicatorStyle.height=this.indicatorHeight+"px";this.y=t,this.scroller.options.useTransform?this.indicatorStyle[G.transform]="translateY("+t+"px)"+this.scroller.translateZ:this.indicatorStyle.top=t+"px"}else{var n=Math.round(this.sizeRatioX*this.scroller.x);if(n<0){this.transitionTime(500);var s=Math.max(this.indicatorWidth+3*n,8);this.indicatorStyle.width=s+"px",n=0}else if(n>this.maxPosX){this.transitionTime(500);var r=Math.max(this.indicatorWidth-3*(n-this.maxPosX),8);this.indicatorStyle.width=r+"px",n=this.maxPosX+this.indicatorWidth-r}else this.indicatorStyle.width=this.indicatorWidth+"px";this.x=n,this.scroller.options.useTransform?this.indicatorStyle[G.transform]="translateX("+n+"px)"+this.scroller.translateZ:this.indicatorStyle.left=n+"px"}},y.prototype.transitionTime=function(){var t=0this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=Math.round(t/this.sizeRatioX),e=Math.round(e/this.sizeRatioY),this.scroller.scrollTo(t,e),this.scroller.trigger("scroll",{x:this.scroller.x,y:this.scroller.y})},y.prototype._shouldShow=function(){return"vertical"===this.direction&&this.scroller.hasVerticalScroll||"horizontal"===this.direction&&this.scroller.hasHorizontalScroll?!(this.wrapper.style.display=""):!(this.wrapper.style.display="none")},y.prototype._calculate=function(){if("vertical"===this.direction){var t=this.wrapper.clientHeight;this.indicatorHeight=Math.max(Math.round(t*t/(this.scroller.scrollerHeight||t||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=t-this.indicatorHeight,this.sizeRatioY=this.maxPosY/this.scroller.maxScrollY}else{var e=this.wrapper.clientWidth;this.indicatorWidth=Math.max(Math.round(e*e/(this.scroller.scrollerWidth||e||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=e-this.indicatorWidth,this.sizeRatioX=this.maxPosX/this.scroller.maxScrollX}},y.prototype._addDOMEvents=function(){var t=r;this._handleDOMEvents(t)},y.prototype._removeDOMEvents=function(){var t=a;this._handleDOMEvents(t),this._handleMoveEvents(t)},y.prototype._handleMoveEvents=function(t){this.scroller.options.disableTouch||t(window,"touchmove",this),this.scroller.options.disableMouse||t(window,"mousemove",this)},y.prototype._handleDOMEvents=function(t){this.scroller.options.disableTouch||(t(this.indicator,"touchstart",this),t(window,"touchend",this)),this.scroller.options.disableMouse||(t(this.indicator,"mousedown",this),t(window,"mouseup",this))},w.prototype.destroy=function(){var t=this;clearTimeout(this._onResizeHandler),this.tombstonesAnimationHandlers.forEach(function(t){clearTimeout(t)}),this.tombstonesAnimationHandlers=null,this.items.forEach(function(e){e.node&&(t.scrollerEl.removeChild(e.node),e.node=null)}),this.scroller.infiniteScroller=null,this.scroller=null,this.wrapperEl=null,this.scrollerEl=null,this.items=null,this.tombstones=null},w.prototype.onScroll=function(){var t=-this.scroller.y,e=t-this.anchorScrollTop;this.anchorItem=0===t?{index:0,offset:0}:this._calculateAnchoredItem(this.anchorItem,e),this.anchorScrollTop=t;var i=this._calculateAnchoredItem(this.anchorItem,this.scroller.wrapperHeight),n=this.anchorItem.index,s=i.index;e<0?(n-=30,s+=10):(n-=10,s+=30),this.fill(n,s),this.maybeRequestContent()},w.prototype.onResize=function(){var t=this.options.createTombstone();t.style.position="absolute",this.scrollerEl.appendChild(t),t.style.display="",this.tombstoneHeight=t.offsetHeight,this.tombstoneWidth=t.offsetWidth,this.scrollerEl.removeChild(t);for(var e=0;ethis.firstAttachedItem;)e-=this.items[i-1].height||this.tombstoneHeight,i--;return e},w.prototype._setupAnimations=function(t,e){var i=this;for(var n in t){var s=t[n];this.items[n].node.style[G.transform]="translateY("+(this.anchorScrollTop+s[1])+"px) scale("+this.tombstoneWidth/this.items[n].width+", "+this.tombstoneHeight/this.items[n].height+")",this.items[n].node.offsetTop,s[0].offsetTop,this.items[n].node.style[G.transition]=X+"transform 200ms"}for(var r=this.firstAttachedItem;r=this.items.length||!this.items[i].height)&&(n=Math.floor(Math.max(e,0)/this.tombstoneHeight))}return{index:i+=n,offset:e-=n*this.tombstoneHeight}},(b=x).prototype._init=function(t,e){this._handleOptions(e),this._events={},this.x=0,this.y=0,this.directionX=0,this.directionY=0,this.setScale(1),this._addDOMEvents(),this._initExtFeatures(),this._watchTransition(),this.options.observeDOM&&this._initDOMObserver(),this.options.autoBlur&&this._handleAutoBlur(),this.refresh(),this.options.snap||this.scrollTo(this.options.startX,this.options.startY),this.enable()},b.prototype.setScale=function(t){this.lastScale=i(this.scale)?t:this.scale,this.scale=t},b.prototype._handleOptions=function(t){this.options=e({},V,t),this.translateZ=this.options.HWCompositing&&W?" translateZ(0)":"",this.options.useTransition=this.options.useTransition&&q,this.options.useTransform=this.options.useTransform&&j,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollX="horizontal"!==this.options.eventPassthrough&&this.options.scrollX,this.options.scrollY="vertical"!==this.options.eventPassthrough&&this.options.scrollY,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,!0===this.options.tap&&(this.options.tap="tap")},b.prototype._addDOMEvents=function(){var t=r;this._handleDOMEvents(t)},b.prototype._removeDOMEvents=function(){var t=a;this._handleDOMEvents(t)},b.prototype._handleDOMEvents=function(t){var e=this.options.bindToWrapper?this.wrapper:window;t(window,"orientationchange",this),t(window,"resize",this),this.options.click&&t(this.wrapper,"click",this,!0),this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(e,"mousemove",this),t(e,"mousecancel",this),t(e,"mouseup",this)),F&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(e,"touchmove",this),t(e,"touchcancel",this),t(e,"touchend",this)),t(this.scroller,G.transitionEnd,this)},b.prototype._initExtFeatures=function(){this.options.snap&&this._initSnap(),this.options.scrollbar&&this._initScrollbar(),this.options.pullUpLoad&&this._initPullUp(),this.options.pullDownRefresh&&this._initPullDown(),this.options.wheel&&this._initWheel(),this.options.mouseWheel&&this._initMouseWheel(),this.options.zoom&&this._initZoom(),this.options.infinity&&this._initInfinite()},b.prototype._watchTransition=function(){if("function"==typeof Object.defineProperty){var t=this,e=!1,i=this.useTransition?"isInTransition":"isAnimating";Object.defineProperty(this,i,{get:function(){return e},set:function(i){e=i;for(var n=t.scroller.children.length?t.scroller.children:[t.scroller],s=e&&!t.pulling?"none":"auto",r=0;rthis.minScrollX||this.xthis.minScrollY||this.ythis.options.momentumLimitTime&&aa+this.options.directionLockThreshold?this.directionLocked="h":a>=r+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"===this.directionLocked){if("vertical"===this.options.eventPassthrough)e.preventDefault();else if("horizontal"===this.options.eventPassthrough)return void(this.initiated=!1);s=0}else if("v"===this.directionLocked){if("horizontal"===this.options.eventPassthrough)e.preventDefault();else if("vertical"===this.options.eventPassthrough)return void(this.initiated=!1);n=0}n=this.hasHorizontalScroll?n:0,s=this.hasVerticalScroll?s:0,this.movingDirectionX=0this.minScrollX||lthis.minScrollX&&p||lthis.minScrollX?this.minScrollX:this.maxScrollX),(c>this.minScrollY||cthis.minScrollY&&h||cthis.minScrollY?this.minScrollY:this.maxScrollY),this.moved||(this.moved=!0,this.trigger("scrollStart")),this._translate(l,c),o-this.startTime>this.options.momentumLimitTime&&(this.startTime=o,this.startX=this.x,this.startY=this.y,1===this.options.probeType&&this.trigger("scroll",{x:this.x,y:this.y})),1document.documentElement.clientWidth-this.options.momentumLimitDistance||vdocument.documentElement.clientHeight-this.options.momentumLimitDistance)&&this._end(e)}}},T.prototype._end=function(e){if(this.enabled&&!this.destroyed&&U[e.type]===this.initiated){this.initiated=!1,this.options.preventDefault&&!h(e.target,this.options.preventDefaultException)&&e.preventDefault(),this.options.stopPropagation&&e.stopPropagation(),this.trigger("touchEnd",{x:this.x,y:this.y}),this.isInTransition=!1;var i=Math.round(this.x),n=Math.round(this.y),s=i-this.absStartX,r=n-this.absStartY;if(this.directionX=0this.options.momentumLimitDistance||o>this.options.momentumLimitDistance)){var u=!1,p=!1,f=!1,m=!1,g=this.options.bounce;!1!==g&&(u=void 0===g.top||g.top,p=void 0===g.bottom||g.bottom,f=void 0===g.left||g.left,m=void 0===g.right||g.right);var v=-1===this.directionX&&f||1===this.directionX&&m?this.wrapperWidth:0,y=-1===this.directionY&&u||1===this.directionY&&p?this.wrapperHeight:0,_=this.hasHorizontalScroll?d(this.x,this.startX,a,this.maxScrollX,this.minScrollX,v,this.options):{destination:i,duration:0},w=this.hasVerticalScroll?d(this.y,this.startY,a,this.maxScrollY,this.minScrollY,y,this.options):{destination:n,duration:0};i=_.destination,n=w.destination,c=Math.max(_.duration,w.duration),this.isInTransition=!0}else this.options.wheel&&(n=Math.round(n/this.itemHeight)*this.itemHeight,c=this.options.wheel.adjustTime||400);var x=$.swipe;if(this.options.snap){var b=this._nearestSnap(i,n);this.currentPage=b,c=this.options.snapSpeed||Math.max(Math.max(Math.min(Math.abs(i-b.x),1e3),Math.min(Math.abs(n-b.y),1e3)),300),i=b.x,n=b.y,this.directionX=0,this.directionY=0,x=this.options.snap.easing||$.bounce}if(i!==this.x||n!==this.y)return(i>this.minScrollX||ithis.minScrollY||nthis.minScrollY?this.selectedIndex=0:ethis.minScrollX?this.minScrollX:r.leftthis.minScrollY?this.minScrollY:r.topthis.minScrollX?i=this.minScrollX:nthis.minScrollY?s=this.minScrollY:rt.maxScrollX&&p++;else for(a=Math.round(e/2),l=Math.round(i/2);n>-t.scrollerWidth;){for(t.pages[h]=[],s=u=0;s>-t.scrollerHeight;)t.pages[h][u]={x:Math.max(n,t.maxScrollX),y:Math.max(s,t.maxScrollY),width:e,height:i,cx:n-a,cy:s-l},s-=i,u++;n-=e,h++}t._checkSnapLoop();var m=r._loopX?1:0,g=r._loopY?1:0;t._goToPage(t.currentPage.pageX||m,t.currentPage.pageY||g,0);var v=r.threshold;v%1==0?(t.snapThresholdX=v,t.snapThresholdY=v):(t.snapThresholdX=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].width*v),t.snapThresholdY=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].height*v))}}),this.on("scrollEnd",function(){r.loop&&(r._loopX?(0===t.currentPage.pageX&&t._goToPage(t.pages.length-2,t.currentPage.pageY,0),t.currentPage.pageX===t.pages.length-1&&t._goToPage(1,t.currentPage.pageY,0)):(0===t.currentPage.pageY&&t._goToPage(t.currentPage.pageX,t.pages[0].length-2,0),t.currentPage.pageY===t.pages[0].length-1&&t._goToPage(t.currentPage.pageX,1,0)))}),!1!==r.listenFlick&&this.on("flick",function(){var e=r.speed||Math.max(Math.max(Math.min(Math.abs(t.x-t.startX),1e3),Math.min(Math.abs(t.y-t.startY),1e3)),300);t._goToPage(t.currentPage.pageX+t.directionX,t.currentPage.pageY+t.directionY,e)}),this.on("destroy",function(){if(r.loop){var e=t.scroller.children;2this.minScrollX?t=this.minScrollX:tthis.minScrollY?e=this.minScrollY:e=this.pages[i][0].cx){t=this.pages[i][0].x;break}n=this.pages[i].length;for(var s=0;s=this.pages[0][s].cy){e=this.pages[0][s].y;break}return i===this.currentPage.pageX&&((i+=this.directionX)<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),s===this.currentPage.pageY&&((s+=this.directionY)<0?s=0:s>=this.pages[0].length&&(s=this.pages[0].length-1),e=this.pages[0][s].y),{x:t,y:e,pageX:i,pageY:s}},C.prototype._goToPage=function(t){var e=1=this.pages.length?t=this.pages.length-1:t<0&&(t=0),this.pages[t])){e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0) ;var r=this.pages[t][e].x,a=this.pages[t][e].y;i=void 0===i?s.speed||Math.max(Math.max(Math.min(Math.abs(r-this.x),1e3),Math.min(Math.abs(a-this.y),1e3)),300):i,this.currentPage={x:r,y:a,pageX:t,pageY:e},this.scrollTo(r,a,i,n)}},C.prototype.goToPage=function(t,e,i,n){var s=this.options.snap;if(s&&this.pages&&this.pages.length){if(s.loop){var r=void 0;s._loopX?((r=this.pages.length-2)<=t?t=r-1:t<0&&(t=0),t+=1):((r=this.pages[0].length-2)<=e?e=r-1:e<0&&(e=0),e+=1)}this._goToPage(t,e,i,n)}},C.prototype.next=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;++i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this._goToPage(i,n,t,e)}},C.prototype.prev=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;--i<0&&this.hasVerticalScroll&&(i=0,n--),this._goToPage(i,n,t,e)}},C.prototype.getCurrentPage=function(){var t=this.options.snap;return t?t.loop?t._loopX?e({},this.currentPage,{pageX:this.currentPage.pageX-1}):e({},this.currentPage,{pageY:this.currentPage.pageY-1}):this.currentPage:null},(M=x).prototype.wheelTo=function(){var t=0this.minScrollX?p=this.minScrollX:pthis.minScrollY?d=this.minScrollY:dthis.minScrollX?r=this.minScrollX:rthis.minScrollY?a=this.minScrollY:ar?r:this.scale").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||te[0].contentDocument).document).write("

威尼斯欢乐娱人(v675·VIP认证)网站-Far Ahead

"),e.close(),i=M(t,e),te.detach()),ue[t]=i),i}function M(t,e){var i=tt(e.createElement(t)).appendTo(e.body),n=tt.css(i[0],"display");return i.remove(),n}function k(t,e,i,n){var s;if(tt.isArray(e))tt.each(e,function(e,s){i||ve.test(t)?n(t,s):k(t+"["+("object"==typeof s?e:"")+"]",s,i,n)});else if(i||"object"!==tt.type(e))n(t,e);else for(s in e)k(t+"["+s+"]",e[s],i,n)}function P(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,s=0,r=e.toLowerCase().match(it)||[];if(tt.isFunction(i))for(;n=r[s++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function A(t,i,n,s){function r(l){var c;return a[l]=!0,tt.each(t[l]||[],function(t,l){var h=l(i,n,s);return"string"!=typeof h||o||a[h]?o?!(c=h):e:(i.dataTypes.unshift(h),r(h),!1)}),c}var a={},o=t===Oe;return r(i.dataTypes[0])||!a["*"]&&r("*")}function D(t,i){var n,s,r=tt.ajaxSettings.flatOptions||{};for(s in i)i[s]!==e&&((r[s]?t:n||(n={}))[s]=i[s]);return n&&tt.extend(!0,t,n),t}function E(){try{return new t.XMLHttpRequest}catch(t){}}function z(){return setTimeout(function(){He=e}),He=tt.now()}function O(t,e,i){var n,s,r,a,o=0,l=Ge.length,c=tt.Deferred().always(function(){delete h.elem}),h=function(){if(s)return!1;for(var e=He||z(),i=Math.max(0,u.startTime+u.duration-e),n=1-(i/u.duration||0),r=0,a=u.tweens.length;r)[^>]*|#([\w-]*))$/,rt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,at=/^[\],:{}\s]*$/,ot=/(?:^|:|,)(?:\s*\[)+/g,lt=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ct=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,ht=/^-ms-/,ut=/-([\da-z])/gi,pt=function(t,e){return e.toUpperCase()},dt=function(t){(B.addEventListener||"load"===t.type||"complete"===B.readyState)&&(ft(),tt.ready())},ft=function(){B.addEventListener?(B.removeEventListener("DOMContentLoaded",dt,!1),t.removeEventListener("load",dt,!1)):(B.detachEvent("onreadystatechange",dt),t.detachEvent("onload",dt))};tt.fn=tt.prototype={jquery:G,constructor:tt,init:function(t,i,n){var s,r;if(!t)return this;if("string"==typeof t){if(!(s="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:st.exec(t))||!s[1]&&i)return!i||i.jquery?(i||n).find(t):this.constructor(i).find(t);if(s[1]){if(i=i instanceof tt?i[0]:i,tt.merge(this,tt.parseHTML(s[1],i&&i.nodeType?i.ownerDocument||i:B,!0)),rt.test(s[1])&&tt.isPlainObject(i))for(s in i)tt.isFunction(this[s])?this[s](i[s]):this.attr(s,i[s]);return this}if((r=B.getElementById(s[2]))&&r.parentNode){if(r.id!==s[2])return n.find(t);this.length=1,this[0]=r}return this.context=B,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):tt.isFunction(t)?n.ready(t):(t.selector!==e&&(this.selector=t.selector,this.context=t.context),tt.makeArray(t,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return $.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=tt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return tt.each(this,t,e)},ready:function(t){return tt.ready.promise().done(t),this},slice:function(){return this.pushStack($.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i
a",i=u.getElementsByTagName("*"),n=u.getElementsByTagName("a")[0],!i||!n||!i.length)return{};o=(r=B.createElement("select")).appendChild(B.createElement("option")),s=u.getElementsByTagName("input")[0],n.style.cssText="top:1px;float:left;opacity:.5",e={getSetAttribute:"t"!==u.className,leadingWhitespace:3===u.firstChild.nodeType,tbody:!u.getElementsByTagName("tbody").length,htmlSerialize:!!u.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.5/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:!!s.value,optSelected:o.selected,enctype:!!B.createElement("form").enctype,html5Clone:"<:nav>"!==B.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===B.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},s.checked=!0,e.noCloneChecked=s.cloneNode(!0).checked,r.disabled=!0,e.optDisabled=!o.disabled;try{delete u.test}catch(i){e.deleteExpando=!1}for(h in(s=B.createElement("input")).setAttribute("value",""),e.input=""===s.getAttribute("value"),s.value="t",s.setAttribute("type","radio"),e.radioValue="t"===s.value,s.setAttribute("checked","t"),s.setAttribute("name","t"),(a=B.createDocumentFragment()).appendChild(s),e.appendChecked=s.checked,e.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,u.attachEvent&&(u.attachEvent("onclick",function(){e.noCloneEvent=!1}),u.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})u.setAttribute(l="on"+h,"t"),e[h+"Bubbles"]=l in t||!1===u.attributes[l].expando;return u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===u.style.backgroundClip,tt(function(){var i,n,s,r="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",a=B.getElementsByTagName("body")[0];a&&((i=B.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(i).appendChild(u),u.innerHTML="
t
",(s=u.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",c=0===s[0].offsetHeight,s[0].style.display="",s[1].style.display="none",e.reliableHiddenOffsets=c&&0===s[0].offsetHeight,u.innerHTML="",u.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",e.boxSizing=4===u.offsetWidth,e.doesNotIncludeMarginInBodyOffset=1!==a.offsetTop,t.getComputedStyle&&(e.pixelPosition="1%"!==(t.getComputedStyle(u,null)||{}).top,e.boxSizingReliable="4px"===(t.getComputedStyle(u,null)||{width:"4px"}).width,(n=u.appendChild(B.createElement("div"))).style.cssText=u.style.cssText=r,n.style.marginRight=n.style.width="0",u.style.width="1px",e.reliableMarginRight=!parseFloat((t.getComputedStyle(n,null)||{}).marginRight)),typeof u.style.zoom!==X&&(u.innerHTML="",u.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=3===u.offsetWidth,u.style.display="block",u.innerHTML="
",u.firstChild.style.width="5px",e.shrinkWrapBlocks=3!==u.offsetWidth,e.inlineBlockNeedsLayout&&(a.style.zoom=1)),a.removeChild(i),i=u=s=n=null)}),i=r=a=o=n=s=null,e}();var gt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,vt=/([A-Z])/g;tt.extend({cache:{},expando:"jQuery"+(G+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return!!(t=t.nodeType?tt.cache[t[tt.expando]]:t[tt.expando])&&!a(t)},data:function(t,e,i){return n(t,e,i)},removeData:function(t,e){return s(t,e)},_data:function(t,e,i){return n(t,e,i,!0)},_removeData:function(t,e){return s(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&tt.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),tt.fn.extend({data:function(t,i){var n,s,a=this[0],o=0,l=null;if(t===e){if(this.length&&(l=tt.data(a),1===a.nodeType&&!tt._data(a,"parsedAttrs"))){for(n=a.attributes;n.length>o;o++)(s=n[o].name).indexOf("data-")||(s=tt.camelCase(s.slice(5)),r(a,s,l[s]));tt._data(a,"parsedAttrs",!0)}return l}return"object"==typeof t?this.each(function(){tt.data(this,t)}):tt.access(this,function(i){return i===e?a?r(a,t,tt.data(a,t)):null:(this.each(function(){tt.data(this,t,i)}),e)},null,i,1arguments.length?tt.queue(this[0],t):i===e?this:this.each(function(){var e=tt.queue(this,t,i);tt._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&tt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){tt.dequeue(this,t)})},delay:function(t,e){return t=tt.fx&&tt.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,i){var n,s=1,r=tt.Deferred(),a=this,o=this.length,l=function(){--s||r.resolveWith(a,[a])};for("string"!=typeof t&&(i=t,t=e),t=t||"fx";o--;)(n=tt._data(a[o],t+"queueHooks"))&&n.empty&&(s++,n.empty.add(l));return l(),r.promise(i)}});var yt,_t,wt=/[\t\r\n]/g,xt=/\r/g,bt=/^(?:input|select|textarea|button|object)$/i,Tt=/^(?:a|area)$/i,St=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,Ct=/^(?:checked|selected)$/i,Mt=tt.support.getSetAttribute,kt=tt.support.input;tt.fn.extend({attr:function(t,e){return tt.access(this,tt.attr,t,e,1l&&o.push({elem:this,handlers:i.slice(l)}),o},fix:function(t){if(t[tt.expando])return t;var e,i,n,s=t.type,r=t,a=this.fixHooks[s];for(a||(this.fixHooks[s]=a=Dt.test(s)?this.mouseHooks:At.test(s)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,t=new tt.Event(r),e=n.length;e--;)t[i=n[e]]=r[i];return t.target||(t.target=r.srcElement||B),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,r):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,i){var n,s,r,a=i.button,o=i.fromElement;return null==t.pageX&&null!=i.clientX&&(r=(s=t.target.ownerDocument||B).documentElement,n=s.body,t.pageX=i.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=i.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&o&&(t.relatedTarget=o===t.target?i.toElement:o),t.which||a===e||(t.which=1&a?1:2&a?3:4&a?2:0),t}},special:{load:{noBubble:!0},click:{trigger:function(){return tt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):e}},focus:{trigger:function(){if(this!==B.activeElement&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===B.activeElement&&this.blur?(this.blur(),!1):e},delegateType:"focusout"},beforeunload:{postDispatch:function(t){t.result!==e&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var s=tt.extend(new tt.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?tt.event.trigger(s,null,e):tt.event.dispatch.call(e,s),s.isDefaultPrevented()&&i.preventDefault()}},tt.removeEvent=B.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(typeof t[n]===X&&(t[n]=null),t.detachEvent(n,i))},tt.Event=function(t,i){return this instanceof tt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?o:l):this.type=t,i&&tt.extend(this,i),this.timeStamp=t&&t.timeStamp||tt.now(),this[tt.expando]=!0,e):new tt.Event(t,i)},tt.Event.prototype={isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=o,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=o,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()}},tt.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){tt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=t.relatedTarget,s=t.handleObj;return(!n||n!==this&&!tt.contains(this,n))&&(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}}),tt.support.submitBubbles||(tt.event.special.submit={setup:function(){return!tt.nodeName(this,"form")&&(tt.event.add(this,"click._submit keypress._submit",function(t){var i=t.target,n=tt.nodeName(i,"input")||tt.nodeName(i,"button")?i.form:e;n&&!tt._data(n,"submitBubbles")&&(tt.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),tt._data(n,"submitBubbles",!0))}),e)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&tt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!tt.nodeName(this,"form")&&(tt.event.remove(this,"._submit"),e)}}),tt.support.changeBubbles||(tt.event.special.change={setup:function(){return Pt.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(tt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),tt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),tt.event.simulate("change",this,t,!0)})),!1):(tt.event.add(this,"beforeactivate._change",function(t){var e=t.target;Pt.test(e.nodeName)&&!tt._data(e,"changeBubbles")&&(tt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||tt.event.simulate("change",this.parentNode,t,!0)}),tt._data(e,"changeBubbles",!0))}),e)},handle:function(t){var i=t.target;return this!==i||t.isSimulated||t.isTrigger||"radio"!==i.type&&"checkbox"!==i.type?t.handleObj.handler.apply(this,arguments):e},teardown:function(){return tt.event.remove(this,"._change"),!Pt.test(this.nodeName)}}),tt.support.focusinBubbles||tt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=0,n=function(t){tt.event.simulate(e,t.target,tt.event.fix(t),!0)};tt.event.special[e]={setup:function(){0==i++&&B.addEventListener(t,n,!0)},teardown:function(){0==--i&&B.removeEventListener(t,n,!0)}}}),tt.fn.extend({on:function(t,i,n,s,r){var a,o;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=e),t)this.on(a,i,n,t[a],r);return this}if(null==n&&null==s?(s=i,n=i=e):null==s&&("string"==typeof i?(s=n,n=e):(s=n,n=i,i=e)),!1===s)s=l;else if(!s)return this;return 1===r&&(o=s,(s=function(t){return tt().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=tt.guid++)),this.each(function(){tt.event.add(this,t,s,n,i)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,i,n){var s,r;if(t&&t.preventDefault&&t.handleObj)return s=t.handleObj,tt(t.delegateTarget).off(s.namespace?s.origType+"."+s.namespace:s.origType,s.selector,s.handler),this;if("object"==typeof t){for(r in t)this.off(r,i,t[r]);return this}return(!1===i||"function"==typeof i)&&(n=i,i=e),!1===n&&(n=l),this.each(function(){tt.event.remove(this,t,n,i)})},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},trigger:function(t,e){return this.each(function(){tt.event.trigger(t,e,this)})},triggerHandler:function(t,i){var n=this[0];return n?tt.event.trigger(t,i,n,!0):e}}),function(t,e){function i(t){return ct.test(t+"")}function n(){var t,e=[];return t=function(i,n){return e.push(i+=" ")>x.cacheLength&&delete t[e.shift()],t[i]=n}}function s(t){return t[L]=!0,t}function r(t){var e=P.createElement("div");try{return t(e)}catch(t){return!1}finally{e=null}}function a(t,e,i,n){var s,r,a,o,l,c,h,d,f,m;if((e?e.ownerDocument||e:Y)!==P&&k(e),i=i||[],!t||"string"!=typeof t)return i;if(1!==(o=(e=e||P).nodeType)&&9!==o)return[];if(!D&&!n){if(s=ht.exec(t))if(a=s[1]){if(9===o){if(!(r=e.getElementById(a))||!r.parentNode)return i;if(r.id===a)return i.push(r),i}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(a))&&I(e,r)&&r.id===a)return i.push(r),i}else{if(s[2])return U.apply(i,V.call(e.getElementsByTagName(t),0)),i;if((a=s[3])&&R.getByClassName&&e.getElementsByClassName)return U.apply(i,V.call(e.getElementsByClassName(a),0)),i}if(R.qsa&&!E.test(t)){if(h=!0,d=L,f=e,m=9===o&&t,1===o&&"object"!==e.nodeName.toLowerCase()){for(c=u(t),(h=e.getAttribute("id"))?d=h.replace(dt,"\\$&"):e.setAttribute("id",d),d="[id='"+d+"'] ",l=c.length;l--;)c[l]=d+p(c[l]);f=lt.test(t)&&e.parentNode||e,m=c.join(",")}if(m)try{return U.apply(i,V.call(f.querySelectorAll(m),0)),i}catch(t){}finally{h||e.removeAttribute("id")}}}return function(t,e,i,n){var s,r,a,o,l,c=u(t);if(!n&&1===c.length){if(2<(r=c[0]=c[0].slice(0)).length&&"ID"===(a=r[0]).type&&9===e.nodeType&&!D&&x.relative[r[1].type]){if(!(e=x.find.ID(a.matches[0].replace(mt,gt),e)[0]))return i;t=t.slice(r.shift().value.length)}for(s=ot.needsContext.test(t)?0:r.length;s--&&(a=r[s],!x.relative[o=a.type]);)if((l=x.find[o])&&(n=l(a.matches[0].replace(mt,gt),lt.test(r[0].type)&&e.parentNode||e))){if(r.splice(s,1),!(t=n.length&&p(r)))return U.apply(i,V.call(n,0)),i;break}}return S(t,c)(n,e,D,i,lt.test(t)),i}(t.replace(it,"$1"),e,i,n)}function o(t,e){var i=e&&t,n=i&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function l(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function c(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function h(t){return s(function(e){return e=+e,s(function(i,n){for(var s,r=t([],i.length,e),a=r.length;a--;)i[s=r[a]]&&(i[s]=!(n[s]=i[s]))})})}function u(t,e){var i,n,s,r,o,l,c,h=W[t+" "];if(h)return e?0:h.slice(0);for(o=t,l=[],c=x.preFilter;o;){for(r in(!i||(n=nt.exec(o)))&&(n&&(o=o.slice(n[0].length)||o),l.push(s=[])),i=!1,(n=st.exec(o))&&(i=n.shift(),s.push({value:i,type:n[0].replace(it," ")}),o=o.slice(i.length)),x.filter)!(n=ot[r].exec(o))||c[r]&&!(n=c[r](n))||(i=n.shift(),s.push({value:i,type:r,matches:n}),o=o.slice(i.length));if(!i)break}return e?o.length:o?a.error(t):W(t,l).slice(0)}function p(t){for(var e=0,i=t.length,n="";e+~])"+Q+"*"),rt=RegExp(et),at=RegExp("^"+J+"$"),ot={ID:RegExp("^#("+Z+")"),CLASS:RegExp("^\\.("+Z+")"),NAME:RegExp("^\\[name=['\"]?("+Z+")['\"]?\\]"),TAG:RegExp("^("+Z.replace("w","w*")+")"),ATTR:RegExp("^"+K),PSEUDO:RegExp("^"+et),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Q+"*(even|odd|(([+-]|)(\\d*)n|)"+Q+"*(?:([+-]|)"+Q+"*(\\d+)|))"+Q+"*\\)|)","i"),needsContext:RegExp("^"+Q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Q+"*((?:-\\d)?\\d*)"+Q+"*\\)|)(?=[^-]|$)","i")},lt=/[\x20\t\r\n\f]*[+~]/,ct=/^[^{]+\{\s*\[native code/,ht=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ut=/^(?:input|select|textarea|button)$/i,pt=/^h\d$/i,dt=/'|\\/g,ft=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,mt=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,gt=function(t,e){var i="0x"+e-65536;return i!=i?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(55296|i>>10,56320|1023&i)};try{V.call(Y.documentElement.childNodes,0)[0].nodeType}catch(_){V=function(t){for(var e,i=[];e=this[t++];)i.push(e);return i}}for(_ in T=a.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},k=a.setDocument=function(t){var n=t?t.ownerDocument||t:Y;return n!==P&&9===n.nodeType&&n.documentElement&&(A=(P=n).documentElement,D=T(n),R.tagNameNoComments=r(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),R.attributes=r(function(t){t.innerHTML="";var e=typeof t.lastChild.getAttribute("multiple");return"boolean"!==e&&"string"!==e}),R.getByClassName=r(function(t){return t.innerHTML="",!(!t.getElementsByClassName||!t.getElementsByClassName("e").length)&&(t.lastChild.className="e",2===t.getElementsByClassName("e").length)}),R.getByName=r(function(t){t.id=L+0,t.innerHTML="
",A.insertBefore(t,A.firstChild);var e=n.getElementsByName&&n.getElementsByName(L).length===2+n.getElementsByName(L+0).length;return R.getIdNotName=!n.getElementById(L),A.removeChild(t),e}),x.attrHandle=r(function(t){return t.innerHTML="",t.firstChild&&typeof t.firstChild.getAttribute!==j&&"#"===t.firstChild.getAttribute("href")})?{}:{href:function(t){return t.getAttribute("href",2)},type:function(t){return t.getAttribute("type")}},R.getIdNotName?(x.find.ID=function(t,e){if(typeof e.getElementById!==j&&!D){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},x.filter.ID=function(t){var e=t.replace(mt,gt);return function(t){return t.getAttribute("id")===e}}):(x.find.ID=function(t,i){if(typeof i.getElementById!==j&&!D){var n=i.getElementById(t);return n?n.id===t||typeof n.getAttributeNode!==j&&n.getAttributeNode("id").value===t?[n]:e:[]}},x.filter.ID=function(t){var e=t.replace(mt,gt);return function(t){var i=typeof t.getAttributeNode!==j&&t.getAttributeNode("id");return i&&i.value===e}}),x.find.TAG=R.tagNameNoComments?function(t,i){return typeof i.getElementsByTagName!==j?i.getElementsByTagName(t):e}:function(t,e){var i,n=[],s=0,r=e.getElementsByTagName(t);if("*"===t){for(;i=r[s++];)1===i.nodeType&&n.push(i);return n}return r},x.find.NAME=R.getByName&&function(t,i){return typeof i.getElementsByName!==j?i.getElementsByName(name):e},x.find.CLASS=R.getByClassName&&function(t,i){return typeof i.getElementsByClassName===j||D?e:i.getElementsByClassName(t)},z=[],E=[":focus"],(R.qsa=i(n.querySelectorAll))&&(r(function(t){t.innerHTML="",t.querySelectorAll("[selected]").length||E.push("\\["+Q+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||E.push(":checked")}),r(function(t){t.innerHTML="",t.querySelectorAll("[i^='']").length&&E.push("[*^$]="+Q+"*(?:\"\"|'')"),t.querySelectorAll(":enabled").length||E.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),E.push(",.*:")})),(R.matchesSelector=i(O=A.matchesSelector||A.mozMatchesSelector||A.webkitMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&r(function(t){R.disconnectedMatch=O.call(t,"div"),O.call(t,"[s!='']:x"),z.push("!=",et)}),E=RegExp(E.join("|")),z=RegExp(z.join("|")),I=i(A.contains)||A.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},N=A.compareDocumentPosition?function(t,e){var i;return t===e?(C=!0,0):(i=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e))?1&i||t.parentNode&&11===t.parentNode.nodeType?t===n||I(Y,t)?-1:e===n||I(Y,e)?1:0:4&i?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var i,s=0,r=t.parentNode,a=e.parentNode,l=[t],c=[e];if(t===e)return C=!0,0;if(!r||!a)return t===n?-1:e===n?1:r?-1:a?1:0;if(r===a)return o(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)c.unshift(i);for(;l[s]===c[s];)s++;return s?o(l[s],c[s]):l[s]===Y?-1:c[s]===Y?1:0},C=!1,[0,0].sort(N),R.detectDuplicates=C),P},a.matches=function(t,e){return a(t,null,null,e)},a.matchesSelector=function(t,e){if((t.ownerDocument||t)!==P&&k(t),e=e.replace(ft,"='$1']"),!(!R.matchesSelector||D||z&&z.test(e)||E.test(e)))try{var i=O.call(t,e);if(i||R.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(mt,gt),t[3]=(t[4]||t[5]||"").replace(mt,gt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||a.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&a.error(t[0]),t},PSEUDO:function(t){var e,i=!t[5]&&t[2];return ot.CHILD.test(t[0])?null:(t[4]?t[2]=t[4]:i&&rt.test(i)&&(e=u(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(mt,gt).toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(t){var e=H[t+" "];return e||(e=RegExp("(^|"+Q+")"+t+"("+Q+"|$)"))&&H(t,function(t){return e.test(t.className||typeof t.getAttribute!==j&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(n){var s=a.attr(n,t);return null==s?"!="===e:!e||(s+="", "="===e?s===i:"!="===e?s!==i:"^="===e?i&&0===s.indexOf(i):"*="===e?i&&-1++n;)t.push(n);return t})}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[_]=l(_);for(_ in{submit:!0,reset:!0})x.pseudos[_]=c(_);S=a.compile=function(t,e){var i,n,r,o,l,c,h,p=[],d=[],f=F[t+" "];if(!f){for(e||(e=u(t)),i=e.length;i--;)(f=v(e[i]))[L]?p.push(f):d.push(f);f=F(t,(n=d,l=(o=0)<(r=p).length,c=0]","i"),Ht=/^\s+/,Wt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ft=/<([\w:]+)/,jt=/\s*$/g,Jt={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:tt.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},Kt=u(B).appendChild(B.createElement("div"));Jt.optgroup=Jt.option,Jt.tbody=Jt.tfoot=Jt.colgroup=Jt.caption=Jt.thead,Jt.th=Jt.td,tt.fn.extend({text:function(t){return tt.access(this,function(t){return t===e?tt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||B).createTextNode(t))},null,t,arguments.length)},wrapAll:function(t){if(tt.isFunction(t))return this.each(function(e){tt(this).wrapAll(t.call(this,e))});if(this[0]){var e=tt(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return tt.isFunction(t)?this.each(function(e){tt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=tt(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=tt.isFunction(t);return this.each(function(i){tt(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){tt.nodeName(this,"body")||tt(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(t,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,!1,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=0;null!=(i=this[n]);n++)(!t||0");try{for(;n")?r=t.cloneNode(!0):(Kt.innerHTML=t.outerHTML,Kt.removeChild(r=Kt.firstChild)),!(tt.support.noCloneEvent&&tt.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||tt.isXMLDoc(t)))for(n=v(r),o=v(t),a=0;null!=(s=o[a]);++a)n[a]&&g(s,n[a]);if(e)if(i)for(o=o||v(t),n=n||v(r),a=0;null!=(s=o[a]);a++)m(s,n[a]);else m(t,r);return 0<(n=v(r,"script")).length&&f(n,!l&&v(t,"script")),n=o=s=null,r},buildFragment:function(t,e,i,n){for(var s,r,a,o,l,c,h,p=t.length,d=u(e),m=[],g=0;g")+h[2],s=h[0];s--;)o=o.lastChild;if(!tt.support.leadingWhitespace&&Ht.test(r)&&m.push(e.createTextNode(Ht.exec(r)[0])),!tt.support.tbody)for(s=(r="table"!==l||jt.test(r)?""!==h[1]||jt.test(r)?0:o:o.firstChild)&&r.childNodes.length;s--;)tt.nodeName(c=r.childNodes[s],"tbody")&&!c.childNodes.length&&r.removeChild(c);for(tt.merge(m,o.childNodes),o.textContent="";o.firstChild;)o.removeChild(o.firstChild);o=d.lastChild}else m.push(e.createTextNode(r));for(o&&d.removeChild(o),tt.support.appendChecked||tt.grep(v(m,"input"),y),g=0;r=m[g++];)if((!n||-1===tt.inArray(r,n))&&(a=tt.contains(r.ownerDocument,r),o=v(d.appendChild(r),"script"),a&&f(o),i))for(s=0;r=o[s++];)$t.test(r.type||"")&&i.push(r);return o=null,d},cleanData:function(t,e){for(var i,n,s,r,a=0,o=tt.expando,l=tt.cache,c=tt.support.deleteExpando,h=tt.event.special;null!=(i=t[a]);a++)if((e||tt.acceptData(i))&&(r=(s=i[o])&&l[s])){if(r.events)for(n in r.events)h[n]?tt.event.remove(i,n):tt.removeEvent(i,n,r.handle);l[s]&&(delete l[s],c?delete i[o]:typeof i.removeAttribute!==X?i.removeAttribute(o):i[o]=null,q.push(s))}}});var te,ee,ie,ne=/alpha\([^)]*\)/i,se=/opacity\s*=\s*([^)]*)/,re=/^(top|right|bottom|left)$/,ae=/^(none|table(?!-c[ea]).+)/,oe=/^margin/,le=RegExp("^("+et+")(.*)$","i"),ce=RegExp("^("+et+")(?!px)[a-z%]+$","i"),he=RegExp("^([+-])=("+et+")","i"),ue={BODY:"block"},pe={position:"absolute",visibility:"hidden",display:"block"},de={letterSpacing:0,fontWeight:400},fe=["Top","Right","Bottom","Left"],me=["Webkit","O","Moz","ms"];tt.fn.extend({css:function(t,i){return tt.access(this,function(t,i,n){var s,r,a={},o=0;if(tt.isArray(i)){for(r=ee(t),s=i.length;o").append(tt.parseHTML(t)).find(s):t)}).complete(n&&function(t,e){o.each(n,r||[t.responseText,e,t])}),this},tt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){tt.fn[e]=function(t){return this.on(e,t)}}),tt.each(["get","post"],function(t,i){tt[i]=function(t,n,s,r){return tt.isFunction(n)&&(r=r||s,s=n,n=e),tt.ajax({url:t,type:i,dataType:r,data:n,success:s})}}),tt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:be,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xe[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ie,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":t.String,"text html":!0,"text json":tt.parseJSON,"text xml":tt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?D(D(t,tt.ajaxSettings),e):D(tt.ajaxSettings,t)},ajaxPrefilter:P(ze),ajaxTransport:P(Oe),ajax:function(t,i){function n(t,i,n,s){var r,u,y,_,x,T=i;2!==w&&(w=2,l&&clearTimeout(l),h=e,o=s||"",b.readyState=0n;n++)(t=i[n])()||i[n]!==t||i.splice(n--,1);i.length||tt.fx.stop(),He=e},tt.fx.timer=function(t){t()&&tt.timers.push(t)&&tt.fx.start()},tt.fx.interval=13,tt.fx.start=function(){We||(We=setInterval(tt.fx.tick,tt.fx.interval))},tt.fx.stop=function(){clearInterval(We),We=null},tt.fx.speeds={slow:600,fast:200,_default:400},tt.fx.step={},tt.expr&&tt.expr.filters&&(tt.expr.filters.animated=function(t){return tt.grep(tt.timers,function(e){return t===e.elem}).length}),tt.fn.offset=function(t){if(arguments.length)return t===e?this:this.each(function(e){tt.offset.setOffset(this,t,e)});var i,n,s={top:0,left:0},r=this[0],a=r&&r.ownerDocument;return a?(i=a.documentElement,tt.contains(i,r)?(typeof r.getBoundingClientRect!==X&&(s=r.getBoundingClientRect()),n=L(a),{top:s.top+(n.pageYOffset||i.scrollTop)-(i.clientTop||0),left:s.left+(n.pageXOffset||i.scrollLeft)-(i.clientLeft||0)}):s):void 0},tt.offset={setOffset:function(t,e,i){var n=tt.css(t,"position");"static"===n&&(t.style.position="relative");var s,r,a=tt(t),o=a.offset(),l=tt.css(t,"top"),c=tt.css(t,"left"),h={},u={};("absolute"===n||"fixed"===n)&&-1n.left&&Vn.top-1&&U=c&&(U=r.top)<=G&&(Q=r.right)>=c*tt&&(V=r.left)<=q&&(Z||Q||V||U)&&(n.loadHidden||"hidden"!=E(d[s],"visibility"))&&(H&&pt<3&&!h&&(F<3||dt<4)||mt(d[s],l))){if(Tt(d[s]),o=!0,9=e&&f(s,i,!0)>=e-1)break;e--}r++}return null}(t)}function x(t,e){var i=t.toLowerCase();It[i]=It[i+"s"]=It[e]=t}function b(t){return"string"==typeof t?It[t]||It[t.toLowerCase()]:void 0}function T(t){var e,i,s={};for(i in t)n(t,i)&&(e=b(i))&&(s[e]=t[i]);return s}function S(e,i){return function(n){return null!=n?(M(this,e,n),t.updateOffset(this,i),this):C(this,e)}}function C(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function M(t,e,i){return t._d["set"+(t._isUTC?"UTC":"")+e](i)}function k(t,e){var i;if("object"==typeof t)for(i in t)this.set(i,t[i]);else if("function"==typeof this[t=b(t)])return this[t](e);return this}function P(t,e,i){var n=""+Math.abs(t),s=e-n.length;return(0<=t?i?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}function A(t,e,i,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),t&&(Rt[t]=s),e&&(Rt[e[0]]=function(){return P(s.apply(this,arguments),e[1],e[2])}),i&&(Rt[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function D(t,e){return t.isValid()?(e=E(e,t.localeData()),Yt[e]=Yt[e]||function(t){var e,i,n,s=t.match(Nt);for(e=0,i=s.length;eN(i[te],i[ee])?ie:i[ne]<0||24F(s)&&(a(t)._overflowDayOfYear=!0),i=W(s,0,t._dayOfYear),t._a[ee]=i.getUTCMonth(),t._a[ie]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=T[e]=n[e];for(;e<7;e++)t._a[e]=T[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ne]&&0===t._a[se]&&0===t._a[re]&&0===t._a[ae]&&(t._nextDay=!0,t._a[ne]=0),t._d=(t._useUTC?W:function(t,e,i,n,s,r,a){var o=new Date(t,e,i,n,s,r,a);return t<1970&&o.setFullYear(t),o}).apply(null,T),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ne]=24)}}function V(e){if(e._f!==t.ISO_8601){e._a=[],a(e).empty=!0;var i,s,r,o,l,c,h,u,p,d,f,m,g,v,y=""+e._i,_=y.length,w=0;for(r=E(e._f,e._locale).match(Nt)||[],i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ze.isDSTShifted=function(){if(void 0!==this._isDSTShifted)return this._isDSTShifted;var t={};if(c(t,this),(t=$(t))._a){var e=t._isUTC?r(t._a):Z(t._a);this._isDSTShifted=this.isValid()&&0=n&&h[0]<=n+r&&h[1]>=s&&h[1]<=s+a&&(i=!0)}if(!i)return}w.isHorizontal()?(37!==e&&39!==e||(t.preventDefault?t.preventDefault():t.returnValue=!1),(39===e&&!w.rtl||37===e&&w.rtl)&&w.slideNext(),(37===e&&!w.rtl||39===e&&w.rtl)&&w.slidePrev()):(38!==e&&40!==e||(t.preventDefault?t.preventDefault():t.returnValue=!1),40===e&&w.slideNext(),38===e&&w.slidePrev()),w.emit("onKeyPress",w,e)}}function l(t){t.originalEvent&&(t=t.originalEvent);var e,i,n,s,r,a=0,o=w.rtl?-1:1,l=(r=s=n=i=0,"detail"in(e=t)&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(i=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(i=n,n=0),s=10*i,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(s=e.deltaX),(s||r)&&e.deltaMode&&(1===e.deltaMode?(s*=40,r*=40):(s*=800,r*=800)),s&&!i&&(i=s<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:i,spinY:n,pixelX:s,pixelY:r});if(w.params.mousewheelForceToAxis)if(w.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return;a=l.pixelX*o}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return;a=l.pixelY}else a=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*o:-l.pixelY;if(0!==a){if(w.params.mousewheelInvert&&(a=-a),w.params.freeMode){var c=w.getWrapperTranslate()+a*w.params.mousewheelSensitivity,h=w.isBeginning,u=w.isEnd;if(c>=w.minTranslate()&&(c=w.minTranslate()),c<=w.maxTranslate()&&(c=w.maxTranslate()),w.setWrapperTransition(0),w.setWrapperTranslate(c),w.updateProgress(),w.updateActiveIndex(),(!h&&w.isBeginning||!u&&w.isEnd)&&w.updateClasses(),w.params.freeModeSticky?(clearTimeout(w.mousewheel.timeout),w.mousewheel.timeout=setTimeout(function(){w.slideReset()},300)):w.params.lazyLoading&&w.lazy&&w.lazy.load(),w.emit("onScroll",w,t),w.params.autoplay&&w.params.autoplayDisableOnInteraction&&w.stopAutoplay(),0===c||c===w.maxTranslate())return}else{if(60<(new window.Date).getTime()-w.mousewheel.lastScrollTime)if(a<0)if(w.isEnd&&!w.params.loop||w.animating){if(w.params.mousewheelReleaseOnEdges)return!0}else w.slideNext(),w.emit("onScroll",w,t);else if(w.isBeginning&&!w.params.loop||w.animating){if(w.params.mousewheelReleaseOnEdges)return!0}else w.slidePrev(),w.emit("onScroll",w,t);w.mousewheel.lastScrollTime=(new window.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1}}function c(e,i){e=t(e);var n,s,r,a=w.rtl?-1:1;n=e.attr("data-swiper-parallax")||"0",s=e.attr("data-swiper-parallax-x"),r=e.attr("data-swiper-parallax-y"),s||r?(s=s||"0",r=r||"0"):w.isHorizontal()?(s=n,r="0"):(r=n,s="0"),s=0<=s.indexOf("%")?parseInt(s,10)*i*a+"%":s*i*a+"px",r=0<=r.indexOf("%")?parseInt(r,10)*i+"%":r*i+"px",e.transform("translate3d("+s+", "+r+",0px)")}function p(t){return 0!==t.indexOf("on")&&(t=t[0]!==t[0].toUpperCase()?"on"+t[0].toUpperCase()+t.substring(1):"on"+t),t}if(!(this instanceof h))return new h(e,i);var d={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",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",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},f=i&&i.virtualTranslate;i=i||{};var m={};for(var g in i)if("object"!=typeof i[g]||null===i[g]||i[g].nodeType||i[g]===window||i[g]===document||void 0!==u&&i[g]instanceof u||"undefined"!=typeof jQuery&&i[g]instanceof jQuery)m[g]=i[g];else for(var v in m[g]={},i[g])m[g][v]=i[g][v];for(var y in d)if(void 0===i[y])i[y]=d[y];else if("object"==typeof i[y])for(var _ in d[y])void 0===i[y][_]&&(i[y][_]=d[y][_]);var w=this;if(w.params=i,w.originalParams=m,w.classNames=[],void 0!==t&&void 0!==u&&(t=u),(void 0!==t||(t=void 0===u?window.Dom7||window.Zepto||window.jQuery:u))&&(w.$=t,w.currentBreakpoint=void 0,w.getActiveBreakpoint=function(){if(!w.params.breakpoints)return!1;var t,e=!1,i=[];for(t in w.params.breakpoints)w.params.breakpoints.hasOwnProperty(t)&&i.push(t);i.sort(function(t,e){return parseInt(t,10)>parseInt(e,10)});for(var n=0;n=window.innerWidth&&!e&&(e=t);return e||"max"},w.setBreakpoint=function(){var t=w.getActiveBreakpoint();if(t&&w.currentBreakpoint!==t){var e=t in w.params.breakpoints?w.params.breakpoints[t]:w.originalParams,i=w.params.loop&&e.slidesPerView!==w.params.slidesPerView;for(var n in e)w.params[n]=e[n];w.currentBreakpoint=t,i&&w.destroyLoop&&w.reLoop(!0)}},w.params.breakpoints&&w.setBreakpoint(),w.container=t(e),0!==w.container.length)){if(1w.slides.length)break;e.push(w.slides.eq(n)[0])}else e.push(w.slides.eq(w.activeIndex)[0]);for(t=0;t=c&&(f=0,d++),p=d+f*a/c,m.css({"-webkit-box-ordinal-group":p,"-moz-box-ordinal-group":p,"-ms-flex-order":p,"-webkit-order":p,order:p})):d=t-(f=Math.floor(t/h))*h,m.css("margin-"+(w.isHorizontal()?"top":"left"),0!==f&&w.params.spaceBetween&&w.params.spaceBetween+"px").attr("data-swiper-column",d).attr("data-swiper-row",f)),"none"!==m.css("display")&&("auto"===w.params.slidesPerView?(o=w.isHorizontal()?m.outerWidth(!0):m.outerHeight(!0),w.params.roundLengths&&(o=n(o))):(o=(w.size-(w.params.slidesPerView-1)*e)/w.params.slidesPerView,w.params.roundLengths&&(o=n(o)),w.isHorizontal()?w.slides[t].style.width=o+"px":w.slides[t].style.height=o+"px"),w.slides[t].swiperSlideSize=o,w.slidesSizesGrid.push(o),w.params.centeredSlides?(i=i+o/2+s/2+e,0===s&&0!==t&&(i=i-w.size/2-e),0===t&&(i=i-w.size/2-e),Math.abs(i)<.001&&(i=0),r%w.params.slidesPerGroup==0&&w.snapGrid.push(i),w.slidesGrid.push(i)):(r%w.params.slidesPerGroup==0&&w.snapGrid.push(i),w.slidesGrid.push(i),i=i+o+e),w.virtualSize+=o+e,s=o,r++)}if(w.virtualSize=Math.max(w.virtualSize,w.size)+w.params.slidesOffsetAfter,w.rtl&&w.wrongRTL&&("slide"===w.params.effect||"coverflow"===w.params.effect)&&w.wrapper.css({width:w.virtualSize+w.params.spaceBetween+"px"}),w.support.flexbox&&!w.params.setWrapperSize||(w.isHorizontal()?w.wrapper.css({width:w.virtualSize+w.params.spaceBetween+"px"}):w.wrapper.css({height:w.virtualSize+w.params.spaceBetween+"px"})),1w.size&&(n=!0));for(e=w.activeIndex-1;0<=e;e--)w.slides[e]&&!n&&(i++,(s+=w.slides[e].swiperSlideSize)>w.size&&(n=!0))}else for(t=w.activeIndex+1;t=w.size)&&w.slides.eq(i).addClass(w.params.slideVisibleClass)}n.progress=w.rtl?-s:s}}},w.updateProgress=function(t){void 0===t&&(t=w.translate||0);var e=w.maxTranslate()-w.minTranslate(),i=w.isBeginning,n=w.isEnd;0===e?(w.progress=0,w.isBeginning=w.isEnd=!0):(w.progress=(t-w.minTranslate())/e,w.isBeginning=w.progress<=0,w.isEnd=1<=w.progress),w.isBeginning&&!i&&w.emit("onReachBeginning",w),w.isEnd&&!n&&w.emit("onReachEnd",w),w.params.watchSlidesProgress&&w.updateSlidesProgress(t),w.emit("onProgress",w,w.progress)},w.updateActiveIndex=function(){var t,e,i,n=w.rtl?w.translate:-w.translate;for(e=0;e=w.slidesGrid[e]&&n=w.slidesGrid[e]&&n=w.slidesGrid[e]&&(t=e);w.params.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),(i=Math.floor(t/w.params.slidesPerGroup))>=w.snapGrid.length&&(i=w.snapGrid.length-1),t!==w.activeIndex&&(w.snapIndex=i,w.previousIndex=w.activeIndex,w.activeIndex=t,w.updateClasses(),w.updateRealIndex())},w.updateRealIndex=function(){w.realIndex=parseInt(w.slides.eq(w.activeIndex).attr("data-swiper-slide-index")||w.activeIndex,10)},w.updateClasses=function(){w.slides.removeClass(w.params.slideActiveClass+" "+w.params.slideNextClass+" "+w.params.slidePrevClass+" "+w.params.slideDuplicateActiveClass+" "+w.params.slideDuplicateNextClass+" "+w.params.slideDuplicatePrevClass);var e=w.slides.eq(w.activeIndex);e.addClass(w.params.slideActiveClass),i.loop&&(e.hasClass(w.params.slideDuplicateClass)?w.wrapper.children("."+w.params.slideClass+":not(."+w.params.slideDuplicateClass+')[data-swiper-slide-index="'+w.realIndex+'"]').addClass(w.params.slideDuplicateActiveClass):w.wrapper.children("."+w.params.slideClass+"."+w.params.slideDuplicateClass+'[data-swiper-slide-index="'+w.realIndex+'"]').addClass(w.params.slideDuplicateActiveClass));var n=e.next("."+w.params.slideClass).addClass(w.params.slideNextClass);w.params.loop&&0===n.length&&(n=w.slides.eq(0)).addClass(w.params.slideNextClass);var s=e.prev("."+w.params.slideClass).addClass(w.params.slidePrevClass);if(w.params.loop&&0===s.length&&(s=w.slides.eq(-1)).addClass(w.params.slidePrevClass),i.loop&&(n.hasClass(w.params.slideDuplicateClass)?w.wrapper.children("."+w.params.slideClass+":not(."+w.params.slideDuplicateClass+')[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(w.params.slideDuplicateNextClass):w.wrapper.children("."+w.params.slideClass+"."+w.params.slideDuplicateClass+'[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(w.params.slideDuplicateNextClass),s.hasClass(w.params.slideDuplicateClass)?w.wrapper.children("."+w.params.slideClass+":not(."+w.params.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(w.params.slideDuplicatePrevClass):w.wrapper.children("."+w.params.slideClass+"."+w.params.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(w.params.slideDuplicatePrevClass)),w.paginationContainer&&0w.slides.length-1-2*w.loopedSlides&&(r-=w.slides.length-2*w.loopedSlides),a-1";w.paginationContainer.html(t),w.bullets=w.paginationContainer.find("."+w.params.bulletClass),w.params.paginationClickable&&w.params.a11y&&w.a11y&&w.a11y.initPagination()}"fraction"===w.params.paginationType&&(t=w.params.paginationFractionRender?w.params.paginationFractionRender(w,w.params.paginationCurrentClass,w.params.paginationTotalClass):' / ',w.paginationContainer.html(t)),"progress"===w.params.paginationType&&(t=w.params.paginationProgressRender?w.params.paginationProgressRender(w,w.params.paginationProgressbarClass):'',w.paginationContainer.html(t)),"custom"!==w.params.paginationType&&w.emit("onPaginationRendered",w,w.paginationContainer[0])}},w.update=function(t){function e(){w.rtl,w.translate,i=Math.min(Math.max(w.translate,w.maxTranslate()),w.minTranslate()),w.setWrapperTranslate(i),w.updateActiveIndex(),w.updateClasses()}var i;w&&(w.updateContainerSize(),w.updateSlidesSize(),w.updateProgress(),w.updatePagination(),w.updateClasses(),w.params.scrollbar&&w.scrollbar&&w.scrollbar.set(),t?(w.controller&&w.controller.spline&&(w.controller.spline=void 0),w.params.freeMode?(e(),w.params.autoHeight&&w.updateAutoHeight()):(("auto"===w.params.slidesPerView||1w.slides.length-w.loopedSlides+l/2?(w.fixLoop(),o=w.wrapper.children("."+w.params.slideClass+'[data-swiper-slide-index="'+a+'"]:not(.'+w.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){w.slideTo(o)},0)):w.slideTo(o):o>w.slides.length-l?(w.fixLoop(),o=w.wrapper.children("."+w.params.slideClass+'[data-swiper-slide-index="'+a+'"]:not(.'+w.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){w.slideTo(o)},0)):w.slideTo(o)}else w.slideTo(o)}};var b,T,S,C,M,k,P,A,D,E,z,O,I="input, select, textarea, button, video",N=Date.now(),L=[];for(var Y in w.animating=!1,w.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0},w.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),(z="touchstart"===e.type)||!("which"in e)||3!==e.which){if(w.params.noSwiping&&r(e,"."+w.params.noSwipingClass))return void(w.allowClick=!0);if(!w.params.swipeHandler||r(e,w.params.swipeHandler)){var i=w.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,n=w.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY;if(!(w.device.ios&&w.params.iOSEdgeSwipeDetection&&i<=w.params.iOSEdgeSwipeThreshold)){if(S=!(T=!(b=!0)),O=M=void 0,w.touches.startX=i,w.touches.startY=n,C=Date.now(),w.allowClick=!0,w.updateContainerSize(),w.swipeDirection=void 0,0w.touches.startX&&w.translate>=w.minTranslate())return}else if(w.touches.currentYw.touches.startY&&w.translate>=w.minTranslate())return;if(z&&document.activeElement&&e.target===document.activeElement&&t(e.target).is(I))return T=!0,void(w.allowClick=!1);var n;if(S&&w.emit("onTouchMove",w,e),!(e.targetTouches&&1w.params.touchAngle:90-n>w.params.touchAngle)),M&&w.emit("onTouchMoveOpposite",w,e),void 0===O&&(w.touches.currentX===w.touches.startX&&w.touches.currentY===w.touches.startY||(O=!0)),b){if(M)return void(b=!1);if(O){w.allowClick=!1,w.emit("onSliderMove",w,e),e.preventDefault(),w.params.touchMoveStopPropagation&&!w.params.nested&&e.stopPropagation(),T||(i.loop&&w.fixLoop(),P=w.getWrapperTranslate(),w.setWrapperTransition(0),w.animating&&w.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),w.params.autoplay&&w.autoplaying&&(w.params.autoplayDisableOnInteraction?w.stopAutoplay():w.pauseAutoplay()),E=!1,!w.params.grabCursor||!0!==w.params.allowSwipeToNext&&!0!==w.params.allowSwipeToPrev||w.setGrabCursor(!0)),T=!0;var s=w.touches.diff=w.isHorizontal()?w.touches.currentX-w.touches.startX:w.touches.currentY-w.touches.startY;s*=w.params.touchRatio,w.rtl&&(s=-s),w.swipeDirection=0w.minTranslate()?(r=!1,w.params.resistance&&(k=w.minTranslate()-1+Math.pow(-w.minTranslate()+P+s,w.params.resistanceRatio))):s<0&&kw.params.threshold||A))return void(k=P);if(!A)return A=!0,w.touches.startX=w.touches.currentX,w.touches.startY=w.touches.currentY,k=P,void(w.touches.diff=w.isHorizontal()?w.touches.currentX-w.touches.startX:w.touches.currentY-w.touches.startY)}w.params.followFinger&&((w.params.freeMode||w.params.watchSlidesProgress)&&w.updateActiveIndex(),w.params.freeMode&&(0===L.length&&L.push({position:w.touches[w.isHorizontal()?"startX":"startY"],time:C}),L.push({position:w.touches[w.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),w.updateProgress(k),w.setWrapperTranslate(k))}}}},w.onTouchEnd=function(e){if(e.originalEvent&&(e=e.originalEvent),S&&w.emit("onTouchEnd",w,e),S=!1,b){w.params.grabCursor&&T&&b&&(!0===w.params.allowSwipeToNext||!0===w.params.allowSwipeToPrev)&&w.setGrabCursor(!1);var i,n=Date.now(),s=n-C;if(w.allowClick&&(w.updateClickedSlide(e),w.emit("onTap",w,e),s<300&&300-w.maxTranslate())return void(w.slides.lengthw.minTranslate())w.params.freeModeMomentumBounce?(u-w.minTranslate()>f&&(u=w.minTranslate()+f),p=w.minTranslate(),E=d=!0):u=w.minTranslate();else if(w.params.freeModeSticky){var m,g=0;for(g=0;g-u){m=g;break}u=Math.abs(w.snapGrid[m]-u)=w.params.longSwipesMs)&&(w.updateProgress(),w.updateActiveIndex()))}var v,y=0,_=w.slidesSizesGrid[0];for(v=0;v=w.slidesGrid[v]&&i=w.slidesGrid[v]&&(y=v,_=w.slidesGrid[w.slidesGrid.length-1]-w.slidesGrid[w.slidesGrid.length-2]);var x=(i-w.slidesGrid[y])/_;if(s>w.params.longSwipesMs){if(!w.params.longSwipes)return void w.slideTo(w.activeIndex);"next"===w.swipeDirection&&(x>=w.params.longSwipesRatio?w.slideTo(y+w.params.slidesPerGroup):w.slideTo(y)),"prev"===w.swipeDirection&&(x>1-w.params.longSwipesRatio?w.slideTo(y+w.params.slidesPerGroup):w.slideTo(y))}else{if(!w.params.shortSwipes)return void w.slideTo(w.activeIndex);"next"===w.swipeDirection&&w.slideTo(y+w.params.slidesPerGroup),"prev"===w.swipeDirection&&w.slideTo(y)}}},w._slideTo=function(t,e){return w.slideTo(t,e,!0,!0)},w.slideTo=function(t,e,i,n){void 0===i&&(i=!0),void 0===t&&(t=0),t<0&&(t=0),w.snapIndex=Math.floor(t/w.params.slidesPerGroup),w.snapIndex>=w.snapGrid.length&&(w.snapIndex=w.snapGrid.length-1);var s=-w.snapGrid[w.snapIndex];if(w.params.autoplay&&w.autoplaying&&(n||!w.params.autoplayDisableOnInteraction?w.pauseAutoplay(e):w.stopAutoplay()),w.updateProgress(s),w.params.normalizeSlideIndex)for(var r=0;r=Math.floor(100*w.slidesGrid[r])&&(t=r);return!(!w.params.allowSwipeToNext&&sw.translate&&s>w.maxTranslate()&&(w.activeIndex||0)!==t||(void 0===e&&(e=w.params.speed),w.previousIndex=w.activeIndex||0,w.activeIndex=t,w.updateRealIndex(),w.rtl&&-s===w.translate||!w.rtl&&s===w.translate?(w.params.autoHeight&&w.updateAutoHeight(),w.updateClasses(),"slide"!==w.params.effect&&w.setWrapperTranslate(s),1):(w.updateClasses(),w.onTransitionStart(i),0===e||w.browser.lteIE9?(w.setWrapperTranslate(s),w.setWrapperTransition(0),w.onTransitionEnd(i)):(w.setWrapperTranslate(s),w.setWrapperTransition(e),w.animating||(w.animating=!0,w.wrapper.transitionEnd(function(){w&&w.onTransitionEnd(i)}))),0)))},w.onTransitionStart=function(t){void 0===t&&(t=!0),w.params.autoHeight&&w.updateAutoHeight(),w.lazy&&w.lazy.onTransitionStart(),t&&(w.emit("onTransitionStart",w),w.activeIndex!==w.previousIndex&&(w.emit("onSlideChangeStart",w),w.activeIndex>w.previousIndex?w.emit("onSlideNextStart",w):w.emit("onSlidePrevStart",w)))},w.onTransitionEnd=function(t){w.animating=!1,w.setWrapperTransition(0),void 0===t&&(t=!0),w.lazy&&w.lazy.onTransitionEnd(),t&&(w.emit("onTransitionEnd",w),w.activeIndex!==w.previousIndex&&(w.emit("onSlideChangeEnd",w),w.activeIndex>w.previousIndex?w.emit("onSlideNextEnd",w):w.emit("onSlidePrevEnd",w))),w.params.history&&w.history&&w.history.setHistory(w.params.history,w.activeIndex),w.params.hashnav&&w.hashnav&&w.hashnav.setHash()},w.slideNext=function(t,e,i){return w.params.loop?!w.animating&&(w.fixLoop(),w.container[0].clientLeft,w.slideTo(w.activeIndex+w.params.slidesPerGroup,e,t,i)):w.slideTo(w.activeIndex+w.params.slidesPerGroup,e,t,i)},w._slideNext=function(t){return w.slideNext(!0,t,!0)},w.slidePrev=function(t,e,i){return w.params.loop?!w.animating&&(w.fixLoop(),w.container[0].clientLeft,w.slideTo(w.activeIndex-1,e,t,i)):w.slideTo(w.activeIndex-1,e,t,i)},w._slidePrev=function(t){return w.slidePrev(!0,t,!0)},w.slideReset=function(t,e,i){return w.slideTo(w.activeIndex,e,t)},w.disableTouchControl=function(){return w.params.onlyExternal=!0},w.enableTouchControl=function(){return!(w.params.onlyExternal=!1)},w.setWrapperTransition=function(t,e){w.wrapper.transition(t),"slide"!==w.params.effect&&w.effects[w.params.effect]&&w.effects[w.params.effect].setTransition(t),w.params.parallax&&w.parallax&&w.parallax.setTransition(t),w.params.scrollbar&&w.scrollbar&&w.scrollbar.setTransition(t),w.params.control&&w.controller&&w.controller.setTransition(t,e),w.emit("onSetTransition",w,t)},w.setWrapperTranslate=function(t,e,i){var s=0,r=0;w.isHorizontal()?s=w.rtl?-t:t:r=t,w.params.roundLengths&&(s=n(s),r=n(r)),w.params.virtualTranslate||(w.support.transforms3d?w.wrapper.transform("translate3d("+s+"px, "+r+"px, 0px)"):w.wrapper.transform("translate("+s+"px, "+r+"px)")),w.translate=w.isHorizontal()?s:r;var a=w.maxTranslate()-w.minTranslate();(0===a?0:(t-w.minTranslate())/a)!==w.progress&&w.updateProgress(t),e&&w.updateActiveIndex(),"slide"!==w.params.effect&&w.effects[w.params.effect]&&w.effects[w.params.effect].setTranslate(w.translate),w.params.parallax&&w.parallax&&w.parallax.setTranslate(w.translate),w.params.scrollbar&&w.scrollbar&&w.scrollbar.setTranslate(w.translate),w.params.control&&w.controller&&w.controller.setTranslate(w.translate,i),w.emit("onSetTranslate",w,w.translate)},w.getTranslate=function(t,e){var i,n,s,r;return void 0===e&&(e="x"),w.params.virtualTranslate?w.rtl?-w.translate:w.translate:(s=window.getComputedStyle(t,null),window.WebKitCSSMatrix?(6<(n=s.transform||s.webkitTransform).split(",").length&&(n=n.split(", ").map(function(t){return t.replace(",",".")}).join(", ")),r=new window.WebKitCSSMatrix("none"===n?"":n)):i=(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===e&&(n=window.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===e&&(n=window.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),w.rtl&&n&&(n=-n),n||0)},w.getWrapperTranslate=function(t){return void 0===t&&(t=w.isHorizontal()?"x":"y"),w.getTranslate(w.wrapper[0],t)},w.observers=[],w.initObservers=function(){if(w.params.observeParents)for(var t=w.container.parents(),e=0;ee.length&&(w.loopedSlides=e.length);var i,n=[],s=[];for(e.each(function(i,r){var a=t(this);i=e.length-w.loopedSlides&&n.push(r),a.attr("data-swiper-slide-index",i)}),i=0;i=2*w.loopedSlides||w.activeIndex>w.slides.length-2*w.params.slidesPerView)&&(t=-w.slides.length+w.activeIndex+w.loopedSlides,t+=w.loopedSlides,w.slideTo(t,0,!1,!0))},w.appendSlide=function(t){if(w.params.loop&&w.destroyLoop(),"object"==typeof t&&t.length)for(var e=0;e'),i.append(l)),0===c.length&&(c=t('
'),i.append(c)),l.length&&(l[0].style.opacity=Math.max(-n,0)),c.length&&(c[0].style.opacity=Math.max(n,0))}i.transform("translate3d("+a+"px, "+o+"px, 0px) rotateX("+r+"deg) rotateY("+s+"deg)")}},setTransition:function(e){if(w.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),w.params.virtualTranslate&&0!==e){var i=!1;w.slides.eq(w.activeIndex).transitionEnd(function(){if(!i&&w&&t(this).hasClass(w.params.slideActiveClass)){i=!0,w.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],n=0;n'),w.wrapper.append(e)),e.css({height:w.width+"px"})):0===(e=w.container.find(".swiper-cube-shadow")).length&&(e=t('
'),w.container.append(e)));for(var n=0;n'),s.append(p)),0===d.length&&(d=t('
'),s.append(d)),p.length&&(p[0].style.opacity=Math.max(-o,0)),d.length&&(d[0].style.opacity=Math.max(o,0))}}if(w.wrapper.css({"-webkit-transform-origin":"50% 50% -"+w.size/2+"px","-moz-transform-origin":"50% 50% -"+w.size/2+"px","-ms-transform-origin":"50% 50% -"+w.size/2+"px","transform-origin":"50% 50% -"+w.size/2+"px"}),w.params.cube.shadow)if(w.isHorizontal())e.transform("translate3d(0px, "+(w.width/2+w.params.cube.shadowOffset)+"px, "+-w.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+w.params.cube.shadowScale+")");else{var f=Math.abs(i)-90*Math.floor(Math.abs(i)/90),m=1.5-(Math.sin(2*f*Math.PI/360)/2+Math.cos(2*f*Math.PI/360)/2),g=w.params.cube.shadowScale,v=w.params.cube.shadowScale/m,y=w.params.cube.shadowOffset;e.transform("scale3d("+g+", 1, "+v+") translate3d(0px, "+(w.height/2+y)+"px, "+-w.height/2/v+"px) rotateX(-90deg)")}var _=w.isSafari||w.isUiWebView?-w.size/2:0;w.wrapper.transform("translate3d(0px,0,"+_+"px) rotateX("+(w.isHorizontal()?0:i)+"deg) rotateY("+(w.isHorizontal()?-i:0)+"deg)")},setTransition:function(t){w.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),w.params.cube.shadow&&!w.isHorizontal()&&w.container.find(".swiper-cube-shadow").transition(t)}},coverflow:{setTranslate:function(){for(var e=w.translate,i=w.isHorizontal()?-e+w.width/2:-e+w.height/2,n=w.isHorizontal()?w.params.coverflow.rotate:-w.params.coverflow.rotate,s=w.params.coverflow.depth,r=0,a=w.slides.length;r'),o.append(g)),0===v.length&&(v=t('
'),o.append(v)),g.length&&(g[0].style.opacity=0'),e.track.append(e.drag)),e.drag[0].style.width="",e.drag[0].style.height="",e.trackSize=w.isHorizontal()?e.track[0].offsetWidth:e.track[0].offsetHeight,e.divider=w.size/w.virtualSize,e.moveDivider=e.divider*(e.trackSize/w.size),e.dragSize=e.trackSize*e.divider,w.isHorizontal()?e.drag[0].style.width=e.dragSize+"px":e.drag[0].style.height=e.dragSize+"px",1<=e.divider?e.track[0].style.display="none":e.track[0].style.display="",w.params.scrollbarHide&&(e.track[0].style.opacity=0)}},setTranslate:function(){if(w.params.scrollbar){var t,e=w.scrollbar,i=(w.translate,e.dragSize);t=(e.trackSize-e.dragSize)*w.progress,w.rtl&&w.isHorizontal()?0<(t=-t)?(i=e.dragSize-t,t=0):-t+e.dragSize>e.trackSize&&(i=e.trackSize+t):t<0?(i=e.dragSize+t,t=0):t+e.dragSize>e.trackSize&&(i=e.trackSize-t),w.isHorizontal()?(w.support.transforms3d?e.drag.transform("translate3d("+t+"px, 0, 0)"):e.drag.transform("translateX("+t+"px)"),e.drag[0].style.width=i+"px"):(w.support.transforms3d?e.drag.transform("translate3d(0px, "+t+"px, 0)"):e.drag.transform("translateY("+t+"px)"),e.drag[0].style.height=i+"px"),w.params.scrollbarHide&&(clearTimeout(e.timeout),e.track[0].style.opacity=1,e.timeout=setTimeout(function(){e.track[0].style.opacity=0,e.track.transition(400)},1e3))}},setTransition:function(t){w.params.scrollbar&&w.scrollbar.drag.transition(t)}},w.controller={LinearSpline:function(t,e){var i,n,s,r,a,o=function(t,e){for(n=-1,i=t.length;1>1]<=e?n=s:i=s;return i};this.x=t,this.y=e,this.lastIndex=t.length-1,this.x.length,this.interpolate=function(t){return t?(a=o(this.x,t),r=a-1,(t-this.x[r])*(this.y[a]-this.y[r])/(this.x[a]-this.x[r])+this.y[r]):0}},getInterpolateFunction:function(t){w.controller.spline||(w.controller.spline=w.params.loop?new w.controller.LinearSpline(w.slidesGrid,t.slidesGrid):new w.controller.LinearSpline(w.snapGrid,t.snapGrid))},setTranslate:function(t,e){function i(e){t=e.rtl&&"horizontal"===e.params.direction?-w.translate:w.translate,"slide"===w.params.controlBy&&(w.controller.getInterpolateFunction(e),s=-w.controller.spline.interpolate(-t)),s&&"container"!==w.params.controlBy||(n=(e.maxTranslate()-e.minTranslate())/(w.maxTranslate()-w.minTranslate()),s=(t-w.minTranslate())*n+e.minTranslate()),w.params.controlInverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setWrapperTranslate(s,!1,w),e.updateActiveIndex()}var n,s,r=w.params.control;if(Array.isArray(r))for(var a=0;ae.gesture.zoomMax&&(e.scale=e.gesture.zoomMax-1+Math.pow(e.scale-e.gesture.zoomMax+1,.5)),e.scalee.image.touchesStart.x)return void(e.image.isTouched=!1);if(!w.isHorizontal()&&Math.floor(e.image.minY)===Math.floor(e.image.startY)&&e.image.touchesCurrent.ye.image.touchesStart.y)return void(e.image.isTouched=!1)}t.preventDefault(),t.stopPropagation(),e.image.isMoved=!0,e.image.currentX=e.image.touchesCurrent.x-e.image.touchesStart.x+e.image.startX,e.image.currentY=e.image.touchesCurrent.y-e.image.touchesStart.y+e.image.startY,e.image.currentXe.image.maxX&&(e.image.currentX=e.image.maxX-1+Math.pow(e.image.currentX-e.image.maxX+1,.8)),e.image.currentYe.image.maxY&&(e.image.currentY=e.image.maxY-1+Math.pow(e.image.currentY-e.image.maxY+1,.8)),e.velocity.prevPositionX||(e.velocity.prevPositionX=e.image.touchesCurrent.x),e.velocity.prevPositionY||(e.velocity.prevPositionY=e.image.touchesCurrent.y),e.velocity.prevTime||(e.velocity.prevTime=Date.now()),e.velocity.x=(e.image.touchesCurrent.x-e.velocity.prevPositionX)/(Date.now()-e.velocity.prevTime)/2,e.velocity.y=(e.image.touchesCurrent.y-e.velocity.prevPositionY)/(Date.now()-e.velocity.prevTime)/2,Math.abs(e.image.touchesCurrent.x-e.velocity.prevPositionX)<2&&(e.velocity.x=0),Math.abs(e.image.touchesCurrent.y-e.velocity.prevPositionY)<2&&(e.velocity.y=0),e.velocity.prevPositionX=e.image.touchesCurrent.x,e.velocity.prevPositionY=e.image.touchesCurrent.y,e.velocity.prevTime=Date.now(),e.gesture.imageWrap.transform("translate3d("+e.image.currentX+"px, "+e.image.currentY+"px,0)")}}},onTouchEnd:function(t,e){var i=t.zoom;if(i.gesture.image&&0!==i.gesture.image.length){if(!i.image.isTouched||!i.image.isMoved)return i.image.isTouched=!1,void(i.image.isMoved=!1);i.image.isTouched=!1,i.image.isMoved=!1;var n=300,s=300,r=i.velocity.x*n,a=i.image.currentX+r,o=i.velocity.y*s,l=i.image.currentY+o;0!==i.velocity.x&&(n=Math.abs((a-i.image.currentX)/i.velocity.x)),0!==i.velocity.y&&(s=Math.abs((l-i.image.currentY)/i.velocity.y));var c=Math.max(n,s);i.image.currentX=a,i.image.currentY=l;var h=i.image.width*i.scale,u=i.image.height*i.scale;i.image.minX=Math.min(i.gesture.slideWidth/2-h/2,0),i.image.maxX=-i.image.minX,i.image.minY=Math.min(i.gesture.slideHeight/2-u/2,0),i.image.maxY=-i.image.minY,i.image.currentX=Math.max(Math.min(i.image.currentX,i.image.maxX),i.image.minX),i.image.currentY=Math.max(Math.min(i.image.currentY,i.image.maxY),i.image.minY),i.gesture.imageWrap.transition(c).transform("translate3d("+i.image.currentX+"px, "+i.image.currentY+"px,0)")}},onTransitionEnd:function(t){var e=t.zoom;e.gesture.slide&&t.previousIndex!==t.activeIndex&&(e.gesture.image.transform("translate3d(0,0,0) scale(1)"),e.gesture.imageWrap.transform("translate3d(0,0,0)"),e.gesture.slide=e.gesture.image=e.gesture.imageWrap=void 0,e.scale=e.currentScale=1)},toggleZoom:function(e,i){var n,s,r,a,o,l,c,h,u,p,d,f,m,g,v,y,_=e.zoom;_.gesture.slide||(_.gesture.slide=e.clickedSlide?t(e.clickedSlide):e.slides.eq(e.activeIndex),_.gesture.image=_.gesture.slide.find("img, svg, canvas"),_.gesture.imageWrap=_.gesture.image.parent("."+e.params.zoomContainerClass)),_.gesture.image&&0!==_.gesture.image.length&&(void 0===_.image.touchesStart.x&&i?(n="touchend"===i.type?i.changedTouches[0].pageX:i.pageX,s="touchend"===i.type?i.changedTouches[0].pageY:i.pageY):(n=_.image.touchesStart.x,s=_.image.touchesStart.y),_.scale&&1!==_.scale?(_.scale=_.currentScale=1,_.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"),_.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),_.gesture.slide=void 0):(_.scale=_.currentScale=_.gesture.imageWrap.attr("data-swiper-zoom")||e.params.zoomMax,i?(v=_.gesture.slide[0].offsetWidth,y=_.gesture.slide[0].offsetHeight,r=_.gesture.slide.offset().left+v/2-n,a=_.gesture.slide.offset().top+y/2-s,c=_.gesture.image[0].offsetWidth,h=_.gesture.image[0].offsetHeight,u=c*_.scale,p=h*_.scale,m=-(d=Math.min(v/2-u/2,0)),g=-(f=Math.min(y/2-p/2,0)),(o=r*_.scale)'),notify:function(t){var e=w.a11y.liveRegion;0!==e.length&&(e.html(""),e.html(t))},init:function(){w.params.nextButton&&w.nextButton&&0",1===o.getElementsByTagName("i").length)},device:(i=window.navigator.userAgent,n=i.match(/(Android);?[\s\/]+([\d.]+)?/),s=i.match(/(iPad).*OS\s([\d_]+)/),r=i.match(/(iPod)(.*OS\s([\d_]+))?/),a=!s&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),{ios:s||a||r,android:n}),support:{touch:window.Modernizr&&!0===Modernizr.touch||!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch),transforms3d:window.Modernizr&&!0===Modernizr.csstransforms3d||(e=document.createElement("div").style,"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e),flexbox:function(){for(var t=document.createElement("div").style,e="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i")){var l="div";for(0===o.indexOf(":~]/)?(i||document).querySelectorAll(e):[document.getElementById(e.split("#")[1])],s=0;s