function countup(t,r,a,e){var l=this;this.d=document.getelementbyid(t),this.dec=10*a||0,this.duration=1e3*e||2e3,this.starttime=null,this.frameval=0,this.easeoutexpo=function(t,e,i,n){return i*(1-math.pow(2,-10*t/n))+e},this.stepup=function(t){null===l.starttime&&(l.starttime=t);for(var t=t-l.starttime,e=(l.frameval=l.easeoutexpo(t,0,r,l.duration),0r?r:l.frameval),""),i=l.frameval.tofixed(a).split(""),n=0;n"+i[n]+"";if(l.d.innerhtml=l.addcommas(e),t"+o[n]+"";l.d.innerhtml=l.addcommas(s)}},this.start=function(){return isnan(r)||null===r?(console.log("countup error: endval is not a number"),l.d.innerhtml="--"):requestanimationframe(l.stepup),!1},this.reset=function(){this.d.innerhtml=0},this.addcommas=function(t){x=(t+="").split("."),x1=x[0],x2=1a[0]&&e[1]document.documentelement.clientwidth-n||i>document.documentelement.clientheight-n||ethis.minscrollpos||ithis.minscrollpos&&this.options.bounces[0]||ithis.minscrollpos?this.minscrollpos:this.maxscrollpos:i},v.prototype.end=function(t){var e={duration:0},i=math.abs(this.currentpos-this.startpos);return this.options.momentum&&tthis.options.momentumlimitdistance?(i=-1===this.direction&&this.options.bounces[0]||1===this.direction&&this.options.bounces[1]?this.wrappersize:0,e=this.hasscroll?this.momentum(this.currentpos,this.startpos,t,this.maxscrollpos,this.minscrollpos,i,this.options):{destination:this.currentpos,duration:0}):this.hooks.trigger(this.hooks.eventtypes.end,e),e},v.prototype.momentum=function(t,e,i,n,s,o,r){void 0===r&&(r=this.options);var a=t-e,l=math.abs(a)/i,e=r.deceleration,i=r.swipebouncetime,r=r.swipetime,e={destination:t+l*l/e*(a<0?-1:1),duration:math.min(r,2*l/e),rate:15};return this.hooks.trigger(this.hooks.eventtypes.momentum,e,a),e.destinations&&(e.destination=o?math.min(s+o/4,s+o/e.rate*l):s,e.duration=i),e.destination=math.round(e.destination),e},v.prototype.updatedirection=function(){var t=this.currentpos-this.absstartpos;this.setdirection(t)},v.prototype.refresh=function(t){var e=(s=this.options.rect).size,i=s.position,n="static"===window.getcomputedstyle(this.wrapper,null).position,s=lt(this.wrapper);this.wrappersize=this.wrapper["width"===e?"clientwidth":"clientheight"],this.setcontent(t),t=lt(this.content),this.contentsize=t[e],this.relativeoffset=t[i],n&&(this.relativeoffset-=s[i]),this.computeboundary(),this.setdirection(0)},v.prototype.setcontent=function(t){t!==this.content&&(this.content=t,this.resetstate())},v.prototype.resetstate=function(){this.currentpos=0,this.startpos=0,this.dist=0,this.setdirection(0),this.setmovingdirection(0),this.resetstartpos()},v.prototype.computeboundary=function(){this.hooks.trigger(this.hooks.eventtypes.beforecomputeboundary);var t={minscrollpos:0,maxscrollpos:this.wrappersize-this.contentsize};t.maxscrollpos<0&&(t.maxscrollpos-=this.relativeoffset,0===this.options.specifiedindexascontent)&&(t.minscrollpos=-this.relativeoffset),this.hooks.trigger(this.hooks.eventtypes.computeboundary,t),this.minscrollpos=t.minscrollpos,this.maxscrollpos=t.maxscrollpos,this.hasscroll=this.options.scrollable&&this.maxscrollposthis.minscrollpos?t=this.minscrollpos:te+this.directionlockthreshold?this.directionlocked="horizontal":e>=t+this.directionlockthreshold?this.directionlocked="vertical":this.directionlocked="none")},bt.prototype.handleeventpassthrough=function(t){var e=it[this.directionlocked];if(e){if(this.eventpassthrough===e.yes)return lt.yes(t);if(this.eventpassthrough===e.no)return lt.no(t)}return!1},bt);function bt(t,e,i){this.directionlockthreshold=t,this.freescroll=e,this.eventpassthrough=i,this.reset()}y.prototype.bindactionshandler=function(){var s=this;this.actionshandler.hooks.on(this.actionshandler.hooks.eventtypes.start,function(t){return!s.enabled||s.handlestart(t)}),this.actionshandler.hooks.on(this.actionshandler.hooks.eventtypes.move,function(t){var e=t.deltax,i=t.deltay,n=t.e;return!s.enabled||(t=e,e=i,e=2===(i=s.options.quadrant)?[e,-t]:3===i?[-t,-e]:4===i?[-e,t]:[t,e],s.hooks.trigger(s.hooks.eventtypes.coordinatetransformation,e={deltax:e[0],deltay:e[1]}),s.handlemove(e.deltax,e.deltay,n))}),this.actionshandler.hooks.on(this.actionshandler.hooks.eventtypes.end,function(t){return!s.enabled||s.handleend(t)}),this.actionshandler.hooks.on(this.actionshandler.hooks.eventtypes.click,function(t){s.enabled&&!t._constructed&&s.handleclick(t)})},y.prototype.handlestart=function(t){var e=p();this.fingermoved=!1,this.contentmoved=!1,this.starttime=e,this.directionlockaction.reset(),this.scrollbehaviorx.start(),this.scrollbehaviory.start(),this.animater.dostop(),this.scrollbehaviorx.resetstartpos(),this.scrollbehaviory.resetstartpos(),this.hooks.trigger(this.hooks.eventtypes.start,t)},y.prototype.handlemove=function(t,e,i){var n,s,o;if(!this.hooks.trigger(this.hooks.eventtypes.beforemove,i))return n=this.scrollbehaviorx.getabsdist(t),s=this.scrollbehaviory.getabsdist(e),o=p(),!!this.checkmomentum(n,s,o)||(this.directionlockaction.checkmovingdirection(n,s,i)?(this.actionshandler.setinitiated(),!0):(s=this.directionlockaction.adjustdelta(t,e),i=this.scrollbehaviorx.getcurrentpos(),t=this.scrollbehaviorx.move(s.deltax),e=this.scrollbehaviory.getcurrentpos(),s=this.scrollbehaviory.move(s.deltay),void(this.hooks.trigger(this.hooks.eventtypes.detectmovingdirection)||(this.fingermoved||(this.fingermoved=!0),e=t!==i||s!==e,this.contentmoved||e||this.hooks.trigger(this.hooks.eventtypes.contentnotmoved),!this.contentmoved&&e&&(this.contentmoved=!0,this.hooks.trigger(this.hooks.eventtypes.scrollstart)),this.contentmoved&&e&&(this.animater.translate({x:t,y:s}),this.dispatchscroll(o))))))},y.prototype.dispatchscroll=function(t){t-this.starttime>this.options.momentumlimittime&&(this.starttime=t,this.scrollbehaviorx.updatestartpos(),this.scrollbehaviory.updatestartpos(),1===this.options.probetype)&&this.hooks.trigger(this.hooks.eventtypes.scroll,this.getcurrentpos()),1this.options.momentumlimittime&&ethis.scrollbehaviorx.minscrollpos||i.newxthis.scrollbehaviory.minscrollpos||i.newymath.abs(i)&&(i=n),n=0),{x:i=this.scroll.hashorizontalscroll?i:0,y:n,directionx:0e.minscrollpos||e.currentposi.minscrollpos||i.currentposs&&(this.starttime=e,1===c)&&o.hooks.trigger(o.hooks.eventtypes.scroll,n),1=this.pages[i][0].cx);i++);for(s=this.pages[i].length;n=this.pages[0][n].cy);n++);return{pagex:i,pagey:n}},oe.prototype.buildpagesmatrix=function(t,e){for(var i,n,s=[],o=0,r=0,a=this.scroll.scroller.scrollbehaviorx.maxscrollpos,l=this.scroll.scroller.scrollbehaviory.maxscrollpos,h=math.round(t/2),c=math.round(e/2);o>-this.scrollerwidth;){for(s[r]=[],i=n=0;i>-this.scrollerheight;)s[r][n]={x:math.max(o,a),y:math.max(i,l),width:t,height:e,cx:o-h,cy:i-c},i-=e,n++;o-=t,r++}return s},oe);function oe(t){this.scroll=t,this.init()}var re={pagex:0,pagey:0,x:0,y:0},ae=(_.prototype.refresh=function(){this.pagesmatrix=new se(this.scroll),this.checkslideloop(),this.currentpage=this.getadjustedcurrentpage()},_.prototype.getadjustedcurrentpage=function(){var t=this.currentpage,e=t.pagex,i=t.pagey,e=math.min(e,this.pagesmatrix.pagelengthofx-1),i=math.min(i,this.pagesmatrix.pagelengthofy-1);return{pagex:e=this.loopx?math.min(e,this.pagesmatrix.pagelengthofx-2):e,pagey:i=this.loopy?math.min(i,this.pagesmatrix.pagelengthofy-2):i,x:(t=this.pagesmatrix.getpagestats(e,i)).x,y:t.y}},_.prototype.setcurrentpage=function(t){this.currentpage=t},_.prototype.getinternalpage=function(t,e){t>=this.pagesmatrix.pagelengthofx?t=this.pagesmatrix.pagelengthofx-1:t<0&&(t=0),e>=this.pagesmatrix.pagelengthofy?e=this.pagesmatrix.pagelengthofy-1:e<0&&(e=0);var i=this.pagesmatrix.getpagestats(t,e);return{pagex:t,pagey:e,x:i.x,y:i.y}},_.prototype.getinitialpage=function(t,e){var i=(a=this.slideoptions).startpagexindex,n=a.startpageyindex,s=this.loopx?1:0,o=this.loopy?1:0,r=(t=void 0!==t&&t)?s:this.currentpage.pagex,a=(t||this.currentpage.pagey,(e=void 0!==e&&e)?(r=this.loopx?i+1:i,this.loopy?n+1:n):(r=t?s:this.currentpage.pagex,t?o:this.currentpage.pagey));return{pagex:r,pagey:a,x:(o=this.pagesmatrix.getpagestats(r,a)).x,y:o.y}},_.prototype.getexposedpage=function(t){return t=r({},t),this.loopx&&(t.pagex=this.fixedpage(t.pagex,this.pagesmatrix.pagelengthofx-2)),this.loopy&&(t.pagey=this.fixedpage(t.pagey,this.pagesmatrix.pagelengthofy-2)),t},_.prototype.getexposedpagebypageindex=function(t,e){var i={pagex:t,pagey:e};return this.loopx&&(i.pagex=t+1),this.loopy&&(i.pagey=e+1),{x:(i=this.pagesmatrix.getpagestats(i.pagex,i.pagey)).x,y:i.y,pagex:t,pagey:e}},_.prototype.getwillchangedpage=function(t){return t=r({},t),this.loopx&&(t.pagex=this.fixedpage(t.pagex,this.pagesmatrix.pagelengthofx-2),t.x=this.pagesmatrix.getpagestats(t.pagex+1,0).x),this.loopy&&(t.pagey=this.fixedpage(t.pagey,this.pagesmatrix.pagelengthofy-2),t.y=this.pagesmatrix.getpagestats(0,t.pagey+1).y),t},_.prototype.fixedpage=function(t,e){for(var i=[],n=0;nthis.list.length&&(e=i-this.list.length,this.addemptydata(e)),[2,this.checktofetch(i)]})})},te.prototype.add=function(t){for(var e=0;e=t.length&&(e=t.length-1),i>t.length&&(i=t.length),this.collectunuseddom(t,e,i),this.createdom(t,e,i),this.cacheheight(t,e,i),{start:e,startpos:(t=this.positiondom(t,e,i)).startpos,startdelta:t.startdelta,end:i,endpos:t.endpos}},z.prototype.collectunuseddom=function(t,e,i){for(var n,s=0;sthis.scroll.maxscrolly&&(this.scroll.maxscrolly=-(t-this.scroll.scroller.scrollbehaviory.wrappersize)),{end:i,startpos:n,endpos:t}},a.prototype.destroy=function(){for(var t=(e=this.scroll.scroller).content,e=e.scrollbehaviory;t.firstchild;)t.removechild(t.firstchild);this.dommanager.destroy(),this.scroll.off("scroll",this.update),this.scroll.off("destroy",this.destroy),e.hooks.off(e.hooks.eventtypes.computeboundary)},a.pluginname="infinity";var _e=a;function a(t){this.scroll=t,this.start=0,this.end=0,this.init()}var ce=[{key:"putat",name:"putat"}].map(function(t){return{key:t.key,sourcekey:"plugins.movable."+t.name}}),pe=(l.prototype.handlebscroll=function(){this.scroll.proxy(ce)},l.prototype.handlehooks=function(){var t=this;function e(t,e){0i&&(this.starttime=e,1===s)&&n.hooks.trigger(n.hooks.eventtypes.scroll,t),1=n.length-1?r(!0):a(e+1):r(!1)})}a(0)};a.geetest&&(p.slide="loaded");return a.initgeetest=i}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function i(t,e){t.prototype=object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function l(t){if(void 0===t)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return t}function x(t){return"string"==typeof t}function u(t){return"function"==typeof t}function z(t){return"number"==typeof t}function o(t){return void 0===t}function c(t){return"object"==typeof t}function i(t){return!1!==t}function n(){return"undefined"!=typeof window}function q(t){return u(t)||x(t)}function m(t){return(ut=ft(t,r))&&c}function j(t,e){return console.warn("invalid property",t,"set to",e,"missing plugin? gsap.registerplugin()")}function tt(t,e){return!e&&console.warn(t)}function g(t,e){return t&&(r[t]=e)&&ut&&(ut[t]=e)||r}function v(){return 0}function et(t){var e,i,n=t[0];if(c(n)||u(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=be.length;i--&&!be[i].targettest(n););e=be[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new ze(t[i],e)))||t.splice(i,1);return t}function it(t){return t._gsap||et(d(t))[0]._gsap}function y(t,e,i){return(i=t[e])&&u(i)?t[e]():o(i)&&t.getattribute&&t.getattribute(e)||i}function p(t,e){return(t=t.split(",")).foreach(e)||t}function $(t){return math.round(1e5*t)/1e5||0}function p(t){return math.round(1e7*t)/1e7||0}function nt(t,e){var i=e.charat(0),e=parsefloat(e.substr(2));return t=parsefloat(t),"+"===i?t+e:"-"===i?t-e:"*"===i?t*e:t/e}function st(){var t,e,i=ae.length,n=ae.slice(0);for(le={},t=ae.length=0;to;)r=r._prev;r?(e._next=r._next,r._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=r,e.parent=e._dp=t}function e(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var s=e._prev,o=e._next;s?s._next=o:t[i]===e&&(t[i]=o),o?o._prev=s:t[n]===e&&(t[n]=s),e._next=e._prev=e.parent=null}function at(t,e){!t.parent||e&&!t.parent.autoremovechildren||t.parent.remove(t),t._act=0}function _(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t}function lt(t,e,i,n){t._startat&&(h?t._startat.revert(oe):t.vars.immediaterender&&!t.vars.autorevert||t._startat.render(e,!0,n))}function ht(t){return t._repeat?rt(t._ttime,t=t.duration()+t._rdelay)*t:0}function ct(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalduration():e._tdur)}function ut(t){t._end=p(t._start+(t._tdur/math.abs(t._ts||t._rts||w)||0))}function dt(t,e){var i=t._dp;i&&i.smoothchildtiming&&t._ts&&(t._start=p(i._time-(0w)&&e.render(i,!0),_(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur(s=math.abs(s))&&(o=n,a=s);return o}function ot(t){return at(t),t.scrolltrigger&&t.scrolltrigger.kill(!!h),t.progress()<1&&x(t,"oninterrupt"),t}function dt(t,e,i){return(6*(t+=t<0?1:1>16,t>>8&d,t&d]:0:fe.black;if(!c){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),fe[t])c=fe[t];else if("#"===t.charat(0)){if(9===(t=t.length<6?"#"+(n=t.charat(1))+n+(s=t.charat(2))+s+(o=t.charat(3))+o+(5===t.length?t.charat(4)+t.charat(4):""):t).length)return[(c=parseint(t.substr(1,6),16))>>16,c>>8&d,c&d,parseint(t.substr(7),16)/255];c=[(t=parseint(t.substr(1),16))>>16,t>>8&d,t&d]}else if("hsl"===t.substr(0,3))if(c=h=t.match(te),e){if(~t.indexof("="))return c=t.match(se),i&&c.length<4&&(c[3]=1),c}else r=+c[0]%360/360,a=c[1]/100,n=2*(l=c[2]/100)-(s=l<=.5?l*(a+1):l+a-l*a),3=n?a.endtime(!1):t._dur;return x(e)&&(isnan(e)||e in r)?(s=e.charat(0),o="%"===e.substr(-1),n=e.indexof("="),"<"===s||">"===s?(0<=n&&(e=e.replace(/=/,"")),("<"===s?a._start:a.endtime(0<=a._repeat))+(parsefloat(e.substr(1))||0)*(o?(n<0?a:i).totalduration()/100:1)):n<0?(e in r||(r[e]=l),r[e]):(s=parsefloat(e.charat(n-1)+e.substr(n+1)),o&&i&&(s=s/100*(o(i)?i[0]:i).totalduration()),1=e&&te)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if("ispause"===n.data&&n._start=b._start)&&b._ts&&l!==b){if(b.parent!==this)return this.render(t,e,i);if(b.render(0=this.totalduration()||!g&&p)||c!==this._start&&math.abs(h)===math.abs(this._ts)||this._lock||(!t&&m||!(g===f&&0=n&&(o instanceof j?e&&s.push(o):(i&&s.push(o),t&&s.push.apply(s,o.getchildren(!0,e,i)))),o=o._next;return s},e.getbyid=function(t){for(var e=this.getchildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},e.remove=function(t){return x(t)?this.removelabel(t):u(t)?this.killtweensof(t):(e(this,t),t===this._recent&&(this._recent=this._last),_(this))},e.totaltime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=p(f.time-(0e:!e||o.isactive())&&n.push(o):(i=o.gettweensof(s,e)).length&&n.push.apply(n,i),o=o._next;return n},e.tweento=function(t,e){e=e||{};var i,n=this,s=h(n,t),o=e.startat,r=e.onstart,a=e.onstartparams,t=e.immediaterender,l=j.to(n,b({ease:e.ease||"none",lazy:!1,immediaterender:!1,time:s,overwrite:"auto",duration:e.duration||math.abs((s-(o&&"time"in o?o.time:n._time))/n.timescale())||w,onstart:function(){var t;n.pause(),i||(t=e.duration||math.abs((s-(o&&"time"in o?o.time:n._time))/n.timescale()),l._dur!==t&>(l,t,0,1).render(l._time,!0,!0),i=1),r&&r.apply(l,a||[])}},e));return t?l.render(0):l},e.tweenfromto=function(t,e,i){return this.tweento(e,b({startat:{time:h(this,t)}},i))},e.recent=function(){return this._recent},e.nextlabel=function(t){return void 0===t&&(t=this._time),mt(this,h(this,t))},e.previouslabel=function(t){return void 0===t&&(t=this._time),mt(this,h(this,t),1)},e.currentlabel=function(t){return arguments.length?this.seek(t,!0):this.previouslabel(this._time+w)},e.shiftchildren=function(t,e,i){void 0===i&&(i=0);for(var n,s=this._first,o=this.labels;s;)s._start>=i&&(s._start+=t,s._end+=t),s=s._next;if(e)for(n in o)o[n]>=i&&(o[n]+=t);return _(this)},e.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return ti.prototype.invalidate.call(this,t)},e.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._ttime=this._ptime=0),t&&(this.labels={}),_(this)},e.totalduration=function(t){var e,i,n,s=0,o=this,r=o._last,a=n;if(arguments.length)return o.timescale((o._repeat<0?o.duration():o.totalduration())/(o.reversed()?-t:t));if(o._dirty){for(n=o.parent;r;)e=r._prev,r._dirty&&r.totalduration(),a<(i=r._start)&&o._sort&&r._ts&&!o._lock?(o._lock=1,m(o,r,i-r._delay,1)._lock=0):a=i,i<0&&r._ts&&(s-=i,(!n&&!o._dp||n&&n.smoothchildtiming)&&(o._start+=i/o._ts,o._time-=i,o._ttime-=i),o.shiftchildren(-i,!1,-1/0),a=0),r._end>s&&r._ts&&(s=r._end),r=e;gt(o,o===y&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tdur},ei.updateroot=function(t){if(y._ts&&(b(y,ct(t,y)),zt=f.frame),f.frame>=$e){$e+=r.autosleep||120;var e=y._first;if((!e||!e._ts)&&r.autosleep&&f._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||f.sleep()}}};var ti,a=ei;function ei(t,e){var i;return(i=ti.call(this,t=void 0===t?{}:t)||this).labels={},i.smoothchildtiming=!!t.smoothchildtiming,i.autoremovechildren=!!t.autoremovechildren,i._sort=i(t.sortchildren),y&&m(t.parent||y,l(i),e),t.reversed&&i.reverse(),t.paused&&i.paused(!0),t.scrolltrigger&&ft(l(i),t.scrolltrigger),i}function ii(t,e,i,n,s,o){var r,a,l,h;if(q[t]&&!1!==(r=new q[t]).init(s,r.rawvars?e[t]:function(t,e,i,n,s){if(!c(t=u(t)?si(t,s,e,i,n):t)||t.style&&t.nodetype||o(t)||xe(t))return x(t)?si(t,s,e,i,n):t;var o,r={};for(o in t)r[o]=si(t[o],s,e,i,n);return r}(e[t],n,s,o,i),i,n,o)&&(i._pt=a=new g(i._pt,s,t,0,1,r.render,r,0,r.priority),i!==bi))for(l=i._ptlookup[i._targets.indexof(s)],h=r._props.length;h--;)l[r._props[h]]=a;return r}b(a.prototype,{_lock:0,_haspause:0,_forcing:0});function ni(t,e,i){var n,s,o,r,a,l,h,c,u,d,p,f,m,g=t.vars,v=g.ease,y=g.startat,b=g.immediaterender,w=g.lazy,x=g.onupdate,t=g.onupdateparams,s=g.callbackscope,k=g.runbackwards,e=g.yoyoease,_=g.keyframes,c=g.autorevert,p=t._dur,m=t._startat,o=t._targets,d=t.parent,z=d&&"nested"===d.data?d.vars.targets:o,a="auto"===t._overwrite&&!jt,l=t.timeline;if(t._ease=ve(v=!l||_&&v?v:"none",fe.ease),t._yease=e?ge(ve(!0===e?v:e,fe.ease)):0,e&&t._yoyo&&!t._repeat&&(e=t._yease,t._yease=t._ease,t._ease=e),t._from=!l&&!!g.runbackwards,!l||_&&!g.stagger){if(f=(c=o[0]?it(o[0]).harness:0)&&g[c.prop],n=ot(g,ze),m&&(m._ztime<0&&m.progress(1),e<0&&k&&b&&!c?m.render(-1,!0):m.revert(k&&p?oe:me),m._lazy=0),y){if(at(t._startat=j.set(o,b({data:"isstart",overwrite:!1,parent:d,immediaterender:!0,lazy:i(w),startat:null,delay:0,onupdate:x,onupdateparams:t,callbackscope:s,stagger:0},y))),e<(t._startat._dp=0)&&(h||!b&&!c)&&t._startat.revert(oe),b&&p&&e<=0&&i<=0)return void(e&&(t._ztime=e))}else if(k&&p&&!m)if(o=b({overwrite:!1,data:"isfromstart",lazy:(b=e?!1:b)&&i(w),immediaterender:b,stagger:0,parent:d},n),f&&(o[c.prop]=f),at(t._startat=j.set(o,o)),e<(t._startat._dp=0)&&(h?t._startat.revert(oe):t._startat.render(-1,!0)),t._ztime=e,b){if(!e)return}else ni(t._startat,w,w);for(t._pt=t._ptcache=0,w=p&&i(w)||w&&!p,s=0;s=u._tdur||d<0)&&u.ratio===y&&(y&&at(u,1),p||h||(x(u,y?"oncomplete":"onreversecomplete",!0),u._prom&&u._prom()))}}else u._ztime||(u._ztime=d)}return this},e.targets=function(){return this._targets},e.invalidate=function(t){return t&&this.vars.runbackwards||(this._startat=0),this._pt=this._op=this._onupdate=this._lazy=this.ratio=0,this._ptlookup=[],this.timeline&&this.timeline.invalidate(t),ai.prototype.invalidate.call(this,t)},e.resetto=function(t,e,i,n){qt||f.wake(),this._ts||this.play();var s,o=math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||ni(this,o),s=this._ease(o/this._dur),function(t,e,i,n,s,o,r){var a,l,h,c,u=(t._pt&&t._ptcache||(t._ptcache={}))[e];if(!u)for(u=t._ptcache[e]=[],h=t._ptlookup,c=t._targets.length;c--;){if((a=h[c][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e&&a.fp!==e;)a=a._next;if(!a)return ri=1,t.vars[e]="+=0",ni(t,r),ri=0,1;u.push(a)}for(c=u.length;c--;)(a=(l=u[c])._pt||l).s=!n&&0!==n||s?a.s+(n||0)+o*a.c:n,a.c=i-a.s,l.e&&(l.e=$(i)+f(l.e)),l.b&&(l.b=a.s+f(l.b))}(this,t,e,i,n,s,o)?this.resetto(t,e,i,n):(dt(this,0),this.parent||k(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ot(this):this;if(this.timeline)d=this.timeline.totalduration(),this.timeline.killtweensof(t,e,oi&&!0!==oi.vars.overwrite)._first||ot(this),this.parent&&d!==this.timeline.totalduration()&>(this,this._dur*this.timeline._tdur/d,0,1);else{var i,n,s,o,r,a,l,h=this._targets,c=t?d(t):h,u=this._ptlookup,d=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0}(h,c))return"all"===e&&(this._pt=0),ot(this);for(i=this._op=this._op||[],"all"!==e&&(x(e)&&(r={},p(e,function(t){return r[t]=1}),e=r),e=function(t,e){var i,n,s,o,t=t[0]?it(t[0]).harness:0,r=t&&t.aliases;if(!r)return e;for(n in i=ft({},e),r)if(n in i)for(s=(o=r[n].split(",")).length;s--;)i[o[s]]=i[n];return i}(h,e)),l=h.length;l--;)if(~c.indexof(h[l]))for(r in n=u[l],"all"===e?(i[l]=e,o=n,s={}):(s=i[l]=i[l]||{},o=e),o)(a=n&&n[r])&&("kill"in a.d&&!0!==a.d.kill(r)||e(this,a,"_pt"),delete n[r]),"all"!==s&&(s[r]=1);this._initted&&!this._pt&&d&&ot(this)}return this},s.to=function(t,e,i){return new s(t,e,i)},s.from=function(t,e){return yt(1,arguments)},s.delayedcall=function(t,e,i,n){return new s(e,0,{immediaterender:!1,lazy:!1,overwrite:!1,delay:t,oncomplete:e,onreversecomplete:e,oncompleteparams:i,onreversecompleteparams:i,callbackscope:n})},s.fromto=function(t,e,i){return yt(2,arguments)},s.set=function(t,e){return e.duration=0,e.repeatdelay||(e.repeat=0),new s(t,e)},s.killtweensof=function(t,e,i){return y.killtweensof(t,e,i)},s);function s(t,e,i,n){var s;"number"==typeof e&&(i.duration=e,e=i,i=null);var o,r,a,l,h,c,u,d,n=(s=ai.call(this,n?e:rt(e))||this).vars,p=n.duration,f=n.delay,m=n.immediaterender,g=n.stagger,v=n.overwrite,y=n.keyframes,b=n.defaults,w=n.scrolltrigger,x=n.yoyoease,n=e.parent||y,t=(o(t)||xe(t)?z(t[0]):"length"in e)?[t]:d(t);if(s._targets=t.length?et(t):tt("gsap target "+t+" not found. https://greensock.com",!r.nulltargetwarn)||[],s._ptlookup=[],s._overwrite=v,y||g||q(p)||q(f)){if(e=s.vars,(o=s.timeline=new a({data:"nested",defaults:b||{},targets:n&&"nested"===n.data?n.vars.targets:t})).kill(),o.parent=o._dp=l(s),o._start=0,g||q(p)||q(f)){if(l=t.length,u=g&&st(g),c(g))for(h in g)~hi.indexof(h)&&((d=d||{})[h]=g[h]);for(r=0;r")}),o.duration();else{for(h in a={},y)"ease"!==h&&"easeeach"!==h&&function(t,i,e,n){var s,o,r=i.ease||n||"power1.inout";if(o(i))o=e[t]||(e[t]=[]),i.foreach(function(t,e){return o.push({t:e/(i.length-1)*100,v:t,e:r})});else for(s in i)o=e[s]||(e[s]=[]),"ease"!==s&&o.push({t:parsefloat(t),v:i[s],e:r})}(h,y[h],a,y.easeeach);for(h in a)for(s=a[h].sort(function(t,e){return t.t-e.t}),r=_=0;ro.pr;)i=i._next;(o._prev=i?i._prev:s)?o._prev._next=o:n=o,(o._next=i)?i._prev=o:s=o,o=e}t._pt=n},g=(ki.prototype.modifier=function(t,e,i){this.mset=this.mset||this.set,this.set=di,this.m=t,this.mt=i,this.tween=e},ki);function ki(t,e,i,n,s,o,r,a,l){this.t=e,this.s=n,this.c=s,this.p=i,this.r=o||gi,this.d=r||this,this.set=a||pi,this.pr=l||0,(this._next=t)&&(t._prev=this)}function ei(t){(pi[t]||mi).map(function(t){return t()})}function _i(){var t=date.now(),a=[];2o.oldscroll?o.forward:o.backward;for(s in this.waypoints[t]){var a,l,h=this.waypoints[t][s];null!==h.triggerpoint&&(a=o.oldscroll=h.triggerpoint,a&&l||!a&&!l)&&(h.queuetrigger(r),i[h.group.id]=h.group)}}for(e in i)i[e].flushtriggers();this.oldscroll={x:n.horizontal.newscroll,y:n.vertical.newscroll}},i.prototype.innerheight=function(){return this.element==this.element.window?p.viewportheight():this.adapter.innerheight()},i.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkempty()},i.prototype.innerwidth=function(){return this.element==this.element.window?p.viewportwidth():this.adapter.innerwidth()},i.prototype.destroy=function(){var t,e=[];for(t in this.waypoints)for(var i in this.waypoints[t])e.push(this.waypoints[t][i]);for(var n=0,s=e.length;n=r.oldscroll,h=!u&&!a,!d&&(u&&a)?(l.queuetrigger(r.backward),s[l.group.id]=l.group):(!d&&h||d&&r.oldscroll>=l.triggerpoint)&&(l.queuetrigger(r.forward),s[l.group.id]=l.group)}}return p.requestanimationframe(function(){for(var t in s)s[t].flushtriggers()}),this},i.findorcreatebyelement=function(t){return i.findbyelement(t)||new i(t)},i.refreshall=function(){for(var t in s)s[t].refresh()},i.findbyelement=function(t){return s[t.waypointcontextkey]},window.onload=function(){t&&t(),i.refreshall()},p.requestanimationframe=function(t){(window.requestanimationframe||window.mozrequestanimationframe||window.webkitrequestanimationframe||e).call(window,t)},p.context=i}(),function(){"use strict";function o(t,e){return t.triggerpoint-e.triggerpoint}function r(t,e){return e.triggerpoint-t.triggerpoint}function e(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.cleartriggerqueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},n=window.waypoint;e.prototype.add=function(t){this.waypoints.push(t)},e.prototype.cleartriggerqueues=function(){this.triggerqueues={up:[],down:[],left:[],right:[]}},e.prototype.flushtriggers=function(){for(var t in this.triggerqueues){var e=this.triggerqueues[t];e.sort("up"===t||"left"===t?r:o);for(var i=0,n=e.length;i'+(o?n.title[0]:n.title)+"":"";return n.zindex=s,e([n.shade?'
':"",'
'+(t&&2!=n.type?"":o)+'
'+(0==n.type&&-1!==n.icon?'':"")+((1!=n.type||!t)&&n.content||"")+'
'+(e=r?'':"",n.closebtn&&(e+=''),e)+""+(n.btn?function(){var t="";"string"==typeof n.btn&&(n.btn=[n.btn]);for(var e=0,i=n.btn.length;e'+n.btn[e]+"";return'
'+t+"
"}():"")+(n.resize?'':"")+"
"],o,g('
')),this},e.pt.creat=function(){var t,n=this,s=n.config,o=n.index,r="object"==typeof(l=s.content),a=g("body");if(!s.id||!g("#"+s.id)[0]){switch("string"==typeof s.area&&(s.area="auto"===s.area?["",""]:[s.area,""]),s.shift&&(s.anim=s.shift),6==v.ie&&(s.fixed=!1),s.type){case 0:s.btn="btn"in s?s.btn:c.btn[0],v.closeall("dialog");break;case 2:var l=s.content=r?s.content:[s.content||"","auto"];s.content='';break;case 3:delete s.title,delete s.closebtn,-1===s.icon&&s.icon,v.closeall("loading");break;case 4:r||(s.content=[s.content,"body"]),s.follow=s.content[1],s.content=s.content[0]+'',delete s.title,s.tips="object"==typeof s.tips?s.tips:[s.tips,!0],s.tipsmore||v.closeall("tips")}n.vessel(r,function(t,e,i){a.append(t[0]),r?2==s.type||4==s.type?g("body").append(t[1]):l.parents("."+u[0])[0]||(l.data("display",l.css("display")).show().addclass("layui-layer-wrap").wrap(t[1]),g("#"+u[0]+o).find("."+u[5]).before(e)):a.append(t[1]),g("#"+u.move)[0]||a.append(c.moveelem=i),n.layero=g("#"+u[0]+o),n.shadeo=g("#"+u.shade+o),s.scrollbar||u.html.css("overflow","hidden").attr("layer-full",o)}).auto(o),n.shadeo.css({"background-color":s.shade[1]||"#000",opacity:s.shade[0]||s.shade}),2==s.type&&6==v.ie&&n.layero.find("iframe").attr("src",l[0]),4==s.type?n.tips():(n.offset(),parseint(c.getstyle(document.getelementbyid(u.move),"z-index"))||(n.layero.css("visibility","hidden"),v.ready(function(){n.offset(),n.layero.css("visibility","visible")}))),s.fixed&&h.on("resize",function(){n.offset(),(/^\d+%$/.test(s.area[0])||/^\d+%$/.test(s.area[1]))&&n.auto(o),4==s.type&&n.tips()}),s.time<=0||settimeout(function(){v.close(n.index)},s.time),n.move().callback(),u.anim[s.anim]&&(t="layer-anim "+u.anim[s.anim],n.layero.addclass(t).one("webkitanimationend mozanimationend msanimationend oanimationend animationend",function(){g(this).removeclass(t)})),s.isoutanim&&n.layero.data("isoutanim",!0)}},e.pt.auto=function(t){function e(t){(t=n.find(t)).height(s[1]-o-r-2*(0|parsefloat(t.css("padding-top"))))}var i=this.config,n=g("#"+u[0]+t),s=(""===i.area[0]&&0i.maxwidth)&&n.width(i.maxwidth),[n.innerwidth(),n.innerheight()]),o=n.find(u[1]).outerheight()||0,r=n.find("."+u[6]).outerheight()||0;return 2===i.type?e("iframe"):""===i.area[1]?0i.maxheight?(s[1]=i.maxheight,e("."+u[5])):i.fixed&&s[1]>=h.height()&&(s[1]=h.height(),e("."+u[5])):e("."+u[5]),this},e.pt.offset=function(){var t=this,e=t.config,i=t.layero,n=[i.outerwidth(),i.outerheight()],s="object"==typeof e.offset;t.offsettop=(h.height()-n[1])/2,t.offsetleft=(h.width()-n[0])/2,s?(t.offsettop=e.offset[0],t.offsetleft=e.offset[1]||t.offsetleft):"auto"!==e.offset&&("t"===e.offset?t.offsettop=0:"r"===e.offset?t.offsetleft=h.width()-n[0]:"b"===e.offset?t.offsettop=h.height()-n[1]:"l"===e.offset?t.offsetleft=0:"lt"===e.offset?(t.offsettop=0,t.offsetleft=0):"lb"===e.offset?(t.offsettop=h.height()-n[1],t.offsetleft=0):"rt"===e.offset?(t.offsettop=0,t.offsetleft=h.width()-n[0]):"rb"===e.offset?(t.offsettop=h.height()-n[1],t.offsetleft=h.width()-n[0]):t.offsettop=e.offset),e.fixed||(t.offsettop=/%$/.test(t.offsettop)?h.height()*parsefloat(t.offsettop)/100:parsefloat(t.offsettop),t.offsetleft=/%$/.test(t.offsetleft)?h.width()*parsefloat(t.offsetleft)/100:parsefloat(t.offsetleft),t.offsettop+=h.scrolltop(),t.offsetleft+=h.scrollleft()),i.attr("minleft")&&(t.offsettop=h.height()-(i.find(u[1]).outerheight()||0),t.offsetleft=i.css("left")),i.css({top:t.offsettop,left:t.offsetleft})},e.pt.tips=function(){var t=this.config,e=this.layero,i=[e.outerwidth(),e.outerheight()],n=g(t.follow),s={width:(n=n[0]?n:g("body")).outerwidth(),height:n.outerheight(),top:n.offset().top,left:n.offset().left},o=e.find(".layui-layer-tipsg"),n=t.tips[0];t.tips[1]||o.remove(),s.autoleft=function(){0":'',o=i.success;return delete i.success,v.open(g.extend({type:1,btn:["确定","取消"],content:e,skin:"layui-layer-prompt"+m("prompt"),maxwidth:h.width(),success:function(t){(s=t.find(".layui-layer-input")).val(i.value||"").focus(),"function"==typeof o&&o(t)},resize:!1,yes:function(t){var e=s.val();""===e?s.focus():e.length>(i.maxlength||500)?v.tips("最多输入"+(i.maxlength||500)+"个字数",s,{tips:1}):n&&n(e,t,s)}},i))},v.tab=function(n){var s=(n=n||{}).tab||{},o="layui-this",r=n.success;return delete n.success,v.open(g.extend({type:1,skin:"layui-layer-tab"+m("tab"),resize:!1,title:function(){var t=s.length,e=1,i="";if(0'+s[0].title+"";e"+s[e].title+"";return i}(),content:'
    '+function(){var t=s.length,e=1,i="";if(0'+(s[0].content||"no content")+"";e'+(s[e].content||"no content")+"";return i}()+"
",success:function(t){var e=t.find(".layui-layer-title").children(),i=t.find(".layui-layer-tabmain").children();e.on("mousedown",function(t){t.stoppropagation?t.stoppropagation():t.cancelbubble=!0;var t=g(this),e=t.index();t.addclass(o).siblings().removeclass(o),i.eq(e).show().siblings().hide(),"function"==typeof n.change&&n.change(e)}),"function"==typeof r&&r(t)}},n))},v.photos=function(i,t,n){var e,s,o,r={};if((i=i||{}).photos){var a=!("string"==typeof i.photos||i.photos instanceof g),l=a?i.photos:{},h=l.data||[],c=l.start||0,u=(r.imgindex=1+(0|c),i.img=i.img||"img",i.success);if(delete i.success,a){if(0===h.length)return v.msg("没有图片")}else{function d(){h=[],p.find(i.img).each(function(t){var e=g(this);e.attr("layer-index",t),h.push({alt:e.attr("alt"),pid:e.attr("layer-pid"),src:e.attr("layer-src")||e.attr("src"),thumb:e.attr("src")})})}var p=g(i.photos);if(d(),0===h.length)return;if(t||p.on("click",i.img,function(){d();var t=g(this).attr("layer-index");v.photos(g.extend(i,{photos:{start:t,data:h,tab:i.tab},full:i.full}),!0)}),!t)return}r.imgprev=function(t){r.imgindex--,r.imgindex<1&&(r.imgindex=h.length),r.tabimg(t)},r.imgnext=function(t,e){r.imgindex++,r.imgindex>h.length&&(r.imgindex=1,e)||r.tabimg(t)},r.keyup=function(t){var e;r.end||(e=t.keycode,t.preventdefault(),37===e?r.imgprev(!0):39===e?r.imgnext(!0):27===e&&v.close(r.index))},r.tabimg=function(t){if(!(h.length<=1))return l.start=r.imgindex-1,v.close(r.index),v.photos(i,!0,t)},r.event=function(){r.bigimg.find(".layui-layer-imgprev").on("click",function(t){t.preventdefault(),r.imgprev(!0)}),r.bigimg.find(".layui-layer-imgnext").on("click",function(t){t.preventdefault(),r.imgnext(!0)}),g(document).on("keyup",r.keyup)},r.loadi=v.load(1,{shade:!("shade"in i)&&.9,scrollbar:!1}),a=h[c].src,e=function(t){var e;v.close(r.loadi),n&&(i.anim=-1),r.index=v.open(g.extend({type:1,id:"layui-layer-photos",area:(t=[t.width,t.height],e=[g(f).width()-100,g(f).height()-100],!i.full&&(e[0]'+(h[c].alt||'+(1
'+(h[c].alt||"")+""+r.imgindex+" / "+h.length+"
":"")+"",success:function(t,e){r.bigimg=t.find(".layui-layer-phimg"),r.imgsee=t.find(".layui-layer-imgbar"),r.event(t),i.tab&&i.tab(h[c],t),"function"==typeof u&&u(t)},end:function(){r.end=!0,g(document).off("keyup",r.keyup)}},i))},s=function(){v.close(r.loadi),v.msg("当前图片地址异常
是否继续查看下一张?",{time:3e4,btn:["下一张","不看了"],yes:function(){1=math.abs(t)?e:t}function ce(){var t,i,e;(ye=ct.core.globals().scrolltrigger)&&ye.core&&(t=ye.core,i=t.bridge||{},e=t._scrollers,t=t._proxies,e.push.apply(e,zt),t.push.apply(t,at),zt=e,at=t,u=function(t,e){return i[t](e)})}function ue(t){return(ct=t||s())&&"undefined"!=typeof document&&document.body&&(pt=window,fe=(pe=document).documentelement,me=pe.body,o=[pt,pe,fe,me],ct.utils.clamp,ve="onpointerenter"in me?"pointer":"mouse",ge=p.istouch=pt.matchmedia&&pt.matchmedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in pt||0=s,n=math.abs(e)>=s;u&&(i||n)&&u(e,t,e,z,a),i&&(n&&0math.abs(e)?"x":"y",s=!0),"y"!==k&&(z[2]+=t,e._vx.update(t,!0)),"x"!==k&&(a[2]+=e,e._vy.update(e,!0)),r?b=b||requestanimationframe(g):g()}function v(t){var e,i,n,s;!m(t,1)&&(e=(t=le(t,a)).clientx,t=t.clienty,i=e-e.x,n=t-e.y,s=e.isdragging,e.x=e,e.y=t,s||math.abs(e.startx-e)>=o||math.abs(e.starty-t)>=o)&&(x&&(w=!0),s||(e.isdragging=!0),dt(i,n),s||h&&h(e))}function y(e){var t,i;m(e,1)||(_t(d?n:d,dt[1],v,!0),t=e.isdragging&&(3=t)return r[n];return r[n-1]}for(n=r.length,t+=i;n--;)if(r[n]<=t)return r[n];return r[0]}:function(t,e,i){void 0===i&&(i=.001);var n=o(t);return!e||math.abs(n-t)i&&(n*=e/100),t=t.substr(0,i-1)),t=n+(t in g?g[t]*e:~t.indexof("%")?parsefloat(t)*e/100:parsefloat(t)||0)),t}function le(t,e,i,n,s,o,r,a){var l=s.startcolor,h=s.endcolor,c=s.fontsize,u=s.indent,s=s.fontweight,d=wt.createelement("div"),p=te(i)||"fixed"===ne(i,"pintype"),f=-1!==t.indexof("scroller"),i=p?jt:i,m=-1!==t.indexof("start"),l=m?l:h,h="border-color:"+l+";font-size:"+c+";color:"+l+";font-weight:"+s+";pointer-events:none;white-space:nowrap;font-family:sans-serif,arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return h+="position:"+((f||a)&&p?"fixed;":"absolute;"),!f&&!a&&p||(h+=(n===it?"right":j)+":"+(o+parsefloat(u))+"px;"),r&&(h+="box-sizing:border-box;text-align:left;width:"+r.offsetwidth+"px;"),d._isstart=m,d.setattribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),d.style.csstext=h,d.innertext=e||0===e?t+"-"+e:t,i.children[0]?i.insertbefore(d,i.children[0]):i.appendchild(d),d._offset=d["offset"+n.op.d2],c(d,0,n,m),d}function t(){return 34jt.clientwidth)||(zt.cache++,e?w=w||requestanimationframe(q):q(),zt||k("scrollstart"),zt=kt())}function s(){f=nt.innerwidth,x=nt.innerheight}function $e(){zt.cache++,gt||h||wt.fullscreenelement||wt.webkitfullscreenelement||y&&f===nt.innerwidth&&!(math.abs(nt.innerheight-x)>.25*nt.innerheight)||z.restart(!0)}function be(){return ft(m,"scrollend",be)||we(!0)}function k(t){for(var e=0;e=x})},y.update=function(t,e,i){var n,s,o,r,a,l,h,c,u;(!a||i||t)&&(i=ut?m:y.scroll(),a=(a=t?0:(i-w)/t)<0?0:1=ke($,l),ut&&(t||!n&&!h?fe(d,s):(u=ne(d,!0),l=i-w,fe(d,jt,u.top+(l===it?l:0)+te,u.left+(l===it?0:l)+te))),qe(n||h?q:j),k!==t&&a<1&&n||v(u+(1!==a||h?0:k))):v(xe(u+k*a))),!f||y.tween||gt||ii||c.restart(!0),nt&&(e||ct&&a&&(a<1||!je))&&je(nt.targets).foreach(function(t){return t.classlist[n||ct?"add":"remove"](nt.classname)}),!p||i||t||p(y),c&&!gt?(i&&(r&&("complete"===o?v.pause().totalprogress(1):"reset"===o?v.restart(!0).pause():"restart"===o?v.restart(!0):v[o]()),p)&&p(y),!e&&je||(st&&e&&pe(y,st),ft[s]&&pe(y,ft[s]),ct&&(1===a?y.kill(!1,1):ft[s]=0),e)||ft[s=1===a?1:3]&&pe(y,ft[s]),dt&&!n&&math.abs(y.getvelocity())>(ee(dt)?dt:2500)&&(ce(y.callbackanimation),_?_.progress(1):ce(v,"reverse"===o?1:!a,1))):i&&p&&!gt&&p(y)),q&&(u=a?i/a.duration()*(a._cascrolldist||0):i,z(u+(f._isflipped?1:0)),q(u)),it)&&it(-i/a.duration()*(a._cascrolldist||0))},y.enable=function(t,e){y.enabled||(y.enabled=!0,xt($,"resize",$e),xt(b?wt:$,"scroll",ie),vt&&xt(ie,"refreshinit",vt),!1!==t&&(y.progress=p=0,b=n=wt=x()),!1!==e&&y.refresh())},y.gettween=function(t){return t&&y?y.tween:_},y.setpositions=function(t,e){d&&(u+=t-w,k+=e-t-t,z===qt)&&y.adjustpinspacing(e-t-t),y.start=w=t,y.end=x=e,t=e-t,y.update()},y.adjustpinspacing=function(t){var e;e&&(e=e.indexof(l.d)+1,e[e]=parsefloat(e[e])+t+te,e[1]=parsefloat(e[1])+t+te,qe(e))},y.disable=function(t,e){if(y.enabled&&(!1!==t&&y.revert(!0,!0),y.enabled=y.isactive=!1,e||_&&_.pause(),m=0,n&&(n.uncache=1),vt&&ft(ie,"refreshinit",vt),c&&(c.pause(),y.tween)&&y.tween.kill()&&(y.tween=0),!b)){for(var i=ee.length;i--;)if(ee[i].scroller===$&&ee[i]!==y)return;ft($,"resize",$e),ft($,"scroll",ie)}},y.kill=function(t,e){y.disable(t,e),_&&!e&&_.kill(),s&&delete pi[s];var i=ee.indexof(y);0<=i&&ee.splice(i,1),i===vt&&0a&&(b()>a?c.progress(1)&&b(a):c.resetto("scrolly",a))}(t=_e(t)?t:{}).preventdefault=t.isnormalizer=t.allowclicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var n,a,l,h,c,u,d,p,f=t.normalizescrollx,e=t.momentum,m=t.allownestedscroll,g=ot(t.target)||qt,v=rt.core.globals().scrollsmoother,v=v&&v.get(),y=r&&(t.content&&ot(t.content)||v&&!1!==t.content&&!v.smooth()&&v.content()),b=re(g,it),w=re(g,lt),x=1,t=(p.istouch&&nt.visualviewport?nt.visualviewport.scale*nt.visualviewport.width:nt.outerwidth)/nt.innerwidth,s=0,k=ht(e)?function(){return e(n)}:function(){return e||2.8},e=rt(g,t.type,!0,m),_=$t,c=$t;return y&&rt.set(y,{y:"+=0"}),t.ignorecheck=function(t){return r&&"touchmove"===t.type&&(h?(requestanimationframe(i),e=xe(n.deltay/2),e=c(b.v-e),y&&e!==b.v+b.offset&&(b.offset=e-b.v,e=xe((parsefloat(y&&y._gsap.y)||0)-b.offset),y.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+e+", 0, 1)",y._gsap.y=e+"px",b.cacheid=zt.cache,q()),!0):(b.offset&&r(),void(h=!0)))||1.05=a||a-1<=i)&&rt.to({},{onupdate:s,duration:e})):p.restart(!0)},t.onwheel=function(){c._ts&&c.pause(),1e3":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:string(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.appendmany=function(t,e){var i;"1.7"===o.fn.jquery.substr(0,3)&&(i=o(),o.map(e,function(t){i=i.add(t)}),e=i),t.append(e)},n.__cache={};var i=0;return n.getuniqueelementid=function(t){var e=t.getattribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setattribute("data-select2-id",e)):(t.setattribute("data-select2-id",++i),e=i.tostring())),e},n.storedata=function(t,e,i){t=n.getuniqueelementid(t);n.__cache[t]||(n.__cache[t]={}),n.__cache[t][e]=i},n.getdata=function(t,e){var i=n.getuniqueelementid(t);return e?n.__cache[i]&&null!=n.__cache[i][e]?n.__cache[i][e]:o(t).data(e):n.__cache[i]},n.removedata=function(t){var e=n.getuniqueelementid(t);null!=n.__cache[e]&&delete n.__cache[e],t.removeattribute("data-select2-id")},n}),t.define("select2/results",["jquery","./utils"],function(c,u){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return u.extend(n,u.observable),n.prototype.render=function(){var t=c('
    ');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displaymessage=function(t){var e=this.options.get("escapemarkup"),i=(this.clear(),this.hideloading(),c('')),n=this.options.get("translations").get(t.message);i.append(e(n(t.args))),i[0].classname+=" select2-results__message",this.$results.append(i)},n.prototype.hidemessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideloading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i",{class:"select2-results__options select2-results__options--nested"});h.append(r),s.append(o),s.append(h)}else this.template(t,i);return u.storedata(i,"data",t),i},n.prototype.bind=function(e,t){var s=this,i=e.id+"-results";this.$results.attr("id",i),e.on("results:all",function(t){s.clear(),s.append(t.data),e.isopen()&&(s.setclasses(),s.highlightfirstitem())}),e.on("results:append",function(t){s.append(t.data),e.isopen()&&s.setclasses()}),e.on("query",function(t){s.hidemessages(),s.showloading(t)}),e.on("select",function(){e.isopen()&&(s.setclasses(),s.options.get("scrollafterselect"))&&s.highlightfirstitem()}),e.on("unselect",function(){e.isopen()&&(s.setclasses(),s.options.get("scrollafterselect"))&&s.highlightfirstitem()}),e.on("open",function(){s.$results.attr("aria-expanded","true"),s.$results.attr("aria-hidden","false"),s.setclasses(),s.ensurehighlightvisible()}),e.on("close",function(){s.$results.attr("aria-expanded","false"),s.$results.attr("aria-hidden","true"),s.$results.removeattr("aria-activedescendant")}),e.on("results:toggle",function(){var t=s.gethighlightedresults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t,e=s.gethighlightedresults();0!==e.length&&(t=u.getdata(e[0],"data"),"true"==e.attr("aria-selected")?s.trigger("close",{}):s.trigger("select",{data:t}))}),e.on("results:previous",function(){var t,e=s.gethighlightedresults(),i=s.$results.find("[aria-selected]"),n=i.index(e);n<=0||(n=n-1,0===e.length&&(n=0),(e=i.eq(n)).trigger("mouseenter"),i=s.$results.offset().top,e=e.offset().top,t=s.$results.scrolltop()+(e-i),0===n?s.$results.scrolltop(0):e-i<0&&s.$results.scrolltop(t))}),e.on("results:next",function(){var t,e,i=s.gethighlightedresults(),n=s.$results.find("[aria-selected]"),i=n.index(i)+1;i>=n.length||((n=n.eq(i)).trigger("mouseenter"),t=s.$results.offset().top+s.$results.outerheight(!1),n=n.offset().top+n.outerheight(!1),e=s.$results.scrolltop()+n-t,0===i?s.$results.scrolltop(0):tthis.$results.outerheight()||n<0)&&this.$results.scrolltop(i))},n.prototype.template=function(t,e){var i=this.options.get("templateresult"),n=this.options.get("escapemarkup"),i=i(t,e);null==i?e.style.display="none":"string"==typeof i?e.innerhtml=n(i):c(e).append(i)},n}),t.define("select2/keys",[],function(){return{backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,esc:27,space:32,page_up:33,page_down:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(i,n,s){function o(t,e){this.$element=t,this.options=e,o.__super__.constructor.call(this)}return n.extend(o,n.observable),o.prototype.render=function(){var t=i('');return this._tabindex=0,null!=n.getdata(this.$element[0],"old-tabindex")?this._tabindex=n.getdata(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),t.attr("aria-disabled","false"),this.$selection=t},o.prototype.bind=function(t,e){var i=this,n=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){i.trigger("focus",t)}),this.$selection.on("blur",function(t){i._handleblur(t)}),this.$selection.on("keydown",function(t){i.trigger("keypress",t),t.which===s.space&&t.preventdefault()}),t.on("results:focus",function(t){i.$selection.attr("aria-activedescendant",t.data._resultid)}),t.on("selection:update",function(t){i.update(t.data)}),t.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",n),i._attachclosehandler(t)}),t.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeattr("aria-activedescendant"),i.$selection.removeattr("aria-owns"),i.$selection.trigger("focus"),i._detachclosehandler(t)}),t.on("enable",function(){i.$selection.attr("tabindex",i._tabindex),i.$selection.attr("aria-disabled","false")}),t.on("disable",function(){i.$selection.attr("tabindex","-1"),i.$selection.attr("aria-disabled","true")})},o.prototype._handleblur=function(t){var e=this;window.settimeout(function(){document.activeelement==e.$selection[0]||i.contains(e.$selection[0],document.activeelement)||e.trigger("blur",t)},1)},o.prototype._attachclosehandler=function(t){i(document.body).on("mousedown.select2."+t.id,function(t){var e=i(t.target).closest(".select2");i(".select2.select2-container--open").each(function(){this!=e[0]&&n.getdata(this,"element").select2("close")})})},o.prototype._detachclosehandler=function(t){i(document.body).off("mousedown.select2."+t.id)},o.prototype.position=function(t,e){e.find(".selection").append(t)},o.prototype.destroy=function(){this._detachclosehandler(this.container)},o.prototype.update=function(t){throw new error("the `update` method must be defined in child classes.")},o.prototype.isenabled=function(){return!this.isdisabled()},o.prototype.isdisabled=function(){return this.options.get("disabled")},o}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function s(){s.__super__.constructor.apply(this,arguments)}return i.extend(s,e),s.prototype.render=function(){var t=s.__super__.render.call(this);return t.addclass("select2-selection--single"),t.html(''),t},s.prototype.bind=function(e,t){var i=this,n=(s.__super__.bind.apply(this,arguments),e.id+"-container");this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&i.trigger("toggle",{originalevent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),e.on("focus",function(t){e.isopen()||i.$selection.trigger("focus")})},s.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeattr("title")},s.prototype.display=function(t,e){var i=this.options.get("templateselection");return this.options.get("escapemarkup")(i(t,e))},s.prototype.selectioncontainer=function(){return t("")},s.prototype.update=function(t){var e,i;0!==t.length?(t=t[0],e=this.$selection.find(".select2-selection__rendered"),i=this.display(t,e),e.empty().append(i),(i=t.title||t.text)?e.attr("title",i):e.removeattr("title")):this.clear()},s}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(n,t,a){function s(t,e){s.__super__.constructor.apply(this,arguments)}return a.extend(s,t),s.prototype.render=function(){var t=s.__super__.render.call(this);return t.addclass("select2-selection--multiple"),t.html('
      '),t},s.prototype.bind=function(t,e){var i=this;s.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){i.trigger("toggle",{originalevent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){var e;i.isdisabled()||(e=n(this).parent(),e=a.getdata(e[0],"data"),i.trigger("unselect",{originalevent:t,data:e}))})},s.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeattr("title")},s.prototype.display=function(t,e){var i=this.options.get("templateselection");return this.options.get("escapemarkup")(i(t,e))},s.prototype.selectioncontainer=function(){return n('
    • ×
    • ')},s.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i×'),a.storedata(t[0],"data",e),this.$selection.find(".select2-selection__rendered").prepend(t))},t}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(i,r,a){function t(t,e,i){t.call(this,e,i)}return t.prototype.render=function(t){var e=i(''),e=(this.$searchcontainer=e,this.$search=e.find("input"),t.call(this));return this._transfertabindex(),e},t.prototype.bind=function(t,e,i){var n=this,s=e.id+"-results",t=(t.call(this,e,i),e.on("open",function(){n.$search.attr("aria-controls",s),n.$search.trigger("focus")}),e.on("close",function(){n.$search.val(""),n.$search.removeattr("aria-controls"),n.$search.removeattr("aria-activedescendant"),n.$search.trigger("focus")}),e.on("enable",function(){n.$search.prop("disabled",!1),n._transfertabindex()}),e.on("disable",function(){n.$search.prop("disabled",!0)}),e.on("focus",function(t){n.$search.trigger("focus")}),e.on("results:focus",function(t){t.data._resultid?n.$search.attr("aria-activedescendant",t.data._resultid):n.$search.removeattr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(t){n.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){n._handleblur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){var e;t.stoppropagation(),n.trigger("keypress",t),n._keyupprevented=t.isdefaultprevented(),t.which===a.backspace&&""===n.$search.val()&&0<(e=n.$searchcontainer.prev(".select2-selection__choice")).length&&(e=r.getdata(e[0],"data"),n.searchremovechoice(e),t.preventdefault())}),this.$selection.on("click",".select2-search--inline",function(t){n.$search.val()&&t.stoppropagation()}),document.documentmode),o=t&&t<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){o?n.$selection.off("input.search input.searchcheck"):n.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){var e;o&&"input"===t.type?n.$selection.off("input.search input.searchcheck"):(e=t.which)!=a.shift&&e!=a.ctrl&&e!=a.alt&&e!=a.tab&&n.handlesearch(t)})},t.prototype._transfertabindex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},t.prototype.createplaceholder=function(t,e){this.$search.attr("placeholder",e.text)},t.prototype.update=function(t,e){var i=this.$search[0]==document.activeelement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchcontainer),this.resizesearch(),i&&this.$search.trigger("focus")},t.prototype.handlesearch=function(){var t;this.resizesearch(),this._keyupprevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyupprevented=!1},t.prototype.searchremovechoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handlesearch()},t.prototype.resizesearch=function(){this.$search.css("width","25px");var t="",t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},t}),t.define("select2/selection/eventrelay",["jquery"],function(r){function t(){}return t.prototype.bind=function(t,e,i){var n=this,s=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],o=["opening","closing","selecting","unselecting","clearing"];t.call(this,e,i),e.on("*",function(t,e){var i;-1!==r.inarray(t,s)&&(i=r.event("select2:"+t,{params:e=e||{}}),n.$element.trigger(i),-1!==r.inarray(t,o))&&(e.prevented=i.isdefaultprevented())})},t}),t.define("select2/translation",["jquery","require"],function(e,i){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadpath=function(t){var e;return t in n._cache||(e=i(t),n._cache[t]=e),new n(n._cache[t])},n}),t.define("select2/diacritics",[],function(){return{"ⓐ":"a","a":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɗ":"d","ɖ":"d","ꝺ":"d","dz":"dz","dž":"dz","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","Ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","Ɥ":"h","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","i":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ⓙ":"j","j":"j","ĵ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","Ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꝇ":"l","ꞁ":"l","lj":"lj","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","Ꞑ":"n","Ꞥ":"n","nj":"nj","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ɵ":"o","ꝋ":"o","ꝍ":"o","œ":"oe","ƣ":"oi","ꝏ":"oo","ȣ":"ou","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ꝗ":"q","ꝙ":"q","ɋ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","Ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","Ȿ":"s","Ꞩ":"s","ꞅ":"s","ⓣ":"t","t":"t","ṫ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","Ɀ":"z","ⱬ":"z","ꝣ":"z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ώ":"ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),t.define("select2/data/base",["../utils"],function(i){function n(t,e){n.__super__.constructor.call(this)}return i.extend(n,i.observable),n.prototype.current=function(t){throw new error("the `current` method must be defined in child classes.")},n.prototype.query=function(t,e){throw new error("the `query` method must be defined in child classes.")},n.prototype.bind=function(t,e){},n.prototype.destroy=function(){},n.prototype.generateresultid=function(t,e){t=t.id+"-result-";return t+=i.generatechars(4),null!=e.id?t+="-"+e.id.tostring():t+="-"+i.generatechars(4),t},n}),t.define("select2/data/select",["./base","../utils","jquery"],function(t,r,a){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return r.extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each(function(){var t=a(this),t=i.item(t);e.push(t)}),t(e)},i.prototype.select=function(s){var t,o=this;s.selected=!0,a(s.element).is("option")?(s.element.selected=!0,this.$element.trigger("input").trigger("change")):this.$element.prop("multiple")?this.current(function(t){var e=[];(s=[s]).push.apply(s,t);for(var i=0;ithis.maximuminputlength?this.trigger("results:message",{message:"inputtoolong",args:{maximum:this.maximuminputlength,input:e.term,params:e}}):t.call(this,e,i)},t}),t.define("select2/data/maximumselectionlength",[],function(){function t(t,e,i){this.maximumselectionlength=i.get("maximumselectionlength"),t.call(this,e,i)}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(){n._checkifmaximumselected()})},t.prototype.query=function(t,e,i){var n=this;this._checkifmaximumselected(function(){t.call(n,e,i)})},t.prototype._checkifmaximumselected=function(t,e){var i=this;this.current(function(t){t=null!=t?t.length:0;0=i.maximumselectionlength?i.trigger("results:message",{message:"maximumselected",args:{maximum:i.maximumselectionlength}}):e&&e()})},t}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return t.extend(i,t.observable),i.prototype.render=function(){var t=e('');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),t.define("select2/dropdown/search",["jquery","../utils"],function(o,t){function e(){}return e.prototype.render=function(t){var t=t.call(this),e=o('');return this.$searchcontainer=e,this.$search=e.find("input"),t.prepend(e),t},e.prototype.bind=function(t,e,i){var n=this,s=e.id+"-results";t.call(this,e,i),this.$search.on("keydown",function(t){n.trigger("keypress",t),n._keyupprevented=t.isdefaultprevented()}),this.$search.on("input",function(t){o(this).off("keyup")}),this.$search.on("keyup input",function(t){n.handlesearch(t)}),e.on("open",function(){n.$search.attr("tabindex",0),n.$search.attr("aria-controls",s),n.$search.trigger("focus"),window.settimeout(function(){n.$search.trigger("focus")},0)}),e.on("close",function(){n.$search.attr("tabindex",-1),n.$search.removeattr("aria-controls"),n.$search.removeattr("aria-activedescendant"),n.$search.val(""),n.$search.trigger("blur")}),e.on("focus",function(){e.isopen()||n.$search.trigger("focus")}),e.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(n.showsearch(t)?n.$searchcontainer.removeclass("select2-search--hide"):n.$searchcontainer.addclass("select2-search--hide"))}),e.on("results:focus",function(t){t.data._resultid?n.$search.attr("aria-activedescendant",t.data._resultid):n.$search.removeattr("aria-activedescendant")})},e.prototype.handlesearch=function(t){var e;this._keyupprevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyupprevented=!1},e.prototype.showsearch=function(t,e){return!0},e}),t.define("select2/dropdown/hideplaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizeplaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removeplaceholder(e.results),t.call(this,e)},t.prototype.normalizeplaceholder=function(t,e){return e="string"==typeof e?{id:"",text:e}:e},t.prototype.removeplaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;0<=n;n--){var s=e[n];this.placeholder.id===s.id&&i.splice(n,1)}return i},t}),t.define("select2/dropdown/infinitescroll",["jquery"],function(i){function t(t,e,i,n){this.lastparams={},t.call(this,e,i,n),this.$loadingmore=this.createloadingmore(),this.loading=!1}return t.prototype.append=function(t,e){this.$loadingmore.remove(),this.loading=!1,t.call(this,e),this.showloadingmore(e)&&(this.$results.append(this.$loadingmore),this.loadmoreifneeded())},t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("query",function(t){n.lastparams=t,n.loading=!0}),e.on("query:append",function(t){n.lastparams=t,n.loading=!0}),this.$results.on("scroll",this.loadmoreifneeded.bind(this))},t.prototype.loadmoreifneeded=function(){var t=i.contains(document.documentelement,this.$loadingmore[0]);!this.loading&&t&&(t=this.$results.offset().top+this.$results.outerheight(!1),this.$loadingmore.offset().top+this.$loadingmore.outerheight(!1)<=t+50)&&this.loadmore()},t.prototype.loadmore=function(){this.loading=!0;var t=i.extend({},{page:1},this.lastparams);t.page++,this.trigger("query:append",t)},t.prototype.showloadingmore=function(t,e){return e.pagination&&e.pagination.more},t.prototype.createloadingmore=function(){var t=i('
    • '),e=this.options.get("translations").get("loadingmore");return t.html(e(this.lastparams)),t},t}),t.define("select2/dropdown/attachbody",["jquery","../utils"],function(c,r){function t(t,e,i){this.$dropdownparent=c(i.get("dropdownparent")||document.body),t.call(this,e,i)}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("open",function(){n._showdropdown(),n._attachpositioninghandler(e),n._bindcontainerresulthandlers(e)}),e.on("close",function(){n._hidedropdown(),n._detachpositioninghandler(e)}),this.$dropdowncontainer.on("mousedown",function(t){t.stoppropagation()})},t.prototype.destroy=function(t){t.call(this),this.$dropdowncontainer.remove()},t.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeclass("select2"),e.addclass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},t.prototype.render=function(t){var e=c(""),t=t.call(this);return e.append(t),this.$dropdowncontainer=e},t.prototype._hidedropdown=function(t){this.$dropdowncontainer.detach()},t.prototype._bindcontainerresulthandlers=function(t,e){var i;this._containerresultshandlersbound||(i=this,e.on("results:all",function(){i._positiondropdown(),i._resizedropdown()}),e.on("results:append",function(){i._positiondropdown(),i._resizedropdown()}),e.on("results:message",function(){i._positiondropdown(),i._resizedropdown()}),e.on("select",function(){i._positiondropdown(),i._resizedropdown()}),e.on("unselect",function(){i._positiondropdown(),i._resizedropdown()}),this._containerresultshandlersbound=!0)},t.prototype._attachpositioninghandler=function(t,e){var i=this,n="scroll.select2."+e.id,s="resize.select2."+e.id,e="orientationchange.select2."+e.id,o=this.$container.parents().filter(r.hasscroll);o.each(function(){r.storedata(this,"select2-scroll-position",{x:c(this).scrollleft(),y:c(this).scrolltop()})}),o.on(n,function(t){var e=r.getdata(this,"select2-scroll-position");c(this).scrolltop(e.y)}),c(window).on(n+" "+s+" "+e,function(t){i._positiondropdown(),i._resizedropdown()})},t.prototype._detachpositioninghandler=function(t,e){var i="scroll.select2."+e.id,n="resize.select2."+e.id,e="orientationchange.select2."+e.id;this.$container.parents().filter(r.hasscroll).off(i),c(window).off(i+" "+n+" "+e)},t.prototype._positiondropdown=function(){var t=c(window),e=this.$dropdown.hasclass("select2-dropdown--above"),i=this.$dropdown.hasclass("select2-dropdown--below"),n=null,s=this.$container.offset(),o=(s.bottom=s.top+this.$container.outerheight(!1),{height:this.$container.outerheight(!1)}),r=(o.top=s.top,o.bottom=s.top+o.height,this.$dropdown.outerheight(!1)),a=t.scrolltop(),t=t.scrolltop()+t.height(),a=as.bottom+r,s={left:s.left,top:o.bottom},l=this.$dropdownparent,h=("static"===l.css("position")&&(l=l.offsetparent()),{top:0,left:0});(c.contains(document.body,l[0])||l[0].isconnected)&&(h=l.offset()),s.top-=h.top,s.left-=h.left,e||i||(n="below"),t||!a||e?!a&&t&&e&&(n="below"):n="above",("above"==n||e&&"below"!==n)&&(s.top=o.top-h.top-r),null!=n&&(this.$dropdown.removeclass("select2-dropdown--below select2-dropdown--above").addclass("select2-dropdown--"+n),this.$container.removeclass("select2-container--below select2-container--above").addclass("select2-container--"+n)),this.$dropdowncontainer.css(s)},t.prototype._resizedropdown=function(){var t={width:this.$container.outerwidth(!1)+"px"};this.options.get("dropdownautowidth")&&(t.minwidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},t.prototype._showdropdown=function(t){this.$dropdowncontainer.appendto(this.$dropdownparent),this._positiondropdown(),this._resizedropdown()},t}),t.define("select2/dropdown/minimumresultsforsearch",[],function(){function t(t,e,i,n){this.minimumresultsforsearch=i.get("minimumresultsforsearch"),this.minimumresultsforsearch<0&&(this.minimumresultsforsearch=1/0),t.call(this,e,i,n)}return t.prototype.showsearch=function(t,e){return!(function t(e){for(var i=0,n=0;n');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addclass("select2-container--"+this.options.get("theme")),r.storedata(t[0],"element",this.$element),t},a}),t.define("jquery-mousewheel",["jquery"],function(t){return t}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(s,t,o,e,r){var a;return null==s.fn.select2&&(a=["open","close","destroy"],s.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var t=s.extend(!0,{},e);new o(s(this),t)}),this;if("string"!=typeof e)throw new error("invalid arguments for select2: "+e);var i,n=array.prototype.slice.call(arguments,1);return this.each(function(){var t=r.getdata(this,"select2");null==t&&window.console&&console.error&&console.error("the select2('"+e+"') method was called on an element that is not using select2."),i=t[e].apply(t,n)}),-1',stuckclass:"stuck",direction:"down right"},s.sticky=e}(),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).swiper=e()}(this,function(){"use strict";function l(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===object}function n(e,i){void 0===e&&(e={}),void 0===i&&(i={}),object.keys(i).foreach(function(t){void 0===e[t]?e[t]=i[t]:l(i[t])&&l(e[t])&&0")){var a="div";for(0===r.indexof(":~]/)?(e||v).queryselectorall(t.trim()):[v.getelementbyid(t.trim().split("#")[1])],n=0;nn.slides.length)break;s.push(n.slides.eq(r)[0])}else s.push(n.slides.eq(n.activeindex)[0]);for(e=0;e=e.size)&&(e.visibleslides.push(h),e.visibleslidesindexes.push(r),n.eq(r).addclass(i.slidevisibleclass)),h.progress=s?-c:c}e.visibleslides=s(e.visibleslides)}},updateprogress:function(t){var e=this,i=(void 0===t&&(i=e.rtltranslate?-1:1,t=e&&e.translate&&e.translate*i||0),e.params),n=e.maxtranslate()-e.mintranslate(),s=e.progress,o=e.isbeginning,r=o,a=l=e.isend,l=0==n?o=!(s=0):(o=(s=(t-e.mintranslate())/n)<=0,1<=s);k.extend(e,{progress:s,isbeginning:o,isend:l}),(i.watchslidesprogress||i.watchslidesvisibility||i.centeredslides&&i.autoheight)&&e.updateslidesprogress(t),o&&!r&&e.emit("reachbeginning toedge"),l&&!a&&e.emit("reachend toedge"),(r&&!o||a&&!l)&&e.emit("fromedge"),e.emit("progress",s)},updateslidesclasses:function(){var t=this.slides,e=this.params,i=this.$wrapperel,n=this.activeindex,s=this.realindex,o=this.virtual&&e.virtual.enabled,n=(t.removeclass(e.slideactiveclass+" "+e.slidenextclass+" "+e.slideprevclass+" "+e.slideduplicateactiveclass+" "+e.slideduplicatenextclass+" "+e.slideduplicateprevclass),(o=o?this.$wrapperel.find("."+e.slideclass+'[data-swiper-slide-index="'+n+'"]'):t.eq(n)).addclass(e.slideactiveclass),e.loop&&(o.hasclass(e.slideduplicateclass)?i.children("."+e.slideclass+":not(."+e.slideduplicateclass+')[data-swiper-slide-index="'+s+'"]'):i.children("."+e.slideclass+"."+e.slideduplicateclass+'[data-swiper-slide-index="'+s+'"]')).addclass(e.slideduplicateactiveclass),o.nextall("."+e.slideclass).eq(0).addclass(e.slidenextclass)),s=(e.loop&&0===n.length&&(n=t.eq(0)).addclass(e.slidenextclass),o.prevall("."+e.slideclass).eq(0).addclass(e.slideprevclass));e.loop&&0===s.length&&(s=t.eq(-1)).addclass(e.slideprevclass),e.loop&&((n.hasclass(e.slideduplicateclass)?i.children("."+e.slideclass+":not(."+e.slideduplicateclass+')[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]'):i.children("."+e.slideclass+"."+e.slideduplicateclass+'[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]')).addclass(e.slideduplicatenextclass),(s.hasclass(e.slideduplicateclass)?i.children("."+e.slideclass+":not(."+e.slideduplicateclass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]'):i.children("."+e.slideclass+"."+e.slideduplicateclass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]')).addclass(e.slideduplicateprevclass))},updateactiveindex:function(t){var e=this,i=e.rtltranslate?e.translate:-e.translate,n=e.slidesgrid,s=e.snapgrid,o=e.params,r=e.activeindex,a=e.realindex,l=e.snapindex,h=t;if(void 0===h){for(var c=0;c=n[c]&&i=n[c]&&i=n[c]&&(h=c);o.normalizeslideindex&&(h<0||void 0===h)&&(h=0)}(t=0<=s.indexof(i)?s.indexof(i):(t=math.min(o.slidespergroupskip,h))+math.floor((h-t)/o.slidespergroup))>=s.length&&(t=s.length-1),h===r?t!==l&&(e.snapindex=t,e.emit("snapindexchange")):(o=parseint(e.slides.eq(h).attr("data-swiper-slide-index")||h,10),k.extend(e,{snapindex:t,realindex:o,previousindex:r,activeindex:h}),e.emit("activeindexchange"),e.emit("snapindexchange"),a!==o&&e.emit("realindexchange"),(e.initialized||e.params.runcallbacksoninit)&&e.emit("slidechange"))},updateclickedslide:function(t){var e=this,i=e.params,n=s(t.target).closest("."+i.slideclass)[0],s=!1;if(n)for(var o=0;o=r.length&&(p=r.length-1),(h||t.initialslide||0)===(l||0)&&i&&s.emit("beforeslidechangestart"),-r[p]);if(s.updateprogress(f),t.normalizeslideindex)for(var m=0;m=math.floor(100*a[m])&&(o=m);if(s.initialized&&o!==h){if(!s.allowslidenext&&fs.translate&&f>s.maxtranslate()&&(h||0)!==o)return!1}return d=h=o.snapgrid[a]?(s=o.snapgrid[a],(o.snapgrid[a+1]-s)*ne.slides.length-e.loopedslides+s/2?(e.loopfix(),o=n.children("."+i.slideclass+'[data-swiper-slide-index="'+t+'"]:not(.'+i.slideduplicateclass+")").eq(0).index(),k.nexttick(function(){e.slideto(o)})):e.slideto(o):o>e.slides.length-s?(e.loopfix(),o=n.children("."+i.slideclass+'[data-swiper-slide-index="'+t+'"]:not(.'+i.slideduplicateclass+")").eq(0).index(),k.nexttick(function(){e.slideto(o)})):e.slideto(o)):e.slideto(o)}};var y={loopcreate:function(){var n=this,t=n.params,e=n.$wrapperel,s=(e.children("."+t.slideclass+"."+t.slideduplicateclass).remove(),e.children("."+t.slideclass));if(t.loopfillgroupwithblank){var i=t.slidespergroup-s.length%t.slidespergroup;if(i!==t.slidespergroup){for(var o=0;os.length&&(n.loopedslides=s.length);var a=[],l=[];s.each(function(t,e){var i=s(e);t=s.length-n.loopedslides&&a.push(e),i.attr("data-swiper-slide-index",t)});for(var h=0;h=i.length-n&&(l=-i.length+e+n,t.slideto(l+=n,0,!1,!0))&&0!=r&&t.settranslate((a?-t.translate:t.translate)-r),t.allowslideprev=s,t.allowslidenext=o,t.emit("loopfix")},loopdestroy:function(){var t=this.$wrapperel,e=this.params,i=this.slides;t.children("."+e.slideclass+"."+e.slideduplicateclass+",."+e.slideclass+"."+e.slideblankclass).remove(),i.removeattr("data-swiper-slide-index")}};var x={setgrabcursor:function(t){var e;x.touch||!this.params.simulatetouch||this.params.watchoverflow&&this.islocked||this.params.cssmode||((e=this.el).style.cursor="move",e.style.cursor=t?"-webkit-grabbing":"-webkit-grab",e.style.cursor=t?"-moz-grabbin":"-moz-grab",e.style.cursor=t?"grabbing":"grab")},unsetgrabcursor:function(){x.touch||this.params.watchoverflow&&this.islocked||this.params.cssmode||(this.el.style.cursor="")}};var i,s,r,a,h,f={appendslide:function(t){var e=this.$wrapperel,i=this.params;if(i.loop&&this.loopdestroy(),"object"==typeof t&&"length"in t)for(var n=0;n=u.screen.width-o))||(k.extend(a,{istouched:!0,ismoved:!1,allowtouchcallbacks:!0,isscrolling:void 0,startmoving:void 0}),h.startx=i,h.starty=n,a.touchstarttime=k.now(),r.allowclick=!0,r.updatesize(),r.swipedirection=void 0,0s.starty&&e.translate>=e.mintranslate())return i.istouched=!1,void(i.ismoved=!1)}else if(as.startx&&e.translate>=e.mintranslate())return;if(i.istouchevent&&v.activeelement&&t.target===v.activeelement&&s(t.target).is(i.formelements))i.ismoved=!0,e.allowclick=!1;else if(i.allowtouchcallbacks&&e.emit("touchmove",t),!(t.targettouches&&1n.touchangle:90-c>n.touchangle)),i.isscrolling&&e.emit("touchmoveopposite",t),void 0!==i.startmoving||s.currentx===s.startx&&s.currenty===s.starty||(i.startmoving=!0),i.isscrolling)i.istouched=!1;else if(i.startmoving){e.allowclick=!1,!n.cssmode&&t.cancelable&&t.preventdefault(),n.touchmovestoppropagation&&!n.nested&&t.stoppropagation(),i.ismoved||(n.loop&&e.loopfix(),i.starttranslate=e.gettranslate(),e.settransition(0),e.animating&&e.$wrapperel.trigger("webkittransitionend transitionend"),i.allowmomentumbounce=!1,!n.grabcursor||!0!==e.allowslidenext&&!0!==e.allowslideprev||e.setgrabcursor(!0),e.emit("sliderfirstmove",t)),e.emit("slidermove",t),i.ismoved=!0;var c=e.ishorizontal()?l:h,l=(s.diff=c,c*=n.touchratio,e.swipedirection=0<(c=o?-c:c)?"prev":"next",i.currenttranslate=c+i.starttranslate,!0),h=n.resistanceratio;if(n.touchreleaseonedges&&(h=0),0e.mintranslate()?(l=!1,n.resistance&&(i.currenttranslate=e.mintranslate()-1+math.pow(-e.mintranslate()+i.starttranslate+c,h))):c<0&&i.currenttranslatei.starttranslate&&(i.currenttranslate=i.starttranslate),0n.threshold||i.allowthresholdmove))return void(i.currenttranslate=i.starttranslate);if(!i.allowthresholdmove)return i.allowthresholdmove=!0,s.startx=s.currentx,s.starty=s.currenty,i.currenttranslate=i.starttranslate,void(s.diff=e.ishorizontal()?s.currentx-s.startx:s.currenty-s.starty)}n.followfinger&&!n.cssmode&&((n.freemode||n.watchslidesprogress||n.watchslidesvisibility)&&(e.updateactiveindex(),e.updateslidesclasses()),n.freemode&&(0===i.velocities.length&&i.velocities.push({position:s[e.ishorizontal()?"startx":"starty"],time:i.touchstarttime}),i.velocities.push({position:s[e.ishorizontal()?"currentx":"currenty"],time:k.now()})),e.updateprogress(i.currenttranslate),e.settranslate(i.currenttranslate))}}}else e.allowclick=!1,i.istouched&&(k.extend(s,{startx:a,starty:r,currentx:a,currenty:r}),i.touchstarttime=k.now())}}else i.startmoving&&i.isscrolling&&e.emit("touchmoveopposite",t)}.bind(e),e.ontouchend=function(t){var e=this,i=e.toucheventsdata,n=e.params,s=e.touches,o=e.rtltranslate,r=e.$wrapperel,a=e.slidesgrid,l=e.snapgrid;if(t.originalevent&&(t=t.originalevent),i.allowtouchcallbacks&&e.emit("touchend",t),i.allowtouchcallbacks=!1,i.istouched){n.grabcursor&&i.ismoved&&i.istouched&&(!0===e.allowslidenext||!0===e.allowslideprev)&&e.setgrabcursor(!1);var h,c=k.now(),u=c-i.touchstarttime;if(e.allowclick&&(e.updateclickedslide(t),e.emit("tap click",t),u<300)&&c-i.lastclicktime<300&&e.emit("doubletap doubleclick",t),i.lastclicktime=k.now(),k.nexttick(function(){e.destroyed||(e.allowclick=!0)}),i.istouched&&i.ismoved&&e.swipedirection&&0!==s.diff&&i.currenttranslate!==i.starttranslate){if(i.istouched=!1,i.ismoved=!1,i.startmoving=!1,h=n.followfinger?o?e.translate:-e.translate:-i.currenttranslate,!n.cssmode)if(n.freemode)if(h<-e.mintranslate())e.slideto(e.activeindex);else if(h>-e.maxtranslate())e.slides.lengthe.mintranslate())n.freemodemomentumbounce?(m-e.mintranslate()>s&&(m=e.mintranslate()+s),d=e.mintranslate(),i.allowmomentumbounce=c=!0):m=e.mintranslate(),n.loop&&n.centeredslides&&(p=!0);else if(n.freemodesticky){for(var g,v=0;v-m){g=v;break}m=-(m=math.abs(l[g]-m)=n.longswipesms)&&(e.updateprogress(),e.updateactiveindex(),e.updateslidesclasses())}else{for(var y=0,b=e.slidessizesgrid[0],w=0;w=a[w]&&h=a[w]&&(y=w,b=a[a.length-1]-a[a.length-2])}o=(h-a[y])/b,s=yn.longswipesms?n.longswipes?("next"===e.swipedirection&&(o>=n.longswipesratio?e.slideto(y+s):e.slideto(y)),"prev"===e.swipedirection&&(o>1-n.longswipesratio?e.slideto(y+s):e.slideto(y))):e.slideto(e.activeindex):n.shortswipes?e.navigation&&(t.target===e.navigation.nextel||t.target===e.navigation.prevel)?t.target===e.navigation.nextel?e.slideto(y+s):e.slideto(y):("next"===e.swipedirection&&e.slideto(y+s),"prev"===e.swipedirection&&e.slideto(y)):e.slideto(e.activeindex)}}else i.istouched=!1,i.ismoved=!1,i.startmoving=!1}else i.ismoved&&n.grabcursor&&e.setgrabcursor(!1),i.ismoved=!1,i.startmoving=!1}.bind(e),i.cssmode&&(e.onscroll=function(){var t=this,e=t.wrapperel,i=t.rtltranslate;t.previoustranslate=t.translate,t.ishorizontal()?t.translate=i?e.scrollwidth-e.offsetwidth-e.scrollleft:-e.scrollleft:t.translate=-e.scrolltop,-0===t.translate&&(t.translate=0),t.updateactiveindex(),t.updateslidesclasses(),(e=0==(e=t.maxtranslate()-t.mintranslate())?0:(t.translate-t.mintranslate())/e)!==t.progress&&t.updateprogress(i?-t.translate:t.translate),t.emit("settranslate",t.translate,!1)}.bind(e)),e.onclick=function(t){this.allowclick||(this.params.preventclicks&&t.preventdefault(),this.params.preventclickspropagation&&this.animating&&(t.stoppropagation(),t.stopimmediatepropagation()))}.bind(e),!!i.nested);!x.touch&&x.pointerevents?(s.addeventlistener(n.start,e.ontouchstart,!1),v.addeventlistener(n.move,e.ontouchmove,r),v.addeventlistener(n.end,e.ontouchend,!1)):(x.touch&&(t=!("touchstart"!==n.start||!x.passivelistener||!i.passivelisteners)&&{passive:!0,capture:!1},s.addeventlistener(n.start,e.ontouchstart,t),s.addeventlistener(n.move,e.ontouchmove,x.passivelistener?{passive:!1,capture:r}:r),s.addeventlistener(n.end,e.ontouchend,t),n.cancel&&s.addeventlistener(n.cancel,e.ontouchend,t),r||(v.addeventlistener("touchstart",n),r=!0)),(i.simulatetouch&&!c.ios&&!c.android||i.simulatetouch&&!x.touch&&c.ios)&&(s.addeventlistener("mousedown",e.ontouchstart,!1),v.addeventlistener("mousemove",e.ontouchmove,r),v.addeventlistener("mouseup",e.ontouchend,!1))),(i.preventclicks||i.preventclickspropagation)&&s.addeventlistener("click",e.onclick,!0),i.cssmode&&o.addeventlistener("scroll",e.onscroll),i.updateonwindowresize?e.on(c.ios||c.android?"resize orientationchange observerupdate":"resize observerupdate",u,!0):e.on("observerupdate",u,!0)},detachevents:function(){var t,e=this,i=e.params,n=e.touchevents,s=e.el,o=e.wrapperel,r=!!i.nested;!x.touch&&x.pointerevents?(s.removeeventlistener(n.start,e.ontouchstart,!1),v.removeeventlistener(n.move,e.ontouchmove,r),v.removeeventlistener(n.end,e.ontouchend,!1)):(x.touch&&(t=!("ontouchstart"!==n.start||!x.passivelistener||!i.passivelisteners)&&{passive:!0,capture:!1},s.removeeventlistener(n.start,e.ontouchstart,t),s.removeeventlistener(n.move,e.ontouchmove,r),s.removeeventlistener(n.end,e.ontouchend,t),n.cancel)&&s.removeeventlistener(n.cancel,e.ontouchend,t),(i.simulatetouch&&!c.ios&&!c.android||i.simulatetouch&&!x.touch&&c.ios)&&(s.removeeventlistener("mousedown",e.ontouchstart,!1),v.removeeventlistener("mousemove",e.ontouchmove,r),v.removeeventlistener("mouseup",e.ontouchend,!1))),(i.preventclicks||i.preventclickspropagation)&&s.removeeventlistener("click",e.onclick,!0),i.cssmode&&o.removeeventlistener("scroll",e.onscroll),e.off(c.ios||c.android?"resize orientationchange observerupdate":"resize observerupdate",u)}},breakpoints:{setbreakpoint:function(){var t,i,e,n,s=this,o=s.activeindex,r=s.initialized,a=s.loopedslides,l=(void 0===a&&(a=0),s.params),h=s.$el,c=l.breakpoints;c&&0!==object.keys(c).length&&(t=s.getbreakpoint(c))&&s.currentbreakpoint!==t&&((i=t in c?c[t]:void 0)&&["slidesperview","spacebetween","slidespergroup","slidespergroupskip","slidespercolumn"].foreach(function(t){var e=i[t];void 0!==e&&(i[t]="slidesperview"!==t||"auto"!==e&&"auto"!==e?"slidesperview"===t?parsefloat(e):parseint(e,10):"auto")}),c=i||s.originalparams,e=1'+t+"")).attr("data-swiper-slide-index")||t.attr("data-swiper-slide-index",e),i.cache&&(this.virtual.cache[e]=t),t)},appendslide:function(t){if("object"==typeof t&&"length"in t)for(var e=0;emath.abs(r.pixely)))return!0;s=-r.pixelx*o}else{if(!(math.abs(r.pixely)>math.abs(r.pixelx)))return!0;s=-r.pixely}else s=math.abs(r.pixelx)>math.abs(r.pixely)?-r.pixelx*o:-r.pixely;if(0===s)return!0;if(n.invert&&(s=-s),i.params.freemode){var a={time:k.now(),delta:math.abs(s),direction:math.sign(s)},o=i.mousewheel.lasteventbeforesnap,r=o&&a.time=i.mintranslate()?i.mintranslate():o)<=i.maxtranslate()&&(o=i.maxtranslate()),i.settransition(0),i.settranslate(o),i.updateprogress(),i.updateactiveindex(),i.updateslidesclasses(),(!n&&i.isbeginning||!c&&i.isend)&&i.updateslidesclasses(),i.params.freemodesticky&&(cleartimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0,15<=(l=i.mousewheel.recentwheelevents).length&&l.shift(),n=l.length?l[l.length-1]:void 0,c=l[0],l.push(a),n&&(a.delta>n.delta||a.direction!==n.direction)?l.splice(0):15<=l.length&&a.time-c.time<500&&1<=c.delta-a.delta&&a.delta<=6&&(h=0r.delta||n.time>r.time+150)&&i.mousewheel.animateslider(n),i.mousewheel.releasescroll(n))return!0}return e.preventdefault?e.preventdefault():e.returnvalue=!1,!1},animateslider:function(t){var e=this;return 6<=t.delta&&k.now()-e.mousewheel.lastscrolltime<60||(t.direction<0?e.isend&&!e.params.loop||e.animating||(e.slidenext(),e.emit("scroll",t.raw)):e.isbeginning&&!e.params.loop||e.animating||(e.slideprev(),e.emit("scroll",t.raw)),e.mousewheel.lastscrolltime=(new u.date).gettime(),!1)},releasescroll:function(t){var e=this.params.mousewheel;if(t.direction<0){if(this.isend&&!this.params.loop&&e.releaseonedges)return!0}else if(this.isbeginning&&!this.params.loop&&e.releaseonedges)return!0;return!1},enable:function(){var t=this,e=e.event();if(t.params.cssmode)t.wrapperel.removeeventlistener(e,t.mousewheel.handle);else{if(!e)return!1;if(t.mousewheel.enabled)return!1;var i=t.$el;(i="container"!==t.params.mousewheel.eventstarged?s(t.params.mousewheel.eventstarged):i).on("mouseenter",t.mousewheel.handlemouseenter),i.on("mouseleave",t.mousewheel.handlemouseleave),i.on(e,t.mousewheel.handle),t.mousewheel.enabled=!0}return!0},disable:function(){var t=e.event();if(this.params.cssmode)this.wrapperel.addeventlistener(t,this.mousewheel.handle);else{if(!t)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;(e="container"!==this.params.mousewheel.eventstarged?s(this.params.mousewheel.eventstarged):e).off(t,this.mousewheel.handle),this.mousewheel.enabled=!1}return!0}},_={update:function(){var t,e,i=this.params.navigation;this.params.loop||(t=(e=this.navigation).$nextel,(e=e.$prevel)&&0i-1-2*t.loopedslides&&(s-=i-2*t.loopedslides),r-1n.dynamicmainbullets-1?t.pagination.dynamicbulletindex=n.dynamicmainbullets-1:t.pagination.dynamicbulletindex<0&&(t.pagination.dynamicbulletindex=0)),a=s-t.pagination.dynamicbulletindex,h=((l=a+(math.min(c.length,n.dynamicmainbullets)-1))+a)/2),c.removeclass(n.bulletactiveclass+" "+n.bulletactiveclass+"-next "+n.bulletactiveclass+"-next-next "+n.bulletactiveclass+"-prev "+n.bulletactiveclass+"-prev-prev "+n.bulletactiveclass+"-main"),1=c.length-n.dynamicmainbullets){for(var f=n.dynamicmainbullets;0<=f;--f)c.eq(c.length-f).addclass(n.bulletactiveclass+"-main");c.eq(c.length-n.dynamicmainbullets-1).addclass(n.bulletactiveclass+"-prev")}else i.prev().addclass(n.bulletactiveclass+"-prev").prev().addclass(n.bulletactiveclass+"-prev-prev"),d.next().addclass(n.bulletactiveclass+"-next").next().addclass(n.bulletactiveclass+"-next-next");else i.prev().addclass(n.bulletactiveclass+"-prev").prev().addclass(n.bulletactiveclass+"-prev-prev"),d.next().addclass(n.bulletactiveclass+"-next").next().addclass(n.bulletactiveclass+"-next-next")}}n.dynamicbullets&&(u=math.min(c.length,n.dynamicmainbullets+4),i=(t.pagination.bulletsize*u-t.pagination.bulletsize)/2-h*t.pagination.bulletsize,d=e?"right":"left",c.css(t.ishorizontal()?d:"top",i+"px"))}"fraction"===n.type&&(o.find("."+n.currentclass).text(n.formatfractioncurrent(s+1)),o.find("."+n.totalclass).text(n.formatfractiontotal(r))),"progressbar"===n.type&&(u=n.progressbaropposite?t.ishorizontal()?"vertical":"horizontal":t.ishorizontal()?"horizontal":"vertical",h=(s+1)/r,d=e=1,"horizontal"===u?e=h:d=h,o.find("."+n.progressbarfillclass).transform("translate3d(0,0,0) scalex("+e+") scaley("+d+")").transition(t.params.speed)),"custom"===n.type&&n.rendercustom?(o.html(n.rendercustom(t,s+1,r)),t.emit("paginationrender",t,o[0])):t.emit("paginationupdate",t,o[0]),o[t.params.watchoverflow&&t.islocked?"addclass":"removeclass"](n.lockclass)}},render:function(){var t=this,e=t.params.pagination;if(e.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length){var i=(t.virtual&&t.params.virtual.enabled?t.virtual:t).slides.length,n=t.pagination.$el,s="";if("bullets"===e.type){for(var o=t.params.loop?math.ceil((i-2*t.loopedslides)/t.params.slidespergroup):t.snapgrid.length,r=0;r";n.html(s),t.pagination.bullets=n.find("."+e.bulletclass)}"fraction"===e.type&&(s=e.renderfraction?e.renderfraction.call(t,e.currentclass,e.totalclass):' / ',n.html(s)),"progressbar"===e.type&&(s=e.renderprogressbar?e.renderprogressbar.call(t,e.progressbarfillclass):'',n.html(s)),"custom"!==e.type&&t.emit("paginationrender",t.pagination.$el[0])}},init:function(){var t,e=this,i=e.params.pagination;i.el&&0!==(t=s(i.el)).length&&(e.params.uniquenavelements&&"string"==typeof i.el&&1'),i.append(n)),k.extend(t,{$el:i,el:i[0],$dragel:n,dragel:n[0]}),e.draggable)&&t.enabledraggable()},destroy:function(){this.scrollbar.disabledraggable()}},q={settransform:function(t,e){var i=this.rtl,t=s(t),i=i?-1:1,n=t.attr("data-swiper-parallax")||"0",s=t.attr("data-swiper-parallax-x"),o=t.attr("data-swiper-parallax-y"),r=t.attr("data-swiper-parallax-scale"),a=t.attr("data-swiper-parallax-opacity");s||o?(s=s||"0",o=o||"0"):this.ishorizontal()?(s=n,o="0"):(o=n,s="0"),s=0<=s.indexof("%")?parseint(s,10)*e*i+"%":s*e*i+"px",o=0<=o.indexof("%")?parseint(o,10)*e+"%":o*e+"px",null!=a&&(n=a-(a-1)*(1-math.abs(e)),t[0].style.opacity=n),null==r?t.transform("translate3d("+s+", "+o+", 0px)"):(i=r-(r-1)*(1-math.abs(e)),t.transform("translate3d("+s+", "+o+", 0px) scale("+i+")"))},settranslate:function(){var n=this,t=n.$el,e=n.slides,s=n.progress,o=n.snapgrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t,e){n.parallax.settransform(e,s)}),e.each(function(t,e){var i=e.progress;1n.maxratio&&(i.scale=n.maxratio-1+math.pow(i.scale-n.maxratio+1,.5)),i.scalen.touchesstart.x))return void(n.istouched=!1);if(!this.ishorizontal()&&(math.floor(n.miny)===math.floor(n.starty)&&n.touchescurrent.yn.touchesstart.y))return void(n.istouched=!1)}t.cancelable&&t.preventdefault(),t.stoppropagation(),n.ismoved=!0,n.currentx=n.touchescurrent.x-n.touchesstart.x+n.startx,n.currenty=n.touchescurrent.y-n.touchesstart.y+n.starty,n.currentxn.maxx&&(n.currentx=n.maxx-1+math.pow(n.currentx-n.maxx+1,.8)),n.currentyn.maxy&&(n.currenty=n.maxy-1+math.pow(n.currenty-n.maxy+1,.8)),s.prevpositionx||(s.prevpositionx=n.touchescurrent.x),s.prevpositiony||(s.prevpositiony=n.touchescurrent.y),s.prevtime||(s.prevtime=date.now()),s.x=(n.touchescurrent.x-s.prevpositionx)/(date.now()-s.prevtime)/2,s.y=(n.touchescurrent.y-s.prevpositiony)/(date.now()-s.prevtime)/2,math.abs(n.touchescurrent.x-s.prevpositionx)<2&&(s.x=0),math.abs(n.touchescurrent.y-s.prevpositiony)<2&&(s.y=0),s.prevpositionx=n.touchescurrent.x,s.prevpositiony=n.touchescurrent.y,s.prevtime=date.now(),i.$imagewrapel.transform("translate3d("+n.currentx+"px, "+n.currenty+"px,0)")}}},ontouchend:function(){var t,e,i,n,s=this.zoom,o=s.gesture,r=s.image,a=s.velocity;o.$imageel&&0!==o.$imageel.length&&(r.istouched&&r.ismoved?(r.istouched=!1,r.ismoved=!1,t=a.x*(i=300),t=r.currentx+t,e=a.y*(n=300),e=r.currenty+e,0!==a.x&&(i=math.abs((t-r.currentx)/a.x)),0!==a.y&&(n=math.abs((e-r.currenty)/a.y)),a=math.max(i,n),r.currentx=t,r.currenty=e,i=r.width*s.scale,n=r.height*s.scale,r.minx=math.min(o.slidewidth/2-i/2,0),r.maxx=-r.minx,r.miny=math.min(o.slideheight/2-n/2,0),r.maxy=-r.miny,r.currentx=math.max(math.min(r.currentx,r.maxx),r.minx),r.currenty=math.max(math.min(r.currenty,r.maxy),r.miny),o.$imagewrapel.transition(a).transform("translate3d("+r.currentx+"px, "+r.currenty+"px,0)")):(r.istouched=!1,r.ismoved=!1))},ontransitionend:function(){var t=this.zoom,e=t.gesture;e.$slideel&&this.previousindex!==this.activeindex&&(e.$imageel&&e.$imageel.transform("translate3d(0,0,0) scale(1)"),e.$imagewrapel&&e.$imagewrapel.transform("translate3d(0,0,0)"),t.scale=1,t.currentscale=1,e.$slideel=void 0,e.$imageel=void 0,e.$imagewrapel=void 0)},toggle:function(t){var e=this.zoom;e.scale&&1!==e.scale?e.out():e.in(t)},in:function(t){var e,i,n,s,o=this.zoom,r=this.params.zoom,a=o.gesture,l=o.image;a.$slideel||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?a.$slideel=this.$wrapperel.children("."+this.params.slideactiveclass):a.$slideel=this.slides.eq(this.activeindex),a.$imageel=a.$slideel.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imagewrapel=a.$imageel.parent("."+r.containerclass)),a.$imageel&&0!==a.$imageel.length&&(a.$slideel.addclass(""+r.zoomedslideclass),l=void 0===l.touchesstart.x&&t?(s=("touchend"===t.type?t.changedtouches[0]:t).pagex,("touchend"===t.type?t.changedtouches[0]:t).pagey):(s=l.touchesstart.x,l.touchesstart.y),o.scale=a.$imagewrapel.attr("data-swiper-zoom")||r.maxratio,o.currentscale=a.$imagewrapel.attr("data-swiper-zoom")||r.maxratio,t?(r=a.$slideel[0].offsetwidth,t=a.$slideel[0].offsetheight,s=a.$slideel.offset().left+r/2-s,l=a.$slideel.offset().top+t/2-l,n=a.$imageel[0].offsetwidth,i=a.$imageel[0].offsetheight,n=n*o.scale,i=i*o.scale,r=math.min(r/2-n/2,0),n=math.min(t/2-i/2,0),(t=-r)<(i=(i=s*o.scale)>1]<=e?n=s:i=s;return i};return this.x=t,this.y=e,this.lastindex=t.length-1,this.interpolate=function(t){return t?(r=a(this.x,t),o=r-1,(t-this.x[o])*(this.y[r]-this.y[o])/(this.x[r]-this.x[o])+this.y[o]):0},this},getinterpolatefunction:function(t){this.controller.spline||(this.controller.spline=this.params.loop?new m.linearspline(this.slidesgrid,t.slidesgrid):new m.linearspline(this.snapgrid,t.snapgrid))},settranslate:function(t,e){var i,n,s=this,o=s.controller.control;function r(t){var e=s.rtltranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getinterpolatefunction(t),n=-s.controller.spline.interpolate(-e)),n&&"container"!==s.params.controller.by||(i=(t.maxtranslate()-t.mintranslate())/(s.maxtranslate()-s.mintranslate()),n=(e-s.mintranslate())*i+t.mintranslate()),s.params.controller.inverse&&(n=t.maxtranslate()-n),t.updateprogress(n),t.settranslate(n,s),t.updateactiveindex(),t.updateslidesclasses()}if(array.isarray(o))for(var a=0;a'),n.append(t)),t.css({height:o+"px"})):0===(t=i.find(".swiper-cube-shadow")).length&&(t=s('
      '),i.append(t)));for(var p,f=0;f'),m.append(v)),0===w.length&&(w=s('
      '),m.append(w)),v.length&&(v[0].style.opacity=math.max(-b,0)),w.length)&&(w[0].style.opacity=math.max(b,0))}n.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),h.shadow&&(c?t.transform("translate3d(0px, "+(o/2+h.shadowoffset)+"px, "+-o/2+"px) rotatex(90deg) rotatez(0deg) scale("+h.shadowscale+")"):(i=math.abs(d)-90*math.floor(math.abs(d)/90),o=1.5-(math.sin(2*i*math.pi/360)/2+math.cos(2*i*math.pi/360)/2),i=h.shadowscale,o=h.shadowscale/o,p=h.shadowoffset,t.transform("scale3d("+i+", 1, "+o+") translate3d(0px, "+(r/2+p)+"px, "+-r/2/o+"px) rotatex(-90deg)"))),n.transform("translate3d(0px,0,"+(k.issafari||k.iswebview?-l/2:0)+"px) rotatex("+(e.ishorizontal()?0:d)+"deg) rotatey("+(e.ishorizontal()?-d:0)+"deg)")},settransition:function(t){var e=this.$el;this.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),this.params.cubeeffect.shadow&&!this.ishorizontal()&&e.find(".swiper-cube-shadow").transition(t)}},st={settranslate:function(){for(var t=this.slides,e=this.rtltranslate,i=0;i'),o.append(n)),0===s.length&&(s=s('
      '),o.append(s)),n.length&&(n[0].style.opacity=math.max(-r,0)),s.length)&&(s[0].style.opacity=math.max(r,0)),o.transform("translate3d("+a+"px, "+c+"px, 0px) rotatex("+h+"deg) rotatey("+l+"deg)")}},settransition:function(t){var i,n=this,e=n.slides,s=n.activeindex,o=n.$wrapperel;e.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),n.params.virtualtranslate&&0!==t&&(i=!1,e.eq(s).transitionend(function(){if(!i&&n&&!n.destroyed){i=!0,n.animating=!1;for(var t=["webkittransitionend","transitionend"],e=0;e'),p.append(f)),0===y.length&&(y=s('
      '),p.append(y)),f.length&&(f[0].style.opacity=0e.previousindex?"next":"prev"):(s=e.realindex)>e.previousindex?"next":"prev",l&&(s+="next"===o?a:-1*a),i.visibleslidesindexes)&&i.visibleslidesindexes.indexof(s)<0&&(i.params.centeredslides?s=n')}}),object.keys(et).foreach(function(t){e.a11y[t]=et[t].bind(e)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updatenavigation())},toedge:function(){this.params.a11y.enabled&&this.a11y.updatenavigation()},fromedge:function(){this.params.a11y.enabled&&this.a11y.updatenavigation()},paginationupdate:function(){this.params.a11y.enabled&&this.a11y.updatepagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replacestate:!1,key:"slides"}},create:function(){k.extend(this,{history:{init:o.init.bind(this),sethistory:o.sethistory.bind(this),sethistorypopstate:o.sethistorypopstate.bind(this),scrolltoslide:o.scrolltoslide.bind(this),destroy:o.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionend:function(){this.history.initialized&&this.history.sethistory(this.params.history.key,this.activeindex)},slidechange:function(){this.history.initialized&&this.params.cssmode&&this.history.sethistory(this.params.history.key,this.activeindex)}}},{name:"hash-navigation",params:{hashnavigation:{enabled:!1,replacestate:!1,watchstate:!1}},create:function(){k.extend(this,{hashnavigation:{initialized:!1,init:d.init.bind(this),destroy:d.destroy.bind(this),sethash:d.sethash.bind(this),onhashcange:d.onhashcange.bind(this)}})},on:{init:function(){this.params.hashnavigation.enabled&&this.hashnavigation.init()},destroy:function(){this.params.hashnavigation.enabled&&this.hashnavigation.destroy()},transitionend:function(){this.hashnavigation.initialized&&this.hashnavigation.sethash()},slidechange:function(){this.hashnavigation.initialized&&this.params.cssmode&&this.hashnavigation.sethash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitfortransition:!0,disableoninteraction:!0,stoponlastslide:!1,reversedirection:!1}},create:function(){var e=this;k.extend(e,{autoplay:{running:!1,paused:!1,run:z.run.bind(e),start:z.start.bind(e),stop:z.stop.bind(e),pause:z.pause.bind(e),onvisibilitychange:function(){"hidden"===document.visibilitystate&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilitystate&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},ontransitionend:function(t){e&&!e.destroyed&&e.$wrapperel&&t.target===this&&(e.$wrapperel[0].removeeventlistener("transitionend",e.autoplay.ontransitionend),e.$wrapperel[0].removeeventlistener("webkittransitionend",e.autoplay.ontransitionend),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addeventlistener("visibilitychange",this.autoplay.onvisibilitychange))},beforetransitionstart:function(t,e){this.autoplay.running&&(e||!this.params.autoplay.disableoninteraction?this.autoplay.pause(t):this.autoplay.stop())},sliderfirstmove:function(){this.autoplay.running&&(this.params.autoplay.disableoninteraction?this.autoplay.stop():this.autoplay.pause())},touchend:function(){this.params.cssmode&&this.autoplay.paused&&!this.params.autoplay.disableoninteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeeventlistener("visibilitychange",this.autoplay.onvisibilitychange)}}},{name:"effect-fade",params:{fadeeffect:{crossfade:!1}},create:function(){k.extend(this,{fadeeffect:{settranslate:it.settranslate.bind(this),settransition:it.settransition.bind(this)}})},on:{beforeinit:function(){var t;"fade"===this.params.effect&&(this.classnames.push(this.params.containermodifierclass+"fade"),k.extend(this.params,t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0}),k.extend(this.originalparams,t))},settranslate:function(){"fade"===this.params.effect&&this.fadeeffect.settranslate()},settransition:function(t){"fade"===this.params.effect&&this.fadeeffect.settransition(t)}}},{name:"effect-cube",params:{cubeeffect:{slideshadows:!0,shadow:!0,shadowoffset:20,shadowscale:.94}},create:function(){k.extend(this,{cubeeffect:{settranslate:nt.settranslate.bind(this),settransition:nt.settransition.bind(this)}})},on:{beforeinit:function(){var t;"cube"===this.params.effect&&(this.classnames.push(this.params.containermodifierclass+"cube"),this.classnames.push(this.params.containermodifierclass+"3d"),k.extend(this.params,t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,resistanceratio:0,spacebetween:0,centeredslides:!1,virtualtranslate:!0}),k.extend(this.originalparams,t))},settranslate:function(){"cube"===this.params.effect&&this.cubeeffect.settranslate()},settransition:function(t){"cube"===this.params.effect&&this.cubeeffect.settransition(t)}}},{name:"effect-flip",params:{flipeffect:{slideshadows:!0,limitrotation:!0}},create:function(){k.extend(this,{flipeffect:{settranslate:st.settranslate.bind(this),settransition:st.settransition.bind(this)}})},on:{beforeinit:function(){var t;"flip"===this.params.effect&&(this.classnames.push(this.params.containermodifierclass+"flip"),this.classnames.push(this.params.containermodifierclass+"3d"),k.extend(this.params,t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0}),k.extend(this.originalparams,t))},settranslate:function(){"flip"===this.params.effect&&this.flipeffect.settranslate()},settransition:function(t){"flip"===this.params.effect&&this.flipeffect.settransition(t)}}},{name:"effect-coverflow",params:{coverfloweffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideshadows:!0}},create:function(){k.extend(this,{coverfloweffect:{settranslate:ot.settranslate.bind(this),settransition:ot.settransition.bind(this)}})},on:{beforeinit:function(){"coverflow"===this.params.effect&&(this.classnames.push(this.params.containermodifierclass+"coverflow"),this.classnames.push(this.params.containermodifierclass+"3d"),this.params.watchslidesprogress=!0,this.originalparams.watchslidesprogress=!0)},settranslate:function(){"coverflow"===this.params.effect&&this.coverfloweffect.settranslate()},settransition:function(t){"coverflow"===this.params.effect&&this.coverfloweffect.settransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleactivethumbs:!0,autoscrolloffset:0,slidethumbactiveclass:"swiper-slide-thumb-active",thumbscontainerclass:"swiper-container-thumbs"}},create:function(){k.extend(this,{thumbs:{swiper:null,init:rt.init.bind(this),update:rt.update.bind(this),onthumbclick:rt.onthumbclick.bind(this)}})},on:{beforeinit:function(){var t=this.params.thumbs;t&&t.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slidechange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerupdate:function(){this.thumbs.swiper&&this.thumbs.update()},settransition:function(t){var e=this.thumbs.swiper;e&&e.settransition(t)},beforedestroy:function(){var t=this.thumbs.swiper;t&&this.thumbs.swipercreated&&t&&t.destroy()}}}];return void 0===p.use&&(p.use=p.class.use,p.installmodule=p.class.installmodule),p.use(a),p}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalthis?globalthis:t||self).viewer=e()}(this,function(){"use strict";function o(e,t){var i,n=object.keys(e);return object.getownpropertysymbols&&(i=object.getownpropertysymbols(e),t&&(i=i.filter(function(t){return object.getownpropertydescriptor(e,t).enumerable})),n.push.apply(n,i)),n}function x(n){for(var t=1;t=this.length||this.viewed&&t===this.index)){if(!this.isshown)return this.index=t,this.show();this.viewing&&this.viewing.abort();var e,n,s,o=this.element,r=this.options,a=this.title,l=this.canvas,h=this.items[t],c=h.queryselector("img"),u=$(c,"originalurl"),d=c.getattribute("alt"),p=document.createelement("img");m(r.inheritedattributes,function(t){var e=c.getattribute(t);null!==e&&p.setattribute(t,e)}),p.src=u,p.alt=d,p(r.view)&&h(o,"view",r.view,{once:!0}),!1===y(o,"view",{originalimage:this.images[t],index:t,image:p})||!this.isshown||this.hiding||this.played||((u=this.items[this.index])&&(l(u,m),u.removeattribute("aria-selected")),a(h,m),h.setattribute("aria-selected",!0),r.focus&&h.focus(),this.image=p,this.viewed=!1,this.index=t,this.imagedata={},a(p,v),r.loading&&a(l,y),l.innerhtml="",l.appendchild(p),this.renderlist(),a.innerhtml="",h(o,s,e=function(){var t=i.imagedata,e=array.isarray(r.title)?r.title[1]:r.title;a.innerhtml=k(e=p(e)?e.call(i,p,t):"".concat(d," (").concat(t.naturalwidth," × ").concat(t.naturalheight,")"))?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"):e},{once:!0}),this.viewing={abort:function(){b(o,s,e),p.complete?i.imagerendering?i.imagerendering.abort():i.imageinitializing&&i.imageinitializing.abort():(p.src="",b(p,w,n),i.timeout&&cleartimeout(i.timeout))}},p.complete?this.load():(h(p,w,n=function(){b(p,x,s),i.load()},{once:!0}),h(p,x,s=function(){b(p,w,n),i.timeout&&(cleartimeout(i.timeout),i.timeout=!1),l(p,v),r.loading&&l(i.canvas,y)},{once:!0}),this.timeout&&cleartimeout(this.timeout),this.timeout=settimeout(function(){l(p,v),i.timeout=!1},1e3)))}return this},prev:function(){var t=this.index-1;return t<0&&(t=0math.abs(a)&&(this.pointers={},1
      ',d=(i=d.queryselector(".".concat(f,"-container"))).queryselector(".".concat(f,"-title")),n=i.queryselector(".".concat(f,"-toolbar")),p=i.queryselector(".".concat(f,"-navbar")),s=i.queryselector(".".concat(f,"-button")),r=i.queryselector(".".concat(f,"-canvas")),this.parent=e,this.viewer=i,this.title=d,this.toolbar=n,this.navbar=p,this.button=s,this.canvas=r,this.footer=i.queryselector(".".concat(f,"-footer")),this.tooltipbox=i.queryselector(".".concat(f,"-tooltip")),this.player=i.queryselector(".".concat(f,"-player")),this.list=i.queryselector(".".concat(f,"-list")),i.id="".concat(f).concat(this.id),d.id="".concat(f,"title").concat(this.id),a(d,o.title?gt(array.isarray(o.title)?o.title[0]:o.title):g),a(p,o.navbar?gt(o.navbar):g),i(s,g,!o.button),o.keyboard&&s.setattribute("tabindex",0),o.backdrop&&(a(i,"".concat(f,"-backdrop")),o.inline||"static"===o.backdrop||ht(r,et,"hide")),k(o.classname)&&o.classname&&o.classname.split(it).foreach(function(t){a(i,t)}),o.toolbar?(a=document.createelement("ul"),l=c(o.toolbar),h=nt.slice(0,3),c=nt.slice(7,9),u=nt.slice(9),l||a(n,gt(o.toolbar)),m(l?o.toolbar:nt,function(t,e){var i,n=l&&c(t),e=l?lt(e):t,s=n&&!_(t.show)?t.show:t;!s||!o.zoomable&&-1!==h.indexof(e)||!o.rotatable&&-1!==c.indexof(e)||!o.scalable&&-1!==u.indexof(e)||(i=n&&!_(t.size)?t.size:t,n=n&&!_(t.click)?t.click:t,t=document.createelement("li"),o.keyboard&&t.setattribute("tabindex",0),t.setattribute("role","button"),a(t,"".concat(f,"-").concat(e)),p(n)||ht(t,et,e),e(s)&&a(t,gt(s)),-1!==["small","large"].indexof(i)?a(t,"".concat(f,"-").concat(i)):"play"===e&&a(t,"".concat(f,"-large")),p(n)&&h(t,b,n),a.appendchild(t))}),n.appendchild(a)):a(n,g),o.rotatable||(a(d=n.queryselectorall('li[class*="rotate"]'),v),m(d,function(t){n.appendchild(t)})),o.inline?(a(s,w),d(i,{zindex:o.zindexinline}),"static"===window.getcomputedstyle(e).position&&d(e,{position:"relative"}),e.insertbefore(i,t.nextsibling)):(a(s,f),a(i,n),a(i,r),a(i,g),d(i,{zindex:o.zindex}),(p=(p=k(p=o.container)?t.ownerdocument.queryselector(p):p)||this.body).appendchild(i)),o.inline&&(this.render(),this.bind(),this.isshown=!0),this.ready=!0,p(o.ready)&&h(t,"ready",o.ready,{once:!0}),!1===y(t,"ready")?this.ready=!1:this.ready&&o.inline&&this.view(this.index))}}]),a(bt,wt),object.defineproperty(bt,"prototype",{writable:!1}),o((t=et).prototype,e,i,xt,tt,st),t}),function(){function e(t,e){return function(){return t.apply(e,arguments)}}var n,t,i,l,s,r=[].indexof||function(t){for(var e=0,i=this.length;e