vendor: 12,974 bytes, line 1
1!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var l=t||window.event,r=s.call(arguments,1),d=0,u=0,f=0,h=0,m=0,p=0;if(t=e.event.fix(l),t.type="mousewheel","detail"in l&&(f=-1*l.detail),"wheelDelta"in l&&(f=l.wheelDelta),"wheelDeltaY"in l&&(f=l.wheelDeltaY),"wheelDeltaX"in l&&(u=-1*l.wheelDeltaX),"axis"in l&&l.axis===l.HORIZONTAL_AXIS&&(u=-1*f,f=0),d=0===f?u:f,"deltaY"in l&&(f=-1*l.deltaY,d=f),"deltaX"in l&&(u=l.deltaX,0===f&&(d=-1*u)),0!==f||0!==u){if(1===l.deltaMode){var v=e.data(this,"mousewheel-line-height");d*=v,f*=v,u*=v}else if(2===l.deltaMode){var g=e.data(this,"mousewheel-page-height");d*=g,f*=g,u*=g}if(h=Math.max(Math.abs(f),Math.abs(u)),(!i||i>h)&&(i=h,n(l,h)&&(i/=40)),n(l,h)&&(d/=40,u/=40,f/=40),d=Math[d>=1?"floor":"ceil"](d/i),u=Math[u>=1?"floor":"ceil"](u/i),f=Math[f>=1?"floor":"ceil"](f/i),c.settings.normalizeOffset&&this.getBoundingClientRect){var _=this.getBoundingClientRect();m=t.clientX-_.left,p=t.clientY-_.top}return t.deltaX=u,t.deltaY=f,t.deltaFactor=i,t.offsetX=m,t.offsetY=p,t.deltaMode=0,r.unshift(t,d,u,f),a&&clearTimeout(a),a=setTimeout(o,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function o(){i=null}function n(e,t){return c.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var a,i,l=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],s=Array.prototype.slice;if(e.event.fixHooks)for(var d=l.length;d;)e.event.fixHooks[l[--d]]=e.event.mouseHooks;var c=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var o=r.length;o;)this.addEventListener(r[--o],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",c.getLineHeight(this)),e.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var o=r.length;o;)this.removeEventListener(r[--o],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var o=e(t),n=o["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(o.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var l=t||window.event,r=s.call(arguments,1),d=0,u=0,f=0,h=0,m=0,p=0;if(t=e.event.fix(l),t.type="mousewheel","detail"in l&&(f=-1*l.detail),"wheelDelta"in l&&(f=l.wheelDelta),"wheelDeltaY"in l&&(f=l.wheelDeltaY),"wheelDeltaX"in l&&(u=-1*l.wheelDeltaX),"axis"in l&&l.axis===l.HORIZONTAL_AXIS&&(u=-1*f,f=0),d=0===f?u:f,"deltaY"in l&&(f=-1*l.deltaY,d=f),"deltaX"in l&&(u=l.deltaX,0===f&&(d=-1*u)),0!==f||0!==u){if(1===l.deltaMode){var v=e.data(this,"mousewheel-line-height");d*=v,f*=v,u*=v}else if(2===l.deltaMode){var g=e.data(this,"mousewheel-page-height");d*=g,f*=g,u*=g}if(h=Math.max(Math.abs(f),Math.abs(u)),(!i||i>h)&&(i=h,n(l,h)&&(i/=40)),n(l,h)&&(d/=40,u/=40,f/=40),d=Math[d>=1?"floor":"ceil"](d/i),u=Math[u>=1?"floor":"ceil"](u/i),f=Math[f>=1?"floor":"ceil"](f/i),c.settings.normalizeOffset&&this.getBoundingClientRect){var _=this.getBoundingClientRect();m=t.clientX-_.left,p=t.clientY-_.top}return t.deltaX=u,t.deltaY=f,t.deltaFactor=i,t.offsetX=m,t.offsetY=p,t.deltaMode=0,r.unshift(t,d,u,f),a&&clearTimeout(a),a=setTimeout(o,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function o(){i=null}function n(e,t){return c.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var a,i,l=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],s=Array.prototype.slice;if(e.event.fixHooks)for(var d=l.length;d;)e.event.fixHooks[l[--d]]=e.event.mouseHooks;var c=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var o=r.length;o;)this.addEventListener(r[--o],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",c.getLineHeight(this)),e.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var o=r.length;o;)this.removeEventListener(r[--o],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var o=e(t),n=o["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(o.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e:e(jQuery,window,document)}(function(e){!function(t){var o="function"==typeof define&&define.amd,n="undefined"!=typeof module&&module.exports,a="https:"==document.location.protocol?"https:":"http:",i="cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js";o||(n?require("jquery-mousewheel")(e):e.event.special.mousewheel||e("head").append(decodeURI("%3Cscript src="+a+"//"+i+"%3E%3C/script%3E"))),t()}(function(){var t,o="mCustomScrollbar",n="mCS",a=".mCustomScrollbar",i={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},l=0,r={},s=window.attachEvent&&!window.addEventListener?1:0,d=!1,c=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],u={init:function(t){var t=e.extend(!0,{},i,t),o=f.call(this);if(t.live){var s=t.liveSelector||this.selector||a,d=e(s);if("off"===t.live)return void m(s);r[s]=setTimeout(function(){d.mCustomScrollbar(t),"once"===t.live&&d.length&&m(s)},500)}else m(s);return t.setWidth=t.set_width?t.set_width:t.setWidth,t.setHeight=t.set_height?t.set_height:t.setHeight,t.axis=t.horizontalScroll?"x":p(t.axis),t.scrollInertia=t.scrollInertia>0&&t.scrollInertia<17?17:t.scrollInertia,"object"!=typeof t.mouseWheel&&1==t.mouseWheel&&(t.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),t.mouseWheel.scrollAmount=t.mouseWheelPixels?t.mouseWheelPixels:t.mouseWheel.scrollAmount,t.mouseWheel.normalizeDelta=t.advanced.normalizeMouseWheelDelta?t.advanced.normalizeMouseWheelDelta:t.mouseWheel.normalizeDelta,t.scrollButtons.scrollType=v(t.scrollButtons.scrollType),h(t),e(o).each(function(){var o=e(this);if(!o.data(n)){o.data(n,{idx:++l,opt:t,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:o.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var a=o.data(n),i=a.opt,r=o.data("mcs-axis"),s=o.data("mcs-scrollbar-position"),d=o.data("mcs-theme");r&&(i.axis=r),s&&(i.scrollbarPosition=s),d&&(i.theme=d,h(i)),g.call(this),a&&i.callbacks.onCreate&&"function"==typeof i.callbacks.onCreate&&i.callbacks.onCreate.call(this),e("#mCSB_"+a.idx+"_container img:not(."+c[2]+")").addClass(c[2]),u.update.call(null,o)}})},update:function(t,o){var a=t||f.call(this);return e(a).each(function(){var t=e(this);if(t.data(n)){var a=t.data(n),i=a.opt,l=e("#mCSB_"+a.idx+"_container"),r=e("#mCSB_"+a.idx),s=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")];if(!l.length)return;a.tweenRunning&&Q(t),o&&a&&i.callbacks.onBeforeUpdate&&"function"==typeof i.callbacks.onBeforeUpdate&&i.callbacks.onBeforeUpdate.call(this),t.hasClass(c[3])&&t.removeClass(c[3]),t.hasClass(c[4])&&t.removeClass(c[4]),r.css("max-height","none"),r.height()!==t.height()&&r.css("max-height",t.height()),x.call(this),"y"===i.axis||i.advanced.autoExpandHorizontalScroll||l.css("width",_(l)),a.overflowed=y.call(this),k.call(this),i.autoDraggerLength&&S.call(this),b.call(this),T.call(this);var d=[Math.abs(l[0].offsetTop),Math.abs(l[0].offsetLeft)];"x"!==i.axis&&(a.overflowed[0]?s[0].height()>s[0].parent().height()?B.call(this):(Z(t,d[0].toString(),{dir:"y",dur:0,overwrite:"none"}),a.contentReset.y=null):(B.call(this),"y"===i.axis?M.call(this):"yx"===i.axis&&a.overflowed[1]&&Z(t,d[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==i.axis&&(a.overflowed[1]?s[1].width()>s[1].parent().width()?B.call(this):(Z(t,d[1].toString(),{dir:"x",dur:0,overwrite:"none"}),a.contentReset.x=null):(B.call(this),"x"===i.axis?M.call(this):"yx"===i.axis&&a.overflowed[0]&&Z(t,d[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),o&&a&&(2===o&&i.callbacks.onImageLoad&&"function"==typeof i.callbacks.onImageLoad?i.callbacks.onImageLoad.call(this):3===o&&i.callbacks.onSelectorChange&&"function"==typeof i.callbacks.onSelectorChange?i.callbacks.onSelectorChange.call(this):i.callbacks.onUpdate&&"function"==typeof i.callbacks.onUpdate&&i.callbacks.onUpdate.call(this)),N.call(this)}})},scrollTo:function(t,o){if("undefined"!=typeof t&&null!=t){var a=f.call(this);return e(a).each(function(){var a=e(this);if(a.data(n)){var i=a.data(n),l=i.opt,r={trigger:"external",scrollInertia:l.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},s=e.extend(!0,{},r,o),d=F.call(this,t),c=s.scrollInertia>0&&s.scrollInertia<17?17:s.scrollInertia;d[0]=q.call(this,d[0],"y"),d[1]=q.call(this,d[1],"x"),s.moveDragger&&(d[0]*=i.scrollRatio.y,d[1]*=i.scrollRatio.x),s.dur=ae()?0:c,setTimeout(function(){null!==d[0]&&"undefined"!=typeof d[0]&&"x"!==l.axis&&i.overflowed[0]&&(s.dir="y",s.overwrite="all",Z(a,d[0].toString(),s)),null!==d[1]&&"undefined"!=typeof d[1]&&"y"!==l.axis&&i.overflowed[1]&&(s.dir="x",s.overwrite="none",Z(a,d[1].toString(),s))},s.timeout)}})}},stop:function(){var t=f.call(this);return e(t).each(function(){var t=e(this);t.data(n)&&Q(t)})},disable:function(t){var o=f.call(this);return e(o).each(function(){var o=e(this);o.data(n)&&(o.data(n),N.call(this,"remove"),M.call(this),t&&B.call(this),k.call(this,!0),o.addClass(c[3]))})},destroy:function(){var t=f.call(this);return e(t).each(function(){var a=e(this);if(a.data(n)){var i=a.data(n),l=i.opt,r=e("#mCSB_"+i.idx),s=e("#mCSB_"+i.idx+"_container"),d=e(".mCSB_"+i.idx+"_scrollbar");l.live&&m(l.liveSelector||e(t).selector),N.call(this,"remove"),M.call(this),B.call(this),a.removeData(n),$(this,"mcs"),d.remove(),s.find("img."+c[2]).removeClass(c[2]),r.replaceWith(s.contents()),a.removeClass(o+" _"+n+"_"+i.idx+" "+c[6]+" "+c[7]+" "+c[5]+" "+c[3]).addClass(c[4])}})}},f=function(){return"object"!=typeof e(this)||e(this).length<1?a:this},h=function(t){var o=["rounded","rounded-dark","rounded-dots","rounded-dots-dark"],n=["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"],a=["minimal","minimal-dark"],i=["minimal","minimal-dark"],l=["minimal","minimal-dark"];t.autoDraggerLength=!(e.inArray(t.theme,o)>-1)&&t.autoDraggerLength,t.autoExpandScrollbar=!(e.inArray(t.theme,n)>-1)&&t.autoExpandScrollbar,t.scrollButtons.enable=!(e.inArray(t.theme,a)>-1)&&t.scrollButtons.enable,t.autoHideScrollbar=e.inArray(t.theme,i)>-1||t.autoHideScrollbar,t.scrollbarPosition=e.inArray(t.theme,l)>-1?"outside":t.scrollbarPosition},m=function(e){r[e]&&(clearTimeout(r[e]),$(r,e))},p=function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},v=function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},g=function(){var t=e(this),a=t.data(n),i=a.opt,l=i.autoExpandScrollbar?" "+c[1]+"_expand":"",r=["<div id='m
1CSB_"+a.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+a.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_vertical"+l+"'><div class='"+c[12]+"'><div id='mCSB_"+a.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+a.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+a.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_horizontal"+l+"'><div class='"+c[12]+"'><div id='mCSB_"+a.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],s="yx"===i.axis?"mCSB_vertical_horizontal":"x"===i.axis?"mCSB_horizontal":"mCSB_vertical",d="yx"===i.axis?r[0]+r[1]:"x"===i.axis?r[1]:r[0],u="yx"===i.axis?"<div id='mCSB_"+a.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",f=i.autoHideScrollbar?" "+c[6]:"",h="x"!==i.axis&&"rtl"===a.langDir?" "+c[7]:"";i.setWidth&&t.css("width",i.setWidth),i.setHeight&&t.css("height",i.setHeight),i.setLeft="y"!==i.axis&&"rtl"===a.langDir?"989999px":i.setLeft,t.addClass(o+" _"+n+"_"+a.idx+f+h).wrapInner("<div id='mCSB_"+a.idx+"' class='mCustomScrollBox mCS-"+i.theme+" "+s+"'><div id='mCSB_"+a.idx+"_container' class='mCSB_container' style='position:relative; top:"+i.setTop+"; left:"+i.setLeft+";' dir='"+a.langDir+"' /></div>");var m=e("#mCSB_"+a.idx),p=e("#mCSB_"+a.idx+"_container");"y"===i.axis||i.advanced.autoExpandHorizontalScroll||p.css("width",_(p)),"outside"===i.scrollbarPosition?("static"===t.css("position")&&t.css("position","relative"),t.css("overflow","visible"),m.addClass("mCSB_outside").after(d)):(m.addClass("mCSB_inside").append(d),p.wrap(u)),w.call(this);var v=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")];v[0].css("min-height",v[0].height()),v[1].css("min-width",v[1].width())},_=function(t){var o=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return e(this).outerWidth(!0)}).get())],n=t.parent().width();return o[0]>n?o[0]:o[1]>n?o[1]:"100%"},x=function(){var t=e(this),o=t.data(n),a=o.opt,i=e("#mCSB_"+o.idx+"_container");if(a.advanced.autoExpandHorizontalScroll&&"y"!==a.axis){i.css({width:"auto","min-width":0,"overflow-x":"scroll"});var l=Math.ceil(i[0].scrollWidth);3===a.advanced.autoExpandHorizontalScroll||2!==a.advanced.autoExpandHorizontalScroll&&l>i.parent().width()?i.css({width:l,"min-width":"100%","overflow-x":"inherit"}):i.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(i[0].getBoundingClientRect().right+.4)-Math.floor(i[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},w=function(){var t=e(this),o=t.data(n),a=o.opt,i=e(".mCSB_"+o.idx+"_scrollbar:first"),l=oe(a.scrollButtons.tabindex)?"tabindex='"+a.scrollButtons.tabindex+"'":"",r=["<a href='#' class='"+c[13]+"' "+l+" />","<a href='#' class='"+c[14]+"' "+l+" />","<a href='#' class='"+c[15]+"' "+l+" />","<a href='#' class='"+c[16]+"' "+l+" />"],s=["x"===a.axis?r[2]:r[0],"x"===a.axis?r[3]:r[1],r[2],r[3]];a.scrollButtons.enable&&i.prepend(s[0]).append(s[1]).next(".mCSB_scrollTools").prepend(s[2]).append(s[3])},S=function(){var t=e(this),o=t.data(n),a=e("#mCSB_"+o.idx),i=e("#mCSB_"+o.idx+"_container"),l=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")],r=[a.height()/i.outerHeight(!1),a.width()/i.outerWidth(!1)],d=[parseInt(l[0].css("min-height")),Math.round(r[0]*l[0].parent().height()),parseInt(l[1].css("min-width")),Math.round(r[1]*l[1].parent().width())],c=s&&d[1]<d[0]?d[0]:d[1],u=s&&d[3]<d[2]?d[2]:d[3];l[0].css({height:c,"max-height":l[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":d[0]+"px"}),l[1].css({width:u,"max-width":l[1].parent().width()-10})},b=function(){var t=e(this),o=t.data(n),a=e("#mCSB_"+o.idx),i=e("#mCSB_"+o.idx+"_container"),l=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")],r=[i.outerHeight(!1)-a.height(),i.outerWidth(!1)-a.width()],s=[r[0]/(l[0].parent().height()-l[0].height()),r[1]/(l[1].parent().width()-l[1].width())];o.scrollRatio={y:s[0],x:s[1]}},C=function(e,t,o){var n=o?c[0]+"_expanded":"",a=e.closest(".mCSB_scrollTools");"active"===t?(e.toggleClass(c[0]+" "+n),a.toggleClass(c[1]),e[0]._draggable=e[0]._draggable?0:1):e[0]._draggable||("hide"===t?(e.removeClass(c[0]),a.removeClass(c[1])):(e.addClass(c[0]),a.addClass(c[1])))},y=function(){var t=e(this),o=t.data(n),a=e("#mCSB_"+o.idx),i=e("#mCSB_"+o.idx+"_container"),l=null==o.overflowed?i.height():i.outerHeight(!1),r=null==o.overflowed?i.width():i.outerWidth(!1),s=i[0].scrollHeight,d=i[0].scrollWidth;return s>l&&(l=s),d>r&&(r=d),[l>a.height(),r>a.width()]},B=function(){var t=e(this),o=t.data(n),a=o.opt,i=e("#mCSB_"+o.idx),l=e("#mCSB_"+o.idx+"_container"),r=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")];if(Q(t),("x"!==a.axis&&!o.overflowed[0]||"y"===a.axis&&o.overflowed[0])&&(r[0].add(l).css("top",0),Z(t,"_resetY")),"y"!==a.axis&&!o.overflowed[1]||"x"===a.axis&&o.overflowed[1]){var s=dx=0;"rtl"===o.langDir&&(s=i.width()-l.outerWidth(!1),dx=Math.abs(s/o.scrollRatio.x)),l.css("left",s),r[1].css("left",dx),Z(t,"_resetX")}},T=function(){function t(){l=setTimeout(function(){e.event.special.mousewheel?(clearTimeout(l),L.call(o[0])):t()},100)}var o=e(this),a=o.data(n),i=a.opt;if(!a.bindEvents){if(O.call(this),i.contentTouchScroll&&I.call(this),E.call(this),i.mouseWheel.enable){var l;t()}H.call(this),U.call(this),i.advanced.autoScrollOnFocus&&P.call(this),i.scrollButtons.enable&&X.call(this),i.keyboard.enable&&Y.call(this),a.bindEvents=!0}},M=function(){var t=e(this),o=t.data(n),a=o.opt,i=n+"_"+o.idx,l=".mCSB_"+o.idx+"_scrollbar",r=e("#mCSB_"+o.idx+",#mCSB_"+o.idx+"_container,#mCSB_"+o.idx+"_container_wrapper,"+l+" ."+c[12]+",#mCSB_"+o.idx+"_dragger_vertical,#mCSB_"+o.idx+"_dragger_horizontal,"+l+">a"),s=e("#mCSB_"+o.idx+"_container");a.advanced.releaseDraggableSelectors&&r.add(e(a.advanced.releaseDraggableSelectors)),a.advanced.extraDraggableSelectors&&r.add(e(a.advanced.extraDraggableSelectors)),o.bindEvents&&(e(document).add(e(!A()||top.document)).unbind("."+i),r.each(function(){e(this).unbind("."+i)}),clearTimeout(t[0]._focusTimeout),$(t[0],"_focusTimeout"),clearTimeout(o.sequential.step),$(o.sequential,"step"),clearTimeout(s[0].onCompleteTimeout),$(s[0],"onCompleteTimeout"),o.bindEvents=!1)},k=function(t){var o=e(this),a=o.data(n),i=a.opt,l=e("#mCSB_"+a.idx+"_container_wrapper"),r=l.length?l:e("#mCSB_"+a.idx+"_container"),s=[e("#mCSB_"+a.idx+"_scrollbar_vertical"),e("#mCSB_"+a.idx+"_scrollbar_horizontal")],d=[s[0].find(".mCSB_dragger"),s[1].find(".mCSB_dragger")];"x"!==i.axis&&(a.overflowed[0]&&!t?(s[0].add(d[0]).add(s[0].children("a")).css("display","block"),r.removeClass(c[8]+" "+c[10])):(i.alwaysShowScrollbar?(2!==i.alwaysShowScrollbar&&d[0].css("display","none"),r.removeClass(c[10])):(s[0].css("display","none"),r.addClass(c[10])),r.addClass(c[8]))),"y"!==i.axis&&(a.overflowed[1]&&!t?(s[1].add(d[1]).add(s[1].children("a")).css("display","block"),r.removeClass(c[9]+" "+c[11])):(i.alwaysShowScrollbar?(2!==i.alwaysShowScrollbar&&d[1].css("display","none"),r.removeClass(c[11])):(s[1].css("display","none"),r.addClass(c[11])),r.addClass(c[9]))),a.overflowed[0]||a.overflowed[1]?o.removeClass(c[5]):o.addClass(c[5])},D=function(t){var o=t.type,n=t.target.ownerDocument!==document&&null!==frameElement?[e(frameElement).offset().top,e(frameElement).offset().left]:null,a=A()&&t.target.ownerDocument!==top.document&&null!==frameElement?[e(t.view.frameElement).offset().top,e(t.view.frameElement).offset().left]:[0,0];switch(o){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return n?[t.originalEvent.pageY-n[0]+a[0],t.originalEvent.pageX-n[1]+a[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var i=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],l=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[i.screenY,i.screenX,l>
vendor: 22,840 bytes, lines 1-2
11]:[i.pageY,i.pageX,l>1];default:return n?[t.pageY-n[0]+a[0],t.pageX-n[1]+a[1],!1]:[t.pageY,t.pageX,!1]}},O=function(){function t(e,t,n,a){if(h[0].idleTimer=c.scrollInertia<233?250:0,o.attr("id")===f[1])var i="x",s=(o[0].offsetLeft-t+a)*r.scrollRatio.x;else var i="y",s=(o[0].offsetTop-e+n)*r.scrollRatio.y;Z(l,s.toString(),{dir:i,drag:!0})}var o,a,i,l=e(this),r=l.data(n),c=r.opt,u=n+"_"+r.idx,f=["mCSB_"+r.idx+"_dragger_vertical","mCSB_"+r.idx+"_dragger_horizontal"],h=e("#mCSB_"+r.idx+"_container"),m=e("#"+f[0]+",#"+f[1]),p=c.advanced.releaseDraggableSelectors?m.add(e(c.advanced.releaseDraggableSelectors)):m,v=c.advanced.extraDraggableSelectors?e(!A()||top.document).add(e(c.advanced.extraDraggableSelectors)):e(!A()||top.document);m.bind("contextmenu."+u,function(e){e.preventDefault()}).bind("mousedown."+u+" touchstart."+u+" pointerdown."+u+" MSPointerDown."+u,function(t){if(t.stopImmediatePropagation(),t.preventDefault(),ee(t)){d=!0,s&&(document.onselectstart=function(){return!1}),W.call(h,!1),Q(l),o=e(this);var n=o.offset(),r=D(t)[0]-n.top,u=D(t)[1]-n.left,f=o.height()+n.top,m=o.width()+n.left;f>r&&r>0&&m>u&&u>0&&(a=r,i=u),C(o,"active",c.autoExpandScrollbar)}}).bind("touchmove."+u,function(e){e.stopImmediatePropagation(),e.preventDefault();var n=o.offset(),l=D(e)[0]-n.top,r=D(e)[1]-n.left;t(a,i,l,r)}),e(document).add(v).bind("mousemove."+u+" pointermove."+u+" MSPointerMove."+u,function(e){if(o){var n=o.offset(),l=D(e)[0]-n.top,r=D(e)[1]-n.left;if(a===l&&i===r)return;t(a,i,l,r)}}).add(p).bind("mouseup."+u+" touchend."+u+" pointerup."+u+" MSPointerUp."+u,function(){o&&(C(o,"active",c.autoExpandScrollbar),o=null),d=!1,s&&(document.onselectstart=null),W.call(h,!0)})},I=function(){function o(e){if(!te(e)||d||D(e)[2])return void(t=0);t=1,b=0,C=0,c=1,y.removeClass("mCS_touch_action");var o=O.offset();u=D(e)[0]-o.top,f=D(e)[1]-o.left,z=[D(e)[0],D(e)[1]]}function a(e){if(te(e)&&!d&&!D(e)[2]&&(T.documentTouchScroll||e.preventDefault(),e.stopImmediatePropagation(),(!C||b)&&c)){v=J();var t=k.offset(),o=D(e)[0]-t.top,n=D(e)[1]-t.left,a="mcsLinearOut";if(E.push(o),L.push(n),z[2]=Math.abs(D(e)[0]-z[0]),z[3]=Math.abs(D(e)[1]-z[1]),B.overflowed[0])var i=I[0].parent().height()-I[0].height(),l=u-o>0&&o-u>-(i*B.scrollRatio.y)&&(2*z[3]<z[2]||"yx"===T.axis);if(B.overflowed[1])var r=I[1].parent().width()-I[1].width(),h=f-n>0&&n-f>-(r*B.scrollRatio.x)&&(2*z[2]<z[3]||"yx"===T.axis);l||h?(U||e.preventDefault(),b=1):(C=1,y.addClass("mCS_touch_action")),U&&e.preventDefault(),w="yx"===T.axis?[u-o,f-n]:"x"===T.axis?[null,f-n]:[u-o,null],O[0].idleTimer=250,B.overflowed[0]&&s(w[0],R,a,"y","all",!0),B.overflowed[1]&&s(w[1],R,a,"x",W,!0)}}function i(e){if(!te(e)||d||D(e)[2])return void(t=0);t=1,e.stopImmediatePropagation(),Q(y),p=J();var o=k.offset();h=D(e)[0]-o.top,m=D(e)[1]-o.left,E=[],L=[]}function l(e){if(te(e)&&!d&&!D(e)[2]){c=0,e.stopImmediatePropagation(),b=0,C=0,g=J();var t=k.offset(),o=D(e)[0]-t.top,n=D(e)[1]-t.left;if(!(g-v>30)){x=1e3/(g-p);var a="mcsEaseOut",i=2.5>x,l=i?[E[E.length-2],L[L.length-2]]:[0,0];_=i?[o-l[0],n-l[1]]:[o-h,n-m];var u=[Math.abs(_[0]),Math.abs(_[1])];x=i?[Math.abs(_[0]/4),Math.abs(_[1]/4)]:[x,x];var f=[Math.abs(O[0].offsetTop)-_[0]*r(u[0]/x[0],x[0]),Math.abs(O[0].offsetLeft)-_[1]*r(u[1]/x[1],x[1])];w="yx"===T.axis?[f[0],f[1]]:"x"===T.axis?[null,f[1]]:[f[0],null],S=[4*u[0]+T.scrollInertia,4*u[1]+T.scrollInertia];var y=parseInt(T.contentTouchScroll)||0;w[0]=u[0]>y?w[0]:0,w[1]=u[1]>y?w[1]:0,B.overflowed[0]&&s(w[0],S[0],a,"y",W,!1),B.overflowed[1]&&s(w[1],S[1],a,"x",W,!1)}}}function r(e,t){var o=[1.5*t,2*t,t/1.5,t/2];return e>90?t>4?o[0]:o[3]:e>60?t>3?o[3]:o[2]:e>30?t>8?o[1]:t>6?o[0]:t>4?t:o[2]:t>8?t:o[3]}function s(e,t,o,n,a,i){e&&Z(y,e.toString(),{dur:t,scrollEasing:o,dir:n,overwrite:a,drag:i})}var c,u,f,h,m,p,v,g,_,x,w,S,b,C,y=e(this),B=y.data(n),T=B.opt,M=n+"_"+B.idx,k=e("#mCSB_"+B.idx),O=e("#mCSB_"+B.idx+"_container"),I=[e("#mCSB_"+B.idx+"_dragger_vertical"),e("#mCSB_"+B.idx+"_dragger_horizontal")],E=[],L=[],R=0,W="yx"===T.axis?"none":"all",z=[],H=O.find("iframe"),P=["touchstart."+M+" pointerdown."+M+" MSPointerDown."+M,"touchmove."+M+" pointermove."+M+" MSPointerMove."+M,"touchend."+M+" pointerup."+M+" MSPointerUp."+M],U=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;O.bind(P[0],function(e){o(e)}).bind(P[1],function(e){a(e)}),k.bind(P[0],function(e){i(e)}).bind(P[2],function(e){l(e)}),H.length&&H.each(function(){e(this).bind("load",function(){A(this)&&e(this.contentDocument||this.contentWindow.document).bind(P[0],function(e){o(e),i(e)}).bind(P[1],function(e){a(e)}).bind(P[2],function(e){l(e)})})})},E=function(){function o(){return window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type?document.selection.createRange().text:0}function a(e,t,o){c.type=o&&i?"stepped":"stepless",c.scrollAmount=10,j(l,e,t,"mcsLinearOut",o?60:null)}var i,l=e(this),r=l.data(n),s=r.opt,c=r.sequential,u=n+"_"+r.idx,f=e("#mCSB_"+r.idx+"_container"),h=f.parent();f.bind("mousedown."+u,function(){t||i||(i=1,d=!0)}).add(document).bind("mousemove."+u,function(e){if(!t&&i&&o()){var n=f.offset(),l=D(e)[0]-n.top+f[0].offsetTop,d=D(e)[1]-n.left+f[0].offsetLeft;l>0&&l<h.height()&&d>0&&d<h.width()?c.step&&a("off",null,"stepped"):("x"!==s.axis&&r.overflowed[0]&&(0>l?a("on",38):l>h.height()&&a("on",40)),"y"!==s.axis&&r.overflowed[1]&&(0>d?a("on",37):d>h.width()&&a("on",39)))}}).bind("mouseup."+u+" dragend."+u,function(){t||(i&&(i=0,a("off",null)),d=!1)})},L=function(){function t(t,n){if(Q(o),!z(o,t.target)){var l="auto"!==i.mouseWheel.deltaFactor?parseInt(i.mouseWheel.deltaFactor):s&&t.deltaFactor<100?100:t.deltaFactor||100,c=i.scrollInertia;if("x"===i.axis||"x"===i.mouseWheel.axis)var u="x",f=[Math.round(l*a.scrollRatio.x),parseInt(i.mouseWheel.scrollAmount)],h="auto"!==i.mouseWheel.scrollAmount?f[1]:f[0]>=r.width()?.9*r.width():f[0],m=Math.abs(e("#mCSB_"+a.idx+"_container")[0].offsetLeft),p=d[1][0].offsetLeft,v=d[1].parent().width()-d[1].width(),g="y"===i.mouseWheel.axis?t.deltaY||n:t.deltaX;else var u="y",f=[Math.round(l*a.scrollRatio.y),parseInt(i.mouseWheel.scrollAmount)],h="auto"!==i.mouseWheel.scrollAmount?f[1]:f[0]>=r.height()?.9*r.height():f[0],m=Math.abs(e("#mCSB_"+a.idx+"_container")[0].offsetTop),p=d[0][0].offsetTop,v=d[0].parent().height()-d[0].height(),g=t.deltaY||n;"y"===u&&!a.overflowed[0]||"x"===u&&!a.overflowed[1]||((i.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&&(g=-g),i.mouseWheel.normalizeDelta&&(g=0>g?-1:1),(g>0&&0!==p||0>g&&p!==v||i.mouseWheel.preventDefault)&&(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor<5&&!i.mouseWheel.normalizeDelta&&(h=t.deltaFactor,c=17),Z(o,(m-g*h).toString(),{dir:u,dur:c}))}}if(e(this).data(n)){var o=e(this),a=o.data(n),i=a.opt,l=n+"_"+a.idx,r=e("#mCSB_"+a.idx),d=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")],c=e("#mCSB_"+a.idx+"_container").find("iframe");c.length&&c.each(function(){e(this).bind("load",function(){A(this)&&e(this.contentDocument||this.contentWindow.document).bind("mousewheel."+l,function(e,o){t(e,o)})})}),r.bind("mousewheel."+l,function(e,o){t(e,o)})}},R=new Object,A=function(t){var o=!1,n=!1,a=null;if(void 0===t?n="#empty":void 0!==e(t).attr("id")&&(n=e(t).attr("id")),n!==!1&&void 0!==R[n])return R[n];if(t){try{var i=t.contentDocument||t.contentWindow.document;a=i.body.innerHTML}catch(l){}o=null!==a}else{try{var i=top.document;a=i.body.innerHTML}catch(l){}o=null!==a}return n!==!1&&(R[n]=o),o},W=function(e){var t=this.find("iframe");if(t.length){var o=e?"auto":"none";t.css("pointer-events",o)}},z=function(t,o){var a=o.nodeName.toLowerCase(),i=t.data(n).opt.mouseWheel.disableOver,l=["select","textarea"];return e.inArray(a,i)>-1&&!(e.inArray(a,l)>-1&&!e(o).is(":focus"))},H=function(){var t,o=e(this),a=o.data(n),i=n+"_"+a.idx,l=e("#mCSB_"+a.idx+"_container"),r=l.parent(),s=e(".mCSB_"+a.idx+"_scrollbar ."+c[12]);s.bind("mousedown."+i+" touchstart."+i+" pointerdown."+i+" MSPointerDown."+i,function(o){d=!0,e(o.target).hasClass("mCSB_dragger")||(t=1)}).bind("touchend."+i+" pointerup."+i+" MSPointerUp."+i,function(){d=!1}).bind("click."+i,function(n){if(t&&(t=0,e(n.target).hasClass(c[12])||e(n.target).hasClass("mCSB_draggerRail"))){Q(o);var i=e(this),s=i.find(".mCSB_dragger");if(i.parent(".mCSB_scrollTools_horizontal").length>0){if(!a.overflowed[1])return;var d="x",u=n.pageX>s.offset().left?-1:1,f=Math.abs(l[0].offsetLeft)-u*(.9*r.width())}else{if(!a.overflowed[0])return;var d="y",u=n.pageY>s.offset().top?-1:1,f=Math.abs(l[0].offsetTop)-u*(.9*r.height())}Z(o,f.toString(),{dir:d,scrollEasing:"mcsEaseInOut"})}})},P=function(){var t=e(this),o=t.data(n),a=o.opt,i=n+"_"+o.idx,l=e("#mCSB_"+o.idx+"_container"),r=l.parent();l.bind("focusin."+i,function(){var o=e(document.activeElement),n=l.find(".mCustomScrollBox").length,i=0;o.is(a.advanced.autoScrollOnFocus)&&(Q(t),clearTimeout(t[0]._focusTimeout),t[0]._focusTimer=n?(i+17)*n:0,t[0]._focusTimeout=setTimeout(function(){var e=[ne(o)[0],ne(o)[1]],n=[l[0].offsetTop,l[0].offsetLeft],s=[n[0]+e[0]>=0&&n[0]+e[0]<r.height()-o.outerHeight(!1),n[1]+e[1]>=0&&n[0]+e[1]<r.width()-o.outerWidth(!1)],d="yx"!==a.axis||s[0]||s[1]?"all":"none";"x"===a.axis||s[0]||Z(t,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:d,dur:i}),"y"===a.axis||s[1]||Z(t,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:d,dur:i})},t[0]._focusTimer))})},U=function(){var t=e(this),o=t.data(n),a=n+"_"+o.idx,i=e("#mCSB_"+o.idx+"_container").parent();i.bind("scroll."+a,function(){0===i.scrollTop()&&0===i.scrollLeft()||e(".mCSB_"+o.idx+"_scrollbar").css("visibility","hidden")})},X=function(){var t=e(this),o=t.data(n),a=o.opt,i=o.sequential,l=n+"_"+o.idx,r=".mCSB_"+o.idx+"_scrollbar",s=e(r+">a");s.bind("contextmenu."+l,function(e){e.preventDefault()}).bind("mousedown."+l+" touchstart."+l+" pointerdown."+l+" MSPointerDown."+l+" mouseup."+l+" touchend."+l+" pointerup."+l+" MSPointerUp."+l+" mouseout."+l+" pointerout."+l+" MSPointerOut."+l+" click."+l,function(n){function l(e,o){i.scrollAmount=a.scrollButtons.scrollAmount,j(t,e,o)}if(n.preventDefault(),ee(n)){var r=e(this).attr("class");switch(i.type=a.scrollButtons.scrollType,n.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===i.type)return;d=!0,o.tweenRunning=!1,l("on",r);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===i.type)return;d=!1,i.dir&&l("off",r);break;case"click":if("stepped"!==i.type||o.tweenRunning)return;l("on",r)}}})},Y=function(){function t(t){function n(e,t){l.type=i.keyboard.scrollType,l.scrollAmount=i.keyboard.scrollAmount,"stepped"===l.type&&a.tweenRunning||j(o,e,t)}switch(t.type){case"blur": 2a.tweenRunning&&l.dir&&n("off",null);break;case"keydown":case"keyup":var r=t.keyCode?t.keyCode:t.which,s="on";if("x"!==i.axis&&(38===r||40===r)||"y"!==i.axis&&(37===r||39===r)){if((38===r||40===r)&&!a.overflowed[0]||(37===r||39===r)&&!a.overflowed[1])return;"keyup"===t.type&&(s="off"),e(document.activeElement).is(u)||(t.preventDefault(),t.stopImmediatePropagation(),n(s,r))}else if(33===r||34===r){if((a.overflowed[0]||a.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type){Q(o);var f=34===r?-1:1;if("x"===i.axis||"yx"===i.axis&&a.overflowed[1]&&!a.overflowed[0])var h="x",m=Math.abs(d[0].offsetLeft)-f*(.9*c.width());else var h="y",m=Math.abs(d[0].offsetTop)-f*(.9*c.height());Z(o,m.toString(),{dir:h,scrollEasing:"mcsEaseInOut"})}}else if((35===r||36===r)&&!e(document.activeElement).is(u)&&((a.overflowed[0]||a.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type)){if("x"===i.axis||"yx"===i.axis&&a.overflowed[1]&&!a.overflowed[0])var h="x",m=35===r?Math.abs(c.width()-d.outerWidth(!1)):0;else var h="y",m=35===r?Math.abs(c.height()-d.outerHeight(!1)):0;Z(o,m.toString(),{dir:h,scrollEasing:"mcsEaseInOut"})}}}var o=e(this),a=o.data(n),i=a.opt,l=a.sequential,r=n+"_"+a.idx,s=e("#mCSB_"+a.idx),d=e("#mCSB_"+a.idx+"_container"),c=d.parent(),u="input,textarea,select,datalist,keygen,[contenteditable='true']",f=d.find("iframe"),h=["blur."+r+" keydown."+r+" keyup."+r];f.length&&f.each(function(){e(this).bind("load",function(){A(this)&&e(this.contentDocument||this.contentWindow.document).bind(h[0],function(e){t(e)})})}),s.attr("tabindex","0").bind(h[0],function(e){t(e)})},j=function(t,o,a,i,l){function r(e){u.snapAmount&&(f.scrollAmount=u.snapAmount instanceof Array?"x"===f.dir[0]?u.snapAmount[1]:u.snapAmount[0]:u.snapAmount);var o="stepped"!==f.type,n=l?l:e?o?p/1.5:v:1e3/60,a=e?o?7.5:40:2.5,s=[Math.abs(h[0].offsetTop),Math.abs(h[0].offsetLeft)],c=[d.scrollRatio.y>10?10:d.scrollRatio.y,d.scrollRatio.x>10?10:d.scrollRatio.x],m="x"===f.dir[0]?s[1]+f.dir[1]*(c[1]*a):s[0]+f.dir[1]*(c[0]*a),g="x"===f.dir[0]?s[1]+f.dir[1]*parseInt(f.scrollAmount):s[0]+f.dir[1]*parseInt(f.scrollAmount),_="auto"!==f.scrollAmount?g:m,x=i?i:e?o?"mcsLinearOut":"mcsEaseInOut":"mcsLinear",w=!!e;return e&&17>n&&(_="x"===f.dir[0]?s[1]:s[0]),Z(t,_.toString(),{dir:f.dir[0],scrollEasing:x,dur:n,onComplete:w}),e?void(f.dir=!1):(clearTimeout(f.step),void(f.step=setTimeout(function(){r()},n)))}function s(){clearTimeout(f.step),$(f,"step"),Q(t)}var d=t.data(n),u=d.opt,f=d.sequential,h=e("#mCSB_"+d.idx+"_container"),m="stepped"===f.type,p=u.scrollInertia<26?26:u.scrollInertia,v=u.scrollInertia<1?17:u.scrollInertia;switch(o){case"on":if(f.dir=[a===c[16]||a===c[15]||39===a||37===a?"x":"y",a===c[13]||a===c[15]||38===a||37===a?-1:1],Q(t),oe(a)&&"stepped"===f.type)return;r(m);break;case"off":s(),(m||d.tweenRunning&&f.dir)&&r(!0)}},F=function(t){var o=e(this).data(n).opt,a=[];return"function"==typeof t&&(t=t()),t instanceof Array?a=t.length>1?[t[0],t[1]]:"x"===o.axis?[null,t[0]]:[t[0],null]:(a[0]=t.y?t.y:t.x||"x"===o.axis?null:t,a[1]=t.x?t.x:t.y||"y"===o.axis?null:t),"function"==typeof a[0]&&(a[0]=a[0]()),"function"==typeof a[1]&&(a[1]=a[1]()),a},q=function(t,o){if(null!=t&&"undefined"!=typeof t){var a=e(this),i=a.data(n),l=i.opt,r=e("#mCSB_"+i.idx+"_container"),s=r.parent(),d=typeof t;o||(o="x"===l.axis?"x":"y");var c="x"===o?r.outerWidth(!1)-s.width():r.outerHeight(!1)-s.height(),f="x"===o?r[0].offsetLeft:r[0].offsetTop,h="x"===o?"left":"top";switch(d){case"function":return t();case"object":var m=t.jquery?t:e(t);if(!m.length)return;return"x"===o?ne(m)[1]:ne(m)[0];case"string":case"number":if(oe(t))return Math.abs(t);if(-1!==t.indexOf("%"))return Math.abs(c*parseInt(t)/100);if(-1!==t.indexOf("-="))return Math.abs(f-parseInt(t.split("-=")[1]));if(-1!==t.indexOf("+=")){var p=f+parseInt(t.split("+=")[1]);return p>=0?0:Math.abs(p)}if(-1!==t.indexOf("px")&&oe(t.split("px")[0]))return Math.abs(t.split("px")[0]);if("top"===t||"left"===t)return 0;if("bottom"===t)return Math.abs(s.height()-r.outerHeight(!1));if("right"===t)return Math.abs(s.width()-r.outerWidth(!1));if("first"===t||"last"===t){var m=r.find(":"+t);return"x"===o?ne(m)[1]:ne(m)[0]}return e(t).length?"x"===o?ne(e(t))[1]:ne(e(t))[0]:(r.css(h,t),void u.update.call(null,a[0]))}}},N=function(t){function o(){return clearTimeout(f[0].autoUpdate),0===r.parents("html").length?void(r=null):void(f[0].autoUpdate=setTimeout(function(){return d.advanced.updateOnSelectorChange&&(s.poll.change.n=i(),s.poll.change.n!==s.poll.change.o)?(s.poll.change.o=s.poll.change.n,void l(3)):d.advanced.updateOnContentResize&&(s.poll.size.n=r[0].scrollHeight+r[0].scrollWidth+f[0].offsetHeight+r[0].offsetHeight+r[0].offsetWidth,s.poll.size.n!==s.poll.size.o)?(s.poll.size.o=s.poll.size.n,void l(1)):!d.advanced.updateOnImageLoad||"auto"===d.advanced.updateOnImageLoad&&"y"===d.axis||(s.poll.img.n=f.find("img").length,s.poll.img.n===s.poll.img.o)?void((d.advanced.updateOnSelectorChange||d.advanced.updateOnContentResize||d.advanced.updateOnImageLoad)&&o()):(s.poll.img.o=s.poll.img.n,void f.find("img").each(function(){a(this)}))},d.advanced.autoUpdateTimeout))}function a(t){function o(e,t){return function(){return t.apply(e,arguments)}}function n(){this.onload=null,e(t).addClass(c[2]),l(2)}if(e(t).hasClass(c[2]))return void l();var a=new Image;a.onload=o(a,n),a.src=t.src}function i(){d.advanced.updateOnSelectorChange===!0&&(d.advanced.updateOnSelectorChange="*");var e=0,t=f.find(d.advanced.updateOnSelectorChange);return d.advanced.updateOnSelectorChange&&t.length>0&&t.each(function(){e+=this.offsetHeight+this.offsetWidth}),e}function l(e){clearTimeout(f[0].autoUpdate),u.update.call(null,r[0],e)}var r=e(this),s=r.data(n),d=s.opt,f=e("#mCSB_"+s.idx+"_container");return t?(clearTimeout(f[0].autoUpdate),void $(f[0],"autoUpdate")):void o()},V=function(e,t,o){return Math.round(e/t)*t-o},Q=function(t){var o=t.data(n),a=e("#mCSB_"+o.idx+"_container,#mCSB_"+o.idx+"_container_wrapper,#mCSB_"+o.idx+"_dragger_vertical,#mCSB_"+o.idx+"_dragger_horizontal");a.each(function(){K.call(this)})},Z=function(t,o,a){function i(e){return s&&d.callbacks[e]&&"function"==typeof d.callbacks[e]}function l(){return[d.callbacks.alwaysTriggerOffsets||w>=S[0]+y,d.callbacks.alwaysTriggerOffsets||-B>=w]}function r(){var e=[h[0].offsetTop,h[0].offsetLeft],o=[_[0].offsetTop,_[0].offsetLeft],n=[h.outerHeight(!1),h.outerWidth(!1)],i=[f.height(),f.width()];t[0].mcs={content:h,top:e[0],left:e[1],draggerTop:o[0],draggerLeft:o[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(n[0])-i[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(n[1])-i[1])),direction:a.dir}}var s=t.data(n),d=s.opt,c={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:d.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},a=e.extend(c,a),u=[a.dur,a.drag?0:a.dur],f=e("#mCSB_"+s.idx),h=e("#mCSB_"+s.idx+"_container"),m=h.parent(),p=d.callbacks.onTotalScrollOffset?F.call(t,d.callbacks.onTotalScrollOffset):[0,0],v=d.callbacks.onTotalScrollBackOffset?F.call(t,d.callbacks.onTotalScrollBackOffset):[0,0];if(s.trigger=a.trigger,0===m.scrollTop()&&0===m.scrollLeft()||(e(".mCSB_"+s.idx+"_scrollbar").css("visibility","visible"),m.scrollTop(0).scrollLeft(0)),"_resetY"!==o||s.contentReset.y||(i("onOverflowYNone")&&d.callbacks.onOverflowYNone.call(t[0]),s.contentReset.y=1),"_resetX"!==o||s.contentReset.x||(i("onOverflowXNone")&&d.callbacks.onOverflowXNone.call(t[0]),s.contentReset.x=1),"_resetY"!==o&&"_resetX"!==o){if(!s.contentReset.y&&t[0].mcs||!s.overflowed[0]||(i("onOverflowY")&&d.callbacks.onOverflowY.call(t[0]),s.contentReset.x=null),!s.contentReset.x&&t[0].mcs||!s.overflowed[1]||(i("onOverflowX")&&d.callbacks.onOverflowX.call(t[0]),s.contentReset.x=null),d.snapAmount){var g=d.snapAmount instanceof Array?"x"===a.dir?d.snapAmount[1]:d.snapAmount[0]:d.snapAmount;o=V(o,g,d.snapOffset)}switch(a.dir){case"x":var _=e("#mCSB_"+s.idx+"_dragger_horizontal"),x="left",w=h[0].offsetLeft,S=[f.width()-h.outerWidth(!1),_.parent().width()-_.width()],b=[o,0===o?0:o/s.scrollRatio.x],y=p[1],B=v[1],T=y>0?y/s.scrollRatio.x:0,M=B>0?B/s.scrollRatio.x:0;break;case"y":var _=e("#mCSB_"+s.idx+"_dragger_vertical"),x="top",w=h[0].offsetTop,S=[f.height()-h.outerHeight(!1),_.parent().height()-_.height()],b=[o,0===o?0:o/s.scrollRatio.y],y=p[0],B=v[0],T=y>0?y/s.scrollRatio.y:0,M=B>0?B/s.scrollRatio.y:0}b[1]<0||0===b[0]&&0===b[1]?b=[0,0]:b[1]>=S[1]?b=[S[0],S[1]]:b[0]=-b[0],t[0].mcs||(r(),i("onInit")&&d.callbacks.onInit.call(t[0])),clearTimeout(h[0].onCompleteTimeout),G(_[0],x,Math.round(b[1]),u[1],a.scrollEasing),!s.tweenRunning&&(0===w&&b[0]>=0||w===S[0]&&b[0]<=S[0])||G(h[0],x,Math.round(b[0]),u[0],a.scrollEasing,a.overwrite,{onStart:function(){a.callbacks&&a.onStart&&!s.tweenRunning&&(i("onScrollStart")&&(r(),d.callbacks.onScrollStart.call(t[0])),s.tweenRunning=!0,C(_),s.cbOffsets=l())},onUpdate:function(){a.callbacks&&a.onUpdate&&i("whileScrolling")&&(r(),d.callbacks.whileScrolling.call(t[0]))},onComplete:function(){if(a.callbacks&&a.onComplete){"yx"===d.axis&&clearTimeout(h[0].onCompleteTimeout);var e=h[0].idleTimer||0;h[0].onCompleteTimeout=setTimeout(function(){i("onScroll")&&(r(),d.callbacks.onScroll.call(t[0])),i("onTotalScroll")&&b[1]>=S[1]-T&&s.cbOffsets[0]&&(r(),d.callbacks.onTotalScroll.call(t[0])),i("onTotalScrollBack")&&b[1]<=M&&s.cbOffsets[1]&&(r(),d.callbacks.onTotalScrollBack.call(t[0])),s.tweenRunning=!1,h[0].idleTimer=0,C(_,"hide")},e)}}})}},G=function(e,t,o,n,a,i,l){function r(){S.stop||(_||m.call(),_=J()-g,s(),_>=S.time&&(S.time=_>S.time?_+f-(_-S.time):_+f-1,S.time<_+1&&(S.time=_+1)),S.time<n?S.id=h(r):v.call())}function s(){n>0?(S.currVal=u(S.time,x,b,n,a),w[t]=Math.round(S.currVal)+"px"):w[t]=o+"px",p.call()}function d(){f=1e3/60,S.time=_+f,h=window.requestAnimationFrame?window.requestAnimationFrame:function(e){return s(),setTimeout(e,.01)},S.id=h(r)}function c(){null!=S.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(S.id):clearTimeout(S.id),S.id=null)}function u(e,t,o,n,a){switch(a){case"linear":case"mcsLinear":return o*e/n+t;case"mcsLinearOut":return e/=n,e--,o*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return e/=n/2,1>e?o/2*e*e+t:(e--,-o/2*(e*(e-2)-1)+t);case"easeInOutStrong":return e/=n/2,1>e?o/2*Math.pow(2,10*(e-1))+t:(e--,o/2*(-Math.pow(2,-10*e)+2)+t);case"easeInOut":case"mcsEaseInOut":return e/=n/2,1>e?o/2*e*e*e+t:(e-=2,o/2*(e*e*e+2)+t);case"easeOutSmooth":return e/=n,e--,-o*(e*e*e*e-1)+t;case"easeOutStrong":return o*(-Math.pow(2,-10*e/n)+1)+t;case"easeOut":case"mcsEaseOut":default:var i=(e/=n)*e,l=i*e;return t+o*(.499999999999997*l*i+-2.5*i*i+5.5*l+-6.5*i+4*e)}}e._mTween||(e._mTween={top:{},left:{}});var f,h,l=l||{},m=l.onStart||function(){},p=l.onUpdate||function(){},v=l.onComplete||function(){},g=J(),_=0,x=e.offsetTop,w=e.style,S=e._mTween[t];"left"===t&&(x=e.offsetLeft);var b=o-x;S.stop=0,"none"!==i&&c(),d()},J=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},K=function(){var e=this;e._mTween||(e._mTween={top:{},left:{}});for(var t=["top","left"],o=0;o<t.length;o++){var n=t[o];e._mTween[n].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(e._mTween[n].id):clearTimeout(e._mTween[n].id),e._mTween[n].id=null,e._mTween[n].stop=1)}},$=function(e,t){try{delete e[t]}catch(o){e[t]=null}},ee=function(e){return!(e.which&&1!==e.which)},te=function(e){var t=e.originalEvent.pointerType;return!(t&&"touch"!==t&&2!==t)},oe=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},ne=function(e){var t=e.parents(".mCSB_container");return[e.offset().top-t.offset().top,e.offset().left-t.offset().left]},ae=function(){function e(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}var t=e();return!!t&&document[t]};e.fn[o]=function(t){return u[t]?u[t].apply(this,Array.prototype.slice.call(arguments,1
2)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):u.init.apply(this,arguments)},e[o]=function(t){return u[t]?u[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):u.init.apply(this,arguments)},e[o].defaults=i,window[o]=!0,e(window).bind("load",function(){e(a)[o](),e.extend(e.expr[":"],{mcsInView:e.expr[":"].mcsInView||function(t){var o,n,a=e(t),i=a.parents(".mCSB_container");if(i.length)return o=i.parent(),n=[i[0].offsetTop,i[0].offsetLeft],n[0]+ne(a)[0]>=0&&n[0]+ne(a)[0]<o.height()-a.outerHeight(!1)&&n[1]+ne(a)[1]>=0&&n[1]+ne(a)[1]<o.width()-a.outerWidth(!1)},mcsInSight:e.expr[":"].mcsInSight||function(t,o,n){var a,i,l,r,s=e(t),d=s.parents(".mCSB_container"),c="exact"===n[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(d.length)return a=[s.outerHeight(!1),s.outerWidth(!1)],l=[d[0].offsetTop+ne(s)[0],d[0].offsetLeft+ne(s)[1]],i=[d.parent()[0].offsetHeight,d.parent()[0].offsetWidth],r=[a[0]<i[0]?c[0]:c[1],a[1]<i[1]?c[0]:c[1]],l[0]-i[0]*r[0][0]<0&&l[0]+a[0]-i[0]*r[0][1]>=0&&l[1]-i[1]*r[1][0]<0&&l[1]+a[1]-i[1]*r[1][1]>=0},mcsOverflow:e.expr[":"].mcsOverflow||function(t){var o=e(t).data(n);if(o)return o.overflowed[0]||o.overflowed[1]}})})})}),function(e){e.eonetMedia=function(){var t=this,o=e(".eo_field_upload_wrapper");t.eoMediaUploader=function(e){"use strict";if("undefined"!=typeof t.currentUploader){var o;if(void 0!==o)return void o.open();o=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",multiple:!1}),o.on("insert",function(){var n=o.state().get("selection").first().toJSON();0!=t.currentUploader.find(".eo_field_upload_preview").length&&t.currentUploader.find(".eo_field_upload_preview").remove();var a='<div class="eo_field_upload_preview"> <div class="eo_field_upload_single_file"> <a href="javascript:void(0);" class="eo_field_upload_single_delete"><i class="fa fa-times"></i></a> <img src="'+n.url+'"> </div> </div>';t.currentUploader.find("#"+e).val(n.id),t.currentUploader.prepend(a),t.eoMediaDelete()}),o.open()}},t.eoMediaDelete=function(){"undefined"!=typeof t.currentUploader&&t.currentUploader.find(".eo_field_upload_single_delete").on("click",function(e){e.preventDefault(),t.currentUploader.find(".eo_field_upload_preview").fadeOut(),setTimeout(function(){t.currentUploader.find(".eo_field_upload_preview").remove()},500),t.currentUploader.find('input[type="hidden"]').val("")})},t.init=function(){t.eoMediaDelete(),o.find(".eo_btn_upload_wp").on("click",function(o){o.preventDefault(),t.eoMediaUploader(e(this).data("eo-name")),t.currentUploader=e(this).closest(".eo_field_upload_wrapper")})},t.init()},e(document).ready(function(){e.eonetMedia()}),e.eonetTags=function(){var t=this,o=e(".eo_field_tags_wrapper"),n=o.data("eo-input-name"),a=o.data("eo-data"),i=o.find("input.eo_field_tags_typer");t.eoTags=[],t.eoTagsAdd=function(o){var a='<li class="eo_single_tag"> <input type="hidden" name="eo_field_'+n+'[]" value="'+o+'">'+o+'<span class="eo_single_tag_close"><i class="fa fa-times"></i></span></li>';e(a).insertBefore(i),t.eoTags.push(o),i.val("")},t.eoTagsDelete=function(e){var o=e.find("input").val(),n=t.eoTags.indexOf(o);n>-1&&t.eoTags.splice(n,1),e.fadeOut(),setTimeout(function(){e.remove()},400)},t.eoTagsValidate=function(e){return""!=e&&("undefined"!=typeof e&&t.eoTags.indexOf(e)==-1)},t.eoTagsFetcher=function(n){if("undefined"==typeof a||0==a.length||""==n)return void(o.find(".eo_autocomplete_list")&&o.find(".eo_autocomplete_list").remove());var l=[];if(a.forEach(function(e){e.toLowerCase().search(n.toLowerCase())!=-1&&l.push(e)}),0!=l.length){o.find(".eo_autocomplete_list")&&o.find(".eo_autocomplete_list").remove();var r="";l.forEach(function(e){t.eoTagsValidate(e)&&(r+='<li><a href="#">'+e+"</a></li>")});var s='<ul class="eo_autocomplete_list">'+r+"</ul>";i.parent().addClass("has-suggestions"),i.parent().append(s);var d=o.find(".eo_autocomplete_list");d.hide(),setTimeout(function(){d.fadeIn()},500),d.find("a").on("click",function(o){o.preventDefault(),t.eoTagsAdd(e(this).text()),d.fadeOut(),setTimeout(function(){d.remove()},400)})}},t.init=function(){e(document).keypress(function(e){13==e.which&&t.eoTagsValidate(i.val())&&t.eoTagsAdd(i.val())}),i.on("input",function(){t.eoTagsFetcher(i.val())}),o.on("click",".eo_single_tag_close",function(){var o=e(this).closest("li.eo_single_tag");t.eoTagsDelete(o)})},this.init()},e.eonetTags(),e.fn.eonetLink=function(t){var o,n,a,i,l=e.extend({color:"#FFF"},t);e(this).on("click",function(t){var r=e(this);e(this).addClass("eonet_btn_material"),setTimeout(function(){r.removeClass("eonet_btn_material")},650),0===e(this).find(".eonet_material").length&&e(this).prepend('<span class="eonet_material" style="background: '+l.color+';"></span>'),o=e(this).find(".eonet_material"),o.removeClass("is-animated"),o.height()||o.width()||(n=Math.max(e(this).outerWidth(),e(this).outerHeight()),o.css({height:n,width:n})),a=t.pageX-e(this).offset().left-o.width()/2,i=t.pageY-e(this).offset().top-o.height()/2,o.css({top:i+"px",left:a+"px"}).addClass("is-animated")})},e.eonetGetUrlParam=function(e){var t,o,n=decodeURIComponent(window.location.search.substring(1)),a=n.split("&");for(o=0;o<a.length;o++)if(t=a[o].split("="),t[0]===e)return void 0===t[1]||t[1]},e.eonetForms=function(){e(".eo_field_select_wrapper").on("click",function(){e(this).toggleClass("is-active"),e(".eo_field_select_wrapper select").on("change",function(){e(this).closest(".eo_field_select_wrapper").toggleClass("is-active")})})},e.eonetForms(),e.eonetNotification=function(t,o,n,a){var i=e("body"),l=this;a=a||5e3,l.add=function(){i.find(".eonet_alert")&&i.find(".eonet_alert").remove();var a='<div class="eonet_alert"> <div class="eonet_alert_wrapper"> <div class="eonet_alert_icon"><i class="fa '+t+'"></i></div> <div class="eonet_alert_content"> <h4>'+o+"</h4> <p>"+n+'</p> </div> <a href="javascript:void(0);" class="eonet_alert_close"><i class="fa fa-times"></i></a> </div> </div>';i.append(a),e(".eonet_alert").addClass("eonet_alert_on")},l.removeIt=function(){e(".eonet_alert").removeClass("eonet_alert_on"),setTimeout(function(){e(".eonet_alert").remove()},400)},l.init=function(){this.add(),e(".eonet_alert_close").on("click",function(){l.removeIt()}),setTimeout(function(){l.removeIt()},a)}
2,l.init()},e.eonetModal=function(){var t=e("body"),o=this;return o.create=function(){var e='<div class="eo_modal" id="eonet_modal" tabindex="-1"><div class="eo_modal_dialog" role="document"></div></div>';t.append(e);var o='<div class="eo_modal_backdrop"></div>';t.append(o)},o.show=function(){t.find("#eonet_modal")&&(t.find("#eonet_modal").addClass("is-in"),t.find(".eo_modal_backdrop").addClass("is-in"),t.addClass("eo_modal_open"))},o.kill=function(){t.find("#eonet_modal").removeClass("is-fired"),setTimeout(function(){t.find("#eonet_modal").remove(),t.removeClass("eo_modal_open"),t.find(".eo_modal_backdrop").remove()},300)},o.feed=function(n){var a=t.find("#eonet_modal");0!=a.length&&(a.find(".eo_modal_dialog").append(n),a.addClass("is-fired"),e(".eo_close, .eo_modal_backdrop").on("click",function(){setTimeout(function(){o.kill()},300)}))},this},e.fn.eonetLoader=function(t){var o=e.extend({colored:!1},t);if(o.colored){var n="is-colored";e(this).hasClass("has_loader_colored")||e(this).addClass("has_loader_colored")}else{var n="not-colored";e(this).hasClass("has_loader")||e(this).addClass("has_loader")}var a='<div class="eonet_loader '+n+'"><div class="loader-inner ball-pulse-sync"><div></div><div></div><div></div></div></div>';e(this).append(a)}}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.