|
|
|
!function(t,r){"function"==typeof define&&define.amd?define(["jquery"],function(n){return r(t,t.document,undefined,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=r(t,t.document,undefined,require("jquery")):r(t,t.document,undefined,t.jQuery)}("undefined"!=typeof window?window:this,function(bt,gt,wi,n){"use strict";var o,f,c,a,mt="object",yt="function",wt="array",xt="string",_t="boolean",St="number",t="null",zt="class",xi="style",Tt="id",_i="length",kt="prototype",Si="offsetHeight",zi="clientHeight",Ti="scrollHeight",ki="offsetWidth",Oi="clientWidth",Ci="scrollWidth",Ot="hasOwnProperty",Ai="getBoundingClientRect",Ct=(o={},f={},{e:c=["-webkit-","-moz-","-o-","-ms-"],o:a=["WebKit","Moz","O","MS"],u:function(n){var t=f[n];if(f[Ot](n))return t;for(var r,e,i,o=l(n),a=gt.createElement("div")[xi],u=0;u<c.length;u++)for(i=c[u].replace(/-/g,""),r=[n,c[u]+n,i+o,l(i)+o],e=0;e<r[_i];e++)if(a[r[e]]!==wi){t=r[e];break}return f[n]=t},s:function(n,t,r){var e=0,i=o[n];if(!o[Ot](n)){for(i=bt[n];e<a[_i];e++)i=i||bt[(t?a[e]:a[e].toLowerCase())+l(n)];o[n]=i}return i||r}});function l(n){return n.charAt(0).toUpperCase()+n.slice(1)}var Hi={wW:e(r,0,!0),wH:e(r,0),mO:e(Ct.s,0,"MutationObserver",!0),rO:e(Ct.s,0,"ResizeObserver",!0),rAF:e(Ct.s,0,"requestAnimationFrame",!1,function(n){return bt.setTimeout(n,1e3/60)}),cAF:e(Ct.s,0,"cancelAnimationFrame",!1,function(n){return bt.clearTimeout(n)}),now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",e="X",i=((n=n.originalEvent||n).target||n.srcElement||gt).ownerDocument||gt,o=i.documentElement,a=i.body;if(n.touches===wi)return!n[t+e]&&n[r+e]&&null!=n[r+e]?{x:n[r+e]+(o&&o.scrollLeft||a&&a.scrollLeft||0)-(o&&o.clientLeft||a&&a.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||a&&a.scrollTop||0)-(o&&o.clientTop||a&&a.clientTop||0)}:{x:n[t+e],y:n.pageY};var u=n.touches[0];return{x:u[t+e],y:u.pageY}},mBtn:function(n){var t=n.button;return n.which||t===wi?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[_i];r++)try{if(t[r]===n)return r}catch(e){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==wt},type:function(n){return n===wi?n+"":null===n?n+"":Object[kt].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:e};function r(n){return n?bt.innerWidth||gt.documentElement[Oi]||gt.body[Oi]:bt.innerHeight||gt.documentElement[zi]||gt.body[zi]}function e(n,t){if(typeof n!=yt)throw"Can't bind function!";function r(){}function e(){return n.apply(this instanceof r?this:t,o.concat(Array[i].slice.call(arguments)))}var i=kt,o=Array[i].slice.call(arguments,2);return n[i]&&(r[i]=n[i]),e[i]=new r,e}var i,u,Ni,s,v,L,R,d,h,p,b,g,m,Li,Ri=Math,Di=n,Ii=(n.easing,n),Mi=(i=[],u="__overlayScrollbars__",function(n,t){var r=arguments[_i];if(r<1)return i;if(t)n[u]=t,i.push(n);else{var e=Hi.inA(n,i);if(-1<e){if(!(1<r))return i[e][u];delete n[u],i.splice(e,1)}}}),y=(m=[],L=Hi.type,g={className:["os-theme-dark",[t,xt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:d=[!0,_t],clipAlways:d,normalizeRTL:d,paddingAbsolute:h=[!(R=[_t,St,xt,wt,mt,yt,t]),_t],autoUpdate:[null,[t,_t]],autoUpdateInterval:[33,St],nativeScrollbarsOverlaid:{showNativeScrollbars:h,initialize:d},overflowBehavior:{x:["scroll",b="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",b]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,St],dragScrolling:d,clickScrolling:h,touchSupport:d,snapHandle:h},textarea:{dynWidth:h,dynHeight:h,inheritedAttrs:[["style","class"],[xt,wt,t]]},callbacks:{onInitialized:p=[null,[t,yt]],onInitializationWithdrawn:p,onDestroyed:p,onScrollStart:p,onScroll:p,onScrollStop:p,onOverflowChanged:p,onOverflowAmountChanged:p,onDirectionChanged:p,onContentSizeChanged:p,onHostSizeChanged:p,onUpdated:p}},Li={v:w(),d:w(!0),p:function(n,t,C,r){var e
|