PageSourceSearch

https://osfsg.ru/local/templates/osfsg/js/overlayscrollbars-2.3.0.min.js?172450580931347

js osfsg.ru collected 2026-10-06 06:24:17 UTC 31,347 bytes, 11 lines download raw bytes

1/*!
2 * OverlayScrollbars
3 * Version: 2.3.0
4 *
5 * Copyright (c) Rene Haas | KingSora.
6 * https://github.com/KingSora
7 *
8 * Released under the MIT license.
9 */
10
11var OverlayScrollbarsGlobal=function(t){"use strict";function e(t,n){if(g(t))for(let e=0;e<t.length&&!1!==n(t[e],e,t);e++);else t&&e(Object.keys(t),(e=>n(t[e],e,t)));return t}function n(t,n){const r=h(n);if(w(n)||r){let e=r?"":{};if(t){const o=window.getComputedStyle(t,null);e=r?Et(t,o,n):n.reduce(((e,n)=>(e[n]=Et(t,o,n),e)),e)}return e}t&&e(L(n),(e=>Mt(t,e,n[e])))}const r=(t,e)=>{const{o:n,u:r,_:o}=t;let i,s=n;const l=(t,e)=>{const n=s,l=t,c=e||(r?!r(n,l):n!==l);return(c||o)&&(s=l,i=n),[s,c,i]};return[e?t=>l(e(s,i),t):l,t=>[s,!!t,i]]},o=()=>"undefined"!=typeof window,i=o()&&Node.ELEMENT_NODE,{toString:s,hasOwnProperty:l}=Object.prototype,c=t=>void 0===t,a=t=>null===t,d=t=>c(t)||a(t)?`${t}`:s.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),u=t=>"number"==typeof t,h=t=>"string"==typeof t,p=t=>"boolean"==typeof t,f=t=>"function"==typeof t,w=t=>Array.isArray(t),b=t=>"object"==typeof t&&!w(t)&&!a(t),g=t=>{const e=!!t&&t.length,n=u(e)&&e>-1&&e%1==0;return!(!(w(t)||!f(t)&&n)||e>0&&b(t)&&!(e-1 in t))},v=t=>{if(!t||!b(t)||"object"!==d(t))return!1;let e;const n="constructor",r=t[n],o=r&&r.prototype,i=l.call(t,n),s=o&&l.call(o,"isPrototypeOf");if(r&&!i&&!s)return!1;for(e in t);return c(e)||l.call(t,e)},y=t=>{const e=HTMLElement;return!!t&&(e?t instanceof e:t.nodeType===i)},m=t=>{const e=Element;return!!t&&(e?t instanceof e:t.nodeType===i)},x=(t,e,n)=>t.indexOf(e,n),$=(t,e,n)=>(n||h(e)||!g(e)?t.push(e):Array.prototype.push.apply(t,e),t),S=t=>{const n=Array.from,r=[];return n&&t?n(t):(t instanceof Set?t.forEach((t=>{$(r,t)})):e(t,(t=>{$(r,t)})),r)},O=t=>!!t&&0===t.length,E=(t,n,r)=>{e(t,(t=>t&&t.apply(void 0,n||[]))),!r&&(t.length=0)},M=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),L=t=>t?Object.keys(t):[],P=(t,n,r,o,i,s,l)=>{const c=[n,r,o,i,s,l];return"object"==typeof t&&!a(t)||f(t)||(t={}),e(c,(n=>{e(L(n),(e=>{const r=n[e];if(t===r)return!0;const o=w(r);if(r&&(v(r)||o)){const n=t[e];let i=n;o&&!w(n)?i=[]:o||v(n)||(i={}),t[e]=P(i,r)}else t[e]=r}))})),t},C=t=>{for(const e in t)return!1;return!0},z=(t,e,n,r)=>{if(c(r))return n?n[t]:e;n&&(h(r)||u(r))&&(n[t]=r)},A=(t,e,n)=>{if(c(n))return t?t.getAttribute(e):null;t&&t.setAttribute(e,n)},H=(t,e)=>{t&&t.removeAttribute(e)},T=(t,e,n,r)=>{if(n){const o=A(t,e)||"",i=new Set(o.split(" "));i[r?"add":"delete"](n);const s=S(i).join(" ").trim();A(t,e,s)}},R=(t,e)=>z("scrollLeft",0,t,e),k=(t,e)=>z("scrollTop",0,t,e),I=o()&&Element.prototype,D=(t,e)=>{const n=[],r=e?m(e)?e:null:document;return r?$(n,r.querySelectorAll(t)):n},B=(t,e)=>!!m(t)&&(I.matches||I.msMatchesSelector).call(t,e),F=t=>t?S(t.childNodes):[],X=t=>t?t.parentElement:null,Y=(t,e)=>{if(m(t)){const n=I.closest;if(n)return n.call(t,e);do{if(B(t,e))return t;t=X(t)}while(t)}return null},N=(t,n,r)=>{if(r&&t){let o,i=n;g(r)?(o=document.createDocumentFragment(),e(r,(t=>{t===i&&(i=t.previousSibling),o.appendChild(t)}))):o=r,n&&(i?i!==n&&(i=i.nextSibling):i=t.firstChild),t.insertBefore(o,i||null)}},j=(t,e)=>{N(t,null,e)},V=(t,e)=>{N(X(t),t&&t.nextSibling,e)},K=t=>{if(g(t))e(S(t),(t=>K(t)));else if(t){const e=X(t);e&&e.removeChild(t)}},U=t=>{const e=document.createElement("div");return t&&A(e,"class",t),e},_=t=>{const n=U();return n.innerHTML=t.trim(),e(F(n),(t=>K(t)))},q=t=>t.charAt(0).toUpperCase()+t.slice(1),J=["-webkit-","-moz-","-o-","-ms-"],W=["WebKit","Moz","O","MS","webkit","moz","o","ms"],G={},Z={},Q=t=>{let n=Z[t];if(M(Z,t))return n;const r=q(t),o=U().style;return e(J,(e=>{const i=e.replace(/-/g,""),s=[t,e+t,i+r,q(i)+r];return!(n=s.find((t=>void 0!==o[t])))})),Z[t]=n||""},tt=t=>{if(o()){let n=G[t]||window[t];return M(G,t)||(e(W,(e=>(n=n||window[e+q(t)],!n))),G[t]=n),n}},et=tt("MutationObserver"),nt=tt("IntersectionObserver"),rt=tt("ResizeObserver"),ot=tt("cancelAnimationFrame"),it=tt("requestAnimationFrame"),st=tt("ScrollTimeline"),lt=o()&&window.setTimeout,ct=o()&&window.clearTimeout,at=/[^\x20\t\r\n\f]+/g,dt=(t,e,n)=>{const r=t&&t.classList;let o,i=0,s=!1;if(r&&e&&h(e)){const t=e.match(at)||[];for(s=t.length>0;o=t[i++];)s=!!n(r,o)&&s}return s},ut=(t,e)=>{dt(t,e,((t,e)=>t.remove(e)))},ht=(t,e)=>
11(dt(t,e,((t,e)=>t.add(e))),ut.bind(0,t,e)),{max:pt}=Math,ft=()=>performance.now(),wt=(t,n,r,o)=>{if(t&&n){let i=!0;return e(r,(e=>{(o?o(t[e]):t[e])!==(o?o(n[e]):n[e])&&(i=!1)})),i}return!1},bt=(t,e)=>wt(t,e,["w","h"]),gt=(t,e)=>wt(t,e,["x","y"]),vt=(t,e)=>wt(t,e,["t","r","b","l"]),yt=(t,e,n)=>wt(t,e,["width","height"],n&&(t=>Math.round(t))),mt=()=>{},xt=t=>{let e;const n=t?lt:it,r=t?ct:ot;return[o=>{r(e),e=n(o,f(t)?t():t)},()=>r(e)]},$t=(t,e)=>{let n,r,o,i=mt;const{g:s,v:l,p:c}=e||{},a=function(e){i(),ct(n),n=r=void 0,i=mt,t.apply(this,e)},d=t=>c&&r?c(r,t):t,h=()=>{i!==mt&&a(d(o)||o)},p=function(){const t=S(arguments),e=f(s)?s():s,c=u(e)&&e>=0;if(c){const s=f(l)?l():l,c=u(s)&&s>=0,p=e>0?lt:it,w=e>0?ct:ot,b=d(t)||t,g=a.bind(0,b);i();const v=p(g,e);i=()=>w(v),c&&!n&&(n=lt(h,s)),r=o=b}else a(t)};return p.m=h,p},St={opacity:1,zIndex:1},Ot=(t,e)=>{const n=t||"",r=e?parseFloat(n):parseInt(n,10);return r==r?r:0},Et=(t,e,n)=>String((null!=e?e[n]||e.getPropertyValue(n):t.style[n])||""),Mt=(t,e,n)=>{try{const{style:r}=t;c(r[e])?r.setProperty(e,n):r[e]=((t,e)=>!St[t]&&u(e)?`${e}px`:e)(e,n)}catch(l){}},Lt=t=>"rtl"===n(t,"direction"),Pt=(t,e,r)=>{const o=e?`${e}-`:"",i=r?`-${r}`:"",s=`${o}top${i}`,l=`${o}right${i}`,c=`${o}bottom${i}`,a=`${o}left${i}`,d=n(t,[s,l,c,a]);return{t:Ot(d[s],!0),r:Ot(d[l],!0),b:Ot(d[c],!0),l:Ot(d[a],!0)}},Ct=(t,e)=>`translate${w(t)?`(${t[0]},${t[1]})`:`${e?"X":"Y"}(${t})`}`,{round:zt}=Math,At={w:0,h:0},Ht=t=>t?{w:t.offsetWidth,h:t.offsetHeight}:At,Tt=t=>t?{w:t.clientWidth,h:t.clientHeight}:At,Rt=t=>t?{w:t.scrollWidth,h:t.scrollHeight}:At,kt=t=>{const e=parseFloat(n(t,"height"))||0,r=parseFloat(n(t,"width"))||0;return{w:r-zt(r),h:e-zt(e)}},It=t=>t.getBoundingClientRect(),Dt=t=>!(!t||!t.height&&!t.width);let Bt;const Ft=t=>t.split(" "),Xt=(t,n,r,o)=>{e(Ft(n),(e=>{t.removeEventListener(e,r,o)}))},Yt=(t,n,r,o)=>{var i;const s=(()=>{if(c(Bt)){Bt=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Bt=!0}}))}catch(t){}}return Bt})(),l=null!=(i=s&&o&&o.S)?i:s,a=o&&o.$||!1,d=o&&o.C||!1,u=[],h=s?{passive:l,capture:a}:a;return e(Ft(n),(e=>{const n=d?o=>{t.removeEventListener(e,n,a),r&&r(o)}:r;$(u,Xt.bind(null,t,e,n,a)),t.addEventListener(e,n,h)})),E.bind(0,u)},Nt=t=>t.stopPropagation(),jt=t=>t.preventDefault(),Vt={x:0,y:0},Kt=t=>{const e=t?It(t):0;return e?{x:e.left+window.pageYOffset,y:e.top+window.pageXOffset}:Vt},Ut=(t,n)=>{e(w(n)?n:[n],t)},_t=t=>{const n=new Map,r=(t,e)=>{if(t){const r=n.get(t);Ut((t=>{r&&r[t?"delete":"clear"](t)}),e)}else n.forEach((t=>{t.clear()})),n.clear()},o=(t,i)=>{if(h(t)){const e=n.get(t)||new Set;return n.set(t,e),Ut((t=>{f(t)&&e.add(t)}),i),r.bind(0,t,i)}p(i)&&i&&r();const s=L(t),l=[];return e(s,(e=>{const n=t[e];n&&$(l,o(e,n))})),E.bind(0,l)};return o(t||{}),[o,r,(t,r)=>{const o=n.get(t);e(S(o),(t=>{r&&!O(r)?t.apply(0,r):t()}))}]},qt=t=>JSON.stringify(t,((t,e)=>{if(f(e))throw new Error;return e})),Jt={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Wt=(t,n)=>{const r={};return e(L(n).concat(L(t)),(e=>{const o=t[e],i=n[e];if(b(o)&&b(i))P(r[e]={},Wt(o,i)),C(r[e])&&delete r[e];else if(M(n,e)&&i!==o){let t=!0;if(w(o)||w(i))try{qt(o)===qt(i)&&(t=!1)}catch(W){}t&&(r[e]=i)}})),r},Gt=`data-overlayscrollbars`,Zt="os-environment",Qt=`${Zt}-flexbox-glue`,te=`${Qt}-max`,ee=`os-scrollbar-hidden`,ne=`${Gt}-initialize`,re=Gt,oe=`${re}-overflow-x`,ie=`${re}-overflow-y`,se="overflowVisible",le="scrollbarHidden",ce="scrollbarPressed",ae="updating",de=`${Gt}-viewport`,ue="arrange",he="scrollbarHidden",pe=se,fe=`${Gt}-padding`,we=pe,be=`${Gt}-content`,ge="os-size-observer",ve=`${ge}-appear`,ye=`${ge}-listener`,me=`${ye}-scroll`,xe=`${ye}-item`,$e=`${xe}-final`,Se="os-trinsic-observer",Oe="os-no-css-vars",Ee="os-theme-none",Me="os-scrollbar",Le=`${Me}-rtl`,Pe=`${Me}-horizontal`,Ce=`${Me}-vertical`,ze=`${Me}-track`,Ae=`${Me}-handle`,He=`${Me}-visible`,Te=`${Me}-cornerless`,Re=`${Me}-transitionless`,ke=`${Me}-interaction`,Ie=`${Me}-unusable`,De=`${Me}-auto-hide`,Be=`${De}-hidden`,Fe=`${Me}-wheel`,Xe=`${ze}-interactive`,Ye=`${Ae}-interactive`,Ne={},je=()=>Ne,Ve="__osOptionsValidationPlugin",Ke=3333333,Ue="scroll",_e="__osSizeObserverPlugin",qe=(()=>({[_e]:{O:(t,e,r)=>{const o=_(`<div class="${xe}" dir="ltr"><div class="${xe}"><div class="${$e}"></div></div><div class="${xe}"><div class="${$e}" style="width: 200%; height: 200%"></div></div></div>`);
11j(t,o),ht(t,me);const i=o[0],s=i.lastChild,l=i.firstChild,c=null==l?void 0:l.firstChild;let a,d=Ht(i),u=d,h=!1;const p=()=>{R(l,Ke),k(l,Ke),R(s,Ke),k(s,Ke)},f=t=>{a=0,h&&(d=u,e(!0===t))},w=t=>{u=Ht(i),h=!t||!bt(u,d),t?(Nt(t),h&&!a&&(ot(a),a=it(f))):f(!1===t),p()},b=$([],[Yt(l,Ue,w),Yt(s,Ue,w)]);return n(c,{width:Ke,height:Ke}),it(p),[r?w.bind(0,!1):p,b]}}}))();let Je=0;const{round:We,abs:Ge}=Math,Ze="__osScrollbarsHidingPlugin",Qe=(()=>({[Ze]:{T:t=>{const{A:e,I:n,H:r}=t,o=!(r||e||!n.x&&!n.y)&&document.createElement("style");return o&&(A(o,"id",`${de}-${ue}-${Je}`),Je++),o},L:(t,r,o,i,s,l,c)=>[(e,r,l,c)=>{if(t){const{M:t}=s(),{P:a,D:d}=e,{x:u,y:h}=d,{x:p,y:f}=a,w=t[c?"paddingRight":"paddingLeft"],b=t.paddingTop,g=r.w+l.w,v=r.h+l.h,y={w:f&&h?`${f+g-w}px`:"",h:p&&u?`${p+v-b}px`:""};if(i){const{sheet:t}=i;if(t){const{cssRules:e}=t;if(e){e.length||t.insertRule(`#${A(i,"id")} + [${de}~='${ue}']::before {}`,0);const n=e[0].style;n.width=y.w,n.height=y.h}}}else n(o,{"--os-vaw":y.w,"--os-vah":y.h})}return t},(i,a,d)=>{if(t){const u=d||l(i),{M:h}=s(),{D:p}=u,{x:f,y:w}=p,b={},g=t=>e(t.split(" "),(t=>{b[t]=h[t]}));f&&g("marginBottom paddingTop paddingBottom"),w&&g("marginLeft marginRight paddingLeft paddingRight");const v=n(o,L(b));return T(o,de,ue),r||(b.height=""),n(o,b),[()=>{c(u,a,t,v),n(o,v),T(o,de,ue,!0)},u]}return[mt]}],R:()=>{let t={w:0,h:0},e=0;return(n,r,o)=>{const i={w:window.innerWidth,h:window.innerHeight},s={w:i.w-t.w,h:i.h-t.h};if(0===s.w&&0===s.h)return;const l=Ge(s.w),c=Ge(s.h),a={w:Ge(We(i.w/(t.w/100))),h:Ge(We(i.h/(t.h/100)))},d=(()=>{const t=window.screen.deviceXDPI||0,e=window.screen.logicalXDPI||1;return window.devicePixelRatio||t/e})(),u=l>2&&c>2,h=!((t,e)=>{const n=Ge(t),r=Ge(e);return!(n===r||n+1===r||n-1===r)})(a.w,a.h);if(u&&h&&d!==e&&d>0){const[t,e]=r();P(n.k,t),e&&o()}t=i,e=d}}}}))(),tn="__osClickScrollPlugin",en=(()=>({[tn]:{O:(t,e,n,r,o)=>{let i=0,s=mt;const l=c=>{s=((t,e,n,r,o)=>{let i=0;const s=ft(),l=pt(0,133),c=n=>{const a=ft(),d=a-s>=l,u=n?1:1-(pt(0,s+l-a)/l||0),h=(e-t)*(f(o)?o(u,u*l,0,1,l):u)+t,p=d||1===u;r&&r(h,0,p),i=p?0:it((()=>c()))};return c(),t=>{ot(i),t&&c(t)}})(c,c+r*Math.sign(n),0,((n,c,a)=>{t(n);const d=e();if(a&&!(o>=d&&o<=d+r)){if(i)l(n);else{const t=setTimeout((()=>{l(n)}),222);s=()=>{clearTimeout(t)}}i++}}))};return l(0),()=>s()}}}))();let nn;const rn=(t,e,n,r)=>{j(t,e);const o=Tt(e),i=Ht(e),s=kt(n);return r&&K(e),{x:i.h-o.h+s.h,y:i.w-o.w+s.w}},on=(t,e)=>{const r="hidden";n(t,{overflowX:r,overflowY:r,direction:"rtl"}),R(t,0);const o=Kt(t),i=Kt(e);R(t,-999);const s=Kt(e);return{i:o.x===i.x,n:i.x!==s.x}},sn=(t,e)=>{const n=ht(t,Qt),r=It(t),o=It(e),i=yt(o,r,!0),s=ht(t,te),l=It(t),c=It(e),a=yt(c,l,!0);return n(),s(),i&&a},ln=()=>(nn||(nn=(()=>{const{body:t}=document,e=_(`<div class="${Zt}"><div></div></div>`)[0],o=e.firstChild,[i,,s]=_t(),[l,c]=r({o:rn(t,e,o),u:gt},rn.bind(0,t,e,o,!0)),[a]=c(),d=(t=>{let e=!1;const r=ht(t,ee);try{e="none"===n(t,Q("scrollbar-width"))||"none"===window.getComputedStyle(t,"::-webkit-scrollbar").getPropertyValue("display")}catch(o){}return r(),e})(e),u={x:0===a.x,y:0===a.y},h={elements:{host:null,padding:!d,viewport:t=>d&&t===t.ownerDocument.body&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=P({},Jt),f=P.bind(0,{},p),w=P.bind(0,{},h),b={k:a,I:u,A:d,H:"-1"===n(e,"zIndex"),B:!!st,V:on(e,o),Y:sn(e,o),j:i.bind(0,"z"),N:i.bind(0,"r"),q:w,G:t=>P(h,t)&&w(),F:f,X:t=>P(p,t)&&f(),U:P({},h),W:P({},p)},g=window.addEventListener,v=$t((t=>s(t?"z":"r")),{g:33,v:99});if(H(e,"style"),K(e),g("resize",v.bind(0,!1)),!(d||u.x&&u.y)){let t;g("resize",(()=>{const e=je()[Ze];t=t||e&&e.R(),t&&t(b,l,v.bind(0,!0))}))}return b})()),nn),cn=(t,e)=>f(e)?e.apply(0,t):e,an=(t,e,n,r)=>{const o=c(r)?n:r;return cn(t,o)||e.apply(0,t)},dn=(t,e,n,r)=>{const o=c(r)?n:r,i=cn(t,o);return!!i&&(y(i)?i:e.apply(0,t))},un=new WeakMap,hn=t=>un.get(t),pn=(t,e)=>t?e.split(".").reduce(((t,e)=>t&&M(t,e)?t[e]:void 0),t):void 0,fn=(t,e,n)=>r=>[pn(t,r),n||void 0!==pn(e,r)],wn=t=>{let e=t;return[()=>e,t=>{e=P({},e,t)}]},bn="tabindex",gn=U.bind(0,""),vn=t=>{j(X(t),F(t)),K(t)},yn=t=>{const e=ln(),{q:n,A:r}=e,o=je()[Ze],i=o&&o.T,{elements:s}
11=n(),{host:l,padding:c,viewport:a,content:d}=s,u=y(t),h=u?{}:t,{elements:p}=h,{host:f,padding:w,viewport:b,content:g}=p||{},v=u?t:h.target,m=B(v,"textarea"),S=v.ownerDocument,O=S.documentElement,M=v===S.body,P=S.defaultView,C=an.bind(0,[v]),z=dn.bind(0,[v]),R=cn.bind(0,[v]),k=C.bind(0,gn,a),I=z.bind(0,gn,d),D=k(b),Y=D===v,U=Y&&M,_=!Y&&I(g),q=!Y&&y(D)&&D===_,J=q&&!!R(d),W=J?k():D,G=J?_:I(),Z=U?O:q?W:D,Q=m?C(gn,l,f):v,tt=U?Z:Q,et=q?G:_,nt=S.activeElement,rt=!Y&&P.top===P&&nt===v,ot={Z:v,J:tt,K:Z,tt:!Y&&z(gn,c,w),nt:et,ot:!Y&&!r&&i&&i(e),st:U?O:Z,et:U?S:Z,ct:P,rt:S,lt:m,it:M,ut:u,ft:Y,dt:q,_t:(t,e)=>((t,e,n)=>{const r=A(t,e)||"";return new Set(r.split(" ")).has(n)})(Z,Y?re:de,Y?e:t),ht:(t,e,n)=>T(Z,Y?re:de,Y?e:t,n)},it=L(ot).reduce(((t,e)=>{const n=ot[e];return $(t,!(!n||!y(n)||X(n))&&n)}),[]),st=t=>t?x(it,t)>-1:null,{Z:lt,J:ct,tt:at,K:dt,nt:ut,ot:pt}=ot,ft=[()=>{H(ct,re),H(ct,ne),H(lt,ne),M&&(H(O,re),H(O,ne))}],wt=m&&st(ct);let bt=m?lt:F([ut,dt,at,ct,lt].find((t=>!1===st(t))));const gt=U?lt:ut||dt;return[ot,()=>{A(ct,re,Y?"viewport":"host"),A(at,fe,""),A(ut,be,""),Y||A(dt,de,"");const t=M&&!Y?ht(X(v),ee):mt;if(wt&&(V(lt,ct),$(ft,(()=>{V(ct,lt),K(ct)}))),j(gt,bt),j(ct,at),j(at||ct,!Y&&dt),j(dt,ut),$(ft,(()=>{t(),H(at,fe),H(ut,be),H(dt,oe),H(dt,ie),H(dt,de),st(ut)&&vn(ut),st(dt)&&vn(dt),st(at)&&vn(at)})),r&&!Y&&(T(dt,de,he,!0),$(ft,H.bind(0,dt,de))),pt&&(((t,e)=>{N(X(t),t,e)})(dt,pt),$(ft,K.bind(0,pt))),rt){const t=A(dt,bn);A(dt,bn,"-1"),dt.focus();const e=()=>t?A(dt,bn,t):H(dt,bn),n=Yt(S,"pointerdown keydown",(()=>{e(),n()}));$(ft,[e,n])}else nt&&nt.focus&&nt.focus();bt=0},E.bind(0,ft)]},mn=(t,e)=>{const{nt:r}=t,[o]=e;return t=>{const{Y:e}=ln(),{gt:i}=o(),{vt:s}=t,l=(r||!e)&&s;return l&&n(r,{height:i?"":"100%"}),{wt:l,bt:l}}},xn=(t,e)=>{const[o,i]=e,{J:s,tt:l,K:c,ft:a}=t,[d,u]=r({u:vt,o:Pt()},Pt.bind(0,s,"padding",""));return(t,e,r)=>{let[s,h]=u(r);const{A:p,Y:f}=ln(),{yt:w}=o(),{wt:b,bt:g,St:v}=t,[y,m]=e("paddingAbsolute");(b||h||!f&&g)&&([s,h]=d(r));const x=!a&&(m||v||h);if(x){const t=!y||!l&&!p,e=s.r+s.l,r=s.t+s.b,o={marginRight:t&&!w?-e:0,marginBottom:t?-r:0,marginLeft:t&&w?-e:0,top:t?-s.t:0,right:t?w?-s.r:"auto":0,left:t?w?"auto":-s.l:0,width:t?`calc(100% + ${e}px)`:""},a={paddingTop:t?s.t:0,paddingRight:t?s.r:0,paddingBottom:t?s.b:0,paddingLeft:t?s.l:0};n(l||c,o),n(c,a),i({tt:s,$t:!t,M:l?a:P({},o,a)})}return{xt:x}}},{max:$n}=Math,Sn=$n.bind(0,0),On="visible",En="hidden",Mn=42,Ln={u:bt,o:{w:0,h:0}},Pn={u:gt,o:{x:En,y:En}},Cn=t=>0===t.indexOf(On),zn=(t,e)=>{const[o,i]=e,{J:s,tt:l,K:c,ot:a,ft:d,ht:u,it:h,ct:p}=t,{k:f,Y:w,A:b,I:g}=ln(),v=je()[Ze],y=!d&&!b&&(g.x||g.y),m=h&&d,[x,$]=r(Ln,kt.bind(0,c)),[S,O]=r(Ln,Rt.bind(0,c)),[E,M]=r(Ln),[L,P]=r(Ln),[C]=r(Pn),z=(t,e)=>{if(n(c,{height:""}),e){const{$t:e,tt:r}=o(),{Ct:i,P:l}=t,a=kt(s),d=Tt(s),u="content-box"===n(c,"boxSizing"),h=e||u?r.b+r.t:0,p=!(g.x&&u);n(c,{height:d.h+a.h+(i.x&&p?l.x:0)-h})}},H=(t,e)=>{const r=b||t?0:Mn,o=(t,o,i)=>{const s=n(c,t),l="scroll"===(e?e[t]:s);return[s,l,l&&!b?o?r:i:0,o&&!!r]},[i,s,l,a]=o("overflowX",g.x,f.x),[d,u,h,p]=o("overflowY",g.y,f.y);return{Ot:{x:i,y:d},Ct:{x:s,y:u},P:{x:l,y:h},D:{x:a,y:p}}},R=(t,e,n,r)=>{const{P:i,D:s}=t,{x:l,y:c}=s,{x:a,y:d}=i,{M:u}=o(),h=e?"marginLeft":"marginRight",p=e?"paddingLeft":"paddingRight",f=u[h],w=u.marginBottom,b=u[p],g=u.paddingBottom;r.width=`calc(100% + ${d+-1*f}px)`,r[h]=-d+f,r.marginBottom=-a+w,n&&(r[p]=b+(c?d:0),r.paddingBottom=g+(l?a:0))},[k,I]=v?v.L(y,w,c,a,o,H,R):[()=>y,()=>[mt]];return(t,e,r)=>{const{wt:a,Tt:h,bt:f,xt:v,vt:y,St:D}=t,{gt:B,yt:F}=o(),[X,Y]=e("showNativeOverlaidScrollbars"),[N,j]=e("overflow"),V=X&&g.x&&g.y,K=!d&&!w&&(a||f||h||Y||y),U=Cn(N.x),_=Cn(N.y),q=U||_;let J,W=$(r),G=O(r),Z=M(r),Q=P(r);if(Y&&b&&u(he,le,!V),K&&(J=H(V),z(J,B)),a||v||f||D||Y){q&&u(pe,se,!1);const[t,e]=I(V,F,J),[n,o]=W=x(r),[i,s]=G=S(r),l=Tt(c);let a=i,d=l;t(),(s||o||Y)&&e&&!V&&k(e,i,n,F)&&(d=Tt(c),a=Rt(c));const h={w:Sn($n(i.w,a.w)+n.w),h:Sn($n(i.h,a.h)+n.h)},f={w:Sn((m?p.innerWidth:d.w+Sn(l.w-i.w))+n.w),h:Sn((m?p.innerHeight+n.h:d.h+Sn(l.h-i.h))+n.h)};Q=L(f),Z=E(((t,e)=>
11{const n=window.devicePixelRatio%1!=0?1:0,r={w:Sn(t.w-e.w),h:Sn(t.h-e.h)};return{w:r.w>n?r.w:0,h:r.h>n?r.h:0}})(h,f),r)}const[tt,et]=Q,[nt,rt]=Z,[ot,it]=G,[st,lt]=W,ct={x:nt.w>0,y:nt.h>0},at=U&&_&&(ct.x||ct.y)||U&&ct.x&&!ct.y||_&&ct.y&&!ct.x;if(v||D||lt||it||et||rt||j||Y||K){const t={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},e=((t,e,n,r)=>{const o=(t,e)=>{const n=Cn(t),r=e&&n&&t.replace(`${On}-`,"")||"";return[e&&!n?t:"",Cn(r)?"hidden":r]},[i,s]=o(n.x,e.x),[l,c]=o(n.y,e.y);return r.overflowX=s&&l?s:i,r.overflowY=c&&i?c:l,H(t,r)})(V,ct,N,t),r=k(e,ot,st,F);d||R(e,F,r,t),K&&z(e,B),d?(A(s,oe,t.overflowX),A(s,ie,t.overflowY)):n(c,t)}T(s,re,se,at),T(l,fe,we,at),d||T(c,de,pe,q);const[dt,ut]=C(H(V).Ot);return i({Ot:dt,zt:{x:tt.w,y:tt.h},Et:{x:nt.w,y:nt.h},At:ct}),{It:ut,Ht:et,Lt:rt}}},An=(t,n,r)=>{const o={},i=n||{};return e(L(t).concat(L(i)),(e=>{const n=t[e],s=i[e];o[e]=!!(r||n||s)})),o},Hn=(t,n,r,o)=>{let i=!1;const{Pt:s,Dt:l,Rt:c,kt:a,Bt:d,Vt:u}=o||{},p=$t((()=>{i&&r(!0)}),{g:33,v:99}),[f,w]=((t,n,r)=>{let o,i=!1;const s=s=>{if(r){const l=r.reduce(((e,n)=>{if(n){const[r,o]=n,i=o&&r&&(s?s(r):D(r,t));i&&i.length&&o&&h(o)&&$(e,[i,o.trim()],!0)}return e}),[]);e(l,(r=>e(r[0],(e=>{const s=r[1],l=o.get(e)||[];if(t.contains(e)){const t=Yt(e,s,(r=>{i?(t(),o.delete(e)):n(r)}));o.set(e,$(l,t))}else E(l),o.delete(e)}))))}};return r&&(o=new WeakMap,s()),[()=>{i=!0},s]})(t,p,c),b=l||[],g=(s||[]).concat(b),v=(i,s)=>{const l=d||mt,c=u||mt,p=new Set,f=new Set;let g=!1,v=!1;if(e(i,(r=>{const{attributeName:i,target:s,type:d,oldValue:u,addedNodes:w,removedNodes:y}=r,m="attributes"===d,$="childList"===d,S=t===s,O=m&&h(i)?A(s,i):0,E=0!==O&&u!==O,M=x(b,i)>-1&&E;if(n&&($||!S)){const n=!m,d=m&&E,h=d&&a&&B(s,a),f=(h?!l(s,i,u,O):n||d)&&!c(r,!!h,t,o);e(w,(t=>p.add(t))),e(y,(t=>p.add(t))),v=v||f}!n&&S&&E&&!l(s,i,u,O)&&(f.add(i),g=g||M)})),p.size>0&&w((t=>S(p).reduce(((e,n)=>($(e,D(t,n)),B(n,t)?$(e,n):e)),[]))),n)return!s&&v&&r(!1),[!1];if(f.size>0||g){const t=[S(f),g];return!s&&r.apply(0,t),t}},y=new et((t=>v(t)));return y.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:g,subtree:n,childList:n,characterData:n}),i=!0,[()=>{i&&(f(),y.disconnect(),i=!1)},()=>{if(i){p.m();const t=y.takeRecords();return!O(t)&&v(t,!0)}}]},Tn=3333333,Rn=(t,e,n)=>{const{Yt:o=!1,Mt:i=!1}=n||{},s=je()[_e],{V:l}=ln(),c=_(`<div class="${ge}"><div class="${ye}"></div></div>`)[0],a=c.firstChild,d=Lt.bind(0,t),[u]=r({o:void 0,_:!0,u:(t,e)=>!(!t||!Dt(t)&&Dt(e))}),h=t=>{const n=w(t)&&t.length>0&&b(t[0]),r=!n&&p(t[0]);let i=!1,s=!1,a=!0;if(n){const[e,,n]=u(t.pop().contentRect),r=Dt(e),o=Dt(n);i=!n&&!!o||!r,s=!o&&r,a=!i}else r?[,a]=t:s=!0===t;if(o&&a){const e=r?t[0]:Lt(c);R(c,e?l.n?-Tn:l.i?0:Tn:Tn),k(c,Tn)}i||e({wt:!r,jt:r?t:void 0,Mt:!!s})},f=[];let g=!!i&&h;return[()=>{E(f),K(c)},()=>{if(rt){const t=new rt(h);t.observe(a),$(f,(()=>{t.disconnect()}))}else if(s){const[t,e]=s.O(a,h,i);g=t,$(f,e)}if(o){const[t]=r({o:void 0},d);$(f,Yt(c,"scroll",(e=>{const n=t(),[r,o,i]=n;o&&(ut(a,"ltr rtl"),ht(a,r?"rtl":"ltr"),h([!!r,o,i])),Nt(e)})))}g&&(ht(c,ve),$(f,Yt(c,"animationstart",g,{C:!!rt}))),(rt||s)&&j(t,c)}]},kn=(t,e)=>{let n;const o=U(Se),i=[],[s]=r({o:!1}),l=(t,n)=>{if(t){const r=s((t=>0===t.h||t.isIntersecting||t.intersectionRatio>0)(t)),[,o]=r;if(o)return!n&&e(r),[r]}},c=(t,e)=>{if(t&&t.length>0)return l(t.pop(),e)};return[()=>{E(i),K(o)},()=>{if(nt)n=new nt((t=>c(t)),{root:t}),n.observe(o),$(i,(()=>{n.disconnect()}));else{const t=()=>{const t=Ht(o);l(t)},[e,n]=Rn(o,t);$(i,e),n(),t()}j(t,o)},()=>{if(n)return c(n.takeRecords(),!0)}]},In=`[${re}]`,Dn=`[${de}]`,Bn=["tabindex"],Fn=["wrap","cols","rows"],Xn=["id","class","style","open"],Yn=(t,n,o)=>{let i,s,l;const{J:c,K:a,nt:d,lt:p,ft:b,_t:g,ht:v}=t,{Y:y}=ln(),[S]=r({u:bt,o:{w:0,h:0}},(()=>{const t=g(pe,se),e=g(ue,""),n=e&&R(a),r=e&&k(a);v(pe,se),v(ue,""),v("",ae,!0);const o=Rt(d),i=Rt(a),s=kt(a);return v(pe,se,t),v(ue,"",e),v("",ae),R(a,n),k(a,r),{w:i.w+o.w+s.w,h:i.h+o.h+s.h}})),O=p?Fn:Xn.concat(Fn),E=$t(o,{g:()=>i,v:()=>s,p(t,e){const[n]=t,[r]=e;return[L(n).concat(L(r)).reduce(((t,e)=>(t[e]=n[e]||r[e],t)),{})]}}),M=t=>{e(t||Bn,(t=>{if(x(Bn,t)>-1){const e=A(c,t);h(e)?A(a,t,e):H(a,t)}}))},C=(t,e)=>{const[r,i]=t,s={vt:i};return n({gt:r}),!e&&o(s),s},z=({wt:t,jt:e,Mt:r})=>{const i=!t||r?o:E;let s=!1;if(e){const[t,r]=e;s=r,n({yt:t})}i({wt:t,Mt:r,St:s})},T=(t,e)=>{const[,n]=S(),r={bt:n};return n&&!e&&(t?o:E)(r),r},I=(t,e,n)=>{const r={Tt:e};return e?!n&&E(r):b||M(t),r},[D,B,F]=d||!y?kn(c,C):[mt,mt,mt],[X,N]=b?[mt,mt]:Rn(c,z,{Mt:!0,Yt:!0}),[j,V]=Hn(c,!1,I,{Dt:Xn,Pt:Xn.concat(Bn)});let K;const U=b&&rt&&new rt((t=>{const e=t[t.length-1].contentRect,n=Dt(e),r=Dt(K);z({wt:!0,Mt:!r&&n}),K=e}));return[()=>{D(),X(),l&&l[0](),U&&U.disconnect(),j()},()=>{U&&U.observe(c),M(),N(),B()},()=>{const t={},e=V(),n=F(),r=l&&l[1]();return e&&P(t,I.apply(0,$(e,!0))),n&&P(t,C.apply(0,$(n,!0))),r&&P(t,T.apply(0,$(r,!0))),t},t=>{const[e]=t("update.ignoreMutation"),[n,r]=t("update.attributes"),[o,c]=t("update.elementEvents"),[h,p]=t("update.debounce"),g=t=>f(e)&&e(t);if((c||r)&&(l&&(l[1](),l[0]()),l=Hn(d||a,!0,T,{Pt:O.concat(n||[]),Rt:o,kt:In,Vt:(t,e)=>{const{target:n,attributeName:r}=t;return!(e||!r||b)&&((t,e,n)=>{const r=t&&Y(t,e),o=t&&((t,e)=>{const n=e?m(e)?e:null:document;return n?n.querySelector(t):null})(n,r),i=Y(o,e)===r;return!(!r||!o)&&(r===t||o===t||i&&Y(Y(t,n),e)!==r)})(n,In,Dn)||!!Y(n,`.${Me}`)||!!g(t)}})),p)if(E.m(),w(h)){const t=h[0],e=h[1];i=u(t)&&t,s=u(e)&&e}else u(h)?(i=h,s=!1):(i=!1,s=!1)}]},Nn={x:0,y:0},{round:jn}=Math,Vn="pointerup pointerleave pointercancel lostpointercapture",Kn=(t,e)=>Yt(t,"mousedown",Yt.bind(0,e,"click",Nt,{C:!0,$:!0}),{$:!0}),Un=(t,e,n,r,o,i,s)=>{const{V:l}=ln(),{Ft:c,Xt:a,Ut:d}=r,u=`scroll${s?"Left":"Top"}`,h=`client${s?"X":"Y"}`,p=s?"width":"height",f=s?"left":"top",w=s?"w":"h",b=s?"x":"y",g=(t,e)=>n=>{const{Et:r}=i(),h=Ht(a)[w]-Ht(c)[w],p=e*n/h*r[b],f=Lt(d)&&s?l.n||l.i?1:-1:1;o[u]=t+p*f};return Yt(a,"pointerdown",(r=>{const i=Y(r.target,`.${Ae}`)===c,s=i?c:a;if(T(e,re,ce,!0),((t,e,n)=>{const r=e.scrollbars,{button:o,isPrimary:i,pointerType:s}=t,{pointers:l}=r;return 0===o&&i&&r[n?"dragScroll":"clickScroll"]&&(l||[]).includes(s)})(r,t,i)){const t=!i&&r.shiftKey,l=()=>It(c),d=()=>It(a),w=(t,e)=>(t||l())[f]-(e||d())[f],v=g(o[u]||0,1/(t=>{const{width:e,height:n}=It(t),{w:r,h:o}=Ht(t);return{x:jn(e)/r||1,y:jn(n)/o||1}})(o)[b]),y=r[h],m=l(),x=d(),S=m[p],O=w(m,x)+S/2,M=y-x[f],L=i?0:M-O,P=t=>{E(C),s.releasePointerCapture(t.pointerId)},C=[T.bind(0,e,re,ce),Yt(n,Vn,P),Yt(n,"selectstart",(t=>jt(t)),{S:!1}),Yt(a,Vn,P),Yt(a,"pointermove",(e=>{const n=e[h]-y;(i||t)&&v(L+n)}))];if(t)v(L);else if(!i){const t=je()[tn];t&&$(C,t.O(v,w,L,S,M))}s.setPointerCapture(r.pointerId)}}))},_n=({Ft:t},e,n)=>{if(!e)return mt;const r=t.animate((t=>
11({transform:[Ct(`0%`,t),Ct("-100%",t)],[t?"left":"top"]:["0%","100%"]}))(n),{timeline:e});return()=>{r.cancel()}},{min:qn,max:Jn,abs:Wn,round:Gn}=Math,Zn=(t,e,n,r)=>{if(r){const t=n?"x":"y",{Et:e,zt:o}=r,i=o[t],s=e[t];return Jn(0,qn(1,i/(i+s)))}const o=n?"width":"height",i=It(t)[o],s=It(e)[o];return Jn(0,qn(1,i/s))},Qn=t=>`${Math.max(0,t-.5)}px`,tr=(t,e,n,r)=>t.animate({transform:[Ct(`0px`,r),Ct(Qn(n),r)]},{timeline:e,composite:"add"}),er=(t,e)=>st?new st({source:t,axis:e}):null,nr=(t,r,o)=>{const{q:i,H:s}=ln(),{scrollbars:l}=i(),{slot:c}=l,{rt:a,Z:d,J:u,K:h,ut:f,st:w,it:b,ft:g}=r,{scrollbars:v}=f?{}:t,{slot:y}=v||{},m=new Map,x=er(w,"x"),S=er(w,"y"),M=dn([d,u,h],(()=>g&&b?d:u),c,y),L=t=>g&&!b&&X(t)===h,P=()=>{m.forEach((t=>{(t||[]).forEach((t=>{t.cancel()}))}))},C=(t,n,r)=>{const o=r?ht:ut;e(t,(t=>{o(t.Ut,n)}))},z=(t,r)=>{e(t,(t=>{const[e,o]=r(t);n(e,o)}))},A=(t,e,n)=>{z(t,(t=>{const{Ft:r,Xt:o}=t;return[r,{[n?"width":"height"]:`${(100*Zn(r,o,n,e)).toFixed(3)}%`}]}))},H=(t,e,n)=>{S||S||z(t,(t=>{const{Ft:r,Xt:o,Ut:i}=t,s=((t,e,n,r,o,i)=>{const{V:s}=ln(),l=i?"x":"y",c=i?"Left":"Top",{Et:a}=r,d=Gn(a[l]),u=Wn(n[`scroll${c}`]),h=i&&o,p=s.i?u:d-u,f=qn(1,(h?p:u)/d),w=Zn(t,e,i);return 1/w*(1-w)*f})(r,o,w,e,Lt(i),n);return[r,{transform:s==s?Ct(`${(100*s).toFixed(3)}%`,n):""}]}))},T=t=>{const{Ut:e}=t,n=L(e)&&e;return[n,{transform:n?Ct([`${R(w)}px`,`${k(w)}px`]):""}]},I=[],D=[],B=[],F=(t,e,n)=>{const r=p(n),o=!r||!n;(!r||n)&&C(D,t,e),o&&C(B,t,e)},Y=t=>{const e=t?Pe:Ce,n=t?D:B,r=O(n)?Re:"",i=U(`${Me} ${e} ${r}`),l=U(ze),c=U(Ae),d={Ut:i,Xt:l,Ft:c};return s||ht(i,Oe),j(i,l),j(l,c),$(n,d),$(I,[()=>{P(),m.clear()},K.bind(0,i),o(d,F,a,u,w,t?x:S,t)]),d},N=Y.bind(0,!0),V=Y.bind(0,!1);return N(),V(),[{Wt:t=>{A(D,t,!0),A(B,t)},Zt:t=>{H(D,t,!0),H(B,t)},Jt:({Et:t})=>{P(),B.concat(D).forEach((({Ut:e})=>{L(e)&&m.set(e,[tr(e,x,t.x,!0),tr(e,S,t.y)])}))},Kt:()=>{S||S||(g&&z(D,T),g&&z(B,T))},Qt:F,tn:{B:x,nn:D,sn:N,en:z.bind(0,D)},cn:{B:S,nn:B,sn:V,en:z.bind(0,B)}},()=>{j(M,D[0].Ut),j(M,B[0].Ut),lt((()=>{F(Re)}),300)},E.bind(0,I)]},rr=(t,e,n)=>{f(t)&&t(e||void 0,n||void 0)},or=(t,n,r)=>{const{F:o,q:i,j:s,N:l}=ln(),d=je(),u=y(t),h=u?t:t.target,p=hn(h);if(n&&!p){let p=!1;const f=t=>{const e=je()[Ve],n=e&&e.O;return n?n(t,!0):t},w=P({},o(),f(n)),[b,g,v]=_t(r),[y,m,x]=((t,n)=>{const r=fn(n,{}),[o,i,s]=_t(),[l,c,a]=yn(t),d=wn((t=>({tt:{t:0,r:0,b:0,l:0},$t:!1,M:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:Nn,Et:Nn,Ot:{x:"hidden",y:"hidden"},At:{x:!1,y:!1},gt:!1,yt:Lt(t.J)}))(l)),[u,h]=d,p=((t,n)=>{const{Z:r,K:o,ht:i,ft:s}=t,{A:l,I:c,Y:a}=ln(),d=!l&&(c.x||c.y),u=[mn(t,n),xn(t,n),zn(t,n)];return(t,n,l)=>{const c=An(P({wt:!1,xt:!1,St:!1,vt:!1,Ht:!1,Lt:!1,It:!1,Tt:!1,bt:!1,Mt:!1},n),{},l),h=d||!a,p=h&&R(o),f=h&&k(o);i("",ae,!0);let w=c;return e(u,(e=>{w=An(w,e(w,t,!!l)||{},l)})),R(o,p),k(o,f),i("",ae),s||(R(r,0),k(r,0)),w}})(l,d),f=(t,e,n)=>{const r=L(t).some((e=>!!t[e])),o=r||!C(e)||n;return o&&s("u",[t,e,n]),o},[w,b,g,v]=Yn(l,h,(t=>f(p(r,t),{},!1))),y=u.bind(0);return y.Nt=t=>o("u",t),y.qt=()=>{const{Z:t,K:e,rt:n,it:r}=l,o=r?n.documentElement:t,i=R(o),s=k(o);b(),c(),R(e,i),k(e,s)},y.Gt=l,[(t,e)=>{const r=fn(n,t,e);return v(r),f(p(r,g(),e),t,!!e)},y,()=>{i(),w(),a()}]})(t,w),[$,S,O]=((t,e,n,r)=>{let o,i,s,l,c,a=0;const d=wn({}),[u]=d,[h,p]=xt(),[f,w]=xt(),[b,g]=xt(100),[v,y]=xt(100),[m,x]=xt(100),[$,S]=xt((()=>a)),[O,M,L]=nr(t,n.Gt,((t,e)=>(n,r,o,i,s,l,c)=>{const{Ut:a}=n,[d,u]=xt(333),h=!!s.scrollBy;let p=!0;return E.bind(0,[Yt(a,"pointerenter",(()=>{r(ke,!0)})),Yt(a,"pointerleave pointercancel",(()=>{r(ke)})),Yt(a,"wheel",(t=>{const{deltaX:e,deltaY:n,deltaMode:o}=t;h&&p&&0===o&&X(a)===i&&s.scrollBy({left:e,top:n,behavior:"smooth"}),p=!1,r(Fe,!0),d((()=>{p=!0,r(Fe)})),jt(t)}),{S:!1,$:!0}),Kn(a,o),Un(t,i,o,n,s,e,c),_n(n,l,c),u])})(e,n)),{J:P,et:C,it:z}=n.Gt,{Qt:A,Wt:H,Zt:T,Jt:R,Kt:k}=O,I=t=>{A(De,t,!0),A(De,t,!1)},D=(t,e)=>{if(S(),t)A(Be);else{const t=()=>A(Be,!0);a>0&&!e?$(t):t()}},B=()=>{l=i,l&&D(!0)},F=[g,S,y,x,w,p,L,Yt(P,"pointerover",B,{C:!0}),Yt(P,"pointerenter",B),Yt(P,"pointerleave",(()=>{l=!1,i&&D(!1)})),Yt(P,"pointermove",(()=>{o&&h((()=>{g(),D(!0),v((()=>{o&&D(!1)}))}))})),Yt(C,"scroll",(t=>{f((()=>{T(n()),s&&D(!0),b((()=>{s&&!l&&D(!1)}))})),r(t),k()}))],Y=u.bind(0);return Y.Gt=O,Y.qt=M,[(t,r,l)=>{const{Ht:d,Lt:u,It:h,St:p,Mt:f}=l,{I:w}=ln(),b=fn(e,t,r),g=n(),{Et:v,Ot:y,yt:x,At:$}=g,[S,O]=b("showNativeOverlaidScrollbars"),[E,M]=b("scrollbars.theme"),[L,P]=b("scrollbars.visibility"),[B,X]=b("scrollbars.autoHide"),[Y,N]=b("scrollbars.autoHideSuspend"),[j]=b("scrollbars.autoHideDelay"),[V,K]=b("scrollbars.dragScroll"),[U,_]=b("scrollbars.clickScroll"),q=f&&!r,J=d||u||p,W=h||P,G=S&&w.x&&w.y,Z=(t,e)=>{const n="visible"===L||"auto"===L&&"scroll"===t;return A(He,n,e),n};if(a=j,O&&A(Ee,G),M&&(A(c),A(E,!0),c=E),(N||q)&&(Y&&q&&($.x||$.y)?(I(!1),m((()=>F.push(Yt(C,"scroll",I.bind(0,!0),{C:!0}))))):I(!0)),X&&(o="move"===B,i="leave"===B,s="never"!==B,D(!s,!0)),K&&A(Ye,V),_&&A(Xe,U),W){const t=Z(y.x,!0),e=Z(y.y,!1);A(Te,!(t&&e))}
11J&&(H(g),T(g),R(g),k(),A(Ie,!v.x,!0),A(Ie,!v.y,!1),A(Le,x&&!z))},Y,E.bind(0,F)]})(t,w,m,(t=>v("scroll",[I,t]))),M=(t,e)=>y(t,!!e),z=M.bind(0,{},!0),A=s(z),H=l(z),T=t=>{(t=>{un.delete(t)})(h),A(),H(),O(),x(),p=!0,v("destroyed",[I,!!t]),g()},I={options(t,e){if(t){const n=e?o():{},r=Wt(w,P(n,f(t)));C(r)||(P(w,r),M(r))}return P({},w)},on:b,off:(t,e)=>{t&&e&&g(t,e)},state(){const{zt:t,Et:e,Ot:n,At:r,tt:o,$t:i,yt:s}=m();return P({},{overflowEdge:t,overflowAmount:e,overflowStyle:n,hasOverflow:r,padding:o,paddingAbsolute:i,directionRTL:s,destroyed:p})},elements(){const{Z:t,J:e,tt:n,K:r,nt:o,st:i,et:s}=m.Gt,{tn:l,cn:c}=S.Gt,a=t=>{const{Ft:e,Xt:n,Ut:r}=t;return{scrollbar:r,track:n,handle:e}},d=t=>{const{nn:e,sn:n}=t,r=a(e[0]);return P({},r,{clone:()=>{const t=a(n());return $({},!0,{}),t}})};return P({},{target:t,host:e,padding:n||r,viewport:r,content:o||r,scrollOffsetElement:i,scrollEventElement:s,scrollbarHorizontal:d(l),scrollbarVertical:d(c)})},update:t=>M({},t),destroy:T.bind(0)};return m.Nt(((t,e,n)=>{$(e,n,t)})),((t,e)=>{un.set(t,e)})(h,I),e(L(d),(t=>rr(d[t],0,I))),((t,e,n)=>{const{nativeScrollbarsOverlaid:r,body:o}=n||{},{I:i,A:s}=ln(),{nativeScrollbarsOverlaid:l,body:d}=e,u=null!=r?r:l,h=c(o)?d:o,p=(i.x||i.y)&&u,f=t&&(a(h)?!s:h);return!!p||!!f})(m.Gt.it,i().cancel,!u&&t.cancel)?(T(!0),I):(m.qt(),S.qt(),v("initialized",[I]),m.Nt(((t,e,n)=>{const{wt:r,St:o,vt:i,Ht:s,Lt:l,It:c,bt:a,Tt:d}=t;v("updated",[I,{updateHints:{sizeChanged:r,directionChanged:o,heightIntrinsicChanged:i,overflowEdgeChanged:s,overflowAmountChanged:l,overflowStyleChanged:c,contentMutation:a,hostMutation:d},changedOptions:e,force:n}])})),I.update(!0),I)}return p};return or.plugin=t=>{e((t=>{const n=[];return e(w(t)?t:[t],(t=>{e(L(t),(e=>{$(n,Ne[e]=t[e])}))})),n})(t),(t=>rr(t,or)))},or.valid=t=>{const e=t&&t.elements,n=f(e)&&e();return v(n)&&!!hn(n.target)},or.env=()=>{const{k:t,I:e,A:n,V:r,Y:o,H:i,B:s,U:l,W:c,q:a,G:d,F:u,X:h}=ln();return P({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:r,flexboxGlue:o,cssCustomProperties:i,scrollTimeline:s,staticDefaultInitialization:l,staticDefaultOptions:c,getDefaultInitialization:a,setDefaultInitialization:d,getDefaultOptions:u,setDefaultOptions:h})},t.ClickScrollPlugin=en,t.OverlayScrollbars=or,t.ScrollbarsHidingPlugin=Qe,t.SizeObserverPlugin=qe,Object.defineProperties(t,{rn:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),t}({});

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.