import{x as p,u as Q,z as N,A as B,B as L,C as A,D as W,E as D,G as F}from"./entry.5c8819da.js";var _;const f=typeof window<"u",G=e=>typeof e=="string",m=()=>{};f&&((_=window==null?void 0:window.navigator)==null?void 0:_.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function g(e){return typeof e=="function"?e():Q(e)}function R(e){return e}function E(e){return A()?(W(e),!0):!1}function U(e,t=!0){N()?B(e):t?e():L(e)}function j(e,t,n={}){const{immediate:s=!0}=n,a=p(!1);let u=null;function c(){u&&(clearTimeout(u),u=null)}function r(){a.value=!1,c()}function i(...d){c(),a.value=!0,u=setTimeout(()=>{a.value=!1,u=null,e(...d)},g(t))}return s&&(a.value=!0,f&&i()),E(r),{isPending:a,start:i,stop:r}}function k(e){var t;const n=g(e);return(t=n==null?void 0:n.$el)!=null?t:n}const H=f?window:void 0;f&&window.document;const M=f?window.navigator:void 0;f&&window.location;function z(...e){let t,n,s,a;if(G(e[0])?([n,s,a]=e,t=H):[t,n,s,a]=e,!t)return m;let u=m;const c=F(()=>k(t),i=>{u(),i&&(i.addEventListener(n,s,a),u=()=>{i.removeEventListener(n,s,a),u=m})},{immediate:!0,flush:"post"}),r=()=>{c(),u()};return E(r),r}function K(e,t=!1){const n=p(),s=()=>n.value=Boolean(e());return s(),U(s,t),n}function Z(e={}){const{navigator:t=M,read:n=!1,source:s,copiedDuring:a=1500,legacy:u=!1}=e,c=["copy","cut"],r=K(()=>t&&"clipboard"in t),i=D(()=>r.value||u),d=p(""),v=p(!1),T=j(()=>v.value=!1,a);function x(){r.value?t.clipboard.readText().then(o=>{d.value=o}):d.value=h()}if(i.value&&n)for(const o of c)z(o,x);async function P(o=g(s)){i.value&&o!=null&&(r.value?await t.clipboard.writeText(o):S(o),d.value=o,v.value=!0,T.start())}function S(o){const l=document.createElement("textarea");l.value=o!=null?o:"",l.style.position="absolute",l.style.opacity="0",document.body.appendChild(l),l.select(),document.execCommand("copy"),l.remove()}function h(){var o,l,w;return(w=(l=(o=document==null?void 0:document.getSelection)==null?void 0:o.call(document))==null?void 0:l.toString())!=null?w:""}return{isSupported:i,text:d,copied:v,copy:P}}const O=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},y="__vueuse_ssr_handlers__";O[y]=O[y]||{};O[y];var I;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(I||(I={}));var V=Object.defineProperty,b=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,C=(e,t,n)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||(t={}))$.call(t,n)&&C(e,n,t[n]);if(b)for(var n of b(t))q.call(t,n)&&C(e,n,t[n]);return e};const X={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};J({linear:R},X);export{Z as u};
