import{u as Te,g as me,J as pe,e as b,bF as Z,aC as _e,aD as Ce,bG as ee,bH as he,bI as Oe,x as xe,G as We,bJ as Ae,w as L,f as x,bK as se,a9 as De,a0 as K,bL as Ve}from"./index-DUs41D0m.js";function z(e){return _e()?(Ce(e),!0):!1}const Q=new WeakMap,Ne=(...e)=>{var t;const n=e[0],r=(t=ee())==null?void 0:t.proxy;if(r==null&&!he())throw new Error("injectLocal must be called in setup");return r&&Q.has(r)&&n in Q.get(r)?Q.get(r)[n]:Oe(...e)};function T(e){return typeof e=="function"?e():Te(e)}const Y=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Me=e=>e!=null,Le=Object.prototype.toString,ke=e=>Le.call(e)==="[object Object]",F=()=>{};function te(e,t){function n(...r){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(o)})}return n}const we=e=>e();function Re(e,t={}){let n,r,i=F;const o=s=>{clearTimeout(s),i(),i=F};return s=>{const c=T(e),u=T(t.maxWait);return n&&o(n),c<=0||u!==void 0&&u<=0?(r&&(o(r),r=null),Promise.resolve(s())):new Promise((d,f)=>{i=t.rejectOnCancel?f:d,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,d(s())},u)),n=setTimeout(()=>{r&&o(r),r=null,d(s())},c)})}}function Fe(...e){let t=0,n,r=!0,i=F,o,a,s,c,u;!xe(e[0])&&typeof e[0]=="object"?{delay:a,trailing:s=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[a,s=!0,c=!0,u=!1]=e;const d=()=>{n&&(clearTimeout(n),n=void 0,i(),i=F)};return m=>{const l=T(a),v=Date.now()-t,w=()=>o=m();return d(),l<=0?(t=Date.now(),w()):(v>l&&(c||!r)?(t=Date.now(),w()):s&&(o=new Promise((g,E)=>{i=u?E:g,n=setTimeout(()=>{t=Date.now(),r=!0,g(w()),d()},Math.max(0,l-v))})),!c&&!n&&(n=setTimeout(()=>r=!0,l)),r=!1,o)}}function je(e=we){const t=b(!0);function n(){t.value=!1}function r(){t.value=!0}const i=(...o)=>{t.value&&e(...o)};return{isActive:Z(t),pause:n,resume:r,eventFilter:i}}function Pe(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Ie(e,t){var n;if(typeof e=="number")return e+t;const r=((n=e.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",i=e.slice(r.length),o=Number.parseFloat(r)+t;return Number.isNaN(o)?e:o+i}function B(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ze(e){return ee()}function He(...e){if(e.length!==1)return We(...e);const t=e[0];return typeof t=="function"?Z(Ae(()=>({get:t,set:F}))):b(t)}function ge(e,t=200,n={}){return te(Re(t,n),e)}function $e(e,t=200,n=!1,r=!0,i=!1){return te(Fe(t,n,r,i),e)}function Be(e,t,n={}){const{eventFilter:r=we,...i}=n;return L(e,te(r,t),i)}function Je(e,t,n={}){const{eventFilter:r,...i}=n,{eventFilter:o,pause:a,resume:s,isActive:c}=je(r);return{stop:Be(e,t,{...i,eventFilter:o}),pause:a,resume:s,isActive:c}}function H(e,t=!0,n){ze()?me(e,n):t?e():pe(e)}function qe(e,t,n={}){const{immediate:r=!0}=n,i=b(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function s(){i.value=!1,a()}function c(...u){a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=null,e(...u)},T(t))}return r&&(i.value=!0,Y&&c()),z(s),{isPending:Z(i),start:c,stop:s}}const V=Y?window:void 0,ne=Y?window.navigator:void 0;function k(e){var t;const n=T(e);return(t=n==null?void 0:n.$el)!=null?t:n}function M(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=V):[t,n,r,i]=e,!t)return F;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],a=()=>{o.forEach(d=>d()),o.length=0},s=(d,f,m,l)=>(d.addEventListener(f,m,l),()=>d.removeEventListener(f,m,l)),c=L(()=>[k(t),T(i)],([d,f])=>{if(a(),!d)return;const m=ke(f)?{...f}:f;o.push(...n.flatMap(l=>r.map(v=>s(d,l,v,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),a()};return z(u),u}function Ge(){const e=b(!1),t=ee();return t&&me(()=>{e.value=!0},t),e}function $(e){const t=Ge();return x(()=>(t.value,!!e()))}function ye(e,t,n={}){const{window:r=V,...i}=n;let o;const a=$(()=>r&&"MutationObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},c=x(()=>{const m=T(e),l=(Array.isArray(m)?m:[m]).map(k).filter(Me);return new Set(l)}),u=L(()=>c.value,m=>{s(),a.value&&m.size&&(o=new MutationObserver(t),m.forEach(l=>o.observe(l,i)))},{immediate:!0,flush:"post"}),d=()=>o==null?void 0:o.takeRecords(),f=()=>{u(),s()};return z(f),{isSupported:a,stop:f,takeRecords:d}}const Ue=Symbol("vueuse-ssr-width");function be(){const e=he()?Ne(Ue,null):null;return typeof e=="number"?e:void 0}function I(e,t={}){const{window:n=V,ssrWidth:r=be()}=t,i=$(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=b(typeof r=="number");let a;const s=b(!1),c=f=>{s.value=f.matches},u=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",c):a.removeListener(c))},d=De(()=>{if(o.value){o.value=!i.value;const f=T(e).split(",");s.value=f.some(m=>{const l=m.includes("not all"),v=m.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),w=m.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(v||w);return v&&g&&(g=r>=B(v[1])),w&&g&&(g=r<=B(w[1])),l?!g:g});return}i.value&&(u(),a=n.matchMedia(T(e)),"addEventListener"in a?a.addEventListener("change",c):a.addListener(c),s.value=a.matches)});return z(()=>{d(),u(),a=void 0}),x(()=>s.value)}const ot={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function it(e,t={}){function n(l,v){let w=T(e[T(l)]);return v!=null&&(w=Ie(w,v)),typeof w=="number"&&(w=`${w}px`),w}const{window:r=V,strategy:i="min-width",ssrWidth:o=be()}=t,a=typeof o=="number",s=a?b(!1):{value:!0};a&&H(()=>s.value=!!r);function c(l,v){return!s.value&&a?l==="min"?o>=B(v):o<=B(v):r?r.matchMedia(`(${l}-width: ${v})`).matches:!1}const u=l=>I(()=>`(min-width: ${n(l)})`,t),d=l=>I(()=>`(max-width: ${n(l)})`,t),f=Object.keys(e).reduce((l,v)=>(Object.defineProperty(l,v,{get:()=>i==="min-width"?u(v):d(v),enumerable:!0,configurable:!0}),l),{});function m(){const l=Object.keys(e).map(v=>[v,f[v],B(n(v))]).sort((v,w)=>v[2]-w[2]);return x(()=>l.filter(([,v])=>v.value).map(([v])=>v))}return Object.assign(f,{greaterOrEqual:u,smallerOrEqual:d,greater(l){return I(()=>`(min-width: ${n(l,.1)})`,t)},smaller(l){return I(()=>`(max-width: ${n(l,-.1)})`,t)},between(l,v){return I(()=>`(min-width: ${n(l)}) and (max-width: ${n(v,-.1)})`,t)},isGreater(l){return c("min",n(l,.1))},isGreaterOrEqual(l){return c("min",n(l))},isSmaller(l){return c("max",n(l,-.1))},isSmallerOrEqual(l){return c("max",n(l))},isInBetween(l,v){return c("min",n(l))&&c("max",n(v,-.1))},current:m,active(){const l=m();return x(()=>l.value.length===0?"":l.value.at(i==="min-width"?-1:0))}})}function X(e,t={}){const{controls:n=!1,navigator:r=ne}=t,i=$(()=>r&&"permissions"in r),o=K(),a=typeof e=="string"?{name:e}:e,s=K(),c=()=>{var d,f;s.value=(f=(d=o.value)==null?void 0:d.state)!=null?f:"prompt"};M(o,"change",c);const u=Pe(async()=>{if(i.value){if(!o.value)try{o.value=await r.permissions.query(a)}catch{o.value=void 0}finally{c()}if(n)return Ve(o.value)}});return u(),n?{state:s,isSupported:i,query:u}:s}function at(e={}){const{navigator:t=ne,read:n=!1,source:r,copiedDuring:i=1500,legacy:o=!1}=e,a=$(()=>t&&"clipboard"in t),s=X("clipboard-read"),c=X("clipboard-write"),u=x(()=>a.value||o),d=b(""),f=b(!1),m=qe(()=>f.value=!1,i);function l(){a.value&&E(s.value)?t.clipboard.readText().then(p=>{d.value=p}):d.value=g()}u.value&&n&&M(["copy","cut"],l);async function v(p=T(r)){u.value&&p!=null&&(a.value&&E(c.value)?await t.clipboard.writeText(p):w(p),d.value=p,f.value=!0,m.start())}function w(p){const A=document.createElement("textarea");A.value=p??"",A.style.position="absolute",A.style.opacity="0",document.body.appendChild(A),A.select(),document.execCommand("copy"),A.remove()}function g(){var p,A,C;return(C=(A=(p=document==null?void 0:document.getSelection)==null?void 0:p.call(document))==null?void 0:A.toString())!=null?C:""}function E(p){return p==="granted"||p==="prompt"}return{isSupported:u,text:d,copied:f,copy:v}}const J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},q="__vueuse_ssr_handlers__",Ke=Ye();function Ye(){return q in J||(J[q]=J[q]||{}),J[q]}function Se(e,t){return Ke[e]||t}function Qe(e){return I("(prefers-color-scheme: dark)",e)}function Xe(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ze={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ue="vueuse-storage";function Ee(e,t,n,r={}){var i;const{flush:o="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:d,window:f=V,eventFilter:m,onError:l=h=>{console.error(h)},initOnMounted:v}=r,w=(d?K:b)(typeof t=="function"?t():t);if(!n)try{n=Se("getDefaultStorage",()=>{var h;return(h=V)==null?void 0:h.localStorage})()}catch(h){l(h)}if(!n)return w;const g=T(t),E=Xe(g),p=(i=r.serializer)!=null?i:Ze[E],{pause:A,resume:C}=Je(w,()=>j(w.value),{flush:o,deep:a,eventFilter:m});f&&s&&H(()=>{n instanceof Storage?M(f,"storage",D):M(f,ue,O),v&&D()}),v||D();function N(h,S){if(f){const _={key:e,oldValue:h,newValue:S,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",_):new CustomEvent(ue,{detail:_}))}}function j(h){try{const S=n.getItem(e);if(h==null)N(S,null),n.removeItem(e);else{const _=p.write(h);S!==_&&(n.setItem(e,_),N(S,_))}}catch(S){l(S)}}function y(h){const S=h?h.newValue:n.getItem(e);if(S==null)return c&&g!=null&&n.setItem(e,p.write(g)),g;if(!h&&u){const _=p.read(S);return typeof u=="function"?u(_,g):E==="object"&&!Array.isArray(_)?{...g,..._}:_}else return typeof S!="string"?S:p.read(S)}function D(h){if(!(h&&h.storageArea!==n)){if(h&&h.key==null){w.value=g;return}if(!(h&&h.key!==e)){A();try{(h==null?void 0:h.newValue)!==p.write(w.value)&&(w.value=y(h))}catch(S){l(S)}finally{h?pe(C):C()}}}}function O(h){D(h.detail)}return w}const et="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function tt(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:i=V,storage:o,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:c,emitAuto:u,disableTransition:d=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},m=Qe({window:i}),l=x(()=>m.value?"dark":"light"),v=c||(a==null?He(r):Ee(a,r,o,{window:i,listenToStorageChanges:s})),w=x(()=>v.value==="auto"?l.value:v.value),g=Se("updateHTMLAttrs",(C,N,j)=>{const y=typeof C=="string"?i==null?void 0:i.document.querySelector(C):k(C);if(!y)return;const D=new Set,O=new Set;let h=null;if(N==="class"){const _=j.split(/\s/g);Object.values(f).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{_.includes(W)?D.add(W):O.add(W)})}else h={key:N,value:j};if(D.size===0&&O.size===0&&h===null)return;let S;d&&(S=i.document.createElement("style"),S.appendChild(document.createTextNode(et)),i.document.head.appendChild(S));for(const _ of D)y.classList.add(_);for(const _ of O)y.classList.remove(_);h&&y.setAttribute(h.key,h.value),d&&(i.getComputedStyle(S).opacity,document.head.removeChild(S))});function E(C){var N;g(t,n,(N=f[C])!=null?N:C)}function p(C){e.onChanged?e.onChanged(C,E):E(C)}L(w,p,{flush:"post",immediate:!0}),H(()=>p(w.value));const A=x({get(){return u?v.value:w.value},set(C){v.value=C}});return Object.assign(A,{store:v,system:l,state:w})}function G(e,t,n={}){const{window:r=V,initialValue:i,observe:o=!1}=n,a=b(i),s=x(()=>{var u;return k(t)||((u=r==null?void 0:r.document)==null?void 0:u.documentElement)});function c(){var u;const d=T(e),f=T(s);if(f&&r&&d){const m=(u=r.getComputedStyle(f).getPropertyValue(d))==null?void 0:u.trim();a.value=m||i}}return o&&ye(s,c,{attributeFilter:["style","class"],window:r}),L([s,()=>T(e)],(u,d)=>{d[0]&&d[1]&&d[0].style.removeProperty(d[1]),c()},{immediate:!0}),L(a,u=>{var d;const f=T(e);(d=s.value)!=null&&d.style&&f&&(u==null?s.value.style.removeProperty(f):s.value.style.setProperty(f,u))}),a}function st(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=tt({...e,onChanged:(a,s)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,a==="dark",s,a):s(a)},modes:{dark:t,light:n}}),i=x(()=>r.system.value);return x({get(){return r.value==="dark"},set(a){const s=a?"dark":"light";i.value===s?r.value="auto":r.value=s}})}function ut(e={}){const{navigator:t=ne,requestPermissions:n=!1,constraints:r={audio:!0,video:!0},onUpdated:i}=e,o=b([]),a=x(()=>o.value.filter(v=>v.kind==="videoinput")),s=x(()=>o.value.filter(v=>v.kind==="audioinput")),c=x(()=>o.value.filter(v=>v.kind==="audiooutput")),u=$(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),d=b(!1);let f;async function m(){u.value&&(o.value=await t.mediaDevices.enumerateDevices(),i==null||i(o.value),f&&(f.getTracks().forEach(v=>v.stop()),f=null))}async function l(){if(!u.value)return!1;if(d.value)return!0;const{state:v,query:w}=X("camera",{controls:!0});if(await w(),v.value!=="granted"){let g=!0;try{f=await t.mediaDevices.getUserMedia(r)}catch{f=null,g=!1}m(),d.value=g}else d.value=!0;return d.value}return u.value&&(n&&l(),M(t.mediaDevices,"devicechange",m),m()),{devices:o,ensurePermissions:l,permissionGranted:d,videoInputs:a,audioInputs:s,audioOutputs:c,isSupported:u}}function nt(e,t,n={}){const{window:r=V,...i}=n;let o;const a=$(()=>r&&"ResizeObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},c=x(()=>{const f=T(e);return Array.isArray(f)?f.map(m=>k(m)):[k(f)]}),u=L(c,f=>{if(s(),a.value&&r){o=new ResizeObserver(t);for(const m of f)m&&o.observe(m,i)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return z(d),{isSupported:a,stop:d}}function lt(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:o=!0,updateTiming:a="sync"}=t,s=b(0),c=b(0),u=b(0),d=b(0),f=b(0),m=b(0),l=b(0),v=b(0);function w(){const E=k(e);if(!E){n&&(s.value=0,c.value=0,u.value=0,d.value=0,f.value=0,m.value=0,l.value=0,v.value=0);return}const p=E.getBoundingClientRect();s.value=p.height,c.value=p.bottom,u.value=p.left,d.value=p.right,f.value=p.top,m.value=p.width,l.value=p.x,v.value=p.y}function g(){a==="sync"?w():a==="next-frame"&&requestAnimationFrame(()=>w())}return nt(e,g),L(()=>k(e),E=>!E&&g()),ye(e,g,{attributeFilter:["style","class"]}),i&&M("scroll",g,{capture:!0,passive:!0}),r&&M("resize",g,{passive:!0}),H(()=>{o&&g()}),{height:s,bottom:c,left:u,right:d,top:f,width:m,x:l,y:v,update:g}}const le=1;function ct(e,t={}){const{throttle:n=0,idle:r=200,onStop:i=F,onScroll:o=F,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:c="auto",window:u=V,onError:d=y=>{console.error(y)}}=t,f=b(0),m=b(0),l=x({get(){return f.value},set(y){w(y,void 0)}}),v=x({get(){return m.value},set(y){w(void 0,y)}});function w(y,D){var O,h,S,_;if(!u)return;const W=T(e);if(!W)return;(S=W instanceof Document?u.document.body:W)==null||S.scrollTo({top:(O=T(D))!=null?O:v.value,left:(h=T(y))!=null?h:l.value,behavior:T(c)});const R=((_=W==null?void 0:W.document)==null?void 0:_.documentElement)||(W==null?void 0:W.documentElement)||W;l!=null&&(f.value=R.scrollLeft),v!=null&&(m.value=R.scrollTop)}const g=b(!1),E=se({left:!0,right:!1,top:!0,bottom:!1}),p=se({left:!1,right:!1,top:!1,bottom:!1}),A=y=>{g.value&&(g.value=!1,p.left=!1,p.right=!1,p.top=!1,p.bottom=!1,i(y))},C=ge(A,n+r),N=y=>{var D;if(!u)return;const O=((D=y==null?void 0:y.document)==null?void 0:D.documentElement)||(y==null?void 0:y.documentElement)||k(y),{display:h,flexDirection:S,direction:_}=getComputedStyle(O),W=_==="rtl"?-1:1,R=O.scrollLeft;p.left=R<f.value,p.right=R>f.value;const re=R*W<=(a.left||0),oe=R*W+O.clientWidth>=O.scrollWidth-(a.right||0)-le;h==="flex"&&S==="row-reverse"?(E.left=oe,E.right=re):(E.left=re,E.right=oe),f.value=R;let P=O.scrollTop;y===u.document&&!P&&(P=u.document.body.scrollTop),p.top=P<m.value,p.bottom=P>m.value;const ie=P<=(a.top||0),ae=P+O.clientHeight>=O.scrollHeight-(a.bottom||0)-le;h==="flex"&&S==="column-reverse"?(E.top=ae,E.bottom=ie):(E.top=ie,E.bottom=ae),m.value=P},j=y=>{var D;if(!u)return;const O=(D=y.target.documentElement)!=null?D:y.target;N(O),g.value=!0,C(y),o(y)};return M(e,"scroll",n?$e(j,n,!0,!1):j,s),H(()=>{try{const y=T(e);if(!y)return;N(y)}catch(y){d(y)}}),M(e,"scrollend",A,s),{x:l,y:v,isScrolling:g,arrivedState:E,directions:p,measure(){const y=T(e);u&&y&&N(y)}}}function ft(e,t,n={}){const{window:r=V}=n;return Ee(e,t,r==null?void 0:r.localStorage,n)}const ce="--vueuse-safe-area-top",fe="--vueuse-safe-area-right",de="--vueuse-safe-area-bottom",ve="--vueuse-safe-area-left";function dt(){const e=b(""),t=b(""),n=b(""),r=b("");if(Y){const o=G(ce),a=G(fe),s=G(de),c=G(ve);o.value="env(safe-area-inset-top, 0px)",a.value="env(safe-area-inset-right, 0px)",s.value="env(safe-area-inset-bottom, 0px)",c.value="env(safe-area-inset-left, 0px)",i(),M("resize",ge(i))}function i(){e.value=U(ce),t.value=U(fe),n.value=U(de),r.value=U(ve)}return{top:e,right:t,bottom:n,left:r,update:i}}function U(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function vt(e,t,n){const{window:r=V}={},i=b(null),o=K(),a=(...c)=>{o.value&&o.value.postMessage(...c)},s=function(){o.value&&o.value.terminate()};return r&&(o.value=new Worker(e,t),o.value.onmessage=c=>{i.value=c.data},z(()=>{o.value&&o.value.terminate()})),{data:i,post:a,terminate:s,worker:o}}function mt(e={}){const{window:t=V,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:o=!0,type:a="inner"}=e,s=b(n),c=b(r),u=()=>{if(t)if(a==="outer")s.value=t.outerWidth,c.value=t.outerHeight;else if(a==="visual"&&t.visualViewport){const{width:d,height:f,scale:m}=t.visualViewport;s.value=Math.round(d*m),c.value=Math.round(f*m)}else o?(s.value=t.innerWidth,c.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};if(u(),H(u),M("resize",u,{passive:!0}),t&&a==="visual"&&t.visualViewport&&M(t.visualViewport,"resize",u,{passive:!0}),i){const d=I("(orientation: portrait)");L(d,()=>u())}return{width:s,height:c}}export{ft as a,ut as b,st as c,X as d,vt as e,lt as f,ct as g,it as h,ot as i,mt as j,at as k,H as t,dt as u}; | |