/*! * OverlayScrollbars * https://github.com/KingSora/OverlayScrollbars * * Version: 1.11.0 * * Copyright KingSora | Rene Haas. * https://github.com/KingSora * * Released under the MIT license. * Date: 29.02.2020 */ !function(n,t){"function"==typeof define&&define.amd?define(function(){return t(n,n.document,undefined)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(n,n.document,undefined):t(n,n.document,undefined)}("undefined"!=typeof window?window:this,function(gt,mt,bi){"use strict";var o,a,c,u,wt="object",yt="function",xt="array",_t="string",Ot="boolean",St="number",f="undefined",n="null",gi={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},zt=(o={},a={},{e:c=["-webkit-","-moz-","-o-","-ms-"],u:u=["WebKit","Moz","O","MS"],v:function(n){var t=a[n];if(a[gi.hOP](n))return t;for(var r,e,i,o=s(n),u=mt.createElement("div")[gi.s],f=0;f
'),o=S[0],e=xi(S.children("div").eq(0));O.append(S),S.hide().show();var t,r,u,f,a,c,s,l,v,h=z(o),d={x:0===h.x,y:0===h.y},p=(r=gt.navigator.userAgent,f="substring",a=r[u="indexOf"]("MSIE "),c=r[u]("Trident/"),s=r[u]("Edge/"),l=r[u]("rv:"),v=parseInt,0i&&(t.update("auto"),d[a]=new Date(o+=i)),n=wi.max(1,wi.min(n,i)));b=n}}else b=33};this.add=function(n){-1===e(n,h)&&(h.push(n),d.push(s()),0/g,(l?"-":Se)+Ce)[v](/px/g,Se)[v](/%/g," * "+c*(s&&Ht.n?-1:1)/100)[v](/vw/g," * "+se.w)[v](/vh/g," * "+se.h),ci(isNaN(t)?ci(h(t),!0).toFixed():t)):t)!==bi&&!isNaN(e)&&cn(e)==St){var d=y&&s,p=a*(d&&Ht.n?-1:1),b=d&&Ht.i,g=d&&Ht.n;switch(p=b?c-p:p,r){case"+=":i=p+e;break;case"-=":i=p-e;break;case"*=":i=p*e;break;case"/=":i=p/e;break;default:i=e}i=b?c-i:i,i*=g?-1:1,i=s&&Ht.n?wi.min(0,wi.max(c,i)):wi.max(0,wi.min(c,i))}return i===a?bi:i}function Q(n,t,r,e){var i,o,u=[r,r],f=cn(n);if(f==t)n=[n,n];else if(f==xt){if(2<(i=n[A])||i<1)n=u;else for(1===i&&(n[1]=r),c=0;c=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom||Kn(),(re||ee)&&ri(!1)}}function L(n){i=ir[I](),i=isNaN(i)?0:i,(Yt&&_&&!Ht.n||!Yt)&&(i=i<0?0:i),z=ct()[C],S=a(n),j=!c(u),di(M,Wn),di(r.an,o),di(r["in"],o),qn(D,[q,V,K],[h,E,Zn]),!R&&w||mi.prvD(n),mi.stpP(n)}Xn(r.an,U,function d(n){H(n)&&L(n)}),Xn(r.un,[U,X,Y],[function N(n){if(H(n)){var h,d=wi.round(se[r.j]),p=r.un.offset()[r.P],t=n.ctrlKey,b=n.shiftKey,g=b&&t,m=!0,w=function(n){j&&ii(_,n)},y=function(){w(),L(n)},x=function(){if(!Dt){var n=(S-p)*z,t=k.R,r=k.M,e=k.W,i=k.N,o=k.H,u=270*T,f=m?wi.max(400,u):u,a=i*((n-e/2)/(r-e)),c=Yt&&_&&(!Ht.i&&!Ht.n||Br),s=c?t"+(n||Se)+""}function vt(n,t){var r=cn(t)==Ot,e=!r&&t||nr;return v&&!e[gi.l]?null:v?e[r?"children":"find"](N+n.replace(/\s/g,N)).eq(0):xi(li(n))}function ht(n,t){for(var r,e=t.split(N),i=0;i