1import{En as e,H as t,Ht as n,L as r,On as i,Ut as a,_n as o,an as s,bn as c,ct as l,g as u,gn as d,k as f,tt as p,vn as m,xn as h}from"./CoKk4mC0.js";import{C as g,D as _,E as v,O as y,S as b,T as x,a as S,b as C,c as w,d as T,f as E,h as D,l as O,m as k,o as ee,p as A,r as j,s as te,t as ne,u as M,w as re,x as N,y as P}from"./CnRORlfR.js";function ie(e={}){let{inheritAttrs:t=!0,name:n=`ReusableTemplate`}=e,r=h(),i=f({name:`${n}.define`,setup(e,{slots:t}){return()=>{r.value=t.default}}}),a=f({inheritAttrs:t,name:`${n}.reuse`,props:e.props,setup(n,{attrs:i,slots:a}){return()=>{if(!r.value)throw Error(`[VueUse] Failed to find the definition of reusable template`);let o=r.value?.call(r,{...e.props==null?ae(i):n,$slots:a});return t&&o?.length===1?o[0]:o}}});return E({define:i,reuse:a},[i,a])}function ae(e){let t={};for(let n in e)t[ne(n)]=e[n];return t}var F=w?window:void 0,oe=w?window.document:void 0;w&&window.navigator,w&&window.location;function I(t){let n=e(t);return n?.$el??n}function L(...t){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=u(()=>{let n=P(e(t[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return _(()=>[r.value?.map(e=>I(e))??[F].filter(e=>e!=null),P(e(r.value?t[1]:t[0])),P(i(r.value?t[2]:t[1])),e(r.value?t[3]:t[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=T(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var R=!1;function se(t,n,r={}){let{window:i=F,ignore:a=[],capture:o=!0,detectIframe:s=!1,controls:c=!1}=r;if(!i)return c?{stop:A,cancel:A,trigger:A}:A;if(M&&!R){R=!0;let e={passive:!0};Array.from(i.document.body.children).forEach(t=>t.addEventListener(`click`,A,e)),i.document.documentElement.addEventListener(`click`,A,e)}let l=!0,u=t=>e(a).some(e=>{if(typeof e==`string`)return Array.from(i.document.querySelectorAll(e)).some(e=>e===t.target||t.composedPath().includes(e));{let n=I(e);return n&&(t.target===n||t.composedPath().includes(n))}});function d(t){let n=e(t);return n&&n.$.subTree.shapeFlag===16}function f(t,n){let r=e(t),i=r.$.subTree&&r.$.subTree.children;return i==null||!Array.isArray(i)?!1:i.some(e=>e.el===n.target||n.composedPath().includes(e.el))}let p=e=>{let r=I(t);if(e.target!=null&&!(!(r instanceof Element)&&d(t)&&f(t,e))&&!(!r||r===e.target||e.composedPath().includes(r))){if(`detail`in e&&e.detail===0&&(l=!u(e)),!l){l=!0;return}n(e)}},m=!1,h=[L(i,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:o}),L(i,`pointerdown`,e=>{let n=I(t);l=!u(e)&&!!(n&&!e.composedPath().includes(n))},{passive:!0}),s&&L(i,`blur`,e=>{setTimeout(()=>{let r=I(t),a=i.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!r?.contains(i.document.activeElement)&&n(e)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return c?{stop:g,cancel:()=>{l=!1},trigger:e=>{l=!0,p(e),l=!1}}:g}function ce(){let e=h(!1),t=r();return t&&l(()=>{e.value=!0},t),e}function z(e){let t=ce();return u(()=>(t.value,!!e()))}function B(t,r,i={}){let{window:a=F,...o}=i,s,c=z(()=>a&&`MutationObserver`in a),l=()=>{s&&=(s.disconnect(),void 0)},d=n(u(()=>{let n=P(e(t)).map(I).filter(k);return new Set(n)}),e=>{l(),c.value&&e.size&&(s=new MutationObserver(r),e.forEach(e=>s.observe(e,o)))},{immediate:!0,flush:`post`}),f=()=>s?.takeRecords(),p=()=>{d(),l()};return b(p),{isSupported:c,stop:p,takeRecords:f}}function le(e,t,n={}){let{window:r=F,document:i=r?.document,flush:o=`sync`}=n;if(!r||!i)return A;let s,c=e=>{s?.(),s=e},l=a(()=>{let n=I(e);if(n){let{stop:e}=B(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});c(e)}},{flush:o}),u=()=>{l(),c()};return b(u),u}function ue(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function de(...t){let n,r,i={};t.length===3?(n=t[0],r=t[1],i=t[2]):t.length===2?typeof t[1]==`object`?(n=!0,r=t[0],i=t[1]):(n=t[0],r=t[1]):(n=!0,r=t[0]);let{target:a=F,eventName:o=`keydown`,passive:s=!1,dedupe:c=!1}=i,l=ue(n);return L(a,o,t=>{t.repeat&&e(c)||l(t)&&r(t)},s)}var fe=500,pe=10;function me(e,t,n){var r,i;let a=u(()=>I(e)),o,s,c,l=!1;function d(){o&&=(clearTimeout(o),void 0),s=void 0,c=void 0,l=!1}function f(e){let t=n?.delay;return typeof t==`function`?t(e):t??fe}function p(e){var t,r,i;let[o,u,f]=[c,s,l];if(d(),!n?.onMouseUp||!u||!o||!(n==null||(t=n.modifiers)==null)&&t.self&&e.target!==a.value)return;!(n==null||(r=n.modifiers)==null)&&r.prevent&&e.preventDefault(),!(n==null||(i=n.modifiers)==null)&&i.stop&&e.stopPropagation();let p=e.x-u.x,m=e.y-u.y,h=Math.sqrt(p*p+m*m);n.onMouseUp(e.timeStamp-o,h,f,e)}function m(e){var r,i,u;!(n==null||(r=n.modifiers)==null)&&r.self&&e.target!==a.value||(d(),!(n==null||(i=n.modifiers)==null)&&i.prevent&&e.preventDefault(),!(n==null||(u=n.modifiers)==null)&&u.stop&&e.stopPropagation(),s={x:e.x,y:e.y},c=e.timeStamp,o=setTimeout(()=>{l=!0,t(e)},f(e)))}function h(e){var t,r,i;if(!(n==null||(t=n.modifiers)==null)&&t.self&&e.target!==a.value||!s||n?.distanceThreshold===!1)return;!(n==null||(r=n.modifiers)==null)&&r.prevent&&e.preventDefault(),!(n==null||(i=n.modifiers)==null)&&i.stop&&e.stopPropagation();let o=e.x-s.x,c=e.y-s.y;Math.sqrt(o*o+c*c)>=(n?.distanceThreshold??pe)&&d()}let g={capture:n==null||(r=n.modifiers)==null?void 0:r.capture,once:n==null||(i=n.modifiers)==null?void 0:i.once},_=[L(a,`pointerdown`,m,g),L(a,`pointermove`,h,g),L(a,[`pointerup`,`pointerleave`],p,g)];return()=>
1_.forEach(e=>e())}function V(t,n={}){let{immediate:r=!0,fpsLimit:i=null,window:a=F,once:o=!1}=n,s=h(!1),l=u(()=>{let t=e(i);return t?1e3/t:null}),d=0,f=null;function p(e){if(!s.value||!a)return;d||=e;let n=e-d;if(l.value&&n<l.value){f=a.requestAnimationFrame(p);return}if(d=e,t({delta:n,timestamp:e}),o){s.value=!1,f=null;return}f=a.requestAnimationFrame(p)}function m(){!s.value&&a&&(s.value=!0,d=0,f=a.requestAnimationFrame(p))}function g(){s.value=!1,f!=null&&a&&(a.cancelAnimationFrame(f),f=null)}return r&&m(),b(g),{isActive:c(s),pause:g,resume:m}}var he=Symbol(`vueuse-ssr-width`);function H(){let e=t()?te(he,null):null;return typeof e==`number`?e:void 0}function U(t,n={}){let{window:r=F,ssrWidth:i=H()}=n,o=z(()=>r&&`matchMedia`in r&&typeof r.matchMedia==`function`),s=h(typeof i==`number`),c=h(),l=h(!1);return a(()=>{if(s.value){s.value=!o.value,l.value=e(t).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||r);return n&&a&&(a=i>=D(n[1])),r&&a&&(a=i<=D(r[1])),t?!a:a});return}o.value&&(c.value=r.matchMedia(e(t)),l.value=c.value.matches)}),L(c,`change`,e=>{l.value=e.matches},{passive:!0}),u(()=>l.value)}function ge(t,n={}){function r(n,r){let i=e(t[e(n)]);return r!=null&&(i=ee(i,r)),typeof i==`number`&&(i=`${i}px`),i}let{window:i=F,strategy:a=`min-width`,ssrWidth:o=H()}=n,s=typeof o==`number`,c=s?h(!1):{value:!0};s&&N(()=>c.value=!!i);function l(e,t){return!c.value&&s?e===`min`?o>=D(t):o<=D(t):i?i.matchMedia(`(${e}-width: ${t})`).matches:!1}let d=e=>U(()=>`(min-width: ${r(e)})`,n),f=e=>U(()=>`(max-width: ${r(e)})`,n),p=Object.keys(t).reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>a===`min-width`?d(t):f(t),enumerable:!0,configurable:!0}),e),{});function m(){let e=Object.keys(t).map(e=>[e,p[e],D(r(e))]).sort((e,t)=>e[2]-t[2]);return u(()=>e.filter(([,e])=>e.value).map(([e])=>e))}return Object.assign(p,{greaterOrEqual:d,smallerOrEqual:f,greater(e){return U(()=>`(min-width: ${r(e,.1)})`,n)},smaller(e){return U(()=>`(max-width: ${r(e,-.1)})`,n)},between(e,t){return U(()=>`(min-width: ${r(e)}) and (max-width: ${r(t,-.1)})`,n)},isGreater(e){return l(`min`,r(e,.1))},isGreaterOrEqual(e){return l(`min`,r(e))},isSmaller(e){return l(`max`,r(e,-.1))},isSmallerOrEqual(e){return l(`max`,r(e))},isInBetween(e,t){return l(`min`,r(e))&&l(`max`,r(t,-.1))},current:m,active(){let e=m();return u(()=>e.value.length===0?``:e.value.at(a===`min-width`?-1:0))}})}function _e(e){return JSON.parse(JSON.stringify(e))}function ve(e,t={}){let n=h(!1),r=h(null),a=0,o=!0;if(w){let s=typeof t==`function`?{onDrop:t}:t,c=s.multiple??!0,l=s.preventDefaultForUnhandled??!1,u=e=>{let t=Array.from(e.dataTransfer?.files??[]);return t.length===0?null:c?t:[t[0]]},d=e=>{let t=i(s.dataTypes);return typeof t==`function`?t(e):!t?.length||e.length!==0&&e.every(e=>t.some(t=>e.includes(t)))},f=e=>{if(s.checkValidity)return s.checkValidity(e);let t=d(Array.from(e??[]).map(e=>e.type)),n=c||e.length<=1;return t&&n},p=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!(`chrome`in window),m=(e,t)=>{let i=e.dataTransfer?.items;if(o=(i&&f(i))??!1,l&&e.preventDefault(),!p()&&!o){e.dataTransfer&&(e.dataTransfer.dropEffect=`none`);return}e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`copy`);let c=u(e);switch(t){case`enter`:var d;a+=1,n.value=!0,(d=s.onEnter)==null||d.call(s,null,e);break;case`over`:var m;(m=s.onOver)==null||m.call(s,null,e);break;case`leave`:var h;--a,a===0&&(n.value=!1),(h=s.onLeave)==null||h.call(s,null,e);break;case`drop`:if(a=0,n.value=!1,o){var g;r.value=c,(g=s.onDrop)==null||g.call(s,c,e)}break}};L(e,`dragenter`,e=>m(e,`enter`)),L(e,`dragover`,e=>m(e,`over`)),L(e,`dragleave`,e=>m(e,`leave`)),L(e,`drop`,e=>m(e,`drop`))}return{files:r,isOverDropZone:n}}function W(t,r,i={}){let{window:a=F,...o}=i,s,c=z(()=>a&&`ResizeObserver`in a),l=()=>{s&&=(s.disconnect(),void 0)},d=n(u(()=>{let n=e(t);return Array.isArray(n)?n.map(e=>I(e)):[I(n)]}),e=>{if(l(),c.value&&a){s=new ResizeObserver(r);for(let t of e)t&&s.observe(t,o)}},{immediate:!0,flush:`post`}),f=()=>{l(),d()};return b(f),{isSupported:c,stop:f}}function ye(e,t={}){let{reset:r=!0,windowResize:i=!0,windowScroll:a=!0,immediate:o=!0,updateTiming:s=`sync`}=t,c=h(0),l=h(0),u=h(0),d=h(0),f=h(0),p=h(0),m=h(0),g=h(0);function _(){let t=I(e);if(!t){r&&(c.value=0,l.value=0,u.value=0,d.value=0,f.value=0,p.value=0,m.value=0,g.value=0);return}let n=t.getBoundingClientRect();c.value=n.height,l.value=n.bottom,u.value=n.left,d.value=n.right,f.value=n.top,p.value=n.width,m.value=n.x,g.value=n.y}function v(){s===`sync`?_():s===`next-frame`&&requestAnimationFrame(()=>_())}return W(e,v),n(()=>I(e),e=>!e&&v()),B(e,v,{attributeFilter:[`style`,`class`]}),a&&L(`scroll`,v,{capture:!0,passive:!0}),i&&L(`resize`,v,{passive:!0}),N(()=>{o&&v()}),{height:c,bottom:l,left:u,right:d,top:f,width:p,x:m,y:g,update:v}}
1function be(e,t={}){let{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:i=!1,window:a=F}=t,o=h(!1),s,c=e=>{let t=e?n:r;s&&=(clearTimeout(s),void 0),t?s=setTimeout(()=>o.value=e,t):o.value=e};return a?(L(e,`mouseenter`,()=>c(!0),{passive:!0}),L(e,`mouseleave`,()=>c(!1),{passive:!0}),i&&le(u(()=>I(e)),()=>c(!1)),o):o}function xe(e,t={width:0,height:0},r={}){let{window:i=F,box:a=`content-box`}=r,o=u(()=>{var t;return(t=I(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),s=h(t.width),c=h(t.height),{stop:l}=W(e,([t])=>{let n=a===`border-box`?t.borderBoxSize:a===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(i&&o.value){let t=I(e);if(t){let e=t.getBoundingClientRect();s.value=e.width,c.value=e.height}}else if(n){let e=P(n);s.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else s.value=t.contentRect.width,c.value=t.contentRect.height},r);N(()=>{let n=I(e);n&&(s.value=`offsetWidth`in n?n.offsetWidth:t.width,c.value=`offsetHeight`in n?n.offsetHeight:t.height)});let d=n(()=>I(e),e=>{s.value=e?t.width:0,c.value=e?t.height:0});function f(){l(),d()}return{width:s,height:c,stop:f}}function G(t,r,i={}){let{root:a,rootMargin:o,threshold:s=0,window:c=F,immediate:l=!0}=i,d=z(()=>c&&`IntersectionObserver`in c),f=u(()=>P(e(t)).map(I).filter(k)),p=A,m=h(l),g=d.value?n(()=>[f.value,I(a),e(o),m.value],([e,t,n])=>{if(p(),!m.value||!e.length)return;let i=new IntersectionObserver(r,{root:I(t),rootMargin:n,threshold:s});e.forEach(e=>e&&i.observe(e)),p=()=>{i.disconnect(),p=A}},{immediate:l,flush:`post`}):A,_=()=>{p(),g(),m.value=!1};return b(_),{isSupported:d,isActive:m,pause(){p(),m.value=!1},resume(){m.value=!0},stop:_}}function K(e,t={}){let{window:n=F,scrollTarget:r,threshold:i=0,rootMargin:a,once:o=!1,initialValue:s=!1}=t,c=h(s),l=G(e,e=>{let t=c.value,n=0;for(let r of e)r.time>=n&&(n=r.time,t=r.isIntersecting);c.value=t,o&&y(c,()=>{l.stop()})},{root:r,window:n,threshold:i,rootMargin:a});return t.controls?{...l,isVisible:c}:c}var q=new Map;function Se(e){let t=s();function n(n){var r;let a=q.get(e)||new Set;a.add(n),q.set(e,a);let o=()=>i(n);return t==null||(r=t.cleanups)==null||r.push(o),o}function r(e){function t(...n){i(t),e(...n)}return n(t)}function i(t){let n=q.get(e);n&&(n.delete(t),n.size||a())}function a(){q.delete(e)}function o(t,n){var r;(r=q.get(e))==null||r.forEach(e=>e(t,n))}return{on:n,once:r,off:i,emit:o,reset:a}}var Ce={multiple:!0,accept:`*`,reset:!1,directory:!1};function we(e){if(!e)return null;if(e instanceof FileList)return e;let t=new DataTransfer;for(let n of e)t.items.add(n);return t.files}function Te(t={}){let{document:n=oe}=t,r=m(we(t.initialFiles)),{on:i,trigger:s}=j(),{on:c,trigger:l}=j(),d=u(()=>{let e=I(t.input)??(n?n.createElement(`input`):void 0);return e&&(e.type=`file`,e.onchange=e=>{r.value=e.target.files,s(r.value)},e.oncancel=()=>{l()}),e}),f=()=>{r.value=null,d.value&&d.value.value&&(d.value.value=``,s(null))},p=t=>{let n=d.value;n&&(n.multiple=e(t.multiple),n.accept=e(t.accept),n.webkitdirectory=e(t.directory),S(t,`capture`)&&(n.capture=e(t.capture)))};return a(()=>{p(t)}),{files:o(r),open:n=>{let r=d.value;if(!r)return;let i={...Ce,...t,...n};p(i),e(i.reset)&&f(),r.click()},reset:f,onCancel:c,onChange:i}}function J(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}var Y=1;function X(t,n={}){let{throttle:r=0,idle:i=200,onStop:a=A,onScroll:o=A,offset:s={left:0,right:0,top:0,bottom:0},observe:c={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:f=`auto`,window:p=F,onError:m=e=>{console.error(e)}}=n,g=typeof c==`boolean`?{mutation:c}:c,_=h(0),y=h(0),b=u({get(){return _.value},set(e){S(e,void 0)}}),x=u({get(){return y.value},set(e){S(void 0,e)}});function S(n,r){var i,a;if(!p)return;let o=e(t);if(!o)return;(i=o instanceof Document?p.document.body:o)==null||i.scrollTo({top:e(r)??x.value,left:e(n)??b.value,behavior:e(f)});let s=(o==null||(a=o.document)==null?void 0:a.documentElement)||o?.documentElement||o;b!=null&&(_.value=s.scrollLeft),x!=null&&(y.value=s.scrollTop)}let C=h(!1),w=d({left:!0,right:!1,top:!0,bottom:!1}),T=d({left:!1,right:!1,top:!1,bottom:!1}),E=e=>{C.value&&(C.value=!1,T.left=!1,T.right=!1,T.top=!1,T.bottom=!1,a(e))},D=re(E,r+i),O=e=>{var t;if(!p)return;let n=(e==null||(t=e.document)==null?void 0:t.documentElement)||e?.documentElement||I(e),{display:r,flexDirection:i,direction:a}=p.getComputedStyle(n),o=a===`rtl`?-1:1,c=n.scrollLeft;T.left=c<_.value,T.right=c>_.value;let l=Math.abs(c*o)<=(s.left||0),u=Math.abs(c*o)+n.clientWidth>=n.scrollWidth-(s.right||0)-Y;
1r===`flex`&&i===`row-reverse`?(w.left=u,w.right=l):(w.left=l,w.right=u),_.value=c;let d=n.scrollTop;e===p.document&&!d&&(d=p.document.body.scrollTop),T.top=d<y.value,T.bottom=d>y.value;let f=Math.abs(d)<=(s.top||0),m=Math.abs(d)+n.clientHeight>=n.scrollHeight-(s.bottom||0)-Y;r===`flex`&&i===`column-reverse`?(w.top=m,w.bottom=f):(w.top=f,w.bottom=m),y.value=d},k=e=>{p&&(O(e.target.documentElement??e.target),C.value=!0,D(e),o(e))};return L(t,`scroll`,r?v(k,r,!0,!1):k,l),N(()=>{try{let n=e(t);if(!n)return;O(n)}catch(e){m(e)}}),g?.mutation&&t!=null&&t!==p&&t!==document&&B(t,()=>{let n=e(t);n&&O(n)},{attributes:!0,childList:!0,subtree:!0}),L(t,`scrollend`,E,l),{x:b,y:x,isScrolling:C,arrivedState:w,directions:T,measure(){let n=e(t);p&&n&&O(n)}}}function Ee(t,r,i={}){let{direction:a=`bottom`,interval:o=100,canLoadMore:s=()=>!0}=i,c=d(X(t,{...i,offset:{[a]:i.distance??0,...i.offset}})),l=h(),f=u(()=>!!l.value),m=u(()=>J(e(t))),_=K(m),v=u(()=>m.value?s(m.value):!1);function y(){if(c.measure(),!m.value||!_.value||!v.value||l.value)return;let{scrollHeight:e,clientHeight:t,scrollWidth:n,clientWidth:i}=m.value,s=a===`bottom`||a===`top`?e<=t:n<=i;(c.arrivedState[a]||s)&&(l.value=Promise.all([r(c),new Promise(e=>setTimeout(e,o))]).finally(()=>{l.value=null,p(()=>y())}))}return g(n(()=>[c.arrivedState[a],_.value,v.value],y,{immediate:!0,flush:`post`})),{isLoading:f,reset(){p(()=>y())}}}var De={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function Z(e={}){let{type:t=`page`,touch:n=!0,resetOnTouchEnds:r=!1,initialValue:i={x:0,y:0},window:a=F,target:o=a,scroll:s=!0,eventFilter:c}=e,l=null,u=0,d=0,f=h(i.x),p=h(i.y),m=h(null),g=typeof t==`function`?t:De[t],_=e=>{let t=g(e);l=e,t&&([f.value,p.value]=t,m.value=`mouse`),a&&(u=a.scrollX,d=a.scrollY)},v=e=>{if(e.touches.length>0){let t=g(e.touches[0]);t&&([f.value,p.value]=t,m.value=`touch`)}},y=()=>{if(!l||!a)return;let e=g(l);l instanceof MouseEvent&&e&&(f.value=e[0]+a.scrollX-u,p.value=e[1]+a.scrollY-d)},b=()=>{f.value=i.x,p.value=i.y},x=c?e=>c(()=>_(e),{}):e=>_(e),S=c?e=>c(()=>v(e),{}):e=>v(e),C=c?()=>c(()=>y(),{}):()=>y();if(o){let e={passive:!0};L(o,[`mousemove`,`dragover`],x,e),n&&t!==`movement`&&(L(o,[`touchstart`,`touchmove`],S,e),r&&L(o,`touchend`,b,e)),s&&t===`page`&&L(a,`scroll`,C,e)}return{x:f,y:p,sourceType:m}}function Oe(e,t={}){let{windowResize:r=!0,windowScroll:i=!0,handleOutside:a=!0,window:o=F}=t,s=t.type||`page`,{x:c,y:l,sourceType:u}=Z(t),d=h(e??o?.document.body),f=h(0),p=h(0),m=h(0),g=h(0),_=h(0),v=h(0),y=h(!0);function b(){if(!o)return;let e=I(d);if(!(!e||!(e instanceof Element)))for(let t of e.getClientRects()){let{left:e,top:n,width:r,height:i}=t;m.value=e+(s===`page`?o.pageXOffset:0),g.value=n+(s===`page`?o.pageYOffset:0),_.value=i,v.value=r;let u=c.value-m.value,d=l.value-g.value;if(y.value=r===0||i===0||u<0||d<0||u>r||d>i,(a||!y.value)&&(f.value=u,p.value=d),!y.value)break}}let x=[];function S(){x.forEach(e=>e()),x.length=0}if(N(()=>{b()}),o){let{stop:e}=W(d,b),{stop:t}=B(d,b,{attributeFilter:[`style`,`class`]}),a=n([d,c,l],b);x.push(e,t,a),L(document,`mouseleave`,()=>y.value=!0,{passive:!0}),i&&x.push(L(`scroll`,b,{capture:!0,passive:!0})),r&&x.push(L(`resize`,b,{passive:!0}))}return{x:c,y:l,sourceType:u,elementX:f,elementY:p,elementPositionX:m,elementPositionY:g,elementHeight:_,elementWidth:v,isOutside:y,stop:S}}function ke(e){if(`interval`in e||`immediate`in e){let{interval:t=`requestAnimationFrame`,immediate:n=!0}=e;return t===`requestAnimationFrame`?e=>V(e,{immediate:n}):n=>x(n,t,e)}return V}function Ae(e={}){let{controls:t=!1,scheduler:n=ke(e)}=e,r=h(new Date),i=n(()=>r.value=new Date);return t?{now:r,...i}:r}function je(e){let t=U(`(prefers-reduced-motion: reduce)`,e);return u(()=>t.value?`reduce`:`no-preference`)}function Q(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:Q(t)}}function Me(e){let t=e||window.event,n=t.target;return Q(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}var $=new WeakMap;function Ne(t,r=!1){let i=h(r),a=null,o=``;n(C(t),t=>{let n=J(e(t));if(n){let e=n;if($.get(e)||$.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(o=e.style.overflow),e.style.overflow===`hidden`)return i.value=!0;if(i.value)return e.style.overflow=`hidden`}},{immediate:!0});let s=()=>{let n=J(e(t));!n||i.value||(M&&(a=L(n,`touchmove`,e=>{Me(e)},{passive:!1})),n.style.overflow=`hidden`,i.value=!0)},c=()=>{let n=J(e(t));!n||!i.value||(M&&a?.(),n.style.overflow=o,$.delete(n),i.value=!1)};return b(c),u({get(){return i.value},set(e){e?s():c()}})}function Pe(e,t,i,a={}){var o,s;let{clone:c=!1,passive:l=!1,eventName:d,deep:f=!1,defaultValue:h,shouldEmit:g}=a,_=r(),v=i||_?.emit||(_==null||(o=_.$emit)==null?void 0:o.bind(_))||(_==null||(s=_.proxy)==null||(s=s.$emit)==null?void 0:s.bind(_?.proxy)),y=d;t||=`modelValue`,y||=`update:${t.toString()}`;let b=e=>c?typeof c==`function`?c(e):_e(e):e,x=()=>O(e[t])?b(e[t]):h,S=e=>{g?g(e)&&v(y,e):v(y,e)};if(l){let r=m(x()),i=!1;return n(()=>e[t],e=>{i||(i=!0,r.value=b(e),p(()=>i=!1))}),n(r,n=>{!i&&(n!==e[t]||f)&&S(n)},{deep:f}),r}else return u({get(){return x()},set(e){S(e)}})}export{Pe as C,Ne as S,Oe as _,I as a,W as b,ye as c,K as d,Se as f,G as g,Ee as h,me as i,be as l,Te as m,se as n,ge as o,L as p,de as r,ve as s,ie as t,xe as u,Ae as v,X as x,je as y};
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.