1import{F as e,I as t,J as n,T as r,at as i,c as a,et as o,ht as s,k as c,lt as l,mt as u,ot as d,q as f,rt as p,ut as m,w as h,x as g}from"./C7yQ-Gx9.js";function _(e,t){return o()?(i(e,t),!0):!1}var v=new WeakMap,y=(...e)=>{let t=e[0],n=g()?.proxy??o();if(n==null&&!h())throw Error(`injectLocal must be called in setup`);return n&&v.has(n)&&t in v.get(n)?v.get(n)[t]:r(...e)},b=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var x=e=>e!=null,S=Object.prototype.toString,C=e=>S.call(e)===`[object Object]`,w=()=>{},T=E();function E(){var e,t;return b&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function D(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function O(e,t={}){let n,r,i=w,a=e=>{clearTimeout(e),i(),i=w},o;return s=>{let c=u(e),l=u(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function k(...e){let t=0,n,r=!0,i=w,a,o,s,c,l;!p(e[0])&&typeof e[0]==`object`?{delay:o,trailing:s=!0,leading:c=!0,rejectOnCancel:l=!1}=e[0]:[o,s=!0,c=!0,l=!1]=e;let d=()=>{n&&(clearTimeout(n),n=void 0,i(),i=w)};return e=>{let f=u(o),p=Date.now()-t,m=()=>a=e();return d(),f<=0?(t=Date.now(),m()):(p>f?(t=Date.now(),(c||!r)&&m()):s&&(a=new Promise((e,a)=>{i=l?a:e,n=setTimeout(()=>{t=Date.now(),r=!0,e(m()),d()},Math.max(0,f-p))})),!c&&!n&&(n=setTimeout(()=>r=!0,f)),r=!1,a)}}function A(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function j(e){return Array.isArray(e)?e:[e]}function M(e){return e||g()}function N(e,t=200,n={}){return D(O(t,n),e)}function P(e,t=200,n=!1,r=!0,i=!1){return D(k(t,n,r,i),e)}function F(t,n=!0,r){M(r)?e(t,r):n?t():c(t)}function I(e,n){M(n)&&t(e,n)}function L(e,t=1e3,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=null,o=m(!1);function s(){a&&=(clearInterval(a),null)}function c(){o.value=!1,s()}function d(){let n=u(t);
1n<=0||(o.value=!0,i&&e(),s(),o.value&&(a=setInterval(e,n)))}return r&&b&&d(),(p(t)||typeof t==`function`)&&_(f(t,()=>{o.value&&b&&d()})),_(c),{isActive:l(o),pause:c,resume:d}}function ee(e,t,n){return f(e,t,{...n,immediate:!0})}function te(e,t,n){return f(e,t,{...n,once:!0})}var R=b?window:void 0;b&&window.document,b&&window.navigator,b&&window.location;function z(e){let t=u(e);return t?.$el??t}function B(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=a(()=>{let t=j(u(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return ee(()=>[n.value?.map(e=>z(e))??[R].filter(e=>e!=null),j(u(n.value?e[1]:e[0])),j(s(n.value?e[2]:e[1])),u(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=C(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var V=!1;function ne(e,t,n={}){let{window:r=R,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:w,cancel:w,trigger:w}:w;if(T&&!V){V=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,w,e)),r.document.documentElement.addEventListener(`click`,w,e)}let c=!0,l=e=>u(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=z(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let t=u(e);return t&&t.$.subTree.shapeFlag===16}function f(e,t){let n=u(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let p=n=>{let r=z(e);if(n.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},m=!1,h=[B(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:a}),B(r,`pointerdown`,t=>{let n=z(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&B(r,`blur`,n=>{setTimeout(()=>{let i=z(e),a=r.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return s?{stop:g,cancel:()=>{c=!1},trigger:e=>{c=!0,p(e),c=!1}}:g}function H(){let t=m(!1),n=g();return n&&e(()=>{t.value=!0},n),t}function U(e){let t=H();return a(()=>(t.value,!!e()))}function W(e,t,n={}){let{window:r=R,...i}=n,o,s=U(()=>r&&`MutationObserver`in r),c=()=>{o&&=(o.disconnect(),void 0)},l=f(a(()=>{let t=j(u(e)).map(z).filter(x);return new Set(t)}),e=>{c(),s.value&&e.size&&(o=new MutationObserver(t),e.forEach(e=>o.observe(e,i)))},{immediate:!0,flush:`post`}),d=()=>o?.takeRecords(),p=()=>{l(),c()};return _(p),{isSupported:s,stop:p,takeRecords:d}}function G(e,t={}){let{immediate:n=!0,fpsLimit:r=null,window:i=R,once:o=!1}=t,s=m(!1),c=a(()=>{let e=u(r);return e?1e3/e:null}),d=0,f=null;function p(t){if(!s.value||!i)return;d||=t;let n=t-d;if(c.value&&n<c.value){f=i.requestAnimationFrame(p);return}if(d=t,e({delta:n,timestamp:t}),o){s.value=!1,f=null;return}f=i.requestAnimationFrame(p)}function h(){!s.value&&i&&(s.value=!0,d=0,f=i.requestAnimationFrame(p))}function g(){s.value=!1,f!=null&&i&&(i.cancelAnimationFrame(f),f=null)}return n&&h(),_(g),{isActive:l(s),pause:g,resume:h}}var K=Symbol(`vueuse-ssr-width`);function q(){let e=h()?y(K,null):null;return typeof e==`number`?e:void 0}function J(e,t={}){let{window:r=R,ssrWidth:i=q()}=t,o=U(()=>r&&`matchMedia`in r&&typeof r.matchMedia==`function`),s=m(typeof i==`number`),c=m(),l=m(!1);return n(()=>{if(s.value){s.value=!o.value,l.value=u(e).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>=A(n[1])),r&&a&&(a=i<=A(r[1])),t?!a:a});return}o.value&&(c.value=r.matchMedia(u(e)),l.value=c.value.matches)}),B(c,`change`,e=>{l.value=e.matches},{passive:!0}),a(()=>l.value)}function Y(e,t,n={}){let{window:r=R,...i}=n,o,s=U(()=>r&&`ResizeObserver`in r),c=()=>{o&&=(o.disconnect(),void 0)},l=f(a(()=>{let t=u(e);return Array.isArray(t)?t.map(e=>z(e)):[z(t)]}),e=>{if(c(),s.value&&r){o=new ResizeObserver(t);for(let t of e)t&&o.observe(t,i)}},{immediate:!0,flush:`post`}),d=()=>{c(),l()};return _(d),{isSupported:s,stop:d}}function X(e,t={width:0,height:0},n={}){let{window:r=R,box:i=`content-box`}=n,o=a(()=>{var t;return(t=z(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),s=m(t.width),c=m(t.height),{stop:l}=Y(e,([t])=>{let n=i===`border-box`?t.borderBoxSize:i===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(r&&o.value){let t=z(e);
1if(t){let e=t.getBoundingClientRect();s.value=e.width,c.value=e.height}}else if(n){let e=j(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},n);F(()=>{let n=z(e);n&&(s.value=`offsetWidth`in n?n.offsetWidth:t.width,c.value=`offsetHeight`in n?n.offsetHeight:t.height)});let u=f(()=>z(e),e=>{s.value=e?t.width:0,c.value=e?t.height:0});function d(){l(),u()}return{width:s,height:c,stop:d}}function re(e,t,n={}){let{root:r,rootMargin:i,threshold:o=0,window:s=R,immediate:c=!0}=n,l=U(()=>s&&`IntersectionObserver`in s),d=a(()=>j(u(e)).map(z).filter(x)),p=w,h=m(c),g=l.value?f(()=>[d.value,z(r),u(i),h.value],([e,n,r])=>{if(p(),!h.value||!e.length)return;let i=new IntersectionObserver(t,{root:z(n),rootMargin:r,threshold:o});e.forEach(e=>e&&i.observe(e)),p=()=>{i.disconnect(),p=w}},{immediate:c,flush:`post`}):w,v=()=>{p(),g(),h.value=!1};return _(v),{isSupported:l,isActive:h,pause(){p(),h.value=!1},resume(){h.value=!0},stop:v}}function ie(e,t={}){let{window:n=R,scrollTarget:r,threshold:i=0,rootMargin:a,once:o=!1,initialValue:s=!1}=t,c=m(s),l=re(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&&te(c,()=>{l.stop()})},{root:r,window:n,threshold:i,rootMargin:a});return t.controls?{...l,isVisible:c}:c}function ae(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}var Z=1;function Q(e,t={}){let{throttle:n=0,idle:r=200,onStop:i=w,onScroll:o=w,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=R,onError:h=e=>{console.error(e)}}=t,g=typeof c==`boolean`?{mutation:c}:c,_=m(0),v=m(0),y=a({get(){return _.value},set(e){x(e,void 0)}}),b=a({get(){return v.value},set(e){x(void 0,e)}});function x(t,n){var r,i;if(!p)return;let a=u(e);if(!a)return;(r=a instanceof Document?p.document.body:a)==null||r.scrollTo({top:u(n)??b.value,left:u(t)??y.value,behavior:u(f)});let o=(a==null||(i=a.document)==null?void 0:i.documentElement)||a?.documentElement||a;y!=null&&(_.value=o.scrollLeft),b!=null&&(v.value=o.scrollTop)}let S=m(!1),C=d({left:!0,right:!1,top:!0,bottom:!1}),T=d({left:!1,right:!1,top:!1,bottom:!1}),E=e=>{S.value&&(S.value=!1,T.left=!1,T.right=!1,T.top=!1,T.bottom=!1,i(e))},D=N(E,n+r),O=e=>{var t;if(!p)return;let n=(e==null||(t=e.document)==null?void 0:t.documentElement)||e?.documentElement||z(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)-Z;r===`flex`&&i===`row-reverse`?(C.left=u,C.right=l):(C.left=l,C.right=u),_.value=c;let d=n.scrollTop;e===p.document&&!d&&(d=p.document.body.scrollTop),T.top=d<v.value,T.bottom=d>v.value;let f=Math.abs(d)<=(s.top||0),m=Math.abs(d)+n.clientHeight>=n.scrollHeight-(s.bottom||0)-Z;r===`flex`&&i===`column-reverse`?(C.top=m,C.bottom=f):(C.top=f,C.bottom=m),v.value=d},k=e=>{p&&(O(e.target.documentElement??e.target),S.value=!0,D(e),o(e))};return B(e,`scroll`,n?P(k,n,!0,!1):k,l),F(()=>{try{let t=u(e);if(!t)return;O(t)}catch(e){h(e)}}),g?.mutation&&e!=null&&e!==p&&e!==document&&W(e,()=>{let t=u(e);t&&O(t)},{attributes:!0,childList:!0,subtree:!0}),B(e,`scrollend`,E,l),{x:y,y:b,isScrolling:S,arrivedState:C,directions:T,measure(){let t=u(e);p&&t&&O(t)}}}function oe(e,t,n={}){let{direction:r=`bottom`,interval:i=100,canLoadMore:o=()=>!0}=n,s=d(Q(e,{...n,offset:{[r]:n.distance??0,...n.offset}})),l=m(),p=a(()=>!!l.value),h=a(()=>ae(u(e))),g=ie(h),_=a(()=>h.value?o(h.value):!1);function v(){if(s.measure(),!h.value||!g.value||!_.value||l.value)return;let{scrollHeight:e,clientHeight:n,scrollWidth:a,clientWidth:o}=h.value,u=r===`bottom`||r===`top`?e<=n:a<=o;(s.arrivedState[r]||u)&&(l.value=Promise.all([t(s),new Promise(e=>setTimeout(e,i))]).finally(()=>{l.value=null,c(()=>v())}))}return I(f(()=>[s.arrivedState[r],g.value,_.value],v,{immediate:!0,flush:`post`})),{isLoading:p,reset(){c(()=>v())}}}function $(e){if(`interval`in e||`immediate`in e){let{interval:t=`requestAnimationFrame`,immediate:n=!0}=e;return t===`requestAnimationFrame`?e=>G(e,{immediate:n}):n=>L(n,t,e)}return G}function se(e={}){let{controls:t=!1,scheduler:n=$(e)}=e,r=m(new Date),i=n(()=>r.value=new Date);return t?{now:r,...i}:r}var ce=[{max:6e4,value:1e3,name:`second`},{max:276e4,value:6e4,name:`minute`},{max:72e6,value:36e5,name:`hour`},{max:5184e5,value:864e5,name:`day`},{max:24192e5,value:6048e5,name:`week`},{max:28512e6,value:2592e6,name:`month`},{max:1/0,value:31536e6,name:`year`}],le={justNow:`just now`,past:e=>/\d/.test(e)?`${e} ago`:e,future:e=>/\d/.test(e)?`in ${e}`:e,month:(e,t)=>e===1?t?`last month`:`next month`:`${e} month${e>1?`s`:``}`,year:(e,t)=>
1e===1?t?`last year`:`next year`:`${e} year${e>1?`s`:``}`,day:(e,t)=>e===1?t?`yesterday`:`tomorrow`:`${e} day${e>1?`s`:``}`,week:(e,t)=>e===1?t?`last week`:`next week`:`${e} week${e>1?`s`:``}`,hour:e=>`${e} hour${e>1?`s`:``}`,minute:e=>`${e} minute${e>1?`s`:``}`,second:e=>`${e} second${e>1?`s`:``}`,invalid:``};function ue(e){return e.toISOString().slice(0,10)}function de(e){if(`updateInterval`in e){let{updateInterval:t=3e4}=e;return e=>L(e,t)}return e=>L(e,3e4)}function fe(e,t={}){let{controls:n=!1,scheduler:r=de(t)}=t,{now:i,...o}=se({scheduler:r,controls:!0}),s=a(()=>pe(new Date(u(e)),t,u(i)));return n?{timeAgo:s,...o}:s}function pe(e,t={},n=Date.now()){let{max:r,messages:i=le,fullDateFormatter:a=ue,units:o=ce,showSecond:s=!1,rounding:c=`round`}=t,l=typeof c==`number`?e=>+e.toFixed(c):Math[c],u=n-+e,d=Math.abs(u);function f(e,t){return l(Math.abs(e)/t.value)}function p(e,t){let n=f(e,t),r=e>0,i=m(t.name,n,r);return m(r?`past`:`future`,i,r)}function m(e,t,n){let r=i[e];return typeof r==`function`?r(t,n):r.replace(`{0}`,t.toString())}if(d<6e4&&!s)return i.justNow;if(typeof r==`number`&&d>r)return a(new Date(e));if(typeof r==`string`){let t=o.find(e=>e.name===r)?.max;if(t&&d>t)return a(new Date(e))}for(let[e,t]of o.entries()){if(f(u,t)<=0&&o[e-1])return p(u,o[e-1]);if(d<t.max)return p(u,t)}return i.invalid}function me(e={}){let{window:t=R,...n}=e;return Q(t,n)}function he(e={}){let{window:t=R,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:i=!0,includeScrollbar:a=!0,type:o=`inner`}=e,s=m(n),c=m(r),l=()=>{if(t)if(o===`outer`)s.value=t.outerWidth,c.value=t.outerHeight;else if(o===`visual`&&t.visualViewport){let{width:e,height:n,scale:r}=t.visualViewport;s.value=Math.round(e*r),c.value=Math.round(n*r)}else a?(s.value=t.innerWidth,c.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};l(),F(l);let u={passive:!0};return B(`resize`,l,u),t&&o===`visual`&&t.visualViewport&&B(t.visualViewport,`resize`,l,u),i&&f(J(`(orientation: portrait)`),()=>l()),{width:s,height:c}}export{me as a,fe as i,X as n,he as o,oe as r,N as s,ne as 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.