// 整合imagesloaded // 整合mmenu // 整合swiper // 整合mcustomscrollbar // 整合wow // 整合viewer弹窗插件 //running /*! jquery v3.6.0 | (c) openjs foundation and other contributors | jquery.org/license */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new error("jquery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(c,e){"use strict";var t=[],r=object.getprototypeof,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexof,n={},o=n.tostring,v=n.hasownproperty,a=v.tostring,l=a.call(object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodetype&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},e=c.document,c={type:!0,src:!0,nonce:!0,nomodule:!0};function b(e,t,n){var r,i,o=(n=n||e).createelement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getattribute&&t.getattribute(r))&&o.setattribute(r,i);n.head.appendchild(o).parentnode.removechild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",s=function(e,t){return new s.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+m+")"+m+"*"),u=new regexp(m+"|>"),x=new regexp(f),v=new regexp("^"+i+"$"),g={id:new regexp("^#("+i+")"),class:new regexp("^\\.("+i+")"),tag:new regexp("^("+i+"|[*])"),attr:new regexp("^"+w),pseudo:new regexp("^"+f),child:new regexp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+m+"*(even|odd|(([+-]|)(\\d*)n|)"+m+"*(?:([+-]|)"+m+"*(\\d+)|))"+m+"*\\)|)","i"),bool:new regexp("^(?:"+r+")$","i"),needscontext:new regexp("^"+m+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+m+"*((?:-\\d)?\\d*)"+m+"*\\)|)(?=[^-]|$)","i")},y=/html$/i,q=/^(?:input|select|textarea|button)$/i,j=/^h\d$/i,k=/^[^{]+\{\s*\[native \w/,z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new regexp("\\\\[\\da-fa-f]{1,6}"+m+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?string.fromcharcode(n+65536):string.fromcharcode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uffff\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charcodeat(e.length-1).tostring(16)+" ":"\\"+e},oe=function(){t()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodename.tolowercase()},{dir:"parentnode",next:"legend"});try{h.apply(t=o.call(p.childnodes),p.childnodes),t[p.childnodes.length].nodetype}catch(e){h={apply:t.length?function(e,t){l.apply(e,o.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerdocument,p=e?e.nodetype:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(t(e),e=e||c,e)){if(11!==p&&(u=z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getelementbyid(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getelementbyid(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return h.apply(n,e.getelementsbytagname(t)),n;if((i=u[3])&&d.getelementsbyclassname&&e.getelementsbyclassname)return h.apply(n,e.getelementsbyclassname(i)),n}if(d.qsa&&!n[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodename.tolowercase())){if(c=t,f=e,1===p&&(u.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentnode)||e)===e&&d.scope||((s=e.getattribute("id"))?s=s.replace(re,ie):e.setattribute("id",s=s)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return h.apply(n,f.queryselectorall(c)),n}catch(e){n(t,!0)}finally{s===s&&e.removeattribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cachelength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[s]=!0,e}function ce(e){var t=c.createelement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentnode&&t.parentnode.removechild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrhandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodetype&&1===t.nodetype&&e.sourceindex-t.sourceindex;if(r)return r;if(n)while(n=n.nextsibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodename.tolowercase()&&e.type===t}}function he(n){return function(e){var t=e.nodename.tolowercase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentnode&&!1===e.disabled?"label"in e?"label"in e.parentnode?e.parentnode.disabled===t:e.disabled===t:e.isdisabled===t||e.isdisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getelementsbytagname&&e}for(e in d=se.support={},i=se.isxml=function(e){var t=e&&e.namespaceuri,n=e&&(e.ownerdocument||e).documentelement;return!y.test(t||n&&n.nodename||"html")},t=se.setdocument=function(e){var t,n,r=e?e.ownerdocument||e:p;return r!=c&&9===r.nodetype&&r.documentelement&&(a=(c=r).documentelement,e=!i(c),p!=c&&(n=c.defaultview)&&n.top!==n&&(n.addeventlistener?n.addeventlistener("unload",oe,!1):n.attachevent&&n.attachevent("onunload",oe)),d.scope=ce(function(e){return a.appendchild(e).appendchild(c.createelement("div")),"undefined"!=typeof e.queryselectorall&&!e.queryselectorall(":scope fieldset div").length}),d.attributes=ce(function(e){return e.classname="i",!e.getattribute("classname")}),d.getelementsbytagname=ce(function(e){return e.appendchild(c.createcomment("")),!e.getelementsbytagname("*").length}),d.getelementsbyclassname=k.test(c.getelementsbyclassname),d.getbyid=ce(function(e){return a.appendchild(e).id=s,!c.getelementsbyname||!c.getelementsbyname(s).length}),d.getbyid?(b.filter.id=function(e){var t=e.replace(te,ne);return function(e){return e.getattribute("id")===t}},b.find.id=function(e,t){if("undefined"!=typeof t.getelementbyid&&e){var n=t.getelementbyid(e);return n?[n]:[]}}):(b.filter.id=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getattributenode&&e.getattributenode("id");return t&&t.value===n}},b.find.id=function(e,t){if("undefined"!=typeof t.getelementbyid&&e){var n,r,i,o=t.getelementbyid(e);if(o){if((n=o.getattributenode("id"))&&n.value===e)return[o];i=t.getelementsbyname(e),r=0;while(o=i[r++])if((n=o.getattributenode("id"))&&n.value===e)return[o]}return[]}}),b.find.tag=d.getelementsbytagname?function(e,t){return"undefined"!=typeof t.getelementsbytagname?t.getelementsbytagname(e):d.qsa?t.queryselectorall(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getelementsbytagname(e);if("*"===e){while(n=o[i++])1===n.nodetype&&r.push(n);return r}return o},b.find.class=d.getelementsbyclassname&&function(e,t){if("undefined"!=typeof t.getelementsbyclassname&&e)return t.getelementsbyclassname(e)},s=[],v=[],(d.qsa=k.test(c.queryselectorall))&&(ce(function(e){var t;a.appendchild(e).innerhtml="",e.queryselectorall("[msallowcapture^='']").length&&v.push("[*^$]="+m+"*(?:''|\"\")"),e.queryselectorall("[selected]").length||v.push("\\["+m+"*(?:value|"+r+")"),e.queryselectorall("[id~="+s+"-]").length||v.push("~="),(t=c.createelement("input")).setattribute("name",""),e.appendchild(t),e.queryselectorall("[name='']").length||v.push("\\["+m+"*name"+m+"*="+m+"*(?:''|\"\")"),e.queryselectorall(":checked").length||v.push(":checked"),e.queryselectorall("a#"+s+"+*").length||v.push(".#.+[+~]"),e.queryselectorall("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerhtml="";var t=c.createelement("input");t.setattribute("type","hidden"),e.appendchild(t).setattribute("name","d"),e.queryselectorall("[name=d]").length&&v.push("name"+m+"*[*^$|!~]?="),2!==e.queryselectorall(":enabled").length&&v.push(":enabled",":disabled"),a.appendchild(e).disabled=!0,2!==e.queryselectorall(":disabled").length&&v.push(":enabled",":disabled"),e.queryselectorall("*,:x"),v.push(",.*:")})),(d.matchesselector=k.test(c=a.matches||a.webkitmatchesselector||a.mozmatchesselector||a.omatchesselector||a.msmatchesselector))&&ce(function(e){d.disconnectedmatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",f)}),v=v.length&&new regexp(v.join("|")),s=s.length&&new regexp(s.join("|")),t=k.test(a.comparedocumentposition),y=t||k.test(a.contains)?function(e,t){var n=9===e.nodetype?e.documentelement:e,r=t&&t.parentnode;return e===r||!(!r||1!==r.nodetype||!(n.contains?n.contains(r):e.comparedocumentposition&&16&e.comparedocumentposition(r)))}:function(e,t){if(t)while(t=t.parentnode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.comparedocumentposition-!t.comparedocumentposition;return n||(1&(n=(e.ownerdocument||e)==(t.ownerdocument||t)?e.comparedocumentposition(t):1)||!d.sortdetached&&t.comparedocumentposition(e)===n?e==c||e.ownerdocument==p&&y(p,e)?-1:t==c||t.ownerdocument==p&&y(p,t)?1:u?p(u,e)-p(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentnode,o=t.parentnode,a=[e],s=[t];if(!i||!o)return e==c?-1:t==c?1:i?-1:o?1:u?p(u,e)-p(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentnode)a.unshift(n);n=t;while(n=n.parentnode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),c},se.matches=function(e,t){return se(e,null,null,t)},se.matchesselector=function(e,t){if(t(e),d.matchesselector&&e&&!n[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedmatch||e.document&&11!==e.document.nodetype)return n}catch(e){n(t,!0)}return 0":{dir:"parentnode",first:!0}," ":{dir:"parentnode"},"+":{dir:"previoussibling",first:!0},"~":{dir:"previoussibling"}},prefilter:{attr:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},child:function(e){return e[1]=e[1].tolowercase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},pseudo:function(e){var t,n=!e[6]&&e[2];return g.child.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&x.test(n)&&(t=h(n,!0))&&(t=n.indexof(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{tag:function(e){var t=e.replace(te,ne).tolowercase();return"*"===e?function(){return!0}:function(e){return e.nodename&&e.nodename.tolowercase()===t}},class:function(e){var t=m[e+" "];return t||(t=new regexp("(^|"+m+")"+e+"("+m+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.classname&&e.classname||"undefined"!=typeof e.getattribute&&e.getattribute("class")||"")})},attr:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexof(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?s.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodetype?s.grep(e,function(e){return e===n!==r}):"string"!=typeof n?s.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(s.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||d,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof s?t[0]:t,s.merge(this,s.parsehtml(r[1],t&&t.nodetype?t.ownerdocument||t:e,!0)),n.test(r[1])&&s.isplainobject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=e.getelementbyid(r[2]))&&(this[0]=i,this.length=1),this}return e.nodetype?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(s):s.makearray(e,this)}).prototype=s.fn,d=s(e);var l=/^(?:parents|prev(?:until|all))/,h={children:!0,contents:!0,next:!0,prev:!0};function o(e,t){while((e=e[t])&&1!==e.nodetype);return e}s.fn.extend({has:function(e){var t=s(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=e.createdocumentfragment().appendchild(e.createelement("div")),(fe=e.createelement("input")).setattribute("type","radio"),fe.setattribute("checked","checked"),fe.setattribute("name","t"),ce.appendchild(fe),y.checkclone=ce.clonenode(!0).clonenode(!0).lastchild.checked,ce.innerhtml="",y.noclonechecked=!!ce.clonenode(!0).lastchild.defaultvalue,ce.innerhtml="",y.option=!!ce.lastchild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getelementsbytagname?e.getelementsbytagname(t||"*"):"undefined"!=typeof e.queryselectorall?e.queryselectorall(t||"*"):[],void 0===t||t&&a(e,t)?s.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createdocumentfragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return a(e,"table")&&a(11!==t.nodetype?t:t.firstchild,"tr")&&s(e).children("tbody")[0]||e}function de(e){return e.type=(null!==e.getattribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeattribute("type"),e}function le(e,t){var n,r,i,o,a,s;if(1===t.nodetype){if(y.hasdata(e)&&(s=y.get(e).events))for(i in y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptattrs||{}).prop({charset:n.scriptcharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),e.head.appendchild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],ut=/(=)\?(?=&|$)|\?\?/;s.ajaxsetup({jsonp:"callback",jsonpcallback:function(){var e=zt.pop()||s.expando+"_"+wt.guid++;return this[e]=!0,e}}),s.ajaxprefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contenttype||"").indexof("application/x-www-form-urlencoded")&&ut.test(e.data)&&"data");if(a||"jsonp"===e.datatypes[0])return r=e.jsonpcallback=m(e.jsonpcallback)?e.jsonpcallback():e.jsonpcallback,a?e[a]=e[a].replace(ut,"$1"+r):!1!==e.jsonp&&(e.url+=(tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||s.error(r+" was not called"),o[0]},e.datatypes[0]="json",i=c[r],c[r]=function(){o=arguments},n.always(function(){void 0===i?s(c).removeprop(r):c[r]=i,e[r]&&(e.jsonpcallback=t.jsonpcallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createhtmldocument=((_t=e.implementation.createhtmldocument("").body).innerhtml="
",2===_t.childnodes.length),s.parsehtml=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createhtmldocument?((r=(t=e.implementation.createhtmldocument("")).createelement("base")).href=e.location.href,t.head.appendchild(r)):t=e),o=!n&&[],(i=n.exec(e))?[t.createelement(i[1])]:(i=xe([e],t,o),o&&o.length&&s(o).remove(),s.merge([],i.childnodes)));var r,i,o},s.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexof(" ");return-1").append(s.parsehtml(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responsetext,t,e])})}),this},s.expr.pseudos.animated=function(t){return s.grep(s.timers,function(e){return t===e.elem}).length},s.offset={setoffset:function(e,t,n){var r,i,o,a,s,u,l=s.css(e,"position"),c=s(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=s.css(e,"top"),u=s.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexof("auto")?(a=(r=c.position()).top,i=r.left):(a=parsefloat(o)||0,i=parsefloat(u)||0),m(t)&&(t=t.call(e,n,s.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},s.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){s.offset.setoffset(this,t,e)});var e,n,r=this[0];return r?r.getclientrects().length?(e=r.getboundingclientrect(),n=r.ownerdocument.defaultview,{top:e.top+n.pageyoffset,left:e.left+n.pagexoffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===s.css(r,"position"))t=r.getboundingclientrect();else{t=this.offset(),n=r.ownerdocument,e=r.offsetparent||n.documentelement;while(e&&(e===n.body||e===n.documentelement)&&"static"===s.css(e,"position"))e=e.parentnode;e&&e!==r&&1===e.nodetype&&((i=s(e).offset()).top+=s.css(e,"bordertopwidth",!0),i.left+=s.css(e,"borderleftwidth",!0))}return{top:t.top-i.top-s.css(r,"margintop",!0),left:t.left-i.left-s.css(r,"marginleft",!0)}}},offsetparent:function(){return this.map(function(){var e=this.offsetparent;while(e&&"static"===s.css(e,"position"))e=e.offsetparent;return e||re})}}),s.each({scrollleft:"pagexoffset",scrolltop:"pageyoffset"},function(t,i){var o="pageyoffset"===i;s.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodetype&&(r=e.defaultview),void 0===n)return r?r[i]:e[t];r?r.scrollto(o?r.pagexoffset:n,o?n:r.pageyoffset):e[t]=n},t,e,arguments.length)}}),s.each(["top","left"],function(e,n){s.csshooks[n]=fe(y.pixelposition,function(e,t){if(t)return t=we(e,n),pe.test(t)?s(e).position()[n]+"px":t})}),s.each({height:"height",width:"width"},function(a,s){s.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){s.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexof("outer")?e["inner"+a]:e.document.documentelement["client"+a]:9===e.nodetype?(r=e.documentelement,math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?s.css(e,t,i):s.style(e,t,n,i)},s,n?e:void 0,n)}})}),s.each(["ajaxstart","ajaxstop","ajaxcomplete","ajaxerror","ajaxsuccess","ajaxsend"],function(e,t){s.fn[t]=function(e){return this.on(t,e)}}),s.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){s.fn[n]=function(e,t){return 0t;t++){n[e[t]]=n.mm(e[t])}}}),a.mm=function(e){return"mm-"+e},a.add("wrapper menu panels panel nopanel current highest opened subopened navbar hasnavbar title btn prev next listview nolistview inset vertical selected divider spacer hidden fullsubopen"),a.umm=function(e){return"mm-"==e.slice(0,3)&&(e=e.slice(3)),e},i.mm=function(e){return"mm-"+e},i.add("parent sub"),r.mm=function(e){return e+".mm"},r.add("transitionend webkittransitionend mousedown mouseup touchstart touchmove touchend click keydown"),e[t]._c=a,e[t]._d=i,e[t]._e=r,e[t].glbl=l)}var t="mmenu",s="5.5.3";if(!(e[t]&&e[t].version>s)){e[t]=function(e,n,t){this.$menu=e,this._api=["bind","init","update","setselected","getinstance","openpanel","closepanel","closeallpanels"],this.opts=n,this.conf=t,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initmenu(),this._initanchors();var s=this.$pnls.children();return this._initaddons(),this.init(s),"function"==typeof this.___debug&&this.___debug(),this},e[t].version=s,e[t].addons={},e[t].uniqueid=0,e[t].defaults={extensions:[],navbar:{add:!0,title:"menu",titlelink:"panel"},onclick:{setselected:!0},slidingsubmenus:!0},e[t].configuration={classnames:{divider:"divider",inset:"inset",panel:"panel",selected:"selected",spacer:"spacer",vertical:"vertical"},clone:!1,openinginterval:25,panelnodetype:"ul, ol, div",transitionduration:400},e[t].prototype={init:function(e){e=e.not("."+a.nopanel),e=this._initpanels(e),this.trigger("init",e),this.trigger("update")},update:function(){this.trigger("update")},setselected:function(e){this.$menu.find("."+a.listview).children().removeclass(a.selected),e.addclass(a.selected),this.trigger("setselected",e)},openpanel:function(n){var s=n.parent();if(s.hasclass(a.vertical)){var i=s.parents("."+a.subopened);if(i.length){return this.openpanel(i.first())}s.addclass(a.opened)}else{if(n.hasclass(a.current)){return}var r=this.$pnls.children("."+a.panel),l=r.filter("."+a.current);r.removeclass(a.highest).removeclass(a.current).not(n).not(l).not("."+a.vertical).addclass(a.hidden),e[t].support.csstransitions||l.addclass(a.hidden),n.hasclass(a.opened)?n.nextall("."+a.opened).addclass(a.highest).removeclass(a.opened).removeclass(a.subopened):(n.addclass(a.highest),l.addclass(a.subopened)),n.removeclass(a.hidden).addclass(a.current),settimeout(function(){n.removeclass(a.subopened).addclass(a.opened)},this.conf.openinginterval)}this.trigger("openpanel",n)},closepanel:function(e){var n=e.parent();n.hasclass(a.vertical)&&(n.removeclass(a.opened),this.trigger("closepanel",e))},closeallpanels:function(){this.$menu.find("."+a.listview).children().removeclass(a.selected).filter("."+a.vertical).removeclass(a.opened);var e=this.$pnls.children("."+a.panel),n=e.first();this.$pnls.children("."+a.panel).not(n).removeclass(a.subopened).removeclass(a.opened).removeclass(a.current).removeclass(a.highest).addclass(a.hidden),this.openpanel(n)},togglepanel:function(e){var n=e.parent();n.hasclass(a.vertical)&&this[n.hasclass(a.opened)?"closepanel":"openpanel"](e)},getinstance:function(){return this},bind:function(e,n){this.cbck[e]=this.cbck[e]||[],this.cbck[e].push(n)},trigger:function(){var e=this,n=array.prototype.slice.call(arguments),t=n.shift();if(this.cbck[t]){for(var s=0,a=this.cbck[t].length;a>s;s++){this.cbck[t][s].apply(e,n)}}},_initmenu:function(){this.opts.offcanvas&&this.conf.clone&&(this.$menu=this.$menu.clone(!0),this.$menu.add(this.$menu.find("[id]")).filter("[id]").each(function(){e(this).attr("id",a.mm(e(this).attr("id")))})),this.$menu.contents().each(function(){3==e(this)[0].nodetype&&e(this).remove()}),this.$pnls=e('
').append(this.$menu.children(this.conf.panelnodetype)).prependto(this.$menu),this.$menu.parent().addclass(a.wrapper);var n=[a.menu];this.opts.slidingsubmenus||n.push(a.vertical),this.opts.extensions=this.opts.extensions.length?"mm-"+this.opts.extensions.join(" mm-"):"",this.opts.extensions&&n.push(this.opts.extensions),this.$menu.addclass(n.join(" "))},_initpanels:function(n){var t=this,s=this.__findaddback(n,"ul, ol");this.__refactorclass(s,this.conf.classnames.inset,"inset").addclass(a.nolistview+" "+a.nopanel),s.not("."+a.nolistview).addclass(a.listview);var r=this.__findaddback(n,"."+a.listview).children();this.__refactorclass(r,this.conf.classnames.selected,"selected"),this.__refactorclass(r,this.conf.classnames.divider,"divider"),this.__refactorclass(r,this.conf.classnames.spacer,"spacer"),this.__refactorclass(this.__findaddback(n,"."+this.conf.classnames.panel),this.conf.classnames.panel,"panel");var l=e(),d=n.add(n.find("."+a.panel)).add(this.__findaddback(n,"."+a.listview).children().children(this.conf.panelnodetype)).not("."+a.nopanel);this.__refactorclass(d,this.conf.classnames.vertical,"vertical"),this.opts.slidingsubmenus||d.addclass(a.vertical),d.each(function(){var n=e(this),s=n; n.is("ul, ol")?(n.wrap('
'),s=n.parent()):s.addclass(a.panel);var i=n.attr("id");n.removeattr("id"),s.attr("id",i||t.__getuniqueid()),n.hasclass(a.vertical)&&(n.removeclass(t.conf.classnames.vertical),s.add(s.parent()).addclass(a.vertical)),l=l.add(s)});var o=e("."+a.panel,this.$menu);l.each(function(){var n=e(this),s=n.parent(),r=s.children("a, span").first();if(s.is("."+a.panels)||(s.data(i.sub,n),n.data(i.parent,s)),!s.children("."+a.next).length&&s.parent().is("."+a.listview)){var l=n.attr("id"),d=e('').insertbefore(r);r.is("span")&&d.addclass(a.fullsubopen)}if(!n.children("."+a.navbar).length&&!s.hasclass(a.vertical)){if(s.parent().is("."+a.listview)){var s=s.closest("."+a.panel)}else{var r=s.closest("."+a.panel).find('a[href="#'+n.attr("id")+'"]').first(),s=r.closest("."+a.panel)}var o=e('
');if(s.length){var l=s.attr("id");switch(t.opts.navbar.titlelink){case"anchor":_url=r.attr("href");break;case"panel":case"parent":_url="#"+l;break;case"none":default:_url=!1}o.append('').append(e('").text(r.text())).prependto(n),t.opts.navbar.add&&n.addclass(a.hasnavbar)}else{t.opts.navbar.title&&(o.append(''+t.opts.navbar.title+"").prependto(n),t.opts.navbar.add&&n.addclass(a.hasnavbar))}}});var c=this.__findaddback(n,"."+a.listview).children("."+a.selected).removeclass(a.selected).last().addclass(a.selected);c.add(c.parentsuntil("."+a.menu,"li")).filter("."+a.vertical).addclass(a.opened).end().not("."+a.vertical).each(function(){e(this).parentsuntil("."+a.menu,"."+a.panel).not("."+a.vertical).first().addclass(a.opened).parentsuntil("."+a.menu,"."+a.panel).not("."+a.vertical).first().addclass(a.opened).addclass(a.subopened)}),c.children("."+a.panel).not("."+a.vertical).addclass(a.opened).parentsuntil("."+a.menu,"."+a.panel).not("."+a.vertical).first().addclass(a.opened).addclass(a.subopened);var h=o.filter("."+a.opened);return h.length||(h=l.first()),h.addclass(a.opened).last().addclass(a.current),l.not("."+a.vertical).not(h.last()).addclass(a.hidden).end().appendto(this.$pnls),l},_initanchors:function(){var n=this;l.$body.on(r.click+"-oncanvas","a[href]",function(s){var i=e(this),r=!1,l=n.$menu.find(i).length;for(var d in e[t].addons){if(r=e[t].addons[d].clickanchor.call(n,i,l)){break}}if(!r&&l){var o=i.attr("href");if(o.length>1&&"#"==o.slice(0,1)){try{var c=e(o,n.$menu);c.is("."+a.panel)&&(r=!0,n[i.parent().hasclass(a.vertical)?"togglepanel":"openpanel"](c))}catch(h){}}}if(r&&s.preventdefault(),!r&&l&&i.is("."+a.listview+" > li > a")&&!i.is('[rel="external"]')&&!i.is('[target="_blank"]')){n.__valueorfn(n.opts.onclick.setselected,i)&&n.setselected(e(s.target).parent());var p=n.__valueorfn(n.opts.onclick.preventdefault,i,"#"==o.slice(0,1));p&&s.preventdefault(),n.__valueorfn(n.opts.onclick.close,i,p)&&n.close()}})},_initaddons:function(){for(var n in e[t].addons){e[t].addons[n].add.call(this),e[t].addons[n].add=function(){}}for(var n in e[t].addons){e[t].addons[n].setup.call(this)}},__api:function(){var n=this,t={};return e.each(this._api,function(){var e=this;t[e]=function(){var s=n[e].apply(n,arguments);return"undefined"==typeof s?t:s}}),t},__valueorfn:function(e,n,t){return"function"==typeof e?e.call(n[0]):"undefined"==typeof e&&"undefined"!=typeof t?t:e},__refactorclass:function(e,n,t){return e.filter("."+n).removeclass(n).addclass(a[t])},__findaddback:function(e,n){return e.find(n).add(e.filter(n))},__filterlistitems:function(e){return e.not("."+a.divider).not("."+a.hidden)},__transitionend:function(e,n,t){var s=!1,a=function(){s||n.call(e[0]),s=!0};e.one(r.transitionend,a),e.one(r.webkittransitionend,a),settimeout(a,1.1*t)},__getuniqueid:function(){return a.mm(e[t].uniqueid++)}},e.fn[t]=function(s,a){return n(),s=e.extend(!0,{},e[t].defaults,s),a=e.extend(!0,{},e[t].configuration,a),this.each(function(){var n=e(this);if(!n.data(t)){var i=new e[t](n,s,a);n.data(t,i.__api())}})},e[t].support={touch:"ontouchstart" in window||navigator.msmaxtouchpoints,csstransitions:function(){if("undefined"!=typeof modernizr&&"undefined"!=typeof modernizr.csstransitions){return modernizr.csstransitions}var e=document.body||document.documentelement,n=e.style,t="transition";if("string"==typeof n[t]){return !0}var s=["moz","webkit","webkit","khtml","o","ms"];t=t.charat(0).touppercase()+t.substr(1);for(var a=0;a1&&i.wrappageifneeded&&(t=t.wrapall("<"+this.conf[o].pagenodetype+" />").parent())),t.each(function(){e(this).attr("id",e(this).attr("id")||s.__getuniqueid())}),t.addclass(n.page+" "+n.slideout),a.$page=t,this.trigger("setpage",t)},e[t].prototype["_initwindow_"+o]=function(){a.$wndw.off(i.keydown+"-"+o).on(i.keydown+"-"+o,function(e){return a.$html.hasclass(n.opened)&&9==e.keycode?(e.preventdefault(),!1):void 0});var e=0;a.$wndw.off(i.resize+"-"+o).on(i.resize+"-"+o,function(t,o){if(1==a.$page.length&&(o||a.$html.hasclass(n.opened))){var s=a.$wndw.height();(o||s!=e)&&(e=s,a.$page.css("minheight",s))}})},e[t].prototype._initblocker=function(){var t=this;this.opts[o].blockui&&(a.$blck||(a.$blck=e('
')),a.$blck.appendto(a.$body).off(i.touchstart+"-"+o+" "+i.touchmove+"-"+o).on(i.touchstart+"-"+o+" "+i.touchmove+"-"+o,function(e){e.preventdefault(),e.stoppropagation(),a.$blck.trigger(i.mousedown+"-"+o)}).off(i.mousedown+"-"+o).on(i.mousedown+"-"+o,function(e){e.preventdefault(),a.$html.hasclass(n.modal)||(t.closeallothers(),t.close())}))};var n,s,i,a}(jquery);!function(t){var e="mmenu",s="autoheight";t[e].addons[s]={setup:function(){if(this.opts.offcanvas){switch(this.opts.offcanvas.position){case"left":case"right":return}var n=this,o=this.opts[s];if(this.conf[s],h=t[e].glbl,"boolean"==typeof o&&o&&(o={height:"auto"}),"object"!=typeof o&&(o={}),o=this.opts[s]=t.extend(!0,{},t[e].defaults[s],o),"auto"==o.height){this.$menu.addclass(i.autoheight);var u=function(t){var e=parseint(this.$pnls.css("top"),10)||0;_bot=parseint(this.$pnls.css("bottom"),10)||0,this.$menu.addclass(i.measureheight),t=t||this.$pnls.children("."+i.current),t.is("."+i.vertical)&&(t=t.parents("."+i.panel).not("."+i.vertical).first()),this.$menu.height(t.outerheight()+e+_bot).removeclass(i.measureheight)};this.bind("update",u),this.bind("openpanel",u),this.bind("closepanel",u),this.bind("open",u),h.$wndw.off(a.resize+"-autoheight").on(a.resize+"-autoheight",function(){u.call(n)})}}},add:function(){i=t[e]._c,n=t[e]._d,a=t[e]._e,i.add("autoheight measureheight"),a.add("resize") },clickanchor:function(){}},t[e].defaults[s]={height:"default"};var i,n,a,h}(jquery);!function(o){var t="mmenu",n="backbutton";o[t].addons[n]={setup:function(){if(this.opts.offcanvas){var i=this,e=this.opts[n];if(this.conf[n],a=o[t].glbl,"boolean"==typeof e&&(e={close:e}),"object"!=typeof e&&(e={}),e=o.extend(!0,{},o[t].defaults[n],e),e.close){var c="#"+i.$menu.attr("id");this.bind("opened",function(){location.hash!=c&&history.pushstate(null,document.title,c)}),o(window).on("popstate",function(o){a.$html.hasclass(s.opened)?(o.stoppropagation(),i.close()):location.hash==c&&(o.stoppropagation(),i.open())})}}},add:function(){return window.history&&window.history.pushstate?(s=o[t]._c,i=o[t]._d,void (e=o[t]._e)):void (o[t].addons[n].setup=function(){})},clickanchor:function(){}},o[t].defaults[n]={close:!1};var s,i,e,a}(jquery);!function(t){var n="mmenu",e="counters";t[n].addons[e]={setup:function(){var s=this,o=this.opts[e];this.conf[e],c=t[n].glbl,"boolean"==typeof o&&(o={add:o,update:o}),"object"!=typeof o&&(o={}),o=this.opts[e]=t.extend(!0,{},t[n].defaults[e],o),this.bind("init",function(n){this.__refactorclass(t("em",n),this.conf.classnames[e].counter,"counter")}),o.add&&this.bind("init",function(n){n.each(function(){var n=t(this).data(a.parent);n&&(n.children("em."+i.counter).length||n.prepend(t('')))})}),o.update&&this.bind("update",function(){this.$pnls.find("."+i.panel).each(function(){var n=t(this),e=n.data(a.parent);if(e){var c=e.children("em."+i.counter);c.length&&(n=n.children("."+i.listview),n.length&&c.html(s.__filterlistitems(n.children()).length))}})})},add:function(){i=t[n]._c,a=t[n]._d,s=t[n]._e,i.add("counter search noresultsmsg")},clickanchor:function(){}},t[n].defaults[e]={add:!1,update:!1},t[n].configuration.classnames[e]={counter:"counter"};var i,a,s,c}(jquery);!function(i){var e="mmenu",s="dividers";i[e].addons[s]={setup:function(){var n=this,a=this.opts[s];if(this.conf[s],l=i[e].glbl,"boolean"==typeof a&&(a={add:a,fixed:a}),"object"!=typeof a&&(a={}),a=this.opts[s]=i.extend(!0,{},i[e].defaults[s],a),this.bind("init",function(){this.__refactorclass(i("li",this.$menu),this.conf.classnames[s].collapsed,"collapsed")}),a.add&&this.bind("init",function(e){switch(a.addto){case"panels":var s=e;break;default:var s=i(a.addto,this.$pnls).filter("."+d.panel)}i("."+d.divider,s).remove(),s.find("."+d.listview).not("."+d.vertical).each(function(){var e="";n.__filterlistitems(i(this).children()).each(function(){var s=i.trim(i(this).children("a, span").text()).slice(0,1).tolowercase();s!=e&&s.length&&(e=s,i('
  • '+s+"
  • ").insertbefore(this))})})}),a.collapse&&this.bind("init",function(e){i("."+d.divider,e).each(function(){var e=i(this),s=e.nextuntil("."+d.divider,"."+d.collapsed);s.length&&(e.children("."+d.subopen).length||(e.wrapinner(""),e.prepend('')))})}),a.fixed){var o=function(e){e=e||this.$pnls.children("."+d.current);var s=e.find("."+d.divider).not("."+d.hidden);if(s.length){this.$menu.addclass(d.hasdividers);var n=e.scrolltop()||0,t="";e.is(":visible")&&e.find("."+d.divider).not("."+d.hidden).each(function(){i(this).position().top+n
  • ').prependto(this.$pnls).children(),this.bind("openpanel",o),this.bind("init",function(e){e.off(t.scroll+"-dividers "+t.touchmove+"-dividers").on(t.scroll+"-dividers "+t.touchmove+"-dividers",function(){o.call(n,i(this))})})}},add:function(){d=i[e]._c,n=i[e]._d,t=i[e]._e,d.add("collapsed uncollapsed fixeddivider hasdividers"),t.add("scroll")},clickanchor:function(i,e){if(this.opts[s].collapse&&e){var n=i.parent();if(n.is("."+d.divider)){var t=n.nextuntil("."+d.divider,"."+d.collapsed);return n.toggleclass(d.opened),t[n.hasclass(d.opened)?"addclass":"removeclass"](d.uncollapsed),!0}}return !1}},i[e].defaults[s]={add:!1,addto:"panels",fixed:!1,collapse:!1},i[e].configuration.classnames[s]={collapsed:"collapsed"};var d,n,t,l}(jquery);!function(e){function t(e,t,n){return t>e&&(e=t),e>n&&(e=n),e}var n="mmenu",o="dragopen";e[n].addons[o]={setup:function(){if(this.opts.offcanvas){var i=this,a=this.opts[o],p=this.conf[o];if(r=e[n].glbl,"boolean"==typeof a&&(a={open:a}),"object"!=typeof a&&(a={}),a=this.opts[o]=e.extend(!0,{},e[n].defaults[o],a),a.open){var d,f,c,u,h,l={},m=0,g=!1,v=!1,w=0,_=0;switch(this.opts.offcanvas.position){case"left":case"right":l.events="panleft panright",l.typelower="x",l.typeupper="x",v="width";break;case"top":case"bottom":l.events="panup pandown",l.typelower="y",l.typeupper="y",v="height"}switch(this.opts.offcanvas.position){case"right":case"bottom":l.negative=!0,u=function(e){e>=r.$wndw[v]()-a.maxstartpos&&(m=1)};break;default:l.negative=!1,u=function(e){e<=a.maxstartpos&&(m=1)}}switch(this.opts.offcanvas.position){case"left":l.open_dir="right",l.close_dir="left"; break;case"right":l.open_dir="left",l.close_dir="right";break;case"top":l.open_dir="down",l.close_dir="up";break;case"bottom":l.open_dir="up",l.close_dir="down"}switch(this.opts.offcanvas.zposition){case"front":h=function(){return this.$menu};break;default:h=function(){return e("."+s.slideout)}}var b=this.__valueorfn(a.pagenode,this.$menu,r.$page);"string"==typeof b&&(b=e(b));var y=new hammer(b[0],a.vendors.hammer);y.on("panstart",function(e){u(e.center[l.typelower]),r.$slideoutnodes=h(),g=l.open_dir}).on(l.events+" panend",function(e){m>0&&e.preventdefault()}).on(l.events,function(e){if(d=e["delta"+l.typeupper],l.negative&&(d=-d),d!=w&&(g=d>=w?l.open_dir:l.close_dir),w=d,w>a.threshold&&1==m){if(r.$html.hasclass(s.opened)){return}m=2,i._opensetup(),i.trigger("opening"),r.$html.addclass(s.dragging),_=t(r.$wndw[v]()*p[v].perc,p[v].min,p[v].max)}2==m&&(f=t(w,10,_)-("front"==i.opts.offcanvas.zposition?_:0),l.negative&&(f=-f),c="translate"+l.typeupper+"("+f+"px )",r.$slideoutnodes.css({"-webkit-transform":"-webkit-"+c,transform:c}))}).on("panend",function(){2==m&&(r.$html.removeclass(s.dragging),r.$slideoutnodes.css("transform",""),i[g==l.open_dir?"_openfinish":"close"]()),m=0})}}},add:function(){return"function"!=typeof hammer||hammer.version<2?void (e[n].addons[o].setup=function(){}):(s=e[n]._c,i=e[n]._d,a=e[n]._e,void s.add("dragging"))},clickanchor:function(){}},e[n].defaults[o]={open:!1,maxstartpos:100,threshold:50,vendors:{hammer:{}}},e[n].configuration[o]={width:{perc:0.8,min:140,max:440},height:{perc:0.8,min:140,max:880}};var s,i,a,r}(jquery);!function(s){var i="mmenu",t="fixedelements";s[i].addons[t]={setup:function(){if(this.opts.offcanvas){var n=this.opts[t];this.conf[t],d=s[i].glbl,n=this.opts[t]=s.extend(!0,{},s[i].defaults[t],n);var a=function(s){var i=this.conf.classnames[t].fixed;this.__refactorclass(s.find("."+i),i,"slideout").appendto(d.$body)};a.call(this,d.$page),this.bind("setpage",a)}},add:function(){n=s[i]._c,a=s[i]._d,e=s[i]._e,n.add("fixed")},clickanchor:function(){}},s[i].configuration.classnames[t]={fixed:"fixed"};var n,a,e,d}(jquery);!function(e){var n="mmenu",i="iconpanels";e[n].addons[i]={setup:function(){var a=this,l=this.opts[i];if(this.conf[i],d=e[n].glbl,"boolean"==typeof l&&(l={add:l}),"number"==typeof l&&(l={add:!0,visible:l}),"object"!=typeof l&&(l={}),l=this.opts[i]=e.extend(!0,{},e[n].defaults[i],l),l.visible++,l.add){this.$menu.addclass(s.iconpanel);for(var t=[],o=0;o<=l.visible;o++){t.push(s.iconpanel+"-"+o)}t=t.join(" ");var c=function(n){var i=a.$pnls.children("."+s.panel).removeclass(t),d=i.filter("."+s.subopened);d.removeclass(s.hidden).add(n).slice(-l.visible).each(function(n){e(this).addclass(s.iconpanel+"-"+n)})};this.bind("openpanel",c),this.bind("init",function(n){c.call(a,a.$pnls.children("."+s.current)),l.hidenavbars&&n.removeclass(s.hasnavbar),n.each(function(){e(this).children("."+s.subblocker).length||e(this).prepend('
    ')})})}},add:function(){s=e[n]._c,a=e[n]._d,l=e[n]._e,s.add("iconpanel subblocker")},clickanchor:function(){}},e[n].defaults[i]={add:!1,visible:3,hidenavbars:!1};var s,a,l,d}(jquery);!function(n){var a="mmenu",t="navbars";n[a].addons[t]={setup:function(){var r=this,s=this.opts[t],c=this.conf[t];if(i=n[a].glbl,"undefined"!=typeof s){s instanceof array||(s=[s]);var d={};n.each(s,function(i){var o=s[i];"boolean"==typeof o&&o&&(o={}),"object"!=typeof o&&(o={}),"undefined"==typeof o.content&&(o.content=["prev","title"]),o.content instanceof array||(o.content=[o.content]),o=n.extend(!0,{},r.opts.navbar,o);var l=o.position,h=o.height;"number"!=typeof h&&(h=1),h=math.min(4,math.max(1,h)),"bottom"!=l&&(l="top"),d[l]||(d[l]=0),d[l]++;var f=n("
    ").addclass(e.navbar+" "+e.navbar+"-"+l+" "+e.navbar+"-"+l+"-"+d[l]+" "+e.navbar+"-size-"+h);d[l]+=h-1;for(var v=0,p=o.content.length;p>v;v++){var u=n[a].addons[t][o.content[v]]||!1;u?u.call(r,f,o,c):(u=o.content[v],u instanceof n||(u=n(o.content[v])),u.each(function(){f.append(n(this))}))}var b=math.ceil(f.children().not("."+e.btn).length/h);b>1&&f.addclass(e.navbar+"-content-"+b),f.children("."+e.btn).length&&f.addclass(e.hasbtns),f.prependto(r.$menu)});for(var o in d){r.$menu.addclass(e.hasnavbar+"-"+o+"-"+d[o])}}},add:function(){e=n[a]._c,r=n[a]._d,s=n[a]._e,e.add("close hasbtns")},clickanchor:function(){}},n[a].configuration[t]={breadcrumbseparator:"/"},n[a].configuration.classnames[t]={paneltitle:"title",panelnext:"next",panelprev:"prev"};var e,r,s,i}(jquery),function(n){var a="mmenu",t="navbars",e="breadcrumbs";n[a].addons[t][e]=function(t,e,r){var s=n[a]._c,i=n[a]._d;s.add("breadcrumbs separator"),t.append(''),this.bind("init",function(a){a.removeclass(s.hasnavbar).each(function(){for(var a=[],t=n(this),e=n(''),c=n(this).children().first(),d=!0;c&&c.length;){c.is("."+s.panel)||(c=c.closest("."+s.panel));var o=c.children("."+s.navbar).children("."+s.title).text(); a.unshift(d?""+o+"":''+o+""),d=!1,c=c.data(i.parent)}e.append(a.join(''+r.breadcrumbseparator+"")).appendto(t.children("."+s.navbar))})});var c=function(){var n=this.$pnls.children("."+s.current),a=t.find("."+s.breadcrumbs),e=n.children("."+s.navbar).children("."+s.breadcrumbs);a.html(e.html())};this.bind("openpanel",c),this.bind("init",c)}}(jquery),function(n){var a="mmenu",t="navbars",e="close";n[a].addons[t][e]=function(t){var e=n[a]._c,r=n[a].glbl;t.append('');var s=function(n){t.find("."+e.close).attr("href","#"+n.attr("id"))};s.call(this,r.$page),this.bind("setpage",s)}}(jquery),function(n){var a="mmenu",t="navbars",e="next";n[a].addons[t][e]=function(e){var r=n[a]._c;e.append('');var s=function(n){n=n||this.$pnls.children("."+r.current);var a=e.find("."+r.next),s=n.find("."+this.conf.classnames[t].panelnext),i=s.attr("href"),c=s.html();a[i?"attr":"removeattr"]("href",i),a[i||c?"removeclass":"addclass"](r.hidden),a.html(c)};this.bind("openpanel",s),this.bind("init",function(){s.call(this)})}}(jquery),function(n){var a="mmenu",t="navbars",e="prev";n[a].addons[t][e]=function(e){var r=n[a]._c;e.append(''),this.bind("init",function(n){n.removeclass(r.hasnavbar)});var s=function(){var n=this.$pnls.children("."+r.current),a=e.find("."+r.prev),s=n.find("."+this.conf.classnames[t].panelprev);s.length||(s=n.children("."+r.navbar).children("."+r.prev));var i=s.attr("href"),c=s.html();a[i?"attr":"removeattr"]("href",i),a[i||c?"removeclass":"addclass"](r.hidden),a.html(c)};this.bind("openpanel",s),this.bind("init",s)}}(jquery),function(n){var a="mmenu",t="navbars",e="searchfield";n[a].addons[t][e]=function(t){var e=n[a]._c,r=n('
    ').appendto(t);"object"!=typeof this.opts.searchfield&&(this.opts.searchfield={}),this.opts.searchfield.add=!0,this.opts.searchfield.addto=r}}(jquery),function(n){var a="mmenu",t="navbars",e="title";n[a].addons[t][e]=function(e,r){var s=n[a]._c;e.append('');var i=function(n){n=n||this.$pnls.children("."+s.current);var a=e.find("."+s.title),i=n.find("."+this.conf.classnames[t].paneltitle);i.length||(i=n.children("."+s.navbar).children("."+s.title));var c=i.attr("href"),d=i.html()||r.title;a[c?"attr":"removeattr"]("href",c),a[c||d?"removeclass":"addclass"](s.hidden),a.html(d)};this.bind("openpanel",i),this.bind("init",function(){i.call(this)})}}(jquery);!function(e){function s(e){switch(e){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:return !0}return !1}var n="mmenu",a="searchfield";e[n].addons[a]={setup:function(){var o=this,d=this.opts[a],c=this.conf[a];r=e[n].glbl,"boolean"==typeof d&&(d={add:d}),"object"!=typeof d&&(d={}),d=this.opts[a]=e.extend(!0,{},e[n].defaults[a],d),this.bind("close",function(){this.$menu.find("."+l.search).find("input").blur()}),this.bind("init",function(n){if(d.add){switch(d.addto){case"panels":var a=n;break;default:var a=e(d.addto,this.$menu)}a.each(function(){var s=e(this);if(!s.is("."+l.panel)||!s.is("."+l.vertical)){if(!s.children("."+l.search).length){var n=c.form?"form":"div",a=e("<"+n+' class="'+l.search+'" />');if(c.form&&"object"==typeof c.form){for(var t in c.form){a.attr(t,c.form[t])}}a.append(''),s.hasclass(l.search)?s.replacewith(a):s.prepend(a).addclass(l.hassearch)}if(d.noresults){var i=s.closest("."+l.panel).length;if(i||(s=o.$pnls.children("."+l.panel).first()),!s.children("."+l.noresultsmsg).length){var r=s.children("."+l.listview).first();e('
    ').append(d.noresults)[r.length?"insertafter":"prependto"](r.length?r:s)}}}}),d.search&&e("."+l.search,this.$menu).each(function(){var n=e(this),a=n.closest("."+l.panel).length;if(a){var r=n.closest("."+l.panel),c=r}else{var r=e("."+l.panel,o.$menu),c=o.$menu}var h=n.children("input"),u=o.__findaddback(r,"."+l.listview).children("li"),f=u.filter("."+l.divider),p=o.__filterlistitems(u),v="> a",m=v+", > span",b=function(){var s=h.val().tolowercase();r.scrolltop(0),p.add(f).addclass(l.hidden).find("."+l.fullsubopensearch).removeclass(l.fullsubopen).removeclass(l.fullsubopensearch),p.each(function(){var n=e(this),a=v;(d.showtextitems||d.showsubpanels&&n.find("."+l.next))&&(a=m),e(a,n).text().tolowercase().indexof(s)>-1&&n.add(n.prevall("."+l.divider).first()).removeclass(l.hidden)}),d.showsubpanels&&r.each(function(){var s=e(this);o.__filterlistitems(s.find("."+l.listview).children()).each(function(){var s=e(this),n=s.data(t.sub);s.removeclass(l.nosubresults),n&&n.find("."+l.listview).children().removeclass(l.hidden)})}),e(r.get().reverse()).each(function(s){var n=e(this),i=n.data(t.parent);i&&(o.__filterlistitems(n.find("."+l.listview).children()).length?(i.hasclass(l.hidden)&&i.children("."+l.next).not("."+l.fullsubopen).addclass(l.fullsubopen).addclass(l.fullsubopensearch),i.removeclass(l.hidden).removeclass(l.nosubresults).prevall("."+l.divider).first().removeclass(l.hidden)):a||(n.hasclass(l.opened)&&settimeout(function(){o.openpanel(i.closest("."+l.panel)) },1.5*(s+1)*o.conf.openinginterval),i.addclass(l.nosubresults)))}),c[p.not("."+l.hidden).length?"removeclass":"addclass"](l.noresults),this.update()};h.off(i.keyup+"-searchfield "+i.change+"-searchfield").on(i.keyup+"-searchfield",function(e){s(e.keycode)||b.call(o)}).on(i.change+"-searchfield",function(){b.call(o)})})}})},add:function(){l=e[n]._c,t=e[n]._d,i=e[n]._e,l.add("search hassearch noresultsmsg noresults nosubresults fullsubopensearch"),i.add("change keyup")},clickanchor:function(){}},e[n].defaults[a]={add:!1,addto:"panels",search:!0,placeholder:"search",noresults:"no results found.",showtextitems:!1,showsubpanels:!0},e[n].configuration[a]={form:!1};var l,t,i,r}(jquery);!function(e){var a="mmenu",r="sectionindexer";e[a].addons[r]={setup:function(){var i=this,d=this.opts[r];this.conf[r],t=e[a].glbl,"boolean"==typeof d&&(d={add:d}),"object"!=typeof d&&(d={}),d=this.opts[r]=e.extend(!0,{},e[a].defaults[r],d),this.bind("init",function(a){if(d.add){switch(d.addto){case"panels":var r=a;break;default:var r=e(d.addto,this.$menu).filter("."+n.panel)}r.find("."+n.divider).closest("."+n.panel).addclass(n.hasindexer)}if(!this.$indexer&&this.$pnls.children("."+n.hasindexer).length){this.$indexer=e('
    ').prependto(this.$pnls).append('abcdefghijklmnopqrstuvwxyz'),this.$indexer.children().on(s.mouseover+"-sectionindexer "+n.touchstart+"-sectionindexer",function(){var a=e(this).attr("href").slice(1),r=i.$pnls.children("."+n.current),s=r.find("."+n.listview),t=!1,d=r.scrolltop(),h=s.position().top+parseint(s.css("margin-top"),10)+parseint(s.css("padding-top"),10)+d;r.scrolltop(0),s.children("."+n.divider).not("."+n.hidden).each(function(){t===!1&&a==e(this).text().slice(0,1).tolowercase()&&(t=e(this).position().top+h)}),r.scrolltop(t!==!1?t:d)});var t=function(e){i.$menu[(e.hasclass(n.hasindexer)?"add":"remove")+"class"](n.hasindexer)};this.bind("openpanel",t),t.call(this,this.$pnls.children("."+n.current))}})},add:function(){n=e[a]._c,i=e[a]._d,s=e[a]._e,n.add("indexer hasindexer"),s.add("mouseover touchstart")},clickanchor:function(e){return e.parent().is("."+n.indexer)?!0:void 0}},e[a].defaults[r]={add:!1,addto:"panels"};var n,i,s,t}(jquery);!function(t){var e="mmenu",c="toggles";t[e].addons[c]={setup:function(){var n=this;this.opts[c],this.conf[c],l=t[e].glbl,this.bind("init",function(e){this.__refactorclass(t("input",e),this.conf.classnames[c].toggle,"toggle"),this.__refactorclass(t("input",e),this.conf.classnames[c].check,"check"),t("input."+s.toggle+", input."+s.check,e).each(function(){var e=t(this),c=e.closest("li"),i=e.hasclass(s.toggle)?"toggle":"check",l=e.attr("id")||n.__getuniqueid();c.children('label[for="'+l+'"]').length||(e.attr("id",l),c.prepend(e),t('').insertbefore(c.children("a, span").last()))})})},add:function(){s=t[e]._c,n=t[e]._d,i=t[e]._e,s.add("toggle check")},clickanchor:function(){}},t[e].configuration.classnames[c]={toggle:"toggle",check:"check"};var s,n,i,l}(jquery); /** * swiper 4.5.0 * most modern mobile touch slider and framework with hardware accelerated transitions * http://www.idangero.us/swiper/ * * copyright 2014-2019 vladimir kharlampidi * * released under the mit license * * released on: february 22, 2019 */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).swiper=t()}(this,function(){"use strict";var f="undefined"==typeof document?{body:{},addeventlistener:function(){},removeeventlistener:function(){},activeelement:{blur:function(){},nodename:""},queryselector:function(){return null},queryselectorall:function(){return[]},getelementbyid:function(){return null},createevent:function(){return{initevent:function(){}}},createelement:function(){return{children:[],childnodes:[],style:{},setattribute:function(){},getelementsbytagname:function(){return[]}}},location:{hash:""}}:document,j="undefined"==typeof window?{document:f,navigator:{useragent:""},location:{},history:{},customevent:function(){return this},addeventlistener:function(){},removeeventlistener:function(){},getcomputedstyle:function(){return{getpropertyvalue:function(){return""}}},image:function(){},date:function(){},screen:{},settimeout:function(){},cleartimeout:function(){}}:window,l=function(e){for(var t=0;t")){var o="div";for(0===n.indexof(":~]/)?(t||f).queryselectorall(e.trim()):[f.getelementbyid(e.trim().split("#")[1])],i=0;ia.slides.length)break;i.push(a.slides.eq(r)[0])}else i.push(a.slides.eq(a.activeindex)[0]);for(t=0;t=t.size)&&(t.visibleslides.push(o),t.visibleslidesindexes.push(n),i.eq(n).addclass(a.slidevisibleclass))}o.progress=s?-l:l}t.visibleslides=l(t.visibleslides)}},updateprogress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.maxtranslate()-t.mintranslate(),s=t.progress,r=t.isbeginning,n=t.isend,o=r,l=n;0===i?n=r=!(s=0):(r=(s=(e-t.mintranslate())/i)<=0,n=1<=s),ee.extend(t,{progress:s,isbeginning:r,isend:n}),(a.watchslidesprogress||a.watchslidesvisibility)&&t.updateslidesprogress(e),r&&!o&&t.emit("reachbeginning toedge"),n&&!l&&t.emit("reachend toedge"),(o&&!r||l&&!n)&&t.emit("fromedge"),t.emit("progress",s)},updateslidesclasses:function(){var e,t=this,a=t.slides,i=t.params,s=t.$wrapperel,r=t.activeindex,n=t.realindex,o=t.virtual&&i.virtual.enabled;a.removeclass(i.slideactiveclass+" "+i.slidenextclass+" "+i.slideprevclass+" "+i.slideduplicateactiveclass+" "+i.slideduplicatenextclass+" "+i.slideduplicateprevclass),(e=o?t.$wrapperel.find("."+i.slideclass+'[data-swiper-slide-index="'+r+'"]'):a.eq(r)).addclass(i.slideactiveclass),i.loop&&(e.hasclass(i.slideduplicateclass)?s.children("."+i.slideclass+":not(."+i.slideduplicateclass+')[data-swiper-slide-index="'+n+'"]').addclass(i.slideduplicateactiveclass):s.children("."+i.slideclass+"."+i.slideduplicateclass+'[data-swiper-slide-index="'+n+'"]').addclass(i.slideduplicateactiveclass));var l=e.nextall("."+i.slideclass).eq(0).addclass(i.slidenextclass);i.loop&&0===l.length&&(l=a.eq(0)).addclass(i.slidenextclass);var d=e.prevall("."+i.slideclass).eq(0).addclass(i.slideprevclass);i.loop&&0===d.length&&(d=a.eq(-1)).addclass(i.slideprevclass),i.loop&&(l.hasclass(i.slideduplicateclass)?s.children("."+i.slideclass+":not(."+i.slideduplicateclass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicatenextclass):s.children("."+i.slideclass+"."+i.slideduplicateclass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicatenextclass),d.hasclass(i.slideduplicateclass)?s.children("."+i.slideclass+":not(."+i.slideduplicateclass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicateprevclass):s.children("."+i.slideclass+"."+i.slideduplicateclass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicateprevclass))},updateactiveindex:function(e){var t,a=this,i=a.rtltranslate?a.translate:-a.translate,s=a.slidesgrid,r=a.snapgrid,n=a.params,o=a.activeindex,l=a.realindex,d=a.snapindex,p=e;if(void 0===p){for(var c=0;c=s[c]&&i=s[c]&&i=s[c]&&(p=c);n.normalizeslideindex&&(p<0||void 0===p)&&(p=0)}if((t=0<=r.indexof(i)?r.indexof(i):math.floor(p/n.slidespergroup))>=r.length&&(t=r.length-1),p!==o){var u=parseint(a.slides.eq(p).attr("data-swiper-slide-index")||p,10);ee.extend(a,{snapindex:t,realindex:u,previousindex:o,activeindex:p}),a.emit("activeindexchange"),a.emit("snapindexchange"),l!==u&&a.emit("realindexchange"),a.emit("slidechange")}else t!==d&&(a.snapindex=t,a.emit("snapindexchange"))},updateclickedslide:function(e){var t=this,a=t.params,i=l(e.target).closest("."+a.slideclass)[0],s=!1;if(i)for(var r=0;r=o.length&&(u=o.length-1),(p||n.initialslide||0)===(d||0)&&a&&s.emit("beforeslidechangestart");var h,v=-o[u];if(s.updateprogress(v),n.normalizeslideindex)for(var f=0;f=math.floor(100*l[f])&&(r=f);if(s.initialized&&r!==p){if(!s.allowslidenext&&vs.translate&&v>s.maxtranslate()&&(p||0)!==r)return!1}return h=pt.slides.length-t.loopedslides+s/2?(t.loopfix(),r=i.children("."+a.slideclass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideduplicateclass+")").eq(0).index(),ee.nexttick(function(){t.slideto(r)})):t.slideto(r):r>t.slides.length-s?(t.loopfix(),r=i.children("."+a.slideclass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideduplicateclass+")").eq(0).index(),ee.nexttick(function(){t.slideto(r)})):t.slideto(r)}else t.slideto(r)}};var h={loopcreate:function(){var i=this,e=i.params,t=i.$wrapperel;t.children("."+e.slideclass+"."+e.slideduplicateclass).remove();var s=t.children("."+e.slideclass);if(e.loopfillgroupwithblank){var a=e.slidespergroup-s.length%e.slidespergroup;if(a!==e.slidespergroup){for(var r=0;rs.length&&(i.loopedslides=s.length);var o=[],l=[];s.each(function(e,t){var a=l(t);e=s.length-i.loopedslides&&o.push(t),a.attr("data-swiper-slide-index",e)});for(var d=0;d=s.length-r)&&(e=-s.length+i+r,e+=r,t.slideto(e,0,!1,!0)&&0!==p&&t.settranslate((d?-t.translate:t.translate)-p));t.allowslideprev=n,t.allowslidenext=o},loopdestroy:function(){var e=this.$wrapperel,t=this.params,a=this.slides;e.children("."+t.slideclass+"."+t.slideduplicateclass+",."+t.slideclass+"."+t.slideblankclass).remove(),a.removeattr("data-swiper-slide-index")}};var v={setgrabcursor:function(e){if(!(te.touch||!this.params.simulatetouch||this.params.watchoverflow&&this.islocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetgrabcursor:function(){te.touch||this.params.watchoverflow&&this.islocked||(this.el.style.cursor="")}};var m={appendslide:function(e){var t=this,a=t.$wrapperel,i=t.params;if(i.loop&&t.loopdestroy(),"object"==typeof e&&"length"in e)for(var s=0;s=j.screen.width-d)){if(ee.extend(a,{istouched:!0,ismoved:!1,allowtouchcallbacks:!0,isscrolling:void 0,startmoving:void 0}),s.startx=n,s.starty=o,a.touchstarttime=ee.now(),t.allowclick=!0,t.updatesize(),t.swipedirection=void 0,0s.starty&&t.translate>=t.mintranslate())return a.istouched=!1,void(a.ismoved=!1)}else if(os.startx&&t.translate>=t.mintranslate())return;if(a.istouchevent&&f.activeelement&&n.target===f.activeelement&&l(n.target).is(a.formelements))return a.ismoved=!0,void(t.allowclick=!1);if(a.allowtouchcallbacks&&t.emit("touchmove",n),!(n.targettouches&&1i.touchangle:90-d>i.touchangle)),a.isscrolling&&t.emit("touchmoveopposite",n),void 0===a.startmoving&&(s.currentx===s.startx&&s.currenty===s.starty||(a.startmoving=!0)),a.isscrolling)a.istouched=!1;else if(a.startmoving){t.allowclick=!1,n.preventdefault(),i.touchmovestoppropagation&&!i.nested&&n.stoppropagation(),a.ismoved||(i.loop&&t.loopfix(),a.starttranslate=t.gettranslate(),t.settransition(0),t.animating&&t.$wrapperel.trigger("webkittransitionend transitionend"),a.allowmomentumbounce=!1,!i.grabcursor||!0!==t.allowslidenext&&!0!==t.allowslideprev||t.setgrabcursor(!0),t.emit("sliderfirstmove",n)),t.emit("slidermove",n),a.ismoved=!0;var u=t.ishorizontal()?p:c;s.diff=u,u*=i.touchratio,r&&(u=-u),t.swipedirection=0t.mintranslate()?(h=!1,i.resistance&&(a.currenttranslate=t.mintranslate()-1+math.pow(-t.mintranslate()+a.starttranslate+u,v))):u<0&&a.currenttranslatea.starttranslate&&(a.currenttranslate=a.starttranslate),0i.threshold||a.allowthresholdmove))return void(a.currenttranslate=a.starttranslate);if(!a.allowthresholdmove)return a.allowthresholdmove=!0,s.startx=s.currentx,s.starty=s.currenty,a.currenttranslate=a.starttranslate,void(s.diff=t.ishorizontal()?s.currentx-s.startx:s.currenty-s.starty)}i.followfinger&&((i.freemode||i.watchslidesprogress||i.watchslidesvisibility)&&(t.updateactiveindex(),t.updateslidesclasses()),i.freemode&&(0===a.velocities.length&&a.velocities.push({position:s[t.ishorizontal()?"startx":"starty"],time:a.touchstarttime}),a.velocities.push({position:s[t.ishorizontal()?"currentx":"currenty"],time:ee.now()})),t.updateprogress(a.currenttranslate),t.settranslate(a.currenttranslate))}}}}else a.startmoving&&a.isscrolling&&t.emit("touchmoveopposite",n)}.bind(e),e.ontouchend=function(e){var t=this,a=t.toucheventsdata,i=t.params,s=t.touches,r=t.rtltranslate,n=t.$wrapperel,o=t.slidesgrid,l=t.snapgrid,d=e;if(d.originalevent&&(d=d.originalevent),a.allowtouchcallbacks&&t.emit("touchend",d),a.allowtouchcallbacks=!1,!a.istouched)return a.ismoved&&i.grabcursor&&t.setgrabcursor(!1),a.ismoved=!1,void(a.startmoving=!1);i.grabcursor&&a.ismoved&&a.istouched&&(!0===t.allowslidenext||!0===t.allowslideprev)&&t.setgrabcursor(!1);var p,c=ee.now(),u=c-a.touchstarttime;if(t.allowclick&&(t.updateclickedslide(d),t.emit("tap",d),u<300&&300-t.maxtranslate())return void(t.slides.lengtht.mintranslate())i.freemodemomentumbounce?(w-t.mintranslate()>e&&(w=t.mintranslate()+e),y=t.mintranslate(),t=!0,a.allowmomentumbounce=!0):w=t.mintranslate(),i.loop&&i.centeredslides&&(x=!0);else if(i.freemodesticky){for(var s,c=0;c-w){s=c;break}w=-(w=math.abs(l[s]-w)=i.longswipesms)&&(t.updateprogress(),t.updateactiveindex(),t.updateslidesclasses())}else{for(var m=0,z=t.slidessizesgrid[0],p=0;p=o[p]&&p=o[p]&&(m=p,z=o[o.length-1]-o[o.length-2]);var k=(p-o[m])/z;if(u>i.longswipesms){if(!i.longswipes)return void t.slideto(t.activeindex);"next"===t.swipedirection&&(k>=i.longswipesratio?t.slideto(m+i.slidespergroup):t.slideto(m)),"prev"===t.swipedirection&&(k>1-i.longswipesratio?t.slideto(m+i.slidespergroup):t.slideto(m))}else{if(!i.shortswipes)return void t.slideto(t.activeindex);"next"===t.swipedirection&&t.slideto(m+i.slidespergroup),"prev"===t.swipedirection&&t.slideto(m)}}}.bind(e),e.onclick=function(e){this.allowclick||(this.params.preventclicks&&e.preventdefault(),this.params.preventclickspropagation&&this.animating&&(e.stoppropagation(),e.stopimmediatepropagation()))}.bind(e);var r="container"===t.toucheventstarget?i:s,n=!!t.nested;if(te.touch||!te.pointerevents&&!te.prefixedpointerevents){if(te.touch){var o=!("touchstart"!==a.start||!te.passivelistener||!t.passivelisteners)&&{passive:!0,capture:!1};r.addeventlistener(a.start,e.ontouchstart,o),r.addeventlistener(a.move,e.ontouchmove,te.passivelistener?{passive:!1,capture:n}:n),r.addeventlistener(a.end,e.ontouchend,o)}(t.simulatetouch&&!g.ios&&!g.android||t.simulatetouch&&!te.touch&&g.ios)&&(r.addeventlistener("mousedown",e.ontouchstart,!1),f.addeventlistener("mousemove",e.ontouchmove,n),f.addeventlistener("mouseup",e.ontouchend,!1))}else r.addeventlistener(a.start,e.ontouchstart,!1),f.addeventlistener(a.move,e.ontouchmove,n),f.addeventlistener(a.end,e.ontouchend,!1);(t.preventclicks||t.preventclickspropagation)&&r.addeventlistener("click",e.onclick,!0),e.on(g.ios||g.android?"resize orientationchange observerupdate":"resize observerupdate",b,!0)},detachevents:function(){var e=this,t=e.params,a=e.touchevents,i=e.el,s=e.wrapperel,r="container"===t.toucheventstarget?i:s,n=!!t.nested;if(te.touch||!te.pointerevents&&!te.prefixedpointerevents){if(te.touch){var o=!("ontouchstart"!==a.start||!te.passivelistener||!t.passivelisteners)&&{passive:!0,capture:!1};r.removeeventlistener(a.start,e.ontouchstart,o),r.removeeventlistener(a.move,e.ontouchmove,n),r.removeeventlistener(a.end,e.ontouchend,o)}(t.simulatetouch&&!g.ios&&!g.android||t.simulatetouch&&!te.touch&&g.ios)&&(r.removeeventlistener("mousedown",e.ontouchstart,!1),f.removeeventlistener("mousemove",e.ontouchmove,n),f.removeeventlistener("mouseup",e.ontouchend,!1))}else r.removeeventlistener(a.start,e.ontouchstart,!1),f.removeeventlistener(a.move,e.ontouchmove,n),f.removeeventlistener(a.end,e.ontouchend,!1);(t.preventclicks||t.preventclickspropagation)&&r.removeeventlistener("click",e.onclick,!0),e.off(g.ios||g.android?"resize orientationchange observerupdate":"resize observerupdate",b)}},breakpoints:{setbreakpoint:function(){var e=this,t=e.activeindex,a=e.initialized,i=e.loopedslides;void 0===i&&(i=0);var s=e.params,r=s.breakpoints;if(r&&(!r||0!==object.keys(r).length)){var n=e.getbreakpoint(r);if(n&&e.currentbreakpoint!==n){var o=n in r?r[n]:void 0;o&&["slidesperview","spacebetween","slidespergroup"].foreach(function(e){var t=o[e];void 0!==t&&(o[e]="slidesperview"!==e||"auto"!==t&&"auto"!==t?"slidesperview"===e?parsefloat(t):parseint(t,10):"auto")});var l=o||e.originalparams,d=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesperview!==s.slidesperview||d);d&&a&&e.changedirection(),ee.extend(e.params,l),ee.extend(e,{allowtouchmove:e.params.allowtouchmove,allowslidenext:e.params.allowslidenext,allowslideprev:e.params.allowslideprev}),e.currentbreakpoint=n,p&&a&&(e.loopdestroy(),e.loopcreate(),e.updateslides(),e.slideto(t-i+e.loopedslides,0,!1)),e.emit("breakpoint",l)}}},getbreakpoint:function(e){if(e){var t=!1,a=[];object.keys(e).foreach(function(e){a.push(e)}),a.sort(function(e,t){return parseint(e,10)-parseint(t,10)});for(var i=0;i=j.innerwidth&&!t&&(t=s)}return t||"max"}}},checkoverflow:{checkoverflow:function(){var e=this,t=e.islocked;e.islocked=1===e.snapgrid.length,e.allowslidenext=!e.islocked,e.allowslideprev=!e.islocked,t!==e.islocked&&e.emit(e.islocked?"lock":"unlock"),t&&t!==e.islocked&&(e.isend=!1,e.navigation.update())}},classes:{addclasses:function(){var t=this.classnames,a=this.params,e=this.rtl,i=this.$el,s=[];s.push("initialized"),s.push(a.direction),a.freemode&&s.push("free-mode"),te.flexbox||s.push("no-flexbox"),a.autoheight&&s.push("autoheight"),e&&s.push("rtl"),1'+e+"
    ");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=s),s},appendslide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;tmath.abs(n.pixely)))return!0;s=n.pixelx*r}else{if(!(math.abs(n.pixely)>math.abs(n.pixelx)))return!0;s=n.pixely}else s=math.abs(n.pixelx)>math.abs(n.pixely)?-n.pixelx*r:-n.pixely;if(0===s)return!0;if(i.invert&&(s=-s),a.params.freemode){a.params.loop&&a.loopfix();var o=a.gettranslate()+s*i.sensitivity,l=a.isbeginning,d=a.isend;if(o>=a.mintranslate()&&(o=a.mintranslate()),o<=a.maxtranslate()&&(o=a.maxtranslate()),a.settransition(0),a.settranslate(o),a.updateprogress(),a.updateactiveindex(),a.updateslidesclasses(),(!l&&a.isbeginning||!d&&a.isend)&&a.updateslidesclasses(),a.params.freemodesticky&&(cleartimeout(a.mousewheel.timeout),a.mousewheel.timeout=ee.nexttick(function(){a.slidetoclosest()},300)),a.emit("scroll",t),a.params.autoplay&&a.params.autoplaydisableoninteraction&&a.autoplay.stop(),o===a.mintranslate()||o===a.maxtranslate())return!0}else{if(60a-1-2*e.loopedslides&&(r-=a-2*e.loopedslides),n-1s.dynamicmainbullets-1?e.pagination.dynamicbulletindex=s.dynamicmainbullets-1:e.pagination.dynamicbulletindex<0&&(e.pagination.dynamicbulletindex=0)),o=r-e.pagination.dynamicbulletindex,d=((l=o+(math.min(p.length,s.dynamicmainbullets)-1))+o)/2),p.removeclass(s.bulletactiveclass+" "+s.bulletactiveclass+"-next "+s.bulletactiveclass+"-next-next "+s.bulletactiveclass+"-prev "+s.bulletactiveclass+"-prev-prev "+s.bulletactiveclass+"-main"),1";i.html(s),e.pagination.bullets=i.find("."+t.bulletclass)}"fraction"===t.type&&(s=t.renderfraction?t.renderfraction.call(e,t.currentclass,t.totalclass):' / ',i.html(s)),"progressbar"===t.type&&(s=t.renderprogressbar?t.renderprogressbar.call(e,t.progressbarfillclass):'',i.html(s)),"custom"!==t.type&&e.emit("paginationrender",e.pagination.$el[0])}},init:function(){var a=this,e=a.params.pagination;if(e.el){var t=l(e.el);0!==t.length&&(a.params.uniquenavelements&&"string"==typeof e.el&&1
    '),s.append(r)),ee.extend(t,{$el:s,el:s[0],$dragel:r,dragel:r[0]}),i.draggable&&t.enabledraggable()}},destroy:function(){this.scrollbar.disabledraggable()}},b={settransform:function(e,t){var a=this.rtl,i=l(e),s=a?-1:1,r=i.attr("data-swiper-parallax")||"0",n=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y"),l=i.attr("data-swiper-parallax-scale"),d=i.attr("data-swiper-parallax-opacity");if(n||o?(n=n||"0",o=o||"0"):this.ishorizontal()?(n=r,o="0"):(o=r,n="0"),n=0<=n.indexof("%")?parseint(n,10)*t*s+"%":n*t*s+"px",o=0<=o.indexof("%")?parseint(o,10)*t+"%":o*t+"px",null!=d){var p=d-(d-1)*(1-math.abs(t));i[0].style.opacity=p}if(null==l)i.transform("translate3d("+n+", "+o+", 0px)");else{var c=l-(l-1)*(1-math.abs(t));i.transform("translate3d("+n+", "+o+", 0px) scale("+c+")")}},settranslate:function(){var i=this,e=i.$el,t=i.slides,s=i.progress,r=i.snapgrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){i.parallax.settransform(t,s)}),t.each(function(e,t){var a=t.progress;1i.maxratio&&(a.scale=i.maxratio-1+math.pow(a.scale-i.maxratio+1,.5)),a.scales.touchesstart.x))return void(s.istouched=!1);if(!t.ishorizontal()&&(math.floor(s.miny)===math.floor(s.starty)&&s.touchescurrent.ys.touchesstart.y))return void(s.istouched=!1)}e.preventdefault(),e.stoppropagation(),s.ismoved=!0,s.currentx=s.touchescurrent.x-s.touchesstart.x+s.startx,s.currenty=s.touchescurrent.y-s.touchesstart.y+s.starty,s.currentxs.maxx&&(s.currentx=s.maxx-1+math.pow(s.currentx-s.maxx+1,.8)),s.currentys.maxy&&(s.currenty=s.maxy-1+math.pow(s.currenty-s.maxy+1,.8)),r.prevpositionx||(r.prevpositionx=s.touchescurrent.x),r.prevpositiony||(r.prevpositiony=s.touchescurrent.y),r.prevtime||(r.prevtime=date.now()),r.x=(s.touchescurrent.x-r.prevpositionx)/(date.now()-r.prevtime)/2,r.y=(s.touchescurrent.y-r.prevpositiony)/(date.now()-r.prevtime)/2,math.abs(s.touchescurrent.x-r.prevpositionx)<2&&(r.x=0),math.abs(s.touchescurrent.y-r.prevpositiony)<2&&(r.y=0),r.prevpositionx=s.touchescurrent.x,r.prevpositiony=s.touchescurrent.y,r.prevtime=date.now(),i.$imagewrapel.transform("translate3d("+s.currentx+"px, "+s.currenty+"px,0)")}}},ontouchend:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageel&&0!==t.$imageel.length){if(!a.istouched||!a.ismoved)return a.istouched=!1,void(a.ismoved=!1);a.istouched=!1,a.ismoved=!1;var s=300,r=300,n=i.x*s,o=a.currentx+n,l=i.y*r,d=a.currenty+l;0!==i.x&&(s=math.abs((o-a.currentx)/i.x)),0!==i.y&&(r=math.abs((d-a.currenty)/i.y));var p=math.max(s,r);a.currentx=o,a.currenty=d;var c=a.width*e.scale,u=a.height*e.scale;a.minx=math.min(t.slidewidth/2-c/2,0),a.maxx=-a.minx,a.miny=math.min(t.slideheight/2-u/2,0),a.maxy=-a.miny,a.currentx=math.max(math.min(a.currentx,a.maxx),a.minx),a.currenty=math.max(math.min(a.currenty,a.maxy),a.miny),t.$imagewrapel.transition(p).transform("translate3d("+a.currentx+"px, "+a.currenty+"px,0)")}},ontransitionend:function(){var e=this.zoom,t=e.gesture;t.$slideel&&this.previousindex!==this.activeindex&&(t.$imageel.transform("translate3d(0,0,0) scale(1)"),t.$imagewrapel.transform("translate3d(0,0,0)"),e.scale=1,e.currentscale=1,t.$slideel=void 0,t.$imageel=void 0,t.$imagewrapel=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,s,r,n,o,l,d,p,c,u,h,v,f,m,g=this,b=g.zoom,w=g.params.zoom,y=b.gesture,x=b.image;(y.$slideel||(y.$slideel=g.clickedslide?l(g.clickedslide):g.slides.eq(g.activeindex),y.$imageel=y.$slideel.find("img, svg, canvas"),y.$imagewrapel=y.$imageel.parent("."+w.containerclass)),y.$imageel&&0!==y.$imageel.length)&&(y.$slideel.addclass(""+w.zoomedslideclass),void 0===x.touchesstart.x&&e?(t="touchend"===e.type?e.changedtouches[0].pagex:e.pagex,a="touchend"===e.type?e.changedtouches[0].pagey:e.pagey):(t=x.touchesstart.x,a=x.touchesstart.y),b.scale=y.$imagewrapel.attr("data-swiper-zoom")||w.maxratio,b.currentscale=y.$imagewrapel.attr("data-swiper-zoom")||w.maxratio,e?(f=y.$slideel[0].offsetwidth,m=y.$slideel[0].offsetheight,i=y.$slideel.offset().left+f/2-t,s=y.$slideel.offset().top+m/2-a,o=y.$imageel[0].offsetwidth,l=y.$imageel[0].offsetheight,d=o*b.scale,p=l*b.scale,h=-(c=math.min(f/2-d/2,0)),v=-(u=math.min(m/2-p/2,0)),(r=i*b.scale)>1]<=t?i=s:a=s;return a};return this.x=e,this.y=t,this.lastindex=e.length-1,this.interpolate=function(e){return e?(n=o(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getinterpolatefunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new v.linearspline(t.slidesgrid,e.slidesgrid):new v.linearspline(t.snapgrid,e.snapgrid))},settranslate:function(e,t){var a,i,s=this,r=s.controller.control;function n(e){var t=s.rtltranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getinterpolatefunction(e),i=-s.controller.spline.interpolate(-t)),i&&"container"!==s.params.controller.by||(a=(e.maxtranslate()-e.mintranslate())/(s.maxtranslate()-s.mintranslate()),i=(t-s.mintranslate())*a+e.mintranslate()),s.params.controller.inverse&&(i=e.maxtranslate()-i),e.updateprogress(i),e.settranslate(i,s),e.updateactiveindex(),e.updateslidesclasses()}if(array.isarray(r))for(var o=0;o
    '),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=l('
    '),a.append(e)));for(var h=0;h
    '),v.append(e)),0===s.length&&(s=l('
    '),v.append(s)),e.length&&(e[0].style.opacity=math.max(-b,0)),s.length&&(s[0].style.opacity=math.max(b,0))}}if(i.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"}),d.shadow)if(p)e.transform("translate3d(0px, "+(r/2+d.shadowoffset)+"px, "+-r/2+"px) rotatex(90deg) rotatez(0deg) scale("+d.shadowscale+")");else{var c=math.abs(u)-90*math.floor(math.abs(u)/90),m=1.5-(math.sin(2*c*math.pi/360)/2+math.cos(2*c*math.pi/360)/2),z=d.shadowscale,p=d.shadowscale/m,k=d.shadowoffset;e.transform("scale3d("+z+", 1, "+p+") translate3d(0px, "+(n/2+k)+"px, "+-n/2/p+"px) rotatex(-90deg)")}var $=i.issafari||i.isuiwebview?-l/2:0;i.transform("translate3d(0px,0,"+$+"px) rotatex("+(t.ishorizontal()?0:u)+"deg) rotatey("+(t.ishorizontal()?-u:0)+"deg)")},settransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeeffect.shadow&&!this.ishorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},k={settranslate:function(){for(var e=this,t=e.slides,a=e.rtltranslate,i=0;i
    '),s.append(p)),0===c.length&&(c=l('
    '),s.append(c)),p.length&&(p[0].style.opacity=math.max(-r,0)),c.length&&(c[0].style.opacity=math.max(r,0))}s.transform("translate3d("+l+"px, "+d+"px, 0px) rotatex("+o+"deg) rotatey("+n+"deg)")}},settransition:function(e){var a=this,t=a.slides,i=a.activeindex,s=a.$wrapperel;if(t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),a.params.virtualtranslate&&0!==e){var r=!1;t.eq(i).transitionend(function(){if(!r&&a&&!a.destroyed){r=!0,a.animating=!1;for(var e=["webkittransitionend","transitionend"],t=0;t
    '),v.append(e)),0===s.length&&(s=l('
    '),v.append(s)),e.length&&(e[0].style.opacity=0')}}),object.keys(f).foreach(function(e){t.a11y[e]=f[e].bind(t)})},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(){var e=this;ee.extend(e,{history:{init:r.init.bind(e),sethistory:r.sethistory.bind(e),sethistorypopstate:r.sethistorypopstate.bind(e),scrolltoslide:r.scrolltoslide.bind(e),destroy:r.destroy.bind(e)}})},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)}}},{name:"hash-navigation",params:{hashnavigation:{enabled:!1,replacestate:!1,watchstate:!1}},create:function(){var e=this;ee.extend(e,{hashnavigation:{initialized:!1,init:q.init.bind(e),destroy:q.destroy.bind(e),sethash:q.sethash.bind(e),onhashcange:q.onhashcange.bind(e)}})},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()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitfortransition:!0,disableoninteraction:!0,stoponlastslide:!1,reversedirection:!1}},create:function(){var t=this;ee.extend(t,{autoplay:{running:!1,paused:!1,run:w.run.bind(t),start:w.start.bind(t),stop:w.stop.bind(t),pause:w.pause.bind(t),ontransitionend:function(e){t&&!t.destroyed&&t.$wrapperel&&e.target===this&&(t.$wrapperel[0].removeeventlistener("transitionend",t.autoplay.ontransitionend),t.$wrapperel[0].removeeventlistener("webkittransitionend",t.autoplay.ontransitionend),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforetransitionstart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableoninteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderfirstmove:function(){this.autoplay.running&&(this.params.autoplay.disableoninteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeeffect:{crossfade:!1}},create:function(){ee.extend(this,{fadeeffect:{settranslate:j.settranslate.bind(this),settransition:j.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;if("fade"===e.params.effect){e.classnames.push(e.params.containermodifierclass+"fade");var t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0};ee.extend(e.params,t),ee.extend(e.originalparams,t)}},settranslate:function(){"fade"===this.params.effect&&this.fadeeffect.settranslate()},settransition:function(e){"fade"===this.params.effect&&this.fadeeffect.settransition(e)}}},{name:"effect-cube",params:{cubeeffect:{slideshadows:!0,shadow:!0,shadowoffset:20,shadowscale:.94}},create:function(){ee.extend(this,{cubeeffect:{settranslate:u.settranslate.bind(this),settransition:u.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;if("cube"===e.params.effect){e.classnames.push(e.params.containermodifierclass+"cube"),e.classnames.push(e.params.containermodifierclass+"3d");var t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,resistanceratio:0,spacebetween:0,centeredslides:!1,virtualtranslate:!0};ee.extend(e.params,t),ee.extend(e.originalparams,t)}},settranslate:function(){"cube"===this.params.effect&&this.cubeeffect.settranslate()},settransition:function(e){"cube"===this.params.effect&&this.cubeeffect.settransition(e)}}},{name:"effect-flip",params:{flipeffect:{slideshadows:!0,limitrotation:!0}},create:function(){ee.extend(this,{flipeffect:{settranslate:k.settranslate.bind(this),settransition:k.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;if("flip"===e.params.effect){e.classnames.push(e.params.containermodifierclass+"flip"),e.classnames.push(e.params.containermodifierclass+"3d");var t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0};ee.extend(e.params,t),ee.extend(e.originalparams,t)}},settranslate:function(){"flip"===this.params.effect&&this.flipeffect.settranslate()},settransition:function(e){"flip"===this.params.effect&&this.flipeffect.settransition(e)}}},{name:"effect-coverflow",params:{coverfloweffect:{rotate:50,stretch:0,depth:100,modifier:1,slideshadows:!0}},create:function(){ee.extend(this,{coverfloweffect:{settranslate:_.settranslate.bind(this),settransition:_.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;"coverflow"===e.params.effect&&(e.classnames.push(e.params.containermodifierclass+"coverflow"),e.classnames.push(e.params.containermodifierclass+"3d"),e.params.watchslidesprogress=!0,e.originalparams.watchslidesprogress=!0)},settranslate:function(){"coverflow"===this.params.effect&&this.coverfloweffect.settranslate()},settransition:function(e){"coverflow"===this.params.effect&&this.coverfloweffect.settransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slidethumbactiveclass:"swiper-slide-thumb-active",thumbscontainerclass:"swiper-container-thumbs"}},create:function(){ee.extend(this,{thumbs:{swiper:null,init:z.init.bind(this),update:z.update.bind(this),onthumbclick:z.onthumbclick.bind(this)}})},on:{beforeinit:function(){var e=this.params.thumbs;e&&e.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(e){var t=this.thumbs.swiper;t&&t.settransition(e)},beforedestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swipercreated&&e&&e.destroy()}}}];return void 0===t.use&&(t.use=t.class.use,t.installmodule=t.class.installmodule),t.use(q),t}); /*mousewheel*/ (function(a){function d(b){var c=b||window.event,d=[].slice.call(arguments,1),e=0,f=!0,g=0,h=0;return b=a.event.fix(c),b.type="mousewheel",c.wheeldelta&&(e=c.wheeldelta/120),c.detail&&(e=-c.detail/3),h=e,c.axis!==undefined&&c.axis===c.horizontal_axis&&(h=0,g=-1*e),c.wheeldeltay!==undefined&&(h=c.wheeldeltay/120),c.wheeldeltax!==undefined&&(g=-1*c.wheeldeltax/120),d.unshift(b,e,g,h),(a.event.dispatch||a.event.handle).apply(this,d)}var b=["dommousescroll","mousewheel"];if(a.event.fixhooks)for(var c=b.length;c;)a.event.fixhooks[b[--c]]=a.event.mousehooks;a.event.special.mousewheel={setup:function(){if(this.addeventlistener)for(var a=b.length;a;)this.addeventlistener(b[--a],d,!1);else this.onmousewheel=d},teardown:function(){if(this.removeeventlistener)for(var a=b.length;a;)this.removeeventlistener(b[--a],d,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jquery); /*custom scrollbar*/ (function(c){var b={init:function(e){var f={set_width:false,set_height:false,horizontalscroll:false,scrollinertia:950,mousewheel:true,mousewheelpixels:"auto",autodraggerlength:true,autohidescrollbar:false,snapamount:null,snapoffset:0,scrollbuttons:{enable:false,scrolltype:"continuous",scrollspeed:"auto",scrollamount:40},advanced:{updateonbrowserresize:true,updateoncontentresize:false,autoexpandhorizontalscroll:false,autoscrollonfocus:true,normalizemousewheeldelta:false},contenttouchscroll:true,callbacks:{onscrollstart:function(){},onscroll:function(){},ontotalscroll:function(){},ontotalscrollback:function(){},ontotalscrolloffset:0,ontotalscrollbackoffset:0,whilescrolling:function(){}},theme:"light"},e=c.extend(true,f,e);return this.each(function(){var m=c(this);if(e.set_width){m.css("width",e.set_width)}if(e.set_height){m.css("height",e.set_height)}if(!c(document).data("mcustomscrollbar-index")){c(document).data("mcustomscrollbar-index","1")}else{var t=parseint(c(document).data("mcustomscrollbar-index"));c(document).data("mcustomscrollbar-index",t+1)}m.wrapinner("
    ").addclass("mcustomscrollbar _mcs_"+c(document).data("mcustomscrollbar-index"));var g=m.children(".mcustomscrollbox");if(e.horizontalscroll){g.addclass("mcsb_horizontal").wrapinner("
    ");var k=g.children(".mcsb_h_wrapper");k.wrapinner("
    ").children(".mcsb_container").css({width:k.children().outerwidth(),position:"relative"}).unwrap()}else{g.wrapinner("
    ")}var o=g.children(".mcsb_container");if(c.support.touch){o.addclass("mcs_touch")}o.after("
    ");var l=g.children(".mcsb_scrolltools"),h=l.children(".mcsb_draggercontainer"),q=h.children(".mcsb_dragger");if(e.horizontalscroll){q.data("mindraggerwidth",q.width())}else{q.data("mindraggerheight",q.height())}if(e.scrollbuttons.enable){if(e.horizontalscroll){l.prepend("").append("")}else{l.prepend("").append("")}}g.bind("scroll",function(){if(!m.is(".mcs_disabled")){g.scrolltop(0).scrollleft(0)}});m.data({mcs_init:true,mcustomscrollbarindex:c(document).data("mcustomscrollbar-index"),horizontalscroll:e.horizontalscroll,scrollinertia:e.scrollinertia,scrolleasing:"mcseaseout",mousewheel:e.mousewheel,mousewheelpixels:e.mousewheelpixels,autodraggerlength:e.autodraggerlength,autohidescrollbar:e.autohidescrollbar,snapamount:e.snapamount,snapoffset:e.snapoffset,scrollbuttons_enable:e.scrollbuttons.enable,scrollbuttons_scrolltype:e.scrollbuttons.scrolltype,scrollbuttons_scrollspeed:e.scrollbuttons.scrollspeed,scrollbuttons_scrollamount:e.scrollbuttons.scrollamount,autoexpandhorizontalscroll:e.advanced.autoexpandhorizontalscroll,autoscrollonfocus:e.advanced.autoscrollonfocus,normalizemousewheeldelta:e.advanced.normalizemousewheeldelta,contenttouchscroll:e.contenttouchscroll,onscrollstart_callback:e.callbacks.onscrollstart,onscroll_callback:e.callbacks.onscroll,ontotalscroll_callback:e.callbacks.ontotalscroll,ontotalscrollback_callback:e.callbacks.ontotalscrollback,ontotalscroll_offset:e.callbacks.ontotalscrolloffset,ontotalscrollback_offset:e.callbacks.ontotalscrollbackoffset,whilescrolling_callback:e.callbacks.whilescrolling,bindevent_scrollbar_drag:false,bindevent_content_touch:false,bindevent_scrollbar_click:false,bindevent_mousewheel:false,bindevent_buttonscontinuous_y:false,bindevent_buttonscontinuous_x:false,bindevent_buttonspixels_y:false,bindevent_buttonspixels_x:false,bindevent_focusin:false,bindevent_autohidescrollbar:false,mcsb_buttonscrollright:false,mcsb_buttonscrollleft:false,mcsb_buttonscrolldown:false,mcsb_buttonscrollup:false});if(e.horizontalscroll){if(m.css("max-width")!=="none"){if(!e.advanced.updateoncontentresize){e.advanced.updateoncontentresize=true}}}else{if(m.css("max-height")!=="none"){var s=false,r=parseint(m.css("max-height"));if(m.css("max-height").indexof("%")>=0){s=r,r=m.parent().height()*s/100}m.css("overflow","hidden");g.css("max-height",r)}}m.mcustomscrollbar("update");if(e.advanced.updateonbrowserresize){var i,j=c(window).width(),u=c(window).height();c(window).bind("resize."+m.data("mcustomscrollbarindex"),function(){if(i){cleartimeout(i)}i=settimeout(function(){if(!m.is(".mcs_disabled")&&!m.is(".mcs_destroyed")){var w=c(window).width(),v=c(window).height();if(j!==w||u!==v){if(m.css("max-height")!=="none"&&s){g.css("max-height",m.parent().height()*s/100)}m.mcustomscrollbar("update");j=w;u=v}}},150)})}if(e.advanced.updateoncontentresize){var p;if(e.horizontalscroll){var n=o.outerwidth()}else{var n=o.outerheight()}p=setinterval(function(){if(e.horizontalscroll){if(e.advanced.autoexpandhorizontalscroll){o.css({position:"absolute",width:"auto"}).wrap("
    ").css({width:o.outerwidth(),position:"relative"}).unwrap()}var v=o.outerwidth()}else{var v=o.outerheight()}if(v!=n){m.mcustomscrollbar("update");n=v}},300)}})},update:function(){var n=c(this),k=n.children(".mcustomscrollbox"),q=k.children(".mcsb_container");q.removeclass("mcs_no_scrollbar");n.removeclass("mcs_disabled mcs_destroyed");k.scrolltop(0).scrollleft(0);var y=k.children(".mcsb_scrolltools"),o=y.children(".mcsb_draggercontainer"),m=o.children(".mcsb_dragger");if(n.data("horizontalscroll")){var a=y.children(".mcsb_buttonleft"),t=y.children(".mcsb_buttonright"),f=k.width();if(n.data("autoexpandhorizontalscroll")){q.css({position:"absolute",width:"auto"}).wrap("
    ").css({width:q.outerwidth(),position:"relative"}).unwrap()}var z=q.outerwidth()}else{var w=y.children(".mcsb_buttonup"),g=y.children(".mcsb_buttondown"),r=k.height(),i=q.outerheight()}if(i>r&&!n.data("horizontalscroll")){y.css("display","block");var s=o.height();if(n.data("autodraggerlength")){var u=math.round(r/i*s),l=m.data("mindraggerheight");if(u<=l){m.css({height:l})}else{if(u>=s-10){var p=s-10;m.css({height:p})}else{m.css({height:u})}}m.children(".mcsb_dragger_bar").css({"line-height":m.height()+"px"})}var b=m.height(),x=(i-r)/(s-b);n.data("scrollamount",x).mcustomscrollbar("scrolling",k,q,o,m,w,g,a,t);var d=math.abs(q.position().top);n.mcustomscrollbar("scrollto",d,{scrollinertia:0,trigger:"internal"})}else{if(z>f&&n.data("horizontalscroll")){y.css("display","block");var h=o.width();if(n.data("autodraggerlength")){var j=math.round(f/z*h),c=m.data("mindraggerwidth");if(j<=c){m.css({width:c})}else{if(j>=h-10){var e=h-10;m.css({width:e})}else{m.css({width:j})}}}var v=m.width(),x=(z-f)/(h-v);n.data("scrollamount",x).mcustomscrollbar("scrolling",k,q,o,m,w,g,a,t);var d=math.abs(q.position().left);n.mcustomscrollbar("scrollto",d,{scrollinertia:0,trigger:"internal"})}else{k.unbind("mousewheel focusin");if(n.data("horizontalscroll")){m.add(q).css("left",0)}else{m.add(q).css("top",0)}y.css("display","none");q.addclass("mcs_no_scrollbar");n.data({bindevent_mousewheel:false,bindevent_focusin:false})}}},scrolling:function(h,p,m,j,w,e,a,v){var k=c(this);if(!k.data("bindevent_scrollbar_drag")){var n,o;if(c.support.mspointer){j.bind("mspointerdown",function(h){h.preventdefault();k.data({on_drag:true});j.addclass("mcsb_dragger_ondrag");var g=c(this),j=g.offset(),f=h.originalevent.pagex-j.left,i=h.originalevent.pagey-j.top;if(f0&&i0){n=i;o=f}});c(document).bind("mspointermove."+k.data("mcustomscrollbarindex"),function(h){h.preventdefault();if(k.data("on_drag")){var g=j,j=g.offset(),f=h.originalevent.pagex-j.left,i=h.originalevent.pagey-j.top;d(n,o,i,f)}}).bind("mspointerup."+k.data("mcustomscrollbarindex"),function(x){k.data({on_drag:false});j.removeclass("mcsb_dragger_ondrag")})}else{j.bind("mousedown touchstart",function(h){h.preventdefault();h.stopimmediatepropagation();var g=c(this),k=g.offset(),f,j;if(h.type==="touchstart"){var i=h.originalevent.touches[0]||h.originalevent.changedtouches[0];f=i.pagex-k.left;j=i.pagey-k.top}else{k.data({on_drag:true});j.addclass("mcsb_dragger_ondrag");f=h.pagex-k.left;j=h.pagey-k.top}if(f0&&j0){n=j;o=f}}).bind("touchmove",function(h){h.preventdefault();h.stopimmediatepropagation();var k=h.originalevent.touches[0]||h.originalevent.changedtouches[0],g=c(this),j=g.offset(),f=k.pagex-j.left,i=k.pagey-j.top;d(n,o,i,f)});c(document).bind("mousemove."+k.data("mcustomscrollbarindex"),function(h){if(k.data("on_drag")){var g=j,j=g.offset(),f=h.pagex-j.left,i=h.pagey-j.top;d(n,o,i,f)}}).bind("mouseup."+k.data("mcustomscrollbarindex"),function(x){k.data({on_drag:false});j.removeclass("mcsb_dragger_ondrag")})}k.data({bindevent_scrollbar_drag:true})}function d(g,h,i,f){if(k.data("horizontalscroll")){k.mcustomscrollbar("scrollto",(j.position().left-(h))+f,{movedragger:true,trigger:"internal"})}else{k.mcustomscrollbar("scrollto",(j.position().top-(g))+i,{movedragger:true,trigger:"internal"})}}if(c.support.touch&&k.data("contenttouchscroll")){if(!k.data("bindevent_content_touch")){var l,b,r,s,u,c,e;p.bind("touchstart",function(x){x.stopimmediatepropagation();l=x.originalevent.touches[0]||x.originalevent.changedtouches[0];b=c(this);r=b.offset();u=l.pagex-r.left;s=l.pagey-r.top;c=s;e=u});p.bind("touchmove",function(x){x.preventdefault();x.stopimmediatepropagation();l=x.originalevent.touches[0]||x.originalevent.changedtouches[0];b=c(this).parent();r=b.offset();u=l.pagex-r.left;s=l.pagey-r.top;if(k.data("horizontalscroll")){k.mcustomscrollbar("scrollto",e-u,{trigger:"internal"})}else{k.mcustomscrollbar("scrollto",c-s,{trigger:"internal"})}})}}if(!k.data("bindevent_scrollbar_click")){m.bind("click",function(f){var x=(f.pagey-m.offset().top)*k.data("scrollamount"),y=c(f.target);if(k.data("horizontalscroll")){x=(f.pagex-m.offset().left)*k.data("scrollamount")}if(y.hasclass("mcsb_draggercontainer")||y.hasclass("mcsb_draggerrail")){k.mcustomscrollbar("scrollto",x,{trigger:"internal",scrolleasing:"draggerrailease"})}});k.data({bindevent_scrollbar_click:true})}if(k.data("mousewheel")){if(!k.data("bindevent_mousewheel")){h.bind("mousewheel",function(h,j){var g,f=k.data("mousewheelpixels"),x=math.abs(p.position().top),i=j.position().top,y=m.height()-j.height();if(k.data("normalizemousewheeldelta")){if(j<0){j=-1}else{j=1}}if(f==="auto"){f=100+math.round(k.data("scrollamount")/2)}if(k.data("horizontalscroll")){i=j.position().left;y=m.width()-j.width();x=math.abs(p.position().left)}if((j>0&&i!==0)||(j<0&&i!==y)){h.preventdefault();h.stopimmediatepropagation()}g=x-(j*f);k.mcustomscrollbar("scrollto",g,{trigger:"internal"})});k.data({bindevent_mousewheel:true})}}if(k.data("scrollbuttons_enable")){if(k.data("scrollbuttons_scrolltype")==="pixels"){if(k.data("horizontalscroll")){v.add(a).unbind("mousedown touchstart mspointerdown mouseup mspointerup mouseout mspointerout touchend",i,g);k.data({bindevent_buttonscontinuous_x:false});if(!k.data("bindevent_buttonspixels_x")){v.bind("click",function(x){x.preventdefault();q(math.abs(p.position().left)+k.data("scrollbuttons_scrollamount"))});a.bind("click",function(x){x.preventdefault();q(math.abs(p.position().left)-k.data("scrollbuttons_scrollamount"))});k.data({bindevent_buttonspixels_x:true})}}else{e.add(w).unbind("mousedown touchstart mspointerdown mouseup mspointerup mouseout mspointerout touchend",i,g);k.data({bindevent_buttonscontinuous_y:false});if(!k.data("bindevent_buttonspixels_y")){e.bind("click",function(x){x.preventdefault();q(math.abs(p.position().top)+k.data("scrollbuttons_scrollamount"))});w.bind("click",function(x){x.preventdefault();q(math.abs(p.position().top)-k.data("scrollbuttons_scrollamount"))});k.data({bindevent_buttonspixels_y:true})}}function q(x){if(!j.data("preventaction")){j.data("preventaction",true);k.mcustomscrollbar("scrollto",x,{trigger:"internal"})}}}else{if(k.data("horizontalscroll")){v.add(a).unbind("click");k.data({bindevent_buttonspixels_x:false});if(!k.data("bindevent_buttonscontinuous_x")){v.bind("mousedown touchstart mspointerdown",function(y){y.preventdefault();var x=z();k.data({mcsb_buttonscrollright:setinterval(function(){k.mcustomscrollbar("scrollto",math.abs(p.position().left)+x,{trigger:"internal",scrolleasing:"easeoutcirc"})},17)})});var i=function(x){x.preventdefault();clearinterval(k.data("mcsb_buttonscrollright"))};v.bind("mouseup touchend mspointerup mouseout mspointerout",i);a.bind("mousedown touchstart mspointerdown",function(y){y.preventdefault();var x=z();k.data({mcsb_buttonscrollleft:setinterval(function(){k.mcustomscrollbar("scrollto",math.abs(p.position().left)-x,{trigger:"internal",scrolleasing:"easeoutcirc"})},17)})});var g=function(x){x.preventdefault();clearinterval(k.data("mcsb_buttonscrollleft"))};a.bind("mouseup touchend mspointerup mouseout mspointerout",g);k.data({bindevent_buttonscontinuous_x:true})}}else{e.add(w).unbind("click");k.data({bindevent_buttonspixels_y:false});if(!k.data("bindevent_buttonscontinuous_y")){e.bind("mousedown touchstart mspointerdown",function(y){y.preventdefault();var x=z();k.data({mcsb_buttonscrolldown:setinterval(function(){k.mcustomscrollbar("scrollto",math.abs(p.position().top)+x,{trigger:"internal",scrolleasing:"easeoutcirc"})},17)})});var t=function(x){x.preventdefault();clearinterval(k.data("mcsb_buttonscrolldown"))};e.bind("mouseup touchend mspointerup mouseout mspointerout",t);w.bind("mousedown touchstart mspointerdown",function(y){y.preventdefault();var x=z();k.data({mcsb_buttonscrollup:setinterval(function(){k.mcustomscrollbar("scrollto",math.abs(p.position().top)-x,{trigger:"internal",scrolleasing:"easeoutcirc"})},17)})});var f=function(x){x.preventdefault();clearinterval(k.data("mcsb_buttonscrollup"))};w.bind("mouseup touchend mspointerup mouseout mspointerout",f);k.data({bindevent_buttonscontinuous_y:true})}}function z(){var x=k.data("scrollbuttons_scrollspeed");if(k.data("scrollbuttons_scrollspeed")==="auto"){x=math.round((k.data("scrollinertia")+100)/40)}return x}}}if(k.data("autoscrollonfocus")){if(!k.data("bindevent_focusin")){h.bind("focusin",function(){h.scrolltop(0).scrollleft(0);var x=c(document.activeelement);if(x.is("input,textarea,select,button,a[tabindex],area,object")){var g=p.position().top,y=x.position().top,f=h.height()-x.outerheight();if(k.data("horizontalscroll")){g=p.position().left;y=x.position().left;f=h.width()-x.outerwidth()}if(g+y<0||g+y>f){k.mcustomscrollbar("scrollto",y,{trigger:"internal"})}}});k.data({bindevent_focusin:true})}}if(k.data("autohidescrollbar")){if(!k.data("bindevent_autohidescrollbar")){h.bind("mouseenter",function(x){h.addclass("mcs-mouse-over");d.showscrollbar.call(h.children(".mcsb_scrolltools"))}).bind("mouseleave touchend",function(x){h.removeclass("mcs-mouse-over");if(x.type==="mouseleave"){d.hidescrollbar.call(h.children(".mcsb_scrolltools"))}});k.data({bindevent_autohidescrollbar:true})}}},scrollto:function(e,f){var i=c(this),o={movedragger:false,trigger:"external",callbacks:true,scrollinertia:i.data("scrollinertia"),scrolleasing:i.data("scrolleasing")},f=c.extend(o,f),p,g=i.children(".mcustomscrollbox"),k=g.children(".mcsb_container"),r=g.children(".mcsb_scrolltools"),j=r.children(".mcsb_draggercontainer"),h=j.children(".mcsb_dragger"),t=draggerspeed=f.scrollinertia,q,s,m,l;if(!k.hasclass("mcs_no_scrollbar")){i.data({mcs_trigger:f.trigger});if(i.data("mcs_init")){f.callbacks=false}if(e||e===0){if(typeof(e)==="number"){if(f.movedragger){p=e;if(i.data("horizontalscroll")){e=h.position().left*i.data("scrollamount")}else{e=h.position().top*i.data("scrollamount")}draggerspeed=0}else{p=e/i.data("scrollamount")}}else{if(typeof(e)==="string"){var v;if(e==="top"){v=0}else{if(e==="bottom"&&!i.data("horizontalscroll")){v=k.outerheight()-g.height()}else{if(e==="left"){v=0}else{if(e==="right"&&i.data("horizontalscroll")){v=k.outerwidth()-g.width()}else{if(e==="first"){v=i.find(".mcsb_container").find(":first")}else{if(e==="last"){v=i.find(".mcsb_container").find(":last")}else{v=i.find(e)}}}}}}if(v.length===1){if(i.data("horizontalscroll")){e=v.position().left}else{e=v.position().top}p=e/i.data("scrollamount")}else{p=e=v}}}if(i.data("horizontalscroll")){if(i.data("ontotalscrollback_offset")){s=-i.data("ontotalscrollback_offset")}if(i.data("ontotalscroll_offset")){l=g.width()-k.outerwidth()+i.data("ontotalscroll_offset")}if(p<0){p=e=0;clearinterval(i.data("mcsb_buttonscrollleft"));if(!s){q=true}}else{if(p>=j.width()-h.width()){p=j.width()-h.width();e=g.width()-k.outerwidth();clearinterval(i.data("mcsb_buttonscrollright"));if(!l){m=true}}else{e=-e}}var n=i.data("snapamount");if(n){e=math.round(e/n)*n-i.data("snapoffset")}d.mtweenaxis.call(this,h[0],"left",math.round(p),draggerspeed,f.scrolleasing);d.mtweenaxis.call(this,k[0],"left",math.round(e),t,f.scrolleasing,{onstart:function(){if(f.callbacks&&!i.data("mcs_tweenrunning")){u("onscrollstart")}if(i.data("autohidescrollbar")){d.showscrollbar.call(r)}},onupdate:function(){if(f.callbacks){u("whilescrolling")}},oncomplete:function(){if(f.callbacks){u("onscroll");if(q||(s&&k.position().left>=s)){u("ontotalscrollback")}if(m||(l&&k.position().left<=l)){u("ontotalscroll")}}h.data("preventaction",false);i.data("mcs_tweenrunning",false);if(i.data("autohidescrollbar")){if(!g.hasclass("mcs-mouse-over")){d.hidescrollbar.call(r)}}}})}else{if(i.data("ontotalscrollback_offset")){s=-i.data("ontotalscrollback_offset")}if(i.data("ontotalscroll_offset")){l=g.height()-k.outerheight()+i.data("ontotalscroll_offset")}if(p<0){p=e=0;clearinterval(i.data("mcsb_buttonscrollup"));if(!s){q=true}}else{if(p>=j.height()-h.height()){p=j.height()-h.height();e=g.height()-k.outerheight();clearinterval(i.data("mcsb_buttonscrolldown"));if(!l){m=true}}else{e=-e}}var n=i.data("snapamount");if(n){e=math.round(e/n)*n-i.data("snapoffset")}d.mtweenaxis.call(this,h[0],"top",math.round(p),draggerspeed,f.scrolleasing);d.mtweenaxis.call(this,k[0],"top",math.round(e),t,f.scrolleasing,{onstart:function(){if(f.callbacks&&!i.data("mcs_tweenrunning")){u("onscrollstart")}if(i.data("autohidescrollbar")){d.showscrollbar.call(r)}},onupdate:function(){if(f.callbacks){u("whilescrolling")}},oncomplete:function(){if(f.callbacks){u("onscroll");if(q||(s&&k.position().top>=s)){u("ontotalscrollback")}if(m||(l&&k.position().top<=l)){u("ontotalscroll")}}h.data("preventaction",false);i.data("mcs_tweenrunning",false);if(i.data("autohidescrollbar")){if(!g.hasclass("mcs-mouse-over")){d.hidescrollbar.call(r)}}}})}if(i.data("mcs_init")){i.data({mcs_init:false})}}}function u(w){this.mcs={top:k.position().top,left:k.position().left,draggertop:h.position().top,draggerleft:h.position().left,toppct:math.round((100*math.abs(k.position().top))/math.abs(k.outerheight()-g.height())),leftpct:math.round((100*math.abs(k.position().left))/math.abs(k.outerwidth()-g.width()))};switch(w){case"onscrollstart":i.data("mcs_tweenrunning",true).data("onscrollstart_callback").call(i,this.mcs);break;case"whilescrolling":i.data("whilescrolling_callback").call(i,this.mcs);break;case"onscroll":i.data("onscroll_callback").call(i,this.mcs);break;case"ontotalscrollback":i.data("ontotalscrollback_callback").call(i,this.mcs);break;case"ontotalscroll":i.data("ontotalscroll_callback").call(i,this.mcs);break}}},stop:function(){var g=c(this),e=g.children().children(".mcsb_container"),f=g.children().children().children().children(".mcsb_dragger");d.mtweenaxisstop.call(this,e[0]);d.mtweenaxisstop.call(this,f[0])},disable:function(e){var j=c(this),f=j.children(".mcustomscrollbox"),h=f.children(".mcsb_container"),g=f.children(".mcsb_scrolltools"),i=g.children().children(".mcsb_dragger");f.unbind("mousewheel focusin mouseenter mouseleave touchend");h.unbind("touchstart touchmove");if(e){if(j.data("horizontalscroll")){i.add(h).css("left",0)}else{i.add(h).css("top",0)}}g.css("display","none");h.addclass("mcs_no_scrollbar");j.data({bindevent_mousewheel:false,bindevent_focusin:false,bindevent_content_touch:false,bindevent_autohidescrollbar:false}).addclass("mcs_disabled")},destroy:function(){var e=c(this);e.removeclass("mcustomscrollbar _mcs_"+e.data("mcustomscrollbarindex")).addclass("mcs_destroyed").children().children(".mcsb_container").unwrap().children().unwrap().siblings(".mcsb_scrolltools").remove();c(document).unbind("mousemove."+e.data("mcustomscrollbarindex")+" mouseup."+e.data("mcustomscrollbarindex")+" mspointermove."+e.data("mcustomscrollbarindex")+" mspointerup."+e.data("mcustomscrollbarindex"));c(window).unbind("resize."+e.data("mcustomscrollbarindex"))}},d={showscrollbar:function(){this.stop().animate({opacity:1},"fast")},hidescrollbar:function(){this.stop().animate({opacity:0},"fast")},mtweenaxis:function(g,i,h,f,o,y){var y=y||{},v=y.onstart||function(){},p=y.onupdate||function(){},w=y.oncomplete||function(){};var n=t(),l,j=0,r=g.offsettop,s=g.style;if(i==="left"){r=g.offsetleft}var m=h-r;q();e();function t(){if(window.performance&&window.performance.now){return window.performance.now()}else{if(window.performance&&window.performance.webkitnow){return window.performance.webkitnow()}else{if(date.now){return date.now()}else{return new date().gettime()}}}}function x(){if(!j){v.call()}j=t()-n;u();if(j>=g._time){g._time=(j>g._time)?j+l-(j-g._time):j+l-1;if(g._time0){g.currval=k(g._time,r,m,f,o);s[i]=math.round(g.currval)+"px"}else{s[i]=h+"px"}p.call()}function e(){l=1000/60;g._time=j+l;_request=(!window.requestanimationframe)?function(z){u();return settimeout(z,0.01)}:window.requestanimationframe;g._id=_request(x)}function q(){if(g._id==null){return}if(!window.requestanimationframe){cleartimeout(g._id)}else{window.cancelanimationframe(g._id)}g._id=null}function k(b,a,f,e,c){switch(c){case"linear":return f*b/e+a;break;case"easeoutquad":b/=e;return -f*b*(b-2)+a;break;case"easeinoutquad":b/=e/2;if(b<1){return f/2*b*b+a}b--;return -f/2*(b*(b-2)-1)+a;break;case"easeoutcubic":b/=e;b--;return f*(b*b*b+1)+a;break;case"easeoutquart":b/=e;b--;return -f*(b*b*b*b-1)+a;break;case"easeoutquint":b/=e;b--;return f*(b*b*b*b*b+1)+a;break;case"easeoutcirc":b/=e;b--;return f*math.sqrt(1-b*b)+a;break;case"easeoutsine":return f*math.sin(b/e*(math.pi/2))+a;break;case"easeoutexpo":return f*(-math.pow(2,-10*b/e)+1)+a;break;case"mcseaseout":var d=(b/=e)*b,z=d*b;return a+f*(0.499999999999997*z*d+-2.5*d*d+5.5*z+-6.5*d+4*b);break;case"draggerrailease":b/=e/2;if(b<1){return f/2*b*b*b+a}b-=2;return f/2*(b*b*b+2)+a;break}}},mtweenaxisstop:function(e){if(e._id==null){return}if(!window.requestanimationframe){cleartimeout(e._id)}else{window.cancelanimationframe(e._id)}e._id=null},rafpolyfill:function(){var f=["ms","moz","webkit","o"],e=f.length;while(--e>-1&&!window.requestanimationframe){window.requestanimationframe=window[f[e]+"requestanimationframe"];window.cancelanimationframe=window[f[e]+"cancelanimationframe"]||window[f[e]+"cancelrequestanimationframe"]}}};d.rafpolyfill.call();c.support.touch=!!("ontouchstart" in window);c.support.mspointer=window.navigator.mspointerenabled;var a=("https:"==document.location.protocol)?"https:":"http:";c.event.special.mousewheel||document.write('