react-grab 0.0.59 → 0.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,43 +6,43 @@ var ReactGrab=(function(exports){'use strict';/**
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- var ms=(e,t)=>e===t;var ps=Symbol("solid-track"),nn={equals:ms},lo=ho,Te=1,Lt=2,co={owned:null,cleanups:null,context:null,owner:null},Xn={},Z=null,x=null,ft=null,re=null,de=null,he=null,on=0;function ot(e,t){let n=re,r=Z,i=e.length===0,o=t===void 0?r:t,s=i?co:{owned:null,cleanups:null,context:o?o.context:null,owner:o},l=i?e:()=>e(()=>xe(()=>Ye(s)));Z=s,re=null;try{return Ee(l,!0)}finally{re=n,Z=r;}}function L(e,t){t=t?Object.assign({},nn,t):nn;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=i=>(typeof i=="function"&&(i=i(n.value)),go(n,i));return [po.bind(n),r]}function ro(e,t,n){let r=an(e,t,true,Te);pt(r);}function se(e,t,n){let r=an(e,t,false,Te);pt(r);}function Q(e,t,n){lo=ws;let r=an(e,t,false,Te);(r.user=true),he?he.push(r):pt(r);}function ie(e,t,n){n=n?Object.assign({},nn,n):nn;let r=an(e,t,true,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,pt(r),po.bind(r)}function gs(e){return e&&typeof e=="object"&&"then"in e}function sn(e,t,n){let r,i,o;typeof t=="function"?(r=e,i=t,o={}):(r=true,i=e,o=t||{});let s=null,l=Xn,p=false,b="initialValue"in o,M=typeof r=="function"&&ie(r),w=new Set,[v,S]=(o.storage||L)(o.initialValue),[P,E]=L(void 0),[T,_]=L(void 0,{equals:false}),[z,N]=L(b?"ready":"unresolved");function j(y,m,u,h){return s===y&&(s=null,h!==void 0&&(b=true),(y===l||m===l)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(h,{value:m})),l=Xn,q(m,u)),m}function q(y,m){Ee(()=>{m===void 0&&S(()=>y),N(m!==void 0?"errored":b?"ready":"unresolved"),E(m);for(let u of w.keys())u.decrement();w.clear();},false);}function ne(){let y=Ot,m=v(),u=P();if(u!==void 0&&!s)throw u;return re&&!re.user&&y,m}function Y(y=true){if(y!==false&&p)return;p=false;let m=M?M():r;if(m==null||m===false){j(s,xe(v));return}let u,h=l!==Xn?l:xe(()=>{try{return i(m,{value:v(),refetching:y})}catch(I){u=I;}});if(u!==void 0){j(s,void 0,tn(u),m);return}else if(!gs(h))return j(s,h,void 0,m),h;return s=h,"v"in h?(h.s===1?j(s,h.v,void 0,m):j(s,void 0,tn(h.v),m),h):(p=true,queueMicrotask(()=>p=false),Ee(()=>{N(b?"refreshing":"pending"),_();},false),h.then(I=>j(h,I,void 0,m),I=>j(h,void 0,tn(I),m)))}Object.defineProperties(ne,{state:{get:()=>z()},error:{get:()=>P()},loading:{get(){let y=z();return y==="pending"||y==="refreshing"}},latest:{get(){if(!b)return ne();let y=P();if(y&&!s)throw y;return v()}}});let J=Z;return M?ro(()=>(J=Z,Y(false))):Y(false),[ne,{refetch:y=>fo(J,()=>Y(y)),mutate:S}]}function xe(e){if(re===null)return e();let t=re;re=null;try{return ft?ft.untrack(e):e()}finally{re=t;}}function be(e,t,n){let r=Array.isArray(e),i;return s=>{let l;if(r){l=Array(e.length);for(let d=0;d<e.length;d++)l[d]=e[d]();}else l=e();let c=xe(()=>t(l,i,s));return i=l,c}}function uo(e){Q(()=>xe(e));}function ve(e){return Z===null||(Z.cleanups===null?Z.cleanups=[e]:Z.cleanups.push(e)),e}function fo(e,t){let n=Z,r=re;Z=e,re=null;try{return Ee(t,!0)}catch(i){ln(i);}finally{Z=n,re=r;}}var[oc,oo]=L(false);var Ot;function po(){let e=x;if(this.sources&&(this.state))if((this.state)===Te)pt(this);else {let t=de;de=null,Ee(()=>rn(this),false),de=t;}if(re){let t=this.observers?this.observers.length:0;re.sources?(re.sources.push(this),re.sourceSlots.push(t)):(re.sources=[this],re.sourceSlots=[t]),this.observers?(this.observers.push(re),this.observerSlots.push(re.sources.length-1)):(this.observers=[re],this.observerSlots=[re.sources.length-1]);}return e&&x.sources.has(this)?this.tValue:this.value}function go(e,t,n){let r=e.value;if(!e.comparator||!e.comparator(r,t)){e.value=t;e.observers&&e.observers.length&&Ee(()=>{for(let i=0;i<e.observers.length;i+=1){let o=e.observers[i],s=x&&x.running;s&&x.disposed.has(o)||((s?!o.tState:!o.state)&&(o.pure?de.push(o):he.push(o),o.observers&&bo(o)),s?o.tState=Te:o.state=Te);}if(de.length>1e6)throw de=[],new Error},false);}return t}function pt(e){if(!e.fn)return;Ye(e);let t=on;io(e,e.value,t);}function io(e,t,n){let r,i=Z,o=re;re=Z=e;try{r=e.fn(t);}catch(s){return e.pure&&((e.state=Te,e.owned&&e.owned.forEach(Ye),e.owned=null)),e.updatedAt=n+1,ln(s)}finally{re=o,Z=i;}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?go(e,r):e.value=r,e.updatedAt=n);}function an(e,t,n,r=Te,i){let o={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:Z,context:Z?Z.context:null,pure:n};if(Z===null||Z!==co&&(Z.owned?Z.owned.push(o):Z.owned=[o]),ft);return o}function It(e){let t=x;if((e.state)===0)return;if((e.state)===Lt)return rn(e);if(e.suspense&&xe(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<on);){(e.state)&&n.push(e);}for(let r=n.length-1;r>=0;r--){if(e=n[r],t);if((e.state)===Te)pt(e);else if((e.state)===Lt){let i=de;de=null,Ee(()=>rn(e,n[0]),false),de=i;}}}function Ee(e,t){if(de)return e();let n=false;t||(de=[]),he?n=true:he=[],on++;try{let r=e();return bs(n),r}catch(r){n||(he=null),de=null,ln(r);}}function bs(e){if(de&&(ho(de),de=null),e)return;let n=he;he=null,n.length&&Ee(()=>lo(n),false);}function ho(e){for(let t=0;t<e.length;t++)It(e[t]);}function ws(e){let t,n=0;for(t=0;t<e.length;t++){let r=e[t];r.user?e[n++]=r:It(r);}for(t=0;t<n;t++)It(e[t]);}function rn(e,t){e.state=0;for(let r=0;r<e.sources.length;r+=1){let i=e.sources[r];if(i.sources){let o=i.state;o===Te?i!==t&&(!i.updatedAt||i.updatedAt<on)&&It(i):o===Lt&&rn(i,t);}}}function bo(e){for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(!r.state)&&(r.state=Lt,r.pure?de.push(r):he.push(r),r.observers&&bo(r));}}function Ye(e){let t;if(e.sources)for(;e.sources.length;){let n=e.sources.pop(),r=e.sourceSlots.pop(),i=n.observers;if(i&&i.length){let o=i.pop(),s=n.observerSlots.pop();r<i.length&&(o.sourceSlots[s]=r,i[r]=o,n.observerSlots[r]=s);}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)Ye(e.tOwned[t]);delete e.tOwned;}if(e.owned){for(t=e.owned.length-1;t>=0;t--)Ye(e.owned[t]);e.owned=null;}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null;}e.state=0;}function tn(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function ln(e,t=Z){let r=tn(e);throw r;}var xs=Symbol("fallback");function ao(e){for(let t=0;t<e.length;t++)e[t]();}function vs(e,t,n={}){let r=[],i=[],o=[],s=0,l=t.length>1?[]:null;return ve(()=>ao(o)),()=>{let c=e()||[],d=c.length,p,b;return c[ps],xe(()=>{let w,v,S,P,E,T,_,z,N;if(d===0)s!==0&&(ao(o),o=[],r=[],i=[],s=0,l&&(l=[])),n.fallback&&(r=[xs],i[0]=ot(j=>(o[0]=j,n.fallback())),s=1);else if(s===0){for(i=new Array(d),b=0;b<d;b++)r[b]=c[b],i[b]=ot(M);s=d;}else {for(S=new Array(d),P=new Array(d),l&&(E=new Array(d)),T=0,_=Math.min(s,d);T<_&&r[T]===c[T];T++);for(_=s-1,z=d-1;_>=T&&z>=T&&r[_]===c[z];_--,z--)S[z]=i[_],P[z]=o[_],l&&(E[z]=l[_]);for(w=new Map,v=new Array(z+1),b=z;b>=T;b--)N=c[b],p=w.get(N),v[b]=p===void 0?-1:p,w.set(N,b);for(p=T;p<=_;p++)N=r[p],b=w.get(N),b!==void 0&&b!==-1?(S[b]=i[p],P[b]=o[p],l&&(E[b]=l[p]),b=v[b],w.set(N,b)):o[p]();for(b=T;b<d;b++)b in S?(i[b]=S[b],o[b]=P[b],l&&(l[b]=E[b],l[b](b))):i[b]=ot(M);i=i.slice(0,s=d),r=c.slice(0);}return i});function M(w){if(o[b]=w,l){let[v,S]=L(b);return l[b]=S,t(c[b],v)}return t(c[b])}}}function R(e,t){return xe(()=>e(t||{}))}var Ss=e=>`Stale read from <${e}>.`;function Ft(e){let t="fallback"in e&&{fallback:()=>e.fallback};return ie(vs(()=>e.each,e.children,t||void 0))}function oe(e){let t=e.keyed,n=ie(()=>e.when,void 0,void 0),r=t?n:ie(n,void 0,{equals:(i,o)=>!i==!o});return ie(()=>{let i=r();if(i){let o=e.children;return typeof o=="function"&&o.length>0?xe(()=>o(t?i:()=>{if(!xe(r))throw Ss("Show");return n()})):o}return e.fallback},void 0,void 0)}var me=e=>ie(()=>e());function Ts(e,t,n){let r=n.length,i=t.length,o=r,s=0,l=0,c=t[i-1].nextSibling,d=null;for(;s<i||l<o;){if(t[s]===n[l]){s++,l++;continue}for(;t[i-1]===n[o-1];)i--,o--;if(i===s){let p=o<r?l?n[l-1].nextSibling:n[o-l]:c;for(;l<o;)e.insertBefore(n[l++],p);}else if(o===l)for(;s<i;)(!d||!d.has(t[s]))&&t[s].remove(),s++;else if(t[s]===n[o-1]&&n[l]===t[i-1]){let p=t[--i].nextSibling;e.insertBefore(n[l++],t[s++].nextSibling),e.insertBefore(n[--o],p),t[i]=n[o];}else {if(!d){d=new Map;let b=l;for(;b<o;)d.set(n[b],b++);}let p=d.get(t[s]);if(p!=null)if(l<p&&p<o){let b=s,M=1,w;for(;++b<i&&b<o&&!((w=d.get(t[b]))==null||w!==p+M);)M++;if(M>p-l){let v=t[s];for(;l<p;)e.insertBefore(n[l++],v);}else e.replaceChild(n[l++],t[s++]);}else s++;else t[s++].remove();}}}var wo="_$DX_DELEGATE";function vo(e,t,n,r={}){let i;return ot(o=>{i=o,t===document?e():G(t,e(),t.firstChild?null:void 0,n);},r.owner),()=>{i(),t.textContent="";}}function X(e,t,n,r){let i,o=()=>{let l=document.createElement("template");return l.innerHTML=e,l.content.firstChild},s=()=>(i||(i=o())).cloneNode(true);return s.cloneNode=s,s}function un(e,t=window.document){let n=t[wo]||(t[wo]=new Set);for(let r=0,i=e.length;r<i;r++){let o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,As));}}function Ce(e,t,n){(n==null?e.removeAttribute(t):e.setAttribute(t,n));}function Me(e,t){(t==null?e.removeAttribute("class"):e.className=t);}function Pt(e,t,n,r){Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;}function Co(e,t,n){if(!t)return n?Ce(e,"style"):t;let r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let i,o;for(o in n)t[o]==null&&r.removeProperty(o),delete n[o];for(o in t)i=t[o],i!==n[o]&&(r.setProperty(o,i),n[o]=i);return n}function fe(e,t,n){n!=null?e.style.setProperty(t,n):e.style.removeProperty(t);}function $t(e,t,n){return xe(()=>e(t,n))}function G(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return cn(e,t,r,n);se(i=>cn(e,t(),i,n),r);}function As(e){let t=e.target,n=`$$${e.type}`,r=e.target,i=e.currentTarget,o=c=>Object.defineProperty(e,"target",{configurable:true,value:c}),s=()=>{let c=t[n];if(c&&!t.disabled){let d=t[`${n}Data`];if(d!==void 0?c.call(t,d,e):c.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&o(t.host),true},l=()=>{for(;s()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:true,get(){return t||document}}),e.composedPath){let c=e.composedPath();o(c[0]);for(let d=0;d<c.length-2&&(t=c[d],!!s());d++){if(t._$host){t=t._$host,l();break}if(t.parentNode===i)break}}else l();o(r);}function cn(e,t,n,r,i){for(;typeof n=="function";)n=n();if(t===n)return n;let s=typeof t,l=r!==void 0;if(e=l&&n[0]&&n[0].parentNode||e,s==="string"||s==="number"){if(s==="number"&&(t=t.toString(),t===n))return n;if(l){let c=n[0];c&&c.nodeType===3?c.data!==t&&(c.data=t):c=document.createTextNode(t),n=gt(e,n,r,c);}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t;}else if(t==null||s==="boolean"){n=gt(e,n,r);}else {if(s==="function")return se(()=>{let c=t();for(;typeof c=="function";)c=c();n=cn(e,c,n,r);}),()=>n;if(Array.isArray(t)){let c=[],d=n&&Array.isArray(n);if(Wn(c,t,n,i))return se(()=>n=cn(e,c,n,r,true)),()=>n;if(c.length===0){if(n=gt(e,n,r),l)return n}else d?n.length===0?xo(e,c,r):Ts(e,n,c):(n&&gt(e),xo(e,c));n=c;}else if(t.nodeType){if(Array.isArray(n)){if(l)return n=gt(e,n,r,t);gt(e,n,null,t);}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t;}}return n}function Wn(e,t,n,r){let i=false;for(let o=0,s=t.length;o<s;o++){let l=t[o],c=n&&n[e.length],d;if(!(l==null||l===true||l===false))if((d=typeof l)=="object"&&l.nodeType)e.push(l);else if(Array.isArray(l))i=Wn(e,l,c)||i;else if(d==="function")if(r){for(;typeof l=="function";)l=l();i=Wn(e,Array.isArray(l)?l:[l],Array.isArray(c)?c:[c])||i;}else e.push(l),i=true;else {let p=String(l);c&&c.nodeType===3&&c.data===p?e.push(c):e.push(document.createTextNode(p));}}return i}function xo(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n);}function gt(e,t,n,r){if(n===void 0)return e.textContent="";let i=r||document.createTextNode("");if(t.length){let o=false;for(let s=t.length-1;s>=0;s--){let l=t[s];if(i!==l){let c=l.parentNode===e;!o&&!s?c?e.replaceChild(i,l):e.insertBefore(i,n):c&&l.remove();}else o=true;}}else e.insertBefore(i,n);return [i]}var So=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
10
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-contain-size:initial;--tw-contain-layout:initial;--tw-contain-paint:initial;--tw-contain-style:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--font-weight-medium:500;--radius-xs:.125rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-grab-pink:#b21c8e;--color-grab-purple:#d239c0;--color-label-tag-border:#730079;--color-label-gray-border:#b0b0b0}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.top-0{top:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-2147483645{z-index:2147483645}.z-2147483646{z-index:2147483646}.z-2147483647{z-index:2147483647}.z-\\[2147483645\\]{z-index:2147483645}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.-ml-\\[2px\\]{margin-left:-2px}.ml-1{margin-left:calc(var(--spacing)*1)}.box-border{box-sizing:border-box}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0{height:calc(var(--spacing)*0)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-5\\.5{height:calc(var(--spacing)*5.5)}.h-\\[9px\\]{height:9px}.h-\\[18px\\]{height:18px}.h-fit{height:fit-content}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.w-0{width:calc(var(--spacing)*0)}.w-0\\.5{width:calc(var(--spacing)*.5)}.w-1{width:calc(var(--spacing)*1)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-\\[18px\\]{width:18px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-crosshair{cursor:crosshair}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-\\[3px\\]{gap:3px}.gap-\\[5px\\]{gap:5px}.gap-px{gap:1px}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.rounded-\\[1\\.5px\\]{border-radius:1.5px}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[3px\\]{border-radius:3px}.rounded-full{border-radius:3.40282e38px}.rounded-xs{border-radius:var(--radius-xs)}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-br-\\[3px\\]{border-bottom-right-radius:3px}.rounded-bl-\\[3px\\]{border-bottom-left-radius:3px}.border{border-style:var(--tw-border-style);border-width:1px}.border-\\[0\\.5px\\]{border-style:var(--tw-border-style);border-width:.5px}.\\[border-width\\:0\\.5px\\]{border-width:.5px}.\\[border-top-width\\:0\\.5px\\]{border-top-width:.5px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#001D0E\\]{border-color:#001d0e}.border-\\[\\#00553269\\]{border-color:#00553269}.border-\\[\\#A3FFCA\\]{border-color:#a3ffca}.border-\\[\\#B3B3B3\\]{border-color:#b3b3b3}.border-grab-purple{border-color:var(--color-grab-purple)}.border-grab-purple\\/40{border-color:#d239c066}@supports (color:color-mix(in lab, red, red)){.border-grab-purple\\/40{border-color:color-mix(in oklab,var(--color-grab-purple)40%,transparent)}}.border-grab-purple\\/50{border-color:#d239c080}@supports (color:color-mix(in lab, red, red)){.border-grab-purple\\/50{border-color:color-mix(in oklab,var(--color-grab-purple)50%,transparent)}}.border-label-gray-border{border-color:var(--color-label-gray-border)}.border-label-tag-border{border-color:var(--color-label-tag-border)}.border-white{border-color:var(--color-white)}.border-t-\\[\\#B6B6B6\\]{border-top-color:#b6b6b6}.bg-\\[\\#A3FFCA\\]{background-color:#a3ffca}.bg-\\[\\#F2F2F2\\]{background-color:#f2f2f2}.bg-black{background-color:var(--color-black)}.bg-grab-pink{background-color:var(--color-grab-pink)}.bg-grab-purple\\/5{background-color:#d239c00d}@supports (color:color-mix(in lab, red, red)){.bg-grab-purple\\/5{background-color:color-mix(in oklab,var(--color-grab-purple)5%,transparent)}}.bg-grab-purple\\/8{background-color:#d239c014}@supports (color:color-mix(in lab, red, red)){.bg-grab-purple\\/8{background-color:color-mix(in oklab,var(--color-grab-purple)8%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-cover{background-size:cover}.bg-center{background-position:50%}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.px-0{padding-inline:calc(var(--spacing)*0)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-\\[3px\\]{padding-inline:3px}.px-\\[5px\\]{padding-inline:5px}.py-0{padding-block:calc(var(--spacing)*0)}.py-1{padding-block:calc(var(--spacing)*1)}.py-\\[5px\\]{padding-block:5px}.py-px{padding-block:1px}.pt-1{padding-top:calc(var(--spacing)*1)}.pb-1\\.5{padding-bottom:calc(var(--spacing)*1.5)}.align-middle{vertical-align:middle}.font-\\[ui-monospace\\,\\'SFMono-Regular\\'\\,\\'SF_Mono\\'\\,\\'Menlo\\'\\,\\'Consolas\\'\\,\\'Liberation_Mono\\'\\,monospace\\]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-\\[11\\.5px\\]{font-size:11.5px}.text-\\[12px\\]{font-size:12px}.leading-3\\.5{--tw-leading:calc(var(--spacing)*3.5);line-height:calc(var(--spacing)*3.5)}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-\\[-0\\.04em\\]{--tw-tracking:-.04em;letter-spacing:-.04em}.tracking-\\[-0\\.08em\\]{--tw-tracking:-.08em;letter-spacing:-.08em}.text-\\[\\#0C0C0C\\]{color:#0c0c0c}.text-\\[\\#00381F\\]{color:#00381f}.text-\\[\\#47004A\\]{color:#47004a}.text-\\[\\#767676\\]{color:#767676}.text-\\[\\#A3FFCA\\]{color:#a3ffca}.text-black{color:var(--color-black)}.text-label-tag-border{color:var(--color-label-tag-border)}.text-white{color:var(--color-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.opacity-\\[0\\.99\\]{opacity:.99}.\\[box-shadow\\:\\#00000033_0px_2px_3px\\]{box-shadow:0 2px 3px #0003}.brightness-125{--tw-brightness:brightness(125%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\,height\\]{transition-property:width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-30{--tw-duration:30ms;transition-duration:30ms}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-\\[transform\\,width\\,height\\]{will-change:transform,width,height}.contain-layout{--tw-contain-layout:layout;contain:var(--tw-contain-size,)var(--tw-contain-layout,)var(--tw-contain-paint,)var(--tw-contain-style,)}.outline-none{--tw-outline-style:none;outline-style:none}.\\[font-synthesis\\:none\\]{font-synthesis:none}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.react-grab-shimmer{position:relative;overflow:hidden}.react-grab-shimmer:after{content:"";border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,#0000 0%,#fff6 50%,#0000 100%) 0 0/200% 100%;animation:1.5s ease-in-out infinite shimmer;position:absolute;inset:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-contain-size{syntax:"*";inherits:false}@property --tw-contain-layout{syntax:"*";inherits:false}@property --tw-contain-paint{syntax:"*";inherits:false}@property --tw-contain-style{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@keyframes pulse{50%{opacity:.5}}`;var Ns=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"],Rs=e=>!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-"),Ms=e=>Array.isArray(e),Ls=(e,t=false)=>{let{composed:n,target:r}=e,i,o;if(r instanceof HTMLElement&&Rs(r)&&n){let l=e.composedPath()[0];l instanceof HTMLElement&&(i=l.tagName,o=l.role);}else r instanceof HTMLElement&&(i=r.tagName,o=r.role);return Ms(t)?!!(i&&t&&t.some(s=>typeof i=="string"&&s.toLowerCase()===i.toLowerCase()||s===o)):!!(i&&t&&t)},ko=e=>Ls(e,Ns);var Eo=e=>{let t=e.tagName.toLowerCase();return !!(t==="input"||t==="textarea"||e instanceof HTMLElement&&e.isContentEditable)},To=(e,t)=>{let n=document.activeElement;if(n){let r=n;for(;r;){if(Eo(r))return true;r=r.parentElement;}}if(e!==void 0&&t!==void 0){let r=document.elementsFromPoint(e,t);for(let i of r)if(Eo(i))return true}return false};var ht="data-react-grab",Ao=e=>{let t=document.querySelector(`[${ht}]`);if(t){let s=t.shadowRoot?.querySelector(`[${ht}]`);if(s instanceof HTMLDivElement&&t.shadowRoot)return s}let n=document.createElement("div");n.setAttribute(ht,"true"),n.style.zIndex="2147483646",n.style.position="fixed",n.style.top="0",n.style.left="0";let r=n.attachShadow({mode:"open"});{let s=document.createElement("style");s.textContent=e,r.appendChild(s);}let i=document.createElement("div");i.setAttribute(ht,"true"),r.appendChild(i);let o=document.body??document.documentElement;return o.appendChild(n),setTimeout(()=>{o.contains(n)||o.appendChild(n);},1e3),i};var Os="https://react-grab.com",dn=(e,t)=>{let n=t?`&line=${t}`:"";return `${Os}/open-file?url=${encodeURIComponent(e)}${n}`};var fn=["Meta","Control","Shift","Alt"],_o='<svg width="294" height="294" viewBox="0 0 294 294" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_0_3)"><mask id="mask0_0_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="294" height="294"><path d="M294 0H0V294H294V0Z" fill="white"/></mask><g mask="url(#mask0_0_3)"><path d="M144.599 47.4924C169.712 27.3959 194.548 20.0265 212.132 30.1797C227.847 39.2555 234.881 60.3243 231.926 89.516C231.677 92.0069 231.328 94.5423 230.94 97.1058L228.526 110.14C228.517 110.136 228.505 110.132 228.495 110.127C228.486 110.165 228.479 110.203 228.468 110.24L216.255 105.741C216.256 105.736 216.248 105.728 216.248 105.723C207.915 103.125 199.421 101.075 190.82 99.5888L190.696 99.5588L173.526 97.2648L173.511 97.2631C173.492 97.236 173.467 97.2176 173.447 97.1905C163.862 96.2064 154.233 95.7166 144.599 95.7223C134.943 95.7162 125.295 96.219 115.693 97.2286C110.075 105.033 104.859 113.118 100.063 121.453C95.2426 129.798 90.8624 138.391 86.939 147.193C90.8624 155.996 95.2426 164.588 100.063 172.933C104.866 181.302 110.099 189.417 115.741 197.245C115.749 197.245 115.758 197.246 115.766 197.247L115.752 197.27L115.745 197.283L115.754 197.296L126.501 211.013L126.574 211.089C132.136 217.767 138.126 224.075 144.507 229.974L144.609 230.082L154.572 238.287C154.539 238.319 154.506 238.35 154.472 238.38C154.485 238.392 154.499 238.402 154.513 238.412L143.846 247.482L143.827 247.497C126.56 261.128 109.472 268.745 94.8019 268.745C88.5916 268.837 82.4687 267.272 77.0657 264.208C61.3496 255.132 54.3164 234.062 57.2707 204.871C57.528 202.307 57.8806 199.694 58.2904 197.054C28.3363 185.327 9.52301 167.51 9.52301 147.193C9.52301 129.042 24.2476 112.396 50.9901 100.375C53.3443 99.3163 55.7938 98.3058 58.2904 97.3526C57.8806 94.7023 57.528 92.0803 57.2707 89.516C54.3164 60.3243 61.3496 39.2555 77.0657 30.1797C94.6494 20.0265 119.486 27.3959 144.599 47.4924ZM70.6423 201.315C70.423 202.955 70.2229 204.566 70.0704 206.168C67.6686 229.567 72.5478 246.628 83.3615 252.988L83.5176 253.062C95.0399 259.717 114.015 254.426 134.782 238.38C125.298 229.45 116.594 219.725 108.764 209.314C95.8516 207.742 83.0977 205.066 70.6423 201.315ZM80.3534 163.438C77.34 171.677 74.8666 180.104 72.9484 188.664C81.1787 191.224 89.5657 193.247 98.0572 194.724L98.4618 194.813C95.2115 189.865 92.0191 184.66 88.9311 179.378C85.8433 174.097 83.003 168.768 80.3534 163.438ZM60.759 110.203C59.234 110.839 57.7378 111.475 56.27 112.11C34.7788 121.806 22.3891 134.591 22.3891 147.193C22.3891 160.493 36.4657 174.297 60.7494 184.26C63.7439 171.581 67.8124 159.182 72.9104 147.193C67.822 135.23 63.7566 122.855 60.759 110.203ZM98.4137 99.6404C89.8078 101.145 81.3075 103.206 72.9676 105.809C74.854 114.203 77.2741 122.468 80.2132 130.554L80.3059 130.939C82.9938 125.6 85.8049 120.338 88.8834 115.008C91.9618 109.679 95.1544 104.569 98.4137 99.6404ZM94.9258 38.5215C90.9331 38.4284 86.9866 39.3955 83.4891 41.3243C72.6291 47.6015 67.6975 64.5954 70.0424 87.9446L70.0416 88.2194C70.194 89.8208 70.3941 91.4325 70.6134 93.0624C83.0737 89.3364 95.8263 86.6703 108.736 85.0924C116.57 74.6779 125.28 64.9532 134.773 56.0249C119.877 44.5087 105.895 38.5215 94.9258 38.5215ZM205.737 41.3148C202.268 39.398 198.355 38.4308 194.394 38.5099L194.29 38.512C183.321 38.512 169.34 44.4991 154.444 56.0153C163.93 64.9374 172.634 74.6557 180.462 85.064C193.375 86.6345 206.128 89.3102 218.584 93.0624C218.812 91.4325 219.003 89.8118 219.165 88.2098C221.548 64.7099 216.65 47.6164 205.737 41.3148ZM144.552 64.3097C138.104 70.2614 132.054 76.6306 126.443 83.3765C132.39 82.995 138.426 82.8046 144.552 82.8046C150.727 82.8046 156.778 83.0143 162.707 83.3765C157.08 76.6293 151.015 70.2596 144.552 64.3097Z" fill="white"/><path d="M144.598 47.4924C169.712 27.3959 194.547 20.0265 212.131 30.1797C227.847 39.2555 234.88 60.3243 231.926 89.516C231.677 92.0069 231.327 94.5423 230.941 97.1058L228.526 110.14L228.496 110.127C228.487 110.165 228.478 110.203 228.469 110.24L216.255 105.741L216.249 105.723C207.916 103.125 199.42 101.075 190.82 99.5888L190.696 99.5588L173.525 97.2648L173.511 97.263C173.492 97.236 173.468 97.2176 173.447 97.1905C163.863 96.2064 154.234 95.7166 144.598 95.7223C134.943 95.7162 125.295 96.219 115.693 97.2286C110.075 105.033 104.859 113.118 100.063 121.453C95.2426 129.798 90.8622 138.391 86.939 147.193C90.8622 155.996 95.2426 164.588 100.063 172.933C104.866 181.302 110.099 189.417 115.741 197.245L115.766 197.247L115.752 197.27L115.745 197.283L115.754 197.296L126.501 211.013L126.574 211.089C132.136 217.767 138.126 224.075 144.506 229.974L144.61 230.082L154.572 238.287C154.539 238.319 154.506 238.35 154.473 238.38L154.512 238.412L143.847 247.482L143.827 247.497C126.56 261.13 109.472 268.745 94.8018 268.745C88.5915 268.837 82.4687 267.272 77.0657 264.208C61.3496 255.132 54.3162 234.062 57.2707 204.871C57.528 202.307 57.8806 199.694 58.2904 197.054C28.3362 185.327 9.52298 167.51 9.52298 147.193C9.52298 129.042 24.2476 112.396 50.9901 100.375C53.3443 99.3163 55.7938 98.3058 58.2904 97.3526C57.8806 94.7023 57.528 92.0803 57.2707 89.516C54.3162 60.3243 61.3496 39.2555 77.0657 30.1797C94.6493 20.0265 119.486 27.3959 144.598 47.4924ZM70.6422 201.315C70.423 202.955 70.2229 204.566 70.0704 206.168C67.6686 229.567 72.5478 246.628 83.3615 252.988L83.5175 253.062C95.0399 259.717 114.015 254.426 134.782 238.38C125.298 229.45 116.594 219.725 108.764 209.314C95.8515 207.742 83.0977 205.066 70.6422 201.315ZM80.3534 163.438C77.34 171.677 74.8666 180.104 72.9484 188.664C81.1786 191.224 89.5657 193.247 98.0572 194.724L98.4618 194.813C95.2115 189.865 92.0191 184.66 88.931 179.378C85.8433 174.097 83.003 168.768 80.3534 163.438ZM60.7589 110.203C59.234 110.839 57.7378 111.475 56.2699 112.11C34.7788 121.806 22.3891 134.591 22.3891 147.193C22.3891 160.493 36.4657 174.297 60.7494 184.26C63.7439 171.581 67.8124 159.182 72.9103 147.193C67.822 135.23 63.7566 122.855 60.7589 110.203ZM98.4137 99.6404C89.8078 101.145 81.3075 103.206 72.9676 105.809C74.8539 114.203 77.2741 122.468 80.2132 130.554L80.3059 130.939C82.9938 125.6 85.8049 120.338 88.8834 115.008C91.9618 109.679 95.1544 104.569 98.4137 99.6404ZM94.9258 38.5215C90.9331 38.4284 86.9866 39.3955 83.4891 41.3243C72.629 47.6015 67.6975 64.5954 70.0424 87.9446L70.0415 88.2194C70.194 89.8208 70.3941 91.4325 70.6134 93.0624C83.0737 89.3364 95.8262 86.6703 108.736 85.0924C116.57 74.6779 125.28 64.9532 134.772 56.0249C119.877 44.5087 105.895 38.5215 94.9258 38.5215ZM205.737 41.3148C202.268 39.398 198.355 38.4308 194.394 38.5099L194.291 38.512C183.321 38.512 169.34 44.4991 154.443 56.0153C163.929 64.9374 172.634 74.6557 180.462 85.064C193.374 86.6345 206.129 89.3102 218.584 93.0624C218.813 91.4325 219.003 89.8118 219.166 88.2098C221.548 64.7099 216.65 47.6164 205.737 41.3148ZM144.551 64.3097C138.103 70.2614 132.055 76.6306 126.443 83.3765C132.389 82.995 138.427 82.8046 144.551 82.8046C150.727 82.8046 156.779 83.0143 162.707 83.3765C157.079 76.6293 151.015 70.2596 144.551 64.3097Z" fill="#FF40E0"/></g><mask id="mask1_0_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="102" y="84" width="161" height="162"><path d="M235.282 84.827L102.261 112.259L129.693 245.28L262.714 217.848L235.282 84.827Z" fill="white"/></mask><g mask="url(#mask1_0_3)"><path d="M136.863 129.916L213.258 141.224C220.669 142.322 222.495 152.179 215.967 155.856L187.592 171.843L184.135 204.227C183.339 211.678 173.564 213.901 169.624 207.526L129.021 141.831C125.503 136.14 130.245 128.936 136.863 129.916Z" fill="#FF40E0" stroke="#FF40E0" stroke-width="0.817337" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_0_3"><rect width="294" height="294" fill="white"/></clipPath></defs></svg>';var Xe=(e,t,n)=>e+(t-e)*n;function No(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=No(e[t]))&&(r&&(r+=" "),r+=n);}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ro(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=No(e))&&(r&&(r+=" "),r+=t);return r}var er="-",Is=e=>{let t=Ps(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return {getClassGroupId:s=>{let l=s.split(er);return l[0]===""&&l.length!==1&&l.shift(),Oo(l,t)||Fs(s)},getConflictingClassGroupIds:(s,l)=>{let c=n[s]||[];return l&&r[s]?[...c,...r[s]]:c}}},Oo=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?Oo(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let o=e.join(er);return t.validators.find(({validator:s})=>s(o))?.classGroupId},Mo=/^\[(.+)\]$/,Fs=e=>{if(Mo.test(e)){let t=Mo.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return "arbitrary.."+n}},Ps=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Bs(Object.entries(e.classGroups),n).forEach(([o,s])=>{Qn(s,r,o,t);}),r},Qn=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){let o=i===""?t:Lo(t,i);o.classGroupId=n;return}if(typeof i=="function"){if($s(i)){Qn(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{Qn(s,Lo(t,o),n,r);});});},Lo=(e,t)=>{let n=e;return t.split(er).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r);}),n},$s=e=>e.isThemeGetter,Bs=(e,t)=>t?e.map(([n,r])=>{let i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,l])=>[t+s,l])):o);return [n,i]}):e,Ds=e=>{if(e<1)return {get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map);};return {get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s);}}},Io="!",Hs=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,s=l=>{let c=[],d=0,p=0,b;for(let P=0;P<l.length;P++){let E=l[P];if(d===0){if(E===i&&(r||l.slice(P,P+o)===t)){c.push(l.slice(p,P)),p=P+o;continue}if(E==="/"){b=P;continue}}E==="["?d++:E==="]"&&d--;}let M=c.length===0?l:l.substring(p),w=M.startsWith(Io),v=w?M.substring(1):M,S=b&&b>p?b-p:void 0;return {modifiers:c,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:S}};return n?l=>n({className:l,parseClassName:s}):s},zs=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r);}),t.push(...n.sort()),t},js=e=>({cache:Ds(e.cacheSize),parseClassName:Hs(e),...Is(e)}),Vs=/\s+/,Gs=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(Vs),l="";for(let c=s.length-1;c>=0;c-=1){let d=s[c],{modifiers:p,hasImportantModifier:b,baseClassName:M,maybePostfixModifierPosition:w}=n(d),v=!!w,S=r(v?M.substring(0,w):M);if(!S){if(!v){l=d+(l.length>0?" "+l:l);continue}if(S=r(M),!S){l=d+(l.length>0?" "+l:l);continue}v=false;}let P=zs(p).join(":"),E=b?P+Io:P,T=E+S;if(o.includes(T))continue;o.push(T);let _=i(S,v);for(let z=0;z<_.length;++z){let N=_[z];o.push(E+N);}l=d+(l.length>0?" "+l:l);}return l};function Ks(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Fo(t))&&(r&&(r+=" "),r+=n);return r}var Fo=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Fo(e[r]))&&(n&&(n+=" "),n+=t);return n};function Us(e,...t){let n,r,i,o=s;function s(c){let d=t.reduce((p,b)=>b(p),e());return n=js(d),r=n.cache.get,i=n.cache.set,o=l,l(c)}function l(c){let d=r(c);if(d)return d;let p=Gs(c,n);return i(c,p),p}return function(){return o(Ks.apply(null,arguments))}}var ae=e=>{let t=n=>n[e]||[];return t.isThemeGetter=true,t},Po=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ys=/^\d+\/\d+$/,Xs=new Set(["px","full","screen"]),qs=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ws=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Zs=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Js=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qs=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,De=e=>bt(e)||Xs.has(e)||Ys.test(e),qe=e=>yt(e,"length",aa),bt=e=>!!e&&!Number.isNaN(Number(e)),Jn=e=>yt(e,"number",bt),Bt=e=>!!e&&Number.isInteger(Number(e)),ea=e=>e.endsWith("%")&&bt(e.slice(0,-1)),K=e=>Po.test(e),We=e=>qs.test(e),ta=new Set(["length","size","percentage"]),na=e=>yt(e,ta,$o),ra=e=>yt(e,"position",$o),oa=new Set(["image","url"]),ia=e=>yt(e,oa,ca),sa=e=>yt(e,"",la),Dt=()=>true,yt=(e,t,n)=>{let r=Po.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):false},aa=e=>Ws.test(e)&&!Zs.test(e),$o=()=>false,la=e=>Js.test(e),ca=e=>Qs.test(e);var ua=()=>{let e=ae("colors"),t=ae("spacing"),n=ae("blur"),r=ae("brightness"),i=ae("borderColor"),o=ae("borderRadius"),s=ae("borderSpacing"),l=ae("borderWidth"),c=ae("contrast"),d=ae("grayscale"),p=ae("hueRotate"),b=ae("invert"),M=ae("gap"),w=ae("gradientColorStops"),v=ae("gradientColorStopPositions"),S=ae("inset"),P=ae("margin"),E=ae("opacity"),T=ae("padding"),_=ae("saturate"),z=ae("scale"),N=ae("sepia"),j=ae("skew"),q=ae("space"),ne=ae("translate"),Y=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],y=()=>["auto",K,t],m=()=>[K,t],u=()=>["",De,qe],h=()=>["auto",bt,K],I=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],A=()=>["solid","dashed","dotted","double","none"],D=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",K],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[bt,K];return {cacheSize:500,separator:":",theme:{colors:[Dt],spacing:[De,qe],blur:["none","",We,K],brightness:$(),borderColor:[e],borderRadius:["none","","full",We,K],borderSpacing:m(),borderWidth:u(),contrast:$(),grayscale:O(),hueRotate:$(),invert:O(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[ea,qe],inset:y(),margin:y(),opacity:$(),padding:m(),saturate:$(),scale:$(),sepia:O(),skew:$(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[We]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...I(),K]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Bt,K]}],basis:[{basis:y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",K]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",Bt,K]}],"grid-cols":[{"grid-cols":[Dt]}],"col-start-end":[{col:["auto",{span:["full",Bt,K]},K]}],"col-start":[{"col-start":h()}],"col-end":[{"col-end":h()}],"grid-rows":[{"grid-rows":[Dt]}],"row-start-end":[{row:["auto",{span:[Bt,K]},K]}],"row-start":[{"row-start":h()}],"row-end":[{"row-end":h()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],gap:[{gap:[M]}],"gap-x":[{"gap-x":[M]}],"gap-y":[{"gap-y":[M]}],"justify-content":[{justify:["normal",...F()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...F(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...F(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,t]}],"min-w":[{"min-w":[K,t,"min","max","fit"]}],"max-w":[{"max-w":[K,t,"none","full","min","max","fit","prose",{screen:[We]},We]}],h:[{h:[K,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,t,"auto","min","max","fit"]}],"font-size":[{text:["base",We,qe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Jn]}],"font-family":[{font:[Dt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",K]}],"line-clamp":[{"line-clamp":["none",bt,Jn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",De,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...A(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",De,qe]}],"underline-offset":[{"underline-offset":["auto",De,K]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...I(),ra]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",na]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ia]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...A(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:A()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...A()]}],"outline-offset":[{"outline-offset":[De,K]}],"outline-w":[{outline:[De,qe]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:u()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[De,qe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",We,sa]}],"shadow-color":[{shadow:[Dt]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...D(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",We,K]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[b]}],saturate:[{saturate:[_]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",K]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[Bt,K]}],"translate-x":[{"translate-x":[ne]}],"translate-y":[{"translate-y":[ne]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",K]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",K]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[De,qe,Jn]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Bo=Us(ua);var Le=(...e)=>Bo(Ro(e));var fa=X("<div style=overflow:visible>"),it=e=>{let[t,n]=L(e.bounds.x),[r,i]=L(e.bounds.y),[o,s]=L(e.bounds.width),[l,c]=L(e.bounds.height),[d,p]=L(1),b=false,M=null,w=null,v=e.bounds,S=false,P=()=>e.lerpFactor!==void 0?e.lerpFactor:e.variant==="drag"?.7:.95,E=()=>{if(S)return;S=true;let T=()=>{let _=Xe(t(),v.x,P()),z=Xe(r(),v.y,P()),N=Xe(o(),v.width,P()),j=Xe(l(),v.height,P());n(_),i(z),s(N),c(j),Math.abs(_-v.x)<.5&&Math.abs(z-v.y)<.5&&Math.abs(N-v.width)<.5&&Math.abs(j-v.height)<.5?(M=null,S=false):M=requestAnimationFrame(T);};M=requestAnimationFrame(T);};return Q(be(()=>e.bounds,T=>{if(v=T,!b){n(v.x),i(v.y),s(v.width),c(v.height),b=true;return}E();})),Q(()=>{e.variant==="grabbed"&&e.createdAt&&(w=window.setTimeout(()=>{p(0);},1500));}),ve(()=>{M!==null&&(cancelAnimationFrame(M),M=null),w!==null&&(window.clearTimeout(w),w=null),S=false;}),R(oe,{get when(){return e.visible!==false},get children(){var T=fa();return se(_=>{var z=Le("fixed box-border",e.variant==="drag"&&"pointer-events-none",e.variant!=="drag"&&"pointer-events-auto",e.variant==="grabbed"&&"z-2147483645",e.variant!=="grabbed"&&"z-2147483646",e.variant==="drag"&&"border border-solid border-grab-purple/40 bg-grab-purple/5 will-change-[transform,width,height] cursor-crosshair",e.variant==="selection"&&"border border-solid border-grab-purple/50 bg-grab-purple/8 transition-opacity duration-100 ease-out",e.variant==="grabbed"&&"border border-solid border-grab-purple bg-grab-purple/8 transition-opacity duration-300 ease-out",e.variant==="processing"&&"border border-solid border-grab-purple/50 bg-grab-purple/8"),N=`${r()}px`,j=`${t()}px`,q=`${o()}px`,ne=`${l()}px`,Y=e.bounds.borderRadius,J=e.bounds.transform,y=e.isFading?0:d(),m=e.variant==="drag"?"layout paint size":void 0;return z!==_.e&&Me(T,_.e=z),N!==_.t&&fe(T,"top",_.t=N),j!==_.a&&fe(T,"left",_.a=j),q!==_.o&&fe(T,"width",_.o=q),ne!==_.i&&fe(T,"height",_.i=ne),Y!==_.n&&fe(T,"border-radius",_.n=Y),J!==_.s&&fe(T,"transform",_.s=J),y!==_.h&&fe(T,"opacity",_.h=y),m!==_.r&&fe(T,"contain",_.r=m),_},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0}),T}})};var Do=e=>{let t=e.lerpFactor??.3,n=e.convergenceThreshold??.5,[r,i]=L(e.x()),[o,s]=L(e.y()),l=e.x(),c=e.y(),d=null,p=false,b=()=>{let w=Xe(r(),l,t),v=Xe(o(),c,t);i(w),s(v),Math.abs(w-l)<n&&Math.abs(v-c)<n?d=null:d=requestAnimationFrame(b);},M=()=>{d===null&&(d=requestAnimationFrame(b));};return Q(()=>{if(l=e.x(),c=e.y(),!p){i(l),s(c),p=true;return}M();}),ve(()=>{d!==null&&(cancelAnimationFrame(d),d=null);}),{x:r,y:o}};var ma=X('<canvas class="fixed top-0 left-0 pointer-events-none z-[2147483645]">'),Ho=e=>{let t,n=null,r=0,i=0,o=1,s=Do({x:()=>e.mouseX,y:()=>e.mouseY,lerpFactor:.3}),l=()=>{t&&(o=Math.max(window.devicePixelRatio||1,2),r=window.innerWidth,i=window.innerHeight,t.width=r*o,t.height=i*o,t.style.width=`${r}px`,t.style.height=`${i}px`,n=t.getContext("2d"),n&&n.scale(o,o));},c=()=>{n&&(n.clearRect(0,0,r,i),n.strokeStyle="rgba(210, 57, 192)",n.lineWidth=1,n.beginPath(),n.moveTo(s.x(),0),n.lineTo(s.x(),i),n.moveTo(0,s.y()),n.lineTo(r,s.y()),n.stroke());};return Q(()=>{l(),c();let d=()=>{l(),c();};window.addEventListener("resize",d),ve(()=>{window.removeEventListener("resize",d);});}),Q(()=>{s.x(),s.y(),c();}),R(oe,{get when(){return e.visible!==false},get children(){var d=ma(),p=t;return typeof p=="function"?$t(p,d):t=d,d}})};var pa=X('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 12 12"fill=none><path fill-rule=evenodd clip-rule=evenodd d="M0.675576 0.0318497C0.491988 -0.0369956 0.285105 0.0078173 0.146461 0.146461C0.0078173 0.285105 -0.0369956 0.491988 0.0318497 0.675576L4.15685 11.6756C4.2337 11.8805 4.43492 12.0117 4.65345 11.9992C4.87197 11.9868 5.057 11.8336 5.11009 11.6213L6.41232 6.41232L11.6213 5.11009C11.8336 5.057 11.9868 4.87197 11.9992 4.65345C12.0117 4.43492 11.8805 4.2337 11.6756 4.15685L0.675576 0.0318497Z"fill=currentColor>'),zo=e=>{let t=()=>e.size??9;return (()=>{var n=pa();return se(r=>{var i=t(),o=t(),s=e.class;return i!==r.e&&Ce(n,"width",r.e=i),o!==r.t&&Ce(n,"height",r.t=o),s!==r.a&&Ce(n,"class",r.a=s),r},{e:void 0,t:void 0,a:void 0}),n})()};var ga=X('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2><path d="M12 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6"></path><path d="M11 13l9-9"></path><path d="M15 4h5v5">'),jo=e=>{let t=()=>e.size??12;return (()=>{var n=ga();return se(r=>{var i=t(),o=t(),s=e.class;return i!==r.e&&Ce(n,"width",r.e=i),o!==r.t&&Ce(n,"height",r.t=o),s!==r.a&&Ce(n,"class",r.a=s),r},{e:void 0,t:void 0,a:void 0}),n})()};var ha=X('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 9 9"fill=none><rect x=1 y=1 width=7 height=7 rx=1 fill=currentColor>'),Vo=e=>{let t=()=>e.size??9;return (()=>{var n=ha();return se(r=>{var i=t(),o=t(),s=e.class;return i!==r.e&&Ce(n,"width",r.e=i),o!==r.t&&Ce(n,"height",r.t=o),s!==r.a&&Ce(n,"class",r.a=s),r},{e:void 0,t:void 0,a:void 0}),n})()};var ba=X('<div style="background-image:linear-gradient(in oklab 180deg, oklab(88.7% 0.086 -0.058) 0%, oklab(83.2% 0.132 -0.089) 100%)"><span>'),ya=X(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-[#B3B3B3] py-0"><span class="text-[#0C0C0C] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">`),wa=X(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-[#00553269] py-0"><span class="text-[#00381F] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">`),xa=X(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-white py-0"><span class="text-[#0C0C0C] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">&gt;`),va=X(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-[#A3FFCA] py-0"><span class="text-[#00381F] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">&gt;`),Ca=X(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-0.5 px-[3px] [border-width:0.5px] border-solid border-[#001D0E] py-0"style="background-image:linear-gradient(in oklab 180deg, oklab(39.6% -0.086 0.036) 0%, oklab(33.9% -0.074 0.031) 100%)"><span class="text-[#A3FFCA] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">`),Sa=X("<span>"),ka=X("<button>"),Ea=X("<div>"),Ta=X('<div class="absolute w-0 h-0"style="border-left:8px solid transparent;border-right:8px solid transparent">'),Aa=X('<div role=button><div class="text-black text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">Copy'),_a=X('<div class="contain-layout shrink-0 flex flex-col items-start px-2 py-[5px] w-auto h-fit rounded-bl-[3px] rounded-br-[3px] self-stretch bg-[#F2F2F2] [border-top-width:0.5px] border-t-solid border-t-[#B6B6B6] rounded-t-none">'),Na=X('<div class="[font-synthesis:none] contain-layout shrink-0 flex items-center gap-1 rounded-xs bg-[#A3FFCA] antialiased w-fit h-fit py-1 px-1.5"><div class="contain-layout shrink-0 flex items-center px-0 py-px w-fit h-[18px] rounded-[1.5px] gap-[3px]"><div class="text-[#00381F] text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit"></div></div><div class="contain-layout shrink-0 flex items-center gap-px w-fit h-fit">'),Ra=X('<button class="flex items-center justify-center w-[18px] h-[18px] rounded-full cursor-pointer bg-black border-none transition-opacity hover:opacity-80"title=Stop>'),Ma=X('<div class="flex items-center gap-[3px] react-grab-shimmer rounded-[3px] pt-1 pb-1.5 px-1.5">'),Go=X('<div class="contain-layout shrink-0 flex items-center gap-px w-fit h-fit">'),La=X('<div class="contain-layout shrink-0 flex items-center gap-1 w-fit h-fit"><span class="text-[#767676] text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">Press</span><div class="contain-layout shrink-0 flex flex-col items-start rounded-xs bg-white [border-width:0.5px] border-solid border-white p-0.5 w-fit h-fit"style="box-shadow:#0000008C 0px 0px 2px"><div class="w-2.5 h-[9px] shrink-0 opacity-[0.99] bg-cover bg-center"style=background-image:url(https://workers.paper.design/file-assets/01K8D51Q7E2ESJTN18XN2MT96X/01KBEJ7N5GQ0ZZ7K456R42AP4V.svg)></div></div><span class="text-[#767676] text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">to Edit'),Oa=X('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 w-fit h-fit px-1.5"></div><div class="grid w-full transition-[grid-template-rows] duration-30 ease-out"><div class="overflow-hidden min-h-0">'),Ia=X('<div class="shrink-0 flex justify-between items-end w-full min-h-4"><textarea class="text-black text-[12px] leading-4 tracking-[-0.04em] font-medium bg-transparent border-none outline-none resize-none flex-1 p-0 m-0"placeholder="type to edit"rows=1 style=field-sizing:content;min-height:16px></textarea><button class="contain-layout shrink-0 flex flex-col items-start p-0.5 rounded-xs bg-white [border-width:0.5px] border-solid border-white w-fit h-fit cursor-pointer ml-1 transition-none hover:scale-105 hover:shadow-md"style="box-shadow:#0000008C 0px 0px 2px"><div style=background-image:url(https://workers.paper.design/file-assets/01K8D51Q7E2ESJTN18XN2MT96X/01KBEJ7N5GQ0ZZ7K456R42AP4V.svg)>'),Fa=X('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 px-1.5 w-fit h-fit">'),Pa=X('<div data-react-grab-ignore-events class="fixed font-sans antialiased transition-opacity duration-300 ease-out"style=z-index:2147483647><div class="[font-synthesis:none] contain-layout flex items-center gap-[5px] rounded-xs bg-white [box-shadow:#00000033_0px_2px_3px] antialiased w-fit h-fit p-0">'),Ko=8,Uo=4,$a=400;var Ht=e=>{let[t,n]=L(false),r=()=>{n(true),e.onHoverChange?.(true);},i=()=>{n(false),e.onHoverChange?.(false);};return (()=>{var o=ba(),s=o.firstChild;return Pt(o,"click",e.onClick),o.addEventListener("mouseleave",i),o.addEventListener("mouseenter",r),G(s,()=>e.tagName),G(o,R(oe,{get when(){return e.isClickable||e.forceShowIcon},get children(){return R(jo,{size:10,get class(){return Le("text-label-tag-border transition-all duration-100",t()||e.forceShowIcon?"opacity-100 scale-100":"opacity-0 scale-75 -ml-[2px] w-0")}})}}),null),se(l=>{var c=Le("contain-layout flex items-center px-[3px] py-0 h-4 rounded-[1px] gap-0.5 [border-width:0.5px] border-solid border-label-tag-border",e.shrink&&"shrink-0 w-fit",e.isClickable&&"cursor-pointer"),d=Le("text-[#47004A] text-[11.5px] leading-3.5 shrink-0 w-fit h-fit",e.showMono?"tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace]":"tracking-[-0.04em] font-medium");return c!==l.e&&Me(o,l.e=c),d!==l.t&&Me(s,l.t=d),l},{e:void 0,t:void 0}),o})()},Yo=e=>(()=>{var t=ya(),n=t.firstChild;return G(n,()=>e.name),t})(),Ba=e=>(()=>{var t=wa(),n=t.firstChild;return G(n,()=>e.name),t})(),Xo=()=>xa(),Da=()=>va(),Ha=e=>(()=>{var t=Ca(),n=t.firstChild;return G(n,()=>e.tagName),t})(),za=e=>{let t=Le("flex items-center h-[18px] rounded-[1.5px] gap-[3px] px-[5px] py-px border-[0.5px] border-solid border-label-gray-border",e.shrink&&"shrink-0 w-fit",e.asButton&&"cursor-pointer bg-transparent",e.dimmed&&"opacity-50 hover:opacity-100 transition-opacity"),n=[me(()=>e.icon),(()=>{var r=Sa();return G(r,()=>e.label),se(()=>Me(r,Le("text-black text-[12px] leading-4 font-medium tracking-[-0.04em]",e.shrink&&"shrink-0 w-fit h-fit"))),r})()];return e.asButton?(()=>{var r=ka();return Pt(r,"click",e.onClick),Me(r,t),G(r,n),r})():(()=>{var r=Ea();return Pt(r,"click",e.onClick),Me(r,t),G(r,n),se(()=>Ce(r,"role",e.onClick?"button":void 0)),r})()},ja=e=>{let t=()=>e.color??"white";return (()=>{var n=Ta();return se(r=>Co(n,{left:`${e.leftPx}px`,...e.position==="bottom"?{top:"0",transform:"translateX(-50%) translateY(-100%)"}:{bottom:"0",transform:"translateX(-50%) translateY(100%)"},...e.position==="bottom"?{"border-bottom":`8px solid ${t()}`}:{"border-top":`8px solid ${t()}`}},r)),n})()},qo=e=>(()=>{var t=Aa();return Pt(t,"click",e.onClick),se(()=>Me(t,Le("contain-layout shrink-0 flex items-center px-0 py-px w-fit h-[18px] rounded-[1.5px] gap-[3px]",e.asButton&&"cursor-pointer",e.dimmed&&"opacity-50 hover:opacity-100 transition-opacity"))),t})();var Wo=e=>(()=>{var t=_a();return G(t,()=>e.children),t})(),wt=e=>{let t,n,r=false,[i,o]=L(0),[s,l]=L(0),[c,d]=L("bottom"),[p,b]=L(0),[M,w]=L(false),v=()=>e.status!=="copying"&&e.status!=="copied"&&e.status!=="fading",S=()=>{if(t&&!r){let u=t.getBoundingClientRect();o(u.width),l(u.height);}},P=u=>{r=u;},E=()=>{b(u=>u+1);},T,_=()=>{w(false),T&&clearTimeout(T),T=setTimeout(()=>{w(true);},$a);},z=u=>{u.code==="Enter"&&M()&&!e.isInputExpanded&&v()&&(u.preventDefault(),u.stopPropagation(),e.onToggleExpand?.());};uo(()=>{S(),window.addEventListener("scroll",E,true),window.addEventListener("resize",E),window.addEventListener("keydown",z,{capture:true}),_();}),ve(()=>{window.removeEventListener("scroll",E,true),window.removeEventListener("resize",E),window.removeEventListener("keydown",z,{capture:true}),T&&clearTimeout(T);}),Q(()=>{e.selectionBounds,_();}),Q(()=>{e.visible&&requestAnimationFrame(S);}),Q(()=>{e.status,requestAnimationFrame(S);}),Q(()=>{e.isInputExpanded&&n&&setTimeout(()=>{n?.focus();},0);});let N=()=>{p();let u=e.selectionBounds,h=i(),I=s();if(!u||h===0||I===0)return {left:-9999,top:-9999,arrowLeft:0};let A=window.innerWidth,D=window.innerHeight,F=u.x+u.width/2,O=u.y+u.height,V=u.y,$=F-h/2,U=O+Ko+Uo;$+h>A-8&&($=A-h-8),$<8&&($=8);let le=I+Ko+Uo;U+I<=D-8?d("bottom"):(U=V-le,d("top")),U<8&&(U=8);let ce=Math.max(12,Math.min(F-$,h-12));return {left:$,top:U,arrowLeft:ce}},j=u=>{u.stopPropagation(),u.code==="Enter"&&!u.shiftKey?(u.preventDefault(),e.onSubmit?.()):u.code==="Escape"&&(u.preventDefault(),e.onCancel?.());},q=u=>{let h=u.target;e.onInputChange?.(h.value);},ne=()=>e.tagName||"element",Y=u=>{u.stopPropagation(),u.stopImmediatePropagation(),e.filePath&&e.onOpen&&e.onOpen();},J=()=>!!(e.filePath&&e.onOpen),y=u=>{u.stopPropagation(),u.stopImmediatePropagation();},m=()=>e.onSubmit?.();return R(oe,{get when(){return me(()=>e.visible!==false)()&&e.selectionBounds},get children(){var u=Pa(),h=u.firstChild;u.$$click=y,u.$$mousedown=y;var I=t;return typeof I=="function"?$t(I,u):t=u,G(u,R(ja,{get position(){return c()},get leftPx(){return N().arrowLeft},get color(){return e.status==="copied"||e.status==="fading"?"#A3FFCA":void 0}}),h),G(u,R(oe,{get when(){return e.status==="copied"||e.status==="fading"},get children(){var A=Na(),D=A.firstChild,F=D.firstChild,O=D.nextSibling;return G(F,()=>e.hasAgent?"Completed":"Copied"),G(O,R(oe,{get when(){return e.componentName},get children(){return [R(Ba,{get name(){return e.componentName}}),R(Da,{})]}}),null),G(O,R(Ha,{get tagName(){return ne()}}),null),A}}),h),G(h,R(oe,{get when(){return e.status==="copying"},get children(){var A=Ma();return G(A,R(Ht,{get tagName(){return ne()},get isClickable(){return J()},onClick:Y,onHoverChange:P,showMono:true,shrink:true}),null),G(A,R(za,{get icon(){return R(zo,{size:9,class:"text-black shrink-0"})},get label(){return e.statusText??"Grabbing\u2026"}}),null),G(A,R(oe,{get when(){return me(()=>!!e.hasAgent)()&&e.onAbort},get children(){var D=Ra();return D.$$click=F=>{F.preventDefault(),F.stopPropagation(),F.stopImmediatePropagation(),e.onAbort?.();},D.$$mousedown=F=>{F.preventDefault(),F.stopPropagation(),F.stopImmediatePropagation();},G(D,R(Vo,{size:8,class:"text-white"})),D}}),null),A}}),null),G(h,R(oe,{get when(){return me(()=>!!v())()&&!e.isInputExpanded},get children(){var A=Oa(),D=A.firstChild,F=D.nextSibling,O=F.firstChild;return G(D,R(qo,{onClick:m,shrink:true}),null),G(D,R(oe,{get when(){return e.componentName},get children(){var V=Go();return G(V,R(Yo,{get name(){return e.componentName}}),null),G(V,R(Xo,{}),null),G(V,R(Ht,{get tagName(){return ne()},get isClickable(){return J()},onClick:Y,onHoverChange:P,showMono:true,shrink:true}),null),V}}),null),G(D,R(oe,{get when(){return !e.componentName},get children(){return R(Ht,{get tagName(){return ne()},get isClickable(){return J()},onClick:Y,onHoverChange:P,showMono:true,shrink:true})}}),null),G(O,R(Wo,{get children(){var V=La(),$=V.firstChild,U=$.nextSibling;U.firstChild;return V}})),se(V=>fe(F,"grid-template-rows",M()?"1fr":"0fr")),A}}),null),G(h,R(oe,{get when(){return me(()=>!!v())()&&e.isInputExpanded},get children(){var A=Fa(),D=A.firstChild;return G(D,R(qo,{onClick:m,dimmed:true,shrink:true}),null),G(D,R(oe,{get when(){return e.componentName},get children(){var F=Go();return G(F,R(Yo,{get name(){return e.componentName}}),null),G(F,R(Xo,{}),null),G(F,R(Ht,{get tagName(){return ne()},get isClickable(){return J()},onClick:Y,onHoverChange:P,showMono:true,shrink:true,forceShowIcon:true}),null),F}}),null),G(D,R(oe,{get when(){return !e.componentName},get children(){return R(Ht,{get tagName(){return ne()},get isClickable(){return J()},onClick:Y,onHoverChange:P,showMono:true,shrink:true,forceShowIcon:true})}}),null),G(A,R(Wo,{get children(){var F=Ia(),O=F.firstChild,V=O.nextSibling,$=V.firstChild;O.$$keydown=j,O.$$input=q;var U=n;return typeof U=="function"?$t(U,O):n=O,V.$$click=m,se(()=>Me($,Le("w-2.5 h-[9px] shrink-0 bg-cover bg-center transition-opacity duration-100",e.inputValue?"opacity-[0.99]":"opacity-50"))),se(()=>O.value=e.inputValue??""),F}}),null),A}}),null),se(A=>{var D=`${N().top}px`,F=`${N().left}px`,O=e.visible?"auto":"none",V=e.status==="fading"?0:1,$=e.status==="copied"||e.status==="fading"?"none":void 0;return D!==A.e&&fe(u,"top",A.e=D),F!==A.t&&fe(u,"left",A.t=F),O!==A.a&&fe(u,"pointer-events",A.a=O),V!==A.o&&fe(u,"opacity",A.o=V),$!==A.i&&fe(h,"display",A.i=$),A},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),u}})};un(["click","mousedown","input","keydown"]);var Ga=X('<div class="fixed z-2147483647"><button data-react-grab-selection-cursor>'),Zo=e=>{let[t,n]=L(false),[r,i]=L(false);Q(()=>{let s=e.visible!==false;if(e.x,e.y,i(false),s){let l=setTimeout(()=>i(true),500);ve(()=>clearTimeout(l));}});let o=s=>{s.preventDefault(),s.stopPropagation(),e.onClick?.();};return R(oe,{get when(){return r()},get children(){return [R(oe,{get when(){return me(()=>!!t())()&&e.elementBounds},get children(){return R(it,{variant:"selection",get bounds(){return e.elementBounds},visible:true})}}),(()=>{var s=Ga(),l=s.firstChild;return s.addEventListener("mouseleave",()=>n(false)),s.addEventListener("mouseenter",()=>n(true)),l.$$click=o,se(c=>{var d=`${e.x}px`,p=`${e.y}px`,b=Le("absolute left-0 top-0 -translate-x-1/2 -translate-y-1/2 bg-grab-pink cursor-pointer rounded-full transition-[width,height] duration-150",t()?"w-1 h-5.5 brightness-125":"w-0.5 h-5 animate-pulse");return d!==c.e&&fe(s,"left",c.e=d),p!==c.t&&fe(s,"top",c.t=p),b!==c.a&&Me(l,c.a=b),c},{e:void 0,t:void 0,a:void 0}),s})(),R(oe,{get when(){return me(()=>!!t())()&&e.elementBounds},get children(){return R(wt,{get tagName(){return e.tagName},get selectionBounds(){return e.elementBounds},visible:true,get onSubmit(){return e.onClick}})}})]}})};un(["click"]);var Ka=(e,t=30)=>e.length<=t?e:`${e.slice(0,t)}\u2026`,Jo=e=>[R(oe,{get when(){return me(()=>!!e.selectionVisible)()&&e.selectionBounds},get children(){return R(it,{variant:"selection",get bounds(){return e.selectionBounds},get visible(){return e.selectionVisible},get isFading(){return e.selectionLabelStatus==="fading"}})}}),R(oe,{get when(){return me(()=>e.crosshairVisible===true&&e.mouseX!==void 0)()&&e.mouseY!==void 0},get children(){return R(Ho,{get mouseX(){return e.mouseX},get mouseY(){return e.mouseY},visible:true})}}),R(oe,{get when(){return me(()=>!!e.dragVisible)()&&e.dragBounds},get children(){return R(it,{variant:"drag",get bounds(){return e.dragBounds},get visible(){return e.dragVisible}})}}),R(Ft,{get each(){return e.grabbedBoxes??[]},children:t=>R(it,{variant:"grabbed",get bounds(){return t.bounds},get createdAt(){return t.createdAt}})}),R(Ft,{get each(){return me(()=>!!e.agentSessions)()?Array.from(e.agentSessions.values()):[]},children:t=>[R(oe,{get when(){return t.selectionBounds},get children(){return R(it,{variant:"processing",get bounds(){return t.selectionBounds},visible:true})}}),R(wt,{get tagName(){return t.tagName},get componentName(){return t.componentName},get selectionBounds(){return t.selectionBounds},visible:true,hasAgent:true,get status(){return t.isStreaming?"copying":"copied"},get statusText(){return Ka(t.lastStatus||"Please wait\u2026")},onAbort:()=>e.onAbortSession?.(t.id)})]}),R(oe,{get when(){return me(()=>!!e.selectionLabelVisible)()&&e.selectionBounds},get children(){return R(wt,{get tagName(){return e.selectionTagName},get componentName(){return e.selectionComponentName},get selectionBounds(){return e.selectionBounds},get visible(){return e.selectionLabelVisible},get isInputExpanded(){return e.isInputExpanded},get inputValue(){return e.inputValue},get hasAgent(){return e.hasAgent},get status(){return e.selectionLabelStatus},get filePath(){return e.selectionFilePath},get lineNumber(){return e.selectionLineNumber},get onInputChange(){return e.onInputChange},get onSubmit(){return e.onInputSubmit},get onCancel(){return e.onInputCancel},get onToggleExpand(){return e.onToggleExpand},onOpen:()=>{if(e.selectionFilePath){let t=dn(e.selectionFilePath,e.selectionLineNumber);window.open(t,"_blank");}}})}}),R(Ft,{get each(){return e.labelInstances??[]},children:t=>R(wt,{get tagName(){return t.tagName},get componentName(){return t.componentName},get selectionBounds(){return t.bounds},visible:true,get status(){return t.status}})}),R(oe,{get when(){return me(()=>!!(e.nativeSelectionCursorVisible&&e.nativeSelectionCursorX!==void 0))()&&e.nativeSelectionCursorY!==void 0},get children(){return R(Zo,{get x(){return e.nativeSelectionCursorX},get y(){return e.nativeSelectionCursorY},get tagName(){return e.nativeSelectionTagName},get componentName(){return e.nativeSelectionComponentName},get elementBounds(){return e.nativeSelectionBounds},get visible(){return e.nativeSelectionCursorVisible},get onClick(){return e.onNativeSelectionCopy},get onEnter(){return e.onNativeSelectionEnter}})}})];var ti="0.5.21",gn=`bippy-${ti}`,Qo=Object.defineProperty,Ua=Object.prototype.hasOwnProperty,zt=()=>{},ni=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout(()=>{throw Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")});}catch{}},hn=(e=He())=>"getFiberRoots"in e,ri=false,ei,jt=(e=He())=>ri?true:(typeof e.inject=="function"&&(ei=e.inject.toString()),!!ei?.includes("(injected)")),mn=new Set,at=new Set,oi=e=>{let t=new Map,n=0,r={_instrumentationIsActive:false,_instrumentationSource:gn,checkDCE:ni,hasUnsupportedRendererAttached:false,inject(i){let o=++n;return t.set(o,i),at.add(i),r._instrumentationIsActive||(r._instrumentationIsActive=true,mn.forEach(s=>s())),o},on:zt,onCommitFiberRoot:zt,onCommitFiberUnmount:zt,onPostCommitFiberRoot:zt,renderers:t,supportsFiber:true,supportsFlight:true};try{Qo(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return r},set(s){if(s&&typeof s=="object"){let l=r.renderers;r=s,l.size>0&&(l.forEach((c,d)=>{at.add(c),s.renderers.set(d,c);}),pn(e));}}});let i=window.hasOwnProperty,o=!1;Qo(window,"hasOwnProperty",{configurable:!0,value:function(...s){try{if(!o&&s[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,o=!0,-0}catch{}return i.apply(this,s)},writable:!0});}catch{pn(e);}return r},pn=e=>{try{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t)return;if(!t._instrumentationSource){t.checkDCE=ni,t.supportsFiber=!0,t.supportsFlight=!0,t.hasUnsupportedRendererAttached=!1,t._instrumentationSource=gn,t._instrumentationIsActive=!1;let n=hn(t);if(n||(t.on=zt),t.renderers.size){t._instrumentationIsActive=!0,mn.forEach(o=>o());return}let r=t.inject,i=jt(t);i&&!n&&(ri=!0,t.inject({scheduleRefresh(){}})&&(t._instrumentationIsActive=!0)),t.inject=o=>{let s=r(o);return at.add(o),i&&t.renderers.set(s,o),t._instrumentationIsActive=!0,mn.forEach(l=>l()),s};}(t.renderers.size||t._instrumentationIsActive||jt())&&e?.();}catch{}},tr=()=>Ua.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),He=e=>tr()?(pn(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):oi(e),ii=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative")),nr=()=>{try{ii()&&He();}catch{}};nr();var rr=0,or=1;var bn=5;var ir=11,sr=13;var ar=15,lr=16;var cr=19;var yn=26,wn=27,ur=28,dr=30;var xn=e=>{switch(e.tag){case bn:case yn:case wn:return true;default:return typeof e.type=="string"}};var fr=e=>!e||typeof e!="object"?false:"pendingProps"in e&&!("containerInfo"in e);function Vt(e,t,n=false){if(!e)return null;let r=t(e);if(r instanceof Promise)return (async()=>{if(await r===true)return e;let o=n?e.return:e.child;for(;o;){let s=await pr(o,t,n);if(s)return s;o=n?null:o.sibling;}return null})();if(r===true)return e;let i=n?e.return:e.child;for(;i;){let o=mr(i,t,n);if(o)return o;i=n?null:i.sibling;}return null}var mr=(e,t,n=false)=>{if(!e)return null;if(t(e)===true)return e;let r=n?e.return:e.child;for(;r;){let i=mr(r,t,n);if(i)return i;r=n?null:r.sibling;}return null},pr=async(e,t,n=false)=>{if(!e)return null;if(await t(e)===true)return e;let r=n?e.return:e.child;for(;r;){let i=await pr(r,t,n);if(i)return i;r=n?null:r.sibling;}return null};var gr=e=>{let t=e;return typeof t=="function"?t:typeof t=="object"&&t?gr(t.type||t.render):null},xt=e=>{let t=e;if(typeof t=="string")return t;if(typeof t!="function"&&!(typeof t=="object"&&t))return null;let n=t.displayName||t.name||null;if(n)return n;let r=gr(t);return r&&(r.displayName||r.name)||null};var Gt=()=>!!He()._instrumentationIsActive||hn()||jt(),vn=e=>{let t=e.alternate;if(!t)return e;if(t.actualStartTime&&e.actualStartTime)return t.actualStartTime>e.actualStartTime?t:e;for(let n of si){let r=Vt(n.current,i=>{if(i===e)return true});if(r)return r}return e};var Cn=e=>{let t=He();for(let n of t.renderers.values())try{let r=n.findFiberByHostInstance?.(e);if(r)return r}catch{}if(typeof e=="object"&&e){if("_reactRootContainer"in e)return e._reactRootContainer?._internalRoot?.current?.child;for(let n in e)if(n.startsWith("__reactContainer$")||n.startsWith("__reactInternalInstance$")||n.startsWith("__reactFiber"))return e[n]||null}return null},si=new Set;var nl=Object.create,pi=Object.defineProperty,rl=Object.getOwnPropertyDescriptor,ol=Object.getOwnPropertyNames,il=Object.getPrototypeOf,sl=Object.prototype.hasOwnProperty,al=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ll=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=ol(t),o=0,s=i.length,l;o<s;o++)l=i[o],!sl.call(e,l)&&l!==n&&pi(e,l,{get:(c=>t[c]).bind(null,l),enumerable:!(r=rl(t,l))||r.enumerable});return e},cl=(e,t,n)=>(n=e==null?{}:nl(il(e)),ll(pi(n,"default",{value:e,enumerable:true}),e)),ul=()=>{let e=He();for(let t of [...Array.from(at),...Array.from(e.renderers.values())]){let n=t.currentDispatcherRef;if(n&&typeof n=="object")return "H"in n?n.H:n.current}return null},ai=e=>{for(let t of at){let n=t.currentDispatcherRef;n&&typeof n=="object"&&("H"in n?n.H=e:n.current=e);}},ze=e=>`
11
- in ${e}`,dl=(e,t)=>{let n=ze(e);return t&&(n+=` (at ${t})`),n},hr=false,br=(e,t)=>{if(!e||hr)return "";let n=Error.prepareStackTrace;Error.prepareStackTrace=void 0,hr=true;let r=ul();ai(null);let i=console.error,o=console.warn;console.error=()=>{},console.warn=()=>{};try{let c={DetermineComponentFrameRoot(){let M;try{if(t){let w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[]);}catch(v){M=v;}Reflect.construct(e,[],w);}else {try{w.call();}catch(v){M=v;}e.call(w.prototype);}}else {try{throw Error()}catch(v){M=v;}let w=e();w&&typeof w.catch=="function"&&w.catch(()=>{});}}catch(w){if(w instanceof Error&&M instanceof Error&&typeof w.stack=="string")return [w.stack,M.stack]}return [null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot",Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name")?.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});let[p,b]=c.DetermineComponentFrameRoot();if(p&&b){let M=p.split(`
12
- `),w=b.split(`
13
- `),v=0,S=0;for(;v<M.length&&!M[v].includes("DetermineComponentFrameRoot");)v++;for(;S<w.length&&!w[S].includes("DetermineComponentFrameRoot");)S++;if(v===M.length||S===w.length)for(v=M.length-1,S=w.length-1;v>=1&&S>=0&&M[v]!==w[S];)S--;for(;v>=1&&S>=0;v--,S--)if(M[v]!==w[S]){if(v!==1||S!==1)do if(v--,S--,S<0||M[v]!==w[S]){let P=`
14
- ${M[v].replace(" at new "," at ")}`,E=xt(e);return E&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",E)),P}while(v>=1&&S>=0);break}}}finally{hr=false,Error.prepareStackTrace=n,ai(r),console.error=i,console.warn=o;}let s=e?xt(e):"";return s?ze(s):""},fl=(e,t)=>{let n=e.tag,r="";switch(n){case ur:r=ze("Activity");break;case or:r=br(e.type,true);break;case ir:r=br(e.type.render,false);break;case rr:case ar:r=br(e.type,false);break;case bn:case yn:case wn:r=ze(e.type);break;case lr:r=ze("Lazy");break;case sr:r=e.child!==t&&t!==null?ze("Suspense Fallback"):ze("Suspense");break;case cr:r=ze("SuspenseList");break;case dr:r=ze("ViewTransition");break;default:return ""}return r},ml=e=>{try{let t="",n=e,r=null;do{t+=fl(n,r);let i=n._debugInfo;if(i&&Array.isArray(i))for(let o=i.length-1;o>=0;o--){let s=i[o];typeof s.name=="string"&&(t+=dl(s.name,s.env));}r=n,n=n.return;}while(n);return t}catch(t){return t instanceof Error?`
9
+ var cs=(e,t)=>e===t;var us=Symbol("solid-track"),Qt={equals:cs},so=po,Ne=1,Lt=2,ao={owned:null,cleanups:null,context:null,owner:null},jn={},Z=null,x=null,dt=null,re=null,ue=null,pe=null,tn=0;function ot(e,t){let n=re,r=Z,i=e.length===0,o=t===void 0?r:t,a=i?ao:{owned:null,cleanups:null,context:o?o.context:null,owner:o},l=i?e:()=>e(()=>xe(()=>Ke(a)));Z=a,re=null;try{return Te(l,!0)}finally{re=n,Z=r;}}function R(e,t){t=t?Object.assign({},Qt,t):Qt;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=i=>(typeof i=="function"&&(i=i(n.value)),mo(n,i));return [fo.bind(n),r]}function to(e,t,n){let r=rn(e,t,true,Ne);mt(r);}function de(e,t,n){let r=rn(e,t,false,Ne);mt(r);}function Q(e,t,n){so=gs;let r=rn(e,t,false,Ne);(r.user=true),pe?pe.push(r):mt(r);}function ae(e,t,n){n=n?Object.assign({},Qt,n):Qt;let r=rn(e,t,true,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,mt(r),fo.bind(r)}function ds(e){return e&&typeof e=="object"&&"then"in e}function nn(e,t,n){let r,i,o;typeof t=="function"?(r=e,i=t,o={}):(r=true,i=e,o=t||{});let a=null,l=jn,p=false,h="initialValue"in o,N=typeof r=="function"&&ae(r),w=new Set,[C,T]=(o.storage||R)(o.initialValue),[P,k]=R(void 0),[v,A]=R(void 0,{equals:false}),[H,M]=R(h?"ready":"unresolved");function G(y,m,u,b){return a===y&&(a=null,b!==void 0&&(h=true),(y===l||m===l)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(b,{value:m})),l=jn,q(m,u)),m}function q(y,m){Te(()=>{m===void 0&&T(()=>y),M(m!==void 0?"errored":h?"ready":"unresolved"),k(m);for(let u of w.keys())u.decrement();w.clear();},false);}function K(){let y=Ot,m=C(),u=P();if(u!==void 0&&!a)throw u;return re&&!re.user&&y,m}function Y(y=true){if(y!==false&&p)return;p=false;let m=N?N():r;if(m==null||m===false){G(a,xe(C));return}let u,b=l!==jn?l:xe(()=>{try{return i(m,{value:C(),refetching:y})}catch(L){u=L;}});if(u!==void 0){G(a,void 0,Jt(u),m);return}else if(!ds(b))return G(a,b,void 0,m),b;return a=b,"v"in b?(b.s===1?G(a,b.v,void 0,m):G(a,void 0,Jt(b.v),m),b):(p=true,queueMicrotask(()=>p=false),Te(()=>{M(h?"refreshing":"pending"),A();},false),b.then(L=>G(b,L,void 0,m),L=>G(b,void 0,Jt(L),m)))}Object.defineProperties(K,{state:{get:()=>H()},error:{get:()=>P()},loading:{get(){let y=H();return y==="pending"||y==="refreshing"}},latest:{get(){if(!h)return K();let y=P();if(y&&!a)throw y;return C()}}});let oe=Z;return N?to(()=>(oe=Z,Y(false))):Y(false),[K,{refetch:y=>co(oe,()=>Y(y)),mutate:T}]}function xe(e){if(re===null)return e();let t=re;re=null;try{return dt?dt.untrack(e):e()}finally{re=t;}}function ge(e,t,n){let r=Array.isArray(e),i;return a=>{let l;if(r){l=Array(e.length);for(let d=0;d<e.length;d++)l[d]=e[d]();}else l=e();let c=xe(()=>t(l,i,a));return i=l,c}}function lo(e){Q(()=>xe(e));}function ve(e){return Z===null||(Z.cleanups===null?Z.cleanups=[e]:Z.cleanups.push(e)),e}function co(e,t){let n=Z,r=re;Z=e,re=null;try{return Te(t,!0)}catch(i){on(i);}finally{Z=n,re=r;}}var[Yl,no]=R(false);var Ot;function fo(){let e=x;if(this.sources&&(this.state))if((this.state)===Ne)mt(this);else {let t=ue;ue=null,Te(()=>en(this),false),ue=t;}if(re){let t=this.observers?this.observers.length:0;re.sources?(re.sources.push(this),re.sourceSlots.push(t)):(re.sources=[this],re.sourceSlots=[t]),this.observers?(this.observers.push(re),this.observerSlots.push(re.sources.length-1)):(this.observers=[re],this.observerSlots=[re.sources.length-1]);}return e&&x.sources.has(this)?this.tValue:this.value}function mo(e,t,n){let r=e.value;if(!e.comparator||!e.comparator(r,t)){e.value=t;e.observers&&e.observers.length&&Te(()=>{for(let i=0;i<e.observers.length;i+=1){let o=e.observers[i],a=x&&x.running;a&&x.disposed.has(o)||((a?!o.tState:!o.state)&&(o.pure?ue.push(o):pe.push(o),o.observers&&go(o)),a?o.tState=Ne:o.state=Ne);}if(ue.length>1e6)throw ue=[],new Error},false);}return t}function mt(e){if(!e.fn)return;Ke(e);let t=tn;ro(e,e.value,t);}function ro(e,t,n){let r,i=Z,o=re;re=Z=e;try{r=e.fn(t);}catch(a){return e.pure&&((e.state=Ne,e.owned&&e.owned.forEach(Ke),e.owned=null)),e.updatedAt=n+1,on(a)}finally{re=o,Z=i;}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?mo(e,r):e.value=r,e.updatedAt=n);}function rn(e,t,n,r=Ne,i){let o={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:Z,context:Z?Z.context:null,pure:n};if(Z===null||Z!==ao&&(Z.owned?Z.owned.push(o):Z.owned=[o]),dt);return o}function Mt(e){let t=x;if((e.state)===0)return;if((e.state)===Lt)return en(e);if(e.suspense&&xe(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<tn);){(e.state)&&n.push(e);}for(let r=n.length-1;r>=0;r--){if(e=n[r],t);if((e.state)===Ne)mt(e);else if((e.state)===Lt){let i=ue;ue=null,Te(()=>en(e,n[0]),false),ue=i;}}}function Te(e,t){if(ue)return e();let n=false;t||(ue=[]),pe?n=true:pe=[],tn++;try{let r=e();return ms(n),r}catch(r){n||(pe=null),ue=null,on(r);}}function ms(e){if(ue&&(po(ue),ue=null),e)return;let n=pe;pe=null,n.length&&Te(()=>so(n),false);}function po(e){for(let t=0;t<e.length;t++)Mt(e[t]);}function gs(e){let t,n=0;for(t=0;t<e.length;t++){let r=e[t];r.user?e[n++]=r:Mt(r);}for(t=0;t<n;t++)Mt(e[t]);}function en(e,t){e.state=0;for(let r=0;r<e.sources.length;r+=1){let i=e.sources[r];if(i.sources){let o=i.state;o===Ne?i!==t&&(!i.updatedAt||i.updatedAt<tn)&&Mt(i):o===Lt&&en(i,t);}}}function go(e){for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(!r.state)&&(r.state=Lt,r.pure?ue.push(r):pe.push(r),r.observers&&go(r));}}function Ke(e){let t;if(e.sources)for(;e.sources.length;){let n=e.sources.pop(),r=e.sourceSlots.pop(),i=n.observers;if(i&&i.length){let o=i.pop(),a=n.observerSlots.pop();r<i.length&&(o.sourceSlots[a]=r,i[r]=o,n.observerSlots[r]=a);}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)Ke(e.tOwned[t]);delete e.tOwned;}if(e.owned){for(t=e.owned.length-1;t>=0;t--)Ke(e.owned[t]);e.owned=null;}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null;}e.state=0;}function Jt(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function on(e,t=Z){let r=Jt(e);throw r;}var hs=Symbol("fallback");function io(e){for(let t=0;t<e.length;t++)e[t]();}function bs(e,t,n={}){let r=[],i=[],o=[],a=0,l=t.length>1?[]:null;return ve(()=>io(o)),()=>{let c=e()||[],d=c.length,p,h;return c[us],xe(()=>{let w,C,T,P,k,v,A,H,M;if(d===0)a!==0&&(io(o),o=[],r=[],i=[],a=0,l&&(l=[])),n.fallback&&(r=[hs],i[0]=ot(G=>(o[0]=G,n.fallback())),a=1);else if(a===0){for(i=new Array(d),h=0;h<d;h++)r[h]=c[h],i[h]=ot(N);a=d;}else {for(T=new Array(d),P=new Array(d),l&&(k=new Array(d)),v=0,A=Math.min(a,d);v<A&&r[v]===c[v];v++);for(A=a-1,H=d-1;A>=v&&H>=v&&r[A]===c[H];A--,H--)T[H]=i[A],P[H]=o[A],l&&(k[H]=l[A]);for(w=new Map,C=new Array(H+1),h=H;h>=v;h--)M=c[h],p=w.get(M),C[h]=p===void 0?-1:p,w.set(M,h);for(p=v;p<=A;p++)M=r[p],h=w.get(M),h!==void 0&&h!==-1?(T[h]=i[p],P[h]=o[p],l&&(k[h]=l[p]),h=C[h],w.set(M,h)):o[p]();for(h=v;h<d;h++)h in T?(i[h]=T[h],o[h]=P[h],l&&(l[h]=k[h],l[h](h))):i[h]=ot(N);i=i.slice(0,a=d),r=c.slice(0);}return i});function N(w){if(o[h]=w,l){let[C,T]=R(h);return l[h]=T,t(c[h],C)}return t(c[h])}}}function O(e,t){return xe(()=>e(t||{}))}var ws=e=>`Stale read from <${e}>.`;function It(e){let t="fallback"in e&&{fallback:()=>e.fallback};return ae(bs(()=>e.each,e.children,t||void 0))}function se(e){let t=e.keyed,n=ae(()=>e.when,void 0,void 0),r=t?n:ae(n,void 0,{equals:(i,o)=>!i==!o});return ae(()=>{let i=r();if(i){let o=e.children;return typeof o=="function"&&o.length>0?xe(()=>o(t?i:()=>{if(!xe(r))throw ws("Show");return n()})):o}return e.fallback},void 0,void 0)}var he=e=>ae(()=>e());function Cs(e,t,n){let r=n.length,i=t.length,o=r,a=0,l=0,c=t[i-1].nextSibling,d=null;for(;a<i||l<o;){if(t[a]===n[l]){a++,l++;continue}for(;t[i-1]===n[o-1];)i--,o--;if(i===a){let p=o<r?l?n[l-1].nextSibling:n[o-l]:c;for(;l<o;)e.insertBefore(n[l++],p);}else if(o===l)for(;a<i;)(!d||!d.has(t[a]))&&t[a].remove(),a++;else if(t[a]===n[o-1]&&n[l]===t[i-1]){let p=t[--i].nextSibling;e.insertBefore(n[l++],t[a++].nextSibling),e.insertBefore(n[--o],p),t[i]=n[o];}else {if(!d){d=new Map;let h=l;for(;h<o;)d.set(n[h],h++);}let p=d.get(t[a]);if(p!=null)if(l<p&&p<o){let h=a,N=1,w;for(;++h<i&&h<o&&!((w=d.get(t[h]))==null||w!==p+N);)N++;if(N>p-l){let C=t[a];for(;l<p;)e.insertBefore(n[l++],C);}else e.replaceChild(n[l++],t[a++]);}else a++;else t[a++].remove();}}}var bo="_$DX_DELEGATE";function wo(e,t,n,r={}){let i;return ot(o=>{i=o,t===document?e():J(t,e(),t.firstChild?null:void 0,n);},r.owner),()=>{i(),t.textContent="";}}function ie(e,t,n,r){let i,o=()=>{let l=document.createElement("template");return l.innerHTML=e,l.content.firstChild},a=()=>(i||(i=o())).cloneNode(true);return a.cloneNode=a,a}function an(e,t=window.document){let n=t[bo]||(t[bo]=new Set);for(let r=0,i=e.length;r<i;r++){let o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,Ss));}}function Pt(e,t,n){(n==null?e.removeAttribute(t):e.setAttribute(t,n));}function Fe(e,t){(t==null?e.removeAttribute("class"):e.className=t);}function ln(e,t,n,r){Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;}function xo(e,t,n){if(!t)return n?Pt(e,"style"):t;let r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let i,o;for(o in n)t[o]==null&&r.removeProperty(o),delete n[o];for(o in t)i=t[o],i!==n[o]&&(r.setProperty(o,i),n[o]=i);return n}function fe(e,t,n){n!=null?e.style.setProperty(t,n):e.style.removeProperty(t);}function gt(e,t,n){return xe(()=>e(t,n))}function J(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return sn(e,t,r,n);de(i=>sn(e,t(),i,n),r);}function Ss(e){let t=e.target,n=`$$${e.type}`,r=e.target,i=e.currentTarget,o=c=>Object.defineProperty(e,"target",{configurable:true,value:c}),a=()=>{let c=t[n];if(c&&!t.disabled){let d=t[`${n}Data`];if(d!==void 0?c.call(t,d,e):c.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&o(t.host),true},l=()=>{for(;a()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:true,get(){return t||document}}),e.composedPath){let c=e.composedPath();o(c[0]);for(let d=0;d<c.length-2&&(t=c[d],!!a());d++){if(t._$host){t=t._$host,l();break}if(t.parentNode===i)break}}else l();o(r);}function sn(e,t,n,r,i){for(;typeof n=="function";)n=n();if(t===n)return n;let a=typeof t,l=r!==void 0;if(e=l&&n[0]&&n[0].parentNode||e,a==="string"||a==="number"){if(a==="number"&&(t=t.toString(),t===n))return n;if(l){let c=n[0];c&&c.nodeType===3?c.data!==t&&(c.data=t):c=document.createTextNode(t),n=pt(e,n,r,c);}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t;}else if(t==null||a==="boolean"){n=pt(e,n,r);}else {if(a==="function")return de(()=>{let c=t();for(;typeof c=="function";)c=c();n=sn(e,c,n,r);}),()=>n;if(Array.isArray(t)){let c=[],d=n&&Array.isArray(n);if(Gn(c,t,n,i))return de(()=>n=sn(e,c,n,r,true)),()=>n;if(c.length===0){if(n=pt(e,n,r),l)return n}else d?n.length===0?yo(e,c,r):Cs(e,n,c):(n&&pt(e),yo(e,c));n=c;}else if(t.nodeType){if(Array.isArray(n)){if(l)return n=pt(e,n,r,t);pt(e,n,null,t);}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t;}}return n}function Gn(e,t,n,r){let i=false;for(let o=0,a=t.length;o<a;o++){let l=t[o],c=n&&n[e.length],d;if(!(l==null||l===true||l===false))if((d=typeof l)=="object"&&l.nodeType)e.push(l);else if(Array.isArray(l))i=Gn(e,l,c)||i;else if(d==="function")if(r){for(;typeof l=="function";)l=l();i=Gn(e,Array.isArray(l)?l:[l],Array.isArray(c)?c:[c])||i;}else e.push(l),i=true;else {let p=String(l);c&&c.nodeType===3&&c.data===p?e.push(c):e.push(document.createTextNode(p));}}return i}function yo(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n);}function pt(e,t,n,r){if(n===void 0)return e.textContent="";let i=r||document.createTextNode("");if(t.length){let o=false;for(let a=t.length-1;a>=0;a--){let l=t[a];if(i!==l){let c=l.parentNode===e;!o&&!a?c?e.replaceChild(i,l):e.insertBefore(i,n):c&&l.remove();}else o=true;}}else e.insertBefore(i,n);return [i]}var vo=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
10
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-contain-size:initial;--tw-contain-layout:initial;--tw-contain-paint:initial;--tw-contain-style:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--font-weight-medium:500;--radius-xs:.125rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-grab-pink:#b21c8e;--color-grab-purple:#d239c0;--color-label-tag-border:#730079;--color-label-muted:#767676}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.top-0{top:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-2147483645{z-index:2147483645}.z-2147483646{z-index:2147483646}.z-2147483647{z-index:2147483647}.z-\\[2147483645\\]{z-index:2147483645}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.-ml-\\[2px\\]{margin-left:-2px}.ml-1{margin-left:calc(var(--spacing)*1)}.box-border{box-sizing:border-box}.flex{display:flex}.grid{display:grid}.hidden{display:none}.size-fit{width:fit-content;height:fit-content}.h-0{height:calc(var(--spacing)*0)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-5\\.5{height:calc(var(--spacing)*5.5)}.h-\\[7px\\]{height:7px}.h-\\[9px\\]{height:9px}.h-\\[18px\\]{height:18px}.h-fit{height:fit-content}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.w-0{width:calc(var(--spacing)*0)}.w-0\\.5{width:calc(var(--spacing)*.5)}.w-1{width:calc(var(--spacing)*1)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-\\[7px\\]{width:7px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[280px\\]{max-width:280px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-crosshair{cursor:crosshair}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-\\[3px\\]{gap:3px}.gap-\\[5px\\]{gap:5px}.gap-px{gap:1px}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.rounded-\\[1\\.5px\\]{border-radius:1.5px}.rounded-\\[1px\\]{border-radius:1px}.rounded-full{border-radius:3.40282e38px}.rounded-xs{border-radius:var(--radius-xs)}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-b-xs{border-bottom-right-radius:var(--radius-xs);border-bottom-left-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.\\[border-width\\:0\\.5px\\]{border-width:.5px}.\\[border-top-width\\:0\\.5px\\]{border-top-width:.5px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#B3B3B3\\]{border-color:#b3b3b3}.border-grab-purple{border-color:var(--color-grab-purple)}.border-grab-purple\\/40{border-color:#d239c066}@supports (color:color-mix(in lab, red, red)){.border-grab-purple\\/40{border-color:color-mix(in oklab,var(--color-grab-purple)40%,transparent)}}.border-grab-purple\\/50{border-color:#d239c080}@supports (color:color-mix(in lab, red, red)){.border-grab-purple\\/50{border-color:color-mix(in oklab,var(--color-grab-purple)50%,transparent)}}.border-label-tag-border{border-color:var(--color-label-tag-border)}.border-white{border-color:var(--color-white)}.border-t-\\[\\#D9D9D9\\]{border-top-color:#d9d9d9}.bg-\\[\\#F7F7F7\\]{background-color:#f7f7f7}.bg-black{background-color:var(--color-black)}.bg-grab-pink{background-color:var(--color-grab-pink)}.bg-grab-purple\\/5{background-color:#d239c00d}@supports (color:color-mix(in lab, red, red)){.bg-grab-purple\\/5{background-color:color-mix(in oklab,var(--color-grab-purple)5%,transparent)}}.bg-grab-purple\\/8{background-color:#d239c014}@supports (color:color-mix(in lab, red, red)){.bg-grab-purple\\/8{background-color:color-mix(in oklab,var(--color-grab-purple)8%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-cover{background-size:cover}.bg-center{background-position:50%}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.px-0{padding-inline:calc(var(--spacing)*0)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-\\[3px\\]{padding-inline:3px}.py-0{padding-block:calc(var(--spacing)*0)}.py-1{padding-block:calc(var(--spacing)*1)}.py-\\[3px\\]{padding-block:3px}.py-\\[5px\\]{padding-block:5px}.py-px{padding-block:1px}.pt-1{padding-top:calc(var(--spacing)*1)}.align-middle{vertical-align:middle}.font-\\[ui-monospace\\,\\'SFMono-Regular\\'\\,\\'SF_Mono\\'\\,\\'Menlo\\'\\,\\'Consolas\\'\\,\\'Liberation_Mono\\'\\,monospace\\]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-\\[11\\.5px\\]{font-size:11.5px}.text-\\[12px\\]{font-size:12px}.leading-3\\.5{--tw-leading:calc(var(--spacing)*3.5);line-height:calc(var(--spacing)*3.5)}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-\\[-0\\.04em\\]{--tw-tracking:-.04em;letter-spacing:-.04em}.tracking-\\[-0\\.08em\\]{--tw-tracking:-.08em;letter-spacing:-.08em}.whitespace-normal{white-space:normal}.text-\\[\\#0C0C0C\\]{color:#0c0c0c}.text-\\[\\#47004A\\]{color:#47004a}.text-black{color:var(--color-black)}.text-label-muted{color:var(--color-label-muted)}.text-label-tag-border{color:var(--color-label-tag-border)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.opacity-\\[0\\.99\\]{opacity:.99}.brightness-125{--tw-brightness:brightness(125%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter-\\[drop-shadow\\(0px_0px_4px_\\#51515180\\)\\]{filter:drop-shadow(0 0 4px #51515180)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\,height\\]{transition-property:width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-30{--tw-duration:30ms;transition-duration:30ms}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-\\[transform\\,width\\,height\\]{will-change:transform,width,height}.contain-layout{--tw-contain-layout:layout;contain:var(--tw-contain-size,)var(--tw-contain-layout,)var(--tw-contain-paint,)var(--tw-contain-style,)}.outline-none{--tw-outline-style:none;outline-style:none}.\\[font-synthesis\\:none\\]{font-synthesis:none}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:opacity-100:hover{opacity:1}}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.react-grab-shimmer{position:relative;overflow:hidden}.react-grab-shimmer:after{content:"";border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,#0000 0%,#fff6 50%,#0000 100%) 0 0/200% 100%;animation:1.5s ease-in-out infinite shimmer;position:absolute;inset:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-contain-size{syntax:"*";inherits:false}@property --tw-contain-layout{syntax:"*";inherits:false}@property --tw-contain-paint{syntax:"*";inherits:false}@property --tw-contain-style{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}`;var ks=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"],Ts=e=>!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-"),Ns=e=>Array.isArray(e),As=(e,t=false)=>{let{composed:n,target:r}=e,i,o;if(r instanceof HTMLElement&&Ts(r)&&n){let l=e.composedPath()[0];l instanceof HTMLElement&&(i=l.tagName,o=l.role);}else r instanceof HTMLElement&&(i=r.tagName,o=r.role);return Ns(t)?!!(i&&t&&t.some(a=>typeof i=="string"&&a.toLowerCase()===i.toLowerCase()||a===o)):!!(i&&t&&t)},Co=e=>As(e,ks);var So=e=>{let t=e.tagName.toLowerCase();return !!(t==="input"||t==="textarea"||e instanceof HTMLElement&&e.isContentEditable)},Eo=(e,t)=>{let n=document.activeElement;if(n){let r=n;for(;r;){if(So(r))return true;r=r.parentElement;}}if(e!==void 0&&t!==void 0){let r=document.elementsFromPoint(e,t);for(let i of r)if(So(i))return true}return false};var ht="data-react-grab",ko=e=>{let t=document.querySelector(`[${ht}]`);if(t){let a=t.shadowRoot?.querySelector(`[${ht}]`);if(a instanceof HTMLDivElement&&t.shadowRoot)return a}let n=document.createElement("div");n.setAttribute(ht,"true"),n.style.zIndex="2147483646",n.style.position="fixed",n.style.top="0",n.style.left="0";let r=n.attachShadow({mode:"open"});{let a=document.createElement("style");a.textContent=e,r.appendChild(a);}let i=document.createElement("div");i.setAttribute(ht,"true"),r.appendChild(i);let o=document.body??document.documentElement;return o.appendChild(n),setTimeout(()=>{o.contains(n)||o.appendChild(n);},1e3),i};var _s="https://react-grab.com",cn=(e,t)=>{let n=t?`&line=${t}`:"";return `${_s}/open-file?url=${encodeURIComponent(e)}${n}`};var un=["Meta","Control","Shift","Alt"],To='<svg width="294" height="294" viewBox="0 0 294 294" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_0_3)"><mask id="mask0_0_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="294" height="294"><path d="M294 0H0V294H294V0Z" fill="white"/></mask><g mask="url(#mask0_0_3)"><path d="M144.599 47.4924C169.712 27.3959 194.548 20.0265 212.132 30.1797C227.847 39.2555 234.881 60.3243 231.926 89.516C231.677 92.0069 231.328 94.5423 230.94 97.1058L228.526 110.14C228.517 110.136 228.505 110.132 228.495 110.127C228.486 110.165 228.479 110.203 228.468 110.24L216.255 105.741C216.256 105.736 216.248 105.728 216.248 105.723C207.915 103.125 199.421 101.075 190.82 99.5888L190.696 99.5588L173.526 97.2648L173.511 97.2631C173.492 97.236 173.467 97.2176 173.447 97.1905C163.862 96.2064 154.233 95.7166 144.599 95.7223C134.943 95.7162 125.295 96.219 115.693 97.2286C110.075 105.033 104.859 113.118 100.063 121.453C95.2426 129.798 90.8624 138.391 86.939 147.193C90.8624 155.996 95.2426 164.588 100.063 172.933C104.866 181.302 110.099 189.417 115.741 197.245C115.749 197.245 115.758 197.246 115.766 197.247L115.752 197.27L115.745 197.283L115.754 197.296L126.501 211.013L126.574 211.089C132.136 217.767 138.126 224.075 144.507 229.974L144.609 230.082L154.572 238.287C154.539 238.319 154.506 238.35 154.472 238.38C154.485 238.392 154.499 238.402 154.513 238.412L143.846 247.482L143.827 247.497C126.56 261.128 109.472 268.745 94.8019 268.745C88.5916 268.837 82.4687 267.272 77.0657 264.208C61.3496 255.132 54.3164 234.062 57.2707 204.871C57.528 202.307 57.8806 199.694 58.2904 197.054C28.3363 185.327 9.52301 167.51 9.52301 147.193C9.52301 129.042 24.2476 112.396 50.9901 100.375C53.3443 99.3163 55.7938 98.3058 58.2904 97.3526C57.8806 94.7023 57.528 92.0803 57.2707 89.516C54.3164 60.3243 61.3496 39.2555 77.0657 30.1797C94.6494 20.0265 119.486 27.3959 144.599 47.4924ZM70.6423 201.315C70.423 202.955 70.2229 204.566 70.0704 206.168C67.6686 229.567 72.5478 246.628 83.3615 252.988L83.5176 253.062C95.0399 259.717 114.015 254.426 134.782 238.38C125.298 229.45 116.594 219.725 108.764 209.314C95.8516 207.742 83.0977 205.066 70.6423 201.315ZM80.3534 163.438C77.34 171.677 74.8666 180.104 72.9484 188.664C81.1787 191.224 89.5657 193.247 98.0572 194.724L98.4618 194.813C95.2115 189.865 92.0191 184.66 88.9311 179.378C85.8433 174.097 83.003 168.768 80.3534 163.438ZM60.759 110.203C59.234 110.839 57.7378 111.475 56.27 112.11C34.7788 121.806 22.3891 134.591 22.3891 147.193C22.3891 160.493 36.4657 174.297 60.7494 184.26C63.7439 171.581 67.8124 159.182 72.9104 147.193C67.822 135.23 63.7566 122.855 60.759 110.203ZM98.4137 99.6404C89.8078 101.145 81.3075 103.206 72.9676 105.809C74.854 114.203 77.2741 122.468 80.2132 130.554L80.3059 130.939C82.9938 125.6 85.8049 120.338 88.8834 115.008C91.9618 109.679 95.1544 104.569 98.4137 99.6404ZM94.9258 38.5215C90.9331 38.4284 86.9866 39.3955 83.4891 41.3243C72.6291 47.6015 67.6975 64.5954 70.0424 87.9446L70.0416 88.2194C70.194 89.8208 70.3941 91.4325 70.6134 93.0624C83.0737 89.3364 95.8263 86.6703 108.736 85.0924C116.57 74.6779 125.28 64.9532 134.773 56.0249C119.877 44.5087 105.895 38.5215 94.9258 38.5215ZM205.737 41.3148C202.268 39.398 198.355 38.4308 194.394 38.5099L194.29 38.512C183.321 38.512 169.34 44.4991 154.444 56.0153C163.93 64.9374 172.634 74.6557 180.462 85.064C193.375 86.6345 206.128 89.3102 218.584 93.0624C218.812 91.4325 219.003 89.8118 219.165 88.2098C221.548 64.7099 216.65 47.6164 205.737 41.3148ZM144.552 64.3097C138.104 70.2614 132.054 76.6306 126.443 83.3765C132.39 82.995 138.426 82.8046 144.552 82.8046C150.727 82.8046 156.778 83.0143 162.707 83.3765C157.08 76.6293 151.015 70.2596 144.552 64.3097Z" fill="white"/><path d="M144.598 47.4924C169.712 27.3959 194.547 20.0265 212.131 30.1797C227.847 39.2555 234.88 60.3243 231.926 89.516C231.677 92.0069 231.327 94.5423 230.941 97.1058L228.526 110.14L228.496 110.127C228.487 110.165 228.478 110.203 228.469 110.24L216.255 105.741L216.249 105.723C207.916 103.125 199.42 101.075 190.82 99.5888L190.696 99.5588L173.525 97.2648L173.511 97.263C173.492 97.236 173.468 97.2176 173.447 97.1905C163.863 96.2064 154.234 95.7166 144.598 95.7223C134.943 95.7162 125.295 96.219 115.693 97.2286C110.075 105.033 104.859 113.118 100.063 121.453C95.2426 129.798 90.8622 138.391 86.939 147.193C90.8622 155.996 95.2426 164.588 100.063 172.933C104.866 181.302 110.099 189.417 115.741 197.245L115.766 197.247L115.752 197.27L115.745 197.283L115.754 197.296L126.501 211.013L126.574 211.089C132.136 217.767 138.126 224.075 144.506 229.974L144.61 230.082L154.572 238.287C154.539 238.319 154.506 238.35 154.473 238.38L154.512 238.412L143.847 247.482L143.827 247.497C126.56 261.13 109.472 268.745 94.8018 268.745C88.5915 268.837 82.4687 267.272 77.0657 264.208C61.3496 255.132 54.3162 234.062 57.2707 204.871C57.528 202.307 57.8806 199.694 58.2904 197.054C28.3362 185.327 9.52298 167.51 9.52298 147.193C9.52298 129.042 24.2476 112.396 50.9901 100.375C53.3443 99.3163 55.7938 98.3058 58.2904 97.3526C57.8806 94.7023 57.528 92.0803 57.2707 89.516C54.3162 60.3243 61.3496 39.2555 77.0657 30.1797C94.6493 20.0265 119.486 27.3959 144.598 47.4924ZM70.6422 201.315C70.423 202.955 70.2229 204.566 70.0704 206.168C67.6686 229.567 72.5478 246.628 83.3615 252.988L83.5175 253.062C95.0399 259.717 114.015 254.426 134.782 238.38C125.298 229.45 116.594 219.725 108.764 209.314C95.8515 207.742 83.0977 205.066 70.6422 201.315ZM80.3534 163.438C77.34 171.677 74.8666 180.104 72.9484 188.664C81.1786 191.224 89.5657 193.247 98.0572 194.724L98.4618 194.813C95.2115 189.865 92.0191 184.66 88.931 179.378C85.8433 174.097 83.003 168.768 80.3534 163.438ZM60.7589 110.203C59.234 110.839 57.7378 111.475 56.2699 112.11C34.7788 121.806 22.3891 134.591 22.3891 147.193C22.3891 160.493 36.4657 174.297 60.7494 184.26C63.7439 171.581 67.8124 159.182 72.9103 147.193C67.822 135.23 63.7566 122.855 60.7589 110.203ZM98.4137 99.6404C89.8078 101.145 81.3075 103.206 72.9676 105.809C74.8539 114.203 77.2741 122.468 80.2132 130.554L80.3059 130.939C82.9938 125.6 85.8049 120.338 88.8834 115.008C91.9618 109.679 95.1544 104.569 98.4137 99.6404ZM94.9258 38.5215C90.9331 38.4284 86.9866 39.3955 83.4891 41.3243C72.629 47.6015 67.6975 64.5954 70.0424 87.9446L70.0415 88.2194C70.194 89.8208 70.3941 91.4325 70.6134 93.0624C83.0737 89.3364 95.8262 86.6703 108.736 85.0924C116.57 74.6779 125.28 64.9532 134.772 56.0249C119.877 44.5087 105.895 38.5215 94.9258 38.5215ZM205.737 41.3148C202.268 39.398 198.355 38.4308 194.394 38.5099L194.291 38.512C183.321 38.512 169.34 44.4991 154.443 56.0153C163.929 64.9374 172.634 74.6557 180.462 85.064C193.374 86.6345 206.129 89.3102 218.584 93.0624C218.813 91.4325 219.003 89.8118 219.166 88.2098C221.548 64.7099 216.65 47.6164 205.737 41.3148ZM144.551 64.3097C138.103 70.2614 132.055 76.6306 126.443 83.3765C132.389 82.995 138.427 82.8046 144.551 82.8046C150.727 82.8046 156.779 83.0143 162.707 83.3765C157.079 76.6293 151.015 70.2596 144.551 64.3097Z" fill="#FF40E0"/></g><mask id="mask1_0_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="102" y="84" width="161" height="162"><path d="M235.282 84.827L102.261 112.259L129.693 245.28L262.714 217.848L235.282 84.827Z" fill="white"/></mask><g mask="url(#mask1_0_3)"><path d="M136.863 129.916L213.258 141.224C220.669 142.322 222.495 152.179 215.967 155.856L187.592 171.843L184.135 204.227C183.339 211.678 173.564 213.901 169.624 207.526L129.021 141.831C125.503 136.14 130.245 128.936 136.863 129.916Z" fill="#FF40E0" stroke="#FF40E0" stroke-width="0.817337" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_0_3"><rect width="294" height="294" fill="white"/></clipPath></defs></svg>';var Ue=(e,t,n)=>e+(t-e)*n;function No(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=No(e[t]))&&(r&&(r+=" "),r+=n);}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ao(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=No(e))&&(r&&(r+=" "),r+=t);return r}var Xn="-",Rs=e=>{let t=Os(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return {getClassGroupId:a=>{let l=a.split(Xn);return l[0]===""&&l.length!==1&&l.shift(),Lo(l,t)||Ls(a)},getConflictingClassGroupIds:(a,l)=>{let c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},Lo=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?Lo(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let o=e.join(Xn);return t.validators.find(({validator:a})=>a(o))?.classGroupId},_o=/^\[(.+)\]$/,Ls=e=>{if(_o.test(e)){let t=_o.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return "arbitrary.."+n}},Os=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Is(Object.entries(e.classGroups),n).forEach(([o,a])=>{Yn(a,r,o,t);}),r},Yn=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){let o=i===""?t:Ro(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(Ms(i)){Yn(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{Yn(a,Ro(t,o),n,r);});});},Ro=(e,t)=>{let n=e;return t.split(Xn).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r);}),n},Ms=e=>e.isThemeGetter,Is=(e,t)=>t?e.map(([n,r])=>{let i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return [n,i]}):e,Ps=e=>{if(e<1)return {get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map);};return {get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a);}}},Oo="!",Fs=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,a=l=>{let c=[],d=0,p=0,h;for(let P=0;P<l.length;P++){let k=l[P];if(d===0){if(k===i&&(r||l.slice(P,P+o)===t)){c.push(l.slice(p,P)),p=P+o;continue}if(k==="/"){h=P;continue}}k==="["?d++:k==="]"&&d--;}let N=c.length===0?l:l.substring(p),w=N.startsWith(Oo),C=w?N.substring(1):N,T=h&&h>p?h-p:void 0;return {modifiers:c,hasImportantModifier:w,baseClassName:C,maybePostfixModifierPosition:T}};return n?l=>n({className:l,parseClassName:a}):a},$s=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r);}),t.push(...n.sort()),t},Ds=e=>({cache:Ps(e.cacheSize),parseClassName:Fs(e),...Rs(e)}),Bs=/\s+/,Hs=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(Bs),l="";for(let c=a.length-1;c>=0;c-=1){let d=a[c],{modifiers:p,hasImportantModifier:h,baseClassName:N,maybePostfixModifierPosition:w}=n(d),C=!!w,T=r(C?N.substring(0,w):N);if(!T){if(!C){l=d+(l.length>0?" "+l:l);continue}if(T=r(N),!T){l=d+(l.length>0?" "+l:l);continue}C=false;}let P=$s(p).join(":"),k=h?P+Oo:P,v=k+T;if(o.includes(v))continue;o.push(v);let A=i(T,C);for(let H=0;H<A.length;++H){let M=A[H];o.push(k+M);}l=d+(l.length>0?" "+l:l);}return l};function zs(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Mo(t))&&(r&&(r+=" "),r+=n);return r}var Mo=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Mo(e[r]))&&(n&&(n+=" "),n+=t);return n};function js(e,...t){let n,r,i,o=a;function a(c){let d=t.reduce((p,h)=>h(p),e());return n=Ds(d),r=n.cache.get,i=n.cache.set,o=l,l(c)}function l(c){let d=r(c);if(d)return d;let p=Hs(c,n);return i(c,p),p}return function(){return o(zs.apply(null,arguments))}}var ce=e=>{let t=n=>n[e]||[];return t.isThemeGetter=true,t},Io=/^\[(?:([a-z-]+):)?(.+)\]$/i,Vs=/^\d+\/\d+$/,Gs=new Set(["px","full","screen"]),Ks=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Us=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ys=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Xs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qs=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$e=e=>bt(e)||Gs.has(e)||Vs.test(e),Ye=e=>yt(e,"length",ra),bt=e=>!!e&&!Number.isNaN(Number(e)),Un=e=>yt(e,"number",bt),Ft=e=>!!e&&Number.isInteger(Number(e)),Ws=e=>e.endsWith("%")&&bt(e.slice(0,-1)),U=e=>Io.test(e),Xe=e=>Ks.test(e),Zs=new Set(["length","size","percentage"]),Js=e=>yt(e,Zs,Po),Qs=e=>yt(e,"position",Po),ea=new Set(["image","url"]),ta=e=>yt(e,ea,ia),na=e=>yt(e,"",oa),$t=()=>true,yt=(e,t,n)=>{let r=Io.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):false},ra=e=>Us.test(e)&&!Ys.test(e),Po=()=>false,oa=e=>Xs.test(e),ia=e=>qs.test(e);var sa=()=>{let e=ce("colors"),t=ce("spacing"),n=ce("blur"),r=ce("brightness"),i=ce("borderColor"),o=ce("borderRadius"),a=ce("borderSpacing"),l=ce("borderWidth"),c=ce("contrast"),d=ce("grayscale"),p=ce("hueRotate"),h=ce("invert"),N=ce("gap"),w=ce("gradientColorStops"),C=ce("gradientColorStopPositions"),T=ce("inset"),P=ce("margin"),k=ce("opacity"),v=ce("padding"),A=ce("saturate"),H=ce("scale"),M=ce("sepia"),G=ce("skew"),q=ce("space"),K=ce("translate"),Y=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],y=()=>["auto",U,t],m=()=>[U,t],u=()=>["",$e,Ye],b=()=>["auto",bt,U],L=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>["start","end","center","between","around","evenly","stretch"],z=()=>["","0",U],j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[bt,U];return {cacheSize:500,separator:":",theme:{colors:[$t],spacing:[$e,Ye],blur:["none","",Xe,U],brightness:B(),borderColor:[e],borderRadius:["none","","full",Xe,U],borderSpacing:m(),borderWidth:u(),contrast:B(),grayscale:z(),hueRotate:B(),invert:z(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[Ws,Ye],inset:y(),margin:y(),opacity:B(),padding:m(),saturate:B(),scale:B(),sepia:z(),skew:B(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",U]}],container:["container"],columns:[{columns:[Xe]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...L(),U]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ft,U]}],basis:[{basis:y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",U]}],grow:[{grow:z()}],shrink:[{shrink:z()}],order:[{order:["first","last","none",Ft,U]}],"grid-cols":[{"grid-cols":[$t]}],"col-start-end":[{col:["auto",{span:["full",Ft,U]},U]}],"col-start":[{"col-start":b()}],"col-end":[{"col-end":b()}],"grid-rows":[{"grid-rows":[$t]}],"row-start-end":[{row:["auto",{span:[Ft,U]},U]}],"row-start":[{"row-start":b()}],"row-end":[{"row-end":b()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",U]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",U]}],gap:[{gap:[N]}],"gap-x":[{"gap-x":[N]}],"gap-y":[{"gap-y":[N]}],"justify-content":[{justify:["normal",...I()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...I(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...I(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",U,t]}],"min-w":[{"min-w":[U,t,"min","max","fit"]}],"max-w":[{"max-w":[U,t,"none","full","min","max","fit","prose",{screen:[Xe]},Xe]}],h:[{h:[U,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[U,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[U,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[U,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Xe,Ye]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Un]}],"font-family":[{font:[$t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",U]}],"line-clamp":[{"line-clamp":["none",bt,Un]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$e,U]}],"list-image":[{"list-image":["none",U]}],"list-style-type":[{list:["none","disc","decimal",U]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$e,Ye]}],"underline-offset":[{"underline-offset":["auto",$e,U]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",U]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",U]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...L(),Qs]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Js]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ta]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:_()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[$e,U]}],"outline-w":[{outline:[$e,Ye]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:u()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[$e,Ye]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Xe,na]}],"shadow-color":[{shadow:[$t]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Xe,U]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[A]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",U]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",U]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",U]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-y":[{"scale-y":[H]}],rotate:[{rotate:[Ft,U]}],"translate-x":[{"translate-x":[K]}],"translate-y":[{"translate-y":[K]}],"skew-x":[{"skew-x":[G]}],"skew-y":[{"skew-y":[G]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",U]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",U]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",U]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[$e,Ye,Un]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Fo=js(sa);var Me=(...e)=>Fo(Ao(e));var la=ie("<div style=overflow:visible>"),it=e=>{let[t,n]=R(e.bounds.x),[r,i]=R(e.bounds.y),[o,a]=R(e.bounds.width),[l,c]=R(e.bounds.height),[d,p]=R(1),h=false,N=null,w=null,C=e.bounds,T=false,P=()=>e.lerpFactor!==void 0?e.lerpFactor:e.variant==="drag"?.7:.95,k=()=>{if(T)return;T=true;let v=()=>{let A=Ue(t(),C.x,P()),H=Ue(r(),C.y,P()),M=Ue(o(),C.width,P()),G=Ue(l(),C.height,P());n(A),i(H),a(M),c(G),Math.abs(A-C.x)<.5&&Math.abs(H-C.y)<.5&&Math.abs(M-C.width)<.5&&Math.abs(G-C.height)<.5?(N=null,T=false):N=requestAnimationFrame(v);};N=requestAnimationFrame(v);};return Q(ge(()=>e.bounds,v=>{if(C=v,!h){n(C.x),i(C.y),a(C.width),c(C.height),h=true;return}k();})),Q(()=>{e.variant==="grabbed"&&e.createdAt&&(w=window.setTimeout(()=>{p(0);},1500));}),ve(()=>{N!==null&&(cancelAnimationFrame(N),N=null),w!==null&&(window.clearTimeout(w),w=null),T=false;}),O(se,{get when(){return e.visible!==false},get children(){var v=la();return de(A=>{var H=Me("fixed box-border",e.variant==="drag"&&"pointer-events-none",e.variant!=="drag"&&"pointer-events-auto",e.variant==="grabbed"&&"z-2147483645",e.variant!=="grabbed"&&"z-2147483646",e.variant==="drag"&&"border border-solid border-grab-purple/40 bg-grab-purple/5 will-change-[transform,width,height] cursor-crosshair",e.variant==="selection"&&"border border-solid border-grab-purple/50 bg-grab-purple/8 transition-opacity duration-100 ease-out",e.variant==="grabbed"&&"border border-solid border-grab-purple bg-grab-purple/8 transition-opacity duration-300 ease-out",e.variant==="processing"&&"border border-solid border-grab-purple/50 bg-grab-purple/8"),M=`${r()}px`,G=`${t()}px`,q=`${o()}px`,K=`${l()}px`,Y=e.bounds.borderRadius,oe=e.bounds.transform,y=e.isFading?0:d(),m=e.variant==="drag"?"layout paint size":void 0;return H!==A.e&&Fe(v,A.e=H),M!==A.t&&fe(v,"top",A.t=M),G!==A.a&&fe(v,"left",A.a=G),q!==A.o&&fe(v,"width",A.o=q),K!==A.i&&fe(v,"height",A.i=K),Y!==A.n&&fe(v,"border-radius",A.n=Y),oe!==A.s&&fe(v,"transform",A.s=oe),y!==A.h&&fe(v,"opacity",A.h=y),m!==A.r&&fe(v,"contain",A.r=m),A},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0}),v}})};var $o=e=>{let t=e.lerpFactor??.3,n=e.convergenceThreshold??.5,[r,i]=R(e.x()),[o,a]=R(e.y()),l=e.x(),c=e.y(),d=null,p=false,h=()=>{let w=Ue(r(),l,t),C=Ue(o(),c,t);i(w),a(C),Math.abs(w-l)<n&&Math.abs(C-c)<n?d=null:d=requestAnimationFrame(h);},N=()=>{d===null&&(d=requestAnimationFrame(h));};return Q(()=>{if(l=e.x(),c=e.y(),!p){i(l),a(c),p=true;return}N();}),ve(()=>{d!==null&&(cancelAnimationFrame(d),d=null);}),{x:r,y:o}};var ca=ie('<canvas class="fixed top-0 left-0 pointer-events-none z-[2147483645]">'),Do=e=>{let t,n=null,r=0,i=0,o=1,a=$o({x:()=>e.mouseX,y:()=>e.mouseY,lerpFactor:.3}),l=()=>{t&&(o=Math.max(window.devicePixelRatio||1,2),r=window.innerWidth,i=window.innerHeight,t.width=r*o,t.height=i*o,t.style.width=`${r}px`,t.style.height=`${i}px`,n=t.getContext("2d"),n&&n.scale(o,o));},c=()=>{n&&(n.clearRect(0,0,r,i),n.strokeStyle="rgba(210, 57, 192)",n.lineWidth=1,n.beginPath(),n.moveTo(a.x(),0),n.lineTo(a.x(),i),n.moveTo(0,a.y()),n.lineTo(r,a.y()),n.stroke());};return Q(()=>{l(),c();let d=()=>{l(),c();};window.addEventListener("resize",d),ve(()=>{window.removeEventListener("resize",d);});}),Q(()=>{a.x(),a.y(),c();}),O(se,{get when(){return e.visible!==false},get children(){var d=ca(),p=t;return typeof p=="function"?gt(p,d):t=d,d}})};var ua=ie('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2><path d="M12 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6"></path><path d="M11 13l9-9"></path><path d="M15 4h5v5">'),Bo=e=>{let t=()=>e.size??12;return (()=>{var n=ua();return de(r=>{var i=t(),o=t(),a=e.class;return i!==r.e&&Pt(n,"width",r.e=i),o!==r.t&&Pt(n,"height",r.t=o),a!==r.a&&Pt(n,"class",r.a=a),r},{e:void 0,t:void 0,a:void 0}),n})()};var da=ie('<div style="background-image:linear-gradient(in oklab 180deg, oklab(88.7% 0.086 -0.058) 0%, oklab(83.2% 0.132 -0.089) 100%)"><span>'),fa=ie(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-[#B3B3B3] py-0 bg-[#F7F7F7]"><span class="text-[#0C0C0C] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">`),ma=ie(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-white py-0"><span class="text-[#0C0C0C] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">&gt;`),pa=ie('<div class="absolute w-0 h-0"style="border-left:8px solid transparent;border-right:8px solid transparent">'),ga=ie('<div role=button><div class="text-black text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">'),ha=ie('<div class="[font-synthesis:none] contain-layout shrink-0 flex flex-col items-start px-2 py-[5px] w-auto h-fit self-stretch [border-top-width:0.5px] border-t-solid border-t-[#D9D9D9] antialiased rounded-t-none rounded-b-xs"style="background-image:linear-gradient(in oklab 180deg, oklab(100% 0 0) 0%, oklab(96.1% 0 0) 5.92%)">'),ba=ie('<div class="[font-synthesis:none] contain-layout shrink-0 flex items-center gap-1 rounded-xs bg-white antialiased w-fit h-fit py-1 px-1.5"><div class="contain-layout shrink-0 flex items-center px-0 py-px w-fit h-[18px] rounded-[1.5px] gap-[3px]"><div class="text-black text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">'),ya=ie('<button class="contain-layout shrink-0 flex flex-col items-start rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] p-1 size-fit cursor-pointer ml-1 transition-none hover:scale-105"><div class="shrink-0 w-[7px] h-[7px] rounded-[1px] bg-black">'),wa=ie('<div class="shrink-0 flex justify-between items-end w-full min-h-4"><textarea class="text-black text-[12px] leading-4 tracking-[-0.04em] font-medium bg-transparent border-none outline-none resize-none flex-1 p-0 m-0 opacity-50"placeholder="type to edit"rows=1 disabled style=field-sizing:content;min-height:16px>'),xa=ie('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit max-w-[280px]"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 px-1.5 w-auto h-fit"><div class="contain-layout flex items-center px-0 py-px w-auto h-fit rounded-[1.5px] gap-[3px]"><div class="text-black text-[12px] leading-4 tracking-[-0.04em] font-sans font-medium w-auto h-fit whitespace-normal react-grab-shimmer">'),Ho=ie('<div class="contain-layout shrink-0 flex items-center gap-px w-fit h-fit">'),va=ie('<div class="contain-layout shrink-0 flex items-center gap-1 w-fit h-fit"><span class="text-label-muted text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">Press</span><div class="contain-layout shrink-0 flex flex-col items-start px-[3px] py-[3px] rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] size-fit"><div class="w-2.5 h-[9px] shrink-0 opacity-[0.99] bg-cover bg-center"style=background-image:url(https://workers.paper.design/file-assets/01K8D51Q7E2ESJTN18XN2MT96X/01KBEJ7N5GQ0ZZ7K456R42AP4V.svg)></div></div><span class="text-label-muted text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">to edit'),Ca=ie('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 w-fit h-fit px-1.5"></div><div class="grid w-full transition-[grid-template-rows] duration-30 ease-out"><div class="overflow-hidden min-h-0">'),Sa=ie('<div class="shrink-0 flex justify-between items-end w-full min-h-4"><textarea class="text-black text-[12px] leading-4 tracking-[-0.04em] font-medium bg-transparent border-none outline-none resize-none flex-1 p-0 m-0"placeholder="type to edit"rows=1 style=field-sizing:content;min-height:16px></textarea><button class="contain-layout shrink-0 flex flex-col items-start px-[3px] py-[3px] rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] size-fit cursor-pointer ml-1 transition-none hover:scale-105"><div style=background-image:url(https://workers.paper.design/file-assets/01K8D51Q7E2ESJTN18XN2MT96X/01KBEJ7N5GQ0ZZ7K456R42AP4V.svg)>'),Ea=ie('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 px-1.5 w-fit h-fit">'),ka=ie('<div data-react-grab-ignore-events class="fixed font-sans antialiased transition-opacity duration-300 ease-out filter-[drop-shadow(0px_0px_4px_#51515180)]"style=z-index:2147483647><div class="[font-synthesis:none] contain-layout flex items-center gap-[5px] rounded-xs bg-white antialiased w-fit h-fit p-0">'),zo=8,jo=4,Ta=400;var dn=e=>{let[t,n]=R(false),r=()=>{n(true),e.onHoverChange?.(true);},i=()=>{n(false),e.onHoverChange?.(false);};return (()=>{var o=da(),a=o.firstChild;return ln(o,"click",e.onClick),o.addEventListener("mouseleave",i),o.addEventListener("mouseenter",r),J(a,()=>e.tagName),J(o,O(se,{get when(){return e.isClickable||e.forceShowIcon},get children(){return O(Bo,{size:10,get class(){return Me("text-label-tag-border transition-all duration-100",t()||e.forceShowIcon?"opacity-100 scale-100":"opacity-0 scale-75 -ml-[2px] w-0")}})}}),null),de(l=>{var c=Me("contain-layout flex items-center px-[3px] py-0 h-4 rounded-[1px] gap-0.5 [border-width:0.5px] border-solid border-label-tag-border",e.shrink&&"shrink-0 w-fit",e.isClickable&&"cursor-pointer"),d=Me("text-[#47004A] text-[11.5px] leading-3.5 shrink-0 w-fit h-fit",e.showMono?"tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace]":"tracking-[-0.04em] font-medium");return c!==l.e&&Fe(o,l.e=c),d!==l.t&&Fe(a,l.t=d),l},{e:void 0,t:void 0}),o})()},Vo=e=>(()=>{var t=fa(),n=t.firstChild;return J(n,()=>e.name),t})(),Go=()=>ma(),Na=e=>{let t=()=>e.color??"white";return (()=>{var n=pa();return de(r=>xo(n,{left:`${e.leftPx}px`,...e.position==="bottom"?{top:"0",transform:"translateX(-50%) translateY(-100%)"}:{bottom:"0",transform:"translateX(-50%) translateY(100%)"},...e.position==="bottom"?{"border-bottom":`8px solid ${t()}`}:{"border-top":`8px solid ${t()}`}},r)),n})()},Ko=e=>(()=>{var t=ga(),n=t.firstChild;return ln(t,"click",e.onClick),J(n,()=>e.hasParent?"Copy":"Click to copy"),de(()=>Fe(t,Me("contain-layout shrink-0 flex items-center px-0 py-px w-fit h-[18px] rounded-[1.5px] gap-[3px]",e.asButton&&"cursor-pointer",e.dimmed&&"opacity-50 hover:opacity-100 transition-opacity"))),t})();var qn=e=>(()=>{var t=ha();return J(t,()=>e.children),t})(),wt=e=>{let t,n,r=false,[i,o]=R(0),[a,l]=R(0),[c,d]=R("bottom"),[p,h]=R(0),[N,w]=R(false),C=()=>e.status!=="copying"&&e.status!=="copied"&&e.status!=="fading",T=()=>{if(t&&!r){let u=t.getBoundingClientRect();o(u.width),l(u.height);}},P=u=>{r=u;},k=()=>{h(u=>u+1);},v,A=()=>{w(false),v&&clearTimeout(v),v=setTimeout(()=>{w(true);},Ta);},H=u=>{u.code==="Enter"&&N()&&!e.isInputExpanded&&C()&&(u.preventDefault(),u.stopPropagation(),e.onToggleExpand?.());};lo(()=>{T(),window.addEventListener("scroll",k,true),window.addEventListener("resize",k),window.addEventListener("keydown",H,{capture:true}),A();}),ve(()=>{window.removeEventListener("scroll",k,true),window.removeEventListener("resize",k),window.removeEventListener("keydown",H,{capture:true}),v&&clearTimeout(v);}),Q(()=>{e.selectionBounds,A();}),Q(()=>{e.visible&&requestAnimationFrame(T);}),Q(()=>{e.status,requestAnimationFrame(T);}),Q(()=>{e.isInputExpanded&&n&&setTimeout(()=>{n?.focus();},0);});let M=()=>{p();let u=e.selectionBounds,b=i(),L=a();if(!u||b===0||L===0)return {left:-9999,top:-9999,arrowLeft:0};let _=window.innerWidth,V=window.innerHeight,I=u.x+u.width/2,z=e.mouseX??I,j=u.y+u.height,B=u.y,F=z-b/2,ee=j+zo+jo;F+b>_-8&&(F=_-b-8),F<8&&(F=8);let W=L+zo+jo;ee+L<=V-8?d("bottom"):(ee=B-W,d("top")),ee<8&&(ee=8);let be=Math.max(12,Math.min(z-F,b-12));return {left:F,top:ee,arrowLeft:be}},G=u=>{u.stopPropagation(),u.code==="Enter"&&!u.shiftKey?(u.preventDefault(),e.onSubmit?.()):u.code==="Escape"&&(u.preventDefault(),e.onCancel?.());},q=u=>{let b=u.target;e.onInputChange?.(b.value);},K=()=>e.tagName||"element",Y=u=>{u.stopPropagation(),u.stopImmediatePropagation(),e.filePath&&e.onOpen&&e.onOpen();},oe=()=>!!(e.filePath&&e.onOpen),y=u=>{u.stopPropagation(),u.stopImmediatePropagation();},m=()=>e.onSubmit?.();return O(se,{get when(){return he(()=>e.visible!==false)()&&e.selectionBounds},get children(){var u=ka(),b=u.firstChild;u.$$click=y,u.$$mousedown=y;var L=t;return typeof L=="function"?gt(L,u):t=u,J(u,O(Na,{get position(){return c()},get leftPx(){return M().arrowLeft}}),b),J(u,O(se,{get when(){return e.status==="copied"||e.status==="fading"},get children(){var _=ba(),V=_.firstChild,I=V.firstChild;return J(I,()=>e.hasAgent?"Completed":"Copied"),_}}),b),J(b,O(se,{get when(){return e.status==="copying"},get children(){var _=xa(),V=_.firstChild,I=V.firstChild,z=I.firstChild;return J(z,()=>e.statusText??"Grabbing\u2026"),J(_,O(qn,{get children(){var j=wa(),B=j.firstChild,F=n;return typeof F=="function"?gt(F,B):n=B,J(j,O(se,{get when(){return e.onAbort},get children(){var ee=ya();return ln(ee,"click",e.onAbort),ee}}),null),de(()=>B.value=e.inputValue??""),j}}),null),_}}),null),J(b,O(se,{get when(){return he(()=>!!C())()&&!e.isInputExpanded},get children(){var _=Ca(),V=_.firstChild,I=V.nextSibling,z=I.firstChild;return J(V,O(Ko,{onClick:m,shrink:true,get hasParent(){return !!e.componentName}}),null),J(V,O(se,{get when(){return e.componentName},get children(){var j=Ho();return J(j,O(Vo,{get name(){return e.componentName}}),null),J(j,O(Go,{}),null),J(j,O(dn,{get tagName(){return K()},get isClickable(){return oe()},onClick:Y,onHoverChange:P,showMono:true,shrink:true}),null),j}}),null),J(V,O(se,{get when(){return !e.componentName},get children(){return O(dn,{get tagName(){return K()},get isClickable(){return oe()},onClick:Y,onHoverChange:P,showMono:true,shrink:true})}}),null),J(z,O(qn,{get children(){var j=va(),B=j.firstChild,F=B.nextSibling;F.firstChild;return j}})),de(j=>fe(I,"grid-template-rows",N()?"1fr":"0fr")),_}}),null),J(b,O(se,{get when(){return he(()=>!!C())()&&e.isInputExpanded},get children(){var _=Ea(),V=_.firstChild;return J(V,O(Ko,{onClick:m,dimmed:true,shrink:true,get hasParent(){return !!e.componentName}}),null),J(V,O(se,{get when(){return e.componentName},get children(){var I=Ho();return J(I,O(Vo,{get name(){return e.componentName}}),null),J(I,O(Go,{}),null),J(I,O(dn,{get tagName(){return K()},get isClickable(){return oe()},onClick:Y,onHoverChange:P,showMono:true,shrink:true,forceShowIcon:true}),null),I}}),null),J(V,O(se,{get when(){return !e.componentName},get children(){return O(dn,{get tagName(){return K()},get isClickable(){return oe()},onClick:Y,onHoverChange:P,showMono:true,shrink:true,forceShowIcon:true})}}),null),J(_,O(qn,{get children(){var I=Sa(),z=I.firstChild,j=z.nextSibling,B=j.firstChild;z.$$keydown=G,z.$$input=q;var F=n;return typeof F=="function"?gt(F,z):n=z,j.$$click=m,de(()=>Fe(B,Me("w-2.5 h-[9px] shrink-0 bg-cover bg-center transition-opacity duration-100",e.inputValue?"opacity-[0.99]":"opacity-50"))),de(()=>z.value=e.inputValue??""),I}}),null),_}}),null),de(_=>{var V=`${M().top}px`,I=`${M().left}px`,z=e.visible?"auto":"none",j=e.status==="fading"?0:1,B=e.status==="copied"||e.status==="fading"?"none":void 0;return V!==_.e&&fe(u,"top",_.e=V),I!==_.t&&fe(u,"left",_.t=I),z!==_.a&&fe(u,"pointer-events",_.a=z),j!==_.o&&fe(u,"opacity",_.o=j),B!==_.i&&fe(b,"display",_.i=B),_},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),u}})};an(["click","mousedown","input","keydown"]);var _a=ie('<div class="fixed z-2147483647"><button data-react-grab-selection-cursor>'),Uo=e=>{let[t,n]=R(false),[r,i]=R(false);Q(()=>{let a=e.visible!==false;if(e.x,e.y,i(false),a){let l=setTimeout(()=>i(true),500);ve(()=>clearTimeout(l));}});let o=a=>{a.preventDefault(),a.stopPropagation(),e.onClick?.();};return O(se,{get when(){return r()},get children(){return [O(se,{get when(){return he(()=>!!t())()&&e.elementBounds},get children(){return O(it,{variant:"selection",get bounds(){return e.elementBounds},visible:true})}}),(()=>{var a=_a(),l=a.firstChild;return a.addEventListener("mouseleave",()=>n(false)),a.addEventListener("mouseenter",()=>n(true)),l.$$click=o,de(c=>{var d=`${e.x}px`,p=`${e.y}px`,h=Me("absolute left-0 top-0 -translate-x-1/2 -translate-y-1/2 bg-grab-pink cursor-pointer rounded-full transition-[width,height] duration-150",t()?"w-1 h-5.5 brightness-125":"w-0.5 h-5 animate-pulse");return d!==c.e&&fe(a,"left",c.e=d),p!==c.t&&fe(a,"top",c.t=p),h!==c.a&&Fe(l,c.a=h),c},{e:void 0,t:void 0,a:void 0}),a})(),O(se,{get when(){return he(()=>!!t())()&&e.elementBounds},get children(){return O(wt,{get tagName(){return e.tagName},get selectionBounds(){return e.elementBounds},get mouseX(){return e.x},visible:true,get onSubmit(){return e.onClick}})}})]}})};an(["click"]);var Yo=e=>[O(se,{get when(){return he(()=>!!e.selectionVisible)()&&e.selectionBounds},get children(){return O(it,{variant:"selection",get bounds(){return e.selectionBounds},get visible(){return e.selectionVisible},get isFading(){return e.selectionLabelStatus==="fading"}})}}),O(se,{get when(){return he(()=>e.crosshairVisible===true&&e.mouseX!==void 0)()&&e.mouseY!==void 0},get children(){return O(Do,{get mouseX(){return e.mouseX},get mouseY(){return e.mouseY},visible:true})}}),O(se,{get when(){return he(()=>!!e.dragVisible)()&&e.dragBounds},get children(){return O(it,{variant:"drag",get bounds(){return e.dragBounds},get visible(){return e.dragVisible}})}}),O(It,{get each(){return e.grabbedBoxes??[]},children:t=>O(it,{variant:"grabbed",get bounds(){return t.bounds},get createdAt(){return t.createdAt}})}),O(It,{get each(){return he(()=>!!e.agentSessions)()?Array.from(e.agentSessions.values()):[]},children:t=>[O(se,{get when(){return t.selectionBounds},get children(){return O(it,{variant:"processing",get bounds(){return t.selectionBounds},visible:true})}}),O(wt,{get tagName(){return t.tagName},get componentName(){return t.componentName},get selectionBounds(){return t.selectionBounds},get mouseX(){return t.position.x},visible:true,hasAgent:true,get status(){return t.isStreaming?"copying":"copied"},get statusText(){return t.lastStatus||"Please wait\u2026"},get inputValue(){return t.context.prompt},onAbort:()=>e.onAbortSession?.(t.id)})]}),O(se,{get when(){return he(()=>!!e.selectionLabelVisible)()&&e.selectionBounds},get children(){return O(wt,{get tagName(){return e.selectionTagName},get componentName(){return e.selectionComponentName},get selectionBounds(){return e.selectionBounds},get mouseX(){return e.mouseX},get visible(){return e.selectionLabelVisible},get isInputExpanded(){return e.isInputExpanded},get inputValue(){return e.inputValue},get hasAgent(){return e.hasAgent},get status(){return e.selectionLabelStatus},get filePath(){return e.selectionFilePath},get lineNumber(){return e.selectionLineNumber},get onInputChange(){return e.onInputChange},get onSubmit(){return e.onInputSubmit},get onCancel(){return e.onInputCancel},get onToggleExpand(){return e.onToggleExpand},onOpen:()=>{if(e.selectionFilePath){let t=cn(e.selectionFilePath,e.selectionLineNumber);window.open(t,"_blank");}}})}}),O(It,{get each(){return e.labelInstances??[]},children:t=>O(wt,{get tagName(){return t.tagName},get componentName(){return t.componentName},get selectionBounds(){return t.bounds},get mouseX(){return t.mouseX},visible:true,get status(){return t.status}})}),O(se,{get when(){return he(()=>!!(e.nativeSelectionCursorVisible&&e.nativeSelectionCursorX!==void 0))()&&e.nativeSelectionCursorY!==void 0},get children(){return O(Uo,{get x(){return e.nativeSelectionCursorX},get y(){return e.nativeSelectionCursorY},get tagName(){return e.nativeSelectionTagName},get componentName(){return e.nativeSelectionComponentName},get elementBounds(){return e.nativeSelectionBounds},get visible(){return e.nativeSelectionCursorVisible},get onClick(){return e.onNativeSelectionCopy},get onEnter(){return e.onNativeSelectionEnter}})}})];var Wo="0.5.25",pn=`bippy-${Wo}`,Xo=Object.defineProperty,Ra=Object.prototype.hasOwnProperty,Dt=()=>{},Zo=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout(()=>{throw Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")});}catch{}},gn=(e=De())=>"getFiberRoots"in e,Jo=false,qo,Bt=(e=De())=>Jo?true:(typeof e.inject=="function"&&(qo=e.inject.toString()),!!qo?.includes("(injected)")),fn=new Set,at=new Set,Qo=e=>{let t=new Map,n=0,r={_instrumentationIsActive:false,_instrumentationSource:pn,checkDCE:Zo,hasUnsupportedRendererAttached:false,inject(i){let o=++n;return t.set(o,i),at.add(i),r._instrumentationIsActive||(r._instrumentationIsActive=true,fn.forEach(a=>a())),o},on:Dt,onCommitFiberRoot:Dt,onCommitFiberUnmount:Dt,onPostCommitFiberRoot:Dt,renderers:t,supportsFiber:true,supportsFlight:true};try{Xo(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return r},set(a){if(a&&typeof a=="object"){let l=r.renderers;r=a,l.size>0&&(l.forEach((c,d)=>{at.add(c),a.renderers.set(d,c);}),mn(e));}}});let i=window.hasOwnProperty,o=!1;Xo(window,"hasOwnProperty",{configurable:!0,value:function(...a){try{if(!o&&a[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,o=!0,-0}catch{}return i.apply(this,a)},writable:!0});}catch{mn(e);}return r},mn=e=>{try{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t)return;if(!t._instrumentationSource){t.checkDCE=Zo,t.supportsFiber=!0,t.supportsFlight=!0,t.hasUnsupportedRendererAttached=!1,t._instrumentationSource=pn,t._instrumentationIsActive=!1;let n=gn(t);if(n||(t.on=Dt),t.renderers.size){t._instrumentationIsActive=!0,fn.forEach(o=>o());return}let r=t.inject,i=Bt(t);i&&!n&&(Jo=!0,t.inject({scheduleRefresh(){}})&&(t._instrumentationIsActive=!0)),t.inject=o=>{let a=r(o);return at.add(o),i&&t.renderers.set(a,o),t._instrumentationIsActive=!0,fn.forEach(l=>l()),a};}(t.renderers.size||t._instrumentationIsActive||Bt())&&e?.();}catch{}},Wn=()=>Ra.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),De=e=>Wn()?(mn(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):Qo(e),ei=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative")),Zn=()=>{try{ei()&&De();}catch{}};var Jn=0,Qn=1;var er=5;var tr=11,nr=13;var rr=15,or=16;var ir=19;var sr=26,ar=27,lr=28,cr=30;function ur(e,t,n=false){if(!e)return null;let r=t(e);if(r instanceof Promise)return (async()=>{if(await r===true)return e;let o=n?e.return:e.child;for(;o;){let a=await fr(o,t,n);if(a)return a;o=n?null:o.sibling;}return null})();if(r===true)return e;let i=n?e.return:e.child;for(;i;){let o=dr(i,t,n);if(o)return o;i=n?null:i.sibling;}return null}var dr=(e,t,n=false)=>{if(!e)return null;if(t(e)===true)return e;let r=n?e.return:e.child;for(;r;){let i=dr(r,t,n);if(i)return i;r=n?null:r.sibling;}return null},fr=async(e,t,n=false)=>{if(!e)return null;if(await t(e)===true)return e;let r=n?e.return:e.child;for(;r;){let i=await fr(r,t,n);if(i)return i;r=n?null:r.sibling;}return null};var mr=e=>{let t=e;return typeof t=="function"?t:typeof t=="object"&&t?mr(t.type||t.render):null},Ht=e=>{let t=e;if(typeof t=="string")return t;if(typeof t!="function"&&!(typeof t=="object"&&t))return null;let n=t.displayName||t.name||null;if(n)return n;let r=mr(t);return r&&(r.displayName||r.name)||null};var xt=()=>!!De()._instrumentationIsActive||gn()||Bt();var pr=e=>{let t=De();for(let n of t.renderers.values())try{let r=n.findFiberByHostInstance?.(e);if(r)return r}catch{}if(typeof e=="object"&&e){if("_reactRootContainer"in e)return e._reactRootContainer?._internalRoot?.current?.child;for(let n in e)if(n.startsWith("__reactContainer$")||n.startsWith("__reactInternalInstance$")||n.startsWith("__reactFiber"))return e[n]||null}return null};var Ba=Object.create,li=Object.defineProperty,Ha=Object.getOwnPropertyDescriptor,za=Object.getOwnPropertyNames,ja=Object.getPrototypeOf,Va=Object.prototype.hasOwnProperty,Ga=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ka=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=za(t),o=0,a=i.length,l;o<a;o++)l=i[o],!Va.call(e,l)&&l!==n&&li(e,l,{get:(c=>t[c]).bind(null,l),enumerable:!(r=Ha(t,l))||r.enumerable});return e},Ua=(e,t,n)=>(n=e==null?{}:Ba(ja(e)),Ka(li(n,"default",{value:e,enumerable:true}),e)),ti=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,Ya=["rsc://","file:///","webpack://","webpack-internal://","node:","turbopack://","metro://","/app-pages-browser/"],ni="about://React/",Xa=["<anonymous>","eval",""],qa=/\.(jsx|tsx|ts|js)$/,Wa=/(\.min|bundle|chunk|vendor|vendors|runtime|polyfill|polyfills)\.(js|mjs|cjs)$|(chunk|bundle|vendor|vendors|runtime|polyfill|polyfills|framework|app|main|index)[-_.][A-Za-z0-9_-]{4,}\.(js|mjs|cjs)$|[\da-f]{8,}\.(js|mjs|cjs)$|[-_.][\da-f]{20,}\.(js|mjs|cjs)$|\/dist\/|\/build\/|\/.next\/|\/out\/|\/node_modules\/|\.webpack\.|\.vite\.|\.turbopack\./i,Za=/^\?[\w~.\-]+(?:=[^&#]*)?(?:&[\w~.\-]+(?:=[^&#]*)?)*$/,ci="(at Server)",Ja=/(^|@)\S+:\d+/,ui=/^\s*at .*(\S+:\d+|\(native\))/m,Qa=/^(eval@)?(\[native code\])?$/;var di=(e,t)=>{{let n=e.split(`
11
+ `),r=[];for(let i of n)if(/^\s*at\s+/.test(i)){let o=ri(i,void 0)[0];o&&r.push(o);}else if(/^\s*in\s+/.test(i)){let o=i.replace(/^\s*in\s+/,"").replace(/\s*\(at .*\)$/,"");r.push({functionName:o,source:i});}else if(i.match(Ja)){let o=oi(i,void 0)[0];o&&r.push(o);}return br(r,t)}},fi=e=>{if(!e.includes(":"))return [e,void 0,void 0];let t=/(.+?)(?::(\d+))?(?::(\d+))?$/,n=t.exec(e.replace(/[()]/g,""));return [n[1],n[2]||void 0,n[3]||void 0]},br=(e,t)=>t&&t.slice!=null?Array.isArray(t.slice)?e.slice(t.slice[0],t.slice[1]):e.slice(0,t.slice):e;var ri=(e,t)=>br(e.split(`
12
+ `).filter(r=>!!r.match(ui)),t).map(r=>{let i=r;i.includes("(eval ")&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let o=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),a=o.match(/ (\(.+\)$)/);o=a?o.replace(a[0],""):o;let l=fi(a?a[1]:o),c=a&&o||void 0,d=["eval","<anonymous>"].includes(l[0])?void 0:l[0];return {functionName:c,fileName:d,lineNumber:l[1]?+l[1]:void 0,columnNumber:l[2]?+l[2]:void 0,source:i}});var oi=(e,t)=>br(e.split(`
13
+ `).filter(r=>!r.match(Qa)),t).map(r=>{let i=r;if(i.includes(" > eval")&&(i=i.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!i.includes("@")&&!i.includes(":"))return {functionName:i};{let o=/(([^\n\r"\u2028\u2029]*".[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*(?:@[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*)*(?:[\n\r\u2028\u2029][^@]*)?)?[^@]*)@/,a=i.match(o),l=a&&a[1]?a[1]:void 0,c=fi(i.replace(o,""));return {functionName:l,fileName:c[0],lineNumber:c[1]?+c[1]:void 0,columnNumber:c[2]?+c[2]:void 0,source:i}}});var el=Ga((e,t)=>{(function(n,r){typeof e=="object"&&t!==void 0?r(e):typeof define=="function"&&define.amd?define(["exports"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.sourcemapCodec={}));})(void 0,function(n){let r=44,i=59,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),l=new Uint8Array(128);for(let y=0;y<o.length;y++){let m=o.charCodeAt(y);a[y]=m,l[m]=y;}function c(y,m){let u=0,b=0,L=0;do{let V=y.next();L=l[V],u|=(L&31)<<b,b+=5;}while(L&32);let _=u&1;return u>>>=1,_&&(u=-2147483648|-u),m+u}function d(y,m,u){let b=m-u;b=b<0?-b<<1|1:b<<1;do{let L=b&31;b>>>=5,b>0&&(L|=32),y.write(a[L]);}while(b>0);return m}function p(y,m){return y.pos>=m?false:y.peek()!==r}let h=1024*16,N=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let m="";for(let u=0;u<y.length;u++)m+=String.fromCharCode(y[u]);return m}};class w{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(h);}write(m){let{buffer:u}=this;u[this.pos++]=m,this.pos===h&&(this.out+=N.decode(u),this.pos=0);}flush(){let{buffer:m,out:u,pos:b}=this;return b>0?u+N.decode(m.subarray(0,b)):u}}class C{constructor(m){this.pos=0,this.buffer=m;}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(m){let{buffer:u,pos:b}=this,L=u.indexOf(m,b);return L===-1?u.length:L}}let T=[];function P(y){let{length:m}=y,u=new C(y),b=[],L=[],_=0;for(;u.pos<m;u.pos++){_=c(u,_);let V=c(u,0);if(!p(u,m)){let ee=L.pop();ee[2]=_,ee[3]=V;continue}let I=c(u,0),z=c(u,0),j=z&1,B=j?[_,V,0,0,I,c(u,0)]:[_,V,0,0,I],F=T;if(p(u,m)){F=[];do{let ee=c(u,0);F.push(ee);}while(p(u,m))}B.vars=F,b.push(B),L.push(B);}return b}function k(y){let m=new w;for(let u=0;u<y.length;)u=v(y,u,m,[0]);return m.flush()}function v(y,m,u,b){let L=y[m],{0:_,1:V,2:I,3:z,4:j,vars:B}=L;m>0&&u.write(r),b[0]=d(u,_,b[0]),d(u,V,0),d(u,j,0);let F=L.length===6?1:0;d(u,F,0),L.length===6&&d(u,L[5],0);for(let ee of B)d(u,ee,0);for(m++;m<y.length;){let ee=y[m],{0:W,1:ne}=ee;if(W>I||W===I&&ne>=z)break;m=v(y,m,u,b);}return u.write(r),b[0]=d(u,I,b[0]),d(u,z,0),m}function A(y){let{length:m}=y,u=new C(y),b=[],L=[],_=0,V=0,I=0,z=0,j=0,B=0,F=0,ee=0;do{let W=u.indexOf(";"),ne=0;for(;u.pos<W;u.pos++){if(ne=c(u,ne),!p(u,W)){let ye=L.pop();ye[2]=_,ye[3]=ne;continue}let be=c(u,0),qe=be&1,We=be&2,Ze=be&4,Vt=null,Et=T,Ce;if(qe){let ye=c(u,V);I=c(u,V===ye?I:0),V=ye,Ce=[_,ne,0,0,ye,I];}else Ce=[_,ne,0,0];if(Ce.isScope=!!Ze,We){let ye=z,le=j;z=c(u,z);let Se=ye===z;j=c(u,Se?j:0),B=c(u,Se&&le===j?B:0),Vt=[z,j,B];}if(Ce.callsite=Vt,p(u,W)){Et=[];do{F=_,ee=ne;let ye=c(u,0),le;if(ye<-1){le=[[c(u,0)]];for(let Se=-1;Se>ye;Se--){let Gt=F;F=c(u,F),ee=c(u,F===Gt?ee:0);let Je=c(u,0);le.push([Je,F,ee]);}}else le=[[ye]];Et.push(le);}while(p(u,W))}Ce.bindings=Et,b.push(Ce),L.push(Ce);}_++,u.pos=W+1;}while(u.pos<m);return b}function H(y){if(y.length===0)return "";let m=new w;for(let u=0;u<y.length;)u=M(y,u,m,[0,0,0,0,0,0,0]);return m.flush()}function M(y,m,u,b){let L=y[m],{0:_,1:V,2:I,3:z,isScope:j,callsite:B,bindings:F}=L;b[0]<_?(G(u,b[0],_),b[0]=_,b[1]=0):m>0&&u.write(r),b[1]=d(u,L[1],b[1]);let ee=(L.length===6?1:0)|(B?2:0)|(j?4:0);if(d(u,ee,0),L.length===6){let{4:W,5:ne}=L;W!==b[2]&&(b[3]=0),b[2]=d(u,W,b[2]),b[3]=d(u,ne,b[3]);}if(B){let{0:W,1:ne,2:be}=L.callsite;W===b[4]?ne!==b[5]&&(b[6]=0):(b[5]=0,b[6]=0),b[4]=d(u,W,b[4]),b[5]=d(u,ne,b[5]),b[6]=d(u,be,b[6]);}if(F)for(let W of F){W.length>1&&d(u,-W.length,0);let ne=W[0][0];d(u,ne,0);let be=_,qe=V;for(let We=1;We<W.length;We++){let Ze=W[We];be=d(u,Ze[1],be),qe=d(u,Ze[2],qe),d(u,Ze[0],0);}}for(m++;m<y.length;){let W=y[m],{0:ne,1:be}=W;if(ne>I||ne===I&&be>=z)break;m=M(y,m,u,b);}return b[0]<I?(G(u,b[0],I),b[0]=I,b[1]=0):u.write(r),b[1]=d(u,z,b[1]),m}function G(y,m,u){do y.write(i);while(++m<u)}function q(y){let{length:m}=y,u=new C(y),b=[],L=0,_=0,V=0,I=0,z=0;do{let j=u.indexOf(";"),B=[],F=true,ee=0;for(L=0;u.pos<j;){let W;L=c(u,L),L<ee&&(F=false),ee=L,p(u,j)?(_=c(u,_),V=c(u,V),I=c(u,I),p(u,j)?(z=c(u,z),W=[L,_,V,I,z]):W=[L,_,V,I]):W=[L],B.push(W),u.pos++;}F||K(B),b.push(B),u.pos=j+1;}while(u.pos<=m);return b}function K(y){y.sort(Y);}function Y(y,m){return y[0]-m[0]}function oe(y){let m=new w,u=0,b=0,L=0,_=0;for(let V=0;V<y.length;V++){let I=y[V];if(V>0&&m.write(i),I.length===0)continue;let z=0;for(let j=0;j<I.length;j++){let B=I[j];j>0&&m.write(r),z=d(m,B[0],z),B.length!==1&&(u=d(m,B[1],u),b=d(m,B[2],b),L=d(m,B[3],L),B.length!==4&&(_=d(m,B[4],_)));}}return m.flush()}n.decode=q,n.decodeGeneratedRanges=A,n.decodeOriginalScopes=P,n.encode=oe,n.encodeGeneratedRanges=H,n.encodeOriginalScopes=k,Object.defineProperty(n,"__esModule",{value:true});});}),mi=Ua(el()),pi=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,tl=/^data:application\/json[^,]+base64,/,nl=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/,gi=typeof WeakRef<"u",zt=new Map,hn=new Map,rl=e=>gi&&e instanceof WeakRef,ii=(e,t,n,r)=>{if(n<0||n>=e.length)return null;let i=e[n];if(!i||i.length===0)return null;let o=null;for(let p of i)if(p[0]<=r)o=p;else break;if(!o||o.length<4)return null;let[,a,l,c]=o;if(a===void 0||l===void 0||c===void 0)return null;let d=t[a];return d?{columnNumber:c,fileName:d,lineNumber:l+1}:null},ol=(e,t,n)=>{if(e.sections){let r=null;for(let a of e.sections)if(t>a.offset.line||t===a.offset.line&&n>=a.offset.column)r=a;else break;if(!r)return null;let i=t-r.offset.line,o=t===r.offset.line?n-r.offset.column:n;return ii(r.map.mappings,r.map.sources,i,o)}return ii(e.mappings,e.sources,t-1,n)},il=(e,t)=>{let n=t.split(`
14
+ `),r;for(let o=n.length-1;o>=0&&!r;o--){let a=n[o].match(nl);a&&(r=a[1]||a[2]);}if(!r)return null;let i=pi.test(r);if(!(tl.test(r)||i||r.startsWith("/"))){let o=e.split("/");o[o.length-1]=r,r=o.join("/");}return r},sl=e=>({file:e.file,mappings:(0, mi.decode)(e.mappings),names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,version:3}),al=e=>{let t=e.sections.map(({map:r,offset:i})=>({map:{...r,mappings:(0, mi.decode)(r.mappings)},offset:i})),n=new Set;for(let r of t)for(let i of r.map.sources)n.add(i);return {file:e.file,mappings:[],names:[],sections:t,sourceRoot:void 0,sources:Array.from(n),sourcesContent:void 0,version:3}},si=e=>{if(!e)return false;let t=e.trim();if(!t)return false;let n=t.match(pi);if(!n)return true;let r=n[0].toLowerCase();return r==="http:"||r==="https:"},ll=async(e,t=fetch)=>{if(!si(e))return null;let n;try{n=await(await t(e)).text();}catch{return null}if(!n)return null;let r=il(e,n);if(!r||!si(r))return null;try{let i=await t(r),o=await i.json();return "sections"in o?al(o):sl(o)}catch{return null}},cl=async(e,t=true,n)=>{if(t&&zt.has(e)){let o=zt.get(e);if(o==null)return null;if(rl(o)){let a=o.deref();if(a)return a;zt.delete(e);}else return o}if(t&&hn.has(e))return hn.get(e);let r=ll(e,n);t&&hn.set(e,r);let i=await r;return t&&hn.delete(e),t&&(i===null?zt.set(e,null):zt.set(e,gi?new WeakRef(i):i)),i},ul=async(e,t=true,n)=>await Promise.all(e.map(async r=>{if(!r.fileName)return r;let i=await cl(r.fileName,t,n);if(!i||typeof r.lineNumber!="number"||typeof r.columnNumber!="number")return r;let o=ol(i,r.lineNumber,r.columnNumber);return o?{...r,source:o.fileName&&r.source?r.source.replace(r.fileName,o.fileName):r.source,fileName:o.fileName,lineNumber:o.lineNumber,columnNumber:o.columnNumber,isSymbolicated:true}:r})),dl=e=>e._debugStack instanceof Error&&typeof e._debugStack?.stack=="string",fl=()=>{let e=De();for(let t of [...Array.from(at),...Array.from(e.renderers.values())]){let n=t.currentDispatcherRef;if(n&&typeof n=="object")return "H"in n?n.H:n.current}return null},ai=e=>{for(let t of at){let n=t.currentDispatcherRef;n&&typeof n=="object"&&("H"in n?n.H=e:n.current=e);}},Be=e=>`
15
+ in ${e}`,ml=(e,t)=>{let n=Be(e);return t&&(n+=` (at ${t})`),n},gr=false,hr=(e,t)=>{if(!e||gr)return "";let n=Error.prepareStackTrace;Error.prepareStackTrace=void 0,gr=true;let r=fl();ai(null);let i=console.error,o=console.warn;console.error=()=>{},console.warn=()=>{};try{let c={DetermineComponentFrameRoot(){let N;try{if(t){let w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[]);}catch(C){N=C;}Reflect.construct(e,[],w);}else {try{w.call();}catch(C){N=C;}e.call(w.prototype);}}else {try{throw Error()}catch(C){N=C;}let w=e();w&&typeof w.catch=="function"&&w.catch(()=>{});}}catch(w){if(w instanceof Error&&N instanceof Error&&typeof w.stack=="string")return [w.stack,N.stack]}return [null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot",Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name")?.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});let[p,h]=c.DetermineComponentFrameRoot();if(p&&h){let N=p.split(`
16
+ `),w=h.split(`
17
+ `),C=0,T=0;for(;C<N.length&&!N[C].includes("DetermineComponentFrameRoot");)C++;for(;T<w.length&&!w[T].includes("DetermineComponentFrameRoot");)T++;if(C===N.length||T===w.length)for(C=N.length-1,T=w.length-1;C>=1&&T>=0&&N[C]!==w[T];)T--;for(;C>=1&&T>=0;C--,T--)if(N[C]!==w[T]){if(C!==1||T!==1)do if(C--,T--,T<0||N[C]!==w[T]){let P=`
18
+ ${N[C].replace(" at new "," at ")}`,k=Ht(e);return k&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",k)),P}while(C>=1&&T>=0);break}}}finally{gr=false,Error.prepareStackTrace=n,ai(r),console.error=i,console.warn=o;}let a=e?Ht(e):"";return a?Be(a):""},pl=(e,t)=>{let n=e.tag,r="";switch(n){case lr:r=Be("Activity");break;case Qn:r=hr(e.type,true);break;case tr:r=hr(e.type.render,false);break;case Jn:case rr:r=hr(e.type,false);break;case er:case sr:case ar:r=Be(e.type);break;case or:r=Be("Lazy");break;case nr:r=e.child!==t&&t!==null?Be("Suspense Fallback"):Be("Suspense");break;case ir:r=Be("SuspenseList");break;case cr:r=Be("ViewTransition");break;default:return ""}return r},gl=e=>{try{let t="",n=e,r=null;do{t+=pl(n,r);let i=n._debugInfo;if(i&&Array.isArray(i))for(let o=i.length-1;o>=0;o--){let a=i[o];typeof a.name=="string"&&(t+=ml(a.name,a.env));}r=n,n=n.return;}while(n);return t}catch(t){return t instanceof Error?`
15
19
  Error generating stack: ${t.message}
16
- ${t.stack}`:""}},pl=e=>{let t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;let n=e;if(!n)return "";Error.prepareStackTrace=t,n.startsWith(`Error: react-stack-top-frame
20
+ ${t.stack}`:""}},hl=e=>{let t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;let n=e;if(!n)return "";Error.prepareStackTrace=t,n.startsWith(`Error: react-stack-top-frame
17
21
  `)&&(n=n.slice(29));let r=n.indexOf(`
18
22
  `);if(r!==-1&&(n=n.slice(r+1)),r=Math.max(n.indexOf("react_stack_bottom_frame"),n.indexOf("react-stack-bottom-frame")),r!==-1&&(r=n.lastIndexOf(`
19
- `,r)),r!==-1)n=n.slice(0,r);else return "";return n},gl=/(^|@)\S+:\d+/,gi=/^\s*at .*(\S+:\d+|\(native\))/m,hl=/^(eval@)?(\[native code\])?$/;var bl=(e,t)=>{if(t?.includeInElement!==false){let n=e.split(`
20
- `),r=[];for(let i of n)if(/^\s*at\s+/.test(i)){let o=li(i,void 0)[0];o&&r.push(o);}else if(/^\s*in\s+/.test(i)){let o=i.replace(/^\s*in\s+/,"").replace(/\s*\(at .*\)$/,"");r.push({function:o,raw:i});}else if(i.match(gl)){let o=ci(i,void 0)[0];o&&r.push(o);}return yr(r,t)}return e.match(gi)?li(e,t):ci(e,t)},hi=e=>{if(!e.includes(":"))return [e,void 0,void 0];let t=/(.+?)(?::(\d+))?(?::(\d+))?$/,n=t.exec(e.replace(/[()]/g,""));return [n[1],n[2]||void 0,n[3]||void 0]},yr=(e,t)=>t&&t.slice!=null?Array.isArray(t.slice)?e.slice(t.slice[0],t.slice[1]):e.slice(0,t.slice):e;var li=(e,t)=>yr(e.split(`
21
- `).filter(r=>!!r.match(gi)),t).map(r=>{let i=r;i.includes("(eval ")&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let o=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),s=o.match(/ (\(.+\)$)/);o=s?o.replace(s[0],""):o;let l=hi(s?s[1]:o),c=s&&o||void 0,d=["eval","<anonymous>"].includes(l[0])?void 0:l[0];return {function:c,file:d,line:l[1]?+l[1]:void 0,col:l[2]?+l[2]:void 0,raw:i}});var ci=(e,t)=>yr(e.split(`
22
- `).filter(r=>!r.match(hl)),t).map(r=>{let i=r;if(i.includes(" > eval")&&(i=i.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!i.includes("@")&&!i.includes(":"))return {function:i};{let o=/(([^\n\r"\u2028\u2029]*".[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*(?:@[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*)*(?:[\n\r\u2028\u2029][^@]*)?)?[^@]*)@/,s=i.match(o),l=s&&s[1]?s[1]:void 0,c=hi(i.replace(o,""));return {function:l,file:c[0],line:c[1]?+c[1]:void 0,col:c[2]?+c[2]:void 0,raw:i}}});var yl=al((e,t)=>{(function(n,r){typeof e=="object"&&t!==void 0?r(e):typeof define=="function"&&define.amd?define(["exports"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.sourcemapCodec={}));})(void 0,function(n){let r=44,i=59,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),l=new Uint8Array(128);for(let y=0;y<o.length;y++){let m=o.charCodeAt(y);s[y]=m,l[m]=y;}function c(y,m){let u=0,h=0,I=0;do{let D=y.next();I=l[D],u|=(I&31)<<h,h+=5;}while(I&32);let A=u&1;return u>>>=1,A&&(u=-2147483648|-u),m+u}function d(y,m,u){let h=m-u;h=h<0?-h<<1|1:h<<1;do{let I=h&31;h>>>=5,h>0&&(I|=32),y.write(s[I]);}while(h>0);return m}function p(y,m){return y.pos>=m?false:y.peek()!==r}let b=1024*16,M=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let m="";for(let u=0;u<y.length;u++)m+=String.fromCharCode(y[u]);return m}};class w{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(b);}write(m){let{buffer:u}=this;u[this.pos++]=m,this.pos===b&&(this.out+=M.decode(u),this.pos=0);}flush(){let{buffer:m,out:u,pos:h}=this;return h>0?u+M.decode(m.subarray(0,h)):u}}class v{constructor(m){this.pos=0,this.buffer=m;}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(m){let{buffer:u,pos:h}=this,I=u.indexOf(m,h);return I===-1?u.length:I}}let S=[];function P(y){let{length:m}=y,u=new v(y),h=[],I=[],A=0;for(;u.pos<m;u.pos++){A=c(u,A);let D=c(u,0);if(!p(u,m)){let le=I.pop();le[2]=A,le[3]=D;continue}let F=c(u,0),O=c(u,0),V=O&1,$=V?[A,D,0,0,F,c(u,0)]:[A,D,0,0,F],U=S;if(p(u,m)){U=[];do{let le=c(u,0);U.push(le);}while(p(u,m))}$.vars=U,h.push($),I.push($);}return h}function E(y){let m=new w;for(let u=0;u<y.length;)u=T(y,u,m,[0]);return m.flush()}function T(y,m,u,h){let I=y[m],{0:A,1:D,2:F,3:O,4:V,vars:$}=I;m>0&&u.write(r),h[0]=d(u,A,h[0]),d(u,D,0),d(u,V,0);let U=I.length===6?1:0;d(u,U,0),I.length===6&&d(u,I[5],0);for(let le of $)d(u,le,0);for(m++;m<y.length;){let le=y[m],{0:ee,1:ce}=le;if(ee>F||ee===F&&ce>=O)break;m=T(y,m,u,h);}return u.write(r),h[0]=d(u,F,h[0]),d(u,O,0),m}function _(y){let{length:m}=y,u=new v(y),h=[],I=[],A=0,D=0,F=0,O=0,V=0,$=0,U=0,le=0;do{let ee=u.indexOf(";"),ce=0;for(;u.pos<ee;u.pos++){if(ce=c(u,ce),!p(u,ee)){let ye=I.pop();ye[2]=A,ye[3]=ce;continue}let Ae=c(u,0),ut=Ae&1,Ze=Ae&2,_e=Ae&4,kt=null,ue=S,ge;if(ut){let ye=c(u,D);F=c(u,D===ye?F:0),D=ye,ge=[A,ce,0,0,ye,F];}else ge=[A,ce,0,0];if(ge.isScope=!!_e,Ze){let ye=O,Ne=V;O=c(u,O);let Je=ye===O;V=c(u,Je?V:0),$=c(u,Je&&Ne===V?$:0),kt=[O,V,$];}if(ge.callsite=kt,p(u,ee)){ue=[];do{U=A,le=ce;let ye=c(u,0),Ne;if(ye<-1){Ne=[[c(u,0)]];for(let Je=-1;Je>ye;Je--){let Et=U;U=c(u,U),le=c(u,U===Et?le:0);let Yt=c(u,0);Ne.push([Yt,U,le]);}}else Ne=[[ye]];ue.push(Ne);}while(p(u,ee))}ge.bindings=ue,h.push(ge),I.push(ge);}A++,u.pos=ee+1;}while(u.pos<m);return h}function z(y){if(y.length===0)return "";let m=new w;for(let u=0;u<y.length;)u=N(y,u,m,[0,0,0,0,0,0,0]);return m.flush()}function N(y,m,u,h){let I=y[m],{0:A,1:D,2:F,3:O,isScope:V,callsite:$,bindings:U}=I;h[0]<A?(j(u,h[0],A),h[0]=A,h[1]=0):m>0&&u.write(r),h[1]=d(u,I[1],h[1]);let le=(I.length===6?1:0)|($?2:0)|(V?4:0);if(d(u,le,0),I.length===6){let{4:ee,5:ce}=I;ee!==h[2]&&(h[3]=0),h[2]=d(u,ee,h[2]),h[3]=d(u,ce,h[3]);}if($){let{0:ee,1:ce,2:Ae}=I.callsite;ee===h[4]?ce!==h[5]&&(h[6]=0):(h[5]=0,h[6]=0),h[4]=d(u,ee,h[4]),h[5]=d(u,ce,h[5]),h[6]=d(u,Ae,h[6]);}if(U)for(let ee of U){ee.length>1&&d(u,-ee.length,0);let ce=ee[0][0];d(u,ce,0);let Ae=A,ut=D;for(let Ze=1;Ze<ee.length;Ze++){let _e=ee[Ze];Ae=d(u,_e[1],Ae),ut=d(u,_e[2],ut),d(u,_e[0],0);}}for(m++;m<y.length;){let ee=y[m],{0:ce,1:Ae}=ee;if(ce>F||ce===F&&Ae>=O)break;m=N(y,m,u,h);}return h[0]<F?(j(u,h[0],F),h[0]=F,h[1]=0):u.write(r),h[1]=d(u,O,h[1]),m}function j(y,m,u){do y.write(i);while(++m<u)}function q(y){let{length:m}=y,u=new v(y),h=[],I=0,A=0,D=0,F=0,O=0;do{let V=u.indexOf(";"),$=[],U=true,le=0;for(I=0;u.pos<V;){let ee;I=c(u,I),I<le&&(U=false),le=I,p(u,V)?(A=c(u,A),D=c(u,D),F=c(u,F),p(u,V)?(O=c(u,O),ee=[I,A,D,F,O]):ee=[I,A,D,F]):ee=[I],$.push(ee),u.pos++;}U||ne($),h.push($),u.pos=V+1;}while(u.pos<=m);return h}function ne(y){y.sort(Y);}function Y(y,m){return y[0]-m[0]}function J(y){let m=new w,u=0,h=0,I=0,A=0;for(let D=0;D<y.length;D++){let F=y[D];if(D>0&&m.write(i),F.length===0)continue;let O=0;for(let V=0;V<F.length;V++){let $=F[V];V>0&&m.write(r),O=d(m,$[0],O),$.length!==1&&(u=d(m,$[1],u),h=d(m,$[2],h),I=d(m,$[3],I),$.length!==4&&(A=d(m,$[4],A)));}}return m.flush()}n.decode=q,n.decodeGeneratedRanges=_,n.decodeOriginalScopes=P,n.encode=J,n.encodeGeneratedRanges=z,n.encodeOriginalScopes=E,Object.defineProperty(n,"__esModule",{value:true});});}),bi=cl(yl()),yi=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,wl=/^data:application\/json[^,]+base64,/,xl=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/,wi=typeof WeakRef<"u",Kt=new Map,Sn=new Map,vl=e=>wi&&e instanceof WeakRef,ui=(e,t,n,r)=>{if(n<0||n>=e.length)return null;let i=e[n];if(!i||i.length===0)return null;let o=null;for(let p of i)if(p[0]<=r)o=p;else break;if(!o||o.length<4)return null;let[,s,l,c]=o;if(s===void 0||l===void 0||c===void 0)return null;let d=t[s];return d?{columnNumber:c,fileName:d,lineNumber:l+1}:null},Cl=(e,t,n)=>{if(e.sections){let r=null;for(let s of e.sections)if(t>s.offset.line||t===s.offset.line&&n>=s.offset.column)r=s;else break;if(!r)return null;let i=t-r.offset.line,o=t===r.offset.line?n-r.offset.column:n;return ui(r.map.mappings,r.map.sources,i,o)}return ui(e.mappings,e.sources,t-1,n)},Sl=(e,t)=>{let n=t.split(`
23
- `),r;for(let o=n.length-1;o>=0&&!r;o--){let s=n[o].match(xl);s&&(r=s[1]||s[2]);}if(!r)return null;let i=yi.test(r);if(!(wl.test(r)||i||r.startsWith("/"))){let o=e.split("/");o[o.length-1]=r,r=o.join("/");}return r},kl=e=>({file:e.file,mappings:(0, bi.decode)(e.mappings),names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,version:3}),El=e=>{let t=e.sections.map(({map:r,offset:i})=>({map:{...r,mappings:(0, bi.decode)(r.mappings)},offset:i})),n=new Set;for(let r of t)for(let i of r.map.sources)n.add(i);return {file:e.file,mappings:[],names:[],sections:t,sourceRoot:void 0,sources:Array.from(n),sourcesContent:void 0,version:3}},di=e=>{if(!e)return false;let t=e.trim();if(!t)return false;let n=t.match(yi);if(!n)return true;let r=n[0].toLowerCase();return r==="http:"||r==="https:"},Tl=async(e,t=fetch)=>{if(!di(e))return null;let n;try{n=await(await t(e)).text();}catch{return null}if(!n)return null;let r=Sl(e,n);if(!r||!di(r))return null;try{let i=await t(r),o=await i.json();return "sections"in o?El(o):kl(o)}catch{return null}},Al=async(e,t=true,n)=>{if(t&&Kt.has(e)){let o=Kt.get(e);if(o==null)return null;if(vl(o)){let s=o.deref();if(s)return s;Kt.delete(e);}else return o}if(t&&Sn.has(e))return Sn.get(e);let r=Tl(e,n);t&&Sn.set(e,r);let i=await r;return t&&Sn.delete(e),t&&(i===null?Kt.set(e,null):Kt.set(e,wi?new WeakRef(i):i)),i},fi=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,_l=["rsc://","file:///","webpack://","webpack-internal://","node:","turbopack://","metro://","/app-pages-browser/"],mi="about://React/",Nl=["<anonymous>","eval",""],Rl=/\.(jsx|tsx|ts|js)$/,Ml=/(\.min|bundle|chunk|vendor|vendors|runtime|polyfill|polyfills)\.(js|mjs|cjs)$|(chunk|bundle|vendor|vendors|runtime|polyfill|polyfills|framework|app|main|index)[-_.][A-Za-z0-9_-]{4,}\.(js|mjs|cjs)$|[\da-f]{8,}\.(js|mjs|cjs)$|[-_.][\da-f]{20,}\.(js|mjs|cjs)$|\/dist\/|\/build\/|\/.next\/|\/out\/|\/node_modules\/|\.webpack\.|\.vite\.|\.turbopack\./i,Ll=/^\?[\w~.\-]+(?:=[^&#]*)?(?:&[\w~.\-]+(?:=[^&#]*)?)*$/,Ol=e=>e?.fileName!=null,Il=e=>e._debugStack instanceof Error&&typeof e._debugStack?.stack=="string",Fl=e=>{let t=e._debugSource;return t?typeof t=="object"&&!!t&&"fileName"in t&&typeof t.fileName=="string"&&"lineNumber"in t&&typeof t.lineNumber=="number":false},xi=async(e,t=true,n)=>{if(Fl(e))return e._debugSource||null;let r=wr(e),i=await xr(r,2**53-1,t,n);if(!i||i.length===0)return null;for(let o of i)if(Ol(o))return o;return null},wr=e=>Il(e)?pl(e._debugStack.stack):ml(e);var xr=async(e,t=2**53-1,n=true,r)=>{let i=bl(e,{slice:t}),o=[];for(let s of i){if(!s?.file){o.push({fileName:void 0,lineNumber:s?.line,columnNumber:s?.col,functionName:s?.function});continue}let l=await Al(s.file,n,r);if(l&&typeof s.line=="number"&&typeof s.col=="number"){let c=Cl(l,s.line,s.col);if(c){o.push(c);continue}}o.push({fileName:s.file,lineNumber:s.line,columnNumber:s.col,functionName:s.function});}return o},Ut=e=>{if(!e||Nl.includes(e))return "";let t=e;if(t.startsWith(mi)){let r=t.slice(mi.length),i=r.indexOf("/"),o=r.indexOf(":");t=i!==-1&&(o===-1||i<o)?r.slice(i+1):r;}for(let r of _l)if(t.startsWith(r)){t=t.slice(r.length),r==="file:///"&&(t=`/${t.replace(/^\/+/,"")}`);break}if(fi.test(t)){let r=t.match(fi);r&&(t=t.slice(r[0].length));}let n=t.indexOf("?");if(n!==-1){let r=t.slice(n);Ll.test(r)&&(t=t.slice(0,n));}return t},kn=e=>{let t=Ut(e);return !(!t||!Rl.test(t)||Ml.test(t))};var vi=e=>e.length>0&&/^[A-Z]/.test(e);var Pl=new Set(["InnerLayoutRouter","RedirectErrorBoundary","RedirectBoundary","HTTPAccessFallbackErrorBoundary","HTTPAccessFallbackBoundary","LoadingBoundary","ErrorBoundary","InnerScrollAndFocusHandler","ScrollAndFocusHandler","RenderFromTemplateContext","OuterLayoutRouter","body","html","DevRootHTTPAccessFallbackBoundary","AppDevOverlayErrorBoundary","AppDevOverlay","HotReload","Router","ErrorBoundaryHandler","AppRouter","ServerRoot","SegmentStateProvider","RootErrorBoundary"]),$l=()=>typeof document>"u"?false:!!document.getElementById("__NEXT_DATA__"),vr=e=>!!(e.startsWith("_")||Pl.has(e)),Ci=e=>!(vr(e)||!vi(e)||e.startsWith("Primitive.")||e.includes("Provider")&&e.includes("Context")),vt=async e=>{if(!Gt())return [];try{let t=Cn(e);if(!t||!fr(t))return [];let n=wr(t),r=await xr(n);if(r&&r.length>0){let l=[];for(let c of r)c.functionName&&!vr(c.functionName)&&l.push({name:c.functionName,source:c.fileName?{fileName:c.fileName,lineNumber:c.lineNumber,columnNumber:c.columnNumber}:null});if(l.length>0)return l}let i=vn(t),o=[];return Vt(i,l=>{let c=xn(l)?typeof l.type=="string"?l.type:null:xt(l);c&&!vr(c)&&o.push({name:c,sourcePromise:xi(l)});},!0),(await Promise.all(o.map(async l=>({name:l.name,source:await l.sourcePromise})))).filter(l=>l.source!==null)}catch{return []}},je=async e=>{let t=await vt(e);for(let n of t)if(Ci(n.name))return n.name;return null},Ct=async e=>{let t=Bl(e),n=await vt(e),r=$l(),i=null,o=null,s=null,l=null,c=null;for(let p of n){if(Ci(p.name)&&!l&&!p.source?.fileName){l=p.name;continue}if(p.source&&kn(p.source.fileName)&&!i){i=Ut(p.source.fileName),o=p.source.lineNumber??null,s=p.source.columnNumber??null,c=p.name;break}}let d=t;return l&&(d+=`
24
- in ${l} (Server)`),i&&(d+=`
25
- ${c?` in ${c}`:""} at ${i}`,r&&o&&s&&(d+=`:${o}:${s}`)),d};var Bl=e=>{let t=e.tagName.toLowerCase();if(!(e instanceof HTMLElement))return `<${t} />`;let n=e.innerText?.trim()??e.textContent?.trim()??"",r="",i=Array.from(e.attributes);for(let w of i){let v=w.name,S=w.value;S.length>20&&(S=`${S.slice(0,20)}...`),r+=` ${v}="${S}"`;}let o=[],s=[],l=false,c=Array.from(e.childNodes);for(let w of c)w.nodeType!==Node.COMMENT_NODE&&(w.nodeType===Node.TEXT_NODE?w.textContent&&w.textContent.trim().length>0&&(l=true):w instanceof Element&&(l?s.push(w):o.push(w)));let d=w=>w.length===0?"":w.length<=2?w.map(v=>`<${v.tagName.toLowerCase()} ...>`).join(`
26
- `):`(${w.length} elements)`,p="",b=d(o);if(b&&(p+=`
27
- ${b}`),n.length>0){let w=n.length>100?`${n.slice(0,100)}...`:n;p+=`
28
- ${w}`;}let M=d(s);return M&&(p+=`
29
- ${M}`),p.length>0?`<${t}${r}>${p}
30
- </${t}>`:`<${t}${r} />`};var Dl=()=>document.hasFocus()?new Promise(e=>setTimeout(e,50)):new Promise(e=>{let t=()=>{window.removeEventListener("focus",t),setTimeout(e,50);};window.addEventListener("focus",t),window.focus();}),En=async(e,t)=>{await Dl();try{try{return await navigator.clipboard.writeText(e),t?.(),!0}catch{return Hl(e,t)}}catch{return false}},Hl=(e,t)=>{if(!document.execCommand)return false;let n=document.createElement("textarea");n.value=String(e),n.style.clipPath="inset(50%)",n.ariaHidden="true",(document.body||document.documentElement).append(n);try{n.select();let i=document.execCommand("copy");return i&&t?.(),i}finally{n.remove();}};var Si=(e,t=window.getComputedStyle(e))=>t.display!=="none"&&t.visibility!=="hidden"&&t.opacity!=="0";var St=e=>{if(e.closest(`[${ht}]`))return false;let t=window.getComputedStyle(e);return !(!Si(e,t)||t.pointerEvents==="none")};var Cr=(e,t)=>{let n=document.elementsFromPoint(e,t);for(let r of n)if(St(r))return r;return null};var zl=(e,t)=>{let n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),i=Math.min(e.right,t.right),o=Math.min(e.bottom,t.bottom),s=Math.max(0,i-n),l=Math.max(0,o-r);return s*l},jl=(e,t)=>e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top,ki=(e,t,n)=>{let r=[],i=Array.from(document.querySelectorAll("*")),o={left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height};for(let s of i){if(!n){let d=(s.tagName||"").toUpperCase();if(d==="HTML"||d==="BODY")continue}if(!t(s))continue;let l=s.getBoundingClientRect(),c={left:l.left,top:l.top,right:l.left+l.width,bottom:l.top+l.height};if(n){let d=zl(o,c),p=Math.max(0,l.width*l.height);p>0&&d/p>=.75&&r.push(s);}else jl(c,o)&&r.push(s);}return r},Ei=e=>e.filter(t=>!e.some(n=>n!==t&&n.contains(t))),Ti=(e,t)=>{let n=ki(e,t,true);return Ei(n)},Ai=(e,t)=>{let n=ki(e,t,false);return Ei(n)};var Vl=e=>typeof e=="number"&&!Number.isNaN(e)&&Number.isFinite(e),Gl=e=>{let t=e.trim();if(!t)return null;let n=parseFloat(t);return Vl(n)?n:null},_i=(e,t)=>{let n=e.split(",");if(n.length!==t)return null;let r=[];for(let i of n){let o=Gl(i);if(o===null)return null;r.push(o);}return r},Kl=(e,t,n,r)=>e===1&&t===0&&n===0&&r===1,Ul=e=>e[0]===1&&e[1]===0&&e[2]===0&&e[3]===0&&e[4]===0&&e[5]===1&&e[6]===0&&e[7]===0&&e[8]===0&&e[9]===0&&e[10]===1&&e[11]===0&&e[15]===1,Tn=e=>{try{if(!(e instanceof Element))return "none";let t=window.getComputedStyle(e);if(!t)return "none";let n=t.transform;if(!n||n==="none")return "none";let r=n.match(/^matrix3d\(([^)]+)\)$/);if(r){let o=_i(r[1],16);if(o&&o.length===16){let s=[...o];return s[12]=0,s[13]=0,s[14]=0,Ul(s)?"none":`matrix3d(${s.join(", ")})`}}let i=n.match(/^matrix\(([^)]+)\)$/);if(i){let o=_i(i[1],6);if(o&&o.length===6){let[s,l,c,d]=o;return Kl(s,l,c,d)?"none":`matrix(${s}, ${l}, ${c}, ${d}, 0, 0)`}}return "none"}catch{return "none"}};var Fe=e=>{let t=e.getBoundingClientRect();return {borderRadius:window.getComputedStyle(e).borderRadius||"0px",height:t.height,transform:Tn(e),width:t.width,x:t.left,y:t.top}};var Yl=new Set(["c","C","\u0441","\u0421","\u023C","\u023B","\u2184","\u2183","\u1D04","\u1D9C","\u2C7C","\u217D","\u216D","\xE7","\xC7","\u0107","\u0106","\u010D","\u010C","\u0109","\u0108","\u010B","\u010A"]),An=(e,t)=>t==="KeyC"?true:!e||e.length!==1?false:Yl.has(e);var Sr=(e,t)=>{let n=e.toLowerCase();return t.startsWith("Key")?t.slice(3).toLowerCase()===n:t.startsWith("Digit")?t.slice(5)===n:false},Ni=(e,t)=>{if(t.activationShortcut)return t.activationShortcut(e);if(t.activationKey){let{key:n,metaKey:r,ctrlKey:i,shiftKey:o,altKey:s}=t.activationKey;if(!n){if(!fn.includes(e.key))return false;let b=r?e.metaKey||e.key==="Meta":true,M=i?e.ctrlKey||e.key==="Control":true,w=o?e.shiftKey||e.key==="Shift":true,v=s?e.altKey||e.key==="Alt":true,S=b&&M&&w&&v,P=[r,i,o,s].filter(Boolean).length,E=[e.metaKey||e.key==="Meta",e.ctrlKey||e.key==="Control",e.shiftKey||e.key==="Shift",e.altKey||e.key==="Alt"].filter(Boolean).length;return S&&E>=P}let c=e.key.toLowerCase()===n.toLowerCase()||Sr(n,e.code),p=r||i||o||s?(r?e.metaKey:true)&&(i?e.ctrlKey:true)&&(o?e.shiftKey:true)&&(s?e.altKey:true):e.metaKey||e.ctrlKey;return c&&p}return (e.metaKey||e.ctrlKey)&&An(e.key,e.code)};var Ve=(e,t)=>e.composedPath().some(n=>n instanceof HTMLElement&&n.hasAttribute(t));var _n={enabled:true,hue:0,selectionBox:{enabled:true,color:void 0,borderRadius:void 0},dragBox:{enabled:true,color:void 0},grabbedBoxes:{enabled:true,color:void 0},elementLabel:{enabled:true,backgroundColor:void 0,textColor:void 0,borderColor:void 0,padding:void 0,cursorOffset:void 0},successLabels:{enabled:true},crosshair:{enabled:true,color:void 0},inputOverlay:{enabled:true}},Ri=(e,t)=>({enabled:t.enabled??e.enabled,hue:t.hue??e.hue,selectionBox:{enabled:t.selectionBox?.enabled??e.selectionBox.enabled,color:t.selectionBox?.color??e.selectionBox.color,borderRadius:t.selectionBox?.borderRadius??e.selectionBox.borderRadius},dragBox:{enabled:t.dragBox?.enabled??e.dragBox.enabled,color:t.dragBox?.color??e.dragBox.color},grabbedBoxes:{enabled:t.grabbedBoxes?.enabled??e.grabbedBoxes.enabled,color:t.grabbedBoxes?.color??e.grabbedBoxes.color},elementLabel:{enabled:t.elementLabel?.enabled??e.elementLabel.enabled,backgroundColor:t.elementLabel?.backgroundColor??e.elementLabel.backgroundColor,textColor:t.elementLabel?.textColor??e.elementLabel.textColor,borderColor:t.elementLabel?.borderColor??e.elementLabel.borderColor,padding:t.elementLabel?.padding??e.elementLabel.padding,cursorOffset:t.elementLabel?.cursorOffset??e.elementLabel.cursorOffset},successLabels:{enabled:t.successLabels?.enabled??e.successLabels.enabled},crosshair:{enabled:t.crosshair?.enabled??e.crosshair.enabled,color:t.crosshair?.color??e.crosshair.color},inputOverlay:{enabled:t.inputOverlay?.enabled??e.inputOverlay.enabled}}),kr=e=>e?Ri(_n,e):_n,Mi=Ri;var Er="react-grab:agent-sessions",Xl=()=>`session-${Date.now()}-${Math.random().toString(36).slice(2,9)}`,Li=(e,t,n,r,i)=>({id:Xl(),context:e,lastStatus:"",isStreaming:true,createdAt:Date.now(),position:t,selectionBounds:n,tagName:r,componentName:i}),Tr=e=>e||null,lt=new Map,Nn=(e,t)=>{let n=Tr(t);if(!n){lt.clear(),e.forEach((r,i)=>lt.set(i,r));return}try{let r=Object.fromEntries(e);n.setItem(Er,JSON.stringify(r));}catch{lt.clear(),e.forEach((r,i)=>lt.set(i,r));}},Ar=(e,t)=>{let n=Rn(t);n.set(e.id,e),Nn(n,t);},Rn=e=>{let t=Tr(e);if(!t)return new Map(lt);try{let n=t.getItem(Er);if(!n)return new Map;let r=JSON.parse(n);return new Map(Object.entries(r))}catch{return new Map}};var Mn=e=>{let t=Tr(e);if(!t){lt.clear();return}try{t.removeItem(Er);}catch{lt.clear();}},Oi=(e,t)=>{let n=Rn(t);n.delete(e),Nn(n,t);},Ln=(e,t,n)=>{let r={...e,...t};return Ar(r,n),r};var On=async e=>{let n=(await Promise.allSettled(e.map(r=>Ct(r)))).map(r=>r.status==="fulfilled"?r.value:"").filter(r=>r.trim());return n.length===0?"":n.join(`
23
+ `,r)),r!==-1)n=n.slice(0,r);else return "";return n},bl=e=>!!(e.fileName?.startsWith("rsc://")&&e.functionName),yl=(e,t)=>e.fileName===t.fileName&&e.lineNumber===t.lineNumber&&e.columnNumber===t.columnNumber,wl=e=>{let t=new Map;for(let n of e)for(let r of n.stackFrames){if(!bl(r))continue;let i=r.functionName,o=t.get(i)??[];o.some(l=>yl(l,r))||(o.push(r),t.set(i,o));}return t},xl=(e,t,n)=>{if(!e.functionName)return {...e,isServer:true};let r=t.get(e.functionName);if(!r||r.length===0)return {...e,isServer:true};let i=n.get(e.functionName)??0,o=r[i%r.length];return n.set(e.functionName,i+1),{...e,isServer:true,fileName:o.fileName,lineNumber:o.lineNumber,columnNumber:o.columnNumber,source:e.source?.replace(ci,`(${o.fileName}:${o.lineNumber}:${o.columnNumber})`)}},vl=e=>{let t=[];return ur(e,n=>{if(!dl(n))return;let r=typeof n.type=="string"?n.type:Ht(n.type)||"<anonymous>";t.push({componentName:r,stackFrames:di(hl(n._debugStack?.stack))});},true),t},hi=async(e,t=true,n)=>{let r=vl(e),i=di(gl(e)),o=wl(r),a=new Map,l=i.map(d=>d.source?.includes(ci)??false?xl(d,o,a):d),c=l.filter((d,p,h)=>{if(p===0)return true;let N=h[p-1];return d.functionName!==N.functionName});return ul(c,t,n)};var jt=e=>{if(!e||Xa.includes(e))return "";let t=e;if(t.startsWith(ni)){let i=t.slice(ni.length),o=i.indexOf("/"),a=i.indexOf(":");t=o!==-1&&(a===-1||o<a)?i.slice(o+1):i;}let n=true;for(;n;){n=false;for(let i of Ya)if(t.startsWith(i)){t=t.slice(i.length),i==="file:///"&&(t=`/${t.replace(/^\/+/,"")}`),n=true;break}}if(ti.test(t)){let i=t.match(ti);i&&(t=t.slice(i[0].length));}let r=t.indexOf("?");if(r!==-1){let i=t.slice(r);Za.test(i)&&(t=t.slice(0,r));}return t},bn=e=>{let t=jt(e);return !(!t||!qa.test(t)||Wa.test(t))};var bi=e=>e.length>0&&/^[A-Z]/.test(e);Zn();var Cl=new Set(["InnerLayoutRouter","RedirectErrorBoundary","RedirectBoundary","HTTPAccessFallbackErrorBoundary","HTTPAccessFallbackBoundary","LoadingBoundary","ErrorBoundary","InnerScrollAndFocusHandler","ScrollAndFocusHandler","RenderFromTemplateContext","OuterLayoutRouter","body","html","DevRootHTTPAccessFallbackBoundary","AppDevOverlayErrorBoundary","AppDevOverlay","HotReload","Router","ErrorBoundaryHandler","AppRouter","ServerRoot","SegmentStateProvider","RootErrorBoundary","LoadableComponent"]),Sl=()=>typeof document>"u"?false:!!(document.getElementById("__NEXT_DATA__")||document.querySelector("nextjs-portal")),El=e=>!!(e.startsWith("_")||Cl.has(e)),yr=e=>!(El(e)||!bi(e)||e.startsWith("Primitive.")||e.includes("Provider")&&e.includes("Context")),vt=async e=>{if(!xt())return [];let t=pr(e);return t?await hi(t):null},He=async e=>{if(xt())return null;let t=await vt(e);if(!t)return null;for(let n of t)if(n.functionName&&yr(n.functionName))return n.functionName;return null},Ct=async(e,t={})=>{let{maxLines:n=3}=t,r=kl(e),i=await vt(e),o=Sl(),a=[];if(i)for(let l of i){if(a.length>=n)break;if(l.isServer&&(!l.functionName||yr(l.functionName))){a.push(`
24
+ in ${l.functionName||"<anonymous>"} (at Server)`);continue}if(l.fileName&&bn(l.fileName)){let c=`
25
+ in `,d=l.functionName&&yr(l.functionName);d&&(c+=`${l.functionName} (at `),c+=jt(l.fileName),o&&l.lineNumber&&l.columnNumber&&(c+=`:${l.lineNumber}:${l.columnNumber}`),d&&(c+=")"),a.push(c);}}return `${r}${a.join("")}`};var kl=e=>{let t=e.tagName.toLowerCase();if(!(e instanceof HTMLElement))return `<${t} />`;let n=e.innerText?.trim()??e.textContent?.trim()??"",r="",i=Array.from(e.attributes);for(let w of i){let C=w.name,T=w.value;T.length>20&&(T=`${T.slice(0,20)}...`),r+=` ${C}="${T}"`;}let o=[],a=[],l=false,c=Array.from(e.childNodes);for(let w of c)w.nodeType!==Node.COMMENT_NODE&&(w.nodeType===Node.TEXT_NODE?w.textContent&&w.textContent.trim().length>0&&(l=true):w instanceof Element&&(l?a.push(w):o.push(w)));let d=w=>w.length===0?"":w.length<=2?w.map(C=>`<${C.tagName.toLowerCase()} ...>`).join(`
26
+ `):`(${w.length} elements)`,p="",h=d(o);if(h&&(p+=`
27
+ ${h}`),n.length>0){let w=n.length>100?`${n.slice(0,100)}...`:n;p+=`
28
+ ${w}`;}let N=d(a);return N&&(p+=`
29
+ ${N}`),p.length>0?`<${t}${r}>${p}
30
+ </${t}>`:`<${t}${r} />`};var Tl=()=>document.hasFocus()?new Promise(e=>setTimeout(e,50)):new Promise(e=>{let t=()=>{window.removeEventListener("focus",t),setTimeout(e,50);};window.addEventListener("focus",t),window.focus();}),yn=async(e,t)=>{await Tl();try{try{return await navigator.clipboard.writeText(e),t?.(),!0}catch{return Nl(e,t)}}catch{return false}},Nl=(e,t)=>{if(!document.execCommand)return false;let n=document.createElement("textarea");n.value=String(e),n.style.clipPath="inset(50%)",n.ariaHidden="true",(document.body||document.documentElement).append(n);try{n.select();let i=document.execCommand("copy");return i&&t?.(),i}finally{n.remove();}};var yi=(e,t=window.getComputedStyle(e))=>t.display!=="none"&&t.visibility!=="hidden"&&t.opacity!=="0";var St=e=>{if(e.closest(`[${ht}]`))return false;let t=window.getComputedStyle(e);return !(!yi(e,t)||t.pointerEvents==="none")};var wr=(e,t)=>{let n=document.elementsFromPoint(e,t);for(let r of n)if(St(r))return r;return null};var Al=(e,t)=>{let n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),i=Math.min(e.right,t.right),o=Math.min(e.bottom,t.bottom),a=Math.max(0,i-n),l=Math.max(0,o-r);return a*l},_l=(e,t)=>e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top,wi=(e,t,n)=>{let r=[],i=Array.from(document.querySelectorAll("*")),o={left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height};for(let a of i){if(!n){let d=(a.tagName||"").toUpperCase();if(d==="HTML"||d==="BODY")continue}if(!t(a))continue;let l=a.getBoundingClientRect(),c={left:l.left,top:l.top,right:l.left+l.width,bottom:l.top+l.height};if(n){let d=Al(o,c),p=Math.max(0,l.width*l.height);p>0&&d/p>=.75&&r.push(a);}else _l(c,o)&&r.push(a);}return r},xi=e=>e.filter(t=>!e.some(n=>n!==t&&n.contains(t))),vi=(e,t)=>{let n=wi(e,t,true);return xi(n)},Ci=(e,t)=>{let n=wi(e,t,false);return xi(n)};var Rl=e=>typeof e=="number"&&!Number.isNaN(e)&&Number.isFinite(e),Ll=e=>{let t=e.trim();if(!t)return null;let n=parseFloat(t);return Rl(n)?n:null},Si=(e,t)=>{let n=e.split(",");if(n.length!==t)return null;let r=[];for(let i of n){let o=Ll(i);if(o===null)return null;r.push(o);}return r},Ol=(e,t,n,r)=>e===1&&t===0&&n===0&&r===1,Ml=e=>e[0]===1&&e[1]===0&&e[2]===0&&e[3]===0&&e[4]===0&&e[5]===1&&e[6]===0&&e[7]===0&&e[8]===0&&e[9]===0&&e[10]===1&&e[11]===0&&e[15]===1,wn=e=>{try{if(!(e instanceof Element))return "none";let t=window.getComputedStyle(e);if(!t)return "none";let n=t.transform;if(!n||n==="none")return "none";let r=n.match(/^matrix3d\(([^)]+)\)$/);if(r){let o=Si(r[1],16);if(o&&o.length===16){let a=[...o];return a[12]=0,a[13]=0,a[14]=0,Ml(a)?"none":`matrix3d(${a.join(", ")})`}}let i=n.match(/^matrix\(([^)]+)\)$/);if(i){let o=Si(i[1],6);if(o&&o.length===6){let[a,l,c,d]=o;return Ol(a,l,c,d)?"none":`matrix(${a}, ${l}, ${c}, ${d}, 0, 0)`}}return "none"}catch{return "none"}};var Le=e=>{let t=e.getBoundingClientRect();return {borderRadius:window.getComputedStyle(e).borderRadius||"0px",height:t.height,transform:wn(e),width:t.width,x:t.left,y:t.top}};var Il=new Set(["c","C","\u0441","\u0421","\u023C","\u023B","\u2184","\u2183","\u1D04","\u1D9C","\u2C7C","\u217D","\u216D","\xE7","\xC7","\u0107","\u0106","\u010D","\u010C","\u0109","\u0108","\u010B","\u010A"]),xn=(e,t)=>t==="KeyC"?true:!e||e.length!==1?false:Il.has(e);var xr=(e,t)=>{let n=e.toLowerCase();return t.startsWith("Key")?t.slice(3).toLowerCase()===n:t.startsWith("Digit")?t.slice(5)===n:false},Ei=(e,t)=>{if(t.activationShortcut)return t.activationShortcut(e);if(t.activationKey){let{key:n,metaKey:r,ctrlKey:i,shiftKey:o,altKey:a}=t.activationKey;if(!n){if(!un.includes(e.key))return false;let h=r?e.metaKey||e.key==="Meta":true,N=i?e.ctrlKey||e.key==="Control":true,w=o?e.shiftKey||e.key==="Shift":true,C=a?e.altKey||e.key==="Alt":true,T=h&&N&&w&&C,P=[r,i,o,a].filter(Boolean).length,k=[e.metaKey||e.key==="Meta",e.ctrlKey||e.key==="Control",e.shiftKey||e.key==="Shift",e.altKey||e.key==="Alt"].filter(Boolean).length;return T&&k>=P}let c=e.key.toLowerCase()===n.toLowerCase()||xr(n,e.code),p=r||i||o||a?(r?e.metaKey:true)&&(i?e.ctrlKey:true)&&(o?e.shiftKey:true)&&(a?e.altKey:true):e.metaKey||e.ctrlKey;return c&&p}return (e.metaKey||e.ctrlKey)&&xn(e.key,e.code)};var ze=(e,t)=>e.composedPath().some(n=>n instanceof HTMLElement&&n.hasAttribute(t));var vn={enabled:true,hue:0,selectionBox:{enabled:true,color:void 0,borderRadius:void 0},dragBox:{enabled:true,color:void 0},grabbedBoxes:{enabled:true,color:void 0},elementLabel:{enabled:true,backgroundColor:void 0,textColor:void 0,borderColor:void 0,padding:void 0,cursorOffset:void 0},successLabels:{enabled:true},crosshair:{enabled:true,color:void 0},inputOverlay:{enabled:true}},ki=(e,t)=>({enabled:t.enabled??e.enabled,hue:t.hue??e.hue,selectionBox:{enabled:t.selectionBox?.enabled??e.selectionBox.enabled,color:t.selectionBox?.color??e.selectionBox.color,borderRadius:t.selectionBox?.borderRadius??e.selectionBox.borderRadius},dragBox:{enabled:t.dragBox?.enabled??e.dragBox.enabled,color:t.dragBox?.color??e.dragBox.color},grabbedBoxes:{enabled:t.grabbedBoxes?.enabled??e.grabbedBoxes.enabled,color:t.grabbedBoxes?.color??e.grabbedBoxes.color},elementLabel:{enabled:t.elementLabel?.enabled??e.elementLabel.enabled,backgroundColor:t.elementLabel?.backgroundColor??e.elementLabel.backgroundColor,textColor:t.elementLabel?.textColor??e.elementLabel.textColor,borderColor:t.elementLabel?.borderColor??e.elementLabel.borderColor,padding:t.elementLabel?.padding??e.elementLabel.padding,cursorOffset:t.elementLabel?.cursorOffset??e.elementLabel.cursorOffset},successLabels:{enabled:t.successLabels?.enabled??e.successLabels.enabled},crosshair:{enabled:t.crosshair?.enabled??e.crosshair.enabled,color:t.crosshair?.color??e.crosshair.color},inputOverlay:{enabled:t.inputOverlay?.enabled??e.inputOverlay.enabled}}),vr=e=>e?ki(vn,e):vn,Ti=ki;var Cr="react-grab:agent-sessions",Pl=()=>`session-${Date.now()}-${Math.random().toString(36).slice(2,9)}`,Ni=(e,t,n,r,i)=>({id:Pl(),context:e,lastStatus:"",isStreaming:true,createdAt:Date.now(),position:t,selectionBounds:n,tagName:r,componentName:i}),Sr=e=>e||null,lt=new Map,Cn=(e,t)=>{let n=Sr(t);if(!n){lt.clear(),e.forEach((r,i)=>lt.set(i,r));return}try{let r=Object.fromEntries(e);n.setItem(Cr,JSON.stringify(r));}catch{lt.clear(),e.forEach((r,i)=>lt.set(i,r));}},Er=(e,t)=>{let n=Sn(t);n.set(e.id,e),Cn(n,t);},Sn=e=>{let t=Sr(e);if(!t)return new Map(lt);try{let n=t.getItem(Cr);if(!n)return new Map;let r=JSON.parse(n);return new Map(Object.entries(r))}catch{return new Map}};var En=e=>{let t=Sr(e);if(!t){lt.clear();return}try{t.removeItem(Cr);}catch{lt.clear();}},Ai=(e,t)=>{let n=Sn(t);n.delete(e),Cn(n,t);},kn=(e,t,n)=>{let r={...e,...t};return Er(r,n),r};var Tn=async(e,t={})=>{let r=(await Promise.allSettled(e.map(i=>Ct(i,t)))).map(i=>i.status==="fulfilled"?i.value:"").filter(i=>i.trim());return r.length===0?"":r.join(`
31
31
 
32
- `)};var Ii=e=>{let[t,n]=L(new Map),r=new Map,i=new Map,o=e,s=E=>{o=E;},l=()=>o,c=()=>t().size>0,d=async(E,T)=>{let _=o?.storage,z=false,N=false,j=false;try{for await(let Y of T){let y=t().get(E.id);if(!y)break;let m=Ln(y,{lastStatus:Y},_);n(u=>new Map(u).set(E.id,m)),o?.onStatus?.(Y,m);}z=!0;let ne=t().get(E.id);if(ne){let Y=Ln(ne,{isStreaming:!1},_);n(J=>new Map(J).set(E.id,Y)),o?.onComplete?.(Y);}}catch(q){let Y=t().get(E.id);if(q instanceof Error&&q.name==="AbortError"){if(N=true,Y){let J=i.get(E.id);o?.onAbort?.(Y,J);}}else if(j=true,Y){let J=q instanceof Error?q.message:"Unknown error",y=Ln(Y,{lastStatus:`Error: ${J}`,isStreaming:false},_);n(m=>new Map(m).set(E.id,y)),q instanceof Error&&o?.onError?.(q,y);}}finally{r.delete(E.id);let q=()=>{i.delete(E.id),Oi(E.id,_),n(ne=>{let Y=new Map(ne);return Y.delete(E.id),Y});};N?q():(z||j)&&setTimeout(q,1500);}},p=E=>{let{selectionBounds:T,tagName:_}=E;if(!T)return;let z=T.x+T.width/2,N=T.y+T.height/2,j=document.elementFromPoint(z,N);if(j&&!(_&&j.tagName.toLowerCase()!==_))return j};return {sessions:t,isProcessing:c,tryResumeSessions:()=>{let E=o?.storage,T=Rn(E),_=Array.from(T.values()).filter(N=>N.isStreaming);if(_.length===0){Mn(E);return}if(!o?.provider?.supportsResume||!o.provider.resume){Mn(E);return}let z=new Map(_.map(N=>[N.id,N]));n(z),Nn(z,E);for(let N of _){let j=p(N);j&&i.set(N.id,j);let q={...N,lastStatus:N.lastStatus||"Resuming...",position:N.position??{x:window.innerWidth/2,y:window.innerHeight/2}};n(J=>new Map(J).set(N.id,q)),o?.onResume?.(q);let ne=new AbortController;r.set(N.id,ne);let Y=o.provider.resume(N.id,ne.signal);d(N,Y);}},startSession:async E=>{let{element:T,prompt:_,position:z,selectionBounds:N}=E,j=o?.storage;if(!o?.provider)return;let Y={content:await On([T]),prompt:_,options:o?.getOptions?.()},J=(T.tagName||"").toLowerCase()||void 0,y=je(T)||void 0,m=Li(Y,z,N,J,y);m.lastStatus="Please wait\u2026",i.set(m.id,T),n(I=>new Map(I).set(m.id,m)),Ar(m,j),o.onStart?.(m);let u=new AbortController;r.set(m.id,u);let h=o.provider.send(Y,u.signal);d(m,h);},abortSession:E=>{let T=r.get(E);T&&T.abort();},abortAllSessions:()=>{r.forEach(E=>E.abort()),r.clear(),n(new Map),Mn(o?.storage);},updateSessionBoundsOnViewportChange:()=>{let E=t();if(E.size===0)return;let T=new Map(E),_=false;for(let[z,N]of E){let j=i.get(z);if(!j||!document.contains(j)){let q=p(N);q&&(i.set(z,q),j=q);}if(j&&document.contains(j)){let q=Fe(j);q&&(T.set(z,{...N,selectionBounds:q}),_=true);}}_&&n(T);},getSessionElement:E=>i.get(E),setOptions:s,getOptions:l}};var Pi=X('<span class="tabular-nums align-middle">'),$i=X('<span class="font-mono tabular-nums align-middle">&lt;<!>>'),Jl=X('<span class="tabular-nums ml-1 align-middle"> in '),_r=false,Ql=()=>{if(typeof window>"u")return null;try{let e=document.currentScript?.getAttribute("data-options");return e?JSON.parse(e):null}catch{return null}},Nr=e=>{let t=kr(e?.theme);if(typeof window>"u")return {activate:()=>{},deactivate:()=>{},toggle:()=>{},isActive:()=>false,dispose:()=>{},copyElement:()=>Promise.resolve(false),getState:()=>({isActive:false,isDragging:false,isCopying:false,isInputMode:false,targetElement:null,dragBounds:null}),updateTheme:()=>{},getTheme:()=>t,setAgent:()=>{}};let r={enabled:true,keyHoldDuration:200,allowActivationInsideInput:true,...Ql(),...e},i=kr(r.theme);return r.enabled===false||_r?{activate:()=>{},deactivate:()=>{},toggle:()=>{},isActive:()=>false,dispose:()=>{},copyElement:()=>Promise.resolve(false),getState:()=>({isActive:false,isDragging:false,isCopying:false,isInputMode:false,targetElement:null,dragBounds:null}),updateTheme:()=>{},getTheme:()=>i,setAgent:()=>{}}:(_r=true,(()=>{try{let s="0.0.59",l=`data:image/svg+xml;base64,${btoa(_o)}`;console.log(`%cReact Grab${s?` v${s}`:""}%c
33
- https://react-grab.com`,`background: #330039; color: #ffffff; border: 1px solid #d75fcb; padding: 4px 4px 4px 24px; border-radius: 4px; background-image: url("${l}"); background-size: 16px 16px; background-repeat: no-repeat; background-position: 4px center; display: inline-block; margin-bottom: 4px;`,""),navigator.onLine&&s&&fetch(`https://www.react-grab.com/api/version?t=${Date.now()}`,{referrerPolicy:"origin",keepalive:!0,priority:"low",cache:"no-store"}).then(c=>c.text()).then(c=>{c&&c!==s&&console.warn(`[React Grab] v${s} is outdated (latest: v${c})`);}).catch(()=>null);}catch{}})(),ot(s=>{let[l,c]=L(i),[d,p]=L(false),[b,M]=L(-1e3),[w,v]=L(-1e3),[S,P]=L(false),[E,T]=L(-1e3),[_,z]=L(-1e3),[N,j]=L(false),[q,ne]=L("idle"),[Y,J]=L([]),[y,m]=L(null),[u,h]=L(null),[I,A]=L([]),[D,F]=L([]),[O,V]=L(false),[$,U]=L(false),[le,ee]=L(false),[ce,Ae]=L(-1e3),[ut,Ze]=L(-1e3),[_e,kt]=L(0),[ue,ge]=L(false),[ye,Ne]=L(""),[Je,Et]=L(false),[Yt,Rr]=L(void 0),[Mr,Lr]=L(void 0),[Or,Qe]=L(false),[Bi,et]=L(false),[Di,Tt]=L(null),[Xt,Hi]=L(!!r.agent?.provider),[$n,Bn]=L(-1e3),[Dn,Hn]=L(-1e3),[Ir,qt]=L(false),[At,zn]=L([]),Ge=a=>(a.tagName||"").toLowerCase(),Fr=ie(()=>{let a=At();if(!(a.length===0||!a[0]))return Ge(a[0])||void 0}),[Pr]=sn(()=>{let a=At();return a.length===0||!a[0]?null:a[0]},async a=>{if(a)return await je(a)||void 0}),Wt=()=>{Bn(-1e3),Hn(-1e3),zn([]);},zi=()=>{let a=window.getSelection();if(!a||a.isCollapsed||a.rangeCount===0)return;let g=a.getRangeAt(0).getClientRects();if(g.length===0)return;let k=(()=>{if(!a.anchorNode||!a.focusNode)return false;let W=a.anchorNode.compareDocumentPosition(a.focusNode);return W&Node.DOCUMENT_POSITION_FOLLOWING?false:W&Node.DOCUMENT_POSITION_PRECEDING?true:a.anchorOffset>a.focusOffset})(),C=k?g[0]:g[g.length-1],B=k?C.left:C.right,H=C.top+C.height/2;Bn(B),Hn(H);};Q(be(()=>_e(),()=>{Ir()&&zi();}));let jn=ie(()=>{_e();let a=At();if(!(a.length===0||!a[0]))return Fe(a[0])}),Be=null,Zt=null,Jt=null,ke=null,tt=null,_t=null,Oe=ie(()=>O()&&!N()),$r=(a,f)=>({top:f<25,bottom:f>window.innerHeight-25,left:a<25,right:a>window.innerWidth-25}),Br=(a,f)=>{let g=`grabbed-${Date.now()}-${Math.random()}`,k=Date.now(),C={id:g,bounds:a,createdAt:k,element:f},B=I();A([...B,C]),r.onGrabbedBox?.(a,f),setTimeout(()=>{A(H=>H.filter(W=>W.id!==g));},1700);},Dr=(a,f)=>{let g=`success-${Date.now()}-${Math.random()}`;F(k=>[...k,{id:g,text:a}]),r.onSuccessLabel?.(a,f,{x:b(),y:w()}),setTimeout(()=>{F(k=>k.filter(C=>C.id!==g));},1700);},ji=a=>{let f=Ge(a);return f?`<${f}>`:"1 element"},Hr=a=>{let f=a.map(g=>({tagName:Ge(g)}));window.dispatchEvent(new CustomEvent("react-grab:element-selected",{detail:{elements:f}}));},Vi=(a,f,g,k,C)=>{let B=`label-${Date.now()}-${Math.random().toString(36).slice(2)}`;return J(H=>[...H,{id:B,bounds:a,tagName:f,componentName:g,status:k,createdAt:Date.now(),element:C}]),B},zr=(a,f)=>{J(g=>g.map(k=>k.id===a?{...k,status:f}:k));},Gi=a=>{J(f=>f.filter(g=>g.id!==a));},Nt=async(a,f,g,k,C,B,H)=>{Ae(a),Ze(f),j(true),qi();let W=k&&C?Vi(k,C,B,"copying",H):null;await g().finally(()=>{j(false),Qt(),W&&(zr(W,"copied"),setTimeout(()=>{zr(W,"fading"),setTimeout(()=>{Gi(W);},350);},1500)),$()&&Se();});},Ki=a=>"innerText"in a,Ui=a=>Ki(a)?a.innerText:a.textContent??"",jr=a=>a.map(f=>Ui(f).trim()).filter(f=>f.length>0).join(`
32
+ `)};var _i=e=>{let[t,n]=R(new Map),r=new Map,i=new Map,o=e,a=k=>{o=k;},l=()=>o,c=()=>t().size>0,d=async(k,v)=>{let A=o?.storage,H=false,M=false,G=false;try{for await(let Y of v){let y=t().get(k.id);if(!y)break;let m=kn(y,{lastStatus:Y},A);n(u=>new Map(u).set(k.id,m)),o?.onStatus?.(Y,m);}H=!0;let K=t().get(k.id);if(K){let Y=kn(K,{isStreaming:!1},A);n(oe=>new Map(oe).set(k.id,Y)),o?.onComplete?.(Y);}}catch(q){let Y=t().get(k.id);if(q instanceof Error&&q.name==="AbortError"){if(M=true,Y){let oe=i.get(k.id);o?.onAbort?.(Y,oe);}}else if(G=true,Y){let oe=q instanceof Error?q.message:"Unknown error",y=kn(Y,{lastStatus:`Error: ${oe}`,isStreaming:false},A);n(m=>new Map(m).set(k.id,y)),q instanceof Error&&o?.onError?.(q,y);}}finally{r.delete(k.id);let q=()=>{i.delete(k.id),Ai(k.id,A),n(K=>{let Y=new Map(K);return Y.delete(k.id),Y});};M?q():(H||G)&&setTimeout(q,1500);}},p=k=>{let{selectionBounds:v,tagName:A}=k;if(!v)return;let H=v.x+v.width/2,M=v.y+v.height/2,G=document.elementFromPoint(H,M);if(G&&!(A&&G.tagName.toLowerCase()!==A))return G};return {sessions:t,isProcessing:c,tryResumeSessions:()=>{let k=o?.storage,v=Sn(k),A=Array.from(v.values()).filter(M=>M.isStreaming);if(A.length===0){En(k);return}if(!o?.provider?.supportsResume||!o.provider.resume){En(k);return}let H=new Map(A.map(M=>[M.id,M]));n(H),Cn(H,k);for(let M of A){let G=p(M);G&&i.set(M.id,G);let q={...M,lastStatus:M.lastStatus||"Resuming...",position:M.position??{x:window.innerWidth/2,y:window.innerHeight/2}};n(oe=>new Map(oe).set(M.id,q)),o?.onResume?.(q);let K=new AbortController;r.set(M.id,K);let Y=o.provider.resume(M.id,K.signal);d(M,Y);}},startSession:async k=>{let{element:v,prompt:A,position:H,selectionBounds:M}=k,G=o?.storage;if(!o?.provider)return;let Y={content:await Tn([v]),prompt:A,options:o?.getOptions?.()},oe=(v.tagName||"").toLowerCase()||void 0,y=await He(v)||void 0,m=Ni(Y,H,M,oe,y);m.lastStatus="Please wait\u2026",i.set(m.id,v),n(L=>new Map(L).set(m.id,m)),Er(m,G),o.onStart?.(m);let u=new AbortController;r.set(m.id,u);let b=o.provider.send(Y,u.signal);d(m,b);},abortSession:k=>{let v=r.get(k);v&&v.abort();},abortAllSessions:()=>{r.forEach(k=>k.abort()),r.clear(),n(new Map),En(o?.storage);},updateSessionBoundsOnViewportChange:()=>{let k=t();if(k.size===0)return;let v=new Map(k),A=false;for(let[H,M]of k){let G=i.get(H);if(!G||!document.contains(G)){let q=p(M);q&&(i.set(H,q),G=q);}if(G&&document.contains(G)){let q=Le(G);q&&(v.set(H,{...M,selectionBounds:q}),A=true);}}A&&n(v);},getSessionElement:k=>i.get(k),setOptions:a,getOptions:l}};var Li=ie('<span class="tabular-nums align-middle">'),Oi=ie('<span class="font-mono tabular-nums align-middle">&lt;<!>>'),Hl=ie('<span class="tabular-nums ml-1 align-middle"> in '),zl=e=>"scheduler"in globalThis?globalThis.scheduler.postTask(e,{priority:"background"}):"requestIdleCallback"in window?requestIdleCallback(e):setTimeout(e,0),kr=false,jl=()=>{if(typeof window>"u")return null;try{let e=document.currentScript?.getAttribute("data-options");return e?JSON.parse(e):null}catch{return null}},Tr=e=>{let t=vr(e?.theme);if(typeof window>"u")return {activate:()=>{},deactivate:()=>{},toggle:()=>{},isActive:()=>false,dispose:()=>{},copyElement:()=>Promise.resolve(false),getState:()=>({isActive:false,isDragging:false,isCopying:false,isInputMode:false,targetElement:null,dragBounds:null}),updateTheme:()=>{},getTheme:()=>t,setAgent:()=>{}};let r={enabled:true,keyHoldDuration:200,allowActivationInsideInput:true,maxContextLines:3,...jl(),...e},i=vr(r.theme);return r.enabled===false||kr?{activate:()=>{},deactivate:()=>{},toggle:()=>{},isActive:()=>false,dispose:()=>{},copyElement:()=>Promise.resolve(false),getState:()=>({isActive:false,isDragging:false,isCopying:false,isInputMode:false,targetElement:null,dragBounds:null}),updateTheme:()=>{},getTheme:()=>i,setAgent:()=>{}}:(kr=true,(()=>{try{let a="0.0.61",l=`data:image/svg+xml;base64,${btoa(To)}`;console.log(`%cReact Grab${a?` v${a}`:""}%c
33
+ https://react-grab.com`,`background: #330039; color: #ffffff; border: 1px solid #d75fcb; padding: 4px 4px 4px 24px; border-radius: 4px; background-image: url("${l}"); background-size: 16px 16px; background-repeat: no-repeat; background-position: 4px center; display: inline-block; margin-bottom: 4px;`,""),navigator.onLine&&a&&fetch(`https://www.react-grab.com/api/version?t=${Date.now()}`,{referrerPolicy:"origin",keepalive:!0,priority:"low",cache:"no-store"}).then(c=>c.text()).then(c=>{c&&c!==a&&console.warn(`[React Grab] v${a} is outdated (latest: v${c})`);}).catch(()=>null);}catch{}})(),ot(a=>{let[l,c]=R(i),[d,p]=R(false),[h,N]=R(-1e3),[w,C]=R(-1e3),[T,P]=R(null),k=0,[v,A]=R(false),[H,M]=R(-1e3),[G,q]=R(-1e3),[K,Y]=R(false),[oe,y]=R("idle"),[m,u]=R([]),[b,L]=R(null),[_,V]=R(null),[I,z]=R([]),[j,B]=R([]),[F,ee]=R(false),[W,ne]=R(false),[be,qe]=R(false),[We,Ze]=R(-1e3),[Vt,Et]=R(-1e3),[Ce,ye]=R(0),[le,Se]=R(false),[Gt,Je]=R(""),[Mi,Rn]=R(false),[Nr,Ar]=R(void 0),[_r,Rr]=R(void 0),[Lr,Qe]=R(false),[Ii,et]=R(false),[Pi,kt]=R(null),[Kt,Fi]=R(!!r.agent?.provider),[Ln,On]=R(-1e3),[Mn,In]=R(-1e3),[Or,Ut]=R(false),[Tt,Pn]=R([]),je=s=>(s.tagName||"").toLowerCase(),Mr=ae(()=>{let s=Tt();if(!(s.length===0||!s[0]))return je(s[0])||void 0}),[Ir]=nn(()=>{let s=Tt();return s.length===0||!s[0]?null:s[0]},async s=>{if(s)return await He(s)||void 0}),Yt=()=>{On(-1e3),In(-1e3),Pn([]);},$i=()=>{let s=window.getSelection();if(!s||s.isCollapsed||s.rangeCount===0)return;let g=s.getRangeAt(0).getClientRects();if(g.length===0)return;let S=(()=>{if(!s.anchorNode||!s.focusNode)return false;let X=s.anchorNode.compareDocumentPosition(s.focusNode);return X&Node.DOCUMENT_POSITION_FOLLOWING?false:X&Node.DOCUMENT_POSITION_PRECEDING?true:s.anchorOffset>s.focusOffset})(),E=S?g[0]:g[g.length-1],$=S?E.left:E.right,D=E.top+E.height/2;On($),In(D);};Q(ge(()=>Ce(),()=>{Or()&&$i();}));let Fn=ae(()=>{Ce();let s=Tt();if(!(s.length===0||!s[0]))return Le(s[0])}),Pe=null,Xt=null,qt=null,ke=null,tt=null,Nt=null,_e=ae(()=>F()&&!K()),Pr=(s,f)=>({top:f<25,bottom:f>window.innerHeight-25,left:s<25,right:s>window.innerWidth-25}),Fr=(s,f)=>{let g=`grabbed-${Date.now()}-${Math.random()}`,S=Date.now(),E={id:g,bounds:s,createdAt:S,element:f},$=I();z([...$,E]),r.onGrabbedBox?.(s,f),setTimeout(()=>{z(D=>D.filter(X=>X.id!==g));},1700);},$r=(s,f)=>{let g=`success-${Date.now()}-${Math.random()}`;B(S=>[...S,{id:g,text:s}]),r.onSuccessLabel?.(s,f,{x:h(),y:w()}),setTimeout(()=>{B(S=>S.filter(E=>E.id!==g));},1700);},Di=s=>{let f=je(s);return f?`<${f}>`:"1 element"},Dr=s=>{let f=s.map(g=>({tagName:je(g)}));window.dispatchEvent(new CustomEvent("react-grab:element-selected",{detail:{elements:f}}));},Bi=(s,f,g,S,E,$)=>{let D=`label-${Date.now()}-${Math.random().toString(36).slice(2)}`;return u(X=>[...X,{id:D,bounds:s,tagName:f,componentName:g,status:S,createdAt:Date.now(),element:E,mouseX:$}]),D},Br=(s,f)=>{u(g=>g.map(S=>S.id===s?{...S,status:f}:S));},Hi=s=>{u(f=>f.filter(g=>g.id!==s));},At=async(s,f,g,S,E,$,D)=>{Ze(s),Et(f),Y(true),Ki();let X=S&&E?Bi(S,E,$,"copying",D,s):null;await g().finally(()=>{Y(false),Wt(),X&&(Br(X,"copied"),setTimeout(()=>{Br(X,"fading"),setTimeout(()=>{Hi(X);},350);},1500)),W()&&Ee();});},zi=s=>"innerText"in s,ji=s=>zi(s)?s.innerText:s.textContent??"",Hr=s=>s.map(f=>ji(f).trim()).filter(f=>f.length>0).join(`
34
34
 
35
- `),Vn=async(a,f)=>{let g=false,k="";await r.onBeforeCopy?.(a);try{let C=await Promise.allSettled(a.map(H=>Ct(H))),B=[];for(let H of C)H.status==="fulfilled"&&H.value.trim()&&B.push(H.value);if(B.length>0){let H=B.join(`
35
+ `),$n=async(s,f)=>{let g=false,S="";await r.onBeforeCopy?.(s);try{let E=await Promise.allSettled(s.map(D=>Ct(D,{maxLines:r.maxContextLines}))),$=[];for(let D of E)D.status==="fulfilled"&&D.value.trim()&&$.push(D.value);if($.length>0){let D=$.join(`
36
36
 
37
- `),W=f?`${f}
37
+ `),X=f?`${f}
38
38
 
39
- ${H}`:H;k=W,g=await En(W);}if(!g){let H=jr(a);if(H.length>0){let W=f?`${f}
39
+ ${D}`:D;S=X,g=await yn(X);}if(!g){let D=Hr(s);if(D.length>0){let X=f?`${f}
40
40
 
41
- ${H}`:H;k=W,g=await En(W);}}g&&r.onCopySuccess?.(a,k);}catch(C){r.onCopyError?.(C);let B=jr(a);if(B.length>0){let H=f?`${f}
41
+ ${D}`:D;S=X,g=await yn(X);}}g&&r.onCopySuccess?.(s,S);}catch(E){r.onCopyError?.(E);let $=Hr(s);if($.length>0){let D=f?`${f}
42
42
 
43
- ${B}`:B;k=H,g=await En(H);}}return r.onAfterCopy?.(a,g),g},Gn=async(a,f)=>{let g=f?"input-submit":"copy";r.onElementSelect?.(a),l().grabbedBoxes.enabled&&Br(Fe(a),a),await new Promise(C=>requestAnimationFrame(C)),await Vn([a],f)&&l().successLabels.enabled&&Dr(ji(a),g),Hr([a]);},Vr=async a=>{if(a.length===0)return;for(let g of a)r.onElementSelect?.(g);if(l().grabbedBoxes.enabled)for(let g of a)Br(Fe(g),g);await new Promise(g=>requestAnimationFrame(g)),await Vn(a)&&l().successLabels.enabled&&Dr(`${a.length} elements`,"copy"),Hr(a);},pe=ie(()=>!Oe()||S()?null:Cr(b(),w()));Q(()=>{let a=pe();a&&Tt(a);});let Gr=ie(()=>{_e();let a=pe();if(a)return Fe(a)}),Kr=(a,f)=>{let g=a+window.scrollX,k=f+window.scrollY;return {x:Math.abs(g-E()),y:Math.abs(k-_())}},Ur=ie(()=>{if(!S())return false;let a=Kr(b(),w());return a.x>2||a.y>2}),Yr=(a,f)=>{let g=a+window.scrollX,k=f+window.scrollY,C=Math.min(E(),g),B=Math.min(_(),k),H=Math.abs(g-E()),W=Math.abs(k-_());return {x:C-window.scrollX,y:B-window.scrollY,width:H,height:W}},Ke=ie(()=>{if(!Ur())return;let a=Yr(b(),w());return {borderRadius:"0px",height:a.height,transform:"none",width:a.width,x:a.x,y:a.y}}),[Yi]=sn(()=>pe(),async a=>a?je(a):null),Xi=ie(()=>{let a=pe(),f=N();if(!a)return (()=>{var C=Pi();return G(C,f?"Please wait\u2026":"1 element"),C})();let g=Ge(a),k=Yi();return g&&k?[(()=>{var C=$i(),B=C.firstChild,H=B.nextSibling;H.nextSibling;return G(C,g,H),C})(),(()=>{var C=Jl();C.firstChild;return G(C,k,null),C})()]:g?(()=>{var C=$i(),B=C.firstChild,H=B.nextSibling;H.nextSibling;return G(C,g,H),C})():(()=>{var C=Pi();return G(C,f?"Please wait\u2026":"1 element"),C})()}),Kn=ie(()=>N()?{x:ce(),y:ut()}:{x:b(),y:w()});Q(be(()=>[pe(),y()],([a,f])=>{f&&a&&f!==a&&m(null),a&&r.onElementHover?.(a);})),Q(be(()=>pe(),a=>{let f=()=>{Rr(void 0),Lr(void 0);};if(!a){f();return}vt(a).then(g=>{for(let k of g)if(k.source&&kn(k.source.fileName)){Rr(Ut(k.source.fileName)),Lr(k.source.lineNumber);return}f();}).catch(f);})),Q(be(()=>_e(),()=>{let a=I();if(a.length===0)return;let f=a.map(g=>({...g,bounds:Fe(g.element)}));A(f);})),Q(be(()=>_e(),()=>Ie.updateSessionBoundsOnViewportChange())),Q(be(()=>[O(),S(),N(),ue(),pe(),Ke()],([a,f,g,k,C,B])=>{r.onStateChange?.({isActive:a,isDragging:f,isCopying:g,isInputMode:k,targetElement:C,dragBounds:B?{x:B.x,y:B.y,width:B.width,height:B.height}:null});})),Q(be(()=>[ue(),b(),w(),pe()],([a,f,g,k])=>{r.onInputModeChange?.(a,{x:f,y:g,targetElement:k});})),Q(be(()=>[Jr(),Gr(),pe()],([a,f,g])=>{r.onSelectionBox?.(!!a,f??null,g);})),Q(be(()=>[Qr(),Ke()],([a,f])=>{r.onDragBox?.(!!a,f??null);})),Q(be(()=>[eo(),b(),w()],([a,f,g])=>{r.onCrosshair?.(!!a,{x:f,y:g});})),Q(be(()=>[ls(),as(),Xi(),Kn()],([a,f,g,k])=>{let C=typeof g=="string"?g:"";r.onElementLabel?.(!!a,f,{x:k.x,y:k.y,content:C});}));let Ue=null,nt=a=>{a?(Ue||(Ue=document.createElement("style"),Ue.setAttribute("data-react-grab-cursor",""),document.head.appendChild(Ue)),Ue.textContent=`* { cursor: ${a} !important; }`):Ue&&(Ue.remove(),Ue=null);};Q(be(()=>[O(),N(),S(),ue(),pe()],([a,f,g,k,C])=>{nt(f?"progress":k?null:a&&g?"crosshair":a&&C?"copy":a?"crosshair":null);}));let qi=a=>{let f=Date.now(),g=r.keyHoldDuration;h(f);let k=()=>{let C=u();if(C===null)return;let H=(Date.now()-C)/g,W=1-Math.exp(-H);(N()?Math.min(W,.95):1)<1&&(Jt=requestAnimationFrame(k));};k();},Qt=()=>{Jt!==null&&(cancelAnimationFrame(Jt),Jt=null),h(null);},Wi=()=>{let a=()=>{if(!S()){Rt();return}let f=$r(b(),w());f.top&&window.scrollBy(0,-10),f.bottom&&window.scrollBy(0,10),f.left&&window.scrollBy(-10,0),f.right&&window.scrollBy(10,0),f.top||f.bottom||f.left||f.right?tt=requestAnimationFrame(a):tt=null;};a();},Rt=()=>{tt!==null&&(cancelAnimationFrame(tt),tt=null);},rt=()=>{Qt(),_t=document.activeElement,Zt=Date.now(),V(true),r.onActivate?.();},Se=()=>{U(false),p(false),V(false),ge(false),Ne(""),Qe(false),et(false),Tt(null),ne("idle"),S()&&(P(false),document.body.style.userSelect=""),Be&&window.clearTimeout(Be),ke&&window.clearTimeout(ke),Rt(),Qt(),Zt=null,_t instanceof HTMLElement&&document.contains(_t)&&_t.focus(),_t=null,r.onDeactivate?.();},Zi=r.agent?{...r.agent,onAbort:(a,f)=>{if(r.agent?.onAbort?.(a,f),f&&document.contains(f)){let g=f.getBoundingClientRect(),k=g.left+g.width/2,C=g.top+g.height/2;M(k),v(C),Tt(f),Ne(a.context.prompt),et(true),ge(true),U(true),Qe(true),O()||rt();}}}:void 0,Ie=Ii(Zi),Ji=a=>{Ne(a);},Qi=()=>{let a=Di()||pe(),f=ue()?ye().trim():"";if(!a){Se();return}let g=Fe(a),k=g.x+g.width/2,C=g.y+g.height/2;if(M(k),v(C),Xt()&&f){Se(),Ie.startSession({element:a,prompt:f,position:{x:k,y:C},selectionBounds:g});return}ge(false),Ne("");let B=Ge(a);je(a).then(H=>{Nt(k,C,()=>Gn(a,f||void 0),g,B,H??void 0,a).then(()=>{Se();});});},Un=()=>{ue()&&Se();},es=()=>{U(true),Qe(true),et(true),ge(true);},ts=async()=>{let a=At();if(a.length===0)return;let f=$n(),g=Dn(),k=jn(),C=Fr();qt(false),Wt(),window.getSelection()?.removeAllRanges();let B=Pr();a.length===1?await Nt(f,g,()=>Gn(a[0]),k,C,B):await Nt(f,g,()=>Vr(a),k,C,B);},ns=()=>{if(At().length===0)return;let f=jn(),g=f?f.x+f.width/2:$n(),k=f?f.y+f.height/2:Dn();qt(false),Wt(),window.getSelection()?.removeAllRanges(),M(g),v(k),U(true),Qe(true),et(true),rt(),ge(true);},Xr=(a,f)=>{if(!(ue()||Or())&&(M(a),v(f),S())){let g=$r(a,f),k=g.top||g.bottom||g.left||g.right;k&&tt===null?Wi():!k&&tt!==null&&Rt();}},qr=(a,f)=>{if(!Oe()||N())return false;P(true);let g=a+window.scrollX,k=f+window.scrollY;return T(g),z(k),document.body.style.userSelect="none",r.onDragStart?.(g,k),true},Wr=(a,f)=>{if(!S())return;let g=Kr(a,f),k=g.x>2||g.y>2;if(P(false),Rt(),document.body.style.userSelect="",k){ee(true);let C=Yr(a,f),B=Ti(C,St),H=B.length>0?B:Ai(C,St);if(H.length>0){r.onDragEnd?.(H,C);let W=H[0],Pe=W.getBoundingClientRect(),Re={x:Pe.left,y:Pe.top,width:Pe.width,height:Pe.height,borderRadius:"0px",transform:Tn(W)},Mt=Ge(W);if(Xt()){let dt=Re.x+Re.width/2,us=Re.y+Re.height/2;M(dt),v(us),Tt(W),U(true),Qe(true),et(true),ge(true);}else je(W).then(dt=>{Nt(a,f,()=>Vr(H),Re,Mt,dt??void 0,W);});}}else {let C=Cr(a,f);if(!C)return;m(C);let B=Fe(C),H=Ge(C);je(C).then(W=>{Nt(a,f,()=>Gn(C),B,H,W??void 0,C);});}},Zr=new AbortController,we=Zr.signal;window.addEventListener("keydown",a=>{if(ue()||Ve(a,"data-react-grab-ignore-events")){a.key==="Escape"&&Ie.isProcessing()&&Ie.abortAllSessions();return}if(a.key==="Escape"){if(Ie.isProcessing()){Ie.abortAllSessions();return}if(d()){Se();return}}if(a.key==="Enter"&&d()&&!ue()){a.preventDefault(),a.stopPropagation(),U(true),Qe(true),et(true),ke!==null&&(window.clearTimeout(ke),ke=null),O()||(Be&&window.clearTimeout(Be),rt()),ge(true);return}if(a.key.toLowerCase()==="o"&&!ue()&&O()&&(a.metaKey||a.ctrlKey)){let f=Yt(),g=Mr();if(f)if(a.preventDefault(),a.stopPropagation(),r.onOpenFile)r.onOpenFile(f,g);else {let k=dn(f,g);window.open(k,"_blank");}return}if(!(!r.allowActivationInsideInput&&ko(a))&&!(!Ni(a,r)&&(O()&&!$()&&(a.metaKey||a.ctrlKey)&&!fn.includes(a.key)&&a.key!=="Enter"&&Se(),a.key!=="Enter"))){if((O()||d())&&!ue()&&a.preventDefault(),O()){if($()||a.repeat)return;ke!==null&&window.clearTimeout(ke),ke=window.setTimeout(()=>{Se();},200);return}d()&&a.repeat||(Be!==null&&window.clearTimeout(Be),d()||p(true),Be=window.setTimeout(()=>{rt();},r.keyHoldDuration));}},{signal:we,capture:true}),window.addEventListener("keyup",a=>{if(!d()&&!O()||ue())return;let f=!!(r.activationShortcut||r.activationKey),k=(()=>{if(r.activationKey){let{metaKey:H,ctrlKey:W,shiftKey:Pe,altKey:Re}=r.activationKey;return {metaKey:!!H,ctrlKey:!!W,shiftKey:!!Pe,altKey:!!Re}}return {metaKey:true,ctrlKey:true,shiftKey:false,altKey:false}})(),C=k.metaKey||k.ctrlKey?!a.metaKey&&!a.ctrlKey:k.shiftKey&&!a.shiftKey||k.altKey&&!a.altKey,B=r.activationShortcut?!r.activationShortcut(a):r.activationKey?r.activationKey.key?a.key.toLowerCase()===r.activationKey.key.toLowerCase()||Sr(r.activationKey.key,a.code):false:An(a.key,a.code);if(O()){if(C){if($())return;Se();}else !f&&B&&ke!==null&&(window.clearTimeout(ke),ke=null);return}if(B||C){if($())return;Se();}},{signal:we,capture:true}),window.addEventListener("mousemove",a=>{Et(false),!Ve(a,"data-react-grab-ignore-events")&&Xr(a.clientX,a.clientY);},{signal:we}),window.addEventListener("mousedown",a=>{if(Ve(a,"data-react-grab-ignore-events"))return;if(ue()){Un();return}qr(a.clientX,a.clientY)&&a.preventDefault();},{signal:we,capture:true}),window.addEventListener("pointerdown",a=>{!Oe()||N()||ue()||Ve(a,"data-react-grab-ignore-events")||a.stopPropagation();},{signal:we,capture:true}),window.addEventListener("mouseup",a=>{Wr(a.clientX,a.clientY);},{signal:we}),window.addEventListener("touchmove",a=>{a.touches.length!==0&&(Et(true),!Ve(a,"data-react-grab-ignore-events")&&Xr(a.touches[0].clientX,a.touches[0].clientY));},{signal:we,passive:true}),window.addEventListener("touchstart",a=>{if(a.touches.length===0||(Et(true),Ve(a,"data-react-grab-ignore-events")))return;if(ue()){Un();return}qr(a.touches[0].clientX,a.touches[0].clientY)&&a.preventDefault();},{signal:we,passive:false}),window.addEventListener("touchend",a=>{a.changedTouches.length!==0&&Wr(a.changedTouches[0].clientX,a.changedTouches[0].clientY);},{signal:we}),window.addEventListener("click",a=>{Ve(a,"data-react-grab-ignore-events")||(Oe()||N()||le())&&(a.preventDefault(),a.stopPropagation(),le()&&ee(false),$()&&!N()&&(d()?U(false):Se()));},{signal:we,capture:true}),document.addEventListener("visibilitychange",()=>{document.hidden&&(A([]),O()&&!ue()&&Zt!==null&&Date.now()-Zt>500&&Se());},{signal:we}),window.addEventListener("scroll",()=>{kt(a=>a+1);},{signal:we,capture:true}),window.addEventListener("resize",()=>{kt(a=>a+1);},{signal:we}),document.addEventListener("copy",a=>{ue()||Ve(a,"data-react-grab-ignore-events")||(Oe()||N())&&a.preventDefault();},{signal:we,capture:true});let en=null;document.addEventListener("selectionchange",()=>{if(Oe())return;en!==null&&window.clearTimeout(en),qt(false);let a=window.getSelection();if(!a||a.isCollapsed||a.rangeCount===0){Wt();return}en=window.setTimeout(()=>{en=null;let f=window.getSelection();if(!f||f.isCollapsed||f.rangeCount===0)return;let g=f.getRangeAt(0),k=g.getBoundingClientRect();if(k.width===0&&k.height===0)return;let C=(()=>{if(!f.anchorNode||!f.focusNode)return false;let dt=f.anchorNode.compareDocumentPosition(f.focusNode);return dt&Node.DOCUMENT_POSITION_FOLLOWING?false:dt&Node.DOCUMENT_POSITION_PRECEDING?true:f.anchorOffset>f.focusOffset})(),B=g.getClientRects();if(B.length===0)return;let H=C?B[0]:B[B.length-1],W=C?H.left:H.right,Pe=H.top+H.height/2;if(To(W,Pe)){Wt();return}Bn(W),Hn(Pe);let Re=g.commonAncestorContainer,Mt=Re.nodeType===Node.ELEMENT_NODE?Re:Re.parentElement;Mt&&St(Mt)?(zn([Mt]),qt(true)):zn([]);},150);},{signal:we}),ve(()=>{Zr.abort(),Be&&window.clearTimeout(Be),ke&&window.clearTimeout(ke),Rt(),Qt(),document.body.style.userSelect="",nt(null);});let Yn=Ao(So),Jr=ie(()=>l().selectionBox.enabled?Oe()&&!S()&&!!pe():false),rs=ie(()=>{let a=pe();if(a)return Ge(a)||void 0}),[os]=sn(()=>pe(),async a=>a?await je(a)??void 0:void 0),is=ie(()=>!l().elementLabel.enabled||D().length>0?false:Oe()&&!S()&&!!pe()),ss=ie(()=>(_e(),Y().map(a=>!a.element||!document.body.contains(a.element)?a:{...a,bounds:Fe(a.element)}))),Qr=ie(()=>l().dragBox.enabled&&Oe()&&Ur()),as=ie(()=>N()?"processing":"hover"),ls=ie(()=>!l().elementLabel.enabled||ue()?false:N()?true:D().length>0?false:Oe()&&!S()&&!!pe()),eo=ie(()=>l().crosshair.enabled&&Oe()&&!S()&&!Je()&&!Or()),cs=ie(()=>l().grabbedBoxes.enabled);return Q(be(l,a=>{a.hue!==0?Yn.style.filter=`hue-rotate(${a.hue}deg)`:Yn.style.filter="";})),l().enabled&&vo(()=>R(Jo,{get selectionVisible(){return Jr()},get selectionBounds(){return Gr()},get selectionFilePath(){return Yt()},get selectionLineNumber(){return Mr()},get selectionTagName(){return rs()},get selectionComponentName(){return os()},get selectionLabelVisible(){return is()},get selectionLabelStatus(){return q()},get labelInstances(){return ss()},get dragVisible(){return Qr()},get dragBounds(){return Ke()},get grabbedBoxes(){return me(()=>!!cs())()?I():[]},labelZIndex:2147483647,get mouseX(){return Kn().x},get mouseY(){return Kn().y},get crosshairVisible(){return eo()},get inputValue(){return ye()},get isInputExpanded(){return Bi()},get hasAgent(){return Xt()},get agentSessions(){return Ie.sessions()},onAbortSession:a=>Ie.abortSession(a),onInputChange:Ji,onInputSubmit:()=>void Qi(),onInputCancel:Un,onToggleExpand:es,get nativeSelectionCursorVisible(){return Ir()},get nativeSelectionCursorX(){return $n()},get nativeSelectionCursorY(){return Dn()},get nativeSelectionTagName(){return Fr()},get nativeSelectionComponentName(){return Pr()},get nativeSelectionBounds(){return jn()},onNativeSelectionCopy:()=>void ts(),onNativeSelectionEnter:ns,get theme(){return l()}}),Yn),Xt()&&Ie.tryResumeSessions(),{activate:()=>{O()||(U(true),rt());},deactivate:()=>{O()&&Se();},toggle:()=>{O()?Se():(U(true),rt());},isActive:()=>O(),dispose:()=>{_r=false,s();},copyElement:async a=>{let f=Array.isArray(a)?a:[a];if(f.length===0)return false;await r.onBeforeCopy?.(f);let g=await Vn(f);return r.onAfterCopy?.(f,g),g},getState:()=>({isActive:O(),isDragging:S(),isCopying:N(),isInputMode:ue(),targetElement:pe(),dragBounds:Ke()?{x:Ke().x,y:Ke().y,width:Ke().width,height:Ke().height}:null}),updateTheme:a=>{let f=l(),g=Mi(f,a);c(g);},getTheme:()=>l(),setAgent:a=>{let f=Ie.getOptions(),g={...f,...a,provider:a.provider??f?.provider,onAbort:(k,C)=>{if(a?.onAbort?.(k,C),C&&document.contains(C)){let B=C.getBoundingClientRect(),H=B.left+B.width/2,W=B.top+B.height/2;M(H),v(W),Tt(C),Ne(k.context.prompt),et(true),ge(true),U(true),Qe(true),O()||rt();}}};Ie.setOptions(g),Hi(!!g.provider);}}}))};var ct=null,mm=()=>typeof window>"u"?ct:window.__REACT_GRAB__??ct??null,pm=e=>{ct=e,typeof window<"u"&&(e?window.__REACT_GRAB__=e:delete window.__REACT_GRAB__);};typeof window<"u"&&(window.__REACT_GRAB__?ct=window.__REACT_GRAB__:(ct=Nr(),window.__REACT_GRAB__=ct,window.dispatchEvent(new CustomEvent("react-grab:init",{detail:ct}))));/*! Bundled license information:
43
+ ${$}`:$;S=D,g=await yn(D);}}return r.onAfterCopy?.(s,g),g},Dn=async(s,f)=>{let g=f?"input-submit":"copy";r.onElementSelect?.(s),l().grabbedBoxes.enabled&&Fr(Le(s),s),await new Promise(E=>requestAnimationFrame(E)),await $n([s],f)&&l().successLabels.enabled&&$r(Di(s),g),Dr([s]);},zr=async s=>{if(s.length===0)return;for(let g of s)r.onElementSelect?.(g);if(l().grabbedBoxes.enabled)for(let g of s)Fr(Le(g),g);await new Promise(g=>requestAnimationFrame(g)),await $n(s)&&l().successLabels.enabled&&$r(`${s.length} elements`,"copy"),Dr(s);},me=ae(()=>!_e()||v()?null:T());Q(()=>{let s=me();s&&kt(s);});let jr=ae(()=>{Ce();let s=me();if(s)return Le(s)}),Vr=(s,f)=>{let g=s+window.scrollX,S=f+window.scrollY;return {x:Math.abs(g-H()),y:Math.abs(S-G())}},Gr=ae(()=>{if(!v())return false;let s=Vr(h(),w());return s.x>2||s.y>2}),Kr=(s,f)=>{let g=s+window.scrollX,S=f+window.scrollY,E=Math.min(H(),g),$=Math.min(G(),S),D=Math.abs(g-H()),X=Math.abs(S-G());return {x:E-window.scrollX,y:$-window.scrollY,width:D,height:X}},Ve=ae(()=>{if(!Gr())return;let s=Kr(h(),w());return {borderRadius:"0px",height:s.height,transform:"none",width:s.width,x:s.x,y:s.y}}),[Vi]=nn(()=>me(),async s=>s?He(s):null),Gi=ae(()=>{let s=me(),f=K();if(!s)return (()=>{var E=Li();return J(E,f?"Please wait\u2026":"1 element"),E})();let g=je(s),S=Vi();return g&&S?[(()=>{var E=Oi(),$=E.firstChild,D=$.nextSibling;D.nextSibling;return J(E,g,D),E})(),(()=>{var E=Hl();E.firstChild;return J(E,S,null),E})()]:g?(()=>{var E=Oi(),$=E.firstChild,D=$.nextSibling;D.nextSibling;return J(E,g,D),E})():(()=>{var E=Li();return J(E,f?"Please wait\u2026":"1 element"),E})()}),Bn=ae(()=>K()?{x:We(),y:Vt()}:{x:h(),y:w()});Q(ge(()=>[me(),b()],([s,f])=>{f&&s&&f!==s&&L(null),s&&r.onElementHover?.(s);})),Q(ge(()=>me(),s=>{let f=()=>{Ar(void 0),Rr(void 0);};if(!s){f();return}vt(s).then(g=>{if(g){for(let S of g)if(S.fileName&&bn(S.fileName)){Ar(jt(S.fileName)),Rr(S.lineNumber);return}f();}}).catch(f);})),Q(ge(()=>Ce(),()=>{let s=I();if(s.length===0)return;let f=s.map(g=>({...g,bounds:Le(g.element)}));z(f);})),Q(ge(()=>Ce(),()=>Re.updateSessionBoundsOnViewportChange())),Q(ge(()=>[F(),v(),K(),le(),me(),Ve()],([s,f,g,S,E,$])=>{r.onStateChange?.({isActive:s,isDragging:f,isCopying:g,isInputMode:S,targetElement:E,dragBounds:$?{x:$.x,y:$.y,width:$.width,height:$.height}:null});})),Q(ge(()=>[le(),h(),w(),me()],([s,f,g,S])=>{r.onInputModeChange?.(s,{x:f,y:g,targetElement:S});})),Q(ge(()=>[Wr(),jr(),me()],([s,f,g])=>{r.onSelectionBox?.(!!s,f??null,g);})),Q(ge(()=>[Zr(),Ve()],([s,f])=>{r.onDragBox?.(!!s,f??null);})),Q(ge(()=>[Jr(),h(),w()],([s,f,g])=>{r.onCrosshair?.(!!s,{x:f,y:g});})),Q(ge(()=>[os(),rs(),Gi(),Bn()],([s,f,g,S])=>{let E=typeof g=="string"?g:"";r.onElementLabel?.(!!s,f,{x:S.x,y:S.y,content:E});}));let Ge=null,nt=s=>{s?(Ge||(Ge=document.createElement("style"),Ge.setAttribute("data-react-grab-cursor",""),document.head.appendChild(Ge)),Ge.textContent=`* { cursor: ${s} !important; }`):Ge&&(Ge.remove(),Ge=null);};Q(ge(()=>[F(),K(),v(),le(),me()],([s,f,g,S,E])=>{nt(f?"progress":S?null:s&&g?"crosshair":s&&E?"default":s?"crosshair":null);}));let Ki=s=>{let f=Date.now(),g=r.keyHoldDuration;V(f);let S=()=>{let E=_();if(E===null)return;let D=(Date.now()-E)/g,X=1-Math.exp(-D);(K()?Math.min(X,.95):1)<1&&(qt=requestAnimationFrame(S));};S();},Wt=()=>{qt!==null&&(cancelAnimationFrame(qt),qt=null),V(null);},Ui=()=>{let s=()=>{if(!v()){_t();return}let f=Pr(h(),w());f.top&&window.scrollBy(0,-10),f.bottom&&window.scrollBy(0,10),f.left&&window.scrollBy(-10,0),f.right&&window.scrollBy(10,0),f.top||f.bottom||f.left||f.right?tt=requestAnimationFrame(s):tt=null;};s();},_t=()=>{tt!==null&&(cancelAnimationFrame(tt),tt=null);},rt=()=>{Wt(),Nt=document.activeElement,Xt=Date.now(),ee(true),r.onActivate?.();},Ee=()=>{ne(false),p(false),ee(false),Se(false),Je(""),Qe(false),et(false),kt(null),y("idle"),v()&&(A(false),document.body.style.userSelect=""),Pe&&window.clearTimeout(Pe),ke&&window.clearTimeout(ke),_t(),Wt(),Xt=null,Nt instanceof HTMLElement&&document.contains(Nt)&&Nt.focus(),Nt=null,r.onDeactivate?.();},Yi=r.agent?{...r.agent,onAbort:(s,f)=>{if(r.agent?.onAbort?.(s,f),f&&document.contains(f)){let g=f.getBoundingClientRect(),S=g.top+g.height/2;N(s.position.x),C(S),kt(f),Je(s.context.prompt),et(true),Se(true),ne(true),Qe(true),F()||rt();}}}:void 0,Re=_i(Yi),Xi=s=>{Je(s);},qi=()=>{let s=Pi()||me(),f=le()?Gt().trim():"";if(!s){Ee();return}let g=Le(s),S=h(),E=g.x+g.width/2,$=g.y+g.height/2;if(N(E),C($),Kt()&&f){Ee(),Re.startSession({element:s,prompt:f,position:{x:S,y:$},selectionBounds:g});return}Se(false),Je("");let D=je(s);He(s).then(X=>{At(E,$,()=>Dn(s,f||void 0),g,D,X??void 0,s).then(()=>{Ee();});});},Hn=()=>{le()&&Ee();},Wi=()=>{ne(true),Qe(true),et(true),Se(true);},Zi=async()=>{let s=Tt();if(s.length===0)return;let f=Ln(),g=Mn(),S=Fn(),E=Mr();Ut(false),Yt(),window.getSelection()?.removeAllRanges();let $=Ir();s.length===1?await At(f,g,()=>Dn(s[0]),S,E,$):await At(f,g,()=>zr(s),S,E,$);},Ji=()=>{if(Tt().length===0)return;let f=Fn(),g=f?f.x+f.width/2:Ln(),S=f?f.y+f.height/2:Mn();Ut(false),Yt(),window.getSelection()?.removeAllRanges(),N(g),C(S),ne(true),Qe(true),et(true),rt(),Se(true);},Ur=(s,f)=>{if(le()||Lr())return;N(s),C(f);let g=performance.now();if(g-k>=32&&(k=g,zl(()=>{let S=wr(s,f);P(S);})),v()){let S=Pr(s,f),E=S.top||S.bottom||S.left||S.right;E&&tt===null?Ui():!E&&tt!==null&&_t();}},Yr=(s,f)=>{if(!_e()||K())return false;A(true);let g=s+window.scrollX,S=f+window.scrollY;return M(g),q(S),document.body.style.userSelect="none",r.onDragStart?.(g,S),true},Xr=(s,f)=>{if(!v())return;let g=Vr(s,f),S=g.x>2||g.y>2;if(A(false),_t(),document.body.style.userSelect="",S){qe(true);let E=Kr(s,f),$=vi(E,St),D=$.length>0?$:Ci(E,St);if(D.length>0){r.onDragEnd?.(D,E);let X=D[0],Oe=X.getBoundingClientRect(),Ae={x:Oe.left,y:Oe.top,width:Oe.width,height:Oe.height,borderRadius:"0px",transform:wn(X)},Rt=je(X);if(Kt()){let ut=Ae.x+Ae.width/2,ss=Ae.y+Ae.height/2;N(ut),C(ss),kt(X),ne(true),Qe(true),et(true),Se(true);}else He(X).then(ut=>{At(s,f,()=>zr(D),Ae,Rt,ut??void 0,X);});}}else {let E=wr(s,f);if(!E)return;L(E);let $=Le(E),D=je(E);He(E).then(X=>{At(s,f,()=>Dn(E),$,D,X??void 0,E);});}},qr=new AbortController,we=qr.signal;window.addEventListener("keydown",s=>{if(le()||ze(s,"data-react-grab-ignore-events")){s.key==="Escape"&&Re.isProcessing()&&Re.abortAllSessions();return}if(s.key==="Escape"){if(Re.isProcessing()){Re.abortAllSessions();return}if(d()){Ee();return}}if(s.key==="Enter"&&d()&&!le()){s.preventDefault(),s.stopPropagation(),ne(true),Qe(true),et(true),ke!==null&&(window.clearTimeout(ke),ke=null),F()||(Pe&&window.clearTimeout(Pe),rt()),Se(true);return}if(s.key.toLowerCase()==="o"&&!le()&&F()&&(s.metaKey||s.ctrlKey)){let f=Nr(),g=_r();if(f)if(s.preventDefault(),s.stopPropagation(),r.onOpenFile)r.onOpenFile(f,g);else {let S=cn(f,g);window.open(S,"_blank");}return}if(!(!r.allowActivationInsideInput&&Co(s))&&!(!Ei(s,r)&&(F()&&!W()&&(s.metaKey||s.ctrlKey)&&!un.includes(s.key)&&s.key!=="Enter"&&Ee(),s.key!=="Enter"))){if((F()||d())&&!le()&&s.preventDefault(),F()){if(W()||s.repeat)return;ke!==null&&window.clearTimeout(ke),ke=window.setTimeout(()=>{Ee();},200);return}d()&&s.repeat||(Pe!==null&&window.clearTimeout(Pe),d()||p(true),Pe=window.setTimeout(()=>{rt();},r.keyHoldDuration));}},{signal:we,capture:true}),window.addEventListener("keyup",s=>{if(!d()&&!F()||le())return;let f=!!(r.activationShortcut||r.activationKey),S=(()=>{if(r.activationKey){let{metaKey:D,ctrlKey:X,shiftKey:Oe,altKey:Ae}=r.activationKey;return {metaKey:!!D,ctrlKey:!!X,shiftKey:!!Oe,altKey:!!Ae}}return {metaKey:true,ctrlKey:true,shiftKey:false,altKey:false}})(),E=S.metaKey||S.ctrlKey?!s.metaKey&&!s.ctrlKey:S.shiftKey&&!s.shiftKey||S.altKey&&!s.altKey,$=r.activationShortcut?!r.activationShortcut(s):r.activationKey?r.activationKey.key?s.key.toLowerCase()===r.activationKey.key.toLowerCase()||xr(r.activationKey.key,s.code):false:xn(s.key,s.code);if(F()){if(E){if(W())return;Ee();}else !f&&$&&ke!==null&&(window.clearTimeout(ke),ke=null);return}if($||E){if(W())return;Ee();}},{signal:we,capture:true}),window.addEventListener("mousemove",s=>{Rn(false),!ze(s,"data-react-grab-ignore-events")&&Ur(s.clientX,s.clientY);},{signal:we}),window.addEventListener("mousedown",s=>{if(ze(s,"data-react-grab-ignore-events"))return;if(le()){Hn();return}Yr(s.clientX,s.clientY)&&s.preventDefault();},{signal:we,capture:true}),window.addEventListener("pointerdown",s=>{!_e()||K()||le()||ze(s,"data-react-grab-ignore-events")||s.stopPropagation();},{signal:we,capture:true}),window.addEventListener("mouseup",s=>{Xr(s.clientX,s.clientY);},{signal:we}),window.addEventListener("touchmove",s=>{s.touches.length!==0&&(Rn(true),!ze(s,"data-react-grab-ignore-events")&&Ur(s.touches[0].clientX,s.touches[0].clientY));},{signal:we,passive:true}),window.addEventListener("touchstart",s=>{if(s.touches.length===0||(Rn(true),ze(s,"data-react-grab-ignore-events")))return;if(le()){Hn();return}Yr(s.touches[0].clientX,s.touches[0].clientY)&&s.preventDefault();},{signal:we,passive:false}),window.addEventListener("touchend",s=>{s.changedTouches.length!==0&&Xr(s.changedTouches[0].clientX,s.changedTouches[0].clientY);},{signal:we}),window.addEventListener("click",s=>{ze(s,"data-react-grab-ignore-events")||(_e()||K()||be())&&(s.preventDefault(),s.stopPropagation(),be()&&qe(false),W()&&!K()&&(d()?ne(false):Ee()));},{signal:we,capture:true}),document.addEventListener("visibilitychange",()=>{document.hidden&&(z([]),F()&&!le()&&Xt!==null&&Date.now()-Xt>500&&Ee());},{signal:we}),window.addEventListener("scroll",()=>{ye(s=>s+1);},{signal:we,capture:true}),window.addEventListener("resize",()=>{ye(s=>s+1);},{signal:we}),document.addEventListener("copy",s=>{le()||ze(s,"data-react-grab-ignore-events")||(_e()||K())&&s.preventDefault();},{signal:we,capture:true});let Zt=null;document.addEventListener("selectionchange",()=>{if(_e())return;Zt!==null&&window.clearTimeout(Zt),Ut(false);let s=window.getSelection();if(!s||s.isCollapsed||s.rangeCount===0){Yt();return}Zt=window.setTimeout(()=>{Zt=null;let f=window.getSelection();if(!f||f.isCollapsed||f.rangeCount===0)return;let g=f.getRangeAt(0),S=g.getBoundingClientRect();if(S.width===0&&S.height===0)return;let E=(()=>{if(!f.anchorNode||!f.focusNode)return false;let ut=f.anchorNode.compareDocumentPosition(f.focusNode);return ut&Node.DOCUMENT_POSITION_FOLLOWING?false:ut&Node.DOCUMENT_POSITION_PRECEDING?true:f.anchorOffset>f.focusOffset})(),$=g.getClientRects();if($.length===0)return;let D=E?$[0]:$[$.length-1],X=E?D.left:D.right,Oe=D.top+D.height/2;if(Eo(X,Oe)){Yt();return}On(X),In(Oe);let Ae=g.commonAncestorContainer,Rt=Ae.nodeType===Node.ELEMENT_NODE?Ae:Ae.parentElement;Rt&&St(Rt)?(Pn([Rt]),Ut(true)):Pn([]);},150);},{signal:we}),ve(()=>{qr.abort(),Pe&&window.clearTimeout(Pe),ke&&window.clearTimeout(ke),_t(),Wt(),document.body.style.userSelect="",nt(null);});let zn=ko(vo),Wr=ae(()=>l().selectionBox.enabled?_e()&&!v()&&!!me():false),Qi=ae(()=>{let s=me();if(s)return je(s)||void 0}),[es]=nn(()=>me(),async s=>s?await He(s)??void 0:void 0),ts=ae(()=>!l().elementLabel.enabled||j().length>0?false:_e()&&!v()&&!!me()),ns=ae(()=>(Ce(),m().map(s=>!s.element||!document.body.contains(s.element)?s:{...s,bounds:Le(s.element)}))),Zr=ae(()=>l().dragBox.enabled&&_e()&&Gr()),rs=ae(()=>K()?"processing":"hover"),os=ae(()=>!l().elementLabel.enabled||le()?false:K()?true:j().length>0?false:_e()&&!v()&&!!me()),Jr=ae(()=>l().crosshair.enabled&&_e()&&!v()&&!Mi()&&!Lr()),is=ae(()=>l().grabbedBoxes.enabled);return Q(ge(l,s=>{s.hue!==0?zn.style.filter=`hue-rotate(${s.hue}deg)`:zn.style.filter="";})),l().enabled&&wo(()=>O(Yo,{get selectionVisible(){return Wr()},get selectionBounds(){return jr()},get selectionFilePath(){return Nr()},get selectionLineNumber(){return _r()},get selectionTagName(){return Qi()},get selectionComponentName(){return es()},get selectionLabelVisible(){return ts()},get selectionLabelStatus(){return oe()},get labelInstances(){return ns()},get dragVisible(){return Zr()},get dragBounds(){return Ve()},get grabbedBoxes(){return he(()=>!!is())()?I():[]},labelZIndex:2147483647,get mouseX(){return Bn().x},get mouseY(){return Bn().y},get crosshairVisible(){return Jr()},get inputValue(){return Gt()},get isInputExpanded(){return Ii()},get hasAgent(){return Kt()},get agentSessions(){return Re.sessions()},onAbortSession:s=>Re.abortSession(s),onInputChange:Xi,onInputSubmit:()=>void qi(),onInputCancel:Hn,onToggleExpand:Wi,get nativeSelectionCursorVisible(){return Or()},get nativeSelectionCursorX(){return Ln()},get nativeSelectionCursorY(){return Mn()},get nativeSelectionTagName(){return Mr()},get nativeSelectionComponentName(){return Ir()},get nativeSelectionBounds(){return Fn()},onNativeSelectionCopy:()=>void Zi(),onNativeSelectionEnter:Ji,get theme(){return l()}}),zn),Kt()&&Re.tryResumeSessions(),{activate:()=>{F()||(ne(true),rt());},deactivate:()=>{F()&&Ee();},toggle:()=>{F()?Ee():(ne(true),rt());},isActive:()=>F(),dispose:()=>{kr=false,a();},copyElement:async s=>{let f=Array.isArray(s)?s:[s];if(f.length===0)return false;await r.onBeforeCopy?.(f);let g=await $n(f);return r.onAfterCopy?.(f,g),g},getState:()=>({isActive:F(),isDragging:v(),isCopying:K(),isInputMode:le(),targetElement:me(),dragBounds:Ve()?{x:Ve().x,y:Ve().y,width:Ve().width,height:Ve().height}:null}),updateTheme:s=>{let f=l(),g=Ti(f,s);c(g);},getTheme:()=>l(),setAgent:s=>{let f=Re.getOptions(),g={...f,...s,provider:s.provider??f?.provider,onAbort:(S,E)=>{if(s?.onAbort?.(S,E),E&&document.contains(E)){let $=E.getBoundingClientRect(),D=$.top+$.height/2;N(S.position.x),C(D),kt(E),Je(S.context.prompt),et(true),Se(true),ne(true),Qe(true),F()||rt();}}};Re.setOptions(g),Fi(!!g.provider);}}}))};var ct=null,Yf=()=>typeof window>"u"?ct:window.__REACT_GRAB__??ct??null,Xf=e=>{ct=e,typeof window<"u"&&(e?window.__REACT_GRAB__=e:delete window.__REACT_GRAB__);};typeof window<"u"&&(window.__REACT_GRAB__?ct=window.__REACT_GRAB__:(ct=Tr(),window.__REACT_GRAB__=ct,window.dispatchEvent(new CustomEvent("react-grab:init",{detail:ct}))));/*! Bundled license information:
44
44
 
45
- bippy/dist/rdt-hook-BE3UuUaz.js:
45
+ bippy/dist/rdt-hook-7WClMTWh.js:
46
46
  (**
47
47
  * @license bippy
48
48
  *
@@ -52,7 +52,7 @@ bippy/dist/rdt-hook-BE3UuUaz.js:
52
52
  * LICENSE file in the root directory of this source tree.
53
53
  *)
54
54
 
55
- bippy/dist/install-hook-only-_lLceJhv.js:
55
+ bippy/dist/core-CoV0JPOT.js:
56
56
  (**
57
57
  * @license bippy
58
58
  *
@@ -62,7 +62,7 @@ bippy/dist/install-hook-only-_lLceJhv.js:
62
62
  * LICENSE file in the root directory of this source tree.
63
63
  *)
64
64
 
65
- bippy/dist/core-_xno6DOO.js:
65
+ bippy/dist/source.js:
66
66
  (**
67
67
  * @license bippy
68
68
  *
@@ -72,7 +72,7 @@ bippy/dist/core-_xno6DOO.js:
72
72
  * LICENSE file in the root directory of this source tree.
73
73
  *)
74
74
 
75
- bippy/dist/src-C_DvVIY-.js:
75
+ bippy/dist/install-hook-only-CTBENLgG.js:
76
76
  (**
77
77
  * @license bippy
78
78
  *
@@ -91,14 +91,4 @@ bippy/dist/index.js:
91
91
  * This source code is licensed under the MIT license found in the
92
92
  * LICENSE file in the root directory of this source tree.
93
93
  *)
94
-
95
- bippy/dist/source.js:
96
- (**
97
- * @license bippy
98
- *
99
- * Copyright (c) Aiden Bai
100
- *
101
- * This source code is licensed under the MIT license found in the
102
- * LICENSE file in the root directory of this source tree.
103
- *)
104
- */exports.DEFAULT_THEME=_n;exports.formatElementInfo=Ct;exports.generateSnippet=On;exports.getGlobalApi=mm;exports.getStack=vt;exports.init=Nr;exports.isInstrumentationActive=Gt;exports.setGlobalApi=pm;return exports;})({});
94
+ */exports.DEFAULT_THEME=vn;exports.formatElementInfo=Ct;exports.generateSnippet=Tn;exports.getGlobalApi=Yf;exports.getStack=vt;exports.init=Tr;exports.isInstrumentationActive=xt;exports.setGlobalApi=Xf;return exports;})({});