").append(oe.parseHTML(e)).find(i):e)}).complete(n&&function(e,t){s.each(n,o||[e.responseText,t,e])}),this},oe.expr.filters.animated=function(e){return oe.grep(oe.timers,function(t){return e===t.elem}).length}
var nn=e.document.documentElement
oe.offset={setOffset:function(e,t,n){var i,o,r,s,a,l,c,u=oe.css(e,"position"),h=oe(e),d={}
"static"===u&&(e.style.position="relative"),a=h.offset(),r=oe.css(e,"top"),l=oe.css(e,"left"),c=("absolute"===u||"fixed"===u)&&oe.inArray("auto",[r,l])>-1,c?(i=h.position(),s=i.top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),oe.isFunction(t)&&(t=t.call(e,n,a)),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+o),"using"in t?t.using.call(e,d):h.css(d)}},oe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){oe.offset.setOffset(this,e,t)})
var t,n,i={top:0,left:0},o=this[0],r=o&&o.ownerDocument
return r?(t=r.documentElement,oe.contains(t,o)?(typeof o.getBoundingClientRect!==Se&&(i=o.getBoundingClientRect()),n=V(r),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0]
return"fixed"===oe.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),oe.nodeName(e[0],"html")||(n=e.offset()),n.top+=oe.css(e[0],"borderTopWidth",!0),n.left+=oe.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-oe.css(i,"marginTop",!0),left:t.left-n.left-oe.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||nn;e&&!oe.nodeName(e,"html")&&"static"===oe.css(e,"position");)e=e.offsetParent
return e||nn})}}),oe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t)
oe.fn[e]=function(i){return Pe(this,function(e,i,o){var r=V(e)
return void 0===o?r?t in r?r[t]:r.document.documentElement[i]:e[i]:void(r?r.scrollTo(n?oe(r).scrollLeft():o,n?o:oe(r).scrollTop()):e[i]=o)},e,i,arguments.length,null)}}),oe.each(["top","left"],function(e,t){oe.cssHooks[t]=C(ne.pixelPosition,function(e,n){return n?(n=tt(e,t),it.test(n)?oe(e).position()[t]+"px":n):void 0})}),oe.each({Height:"height",Width:"width"},function(e,t){oe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){oe.fn[i]=function(i,o){var r=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||o===!0?"margin":"border")
return Pe(this,function(t,n,i){var o
return oe.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?oe.css(t,n,s):oe.style(t,n,i,s)},t,r?i:void 0,r,null)}})}),oe.fn.size=function(){return this.length},oe.fn.andSelf=oe.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return oe})
var on=e.jQuery,rn=e.$
return oe.noConflict=function(t){return e.$===oe&&(e.$=rn),t&&e.jQuery===oe&&(e.jQuery=on),oe},typeof t===Se&&(e.jQuery=e.$=oe),oe}),function(e,t,n){function i(n,i){this.wrapper="string"==typeof n?t.querySelector(n):n,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!a.hasPointer,disableTouch:a.hasPointer||!a.hasTouch,disableMouse:a.hasPointer||a.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:"undefined"==typeof e.onmousedown}
for(var o in i)this.options[o]=i[o]
this.translateZ=this.options.HWCompositing&&a.hasPerspective?" translateZ(0)":"",this.options.useTransition=a.hasTransition&&this.options.useTransition,this.options.useTransform=a.hasTransform&&this.options.useTransform,this.options.eventPassthrough=!0===this.options.eventPassthrough?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?a.ease[this.options.bounceEasing]||a.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,!0===this.options.tap&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.directionY=this.directionX=this.y=this.x=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function o(e,n,i){var o=t.createElement("div"),r=t.createElement("div")
return!0===i&&(o.style.cssText="position:absolute;z-index:9999",r.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),r.className="iScrollIndicator","h"==e?(!0===i&&(o.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",r.style.height="100%"),o.className="iScrollHorizontalScrollbar"):(!0===i&&(o.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",r.style.width="100%"),o.className="iScrollVerticalScrollbar"),o.style.cssText+=";overflow:hidden",n||(o.style.pointerEvents="none"),o.appendChild(r),o}function r(n,i){this.wrapper="string"==typeof i.el?t.querySelector(i.el):i.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=n,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0}
for(var o in i)this.options[o]=i[o]
if(this.sizeRatioY=this.sizeRatioX=1,this.maxPosY=this.maxPosX=0,this.options.interactive&&(this.options.disableTouch||(a.addEvent(this.indicator,"touchstart",this),a.addEvent(e,"touchend",this)),this.options.disablePointer||(a.addEvent(this.indicator,a.prefixPointerEvent("pointerdown"),this),a.addEvent(e,a.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(a.addEvent(this.indicator,"mousedown",this),a.addEvent(e,"mouseup",this))),this.options.fade){this.wrapperStyle[a.style.transform]=this.scroller.translateZ
var r=a.style.transitionDuration
if(r){this.wrapperStyle[r]=a.isBadAndroid?"0.0001ms":"0ms"
var l=this
a.isBadAndroid&&s(function(){"0.0001ms"===l.wrapperStyle[r]&&(l.wrapperStyle[r]="0s")}),this.wrapperStyle.opacity="0"}}}var s=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){e.setTimeout(t,1e3/60)},a=function(){function i(e){return!1!==s&&(""===s?e:s+e.charAt(0).toUpperCase()+e.substr(1))}var o={},r=t.createElement("div").style,s=function(){for(var e,t=["t","webkitT","MozT","msT","OT"],n=0,i=t.length;n
t?-1:1),s=i/s,aparseFloat(t[1]))}(),o.extend(o.style={},{transform:a,transitionTimingFunction:i("transitionTimingFunction"),transitionDuration:i("transitionDuration"),transitionDelay:i("transitionDelay"),transformOrigin:i("transformOrigin")}),o.hasClass=function(e,t){return new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},o.addClass=function(e,t){if(!o.hasClass(e,t)){var n=e.className.split(" ")
n.push(t),e.className=n.join(" ")}},o.removeClass=function(e,t){o.hasClass(e,t)&&(e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(\\s|$)","g")," "))},o.offset=function(e){for(var t=-e.offsetLeft,n=-e.offsetTop;e=e.offsetParent;)t-=e.offsetLeft,n-=e.offsetTop
return{left:t,top:n}},o.preventDefaultException=function(e,t){for(var n in t)if(t[n].test(e[n]))return!0
return!1},o.extend(o.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),o.extend(o.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(e){return e*(2-e)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(e){return n.sqrt(1- --e*e)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(e){return--e*e*(5*e+4)+1}},bounce:{style:"",fn:function(e){return(e/=1)e.button?0:4==e.button?1:2)||!this.enabled||this.initiated&&a.eventType[e.type]!==this.initiated)){!this.options.preventDefault||a.isBadAndroid||a.preventDefaultException(e.target,this.options.preventDefaultException)||e.preventDefault()
var t=e.touches?e.touches[0]:e
this.initiated=a.eventType[e.type],this.moved=!1,this.directionLocked=this.directionY=this.directionX=this.distY=this.distX=0,this.startTime=a.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,e=this.getComputedPosition(),this._translate(n.round(e.x),n.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=t.pageX,this.pointY=t.pageY,this._execEvent("beforeScrollStart")}},_move:function(e){if(this.enabled&&a.eventType[e.type]===this.initiated){this.options.preventDefault&&e.preventDefault()
var t,i=e.touches?e.touches[0]:e,o=i.pageX-this.pointX,r=i.pageY-this.pointY,s=a.getTime()
if(this.pointX=i.pageX,this.pointY=i.pageY,this.distX+=o,this.distY+=r,i=n.abs(this.distX),t=n.abs(this.distY),!(300i&&10>t)){if(this.directionLocked||this.options.freeScroll||(this.directionLocked=i>t+this.options.directionLockThreshold?"h":t>=i+this.options.directionLockThreshold?"v":"n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)e.preventDefault()
else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1)
r=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)e.preventDefault()
else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1)
o=0}o=this.hasHorizontalScroll?o:0,r=this.hasVerticalScroll?r:0,e=this.x+o,i=this.y+r,(0o?1:0,this.directionY=0r?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(e,i),300i&&100>s&&100>l?this._execEvent("flick"):(this.options.momentum&&300>i&&(t=this.hasHorizontalScroll?a.momentum(this.x,this.startX,i,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:o,duration:0},i=this.hasVerticalScroll?a.momentum(this.y,this.startY,i,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:r,duration:0},o=t.destination,r=i.destination,t=n.max(t.duration,i.duration),this.isInTransition=1),this.options.snap&&(this.currentPage=c=this._nearestSnap(o,r),t=this.options.snapSpeed||n.max(n.max(n.min(n.abs(o-c.x),1e3),n.min(n.abs(r-c.y),1e3)),300),o=c.x,r=c.y,this.directionY=this.directionX=0,c=this.options.bounceEasing),o!=this.x||r!=this.y?((0this.maxScrollX,this.hasVerticalScroll=this.options.scrollY&&0>this.maxScrollY,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.directionY=this.directionX=this.endTime=0,this.wrapperOffset=a.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(e,t){this._events[e]||(this._events[e]=[]),this._events[e].push(t)},off:function(e,t){if(this._events[e]){var n=this._events[e].indexOf(t);-1t&&i++,0e&&o++,this.goToPage(i,o)):(i=this.x+n.round(this.hasHorizontalScroll?t:0),o=this.y+n.round(this.hasVerticalScroll?e:0),this.directionX=0t?1:0,this.directionY=0e?1:0,0-this.scrollerWidth;){for(this.pages[s]=[],r=e=0;r>-this.scrollerHeight;)this.pages[s][e]={x:n.max(l,this.maxScrollX),y:n.max(r,this.maxScrollY),width:t,height:c,cx:l-i,cy:r-o},r-=c,e++
l-=t,s++}else for(c=this.options.snap,e=c.length,t=-1;sthis.maxScrollX&&a++
this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),0===this.options.snapThreshold%1?this.snapThresholdY=this.snapThresholdX=this.options.snapThreshold:(this.snapThresholdX=n.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=n.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var e=this.options.snapSpeed||n.max(n.max(n.min(n.abs(this.x-this.startX),1e3),n.min(n.abs(this.y-this.startY),1e3)),300)
this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,e)})},_nearestSnap:function(e,t){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0}
var i=0,o=this.pages.length,r=0
if(n.abs(e-this.absStartX)=this.pages[i][0].cx){e=this.pages[i][0].x
break}for(o=this.pages[i].length;r=this.pages[0][r].cy){t=this.pages[0][r].y
break}return i==this.currentPage.pageX&&(i+=this.directionX,0>i?i=0:i>=this.pages.length&&(i=this.pages.length-1),e=this.pages[i][0].x),r==this.currentPage.pageY&&(r+=this.directionY,0>r?r=0:r>=this.pages[0].length&&(r=this.pages[0].length-1),t=this.pages[0][r].y),{x:e,y:t,pageX:i,pageY:r}},goToPage:function(e,t,i,o){o=o||this.options.bounceEasing,e>=this.pages.length?e=this.pages.length-1:0>e&&(e=0),t>=this.pages[e].length?t=this.pages[e].length-1:0>t&&(t=0)
var r=this.pages[e][t].x,s=this.pages[e][t].y
i=void 0===i?this.options.snapSpeed||n.max(n.max(n.min(n.abs(r-this.x),1e3),n.min(n.abs(s-this.y),1e3)),300):i,this.currentPage={x:r,y:s,pageX:e,pageY:t},this.scrollTo(r,s,i,o)},next:function(e,t){var n=this.currentPage.pageX,i=this.currentPage.pageY
n++,n>=this.pages.length&&this.hasVerticalScroll&&(n=0,i++),this.goToPage(n,i,e,t)},prev:function(e,t){var n=this.currentPage.pageX,i=this.currentPage.pageY
n--,0>n&&this.hasVerticalScroll&&(n=0,i--),this.goToPage(n,i,e,t)},_initKeys:function(t){t={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40}
var n
if("object"==typeof this.options.keyBindings)for(n in this.options.keyBindings)"string"==typeof this.options.keyBindings[n]&&(this.options.keyBindings[n]=this.options.keyBindings[n].toUpperCase().charCodeAt(0))
else this.options.keyBindings={}
for(n in t)this.options.keyBindings[n]=this.options.keyBindings[n]||t[n]
a.addEvent(e,"keydown",this),this.on("destroy",function(){a.removeEvent(e,"keydown",this)})},_key:function(e){if(this.enabled){var t,i=this.options.snap,o=i?this.currentPage.pageX:this.x,r=i?this.currentPage.pageY:this.y,s=a.getTime(),l=this.keyTime||0
switch(this.options.useTransition&&this.isInTransition&&(t=this.getComputedPosition(),this._translate(n.round(t.x),n.round(t.y)),this.isInTransition=!1),this.keyAcceleration=200>s-l?n.min(this.keyAcceleration+.25,50):0,e.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?o+=i?1:this.wrapperWidth:r+=i?1:this.wrapperHeight
break
case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?o-=i?1:this.wrapperWidth:r-=i?1:this.wrapperHeight
break
case this.options.keyBindings.end:o=i?this.pages.length-1:this.maxScrollX,r=i?this.pages[0].length-1:this.maxScrollY
break
case this.options.keyBindings.home:r=o=0
break
case this.options.keyBindings.left:o+=i?-1:5+this.keyAcceleration>>0
break
case this.options.keyBindings.up:r+=i?1:5+this.keyAcceleration>>0
break
case this.options.keyBindings.right:o-=i?-1:5+this.keyAcceleration>>0
break
case this.options.keyBindings.down:r-=i?1:5+this.keyAcceleration>>0
break
default:return}i?this.goToPage(o,r):(0=h?(r.isAnimating=!1,r._translate(e,t),r.resetPosition(r.options.bounceTime)||r._execEvent("scrollEnd")):(p=(p-u)/n,d=i(p),p=(e-l)*d+l,d=(t-c)*d+c,r._translate(p,d),r.isAnimating&&s(o))}var r=this,l=this.x,c=this.y,u=a.getTime(),h=u+n
this.isAnimating=!0,o()},handleEvent:function(e){switch(e.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(e)
break
case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(e)
break
case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(e)
break
case"orientationchange":case"resize":this._resize()
break
case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(e)
break
case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(e)
break
case"keydown":this._key(e)
break
case"click":this.enabled&&!e._constructed&&(e.preventDefault(),e.stopPropagation())}}},r.prototype={handleEvent:function(e){switch(e.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(e)
break
case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(e)
break
case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(e)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(a.removeEvent(this.indicator,"touchstart",this),a.removeEvent(this.indicator,a.prefixPointerEvent("pointerdown"),this),a.removeEvent(this.indicator,"mousedown",this),a.removeEvent(e,"touchmove",this),a.removeEvent(e,a.prefixPointerEvent("pointermove"),this),a.removeEvent(e,"mousemove",this),a.removeEvent(e,"touchend",this),a.removeEvent(e,a.prefixPointerEvent("pointerup"),this),a.removeEvent(e,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(t){var n=t.touches?t.touches[0]:t
t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=n.pageX,this.lastPointY=n.pageY,this.startTime=a.getTime(),this.options.disableTouch||a.addEvent(e,"touchmove",this),this.options.disablePointer||a.addEvent(e,a.prefixPointerEvent("pointermove"),this),this.options.disableMouse||a.addEvent(e,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(e){var t,n,i=e.touches?e.touches[0]:e
a.getTime(),this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,t=i.pageX-this.lastPointX,this.lastPointX=i.pageX,n=i.pageY-this.lastPointY,this.lastPointY=i.pageY,this._pos(this.x+t,this.y+n),e.preventDefault(),e.stopPropagation()},_end:function(t){if(this.initiated){if(this.initiated=!1,t.preventDefault(),t.stopPropagation(),a.removeEvent(e,"touchmove",this),a.removeEvent(e,a.prefixPointerEvent("pointermove"),this),a.removeEvent(e,"mousemove",this),this.scroller.options.snap){t=this.scroller._nearestSnap(this.scroller.x,this.scroller.y)
var i=this.options.snapSpeed||n.max(n.max(n.min(n.abs(this.scroller.x-t.x),1e3),n.min(n.abs(this.scroller.y-t.y),1e3)),300)
this.scroller.x==t.x&&this.scroller.y==t.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=t,this.scroller.scrollTo(t.x,t.y,i,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(e){e=e||0
var t=a.style.transitionDuration
if(t&&(this.indicatorStyle[t]=e+"ms",!e&&a.isBadAndroid)){this.indicatorStyle[t]="0.0001ms"
var n=this
s(function(){"0.0001ms"===n.indicatorStyle[t]&&(n.indicatorStyle[t]="0s")})}},transitionTimingFunction:function(e){this.indicatorStyle[a.style.transitionTimingFunction]=e},refresh:function(){this.transitionTime(),this.indicatorStyle.display=this.options.listenX&&!this.options.listenY?this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.scroller.hasVerticalScroll?"block":"none":this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(a.addClass(this.wrapper,"iScrollBothScrollbars"),a.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(a.removeClass(this.wrapper,"iScrollBothScrollbars"),a.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px")),this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=n.max(n.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=-this.indicatorWidth+8,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=n.max(n.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=-this.indicatorHeight+8,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var e=this.options.listenX&&n.round(this.sizeRatioX*this.scroller.x)||0,t=this.options.listenY&&n.round(this.sizeRatioY*this.scroller.y)||0
this.options.ignoreBoundaries||(ethis.maxBoundaryX?"scale"==this.options.shrink?(this.width=n.max(this.indicatorWidth-(e-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",e=this.maxPosX+this.indicatorWidth-this.width):e=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),tthis.maxBoundaryY?"scale"==this.options.shrink?(this.height=n.max(this.indicatorHeight-3*(t-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",t=this.maxPosY+this.indicatorHeight-this.height):t=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=e,this.y=t,this.scroller.options.useTransform?this.indicatorStyle[a.style.transform]="translate("+e+"px,"+t+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=e+"px",this.indicatorStyle.top=t+"px")},_pos:function(e,t){0>e?e=0:e>this.maxPosX&&(e=this.maxPosX),0>t?t=0:t>this.maxPosY&&(t=this.maxPosY),e=this.options.listenX?n.round(e/this.sizeRatioX):this.scroller.x,t=this.options.listenY?n.round(t/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(e,t)},fade:function(e,t){if(!t||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null
var n=e?0:300
this.wrapperStyle[a.style.transitionDuration]=(e?250:500)+"ms",this.fadeTimeout=setTimeout(function(e){this.wrapperStyle.opacity=e,this.visible=+e}.bind(this,e?"1":"0"),n)}}},i.utils=a,"undefined"!=typeof module&&module.exports?module.exports=i:"function"==typeof define&&define.amd?define(function(){return i}):e.IScroll=i}(window,document,Math),function(e,t){"use strict"
"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n,e,e.document,e.Math)}):"object"==typeof exports&&exports?module.exports=t(require("jquery"),e,e.document,e.Math):t(jQuery,e,e.document,e.Math)}("undefined"!=typeof window?window:this,function(e,t,n,i,o){"use strict"
var r="fullpage-wrapper",s="."+r,a="fp-scrollable",l="."+a,c="fp-responsive",u="fp-notransition",h="fp-destroyed",d="fp-enabled",p="fp-viewing",f="active",m="."+f,v="fp-completely",g="."+v,y=".section",x="fp-section",b="."+x,w=b+m,T=b+":first",S=b+":last",E="fp-tableCell",k="."+E,C="fp-auto-height",N="fp-normal-scroll",A="fp-nav",P="#"+A,D="fp-tooltip",L="."+D,H="fp-show-active",_=".slide",M="fp-slide",X="."+M,j=X+m,B="fp-slides",Y="."+B,O="fp-slidesContainer",z="."+O,W="fp-table",q="fp-slidesNav",I="."+q,R=I+" a",F="fp-controlArrow",$="."+F,V="fp-prev",U="."+V,K=F+" "+V,J=$+U,Q="fp-next",G="."+Q,Z=F+" "+Q,ee=$+G,te=e(t),ne=e(n),ie={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,fadeScrollbars:!1,disableMouse:!0,interactiveScrollbars:!0}
e.fn.fullpage=function(a){function l(t,n){t||Qt(0),nn("autoScrolling",t,n)
var i=e(w)
a.autoScrolling&&!a.scrollBar?(sn.css({overflow:"hidden",height:"100%"}),F(An.recordHistory,"internal"),mn.css({"-ms-touch-action":"none","touch-action":"none"}),i.length&&Qt(i.position().top)):(sn.css({overflow:"visible",height:"initial"}),F(!1,"internal"),mn.css({"-ms-touch-action":"","touch-action":""}),i.length&&sn.scrollTop(i.position().top))}function F(e,t){nn("recordHistory",e,t)}function U(e,t){nn("scrollingSpeed",e,t)}function Q(e,t){nn("fitToSection",e,t)}function G(e){a.lockAnchors=e}function re(e){e?(It(),Rt()):(qt(),Ft())}function se(t,n){"undefined"!=typeof n?(n=n.replace(/ /g,"").split(","),e.each(n,function(e,n){Zt(t,n,"m")})):t?(re(!0),$t()):(re(!1),Vt())}function ae(t,n){"undefined"!=typeof n?(n=n.replace(/ /g,"").split(","),e.each(n,function(e,n){Zt(t,n,"k")})):a.keyboardScrolling=t}function le(){var t=e(w).prev(b)
t.length||!a.loopTop&&!a.continuousVertical||(t=e(b).last()),t.length&&Fe(t,null,!0)}function ce(){var t=e(w).next(b)
t.length||!a.loopBottom&&!a.continuousVertical||(t=e(b).first()),t.length&&Fe(t,null,!1)}function ue(e,t){U(0,"internal"),he(e,t),U(An.scrollingSpeed,"internal")}function he(e,t){var n=Ht(e)
"undefined"!=typeof t?Mt(e,t):n.length>0&&Fe(n)}function de(e){qe("right",e)}function pe(e){qe("left",e)}function fe(t){if(!mn.hasClass(h)){gn=!0,vn=te.height(),e(b).each(function(){var t=e(this).find(Y),n=e(this).find(X)
a.verticalCentered&&e(this).find(k).css("height",Dt(e(this))+"px"),e(this).css("height",vn+"px"),a.scrollOverflow&&(n.length?n.each(function(){At(e(this))}):At(e(this))),n.length>1&&mt(t,t.find(j))})
var n=e(w),i=n.index(b)
i&&ue(i+1),gn=!1,e.isFunction(a.afterResize)&&t&&a.afterResize.call(mn),e.isFunction(a.afterReBuild)&&!t&&a.afterReBuild.call(mn)}}function me(t){var n=an.hasClass(c)
t?n||(l(!1,"internal"),Q(!1,"internal"),e(P).hide(),an.addClass(c),e.isFunction(a.afterResponsive)&&a.afterResponsive.call(mn,t)):n&&(l(An.autoScrolling,"internal"),Q(An.autoScrolling,"internal"),e(P).show(),an.removeClass(c),e.isFunction(a.afterResponsive)&&a.afterResponsive.call(mn,t))}function ve(){a.css3&&(a.css3=Wt()),a.scrollBar=a.scrollBar||a.hybrid,ye(),xe(),se(!0),l(a.autoScrolling,"internal")
var t=e(w).find(j)
t.length&&(0!==e(w).index(b)||0===e(w).index(b)&&0!==t.index())&&Jt(t),bt(),zt(),"complete"===n.readyState&&nt(),te.on("load",nt)}function ge(){te.on("scroll",Le).on("hashchange",it).blur(ut).resize(xt),ne.keydown(ot).keyup(st).on("click touchstart",P+" a",ht).on("click touchstart",R,dt).on("click",L,rt),e(b).on("click touchstart",$,ct),a.normalScrollElements&&(ne.on("mouseenter",a.normalScrollElements,function(){re(!1)}),ne.on("mouseleave",a.normalScrollElements,function(){re(!0)}))}function ye(){var t=mn.find(a.sectionSelector)
a.anchors.length||(a.anchors=t.filter("[data-anchor]").map(function(){return e(this).data("anchor").toString()}).get()),a.navigationTooltips.length||(a.navigationTooltips=t.filter("[data-tooltip]").map(function(){return e(this).data("tooltip").toString()}).get())}function xe(){mn.css({height:"100%",position:"relative"}),mn.addClass(r),e("html").addClass(d),vn=te.height(),mn.removeClass(h),Se(),e(b).each(function(t){var n=e(this),i=n.find(X),o=i.length
we(n,t),Te(n,t),o>0?be(n,i,o):a.verticalCentered&&Pt(n)}),a.fixedElements&&a.css3&&e(a.fixedElements).appendTo(an),a.navigation&&ke(),Ne(),a.scrollOverflow?("complete"===n.readyState&&Ce(),te.on("load",Ce)):De()}function be(t,n,i){var o=100*i,r=100/i
n.wrapAll(''),n.parent().wrap(''),t.find(z).css("width",o+"%"),i>1&&(a.controlArrows&&Ee(t),a.slidesNavigation&&jt(t,i)),n.each(function(t){e(this).css("width",r+"%"),a.verticalCentered&&Pt(e(this))})
var s=t.find(j)
s.length&&(0!==e(w).index(b)||0===e(w).index(b)&&0!==s.index())?Jt(s):n.eq(0).addClass(f)}function we(t,n){n||0!==e(w).length||t.addClass(f),t.css("height",vn+"px"),a.paddingTop&&t.css("padding-top",a.paddingTop),a.paddingBottom&&t.css("padding-bottom",a.paddingBottom),"undefined"!=typeof a.sectionsColor[n]&&t.css("background-color",a.sectionsColor[n]),"undefined"!=typeof a.anchors[n]&&t.attr("data-anchor",a.anchors[n])}function Te(t,n){"undefined"!=typeof a.anchors[n]&&t.hasClass(f)&&kt(a.anchors[n],n),a.menu&&a.css3&&e(a.menu).closest(s).length&&e(a.menu).appendTo(an)}function Se(){mn.find(a.sectionSelector).addClass(x),mn.find(a.slideSelector).addClass(M)}function Ee(e){e.find(Y).after('
'),"#fff"!=a.controlArrowColor&&(e.find(ee).css("border-color","transparent transparent transparent "+a.controlArrowColor),e.find(J).css("border-color","transparent "+a.controlArrowColor+" transparent transparent")),a.loopHorizontal||e.find(J).hide()}function ke(){an.append('')
var t=e(P)
t.addClass(function(){return a.showActiveTooltip?H+" "+a.navigationPosition:a.navigationPosition})
for(var n=0;n',r=a.navigationTooltips[n]
"undefined"!=typeof r&&""!==r&&(o+=''+r+"
"),o+="",t.find("ul").append(o)}e(P).css("margin-top","-"+e(P).height()/2+"px"),e(P).find("li").eq(e(w).index(b)).find("a").addClass(f)}function Ce(){e(b).each(function(){var t=e(this).find(X)
t.length?t.each(function(){At(e(this))}):At(e(this))}),De()}function Ne(){mn.find('iframe[src*="youtube.com/embed/"]').each(function(){Ae(e(this),"enablejsapi=1")})}function Ae(e,t){var n=e.attr("src")
e.attr("src",n+Pe(n)+t)}function Pe(e){return/\?/.test(e)?"&":"?"}function De(){var t=e(w)
t.addClass(v),a.scrollOverflowHandler.afterRender&&a.scrollOverflowHandler.afterRender(t),Qe(t),Ge(t),a.scrollOverflowHandler.afterLoad(),e.isFunction(a.afterLoad)&&a.afterLoad.call(t,t.data("anchor"),t.index(b)+1),e.isFunction(a.afterRender)&&a.afterRender.call(mn)}function Le(){var t
if(!a.autoScrolling||a.scrollBar){var i=te.scrollTop(),o=_e(i),r=0,s=i+te.height()/2,l=an.height()-te.height()===i,c=n.querySelectorAll(b)
if(l)r=c.length-1
else if(i)for(var u=0;u=te.scrollTop()+te.height():nDn?"down":"up"
return Dn=e,jn=e,t}function Me(e,t){if(wn.m[e]){var n="down"===e?"bottom":"top",i="down"===e?ce:le
if(t.length>0){if(!a.scrollOverflowHandler.isScrolled(n,t))return!0
i()}else i()}}function Xe(e){var t=e.originalEvent
!Be(e.target)&&a.autoScrolling&&Ye(t)&&e.preventDefault()}function je(t){var n=t.originalEvent,o=e(n.target).closest(b)
if(!Be(t.target)&&Ye(n)){a.autoScrolling&&t.preventDefault()
var r=a.scrollOverflowHandler.scrollable(o),s=Kt(n)
_n=s.y,Mn=s.x,o.find(Y).length&&i.abs(Hn-Mn)>i.abs(Ln-_n)?!dn&&i.abs(Hn-Mn)>te.outerWidth()/100*a.touchSensitivity&&(Hn>Mn?wn.m.right&&de(o):wn.m.left&&pe(o)):a.autoScrolling&&xn&&i.abs(Ln-_n)>te.height()/100*a.touchSensitivity&&(Ln>_n?Me("down",r):_n>Ln&&Me("up",r))}}function Be(t,n){n=n||0
var i=e(t).parent()
return!!(n149&&bn.shift(),bn.push(i.abs(s)),a.scrollBar&&(n.preventDefault?n.preventDefault():n.returnValue=!1)
var h=e(w),d=a.scrollOverflowHandler.scrollable(h),p=o-Xn
if(Xn=o,p>200&&(bn=[]),xn){var f=ze(bn,10),m=ze(bn,70),v=f>=m
v&&u&&(ljn,o=n-vn+e.outerHeight(),r=a.bigSectionsDestination
return e.outerHeight()>vn?(i||r)&&"bottom"!==r||(n=o):(i||gn&&e.is(":last-child"))&&(n=o),jn=n,n}function Fe(t,n,i){if("undefined"!=typeof t){var o,r,s=Re(t),l={element:t,callback:n,isMovementUp:i,dtop:s,yMovement:Ct(t),anchorLink:t.data("anchor"),sectionIndex:t.index(b),activeSlide:t.find(j),activeSection:e(w),leavingSection:e(w).index(b)+1,localIsResizing:gn}
l.activeSection.is(t)&&!gn||a.scrollBar&&te.scrollTop()===l.dtop&&!t.hasClass(C)||(l.activeSlide.length&&(o=l.activeSlide.data("anchor"),r=l.activeSlide.index()),a.autoScrolling&&a.continuousVertical&&"undefined"!=typeof l.isMovementUp&&(!l.isMovementUp&&"up"==l.yMovement||l.isMovementUp&&"down"==l.yMovement)&&(l=Ue(l)),e.isFunction(a.onLeave)&&!l.localIsResizing&&a.onLeave.call(l.activeSection,l.leavingSection,l.sectionIndex+1,l.yMovement)===!1||(et(l.activeSection),a.scrollOverflowHandler.beforeLeave(),t.addClass(f).siblings().removeClass(f),Qe(t),a.scrollOverflowHandler.onLeave(),xn=!1,Bt(r,o,l.anchorLink,l.sectionIndex),$e(l),cn=l.anchorLink,kt(l.anchorLink,l.sectionIndex)))}}function $e(t){if(a.css3&&a.autoScrolling&&!a.scrollBar){var n="translate3d(0px, -"+i.round(t.dtop)+"px, 0px)"
Lt(n,!0),a.scrollingSpeed?(clearTimeout(Sn),Sn=setTimeout(function(){Je(t)},a.scrollingSpeed)):Je(t)}else{var o=Ve(t)
e(o.element).animate(o.options,a.scrollingSpeed,a.easing).promise().done(function(){a.scrollBar?setTimeout(function(){Je(t)},30):Je(t)})}}function Ve(e){var t={}
return a.autoScrolling&&!a.scrollBar?(t.options={top:-e.dtop},t.element=s):(t.options={scrollTop:e.dtop},t.element="html, body"),t}function Ue(t){return t.isMovementUp?e(w).before(t.activeSection.nextAll(b)):e(w).after(t.activeSection.prevAll(b).get().reverse()),Qt(e(w).position().top),Ie(),t.wrapAroundElements=t.activeSection,t.dtop=t.element.position().top,t.yMovement=Ct(t.element),t}function Ke(t){t.wrapAroundElements&&t.wrapAroundElements.length&&(t.isMovementUp?e(T).before(t.wrapAroundElements):e(S).after(t.wrapAroundElements),Qt(e(w).position().top),Ie())}function Je(t){Ke(t),e.isFunction(a.afterLoad)&&!t.localIsResizing&&a.afterLoad.call(t.element,t.anchorLink,t.sectionIndex+1),a.scrollOverflowHandler.afterLoad(),t.localIsResizing||Ge(t.element),t.element.addClass(v).siblings().removeClass(v),xn=!0,e.isFunction(t.callback)&&t.callback.call(this)}function Qe(t){if(a.lazyLoading){var n,i=tt(t)
i.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){n=e(this),n.attr("src",n.data("src")),n.removeAttr("data-src"),n.is("source")&&n.closest("video").get(0).load()})}}function Ge(t){var n=tt(t)
n.find("video, audio").each(function(){var t=e(this).get(0)
t.hasAttribute("data-autoplay")&&"function"==typeof t.play&&t.play()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=e(this).get(0)
t.hasAttribute("data-autoplay")&&Ze(t),t.onload=function(){t.hasAttribute("data-autoplay")&&Ze(t)}})}function Ze(e){e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function et(t){var n=tt(t)
n.find("video, audio").each(function(){var t=e(this).get(0)
t.hasAttribute("data-keepplaying")||"function"!=typeof t.pause||t.pause()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=e(this).get(0);/youtube\.com\/embed\//.test(e(this).attr("src"))&&!t.hasAttribute("data-keepplaying")&&e(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function tt(t){var n=t.find(j)
return n.length&&(t=e(n)),t}function nt(){var e=t.location.hash.replace("#","").split("/"),n=decodeURIComponent(e[0]),i=decodeURIComponent(e[1])
n&&(a.animateAnchor?Mt(n,i):ue(n,i))}function it(){if(!Pn&&!a.lockAnchors){var e=t.location.hash.replace("#","").split("/"),n=decodeURIComponent(e[0]),i=decodeURIComponent(e[1]),o="undefined"==typeof cn,r="undefined"==typeof cn&&"undefined"==typeof i&&!dn
n.length&&(n&&n!==cn&&!o||r||!dn&&un!=i)&&Mt(n,i)}}function ot(t){clearTimeout(Nn)
var n=e(":focus")
if(!n.is("textarea")&&!n.is("input")&&!n.is("select")&&"true"!==n.attr("contentEditable")&&""!==n.attr("contentEditable")&&a.keyboardScrolling&&a.autoScrolling){var i=t.which,o=[40,38,32,33,34]
e.inArray(i,o)>-1&&t.preventDefault(),hn=t.ctrlKey,Nn=setTimeout(function(){pt(t)},150)}}function rt(){e(this).prev().trigger("click")}function st(e){yn&&(hn=e.ctrlKey)}function at(e){2==e.which&&(Bn=e.pageY,mn.on("mousemove",ft))}function lt(e){2==e.which&&mn.off("mousemove")}function ct(){var t=e(this).closest(b)
e(this).hasClass(V)?wn.m.left&&pe(t):wn.m.right&&de(t)}function ut(){yn=!1,hn=!1}function ht(t){t.preventDefault()
var n=e(this).parent().index()
Fe(e(b).eq(n))}function dt(t){t.preventDefault()
var n=e(this).closest(b).find(Y),i=n.find(X).eq(e(this).closest("li").index())
mt(n,i)}function pt(t){var n=t.shiftKey
if(xn||!([37,39].indexOf(t.which)Bn&&wn.m.down&&ce()),Bn=e.pageY}function mt(t,n,i){var o=t.closest(b),r={slides:t,destiny:n,direction:i,destinyPos:n.position(),slideIndex:n.index(),section:o,sectionIndex:o.index(b),anchorLink:o.data("anchor"),slidesNav:o.find(I),slideAnchor:Ot(n),prevSlide:o.find(j),prevSlideIndex:o.find(j).index(),localIsResizing:gn}
return r.xMovement=Nt(r.prevSlideIndex,r.slideIndex),r.localIsResizing||(xn=!1),a.onSlideLeave&&!r.localIsResizing&&"none"!==r.xMovement&&e.isFunction(a.onSlideLeave)&&a.onSlideLeave.call(r.prevSlide,r.anchorLink,r.sectionIndex+1,r.prevSlideIndex,r.xMovement,r.slideIndex)===!1?void(dn=!1):(n.addClass(f).siblings().removeClass(f),r.localIsResizing||(et(r.prevSlide),Qe(n)),!a.loopHorizontal&&a.controlArrows&&(o.find(J).toggle(0!==r.slideIndex),o.find(ee).toggle(!n.is(":last-child"))),o.hasClass(f)&&Bt(r.slideIndex,r.slideAnchor,r.anchorLink,r.sectionIndex),void gt(t,r,!0))}function vt(t){yt(t.slidesNav,t.slideIndex),t.localIsResizing||(e.isFunction(a.afterSlideLoad)&&a.afterSlideLoad.call(t.destiny,t.anchorLink,t.sectionIndex+1,t.slideAnchor,t.slideIndex),xn=!0,Ge(t.destiny)),dn=!1}function gt(e,t,n){var o=t.destinyPos
if(a.css3){var r="translate3d(-"+i.round(o.left)+"px, 0px, 0px)"
wt(e.find(z)).css(Gt(r)),En=setTimeout(function(){n&&vt(t)},a.scrollingSpeed,a.easing)}else e.animate({scrollLeft:i.round(o.left)},a.scrollingSpeed,a.easing,function(){n&&vt(t)})}function yt(e,t){e.find(m).removeClass(f),e.find("li").eq(t).find("a").addClass(f)}function xt(){if(bt(),pn){var t=e(n.activeElement)
if(!t.is("textarea")&&!t.is("input")&&!t.is("select")){var o=te.height()
i.abs(o-Yn)>20*i.max(Yn,o)/100&&(fe(!0),Yn=o)}}else clearTimeout(Tn),Tn=setTimeout(function(){fe(!0)},350)}function bt(){var e=a.responsive||a.responsiveWidth,t=a.responsiveHeight,n=e&&te.outerWidth()i?"up":"down"}function Nt(e,t){return e==t?"none":e>t?"left":"right"}function At(e){if(!e.hasClass("fp-noscroll")){e.css("overflow","hidden")
var t,n=a.scrollOverflowHandler,i=n.wrapContent(),o=e.closest(b),r=n.scrollable(e)
r.length?t=n.scrollHeight(e):(t=e.get(0).scrollHeight,a.verticalCentered&&(t=e.find(k).get(0).scrollHeight))
var s=vn-parseInt(o.css("padding-bottom"))-parseInt(o.css("padding-top"))
t>s?r.length?n.update(e,s):(a.verticalCentered?e.find(k).wrapInner(i):e.wrapInner(i),n.create(e,s)):n.remove(e),e.css("overflow","")}}function Pt(e){e.hasClass(W)||e.addClass(W).wrapInner('')}function Dt(e){var t=vn
if(a.paddingTop||a.paddingBottom){var n=e
n.hasClass(x)||(n=e.closest(b))
var i=parseInt(n.css("padding-top"))+parseInt(n.css("padding-bottom"))
t=vn-i}return t}function Lt(e,t){t?wt(mn):Tt(mn),mn.css(Gt(e)),setTimeout(function(){mn.removeClass(u)},10)}function Ht(t){var n=mn.find(b+'[data-anchor="'+t+'"]')
return n.length||(n=e(b).eq(t-1)),n}function _t(e,t){var n=t.find(Y),i=n.find(X+'[data-anchor="'+e+'"]')
return i.length||(i=n.find(X).eq(e)),i}function Mt(e,t){var n=Ht(e)
n.length&&("undefined"==typeof t&&(t=0),e===cn||n.hasClass(f)?Xt(n,t):Fe(n,function(){Xt(n,t)}))}function Xt(e,t){if("undefined"!=typeof t){var n=e.find(Y),i=_t(t,e)
i.length&&mt(n,i)}}function jt(e,t){e.append('')
var n=e.find(I)
n.addClass(a.slidesNavPosition)
for(var i=0;i')
n.css("margin-left","-"+n.width()/2+"px"),n.find("li").first().find("a").addClass(f)}function Bt(e,t,n,i){var o=""
a.anchors.length&&!a.lockAnchors&&(e?("undefined"!=typeof n&&(o=n),"undefined"==typeof t&&(t=e),un=t,Yt(o+"/"+t)):"undefined"!=typeof e?(un=t,Yt(n)):Yt(n)),zt()}function Yt(e){if(a.recordHistory)location.hash=e
else if(pn||fn)t.history.replaceState(o,o,"#"+e)
else{var n=t.location.href.split("#")[0]
t.location.replace(n+"#"+e)}}function Ot(e){var t=e.data("anchor"),n=e.index()
return"undefined"==typeof t&&(t=n),t}function zt(){var t=e(w),n=t.find(j),i=Ot(t),o=Ot(n),r=String(i)
n.length&&(r=r+"-"+o),r=r.replace("/","-").replace("#","")
var s=new RegExp("\\b\\s?"+p+"-[^\\s]+\\b","g")
an[0].className=an[0].className.replace(s,""),an.addClass(p+"-"+r)}function Wt(){var e,i=n.createElement("p"),r={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"}
n.body.insertBefore(i,null)
for(var s in r)i.style[s]!==o&&(i.style[s]="translate3d(1px,1px,1px)",e=t.getComputedStyle(i).getPropertyValue(r[s]))
return n.body.removeChild(i),e!==o&&e.length>0&&"none"!==e}function qt(){n.addEventListener?(n.removeEventListener("mousewheel",We,!1),n.removeEventListener("wheel",We,!1),n.removeEventListener("MozMousePixelScroll",We,!1)):n.detachEvent("onmousewheel",We)}function It(){var e,i=""
t.addEventListener?e="addEventListener":(e="attachEvent",i="on")
var r="onwheel"in n.createElement("div")?"wheel":n.onmousewheel!==o?"mousewheel":"DOMMouseScroll"
"DOMMouseScroll"==r?n[e](i+"MozMousePixelScroll",We,!1):n[e](i+r,We,!1)}function Rt(){mn.on("mousedown",at).on("mouseup",lt)}function Ft(){mn.off("mousedown",at).off("mouseup",lt)}function $t(){if(pn||fn){var t=Ut()
a.autoScrolling&&an.off("touchmove "+t.move).on("touchmove "+t.move,Xe),e(s).off("touchstart "+t.down).on("touchstart "+t.down,Oe).off("touchmove "+t.move).on("touchmove "+t.move,je)}}function Vt(){if(pn||fn){var t=Ut()
e(s).off("touchstart "+t.down).off("touchmove "+t.move)}}function Ut(){var e
return e=t.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function Kt(e){var t=[]
return t.y="undefined"!=typeof e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,t.x="undefined"!=typeof e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,fn&&Ye(e)&&a.scrollBar&&(t.y=e.touches[0].pageY,t.x=e.touches[0].pageX),t}function Jt(e,t){U(0,"internal"),"undefined"!=typeof t&&(gn=!0),mt(e.closest(Y),e),"undefined"!=typeof t&&(gn=!1),U(An.scrollingSpeed,"internal")}function Qt(e){var t=i.round(e)
if(a.css3&&a.autoScrolling&&!a.scrollBar){var n="translate3d(0px, -"+t+"px, 0px)"
Lt(n,!1)}else a.autoScrolling&&!a.scrollBar?mn.css("top",-t):sn.scrollTop(t)}function Gt(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function Zt(e,t,n){switch(t){case"up":wn[n].up=e
break
case"down":wn[n].down=e
break
case"left":wn[n].left=e
break
case"right":wn[n].right=e
break
case"all":"m"==n?se(e):ae(e)}}function en(t){l(!1,"internal"),se(!1),ae(!1),mn.addClass(h),clearTimeout(En),clearTimeout(Sn),clearTimeout(Tn),clearTimeout(kn),clearTimeout(Cn),te.off("scroll",Le).off("hashchange",it).off("resize",xt),ne.off("click touchstart",P+" a").off("mouseenter",P+" li").off("mouseleave",P+" li").off("click touchstart",R).off("mouseover",a.normalScrollElements).off("mouseout",a.normalScrollElements),e(b).off("click touchstart",$),clearTimeout(En),clearTimeout(Sn),t&&tn()}function tn(){Qt(0),mn.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){e(this).attr("src",e(this).data("src")),e(this).removeAttr("data-src")}),e(P+", "+I+", "+$).remove(),e(b).css({height:"","background-color":"",padding:""}),e(X).css({width:""}),mn.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),sn.css({overflow:"",height:""}),e("html").removeClass(d),an.removeClass(c),e.each(an.get(0).className.split(/\s+/),function(e,t){0===t.indexOf(p)&&an.removeClass(t)}),e(b+", "+X).each(function(){a.scrollOverflowHandler.remove(e(this)),e(this).removeClass(W+" "+f)}),Tt(mn),mn.find(k+", "+z+", "+Y).each(function(){e(this).replaceWith(this.childNodes)}),sn.scrollTop(0)
var t=[x,M,O]
e.each(t,function(t,n){e("."+n).removeClass(n)})}function nn(e,t,n){a[e]=t,"internal"!==n&&(An[e]=t)}function on(){var t=["fadingEffect","continuousHorizontal","scrollHorizontally","interlockedSlides","resetSliders","responsiveSlides","offsetSections","dragAndMove","scrollOverflowReset"]
return e("html").hasClass(d)?void rn("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(a.continuousVertical&&(a.loopTop||a.loopBottom)&&(a.continuousVertical=!1,rn("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),a.scrollBar&&a.scrollOverflow&&rn("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),!a.continuousVertical||!a.scrollBar&&a.autoScrolling||(a.continuousVertical=!1,rn("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),e.each(t,function(e,t){a[t]&&rn("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: "+t)}),void e.each(a.anchors,function(t,n){var i=ne.find("[name]").filter(function(){return e(this).attr("name")&&e(this).attr("name").toLowerCase()==n.toLowerCase()}),o=ne.find("[id]").filter(function(){return e(this).attr("id")&&e(this).attr("id").toLowerCase()==n.toLowerCase()});(o.length||i.length)&&(rn("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),o.length&&rn("error",'"'+n+'" is is being used by another element `id` property'),i.length&&rn("error",'"'+n+'" is is being used by another element `name` property'))}))}function rn(e,t){console&&console[e]&&console[e]("fullPage: "+t)}if(e("html").hasClass(d))return void on()
var sn=e("html, body"),an=e("body"),ln=e.fn.fullpage
a=e.extend({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:oe,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,sectionSelector:y,slideSelector:_,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},a)
var cn,un,hn,dn=!1,pn=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),fn="ontouchstart"in t||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,mn=e(this),vn=te.height(),gn=!1,yn=!0,xn=!0,bn=[],wn={}
wn.m={up:!0,down:!0,left:!0,right:!0},wn.k=e.extend(!0,{},wn.m)
var Tn,Sn,En,kn,Cn,Nn,An=e.extend(!0,{},a)
on(),ie.click=fn,ie=e.extend(ie,a.scrollOverflowOptions),e.extend(e.easing,{easeInOutCubic:function(e,t,n,i,o){return(t/=o/2)=0&&!t.scrollTop():"bottom"===e?0-n.y+t.scrollTop()+1+t.innerHeight()>=t[0].scrollHeight:void 0)},scrollable:function(e){return e.find(Y).length?e.find(j).find(l):e.find(l)},scrollHeight:function(e){return e.find(l).children().first().get(0).scrollHeight},remove:function(e){var t=e.find(l)
if(t.length){var n=t.data("iscrollInstance")
n.destroy(),t.data("iscrollInstance",null)}e.find(l).children().first().children().first().unwrap().unwrap()},update:function(t,n){clearTimeout(oe.refreshId),oe.refreshId=setTimeout(function(){e.each(oe.iScrollInstances,function(){e(this).get(0).refresh()})},150),t.find(l).css("height",n+"px").parent().css("height",n+"px")},wrapContent:function(){return''}}}),!function(e){"use strict"
var t=function(t,n){this.el=e(t),this.options=e.extend({},e.fn.typed.defaults,n),this.isInput=this.el.is("input"),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.attr(this.attr):this.el.text(),this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()}
t.prototype={constructor:t,init:function(){var e=this
e.timeout=setTimeout(function(){for(var t=0;t'+this.cursorChar+""),this.el.after(this.cursor)),this.stringsElement){this.strings=[],this.stringsElement.hide(),console.log(this.stringsElement.children())
var n=this.stringsElement.children()
e.each(n,function(n,i){t.strings.push(e(i).html())})}this.init()},typewrite:function(e,t){if(this.stop!==!0){var n=Math.round(70*Math.random())+this.typeSpeed,i=this
i.timeout=setTimeout(function(){var n=0,o=e.substr(t)
if("^"===o.charAt(0)){var r=1;/^\^\d+/.test(o)&&(o=/\d+/.exec(o)[0],r+=o.length,n=parseInt(o)),e=e.substring(0,t)+e.substring(t+r)}if("html"===i.contentType){var s=e.substr(t).charAt(0)
if("":";";e.substr(t+1).charAt(0)!==l&&(a+=e.substr(t).charAt(0),t++,!(t+1>e.length)););t++,a+=l}}i.timeout=setTimeout(function(){if(t===e.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return
i.timeout=setTimeout(function(){i.backspace(e,t)},i.backDelay)}else{0===t&&i.options.preStringTyped(i.arrayPos)
var n=e.substr(0,t+1)
i.attr?i.el.attr(i.attr,n):i.isInput?i.el.val(n):"html"===i.contentType?i.el.html(n):i.el.text(n),t++,i.typewrite(e,t)}},n)},n)}},backspace:function(e,t){if(this.stop!==!0){var n=Math.round(70*Math.random())+this.backSpeed,i=this
i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===e.substr(t).charAt(0)){for(var n="";"i.stopNum?(t--,i.backspace(e,t)):t