import{c as d,r as y}from"./index-DHiKqTn6.js";import{b as p,u,M as m,m as x,h as M,c as b,f as A,q as i}from"./proxy-BXQS6Wzy.js";const B=d("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);const H=d("Tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]]);const I=d("WandSparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);function v(...t){const s=!Array.isArray(t[0]),e=s?0:-1,n=t[0+e],o=t[1+e],c=t[2+e],a=t[3+e],r=p(o,c,a);return s?r(n):r}function V(t){const s=u(()=>x(t)),{isStatic:e}=y.useContext(m);if(e){const[,n]=y.useState(t);y.useEffect(()=>s.on("change",n),[])}return s}function h(t,s){const e=V(s()),n=()=>e.set(s());return n(),M(()=>{const o=()=>A.preRender(n,!1,!0),c=t.map(a=>a.on("change",o));return()=>{c.forEach(a=>a()),b(n)}}),e}function C(t){i.current=[],t();const s=h(i.current,t);return i.current=void 0,s}function L(t,s,e,n){if(typeof t=="function")return C(t);if(e!==void 0&&!Array.isArray(e)&&typeof s!="function")return E(t,s,e,n);const a=typeof s=="function"?s:v(s,e,n),r=Array.isArray(t)?l(t,a):l([t],([k])=>a(k)),f=Array.isArray(t)?void 0:t.accelerate;return f&&!f.isTransformed&&typeof s!="function"&&Array.isArray(e)&&n?.clamp!==!1&&(r.accelerate={...f,times:s,keyframes:e,isTransformed:!0}),r}function l(t,s){const e=u(()=>[]);return h(t,()=>{e.length=0;const n=t.length;for(let o=0;o<n;o++)e[o]=t[o].get();return s(e)})}function E(t,s,e,n){const o=u(()=>Object.keys(e)),c=u(()=>({}));for(const a of o)c[a]=L(t,s,e[a],n);return c}export{B,H as T,I as W,V as a,L as u};
