text: webpackJsonp([0x208b9a1850c78600],{"./node_modules/hammerjs/hammer.js":function(e,t,n){var i;!function(o,r,a,s){"use strict";function l(e,t,n){return setTimeout(f(e,n),t)}function c(e,t,n){return!!Array.isArray(e)&&(u(e,n[t],n),!0)}function u(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function d(e,t,n){var i="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,i,n),e.apply(this,arguments)}}function p(e,t,n){var i,o=t.prototype;i=e.prototype=Object.create(o),i.constructor=e,i._super=o,n&&ve(i,n)}function f(e,t){return function(){return e.apply(t,arguments)}}function h(e,t){return typeof e==ye?e.apply(t?t[0]||s:s,t):e}function v(e,t){return e===s?t:e}function g(e,t,n){u(w(t),function(t){e.addEventListener(t,n,!1)})}function m(e,t,n){u(w(t),function(t){e.removeEventListener(t,n,!1)})}function y(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function b(e,t){return e.indexOf(t)>-1}function w(e){return e.trim().split(/\s+/g)}function x(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function T(e){return Array.prototype.slice.call(e,0)}function k(e,t,n){for(var i=[],o=[],r=0;r<e.length;){var a=t?e[r][t]:e[r];x(o,a)<0&&i.push(e[r]),o[r]=a,r++}return n&&(i=t?i.sort(function(e,n){return e[t]>n[t]}):i.sort()),i}function C(e,t){for(var n,i,o=t[0].toUpperCase()+t.slice(1),r=0;r<ge.length;){if(n=ge[r],i=n?n+o:t,i in e)return i;r++}return s}function S(){return Ce++}function E(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||o}function A(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){h(e.options.enable,[e])&&n.handler(t)},this.init()}function P(e){var t,n=e.options.inputClass;return new(t=n?n:Ae?W:Pe?X:Ee?B:R)(e,O)}function O(e,t,n){var i=n.pointers.length,o=n.changedPointers.length,r=t&Ie&&i-o===0,a=t&(je|Le)&&i-o===0;n.isFirst=!!r,n.isFinal=!!a,r&&(e.session={}),n.eventType=t,D(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function D(e,t){var n=e.session,i=t.pointers,o=i.length;n.firstInput||(n.firstInput=N(t)),o>1&&!n.firstMultiple?n.firstMultiple=N(t):1===o&&(n.firstMultiple=!1);var r=n.firstInput,a=n.firstMultiple,s=a?a.center:r.center,l=t.center=I(i);t.timeStamp=xe(),t.deltaTime=t.timeStamp-r.timeStamp,t.angle=H(s,l),t.distance=L(s,l),_(n,t),t.offsetDirection=j(t.deltaX,t.deltaY);var c=q(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=we(c.x)>we(c.y)?c.x:c.y,t.scale=a?z(a.pointers,i):1,t.rotation=a?F(a.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,M(n,t);var u=e.element;y(t.srcEvent.target,u)&&(u=t.srcEvent.target),t.target=u}function _(e,t){var n=t.center,i=e.offsetDelta||{},o=e.prevDelta||{},r=e.prevInput||{};t.eventType!==Ie&&r.eventType!==je||(o=e.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=o.x+(n.x-i.x),t.deltaY=o.y+(n.y-i.y)}function M(e,t){var n,i,o,r,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(t.eventType!=Le&&(l>Ne||a.velocity===s)){var c=t.deltaX-a.deltaX,u=t.deltaY-a.deltaY,d=q(l,c,u);i=d.x,o=d.y,n=we(d.x)>we(d.y)?d.x:d.y,r=j(c,u),e.lastInterval=t}else n=a.velocity,i=a.velocityX,o=a.velocityY,r=a.direction;t.velocity=n,t.velocityX=i,t.velocityY=o,t.direction=r}function N(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:be(e.pointers[n].clientX),clientY:be(e.pointers[n].clientY)},n++;return{timeStamp:xe(),pointers:t,center:I(t),deltaX:e.deltaX,deltaY:e.deltaY}}function I(e){var t=e.length;if(1===t)return{x:be(e[0].clientX),y:be(e[0].clientY)};for(var n=0,i=0,o=0;o<t;)n+=e[o].clientX,i+=e[o].clientY,o++;return{x:be(n/t),y:be(i/t)}}function q(e,t,n){return{x:t/e||0,y:n/e||0}}function j(e,t){return e===t?He:we(e)>=we(t)?e<0?Fe:ze:t<0?Re:We}function L(e,t,n){n||(n=Ye);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(i*i+o*o)}function H(e,t,n){n||(n=Ye);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,i)/Math.PI}function F(e,t){return H(t[1],t[0],Be)+H(e[1],e[0],Be)}function z(e,t){return L(t[0],t[1],Be)/L(e[0],e[1],Be)}function R(){this.evEl=Ue,this.evWin=Ge,this.pressed=!1,A.apply(this,arguments)}function W(){this.evEl=Ke,this.evWin=et,A.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function $(){this.evTarget=nt,this.evWin=it,this.started=!1,A.apply(this,arguments)}function V(e,t){var n=T(e.touches),i=T(e.changedTouches);return t&(je|Le)&&(n=k(n.concat(i),"identifier",!0)),[n,i]}function X(){this.evTarget=rt,this.targetIds={},A.apply(this,arguments)}function Y(e,t){var n=T(e.touches),i=this.targetIds;if(t&(Ie|qe)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,a=T(e.changedTouches),s=[],l=this.target;if(r=n.filter(function(e){return y(e.target,l)}),t===Ie)for(o=0;o<r.length;)i[r[o].identifier]=!0,o++;for(o=0;o<a.length;)i[a[o].identifier]&&s.push(a[o]),t&(je|Le)&&delete i[a[o].identifier],o++;return s.length?[k(r.concat(s),"identifier",!0),s]:void 0}function B(){A.apply(this,arguments);var e=f(this.handler,this);this.touch=new X(this.manager,e),this.mouse=new R(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function Q(e,t){e&Ie?(this.primaryTouch=t.changedPointers[0].identifier,U.call(this,t)):e&(je|Le)&&U.call(this,t)}function U(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var i=this.lastTouches,o=function(){var e=i.indexOf(n);e>-1&&i.splice(e,1)};setTimeout(o,at)}}function G(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var o=this.lastTouches[i],r=Math.abs(t-o.x),a=Math.abs(n-o.y);if(r<=st&&a<=st)return!0}return!1}function Z(e,t){this.manager=e,this.set(t)}function J(e){if(b(e,ft))return ft;var t=b(e,ht),n=b(e,vt);return t&&n?ft:t||n?t?ht:vt:b(e,pt)?pt:dt}function K(){if(!ct)return!1;var e={},t=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){e[n]=!t||o.CSS.supports("touch-action",n)}),e}function ee(e){this.options=ve({},this.defaults,e||{}),this.id=S(),this.manager=null,this.options.enable=v(this.options.enable,!0),this.state=mt,this.simultaneous={},this.requireFail=[]}function te(e){return e&Tt?"cancel":e&wt?"end":e&bt?"move":e&yt?"start":""}function ne(e){return e==We?"down":e==Re?"up":e==Fe?"left":e==ze?"right":""}function ie(e,t){var n=t.manager;return n?n.get(e):e}function oe(){ee.apply(this,arguments)}function re(){oe.apply(this,arguments),this.pX=null,this.pY=null}function ae(){oe.apply(this,arguments)}function se(){ee.apply(this,arguments),this._timer=null,this._input=null}function le(){oe.apply(this,arguments)}function ce(){oe.apply(this,arguments)}function ue(){ee.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function de(e,t){return t=t||{},t.recognizers=v(t.recognizers,de.defaults.preset),new pe(e,t)}function pe(e,t){this.options=ve({},de.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=P(this),this.touchAction=new Z(this,this.options.touchAction),fe(this,!0),u(this.options.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function fe(e,t){var n=e.element;if(n.style){var i;u(e.options.cssProps,function(o,r){i=C(n.style,r),t?(e.oldCssProps[i]=n.style[i],n.style[i]=o):n.style[i]=e.oldCssProps[i]||""}),t||(e.oldCssProps={})}}function he(e,t){var n=r.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}var ve,ge=["","webkit","Moz","MS","ms","o"],me=r.createElement("div"),ye="function",be=Math.round,we=Math.abs,xe=Date.now;ve="function"!=typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])}return t}:Object.assign;var Te=d(function(e,t,n){for(var i=Object.keys(t),o=0;o<i.length;)(!n||n&&e[i[o]]===s)&&(e[i[o]]=t[i[o]]),o++;return e},"extend","Use `assign`."),ke=d(function(e,t){return Te(e,t,!0)},"merge","Use `assign`."),Ce=1,Se=/mobile|tablet|ip(ad|hone|od)|android/i,Ee="ontouchstart"in o,Ae=C(o,"PointerEvent")!==s,Pe=Ee&&Se.test(navigator.userAgent),Oe="touch",De="pen",_e="mouse",Me="kinect",Ne=25,Ie=1,qe=2,je=4,Le=8,He=1,Fe=2,ze=4,Re=8,We=16,$e=Fe|ze,Ve=Re|We,Xe=$e|Ve,Ye=["x","y"],Be=["clientX","clientY"];A.prototype={handler:function(){},init:function(){this.evEl&&g(this.element,this.evEl,this.domHandler),this.evTarget&&g(this.target,this.evTarget,this.domHandler),this.evWin&&g(E(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(E(this.element),this.evWin,this.domHandler)}};var Qe={mousedown:Ie,mousemove:qe,mouseup:je},Ue="mousedown",Ge="mousemove mouseup";p(R,A,{handler:function(e){var t=Qe[e.type];t&Ie&&0===e.button&&(this.pressed=!0),t&qe&&1!==e.which&&(t=je),this.pressed&&(t&je&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:_e,srcEvent:e}))}});var Ze={pointerdown:Ie,pointermove:qe,pointerup:je,pointercancel:Le,pointerout:Le},Je={2:Oe,3:De,4:_e,5:Me},Ke="pointerdown",et="pointermove pointerup pointercancel";o.MSPointerEvent&&!o.PointerEvent&&(Ke="MSPointerDown",et="MSPointerMove MSPointerUp MSPointerCancel"),p(W,A,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),o=Ze[i],r=Je[e.pointerType]||e.pointerType,a=r==Oe,s=x(t,e.pointerId,"pointerId");o&Ie&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):o&(je|Le)&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:r,srcEvent:e}),n&&t.splice(s,1))}});var tt={touchstart:Ie,touchmove:qe,touchend:je,touchcancel:Le},nt="touchstart",it="touchstart touchmove touchend touchcancel";p($,A,{handler:function(e){var t=tt[e.type];if(t===Ie&&(this.started=!0),this.started){var n=V.call(this,e,t);t&(je|Le)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:Oe,srcEvent:e})}}});var ot={touchstart:Ie,touchmove:qe,touchend:je,touchcancel:Le},rt="touchstart touchmove touchend touchcancel";p(X,A,{handler:function(e){var t=ot[e.type],n=Y.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:Oe,srcEvent:e})}});var at=2500,st=25;p(B,A,{handler:function(e,t,n){var i=n.pointerType==Oe,o=n.pointerType==_e;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)Q.call(this,t,n);else if(o&&G.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var lt=C(me.style,"touchAction"),ct=lt!==s,ut="compute",dt="auto",pt="manipulation",ft="none",ht="pan-x",vt="pan-y",gt=K();Z.prototype={set:function(e){e==ut&&(e=this.compute()),ct&&this.manager.element.style&&gt[e]&&(this.manager.element.style[lt]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return u(this.manager.recognizers,function(t){h(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),J(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)return void t.preventDefault();var i=this.actions,o=b(i,ft)&&!gt[ft],r=b(i,vt)&&!gt[vt],a=b(i,ht)&&!gt[ht];if(o){var s=1===e.pointers.length,l=e.distance<2,c=e.deltaTime<250;if(s&&l&&c)return}return a&&r?void 0:o||r&&n&$e||a&&n&Ve?this.preventSrc(t):void 0},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var mt=1,yt=2,bt=4,wt=8,xt=wt,Tt=16,kt=32;ee.prototype={defaults:{},set:function(e){return ve(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(c(e,"recognizeWith",this))return this;var t=this.simultaneous;return e=ie(e,this),t[e.id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return c(e,"dropRecognizeWith",this)?this:(e=ie(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(c(e,"requireFailure",this))return this;var t=this.requireFail;return e=ie(e,this),x(t,e)===-1&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(c(e,"dropRequireFailure",this))return this;e=ie(e,this);var t=x(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function t(t){n.manager.emit(t,e)}var n=this,i=this.state;i<wt&&t(n.options.event+te(i)),t(n.options.event),e.additionalEvent&&t(e.additionalEvent),i>=wt&&t(n.options.event+te(i))},tryEmit:function(e){return this.canEmit()?this.emit(e):void(this.state=kt)},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(kt|mt)))return!1;e++}return!0},recognize:function(e){var t=ve({},e);return h(this.options.enable,[this,t])?(this.state&(xt|Tt|kt)&&(this.state=mt),this.state=this.process(t),void(this.state&(yt|bt|wt|Tt)&&this.tryEmit(t))):(this.reset(),void(this.state=kt))},process:function(e){},getTouchAction:function(){},reset:function(){}},p(oe,ee,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=t&(yt|bt),o=this.attrTest(e);return i&&(n&Le||!o)?t|Tt:i||o?n&je?t|wt:t&yt?t|bt:yt:kt}}),p(re,oe,{defaults:{event:"pan",threshold:10,pointers:1,direction:Xe},getTouchAction:function(){var e=this.options.direction,t=[];return e&$e&&t.push(vt),e&Ve&&t.push(ht),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,o=e.direction,r=e.deltaX,a=e.deltaY;return o&t.direction||(t.direction&$e?(o=0===r?He:r<0?Fe:ze,n=r!=this.pX,i=Math.abs(e.deltaX)):(o=0===a?He:a<0?Re:We,n=a!=this.pY,i=Math.abs(e.deltaY))),e.direction=o,n&&i>t.threshold&&o&t.direction},attrTest:function(e){return oe.prototype.attrTest.call(this,e)&&(this.state&yt||!(this.state&yt)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ne(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),p(ae,oe,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ft]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&yt)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),p(se,ee,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[dt]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,o=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(je|Le)&&!o)this.reset();else if(e.eventType&Ie)this.reset(),this._timer=l(function(){this.state=xt,this.tryEmit()},t.time,this);else if(e.eventType&je)return xt;return kt},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===xt&&(e&&e.eventType&je?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=xe(),this.manager.emit(this.options.event,this._input)))}}),p(le,oe,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ft]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&yt)}}),p(ce,oe,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:$e|Ve,pointers:1},getTouchAction:function(){return re.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&($e|Ve)?t=e.overallVelocity:n&$e?t=e.overallVelocityX:n&Ve&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&we(t)>this.options.velocity&&e.eventType&je},emit:function(e){var t=ne(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),p(ue,ee,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[pt]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,o=e.deltaTime<t.time;if(this.reset(),e.eventType&Ie&&0===this.count)return this.failTimeout();if(i&&o&&n){if(e.eventType!=je)return this.failTimeout();var r=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||L(this.pCenter,e.center)<t.posThreshold;this.pTime=e.timeStamp,this.pCenter=e.center,a&&r?this.count+=1:this.count=1,this._input=e;var s=this.count%t.taps;if(0===s)return this.hasRequireFailures()?(this._timer=l(function(){this.state=xt,this.tryEmit()},t.interval,this),yt):xt}return kt},failTimeout:function(){return this._timer=l(function(){this.state=kt},this.options.interval,this),kt},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==xt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),de.VERSION="2.0.7",de.defaults={domEvents:!1,touchAction:ut,enable:!0,inputTarget:null,inputClass:null,preset:[[le,{enable:!1}],[ae,{enable:!1},["rotate"]],[ce,{direction:$e}],[re,{direction:$e},["swipe"]],[ue],[ue,{event:"doubletap",taps:2},["tap"]],[se]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Ct=1,St=2;pe.prototype={set:function(e){return ve(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?St:Ct},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var n,i=this.recognizers,o=t.curRecognizer;(!o||o&&o.state&xt)&&(o=t.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],t.stopped===St||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&n.state&(yt|bt|wt)&&(o=t.curRecognizer=n),r++}},get:function(e){if(e instanceof ee)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(c(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(c(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=x(t,e);n!==-1&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){var n=this.handlers;return u(w(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this}},off:function(e,t){if(e!==s){var n=this.handlers;return u(w(e),function(e){t?n[e]&&n[e].splice(x(n[e],t),1):delete n[e]}),this}},emit:function(e,t){this.options.domEvents&&he(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&fe(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},ve(de,{INPUT_START:Ie,INPUT_MOVE:qe,INPUT_END:je,INPUT_CANCEL:Le,STATE_POSSIBLE:mt,STATE_BEGAN:yt,STATE_CHANGED:bt,STATE_ENDED:wt,STATE_RECOGNIZED:xt,STATE_CANCELLED:Tt,STATE_FAILED:kt,DIRECTION_NONE:He,DIRECTION_LEFT:Fe,DIRECTION_RIGHT:ze,DIRECTION_UP:Re,DIRECTION_DOWN:We,DIRECTION_HORIZONTAL:$e,DIRECTION_VERTICAL:Ve,DIRECTION_ALL:Xe,Manager:pe,Input:A,TouchAction:Z,TouchInput:X,MouseInput:R,PointerEventInput:W,TouchMouseInput:B,SingleTouchInput:$,Recognizer:ee,AttrRecognizer:oe,Tap:ue,Pan:re,Swipe:ce,Pinch:ae,Rotate:le,Press:se,on:g,off:m,each:u,merge:ke,extend:Te,assign:ve,inherit:p,bindFn:f,prefixed:C});var Et="undefined"!=typeof o?o:"undefined"!=typeof self?self:{};Et.Hammer=de,i=function(){return de}.call(t,n,t,e),!(i!==s&&(e.exports=i))}(window,document,"Hammer")},"./node_modules/jquery/dist/jquery.js":function(e,t,n){var i,o;!function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,r){"use strict";function a(e,t){t=t||ae;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function s(e){var t=!!e&&"length"in e&&e.length,n=be.type(e);return"function"!==n&&!be.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function c(e,t,n){return be.isFunction(t)?be.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?be.grep(e,function(e){return e===t!==n}):"string"!=typeof t?be.grep(e,function(e){return de.call(t,e)>-1!==n}):Oe.test(t)?be.filter(t,e,n):(t=be.filter(t,e),be.grep(e,function(e){return de.call(t,e)>-1!==n&&1===e.nodeType}))}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){var t={};return be.each(e.match(qe)||[],function(e,n){t[n]=!0}),t}function p(e){return e}function f(e){throw e}function h(e,t,n,i){var o;try{e&&be.isFunction(o=e.promise)?o.call(e).done(t).fail(n):e&&be.isFunction(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}function v(){ae.removeEventListener("DOMContentLoaded",v),n.removeEventListener("load",v),be.ready()}function g(){this.expando=be.expando+g.uid++}function m(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:We.test(e)?JSON.parse(e):e)}function y(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace($e,"-$&").toLowerCase(),n=e.getAttribute(i),"string"==typeof n){try{n=m(n)}catch(e){}Re.set(e,t,n)}else n=void 0;return n}function b(e,t,n,i){var o,r=1,a=20,s=i?function(){return i.cur()}:function(){return be.css(e,t,"")},l=s(),c=n&&n[3]||(be.cssNumber[t]?"":"px"),u=(be.cssNumber[t]||"px"!==c&&+l)&&Xe.exec(be.css(e,t));if(u&&u[3]!==c){c=c||u[3],n=n||[],u=+l||1;do r=r||".5",u/=r,be.style(e,t,u+c);while(r!==(r=s()/l)&&1!==r&&--a)}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}function w(e){var t,n=e.ownerDocument,i=e.nodeName,o=Ue[i];return o?o:(t=n.body.appendChild(n.createElement(i)),o=be.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),Ue[i]=o,o)}function x(e,t){for(var n,i,o=[],r=0,a=e.length;r<a;r++)i=e[r],i.style&&(n=i.style.display,t?("none"===n&&(o[r]=ze.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&Be(i)&&(o[r]=w(i))):"none"!==n&&(o[r]="none",ze.set(i,"display",n)));for(r=0;r<a;r++)null!=o[r]&&(e[r].style.display=o[r]);return e}function T(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&l(e,t)?be.merge([e],n):n}function k(e,t){for(var n=0,i=e.length;n<i;n++)ze.set(e[n],"globalEval",!t||ze.get(t[n],"globalEval"))}function C(e,t,n,i,o){for(var r,a,s,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if(r=e[f],r||0===r)if("object"===be.type(r))be.merge(p,r.nodeType?[r]:r);else if(et.test(r)){for(a=a||d.appendChild(t.createElement("div")),s=(Ze.exec(r)||["",""])[1].toLowerCase(),l=Ke[s]||Ke._default,a.innerHTML=l[1]+be.htmlPrefilter(r)+l[2],u=l[0];u--;)a=a.lastChild;be.merge(p,a.childNodes),a=d.firstChild,a.textContent=""}else p.push(t.createTextNode(r));for(d.textContent="",f=0;r=p[f++];)if(i&&be.inArray(r,i)>-1)o&&o.push(r);else if(c=be.contains(r.ownerDocument,r),a=T(d.appendChild(r),"script"),c&&k(a),n)for(u=0;r=a[u++];)Je.test(r.type||"")&&n.push(r);return d}function S(){return!0}function E(){return!1}function A(){try{return ae.activeElement}catch(e){}}function P(e,t,n,i,o,r){var a,s;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(s in t)P(e,s,n,i,t[s],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),o===!1)o=E;else if(!o)return e;return 1===r&&(a=o,o=function(e){return be().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=be.guid++)),e.each(function(){be.event.add(this,t,o,i,n)})}function O(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")?be(">tbody",e)[0]||e:e}function D(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function _(e){var t=lt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function M(e,t){var n,i,o,r,a,s,l,c;if(1===t.nodeType){if(ze.hasData(e)&&(r=ze.access(e),a=ze.set(t,r),c=r.events)){delete a.handle,a.events={};for(o in c)for(n=0,i=c[o].length;n<i;n++)be.event.add(t,o,c[o][n])}Re.hasData(e)&&(s=Re.access(e),l=be.extend({},s),Re.set(t,l))}}function N(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function I(e,t,n,i){t=ce.apply([],t);var o,r,s,l,c,u,d=0,p=e.length,f=p-1,h=t[0],v=be.isFunction(h);if(v||p>1&&"string"==typeof h&&!me.checkClone&&st.test(h))return e.each(function(o){var r=e.eq(o);v&&(t[0]=h.call(this,o,r.html())),I(r,t,n,i)});if(p&&(o=C(t,e[0].ownerDocument,!1,e,i),r=o.firstChild,1===o.childNodes.length&&(o=r),r||i)){for(s=be.map(T(o,"script"),D),l=s.length;d<p;d++)c=o,d!==f&&(c=be.clone(c,!0,!0),l&&be.merge(s,T(c,"script"))),n.call(e[d],c,d);if(l)for(u=s[s.length-1].ownerDocument,be.map(s,_),d=0;d<l;d++)c=s[d],Je.test(c.type||"")&&!ze.access(c,"globalEval")&&be.contains(u,c)&&(c.src?be._evalUrl&&be._evalUrl(c.src):a(c.textContent.replace(ct,""),u))}return e}function q(e,t,n){for(var i,o=t?be.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||be.cleanData(T(i)),i.parentNode&&(n&&be.contains(i.ownerDocument,i)&&k(T(i,"script")),i.parentNode.removeChild(i));return e}function j(e,t,n){var i,o,r,a,s=e.style;return n=n||pt(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||be.contains(e.ownerDocument,e)||(a=be.style(e,t)),!me.pixelMarginRight()&&dt.test(a)&&ut.test(t)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r)),void 0!==a?a+"":a}function L(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function H(e){if(e in yt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=mt.length;n--;)if(e=mt[n]+t,e in yt)return e}function F(e){var t=be.cssProps[e];return t||(t=be.cssProps[e]=H(e)||e),t}function z(e,t,n){var i=Xe.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function R(e,t,n,i,o){var r,a=0;for(r=n===(i?"border":"content")?4:"width"===t?1:0;r<4;r+=2)"margin"===n&&(a+=be.css(e,n+Ye[r],!0,o)),i?("content"===n&&(a-=be.css(e,"padding"+Ye[r],!0,o)),"margin"!==n&&(a-=be.css(e,"border"+Ye[r]+"Width",!0,o))):(a+=be.css(e,"padding"+Ye[r],!0,o),"padding"!==n&&(a+=be.css(e,"border"+Ye[r]+"Width",!0,o)));return a}function W(e,t,n){var i,o=pt(e),r=j(e,t,o),a="border-box"===be.css(e,"boxSizing",!1,o);return dt.test(r)?r:(i=a&&(me.boxSizingReliable()||r===e.style[t]),"auto"===r&&(r=e["offset"+t[0].toUpperCase()+t.slice(1)]),r=parseFloat(r)||0,r+R(e,t,n||(a?"border":"content"),i,o)+"px")}function $(e,t,n,i,o){return new $.prototype.init(e,t,n,i,o)}function V(){wt&&(ae.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(V):n.setTimeout(V,be.fx.interval),be.fx.tick())}function X(){return n.setTimeout(function(){bt=void 0}),bt=be.now()}function Y(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)n=Ye[i],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function B(e,t,n){for(var i,o=(G.tweeners[t]||[]).concat(G.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}function Q(e,t,n){var i,o,r,a,s,l,c,u,d="width"in t||"height"in t,p=this,f={},h=e.style,v=e.nodeType&&Be(e),g=ze.get(e,"fxshow");n.queue||(a=be._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,be.queue(e,"fx").length||a.empty.fire()})}));for(i in t)if(o=t[i],xt.test(o)){if(delete t[i],r=r||"toggle"===o,o===(v?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;v=!0}f[i]=g&&g[i]||be.style(e,i)}if(l=!be.isEmptyObject(t),l||!be.isEmptyObject(f)){d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],c=g&&g.display,null==c&&(c=ze.get(e,"display")),u=be.css(e,"display"),"none"===u&&(c?u=c:(x([e],!0),c=e.style.display||c,u=be.css(e,"display"),x([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===be.css(e,"float")&&(l||(p.done(function(){h.display=c}),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1;for(i in f)l||(g?"hidden"in g&&(v=g.hidden):g=ze.access(e,"fxshow",{display:c}),r&&(g.hidden=!v),v&&x([e],!0),p.done(function(){v||x([e]),ze.remove(e,"fxshow");for(i in f)be.style(e,i,f[i])})),l=B(v?g[i]:0,i,p),i in g||(g[i]=l.start,v&&(l.end=l.start,l.start=0))}}function U(e,t){var n,i,o,r,a;for(n in e)if(i=be.camelCase(n),o=t[i],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),a=be.cssHooks[i],a&&"expand"in a){r=a.expand(r),delete e[i];for(n in r)n in e||(e[n]=r[n],t[n]=o)}else t[i]=o}function G(e,t,n){var i,o,r=0,a=G.prefilters.length,s=be.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=bt||X(),n=Math.max(0,c.startTime+c.duration-t),i=n/c.duration||0,r=1-i,a=0,l=c.tweens.length;a<l;a++)c.tweens[a].run(r);return s.notifyWith(e,[c,r,n]),r<1&&l?n:(l||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:be.extend({},t),opts:be.extend(!0,{specialEasing:{},easing:be.easing._default},n),originalProperties:t,originalOptions:n,startTime:bt||X(),duration:n.duration,tweens:[],createTween:function(t,n){var i=be.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(U(u,c.opts.specialEasing);r<a;r++)if(i=G.prefilters[r].call(c,e,u,c.opts))return be.isFunction(i.stop)&&(be._queueHooks(c.elem,c.opts.queue).stop=be.proxy(i.stop,i)),i;return be.map(u,B,c),be.isFunction(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),be.fx.timer(be.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}function Z(e){var t=e.match(qe)||[];return t.join(" ")}function J(e){return e.getAttribute&&e.getAttribute("class")||""}function K(e,t,n,i){var o;if(Array.isArray(t))be.each(t,function(t,o){n||Mt.test(e)?i(e,o):K(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)});else if(n||"object"!==be.type(t))i(e,t);else for(o in t)K(e+"["+o+"]",t[o],n,i)}function ee(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(qe)||[];if(be.isFunction(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function te(e,t,n,i){function o(s){var l;return r[s]=!0,be.each(e[s]||[],function(e,s){var c=s(t,n,i);return"string"!=typeof c||a||r[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)}),l}var r={},a=e===Vt;
  return o(t.dataTypes[0])||!r["*"]&&o("*")}function ne(e,t){var n,i,o=be.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&be.extend(!0,e,i),e}function ie(e,t,n){for(var i,o,r,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),n[r]}function oe(e,t,n,i){var o,r,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(r=u.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(a=c[l+" "+r]||c["* "+r],!a)for(o in c)if(s=o.split(" "),s[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[o]:c[o]!==!0&&(r=s[0],u.unshift(s[1]));break}if(a!==!0)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}var re=[],ae=n.document,se=Object.getPrototypeOf,le=re.slice,ce=re.concat,ue=re.push,de=re.indexOf,pe={},fe=pe.toString,he=pe.hasOwnProperty,ve=he.toString,ge=ve.call(Object),me={},ye="3.2.1",be=function(e,t){return new be.fn.init(e,t)},we=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,xe=/^-ms-/,Te=/-([a-z])/g,ke=function(e,t){return t.toUpperCase()};be.fn=be.prototype={jquery:ye,constructor:be,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=be.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return be.each(this,e)},map:function(e){return this.pushStack(be.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ue,sort:re.sort,splice:re.splice},be.extend=be.fn.extend=function(){var e,t,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||be.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],i=e[t],a!==i&&(c&&i&&(be.isPlainObject(i)||(o=Array.isArray(i)))?(o?(o=!1,r=n&&Array.isArray(n)?n:[]):r=n&&be.isPlainObject(n)?n:{},a[t]=be.extend(c,r,i)):void 0!==i&&(a[t]=i));return a},be.extend({expando:"jQuery"+(ye+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===be.type(e)},isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=be.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==fe.call(e))&&(!(t=se(e))||(n=he.call(t,"constructor")&&t.constructor,"function"==typeof n&&ve.call(n)===ge))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?pe[fe.call(e)]||"object":typeof e},globalEval:function(e){a(e)},camelCase:function(e){return e.replace(xe,"ms-").replace(Te,ke)},each:function(e,t){var n,i=0;if(s(e))for(n=e.length;i<n&&t.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(we,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?be.merge(n,"string"==typeof e?[e]:e):ue.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i,o=[],r=0,a=e.length,s=!n;r<a;r++)i=!t(e[r],r),i!==s&&o.push(e[r]);return o},map:function(e,t,n){var i,o,r=0,a=[];if(s(e))for(i=e.length;r<i;r++)o=t(e[r],r,n),null!=o&&a.push(o);else for(r in e)o=t(e[r],r,n),null!=o&&a.push(o);return ce.apply([],a)},guid:1,proxy:function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),be.isFunction(e))return i=le.call(arguments,2),o=function(){return e.apply(t||this,i.concat(le.call(arguments)))},o.guid=e.guid=e.guid||be.guid++,o},now:Date.now,support:me}),"function"==typeof Symbol&&(be.fn[Symbol.iterator]=re[Symbol.iterator]),be.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var Ce=function(e){function t(e,t,n,i){var o,r,a,s,l,c,u,p=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!i&&((t?t.ownerDocument||t:R)!==N&&M(t),t=t||N,q)){if(11!==h&&(l=me.exec(e)))if(o=l[1]){if(9===h){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(p&&(a=p.getElementById(o))&&F(t,a)&&a.id===o)return n.push(a),n}else{if(l[2])return J.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&T.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(o)),n}if(T.qsa&&!Y[e+" "]&&(!j||!j.test(e))){if(1!==h)p=t,u=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,Te):t.setAttribute("id",s=z),c=E(e),r=c.length;r--;)c[r]="#"+s+" "+f(c[r]);u=c.join(","),p=ye.test(e)&&d(t.parentNode)||t}if(u)try{return J.apply(n,p.querySelectorAll(u)),n}catch(e){}finally{s===z&&t.removeAttribute("id")}}}return P(e.replace(se,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>k.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[z]=!0,e}function o(e){var t=N.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function r(e,t){for(var n=e.split("|"),i=n.length;i--;)k.attrHandle[n[i]]=t}function a(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function p(){}function f(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function h(e,t,n){var i=t.dir,o=t.next,r=o||i,a=n&&"parentNode"===r,s=$++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d,p=[W,s];if(l){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(d=t[z]||(t[z]={}),u=d[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[r])&&c[0]===W&&c[1]===s)return p[2]=c[2];if(u[r]=p,p[2]=e(t,n,l))return!0}return!1}}function v(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function g(e,n,i){for(var o=0,r=n.length;o<r;o++)t(e,n[o],i);return i}function m(e,t,n,i,o){for(var r,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(r=e[s])&&(n&&!n(r,i,o)||(a.push(r),c&&t.push(s)));return a}function y(e,t,n,o,r,a){return o&&!o[z]&&(o=y(o)),r&&!r[z]&&(r=y(r,a)),i(function(i,a,s,l){var c,u,d,p=[],f=[],h=a.length,v=i||g(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?v:m(v,p,e,s,l),b=n?r||(i?e:h||o)?[]:a:y;if(n&&n(y,b,s,l),o)for(c=m(b,f),o(c,[],s,l),u=c.length;u--;)(d=c[u])&&(b[f[u]]=!(y[f[u]]=d));if(i){if(r||e){if(r){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(y[u]=d);r(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=r?ee(i,d):p[u])>-1&&(i[c]=!(a[c]=d))}}else b=m(b===a?b.splice(h,b.length):b),r?r(null,a,b,l):J.apply(a,b)})}function b(e){for(var t,n,i,o=e.length,r=k.relative[e[0].type],a=r||k.relative[" "],s=r?1:0,l=h(function(e){return e===t},a,!0),c=h(function(e){return ee(t,e)>-1},a,!0),u=[function(e,n,i){var o=!r&&(i||n!==O)||((t=n).nodeType?l(e,n,i):c(e,n,i));return t=null,o}];s<o;s++)if(n=k.relative[e[s].type])u=[h(v(u),n)];else{if(n=k.filter[e[s].type].apply(null,e[s].matches),n[z]){for(i=++s;i<o&&!k.relative[e[i].type];i++);return y(s>1&&v(u),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<i&&b(e.slice(s,i)),i<o&&b(e=e.slice(i)),i<o&&f(e))}u.push(n)}return v(u)}function w(e,n){var o=n.length>0,r=e.length>0,a=function(i,a,s,l,c){var u,d,p,f=0,h="0",v=i&&[],g=[],y=O,b=i||r&&k.find.TAG("*",c),w=W+=null==y?1:Math.random()||.1,x=b.length;for(c&&(O=a===N||a||c);h!==x&&null!=(u=b[h]);h++){if(r&&u){for(d=0,a||u.ownerDocument===N||(M(u),s=!q);p=e[d++];)if(p(u,a||N,s)){l.push(u);break}c&&(W=w)}o&&((u=!p&&u)&&f--,i&&v.push(u))}if(f+=h,o&&h!==f){for(d=0;p=n[d++];)p(v,g,a,s);if(i){if(f>0)for(;h--;)v[h]||g[h]||(g[h]=G.call(l));g=m(g)}J.apply(l,g),c&&!i&&g.length>0&&f+n.length>1&&t.uniqueSort(l)}return c&&(W=w,O=y),v};return o?i(a):a}var x,T,k,C,S,E,A,P,O,D,_,M,N,I,q,j,L,H,F,z="sizzle"+1*new Date,R=e.document,W=0,$=0,V=n(),X=n(),Y=n(),B=function(e,t){return e===t&&(_=!0),0},Q={}.hasOwnProperty,U=[],G=U.pop,Z=U.push,J=U.push,K=U.slice,ee=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",oe="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",re=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ce=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ue=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(re),pe=new RegExp("^"+ie+"$"),fe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Te=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ke=function(){M()},Ce=h(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{J.apply(U=K.call(R.childNodes),R.childNodes),U[R.childNodes.length].nodeType}catch(e){J={apply:U.length?function(e,t){Z.apply(e,K.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}T=t.support={},S=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},M=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:R;return i!==N&&9===i.nodeType&&i.documentElement?(N=i,I=N.documentElement,q=!S(N),R!==N&&(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ke,!1):n.attachEvent&&n.attachEvent("onunload",ke)),T.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),T.getElementsByTagName=o(function(e){return e.appendChild(N.createComment("")),!e.getElementsByTagName("*").length}),T.getElementsByClassName=ge.test(N.getElementsByClassName),T.getById=o(function(e){return I.appendChild(e).id=z,!N.getElementsByName||!N.getElementsByName(z).length}),T.getById?(k.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&q){var n=t.getElementById(e);return n?[n]:[]}}):(k.filter.ID=function(e){var t=e.replace(be,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&q){var n,i,o,r=t.getElementById(e);if(r){if(n=r.getAttributeNode("id"),n&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if(n=r.getAttributeNode("id"),n&&n.value===e)return[r]}return[]}}),k.find.TAG=T.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):T.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},k.find.CLASS=T.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&q)return t.getElementsByClassName(e)},L=[],j=[],(T.qsa=ge.test(N.querySelectorAll))&&(o(function(e){I.appendChild(e).innerHTML="<a id='"+z+"'></a><select id='"+z+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||j.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+z+"-]").length||j.push("~="),e.querySelectorAll(":checked").length||j.push(":checked"),e.querySelectorAll("a#"+z+"+*").length||j.push(".#.+[+~]")}),o(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=N.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&j.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&j.push(":enabled",":disabled"),I.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&j.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),j.push(",.*:")})),(T.matchesSelector=ge.test(H=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&o(function(e){T.disconnectedMatch=H.call(e,"*"),H.call(e,"[s!='']:x"),L.push("!=",re)}),j=j.length&&new RegExp(j.join("|")),L=L.length&&new RegExp(L.join("|")),t=ge.test(I.compareDocumentPosition),F=t||ge.test(I.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},B=t?function(e,t){if(e===t)return _=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!T.sortDetached&&t.compareDocumentPosition(e)===n?e===N||e.ownerDocument===R&&F(R,e)?-1:t===N||t.ownerDocument===R&&F(R,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return _=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,s=[e],l=[t];if(!o||!r)return e===N?-1:t===N?1:o?-1:r?1:D?ee(D,e)-ee(D,t):0;if(o===r)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?a(s[i],l[i]):s[i]===R?-1:l[i]===R?1:0},N):N},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==N&&M(e),n=n.replace(ue,"='$1']"),T.matchesSelector&&q&&!Y[n+" "]&&(!L||!L.test(n))&&(!j||!j.test(n)))try{var i=H.call(e,n);if(i||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return t(n,N,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==N&&M(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==N&&M(e);var n=k.attrHandle[t.toLowerCase()],i=n&&Q.call(k.attrHandle,t.toLowerCase())?n(e,t,!q):void 0;return void 0!==i?i:T.attributes||!q?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.escape=function(e){return(e+"").replace(xe,Te)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,o=0;if(_=!T.detectDuplicates,D=!T.sortStable&&e.slice(0),e.sort(B),_){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return D=null,e},C=t.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=C(t);return n},k=t.selectors={cacheLength:50,createPseudo:i,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=E(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&V(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(o){var r=t.attr(o,e);return null==r?"!="===n:!n||(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(ae," ")+" ").indexOf(i)>-1:"|="===n&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,h,v=r!==a?"nextSibling":"previousSibling",g=t.parentNode,m=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(g){if(r){for(;v;){for(p=t;p=p[v];)if(s?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(p=g,d=p[z]||(p[z]={}),u=d[p.uniqueID]||(d[p.uniqueID]={}),c=u[e]||[],f=c[0]===W&&c[1],b=f&&c[2],p=f&&g.childNodes[f];p=++f&&p&&p[v]||(b=f=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){u[e]=[W,f,b];break}}else if(y&&(p=t,d=p[z]||(p[z]={}),u=d[p.uniqueID]||(d[p.uniqueID]={}),c=u[e]||[],f=c[0]===W&&c[1],b=f),b===!1)for(;(p=++f&&p&&p[v]||(b=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(y&&(d=p[z]||(p[z]={}),u=d[p.uniqueID]||(d[p.uniqueID]={}),u[e]=[W,b]),p!==t)););return b-=o,b===i||b%i===0&&b/i>=0}}},PSEUDO:function(e,n){var o,r=k.pseudos[e]||k.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return r[z]?r(n):r.length>1?(o=[e,e,"",n],k.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,o=r(e,n),a=o.length;a--;)i=ee(e,o[a]),e[i]=!(t[i]=o[a])}):function(e){return r(e,0,o)}):r}},pseudos:{not:i(function(e){var t=[],n=[],o=A(e.replace(se,"$1"));return o[z]?i(function(e,t,n,i){for(var r,a=o(e,null,i,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))}):function(e,i,r){return t[0]=e,o(t,null,r,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:i(function(e){return pe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do if(n=q?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===I},focus:function(e){return e===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return ve.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},k.pseudos.nth=k.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[x]=s(x);for(x in{submit:!0,reset:!0})k.pseudos[x]=l(x);return p.prototype=k.filters=k.pseudos,k.setFilters=new p,E=t.tokenize=function(e,n){var i,o,r,a,s,l,c,u=X[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=k.preFilter;s;){i&&!(o=le.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),i=!1,(o=ce.exec(s))&&(i=o.shift(),r.push({value:i,type:o[0].replace(se," ")}),s=s.slice(i.length));for(a in k.filter)!(o=fe[a].exec(s))||c[a]&&!(o=c[a](o))||(i=o.shift(),r.push({value:i,type:a,matches:o}),s=s.slice(i.length));if(!i)break}return n?s.length:s?t.error(e):X(e,l).slice(0)},A=t.compile=function(e,t){var n,i=[],o=[],r=Y[e+" "];if(!r){for(t||(t=E(e)),n=t.length;n--;)r=b(t[n]),r[z]?i.push(r):o.push(r);r=Y(e,w(o,i)),r.selector=e}return r},P=t.select=function(e,t,n,i){var o,r,a,s,l,c="function"==typeof e&&e,u=!i&&E(e=c.selector||e);if(n=n||[],1===u.length){if(r=u[0]=u[0].slice(0),r.length>2&&"ID"===(a=r[0]).type&&9===t.nodeType&&q&&k.relative[r[1].type]){if(t=(k.find.ID(a.matches[0].replace(be,we),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(o=fe.needsContext.test(e)?0:r.length;o--&&(a=r[o],!k.relative[s=a.type]);)if((l=k.find[s])&&(i=l(a.matches[0].replace(be,we),ye.test(r[0].type)&&d(t.parentNode)||t))){if(r.splice(o,1),e=i.length&&f(r),!e)return J.apply(n,i),n;break}}return(c||A(e,u))(i,t,!q,n,!t||ye.test(e)&&d(t.parentNode)||t),n},T.sortStable=z.split("").sort(B).join("")===z,T.detectDuplicates=!!_,M(),T.sortDetached=o(function(e){return 1&e.compareDocumentPosition(N.createElement("fieldset"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||r("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),T.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||r("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||r(te,function(e,t,n){var i;if(!n)return e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(n);be.find=Ce,be.expr=Ce.selectors,be.expr[":"]=be.expr.pseudos,be.uniqueSort=be.unique=Ce.uniqueSort,be.text=Ce.getText,be.isXMLDoc=Ce.isXML,be.contains=Ce.contains,be.escapeSelector=Ce.escape;var Se=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&be(e).is(n))break;i.push(e)}return i},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ae=be.expr.match.needsContext,Pe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Oe=/^.[^:#\[\.,]*$/;be.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?be.find.matchesSelector(i,e)?[i]:[]:be.find.matches(e,be.grep(t,function(e){return 1===e.nodeType}))},be.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(be(e).filter(function(){for(t=0;t<i;t++)if(be.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)be.find(e,o[t],n);return i>1?be.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&Ae.test(e)?be(e):e||[],!1).length}});var De,_e=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Me=be.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||De,"string"==typeof e){if(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:_e.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof be?t[0]:t,be.merge(this,be.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:ae,!0)),Pe.test(i[1])&&be.isPlainObject(t))for(i in t)be.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return o=ae.getElementById(i[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):be.isFunction(e)?void 0!==n.ready?n.ready(e):e(be):be.makeArray(e,this)};Me.prototype=be.fn,De=be(ae);var Ne=/^(?:parents|prev(?:Until|All))/,Ie={children:!0,contents:!0,next:!0,prev:!0};be.fn.extend({has:function(e){var t=be(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(be.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,r=[],a="string"!=typeof e&&be(e);if(!Ae.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&be.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?be.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?de.call(be(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(be.uniqueSort(be.merge(this.get(),be(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),be.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Se(e,"parentNode")},parentsUntil:function(e,t,n){return Se(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return Se(e,"nextSibling")},prevAll:function(e){return Se(e,"previousSibling")},nextUntil:function(e,t,n){return Se(e,"nextSibling",n)},prevUntil:function(e,t,n){return Se(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return l(e,"iframe")?e.contentDocument:(l(e,"template")&&(e=e.content||e),be.merge([],e.childNodes))}},function(e,t){be.fn[e]=function(n,i){var o=be.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=be.filter(i,o)),this.length>1&&(Ie[e]||be.uniqueSort(o),Ne.test(e)&&o.reverse()),this.pushStack(o)}});var qe=/[^\x20\t\r\n\f]+/g;be.Callbacks=function(e){e="string"==typeof e?d(e):be.extend({},e);var t,n,i,o,r=[],a=[],s=-1,l=function(){for(o=o||e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s<r.length;)r[s].apply(n[0],n[1])===!1&&e.stopOnFalse&&(s=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!t&&(s=r.length-1,a.push(n)),function t(n){be.each(n,function(n,i){be.isFunction(i)?e.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==be.type(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return be.each(arguments,function(e,t){for(var n;(n=be.inArray(t,r,n))>-1;)r.splice(n,1),n<=s&&s--}),this},has:function(e){return e?be.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=a=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=a=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},be.extend({Deferred:function(e){var t=[["notify","progress",be.Callbacks("memory"),be.Callbacks("memory"),2],["resolve","done",be.Callbacks("once memory"),be.Callbacks("once memory"),0,"resolved"],["reject","fail",be.Callbacks("once memory"),be.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return be.Deferred(function(n){be.each(t,function(t,i){var o=be.isFunction(e[i[4]])&&e[i[4]];r[i[1]](function(){var e=o&&o.apply(this,arguments);e&&be.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,i,o){function r(e,t,i,o){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<a)){if(n=i.apply(s,l),n===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,be.isFunction(c)?o?c.call(n,r(a,t,p,o),r(a,t,f,o)):(a++,c.call(n,r(a,t,p,o),r(a,t,f,o),r(a,t,p,t.notifyWith))):(i!==p&&(s=void 0,l=[n]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(n){be.Deferred.exceptionHook&&be.Deferred.exceptionHook(n,u.stackTrace),e+1>=a&&(i!==f&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(be.Deferred.getStackHook&&(u.stackTrace=be.Deferred.getStackHook()),n.setTimeout(u))}}var a=0;return be.Deferred(function(n){t[0][3].add(r(0,n,be.isFunction(o)?o:p,n.notifyWith)),t[1][3].add(r(0,n,be.isFunction(e)?e:p)),t[2][3].add(r(0,n,be.isFunction(i)?i:f))}).promise()},promise:function(e){return null!=e?be.extend(e,o):o}},r={};return be.each(t,function(e,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add(function(){i=s},t[3-e][2].disable,t[0][2].lock),a.add(n[3].fire),r[n[0]]=function(){return r[n[0]+"With"](this===r?void 0:this,arguments),this},r[n[0]+"With"]=a.fireWith}),o.promise(r),e&&e.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),o=le.call(arguments),r=be.Deferred(),a=function(e){return function(n){i[e]=this,o[e]=arguments.length>1?le.call(arguments):n,--t||r.resolveWith(i,o)}};if(t<=1&&(h(e,r.done(a(n)).resolve,r.reject,!t),"pending"===r.state()||be.isFunction(o[n]&&o[n].then)))return r.then();for(;n--;)h(o[n],a(n),r.reject);return r.promise()}});var je=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;be.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&je.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},be.readyException=function(e){n.setTimeout(function(){throw e})};var Le=be.Deferred();be.fn.ready=function(e){return Le.then(e).catch(function(e){be.readyException(e)}),this},be.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--be.readyWait:be.isReady)||(be.isReady=!0,e!==!0&&--be.readyWait>0||Le.resolveWith(ae,[be]))}}),be.ready.then=Le.then,"complete"===ae.readyState||"loading"!==ae.readyState&&!ae.documentElement.doScroll?n.setTimeout(be.ready):(ae.addEventListener("DOMContentLoaded",v),
  n.addEventListener("load",v));var He=function(e,t,n,i,o,r,a){var s=0,l=e.length,c=null==n;if("object"===be.type(n)){o=!0;for(s in n)He(e,t,s,n[s],!0,r,a)}else if(void 0!==i&&(o=!0,be.isFunction(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(be(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):r},Fe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};g.uid=1,g.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Fe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[be.camelCase(t)]=n;else for(i in t)o[be.camelCase(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][be.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){Array.isArray(t)?t=t.map(be.camelCase):(t=be.camelCase(t),t=t in i?[t]:t.match(qe)||[]),n=t.length;for(;n--;)delete i[t[n]]}(void 0===t||be.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!be.isEmptyObject(t)}};var ze=new g,Re=new g,We=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,$e=/[A-Z]/g;be.extend({hasData:function(e){return Re.hasData(e)||ze.hasData(e)},data:function(e,t,n){return Re.access(e,t,n)},removeData:function(e,t){Re.remove(e,t)},_data:function(e,t,n){return ze.access(e,t,n)},_removeData:function(e,t){ze.remove(e,t)}}),be.fn.extend({data:function(e,t){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===e){if(this.length&&(o=Re.get(r),1===r.nodeType&&!ze.get(r,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=be.camelCase(i.slice(5)),y(r,i,o[i])));ze.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Re.set(this,e)}):He(this,function(t){var n;if(r&&void 0===t){if(n=Re.get(r,e),void 0!==n)return n;if(n=y(r,e),void 0!==n)return n}else this.each(function(){Re.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Re.remove(this,e)})}}),be.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=ze.get(e,t),n&&(!i||Array.isArray(n)?i=ze.access(e,t,be.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=be.queue(e,t),i=n.length,o=n.shift(),r=be._queueHooks(e,t),a=function(){be.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,a,r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ze.get(e,n)||ze.access(e,n,{empty:be.Callbacks("once memory").add(function(){ze.remove(e,[t+"queue",n])})})}}),be.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?be.queue(this[0],e):void 0===t?this:this.each(function(){var n=be.queue(this,e,t);be._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&be.dequeue(this,e)})},dequeue:function(e){return this.each(function(){be.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=be.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=ze.get(r[a],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var Ve=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Xe=new RegExp("^(?:([+-])=|)("+Ve+")([a-z%]*)$","i"),Ye=["Top","Right","Bottom","Left"],Be=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&be.contains(e.ownerDocument,e)&&"none"===be.css(e,"display")},Qe=function(e,t,n,i){var o,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];o=n.apply(e,i||[]);for(r in t)e.style[r]=a[r];return o},Ue={};be.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Be(this)?be(this).show():be(this).hide()})}});var Ge=/^(?:checkbox|radio)$/i,Ze=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|\/(?:java|ecma)script/i,Ke={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ke.optgroup=Ke.option,Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td;var et=/<|&#?\w+;/;!function(){var e=ae.createDocumentFragment(),t=e.appendChild(ae.createElement("div")),n=ae.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),me.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",me.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var tt=ae.documentElement,nt=/^key/,it=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ot=/^([^.]*)(?:\.(.+)|)/;be.event={global:{},add:function(e,t,n,i,o){var r,a,s,l,c,u,d,p,f,h,v,g=ze.get(e);if(g)for(n.handler&&(r=n,n=r.handler,o=r.selector),o&&be.find.matchesSelector(tt,o),n.guid||(n.guid=be.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(t){return"undefined"!=typeof be&&be.event.triggered!==t.type?be.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(qe)||[""],c=t.length;c--;)s=ot.exec(t[c])||[],f=v=s[1],h=(s[2]||"").split(".").sort(),f&&(d=be.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=be.event.special[f]||{},u=be.extend({type:f,origType:v,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&be.expr.match.needsContext.test(o),namespace:h.join(".")},r),(p=l[f])||(p=l[f]=[],p.delegateCount=0,d.setup&&d.setup.call(e,i,h,a)!==!1||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),be.event.global[f]=!0)},remove:function(e,t,n,i,o){var r,a,s,l,c,u,d,p,f,h,v,g=ze.hasData(e)&&ze.get(e);if(g&&(l=g.events)){for(t=(t||"").match(qe)||[""],c=t.length;c--;)if(s=ot.exec(t[c])||[],f=v=s[1],h=(s[2]||"").split(".").sort(),f){for(d=be.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,p=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=p.length;r--;)u=p[r],!o&&v!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&d.teardown.call(e,h,g.handle)!==!1||be.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)be.event.remove(e,f+t[c],n,i,!0);be.isEmptyObject(l)&&ze.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,a,s=be.event.fix(e),l=new Array(arguments.length),c=(ze.get(this,"events")||{})[s.type]||[],u=be.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,s)!==!1){for(a=be.event.handlers.call(this,s,c),t=0;(o=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(r.namespace)||(s.handleObj=r,s.data=r.data,i=((be.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l),void 0!==i&&(s.result=i)===!1&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,i,o,r,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||c.disabled!==!0)){for(r=[],a={},n=0;n<l;n++)i=t[n],o=i.selector+" ",void 0===a[o]&&(a[o]=i.needsContext?be(o,this).index(c)>-1:be.find(o,this,null,[c]).length),a[o]&&r.push(i);r.length&&s.push({elem:c,handlers:r})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(be.Event.prototype,e,{enumerable:!0,configurable:!0,get:be.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[be.expando]?e:new be.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==A()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===A()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&l(this,"input"))return this.click(),!1},_default:function(e){return l(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},be.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},be.Event=function(e,t){return this instanceof be.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?S:E,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&be.extend(this,t),this.timeStamp=e&&e.timeStamp||be.now(),void(this[be.expando]=!0)):new be.Event(e,t)},be.Event.prototype={constructor:be.Event,isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=S,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=S,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=S,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},be.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&nt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&it.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},be.event.addProp),be.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){be.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,o=e.relatedTarget,r=e.handleObj;return o&&(o===i||be.contains(i,o))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),be.fn.extend({on:function(e,t,n,i){return P(this,e,t,n,i)},one:function(e,t,n,i){return P(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,be(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=E),this.each(function(){be.event.remove(this,e,n,t)})}});var rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,at=/<script|<style|<link/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,lt=/^true\/(.*)/,ct=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;be.extend({htmlPrefilter:function(e){return e.replace(rt,"<$1></$2>")},clone:function(e,t,n){var i,o,r,a,s=e.cloneNode(!0),l=be.contains(e.ownerDocument,e);if(!(me.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||be.isXMLDoc(e)))for(a=T(s),r=T(e),i=0,o=r.length;i<o;i++)N(r[i],a[i]);if(t)if(n)for(r=r||T(e),a=a||T(s),i=0,o=r.length;i<o;i++)M(r[i],a[i]);else M(e,s);return a=T(s,"script"),a.length>0&&k(a,!l&&T(e,"script")),s},cleanData:function(e){for(var t,n,i,o=be.event.special,r=0;void 0!==(n=e[r]);r++)if(Fe(n)){if(t=n[ze.expando]){if(t.events)for(i in t.events)o[i]?be.event.remove(n,i):be.removeEvent(n,i,t.handle);n[ze.expando]=void 0}n[Re.expando]&&(n[Re.expando]=void 0)}}}),be.fn.extend({detach:function(e){return q(this,e,!0)},remove:function(e){return q(this,e)},text:function(e){return He(this,function(e){return void 0===e?be.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return I(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=O(this,e);t.appendChild(e)}})},prepend:function(){return I(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=O(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(be.cleanData(T(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return be.clone(this,e,t)})},html:function(e){return He(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!at.test(e)&&!Ke[(Ze.exec(e)||["",""])[1].toLowerCase()]){e=be.htmlPrefilter(e);try{for(;n<i;n++)t=this[n]||{},1===t.nodeType&&(be.cleanData(T(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return I(this,arguments,function(t){var n=this.parentNode;be.inArray(this,e)<0&&(be.cleanData(T(this)),n&&n.replaceChild(t,this))},e)}}),be.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){be.fn[e]=function(e){for(var n,i=[],o=be(e),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),be(o[a])[t](n),ue.apply(i,n.get());return this.pushStack(i)}});var ut=/^margin/,dt=new RegExp("^("+Ve+")(?!px)[a-z%]+$","i"),pt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)};!function(){function e(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",tt.appendChild(a);var e=n.getComputedStyle(s);t="1%"!==e.top,r="2px"===e.marginLeft,i="4px"===e.width,s.style.marginRight="50%",o="4px"===e.marginRight,tt.removeChild(a),s=null}}var t,i,o,r,a=ae.createElement("div"),s=ae.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",me.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),be.extend(me,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return e(),i},pixelMarginRight:function(){return e(),o},reliableMarginLeft:function(){return e(),r}}))}();var ft=/^(none|table(?!-c[ea]).+)/,ht=/^--/,vt={position:"absolute",visibility:"hidden",display:"block"},gt={letterSpacing:"0",fontWeight:"400"},mt=["Webkit","Moz","ms"],yt=ae.createElement("div").style;be.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=j(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,a,s=be.camelCase(t),l=ht.test(t),c=e.style;return l||(t=F(s)),a=be.cssHooks[t]||be.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:c[t]:(r=typeof n,"string"===r&&(o=Xe.exec(n))&&o[1]&&(n=b(e,t,o),r="number"),null!=n&&n===n&&("number"===r&&(n+=o&&o[3]||(be.cssNumber[s]?"":"px")),me.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n)),void 0)}},css:function(e,t,n,i){var o,r,a,s=be.camelCase(t),l=ht.test(t);return l||(t=F(s)),a=be.cssHooks[t]||be.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=j(e,t,i)),"normal"===o&&t in gt&&(o=gt[t]),""===n||n?(r=parseFloat(o),n===!0||isFinite(r)?r||0:o):o}}),be.each(["height","width"],function(e,t){be.cssHooks[t]={get:function(e,n,i){if(n)return!ft.test(be.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?W(e,t,i):Qe(e,vt,function(){return W(e,t,i)})},set:function(e,n,i){var o,r=i&&pt(e),a=i&&R(e,t,i,"border-box"===be.css(e,"boxSizing",!1,r),r);return a&&(o=Xe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=be.css(e,t)),z(e,n,a)}}}),be.cssHooks.marginLeft=L(me.reliableMarginLeft,function(e,t){if(t)return(parseFloat(j(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),be.each({margin:"",padding:"",border:"Width"},function(e,t){be.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+Ye[i]+t]=r[i]||r[i-2]||r[0];return o}},ut.test(e)||(be.cssHooks[e+t].set=z)}),be.fn.extend({css:function(e,t){return He(this,function(e,t,n){var i,o,r={},a=0;if(Array.isArray(t)){for(i=pt(e),o=t.length;a<o;a++)r[t[a]]=be.css(e,t[a],!1,i);return r}return void 0!==n?be.style(e,t,n):be.css(e,t)},e,t,arguments.length>1)}}),be.Tween=$,$.prototype={constructor:$,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||be.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(be.cssNumber[n]?"":"px")},cur:function(){var e=$.propHooks[this.prop];return e&&e.get?e.get(this):$.propHooks._default.get(this)},run:function(e){var t,n=$.propHooks[this.prop];return this.options.duration?this.pos=t=be.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):$.propHooks._default.set(this),this}},$.prototype.init.prototype=$.prototype,$.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=be.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){be.fx.step[e.prop]?be.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[be.cssProps[e.prop]]&&!be.cssHooks[e.prop]?e.elem[e.prop]=e.now:be.style(e.elem,e.prop,e.now+e.unit)}}},$.propHooks.scrollTop=$.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},be.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},be.fx=$.prototype.init,be.fx.step={};var bt,wt,xt=/^(?:toggle|show|hide)$/,Tt=/queueHooks$/;be.Animation=be.extend(G,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return b(n.elem,e,Xe.exec(t),n),n}]},tweener:function(e,t){be.isFunction(e)?(t=e,e=["*"]):e=e.match(qe);for(var n,i=0,o=e.length;i<o;i++)n=e[i],G.tweeners[n]=G.tweeners[n]||[],G.tweeners[n].unshift(t)},prefilters:[Q],prefilter:function(e,t){t?G.prefilters.unshift(e):G.prefilters.push(e)}}),be.speed=function(e,t,n){var i=e&&"object"==typeof e?be.extend({},e):{complete:n||!n&&t||be.isFunction(e)&&e,duration:e,easing:n&&t||t&&!be.isFunction(t)&&t};return be.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in be.fx.speeds?i.duration=be.fx.speeds[i.duration]:i.duration=be.fx.speeds._default),null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){be.isFunction(i.old)&&i.old.call(this),i.queue&&be.dequeue(this,i.queue)},i},be.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Be).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=be.isEmptyObject(e),r=be.speed(t,n,i),a=function(){var t=G(this,be.extend({},e),r);(o||ze.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||r.queue===!1?this.each(a):this.queue(r.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",r=be.timers,a=ze.get(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&Tt.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||be.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=ze.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=be.timers,a=i?i.length:0;for(n.finish=!0,be.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),be.each(["toggle","show","hide"],function(e,t){var n=be.fn[t];be.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(Y(t,!0),e,i,o)}}),be.each({slideDown:Y("show"),slideUp:Y("hide"),slideToggle:Y("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){be.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),be.timers=[],be.fx.tick=function(){var e,t=0,n=be.timers;for(bt=be.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||be.fx.stop(),bt=void 0},be.fx.timer=function(e){be.timers.push(e),be.fx.start()},be.fx.interval=13,be.fx.start=function(){wt||(wt=!0,V())},be.fx.stop=function(){wt=null},be.fx.speeds={slow:600,fast:200,_default:400},be.fn.delay=function(e,t){return e=be.fx?be.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,i){var o=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(o)}})},function(){var e=ae.createElement("input"),t=ae.createElement("select"),n=t.appendChild(ae.createElement("option"));e.type="checkbox",me.checkOn=""!==e.value,me.optSelected=n.selected,e=ae.createElement("input"),e.value="t",e.type="radio",me.radioValue="t"===e.value}();var kt,Ct=be.expr.attrHandle;be.fn.extend({attr:function(e,t){return He(this,be.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){be.removeAttr(this,e)})}}),be.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof e.getAttribute?be.prop(e,t,n):(1===r&&be.isXMLDoc(e)||(o=be.attrHooks[t.toLowerCase()]||(be.expr.match.bool.test(t)?kt:void 0)),void 0!==n?null===n?void be.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:(i=be.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!me.radioValue&&"radio"===t&&l(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(qe);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),kt={set:function(e,t,n){return t===!1?be.removeAttr(e,n):e.setAttribute(n,n),n}},be.each(be.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ct[t]||be.find.attr;Ct[t]=function(e,t,i){var o,r,a=t.toLowerCase();return i||(r=Ct[a],Ct[a]=o,o=null!=n(e,t,i)?a:null,Ct[a]=r),o}});var St=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;be.fn.extend({prop:function(e,t){return He(this,be.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[be.propFix[e]||e]})}}),be.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&be.isXMLDoc(e)||(t=be.propFix[t]||t,o=be.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=be.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),me.optSelected||(be.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),be.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){be.propFix[this.toLowerCase()]=this}),be.fn.extend({addClass:function(e){var t,n,i,o,r,a,s,l=0;if(be.isFunction(e))return this.each(function(t){be(this).addClass(e.call(this,t,J(this)))});if("string"==typeof e&&e)for(t=e.match(qe)||[];n=this[l++];)if(o=J(n),i=1===n.nodeType&&" "+Z(o)+" "){for(a=0;r=t[a++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s=Z(i),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,o,r,a,s,l=0;if(be.isFunction(e))return this.each(function(t){be(this).removeClass(e.call(this,t,J(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(qe)||[];n=this[l++];)if(o=J(n),i=1===n.nodeType&&" "+Z(o)+" "){for(a=0;r=t[a++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");s=Z(i),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):be.isFunction(e)?this.each(function(n){be(this).toggleClass(e.call(this,n,J(this),t),t)}):this.each(function(){var t,i,o,r;if("string"===n)for(i=0,o=be(this),r=e.match(qe)||[];t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=J(this),t&&ze.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":ze.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+Z(J(n))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;be.fn.extend({val:function(e){var t,n,i,o=this[0];{if(arguments.length)return i=be.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,be(this).val()):e,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=be.map(o,function(e){return null==e?"":e+""})),t=be.valHooks[this.type]||be.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=be.valHooks[o.type]||be.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(At,""):null==n?"":n)}}}),be.extend({valHooks:{option:{get:function(e){var t=be.find.attr(e,"value");return null!=t?t:Z(be.text(e))}},select:{get:function(e){var t,n,i,o=e.options,r=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?r+1:o.length;for(i=r<0?c:a?r:0;i<c;i++)if(n=o[i],(n.selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!l(n.parentNode,"optgroup"))){if(t=be(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,r=be.makeArray(t),a=o.length;a--;)i=o[a],(i.selected=be.inArray(be.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),be.each(["radio","checkbox"],function(){be.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=be.inArray(be(e).val(),t)>-1}},me.checkOn||(be.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Pt=/^(?:focusinfocus|focusoutblur)$/;be.extend(be.event,{trigger:function(e,t,i,o){var r,a,s,l,c,u,d,p=[i||ae],f=he.call(e,"type")?e.type:e,h=he.call(e,"namespace")?e.namespace.split("."):[];if(a=s=i=i||ae,3!==i.nodeType&&8!==i.nodeType&&!Pt.test(f+be.event.triggered)&&(f.indexOf(".")>-1&&(h=f.split("."),f=h.shift(),h.sort()),c=f.indexOf(":")<0&&"on"+f,e=e[be.expando]?e:new be.Event(f,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:be.makeArray(t,[e]),d=be.event.special[f]||{},o||!d.trigger||d.trigger.apply(i,t)!==!1)){if(!o&&!d.noBubble&&!be.isWindow(i)){for(l=d.delegateType||f,Pt.test(l+f)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(i.ownerDocument||ae)&&p.push(s.defaultView||s.parentWindow||n)}for(r=0;(a=p[r++])&&!e.isPropagationStopped();)e.type=r>1?l:d.bindType||f,u=(ze.get(a,"events")||{})[e.type]&&ze.get(a,"handle"),u&&u.apply(a,t),u=c&&a[c],u&&u.apply&&Fe(a)&&(e.result=u.apply(a,t),e.result===!1&&e.preventDefault());return e.type=f,o||e.isDefaultPrevented()||d._default&&d._default.apply(p.pop(),t)!==!1||!Fe(i)||c&&be.isFunction(i[f])&&!be.isWindow(i)&&(s=i[c],s&&(i[c]=null),be.event.triggered=f,i[f](),be.event.triggered=void 0,s&&(i[c]=s)),e.result}},simulate:function(e,t,n){var i=be.extend(new be.Event,n,{type:e,isSimulated:!0});be.event.trigger(i,null,t)}}),be.fn.extend({trigger:function(e,t){return this.each(function(){be.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return be.event.trigger(e,t,n,!0)}}),be.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){be.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),be.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),me.focusin="onfocusin"in n,me.focusin||be.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){be.event.simulate(t,e.target,be.event.fix(e))};be.event.special[t]={setup:function(){var i=this.ownerDocument||this,o=ze.access(i,t);o||i.addEventListener(e,n,!0),ze.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=ze.access(i,t)-1;o?ze.access(i,t,o):(i.removeEventListener(e,n,!0),ze.remove(i,t))}}});var Ot=n.location,Dt=be.now(),_t=/\?/;be.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||be.error("Invalid XML: "+e),t};var Mt=/\[\]$/,Nt=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,qt=/^(?:input|select|textarea|keygen)/i;be.param=function(e,t){var n,i=[],o=function(e,t){var n=be.isFunction(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!be.isPlainObject(e))be.each(e,function(){o(this.name,this.value)});else for(n in e)K(n,e[n],t,o);return i.join("&")},be.fn.extend({serialize:function(){return be.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=be.prop(this,"elements");return e?be.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!be(this).is(":disabled")&&qt.test(this.nodeName)&&!It.test(e)&&(this.checked||!Ge.test(e))}).map(function(e,t){var n=be(this).val();return null==n?null:Array.isArray(n)?be.map(n,function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}}):{name:t.name,value:n.replace(Nt,"\r\n")}}).get()}});var jt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,zt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Rt=/^(?:GET|HEAD)$/,Wt=/^\/\//,$t={},Vt={},Xt="*/".concat("*"),Yt=ae.createElement("a");Yt.href=Ot.href,be.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:zt.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":be.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ne(ne(e,be.ajaxSettings),t):ne(be.ajaxSettings,e);
  },ajaxPrefilter:ee($t),ajaxTransport:ee(Vt),ajax:function(e,t){function i(e,t,i,s){var c,p,f,w,x,T=t;u||(u=!0,l&&n.clearTimeout(l),o=void 0,a=s||"",k.readyState=e>0?4:0,c=e>=200&&e<300||304===e,i&&(w=ie(h,k,i)),w=oe(h,w,k,c),c?(h.ifModified&&(x=k.getResponseHeader("Last-Modified"),x&&(be.lastModified[r]=x),x=k.getResponseHeader("etag"),x&&(be.etag[r]=x)),204===e||"HEAD"===h.type?T="nocontent":304===e?T="notmodified":(T=w.state,p=w.data,f=w.error,c=!f)):(f=T,!e&&T||(T="error",e<0&&(e=0))),k.status=e,k.statusText=(t||T)+"",c?m.resolveWith(v,[p,T,k]):m.rejectWith(v,[k,T,f]),k.statusCode(b),b=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[k,h,c?p:f]),y.fireWith(v,[k,T]),d&&(g.trigger("ajaxComplete",[k,h]),--be.active||be.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,r,a,s,l,c,u,d,p,f,h=be.ajaxSetup({},t),v=h.context||h,g=h.context&&(v.nodeType||v.jquery)?be(v):be.event,m=be.Deferred(),y=be.Callbacks("once memory"),b=h.statusCode||{},w={},x={},T="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=Ft.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(e,t){return null==u&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)k.always(e[k.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||T;return o&&o.abort(t),i(0,t),this}};if(m.promise(k),h.url=((e||h.url||Ot.href)+"").replace(Wt,Ot.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(qe)||[""],null==h.crossDomain){c=ae.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Yt.protocol+"//"+Yt.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=be.param(h.data,h.traditional)),te($t,h,t,k),u)return k;d=be.event&&h.global,d&&0===be.active++&&be.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Rt.test(h.type),r=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(jt,"+")):(f=h.url.slice(r.length),h.data&&(r+=(_t.test(r)?"&":"?")+h.data,delete h.data),h.cache===!1&&(r=r.replace(Ht,"$1"),f=(_t.test(r)?"&":"?")+"_="+Dt++ +f),h.url=r+f),h.ifModified&&(be.lastModified[r]&&k.setRequestHeader("If-Modified-Since",be.lastModified[r]),be.etag[r]&&k.setRequestHeader("If-None-Match",be.etag[r])),(h.data&&h.hasContent&&h.contentType!==!1||t.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Xt+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)k.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(h.beforeSend.call(v,k,h)===!1||u))return k.abort();if(T="abort",y.add(h.complete),k.done(h.success),k.fail(h.error),o=te(Vt,h,t,k)){if(k.readyState=1,d&&g.trigger("ajaxSend",[k,h]),u)return k;h.async&&h.timeout>0&&(l=n.setTimeout(function(){k.abort("timeout")},h.timeout));try{u=!1,o.send(w,i)}catch(e){if(u)throw e;i(-1,e)}}else i(-1,"No Transport");return k},getJSON:function(e,t,n){return be.get(e,t,n,"json")},getScript:function(e,t){return be.get(e,void 0,t,"script")}}),be.each(["get","post"],function(e,t){be[t]=function(e,n,i,o){return be.isFunction(n)&&(o=o||i,i=n,n=void 0),be.ajax(be.extend({url:e,type:t,dataType:o,data:n,success:i},be.isPlainObject(e)&&e))}}),be._evalUrl=function(e){return be.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},be.fn.extend({wrapAll:function(e){var t;return this[0]&&(be.isFunction(e)&&(e=e.call(this[0])),t=be(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return be.isFunction(e)?this.each(function(t){be(this).wrapInner(e.call(this,t))}):this.each(function(){var t=be(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=be.isFunction(e);return this.each(function(n){be(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){be(this).replaceWith(this.childNodes)}),this}}),be.expr.pseudos.hidden=function(e){return!be.expr.pseudos.visible(e)},be.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},be.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Qt=be.ajaxSettings.xhr();me.cors=!!Qt&&"withCredentials"in Qt,me.ajax=Qt=!!Qt,be.ajaxTransport(function(e){var t,i;if(me.cors||Qt&&!e.crossDomain)return{send:function(o,r){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(a in o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=i=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),i=s.onerror=t("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&i()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),be.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),be.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return be.globalEval(e),e}}}),be.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),be.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=be("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),ae.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Ut=[],Gt=/(=)\?(?=&|$)|\?\?/;be.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ut.pop()||be.expando+"_"+Dt++;return this[e]=!0,e}}),be.ajaxPrefilter("json jsonp",function(e,t,i){var o,r,a,s=e.jsonp!==!1&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=be.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Gt,"$1"+o):e.jsonp!==!1&&(e.url+=(_t.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||be.error(o+" was not called"),a[0]},e.dataTypes[0]="json",r=n[o],n[o]=function(){a=arguments},i.always(function(){void 0===r?be(n).removeProp(o):n[o]=r,e[o]&&(e.jsonpCallback=t.jsonpCallback,Ut.push(o)),a&&be.isFunction(r)&&r(a[0]),a=r=void 0}),"script"}),me.createHTMLDocument=function(){var e=ae.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),be.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,o,r;return t||(me.createHTMLDocument?(t=ae.implementation.createHTMLDocument(""),i=t.createElement("base"),i.href=ae.location.href,t.head.appendChild(i)):t=ae),o=Pe.exec(e),r=!n&&[],o?[t.createElement(o[1])]:(o=C([e],t,r),r&&r.length&&be(r).remove(),be.merge([],o.childNodes))},be.fn.load=function(e,t,n){var i,o,r,a=this,s=e.indexOf(" ");return s>-1&&(i=Z(e.slice(s)),e=e.slice(0,s)),be.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&be.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,a.html(i?be("<div>").append(be.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},be.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){be.fn[t]=function(e){return this.on(t,e)}}),be.expr.pseudos.animated=function(e){return be.grep(be.timers,function(t){return e===t.elem}).length},be.offset={setOffset:function(e,t,n){var i,o,r,a,s,l,c,u=be.css(e,"position"),d=be(e),p={};"static"===u&&(e.style.position="relative"),s=d.offset(),r=be.css(e,"top"),l=be.css(e,"left"),c=("absolute"===u||"fixed"===u)&&(r+l).indexOf("auto")>-1,c?(i=d.position(),a=i.top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),be.isFunction(t)&&(t=t.call(e,n,be.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):d.css(p)}},be.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){be.offset.setOffset(this,e,t)});var t,n,i,o,r=this[0];if(r)return r.getClientRects().length?(i=r.getBoundingClientRect(),t=r.ownerDocument,n=t.documentElement,o=t.defaultView,{top:i.top+o.pageYOffset-n.clientTop,left:i.left+o.pageXOffset-n.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===be.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),l(e[0],"html")||(i=e.offset()),i={top:i.top+be.css(e[0],"borderTopWidth",!0),left:i.left+be.css(e[0],"borderLeftWidth",!0)}),{top:t.top-i.top-be.css(n,"marginTop",!0),left:t.left-i.left-be.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===be.css(e,"position");)e=e.offsetParent;return e||tt})}}),be.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;be.fn[e]=function(i){return He(this,function(e,i,o){var r;return be.isWindow(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o?r?r[t]:e[i]:void(r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o)},e,i,arguments.length)}}),be.each(["top","left"],function(e,t){be.cssHooks[t]=L(me.pixelPosition,function(e,n){if(n)return n=j(e,t),dt.test(n)?be(e).position()[t]+"px":n})}),be.each({Height:"height",Width:"width"},function(e,t){be.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){be.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(o===!0||r===!0?"margin":"border");return He(this,function(t,n,o){var r;return be.isWindow(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?be.css(t,n,s):be.style(t,n,o,s)},t,a?o:void 0,a)}})}),be.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),be.holdReady=function(e){e?be.readyWait++:be.ready(!0)},be.isArray=Array.isArray,be.parseJSON=JSON.parse,be.nodeName=l,i=[],o=function(){return be}.apply(t,i),!(void 0!==o&&(e.exports=o));var Zt=n.jQuery,Jt=n.$;return be.noConflict=function(e){return n.$===be&&(n.$=Jt),e&&n.jQuery===be&&(n.jQuery=Zt),be},r||(n.jQuery=n.$=be),be})},"./node_modules/materialize-css/dist/js/materialize.js":function(e,t,n){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o,r,a,r,r,a,o,r,s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();if("undefined"==typeof l){var l;l=$=n("./node_modules/jquery/dist/jquery.js")}!function(i){o=[n("./node_modules/jquery/dist/jquery.js")],r=function(e){return i(e)}.apply(t,o),!(void 0!==r&&(e.exports=r))}(function(e){function t(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375}e.easing.jswing=e.easing.swing;var n=Math.pow,i=Math.sqrt,o=Math.sin,r=Math.cos,a=Math.PI,s=1.70158,l=1.525*s,c=s+1,u=2*a/3,d=2*a/4.5;e.extend(e.easing,{def:"easeOutQuad",swing:function(t){return e.easing[e.easing.def](t)},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return 1-(1-e)*(1-e)},easeInOutQuad:function(e){return e<.5?2*e*e:1-n(-2*e+2,2)/2},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1-n(1-e,3)},easeInOutCubic:function(e){return e<.5?4*e*e*e:1-n(-2*e+2,3)/2},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1-n(1-e,4)},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-n(-2*e+2,4)/2},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1-n(1-e,5)},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1-n(-2*e+2,5)/2},easeInSine:function(e){return 1-r(e*a/2)},easeOutSine:function(e){return o(e*a/2)},easeInOutSine:function(e){return-(r(a*e)-1)/2},easeInExpo:function(e){return 0===e?0:n(2,10*e-10)},easeOutExpo:function(e){return 1===e?1:1-n(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:e<.5?n(2,20*e-10)/2:(2-n(2,-20*e+10))/2},easeInCirc:function(e){return 1-i(1-n(e,2))},easeOutCirc:function(e){return i(1-n(e-1,2))},easeInOutCirc:function(e){return e<.5?(1-i(1-n(2*e,2)))/2:(i(1-n(-2*e+2,2))+1)/2},easeInElastic:function(e){return 0===e?0:1===e?1:-n(2,10*e-10)*o((10*e-10.75)*u)},easeOutElastic:function(e){return 0===e?0:1===e?1:n(2,-10*e)*o((10*e-.75)*u)+1},easeInOutElastic:function(e){return 0===e?0:1===e?1:e<.5?-(n(2,20*e-10)*o((20*e-11.125)*d))/2:n(2,-20*e+10)*o((20*e-11.125)*d)/2+1},easeInBack:function(e){return c*e*e*e-s*e*e},easeOutBack:function(e){return 1+c*n(e-1,3)+s*n(e-1,2)},easeInOutBack:function(e){return e<.5?n(2*e,2)*(2*(l+1)*e-l)/2:(n(2*e-2,2)*((l+1)*(2*e-2)+l)+2)/2},easeInBounce:function(e){return 1-t(1-e)},easeOutBounce:t,easeInOutBounce:function(e){return e<.5?(1-t(1-2*e))/2:(1+t(2*e-1))/2}})}),l.extend(l.easing,{easeInOutMaterial:function(e,t,n,i,o){return(t/=o/2)<1?i/2*t*t+n:i/4*((t-=2)*t*t+2)+n}}),l.Velocity?console.log("Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity."):(!function(e){function t(e){var t=e.length,i=n.type(e);return"function"!==i&&!n.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e))}if(!e.jQuery){var n=function(e,t){return new n.fn.init(e,t)};n.isWindow=function(e){return null!=e&&e==e.window},n.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?o[a.call(e)]||"object":typeof e},n.isArray=Array.isArray||function(e){return"array"===n.type(e)},n.isPlainObject=function(e){var t;if(!e||"object"!==n.type(e)||e.nodeType||n.isWindow(e))return!1;try{if(e.constructor&&!r.call(e,"constructor")&&!r.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(t in e);return void 0===t||r.call(e,t)},n.each=function(e,n,i){var o,r=0,a=e.length,s=t(e);if(i){if(s)for(;a>r&&(o=n.apply(e[r],i),o!==!1);r++);else for(r in e)if(o=n.apply(e[r],i),o===!1)break}else if(s)for(;a>r&&(o=n.call(e[r],r,e[r]),o!==!1);r++);else for(r in e)if(o=n.call(e[r],r,e[r]),o===!1)break;return e},n.data=function(e,t,o){if(void 0===o){var r=e[n.expando],a=r&&i[r];if(void 0===t)return a;if(a&&t in a)return a[t]}else if(void 0!==t){var r=e[n.expando]||(e[n.expando]=++n.uuid);return i[r]=i[r]||{},i[r][t]=o,o}},n.removeData=function(e,t){var o=e[n.expando],r=o&&i[o];r&&n.each(t,function(e,t){delete r[t]})},n.extend=function(){var e,t,i,o,r,a,s=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==n.type(s)&&(s={}),l===c&&(s=this,l--);c>l;l++)if(null!=(r=arguments[l]))for(o in r)e=s[o],i=r[o],s!==i&&(u&&i&&(n.isPlainObject(i)||(t=n.isArray(i)))?(t?(t=!1,a=e&&n.isArray(e)?e:[]):a=e&&n.isPlainObject(e)?e:{},s[o]=n.extend(u,a,i)):void 0!==i&&(s[o]=i));return s},n.queue=function(e,i,o){function r(e,n){var i=n||[];return null!=e&&(t(Object(e))?!function(e,t){for(var n=+t.length,i=0,o=e.length;n>i;)e[o++]=t[i++];if(n!==n)for(;void 0!==t[i];)e[o++]=t[i++];return e.length=o,e}(i,"string"==typeof e?[e]:e):[].push.call(i,e)),i}if(e){i=(i||"fx")+"queue";var a=n.data(e,i);return o?(!a||n.isArray(o)?a=n.data(e,i,r(o)):a.push(o),a):a||[]}},n.dequeue=function(e,t){n.each(e.nodeType?[e]:e,function(e,i){t=t||"fx";var o=n.queue(i,t),r=o.shift();"inprogress"===r&&(r=o.shift()),r&&("fx"===t&&o.unshift("inprogress"),r.call(i,function(){n.dequeue(i,t)}))})},n.fn=n.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var t=this[0],e=e.apply(t),i=this.offset(),o=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:n(e).offset();return i.top-=parseFloat(t.style.marginTop)||0,i.left-=parseFloat(t.style.marginLeft)||0,e.style&&(o.top+=parseFloat(e.style.borderTopWidth)||0,o.left+=parseFloat(e.style.borderLeftWidth)||0),{top:i.top-o.top,left:i.left-o.left}}};var i={};n.expando="velocity"+(new Date).getTime(),n.uuid=0;for(var o={},r=o.hasOwnProperty,a=o.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<s.length;l++)o["[object "+s[l]+"]"]=s[l].toLowerCase();n.fn.init.prototype=n.fn,e.Velocity={Utilities:n}}}(window),function(i){"object"==typeof e&&"object"==typeof e.exports?e.exports=i():(a=i,r="function"==typeof a?a.call(t,n,t,e):a,!(void 0!==r&&(e.exports=r)))}(function(){return function(e,t,n,i){function o(e){for(var t=-1,n=e?e.length:0,i=[];++t<n;){var o=e[t];o&&i.push(o)}return i}function r(e){return g.isWrapped(e)?e=[].slice.call(e):g.isNode(e)&&(e=[e]),e}function a(e){var t=f.data(e,"velocity");return null===t?i:t}function s(e){return function(t){return Math.round(t*e)*(1/e)}}function c(e,n,i,o){function r(e,t){return 1-3*t+3*e}function a(e,t){return 3*t-6*e}function s(e){return 3*e}function l(e,t,n){return((r(t,n)*e+a(t,n))*e+s(t))*e}function c(e,t,n){return 3*r(t,n)*e*e+2*a(t,n)*e+s(t)}function u(t,n){for(var o=0;v>o;++o){var r=c(n,e,i);if(0===r)return n;var a=l(n,e,i)-t;n-=a/r}return n}function d(){for(var t=0;b>t;++t)k[t]=l(t*w,e,i)}function p(t,n,o){var r,a,s=0;do a=n+(o-n)/2,r=l(a,e,i)-t,r>0?o=a:n=a;while(Math.abs(r)>m&&++s<y);return a}function f(t){for(var n=0,o=1,r=b-1;o!=r&&k[o]<=t;++o)n+=w;--o;var a=(t-k[o])/(k[o+1]-k[o]),s=n+a*w,l=c(s,e,i);return l>=g?u(t,s):0==l?s:p(t,n,n+w)}function h(){C=!0,(e!=n||i!=o)&&d()}var v=4,g=.001,m=1e-7,y=10,b=11,w=1/(b-1),x="Float32Array"in t;if(4!==arguments.length)return!1;for(var T=0;4>T;++T)if("number"!=typeof arguments[T]||isNaN(arguments[T])||!isFinite(arguments[T]))return!1;e=Math.min(e,1),i=Math.min(i,1),e=Math.max(e,0),i=Math.max(i,0);var k=x?new Float32Array(b):new Array(b),C=!1,S=function(t){return C||h(),e===n&&i===o?t:0===t?0:1===t?1:l(f(t),n,o)};S.getControlPoints=function(){return[{x:e,y:n},{x:i,y:o}]};var E="generateBezier("+[e,n,i,o]+")";return S.toString=function(){return E},S}function u(e,t){var n=e;return g.isString(e)?w.Easings[e]||(n=!1):n=g.isArray(e)&&1===e.length?s.apply(null,e):g.isArray(e)&&2===e.length?x.apply(null,e.concat([t])):!(!g.isArray(e)||4!==e.length)&&c.apply(null,e),n===!1&&(n=w.Easings[w.defaults.easing]?w.defaults.easing:b),n}function d(e){if(e){var t=(new Date).getTime(),n=w.State.calls.length;n>1e4&&(w.State.calls=o(w.State.calls));for(var r=0;n>r;r++)if(w.State.calls[r]){var s=w.State.calls[r],l=s[0],c=s[2],u=s[3],h=!!u,v=null;u||(u=w.State.calls[r][3]=t-16);for(var m=Math.min((t-u)/c.duration,1),y=0,b=l.length;b>y;y++){var x=l[y],k=x.element;if(a(k)){var S=!1;if(c.display!==i&&null!==c.display&&"none"!==c.display){if("flex"===c.display){var E=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];f.each(E,function(e,t){T.setPropertyValue(k,"display",t)})}T.setPropertyValue(k,"display",c.display)}c.visibility!==i&&"hidden"!==c.visibility&&T.setPropertyValue(k,"visibility",c.visibility);for(var A in x)if("element"!==A){var P,O=x[A],D=g.isString(O.easing)?w.Easings[O.easing]:O.easing;if(1===m)P=O.endValue;else{var _=O.endValue-O.startValue;if(P=O.startValue+_*D(m,c,_),!h&&P===O.currentValue)continue}if(O.currentValue=P,"tween"===A)v=P;else{if(T.Hooks.registered[A]){var M=T.Hooks.getRoot(A),N=a(k).rootPropertyValueCache[M];N&&(O.rootPropertyValue=N)}var I=T.setPropertyValue(k,A,O.currentValue+(0===parseFloat(P)?"":O.unitType),O.rootPropertyValue,O.scrollData);T.Hooks.registered[A]&&(a(k).rootPropertyValueCache[M]=T.Normalizations.registered[M]?T.Normalizations.registered[M]("extract",null,I[1]):I[1]),"transform"===I[0]&&(S=!0)}}c.mobileHA&&a(k).transformCache.translate3d===i&&(a(k).transformCache.translate3d="(0px, 0px, 0px)",S=!0),S&&T.flushTransformCache(k)}}c.display!==i&&"none"!==c.display&&(w.State.calls[r][2].display=!1),c.visibility!==i&&"hidden"!==c.visibility&&(w.State.calls[r][2].visibility=!1),c.progress&&c.progress.call(s[1],s[1],m,Math.max(0,u+c.duration-t),u,v),1===m&&p(r)}}w.State.isTicking&&C(d)}function p(e,t){if(!w.State.calls[e])return!1;for(var n=w.State.calls[e][0],o=w.State.calls[e][1],r=w.State.calls[e][2],s=w.State.calls[e][4],l=!1,c=0,u=n.length;u>c;c++){var d=n[c].element;if(t||r.loop||("none"===r.display&&T.setPropertyValue(d,"display",r.display),"hidden"===r.visibility&&T.setPropertyValue(d,"visibility",r.visibility)),r.loop!==!0&&(f.queue(d)[1]===i||!/\.velocityQueueEntryFlag/i.test(f.queue(d)[1]))&&a(d)){a(d).isAnimating=!1,a(d).rootPropertyValueCache={};var p=!1;f.each(T.Lists.transforms3D,function(e,t){var n=/^scale/.test(t)?1:0,o=a(d).transformCache[t];a(d).transformCache[t]!==i&&new RegExp("^\\("+n+"[^.]").test(o)&&(p=!0,delete a(d).transformCache[t])}),r.mobileHA&&(p=!0,delete a(d).transformCache.translate3d),p&&T.flushTransformCache(d),T.Values.removeClass(d,"velocity-animating")}if(!t&&r.complete&&!r.loop&&c===u-1)try{r.complete.call(o,o)}catch(e){setTimeout(function(){throw e},1)}s&&r.loop!==!0&&s(o),a(d)&&r.loop===!0&&!t&&(f.each(a(d).tweensContainer,function(e,t){/^rotate/.test(e)&&360===parseFloat(t.endValue)&&(t.endValue=0,t.startValue=360),/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),w(d,"reverse",{loop:!0,delay:r.delay})),r.queue!==!1&&f.dequeue(d,r.queue)}w.State.calls[e]=!1;for(var h=0,v=w.State.calls.length;v>h;h++)if(w.State.calls[h]!==!1){l=!0;break}l===!1&&(w.State.isTicking=!1,delete w.State.calls,w.State.calls=[])}var f,h=function(){if(n.documentMode)return n.documentMode;for(var e=7;e>4;e--){var t=n.createElement("div");if(t.innerHTML="<!--[if IE "+e+"]><span></span><![endif]-->",t.getElementsByTagName("span").length)return t=null,e}return i}(),v=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-e)),e=i+n,setTimeout(function(){t(i+n)},n)}}(),g={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==i&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)},isWrapped:function(e){return e&&(e.jquery||t.Zepto&&t.Zepto.zepto.isZ(e))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},m=!1;if(e.fn&&e.fn.jquery?(f=e,m=!0):f=t.Velocity.Utilities,8>=h&&!m)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=h)return void(l.fn.velocity=l.fn.animate);var y=400,b="swing",w={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:f,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:y,easing:b,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){f.data(e,"velocity",{isSVG:g.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};t.pageYOffset!==i?(w.State.scrollAnchor=t,w.State.scrollPropertyLeft="pageXOffset",w.State.scrollPropertyTop="pageYOffset"):(w.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,w.State.scrollPropertyLeft="scrollLeft",w.State.scrollPropertyTop="scrollTop");var x=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,i){var o={x:t.x+i.dx*n,v:t.v+i.dv*n,tension:t.tension,friction:t.friction};return{dx:o.v,dv:e(o)}}function n(n,i){var o={dx:n.v,dv:e(n)},r=t(n,.5*i,o),a=t(n,.5*i,r),s=t(n,i,a),l=1/6*(o.dx+2*(r.dx+a.dx)+s.dx),c=1/6*(o.dv+2*(r.dv+a.dv)+s.dv);return n.x=n.x+l*i,n.v=n.v+c*i,n}return function e(t,i,o){var r,a,s,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,d=1e-4,p=.016;for(t=parseFloat(t)||500,i=parseFloat(i)||20,o=o||null,l.tension=t,l.friction=i,r=null!==o,r?(u=e(t,i),a=u/o*p):a=p;s=n(s||l,a),c.push(1+s.x),u+=16,Math.abs(s.x)>d&&Math.abs(s.v)>d;);return r?function(e){return c[e*(c.length-1)|0]}:u}}();w.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},f.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){w.Easings[t[0]]=c.apply(null,t[1])});var T=w.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<T.Lists.colors.length;e++){var t="color"===T.Lists.colors[e]?"0 0 0 1":"255 255 255 1";T.Hooks.templates[T.Lists.colors[e]]=["Red Green Blue Alpha",t]}var n,i,o;if(h)for(n in T.Hooks.templates){i=T.Hooks.templates[n],o=i[0].split(" ");var r=i[1].match(T.RegEx.valueSplit);"Color"===o[0]&&(o.push(o.shift()),r.push(r.shift()),T.Hooks.templates[n]=[o.join(" "),r.join(" ")])}for(n in T.Hooks.templates){i=T.Hooks.templates[n],o=i[0].split(" ");for(var e in o){var a=n+o[e],s=e;T.Hooks.registered[a]=[n,s]}}},getRoot:function(e){var t=T.Hooks.registered[e];return t?t[0]:e},cleanRootPropertyValue:function(e,t){return T.RegEx.valueUnwrap.test(t)&&(t=t.match(T.RegEx.valueUnwrap)[1]),T.Values.isCSSNullValue(t)&&(t=T.Hooks.templates[e][1]),t},extractValue:function(e,t){var n=T.Hooks.registered[e];if(n){var i=n[0],o=n[1];return t=T.Hooks.cleanRootPropertyValue(i,t),t.toString().match(T.RegEx.valueSplit)[o]}return t},injectValue:function(e,t,n){var i=T.Hooks.registered[e];if(i){var o,r,a=i[0],s=i[1];return n=T.Hooks.cleanRootPropertyValue(a,n),o=n.toString().match(T.RegEx.valueSplit),o[s]=t,r=o.join(" ")}return n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var i;return T.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=n.toString().match(T.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case"inject":return"rect("+n+")"}},blur:function(e,t,n){switch(e){case"name":return w.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var o=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=o?o[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(e,t,n){if(8>=h)switch(e){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":return n;case"inject":return n}}},register:function(){9>=h||w.State.isGingerbread||(T.Lists.transformsBase=T.Lists.transformsBase.concat(T.Lists.transforms3D));for(var e=0;e<T.Lists.transformsBase.length;e++)!function(){var t=T.Lists.transformsBase[e];T.Normalizations.registered[t]=function(e,n,o){switch(e){case"name":return"transform";case"extract":return a(n)===i||a(n).transformCache[t]===i?/^scale/i.test(t)?1:0:a(n).transformCache[t].replace(/[()]/g,"");case"inject":var r=!1;switch(t.substr(0,t.length-1)){case"translate":r=!/(%|px|em|rem|vw|vh|\d)$/i.test(o);break;case"scal":case"scale":w.State.isAndroid&&a(n).transformCache[t]===i&&1>o&&(o=1),r=!/(\d)$/i.test(o);break;case"skew":r=!/(deg|\d)$/i.test(o);break;case"rotate":r=!/(deg|\d)$/i.test(o)}return r||(a(n).transformCache[t]="("+o+")"),a(n).transformCache[t]}}}();for(var e=0;e<T.Lists.colors.length;e++)!function(){var t=T.Lists.colors[e];T.Normalizations.registered[t]=function(e,n,o){switch(e){case"name":return t;case"extract":var r;if(T.RegEx.wrappedValueAlreadyExtracted.test(o))r=o;else{var a,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(o)?a=s[o]!==i?s[o]:s.black:T.RegEx.isHex.test(o)?a="rgb("+T.Values.hexToRgb(o).join(" ")+")":/^rgba?\(/i.test(o)||(a=s.black),r=(a||o).toString().match(T.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=h||3!==r.split(" ").length||(r+=" 1"),r;case"inject":return 8>=h?4===o.split(" ").length&&(o=o.split(/\s+/).slice(0,3).join(" ")):3===o.split(" ").length&&(o+=" 1"),(8>=h?"rgb":"rgba")+"("+o.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){
  return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(h||w.State.isAndroid&&!w.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(w.State.prefixMatches[e])return[w.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,i=t.length;i>n;n++){var o;if(o=0===n?e:t[n]+e.replace(/^\w/,function(e){return e.toUpperCase()}),g.isString(w.State.prefixElement.style[o]))return w.State.prefixMatches[e]=o,[o,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return e=e.replace(n,function(e,t,n,i){return t+t+n+n+i+i}),t=i.exec(e),t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return 0==e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=(e.className.length?" ":"")+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(e,n,o,r){function s(e,n){function o(){c&&T.setPropertyValue(e,"display","none")}var l=0;if(8>=h)l=f.css(e,n);else{var c=!1;if(/^(width|height)$/.test(n)&&0===T.getPropertyValue(e,"display")&&(c=!0,T.setPropertyValue(e,"display",T.Values.getDisplayType(e))),!r){if("height"===n&&"border-box"!==T.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var u=e.offsetHeight-(parseFloat(T.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(T.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(T.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(T.getPropertyValue(e,"paddingBottom"))||0);return o(),u}if("width"===n&&"border-box"!==T.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var d=e.offsetWidth-(parseFloat(T.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(T.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(T.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(T.getPropertyValue(e,"paddingRight"))||0);return o(),d}}var p;p=a(e)===i?t.getComputedStyle(e,null):a(e).computedStyle?a(e).computedStyle:a(e).computedStyle=t.getComputedStyle(e,null),"borderColor"===n&&(n="borderTopColor"),l=9===h&&"filter"===n?p.getPropertyValue(n):p[n],(""===l||null===l)&&(l=e.style[n]),o()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(n)){var v=s(e,"position");("fixed"===v||"absolute"===v&&/top|left/i.test(n))&&(l=f(e).position()[n]+"px")}return l}var l;if(T.Hooks.registered[n]){var c=n,u=T.Hooks.getRoot(c);o===i&&(o=T.getPropertyValue(e,T.Names.prefixCheck(u)[0])),T.Normalizations.registered[u]&&(o=T.Normalizations.registered[u]("extract",e,o)),l=T.Hooks.extractValue(c,o)}else if(T.Normalizations.registered[n]){var d,p;d=T.Normalizations.registered[n]("name",e),"transform"!==d&&(p=s(e,T.Names.prefixCheck(d)[0]),T.Values.isCSSNullValue(p)&&T.Hooks.templates[n]&&(p=T.Hooks.templates[n][1])),l=T.Normalizations.registered[n]("extract",e,p)}if(!/^[\d-]/.test(l))if(a(e)&&a(e).isSVG&&T.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=e.getBBox()[n]}catch(e){l=0}else l=e.getAttribute(n);else l=s(e,T.Names.prefixCheck(n)[0]);return T.Values.isCSSNullValue(l)&&(l=0),w.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(e,n,i,o,r){var s=n;if("scroll"===n)r.container?r.container["scroll"+r.direction]=i:"Left"===r.direction?t.scrollTo(i,r.alternateValue):t.scrollTo(r.alternateValue,i);else if(T.Normalizations.registered[n]&&"transform"===T.Normalizations.registered[n]("name",e))T.Normalizations.registered[n]("inject",e,i),s="transform",i=a(e).transformCache[n];else{if(T.Hooks.registered[n]){var l=n,c=T.Hooks.getRoot(n);o=o||T.getPropertyValue(e,c),i=T.Hooks.injectValue(l,i,o),n=c}if(T.Normalizations.registered[n]&&(i=T.Normalizations.registered[n]("inject",e,i),n=T.Normalizations.registered[n]("name",e)),s=T.Names.prefixCheck(n)[0],8>=h)try{e.style[s]=i}catch(e){w.debug&&console.log("Browser does not support ["+i+"] for ["+s+"]")}else a(e)&&a(e).isSVG&&T.Names.SVGAttribute(n)?e.setAttribute(n,i):e.style[s]=i;w.debug>=2&&console.log("Set "+n+" ("+s+"): "+i)}return[s,i]},flushTransformCache:function(e){function t(t){return parseFloat(T.getPropertyValue(e,t))}var n="";if((h||w.State.isAndroid&&!w.State.isChrome)&&a(e).isSVG){var i={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};f.each(a(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),i[e]&&(n+=e+"("+i[e].join(" ")+") ",delete i[e])})}else{var o,r;f.each(a(e).transformCache,function(t){return o=a(e).transformCache[t],"transformPerspective"===t?(r=o,!0):(9===h&&"rotateZ"===t&&(t="rotate"),void(n+=t+o+" "))}),r&&(n="perspective"+r+" "+n)}T.setPropertyValue(e,"transform",n)}};T.Hooks.register(),T.Normalizations.register(),w.hook=function(e,t,n){var o=i;return e=r(e),f.each(e,function(e,r){if(a(r)===i&&w.init(r),n===i)o===i&&(o=w.CSS.getPropertyValue(r,t));else{var s=w.CSS.setPropertyValue(r,t,n);"transform"===s[0]&&w.CSS.flushTransformCache(r),o=s}}),o};var k=function(){function e(){return s?A.promise||null:l}function o(){function e(e){function c(e,t){var n=i,o=i,a=i;return g.isArray(e)?(n=e[0],!g.isArray(e[1])&&/^[\d-]/.test(e[1])||g.isFunction(e[1])||T.RegEx.isHex.test(e[1])?a=e[1]:(g.isString(e[1])&&!T.RegEx.isHex.test(e[1])||g.isArray(e[1]))&&(o=t?e[1]:u(e[1],s.duration),e[2]!==i&&(a=e[2]))):n=e,t||(o=o||s.easing),g.isFunction(n)&&(n=n.call(r,C,x)),g.isFunction(a)&&(a=a.call(r,C,x)),[n||0,o,a]}function p(e,t){var n,i;return i=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n||(n=T.Values.getUnitType(e)),[i,n]}function y(){var e={myParent:r.parentNode||n.body,position:T.getPropertyValue(r,"position"),fontSize:T.getPropertyValue(r,"fontSize")},i=e.position===I.lastPosition&&e.myParent===I.lastParent,o=e.fontSize===I.lastFontSize;I.lastParent=e.myParent,I.lastPosition=e.position,I.lastFontSize=e.fontSize;var s=100,l={};if(o&&i)l.emToPx=I.lastEmToPx,l.percentToPxWidth=I.lastPercentToPxWidth,l.percentToPxHeight=I.lastPercentToPxHeight;else{var c=a(r).isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");w.init(c),e.myParent.appendChild(c),f.each(["overflow","overflowX","overflowY"],function(e,t){w.CSS.setPropertyValue(c,t,"hidden")}),w.CSS.setPropertyValue(c,"position",e.position),w.CSS.setPropertyValue(c,"fontSize",e.fontSize),w.CSS.setPropertyValue(c,"boxSizing","content-box"),f.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){w.CSS.setPropertyValue(c,t,s+"%")}),w.CSS.setPropertyValue(c,"paddingLeft",s+"em"),l.percentToPxWidth=I.lastPercentToPxWidth=(parseFloat(T.getPropertyValue(c,"width",null,!0))||1)/s,l.percentToPxHeight=I.lastPercentToPxHeight=(parseFloat(T.getPropertyValue(c,"height",null,!0))||1)/s,l.emToPx=I.lastEmToPx=(parseFloat(T.getPropertyValue(c,"paddingLeft"))||1)/s,e.myParent.removeChild(c)}return null===I.remToPx&&(I.remToPx=parseFloat(T.getPropertyValue(n.body,"fontSize"))||16),null===I.vwToPx&&(I.vwToPx=parseFloat(t.innerWidth)/100,I.vhToPx=parseFloat(t.innerHeight)/100),l.remToPx=I.remToPx,l.vwToPx=I.vwToPx,l.vhToPx=I.vhToPx,w.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),r),l}if(s.begin&&0===C)try{s.begin.call(h,h)}catch(e){setTimeout(function(){throw e},1)}if("scroll"===P){var b,k,S,E=/^x$/i.test(s.axis)?"Left":"Top",O=parseFloat(s.offset)||0;s.container?g.isWrapped(s.container)||g.isNode(s.container)?(s.container=s.container[0]||s.container,b=s.container["scroll"+E],S=b+f(r).position()[E.toLowerCase()]+O):s.container=null:(b=w.State.scrollAnchor[w.State["scrollProperty"+E]],k=w.State.scrollAnchor[w.State["scrollProperty"+("Left"===E?"Top":"Left")]],S=f(r).offset()[E.toLowerCase()]+O),l={scroll:{rootPropertyValue:!1,startValue:b,currentValue:b,endValue:S,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:E,alternateValue:k}},element:r},w.debug&&console.log("tweensContainer (scroll): ",l.scroll,r)}else if("reverse"===P){if(!a(r).tweensContainer)return void f.dequeue(r,s.queue);"none"===a(r).opts.display&&(a(r).opts.display="auto"),"hidden"===a(r).opts.visibility&&(a(r).opts.visibility="visible"),a(r).opts.loop=!1,a(r).opts.begin=null,a(r).opts.complete=null,m.easing||delete s.easing,m.duration||delete s.duration,s=f.extend({},a(r).opts,s);var D=f.extend(!0,{},a(r).tweensContainer);for(var _ in D)if("element"!==_){var M=D[_].startValue;D[_].startValue=D[_].currentValue=D[_].endValue,D[_].endValue=M,g.isEmptyObject(m)||(D[_].easing=s.easing),w.debug&&console.log("reverse tweensContainer ("+_+"): "+JSON.stringify(D[_]),r)}l=D}else if("start"===P){var D;a(r).tweensContainer&&a(r).isAnimating===!0&&(D=a(r).tweensContainer),f.each(v,function(e,t){if(RegExp("^"+T.Lists.colors.join("$|^")+"$").test(e)){var n=c(t,!0),o=n[0],r=n[1],a=n[2];if(T.RegEx.isHex.test(o)){for(var s=["Red","Green","Blue"],l=T.Values.hexToRgb(o),u=a?T.Values.hexToRgb(a):i,d=0;d<s.length;d++){var p=[l[d]];r&&p.push(r),u!==i&&p.push(u[d]),v[e+s[d]]=p}delete v[e]}}});for(var N in v){var j=c(v[N]),L=j[0],H=j[1],F=j[2];N=T.Names.camelCase(N);var z=T.Hooks.getRoot(N),R=!1;if(a(r).isSVG||"tween"===z||T.Names.prefixCheck(z)[1]!==!1||T.Normalizations.registered[z]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(N)&&!F&&0!==L&&(F=0),s._cacheValues&&D&&D[N]?(F===i&&(F=D[N].endValue+D[N].unitType),R=a(r).rootPropertyValueCache[z]):T.Hooks.registered[N]?F===i?(R=T.getPropertyValue(r,z),F=T.getPropertyValue(r,N,R)):R=T.Hooks.templates[z][1]:F===i&&(F=T.getPropertyValue(r,N));var W,$,V,X=!1;if(W=p(N,F),F=W[0],V=W[1],W=p(N,L),L=W[0].replace(/^([+-\/*])=/,function(e,t){return X=t,""}),$=W[1],F=parseFloat(F)||0,L=parseFloat(L)||0,"%"===$&&(/^(fontSize|lineHeight)$/.test(N)?(L/=100,$="em"):/^scale/.test(N)?(L/=100,$=""):/(Red|Green|Blue)$/i.test(N)&&(L=L/100*255,$="")),/[\/*]/.test(X))$=V;else if(V!==$&&0!==F)if(0===L)$=V;else{o=o||y();var Y=/margin|padding|left|right|width|text|word|letter/i.test(N)||/X$/.test(N)||"x"===N?"x":"y";switch(V){case"%":F*="x"===Y?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:F*=o[V+"ToPx"]}switch($){case"%":F*=1/("x"===Y?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:F*=1/o[$+"ToPx"]}}switch(X){case"+":L=F+L;break;case"-":L=F-L;break;case"*":L*=F;break;case"/":L=F/L}l[N]={rootPropertyValue:R,startValue:F,currentValue:F,endValue:L,unitType:$,easing:H},w.debug&&console.log("tweensContainer ("+N+"): "+JSON.stringify(l[N]),r)}else w.debug&&console.log("Skipping ["+z+"] due to a lack of browser support.")}l.element=r}l.element&&(T.Values.addClass(r,"velocity-animating"),q.push(l),""===s.queue&&(a(r).tweensContainer=l,a(r).opts=s),a(r).isAnimating=!0,C===x-1?(w.State.calls.push([q,h,s,null,A.resolver]),w.State.isTicking===!1&&(w.State.isTicking=!0,d())):C++)}var o,r=this,s=f.extend({},w.defaults,m),l={};switch(a(r)===i&&w.init(r),parseFloat(s.delay)&&s.queue!==!1&&f.queue(r,s.queue,function(e){w.velocityQueueEntryFlag=!0,a(r).delayTimer={setTimeout:setTimeout(e,parseFloat(s.delay)),next:e}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=y;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}w.mock!==!1&&(w.mock===!0?s.duration=s.delay=1:(s.duration*=parseFloat(w.mock)||1,s.delay*=parseFloat(w.mock)||1)),s.easing=u(s.easing,s.duration),s.begin&&!g.isFunction(s.begin)&&(s.begin=null),s.progress&&!g.isFunction(s.progress)&&(s.progress=null),s.complete&&!g.isFunction(s.complete)&&(s.complete=null),s.display!==i&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=w.CSS.Values.getDisplayType(r))),s.visibility!==i&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&w.State.isMobile&&!w.State.isGingerbread,s.queue===!1?s.delay?setTimeout(e,s.delay):e():f.queue(r,s.queue,function(t,n){return n===!0?(A.promise&&A.resolver(h),!0):(w.velocityQueueEntryFlag=!0,void e(t))}),""!==s.queue&&"fx"!==s.queue||"inprogress"===f.queue(r)[0]||f.dequeue(r)}var s,l,c,h,v,m,b=arguments[0]&&(arguments[0].p||f.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||g.isString(arguments[0].properties));if(g.isWrapped(this)?(s=!1,c=0,h=this,l=this):(s=!0,c=1,h=b?arguments[0].elements||arguments[0].e:arguments[0]),h=r(h)){b?(v=arguments[0].properties||arguments[0].p,m=arguments[0].options||arguments[0].o):(v=arguments[c],m=arguments[c+1]);var x=h.length,C=0;if(!/^(stop|finish)$/i.test(v)&&!f.isPlainObject(m)){var S=c+1;m={};for(var E=S;E<arguments.length;E++)g.isArray(arguments[E])||!/^(fast|normal|slow)$/i.test(arguments[E])&&!/^\d/.test(arguments[E])?g.isString(arguments[E])||g.isArray(arguments[E])?m.easing=arguments[E]:g.isFunction(arguments[E])&&(m.complete=arguments[E]):m.duration=arguments[E]}var A={promise:null,resolver:null,rejecter:null};s&&w.Promise&&(A.promise=new w.Promise(function(e,t){A.resolver=e,A.rejecter=t}));var P;switch(v){case"scroll":P="scroll";break;case"reverse":P="reverse";break;case"finish":case"stop":f.each(h,function(e,t){a(t)&&a(t).delayTimer&&(clearTimeout(a(t).delayTimer.setTimeout),a(t).delayTimer.next&&a(t).delayTimer.next(),delete a(t).delayTimer)});var O=[];return f.each(w.State.calls,function(e,t){t&&f.each(t[1],function(n,o){var r=m===i?"":m;return r!==!0&&t[2].queue!==r&&(m!==i||t[2].queue!==!1)||void f.each(h,function(n,i){i===o&&((m===!0||g.isString(m))&&(f.each(f.queue(i,g.isString(m)?m:""),function(e,t){g.isFunction(t)&&t(null,!0)}),f.queue(i,g.isString(m)?m:"",[])),"stop"===v?(a(i)&&a(i).tweensContainer&&r!==!1&&f.each(a(i).tweensContainer,function(e,t){t.endValue=t.currentValue}),O.push(e)):"finish"===v&&(t[2].duration=1))})})}),"stop"===v&&(f.each(O,function(e,t){p(t,!0)}),A.promise&&A.resolver(h)),e();default:if(!f.isPlainObject(v)||g.isEmptyObject(v)){if(g.isString(v)&&w.Redirects[v]){var D=f.extend({},m),_=D.duration,M=D.delay||0;return D.backwards===!0&&(h=f.extend(!0,[],h).reverse()),f.each(h,function(e,t){parseFloat(D.stagger)?D.delay=M+parseFloat(D.stagger)*e:g.isFunction(D.stagger)&&(D.delay=M+D.stagger.call(t,e,x)),D.drag&&(D.duration=parseFloat(_)||(/^(callout|transition)/.test(v)?1e3:y),D.duration=Math.max(D.duration*(D.backwards?1-e/x:(e+1)/x),.75*D.duration,200)),w.Redirects[v].call(t,t,D||{},e,x,h,A.promise?A:i)}),e()}var N="Velocity: First argument ("+v+") was not a property map, a known action, or a registered redirect. Aborting.";return A.promise?A.rejecter(new Error(N)):console.log(N),e()}P="start"}var I={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},q=[];f.each(h,function(e,t){g.isNode(t)&&o.call(t)});var j,D=f.extend({},w.defaults,m);if(D.loop=parseInt(D.loop),j=2*D.loop-1,D.loop)for(var L=0;j>L;L++){var H={delay:D.delay,progress:D.progress};L===j-1&&(H.display=D.display,H.visibility=D.visibility,H.complete=D.complete),k(h,"reverse",H)}return e()}};w=f.extend(k,w),w.animate=k;var C=t.requestAnimationFrame||v;return w.State.isMobile||n.hidden===i||n.addEventListener("visibilitychange",function(){n.hidden?(C=function(e){return setTimeout(function(){e(!0)},16)},d()):C=t.requestAnimationFrame||v}),e.Velocity=w,e!==t&&(e.fn.velocity=k,e.fn.velocity.defaults=w.defaults),f.each(["Down","Up"],function(e,t){w.Redirects["slide"+t]=function(e,n,o,r,a,s){var l=f.extend({},n),c=l.begin,u=l.complete,d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},p={};l.display===i&&(l.display="Down"===t?"inline"===w.CSS.Values.getDisplayType(e)?"inline-block":"block":"none"),l.begin=function(){c&&c.call(a,a);for(var n in d){p[n]=e.style[n];var i=w.CSS.getPropertyValue(e,n);d[n]="Down"===t?[i,0]:[0,i]}p.overflow=e.style.overflow,e.style.overflow="hidden"},l.complete=function(){for(var t in p)e.style[t]=p[t];u&&u.call(a,a),s&&s.resolver(a)},w(e,d,l)}}),f.each(["In","Out"],function(e,t){w.Redirects["fade"+t]=function(e,n,o,r,a,s){var l=f.extend({},n),c={opacity:"In"===t?1:0},u=l.complete;l.complete=o!==r-1?l.begin=null:function(){u&&u.call(a,a),s&&s.resolver(a)},l.display===i&&(l.display="In"===t?"auto":"none"),w(this,c,l)}}),w}(window.jQuery||window.Zepto||window,window,document)})),!function(i,o,a,s){"use strict";function l(e,t,n){return setTimeout(h(e,n),t)}function c(e,t,n){return!!Array.isArray(e)&&(u(e,n[t],n),!0)}function u(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function d(e,t,n){for(var i=Object.keys(t),o=0;o<i.length;)(!n||n&&e[i[o]]===s)&&(e[i[o]]=t[i[o]]),o++;return e}function p(e,t){return d(e,t,!0)}function f(e,t,n){var i,o=t.prototype;i=e.prototype=Object.create(o),i.constructor=e,i._super=o,n&&d(i,n)}function h(e,t){return function(){return e.apply(t,arguments)}}function v(e,t){return typeof e==he?e.apply(t?t[0]||s:s,t):e}function g(e,t){return e===s?t:e}function m(e,t,n){u(x(t),function(t){e.addEventListener(t,n,!1)})}function y(e,t,n){u(x(t),function(t){e.removeEventListener(t,n,!1)})}function b(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function w(e,t){return e.indexOf(t)>-1}function x(e){return e.trim().split(/\s+/g)}function T(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function k(e){return Array.prototype.slice.call(e,0)}function C(e,t,n){for(var i=[],o=[],r=0;r<e.length;){var a=t?e[r][t]:e[r];T(o,a)<0&&i.push(e[r]),o[r]=a,r++}return n&&(i=t?i.sort(function(e,n){return e[t]>n[t]}):i.sort()),i}function S(e,t){for(var n,i,o=t[0].toUpperCase()+t.slice(1),r=0;r<pe.length;){if(n=pe[r],i=n?n+o:t,i in e)return i;r++}return s}function E(){return ye++}function A(e){var t=e.ownerDocument;return t.defaultView||t.parentWindow}function P(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){v(e.options.enable,[e])&&n.handler(t)},this.init()}function O(e){var t,n=e.options.inputClass;return new(t=n?n:xe?$:Te?Y:we?Q:W)(e,D)}function D(e,t,n){var i=n.pointers.length,o=n.changedPointers.length,r=t&Pe&&0===i-o,a=t&(De|_e)&&0===i-o;n.isFirst=!!r,n.isFinal=!!a,r&&(e.session={}),n.eventType=t,_(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function _(e,t){var n=e.session,i=t.pointers,o=i.length;n.firstInput||(n.firstInput=I(t)),o>1&&!n.firstMultiple?n.firstMultiple=I(t):1===o&&(n.firstMultiple=!1);var r=n.firstInput,a=n.firstMultiple,s=a?a.center:r.center,l=t.center=q(i);t.timeStamp=me(),t.deltaTime=t.timeStamp-r.timeStamp,t.angle=F(s,l),t.distance=H(s,l),M(n,t),t.offsetDirection=L(t.deltaX,t.deltaY),t.scale=a?R(a.pointers,i):1,t.rotation=a?z(a.pointers,i):0,N(n,t);var c=e.element;b(t.srcEvent.target,c)&&(c=t.srcEvent.target),t.target=c}function M(e,t){var n=t.center,i=e.offsetDelta||{},o=e.prevDelta||{},r=e.prevInput||{};(t.eventType===Pe||r.eventType===De)&&(o=e.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=o.x+(n.x-i.x),t.deltaY=o.y+(n.y-i.y)}function N(e,t){var n,i,o,r,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(t.eventType!=_e&&(l>Ae||a.velocity===s)){var c=a.deltaX-t.deltaX,u=a.deltaY-t.deltaY,d=j(l,c,u);i=d.x,o=d.y,n=ge(d.x)>ge(d.y)?d.x:d.y,r=L(c,u),e.lastInterval=t}else n=a.velocity,i=a.velocityX,o=a.velocityY,r=a.direction;t.velocity=n,t.velocityX=i,t.velocityY=o,t.direction=r}function I(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:ve(e.pointers[n].clientX),clientY:ve(e.pointers[n].clientY)},n++;return{timeStamp:me(),pointers:t,center:q(t),deltaX:e.deltaX,deltaY:e.deltaY}}function q(e){var t=e.length;if(1===t)return{x:ve(e[0].clientX),y:ve(e[0].clientY)};for(var n=0,i=0,o=0;t>o;)n+=e[o].clientX,i+=e[o].clientY,o++;return{x:ve(n/t),y:ve(i/t)}}function j(e,t,n){return{x:t/e||0,y:n/e||0}}function L(e,t){return e===t?Me:ge(e)>=ge(t)?e>0?Ne:Ie:t>0?qe:je}function H(e,t,n){n||(n=ze);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(i*i+o*o)}function F(e,t,n){n||(n=ze);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,i)/Math.PI}function z(e,t){return F(t[1],t[0],Re)-F(e[1],e[0],Re)}function R(e,t){return H(t[0],t[1],Re)/H(e[0],e[1],Re)}function W(){this.evEl=$e,this.evWin=Ve,this.allow=!0,this.pressed=!1,P.apply(this,arguments)}function $(){this.evEl=Be,this.evWin=Qe,P.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function V(){this.evTarget=Ge,this.evWin=Ze,this.started=!1,P.apply(this,arguments)}function X(e,t){var n=k(e.touches),i=k(e.changedTouches);return t&(De|_e)&&(n=C(n.concat(i),"identifier",!0)),[n,i]}function Y(){this.evTarget=Ke,this.targetIds={},P.apply(this,arguments)}function B(e,t){var n=k(e.touches),i=this.targetIds;if(t&(Pe|Oe)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,a=k(e.changedTouches),s=[],l=this.target;if(r=n.filter(function(e){return b(e.target,l)}),t===Pe)for(o=0;o<r.length;)i[r[o].identifier]=!0,o++;for(o=0;o<a.length;)i[a[o].identifier]&&s.push(a[o]),t&(De|_e)&&delete i[a[o].identifier],o++;return s.length?[C(r.concat(s),"identifier",!0),s]:void 0}function Q(){P.apply(this,arguments);var e=h(this.handler,this);this.touch=new Y(this.manager,e),this.mouse=new W(this.manager,e)}function U(e,t){this.manager=e,this.set(t)}function G(e){if(w(e,rt))return rt;var t=w(e,at),n=w(e,st);return t&&n?at+" "+st:t||n?t?at:st:w(e,ot)?ot:it}function Z(e){this.id=E(),this.manager=null,this.options=p(e||{},this.defaults),this.options.enable=g(this.options.enable,!0),this.state=lt,this.simultaneous={},this.requireFail=[]}function J(e){return e&ft?"cancel":e&dt?"end":e&ut?"move":e&ct?"start":""}function K(e){return e==je?"down":e==qe?"up":e==Ne?"left":e==Ie?"right":""}function ee(e,t){var n=t.manager;return n?n.get(e):e}function te(){Z.apply(this,arguments)}function ne(){te.apply(this,arguments),this.pX=null,this.pY=null}function ie(){te.apply(this,arguments)}function oe(){Z.apply(this,arguments),this._timer=null,this._input=null}function re(){te.apply(this,arguments)}function ae(){te.apply(this,arguments)}function se(){Z.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function le(e,t){return t=t||{},t.recognizers=g(t.recognizers,le.defaults.preset),new ce(e,t)}function ce(e,t){t=t||{},this.options=p(t,le.defaults),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.element=e,this.input=O(this),this.touchAction=new U(this,this.options.touchAction),ue(this,!0),u(t.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function ue(e,t){var n=e.element;u(e.options.cssProps,function(e,i){n.style[S(n.style,i)]=t?e:""})}function de(e,t){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}var pe=["","webkit","moz","MS","ms","o"],fe=o.createElement("div"),he="function",ve=Math.round,ge=Math.abs,me=Date.now,ye=1,be=/mobile|tablet|ip(ad|hone|od)|android/i,we="ontouchstart"in i,xe=S(i,"PointerEvent")!==s,Te=we&&be.test(navigator.userAgent),ke="touch",Ce="pen",Se="mouse",Ee="kinect",Ae=25,Pe=1,Oe=2,De=4,_e=8,Me=1,Ne=2,Ie=4,qe=8,je=16,Le=Ne|Ie,He=qe|je,Fe=Le|He,ze=["x","y"],Re=["clientX","clientY"];P.prototype={handler:function(){},init:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(A(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&y(this.element,this.evEl,this.domHandler),this.evTarget&&y(this.target,this.evTarget,this.domHandler),this.evWin&&y(A(this.element),this.evWin,this.domHandler)}};var We={mousedown:Pe,mousemove:Oe,mouseup:De},$e="mousedown",Ve="mousemove mouseup";f(W,P,{handler:function(e){var t=We[e.type];t&Pe&&0===e.button&&(this.pressed=!0),t&Oe&&1!==e.which&&(t=De),this.pressed&&this.allow&&(t&De&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:Se,srcEvent:e}))}});var Xe={pointerdown:Pe,pointermove:Oe,pointerup:De,pointercancel:_e,pointerout:_e},Ye={2:ke,3:Ce,4:Se,5:Ee},Be="pointerdown",Qe="pointermove pointerup pointercancel";i.MSPointerEvent&&(Be="MSPointerDown",Qe="MSPointerMove MSPointerUp MSPointerCancel"),f($,P,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),o=Xe[i],r=Ye[e.pointerType]||e.pointerType,a=r==ke,s=T(t,e.pointerId,"pointerId");o&Pe&&(0===e.button||a)?0>s&&(t.push(e),s=t.length-1):o&(De|_e)&&(n=!0),0>s||(t[s]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:r,srcEvent:e}),n&&t.splice(s,1))}});var Ue={touchstart:Pe,touchmove:Oe,touchend:De,touchcancel:_e},Ge="touchstart",Ze="touchstart touchmove touchend touchcancel";f(V,P,{handler:function(e){var t=Ue[e.type];if(t===Pe&&(this.started=!0),this.started){var n=X.call(this,e,t);t&(De|_e)&&0===n[0].length-n[1].length&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:ke,srcEvent:e})}}});var Je={touchstart:Pe,touchmove:Oe,touchend:De,touchcancel:_e},Ke="touchstart touchmove touchend touchcancel";f(Y,P,{handler:function(e){var t=Je[e.type],n=B.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:ke,srcEvent:e})}}),f(Q,P,{handler:function(e,t,n){var i=n.pointerType==ke,o=n.pointerType==Se;if(i)this.mouse.allow=!1;else if(o&&!this.mouse.allow)return;t&(De|_e)&&(this.mouse.allow=!0),this.callback(e,t,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var et=S(fe.style,"touchAction"),tt=et!==s,nt="compute",it="auto",ot="manipulation",rt="none",at="pan-x",st="pan-y";U.prototype={set:function(e){e==nt&&(e=this.compute()),tt&&(this.manager.element.style[et]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return u(this.manager.recognizers,function(t){v(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),G(e.join(" "))},preventDefaults:function(e){if(!tt){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)return void t.preventDefault();var i=this.actions,o=w(i,rt),r=w(i,st),a=w(i,at);return o||r&&n&Le||a&&n&He?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var lt=1,ct=2,ut=4,dt=8,pt=dt,ft=16,ht=32;Z.prototype={defaults:{},set:function(e){return d(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(c(e,"recognizeWith",this))return this;var t=this.simultaneous;return e=ee(e,this),t[e.id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return c(e,"dropRecognizeWith",this)?this:(e=ee(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(c(e,"requireFailure",this))return this;var t=this.requireFail;return e=ee(e,this),-1===T(t,e)&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(c(e,"dropRequireFailure",this))return this;e=ee(e,this);var t=T(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function t(t){n.manager.emit(n.options.event+(t?J(i):""),e)}var n=this,i=this.state;dt>i&&t(!0),t(),i>=dt&&t(!0)},tryEmit:function(e){return this.canEmit()?this.emit(e):void(this.state=ht)},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(ht|lt)))return!1;e++}return!0},recognize:function(e){var t=d({},e);return v(this.options.enable,[this,t])?(this.state&(pt|ft|ht)&&(this.state=lt),this.state=this.process(t),void(this.state&(ct|ut|dt|ft)&&this.tryEmit(t))):(this.reset(),void(this.state=ht))},process:function(){},getTouchAction:function(){},reset:function(){}},f(te,Z,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=t&(ct|ut),o=this.attrTest(e);return i&&(n&_e||!o)?t|ft:i||o?n&De?t|dt:t&ct?t|ut:ct:ht}}),f(ne,te,{defaults:{event:"pan",threshold:10,pointers:1,direction:Fe},getTouchAction:function(){var e=this.options.direction,t=[];return e&Le&&t.push(st),e&He&&t.push(at),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,o=e.direction,r=e.deltaX,a=e.deltaY;return o&t.direction||(t.direction&Le?(o=0===r?Me:0>r?Ne:Ie,n=r!=this.pX,i=Math.abs(e.deltaX)):(o=0===a?Me:0>a?qe:je,n=a!=this.pY,i=Math.abs(e.deltaY))),e.direction=o,n&&i>t.threshold&&o&t.direction},attrTest:function(e){return te.prototype.attrTest.call(this,e)&&(this.state&ct||!(this.state&ct)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=K(e.direction);t&&this.manager.emit(this.options.event+t,e),this._super.emit.call(this,e)}}),f(ie,te,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[rt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&ct)},emit:function(e){if(this._super.emit.call(this,e),1!==e.scale){var t=e.scale<1?"in":"out";this.manager.emit(this.options.event+t,e)}}}),f(oe,Z,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[it]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,o=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(De|_e)&&!o)this.reset();else if(e.eventType&Pe)this.reset(),this._timer=l(function(){this.state=pt,this.tryEmit()},t.time,this);else if(e.eventType&De)return pt;return ht},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===pt&&(e&&e.eventType&De?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=me(),this.manager.emit(this.options.event,this._input)))}}),f(re,te,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[rt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&ct)}}),f(ae,te,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:Le|He,pointers:1},getTouchAction:function(){return ne.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(Le|He)?t=e.velocity:n&Le?t=e.velocityX:n&He&&(t=e.velocityY),this._super.attrTest.call(this,e)&&n&e.direction&&e.distance>this.options.threshold&&ge(t)>this.options.velocity&&e.eventType&De},emit:function(e){var t=K(e.direction);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),f(se,Z,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[ot]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,o=e.deltaTime<t.time;if(this.reset(),e.eventType&Pe&&0===this.count)return this.failTimeout();if(i&&o&&n){if(e.eventType!=De)return this.failTimeout();var r=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||H(this.pCenter,e.center)<t.posThreshold;
  this.pTime=e.timeStamp,this.pCenter=e.center,a&&r?this.count+=1:this.count=1,this._input=e;var s=this.count%t.taps;if(0===s)return this.hasRequireFailures()?(this._timer=l(function(){this.state=pt,this.tryEmit()},t.interval,this),ct):pt}return ht},failTimeout:function(){return this._timer=l(function(){this.state=ht},this.options.interval,this),ht},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==pt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),le.VERSION="2.0.4",le.defaults={domEvents:!1,touchAction:nt,enable:!0,inputTarget:null,inputClass:null,preset:[[re,{enable:!1}],[ie,{enable:!1},["rotate"]],[ae,{direction:Le}],[ne,{direction:Le},["swipe"]],[se],[se,{event:"doubletap",taps:2},["tap"]],[oe]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var vt=1,gt=2;ce.prototype={set:function(e){return d(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?gt:vt},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var n,i=this.recognizers,o=t.curRecognizer;(!o||o&&o.state&pt)&&(o=t.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],t.stopped===gt||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&n.state&(ct|ut|dt)&&(o=t.curRecognizer=n),r++}},get:function(e){if(e instanceof Z)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(c(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(c(e,"remove",this))return this;var t=this.recognizers;return e=this.get(e),t.splice(T(t,e),1),this.touchAction.update(),this},on:function(e,t){var n=this.handlers;return u(x(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this},off:function(e,t){var n=this.handlers;return u(x(e),function(e){t?n[e].splice(T(n[e],t),1):delete n[e]}),this},emit:function(e,t){this.options.domEvents&&de(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&ue(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},d(le,{INPUT_START:Pe,INPUT_MOVE:Oe,INPUT_END:De,INPUT_CANCEL:_e,STATE_POSSIBLE:lt,STATE_BEGAN:ct,STATE_CHANGED:ut,STATE_ENDED:dt,STATE_RECOGNIZED:pt,STATE_CANCELLED:ft,STATE_FAILED:ht,DIRECTION_NONE:Me,DIRECTION_LEFT:Ne,DIRECTION_RIGHT:Ie,DIRECTION_UP:qe,DIRECTION_DOWN:je,DIRECTION_HORIZONTAL:Le,DIRECTION_VERTICAL:He,DIRECTION_ALL:Fe,Manager:ce,Input:P,TouchAction:U,TouchInput:Y,MouseInput:W,PointerEventInput:$,TouchMouseInput:Q,SingleTouchInput:V,Recognizer:Z,AttrRecognizer:te,Tap:se,Pan:ne,Swipe:ae,Pinch:ie,Rotate:re,Press:oe,on:m,off:y,each:u,merge:p,extend:d,inherit:f,bindFn:h,prefixed:S}),"function"==he&&n("./node_modules/webpack/buildin/amd-options.js")?(r=function(){return le}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))):"undefined"!=typeof e&&e.exports?e.exports=le:i[a]=le}(window,document,"Hammer"),function(i){o=[n("./node_modules/jquery/dist/jquery.js"),n("./node_modules/hammerjs/hammer.js")],a=i,r="function"==typeof a?a.apply(t,o):a,!(void 0!==r&&(e.exports=r))}(function(e,t){function n(n,i){var o=e(n);o.data("hammer")||o.data("hammer",new t(o[0],i))}e.fn.hammer=function(e){return this.each(function(){n(this,e)})},t.Manager.prototype.emit=function(t){return function(n,i){t.call(this,n,i),e(this.element).trigger({type:n,gesture:i})}}(t.Manager.prototype.emit)}),function(e){e.Package?Materialize={}:e.Materialize={}}(window),function(e){for(var t=0,n=["webkit","moz"],i=e.requestAnimationFrame,o=e.cancelAnimationFrame,r=n.length;--r>=0&&!i;)i=e[n[r]+"RequestAnimationFrame"],o=e[n[r]+"CancelRequestAnimationFrame"];i&&o||(i=function(e){var n=+Date.now(),i=Math.max(t+16,n);return setTimeout(function(){e(t=i)},i-n)},o=clearTimeout),e.requestAnimationFrame=i,e.cancelAnimationFrame=o}(window),Materialize.objectSelectorString=function(e){var t=e.prop("tagName")||"",n=e.attr("id")||"",i=e.attr("class")||"";return(t+n+i).replace(/\s/g,"")},Materialize.guid=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}}(),Materialize.escapeHash=function(e){return e.replace(/(:|\.|\[|\]|,|=)/g,"\\$1")},Materialize.elementOrParentIsFixed=function(e){var t=$(e),n=t.add(t.parents()),i=!1;return n.each(function(){if("fixed"===$(this).css("position"))return i=!0,!1}),i};var c=Date.now||function(){return(new Date).getTime()};Materialize.throttle=function(e,t,n){var i,o,r,a=null,s=0;n||(n={});var l=function(){s=n.leading===!1?0:c(),a=null,r=e.apply(i,o),i=o=null};return function(){var u=c();s||n.leading!==!1||(s=u);var d=t-(u-s);return i=this,o=arguments,d<=0?(clearTimeout(a),a=null,s=u,r=e.apply(i,o),i=o=null):a||n.trailing===!1||(a=setTimeout(l,d)),r}};var u;u=l?l.Velocity:$?$.Velocity:Velocity,function(e){e.fn.collapsible=function(t,n){var i={accordion:void 0,onOpen:void 0,onClose:void 0},o=t;return t=e.extend(i,t),this.each(function(){function i(t){p=d.find("> li > .collapsible-header"),t.hasClass("active")?t.parent().addClass("active"):t.parent().removeClass("active"),t.parent().hasClass("active")?t.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){e(this).css("height","")}}):t.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){e(this).css("height","")}}),p.not(t).removeClass("active").parent().removeClass("active"),p.not(t).parent().children(".collapsible-body").stop(!0,!1).each(function(){e(this).is(":visible")&&e(this).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){e(this).css("height",""),s(e(this).siblings(".collapsible-header"))}})})}function r(t){t.hasClass("active")?t.parent().addClass("active"):t.parent().removeClass("active"),t.parent().hasClass("active")?t.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){e(this).css("height","")}}):t.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){e(this).css("height","")}})}function a(e,n){n||e.toggleClass("active"),t.accordion||"accordion"===f||void 0===f?i(e):r(e),s(e)}function s(e){e.hasClass("active")?"function"==typeof t.onOpen&&t.onOpen.call(this,e.parent()):"function"==typeof t.onClose&&t.onClose.call(this,e.parent())}function l(e){var t=c(e);return t.length>0}function c(e){return e.closest("li > .collapsible-header")}function u(){d.off("click.collapse","> li > .collapsible-header")}var d=e(this),p=e(this).find("> li > .collapsible-header"),f=d.data("collapsible");if("destroy"===o)return void u();if(n>=0&&n<p.length){var h=p.eq(n);return void(h.length&&("open"===o||"close"===o&&h.hasClass("active"))&&a(h))}u(),d.on("click.collapse","> li > .collapsible-header",function(t){var n=e(t.target);l(n)&&(n=c(n)),a(n)}),t.accordion||"accordion"===f||void 0===f?a(p.filter(".active").first(),!0):p.filter(".active").each(function(){a(e(this),!0)})})},e(document).ready(function(){e(".collapsible").collapsible()})}(l),function(e){e.fn.scrollTo=function(t){return e(this).scrollTop(e(this).scrollTop()-e(this).offset().top+e(t).offset().top),this},e.fn.dropdown=function(t){var n={inDuration:300,outDuration:225,constrainWidth:!0,hover:!1,gutter:0,belowOrigin:!1,alignment:"left",stopPropagation:!1};return"open"===t?(this.each(function(){e(this).trigger("open")}),!1):"close"===t?(this.each(function(){e(this).trigger("close")}),!1):void this.each(function(){function i(){void 0!==a.data("induration")&&(s.inDuration=a.data("induration")),void 0!==a.data("outduration")&&(s.outDuration=a.data("outduration")),void 0!==a.data("constrainwidth")&&(s.constrainWidth=a.data("constrainwidth")),void 0!==a.data("hover")&&(s.hover=a.data("hover")),void 0!==a.data("gutter")&&(s.gutter=a.data("gutter")),void 0!==a.data("beloworigin")&&(s.belowOrigin=a.data("beloworigin")),void 0!==a.data("alignment")&&(s.alignment=a.data("alignment")),void 0!==a.data("stoppropagation")&&(s.stopPropagation=a.data("stoppropagation"))}function o(t){"focus"===t&&(l=!0),i(),c.addClass("active"),a.addClass("active");var n=a[0].getBoundingClientRect().width;s.constrainWidth===!0?c.css("width",n):c.css("white-space","nowrap");var o=window.innerHeight,u=a.innerHeight(),d=a.offset().left,p=a.offset().top-e(window).scrollTop(),f=s.alignment,h=0,v=0,g=0;s.belowOrigin===!0&&(g=u);var m=0,y=0,b=a.parent();if(b.is("body")||(b[0].scrollHeight>b[0].clientHeight&&(m=b[0].scrollTop),b[0].scrollWidth>b[0].clientWidth&&(y=b[0].scrollLeft)),d+c.innerWidth()>e(window).width()?f="right":d-c.innerWidth()+a.innerWidth()<0&&(f="left"),p+c.innerHeight()>o)if(p+u-c.innerHeight()<0){var w=o-p-g;c.css("max-height",w)}else g||(g+=u),g-=c.innerHeight();if("left"===f)h=s.gutter,v=a.position().left+h;else if("right"===f){c.stop(!0,!0).css({opacity:0,left:0});var x=a.position().left+n-c.width();h=-s.gutter,v=x+h}c.css({position:"absolute",top:a.position().top+g+m,left:v+y}),c.slideDown({queue:!1,duration:s.inDuration,easing:"easeOutCubic",complete:function(){e(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:s.inDuration,easing:"easeOutSine"}),setTimeout(function(){e(document).on("click."+c.attr("id"),function(t){r(),e(document).off("click."+c.attr("id"))})},0)}function r(){l=!1,c.fadeOut(s.outDuration),c.removeClass("active"),a.removeClass("active"),e(document).off("click."+c.attr("id")),setTimeout(function(){c.css("max-height","")},s.outDuration)}var a=e(this),s=e.extend({},n,t),l=!1,c=e("#"+a.attr("data-activates"));if(i(),a.after(c),s.hover){var u=!1;a.off("click."+a.attr("id")),a.on("mouseenter",function(e){u===!1&&(o(),u=!0)}),a.on("mouseleave",function(t){var n=t.toElement||t.relatedTarget;e(n).closest(".dropdown-content").is(c)||(c.stop(!0,!0),r(),u=!1)}),c.on("mouseleave",function(t){var n=t.toElement||t.relatedTarget;e(n).closest(".dropdown-button").is(a)||(c.stop(!0,!0),r(),u=!1)})}else a.off("click."+a.attr("id")),a.on("click."+a.attr("id"),function(t){l||(a[0]!=t.currentTarget||a.hasClass("active")||0!==e(t.target).closest(".dropdown-content").length?a.hasClass("active")&&(r(),e(document).off("click."+c.attr("id"))):(t.preventDefault(),s.stopPropagation&&t.stopPropagation(),o("click")))});a.on("open",function(e,t){o(t)}),a.on("close",r)})},e(document).ready(function(){e(".dropdown-button").dropdown()})}(l),function(e){"use strict";var t={opacity:.5,inDuration:250,outDuration:250,ready:void 0,complete:void 0,dismissible:!0,startingTop:"4%",endingTop:"10%"},n=function(){function n(t,o){i(this,n),t[0].M_Modal&&t[0].M_Modal.destroy(),this.$el=t,this.options=e.extend({},n.defaults,o),this.isOpen=!1,this.$el[0].M_Modal=this,this.id=t.attr("id"),this.openingTrigger=void 0,this.$overlay=e('<div class="modal-overlay"></div>'),n._increment++,n._count++,this.$overlay[0].style.zIndex=1e3+2*n._increment,this.$el[0].style.zIndex=1e3+2*n._increment+1,this.setupEventHandlers()}return s(n,[{key:"getInstance",value:function(){return this}},{key:"destroy",value:function(){this.removeEventHandlers(),this.$el[0].removeAttribute("style"),this.$overlay[0].parentNode&&this.$overlay[0].parentNode.removeChild(this.$overlay[0]),this.$el[0].M_Modal=void 0,n._count--}},{key:"setupEventHandlers",value:function(){this.handleOverlayClickBound=this.handleOverlayClick.bind(this),this.handleModalCloseClickBound=this.handleModalCloseClick.bind(this),1===n._count&&document.addEventListener("click",this.handleTriggerClick),this.$overlay[0].addEventListener("click",this.handleOverlayClickBound),this.$el[0].addEventListener("click",this.handleModalCloseClickBound)}},{key:"removeEventHandlers",value:function(){0===n._count&&document.removeEventListener("click",this.handleTriggerClick),this.$overlay[0].removeEventListener("click",this.handleOverlayClickBound),this.$el[0].removeEventListener("click",this.handleModalCloseClickBound)}},{key:"handleTriggerClick",value:function(t){var n=e(t.target).closest(".modal-trigger");if(t.target&&n.length){var i=n[0].getAttribute("href");i=i?i.slice(1):n[0].getAttribute("data-target");var o=document.getElementById(i).M_Modal;o&&o.open(n),t.preventDefault()}}},{key:"handleOverlayClick",value:function(){this.options.dismissible&&this.close()}},{key:"handleModalCloseClick",value:function(t){var n=e(t.target).closest(".modal-close");t.target&&n.length&&this.close()}},{key:"handleKeydown",value:function(e){27===e.keyCode&&this.options.dismissible&&this.close()}},{key:"animateIn",value:function(){var t=this;e.extend(this.$el[0].style,{display:"block",opacity:0}),e.extend(this.$overlay[0].style,{display:"block",opacity:0}),u(this.$overlay[0],{opacity:this.options.opacity},{duration:this.options.inDuration,queue:!1,ease:"easeOutCubic"});var n={duration:this.options.inDuration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof t.options.ready&&t.options.ready.call(t,t.$el,t.openingTrigger)}};this.$el[0].classList.contains("bottom-sheet")?u(this.$el[0],{bottom:0,opacity:1},n):(u.hook(this.$el[0],"scaleX",.7),this.$el[0].style.top=this.options.startingTop,u(this.$el[0],{top:this.options.endingTop,opacity:1,scaleX:1},n))}},{key:"animateOut",value:function(){var e=this;u(this.$overlay[0],{opacity:0},{duration:this.options.outDuration,queue:!1,ease:"easeOutQuart"});var t={duration:this.options.outDuration,queue:!1,ease:"easeOutCubic",complete:function(){e.$el[0].style.display="none","function"==typeof e.options.complete&&e.options.complete.call(e,e.$el),e.$overlay[0].remove()}};this.$el[0].classList.contains("bottom-sheet")?u(this.$el[0],{bottom:"-100%",opacity:0},t):u(this.$el[0],{top:this.options.startingTop,opacity:0,scaleX:.7},t)}},{key:"open",value:function(e){if(!this.isOpen){this.isOpen=!0;var t=document.body;return t.style.overflow="hidden",this.$el[0].classList.add("open"),t.appendChild(this.$overlay[0]),this.openingTrigger=e?e:void 0,this.options.dismissible&&(this.handleKeydownBound=this.handleKeydown.bind(this),document.addEventListener("keydown",this.handleKeydownBound)),this.animateIn(),this}}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,this.$el[0].classList.remove("open"),document.body.style.overflow=null,this.options.dismissible&&document.removeEventListener("keydown",this.handleKeydownBound),this.animateOut(),this}}],[{key:"init",value:function(t,i){var o=[];return t.each(function(){o.push(new n(e(this),i))}),o}},{key:"defaults",get:function(){return t}}]),n}();n._increment=0,n._count=0,window.Materialize.Modal=n,e.fn.modal=function(t){return n.prototype[t]?"get"===t.slice(0,3)?this.first()[0].M_Modal[t]():this.each(function(){this.M_Modal[t]()}):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist on jQuery.modal"):(n.init(this,arguments[0]),this)}}(l),function(e){e.fn.materialbox=function(){return this.each(function(){function t(){r=!1;var t=l.parent(".material-placeholder"),i=(window.innerWidth,window.innerHeight,l.data("width")),a=l.data("height");l.velocity("stop",!0),e("#materialbox-overlay").velocity("stop",!0),e(".materialbox-caption").velocity("stop",!0),e(window).off("scroll.materialbox"),e(document).off("keyup.materialbox"),e(window).off("resize.materialbox"),e("#materialbox-overlay").velocity({opacity:0},{duration:s,queue:!1,easing:"easeOutQuad",complete:function(){o=!1,e(this).remove()}}),l.velocity({width:i,height:a,left:0,top:0},{duration:s,queue:!1,easing:"easeOutQuad",complete:function(){t.css({height:"",width:"",position:"",top:"",left:""}),l.removeAttr("style"),l.attr("style",u),l.removeClass("active"),r=!0,n&&n.css("overflow","")}}),e(".materialbox-caption").velocity({opacity:0},{duration:s,queue:!1,easing:"easeOutQuad",complete:function(){e(this).remove()}})}if(!e(this).hasClass("initialized")){e(this).addClass("initialized");var n,i,o=!1,r=!0,a=275,s=200,l=e(this),c=e("<div></div>").addClass("material-placeholder"),u=l.attr("style");l.wrap(c),l.on("click",function(){var s=l.parent(".material-placeholder"),c=window.innerWidth,u=window.innerHeight,d=l.width(),p=l.height();if(r===!1)return t(),!1;if(o&&r===!0)return t(),!1;r=!1,l.addClass("active"),o=!0,s.css({width:s[0].getBoundingClientRect().width,height:s[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),n=void 0,i=s[0].parentNode;for(;null!==i&&!e(i).is(document);){var f=e(i);"visible"!==f.css("overflow")&&(f.css("overflow","visible"),n=void 0===n?f:n.add(f)),i=i.parentNode}l.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}).data("width",d).data("height",p);var h=e('<div id="materialbox-overlay"></div>').css({opacity:0}).click(function(){r===!0&&t()});l.before(h);var v=h[0].getBoundingClientRect();if(h.css({width:c,height:u,left:-1*v.left,top:-1*v.top}),h.velocity({opacity:1},{duration:a,queue:!1,easing:"easeOutQuad"}),""!==l.data("caption")){var g=e('<div class="materialbox-caption"></div>');g.text(l.data("caption")),e("body").append(g),g.css({display:"inline"}),g.velocity({opacity:1},{duration:a,queue:!1,easing:"easeOutQuad"})}var m=0,y=d/c,b=p/u,w=0,x=0;y>b?(m=p/d,w=.9*c,x=.9*c*m):(m=d/p,w=.9*u*m,x=.9*u),l.hasClass("responsive-img")?l.velocity({"max-width":w,width:d},{duration:0,queue:!1,complete:function(){l.css({left:0,top:0}).velocity({height:x,width:w,left:e(document).scrollLeft()+c/2-l.parent(".material-placeholder").offset().left-w/2,top:e(document).scrollTop()+u/2-l.parent(".material-placeholder").offset().top-x/2},{duration:a,queue:!1,easing:"easeOutQuad",complete:function(){r=!0}})}}):l.css("left",0).css("top",0).velocity({height:x,width:w,left:e(document).scrollLeft()+c/2-l.parent(".material-placeholder").offset().left-w/2,top:e(document).scrollTop()+u/2-l.parent(".material-placeholder").offset().top-x/2},{duration:a,queue:!1,easing:"easeOutQuad",complete:function(){r=!0}}),e(window).on("scroll.materialbox",function(){o&&t()}),e(window).on("resize.materialbox",function(){o&&t()}),e(document).on("keyup.materialbox",function(e){27===e.keyCode&&r===!0&&o&&t()})})}})},e(document).ready(function(){e(".materialboxed").materialbox()})}(l),function(e){e.fn.parallax=function(){var t=e(window).width();return this.each(function(n){function i(n){var i;i=t<601?o.height()>0?o.height():o.children("img").height():o.height()>0?o.height():500;var r=o.children("img").first(),a=r.height(),s=a-i,l=o.offset().top+i,c=o.offset().top,u=e(window).scrollTop(),d=window.innerHeight,p=u+d,f=(p-c)/(i+d),h=Math.round(s*f);n&&r.css("display","block"),l>u&&c<u+d&&r.css("transform","translate3D(-50%,"+h+"px, 0)")}var o=e(this);o.addClass("parallax"),o.children("img").one("load",function(){i(!0)}).each(function(){this.complete&&e(this).trigger("load")}),e(window).scroll(function(){t=e(window).width(),i(!1)}),e(window).resize(function(){t=e(window).width(),i(!1)})})}}(l),function(e){var t={init:function(t){var n={onShow:null,swipeable:!1,responsiveThreshold:1/0};t=e.extend(n,t);var i=Materialize.objectSelectorString(e(this));return this.each(function(n){var o,r,a,s,l,c=i+n,u=e(this),d=e(window).width(),p=u.find("li.tab a"),f=u.width(),h=e(),v=Math.max(f,u[0].scrollWidth)/p.length,g=prev_index=0,m=!1,y=300,b=function(e){return Math.ceil(f-e.position().left-e[0].getBoundingClientRect().width-u.scrollLeft())},w=function(e){return Math.floor(e.position().left+u.scrollLeft())},x=function(e){g-e>=0?(s.velocity({right:b(o)},{duration:y,queue:!1,easing:"easeOutQuad"}),s.velocity({left:w(o)},{duration:y,queue:!1,easing:"easeOutQuad",delay:90})):(s.velocity({left:w(o)},{duration:y,queue:!1,easing:"easeOutQuad"}),s.velocity({right:b(o)},{duration:y,queue:!1,easing:"easeOutQuad",delay:90}))};t.swipeable&&d>t.responsiveThreshold&&(t.swipeable=!1),o=e(p.filter('[href="'+location.hash+'"]')),0===o.length&&(o=e(this).find("li.tab a.active").first()),0===o.length&&(o=e(this).find("li.tab a").first()),o.addClass("active"),g=p.index(o),g<0&&(g=0),void 0!==o[0]&&(r=e(o[0].hash),r.addClass("active")),u.find(".indicator").length||u.append('<li class="indicator"></li>'),s=u.find(".indicator"),u.append(s),u.is(":visible")&&setTimeout(function(){s.css({right:b(o)}),s.css({left:w(o)})},0),e(window).off("resize.tabs-"+c).on("resize.tabs-"+c,function(){f=u.width(),v=Math.max(f,u[0].scrollWidth)/p.length,g<0&&(g=0),0!==v&&0!==f&&(s.css({right:b(o)}),s.css({left:w(o)}))}),t.swipeable?(p.each(function(){var t=e(Materialize.escapeHash(this.hash));t.addClass("carousel-item"),h=h.add(t)}),a=h.wrapAll('<div class="tabs-content carousel"></div>'),h.css("display",""),e(".tabs-content.carousel").carousel({fullWidth:!0,noWrap:!0,onCycleTo:function(e){if(!m){var n=g;g=a.index(e),o.removeClass("active"),o=p.eq(g),o.addClass("active"),x(n),"function"==typeof t.onShow&&t.onShow.call(u[0],r)}}})):p.not(o).each(function(){e(Materialize.escapeHash(this.hash)).hide()}),u.off("click.tabs").on("click.tabs","a",function(n){if(e(this).parent().hasClass("disabled"))return void n.preventDefault();if(!e(this).attr("target")){m=!0,f=u.width(),v=Math.max(f,u[0].scrollWidth)/p.length,o.removeClass("active");var i=r;o=e(this),r=e(Materialize.escapeHash(this.hash)),p=u.find("li.tab a");o.position();o.addClass("active"),prev_index=g,g=p.index(e(this)),g<0&&(g=0),t.swipeable?h.length&&h.carousel("set",g,function(){"function"==typeof t.onShow&&t.onShow.call(u[0],r)}):(void 0!==r&&(r.show(),r.addClass("active"),"function"==typeof t.onShow&&t.onShow.call(this,r)),void 0===i||i.is(r)||(i.hide(),i.removeClass("active"))),l=setTimeout(function(){m=!1},y),x(prev_index),n.preventDefault()}})})},select_tab:function(e){this.find('a[href="#'+e+'"]').trigger("click")}};e.fn.tabs=function(n){return t[n]?t[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void e.error("Method "+n+" does not exist on jQuery.tabs"):t.init.apply(this,arguments)},e(document).ready(function(){e("ul.tabs").tabs()})}(l),function(e){e.fn.tooltip=function(n){var i=5,o={delay:350,tooltip:"",position:"bottom",html:!1};return"remove"===n?(this.each(function(){e("#"+e(this).attr("data-tooltip-id")).remove(),e(this).removeAttr("data-tooltip-id"),e(this).off("mouseenter.tooltip mouseleave.tooltip")}),!1):(n=e.extend(o,n),this.each(function(){var o=Materialize.guid(),r=e(this);r.attr("data-tooltip-id")&&e("#"+r.attr("data-tooltip-id")).remove(),r.attr("data-tooltip-id",o);var a,s,l,c,u,d,p=function(){a=r.attr("data-html")?"true"===r.attr("data-html"):n.html,s=r.attr("data-delay"),s=void 0===s||""===s?n.delay:s,l=r.attr("data-position"),l=void 0===l||""===l?n.position:l,c=r.attr("data-tooltip"),c=void 0===c||""===c?n.tooltip:c};p();var f=function(){var t=e('<div class="material-tooltip"></div>');return c=a?e("<span></span>").html(c):e("<span></span>").text(c),t.append(c).appendTo(e("body")).attr("id",o),d=e('<div class="backdrop"></div>'),d.appendTo(t),t};u=f(),r.off("mouseenter.tooltip mouseleave.tooltip");var h,v=!1;r.on({"mouseenter.tooltip":function(e){var n=function(){p(),v=!0,u.velocity("stop"),d.velocity("stop"),u.css({visibility:"visible",left:"0px",top:"0px"});var e,n,o,a=r.outerWidth(),s=r.outerHeight(),c=u.outerHeight(),f=u.outerWidth(),h="0px",g="0px",m=d[0].offsetWidth,y=d[0].offsetHeight,b=8,w=8,x=0;"top"===l?(e=r.offset().top-c-i,n=r.offset().left+a/2-f/2,o=t(n,e,f,c),h="-10px",d.css({bottom:0,left:0,borderRadius:"14px 14px 0 0",transformOrigin:"50% 100%",marginTop:c,marginLeft:f/2-m/2})):"left"===l?(e=r.offset().top+s/2-c/2,n=r.offset().left-f-i,o=t(n,e,f,c),g="-10px",d.css({top:"-7px",right:0,width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:c/2,marginLeft:f})):"right"===l?(e=r.offset().top+s/2-c/2,n=r.offset().left+a+i,o=t(n,e,f,c),g="+10px",d.css({top:"-7px",left:0,width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:c/2,marginLeft:"0px"})):(e=r.offset().top+r.outerHeight()+i,n=r.offset().left+a/2-f/2,o=t(n,e,f,c),h="+10px",d.css({top:0,left:0,marginLeft:f/2-m/2})),u.css({top:o.y,left:o.x}),b=Math.SQRT2*f/parseInt(m),w=Math.SQRT2*c/parseInt(y),x=Math.max(b,w),u.velocity({translateY:h,translateX:g},{duration:350,queue:!1}).velocity({opacity:1},{duration:300,delay:50,queue:!1}),d.css({visibility:"visible"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scaleX:x,scaleY:x},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})};h=setTimeout(n,s)},"mouseleave.tooltip":function(){v=!1,clearTimeout(h),setTimeout(function(){v!==!0&&(u.velocity({opacity:0,translateY:0,translateX:0},{duration:225,queue:!1}),d.velocity({opacity:0,scaleX:1,scaleY:1},{duration:225,queue:!1,complete:function(){d.css({visibility:"hidden"}),u.css({visibility:"hidden"}),v=!1}}))},225)}})}))};var t=function(t,n,i,o){var r=t,a=n;return r<0?r=4:r+i>window.innerWidth&&(r-=r+i-window.innerWidth),a<0?a=4:a+o>window.innerHeight+e(window).scrollTop&&(a-=a+o-window.innerHeight),{x:r,y:a}};e(document).ready(function(){e(".tooltipped").tooltip()})}(l),function(e){"use strict";function t(e){return null!==e&&e===e.window}function n(e){return t(e)?e:9===e.nodeType&&e.defaultView}function i(e){var t,i,o={top:0,left:0},r=e&&e.ownerDocument;return t=r.documentElement,"undefined"!=typeof e.getBoundingClientRect&&(o=e.getBoundingClientRect()),i=n(r),{top:o.top+i.pageYOffset-t.clientTop,left:o.left+i.pageXOffset-t.clientLeft}}function o(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}function r(e){if(u.allowEvent(e)===!1)return null;for(var t=null,n=e.target||e.srcElement;null!==n.parentNode;){if(!(n instanceof SVGElement)&&n.className.indexOf("waves-effect")!==-1){t=n;break}n=n.parentNode}return t}function a(t){var n=r(t);null!==n&&(c.show(t,n),"ontouchstart"in e&&(n.addEventListener("touchend",c.hide,!1),n.addEventListener("touchcancel",c.hide,!1)),n.addEventListener("mouseup",c.hide,!1),n.addEventListener("mouseleave",c.hide,!1),n.addEventListener("dragend",c.hide,!1))}var s=s||{},l=document.querySelectorAll.bind(document),c={duration:750,show:function(e,t){if(2===e.button)return!1;var n=t||this,r=document.createElement("div");r.className="waves-ripple",n.appendChild(r);var a=i(n),s=e.pageY-a.top,l=e.pageX-a.left,u="scale("+n.clientWidth/100*10+")";"touches"in e&&(s=e.touches[0].pageY-a.top,l=e.touches[0].pageX-a.left),r.setAttribute("data-hold",Date.now()),r.setAttribute("data-scale",u),r.setAttribute("data-x",l),r.setAttribute("data-y",s);var d={top:s+"px",left:l+"px"};r.className=r.className+" waves-notransition",r.setAttribute("style",o(d)),r.className=r.className.replace("waves-notransition",""),d["-webkit-transform"]=u,d["-moz-transform"]=u,d["-ms-transform"]=u,d["-o-transform"]=u,d.transform=u,d.opacity="1",d["-webkit-transition-duration"]=c.duration+"ms",d["-moz-transition-duration"]=c.duration+"ms",d["-o-transition-duration"]=c.duration+"ms",d["transition-duration"]=c.duration+"ms",d["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",r.setAttribute("style",o(d))},hide:function(e){u.touchup(e);var t=this,n=(1.4*t.clientWidth,null),i=t.getElementsByClassName("waves-ripple");if(!(i.length>0))return!1;n=i[i.length-1];var r=n.getAttribute("data-x"),a=n.getAttribute("data-y"),s=n.getAttribute("data-scale"),l=Date.now()-Number(n.getAttribute("data-hold")),d=350-l;d<0&&(d=0),setTimeout(function(){var e={top:a+"px",left:r+"px",opacity:"0","-webkit-transition-duration":c.duration+"ms","-moz-transition-duration":c.duration+"ms","-o-transition-duration":c.duration+"ms","transition-duration":c.duration+"ms","-webkit-transform":s,"-moz-transform":s,"-ms-transform":s,"-o-transform":s,transform:s};n.setAttribute("style",o(e)),setTimeout(function(){try{t.removeChild(n)}catch(e){return!1}},c.duration)},d)},wrapInput:function(e){for(var t=0;t<e.length;t++){var n=e[t];if("input"===n.tagName.toLowerCase()){var i=n.parentNode;if("i"===i.tagName.toLowerCase()&&i.className.indexOf("waves-effect")!==-1)continue;var o=document.createElement("i");o.className=n.className+" waves-input-wrapper";var r=n.getAttribute("style");r||(r=""),o.setAttribute("style",r),n.className="waves-button-input",n.removeAttribute("style"),i.replaceChild(o,n),o.appendChild(n)}}}},u={touches:0,allowEvent:function(e){var t=!0;return"touchstart"===e.type?u.touches+=1:"touchend"===e.type||"touchcancel"===e.type?setTimeout(function(){u.touches>0&&(u.touches-=1)},500):"mousedown"===e.type&&u.touches>0&&(t=!1),t},touchup:function(e){u.allowEvent(e)}};s.displayEffect=function(t){t=t||{},"duration"in t&&(c.duration=t.duration),c.wrapInput(l(".waves-effect")),"ontouchstart"in e&&document.body.addEventListener("touchstart",a,!1),document.body.addEventListener("mousedown",a,!1)},s.attach=function(t){"input"===t.tagName.toLowerCase()&&(c.wrapInput([t]),t=t.parentNode),"ontouchstart"in e&&t.addEventListener("touchstart",a,!1),t.addEventListener("mousedown",a,!1)},e.Waves=s,document.addEventListener("DOMContentLoaded",function(){s.displayEffect()},!1)}(window),function(e){"use strict";var t={displayLength:1/0,inDuration:300,outDuration:375,className:void 0,completeCallback:void 0,activationPercent:.8},n=function(){function n(t,o,r,a){if(i(this,n),t){this.options={displayLength:o,className:r,completeCallback:a},this.options=e.extend({},n.defaults,this.options),this.message=t,this.panning=!1,this.timeRemaining=this.options.displayLength,0===n._toasts.length&&n._createContainer(),n._toasts.push(this);var s=this.createToast();s.M_Toast=this,this.el=s,this._animateIn(),this.setTimer()}}return s(n,[{key:"createToast",value:function(){var t=document.createElement("div");if(t.classList.add("toast"),this.options.className){var i=this.options.className.split(" "),o=void 0,r=void 0;for(o=0,r=i.length;o<r;o++)t.classList.add(i[o])}return("object"==typeof HTMLElement?this.message instanceof HTMLElement:this.message&&"object"==typeof this.message&&null!==this.message&&1===this.message.nodeType&&"string"==typeof this.message.nodeName)?t.appendChild(this.message):this.message instanceof l?e(t).append(this.message):t.innerHTML=this.message,n._container.appendChild(t),t}},{key:"_animateIn",value:function(){u(this.el,{top:0,opacity:1},{duration:300,easing:"easeOutCubic",queue:!1})}},{key:"setTimer",value:function(){var e=this;this.timeRemaining!==1/0&&(this.counterInterval=setInterval(function(){e.panning||(e.timeRemaining-=20),e.timeRemaining<=0&&e.remove()},20))}},{key:"remove",value:function(){var e=this;window.clearInterval(this.counterInterval);var t=this.el.offsetWidth*this.options.activationPercent;this.wasSwiped&&(this.el.style.transition="transform .05s, opacity .05s",this.el.style.transform="translateX("+t+"px)",this.el.style.opacity=0),u(this.el,{opacity:0,marginTop:"-40px"},{duration:this.options.outDuration,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof e.options.completeCallback&&e.options.completeCallback(),e.el.parentNode.removeChild(e.el),n._toasts.splice(n._toasts.indexOf(e),1),0===n._toasts.length&&n._removeContainer()}})}}],[{key:"_createContainer",value:function(){var e=document.createElement("div");e.setAttribute("id","toast-container"),e.addEventListener("touchstart",n._onDragStart),e.addEventListener("touchmove",n._onDragMove),e.addEventListener("touchend",n._onDragEnd),e.addEventListener("mousedown",n._onDragStart),document.addEventListener("mousemove",n._onDragMove),document.addEventListener("mouseup",n._onDragEnd),document.body.appendChild(e),n._container=e;
  }},{key:"_removeContainer",value:function(){document.removeEventListener("mousemove",n._onDragMove),document.removeEventListener("mouseup",n._onDragEnd),n._container.parentNode.removeChild(n._container),n._container=null}},{key:"_onDragStart",value:function(t){if(t.target&&e(t.target).closest(".toast").length){var i=e(t.target).closest(".toast"),o=i[0].M_Toast;o.panning=!0,n._draggedToast=o,o.el.classList.add("panning"),o.el.style.transition=null,o.startingXPos=n._xPos(t),o.time=Date.now(),o.xPos=n._xPos(t)}}},{key:"_onDragMove",value:function(e){if(n._draggedToast){e.preventDefault();var t=n._draggedToast;t.deltaX=Math.abs(t.xPos-n._xPos(e)),t.xPos=n._xPos(e),t.velocityX=t.deltaX/(Date.now()-t.time),t.time=Date.now();var i=t.xPos-t.startingXPos,o=t.el.offsetWidth*t.options.activationPercent;t.el.style.transform="translateX("+i+"px)",t.el.style.opacity=1-Math.abs(i/o)}}},{key:"_onDragEnd",value:function(e){if(n._draggedToast){var t=n._draggedToast;t.panning=!1,t.el.classList.remove("panning");var i=t.xPos-t.startingXPos,o=t.el.offsetWidth*t.options.activationPercent,r=Math.abs(i)>o||t.velocityX>1;r?(t.wasSwiped=!0,t.remove()):(t.el.style.transition="transform .2s, opacity .2s",t.el.style.transform=null,t.el.style.opacity=null),n._draggedToast=null}}},{key:"_xPos",value:function(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}},{key:"removeAll",value:function(){for(var e in n._toasts)n._toasts[e].remove()}},{key:"defaults",get:function(){return t}}]),n}();n._toasts=[],n._container=null,n._draggedToast=null,window.Materialize.Toast=n,window.Materialize.toast=function(e,t,i,o){return new n(e,t,i,o)}}(l),function(e){var t={init:function(t){var n={menuWidth:300,edge:"left",closeOnClick:!1,draggable:!0,onOpen:null,onClose:null};t=e.extend(n,t),e(this).each(function(){var n=e(this),i=n.attr("data-activates"),o=e("#"+i);300!=t.menuWidth&&o.css("width",t.menuWidth);var r=e('.drag-target[data-sidenav="'+i+'"]');t.draggable?(r.length&&r.remove(),r=e('<div class="drag-target"></div>').attr("data-sidenav",i),e("body").append(r)):r=e(),"left"==t.edge?(o.css("transform","translateX(-100%)"),r.css({left:0})):(o.addClass("right-aligned").css("transform","translateX(100%)"),r.css({right:0})),o.hasClass("fixed")&&window.innerWidth>992&&o.css("transform","translateX(0)"),o.hasClass("fixed")&&e(window).resize(function(){window.innerWidth>992?0!==e("#sidenav-overlay").length&&l?a(!0):o.css("transform","translateX(0%)"):l===!1&&("left"===t.edge?o.css("transform","translateX(-100%)"):o.css("transform","translateX(100%)"))}),t.closeOnClick===!0&&o.on("click.itemclick","a:not(.collapsible-header)",function(){window.innerWidth>992&&o.hasClass("fixed")||a()});var a=function(n){s=!1,l=!1,e("body").css({overflow:"",width:""}),e("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){e(this).remove()}}),"left"===t.edge?(r.css({width:"",right:"",left:"0"}),o.velocity({translateX:"-100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){n===!0&&(o.removeAttr("style"),o.css("width",t.menuWidth))}})):(r.css({width:"",right:"0",left:""}),o.velocity({translateX:"100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){n===!0&&(o.removeAttr("style"),o.css("width",t.menuWidth))}})),"function"==typeof t.onClose&&t.onClose.call(this,o)},s=!1,l=!1;t.draggable&&(r.on("click",function(){l&&a()}),r.hammer({prevent_default:!1}).on("pan",function(n){if("touch"==n.gesture.pointerType){var i=(n.gesture.direction,n.gesture.center.x),r=n.gesture.center.y;n.gesture.velocityX;if(0===i&&0===r)return;var s=e("body"),c=e("#sidenav-overlay"),u=s.innerWidth();if(s.css("overflow","hidden"),s.width(u),0===c.length&&(c=e('<div id="sidenav-overlay"></div>'),c.css("opacity",0).click(function(){a()}),"function"==typeof t.onOpen&&t.onOpen.call(this,o),e("body").append(c)),"left"===t.edge&&(i>t.menuWidth?i=t.menuWidth:i<0&&(i=0)),"left"===t.edge)i<t.menuWidth/2?l=!1:i>=t.menuWidth/2&&(l=!0),o.css("transform","translateX("+(i-t.menuWidth)+"px)");else{i<window.innerWidth-t.menuWidth/2?l=!0:i>=window.innerWidth-t.menuWidth/2&&(l=!1);var d=i-t.menuWidth/2;d<0&&(d=0),o.css("transform","translateX("+d+"px)")}var p;"left"===t.edge?(p=i/t.menuWidth,c.velocity({opacity:p},{duration:10,queue:!1,easing:"easeOutQuad"})):(p=Math.abs((i-window.innerWidth)/t.menuWidth),c.velocity({opacity:p},{duration:10,queue:!1,easing:"easeOutQuad"}))}}).on("panend",function(n){if("touch"==n.gesture.pointerType){var i=e("#sidenav-overlay"),a=n.gesture.velocityX,c=n.gesture.center.x,u=c-t.menuWidth,d=c-t.menuWidth/2;u>0&&(u=0),d<0&&(d=0),s=!1,"left"===t.edge?l&&a<=.3||a<-.5?(0!==u&&o.velocity({translateX:[0,u]},{duration:300,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),r.css({width:"50%",right:0,left:""}),l=!0):(!l||a>.3)&&(e("body").css({overflow:"",width:""}),o.velocity({translateX:[-1*t.menuWidth-10,u]},{duration:200,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){"function"==typeof t.onClose&&t.onClose.call(this,o),e(this).remove()}}),r.css({width:"10px",right:"",left:0})):l&&a>=-.3||a>.5?(0!==d&&o.velocity({translateX:[0,d]},{duration:300,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),r.css({width:"50%",right:"",left:0}),l=!0):(!l||a<-.3)&&(e("body").css({overflow:"",width:""}),o.velocity({translateX:[t.menuWidth+10,d]},{duration:200,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){"function"==typeof t.onClose&&t.onClose.call(this,o),e(this).remove()}}),r.css({width:"10px",right:0,left:""}))}})),n.off("click.sidenav").on("click.sidenav",function(){if(l===!0)l=!1,s=!1,a();else{var n=e("body"),i=e('<div id="sidenav-overlay"></div>'),c=n.innerWidth();n.css("overflow","hidden"),n.width(c),e("body").append(r),"left"===t.edge?(r.css({width:"50%",right:0,left:""}),o.velocity({translateX:[0,-1*t.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})):(r.css({width:"50%",right:"",left:0}),o.velocity({translateX:[0,t.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})),i.css("opacity",0).click(function(){l=!1,s=!1,a(),i.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){e(this).remove()}})}),e("body").append(i),i.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){l=!0,s=!1}}),"function"==typeof t.onOpen&&t.onOpen.call(this,o)}return!1})})},destroy:function(){var t=e("#sidenav-overlay"),n=e('.drag-target[data-sidenav="'+e(this).attr("data-activates")+'"]');t.trigger("click"),n.remove(),e(this).off("click"),t.remove()},show:function(){this.trigger("click")},hide:function(){e("#sidenav-overlay").trigger("click")}};e.fn.sideNav=function(n){return t[n]?t[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void e.error("Method "+n+" does not exist on jQuery.sideNav"):t.init.apply(this,arguments)}}(l),function(e){function t(t,n,i,o){var a=e();return e.each(r,function(e,r){if(r.height()>0){var s=r.offset().top,l=r.offset().left,c=l+r.width(),u=s+r.height(),d=!(l>n||c<o||s>i||u<t);d&&a.push(r)}}),a}function n(n){++l;var i=o.scrollTop(),r=o.scrollLeft(),s=r+o.width(),u=i+o.height(),d=t(i+c.top+n||200,s+c.right,u+c.bottom,r+c.left);e.each(d,function(e,t){var n=t.data("scrollSpy:ticks");"number"!=typeof n&&t.triggerHandler("scrollSpy:enter"),t.data("scrollSpy:ticks",l)}),e.each(a,function(e,t){var n=t.data("scrollSpy:ticks");"number"==typeof n&&n!==l&&(t.triggerHandler("scrollSpy:exit"),t.data("scrollSpy:ticks",null))}),a=d}function i(){o.trigger("scrollSpy:winSize")}var o=e(window),r=[],a=[],s=!1,l=0,c={top:0,right:0,bottom:0,left:0};e.scrollSpy=function(t,i){var a={throttle:100,scrollOffset:200,activeClass:"active",getActiveElement:function(e){return'a[href="#'+e+'"]'}};i=e.extend(a,i);var l=[];t=e(t),t.each(function(t,n){r.push(e(n)),e(n).data("scrollSpy:id",t),e('a[href="#'+e(n).attr("id")+'"]').click(function(t){t.preventDefault();var n=e(Materialize.escapeHash(this.hash)).offset().top+1;e("html, body").animate({scrollTop:n-i.scrollOffset},{duration:400,queue:!1,easing:"easeOutCubic"})})}),c.top=i.offsetTop||0,c.right=i.offsetRight||0,c.bottom=i.offsetBottom||0,c.left=i.offsetLeft||0;var u=Materialize.throttle(function(){n(i.scrollOffset)},i.throttle||100),d=function(){e(document).ready(u)};return s||(o.on("scroll",d),o.on("resize",d),s=!0),setTimeout(d,0),t.on("scrollSpy:enter",function(){l=e.grep(l,function(e){return 0!=e.height()});var t=e(this);l[0]?(e(i.getActiveElement(l[0].attr("id"))).removeClass(i.activeClass),t.data("scrollSpy:id")<l[0].data("scrollSpy:id")?l.unshift(e(this)):l.push(e(this))):l.push(e(this)),e(i.getActiveElement(l[0].attr("id"))).addClass(i.activeClass)}),t.on("scrollSpy:exit",function(){if(l=e.grep(l,function(e){return 0!=e.height()}),l[0]){e(i.getActiveElement(l[0].attr("id"))).removeClass(i.activeClass);var t=e(this);l=e.grep(l,function(e){return e.attr("id")!=t.attr("id")}),l[0]&&e(i.getActiveElement(l[0].attr("id"))).addClass(i.activeClass)}}),t},e.winSizeSpy=function(t){return e.winSizeSpy=function(){return o},t=t||{throttle:100},o.on("resize",Materialize.throttle(i,t.throttle||100))},e.fn.scrollSpy=function(t){return e.scrollSpy(e(this),t)}}(l),function(e){e(document).ready(function(){function t(t){var n=t.css("font-family"),i=t.css("font-size"),r=t.css("line-height"),a=t.css("padding");i&&o.css("font-size",i),n&&o.css("font-family",n),r&&o.css("line-height",r),a&&o.css("padding",a),t.data("original-height")||t.data("original-height",t.height()),"off"===t.attr("wrap")&&o.css("overflow-wrap","normal").css("white-space","pre"),o.text(t.val()+"\n");var s=o.html().replace(/\n/g,"<br>");o.html(s),t.is(":visible")?o.css("width",t.width()):o.css("width",e(window).width()/2),t.data("original-height")<=o.height()?t.css("height",o.height()):t.val().length<t.data("previous-length")&&t.css("height",t.data("original-height")),t.data("previous-length",t.val().length)}Materialize.updateTextFields=function(){var t="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";e(t).each(function(t,n){var i=e(this);e(n).val().length>0||e(n).is(":focus")||n.autofocus||void 0!==i.attr("placeholder")?i.siblings("label").addClass("active"):e(n)[0].validity?i.siblings("label").toggleClass("active",e(n)[0].validity.badInput===!0):i.siblings("label").removeClass("active")})};var n="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";e(document).on("change",n,function(){0===e(this).val().length&&void 0===e(this).attr("placeholder")||e(this).siblings("label").addClass("active"),validate_field(e(this))}),e(document).ready(function(){Materialize.updateTextFields()}),e(document).on("reset",function(t){var i=e(t.target);i.is("form")&&(i.find(n).removeClass("valid").removeClass("invalid"),i.find(n).each(function(){""===e(this).attr("value")&&e(this).siblings("label").removeClass("active")}),i.find("select.initialized").each(function(){var e=i.find("option[selected]").text();i.siblings("input.select-dropdown").val(e)}))}),e(document).on("focus",n,function(){e(this).siblings("label, .prefix").addClass("active")}),e(document).on("blur",n,function(){var t=e(this),n=".prefix";0===t.val().length&&t[0].validity.badInput!==!0&&void 0===t.attr("placeholder")&&(n+=", label"),t.siblings(n).removeClass("active"),validate_field(t)}),window.validate_field=function(e){var t=void 0!==e.attr("data-length"),n=parseInt(e.attr("data-length")),i=e.val().length;0!==e.val().length||e[0].validity.badInput!==!1||e.is(":required")?e.hasClass("validate")&&(e.is(":valid")&&t&&i<=n||e.is(":valid")&&!t?(e.removeClass("invalid"),e.addClass("valid")):(e.removeClass("valid"),e.addClass("invalid"))):e.hasClass("validate")&&(e.removeClass("valid"),e.removeClass("invalid"))};var i="input[type=radio], input[type=checkbox]";e(document).on("keyup.radio",i,function(t){if(9===t.which){e(this).addClass("tabbed");var n=e(this);return void n.one("blur",function(t){e(this).removeClass("tabbed")})}});var o=e(".hiddendiv").first();o.length||(o=e('<div class="hiddendiv common"></div>'),e("body").append(o));var r=".materialize-textarea";e(r).each(function(){var t=e(this);t.data("original-height",t.height()),t.data("previous-length",t.val().length)}),e("body").on("keyup keydown autoresize",r,function(){t(e(this))}),e(document).on("change",'.file-field input[type="file"]',function(){for(var t=e(this).closest(".file-field"),n=t.find("input.file-path"),i=e(this)[0].files,o=[],r=0;r<i.length;r++)o.push(i[r].name);n.val(o.join(", ")),n.trigger("change")});var a="input[type=range]",s=!1;e(a).each(function(){var t=e('<span class="thumb"><span class="value"></span></span>');e(this).after(t)});var l=function(e){var t=parseInt(e.parent().css("padding-left")),n=-7+t+"px";e.velocity({height:"30px",width:"30px",top:"-30px",marginLeft:n},{duration:300,easing:"easeOutExpo"})},c=function(e){var t=e.width()-15,n=parseFloat(e.attr("max")),i=parseFloat(e.attr("min")),o=(parseFloat(e.val())-i)/(n-i);return o*t},u=".range-field";e(document).on("change",a,function(t){var n=e(this).siblings(".thumb");n.find(".value").html(e(this).val()),n.hasClass("active")||l(n);var i=c(e(this));n.addClass("active").css("left",i)}),e(document).on("mousedown touchstart",a,function(t){var n=e(this).siblings(".thumb");if(n.length<=0&&(n=e('<span class="thumb"><span class="value"></span></span>'),e(this).after(n)),n.find(".value").html(e(this).val()),s=!0,e(this).addClass("active"),n.hasClass("active")||l(n),"input"!==t.type){var i=c(e(this));n.addClass("active").css("left",i)}}),e(document).on("mouseup touchend",u,function(){s=!1,e(this).removeClass("active")}),e(document).on("input mousemove touchmove",u,function(t){var n=e(this).children(".thumb"),i=e(this).find(a);if(s){n.hasClass("active")||l(n);var o=c(i);n.addClass("active").css("left",o),n.find(".value").html(n.siblings(a).val())}}),e(document).on("mouseout touchleave",u,function(){if(!s){var t=e(this).children(".thumb"),n=parseInt(e(this).css("padding-left")),i=7+n+"px";t.hasClass("active")&&t.velocity({height:"0",width:"0",top:"10px",marginLeft:i},{duration:100}),t.removeClass("active")}}),e.fn.autocomplete=function(t){var n={data:{},limit:1/0,onAutocomplete:null,minLength:1};return t=e.extend(n,t),this.each(function(){var n,i=e(this),o=t.data,r=0,a=-1,s=i.closest(".input-field");if(e.isEmptyObject(o))i.off("keyup.autocomplete focus.autocomplete");else{var l,c=e('<ul class="autocomplete-content dropdown-content"></ul>');s.length?(l=s.children(".autocomplete-content.dropdown-content").first(),l.length||s.append(c)):(l=i.next(".autocomplete-content.dropdown-content"),l.length||i.after(c)),l.length&&(c=l);var u=function(e,t){var n=t.find("img"),i=t.text().toLowerCase().indexOf(""+e.toLowerCase()),o=i+e.length-1,r=t.text().slice(0,i),a=t.text().slice(i,o+1),s=t.text().slice(o+1);t.html("<span>"+r+"<span class='highlight'>"+a+"</span>"+s+"</span>"),n.length&&t.prepend(n)},d=function(){a=-1,c.find(".active").removeClass("active")},p=function(){c.empty(),d(),n=void 0};i.off("blur.autocomplete").on("blur.autocomplete",function(){p()}),i.off("keyup.autocomplete focus.autocomplete").on("keyup.autocomplete focus.autocomplete",function(a){r=0;var s=i.val().toLowerCase();if(13!==a.which&&38!==a.which&&40!==a.which){if(n!==s&&(p(),s.length>=t.minLength))for(var l in o)if(o.hasOwnProperty(l)&&l.toLowerCase().indexOf(s)!==-1){if(r>=t.limit)break;var d=e("<li></li>");o[l]?d.append('<img src="'+o[l]+'" class="right circle"><span>'+l+"</span>"):d.append("<span>"+l+"</span>"),c.append(d),u(s,d),r++}n=s}}),i.off("keydown.autocomplete").on("keydown.autocomplete",function(e){var t,n=e.which,i=c.children("li").length,o=c.children(".active").first();return 13===n&&a>=0?(t=c.children("li").eq(a),void(t.length&&(t.trigger("mousedown.autocomplete"),e.preventDefault()))):void(38!==n&&40!==n||(e.preventDefault(),38===n&&a>0&&a--,40===n&&a<i-1&&a++,o.removeClass("active"),a>=0&&c.children("li").eq(a).addClass("active")))}),c.off("mousedown.autocomplete touchstart.autocomplete").on("mousedown.autocomplete touchstart.autocomplete","li",function(){var n=e(this).text().trim();i.val(n),i.trigger("change"),p(),"function"==typeof t.onAutocomplete&&t.onAutocomplete.call(this,n)})}})}}),e.fn.material_select=function(t){function n(e,t,n){var o=e.indexOf(t),r=o===-1;return r?e.push(t):e.splice(o,1),n.siblings("ul.dropdown-content").find("li:not(.optgroup)").eq(t).toggleClass("active"),n.find("option").eq(t).prop("selected",r),i(e,n),r}function i(e,t){for(var n="",i=0,o=e.length;i<o;i++){var r=t.find("option").eq(e[i]).text();n+=0===i?r:", "+r}""===n&&(n=t.find("option:disabled").eq(0).text()),t.siblings("input.select-dropdown").val(n)}e(this).each(function(){var i=e(this);if(!i.hasClass("browser-default")){var o=!!i.attr("multiple"),r=i.attr("data-select-id");if(r&&(i.parent().find("span.caret").remove(),i.parent().find("input").remove(),i.unwrap(),e("ul#select-options-"+r).remove()),"destroy"===t)return i.removeAttr("data-select-id").removeClass("initialized"),void e(window).off("click.select");var a=Materialize.guid();i.attr("data-select-id",a);var s=e('<div class="select-wrapper"></div>');s.addClass(i.attr("class")),i.is(":disabled")&&s.addClass("disabled");var l=e('<ul id="select-options-'+a+'" class="dropdown-content select-dropdown '+(o?"multiple-select-dropdown":"")+'"></ul>'),c=i.children("option, optgroup"),u=[],d=!1,p=i.find("option:selected").html()||i.find("option:first").html()||"",f=function(t,n,i){var r=n.is(":disabled")?"disabled ":"",a="optgroup-option"===i?"optgroup-option ":"",s=o?'<input type="checkbox"'+r+"/><label></label>":"",c=n.data("icon"),u=n.attr("class");if(c){var d="";return u&&(d=' class="'+u+'"'),l.append(e('<li class="'+r+a+'"><img alt="" src="'+c+'"'+d+"><span>"+s+n.html()+"</span></li>")),!0}l.append(e('<li class="'+r+a+'"><span>'+s+n.html()+"</span></li>"))};c.length&&c.each(function(){if(e(this).is("option"))o?f(i,e(this),"multiple"):f(i,e(this));else if(e(this).is("optgroup")){var t=e(this).children("option");l.append(e('<li class="optgroup"><span>'+e(this).attr("label")+"</span></li>")),t.each(function(){f(i,e(this),"optgroup-option")})}}),l.find("li:not(.optgroup)").each(function(r){e(this).click(function(a){if(!e(this).hasClass("disabled")&&!e(this).hasClass("optgroup")){var s=!0;o?(e('input[type="checkbox"]',this).prop("checked",function(e,t){return!t}),s=n(u,r,i),g.trigger("focus")):(l.find("li").removeClass("active"),e(this).toggleClass("active"),g.val(e(this).text())),m(l,e(this)),i.find("option").eq(r).prop("selected",s),i.trigger("change"),"undefined"!=typeof t&&t()}a.stopPropagation()})}),i.wrap(s);var h=e('<span class="caret">&#9660;</span>'),v=p.replace(/"/g,"&quot;"),g=e('<input type="text" class="select-dropdown" readonly="true" '+(i.is(":disabled")?"disabled":"")+' data-activates="select-options-'+a+'" value="'+v+'"/>');i.before(g),g.before(h),g.after(l),i.is(":disabled")||g.dropdown({hover:!1}),i.attr("tabindex")&&e(g[0]).attr("tabindex",i.attr("tabindex")),i.addClass("initialized"),g.on({focus:function(){if(e("ul.select-dropdown").not(l[0]).is(":visible")&&(e("input.select-dropdown").trigger("close"),e(window).off("click.select")),!l.is(":visible")){e(this).trigger("open",["focus"]);var t=e(this).val();o&&t.indexOf(",")>=0&&(t=t.split(",")[0]);var n=l.find("li").filter(function(){return e(this).text().toLowerCase()===t.toLowerCase()})[0];m(l,n,!0),e(window).off("click.select").on("click.select",function(){o&&(d||g.trigger("close")),e(window).off("click.select")})}},click:function(e){e.stopPropagation()}}),g.on("blur",function(){o||(e(this).trigger("close"),e(window).off("click.select")),l.find("li.selected").removeClass("selected")}),l.hover(function(){d=!0},function(){d=!1}),o&&i.find("option:selected:not(:disabled)").each(function(){var t=e(this).index();n(u,t,i),l.find("li").eq(t).find(":checkbox").prop("checked",!0)});var m=function(t,n,i){if(n){t.find("li.selected").removeClass("selected");var r=e(n);r.addClass("selected"),o&&!i||l.scrollTo(r)}},y=[],b=function(t){if(9==t.which)return void g.trigger("close");if(40==t.which&&!l.is(":visible"))return void g.trigger("open");if(13!=t.which||l.is(":visible")){t.preventDefault();var n=String.fromCharCode(t.which).toLowerCase(),i=[9,13,27,38,40];if(n&&i.indexOf(t.which)===-1){y.push(n);var r=y.join(""),a=l.find("li").filter(function(){return 0===e(this).text().toLowerCase().indexOf(r)})[0];a&&m(l,a)}if(13==t.which){var s=l.find("li.selected:not(.disabled)")[0];s&&(e(s).trigger("click"),o||g.trigger("close"))}40==t.which&&(a=l.find("li.selected").length?l.find("li.selected").next("li:not(.disabled)")[0]:l.find("li:not(.disabled)")[0],m(l,a)),27==t.which&&g.trigger("close"),38==t.which&&(a=l.find("li.selected").prev("li:not(.disabled)")[0],a&&m(l,a)),setTimeout(function(){y=[]},1e3)}};g.on("keydown",b)}})}}(l),function(e){var t={init:function(t){var n={indicators:!0,height:400,transition:500,interval:6e3};return t=e.extend(n,t),this.each(function(){function n(e,t){e.hasClass("center-align")?e.velocity({opacity:0,translateY:-100},{duration:t,queue:!1}):e.hasClass("right-align")?e.velocity({opacity:0,translateX:100},{duration:t,queue:!1}):e.hasClass("left-align")&&e.velocity({opacity:0,translateX:-100},{duration:t,queue:!1})}function i(e){e>=c.length?e=0:e<0&&(e=c.length-1),u=l.find(".active").index(),u!=e&&(o=c.eq(u),$caption=o.find(".caption"),o.removeClass("active"),o.velocity({opacity:0},{duration:t.transition,queue:!1,easing:"easeOutQuad",complete:function(){c.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),n($caption,t.transition),t.indicators&&r.eq(u).removeClass("active"),c.eq(e).velocity({opacity:1},{duration:t.transition,queue:!1,easing:"easeOutQuad"}),c.eq(e).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:t.transition,delay:t.transition,queue:!1,easing:"easeOutQuad"}),c.eq(e).addClass("active"),t.indicators&&r.eq(e).addClass("active"))}var o,r,a,s=e(this),l=s.find("ul.slides").first(),c=l.find("> li"),u=l.find(".active").index();u!=-1&&(o=c.eq(u)),s.hasClass("fullscreen")||(t.indicators?s.height(t.height+40):s.height(t.height),l.height(t.height)),c.find(".caption").each(function(){n(e(this),0)}),c.find("img").each(function(){var t="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";e(this).attr("src")!==t&&(e(this).css("background-image",'url("'+e(this).attr("src")+'")'),e(this).attr("src",t))}),t.indicators&&(r=e('<ul class="indicators"></ul>'),c.each(function(n){var o=e('<li class="indicator-item"></li>');o.click(function(){var n=l.parent(),o=n.find(e(this)).index();i(o),clearInterval(a),a=setInterval(function(){u=l.find(".active").index(),c.length==u+1?u=0:u+=1,i(u)},t.transition+t.interval)}),r.append(o)}),s.append(r),r=s.find("ul.indicators").find("li.indicator-item")),o?o.show():(c.first().addClass("active").velocity({opacity:1},{duration:t.transition,queue:!1,easing:"easeOutQuad"}),u=0,o=c.eq(u),t.indicators&&r.eq(u).addClass("active")),o.find("img").each(function(){o.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:t.transition,queue:!1,easing:"easeOutQuad"})}),a=setInterval(function(){u=l.find(".active").index(),i(u+1)},t.transition+t.interval);var d=!1,p=!1,f=!1;s.hammer({prevent_default:!1}).on("pan",function(e){if("touch"===e.gesture.pointerType){clearInterval(a);var t=e.gesture.direction,n=e.gesture.deltaX,i=e.gesture.velocityX,o=e.gesture.velocityY;$curr_slide=l.find(".active"),Math.abs(i)>Math.abs(o)&&$curr_slide.velocity({translateX:n},{duration:50,queue:!1,easing:"easeOutQuad"}),4===t&&(n>s.innerWidth()/2||i<-.65)?f=!0:2===t&&(n<-1*s.innerWidth()/2||i>.65)&&(p=!0);var r;p&&(r=$curr_slide.next(),0===r.length&&(r=c.first()),r.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"})),f&&(r=$curr_slide.prev(),0===r.length&&(r=c.last()),r.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}}).on("panend",function(e){"touch"===e.gesture.pointerType&&($curr_slide=l.find(".active"),d=!1,curr_index=l.find(".active").index(),!f&&!p||c.length<=1?$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}):p?(i(curr_index+1),$curr_slide.velocity({translateX:-1*s.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):f&&(i(curr_index-1),$curr_slide.velocity({translateX:s.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})),p=!1,f=!1,clearInterval(a),a=setInterval(function(){u=l.find(".active").index(),c.length==u+1?u=0:u+=1,i(u)},t.transition+t.interval))}),s.on("sliderPause",function(){clearInterval(a)}),s.on("sliderStart",function(){clearInterval(a),a=setInterval(function(){u=l.find(".active").index(),c.length==u+1?u=0:u+=1,i(u)},t.transition+t.interval)}),s.on("sliderNext",function(){u=l.find(".active").index(),i(u+1)}),s.on("sliderPrev",function(){u=l.find(".active").index(),i(u-1)})})},pause:function(){e(this).trigger("sliderPause")},start:function(){e(this).trigger("sliderStart")},next:function(){e(this).trigger("sliderNext")},prev:function(){e(this).trigger("sliderPrev")}};e.fn.slider=function(n){return t[n]?t[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void e.error("Method "+n+" does not exist on jQuery.tooltip"):t.init.apply(this,arguments)}}(l),function(e){e(document).ready(function(){e(document).on("click.card",".card",function(t){if(e(this).find("> .card-reveal").length){var n=e(t.target).closest(".card");void 0===n.data("initialOverflow")&&n.data("initialOverflow",void 0===n.css("overflow")?"":n.css("overflow")),e(t.target).is(e(".card-reveal .card-title"))||e(t.target).is(e(".card-reveal .card-title i"))?e(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){e(this).css({display:"none"}),n.css("overflow",n.data("initialOverflow"))}}):(e(t.target).is(e(".card .activator"))||e(t.target).is(e(".card .activator i")))&&(n.css("overflow","hidden"),e(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"}))}})})}(l),function(e){var t={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{}};e(document).ready(function(){e(document).on("click",".chip .close",function(t){var n=e(this).closest(".chips");n.attr("data-initialized")||e(this).closest(".chip").remove()})}),e.fn.material_chip=function(n){var i=this;if(this.$el=e(this),this.$document=e(document),this.SELS={CHIPS:".chips",CHIP:".chip",INPUT:"input",DELETE:".material-icons",SELECTED_CHIP:".selected"},"data"===n)return this.$el.data("chips");var o=e.extend({},t,n);i.hasAutocomplete=!e.isEmptyObject(o.autocompleteOptions.data),this.init=function(){var t=0;i.$el.each(function(){var n=e(this),r=Materialize.guid();i.chipId=r,o.data&&o.data instanceof Array||(o.data=[]),n.data("chips",o.data),n.attr("data-index",t),n.attr("data-initialized",!0),n.hasClass(i.SELS.CHIPS)||n.addClass("chips"),i.chips(n,r),t++})},this.handleEvents=function(){var t=i.SELS;i.$document.off("click.chips-focus",t.CHIPS).on("click.chips-focus",t.CHIPS,function(n){e(n.target).find(t.INPUT).focus()}),i.$document.off("click.chips-select",t.CHIP).on("click.chips-select",t.CHIP,function(n){var o=e(n.target);if(o.length){var r=o.hasClass("selected"),a=o.closest(t.CHIPS);e(t.CHIP).removeClass("selected"),r||i.selectChip(o.index(),a)}}),i.$document.off("keydown.chips").on("keydown.chips",function(n){if(!e(n.target).is("input, textarea")){var o,r=i.$document.find(t.CHIP+t.SELECTED_CHIP),a=r.closest(t.CHIPS),s=r.siblings(t.CHIP).length;if(r.length)if(8===n.which||46===n.which){n.preventDefault(),o=r.index(),i.deleteChip(o,a);var l=null;o+1<s?l=o:o!==s&&o+1!==s||(l=s-1),l<0&&(l=null),null!==l&&i.selectChip(l,a),s||a.find("input").focus()}else if(37===n.which){if(o=r.index()-1,o<0)return;e(t.CHIP).removeClass("selected"),i.selectChip(o,a)}else if(39===n.which){if(o=r.index()+1,e(t.CHIP).removeClass("selected"),o>s)return void a.find("input").focus();i.selectChip(o,a)}}}),i.$document.off("focusin.chips",t.CHIPS+" "+t.INPUT).on("focusin.chips",t.CHIPS+" "+t.INPUT,function(n){var i=e(n.target).closest(t.CHIPS);i.addClass("focus"),i.siblings("label, .prefix").addClass("active"),e(t.CHIP).removeClass("selected")}),i.$document.off("focusout.chips",t.CHIPS+" "+t.INPUT).on("focusout.chips",t.CHIPS+" "+t.INPUT,function(n){var i=e(n.target).closest(t.CHIPS);i.removeClass("focus"),void 0!==i.data("chips")&&i.data("chips").length||i.siblings("label").removeClass("active"),i.siblings(".prefix").removeClass("active")}),i.$document.off("keydown.chips-add",t.CHIPS+" "+t.INPUT).on("keydown.chips-add",t.CHIPS+" "+t.INPUT,function(n){var o=e(n.target),r=o.closest(t.CHIPS),a=r.children(t.CHIP).length;if(13===n.which){if(i.hasAutocomplete&&r.find(".autocomplete-content.dropdown-content").length&&r.find(".autocomplete-content.dropdown-content").children().length)return;return n.preventDefault(),i.addChip({tag:o.val()},r),void o.val("")}if((8===n.keyCode||37===n.keyCode)&&""===o.val()&&a)return n.preventDefault(),i.selectChip(a-1,r),void o.blur()}),i.$document.off("click.chips-delete",t.CHIPS+" "+t.DELETE).on("click.chips-delete",t.CHIPS+" "+t.DELETE,function(n){var o=e(n.target),r=o.closest(t.CHIPS),a=o.closest(t.CHIP);n.stopPropagation(),i.deleteChip(a.index(),r),r.find("input").focus()})},this.chips=function(t,n){t.empty(),t.data("chips").forEach(function(e){t.append(i.renderChip(e))}),t.append(e('<input id="'+n+'" class="input" placeholder="">')),i.setPlaceholder(t);var r=t.next("label");r.length&&(r.attr("for",n),void 0!==t.data("chips")&&t.data("chips").length&&r.addClass("active"));var a=e("#"+n);i.hasAutocomplete&&(o.autocompleteOptions.onAutocomplete=function(e){i.addChip({tag:e},t),a.val(""),a.focus()},a.autocomplete(o.autocompleteOptions))},this.renderChip=function(t){if(t.tag){var n=e('<div class="chip"></div>');return n.text(t.tag),t.image&&n.prepend(e("<img />").attr("src",t.image)),n.append(e('<i class="material-icons close">close</i>')),n}},this.setPlaceholder=function(e){void 0!==e.data("chips")&&!e.data("chips").length&&o.placeholder?e.find("input").prop("placeholder",o.placeholder):(void 0===e.data("chips")||e.data("chips").length)&&o.secondaryPlaceholder&&e.find("input").prop("placeholder",o.secondaryPlaceholder)},this.isValid=function(e,t){for(var n=e.data("chips"),i=!1,o=0;o<n.length;o++)if(n[o].tag===t.tag)return void(i=!0);return""!==t.tag&&!i},this.addChip=function(e,t){if(i.isValid(t,e)){for(var n=i.renderChip(e),o=[],r=t.data("chips"),a=0;a<r.length;a++)o.push(r[a]);o.push(e),t.data("chips",o),n.insertBefore(t.find("input")),t.trigger("chip.add",e),i.setPlaceholder(t)}},this.deleteChip=function(e,t){var n=t.data("chips")[e];t.find(".chip").eq(e).remove();for(var o=[],r=t.data("chips"),a=0;a<r.length;a++)a!==e&&o.push(r[a]);t.data("chips",o),t.trigger("chip.delete",n),i.setPlaceholder(t)},this.selectChip=function(e,t){var n=t.find(".chip").eq(e);n&&!1===n.hasClass("selected")&&(n.addClass("selected"),t.trigger("chip.select",t.data("chips")[e]))},this.getChipsElement=function(e,t){return t.eq(e)},this.init(),this.handleEvents()}}(l),function(e){e.fn.pushpin=function(t){var n={top:0,bottom:1/0,offset:0};return"remove"===t?(this.each(function(){(id=e(this).data("pushpin-id"))&&(e(window).off("scroll."+id),e(this).removeData("pushpin-id").removeClass("pin-top pinned pin-bottom").removeAttr("style"))}),!1):(t=e.extend(n,t),$index=0,this.each(function(){
  function n(e){e.removeClass("pin-top"),e.removeClass("pinned"),e.removeClass("pin-bottom")}function i(i,o){i.each(function(){t.top<=o&&t.bottom>=o&&!e(this).hasClass("pinned")&&(n(e(this)),e(this).css("top",t.offset),e(this).addClass("pinned")),o<t.top&&!e(this).hasClass("pin-top")&&(n(e(this)),e(this).css("top",0),e(this).addClass("pin-top")),o>t.bottom&&!e(this).hasClass("pin-bottom")&&(n(e(this)),e(this).addClass("pin-bottom"),e(this).css("top",t.bottom-a))})}var o=Materialize.guid(),r=e(this),a=e(this).offset().top;e(this).data("pushpin-id",o),i(r,e(window).scrollTop()),e(window).on("scroll."+o,function(){var n=e(window).scrollTop()+t.offset;i(r,n)})}))}}(l),function(e){e(document).ready(function(){e.fn.reverse=[].reverse,e(document).on("mouseenter.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(n){var i=e(this);t(i)}),e(document).on("mouseleave.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(t){var i=e(this);n(i)}),e(document).on("click.fabClickToggle",".fixed-action-btn.click-to-toggle > a",function(i){var o=e(this),r=o.parent();r.hasClass("active")?n(r):t(r)}),e(document).on("click.fabToolbar",".fixed-action-btn.toolbar > a",function(t){var n=e(this),o=n.parent();i(o)})}),e.fn.extend({openFAB:function(){t(e(this))},closeFAB:function(){n(e(this))},openToolbar:function(){i(e(this))},closeToolbar:function(){o(e(this))}});var t=function(t){var n=t;if(n.hasClass("active")===!1){var i,o,r=n.hasClass("horizontal");r===!0?o=40:i=40,n.addClass("active"),n.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:i+"px",translateX:o+"px"},{duration:0});var a=0;n.find("ul .btn-floating").reverse().each(function(){e(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0",translateX:"0"},{duration:80,delay:a}),a+=40})}},n=function(e){var t,n,i=e,o=i.hasClass("horizontal");o===!0?n=40:t=40,i.removeClass("active");i.find("ul .btn-floating").velocity("stop",!0),i.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:t+"px",translateX:n+"px"},{duration:80})},i=function(t){if("true"!==t.attr("data-open")){var n,i,r,a=window.innerWidth,s=window.innerHeight,l=t[0].getBoundingClientRect(),c=t.find("> a").first(),u=t.find("> ul").first(),d=e('<div class="fab-backdrop"></div>'),p=c.css("background-color");c.append(d),n=l.left-a/2+l.width/2,i=s-l.bottom,r=a/d.width(),t.attr("data-origin-bottom",l.bottom),t.attr("data-origin-left",l.left),t.attr("data-origin-width",l.width),t.addClass("active"),t.attr("data-open",!0),t.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+n+"px)",transition:"none"}),c.css({transform:"translateY("+-i+"px)",transition:"none"}),d.css({"background-color":p}),setTimeout(function(){t.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),c.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout(function(){t.css({overflow:"hidden","background-color":p}),d.css({transform:"scale("+r+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),u.find("> li > a").css({opacity:1}),e(window).on("scroll.fabToolbarClose",function(){o(t),e(window).off("scroll.fabToolbarClose"),e(document).off("click.fabToolbarClose")}),e(document).on("click.fabToolbarClose",function(n){e(n.target).closest(u).length||(o(t),e(window).off("scroll.fabToolbarClose"),e(document).off("click.fabToolbarClose"))})},100)},0)}},o=function(e){if("true"===e.attr("data-open")){var t,n,i,o=window.innerWidth,r=window.innerHeight,a=e.attr("data-origin-width"),s=e.attr("data-origin-bottom"),l=e.attr("data-origin-left"),c=e.find("> .btn-floating").first(),u=e.find("> ul").first(),d=e.find(".fab-backdrop"),p=c.css("background-color");t=l-o/2+a/2,n=r-s,i=o/d.width(),e.removeClass("active"),e.attr("data-open",!1),e.css({"background-color":"transparent",transition:"none"}),c.css({transition:"none"}),d.css({transform:"scale(0)","background-color":p}),u.find("> li > a").css({opacity:""}),setTimeout(function(){d.remove(),e.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-t+"px,0,0)"}),c.css({overflow:"",transform:"translate3d(0,"+n+"px,0)"}),setTimeout(function(){e.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),c.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})},20)},200)}}}(l),function(e){Materialize.fadeInImage=function(t){var n;if("string"==typeof t)n=e(t);else{if("object"!=typeof t)return;n=t}n.css({opacity:0}),e(n).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),e(n).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(t,n){n.start=100;var i=t/100,o=150-(100-t)/1.75;o<100&&(o=100),t>=0&&e(this).css({"-webkit-filter":"grayscale("+i+")brightness("+o+"%)",filter:"grayscale("+i+")brightness("+o+"%)"})}})},Materialize.showStaggeredList=function(t){var n;if("string"==typeof t)n=e(t);else{if("object"!=typeof t)return;n=t}var i=0;n.find("li").velocity({translateX:"-100px"},{duration:0}),n.find("li").each(function(){e(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:i,easing:[60,10]}),i+=120})},e(document).ready(function(){var t=!1,n=!1;e(".dismissable").each(function(){e(this).hammer({prevent_default:!1}).on("pan",function(i){if("touch"===i.gesture.pointerType){var o=e(this),r=i.gesture.direction,a=i.gesture.deltaX,s=i.gesture.velocityX;o.velocity({translateX:a},{duration:50,queue:!1,easing:"easeOutQuad"}),4===r&&(a>o.innerWidth()/2||s<-.75)&&(t=!0),2===r&&(a<-1*o.innerWidth()/2||s>.75)&&(n=!0)}}).on("panend",function(i){if(Math.abs(i.gesture.deltaX)<e(this).innerWidth()/2&&(n=!1,t=!1),"touch"===i.gesture.pointerType){var o=e(this);if(t||n){var r;r=t?o.innerWidth():-1*o.innerWidth(),o.velocity({translateX:r},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){o.css("border","none"),o.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){o.remove()}})}})}else o.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"});t=!1,n=!1}})})})}(l),function(e){var t=!1;Materialize.scrollFire=function(e){var n=function(){for(var t=window.pageYOffset+window.innerHeight,n=0;n<e.length;n++){var i=e[n],o=i.selector,r=i.offset,a=i.callback,s=document.querySelector(o);if(null!==s){var l=s.getBoundingClientRect().top+window.pageYOffset;if(t>l+r&&i.done!==!0){if("function"==typeof a)a.call(this,s);else if("string"==typeof a){var c=new Function(a);c(s)}i.done=!0}}}},i=Materialize.throttle(function(){n()},e.throttle||100);t||(window.addEventListener("scroll",i),window.addEventListener("resize",i),t=!0),setTimeout(i,0)}}(l),function(e){Materialize.Picker=e(l)}(function(e){function t(r,a,l,d){function p(){return t._.node("div",t._.node("div",t._.node("div",t._.node("div",C.component.nodes(b.open),x.box),x.wrap),x.frame),x.holder)}function f(){T.data(a,C).addClass(x.input).attr("tabindex",-1).val(T.data("value")?C.get("select",w.format):r.value),w.editable||T.on("focus."+b.id+" click."+b.id,function(e){e.preventDefault(),C.$root.eq(0).focus()}).on("keydown."+b.id,g),o(r,{haspopup:!0,expanded:!1,readonly:!1,owns:r.id+"_root"})}function h(){C.$root.on({keydown:g,focusin:function(e){C.$root.removeClass(x.focused),e.stopPropagation()},"mousedown click":function(t){var n=t.target;n!=C.$root.children()[0]&&(t.stopPropagation(),"mousedown"!=t.type||e(n).is("input, select, textarea, button, option")||(t.preventDefault(),C.$root.eq(0).focus()))}}).on({focus:function(){T.addClass(x.target)},blur:function(){T.removeClass(x.target)}}).on("focus.toOpen",m).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var t=e(this),n=t.data(),i=t.hasClass(x.navDisabled)||t.hasClass(x.disabled),o=s();o=o&&(o.type||o.href),(i||o&&!e.contains(C.$root[0],o))&&C.$root.eq(0).focus(),!i&&n.nav?C.set("highlight",C.component.item.highlight,{nav:n.nav}):!i&&"pick"in n?(C.set("select",n.pick),w.closeOnSelect&&C.close(!0)):n.clear?(C.clear(),w.closeOnSelect&&C.close(!0)):n.close&&C.close(!0)}),o(C.$root[0],"hidden",!0)}function v(){var t;w.hiddenName===!0?(t=r.name,r.name=""):(t=["string"==typeof w.hiddenPrefix?w.hiddenPrefix:"","string"==typeof w.hiddenSuffix?w.hiddenSuffix:"_submit"],t=t[0]+r.name+t[1]),C._hidden=e('<input type=hidden name="'+t+'"'+(T.data("value")||r.value?' value="'+C.get("select",w.formatSubmit)+'"':"")+">")[0],T.on("change."+b.id,function(){C._hidden.value=r.value?C.get("select",w.formatSubmit):""}),w.container?e(w.container).append(C._hidden):T.before(C._hidden)}function g(e){var t=e.keyCode,n=/^(8|46)$/.test(t);return 27==t?(C.close(),!1):void((32==t||n||!b.open&&C.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?C.clear().close():C.open()))}function m(e){e.stopPropagation(),"focus"==e.type&&C.$root.addClass(x.focused),C.open()}if(!r)return t;var y=!1,b={id:r.id||"P"+Math.abs(~~(Math.random()*new Date))},w=l?e.extend(!0,{},l.defaults,d):d||{},x=e.extend({},t.klasses(),w.klass),T=e(r),k=function(){return this.start()},C=k.prototype={constructor:k,$node:T,start:function(){return b&&b.start?C:(b.methods={},b.start=!0,b.open=!1,b.type=r.type,r.autofocus=r==s(),r.readOnly=!w.editable,r.id=r.id||b.id,"text"!=r.type&&(r.type="text"),C.component=new l(C,w),C.$root=e(t._.node("div",p(),x.picker,'id="'+r.id+'_root" tabindex="0"')),h(),w.formatSubmit&&v(),f(),w.container?e(w.container).append(C.$root):T.before(C.$root),C.on({start:C.component.onStart,render:C.component.onRender,stop:C.component.onStop,open:C.component.onOpen,close:C.component.onClose,set:C.component.onSet}).on({start:w.onStart,render:w.onRender,stop:w.onStop,open:w.onOpen,close:w.onClose,set:w.onSet}),y=n(C.$root.children()[0]),r.autofocus&&C.open(),C.trigger("start").trigger("render"))},render:function(e){return e?C.$root.html(p()):C.$root.find("."+x.box).html(C.component.nodes(b.open)),C.trigger("render")},stop:function(){return b.start?(C.close(),C._hidden&&C._hidden.parentNode.removeChild(C._hidden),C.$root.remove(),T.removeClass(x.input).removeData(a),setTimeout(function(){T.off("."+b.id)},0),r.type=b.type,r.readOnly=!1,C.trigger("stop"),b.methods={},b.start=!1,C):C},open:function(n){return b.open?C:(T.addClass(x.active),o(r,"expanded",!0),setTimeout(function(){C.$root.addClass(x.opened),o(C.$root[0],"hidden",!1)},0),n!==!1&&(b.open=!0,y&&u.css("overflow","hidden").css("padding-right","+="+i()),C.$root.eq(0).focus(),c.on("click."+b.id+" focusin."+b.id,function(e){var t=e.target;t!=r&&t!=document&&3!=e.which&&C.close(t===C.$root.children()[0])}).on("keydown."+b.id,function(n){var i=n.keyCode,o=C.component.key[i],r=n.target;27==i?C.close(!0):r!=C.$root[0]||!o&&13!=i?e.contains(C.$root[0],r)&&13==i&&(n.preventDefault(),r.click()):(n.preventDefault(),o?t._.trigger(C.component.key.go,C,[t._.trigger(o)]):C.$root.find("."+x.highlighted).hasClass(x.disabled)||(C.set("select",C.component.item.highlight),w.closeOnSelect&&C.close(!0)))})),C.trigger("open"))},close:function(e){return e&&(C.$root.off("focus.toOpen").eq(0).focus(),setTimeout(function(){C.$root.on("focus.toOpen",m)},0)),T.removeClass(x.active),o(r,"expanded",!1),setTimeout(function(){C.$root.removeClass(x.opened+" "+x.focused),o(C.$root[0],"hidden",!0)},0),b.open?(b.open=!1,y&&u.css("overflow","").css("padding-right","-="+i()),c.off("."+b.id),C.trigger("close")):C},clear:function(e){return C.set("clear",null,e)},set:function(t,n,i){var o,r,a=e.isPlainObject(t),s=a?t:{};if(i=a&&e.isPlainObject(n)?n:i||{},t){a||(s[t]=n);for(o in s)r=s[o],o in C.component.item&&(void 0===r&&(r=null),C.component.set(o,r,i)),"select"!=o&&"clear"!=o||T.val("clear"==o?"":C.get(o,w.format)).trigger("change");C.render()}return i.muted?C:C.trigger("set",s)},get:function(e,n){if(e=e||"value",null!=b[e])return b[e];if("valueSubmit"==e){if(C._hidden)return C._hidden.value;e="value"}if("value"==e)return r.value;if(e in C.component.item){if("string"==typeof n){var i=C.component.get(e);return i?t._.trigger(C.component.formats.toString,C.component,[n,i]):""}return C.component.get(e)}},on:function(t,n,i){var o,r,a=e.isPlainObject(t),s=a?t:{};if(t){a||(s[t]=n);for(o in s)r=s[o],i&&(o="_"+o),b.methods[o]=b.methods[o]||[],b.methods[o].push(r)}return C},off:function(){var e,t,n=arguments;for(e=0,namesCount=n.length;e<namesCount;e+=1)t=n[e],t in b.methods&&delete b.methods[t];return C},trigger:function(e,n){var i=function(e){var i=b.methods[e];i&&i.map(function(e){t._.trigger(e,C,[n])})};return i("_"+e),i(e),C}};return new k}function n(e){var t,n="position";return e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]),"fixed"==t}function i(){if(u.height()<=l.height())return 0;var t=e('<div style="visibility:hidden;width:100px" />').appendTo("body"),n=t[0].offsetWidth;t.css("overflow","scroll");var i=e('<div style="width:100%" />').appendTo(t),o=i[0].offsetWidth;return t.remove(),n-o}function o(t,n,i){if(e.isPlainObject(n))for(var o in n)r(t,o,n[o]);else r(t,n,i)}function r(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function a(t,n){e.isPlainObject(t)||(t={attribute:n}),n="";for(var i in t){var o=("role"==i?"":"aria-")+i,r=t[i];n+=null==r?"":o+'="'+t[i]+'"'}return n}function s(){try{return document.activeElement}catch(e){}}var l=e(window),c=e(document),u=e(document.documentElement);return t.klasses=function(e){return e=e||"picker",{picker:e,opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",target:e+"__input--target",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},t._={group:function(e){for(var n,i="",o=t._.trigger(e.min,e);o<=t._.trigger(e.max,e,[o]);o+=e.i)n=t._.trigger(e.item,e,[o]),i+=t._.node(e.node,n[0],n[1],n[2]);return i},node:function(t,n,i,o){return n?(n=e.isArray(n)?n.join(""):n,i=i?' class="'+i+'"':"",o=o?" "+o:"","<"+t+i+o+">"+n+"</"+t+">"):""},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return{}.toString.call(e).indexOf("Date")>-1&&this.isInteger(e.getDate())},isInteger:function(e){return{}.toString.call(e).indexOf("Number")>-1&&e%1===0},ariaAttr:a},t.extend=function(n,i){e.fn[n]=function(o,r){var a=this.data(n);return"picker"==o?a:a&&"string"==typeof o?t._.trigger(a[o],a,[r]):this.each(function(){var r=e(this);r.data(n)||new t(this,n,i,o)})},e.fn[n].defaults=i.defaults},t}),function(e){e(Materialize.Picker,l)}(function(e,t){function n(e,t){var n=this,i=e.$node[0],o=i.value,r=e.$node.data("value"),a=r||o,s=r?t.formatSubmit:t.format,l=function(){return i.currentStyle?"rtl"==i.currentStyle.direction:"rtl"==getComputedStyle(e.$root[0]).direction};n.settings=t,n.$node=e.$node,n.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},n.item={},n.item.clear=null,n.item.disable=(t.disable||[]).slice(0),n.item.enable=-function(e){return e[0]===!0?e.shift():-1}(n.item.disable),n.set("min",t.min).set("max",t.max).set("now"),a?n.set("select",a,{format:s}):n.set("select",null).set("highlight",n.item.now),n.key={40:7,38:-7,39:function(){return l()?-1:1},37:function(){return l()?1:-1},go:function(e){var t=n.item.highlight,i=new Date(t.year,t.month,t.date+e);n.set("highlight",i,{interval:e}),this.render()}},e.on("render",function(){e.$root.find("."+t.klass.selectMonth).on("change",function(){var n=this.value;n&&(e.set("highlight",[e.get("view").year,n,e.get("highlight").date]),e.$root.find("."+t.klass.selectMonth).trigger("focus"))}),e.$root.find("."+t.klass.selectYear).on("change",function(){var n=this.value;n&&(e.set("highlight",[n,e.get("view").month,e.get("highlight").date]),e.$root.find("."+t.klass.selectYear).trigger("focus"))})},1).on("open",function(){var i="";n.disabled(n.get("now"))&&(i=":not(."+t.klass.buttonToday+")"),e.$root.find("button"+i+", select").attr("disabled",!1)},1).on("close",function(){e.$root.find("button, select").attr("disabled",!0)},1)}var i=7,o=6,r=e._;n.prototype.set=function(e,t,n){var i=this,o=i.item;return null===t?("clear"==e&&(e="select"),o[e]=t,i):(o["enable"==e?"disable":"flip"==e?"enable":e]=i.queue[e].split(" ").map(function(o){return t=i[o](e,t,n)}).pop(),"select"==e?i.set("highlight",o.select,n):"highlight"==e?i.set("view",o.highlight,n):e.match(/^(flip|min|max|disable|enable)$/)&&(o.select&&i.disabled(o.select)&&i.set("select",o.select,n),o.highlight&&i.disabled(o.highlight)&&i.set("highlight",o.highlight,n)),i)},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,n,i){var o,a=this;return n=void 0===n?e:n,n==-(1/0)||n==1/0?o=n:t.isPlainObject(n)&&r.isInteger(n.pick)?n=n.obj:t.isArray(n)?(n=new Date(n[0],n[1],n[2]),n=r.isDate(n)?n:a.create().obj):n=r.isInteger(n)||r.isDate(n)?a.normalize(new Date(n),i):a.now(e,n,i),{year:o||n.getFullYear(),month:o||n.getMonth(),date:o||n.getDate(),day:o||n.getDay(),obj:o||n,pick:o||n.getTime()}},n.prototype.createRange=function(e,n){var i=this,o=function(e){return e===!0||t.isArray(e)||r.isDate(e)?i.create(e):e};return r.isInteger(e)||(e=o(e)),r.isInteger(n)||(n=o(n)),r.isInteger(e)&&t.isPlainObject(n)?e=[n.year,n.month,n.date+e]:r.isInteger(n)&&t.isPlainObject(e)&&(n=[e.year,e.month,e.date+n]),{from:o(e),to:o(n)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},n.prototype.navigate=function(e,n,i){var o,r,a,s,l=t.isArray(n),c=t.isPlainObject(n),u=this.item.view;if(l||c){for(c?(r=n.year,a=n.month,s=n.date):(r=+n[0],a=+n[1],s=+n[2]),i&&i.nav&&u&&u.month!==a&&(r=u.year,a=u.month),o=new Date(r,a+(i&&i.nav?i.nav:0),1),r=o.getFullYear(),a=o.getMonth();new Date(r,a,s).getMonth()!==a;)s-=1;n=[r,a,s]}return n},n.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},n.prototype.measure=function(e,t){var n=this;return t?"string"==typeof t?t=n.parse(e,t):r.isInteger(t)&&(t=n.now(e,t,{rel:t})):t="min"==e?-(1/0):1/0,t},n.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},n.prototype.validate=function(e,n,i){var o,a,s,l,c=this,u=n,d=i&&i.interval?i.interval:1,p=c.item.enable===-1,f=c.item.min,h=c.item.max,v=p&&c.item.disable.filter(function(e){if(t.isArray(e)){var i=c.create(e).pick;i<n.pick?o=!0:i>n.pick&&(a=!0)}return r.isInteger(e)}).length;if((!i||!i.nav)&&(!p&&c.disabled(n)||p&&c.disabled(n)&&(v||o||a)||!p&&(n.pick<=f.pick||n.pick>=h.pick)))for(p&&!v&&(!a&&d>0||!o&&d<0)&&(d*=-1);c.disabled(n)&&(Math.abs(d)>1&&(n.month<u.month||n.month>u.month)&&(n=u,d=d>0?1:-1),n.pick<=f.pick?(s=!0,d=1,n=c.create([f.year,f.month,f.date+(n.pick===f.pick?0:-1)])):n.pick>=h.pick&&(l=!0,d=-1,n=c.create([h.year,h.month,h.date+(n.pick===h.pick?0:1)])),!s||!l);)n=c.create([n.year,n.month,n.date+d]);return n},n.prototype.disabled=function(e){var n=this,i=n.item.disable.filter(function(i){return r.isInteger(i)?e.day===(n.settings.firstDay?i:i-1)%7:t.isArray(i)||r.isDate(i)?e.pick===n.create(i).pick:t.isPlainObject(i)?n.withinRange(i,e):void 0});return i=i.length&&!i.filter(function(e){return t.isArray(e)&&"inverted"==e[3]||t.isPlainObject(e)&&e.inverted}).length,n.item.enable===-1?!i:i||e.pick<n.item.min.pick||e.pick>n.item.max.pick},n.prototype.parse=function(e,t,n){var i=this,o={};return t&&"string"==typeof t?(n&&n.format||(n=n||{},n.format=i.settings.format),i.formats.toArray(n.format).map(function(e){var n=i.formats[e],a=n?r.trigger(n,i,[t,o]):e.replace(/^!/,"").length;n&&(o[e]=t.substr(0,a)),t=t.substr(a)}),[o.yyyy||o.yy,+(o.mm||o.m)-1,o.dd||o.d]):t},n.prototype.formats=function(){function e(e,t,n){var i=e.match(/\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(i)+1),i.length}function t(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?r.digits(e):t.date},dd:function(e,t){return e?2:r.lead(t.date)},ddd:function(e,n){return e?t(e):this.settings.weekdaysShort[n.day]},dddd:function(e,n){return e?t(e):this.settings.weekdaysFull[n.day]},m:function(e,t){return e?r.digits(e):t.month+1},mm:function(e,t){return e?2:r.lead(t.month+1)},mmm:function(t,n){var i=this.settings.monthsShort;return t?e(t,i,n):i[n.month]},mmmm:function(t,n){var i=this.settings.monthsFull;return t?e(t,i,n):i[n.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return r.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),n.prototype.isDateExact=function(e,n){var i=this;return r.isInteger(e)&&r.isInteger(n)||"boolean"==typeof e&&"boolean"==typeof n?e===n:(r.isDate(e)||t.isArray(e))&&(r.isDate(n)||t.isArray(n))?i.create(e).pick===i.create(n).pick:!(!t.isPlainObject(e)||!t.isPlainObject(n))&&(i.isDateExact(e.from,n.from)&&i.isDateExact(e.to,n.to))},n.prototype.isDateOverlap=function(e,n){var i=this,o=i.settings.firstDay?1:0;return r.isInteger(e)&&(r.isDate(n)||t.isArray(n))?(e=e%7+o,e===i.create(n).day+1):r.isInteger(n)&&(r.isDate(e)||t.isArray(e))?(n=n%7+o,n===i.create(e).day+1):!(!t.isPlainObject(e)||!t.isPlainObject(n))&&i.overlapRanges(e,n)},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(t.enable==-1?1:-1)},n.prototype.deactivate=function(e,n){var i=this,o=i.item.disable.slice(0);return"flip"==n?i.flipEnable():n===!1?(i.flipEnable(1),o=[]):n===!0?(i.flipEnable(-1),o=[]):n.map(function(e){for(var n,a=0;a<o.length;a+=1)if(i.isDateExact(e,o[a])){n=!0;break}n||(r.isInteger(e)||r.isDate(e)||t.isArray(e)||t.isPlainObject(e)&&e.from&&e.to)&&o.push(e)}),o},n.prototype.activate=function(e,n){var i=this,o=i.item.disable,a=o.length;return"flip"==n?i.flipEnable():n===!0?(i.flipEnable(1),o=[]):n===!1?(i.flipEnable(-1),o=[]):n.map(function(e){var n,s,l,c;for(l=0;l<a;l+=1){if(s=o[l],i.isDateExact(s,e)){n=o[l]=null,c=!0;break}if(i.isDateOverlap(s,e)){t.isPlainObject(e)?(e.inverted=!0,n=e):t.isArray(e)?(n=e,n[3]||n.push("inverted")):r.isDate(e)&&(n=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(n)for(l=0;l<a;l+=1)if(i.isDateExact(o[l],e)){o[l]=null;break}if(c)for(l=0;l<a;l+=1)if(i.isDateOverlap(o[l],e)){o[l]=null;break}n&&o.push(n)}),o.filter(function(e){return null!=e})},n.prototype.nodes=function(e){var t=this,n=t.settings,a=t.item,s=a.now,l=a.select,c=a.highlight,u=a.view,d=a.disable,p=a.min,f=a.max,h=function(e,t){return n.firstDay&&(e.push(e.shift()),t.push(t.shift())),r.node("thead",r.node("tr",r.group({min:0,max:i-1,i:1,node:"th",item:function(i){return[e[i],n.klass.weekdays,'scope=col title="'+t[i]+'"']}})))}((n.showWeekdaysFull?n.weekdaysFull:n.weekdaysLetter).slice(0),n.weekdaysFull.slice(0)),v=function(e){return r.node("div"," ",n.klass["nav"+(e?"Next":"Prev")]+(e&&u.year>=f.year&&u.month>=f.month||!e&&u.year<=p.year&&u.month<=p.month?" "+n.klass.navDisabled:""),"data-nav="+(e||-1)+" "+r.ariaAttr({role:"button",controls:t.$node[0].id+"_table"})+' title="'+(e?n.labelMonthNext:n.labelMonthPrev)+'"')},g=function(i){var o=n.showMonthsShort?n.monthsShort:n.monthsFull;return"short_months"==i&&(o=n.monthsShort),n.selectMonths&&void 0==i?r.node("select",r.group({min:0,max:11,i:1,node:"option",item:function(e){return[o[e],0,"value="+e+(u.month==e?" selected":"")+(u.year==p.year&&e<p.month||u.year==f.year&&e>f.month?" disabled":"")]}}),n.klass.selectMonth+" browser-default",(e?"":"disabled")+" "+r.ariaAttr({controls:t.$node[0].id+"_table"})+' title="'+n.labelMonthSelect+'"'):"short_months"==i?null!=l?o[l.month]:o[u.month]:r.node("div",o[u.month],n.klass.month)},m=function(i){var o=u.year,a=n.selectYears===!0?5:~~(n.selectYears/2);if(a){var s=p.year,l=f.year,c=o-a,d=o+a;if(s>c&&(d+=s-c,c=s),l<d){var h=c-s,v=d-l;c-=h>v?v:h,d=l}if(n.selectYears&&void 0==i)return r.node("select",r.group({min:c,max:d,i:1,node:"option",item:function(e){return[e,0,"value="+e+(o==e?" selected":"")]}}),n.klass.selectYear+" browser-default",(e?"":"disabled")+" "+r.ariaAttr({controls:t.$node[0].id+"_table"})+' title="'+n.labelYearSelect+'"')}return"raw"==i?r.node("div",o):r.node("div",o,n.klass.year)};return createDayLabel=function(){return null!=l?l.date:s.date},createWeekdayLabel=function(){var e;e=null!=l?l.day:s.day;var t=n.weekdaysShort[e];return t},r.node("div",r.node("div",m("raw"),n.klass.year_display)+r.node("span",createWeekdayLabel()+", ","picker__weekday-display")+r.node("span",g("short_months")+" ",n.klass.month_display)+r.node("span",createDayLabel(),n.klass.day_display),n.klass.date_display)+r.node("div",r.node("div",r.node("div",(n.selectYears?g()+m():g()+m())+v()+v(1),n.klass.header)+r.node("table",h+r.node("tbody",r.group({min:0,max:o-1,i:1,node:"tr",item:function(e){var o=n.firstDay&&0===t.create([u.year,u.month,1]).day?-7:0;return[r.group({min:i*e-u.day+o+1,max:function(){return this.min+i-1},i:1,node:"td",item:function(e){e=t.create([u.year,u.month,e+(n.firstDay?1:0)]);var i=l&&l.pick==e.pick,o=c&&c.pick==e.pick,a=d&&t.disabled(e)||e.pick<p.pick||e.pick>f.pick,h=r.trigger(t.formats.toString,t,[n.format,e]);return[r.node("div",e.date,function(t){return t.push(u.month==e.month?n.klass.infocus:n.klass.outfocus),s.pick==e.pick&&t.push(n.klass.now),i&&t.push(n.klass.selected),o&&t.push(n.klass.highlighted),a&&t.push(n.klass.disabled),t.join(" ")}([n.klass.day]),"data-pick="+e.pick+" "+r.ariaAttr({role:"gridcell",label:h,selected:!(!i||t.$node.val()!==h)||null,activedescendant:!!o||null,disabled:!!a||null})+" "+(a?"":'tabindex="0"')),"",r.ariaAttr({role:"presentation"})]}})]}})),n.klass.table,'id="'+t.$node[0].id+'_table" '+r.ariaAttr({role:"grid",controls:t.$node[0].id,readonly:!0})),n.klass.calendar_container)+r.node("div",r.node("button",n.today,"btn-flat picker__today waves-effect","type=button data-pick="+s.pick+(e&&!t.disabled(s)?"":" disabled")+" "+r.ariaAttr({controls:t.$node[0].id}))+r.node("button",n.clear,"btn-flat picker__clear waves-effect","type=button data-clear=1"+(e?"":" disabled")+" "+r.ariaAttr({controls:t.$node[0].id}))+r.node("button",n.close,"btn-flat picker__close waves-effect","type=button data-close=true "+(e?"":" disabled")+" "+r.ariaAttr({controls:t.$node[0].id})),n.klass.footer),"picker__container__wrapper")},n.defaults=function(e){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Ok",closeOnSelect:!1,format:"d mmmm, yyyy",klass:{table:e+"table",header:e+"header",date_display:e+"date-display",day_display:e+"day-display",month_display:e+"month-display",year_display:e+"year-display",calendar_container:e+"calendar-container",navPrev:e+"nav--prev",navNext:e+"nav--next",navDisabled:e+"nav--disabled",month:e+"month",year:e+"year",selectMonth:e+"select--month",selectYear:e+"select--year",weekdays:e+"weekday",day:e+"day",disabled:e+"day--disabled",selected:e+"day--selected",highlighted:e+"day--highlighted",now:e+"day--today",infocus:e+"day--infocus",outfocus:e+"day--outfocus",footer:e+"footer",buttonClear:e+"button--clear",buttonToday:e+"button--today",buttonClose:e+"button--close"}}}(e.klasses().picker+"__"),e.extend("pickadate",n)}),function(){function e(e){return document.createElementNS(l,e)}function t(e){return(e<10?"0":"")+e}function n(e){var t=++g+"";return e?e+t:t}function i(i,a){function l(e,t){var n=d.offset(),i=/^touch/.test(e.type),o=n.left+m,r=n.top+m,l=(i?e.originalEvent.touches[0]:e).pageX-o,c=(i?e.originalEvent.touches[0]:e).pageY-r,u=Math.sqrt(l*l+c*c),p=!1;if(!t||!(u<y-w||u>y+w)){e.preventDefault();var v=setTimeout(function(){O.popover.addClass("clockpicker-moving")},200);O.setHand(l,c,!t,!0),s.off(f).on(f,function(e){e.preventDefault();var t=/^touch/.test(e.type),n=(t?e.originalEvent.touches[0]:e).pageX-o,i=(t?e.originalEvent.touches[0]:e).pageY-r;(p||n!==l||i!==c)&&(p=!0,O.setHand(n,i,!1,!0))}),s.off(h).on(h,function(e){s.off(h),e.preventDefault();var n=/^touch/.test(e.type),i=(n?e.originalEvent.changedTouches[0]:e).pageX-o,u=(n?e.originalEvent.changedTouches[0]:e).pageY-r;(t||p)&&i===l&&u===c&&O.setHand(i,u),"hours"===O.currentView?O.toggleView("minutes",T/2):a.autoclose&&(O.minutesView.addClass("clockpicker-dial-out"),setTimeout(function(){O.done()},T/2)),d.prepend(j),clearTimeout(v),O.popover.removeClass("clockpicker-moving"),s.off(f)})}}var u=r(k),d=u.find(".clockpicker-plate"),v=u.find(".picker__holder"),g=u.find(".clockpicker-hours"),C=u.find(".clockpicker-minutes"),S=u.find(".clockpicker-am-pm-block"),E="INPUT"===i.prop("tagName"),A=E?i:i.find("input"),P=r("label[for="+A.attr("id")+"]"),O=this;this.id=n("cp"),this.element=i,this.holder=v,this.options=a,this.isAppended=!1,this.isShown=!1,this.currentView="hours",this.isInput=E,this.input=A,this.label=P,this.popover=u,this.plate=d,this.hoursView=g,this.minutesView=C,this.amPmBlock=S,this.spanHours=u.find(".clockpicker-span-hours"),this.spanMinutes=u.find(".clockpicker-span-minutes"),this.spanAmPm=u.find(".clockpicker-span-am-pm"),this.footer=u.find(".picker__footer"),this.amOrPm="PM",a.twelvehour&&(a.ampmclickable?(this.spanAmPm.empty(),r('<div id="click-am">AM</div>').on("click",function(){O.spanAmPm.children("#click-am").addClass("text-primary"),O.spanAmPm.children("#click-pm").removeClass("text-primary"),O.amOrPm="AM"}).appendTo(this.spanAmPm),r('<div id="click-pm">PM</div>').on("click",function(){O.spanAmPm.children("#click-pm").addClass("text-primary"),O.spanAmPm.children("#click-am").removeClass("text-primary"),O.amOrPm="PM"}).appendTo(this.spanAmPm)):(this.spanAmPm.empty(),r('<div id="click-am">AM</div>').appendTo(this.spanAmPm),r('<div id="click-pm">PM</div>').appendTo(this.spanAmPm))),r('<button type="button" class="btn-flat picker__clear" tabindex="'+(a.twelvehour?"3":"1")+'">'+a.cleartext+"</button>").click(r.proxy(this.clear,this)).appendTo(this.footer),r('<button type="button" class="btn-flat picker__close" tabindex="'+(a.twelvehour?"3":"1")+'">'+a.canceltext+"</button>").click(r.proxy(this.hide,this)).appendTo(this.footer),r('<button type="button" class="btn-flat picker__close" tabindex="'+(a.twelvehour?"3":"1")+'">'+a.donetext+"</button>").click(r.proxy(this.done,this)).appendTo(this.footer),this.spanHours.click(r.proxy(this.toggleView,this,"hours")),this.spanMinutes.click(r.proxy(this.toggleView,this,"minutes")),A.on("focus.clockpicker click.clockpicker",r.proxy(this.show,this));var D,_,M,N,I=r('<div class="clockpicker-tick"></div>');if(a.twelvehour)for(D=1;D<13;D+=1)_=I.clone(),M=D/6*Math.PI,N=y,_.css({left:m+Math.sin(M)*N-w,top:m-Math.cos(M)*N-w}),_.html(0===D?"00":D),g.append(_),_.on(p,l);else for(D=0;D<24;D+=1){_=I.clone(),M=D/6*Math.PI;var q=D>0&&D<13;N=q?b:y,_.css({left:m+Math.sin(M)*N-w,top:m-Math.cos(M)*N-w}),_.html(0===D?"00":D),g.append(_),_.on(p,l)}for(D=0;D<60;D+=5)_=I.clone(),M=D/30*Math.PI,_.css({left:m+Math.sin(M)*y-w,top:m-Math.cos(M)*y-w}),_.html(t(D)),C.append(_),_.on(p,l);if(d.on(p,function(e){0===r(e.target).closest(".clockpicker-tick").length&&l(e,!0)}),c){var j=u.find(".clockpicker-canvas"),L=e("svg");L.setAttribute("class","clockpicker-svg"),L.setAttribute("width",x),L.setAttribute("height",x);var H=e("g");H.setAttribute("transform","translate("+m+","+m+")");var F=e("circle");F.setAttribute("class","clockpicker-canvas-bearing"),
  F.setAttribute("cx",0),F.setAttribute("cy",0),F.setAttribute("r",4);var z=e("line");z.setAttribute("x1",0),z.setAttribute("y1",0);var R=e("circle");R.setAttribute("class","clockpicker-canvas-bg"),R.setAttribute("r",w),H.appendChild(z),H.appendChild(R),H.appendChild(F),L.appendChild(H),j.append(L),this.hand=z,this.bg=R,this.bearing=F,this.g=H,this.canvas=j}o(this.options.init)}function o(e){e&&"function"==typeof e&&e()}var r=window.jQuery,a=r(window),s=r(document),l="http://www.w3.org/2000/svg",c="SVGAngle"in window&&function(){var e,t=document.createElement("div");return t.innerHTML="<svg/>",e=(t.firstChild&&t.firstChild.namespaceURI)==l,t.innerHTML="",e}(),u=function(){var e=document.createElement("div").style;return"transition"in e||"WebkitTransition"in e||"MozTransition"in e||"msTransition"in e||"OTransition"in e}(),d="ontouchstart"in window,p="mousedown"+(d?" touchstart":""),f="mousemove.clockpicker"+(d?" touchmove.clockpicker":""),h="mouseup.clockpicker"+(d?" touchend.clockpicker":""),v=navigator.vibrate?"vibrate":navigator.webkitVibrate?"webkitVibrate":null,g=0,m=135,y=105,b=80,w=20,x=2*m,T=u?350:1,k=['<div class="clockpicker picker">','<div class="picker__holder">','<div class="picker__frame">','<div class="picker__wrap">','<div class="picker__box">','<div class="picker__date-display">','<div class="clockpicker-display">','<div class="clockpicker-display-column">','<span class="clockpicker-span-hours text-primary"></span>',":",'<span class="clockpicker-span-minutes"></span>',"</div>",'<div class="clockpicker-display-column clockpicker-display-am-pm">','<div class="clockpicker-span-am-pm"></div>',"</div>","</div>","</div>",'<div class="picker__container__wrapper">','<div class="picker__calendar-container">','<div class="clockpicker-plate">','<div class="clockpicker-canvas"></div>','<div class="clockpicker-dial clockpicker-hours"></div>','<div class="clockpicker-dial clockpicker-minutes clockpicker-dial-out"></div>',"</div>",'<div class="clockpicker-am-pm-block">',"</div>","</div>",'<div class="picker__footer">',"</div>","</div>","</div>","</div>","</div>","</div>","</div>"].join("");i.DEFAULTS={default:"",fromnow:0,donetext:"Ok",cleartext:"Clear",canceltext:"Cancel",autoclose:!1,ampmclickable:!0,darktheme:!1,twelvehour:!0,vibrate:!0},i.prototype.toggle=function(){this[this.isShown?"hide":"show"]()},i.prototype.locate=function(){var e=this.element,t=this.popover;e.offset(),e.outerWidth(),e.outerHeight(),this.options.align;t.show()},i.prototype.show=function(e){if(!this.isShown){o(this.options.beforeShow),r(":input").each(function(){r(this).attr("tabindex",-1)});var n=this;this.input.blur(),this.popover.addClass("picker--opened"),this.input.addClass("picker__input picker__input--active"),r(document.body).css("overflow","hidden");var i=((this.input.prop("value")||this.options.default||"")+"").split(":");if(this.options.twelvehour&&"undefined"!=typeof i[1]&&(i[1].indexOf("AM")>0?this.amOrPm="AM":this.amOrPm="PM",i[1]=i[1].replace("AM","").replace("PM","")),"now"===i[0]){var l=new Date(+new Date+this.options.fromnow);i=[l.getHours(),l.getMinutes()],this.options.twelvehour&&(this.amOrPm=i[0]>=12&&i[0]<24?"PM":"AM")}this.hours=+i[0]||0,this.minutes=+i[1]||0,this.spanHours.html(this.hours),this.spanMinutes.html(t(this.minutes)),this.isAppended||(this.popover.insertAfter(this.input),this.options.twelvehour&&("PM"===this.amOrPm?(this.spanAmPm.children("#click-pm").addClass("text-primary"),this.spanAmPm.children("#click-am").removeClass("text-primary")):(this.spanAmPm.children("#click-am").addClass("text-primary"),this.spanAmPm.children("#click-pm").removeClass("text-primary"))),a.on("resize.clockpicker"+this.id,function(){n.isShown&&n.locate()}),this.isAppended=!0),this.toggleView("hours"),this.locate(),this.isShown=!0,s.on("click.clockpicker."+this.id+" focusin.clockpicker."+this.id,function(e){var t=r(e.target);0===t.closest(n.popover.find(".picker__wrap")).length&&0===t.closest(n.input).length&&n.hide()}),s.on("keyup.clockpicker."+this.id,function(e){27===e.keyCode&&n.hide()}),o(this.options.afterShow)}},i.prototype.hide=function(){o(this.options.beforeHide),this.input.removeClass("picker__input picker__input--active"),this.popover.removeClass("picker--opened"),r(document.body).css("overflow","visible"),this.isShown=!1,r(":input").each(function(e){r(this).attr("tabindex",e+1)}),s.off("click.clockpicker."+this.id+" focusin.clockpicker."+this.id),s.off("keyup.clockpicker."+this.id),this.popover.hide(),o(this.options.afterHide)},i.prototype.toggleView=function(e,t){var n=!1;"minutes"===e&&"visible"===r(this.hoursView).css("visibility")&&(o(this.options.beforeHourSelect),n=!0);var i="hours"===e,a=i?this.hoursView:this.minutesView,s=i?this.minutesView:this.hoursView;this.currentView=e,this.spanHours.toggleClass("text-primary",i),this.spanMinutes.toggleClass("text-primary",!i),s.addClass("clockpicker-dial-out"),a.css("visibility","visible").removeClass("clockpicker-dial-out"),this.resetClock(t),clearTimeout(this.toggleViewTimer),this.toggleViewTimer=setTimeout(function(){s.css("visibility","hidden")},T),n&&o(this.options.afterHourSelect)},i.prototype.resetClock=function(e){var t=this.currentView,n=this[t],i="hours"===t,o=Math.PI/(i?6:30),r=n*o,a=i&&n>0&&n<13?b:y,s=Math.sin(r)*a,l=-Math.cos(r)*a,u=this;c&&e?(u.canvas.addClass("clockpicker-canvas-out"),setTimeout(function(){u.canvas.removeClass("clockpicker-canvas-out"),u.setHand(s,l)},e)):this.setHand(s,l)},i.prototype.setHand=function(e,n,i,o){var a,s=Math.atan2(e,-n),l="hours"===this.currentView,u=Math.PI/(l||i?6:30),d=Math.sqrt(e*e+n*n),p=this.options,f=l&&d<(y+b)/2,h=f?b:y;if(p.twelvehour&&(h=y),s<0&&(s=2*Math.PI+s),a=Math.round(s/u),s=a*u,p.twelvehour?l?0===a&&(a=12):(i&&(a*=5),60===a&&(a=0)):l?(12===a&&(a=0),a=f?0===a?12:a:0===a?0:a+12):(i&&(a*=5),60===a&&(a=0)),this[this.currentView]!==a&&v&&this.options.vibrate&&(this.vibrateTimer||(navigator[v](10),this.vibrateTimer=setTimeout(r.proxy(function(){this.vibrateTimer=null},this),100))),this[this.currentView]=a,l?this.spanHours.html(a):this.spanMinutes.html(t(a)),!c)return void this[l?"hoursView":"minutesView"].find(".clockpicker-tick").each(function(){var e=r(this);e.toggleClass("active",a===+e.html())});var g=Math.sin(s)*(h-w),m=-Math.cos(s)*(h-w),x=Math.sin(s)*h,T=-Math.cos(s)*h;this.hand.setAttribute("x2",g),this.hand.setAttribute("y2",m),this.bg.setAttribute("cx",x),this.bg.setAttribute("cy",T)},i.prototype.done=function(){o(this.options.beforeDone),this.hide(),this.label.addClass("active");var e=this.input.prop("value"),n=t(this.hours)+":"+t(this.minutes);this.options.twelvehour&&(n+=this.amOrPm),this.input.prop("value",n),n!==e&&(this.input.triggerHandler("change"),this.isInput||this.element.trigger("change")),this.options.autoclose&&this.input.trigger("blur"),o(this.options.afterDone)},i.prototype.clear=function(){this.hide(),this.label.removeClass("active");var e=this.input.prop("value"),t="";this.input.prop("value",t),t!==e&&(this.input.triggerHandler("change"),this.isInput||this.element.trigger("change")),this.options.autoclose&&this.input.trigger("blur")},i.prototype.remove=function(){this.element.removeData("clockpicker"),this.input.off("focus.clockpicker click.clockpicker"),this.isShown&&this.hide(),this.isAppended&&(a.off("resize.clockpicker"+this.id),this.popover.remove())},r.fn.pickatime=function(e){var t=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=r(this),o=n.data("clockpicker");if(o)"function"==typeof o[e]&&o[e].apply(o,t);else{var a=r.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);n.data("clockpicker",new i(n,a))}})}}(),function(e){function t(){var t=+e(this).attr("data-length"),n=+e(this).val().length,i=n<=t;e(this).parent().find('span[class="character-counter"]').html(n+"/"+t),o(i,e(this))}function n(t){var n=t.parent().find('span[class="character-counter"]');n.length||(n=e("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),t.parent().append(n))}function i(){e(this).parent().find('span[class="character-counter"]').html("")}function o(e,t){var n=t.hasClass("invalid");e&&n?t.removeClass("invalid"):e||n||(t.removeClass("valid"),t.addClass("invalid"))}e.fn.characterCounter=function(){return this.each(function(){var o=e(this),r=o.parent().find('span[class="character-counter"]');if(!r.length){var a=void 0!==o.attr("data-length");a&&(o.on("input",t),o.on("focus",t),o.on("blur",i),n(o))}})},e(document).ready(function(){e("input, textarea").characterCounter()})}(l),function(e){var t={init:function(t){var n={duration:200,dist:-100,shift:0,padding:0,fullWidth:!1,indicators:!1,noWrap:!1,onCycleTo:null};t=e.extend(n,t);var i=Materialize.objectSelectorString(e(this));return this.each(function(n){function o(){"undefined"!=typeof window.ontouchstart&&(z.on("touchstart.carousel",f),z.on("touchmove.carousel",h),z.on("touchend.carousel",v)),z.on("mousedown.carousel",f),z.on("mousemove.carousel",h),z.on("mouseup.carousel",v),z.on("mouseleave.carousel",v),z.on("click.carousel",d)}function r(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function a(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function s(e){return e>=C?e%C:e<0?s(C+e%C):e}function l(n){D=!0,z.hasClass("scrolling")||z.addClass("scrolling"),null!=H&&window.clearTimeout(H),H=window.setTimeout(function(){D=!1,z.removeClass("scrolling")},t.duration);var i,o,r,a,l,c,u,d=x;if(w="number"==typeof n?n:w,x=Math.floor((w+k/2)/k),r=w-x*k,a=r<0?1:-1,l=-a*r*2/k,o=C>>1,t.fullWidth?u="translateX(0)":(u="translateX("+(z[0].clientWidth-m)/2+"px) ",u+="translateY("+(z[0].clientHeight-b)/2+"px)"),W){var p=x%C,f=L.find(".indicator-item.active");f.index()!==p&&(f.removeClass("active"),L.find(".indicator-item").eq(p).addClass("active"))}for((!$||x>=0&&x<C)&&(c=g[s(x)],e(c).hasClass("active")||(z.find(".carousel-item").removeClass("active"),e(c).addClass("active")),c.style[_]=u+" translateX("+-r/2+"px) translateX("+a*t.shift*l*i+"px) translateZ("+t.dist*l+"px)",c.style.zIndex=0,t.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*l,c.style.opacity=tweenedOpacity,c.style.display="block"),i=1;i<=o;++i)t.fullWidth?(zTranslation=t.dist,tweenedOpacity=i===o&&r<0?1-l:1):(zTranslation=t.dist*(2*i+l*a),tweenedOpacity=1-.2*(2*i+l*a)),(!$||x+i<C)&&(c=g[s(x+i)],c.style[_]=u+" translateX("+(t.shift+(k*i-r)/2)+"px) translateZ("+zTranslation+"px)",c.style.zIndex=-i,c.style.opacity=tweenedOpacity,c.style.display="block"),t.fullWidth?(zTranslation=t.dist,tweenedOpacity=i===o&&r>0?1-l:1):(zTranslation=t.dist*(2*i-l*a),tweenedOpacity=1-.2*(2*i-l*a)),(!$||x-i>=0)&&(c=g[s(x-i)],c.style[_]=u+" translateX("+(-t.shift+(-k*i-r)/2)+"px) translateZ("+zTranslation+"px)",c.style.zIndex=-i,c.style.opacity=tweenedOpacity,c.style.display="block");if((!$||x>=0&&x<C)&&(c=g[s(x)],c.style[_]=u+" translateX("+-r/2+"px) translateX("+a*t.shift*l+"px) translateZ("+t.dist*l+"px)",c.style.zIndex=0,t.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*l,c.style.opacity=tweenedOpacity,c.style.display="block"),d!==x&&"function"==typeof t.onCycleTo){var h=z.find(".carousel-item").eq(s(x));t.onCycleTo.call(this,h,q)}"function"==typeof F&&(F.call(this,h,q),F=null)}function c(){var e,t,n,i;e=Date.now(),t=e-N,N=e,n=w-M,M=w,i=1e3*n/(1+t),O=.8*i+.2*O}function u(){var e,n;A&&(e=Date.now()-N,n=A*Math.exp(-e/t.duration),n>2||n<-2?(l(P-n),requestAnimationFrame(u)):l(P))}function d(n){if(q)return n.preventDefault(),n.stopPropagation(),!1;if(!t.fullWidth){var i=e(n.target).closest(".carousel-item").index(),o=s(x)-i;0!==o&&(n.preventDefault(),n.stopPropagation()),p(i)}}function p(e){var t=x%C-e;$||(t<0?Math.abs(t+C)<Math.abs(t)&&(t+=C):t>0&&Math.abs(t-C)<t&&(t-=C)),t<0?z.trigger("carouselNext",[Math.abs(t)]):t>0&&z.trigger("carouselPrev",[t])}function f(t){"mousedown"===t.type&&e(t.target).is("img")&&t.preventDefault(),T=!0,q=!1,j=!1,S=r(t),E=a(t),O=A=0,M=w,N=Date.now(),clearInterval(I),I=setInterval(c,100)}function h(e){var t,n,i;if(T)if(t=r(e),y=a(e),n=S-t,i=Math.abs(E-y),i<30&&!j)(n>2||n<-2)&&(q=!0,S=t,l(w+n));else{if(q)return e.preventDefault(),e.stopPropagation(),!1;j=!0}if(q)return e.preventDefault(),e.stopPropagation(),!1}function v(e){if(T)return T=!1,clearInterval(I),P=w,(O>10||O<-10)&&(A=.9*O,P=w+A),P=Math.round(P/k)*k,$&&(P>=k*(C-1)?P=k*(C-1):P<0&&(P=0)),A=P-w,N=Date.now(),requestAnimationFrame(u),q&&(e.preventDefault(),e.stopPropagation()),!1}var g,m,b,w,x,T,k,C,S,E,A,P,O,D,_,M,N,I,q,j,L=e('<ul class="indicators"></ul>'),H=null,F=null,z=e(this),R=z.find(".carousel-item").length>1,W=(z.attr("data-indicators")||t.indicators)&&R,$=z.attr("data-no-wrap")||t.noWrap||!R,V=z.attr("data-namespace")||i+n;z.attr("data-namespace",V);var X=function(t){var n=z.find(".carousel-item.active").length?z.find(".carousel-item.active").first():z.find(".carousel-item").first(),i=n.find("img").first();if(i.length)if(i[0].complete){var o=i.height();if(o>0)z.css("height",i.height());else{var r=i[0].naturalWidth,a=i[0].naturalHeight,s=z.width()/r*a;z.css("height",s)}}else i.on("load",function(){z.css("height",e(this).height())});else if(!t){var l=n.height();z.css("height",l)}};if(t.fullWidth&&(t.dist=0,X(),W&&z.find(".carousel-fixed-item").addClass("with-indicators")),z.hasClass("initialized"))return e(window).trigger("resize"),z.trigger("carouselNext",[1e-6]),!0;z.addClass("initialized"),T=!1,w=P=0,g=[],m=z.find(".carousel-item").first().innerWidth(),b=z.find(".carousel-item").first().innerHeight(),k=2*m+t.padding,z.find(".carousel-item").each(function(t){if(g.push(e(this)[0]),W){var n=e('<li class="indicator-item"></li>');0===t&&n.addClass("active"),n.click(function(t){t.stopPropagation();var n=e(this).index();p(n)}),L.append(n)}}),W&&z.append(L),C=g.length,_="transform",["webkit","Moz","O","ms"].every(function(e){var t=e+"Transform";return"undefined"==typeof document.body.style[t]||(_=t,!1)});var Y=Materialize.throttle(function(){if(t.fullWidth){m=z.find(".carousel-item").first().innerWidth();z.find(".carousel-item.active").height();k=2*m+t.padding,w=2*x*m,P=w,X(!0)}else l()},200);e(window).off("resize.carousel-"+V).on("resize.carousel-"+V,Y),o(),l(w),e(this).on("carouselNext",function(e,t,n){void 0===t&&(t=1),"function"==typeof n&&(F=n),P=k*Math.round(w/k)+k*t,w!==P&&(A=P-w,N=Date.now(),requestAnimationFrame(u))}),e(this).on("carouselPrev",function(e,t,n){void 0===t&&(t=1),"function"==typeof n&&(F=n),P=k*Math.round(w/k)-k*t,w!==P&&(A=P-w,N=Date.now(),requestAnimationFrame(u))}),e(this).on("carouselSet",function(e,t,n){void 0===t&&(t=0),"function"==typeof n&&(F=n),p(t)})})},next:function(t,n){e(this).trigger("carouselNext",[t,n])},prev:function(t,n){e(this).trigger("carouselPrev",[t,n])},set:function(t,n){e(this).trigger("carouselSet",[t,n])},destroy:function(){var t=e(this).attr("data-namespace");e(this).removeAttr("data-namespace"),e(this).removeClass("initialized"),e(this).find(".indicators").remove(),e(this).off("carouselNext carouselPrev carouselSet"),e(window).off("resize.carousel-"+t),"undefined"!=typeof window.ontouchstart&&e(this).off("touchstart.carousel touchmove.carousel touchend.carousel"),e(this).off("mousedown.carousel mousemove.carousel mouseup.carousel mouseleave.carousel click.carousel")}};e.fn.carousel=function(n){return t[n]?t[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void e.error("Method "+n+" does not exist on jQuery.carousel"):t.init.apply(this,arguments)}}(l),function(e){var t={init:function(t){return this.each(function(){var n=e("#"+e(this).attr("data-activates")),i=(e("body"),e(this)),o=i.parent(".tap-target-wrapper"),r=o.find(".tap-target-wave"),a=o.find(".tap-target-origin"),s=i.find(".tap-target-content");o.length||(o=i.wrap(e('<div class="tap-target-wrapper"></div>')).parent()),s.length||(s=e('<div class="tap-target-content"></div>'),i.append(s)),r.length||(r=e('<div class="tap-target-wave"></div>'),a.length||(a=n.clone(!0,!0),a.addClass("tap-target-origin"),a.removeAttr("id"),a.removeAttr("style"),r.append(a)),o.append(r));var l=function(){o.is(".open")||(o.addClass("open"),setTimeout(function(){a.off("click.tapTarget").on("click.tapTarget",function(e){c(),a.off("click.tapTarget")}),e(document).off("click.tapTarget").on("click.tapTarget",function(t){c(),e(document).off("click.tapTarget")});var t=Materialize.throttle(function(){u()},200);e(window).off("resize.tapTarget").on("resize.tapTarget",t)},0))},c=function(){o.is(".open")&&(o.removeClass("open"),a.off("click.tapTarget"),e(document).off("click.tapTarget"),e(window).off("resize.tapTarget"))},u=function(){var t="fixed"===n.css("position");if(!t)for(var a=n.parents(),l=0;l<a.length&&!(t="fixed"==e(a[l]).css("position"));l++);var c=n.outerWidth(),u=n.outerHeight(),d=t?n.offset().top-e(document).scrollTop():n.offset().top,p=t?n.offset().left-e(document).scrollLeft():n.offset().left,f=e(window).width(),h=e(window).height(),v=f/2,g=h/2,m=p<=v,y=p>v,b=d<=g,w=d>g,x=p>=.25*f&&p<=.75*f,T=i.outerWidth(),k=i.outerHeight(),C=d+u/2-k/2,S=p+c/2-T/2,E=t?"fixed":"absolute",A=x?T:T/2+c,P=k/2,O=b?k/2:0,D=0,_=m&&!x?T/2-c:0,M=0,N=c,I=w?"bottom":"top",q=c>u?2*c:2*c,j=q,L=k/2-j/2,H=T/2-q/2,F={};F.top=b?C:"",F.right=y?f-S-T:"",F.bottom=w?h-C-k:"",F.left=m?S:"",F.position=E,o.css(F),s.css({width:A,height:P,top:O,right:M,bottom:D,left:_,padding:N,verticalAlign:I}),r.css({top:L,left:H,width:q,height:j})};"open"==t&&(u(),l()),"close"==t&&c()})},open:function(){},close:function(){}};e.fn.tapTarget=function(n){return t[n]||"object"==typeof n?t.init.apply(this,arguments):void e.error("Method "+n+" does not exist on jQuery.tap-target")}}(l)},"./node_modules/webpack/buildin/amd-options.js":function(e,t){(function(t){e.exports=t}).call(t,{})},'./node_modules/babel-loader/lib/index.js?{"plugins":["/Users/Zach/Development/gatsby/node_modules/gatsby/dist/utils/babel-plugin-extract-graphql.js","/Users/Zach/Development/gatsby/node_modules/babel-plugin-add-module-exports/lib/index.js","/Users/Zach/Development/gatsby/node_modules/babel-plugin-transform-object-assign/lib/index.js"],"presets":["/Users/Zach/Development/gatsby/node_modules/babel-preset-env/lib/index.js","/Users/Zach/Development/gatsby/node_modules/babel-preset-stage-0/lib/index.js","/Users/Zach/Development/gatsby/node_modules/babel-preset-react/lib/index.js"],"cacheDirectory":true}!./src/pages/index.js':function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),r=i(o),a=n("./node_modules/gatsby-link/index.js");i(a);window.jQuery=n("./node_modules/jquery/dist/jquery.js"),n("./node_modules/materialize-css/dist/js/materialize.js");var s=function(){return{render:function(){return r.default.createElement("div",null,r.default.createElement("div",{className:"slider big-slider"},r.default.createElement("ul",{className:"slides big-slides"},r.default.createElement("li",null,r.default.createElement("img",{src:"/images/imc10.jpg"})),r.default.createElement("li",null,r.default.createElement("img",{src:"/images/sculpt.jpg"}),r.default.createElement("div",{className:"caption left-align"},r.default.createElement("h3",null,"SculpSure"),r.default.createElement("h5",{className:"light grey-text text-lighten-3"},"FDA cleared for the treatment of the abdomen, flanks, back, inner thighs, and outer thighs"))))),r.default.createElement("div",{className:"row physicians"},r.default.createElement("div",{className:"col s12 m3 center"},r.default.createElement("img",{height:"200px",src:"/images/Tom2.jpg"}),r.default.createElement("h5",null,"Dr. Thomas F. Kurland")),r.default.createElement("div",{className:"col s12 m3 center"},r.default.createElement("img",{height:"200px",src:"/images/Pete3.jpg"}),r.default.createElement("h5",null,"Dr. Peter A. Kouvatsos")),r.default.createElement("div",{className:"col s12 m3 center"},r.default.createElement("img",{height:"200px",src:"/images/Carol.jpg"}),r.default.createElement("h5",null,"Carol Snyder, CRNP")),r.default.createElement("div",{className:"col s12 m3 center"},r.default.createElement("img",{height:"200px",src:"/images/Bradley.jpg"}),r.default.createElement("h5",null,"Dr. Craig Bradley"))),r.default.createElement("div",{className:"row"},r.default.createElement("div",{className:"col s12 m6 offset-m3"},r.default.createElement("div",{className:"card"},r.default.createElement("div",{className:"card-content black-text"},r.default.createElement("span",{className:"card-title"},"Our Misson"),r.default.createElement("p",null,"IMC is a group of board-certified physicians specializing in general internal medicine. Our goal is to provide you with a first class patient experience and immediate access to our doctors to help you maintain your health."))))))},componentDidMount:function(){$(".slider").slider()}}};t.default=s,e.exports=t.default}});
  //# sourceMappingURL=component---src-pages-index-js-c337fec660d0b3a2ceba.js.map