1import{n as A,w as te,i as oe,c as ne,u as se,t as re,a as le,b as H,d as ie,e as ue,f as D,p as Y,g as ce,h as Z}from"./DQxIHYp9.js";import{q as j,cc as ae,i as L,cd as W,ce as de,o as q,U as b,cf as fe,a0 as G,cg as F,f as ve}from"./N7CLO6eC.js";const O=oe?window:void 0;function g(e){var o;const n=b(e);return(o=n?.$el)!==null&&o!==void 0?o:n}function x(...e){const o=(t,u,s,a)=>(t.addEventListener(u,s,a),()=>t.removeEventListener(u,s,a)),n=L(()=>{const t=D(b(e[0])).filter(u=>u!=null);return t.every(u=>typeof u!="string")?t:void 0});return te(()=>{var t,u;return[(t=(u=n.value)===null||u===void 0?void 0:u.map(s=>g(s)))!==null&&t!==void 0?t:[O].filter(s=>s!=null),D(b(n.value?e[1]:e[0])),D(ve(n.value?e[2]:e[1])),b(n.value?e[3]:e[2])]},([t,u,s,a],m,d)=>{if(!t?.length||!u?.length||!s?.length)return;const h=ue(a)?{...a}:a,r=t.flatMap(c=>u.flatMap(y=>s.map(p=>o(c,y,p,h))));d(()=>{r.forEach(c=>c())})},{flush:"post"})}function Me(e,o,n={}){const{window:t=O,ignore:u=[],capture:s=!0,detectIframe:a=!1,controls:m=!1}=n;if(!t)return m?{stop:A,cancel:A,trigger:A}:A;let d=!0;const h=l=>b(u).some(f=>{if(typeof f=="string")return Array.from(t.document.querySelectorAll(f)).some(v=>v===l.target||l.composedPath().includes(v));{const v=g(f);return v&&(l.target===v||l.composedPath().includes(v))}});function r(l){const f=b(l);return f&&f.$.subTree.shapeFlag===16}function c(l,f){const v=b(l),E=v.$.subTree&&v.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(S=>S.el===f.target||f.composedPath().includes(S.el))}const y=l=>{const f=g(e);if(l.target!=null&&!(!(f instanceof Element)&&r(e)&&c(e,l))&&!(!f||f===l.target||l.composedPath().includes(f))){if("detail"in l&&l.detail===0&&(d=!h(l)),!d){d=!0;return}o(l)}};let p=!1;const T=[x(t,"click",l=>{p||(p=!0,setTimeout(()=>{p=!1},0),y(l))},{passive:!0,capture:s}),x(t,"pointerdown",l=>{const f=g(e);d=!h(l)&&!!(f&&!l.composedPath().includes(f))},{passive:!0}),a&&x(t,"blur",l=>{setTimeout(()=>{const f=g(e);let v=t.document.activeElement;for(;v?.shadowRoot;)v=v.shadowRoot.activeElement;v?.tagName==="IFRAME"&&!f?.contains(t.document.activeElement)&&o(l)},0)},{passive:!0})].filter(Boolean),I=()=>T.forEach(l=>l());return m?{stop:I,cancel:()=>{d=!1},trigger:l=>{d=!0,y(l),d=!1}}:I}function me(){const e=W(!1),o=F();return o&&q(()=>{e.value=!0},o),e}function z(e){const o=me();return L(()=>(o.value,!!e()))}function pe(e,o,n={}){const{window:t=O,...u}=n;let s;const a=z(()=>t&&"MutationObserver"in t),m=()=>{s&&(s.disconnect(),s=void 0)},d=j(L(()=>{const c=D(b(e)).map(g).filter(Z);return new Set(c)}),c=>{m(),a.value&&c.size&&(s=new MutationObserver(o),c.forEach(y=>s.observe(y,u)))},{immediate:!0,flush:"post"}),h=()=>s?.takeRecords(),r=()=>{d(),m()};return H(r),{isSupported:a,stop:r,takeRecords:h}}function he(e){return typeof e=="function"?e:typeof e=="string"?o=>o.key===e:Array.isArray(e)?o=>e.includes(o.key):()=>!0}function Te(...e){let o,n,t={};e.length===3?(o=e[0],n=e[1],t=e[2]):e.length===2?typeof e[1]=="object"?(o=!0,n=e[0],t=e[1]):(o=e[0],n=e[1]):(o=!0,n=e[0]);const{target:u=O,eventName:s="keydown",passive:a=!1,dedupe:m=!1}=t,d=he(o);return x(u,s,r=>{r.repeat&&b(m)||d(r)&&n(r)},a)}const be=Symbol("vueuse-ssr-width");function ye(){const e=fe()?le(be,null):null;return typeof e=="number"?e:void 0}function Oe(e,o={}){const{window:n=O,ssrWidth:t=ye()}=o,u=z(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=W(typeof t=="number"),a=W(),m=W(!1),d=h=>{m.value=h.matches};return ae(()=>{if(s.value){s.value=!u.value,m.value=b(e).split(",").some(h=>{const r=h.includes("not all"),c=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(c||y);return c&&p&&(p=t>=Y(c[1])),y&&p&&(p=t<=Y(y[1])),r?!p:p});return}u.value&&(a.value=n.matchMedia(b(e)),m.value=a.value.matches)}),x(a,"change",d,{passive:!0}),L(()=>m.value)}function Re(e){const o=F(),n=ne(()=>null,()=>o.proxy.$el);return de(n.trigger),q(n.trigger),n}function Ae(e,o,n={}){const{window:t=O,...u}=n;let s;const a=z(()=>t&&"ResizeObserver"in t),m=()=>{s&&(s.disconnect(),s=void 0)},d=j(L(()=>{const r=b(e);return Array.isArray(r)?r.map(c=>g(c)):[g(r)]}),r=>{if(m(),a.value&&t){s=new ResizeObserver(o);for(const c of r)c&&s.observe(c,u)}},{immediate:!0,flush:"post"}),h=()=>{m(),d()};return H(h),{isSupported:a,stop:h}}function Ee(e,o,n={}){const{root:t,rootMargin:u,threshold:s=0,window:a=O,immediate:m=!0}=n,d=z(()=>a&&"IntersectionObserver"in a),h=L(()=>D(b(e)).map(g).filter(Z));let r=A;const c=W(m),y=d.value?j(()=>[h.value,g(t),b(u),c.value],([T,I,l])=>{if(r(),!c.value||!T.length)return;const f=new IntersectionObserver(o,{root:g(I),rootMargin:l,threshold:s});T.forEach(v=>v&&f.observe(v)),r=()=>{f.disconnect(),r=A}},{immediate:m,flush:"post"}):A,p=()=>{r(),y(),c.value=!1};return H(p),{isSupported:d,isActive:c,pause(){r(),c.value=!1},resume(){c.value=!0},stop:p}}function We(e,o={}){const{window:n=O,scrollTarget:t,threshold:u=0,rootMargin:s,once:a=!1,initialValue:m=!1}=o,d=W(m),h=Ee(e,r=>{let c=d.value,y=0;for(const p of r)p.time>=y&&(y=p.time,c=p.isIntersecting);d.value=c,a&&ce(d,()=>{h.stop()})},{root:t,window:n,threshold:u,rootMargin:s});return o.controls?{...h,isVisible:d}:d}const J=1;function we(e,o={}){const{throttle:n=0,idle:t=200,onStop:u=A,onScroll:s=A,offset:a={left:0,right:0,top:0,bottom:0},observe:m={mutation:!1},eventListenerOptions:d={capture:!1,passive:!0},behavior:h="auto",window:r=O,onError:c=i=>{console.error(i)}}=o,y=typeof m=="boolean"?{mutation:m}:m,p=W(0),T=W(0),I=L({get(){return p.value},set(i){f(i,void 0)}}),l=L({get(){return T.value},set(i){f(void 0,i)}});function f(i,R){var M,_,V,$;if(!r)return;const w=b(e);if(!w)return;(M=w instanceof Document?r.document.body:w)===null||M===void 0||M.scrollTo({top:(_=b
1(R))!==null&&_!==void 0?_:l.value,left:(V=b(i))!==null&&V!==void 0?V:I.value,behavior:b(h)});const C=(w==null||($=w.document)===null||$===void 0?void 0:$.documentElement)||w?.documentElement||w;I!=null&&(p.value=C.scrollLeft),l!=null&&(T.value=C.scrollTop)}const v=W(!1),E=G({left:!0,right:!1,top:!0,bottom:!1}),S=G({left:!1,right:!1,top:!1,bottom:!1}),B=i=>{v.value&&(v.value=!1,S.left=!1,S.right=!1,S.top=!1,S.bottom=!1,u(i))},ee=ie(B,n+t),k=i=>{var R;if(!r)return;const M=(i==null||(R=i.document)===null||R===void 0?void 0:R.documentElement)||i?.documentElement||g(i),{display:_,flexDirection:V,direction:$}=r.getComputedStyle(M),w=$==="rtl"?-1:1,C=M.scrollLeft;S.left=C<p.value,S.right=C>p.value;const K=Math.abs(C*w)<=(a.left||0),Q=Math.abs(C*w)+M.clientWidth>=M.scrollWidth-(a.right||0)-J;_==="flex"&&V==="row-reverse"?(E.left=Q,E.right=K):(E.left=K,E.right=Q),p.value=C;let P=M.scrollTop;i===r.document&&!P&&(P=r.document.body.scrollTop),S.top=P<T.value,S.bottom=P>T.value;const U=Math.abs(P)<=(a.top||0),X=Math.abs(P)+M.clientHeight>=M.scrollHeight-(a.bottom||0)-J;_==="flex"&&V==="column-reverse"?(E.top=X,E.bottom=U):(E.top=U,E.bottom=X),T.value=P},N=i=>{var R;r&&(k((R=i.target.documentElement)!==null&&R!==void 0?R:i.target),v.value=!0,ee(i),s(i))};return x(e,"scroll",n?se(N,n,!0,!1):N,d),re(()=>{try{const i=b(e);if(!i)return;k(i)}catch(i){c(i)}}),y?.mutation&&e!=null&&e!==r&&e!==document&&pe(e,()=>{const i=b(e);i&&k(i)},{attributes:!0,childList:!0,subtree:!0}),x(e,"scrollend",B,d),{x:I,y:l,isScrolling:v,arrivedState:E,directions:S,measure(){const i=b(e);r&&i&&k(i)}}}function Ie(e={}){const{window:o=O,...n}=e;return we(o,n)}export{Ee as a,Ae as b,Ie as c,Te as d,x as e,We as f,Re as g,Me as o,Oe as u};
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.