!function t(e,n,i){function r(s,a){if(!n[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var c=new error("cannot find module '"+s+"'");throw c.code="module_not_found",c}var u=n[s]={exports:{}};e[s][0].call(u.exports,function(t){var n=e[s][1][t];return r(n||t)},u,u.exports,t,e,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s0&&a--,40===n.which&&a0&&(a=o?o/2.5*(u/8):0,c=i.abs(t)+a,l=c/u),{destination:i.round(a),duration:l}};var a=e("transform");return r.extend(r,{hastransform:!1!==a,hasperspective:e("perspective")in o,hastouch:"ontouchstart"in t,haspointer:!(!t.pointerevent&&!t.mspointerevent),hastransition:e("transition")in o}),r.isbadandroid=function(){var e=t.navigator.appversion;if(/android/.test(e)&&!/chrome\/\d/.test(e)){var n=e.match(/safari\/(\d+.\d)/);return!(n&&"object"==typeof n&&n.length>=2)||parsefloat(n[1])<535.19}return!1}(),r.extend(r.style={},{transform:a,transitiontimingfunction:e("transitiontimingfunction"),transitionduration:e("transitionduration"),transitiondelay:e("transitiondelay"),transformorigin:e("transformorigin")}),r.hasclass=function(t,e){return new regexp("(^|\\s)"+e+"(\\s|$)").test(t.classname)},r.addclass=function(t,e){if(!r.hasclass(t,e)){var n=t.classname.split(" ");n.push(e),t.classname=n.join(" ")}},r.removeclass=function(t,e){if(r.hasclass(t,e)){var n=new regexp("(^|\\s)"+e+"(\\s|$)","g");t.classname=t.classname.replace(n," ")}},r.offset=function(t){for(var e=-t.offsetleft,n=-t.offsettop;t=t.offsetparent;)e-=t.offsetleft,n-=t.offsettop;return{left:e,top:n}},r.preventdefaultexception=function(t,e){for(var n in e)if(e[n].test(t[n]))return!0;return!1},r.extend(r.eventtype={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,mspointerdown:3,mspointermove:3,mspointerup:3}),r.extend(r.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return i.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){return(t-=1)*t*(5*t+4)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){return 0===t?0:1==t?1:.4*i.pow(2,-10*t)*i.sin((t-.055)*(2*i.pi)/.22)+1}}}),r.tap=function(t,e){var i=n.createevent("event");i.initevent(e,!0,!0),i.pagex=t.pagex,i.pagey=t.pagey,t.target.dispatchevent(i)},r.click=function(t){var e,i=t.target;/(select|input|textarea)/i.test(i.tagname)||(e=n.createevent("mouseevents"),e.initmouseevent("click",!0,!0,t.view,1,i.screenx,i.screeny,i.clientx,i.clienty,t.ctrlkey,t.altkey,t.shiftkey,t.metakey,0,null),e._constructed=!0,i.dispatchevent(e))},r}();r.prototype={version:"5.2.0",_init:function(){this._initevents(),(this.options.scrollbars||this.options.indicators)&&this._initindicators(),this.options.mousewheel&&this._initwheel(),this.options.snap&&this._initsnap(),this.options.keybindings&&this._initkeys()},destroy:function(){this._initevents(!0),cleartimeout(this.resizetimeout),this.resizetimeout=null,this._execevent("destroy")},_transitionend:function(t){t.target==this.scroller&&this.isintransition&&(this._transitiontime(),this.resetposition(this.options.bouncetime)||(this.isintransition=!1,this._execevent("scrollend")))},_start:function(t){if(1!=l.eventtype[t.type]){if(0!==(t.which?t.button:t.button<2?0:4==t.button?1:2))return}if(this.enabled&&(!this.initiated||l.eventtype[t.type]===this.initiated)){!this.options.preventdefault||l.isbadandroid||l.preventdefaultexception(t.target,this.options.preventdefaultexception)||t.preventdefault();var e,n=t.touches?t.touches[0]:t;this.initiated=l.eventtype[t.type],this.moved=!1,this.distx=0,this.disty=0,this.directionx=0,this.directiony=0,this.directionlocked=0,this.starttime=l.gettime(),this.options.usetransition&&this.isintransition?(this._transitiontime(),this.isintransition=!1,e=this.getcomputedposition(),this._translate(i.round(e.x),i.round(e.y)),this._execevent("scrollend")):!this.options.usetransition&&this.isanimating&&(this.isanimating=!1,this._execevent("scrollend")),this.startx=this.x,this.starty=this.y,this.absstartx=this.x,this.absstarty=this.y,this.pointx=n.pagex,this.pointy=n.pagey,this._execevent("beforescrollstart")}},_move:function(t){if(this.enabled&&l.eventtype[t.type]===this.initiated){this.options.preventdefault&&t.preventdefault();var e,n,r,o,s=t.touches?t.touches[0]:t,a=s.pagex-this.pointx,c=s.pagey-this.pointy,u=l.gettime();if(this.pointx=s.pagex,this.pointy=s.pagey,this.distx+=a,this.disty+=c,r=i.abs(this.distx),o=i.abs(this.disty),!(u-this.endtime>300&&r<10&&o<10)){if(this.directionlocked||this.options.freescroll||(r>o+this.options.directionlockthreshold?this.directionlocked="h":o>=r+this.options.directionlockthreshold?this.directionlocked="v":this.directionlocked="n"),"h"==this.directionlocked){if("vertical"==this.options.eventpassthrough)t.preventdefault();else if("horizontal"==this.options.eventpassthrough)return void(this.initiated=!1);c=0}else if("v"==this.directionlocked){if("horizontal"==this.options.eventpassthrough)t.preventdefault();else if("vertical"==this.options.eventpassthrough)return void(this.initiated=!1);a=0}a=this.hashorizontalscroll?a:0,c=this.hasverticalscroll?c:0,e=this.x+a,n=this.y+c,(e>0||e0?0:this.maxscrollx),(n>0||n0?0:this.maxscrolly),this.directionx=a>0?-1:a<0?1:0,this.directiony=c>0?-1:c<0?1:0,this.moved||this._execevent("scrollstart"),this.moved=!0,this._translate(e,n),u-this.starttime>300&&(this.starttime=u,this.startx=this.x,this.starty=this.y)}}},_end:function(t){if(this.enabled&&l.eventtype[t.type]===this.initiated){this.options.preventdefault&&!l.preventdefaultexception(t.target,this.options.preventdefaultexception)&&t.preventdefault();var e,n,r=(t.changedtouches&&t.changedtouches[0],l.gettime()-this.starttime),o=i.round(this.x),s=i.round(this.y),a=i.abs(o-this.startx),c=i.abs(s-this.starty),u=0,h="";if(this.isintransition=0,this.initiated=0,this.endtime=l.gettime(),!this.resetposition(this.options.bouncetime)){if(this.scrollto(o,s),!this.moved)return this.options.tap&&l.tap(t,this.options.tap),this.options.click&&l.click(t),void this._execevent("scrollcancel");if(this._events.flick&&r<200&&a<100&&c<100)return void this._execevent("flick");if(this.options.momentum&&r<300&&(e=this.hashorizontalscroll?l.momentum(this.x,this.startx,r,this.maxscrollx,this.options.bounce?this.wrapperwidth:0,this.options.deceleration):{destination:o,duration:0},n=this.hasverticalscroll?l.momentum(this.y,this.starty,r,this.maxscrolly,this.options.bounce?this.wrapperheight:0,this.options.deceleration):{destination:s,duration:0},o=e.destination,s=n.destination,u=i.max(e.duration,n.duration),this.isintransition=1),this.options.snap){var p=this._nearestsnap(o,s);this.currentpage=p,u=this.options.snapspeed||i.max(i.max(i.min(i.abs(o-p.x),1e3),i.min(i.abs(s-p.y),1e3)),300),o=p.x,s=p.y,this.directionx=0,this.directiony=0,h=this.options.bounceeasing}if(o!=this.x||s!=this.y)return(o>0||o0||s0?e=0:this.x0?n=0:this.y-1&&this._events[t].splice(n,1)}},_execevent:function(t){if(this._events[t]){var e=0,n=this._events[t].length;if(n)for(;e0;var r=this.options.usetransition&&i.style;!n||r?(r&&(this._transitiontimingfunction(i.style),this._transitiontime(n)),this._translate(t,e)):this._animate(t,e,n,i.fn)},scrolltoelement:function(t,e,n,r,o){if(t=t.nodetype?t:this.scroller.queryselector(t)){var s=l.offset(t);s.left-=this.wrapperoffset.left,s.top-=this.wrapperoffset.top,!0===n&&(n=i.round(t.offsetwidth/2-this.wrapper.offsetwidth/2)),!0===r&&(r=i.round(t.offsetheight/2-this.wrapper.offsetheight/2)),s.left-=n||0,s.top-=r||0,s.left=s.left>0?0:s.left0?0:s.top0?r--:e<0&&r++,n>0?o--:n<0&&o++,void this.gotopage(r,o);r=this.x+i.round(this.hashorizontalscroll?e:0),o=this.y+i.round(this.hasverticalscroll?n:0),this.directionx=e>0?-1:e<0?1:0,this.directiony=n>0?-1:n<0?1:0,r>0?r=0:r0?o=0:o-this.scrollerwidth;){for(this.pages[a]=[],t=0,o=0;o>-this.scrollerheight;)this.pages[a][t]={x:i.max(c,this.maxscrollx),y:i.max(o,this.maxscrolly),width:u,height:h,cx:c-n,cy:o-r},o-=h,t++;c-=u,a++}else for(s=this.options.snap,t=s.length,e=-1;athis.maxscrollx&&l++;this.gotopage(this.currentpage.pagex||0,this.currentpage.pagey||0,0),this.options.snapthreshold%1==0?(this.snapthresholdx=this.options.snapthreshold,this.snapthresholdy=this.options.snapthreshold):(this.snapthresholdx=i.round(this.pages[this.currentpage.pagex][this.currentpage.pagey].width*this.options.snapthreshold),this.snapthresholdy=i.round(this.pages[this.currentpage.pagex][this.currentpage.pagey].height*this.options.snapthreshold))}}),this.on("flick",function(){var t=this.options.snapspeed||i.max(i.max(i.min(i.abs(this.x-this.startx),1e3),i.min(i.abs(this.y-this.starty),1e3)),300);this.gotopage(this.currentpage.pagex+this.directionx,this.currentpage.pagey+this.directiony,t)})},_nearestsnap:function(t,e){if(!this.pages.length)return{x:0,y:0,pagex:0,pagey:0};var n=0,r=this.pages.length,o=0;if(i.abs(t-this.absstartx)0?t=0:t0?e=0:e=this.pages[n][0].cx){t=this.pages[n][0].x;break}for(r=this.pages[n].length;o=this.pages[0][o].cy){e=this.pages[0][o].y;break}return n==this.currentpage.pagex&&(n+=this.directionx,n<0?n=0:n>=this.pages.length&&(n=this.pages.length-1),t=this.pages[n][0].x),o==this.currentpage.pagey&&(o+=this.directiony,o<0?o=0:o>=this.pages[0].length&&(o=this.pages[0].length-1),e=this.pages[0][o].y),{x:t,y:e,pagex:n,pagey:o}},gotopage:function(t,e,n,r){r=r||this.options.bounceeasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var o=this.pages[t][e].x,s=this.pages[t][e].y;n=void 0===n?this.options.snapspeed||i.max(i.max(i.min(i.abs(o-this.x),1e3),i.min(i.abs(s-this.y),1e3)),300):n,this.currentpage={x:o,y:s,pagex:t,pagey:e},this.scrollto(o,s,n,r)},next:function(t,e){var n=this.currentpage.pagex,i=this.currentpage.pagey;n++,n>=this.pages.length&&this.hasverticalscroll&&(n=0,i++),this.gotopage(n,i,t,e)},prev:function(t,e){var n=this.currentpage.pagex,i=this.currentpage.pagey;n--,n<0&&this.hasverticalscroll&&(n=0,i--),this.gotopage(n,i,t,e)},_initkeys:function(e){var n,i={pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keybindings)for(n in this.options.keybindings)"string"==typeof this.options.keybindings[n]&&(this.options.keybindings[n]=this.options.keybindings[n].touppercase().charcodeat(0));else this.options.keybindings={};for(n in i)this.options.keybindings[n]=this.options.keybindings[n]||i[n];l.addevent(t,"keydown",this),this.on("destroy",function(){l.removeevent(t,"keydown",this)})},_key:function(t){if(this.enabled){var e,n=this.options.snap,r=n?this.currentpage.pagex:this.x,o=n?this.currentpage.pagey:this.y,s=l.gettime(),a=this.keytime||0;switch(this.options.usetransition&&this.isintransition&&(e=this.getcomputedposition(),this._translate(i.round(e.x),i.round(e.y)),this.isintransition=!1),this.keyacceleration=s-a<200?i.min(this.keyacceleration+.25,50):0,t.keycode){case this.options.keybindings.pageup:this.hashorizontalscroll&&!this.hasverticalscroll?r+=n?1:this.wrapperwidth:o+=n?1:this.wrapperheight;break;case this.options.keybindings.pagedown:this.hashorizontalscroll&&!this.hasverticalscroll?r-=n?1:this.wrapperwidth:o-=n?1:this.wrapperheight;break;case this.options.keybindings.end:r=n?this.pages.length-1:this.maxscrollx,o=n?this.pages[0].length-1:this.maxscrolly;break;case this.options.keybindings.home:r=0,o=0;break;case this.options.keybindings.left:r+=n?-1:5+this.keyacceleration>>0;break;case this.options.keybindings.up:o+=n?1:5+this.keyacceleration>>0;break;case this.options.keybindings.right:r-=n?-1:5+this.keyacceleration>>0;break;case this.options.keybindings.down:o-=n?1:5+this.keyacceleration>>0;break;default:return}if(n)return void this.gotopage(r,o);r>0?(r=0,this.keyacceleration=0):r0?(o=0,this.keyacceleration=0):o=h)return o.isanimating=!1,o._translate(t,e),void(o.resetposition(o.options.bouncetime)||o._execevent("scrollend"));g=(g-u)/n,f=i(g),p=(t-s)*f+s,d=(e-c)*f+c,o._translate(p,d),o.isanimating&&a(r)}var o=this,s=this.x,c=this.y,u=l.gettime(),h=u+n;this.isanimating=!0,r()},handleevent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"mspointerdown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"mspointermove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"mspointerup":case"mouseup":case"touchcancel":case"pointercancel":case"mspointercancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkittransitionend":case"otransitionend":case"mstransitionend":this._transitionend(t);break;case"wheel":case"dommousescroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click": this.enabled&&!t._constructed&&(t.preventdefault(),t.stoppropagation())}}},s.prototype={handleevent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"mspointerdown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"mspointermove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"mspointerup":case"mouseup":case"touchcancel":case"pointercancel":case"mspointercancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadescrollbars&&(cleartimeout(this.fadetimeout),this.fadetimeout=null),this.options.interactive&&(l.removeevent(this.indicator,"touchstart",this),l.removeevent(this.indicator,l.prefixpointerevent("pointerdown"),this),l.removeevent(this.indicator,"mousedown",this),l.removeevent(t,"touchmove",this),l.removeevent(t,l.prefixpointerevent("pointermove"),this),l.removeevent(t,"mousemove",this),l.removeevent(t,"touchend",this),l.removeevent(t,l.prefixpointerevent("pointerup"),this),l.removeevent(t,"mouseup",this)),this.options.defaultscrollbars&&this.wrapper.parentnode.removechild(this.wrapper)},_start:function(e){var n=e.touches?e.touches[0]:e;e.preventdefault(),e.stoppropagation(),this.transitiontime(),this.initiated=!0,this.moved=!1,this.lastpointx=n.pagex,this.lastpointy=n.pagey,this.starttime=l.gettime(),this.options.disabletouch||l.addevent(t,"touchmove",this),this.options.disablepointer||l.addevent(t,l.prefixpointerevent("pointermove"),this),this.options.disablemouse||l.addevent(t,"mousemove",this),this.scroller._execevent("beforescrollstart")},_move:function(t){var e,n,i,r,o=t.touches?t.touches[0]:t;l.gettime();this.moved||this.scroller._execevent("scrollstart"),this.moved=!0,e=o.pagex-this.lastpointx,this.lastpointx=o.pagex,n=o.pagey-this.lastpointy,this.lastpointy=o.pagey,i=this.x+e,r=this.y+n,this._pos(i,r),t.preventdefault(),t.stoppropagation()},_end:function(e){if(this.initiated){if(this.initiated=!1,e.preventdefault(),e.stoppropagation(),l.removeevent(t,"touchmove",this),l.removeevent(t,l.prefixpointerevent("pointermove"),this),l.removeevent(t,"mousemove",this),this.scroller.options.snap){var n=this.scroller._nearestsnap(this.scroller.x,this.scroller.y),r=this.options.snapspeed||i.max(i.max(i.min(i.abs(this.scroller.x-n.x),1e3),i.min(i.abs(this.scroller.y-n.y),1e3)),300);this.scroller.x==n.x&&this.scroller.y==n.y||(this.scroller.directionx=0,this.scroller.directiony=0,this.scroller.currentpage=n,this.scroller.scrollto(n.x,n.y,r,this.scroller.options.bounceeasing))}this.moved&&this.scroller._execevent("scrollend")}},transitiontime:function(t){t=t||0;var e=l.style.transitionduration;if(this.indicatorstyle[e]=t+"ms",!t&&l.isbadandroid){this.indicatorstyle[e]="0.0001ms";var n=this;a(function(){"0.0001ms"===n.indicatorstyle[e]&&(n.indicatorstyle[e]="0s")})}},transitiontimingfunction:function(t){this.indicatorstyle[l.style.transitiontimingfunction]=t},refresh:function(){this.transitiontime(),this.options.listenx&&!this.options.listeny?this.indicatorstyle.display=this.scroller.hashorizontalscroll?"block":"none":this.options.listeny&&!this.options.listenx?this.indicatorstyle.display=this.scroller.hasverticalscroll?"block":"none":this.indicatorstyle.display=this.scroller.hashorizontalscroll||this.scroller.hasverticalscroll?"block":"none",this.scroller.hashorizontalscroll&&this.scroller.hasverticalscroll?(l.addclass(this.wrapper,"iscrollbothscrollbars"),l.removeclass(this.wrapper,"iscrolllonescrollbar"),this.options.defaultscrollbars&&this.options.customstyle&&(this.options.listenx?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(l.removeclass(this.wrapper,"iscrollbothscrollbars"),l.addclass(this.wrapper,"iscrolllonescrollbar"),this.options.defaultscrollbars&&this.options.customstyle&&(this.options.listenx?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px"));this.wrapper.offsetheight;this.options.listenx&&(this.wrapperwidth=this.wrapper.clientwidth,this.options.resize?(this.indicatorwidth=i.max(i.round(this.wrapperwidth*this.wrapperwidth/(this.scroller.scrollerwidth||this.wrapperwidth||1)),8),this.indicatorstyle.width=this.indicatorwidth+"px"):this.indicatorwidth=this.indicator.clientwidth,this.maxposx=this.wrapperwidth-this.indicatorwidth,"clip"==this.options.shrink?(this.minboundaryx=8-this.indicatorwidth,this.maxboundaryx=this.wrapperwidth-8):(this.minboundaryx=0,this.maxboundaryx=this.maxposx),this.sizeratiox=this.options.speedratiox||this.scroller.maxscrollx&&this.maxposx/this.scroller.maxscrollx),this.options.listeny&&(this.wrapperheight=this.wrapper.clientheight,this.options.resize?(this.indicatorheight=i.max(i.round(this.wrapperheight*this.wrapperheight/(this.scroller.scrollerheight||this.wrapperheight||1)),8),this.indicatorstyle.height=this.indicatorheight+"px"):this.indicatorheight=this.indicator.clientheight,this.maxposy=this.wrapperheight-this.indicatorheight,"clip"==this.options.shrink?(this.minboundaryy=8-this.indicatorheight,this.maxboundaryy=this.wrapperheight-8):(this.minboundaryy=0,this.maxboundaryy=this.maxposy),this.maxposy=this.wrapperheight-this.indicatorheight,this.sizeratioy=this.options.speedratioy||this.scroller.maxscrolly&&this.maxposy/this.scroller.maxscrolly),this.updateposition()},updateposition:function(){var t=this.options.listenx&&i.round(this.sizeratiox*this.scroller.x)||0,e=this.options.listeny&&i.round(this.sizeratioy*this.scroller.y)||0;this.options.ignoreboundaries||(tthis.maxboundaryx?"scale"==this.options.shrink?(this.width=i.max(this.indicatorwidth-(t-this.maxposx),8),this.indicatorstyle.width=this.width+"px",t=this.maxposx+this.indicatorwidth-this.width):t=this.maxboundaryx:"scale"==this.options.shrink&&this.width!=this.indicatorwidth&&(this.width=this.indicatorwidth,this.indicatorstyle.width=this.width+"px"),ethis.maxboundaryy?"scale"==this.options.shrink?(this.height=i.max(this.indicatorheight-3*(e-this.maxposy),8),this.indicatorstyle.height=this.height+"px",e=this.maxposy+this.indicatorheight-this.height):e=this.maxboundaryy:"scale"==this.options.shrink&&this.height!=this.indicatorheight&&(this.height=this.indicatorheight,this.indicatorstyle.height=this.height+"px")),this.x=t,this.y=e,this.scroller.options.usetransform?this.indicatorstyle[l.style.transform]="translate("+t+"px,"+e+"px)"+this.scroller.translatez:(this.indicatorstyle.left=t+"px",this.indicatorstyle.top=e+"px")},_pos:function(t,e){t<0?t=0:t>this.maxposx&&(t=this.maxposx),e<0?e=0:e>this.maxposy&&(e=this.maxposy),t=this.options.listenx?i.round(t/this.sizeratiox):this.scroller.x,e=this.options.listeny?i.round(e/this.sizeratioy):this.scroller.y,this.scroller.scrollto(t,e)},fade:function(t,e){if(!e||this.visible){cleartimeout(this.fadetimeout),this.fadetimeout=null;var n=t?250:500,i=t?0:300;t=t?"1":"0",this.wrapperstyle[l.style.transitionduration]=n+"ms",this.fadetimeout=settimeout(function(t){this.wrapperstyle.opacity=t,this.visible=+t}.bind(this,t),i)}}},r.utils=l,void 0!==e&&e.exports?e.exports=r:"function"==typeof define&&define.amd?define(function(){return r}):t.iscroll=r}(window,document,math)},{}],4:[function(t,e,n){!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof n?e.exports=i(t("jquery")):i(jquery)}(function(t){"use strict";var e=void 0!==document.ontouchstart,n={init:function(e){return e=t.extend({iscroll:{mousewheel:!0,preventdefault:!1},showoverlay:!0},e),n.settings={state:!1,events:{opened:"drawer.opened",closed:"drawer.closed"},dropdownevents:{opened:"shown.bs.dropdown",closed:"hidden.bs.dropdown"}},n.settings.class=t.extend({nav:"drawer-nav",toggle:"drawer-toggle",overlay:"drawer-overlay",open:"drawer-open",close:"drawer-close",dropdown:"drawer-dropdown"},e.class),this.each(function(){var i=this,r=t(this);r.data("drawer")||(e=t.extend({},e),r.data("drawer",{options:e}),n.refresh.call(i),e.showoverlay&&n.addoverlay.call(i),t("."+n.settings.class.toggle).on("click.drawer",function(){return n.toggle.call(i),i.iscroll.refresh()}),t(window).on("resize.drawer",function(){return n.close.call(i),i.iscroll.refresh()}),t("."+n.settings.class.dropdown).on(n.settings.dropdownevents.opened+" "+n.settings.dropdownevents.closed,function(){return i.iscroll.refresh()}))})},refresh:function(){this.iscroll=new iscroll("."+n.settings.class.nav,t(this).data("drawer").options.iscroll)},addoverlay:function(){var e=t(this),i=t("
").addclass(n.settings.class.overlay+" "+n.settings.class.toggle);return e.append(i)},toggle:function(){var t=this;return n.settings.state?n.close.call(t):n.open.call(t)},open:function(){var i=t(this);return e&&i.on("touchmove.drawer",function(t){t.preventdefault()}),i.removeclass(n.settings.class.close).addclass(n.settings.class.open).drawercallback(function(){n.settings.state=!0,i.trigger(n.settings.events.opened)})},close:function(){var i=t(this);return e&&i.off("touchmove.drawer"),i.removeclass(n.settings.class.open).addclass(n.settings.class.close).drawercallback(function(){n.settings.state=!1,i.trigger(n.settings.events.closed)})},destroy:function(){return this.each(function(){var e=this,i=t(this);t("."+n.settings.class.toggle).off("click.drawer"),t(window).off("resize.drawer"),t("."+n.settings.class.dropdown).off(n.settings.dropdownevents.opened+" "+n.settings.dropdownevents.closed),e.iscroll.destroy(),i.removedata("drawer").find("."+n.settings.class.overlay).remove()})}};t.fn.drawercallback=function(e){var n="transitionend webkittransitionend";return this.each(function(){var i=t(this);i.on(n,function(){return i.off(n),e.call(this)})})},t.fn.drawer=function(e){return n[e]?n[e].apply(this,array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("method "+e+" does not exist on jquery.drawer"):n.init.apply(this,arguments)}})},{jquery:5}],5:[function(t,e,n){!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(t){if(!t.document)throw new error("jquery requires a window with a document");return n(t)}:n(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=!!t&&"length"in t&&t.length,n=rt.type(t);return"function"!==n&&!rt.iswindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function i(t,e,n){if(rt.isfunction(e))return rt.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodetype)return rt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(ht.test(e))return rt.filter(e,t,n);e=rt.filter(e,t)}return rt.grep(t,function(t){return j.call(e,t)>-1!==n})}function r(t,e){for(;(t=t[e])&&1!==t.nodetype;);return t}function o(t){var e={};return rt.each(t.match(mt)||[],function(t,n){e[n]=!0}),e}function s(){k.removeeventlistener("domcontentloaded",s),t.removeeventlistener("load",s),rt.ready()}function a(){this.expando=rt.expando+a.uid++}function l(t,e,n){var i;if(void 0===n&&1===t.nodetype)if(i="data-"+e.replace(st,"-$&").tolowercase(),"string"==typeof(n=t.getattribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:tt.test(n)?rt.parsejson(n):n)}catch(t){}wt.set(t,e,n)}else n=void 0;return n}function c(t,e,n,i){var r,o=1,s=20,a=i?function(){return i.cur()}:function(){return rt.css(t,e,"")},l=a(),c=n&&n[3]||(rt.cssnumber[e]?"":"px"),u=(rt.cssnumber[e]||"px"!==c&&+l)&&kt.exec(rt.css(t,e));if(u&&u[3]!==c){c=c||u[3],n=n||[],u=+l||1;do{o=o||".5",u/=o,rt.style(t,e,u+c)}while(o!==(o=a()/l)&&1!==o&&--s)}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}function u(t,e){var n=void 0!==t.getelementsbytagname?t.getelementsbytagname(e||"*"):void 0!==t.queryselectorall?t.queryselectorall(e||"*"):[];return void 0===e||e&&rt.nodename(t,e)?rt.merge([t],n):n}function h(t,e){for(var n=0,i=t.length;n-1)r&&r.push(o);else if(c=rt.contains(o.ownerdocument,o),s=u(d.appendchild(o),"script"),c&&h(s),n)for(p=0;o=s[p++];)nt.test(o.type||"")&&n.push(o);return d}function d(){return!0}function f(){return!1}function g(){try{return k.activeelement}catch(t){}}function m(t,e,n,i,r,o){var s,a;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(a in e)m(t,a,n,i,e[a],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=f;else if(!r)return t;return 1===o&&(s=r,r=function(t){return rt().off(t),s.apply(this,arguments)},r.guid=s.guid||(s.guid=rt.guid++)),t.each(function(){rt.event.add(this,e,r,i,n)})}function v(t,e){return rt.nodename(t,"table")&&rt.nodename(11!==e.nodetype?e:e.firstchild,"tr")?t.getelementsbytagname("tbody")[0]||t.appendchild(t.ownerdocument.createelement("tbody")):t}function y(t){return t.type=(null!==t.getattribute("type"))+"/"+t.type,t}function x(t){var e=yt.exec(t.type);return e?t.type=e[1]:t.removeattribute("type"),t}function b(t,e){var n,i,r,o,s,a,l,c;if(1===e.nodetype){if(bt.hasdata(t)&&(o=bt.access(t),s=bt.set(e,o),c=o.events)){delete s.handle,s.events={};for(r in c)for(n=0,i=c[r].length;n1&&"string"==typeof g&&!it.checkclone&&qt.test(g))return t.each(function(r){var o=t.eq(r);m&&(e[0]=g.call(this,r,o.html())),t(o,e,n,i)});if(d&&(r=p(e,t[0].ownerdocument,!1,t,i),o=r.firstchild,1===r.childnodes.length&&(r=o),o||i)){for(s=rt.map(u(r,"script"),y),a=s.length;h")).appendto(e.documentelement),e=it[0].contentdocument,e.write(),e.close(),n=e(t,e),it.detach()),mt[t]=n),n}function c(t,e,n){var i,r,o,s,a=t.style;return n=n||ft(t),s=n?n.getpropertyvalue(e)||n[e]:void 0,""!==s&&void 0!==s||rt.contains(t.ownerdocument,t)||(s=rt.style(t,e)),n&&!it.pixelmarginright()&&rt.test(s)&&bt.test(e)&&(i=a.width,r=a.minwidth,o=a.maxwidth,a.minwidth=a.maxwidth=a.width=s,s=n.width,a.width=i,a.minwidth=r,a.maxwidth=o),void 0!==s?s+"":s}function d(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function a(t){if(t in qt)return t;for(var e=t[0].touppercase()+t.slice(1),n=gt.length;n--;)if((t=gt[n]+e)in qt)return t}function p(t,e,n){var i=kt.exec(e);return i?math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function n(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=rt.css(t,n+ct[o],!0,r)),i?("content"===n&&(s-=rt.css(t,"padding"+ct[o],!0,r)),"margin"!==n&&(s-=rt.css(t,"border"+ct[o]+"width",!0,r))):(s+=rt.css(t,"padding"+ct[o],!0,r),"padding"!==n&&(s+=rt.css(t,"border"+ct[o]+"width",!0,r)));return s}function _(t,e,n){var i=!0,r="width"===e?t.offsetwidth:t.offsetheight,o=ft(t),s="border-box"===rt.css(t,"boxsizing",!1,o);if(r<=0||null==r){if(r=c(t,e,o),(r<0||null==r)&&(r=t.style[e]),rt.test(r))return r;i=s&&(it.boxsizingreliable()||r===t.style[e]),r=parsefloat(r)||0}return r+n(t,e,n||(s?"border":"content"),i,o)+"px"}function h(t,e){for(var n,i,r,o=[],s=0,a=t.length;s=0&&n=0},isplainobject:function(t){var e;if("object"!==rt.type(t)||t.nodetype||rt.iswindow(t))return!1;if(t.constructor&&!nt.call(t,"constructor")&&!nt.call(t.constructor.prototype||{},"isprototypeof"))return!1;for(e in t);return void 0===e||nt.call(t,e)},isemptyobject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[et.call(t)]||"object":typeof t},globaleval:function(t){var e,n=eval;(t=rt.trim(t))&&(1===t.indexof("use strict")?(e=k.createelement("script"),e.text=t,k.head.appendchild(e).parentnode.removechild(e)):n(t))},camelcase:function(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,ot)},nodename:function(t,e){return t.nodename&&t.nodename.tolowercase()===e.tolowercase()},each:function(t,e){var i,r=0;if(n(t))for(i=t.length;rb.cachelength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[q]=!0,t}function r(t){var e=n.createelement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentnode&&e.parentnode.removechild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=n.length;i--;)b.attrhandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodetype&&1===e.nodetype&&(~e.sourceindex||z)-(~t.sourceindex||z);if(i)return i;if(n)for(;n=n.nextsibling;)if(n===e)return-1;return t?1:-1}function a(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function l(t){return t&&void 0!==t.getelementsbytagname&&t}function c(){}function u(t){for(var e=0,n=t.length,i="";e1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function d(t,n,i){for(var r=0,o=n.length;r-1&&(i[c]=!(s[c]=h))}}else x=f(x===s?x.splice(m,x.length):x),o?o(null,s,x,l):g.apply(s,x)})}function m(t){for(var e,n,i,r=t.length,o=b.relative[t[0].type],s=o||b.relative[" "],a=o?1:0,l=h(function(t){return t===e},s,!0),c=h(function(t){return z(e,t)>-1},s,!0),d=[function(t,n,i){var r=!o&&(i||n!==c)||((e=n).nodetype?l(t,n,i):c(t,n,i));return e=null,r}];a1&&p(d),a>1&&u(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ot,"$1"),n,a0,o=t.length>0,s=function(i,s,a,l,c){var u,h,p,d=0,g="0",m=i&&[],v=[],y=c,x=i||o&&b.find.tag("*",c),w=w+=null==y?1:math.random()||.1,t=x.length;for(c&&(c=s===n||s||c);g!==t&&null!=(u=x[g]);g++){if(o&&u){for(h=0,s||u.ownerdocument===n||(p(u),a=!h);p=t[h++];)if(p(u,s||n,a)){l.push(u);break}c&&(w=w)}r&&((u=!p&&u)&&d--,i&&m.push(u))}if(d+=g,r&&g!==d){for(h=0;p=n[h++];)p(m,v,s,a);if(i){if(d>0)for(;g--;)m[g]||v[g]||(v[g]=v.call(l));v=f(v)}g.apply(l,v),c&&!i&&v.length>0&&d+n.length>1&&e.uniquesort(l)}return c&&(w=w,c=y),m};return r?i(s):s}var y,x,b,w,t,s,e,k,c,d,a,p,n,_,h,j,l,x,o,q="sizzle"+1*new date,y=t.document,w=0,i=0,m=n(),b=n(),r=n(),f=function(t,e){return t===e&&(a=!0),0},z=1<<31,$={}.hasownproperty,u=[],v=u.pop,k=u.push,g=u.push,q=u.slice,z=function(t,e){for(var n=0,i=t.length;n+~]|"+tt+")"+tt+"*"),lt=new regexp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),ct=new regexp(it),ut=new regexp("^"+et+"$"),ht={id:new regexp("^#("+et+")"),class:new regexp("^\\.("+et+")"),tag:new regexp("^("+et+"|[*])"),attr:new regexp("^"+nt),pseudo:new regexp("^"+it),child:new regexp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new regexp("^(?:"+j+")$","i"),needscontext:new regexp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,dt=/^h\d$/i,ft=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,mt=/[+~]/,vt=/'|\\/g,yt=new regexp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),xt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?string.fromcharcode(i+65536):string.fromcharcode(i>>10|55296,1023&i|56320)},bt=function(){p()};try{ g.apply(u=q.call(y.childnodes),y.childnodes),u[y.childnodes.length].nodetype}catch(t){g={apply:u.length?function(t,e){k.apply(t,q.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}x=e.support={},t=e.isxml=function(t){var e=t&&(t.ownerdocument||t).documentelement;return!!e&&"html"!==e.nodename},p=e.setdocument=function(t){var e,n,i=t?t.ownerdocument||t:y;return i!==n&&9===i.nodetype&&i.documentelement?(n=i,_=n.documentelement,h=!t(n),(n=n.defaultview)&&n.top!==n&&(n.addeventlistener?n.addeventlistener("unload",bt,!1):n.attachevent&&n.attachevent("onunload",bt)),x.attributes=r(function(t){return t.classname="i",!t.getattribute("classname")}),x.getelementsbytagname=r(function(t){return t.appendchild(n.createcomment("")),!t.getelementsbytagname("*").length}),x.getelementsbyclassname=ft.test(n.getelementsbyclassname),x.getbyid=r(function(t){return _.appendchild(t).id=q,!n.getelementsbyname||!n.getelementsbyname(q).length}),x.getbyid?(b.find.id=function(t,e){if(void 0!==e.getelementbyid&&h){var n=e.getelementbyid(t);return n?[n]:[]}},b.filter.id=function(t){var e=t.replace(yt,xt);return function(t){return t.getattribute("id")===e}}):(delete b.find.id,b.filter.id=function(t){var e=t.replace(yt,xt);return function(t){var n=void 0!==t.getattributenode&&t.getattributenode("id");return n&&n.value===e}}),b.find.tag=x.getelementsbytagname?function(t,e){return void 0!==e.getelementsbytagname?e.getelementsbytagname(t):x.qsa?e.queryselectorall(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getelementsbytagname(t);if("*"===t){for(;n=o[r++];)1===n.nodetype&&i.push(n);return i}return o},b.find.class=x.getelementsbyclassname&&function(t,e){if(void 0!==e.getelementsbyclassname&&h)return e.getelementsbyclassname(t)},l=[],j=[],(x.qsa=ft.test(n.queryselectorall))&&(r(function(t){_.appendchild(t).innerhtml="",t.queryselectorall("[msallowcapture^='']").length&&j.push("[*^$]="+tt+"*(?:''|\"\")"),t.queryselectorall("[selected]").length||j.push("\\["+tt+"*(?:value|"+j+")"),t.queryselectorall("[id~="+q+"-]").length||j.push("~="),t.queryselectorall(":checked").length||j.push(":checked"),t.queryselectorall("a#"+q+"+*").length||j.push(".#.+[+~]")}),r(function(t){var e=n.createelement("input");e.setattribute("type","hidden"),t.appendchild(e).setattribute("name","d"),t.queryselectorall("[name=d]").length&&j.push("name"+tt+"*[*^$|!~]?="),t.queryselectorall(":enabled").length||j.push(":enabled",":disabled"),t.queryselectorall("*,:x"),j.push(",.*:")})),(x.matchesselector=ft.test(x=_.matches||_.webkitmatchesselector||_.mozmatchesselector||_.omatchesselector||_.msmatchesselector))&&r(function(t){x.disconnectedmatch=x.call(t,"div"),x.call(t,"[s!='']:x"),l.push("!=",it)}),j=j.length&&new regexp(j.join("|")),l=l.length&&new regexp(l.join("|")),e=ft.test(_.comparedocumentposition),o=e||ft.test(_.contains)?function(t,e){var n=9===t.nodetype?t.documentelement:t,i=e&&e.parentnode;return t===i||!(!i||1!==i.nodetype||!(n.contains?n.contains(i):t.comparedocumentposition&&16&t.comparedocumentposition(i)))}:function(t,e){if(e)for(;e=e.parentnode;)if(e===t)return!0;return!1},f=e?function(t,e){if(t===e)return a=!0,0;var n=!t.comparedocumentposition-!e.comparedocumentposition;return n||(n=(t.ownerdocument||t)===(e.ownerdocument||e)?t.comparedocumentposition(e):1,1&n||!x.sortdetached&&e.comparedocumentposition(t)===n?t===n||t.ownerdocument===y&&o(y,t)?-1:e===n||e.ownerdocument===y&&o(y,e)?1:d?z(d,t)-z(d,e):0:4&n?-1:1)}:function(t,e){if(t===e)return a=!0,0;var n,i=0,r=t.parentnode,o=e.parentnode,a=[t],l=[e];if(!r||!o)return t===n?-1:e===n?1:r?-1:o?1:d?z(d,t)-z(d,e):0;if(r===o)return s(t,e);for(n=t;n=n.parentnode;)a.unshift(n);for(n=e;n=n.parentnode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?s(a[i],l[i]):a[i]===y?-1:l[i]===y?1:0},n):n},e.matches=function(t,n){return e(t,null,null,n)},e.matchesselector=function(t,n){if((t.ownerdocument||t)!==n&&p(t),n=n.replace(lt,"='$1']"),x.matchesselector&&h&&!r[n+" "]&&(!l||!l.test(n))&&(!j||!j.test(n)))try{var i=x.call(t,n);if(i||x.disconnectedmatch||t.document&&11!==t.document.nodetype)return i}catch(t){}return e(n,n,null,[t]).length>0},e.contains=function(t,e){return(t.ownerdocument||t)!==n&&p(t),o(t,e)},e.attr=function(t,e){(t.ownerdocument||t)!==n&&p(t);var n=b.attrhandle[e.tolowercase()],i=n&&$.call(b.attrhandle,e.tolowercase())?n(t,e,!h):void 0;return void 0!==i?i:x.attributes||!h?t.getattribute(e):(i=t.getattributenode(e))&&i.specified?i.value:null},e.error=function(t){throw new error("syntax error, unrecognized expression: "+t)},e.uniquesort=function(t){var e,n=[],i=0,r=0;if(a=!x.detectduplicates,d=!x.sortstable&&t.slice(0),t.sort(f),a){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return d=null,t},w=e.gettext=function(t){var e,n="",i=0,r=t.nodetype;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textcontent)return t.textcontent;for(t=t.firstchild;t;t=t.nextsibling)n+=w(t)}else if(3===r||4===r)return t.nodevalue}else for(;e=t[i++];)n+=w(e);return n},b=e.selectors={cachelength:50,createpseudo:i,match:ht,attrhandle:{},find:{},relative:{">":{dir:"parentnode",first:!0}," ":{dir:"parentnode"},"+":{dir:"previoussibling",first:!0},"~":{dir:"previoussibling"}},prefilter:{attr:function(t){return t[1]=t[1].replace(yt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(yt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},child:function(t){return t[1]=t[1].tolowercase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},pseudo:function(t){var e,n=!t[6]&&t[2];return ht.child.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ct.test(n)&&(e=s(n,!0))&&(e=n.indexof(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{tag:function(t){var e=t.replace(yt,xt).tolowercase();return"*"===t?function(){return!0}:function(t){return t.nodename&&t.nodename.tolowercase()===e}},class:function(t){var e=m[t+" "];return e||(e=new regexp("(^|"+tt+")"+t+"("+tt+"|$)"))&&m(t,function(t){return e.test("string"==typeof t.classname&&t.classname||void 0!==t.getattribute&&t.getattribute("class")||"")})},attr:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexof(i):"*="===n?i&&o.indexof(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(rt," ")+" ").indexof(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},child:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentnode}:function(e,n,l){var c,u,h,p,d,f,g=o!==s?"nextsibling":"previoussibling",m=e.parentnode,v=a&&e.nodename.tolowercase(),y=!l&&!a,x=!1;if(m){if(o){for(;g;){for(p=e;p=p[g];)if(a?p.nodename.tolowercase()===v:1===p.nodetype)return!1;f=g="only"===t&&!f&&"nextsibling"}return!0}if(f=[s?m.firstchild:m.lastchild],s&&y){for(p=m,h=p[q]||(p[q]={}),u=h[p.uniqueid]||(h[p.uniqueid]={}),c=u[t]||[],d=c[0]===w&&c[1],x=d&&c[2],p=d&&m.childnodes[d];p=++d&&p&&p[g]||(x=d=0)||f.pop();)if(1===p.nodetype&&++x&&p===e){u[t]=[w,d,x];break}}else if(y&&(p=e,h=p[q]||(p[q]={}),u=h[p.uniqueid]||(h[p.uniqueid]={}),c=u[t]||[],d=c[0]===w&&c[1],x=d),!1===x)for(;(p=++d&&p&&p[g]||(x=d=0)||f.pop())&&((a?p.nodename.tolowercase()!==v:1!==p.nodetype)||!++x||(y&&(h=p[q]||(p[q]={}),u=h[p.uniqueid]||(h[p.uniqueid]={}),u[t]=[w,x]),p!==e)););return(x-=r)===i||x%i==0&&x/i>=0}}},pseudo:function(t,n){var r,o=b.pseudos[t]||b.setfilters[t.tolowercase()]||e.error("unsupported pseudo: "+t);return o[q]?o(n):o.length>1?(r=[t,t,"",n],b.setfilters.hasownproperty(t.tolowercase())?i(function(t,e){for(var i,r=o(t,n),s=r.length;s--;)i=z(t,r[s]),t[i]=!(e[i]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=e(t.replace(ot,"$1"));return r[q]?i(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(yt,xt),function(e){return(e.textcontent||e.innertext||w(e)).indexof(t)>-1}}),lang:i(function(t){return ut.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(yt,xt).tolowercase(),function(e){var n;do{if(n=h?e.lang:e.getattribute("xml:lang")||e.getattribute("lang"))return(n=n.tolowercase())===t||0===n.indexof(t+"-")}while((e=e.parentnode)&&1===e.nodetype);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===_},focus:function(t){return t===n.activeelement&&(!n.hasfocus||n.hasfocus())&&!!(t.type||t.href||~t.tabindex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodename.tolowercase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentnode&&t.parentnode.selectedindex,!0===t.selected},empty:function(t){for(t=t.firstchild;t;t=t.nextsibling)if(t.nodetype<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return dt.test(t.nodename)},input:function(t){return pt.test(t.nodename)},button:function(t){var e=t.nodename.tolowercase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodename.tolowercase()&&"text"===t.type&&(null==(e=t.getattribute("type"))||"text"===e.tolowercase())},first:a(function(){return[0]}),last:a(function(t,e){return[e-1]}),eq:a(function(t,e,n){return[n<0?n+e:n]}),even:a(function(t,e){for(var n=0;n=0;)t.push(i);return t}),gt:a(function(t,e,n){for(var i=n<0?n+e:n;++i2&&"id"===(s=o[0]).type&&x.getbyid&&9===e.nodetype&&h&&b.relative[o[1].type]){if(!(e=(b.find.id(s.matches[0].replace(yt,xt),e)||[])[0]))return n;h&&(e=e.parentnode),t=t.slice(o.shift().value.length)}for(r=ht.needscontext.test(t)?0:o.length;r--&&(s=o[r],!b.relative[a=s.type]);)if((c=b.find[a])&&(i=c(s.matches[0].replace(yt,xt),mt.test(o[0].type)&&l(e.parentnode)||e))){if(o.splice(r,1),!(t=i.length&&u(o)))return g.apply(n,i),n;break}}return(h||e(t,p))(i,e,!h,n,!e||mt.test(t)&&l(e.parentnode)||e),n},x.sortstable=q.split("").sort(f).join("")===q,x.detectduplicates=!!a,p(),x.sortdetached=r(function(t){return 1&t.comparedocumentposition(n.createelement("div"))}),r(function(t){return t.innerhtml="","#"===t.firstchild.getattribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getattribute(e,"type"===e.tolowercase()?1:2)}),x.attributes&&r(function(t){return t.innerhtml="",t.firstchild.setattribute("value",""),""===t.firstchild.getattribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodename.tolowercase())return t.defaultvalue}),r(function(t){return null==t.getattribute("disabled")})||o(j,function(t,e,n){var i;if(!n)return!0===t[e]?e.tolowercase():(i=t.getattributenode(e))&&i.specified?i.value:null}),e}(t);rt.find=st,rt.expr=st.selectors,rt.expr[":"]=rt.expr.pseudos,rt.uniquesort=rt.unique=st.uniquesort,rt.text=st.gettext,rt.isxmldoc=st.isxml,rt.contains=st.contains;var at=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodetype;)if(1===t.nodetype){if(r&&rt(t).is(n))break;i.push(t)}return i},lt=function(t,e){for(var n=[];t;t=t.nextsibling)1===t.nodetype&&t!==e&&n.push(t);return n},ct=rt.expr.match.needscontext,ut=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ht=/^.[^:#\[\.,]*$/;rt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodetype?rt.find.matchesselector(i,t)?[i]:[]:rt.find.matches(t,rt.grep(e,function(t){return 1===t.nodetype}))},rt.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;if("string"!=typeof t)return this.pushstack(rt(t).filter(function(){for(e=0;e1?rt.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushstack(i(this,t||[],!1))},not:function(t){return this.pushstack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ct.test(t)?rt(t):t||[],!1).length}});var pt,dt=/^(?:\s*(<[\w\w]+>)[^>]*|#([\w-]*))$/;(rt.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||pt,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:dt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof rt?e[0]:e,rt.merge(this,rt.parsehtml(i[1],e&&e.nodetype?e.ownerdocument||e:k,!0)),ut.test(i[1])&&rt.isplainobject(e))for(i in e)rt.isfunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return r=k.getelementbyid(i[2]),r&&r.parentnode&&(this.length=1,this[0]=r),this.context=k,this.selector=t,this}return t.nodetype?(this.context=this[0]=t,this.length=1,this):rt.isfunction(t)?void 0!==n.ready?n.ready(t):t(rt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),rt.makearray(t,this))}).prototype=rt.fn,pt=rt(k);var ft=/^(?:parents|prev(?:until|all))/,gt={children:!0,contents:!0,next:!0,prev:!0};rt.fn.extend({has:function(t){var e=rt(t,this),n=e.length;return this.filter(function(){for(var t=0;t-1:1===n.nodetype&&rt.find.matchesselector(n,t))){o.push(n);break}return this.pushstack(o.length>1?rt.uniquesort(o):o)},index:function(t){return t?"string"==typeof t?j.call(rt(t),this[0]):j.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentnode?this.first().prevall().length:-1},add:function(t,e){return this.pushstack(rt.uniquesort(rt.merge(this.get(),rt(t,e))))},addback:function(t){return this.add(null==t?this.prevobject:this.prevobject.filter(t))}}),rt.each({parent:function(t){var e=t.parentnode;return e&&11!==e.nodetype?e:null},parents:function(t){return at(t,"parentnode")},parentsuntil:function(t,e,n){return at(t,"parentnode",n)},next:function(t){return r(t,"nextsibling")},prev:function(t){return r(t,"previoussibling")},nextall:function(t){return at(t,"nextsibling")},prevall:function(t){return at(t,"previoussibling")},nextuntil:function(t,e,n){return at(t,"nextsibling",n)},prevuntil:function(t,e,n){return at(t,"previoussibling",n)},siblings:function(t){return lt((t.parentnode||{}).firstchild,t)},children:function(t){return lt(t.firstchild)},contents:function(t){return t.contentdocument||rt.merge([],t.childnodes)}},function(t,e){rt.fn[t]=function(n,i){var r=rt.map(this,e,n);return"until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=rt.filter(i,r)),this.length>1&&(gt[t]||rt.uniquesort(r),ft.test(t)&&r.reverse()),this.pushstack(r)}});var mt=/\s+/g;rt.callbacks=function(t){t="string"==typeof t?o(t):rt.extend({},t);var e,n,i,r,s=[],a=[],l=-1,c=function(){for(r=t.once,i=e=!0;a.length;l=-1)for(n=a.shift();++l-1;)s.splice(n,1),n<=l&&l--}),this},has:function(t){return t?rt.inarray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return r=a=[],n||(s=n=""),this},locked:function(){return!!r},firewith:function(t,n){return r||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||c()),this},fire:function(){return u.firewith(this,arguments),this},fired:function(){return!!i}};return u},rt.extend({deferred:function(t){var e=[["resolve","done",rt.callbacks("once memory"),"resolved"],["reject","fail",rt.callbacks("once memory"),"rejected"],["notify","progress",rt.callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return rt.deferred(function(n){rt.each(e,function(e,o){var s=rt.isfunction(t[e])&&t[e];r[o[1]](function(){var t=s&&s.apply(this,arguments);t&&rt.isfunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"with"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?rt.extend(t,i):i}},r={};return i.pipe=i.then,rt.each(e,function(t,o){var s=o[2],a=o[3];i[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"with"](this===r?i:this,arguments),this},r[o[0]+"with"]=s.firewith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=g.call(arguments),s=o.length,a=1!==s||t&&rt.isfunction(t.promise)?s:0,l=1===a?t:rt.deferred(),c=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?g.call(arguments):r,i===e?l.notifywith(n,i):--a||l.resolvewith(n,i)}};if(s>1)for(e=new array(s),n=new array(s),i=new array(s);r0||(vt.resolvewith(k,[rt]),rt.fn.triggerhandler&&(rt(k).triggerhandler("ready"),rt(k).off("ready"))))}}),rt.ready.promise=function(e){return vt||(vt=rt.deferred(),"complete"===k.readystate||"loading"!==k.readystate&&!k.documentelement.doscroll?t.settimeout(rt.ready):(k.addeventlistener("domcontentloaded",s),t.addeventlistener("load",s))),vt.promise(e)},rt.ready.promise();var yt=function(t,e,n,i,r,o,s){var a=0,l=t.length,c=null==n;if("object"===rt.type(n)){r=!0;for(a in n)yt(t,e,a,n[a],!0,o,s)}else if(void 0!==i&&(r=!0,rt.isfunction(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(rt(t),n)})),e))for(;a-1&&void 0!==n&&wt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removedata:function(t){return this.each(function(){wt.remove(this,t)})}}),rt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=bt.get(t,e),n&&(!i||rt.isarray(n)?i=bt.access(t,e,rt.makearray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=rt.queue(t,e),i=n.length,r=n.shift(),o=rt._queuehooks(t,e),s=function(){rt.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,s,o)),!i&&o&&o.empty.fire()},_queuehooks:function(t,e){var n=e+"queuehooks";return bt.get(t,n)||bt.access(t,n,{empty:rt.callbacks("once memory").add(function(){bt.remove(t,[e+"queue",n])})})}}),rt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};_t.optgroup=_t.option,_t.tbody=_t.tfoot=_t.colgroup=_t.caption=_t.thead,_t.th=_t.td;var ht=/<|&#?\w+;/;!function(){var t=k.createdocumentfragment(),e=t.appendchild(k.createelement("div")),n=k.createelement("input");n.setattribute("type","radio"),n.setattribute("checked","checked"),n.setattribute("name","t"),e.appendchild(n),it.checkclone=e.clonenode(!0).clonenode(!0).lastchild.checked,e.innerhtml="",it.noclonechecked=!!e.clonenode(!0).lastchild.defaultvalue}();var jt=/^key/,lt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xt=/^([^.]*)(?:\.(.+)|)/;rt.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,c,u,h,p,d,f,g,m=bt.get(t);if(m)for(n.handler&&(o=n,n=o.handler,r=o.selector),n.guid||(n.guid=rt.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(e){return void 0!==rt&&rt.event.triggered!==e.type?rt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(mt)||[""],c=e.length;c--;)a=xt.exec(e[c])||[],d=g=a[1],f=(a[2]||"").split(".").sort(),d&&(h=rt.event.special[d]||{},d=(r?h.delegatetype:h.bindtype)||d,h=rt.event.special[d]||{},u=rt.extend({type:d,origtype:g,data:i,handler:n,guid:n.guid,selector:r,needscontext:r&&rt.expr.match.needscontext.test(r),namespace:f.join(".")},o),(p=l[d])||(p=l[d]=[],p.delegatecount=0,h.setup&&!1!==h.setup.call(t,i,f,s)||t.addeventlistener&&t.addeventlistener(d,s)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?p.splice(p.delegatecount++,0,u):p.push(u),rt.event.global[d]=!0)},remove:function(t,e,n,i,r){var o,s,a,l,c,u,h,p,d,f,g,m=bt.hasdata(t)&&bt.get(t);if(m&&(l=m.events)){for(e=(e||"").match(mt)||[""],c=e.length;c--;)if(a=xt.exec(e[c])||[],d=g=a[1],f=(a[2]||"").split(".").sort(),d){for(h=rt.event.special[d]||{},d=(i?h.delegatetype:h.bindtype)||d,p=l[d]||[],a=a[2]&&new regexp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)u=p[o],!r&&g!==u.origtype||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(o,1),u.selector&&p.delegatecount--,h.remove&&h.remove.call(t,u));s&&!p.length&&(h.teardown&&!1!==h.teardown.call(t,f,m.handle)||rt.removeevent(t,d,m.handle),delete l[d])}else for(d in l)rt.event.remove(t,d+e[c],n,i,!0);rt.isemptyobject(l)&&bt.remove(t,"handle events")}},dispatch:function(t){t=rt.event.fix(t);var e,n,i,r,o,s=[],a=g.call(arguments),l=(bt.get(this,"events")||{})[t.type]||[],c=rt.event.special[t.type]||{};if(a[0]=t,t.delegatetarget=this,!c.predispatch||!1!==c.predispatch.call(this,t)){for(s=rt.event.handlers.call(this,t,l),e=0;(r=s[e++])&&!t.ispropagationstopped();)for(t.currenttarget=r.elem,n=0;(o=r.handlers[n++])&&!t.isimmediatepropagationstopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleobj=o,t.data=o.data,void 0!==(i=((rt.event.special[o.origtype]||{}).handle||o.handler).apply(r.elem,a))&&!1===(t.result=i)&&(t.preventdefault(),t.stoppropagation()));return c.postdispatch&&c.postdispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,s=[],a=e.delegatecount,l=t.target;if(a&&l.nodetype&&("click"!==t.type||isnan(t.button)||t.button<1))for(;l!==this;l=l.parentnode||this)if(1===l.nodetype&&(!0!==l.disabled||"click"!==t.type)){for(i=[],n=0;n-1:rt.find(r,this,null,[l]).length),i[r]&&i.push(o);i.length&&s.push({elem:l,handlers:i})}return a\s*$/g;rt.extend({htmlprefilter:function(t){return t.replace(/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,"<$1>")},clone:function(t,e,n){var i,r,o,s,a=t.clonenode(!0),l=rt.contains(t.ownerdocument,t);if(!(it.noclonechecked||1!==t.nodetype&&11!==t.nodetype||rt.isxmldoc(t)))for(s=u(a),o=u(t),i=0,r=o.length;i0&&h(s,!l&&u(t,"script")),a},cleandata:function(t){for(var e,n,i,r=rt.event.special,o=0;void 0!==(n=t[o]);o++)if(xt(n)){if(e=n[bt.expando]){if(e.events)for(i in e.events)r[i]?rt.event.remove(n,i):rt.removeevent(n,i,e.handle);n[bt.expando]=void 0}n[wt.expando]&&(n[wt.expando]=void 0)}}}),rt.fn.extend({dommanip:t,detach:function(t){return s(this,t,!0)},remove:function(t){return s(this,t)},text:function(t){return yt(this,function(t){return void 0===t?rt.text(this):this.empty().each(function(){1!==this.nodetype&&11!==this.nodetype&&9!==this.nodetype||(this.textcontent=t)})},null,t,arguments.length)},append:function(){return t(this,arguments,function(t){ if(1===this.nodetype||11===this.nodetype||9===this.nodetype){v(this,t).appendchild(t)}})},prepend:function(){return t(this,arguments,function(t){if(1===this.nodetype||11===this.nodetype||9===this.nodetype){var e=v(this,t);e.insertbefore(t,e.firstchild)}})},before:function(){return t(this,arguments,function(t){this.parentnode&&this.parentnode.insertbefore(t,this)})},after:function(){return t(this,arguments,function(t){this.parentnode&&this.parentnode.insertbefore(t,this.nextsibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodetype&&(rt.cleandata(u(t,!1)),t.textcontent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return rt.clone(this,t,e)})},html:function(t){return yt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodetype)return e.innerhtml;if("string"==typeof t&&!ot.test(t)&&!_t[(pt.exec(t)||["",""])[1].tolowercase()]){t=rt.htmlprefilter(t);try{for(;n1)},show:function(){return h(this,!0)},hide:function(){return h(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){dt(this)?rt(this).show():rt(this).hide()})}}),rt.tween=j,j.prototype={constructor:j,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||rt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(rt.cssnumber[n]?"":"px")},cur:function(){var t=j.prophooks[this.prop];return t&&t.get?t.get(this):j.prophooks._default.get(this)},run:function(t){var e,n=j.prophooks[this.prop];return this.options.duration?this.pos=e=rt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):j.prophooks._default.set(this),this}},j.prototype.init.prototype=j.prototype,j.prophooks={_default:{get:function(t){var e;return 1!==t.elem.nodetype||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=rt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){rt.fx.step[t.prop]?rt.fx.step[t.prop](t):1!==t.elem.nodetype||null==t.elem.style[rt.cssprops[t.prop]]&&!rt.csshooks[t.prop]?t.elem[t.prop]=t.now:rt.style(t.elem,t.prop,t.now+t.unit)}}},j.prophooks.scrolltop=j.prophooks.scrollleft={set:function(t){t.elem.nodetype&&t.elem.parentnode&&(t.elem[t.prop]=t.now)}},rt.easing={linear:function(t){return t},swing:function(t){return.5-math.cos(t*math.pi)/2},_default:"swing"},rt.fx=j.prototype.init,rt.fx.step={};var zt,jt,te=/^(?:toggle|show|hide)$/,ee=/queuehooks$/;rt.animation=rt.extend(w,{tweeners:{"*":[function(t,e){var n=this.createtween(t,e);return c(n.elem,t,kt.exec(e),n),n}]},tweener:function(t,e){rt.isfunction(t)?(e=t,t=["*"]):t=t.match(mt);for(var n,i=0,r=t.length;i1)},removeattr:function(t){return this.each(function(){rt.removeattr(this,t)})}}),rt.extend({attr:function(t,e,n){var i,r,o=t.nodetype;if(3!==o&&8!==o&&2!==o)return void 0===t.getattribute?rt.prop(t,e,n):(1===o&&rt.isxmldoc(t)||(e=e.tolowercase(),r=rt.attrhooks[e]||(rt.expr.match.bool.test(e)?ne:void 0)),void 0!==n?null===n?void rt.removeattr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setattribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:(i=rt.find.attr(t,e),null==i?void 0:i))},attrhooks:{type:{set:function(t,e){if(!it.radiovalue&&"radio"===e&&rt.nodename(t,"input")){var n=t.value;return t.setattribute("type",e),n&&(t.value=n),e}}}},removeattr:function(t,e){var n,i,r=0,o=e&&e.match(mt);if(o&&1===t.nodetype)for(;n=o[r++];)i=rt.propfix[n]||n,rt.expr.match.bool.test(n)&&(t[i]=!1),t.removeattribute(n)}}),ne={set:function(t,e,n){return!1===e?rt.removeattr(t,n):t.setattribute(n,n),n}},rt.each(rt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ie[e]||rt.find.attr;ie[e]=function(t,e,i){var r,o;return i||(o=ie[e],ie[e]=r,r=null!=n(t,e,i)?e.tolowercase():null,ie[e]=o),r}});var re=/^(?:input|select|textarea|button)$/i,oe=/^(?:a|area)$/i;rt.fn.extend({prop:function(t,e){return yt(this,rt.prop,t,e,arguments.length>1)},removeprop:function(t){return this.each(function(){delete this[rt.propfix[t]||t]})}}),rt.extend({prop:function(t,e,n){var i,r,o=t.nodetype;if(3!==o&&8!==o&&2!==o)return 1===o&&rt.isxmldoc(t)||(e=rt.propfix[e]||e,r=rt.prophooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},prophooks:{tabindex:{get:function(t){var e=rt.find.attr(t,"tabindex");return e?parseint(e,10):re.test(t.nodename)||oe.test(t.nodename)&&t.href?0:-1}}},propfix:{for:"htmlfor",class:"classname"}}),it.optselected||(rt.prophooks.selected={get:function(t){var e=t.parentnode;return e&&e.parentnode&&e.parentnode.selectedindex,null},set:function(t){var e=t.parentnode;e&&(e.selectedindex,e.parentnode&&e.parentnode.selectedindex)}}),rt.each(["tabindex","readonly","maxlength","cellspacing","cellpadding","rowspan","colspan","usemap","frameborder","contenteditable"],function(){rt.propfix[this.tolowercase()]=this});rt.fn.extend({addclass:function(t){var e,n,i,r,o,s,a,l=0;if(rt.isfunction(t))return this.each(function(e){rt(this).addclass(t.call(this,e,i(this)))});if("string"==typeof t&&t)for(e=t.match(mt)||[];n=this[l++];)if(r=i(n),i=1===n.nodetype&&(" "+r+" ").replace(/[\t\r\n\f]/g," ")){for(s=0;o=e[s++];)i.indexof(" "+o+" ")<0&&(i+=o+" ");a=rt.trim(i),r!==a&&n.setattribute("class",a)}return this},removeclass:function(t){var e,n,i,r,o,s,a,l=0;if(rt.isfunction(t))return this.each(function(e){rt(this).removeclass(t.call(this,e,i(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(mt)||[];n=this[l++];)if(r=i(n),i=1===n.nodetype&&(" "+r+" ").replace(/[\t\r\n\f]/g," ")){for(s=0;o=e[s++];)for(;i.indexof(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");a=rt.trim(i),r!==a&&n.setattribute("class",a)}return this},toggleclass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addclass(t):this.removeclass(t):rt.isfunction(t)?this.each(function(n){rt(this).toggleclass(t.call(this,n,i(this),e),e)}):this.each(function(){var e,i,r,o;if("string"===n)for(i=0,r=rt(this),o=t.match(mt)||[];e=o[i++];)r.hasclass(e)?r.removeclass(e):r.addclass(e);else void 0!==t&&"boolean"!==n||(e=i(this),e&&bt.set(this,"__classname__",e),this.setattribute&&this.setattribute("class",e||!1===t?"":bt.get(this,"__classname__")||""))})},hasclass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodetype&&(" "+i(n)+" ").replace(/[\t\r\n\f]/g," ").indexof(e)>-1)return!0;return!1}});rt.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=rt.isfunction(t),this.each(function(n){var r;1===this.nodetype&&(r=i?t.call(this,n,rt(this).val()):t,null==r?r="":"number"==typeof r?r+="":rt.isarray(r)&&(r=rt.map(r,function(t){return null==t?"":t+""})),(e=rt.valhooks[this.type]||rt.valhooks[this.nodename.tolowercase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return(e=rt.valhooks[r.type]||rt.valhooks[r.nodename.tolowercase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(/\r/g,""):null==n?"":n)}}}),rt.extend({valhooks:{option:{get:function(t){var e=rt.find.attr(t,"value");return null!=e?e:rt.trim(rt.text(t)).replace(/[\x20\t\r\n\f]+/g," ")}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedindex,o="select-one"===t.type||r<0,s=o?null:[],a=o?r+1:i.length,l=r<0?a:o?r:0;l-1)&&(n=!0);return n||(t.selectedindex=-1),o}}}}),rt.each(["radio","checkbox"],function(){rt.valhooks[this]={set:function(t,e){if(rt.isarray(e))return t.checked=rt.inarray(rt(t).val(),e)>-1}},it.checkon||(rt.valhooks[this].get=function(t){return null===t.getattribute("value")?"on":t.value})});var se=/^(?:focusinfocus|focusoutblur)$/;rt.extend(rt.event,{trigger:function(e,n,i,r){var o,s,a,l,c,u,h,p=[i||k],d=nt.call(e,"type")?e.type:e,f=nt.call(e,"namespace")?e.namespace.split("."):[];if(s=a=i=i||k,3!==i.nodetype&&8!==i.nodetype&&!se.test(d+rt.event.triggered)&&(d.indexof(".")>-1&&(f=d.split("."),d=f.shift(),f.sort()),c=d.indexof(":")<0&&"on"+d,e=e[rt.expando]?e:new rt.event(d,"object"==typeof e&&e),e.istrigger=r?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new regexp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:rt.makearray(n,[e]),h=rt.event.special[d]||{},r||!h.trigger||!1!==h.trigger.apply(i,n))){if(!r&&!h.nobubble&&!rt.iswindow(i)){for(l=h.delegatetype||d,se.test(l+d)||(s=s.parentnode);s;s=s.parentnode)p.push(s),a=s;a===(i.ownerdocument||k)&&p.push(a.defaultview||a.parentwindow||t)}for(o=0;(s=p[o++])&&!e.ispropagationstopped();)e.type=o>1?l:h.bindtype||d,u=(bt.get(s,"events")||{})[e.type]&&bt.get(s,"handle"),u&&u.apply(s,n),(u=c&&s[c])&&u.apply&&xt(s)&&(e.result=u.apply(s,n),!1===e.result&&e.preventdefault());return e.type=d,r||e.isdefaultprevented()||h._default&&!1!==h._default.apply(p.pop(),n)||!xt(i)||c&&rt.isfunction(i[d])&&!rt.iswindow(i)&&(a=i[c],a&&(i[c]=null),rt.event.triggered=d,i[d](),rt.event.triggered=void 0,a&&(i[c]=a)),e.result}},simulate:function(t,e,n){var i=rt.extend(new rt.event,n,{type:t,issimulated:!0});rt.event.trigger(i,null,e)}}),rt.fn.extend({trigger:function(t,e){return this.each(function(){rt.event.trigger(t,e,this)})},triggerhandler:function(t,e){var n=this[0];if(n)return rt.event.trigger(t,e,n,!0)}}),rt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){rt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),rt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),it.focusin="onfocusin"in t,it.focusin||rt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){rt.event.simulate(e,t.target,rt.event.fix(t))};rt.event.special[e]={setup:function(){var i=this.ownerdocument||this,r=bt.access(i,e);r||i.addeventlistener(t,n,!0),bt.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerdocument||this,r=bt.access(i,e)-1;r?bt.access(i,e,r):(i.removeeventlistener(t,n,!0),bt.remove(i,e))}}});var ae=t.location,le=rt.now(),ce=/\?/;rt.parsejson=function(t){return json.parse(t+"")},rt.parsexml=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.domparser).parsefromstring(e,"text/xml")}catch(t){n=void 0}return n&&!n.getelementsbytagname("parsererror").length||rt.error("invalid xml: "+e),n};var ue=/([?&])_=[^&]*/,he=/^(.*?):[ \t]*([^\r\n]*)$/gm,pe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,de=/^(?:get|head)$/,fe={},ge={},me="*/".concat("*"),ve=k.createelement("a");ve.href=ae.href,rt.extend({active:0,lastmodified:{},etag:{},ajaxsettings:{url:ae.href,type:"get",islocal:pe.test(ae.protocol),global:!0,processdata:!0,async:!0,contenttype:"application/x-www-form-urlencoded; charset=utf-8",accepts:{"*":me,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":rt.parsejson,"text xml":rt.parsexml},flatoptions:{url:!0,context:!0}},ajaxsetup:function(t,e){return e?r(r(t,rt.ajaxsettings),e):r(rt.ajaxsettings,t)},ajaxprefilter:m(fe),ajaxtransport:m(ge),ajax:function(e,n){function i(e,n,i,a){var c,h,y,x,w,s=n;2!==b&&(b=2,l&&t.cleartimeout(l),r=void 0,s=a||"",t.readystate=e>0?4:0,c=e>=200&&e<300||304===e,i&&(x=f(p,t,i)),x=z(p,x,t,c),c?(p.ifmodified&&(w=t.getresponseheader("last-modified"),w&&(rt.lastmodified[o]=w),(w=t.getresponseheader("etag"))&&(rt.etag[o]=w)),204===e||"head"===p.type?s="nocontent":304===e?s="notmodified":(s=x.state,h=x.data,y=x.error,c=!y)):(y=s,!e&&s||(s="error",e<0&&(e=0))),t.status=e,t.statustext=(n||s)+"",c?g.resolvewith(d,[h,s,t]):g.rejectwith(d,[t,s,y]),t.statuscode(v),v=void 0,u&&f.trigger(c?"ajaxsuccess":"ajaxerror",[t,p,c?h:y]),m.firewith(d,[t,s]),u&&(f.trigger("ajaxcomplete",[t,p]),--rt.active||rt.event.trigger("ajaxstop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var r,o,s,a,l,c,u,h,p=rt.ajaxsetup({},n),d=p.context||p,f=p.context&&(d.nodetype||d.jquery)?rt(d):rt.event,g=rt.deferred(),m=rt.callbacks("once memory"),v=p.statuscode||{},y={},x={},b=0,w="canceled",t={readystate:0,getresponseheader:function(t){var e;if(2===b){if(!a)for(a={};e=he.exec(s);)a[e[1].tolowercase()]=e[2];e=a[t.tolowercase()]}return null==e?null:e},getallresponseheaders:function(){return 2===b?s:null},setrequestheader:function(t,e){var n=t.tolowercase();return b||(t=x[n]=x[n]||t,y[t]=e),this},overridemimetype:function(t){return b||(p.mimetype=t),this},statuscode:function(t){var e;if(t)if(b<2)for(e in t)v[e]=[v[e],t[e]];else t.always(t[t.status]);return this},abort:function(t){var e=t||w;return r&&r.abort(e),i(0,e),this}};if(g.promise(t).complete=m.add,t.success=t.done,t.error=t.fail,p.url=((e||p.url||ae.href)+"").replace(/#.*$/,"").replace(/^\/\//,ae.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.datatypes=rt.trim(p.datatype||"*").tolowercase().match(mt)||[""],null==p.crossdomain){c=k.createelement("a");try{c.href=p.url,c.href=c.href,p.crossdomain=ve.protocol+"//"+ve.host!=c.protocol+"//"+c.host}catch(t){p.crossdomain=!0}}if(p.data&&p.processdata&&"string"!=typeof p.data&&(p.data=rt.param(p.data,p.traditional)),b(fe,p,n,t),2===b)return t;u=rt.event&&p.global,u&&0==rt.active++&&rt.event.trigger("ajaxstart"),p.type=p.type.touppercase(),p.hascontent=!de.test(p.type),o=p.url,p.hascontent||(p.data&&(o=p.url+=(ce.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=ue.test(o)?o.replace(ue,"$1_="+le++):o+(ce.test(o)?"&":"?")+"_="+le++)),p.ifmodified&&(rt.lastmodified[o]&&t.setrequestheader("if-modified-since",rt.lastmodified[o]),rt.etag[o]&&t.setrequestheader("if-none-match",rt.etag[o])),(p.data&&p.hascontent&&!1!==p.contenttype||n.contenttype)&&t.setrequestheader("content-type",p.contenttype),t.setrequestheader("accept",p.datatypes[0]&&p.accepts[p.datatypes[0]]?p.accepts[p.datatypes[0]]+("*"!==p.datatypes[0]?", "+me+"; q=0.01":""):p.accepts["*"]);for(h in p.headers)t.setrequestheader(h,p.headers[h]);if(p.beforesend&&(!1===p.beforesend.call(d,t,p)||2===b))return t.abort();w="abort";for(h in{success:1,error:1,complete:1})t[h](p[h]);if(r=b(ge,p,n,t)){if(t.readystate=1,u&&f.trigger("ajaxsend",[t,p]),2===b)return t;p.async&&p.timeout>0&&(l=t.settimeout(function(){t.abort("timeout")},p.timeout));try{b=1,r.send(y,i)}catch(t){if(!(b<2))throw t;i(-1,t)}}else i(-1,"no transport");return t},getjson:function(t,e,n){return rt.get(t,e,n,"json")},getscript:function(t,e){return rt.get(t,void 0,e,"script")}}),rt.each(["get","post"],function(t,e){rt[e]=function(t,n,i,r){return rt.isfunction(n)&&(r=r||i,i=n,n=void 0),rt.ajax(rt.extend({url:t,type:e,datatype:r,data:n,success:i},rt.isplainobject(t)&&t))}}),rt._evalurl=function(t){return rt.ajax({url:t,type:"get",datatype:"script",async:!1,global:!1,throws:!0})},rt.fn.extend({wrapall:function(t){var e;return rt.isfunction(t)?this.each(function(e){rt(this).wrapall(t.call(this,e))}):(this[0]&&(e=rt(t,this[0].ownerdocument).eq(0).clone(!0),this[0].parentnode&&e.insertbefore(this[0]),e.map(function(){for(var t=this;t.firstelementchild;)t=t.firstelementchild;return t}).append(this)),this)},wrapinner:function(t){return rt.isfunction(t)?this.each(function(e){rt(this).wrapinner(t.call(this,e))}):this.each(function(){var e=rt(this),n=e.contents();n.length?n.wrapall(t):e.append(t)})},wrap:function(t){var e=rt.isfunction(t);return this.each(function(n){rt(this).wrapall(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){rt.nodename(this,"body")||rt(this).replacewith(this.childnodes)}).end()}}),rt.expr.filters.hidden=function(t){return!rt.expr.filters.visible(t)},rt.expr.filters.visible=function(t){return t.offsetwidth>0||t.offsetheight>0||t.getclientrects().length>0};var ye=/\[\]$/,xe=/^(?:submit|button|image|reset|file)$/i,be=/^(?:input|select|textarea|keygen)/i;rt.param=function(t,e){var n,i=[],r=function(t,e){e=rt.isfunction(e)?e():null==e?"":e,i[i.length]=encodeuricomponent(t)+"="+encodeuricomponent(e)};if(void 0===e&&(e=rt.ajaxsettings&&rt.ajaxsettings.traditional),rt.isarray(t)||t.jquery&&!rt.isplainobject(t))rt.each(t,function(){r(this.name,this.value)});else for(n in t)$(n,t[n],e,r);return i.join("&").replace(/%20/g,"+")},rt.fn.extend({serialize:function(){return rt.param(this.serializearray())},serializearray:function(){return this.map(function(){var t=rt.prop(this,"elements");return t?rt.makearray(t):this}).filter(function(){var t=this.type;return this.name&&!rt(this).is(":disabled")&&be.test(this.nodename)&&!xe.test(t)&&(this.checked||!at.test(t))}).map(function(t,e){var n=rt(this).val();return null==n?null:rt.isarray(n)?rt.map(n,function(t){return{name:e.name,value:t.replace(/\r?\n/g,"\r\n")}}):{name:e.name,value:n.replace(/\r?\n/g,"\r\n")}}).get()}}),rt.ajaxsettings.xhr=function(){try{return new t.xmlhttprequest}catch(t){}};var we={0:200,1223:204},te=rt.ajaxsettings.xhr();it.cors=!!te&&"withcredentials"in te,it.ajax=te=!!te,rt.ajaxtransport(function(e){var n,i;if(it.cors||te&&!e.crossdomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrfields)for(s in e.xhrfields)a[s]=e.xhrfields[s];e.mimetype&&a.overridemimetype&&a.overridemimetype(e.mimetype),e.crossdomain||r["x-requested-with"]||(r["x-requested-with"]="xmlhttprequest");for(s in r)a.setrequestheader(s,r[s]);n=function(t){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statustext):o(we[a.status]||a.status,a.statustext,"text"!==(a.responsetype||"text")||"string"!=typeof a.responsetext?{binary:a.response}:{text:a.responsetext},a.getallresponseheaders()))}},a.onload=n(),i=a.onerror=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readystate&&t.settimeout(function(){n&&i()})},n=n("abort");try{a.send(e.hascontent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),rt.ajaxsetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return rt.globaleval(t),t}}}),rt.ajaxprefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossdomain&&(t.type="get")}),rt.ajaxtransport("script",function(t){if(t.crossdomain){var e,n;return{send:function(i,r){e=rt("