react-grab 0.0.20 → 0.0.21

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.
package/dist/index.d.cts CHANGED
@@ -1,47 +1,2 @@
1
- interface StoreApi<T> {
2
- getInitialState(): T;
3
- getState(): T;
4
- setState(partialState: ((prevState: T) => T) | Partial<T>): T;
5
- subscribe(listener: Listener<T>): () => void;
6
- subscribe<U>(listener: Listener<U>, selector: (state: T) => unknown): () => void;
7
- }
8
- type Listener<T> = (state: T, prevState: T | undefined) => (() => unknown) | void;
9
1
 
10
- interface Adapter {
11
- name: string;
12
- open: (promptText: string) => void;
13
- }
14
- declare const cursorAdapter: Adapter;
15
-
16
- type Hotkey = KeyboardEvent["key"];
17
-
18
- interface Options {
19
- /**
20
- * adapter to open the prompt in an external tool
21
- */
22
- adapter?: Adapter;
23
- enabled?: boolean;
24
- /**
25
- * hotkey to trigger the overlay
26
- *
27
- * default: ["Meta", "C"] on macOS, ["Control", "C"] on Windows/Linux
28
- */
29
- hotkey?: Hotkey | Hotkey[];
30
- /**
31
- * time required (ms) to hold the key to trigger the overlay
32
- *
33
- * default: 500
34
- */
35
- keyHoldDuration?: number;
36
- }
37
- interface LibStore {
38
- keyPressTimestamps: Map<Hotkey, number>;
39
- mouseX: number;
40
- mouseY: number;
41
- overlayMode: "copying" | "hidden" | "visible";
42
- pressedKeys: Set<Hotkey>;
43
- }
44
- declare const libStore: StoreApi<LibStore>;
45
- declare const init: (options?: Options) => (() => void) | undefined;
46
-
47
- export { type Adapter, type Options, cursorAdapter, init, libStore };
2
+ export { }
package/dist/index.d.ts CHANGED
@@ -1,47 +1,2 @@
1
- interface StoreApi<T> {
2
- getInitialState(): T;
3
- getState(): T;
4
- setState(partialState: ((prevState: T) => T) | Partial<T>): T;
5
- subscribe(listener: Listener<T>): () => void;
6
- subscribe<U>(listener: Listener<U>, selector: (state: T) => unknown): () => void;
7
- }
8
- type Listener<T> = (state: T, prevState: T | undefined) => (() => unknown) | void;
9
1
 
10
- interface Adapter {
11
- name: string;
12
- open: (promptText: string) => void;
13
- }
14
- declare const cursorAdapter: Adapter;
15
-
16
- type Hotkey = KeyboardEvent["key"];
17
-
18
- interface Options {
19
- /**
20
- * adapter to open the prompt in an external tool
21
- */
22
- adapter?: Adapter;
23
- enabled?: boolean;
24
- /**
25
- * hotkey to trigger the overlay
26
- *
27
- * default: ["Meta", "C"] on macOS, ["Control", "C"] on Windows/Linux
28
- */
29
- hotkey?: Hotkey | Hotkey[];
30
- /**
31
- * time required (ms) to hold the key to trigger the overlay
32
- *
33
- * default: 500
34
- */
35
- keyHoldDuration?: number;
36
- }
37
- interface LibStore {
38
- keyPressTimestamps: Map<Hotkey, number>;
39
- mouseX: number;
40
- mouseY: number;
41
- overlayMode: "copying" | "hidden" | "visible";
42
- pressedKeys: Set<Hotkey>;
43
- }
44
- declare const libStore: StoreApi<LibStore>;
45
- declare const init: (options?: Options) => (() => void) | undefined;
46
-
47
- export { type Adapter, type Options, cursorAdapter, init, libStore };
2
+ export { }
@@ -1,4 +1,4 @@
1
- var ReactGrab=(function(exports){'use strict';/**
1
+ (function(){'use strict';/**
2
2
  * @license MIT
3
3
  *
4
4
  * Copyright (c) 2025 Aiden Bai
@@ -6,36 +6,92 @@ 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 be={name:"cursor",open:t=>{if(!t)return;let e=new URL("cursor://anysphere.cursor-deeplink/prompt");e.searchParams.set("text",t),window.open(e.toString(),"_blank");}};var Gt=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"],Ut=t=>!!t.tagName&&!t.tagName.startsWith("-")&&t.tagName.includes("-"),zt=t=>Array.isArray(t),Bt=(t,e=false)=>{let{composed:n,target:r}=t,l,i;if(r instanceof HTMLElement&&Ut(r)&&n){let s=t.composedPath()[0];s instanceof HTMLElement&&(l=s.tagName,i=s.role);}else r instanceof HTMLElement&&(l=r.tagName,i=r.role);return zt(e)?!!(l&&e&&e.some(o=>typeof l=="string"&&o.toLowerCase()===l.toLowerCase()||o===i)):!!(l&&e&&e)},Vt=t=>Bt(t,Gt),We=()=>{let t=l=>{Vt(l)||l.code!==void 0&&x.setState(i=>{let o=new Map(i.keyPressTimestamps);return i.pressedKeys.has(l.key)||o.set(l.key,Date.now()),{...i,keyPressTimestamps:o,pressedKeys:new Set([l.key,...i.pressedKeys])}});},e=l=>{l.code!==void 0&&x.setState(i=>{let o=new Map(i.keyPressTimestamps);return o.delete(l.key),{...i,keyPressTimestamps:o,pressedKeys:new Set([...i.pressedKeys].filter(s=>s!==l.key))}});},n=()=>{x.setState(l=>({...l,keyPressTimestamps:new Map,pressedKeys:new Set}));},r=()=>{x.setState(l=>({...l,keyPressTimestamps:new Map,pressedKeys:new Set}));};return document.addEventListener("keydown",t),document.addEventListener("keyup",e),window.addEventListener("blur",n),window.addEventListener("contextmenu",r),()=>{document.removeEventListener("keydown",t),document.removeEventListener("keyup",e),window.removeEventListener("blur",n),window.removeEventListener("contextmenu",r);}},Ce=t=>{let{pressedKeys:e}=x.getState();return t.length===1?e.has(t.toLowerCase())||e.has(t.toUpperCase()):e.has(t)},Ke=(t,e,n)=>{let r=null,l=null,i=Date.now(),o=()=>{r!==null&&(clearTimeout(r),r=null),l!==null&&(l(),l=null);},s=(y,g)=>y.length===1?g.has(y.toLowerCase())||g.has(y.toUpperCase()):g.has(y),c=y=>Array.isArray(t)?t.every(g=>s(g,y)):s(t,y),u=()=>{let y=x.getState(),{pressedKeys:g}=y;if(!c(g)){r!==null&&(clearTimeout(r),r=null);return}let p=Date.now()-i,a=e-p;if(a<=0){n(),o();return}r!==null&&clearTimeout(r),r=setTimeout(()=>{n(),o();},a);};return l=x.subscribe(()=>{u();},y=>y.pressedKeys),u(),o};var Qe="0.3.34",ce=`bippy-${Qe}`,Ye=Object.defineProperty,qt=Object.prototype.hasOwnProperty,ee=()=>{},Ze=t=>{try{Function.prototype.toString.call(t).indexOf("^_^")>-1&&setTimeout(()=>{throw new 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{}},Je=(t=q())=>"getFiberRoots"in t,et=false,Xe,we=(t=q())=>et?true:(typeof t.inject=="function"&&(Xe=t.inject.toString()),!!Xe?.includes("(injected)")),ae=new Set,Y=new Set,tt=t=>{let e=new Map,n=0,r={_instrumentationIsActive:false,_instrumentationSource:ce,checkDCE:Ze,hasUnsupportedRendererAttached:false,inject(l){let i=++n;return e.set(i,l),Y.add(l),r._instrumentationIsActive||(r._instrumentationIsActive=true,ae.forEach(o=>o())),i},on:ee,onCommitFiberRoot:ee,onCommitFiberUnmount:ee,onPostCommitFiberRoot:ee,renderers:e,supportsFiber:true,supportsFlight:true};try{Ye(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return r},set(o){if(o&&typeof o=="object"){let s=r.renderers;r=o,s.size>0&&(s.forEach((c,u)=>{Y.add(c),o.renderers.set(u,c);}),le(t));}}});let l=window.hasOwnProperty,i=!1;Ye(window,"hasOwnProperty",{configurable:!0,value:function(...o){try{if(!i&&o[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,i=!0,-0}catch{}return l.apply(this,o)},writable:!0});}catch{le(t);}return r},le=t=>{t&&ae.add(t);try{let e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!e)return;if(!e._instrumentationSource){let n=Je();if(e.checkDCE=Ze,e.supportsFiber=!0,e.supportsFlight=!0,e.hasUnsupportedRendererAttached=!1,e._instrumentationSource=ce,e._instrumentationIsActive=!1,n||(e.on=ee),e.renderers.size){e._instrumentationIsActive=!0,ae.forEach(l=>l());return}let r=e.inject;we(e)&&!n&&(et=!0,e.inject({scheduleRefresh(){}})&&(e._instrumentationIsActive=!0)),e.inject=l=>{let i=r(l);return Y.add(l),e._instrumentationIsActive=!0,ae.forEach(o=>o()),i};}(e.renderers.size||e._instrumentationIsActive||we())&&t?.();}catch{}},nt=()=>qt.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),q=t=>nt()?(le(t),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):tt(t),rt=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative")),ot=()=>{try{rt()&&q();}catch{}},ue=0,te=1;var de=5;var fe=11,Ee=13,it=14,pe=15,Te=16;var Le=19;var me=26,he=27,Me=28,Re=30;var Ae=t=>{switch(t.tag){case de:case me:case he:return true;default:return typeof t.type=="string"}},xe=t=>{switch(t.tag){case te:case fe:case ue:case it:case pe:return true;default:return false}};function Oe(t,e,n=false){return t&&e(t)instanceof Promise?Ne(t,e,n):Fe(t,e,n)}var Fe=(t,e,n=false)=>{if(!t)return null;if(e(t)===true)return t;let r=n?t.return:t.child;for(;r;){let l=Fe(r,e,n);if(l)return l;r=n?null:r.sibling;}return null},Ne=async(t,e,n=false)=>{if(!t)return null;if(await e(t)===true)return t;let r=n?t.return:t.child;for(;r;){let l=await Ne(r,e,n);if(l)return l;r=n?null:r.sibling;}return null};var X=t=>{let e=t;return typeof e=="function"?e:typeof e=="object"&&e?X(e.type||e.render):null},ge=t=>{let e=t;if(typeof e=="string")return e;if(typeof e!="function"&&!(typeof e=="object"&&e))return null;let n=e.displayName||e.name||null;if(n)return n;let r=X(e);return r&&(r.displayName||r.name)||null};var ke=t=>{let e=q(t.onActive);e._instrumentationSource=t.name??ce;let n=e.onCommitFiberRoot;if(t.onCommitFiberRoot){let i=(o,s,c)=>{e.onCommitFiberRoot===i&&(n?.(o,s,c),t.onCommitFiberRoot?.(o,s,c));};e.onCommitFiberRoot=i;}let r=e.onCommitFiberUnmount;if(t.onCommitFiberUnmount){let i=(o,s)=>{e.onCommitFiberUnmount===i&&(r?.(o,s),t.onCommitFiberUnmount?.(o,s));};e.onCommitFiberUnmount=i;}let l=e.onPostCommitFiberRoot;if(t.onPostCommitFiberRoot){let i=(o,s)=>{e.onPostCommitFiberRoot===i&&(l?.(o,s),t.onPostCommitFiberRoot?.(o,s));};e.onPostCommitFiberRoot=i;}return e},Ie=t=>{let e=q();for(let n of e.renderers.values())try{let r=n.findFiberByHostInstance?.(t);if(r)return r}catch{}if(typeof t=="object"&&t!=null){if("_reactRootContainer"in t)return t._reactRootContainer?._internalRoot?.current?.child;for(let n in t)if(n.startsWith("__reactContainer$")||n.startsWith("__reactInternalInstance$")||n.startsWith("__reactFiber"))return t[n]||null}return null},Pe=new Set;ot();var tn=Object.create,st=Object.defineProperty,nn=Object.getOwnPropertyDescriptor,at=Object.getOwnPropertyNames,rn=Object.getPrototypeOf,on=Object.prototype.hasOwnProperty,z=(t,e)=>function(){return e||(0, t[at(t)[0]])((e={exports:{}}).exports,e),e.exports},sn=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(var l=at(e),i=0,o=l.length,s;i<o;i++)s=l[i],!on.call(t,s)&&s!==n&&st(t,s,{get:(c=>e[c]).bind(null,s),enumerable:!(r=nn(e,s))||r.enumerable});return t},an=(t,e,n)=>(n=t!=null?tn(rn(t)):{},sn(st(n,"default",{value:t,enumerable:true}),t)),lt=/^\s*at .*(\S+:\d+|\(native\))/m,ln=/^(eval@)?(\[native code\])?$/;function cn(t,e){return t.match(lt)?un(t,e):dn(t,e)}function ct(t){if(!t.includes(":"))return [t,void 0,void 0];let n=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/[()]/g,""));return [n[1],n[2]||void 0,n[3]||void 0]}function ut(t,e){return e&&e.slice!=null?Array.isArray(e.slice)?t.slice(e.slice[0],e.slice[1]):t.slice(0,e.slice):t}function un(t,e){return ut(t.split(`
10
- `).filter(r=>!!r.match(lt)),e).map(r=>{r.includes("(eval ")&&(r=r.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let l=r.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),i=l.match(/ (\(.+\)$)/);l=i?l.replace(i[0],""):l;let o=ct(i?i[1]:l),s=i&&l||void 0,c=["eval","<anonymous>"].includes(o[0])?void 0:o[0];return {function:s,file:c,line:o[1]?+o[1]:void 0,col:o[2]?+o[2]:void 0,raw:r}})}function dn(t,e){return ut(t.split(`
11
- `).filter(r=>!r.match(ln)),e).map(r=>{if(r.includes(" > eval")&&(r=r.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!r.includes("@")&&!r.includes(":"))return {function:r};{let l=/(([^\n\r"\u2028\u2029]*".[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*(?:@[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*)*(?:[\n\r\u2028\u2029][^@]*)?)?[^@]*)@/,i=r.match(l),o=i&&i[1]?i[1]:void 0,s=ct(r.replace(l,""));return {function:o,file:s[0],line:s[1]?+s[1]:void 0,col:s[2]?+s[2]:void 0,raw:r}}})}var fn=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.js"(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(n){if(0<=n&&n<e.length)return e[n];throw new TypeError("Must be between 0 and 63: "+n)},t.decode=function(n){var r=65,l=90,i=97,o=122,s=48,c=57,u=43,y=47,g=26,p=52;return r<=n&&n<=l?n-r:i<=n&&n<=o?n-i+g:s<=n&&n<=c?n-s+p:n==u?62:n==y?63:-1};}}),dt=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.js"(t){var e=fn(),n=5,r=1<<n,l=r-1,i=r;function o(c){return c<0?(-c<<1)+1:(c<<1)+0}function s(c){var u=(c&1)===1,y=c>>1;return u?-y:y}t.encode=function(u){var y="",g,p=o(u);do g=p&l,p>>>=n,p>0&&(g|=i),y+=e.encode(g);while(p>0);return y},t.decode=function(u,y,g){var p=u.length,a=0,f=0,m,d;do{if(y>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(d=e.decode(u.charCodeAt(y++)),d===-1)throw new Error("Invalid base64 digit: "+u.charAt(y-1));m=!!(d&i),d&=l,a=a+(d<<f),f+=n;}while(m);g.value=s(a),g.rest=y;};}}),re=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.js"(t){function e(v,_,w){if(_ in v)return v[_];if(arguments.length===3)return w;throw new Error('"'+_+'" is a required argument.')}t.getArg=e;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function l(v){var _=v.match(n);return _?{scheme:_[1],auth:_[2],host:_[3],port:_[4],path:_[5]}:null}t.urlParse=l;function i(v){var _="";return v.scheme&&(_+=v.scheme+":"),_+="//",v.auth&&(_+=v.auth+"@"),v.host&&(_+=v.host),v.port&&(_+=":"+v.port),v.path&&(_+=v.path),_}t.urlGenerate=i;var o=32;function s(v){var _=[];return function(w){for(var b=0;b<_.length;b++)if(_[b].input===w){var I=_[0];return _[0]=_[b],_[b]=I,_[0].result}var A=v(w);return _.unshift({input:w,result:A}),_.length>o&&_.pop(),A}}var c=s(function(_){var w=_,b=l(_);if(b){if(!b.path)return _;w=b.path;}for(var I=t.isAbsolute(w),A=[],P=0,F=0;;)if(P=F,F=w.indexOf("/",P),F===-1){A.push(w.slice(P));break}else for(A.push(w.slice(P,F));F<w.length&&w[F]==="/";)F++;for(var D,j=0,F=A.length-1;F>=0;F--)D=A[F],D==="."?A.splice(F,1):D===".."?j++:j>0&&(D===""?(A.splice(F+1,j),j=0):(A.splice(F,2),j--));return w=A.join("/"),w===""&&(w=I?"/":"."),b?(b.path=w,i(b)):w});t.normalize=c;function u(v,_){v===""&&(v="."),_===""&&(_=".");var w=l(_),b=l(v);if(b&&(v=b.path||"/"),w&&!w.scheme)return b&&(w.scheme=b.scheme),i(w);if(w||_.match(r))return _;if(b&&!b.host&&!b.path)return b.host=_,i(b);var I=_.charAt(0)==="/"?_:c(v.replace(/\/+$/,"")+"/"+_);return b?(b.path=I,i(b)):I}t.join=u,t.isAbsolute=function(v){return v.charAt(0)==="/"||n.test(v)};function y(v,_){v===""&&(v="."),v=v.replace(/\/$/,"");for(var w=0;_.indexOf(v+"/")!==0;){var b=v.lastIndexOf("/");if(b<0||(v=v.slice(0,b),v.match(/^([^\/]+:\/)?\/*$/)))return _;++w;}return Array(w+1).join("../")+_.substr(v.length+1)}t.relative=y;var g=function(){var v=Object.create(null);return !("__proto__"in v)}();function p(v){return v}function a(v){return m(v)?"$"+v:v}t.toSetString=g?p:a;function f(v){return m(v)?v.slice(1):v}t.fromSetString=g?p:f;function m(v){if(!v)return false;var _=v.length;if(_<9||v.charCodeAt(_-1)!==95||v.charCodeAt(_-2)!==95||v.charCodeAt(_-3)!==111||v.charCodeAt(_-4)!==116||v.charCodeAt(_-5)!==111||v.charCodeAt(_-6)!==114||v.charCodeAt(_-7)!==112||v.charCodeAt(_-8)!==95||v.charCodeAt(_-9)!==95)return false;for(var w=_-10;w>=0;w--)if(v.charCodeAt(w)!==36)return false;return true}function d(v,_,w){var b=E(v.source,_.source);return b!==0||(b=v.originalLine-_.originalLine,b!==0)||(b=v.originalColumn-_.originalColumn,b!==0||w)||(b=v.generatedColumn-_.generatedColumn,b!==0)||(b=v.generatedLine-_.generatedLine,b!==0)?b:E(v.name,_.name)}t.compareByOriginalPositions=d;function h(v,_,w){var b;return b=v.originalLine-_.originalLine,b!==0||(b=v.originalColumn-_.originalColumn,b!==0||w)||(b=v.generatedColumn-_.generatedColumn,b!==0)||(b=v.generatedLine-_.generatedLine,b!==0)?b:E(v.name,_.name)}t.compareByOriginalPositionsNoSource=h;function S(v,_,w){var b=v.generatedLine-_.generatedLine;return b!==0||(b=v.generatedColumn-_.generatedColumn,b!==0||w)||(b=E(v.source,_.source),b!==0)||(b=v.originalLine-_.originalLine,b!==0)||(b=v.originalColumn-_.originalColumn,b!==0)?b:E(v.name,_.name)}t.compareByGeneratedPositionsDeflated=S;function C(v,_,w){var b=v.generatedColumn-_.generatedColumn;return b!==0||w||(b=E(v.source,_.source),b!==0)||(b=v.originalLine-_.originalLine,b!==0)||(b=v.originalColumn-_.originalColumn,b!==0)?b:E(v.name,_.name)}t.compareByGeneratedPositionsDeflatedNoLine=C;function E(v,_){return v===_?0:v===null?1:_===null?-1:v>_?1:-1}function T(v,_){var w=v.generatedLine-_.generatedLine;return w!==0||(w=v.generatedColumn-_.generatedColumn,w!==0)||(w=E(v.source,_.source),w!==0)||(w=v.originalLine-_.originalLine,w!==0)||(w=v.originalColumn-_.originalColumn,w!==0)?w:E(v.name,_.name)}t.compareByGeneratedPositionsInflated=T;function L(v){return JSON.parse(v.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=L;function M(v,_,w){if(_=_||"",v&&(v[v.length-1]!=="/"&&_[0]!=="/"&&(v+="/"),_=v+_),w){var b=l(w);if(!b)throw new Error("sourceMapURL could not be parsed");if(b.path){var I=b.path.lastIndexOf("/");I>=0&&(b.path=b.path.substring(0,I+1));}_=u(i(b),_);}return c(_)}t.computeSourceURL=M;}}),ft=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.js"(t){var e=re(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function l(){this._array=[],this._set=r?new Map:Object.create(null);}l.fromArray=function(o,s){for(var c=new l,u=0,y=o.length;u<y;u++)c.add(o[u],s);return c},l.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},l.prototype.add=function(o,s){var c=r?o:e.toSetString(o),u=r?this.has(o):n.call(this._set,c),y=this._array.length;(!u||s)&&this._array.push(o),u||(r?this._set.set(o,y):this._set[c]=y);},l.prototype.has=function(o){if(r)return this._set.has(o);var s=e.toSetString(o);return n.call(this._set,s)},l.prototype.indexOf=function(o){if(r){var s=this._set.get(o);if(s>=0)return s}else {var c=e.toSetString(o);if(n.call(this._set,c))return this._set[c]}throw new Error('"'+o+'" is not in the set.')},l.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},l.prototype.toArray=function(){return this._array.slice()},t.ArraySet=l;}}),pn=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.js"(t){var e=re();function n(l,i){var o=l.generatedLine,s=i.generatedLine,c=l.generatedColumn,u=i.generatedColumn;return s>o||s==o&&u>=c||e.compareByGeneratedPositionsInflated(l,i)<=0}function r(){this._array=[],this._sorted=true,this._last={generatedLine:-1,generatedColumn:0};}r.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o);},r.prototype.add=function(i){n(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=false,this._array.push(i));},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=true),this._array},t.MappingList=r;}}),pt=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.js"(t){var e=dt(),n=re(),r=ft().ArraySet,l=pn().MappingList;function i(o){o||(o={}),this._file=n.getArg(o,"file",null),this._sourceRoot=n.getArg(o,"sourceRoot",null),this._skipValidation=n.getArg(o,"skipValidation",false),this._ignoreInvalidMapping=n.getArg(o,"ignoreInvalidMapping",false),this._sources=new r,this._names=new r,this._mappings=new l,this._sourcesContents=null;}i.prototype._version=3,i.fromSourceMap=function(s,c){var u=s.sourceRoot,y=new i(Object.assign(c||{},{file:s.file,sourceRoot:u}));return s.eachMapping(function(g){var p={generated:{line:g.generatedLine,column:g.generatedColumn}};g.source!=null&&(p.source=g.source,u!=null&&(p.source=n.relative(u,p.source)),p.original={line:g.originalLine,column:g.originalColumn},g.name!=null&&(p.name=g.name)),y.addMapping(p);}),s.sources.forEach(function(g){var p=g;u!==null&&(p=n.relative(u,g)),y._sources.has(p)||y._sources.add(p);var a=s.sourceContentFor(g);a!=null&&y.setSourceContent(g,a);}),y},i.prototype.addMapping=function(s){var c=n.getArg(s,"generated"),u=n.getArg(s,"original",null),y=n.getArg(s,"source",null),g=n.getArg(s,"name",null);!this._skipValidation&&this._validateMapping(c,u,y,g)===false||(y!=null&&(y=String(y),this._sources.has(y)||this._sources.add(y)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:c.line,generatedColumn:c.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:y,name:g}));},i.prototype.setSourceContent=function(s,c){var u=s;this._sourceRoot!=null&&(u=n.relative(this._sourceRoot,u)),c!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(u)]=c):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null));},i.prototype.applySourceMap=function(s,c,u){var y=c;if(c==null){if(s.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);y=s.file;}var g=this._sourceRoot;g!=null&&(y=n.relative(g,y));var p=new r,a=new r;this._mappings.unsortedForEach(function(f){if(f.source===y&&f.originalLine!=null){var m=s.originalPositionFor({line:f.originalLine,column:f.originalColumn});m.source!=null&&(f.source=m.source,u!=null&&(f.source=n.join(u,f.source)),g!=null&&(f.source=n.relative(g,f.source)),f.originalLine=m.line,f.originalColumn=m.column,m.name!=null&&(f.name=m.name));}var d=f.source;d!=null&&!p.has(d)&&p.add(d);var h=f.name;h!=null&&!a.has(h)&&a.add(h);},this),this._sources=p,this._names=a,s.sources.forEach(function(f){var m=s.sourceContentFor(f);m!=null&&(u!=null&&(f=n.join(u,f)),g!=null&&(f=n.relative(g,f)),this.setSourceContent(f,m));},this);},i.prototype._validateMapping=function(s,c,u,y){if(c&&typeof c.line!="number"&&typeof c.column!="number"){var g="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(g),false;throw new Error(g)}if(!(s&&"line"in s&&"column"in s&&s.line>0&&s.column>=0&&!c&&!u&&!y)){if(s&&"line"in s&&"column"in s&&c&&"line"in c&&"column"in c&&s.line>0&&s.column>=0&&c.line>0&&c.column>=0&&u)return;var g="Invalid mapping: "+JSON.stringify({generated:s,source:u,original:c,name:y});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(g),false;throw new Error(g)}},i.prototype._serializeMappings=function(){for(var s=0,c=1,u=0,y=0,g=0,p=0,a="",f,m,d,h,S=this._mappings.toArray(),C=0,E=S.length;C<E;C++){if(m=S[C],f="",m.generatedLine!==c)for(s=0;m.generatedLine!==c;)f+=";",c++;else if(C>0){if(!n.compareByGeneratedPositionsInflated(m,S[C-1]))continue;f+=",";}f+=e.encode(m.generatedColumn-s),s=m.generatedColumn,m.source!=null&&(h=this._sources.indexOf(m.source),f+=e.encode(h-p),p=h,f+=e.encode(m.originalLine-1-y),y=m.originalLine-1,f+=e.encode(m.originalColumn-u),u=m.originalColumn,m.name!=null&&(d=this._names.indexOf(m.name),f+=e.encode(d-g),g=d)),a+=f;}return a},i.prototype._generateSourcesContent=function(s,c){return s.map(function(u){if(!this._sourcesContents)return null;c!=null&&(u=n.relative(c,u));var y=n.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,y)?this._sourcesContents[y]:null},this)},i.prototype.toJSON=function(){var s={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(s.file=this._file),this._sourceRoot!=null&&(s.sourceRoot=this._sourceRoot),this._sourcesContents&&(s.sourcesContent=this._generateSourcesContent(s.sources,s.sourceRoot)),s},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=i;}}),mn=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.js"(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(n,r,l,i,o,s){var c=Math.floor((r-n)/2)+n,u=o(l,i[c],true);return u===0?c:u>0?r-c>1?e(c,r,l,i,o,s):s==t.LEAST_UPPER_BOUND?r<i.length?r:-1:c:c-n>1?e(n,c,l,i,o,s):s==t.LEAST_UPPER_BOUND?c:n<0?-1:n}t.search=function(r,l,i,o){if(l.length===0)return -1;var s=e(-1,l.length,r,l,i,o||t.GREATEST_LOWER_BOUND);if(s<0)return -1;for(;s-1>=0&&i(l[s],l[s-1],true)===0;)--s;return s};}}),hn=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.js"(t){function e(l){function i(c,u,y){var g=c[u];c[u]=c[y],c[y]=g;}function o(c,u){return Math.round(c+Math.random()*(u-c))}function s(c,u,y,g){if(y<g){var p=o(y,g),a=y-1;i(c,p,g);for(var f=c[g],m=y;m<g;m++)u(c[m],f,false)<=0&&(a+=1,i(c,a,m));i(c,a+1,m);var d=a+1;s(c,u,y,d-1),s(c,u,d+1,g);}}return s}function n(l){let i=e.toString();return new Function(`return ${i}`)()(l)}let r=new WeakMap;t.quickSort=function(l,i,o=0){let s=r.get(i);s===void 0&&(s=n(i),r.set(i,s)),s(l,i,o,l.length-1);};}}),gn=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.js"(t){var e=re(),n=mn(),r=ft().ArraySet,l=dt(),i=hn().quickSort;function o(p,a){var f=p;return typeof p=="string"&&(f=e.parseSourceMapInput(p)),f.sections!=null?new g(f,a):new s(f,a)}o.fromSourceMap=function(p,a){return s.fromSourceMap(p,a)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(a,f){var m=a.charAt(f);return m===";"||m===","},o.prototype._parseMappings=function(a,f){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(a,f,m){var d=f||null,h=m||o.GENERATED_ORDER,S;switch(h){case o.GENERATED_ORDER:S=this._generatedMappings;break;case o.ORIGINAL_ORDER:S=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var C=this.sourceRoot,E=a.bind(d),T=this._names,L=this._sources,M=this._sourceMapURL,v=0,_=S.length;v<_;v++){var w=S[v],b=w.source===null?null:L.at(w.source);b!==null&&(b=e.computeSourceURL(C,b,M)),E({source:b,generatedLine:w.generatedLine,generatedColumn:w.generatedColumn,originalLine:w.originalLine,originalColumn:w.originalColumn,name:w.name===null?null:T.at(w.name)});}},o.prototype.allGeneratedPositionsFor=function(a){var f=e.getArg(a,"line"),m={source:e.getArg(a,"source"),originalLine:f,originalColumn:e.getArg(a,"column",0)};if(m.source=this._findSourceIndex(m.source),m.source<0)return [];var d=[],h=this._findMapping(m,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(h>=0){var S=this._originalMappings[h];if(a.column===void 0)for(var C=S.originalLine;S&&S.originalLine===C;)d.push({line:e.getArg(S,"generatedLine",null),column:e.getArg(S,"generatedColumn",null),lastColumn:e.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++h];else for(var E=S.originalColumn;S&&S.originalLine===f&&S.originalColumn==E;)d.push({line:e.getArg(S,"generatedLine",null),column:e.getArg(S,"generatedColumn",null),lastColumn:e.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++h];}return d},t.SourceMapConsumer=o;function s(p,a){var f=p;typeof p=="string"&&(f=e.parseSourceMapInput(p));var m=e.getArg(f,"version"),d=e.getArg(f,"sources"),h=e.getArg(f,"names",[]),S=e.getArg(f,"sourceRoot",null),C=e.getArg(f,"sourcesContent",null),E=e.getArg(f,"mappings"),T=e.getArg(f,"file",null);if(m!=this._version)throw new Error("Unsupported version: "+m);S&&(S=e.normalize(S)),d=d.map(String).map(e.normalize).map(function(L){return S&&e.isAbsolute(S)&&e.isAbsolute(L)?e.relative(S,L):L}),this._names=r.fromArray(h.map(String),true),this._sources=r.fromArray(d,true),this._absoluteSources=this._sources.toArray().map(function(L){return e.computeSourceURL(S,L,a)}),this.sourceRoot=S,this.sourcesContent=C,this._mappings=E,this._sourceMapURL=a,this.file=T;}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.prototype._findSourceIndex=function(p){var a=p;if(this.sourceRoot!=null&&(a=e.relative(this.sourceRoot,a)),this._sources.has(a))return this._sources.indexOf(a);var f;for(f=0;f<this._absoluteSources.length;++f)if(this._absoluteSources[f]==p)return f;return -1},s.fromSourceMap=function(a,f){var m=Object.create(s.prototype),d=m._names=r.fromArray(a._names.toArray(),true),h=m._sources=r.fromArray(a._sources.toArray(),true);m.sourceRoot=a._sourceRoot,m.sourcesContent=a._generateSourcesContent(m._sources.toArray(),m.sourceRoot),m.file=a._file,m._sourceMapURL=f,m._absoluteSources=m._sources.toArray().map(function(_){return e.computeSourceURL(m.sourceRoot,_,f)});for(var S=a._mappings.toArray().slice(),C=m.__generatedMappings=[],E=m.__originalMappings=[],T=0,L=S.length;T<L;T++){var M=S[T],v=new c;v.generatedLine=M.generatedLine,v.generatedColumn=M.generatedColumn,M.source&&(v.source=h.indexOf(M.source),v.originalLine=M.originalLine,v.originalColumn=M.originalColumn,M.name&&(v.name=d.indexOf(M.name)),E.push(v)),C.push(v);}return i(m.__originalMappings,e.compareByOriginalPositions),m},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null;}let u=e.compareByGeneratedPositionsDeflatedNoLine;function y(p,a){let f=p.length,m=p.length-a;if(!(m<=1))if(m==2){let d=p[a],h=p[a+1];u(d,h)>0&&(p[a]=h,p[a+1]=d);}else if(m<20)for(let d=a;d<f;d++)for(let h=d;h>a;h--){let S=p[h-1],C=p[h];if(u(S,C)<=0)break;p[h-1]=C,p[h]=S;}else i(p,u,a);}s.prototype._parseMappings=function(a,f){var m=1,d=0,h=0,S=0,C=0,E=0,T=a.length,L=0,v={},_=[],w=[],b,A,P,F;let D=0;for(;L<T;)if(a.charAt(L)===";")m++,L++,d=0,y(w,D),D=w.length;else if(a.charAt(L)===",")L++;else {for(b=new c,b.generatedLine=m,P=L;P<T&&!this._charIsMappingSeparator(a,P);P++);for(a.slice(L,P),A=[];L<P;)l.decode(a,L,v),F=v.value,L=v.rest,A.push(F);if(A.length===2)throw new Error("Found a source, but no line and column");if(A.length===3)throw new Error("Found a source and line, but no column");if(b.generatedColumn=d+A[0],d=b.generatedColumn,A.length>1&&(b.source=C+A[1],C+=A[1],b.originalLine=h+A[2],h=b.originalLine,b.originalLine+=1,b.originalColumn=S+A[3],S=b.originalColumn,A.length>4&&(b.name=E+A[4],E+=A[4])),w.push(b),typeof b.originalLine=="number"){let K=b.source;for(;_.length<=K;)_.push(null);_[K]===null&&(_[K]=[]),_[K].push(b);}}y(w,D),this.__generatedMappings=w;for(var j=0;j<_.length;j++)_[j]!=null&&i(_[j],e.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(..._);},s.prototype._findMapping=function(a,f,m,d,h,S){if(a[m]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+a[m]);if(a[d]<0)throw new TypeError("Column must be greater than or equal to 0, got "+a[d]);return n.search(a,f,h,S)},s.prototype.computeColumnSpans=function(){for(var a=0;a<this._generatedMappings.length;++a){var f=this._generatedMappings[a];if(a+1<this._generatedMappings.length){var m=this._generatedMappings[a+1];if(f.generatedLine===m.generatedLine){f.lastGeneratedColumn=m.generatedColumn-1;continue}}f.lastGeneratedColumn=1/0;}},s.prototype.originalPositionFor=function(a){var f={generatedLine:e.getArg(a,"line"),generatedColumn:e.getArg(a,"column")},m=this._findMapping(f,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(a,"bias",o.GREATEST_LOWER_BOUND));if(m>=0){var d=this._generatedMappings[m];if(d.generatedLine===f.generatedLine){var h=e.getArg(d,"source",null);h!==null&&(h=this._sources.at(h),h=e.computeSourceURL(this.sourceRoot,h,this._sourceMapURL));var S=e.getArg(d,"name",null);return S!==null&&(S=this._names.at(S)),{source:h,line:e.getArg(d,"originalLine",null),column:e.getArg(d,"originalColumn",null),name:S}}}return {source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(a){return a==null}):false},s.prototype.sourceContentFor=function(a,f){if(!this.sourcesContent)return null;var m=this._findSourceIndex(a);if(m>=0)return this.sourcesContent[m];var d=a;this.sourceRoot!=null&&(d=e.relative(this.sourceRoot,d));var h;if(this.sourceRoot!=null&&(h=e.urlParse(this.sourceRoot))){var S=d.replace(/^file:\/\//,"");if(h.scheme=="file"&&this._sources.has(S))return this.sourcesContent[this._sources.indexOf(S)];if((!h.path||h.path=="/")&&this._sources.has("/"+d))return this.sourcesContent[this._sources.indexOf("/"+d)]}if(f)return null;throw new Error('"'+d+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(a){var f=e.getArg(a,"source");if(f=this._findSourceIndex(f),f<0)return {line:null,column:null,lastColumn:null};var m={source:f,originalLine:e.getArg(a,"line"),originalColumn:e.getArg(a,"column")},d=this._findMapping(m,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(a,"bias",o.GREATEST_LOWER_BOUND));if(d>=0){var h=this._originalMappings[d];if(h.source===m.source)return {line:e.getArg(h,"generatedLine",null),column:e.getArg(h,"generatedColumn",null),lastColumn:e.getArg(h,"lastGeneratedColumn",null)}}return {line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=s;function g(p,a){var f=p;typeof p=="string"&&(f=e.parseSourceMapInput(p));var m=e.getArg(f,"version"),d=e.getArg(f,"sections");if(m!=this._version)throw new Error("Unsupported version: "+m);this._sources=new r,this._names=new r;var h={line:-1,column:0};this._sections=d.map(function(S){if(S.url)throw new Error("Support for url field in sections not implemented.");var C=e.getArg(S,"offset"),E=e.getArg(C,"line"),T=e.getArg(C,"column");if(E<h.line||E===h.line&&T<h.column)throw new Error("Section offsets must be ordered and non-overlapping.");return h=C,{generatedOffset:{generatedLine:E+1,generatedColumn:T+1},consumer:new o(e.getArg(S,"map"),a)}});}g.prototype=Object.create(o.prototype),g.prototype.constructor=o,g.prototype._version=3,Object.defineProperty(g.prototype,"sources",{get:function(){for(var p=[],a=0;a<this._sections.length;a++)for(var f=0;f<this._sections[a].consumer.sources.length;f++)p.push(this._sections[a].consumer.sources[f]);return p}}),g.prototype.originalPositionFor=function(a){var f={generatedLine:e.getArg(a,"line"),generatedColumn:e.getArg(a,"column")},m=n.search(f,this._sections,function(h,S){var C=h.generatedLine-S.generatedOffset.generatedLine;return C||h.generatedColumn-S.generatedOffset.generatedColumn}),d=this._sections[m];return d?d.consumer.originalPositionFor({line:f.generatedLine-(d.generatedOffset.generatedLine-1),column:f.generatedColumn-(d.generatedOffset.generatedLine===f.generatedLine?d.generatedOffset.generatedColumn-1:0),bias:a.bias}):{source:null,line:null,column:null,name:null}},g.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(a){return a.consumer.hasContentsOfAllSources()})},g.prototype.sourceContentFor=function(a,f){for(var m=0;m<this._sections.length;m++){var d=this._sections[m],h=d.consumer.sourceContentFor(a,true);if(h||h==="")return h}if(f)return null;throw new Error('"'+a+'" is not in the SourceMap.')},g.prototype.generatedPositionFor=function(a){for(var f=0;f<this._sections.length;f++){var m=this._sections[f];if(m.consumer._findSourceIndex(e.getArg(a,"source"))!==-1){var d=m.consumer.generatedPositionFor(a);if(d){var h={line:d.line+(m.generatedOffset.generatedLine-1),column:d.column+(m.generatedOffset.generatedLine===d.line?m.generatedOffset.generatedColumn-1:0)};return h}}}return {line:null,column:null}},g.prototype._parseMappings=function(a,f){this.__generatedMappings=[],this.__originalMappings=[];for(var m=0;m<this._sections.length;m++)for(var d=this._sections[m],h=d.consumer._generatedMappings,S=0;S<h.length;S++){var C=h[S],E=d.consumer._sources.at(C.source);E!==null&&(E=e.computeSourceURL(d.consumer.sourceRoot,E,this._sourceMapURL)),this._sources.add(E),E=this._sources.indexOf(E);var T=null;C.name&&(T=d.consumer._names.at(C.name),this._names.add(T),T=this._names.indexOf(T));var L={source:E,generatedLine:C.generatedLine+(d.generatedOffset.generatedLine-1),generatedColumn:C.generatedColumn+(d.generatedOffset.generatedLine===C.generatedLine?d.generatedOffset.generatedColumn-1:0),originalLine:C.originalLine,originalColumn:C.originalColumn,name:T};this.__generatedMappings.push(L),typeof L.originalLine=="number"&&this.__originalMappings.push(L);}i(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),i(this.__originalMappings,e.compareByOriginalPositions);},t.IndexedSourceMapConsumer=g;}}),yn=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.js"(t){var e=pt().SourceMapGenerator,n=re(),r=/(\r?\n)/,l=10,i="$$$isSourceNode$$$";function o(s,c,u,y,g){this.children=[],this.sourceContents={},this.line=s??null,this.column=c??null,this.source=u??null,this.name=g??null,this[i]=true,y!=null&&this.add(y);}o.fromStringWithSourceMap=function(c,u,y){var g=new o,p=c.split(r),a=0,f=function(){var C=T(),E=T()||"";return C+E;function T(){return a<p.length?p[a++]:void 0}},m=1,d=0,h=null;return u.eachMapping(function(C){if(h!==null)if(m<C.generatedLine)S(h,f()),m++,d=0;else {var E=p[a]||"",T=E.substr(0,C.generatedColumn-d);p[a]=E.substr(C.generatedColumn-d),d=C.generatedColumn,S(h,T),h=C;return}for(;m<C.generatedLine;)g.add(f()),m++;if(d<C.generatedColumn){var E=p[a]||"";g.add(E.substr(0,C.generatedColumn)),p[a]=E.substr(C.generatedColumn),d=C.generatedColumn;}h=C;},this),a<p.length&&(h&&S(h,f()),g.add(p.splice(a).join(""))),u.sources.forEach(function(C){var E=u.sourceContentFor(C);E!=null&&(y!=null&&(C=n.join(y,C)),g.setSourceContent(C,E));}),g;function S(C,E){if(C===null||C.source===void 0)g.add(E);else {var T=y?n.join(y,C.source):C.source;g.add(new o(C.originalLine,C.originalColumn,T,E,C.name));}}},o.prototype.add=function(c){if(Array.isArray(c))c.forEach(function(u){this.add(u);},this);else if(c[i]||typeof c=="string")c&&this.children.push(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this},o.prototype.prepend=function(c){if(Array.isArray(c))for(var u=c.length-1;u>=0;u--)this.prepend(c[u]);else if(c[i]||typeof c=="string")this.children.unshift(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this},o.prototype.walk=function(c){for(var u,y=0,g=this.children.length;y<g;y++)u=this.children[y],u[i]?u.walk(c):u!==""&&c(u,{source:this.source,line:this.line,column:this.column,name:this.name});},o.prototype.join=function(c){var u,y,g=this.children.length;if(g>0){for(u=[],y=0;y<g-1;y++)u.push(this.children[y]),u.push(c);u.push(this.children[y]),this.children=u;}return this},o.prototype.replaceRight=function(c,u){var y=this.children[this.children.length-1];return y[i]?y.replaceRight(c,u):typeof y=="string"?this.children[this.children.length-1]=y.replace(c,u):this.children.push("".replace(c,u)),this},o.prototype.setSourceContent=function(c,u){this.sourceContents[n.toSetString(c)]=u;},o.prototype.walkSourceContents=function(c){for(var u=0,y=this.children.length;u<y;u++)this.children[u][i]&&this.children[u].walkSourceContents(c);for(var g=Object.keys(this.sourceContents),u=0,y=g.length;u<y;u++)c(n.fromSetString(g[u]),this.sourceContents[g[u]]);},o.prototype.toString=function(){var c="";return this.walk(function(u){c+=u;}),c},o.prototype.toStringWithSourceMap=function(c){var u={code:"",line:1,column:0},y=new e(c),g=false,p=null,a=null,f=null,m=null;return this.walk(function(d,h){u.code+=d,h.source!==null&&h.line!==null&&h.column!==null?((p!==h.source||a!==h.line||f!==h.column||m!==h.name)&&y.addMapping({source:h.source,original:{line:h.line,column:h.column},generated:{line:u.line,column:u.column},name:h.name}),p=h.source,a=h.line,f=h.column,m=h.name,g=true):g&&(y.addMapping({generated:{line:u.line,column:u.column}}),p=null,g=false);for(var S=0,C=d.length;S<C;S++)d.charCodeAt(S)===l?(u.line++,u.column=0,S+1===C?(p=null,g=false):g&&y.addMapping({source:h.source,original:{line:h.line,column:h.column},generated:{line:u.line,column:u.column},name:h.name})):u.column++;}),this.walkSourceContents(function(d,h){y.setSourceContent(d,h);}),{code:u.code,map:y}},t.SourceNode=o;}}),vn=z({"../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.js"(t){t.SourceMapGenerator=pt().SourceMapGenerator,t.SourceMapConsumer=gn().SourceMapConsumer,t.SourceNode=yn().SourceNode;}}),_n=an(vn()),ye=false,V=t=>`
12
- in ${t}`,Sn=/^data:application\/json[^,]+base64,/,bn=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/,mt=async(t,e)=>{let n=e.split(`
13
- `),r;for(let s=n.length-1;s>=0&&!r;s--){let c=n[s].match(bn);c&&(r=c[1]||c[2]);}if(!r)return null;let l=/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(r);if(!(Sn.test(r)||l||r.startsWith("/"))){let s=t.split("/");s[s.length-1]=r,r=s.join("/");}let o=await(await fetch(r)).json();return new _n.SourceMapConsumer(o)},He=async(t,e)=>{let n=cn(t);if(!n.length)return [];let r=n.slice(0,e);return (await Promise.all(r.map(async({col:i=0,file:o,line:s})=>{if(!o||!s)return null;try{let c=await fetch(o);if(c.ok){let u=await c.text(),y=await mt(o,u);if(y){let g=y.originalPositionFor({column:i,line:s}),p=(g&&typeof g.source=="string"?g.source:void 0)||void 0;return {columnNumber:g?.column??i,fileName:(p||o).replace(/^file:\/\//,""),lineNumber:g?.line??s}}}return {columnNumber:i,fileName:o.replace(/^file:\/\//,""),lineNumber:s}}catch{return {columnNumber:i,fileName:o.replace(/^file:\/\//,""),lineNumber:s}}}))).filter(i=>i!==null)},ne=(t,e)=>{if(!t||ye)return "";let n=Error.prepareStackTrace;Error.prepareStackTrace=void 0,ye=true;let r=je();De(null);let l=console.error,i=console.warn;console.error=()=>{},console.warn=()=>{};try{let c={DetermineComponentFrameRoot(){let p;try{if(e){let a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[]);}catch(f){p=f;}Reflect.construct(t,[],a);}else {try{a.call();}catch(f){p=f;}t.call(a.prototype);}}else {try{throw Error()}catch(f){p=f;}let a=t();a&&typeof a.catch=="function"&&a.catch(()=>{});}}catch(a){if(a&&p&&typeof a.stack=="string")return [a.stack,p.stack]}return [null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot",Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name")?.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});let[y,g]=c.DetermineComponentFrameRoot();if(y&&g){let p=y.split(`
14
- `),a=g.split(`
15
- `),f=0,m=0;for(;f<p.length&&!p[f].includes("DetermineComponentFrameRoot");)f++;for(;m<a.length&&!a[m].includes("DetermineComponentFrameRoot");)m++;if(f===p.length||m===a.length)for(f=p.length-1,m=a.length-1;f>=1&&m>=0&&p[f]!==a[m];)m--;for(;f>=1&&m>=0;f--,m--)if(p[f]!==a[m]){if(f!==1||m!==1)do if(f--,m--,m<0||p[f]!==a[m]){let d=`
16
- ${p[f].replace(" at new "," at ")}`,h=ge(t);return h&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",h)),d}while(f>=1&&m>=0);break}}}finally{ye=false,Error.prepareStackTrace=n,De(r),console.error=l,console.warn=i;}let o=t?ge(t):"";return o?V(o):""},je=()=>{let t=q();for(let e of [...Array.from(Y),...Array.from(t.renderers.values())]){let n=e.currentDispatcherRef;if(n&&typeof n=="object")return "H"in n?n.H:n.current}return null},De=t=>{for(let e of Y){let n=e.currentDispatcherRef;n&&typeof n=="object"&&("H"in n?n.H=t:n.current=t);}},ht=t=>{let e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;let n=t.stack;if(!n)return "";Error.prepareStackTrace=e,n.startsWith(`Error: react-stack-top-frame
9
+ var Ft=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"],_t=e=>!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-"),Nt=e=>Array.isArray(e),Lt=(e,t=false)=>{let{composed:n,target:r}=e,i,s;if(r instanceof HTMLElement&&_t(r)&&n){let p=e.composedPath()[0];p instanceof HTMLElement&&(i=p.tagName,s=p.role);}else r instanceof HTMLElement&&(i=r.tagName,s=r.role);return Nt(t)?!!(i&&t&&t.some(a=>typeof i=="string"&&a.toLowerCase()===i.toLowerCase()||a===s)):!!(i&&t&&t)},ze=e=>Lt(e,Ft);var q="data-react-grab",Ge=()=>{let e=document.querySelector(`[${q}]`);if(e){let s=e.shadowRoot?.querySelector(`[${q}]`);if(s instanceof HTMLDivElement&&e.shadowRoot)return s}let t=document.createElement("div");t.setAttribute(q,"true"),t.style.zIndex="2147483646",t.style.position="fixed",t.style.top="0",t.style.left="0";let n=t.attachShadow({mode:"open"}),r=document.createElement("div");return r.setAttribute(q,"true"),n.appendChild(r),(document.body??document.documentElement).appendChild(t),r};var Ve=(e,t=window.getComputedStyle(e))=>t.display!=="none"&&t.visibility!=="hidden"&&t.opacity!=="0";var Ue=new Map,be=(e,...t)=>{let n=e.join(""),r=Ue.get(n);return r||(r=document.createElement("template"),r.innerHTML=e.reduce((i,s,a)=>i+s+(t[a]??""),""),Ue.set(n,r)),r.content.firstElementChild.cloneNode(true)},U=8,Ye=6,We=4,Ke=1500,qe=200,se=(e,t,n)=>e+(t-e)*n,ie=.95,Ot=({borderRadius:e,height:t,transform:n,width:r,x:i,y:s})=>be`
10
+ <div style="
11
+ position: fixed;
12
+ top: ${s}px;
13
+ left: ${i}px;
14
+ width: ${r}px;
15
+ height: ${t}px;
16
+ border-radius: ${e};
17
+ transform: ${n};
18
+ pointer-events: auto;
19
+ border: 1px solid rgb(210, 57, 192);
20
+ background-color: rgba(210, 57, 192, 0.2);
21
+ z-index: 2147483646;
22
+ box-sizing: border-box;
23
+ display: none;
24
+ "></div>
25
+ `,Mt=(e,{borderRadius:t,height:n,transform:r,width:i,x:s,y:a})=>{let p=parseFloat(e.style.top)||0,m=parseFloat(e.style.left)||0,u=parseFloat(e.style.width)||0,g=parseFloat(e.style.height)||0,F=`${se(p,a,ie)}px`,C=`${se(m,s,ie)}px`,b=`${se(u,i,ie)}px`,v=`${se(g,n,ie)}px`;e.style.top!==F&&(e.style.top=F),e.style.left!==C&&(e.style.left=C),e.style.width!==b&&(e.style.width=b),e.style.height!==v&&(e.style.height=v),e.style.borderRadius!==t&&(e.style.borderRadius=t),e.style.transform!==r&&(e.style.transform=r);},Xe=(e,t)=>{let n=Ot({borderRadius:"0px",height:0,transform:"none",width:0,x:-1e3,y:-1e3});e.appendChild(n);let r=false,i=false;return n.addEventListener("mousedown",s=>{s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation(),t&&t();},true),{element:n,hide:()=>{r=false,i=false,n.style.display="none";},isVisible:()=>r,show:()=>{r=true,n.style.display="block";},update:s=>{i?Mt(n,s):(n.style.top=`${s.y}px`,n.style.left=`${s.x}px`,n.style.width=`${s.width}px`,n.style.height=`${s.height}px`,n.style.borderRadius=s.borderRadius,n.style.transform=s.transform,i=true);}}},Ze=(e,t)=>{let n=document.createElement("div");n.style.position="fixed",n.style.top=`${t.y}px`,n.style.left=`${t.x}px`,n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.borderRadius=t.borderRadius,n.style.transform=t.transform,n.style.pointerEvents="none",n.style.border="1px solid rgb(210, 57, 192)",n.style.backgroundColor="rgba(210, 57, 192, 0.2)",n.style.zIndex="2147483646",n.style.boxSizing="border-box",n.style.transition="opacity 0.3s ease-out",n.style.opacity="1",e.appendChild(n),requestAnimationFrame(()=>{n.style.opacity="0";}),setTimeout(()=>{n.remove();},300);},kt=()=>{let e=be`
26
+ <span style="
27
+ display: inline-block;
28
+ width: 8px;
29
+ height: 8px;
30
+ border: 1.5px solid rgb(210, 57, 192);
31
+ border-top-color: transparent;
32
+ border-radius: 50%;
33
+ margin-right: 4px;
34
+ vertical-align: middle;
35
+ "></span>
36
+ `;return e.animate([{transform:"rotate(0deg)"},{transform:"rotate(360deg)"}],{duration:600,easing:"linear",iterations:1/0}),e},J=null,Qe=()=>be`
37
+ <div style="
38
+ position: fixed;
39
+ top: calc(8px + env(safe-area-inset-top));
40
+ padding: 2px 6px;
41
+ background-color: #fde7f7;
42
+ color: #b21c8e;
43
+ border: 1px solid #f7c5ec;
44
+ border-radius: 4px;
45
+ font-size: 11px;
46
+ font-weight: 500;
47
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
48
+ z-index: 2147483647;
49
+ pointer-events: none;
50
+ opacity: 0;
51
+ transition: opacity 0.2s ease-in-out;
52
+ display: flex;
53
+ align-items: center;
54
+ max-width: calc(100vw - (16px + env(safe-area-inset-left) + env(safe-area-inset-right)));
55
+ overflow: hidden;
56
+ text-overflow: ellipsis;
57
+ white-space: nowrap;
58
+ "></div>
59
+ `,Je=(e,t,n,r)=>{let i=J,s=false;if(i||(i=Qe(),e.appendChild(i),J=i,s=true,ge=false),!ge){let w=i.querySelector("span");if(w){let M=document.createElement("span");M.textContent=r?`<${r}>`:"<element>",M.style.fontFamily="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",M.style.fontVariantNumeric="tabular-nums",w.replaceChildren(M);}else {let M=document.createElement("span"),A=document.createElement("span");A.textContent=r?`<${r}>`:"<element>",A.style.fontFamily="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",A.style.fontVariantNumeric="tabular-nums",M.appendChild(A),i.appendChild(M);}}let a=i.getBoundingClientRect(),p=window.innerWidth,m=window.innerHeight,u=Math.round(t),g=Math.round(n)-a.height-Ye,F=We,C=U,b=U,v=p-a.width-U,E=m-a.height-U,f=u<C,h=g<b,y=f||h;u=Math.max(C,Math.min(u,v)),g=Math.max(b,Math.min(g,E)),y&&(u+=F,g+=F),i.style.left=`${u}px`,i.style.top=`${g}px`,i.style.right="auto",s?requestAnimationFrame(()=>{i.style.opacity="1";}):i.style.opacity!=="1"&&(i.style.opacity="1");},ge=false,ae=new Set,et=(e,t,n)=>{let r=Qe();r.style.zIndex="2147483648",e.appendChild(r),ae.add(r);let i=()=>{if(t===void 0||n===void 0)return;let p=r.getBoundingClientRect(),m=window.innerWidth,u=window.innerHeight,g=Math.round(t),F=Math.round(n)-p.height-Ye,C=We,b=U,v=U,E=m-p.width-U,f=u-p.height-U,h=g<b,y=F<v,w=h||y;g=Math.max(b,Math.min(g,E)),F=Math.max(v,Math.min(F,f)),w&&(g+=C,F+=C),r.style.left=`${g}px`,r.style.top=`${F}px`,r.style.right="auto";},s=kt(),a=document.createElement("span");return a.textContent="Grabbing\u2026",r.appendChild(s),r.appendChild(a),i(),requestAnimationFrame(()=>{r.style.opacity="1";}),p=>{r.textContent="";let m=document.createElement("span");m.textContent="\u2713",m.style.display="inline-block",m.style.marginRight="4px",m.style.fontWeight="600";let u=document.createElement("span"),g=document.createElement("span");g.textContent=p?`<${p}>`:"<element>",g.style.fontFamily="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",g.style.fontVariantNumeric="tabular-nums",u.appendChild(document.createTextNode("Grabbed ")),u.appendChild(g),r.appendChild(m),r.appendChild(u),requestAnimationFrame(()=>{i();}),setTimeout(()=>{r.style.opacity="0",setTimeout(()=>{r.remove(),ae.delete(r);},qe);},Ke);}},le=()=>{J&&(J.remove(),J=null),ge=false;},ye=()=>{for(let e of ae)e.remove();ae.clear();};var rt="0.5.14",te=`bippy-${rt}`,tt=Object.defineProperty,At=Object.prototype.hasOwnProperty,ee=()=>{},ot=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{}},Te=(e=G())=>"getFiberRoots"in e,st=false,nt,ue=(e=G())=>st?true:(typeof e.inject=="function"&&(nt=e.inject.toString()),!!nt?.includes("(injected)")),ce=new Set,W=new Set,it=e=>{let t=new Map,n=0,r={_instrumentationIsActive:false,_instrumentationSource:te,checkDCE:ot,hasUnsupportedRendererAttached:false,inject(i){let s=++n;return t.set(s,i),W.add(i),r._instrumentationIsActive||(r._instrumentationIsActive=true,ce.forEach(a=>a())),s},on:ee,onCommitFiberRoot:ee,onCommitFiberUnmount:ee,onPostCommitFiberRoot:ee,renderers:t,supportsFiber:true,supportsFlight:true};try{tt(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return r},set(a){if(a&&typeof a=="object"){let p=r.renderers;r=a,p.size>0&&(p.forEach((m,u)=>{W.add(m),a.renderers.set(u,m);}),de(e));}}});let i=window.hasOwnProperty,s=!1;tt(window,"hasOwnProperty",{configurable:!0,value:function(...a){try{if(!s&&a[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,s=!0,-0}catch{}return i.apply(this,a)},writable:!0});}catch{de(e);}return r},de=e=>{e&&ce.add(e);try{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t)return;if(!t._instrumentationSource){t.checkDCE=ot,t.supportsFiber=!0,t.supportsFlight=!0,t.hasUnsupportedRendererAttached=!1,t._instrumentationSource=te,t._instrumentationIsActive=!1;let n=Te(t);if(n||(t.on=ee),t.renderers.size){t._instrumentationIsActive=!0,ce.forEach(s=>s());return}let r=t.inject,i=ue(t);i&&!n&&(st=!0,t.inject({scheduleRefresh(){}})&&(t._instrumentationIsActive=!0)),t.inject=s=>{let a=r(s);return W.add(s),i&&t.renderers.set(a,s),t._instrumentationIsActive=!0,ce.forEach(p=>p()),a};}(t.renderers.size||t._instrumentationIsActive||ue())&&e?.();}catch{}},ve=()=>At.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),G=e=>ve()?(de(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):it(e),at=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative")),Ce=()=>{try{at()&&G();}catch{}};Ce();var we=0,Ee=1;var Se=5;var Re=11,xe=13;var Fe=15,_e=16;var Ne=19;var Le=26,Oe=27,Me=28,ke=30;var Ae=e=>{let t=e;return typeof t=="function"?t:typeof t=="object"&&t?Ae(t.type||t.render):null},me=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=Ae(t);return r&&(r.displayName||r.name)||null};var Ie=e=>{let t=G(e.onActive);t._instrumentationSource=e.name??te;let n=t.onCommitFiberRoot;if(e.onCommitFiberRoot){let s=(a,p,m)=>{n!==s&&(n?.(a,p,m),e.onCommitFiberRoot?.(a,p,m));};t.onCommitFiberRoot=s;}let r=t.onCommitFiberUnmount;if(e.onCommitFiberUnmount){let s=(a,p)=>{t.onCommitFiberUnmount===s&&(r?.(a,p),e.onCommitFiberUnmount?.(a,p));};t.onCommitFiberUnmount=s;}let i=t.onPostCommitFiberRoot;if(e.onPostCommitFiberRoot){let s=(a,p)=>{t.onPostCommitFiberRoot===s&&(i?.(a,p),e.onPostCommitFiberRoot?.(a,p));};t.onPostCommitFiberRoot=s;}return t},pe=e=>{let t=G();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},$e=new Set;var Wt=Object.create,pt=Object.defineProperty,Kt=Object.getOwnPropertyDescriptor,qt=Object.getOwnPropertyNames,Xt=Object.getPrototypeOf,Zt=Object.prototype.hasOwnProperty,Qt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Jt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=qt(t),s=0,a=i.length,p;s<a;s++)p=i[s],!Zt.call(e,p)&&p!==n&&pt(e,p,{get:(m=>t[m]).bind(null,p),enumerable:!(r=Kt(t,p))||r.enumerable});return e},en=(e,t,n)=>(n=e==null?{}:Wt(Xt(e)),Jt(pt(n,"default",{value:e,enumerable:true}),e)),tn=()=>{let e=G();for(let t of [...Array.from(W),...Array.from(e.renderers.values())]){let n=t.currentDispatcherRef;if(n&&typeof n=="object")return "H"in n?n.H:n.current}return null},lt=e=>{for(let t of W){let n=t.currentDispatcherRef;n&&typeof n=="object"&&("H"in n?n.H=e:n.current=e);}},V=e=>`
60
+ in ${e}`,nn=(e,t)=>{let n=V(e);return t&&(n+=` (at ${t})`),n},He=false,De=(e,t)=>{if(!e||He)return "";let n=Error.prepareStackTrace;Error.prepareStackTrace=void 0,He=true;let r=tn();lt(null);let i=console.error,s=console.warn;console.error=()=>{},console.warn=()=>{};try{let m={DetermineComponentFrameRoot(){let C;try{if(t){let b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[]);}catch(v){C=v;}Reflect.construct(e,[],b);}else {try{b.call();}catch(v){C=v;}e.call(b.prototype);}}else {try{throw Error()}catch(v){C=v;}let b=e();b&&typeof b.catch=="function"&&b.catch(()=>{});}}catch(b){if(b instanceof Error&&C instanceof Error&&typeof b.stack=="string")return [b.stack,C.stack]}return [null,null]}};m.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot",Object.getOwnPropertyDescriptor(m.DetermineComponentFrameRoot,"name")?.configurable&&Object.defineProperty(m.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});let[g,F]=m.DetermineComponentFrameRoot();if(g&&F){let C=g.split(`
61
+ `),b=F.split(`
62
+ `),v=0,E=0;for(;v<C.length&&!C[v].includes("DetermineComponentFrameRoot");)v++;for(;E<b.length&&!b[E].includes("DetermineComponentFrameRoot");)E++;if(v===C.length||E===b.length)for(v=C.length-1,E=b.length-1;v>=1&&E>=0&&C[v]!==b[E];)E--;for(;v>=1&&E>=0;v--,E--)if(C[v]!==b[E]){if(v!==1||E!==1)do if(v--,E--,E<0||C[v]!==b[E]){let f=`
63
+ ${C[v].replace(" at new "," at ")}`,h=me(e);return h&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",h)),f}while(v>=1&&E>=0);break}}}finally{He=false,Error.prepareStackTrace=n,lt(r),console.error=i,console.warn=s;}let a=e?me(e):"";return a?V(a):""},rn=(e,t)=>{let n=e.tag,r="";switch(n){case Me:r=V("Activity");break;case Ee:r=De(e.type,true);break;case Re:r=De(e.type.render,false);break;case we:case Fe:r=De(e.type,false);break;case Se:case Le:case Oe:r=V(e.type);break;case _e:r=V("Lazy");break;case xe:r=e.child!==t&&t!==null?V("Suspense Fallback"):V("Suspense");break;case Ne:r=V("SuspenseList");break;case ke:r=V("ViewTransition");break;default:return ""}return r},on=e=>{try{let t="",n=e,r=null;do{t+=rn(n,r);let i=n._debugInfo;if(i&&Array.isArray(i))for(let s=i.length-1;s>=0;s--){let a=i[s];typeof a.name=="string"&&(t+=nn(a.name,a.env));}r=n,n=n.return;}while(n);return t}catch(t){return t instanceof Error?`
64
+ Error generating stack: ${t.message}
65
+ ${t.stack}`:""}},sn=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
66
  `)&&(n=n.slice(29));let r=n.indexOf(`
18
67
  `);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},gt=t=>{let e=t._debugStack;if(e instanceof Error&&typeof e?.stack=="string"){let i=ht(e);if(i)return i}if(!je())return null;let r=Ae(t)?X(Oe(t,i=>{if(xe(i))return true},true)?.type):X(t.type);return !r||ye?null:ne(r,t.tag===te)},$e=async t=>{let e=t._debugSource;if(e){let{fileName:n,lineNumber:r}=e;return {columnNumber:"columnNumber"in e&&typeof e.columnNumber=="number"?e.columnNumber:0,fileName:n,lineNumber:r}}try{let n=gt(t);if(n)return (await He(n,1))[0]||null}catch{}return null},yt=(t,e)=>{switch(t.tag){case Me:return V("Activity");case te:return ne(t.type,true);case fe:return ne(t.type.render,false);case ue:case pe:return ne(t.type,false);case de:case me:case he:return V(t.type);case Te:return V("Lazy");case Ee:return t.child!==e&&e!==null?V("Suspense Fallback"):V("Suspense");case Le:return V("SuspenseList");case Re:return V("ViewTransition");default:return ""}},vt=(t,e,n)=>{let r=`
20
- in ${t}`;return e&&(r+=` (at ${e})`),r},Ge=t=>{try{let e="",n=t,r=null;do{e+=yt(n,r);let l=n._debugInfo;if(l&&Array.isArray(l))for(let i=l.length-1;i>=0;i--){let o=l[i];typeof o.name=="string"&&(e+=vt(o.name,o.env,o.debugLocation));}r=n,n=n.return;}while(n);return e}catch(e){return e instanceof Error?`
21
- Error generating stack: ${e.message}
22
- ${e.stack}`:""}},_t=t=>t.length?t[0]===t[0].toUpperCase():false,Ue=async t=>{let e=/\n\s+(?:in|at)\s+([^\s(]+)(?:\s+\((?:at\s+)?([^)]+)\))?/g,n=[],r;for(r=e.exec(t);r!==null;){let l=r[1],i=r[2];if(!_t(l)){r=e.exec(t),n.push({name:l,source:void 0});continue}let o;if(i&&i!=="Server")try{let s=` at ${l} (${i})`,c=await He(s,1);c.length>0&&(o=c[0]);}catch{}n.push({name:l,source:o||void 0}),r=e.exec(t);}return n};var Cn=Pe;ke({onCommitFiberRoot(t,e){Cn.add(e);}});var St=t=>{if(!t)return t;let e=t.split("/");for(let n=0;n<e.length/2;n++)for(let r=1;r<=e.length-n;r++){let l=e.slice(n,n+r),i=n+r,o=e.slice(i,i+r);if(l.length>2&&l.length===o.length&&l.every((s,c)=>s===o[c]))return e.slice(i).join("/")}return t},bt=async t=>{let e=Ie(t);if(!e)return null;let n=Ge(e),l=(await Ue(n)).map(i=>({componentName:i.name,fileName:St(i.source?.fileName)}));if(l.length>0&&e){let i=await $e(e);if(i){let o=e.type,s=o?.displayName??o?.name??l[0].componentName;l[0].displayName=s;let c=St(i.fileName);l[0].source=`${c}:${i.lineNumber}:${i.columnNumber}`;}}return l},Ct=t=>t.filter(e=>e.fileName&&!e.fileName.includes("node_modules")&&e.componentName.length>1&&!e.fileName.startsWith("_")),wt=t=>t.map((e,n)=>{let r=e.fileName,i=`${e.displayName||e.componentName}${r?` (${r})`:""}`;return n===0&&e.source&&(i+=`
23
- ${e.source}`),i}).join(`
24
- `),Et=t=>{let e=new Set(["article","aside","footer","form","header","main","nav","section"]),n=d=>{let h=d.tagName.toLowerCase();if(e.has(h)||d.id)return true;if(d.className&&typeof d.className=="string"){let S=d.className.trim();if(S&&S.length>0)return true}return Array.from(d.attributes).some(S=>S.name.startsWith("data-"))},r=(d,h=10)=>{let S=[],C=d.parentElement,E=0;for(;C&&E<h&&C.tagName!=="BODY"&&!(n(C)&&(S.push(C),S.length>=3));)C=C.parentElement,E++;return S.reverse()},l=d=>{let h=[],S=d,C=0,E=5;for(;S&&C<E&&S.tagName!=="BODY";){let T=S.tagName.toLowerCase();if(S.id){T+=`#${S.id}`,h.unshift(T);break}else if(S.className&&typeof S.className=="string"&&S.className.trim()){let L=S.className.trim().split(/\s+/).slice(0,2);T+=`.${L.join(".")}`;}if(!S.id&&(!S.className||!S.className.trim())&&S.parentElement){let L=Array.from(S.parentElement.children),M=L.indexOf(S);M>=0&&L.length>1&&(T+=`:nth-child(${M+1})`);}h.unshift(T),S=S.parentElement,C++;}return h.join(" > ")},i=(d,h=false)=>{let S=d.tagName.toLowerCase(),C=[];if(d.id&&C.push(`id="${d.id}"`),d.className&&typeof d.className=="string"){let M=d.className.trim().split(/\s+/);if(M.length>0&&M[0]){let _=(h?M.slice(0,3):M).join(" ");_.length>30&&(_=_.substring(0,30)+"..."),C.push(`class="${_}"`);}}let E=Array.from(d.attributes).filter(M=>M.name.startsWith("data-")),T=h?E.slice(0,1):E;for(let M of T){let v=M.value;v.length>20&&(v=v.substring(0,20)+"..."),C.push(`${M.name}="${v}"`);}let L=d.getAttribute("aria-label");if(L&&!h){let M=L;M.length>20&&(M=M.substring(0,20)+"..."),C.push(`aria-label="${M}"`);}return C.length>0?`<${S} ${C.join(" ")}>`:`<${S}>`},o=d=>`</${d.tagName.toLowerCase()}>`,s=d=>{let h=d.textContent||"";h=h.trim().replace(/\s+/g," ");let S=60;return h.length>S&&(h=h.substring(0,S)+"..."),h},c=d=>{if(d.id)return `#${d.id}`;if(d.className&&typeof d.className=="string"){let h=d.className.trim().split(/\s+/);if(h.length>0&&h[0])return `.${h[0]}`}return null},u=[];u.push(`Path: ${l(t)}`),u.push("");let y=r(t);for(let d=0;d<y.length;d++){let h=" ".repeat(d);u.push(h+i(y[d],true));}let g=t.parentElement,p=-1;if(g){let d=Array.from(g.children);if(p=d.indexOf(t),p>0){let h=d[p-1];if(c(h)&&p<=2){let C=" ".repeat(y.length);u.push(`${C} ${i(h,true)}`),u.push(`${C} </${h.tagName.toLowerCase()}>`);}else if(p>0){let C=" ".repeat(y.length);u.push(`${C} ... (${p} element${p===1?"":"s"})`);}}}let a=" ".repeat(y.length);u.push(a+" <!-- SELECTED -->");let f=s(t),m=t.children.length;if(f&&m===0&&f.length<40?u.push(`${a} ${i(t)}${f}${o(t)}`):(u.push(a+" "+i(t)),f&&u.push(`${a} ${f}`),m>0&&u.push(`${a} ... (${m} element${m===1?"":"s"})`),u.push(a+" "+o(t))),g&&p>=0){let d=Array.from(g.children),h=d.length-p-1;if(h>0){let S=d[p+1];c(S)&&h<=2?(u.push(`${a} ${i(S,true)}`),u.push(`${a} </${S.tagName.toLowerCase()}>`)):u.push(`${a} ... (${h} element${h===1?"":"s"})`);}}for(let d=y.length-1;d>=0;d--){let h=" ".repeat(d);u.push(h+o(y[d]));}return u.join(`
25
- `)};var W=8,Tt=6,Lt=4,Mt=1500,Rt=200,ve=(t,e,n)=>t+(e-t)*n,_e=.95,wn=({borderRadius:t,height:e,transform:n,width:r,x:l,y:i})=>{let o=document.createElement("div");return o.style.position="fixed",o.style.top=`${i}px`,o.style.left=`${l}px`,o.style.width=`${r}px`,o.style.height=`${e}px`,o.style.borderRadius=t,o.style.transform=n,o.style.pointerEvents="none",o.style.border="1px solid rgb(210, 57, 192)",o.style.backgroundColor="rgba(210, 57, 192, 0.2)",o.style.zIndex="2147483646",o.style.boxSizing="border-box",o.style.display="none",o},En=(t,{borderRadius:e,height:n,transform:r,width:l,x:i,y:o})=>{let s=parseFloat(t.style.top)||0,c=parseFloat(t.style.left)||0,u=parseFloat(t.style.width)||0,y=parseFloat(t.style.height)||0,g=`${ve(s,o,_e)}px`,p=`${ve(c,i,_e)}px`,a=`${ve(u,l,_e)}px`,f=`${ve(y,n,_e)}px`;t.style.top!==g&&(t.style.top=g),t.style.left!==p&&(t.style.left=p),t.style.width!==a&&(t.style.width=a),t.style.height!==f&&(t.style.height=f),t.style.borderRadius!==e&&(t.style.borderRadius=e),t.style.transform!==r&&(t.style.transform=r);},At=t=>{let e=wn({borderRadius:"0px",height:0,transform:"none",width:0,x:-1e3,y:-1e3});t.appendChild(e);let n=false;return e.addEventListener("mousedown",r=>{r.preventDefault(),r.stopPropagation(),r.stopImmediatePropagation();let{overlayMode:l}=x.getState();l==="visible"&&x.setState(i=>({...i,overlayMode:"copying"}));},true),{element:e,hide:()=>{n=false,e.style.display="none";},isVisible:()=>n,show:()=>{n=true,e.style.display="block";},update:r=>{En(e,r);}}},xt=(t,e)=>{let n=document.createElement("div");n.style.position="fixed",n.style.top=`${e.y}px`,n.style.left=`${e.x}px`,n.style.width=`${e.width}px`,n.style.height=`${e.height}px`,n.style.borderRadius=e.borderRadius,n.style.transform=e.transform,n.style.pointerEvents="none",n.style.border="1px solid rgb(210, 57, 192)",n.style.backgroundColor="rgba(210, 57, 192, 0.2)",n.style.zIndex="2147483646",n.style.boxSizing="border-box",n.style.transition="opacity 0.3s ease-out",n.style.opacity="1",t.appendChild(n),requestAnimationFrame(()=>{n.style.opacity="0";}),setTimeout(()=>{n.remove();},300);},Tn=()=>{let t=document.createElement("span");return t.style.display="inline-block",t.style.width="8px",t.style.height="8px",t.style.border="1.5px solid rgb(210, 57, 192)",t.style.borderTopColor="transparent",t.style.borderRadius="50%",t.style.marginRight="4px",t.style.verticalAlign="middle",t.animate([{transform:"rotate(0deg)"},{transform:"rotate(360deg)"}],{duration:600,easing:"linear",iterations:1/0}),t},oe=null,Ot=()=>{let t=document.createElement("div");return t.style.position="fixed",t.style.top="calc(8px + env(safe-area-inset-top))",t.style.padding="2px 6px",t.style.backgroundColor="#fde7f7",t.style.color="#b21c8e",t.style.border="1px solid #f7c5ec",t.style.borderRadius="4px",t.style.fontSize="11px",t.style.fontWeight="500",t.style.fontFamily="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",t.style.zIndex="2147483647",t.style.pointerEvents="none",t.style.opacity="0",t.style.transition="opacity 0.2s ease-in-out",t.style.display="flex",t.style.alignItems="center",t.style.maxWidth="calc(100vw - (16px + env(safe-area-inset-left) + env(safe-area-inset-right)))",t.style.overflow="hidden",t.style.textOverflow="ellipsis",t.style.whiteSpace="nowrap",t},Ft=(t,e,n,r)=>{let l=oe,i=false;if(l||(l=Ot(),t.appendChild(l),oe=l,i=true,ze=false),!ze){let C=l.querySelector("span");if(C){let E=document.createElement("span");E.textContent=r?`<${r}>`:"<element>",E.style.fontFamily="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",E.style.fontVariantNumeric="tabular-nums",C.replaceChildren(E);}else {let E=document.createElement("span"),T=document.createElement("span");T.textContent=r?`<${r}>`:"<element>",T.style.fontFamily="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",T.style.fontVariantNumeric="tabular-nums",E.appendChild(T),l.appendChild(E);}}let o=l.getBoundingClientRect(),s=window.innerWidth,c=window.innerHeight,u=Math.round(e),y=Math.round(n)-o.height-Tt,g=Lt,p=W,a=W,f=s-o.width-W,m=c-o.height-W,d=u<p,h=y<a,S=d||h;u=Math.max(p,Math.min(u,f)),y=Math.max(a,Math.min(y,m)),S&&(u+=g,y+=g),l.style.left=`${u}px`,l.style.top=`${y}px`,l.style.right="auto",i?requestAnimationFrame(()=>{l.style.opacity="1";}):l.style.opacity!=="1"&&(l.style.opacity="1");},ze=false,Se=new Set,Nt=(t,e,n)=>{let r=Ot();r.style.zIndex="2147483648",t.appendChild(r),Se.add(r);let l=()=>{if(e===void 0||n===void 0)return;let s=r.getBoundingClientRect(),c=window.innerWidth,u=window.innerHeight,y=Math.round(e),g=Math.round(n)-s.height-Tt,p=Lt,a=W,f=W,m=c-s.width-W,d=u-s.height-W,h=y<a,S=g<f,C=h||S;y=Math.max(a,Math.min(y,m)),g=Math.max(f,Math.min(g,d)),C&&(y+=p,g+=p),r.style.left=`${y}px`,r.style.top=`${g}px`,r.style.right="auto";},i=Tn(),o=document.createElement("span");return o.textContent="Grabbing\u2026",r.appendChild(i),r.appendChild(o),l(),requestAnimationFrame(()=>{r.style.opacity="1";}),s=>{r.textContent="";let c=document.createElement("span");c.textContent="\u2713",c.style.display="inline-block",c.style.marginRight="4px",c.style.fontWeight="600";let u=document.createElement("span"),y=document.createElement("span");y.textContent=s?`<${s}>`:"<element>",y.style.fontFamily="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",y.style.fontVariantNumeric="tabular-nums",u.appendChild(document.createTextNode("Grabbed ")),u.appendChild(y),r.appendChild(c),r.appendChild(u),requestAnimationFrame(()=>{l();}),setTimeout(()=>{r.style.opacity="0",setTimeout(()=>{r.remove(),Se.delete(r);},Rt);},Mt);}},Q=()=>{oe&&(oe.remove(),oe=null),ze=false;},Be=()=>{for(let t of Se)t.remove();Se.clear();},B=null,Ln=()=>{let t=document.createElement("div");t.style.position="fixed",t.style.zIndex="2147483647",t.style.pointerEvents="none",t.style.opacity="0",t.style.transition="opacity 0.1s ease-in-out";let e=document.createElement("div");e.style.width="32px",e.style.height="2px",e.style.backgroundColor="rgba(178, 28, 142, 0.2)",e.style.borderRadius="1px",e.style.overflow="hidden",e.style.position="relative";let n=document.createElement("div");return n.style.width="0%",n.style.height="100%",n.style.backgroundColor="#b21c8e",n.style.borderRadius="1px",n.style.transition="width 0.05s linear",n.setAttribute("data-progress-fill","true"),e.appendChild(n),t.appendChild(e),t},Ve=(t,e,n,r)=>{B||(B=Ln(),t.appendChild(B),requestAnimationFrame(()=>{B&&(B.style.opacity="1");}));let l=B,i=l.getBoundingClientRect(),o=window.innerWidth,s=window.innerHeight,c=14,u=8,y=n-i.width/2,g=r+c;g+i.height+u>s&&(g=r-i.height-c),g=Math.max(u,Math.min(g,s-i.height-u)),y=Math.max(u,Math.min(y,o-i.width-u)),l.style.top=`${g}px`,l.style.left=`${y}px`;let p=l.querySelector("[data-progress-fill]");if(p){let a=Math.min(100,Math.max(0,e*100));p.style.width=`${a}%`;}},kt=()=>{B&&(B.style.opacity="0",setTimeout(()=>{B&&(B.remove(),B=null);},100));};var Mn=typeof window<"u"&&window.navigator.clipboard&&window.isSecureContext,qe=async t=>{if(Mn)try{return await navigator.clipboard.writeText(t),!0}catch{}let e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="fixed",e.style.top="-9999px",e.style.opacity="0",e.style.pointerEvents="none";let n=document.body||document.documentElement;n.appendChild(e),e.select(),e.setSelectionRange(0,e.value.length);let r=false;try{r=document.execCommand("copy");}catch{r=false;}finally{n.removeChild(e);}return r};var It=(t,e=window.getComputedStyle(t))=>e.display!=="none"&&e.visibility!=="hidden"&&e.opacity!=="0";var Z="data-react-grab",Pt=()=>{let t=document.querySelector(`[${Z}]`);if(t){let i=t.shadowRoot?.querySelector(`[${Z}]`);if(i instanceof HTMLDivElement&&t.shadowRoot)return i}let e=document.createElement("div");e.setAttribute(Z,"true"),e.style.zIndex="2147483646",e.style.position="fixed",e.style.top="0",e.style.left="0";let n=e.attachShadow({mode:"open"}),r=document.createElement("div");return r.setAttribute(Z,"true"),n.appendChild(r),(document.body??document.documentElement).appendChild(e),r};var Dt=t=>{let e=new Map,n=0,r,l=g=>{let p=r,a=typeof g=="function"?g(p):g,f={...p,...a};r=f;for(let m of e.values())if(m.type==="selected"){let d=m.selector(f),h=m.prevSelectedValue;Object.is(h,d)||(m.prevSelectedValue=d,m.listener(d,h));}else m.listener(f,p);return r},i=()=>r,o=t(l,i);r=o;let s=(g,p)=>{let a=String(n++),m={listener:(d,h)=>g(d,h),prevSelectedValue:p(r),selector:p,type:"selected"};return e.set(a,m),()=>{e.delete(a);}},c=g=>{let p=String(n++),a={listener:g,type:"full"};return e.set(p,a),()=>{e.delete(p);}};function u(g,p){return p?s(g,p):c(g)}return {getInitialState(){return o},getState:i,setState:l,subscribe:u}};var x=Dt(()=>({keyPressTimestamps:new Map,mouseX:-1e3,mouseY:-1e3,overlayMode:"hidden",pressedKeys:new Set})),Rn=()=>typeof navigator>"u"?["Meta","C"]:navigator.platform.toLowerCase().includes("mac")?["Meta","C"]:["Control","C"],An=(t={})=>{if(t.enabled===false)return;let e={adapter:void 0,enabled:true,hotkey:t.hotkey??Rn(),keyHoldDuration:500,...t},n=Pt(),r=At(n),l=null,i=null,o=false,s=null,c=null,u=()=>{if(Array.isArray(e.hotkey)){for(let R of e.hotkey)if(!Ce(R))return false;return true}return Ce(e.hotkey)},y=()=>{if(c===null)return;let R=Date.now()-c,N=Math.min(1,R/e.keyHoldDuration),{mouseX:$,mouseY:k}=x.getState();Ve(n,N,$,k),N<1&&(s=requestAnimationFrame(y));},g=()=>{if(s!==null)return;c=Date.now();let{mouseX:R,mouseY:N}=x.getState();Ve(n,0,R,N),s=requestAnimationFrame(y);},p=()=>{s!==null&&(cancelAnimationFrame(s),s=null),c=null,kt();},a=null,f=R=>{let{overlayMode:N}=x.getState();if(R.has("Escape")||R.has("Esc")){x.setState(k=>{let O=new Set(k.pressedKeys);O.delete("Escape"),O.delete("Esc");let G=new Map(k.keyPressTimestamps);G.delete("Escape"),G.delete("Esc");let U=Array.isArray(e.hotkey)?e.hotkey:[e.hotkey];for(let H of U)H.length===1?(O.delete(H.toLowerCase()),O.delete(H.toUpperCase()),G.delete(H.toLowerCase()),G.delete(H.toUpperCase())):(O.delete(H),G.delete(H));return {...k,keyPressTimestamps:G,overlayMode:"hidden",pressedKeys:O}}),a&&(a(),a=null),p();return}if(!u()){a&&(a(),a=null),N!=="hidden"&&x.setState(k=>({...k,overlayMode:"hidden"})),p();return}N==="hidden"&&!a&&(g(),a=Ke(e.hotkey,e.keyHoldDuration,()=>{x.setState(k=>({...k,overlayMode:"visible"})),p(),a=null;}));},m=x.subscribe(f,R=>R.pressedKeys),d=false,h=-1e3,S=-1e3,C=R=>{h=R.clientX,S=R.clientY,!d&&(d=true,requestAnimationFrame(()=>{d=false,x.setState(N=>({...N,mouseX:h,mouseY:S}));}));},E=R=>{if(R.button!==0)return;let{overlayMode:N}=x.getState();N!=="hidden"&&(R.preventDefault(),R.stopPropagation(),R.stopImmediatePropagation(),x.setState($=>({...$,overlayMode:"copying"})));},T=R=>{let{overlayMode:N}=x.getState();N!=="hidden"&&(R.preventDefault(),R.stopPropagation(),R.stopImmediatePropagation());},L=()=>{document.hidden&&(Be(),Q());},M=false,v=()=>{M||(M=true,requestAnimationFrame(()=>{M=false,D();}));},_=false,w=()=>{_||(_=true,requestAnimationFrame(()=>{_=false,D();}));};window.addEventListener("mousemove",C),window.addEventListener("mousedown",E,true),window.addEventListener("click",T,true),window.addEventListener("scroll",v,true),window.addEventListener("resize",w),document.addEventListener("visibilitychange",L);let b=We(),I=(R,N)=>{let $=document.elementsFromPoint(R,N);for(let k of $){if(k.closest(`[${Z}]`))continue;let O=window.getComputedStyle(k);if(It(k,O))return k}return null},A=async R=>{let N=(R.tagName||"").toLowerCase(),$=R.getBoundingClientRect(),k=Nt(n,$.left,$.top);try{let O=Et(R);await qe(`
68
+ `,r)),r!==-1)n=n.slice(0,r);else return "";return n},an=/(^|@)\S+:\d+/,ft=/^\s*at .*(\S+:\d+|\(native\))/m,ln=/^(eval@)?(\[native code\])?$/;var cn=(e,t)=>{if(t?.includeInElement!==false){let n=e.split(`
69
+ `),r=[];for(let i of n)if(/^\s*at\s+/.test(i)){let s=ct(i,void 0)[0];s&&r.push(s);}else if(/^\s*in\s+/.test(i)){let s=i.replace(/^\s*in\s+/,"").replace(/\s*\(at .*\)$/,"");r.push({function:s,raw:i});}else if(i.match(an)){let s=ut(i,void 0)[0];s&&r.push(s);}return Pe(r,t)}return e.match(ft)?ct(e,t):ut(e,t)},ht=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]},Pe=(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 ct=(e,t)=>Pe(e.split(`
70
+ `).filter(r=>!!r.match(ft)),t).map(r=>{let i=r;i.includes("(eval ")&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let s=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),a=s.match(/ (\(.+\)$)/);s=a?s.replace(a[0],""):s;let p=ht(a?a[1]:s),m=a&&s||void 0,u=["eval","<anonymous>"].includes(p[0])?void 0:p[0];return {function:m,file:u,line:p[1]?+p[1]:void 0,col:p[2]?+p[2]:void 0,raw:i}});var ut=(e,t)=>Pe(e.split(`
71
+ `).filter(r=>!r.match(ln)),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 s=/(([^\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(s),p=a&&a[1]?a[1]:void 0,m=ht(i.replace(s,""));return {function:p,file:m[0],line:m[1]?+m[1]:void 0,col:m[2]?+m[2]:void 0,raw:i}}});var un=Qt((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,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),p=new Uint8Array(128);for(let l=0;l<s.length;l++){let c=s.charCodeAt(l);a[l]=c,p[c]=l;}function m(l,c){let o=0,d=0,T=0;do{let _=l.next();T=p[_],o|=(T&31)<<d,d+=5;}while(T&32);let S=o&1;return o>>>=1,S&&(o=-2147483648|-o),c+o}function u(l,c,o){let d=c-o;d=d<0?-d<<1|1:d<<1;do{let T=d&31;d>>>=5,d>0&&(T|=32),l.write(a[T]);}while(d>0);return c}function g(l,c){return l.pos>=c?false:l.peek()!==r}let F=1024*16,C=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(l){return Buffer.from(l.buffer,l.byteOffset,l.byteLength).toString()}}:{decode(l){let c="";for(let o=0;o<l.length;o++)c+=String.fromCharCode(l[o]);return c}};class b{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(F);}write(c){let{buffer:o}=this;o[this.pos++]=c,this.pos===F&&(this.out+=C.decode(o),this.pos=0);}flush(){let{buffer:c,out:o,pos:d}=this;return d>0?o+C.decode(c.subarray(0,d)):o}}class v{constructor(c){this.pos=0,this.buffer=c;}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(c){let{buffer:o,pos:d}=this,T=o.indexOf(c,d);return T===-1?o.length:T}}let E=[];function f(l){let{length:c}=l,o=new v(l),d=[],T=[],S=0;for(;o.pos<c;o.pos++){S=m(o,S);let _=m(o,0);if(!g(o,c)){let $=T.pop();$[2]=S,$[3]=_;continue}let R=m(o,0),k=m(o,0),O=k&1,N=O?[S,_,0,0,R,m(o,0)]:[S,_,0,0,R],I=E;if(g(o,c)){I=[];do{let $=m(o,0);I.push($);}while(g(o,c))}N.vars=I,d.push(N),T.push(N);}return d}function h(l){let c=new b;for(let o=0;o<l.length;)o=y(l,o,c,[0]);return c.flush()}function y(l,c,o,d){let T=l[c],{0:S,1:_,2:R,3:k,4:O,vars:N}=T;c>0&&o.write(r),d[0]=u(o,S,d[0]),u(o,_,0),u(o,O,0);let I=T.length===6?1:0;u(o,I,0),T.length===6&&u(o,T[5],0);for(let $ of N)u(o,$,0);for(c++;c<l.length;){let $=l[c],{0:x,1:H}=$;if(x>R||x===R&&H>=k)break;c=y(l,c,o,d);}return o.write(r),d[0]=u(o,R,d[0]),u(o,k,0),c}function w(l){let{length:c}=l,o=new v(l),d=[],T=[],S=0,_=0,R=0,k=0,O=0,N=0,I=0,$=0;do{let x=o.indexOf(";"),H=0;for(;o.pos<x;o.pos++){if(H=m(o,H),!g(o,x)){let P=T.pop();P[2]=S,P[3]=H;continue}let j=m(o,0),oe=j&1,X=j&2,Z=j&4,Be=null,he=E,Y;if(oe){let P=m(o,_);R=m(o,_===P?R:0),_=P,Y=[S,H,0,0,P,R];}else Y=[S,H,0,0];if(Y.isScope=!!Z,X){let P=k,K=O;k=m(o,k);let Q=P===k;O=m(o,Q?O:0),N=m(o,Q&&K===O?N:0),Be=[k,O,N];}if(Y.callsite=Be,g(o,x)){he=[];do{I=S,$=H;let P=m(o,0),K;if(P<-1){K=[[m(o,0)]];for(let Q=-1;Q>P;Q--){let Rt=I;I=m(o,I),$=m(o,I===Rt?$:0);let xt=m(o,0);K.push([xt,I,$]);}}else K=[[P]];he.push(K);}while(g(o,x))}Y.bindings=he,d.push(Y),T.push(Y);}S++,o.pos=x+1;}while(o.pos<c);return d}function M(l){if(l.length===0)return "";let c=new b;for(let o=0;o<l.length;)o=A(l,o,c,[0,0,0,0,0,0,0]);return c.flush()}function A(l,c,o,d){let T=l[c],{0:S,1:_,2:R,3:k,isScope:O,callsite:N,bindings:I}=T;d[0]<S?(D(o,d[0],S),d[0]=S,d[1]=0):c>0&&o.write(r),d[1]=u(o,T[1],d[1]);let $=(T.length===6?1:0)|(N?2:0)|(O?4:0);if(u(o,$,0),T.length===6){let{4:x,5:H}=T;x!==d[2]&&(d[3]=0),d[2]=u(o,x,d[2]),d[3]=u(o,H,d[3]);}if(N){let{0:x,1:H,2:j}=T.callsite;x===d[4]?H!==d[5]&&(d[6]=0):(d[5]=0,d[6]=0),d[4]=u(o,x,d[4]),d[5]=u(o,H,d[5]),d[6]=u(o,j,d[6]);}if(I)for(let x of I){x.length>1&&u(o,-x.length,0);let H=x[0][0];u(o,H,0);let j=S,oe=_;for(let X=1;X<x.length;X++){let Z=x[X];j=u(o,Z[1],j),oe=u(o,Z[2],oe),u(o,Z[0],0);}}for(c++;c<l.length;){let x=l[c],{0:H,1:j}=x;if(H>R||H===R&&j>=k)break;c=A(l,c,o,d);}return d[0]<R?(D(o,d[0],R),d[0]=R,d[1]=0):o.write(r),d[1]=u(o,k,d[1]),c}function D(l,c,o){do l.write(i);while(++c<o)}function L(l){let{length:c}=l,o=new v(l),d=[],T=0,S=0,_=0,R=0,k=0;do{let O=o.indexOf(";"),N=[],I=true,$=0;for(T=0;o.pos<O;){let x;T=m(o,T),T<$&&(I=false),$=T,g(o,O)?(S=m(o,S),_=m(o,_),R=m(o,R),g(o,O)?(k=m(o,k),x=[T,S,_,R,k]):x=[T,S,_,R]):x=[T],N.push(x),o.pos++;}I||B(N),d.push(N),o.pos=O+1;}while(o.pos<=c);return d}function B(l){l.sort(z);}function z(l,c){return l[0]-c[0]}function re(l){let c=new b,o=0,d=0,T=0,S=0;for(let _=0;_<l.length;_++){let R=l[_];if(_>0&&c.write(i),R.length===0)continue;let k=0;for(let O=0;O<R.length;O++){let N=R[O];O>0&&c.write(r),k=u(c,N[0],k),N.length!==1&&(o=u(c,N[1],o),d=u(c,N[2],d),T=u(c,N[3],T),N.length!==4&&(S=u(c,N[4],S)));}}return c.flush()}n.decode=L,n.decodeGeneratedRanges=w,n.decodeOriginalScopes=f,n.encode=re,n.encodeGeneratedRanges=M,n.encodeOriginalScopes=h,Object.defineProperty(n,"__esModule",{value:true});});}),gt=en(un()),bt=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,dn=/^data:application\/json[^,]+base64,/,mn=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/,yt=typeof WeakRef<"u",ne=new Map,fe=new Map,pn=e=>yt&&e instanceof WeakRef,dt=(e,t,n,r)=>{if(n<0||n>=e.length)return null;let i=e[n];if(!i||i.length===0)return null;let s=null;for(let g of i)if(g[0]<=r)s=g;else break;if(!s||s.length<4)return null;let[,a,p,m]=s;if(a===void 0||p===void 0||m===void 0)return null;let u=t[a];return u?{columnNumber:m,fileName:u,lineNumber:p+1}:null},fn=(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,s=t===r.offset.line?n-r.offset.column:n;return dt(r.map.mappings,r.map.sources,i,s)}return dt(e.mappings,e.sources,t-1,n)},hn=(e,t)=>{let n=t.split(`
72
+ `),r;for(let s=n.length-1;s>=0&&!r;s--){let a=n[s].match(mn);a&&(r=a[1]||a[2]);}if(!r)return null;let i=bt.test(r);if(!(dn.test(r)||i||r.startsWith("/"))){let s=e.split("/");s[s.length-1]=r,r=s.join("/");}return r},gn=e=>({file:e.file,mappings:(0, gt.decode)(e.mappings),names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,version:3}),bn=e=>{let t=e.sections.map(({map:r,offset:i})=>({map:{...r,mappings:(0, gt.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}},mt=e=>{if(!e)return false;let t=e.trim();if(!t)return false;let n=t.match(bt);if(!n)return true;let r=n[0].toLowerCase();return r==="http:"||r==="https:"},yn=async(e,t=fetch)=>{if(!mt(e))return null;let n;try{n=await(await t(e)).text();}catch{return null}if(!n)return null;let r=hn(e,n);if(!r||!mt(r))return null;try{let i=await t(r),s=await i.json();return "sections"in s?bn(s):gn(s)}catch{return null}},Tn=async(e,t=true,n)=>{if(t&&ne.has(e)){let s=ne.get(e);if(s==null)return null;if(pn(s)){let a=s.deref();if(a)return a;ne.delete(e);}else return s}if(t&&fe.has(e))return fe.get(e);let r=yn(e,n);t&&fe.set(e,r);let i=await r;return t&&fe.delete(e),t&&(i===null?ne.set(e,null):ne.set(e,yt?new WeakRef(i):i)),i};var vn=e=>e._debugStack instanceof Error&&typeof e._debugStack?.stack=="string";var Tt=e=>vn(e)?sn(e._debugStack.stack):on(e);var vt=async(e,t=1,n=true,r)=>{let i=cn(e,{slice:t??1}),s=[];for(let a of i){if(!a?.file)continue;let p=await Tn(a.file,n,r);if(p&&typeof a.line=="number"&&typeof a.col=="number"){let m=fn(p,a.line,a.col);if(m){s.push(m);continue}}s.push({fileName:a.file,lineNumber:a.line,columnNumber:a.col,functionName:a.function});}return s};Ie({onCommitFiberRoot(e,t){$e.add(t);}});var Ct=async e=>{let t=pe(e);if(!t)return null;let n=Tt(t),r=await vt(n,Number.MAX_SAFE_INTEGER);return r||null};var wt=e=>{let t=new Set(["article","aside","footer","form","header","main","nav","section"]),n=f=>{let h=f.tagName.toLowerCase();if(t.has(h)||f.id)return true;if(f.className&&typeof f.className=="string"){let y=f.className.trim();if(y&&y.length>0)return true}return Array.from(f.attributes).some(y=>y.name.startsWith("data-"))},r=(f,h=10)=>{let y=[],w=f.parentElement,M=0;for(;w&&M<h&&w.tagName!=="BODY"&&!(n(w)&&(y.push(w),y.length>=3));)w=w.parentElement,M++;return y.reverse()},i=f=>{let h=[],y=f,w=0,M=5;for(;y&&w<M&&y.tagName!=="BODY";){let A=y.tagName.toLowerCase();if(y.id){A+=`#${y.id}`,h.unshift(A);break}else if(y.className&&typeof y.className=="string"&&y.className.trim()){let D=y.className.trim().split(/\s+/).slice(0,2);A+=`.${D.join(".")}`;}if(!y.id&&(!y.className||!y.className.trim())&&y.parentElement){let D=Array.from(y.parentElement.children),L=D.indexOf(y);L>=0&&D.length>1&&(A+=`:nth-child(${L+1})`);}h.unshift(A),y=y.parentElement,w++;}return h.join(" > ")},s=(f,h=false)=>{let y=f.tagName.toLowerCase(),w=[];if(f.id&&w.push(`id="${f.id}"`),f.className&&typeof f.className=="string"){let L=f.className.trim().split(/\s+/);if(L.length>0&&L[0]){let z=(h?L.slice(0,3):L).join(" ");z.length>30&&(z=z.substring(0,30)+"..."),w.push(`class="${z}"`);}}let M=Array.from(f.attributes).filter(L=>L.name.startsWith("data-")),A=h?M.slice(0,1):M;for(let L of A){let B=L.value;B.length>20&&(B=B.substring(0,20)+"..."),w.push(`${L.name}="${B}"`);}let D=f.getAttribute("aria-label");if(D&&!h){let L=D;L.length>20&&(L=L.substring(0,20)+"..."),w.push(`aria-label="${L}"`);}return w.length>0?`<${y} ${w.join(" ")}>`:`<${y}>`},a=f=>`</${f.tagName.toLowerCase()}>`,p=f=>{let h=f.textContent||"";h=h.trim().replace(/\s+/g," ");let y=60;return h.length>y&&(h=h.substring(0,y)+"..."),h},m=f=>{if(f.id)return `#${f.id}`;if(f.className&&typeof f.className=="string"){let h=f.className.trim().split(/\s+/);if(h.length>0&&h[0])return `.${h[0]}`}return null},u=[];u.push(`Path: ${i(e)}`),u.push("");let g=r(e);for(let f=0;f<g.length;f++){let h=" ".repeat(f);u.push(h+s(g[f],true));}let F=e.parentElement,C=-1;if(F){let f=Array.from(F.children);if(C=f.indexOf(e),C>0){let h=f[C-1];if(m(h)&&C<=2){let w=" ".repeat(g.length);u.push(`${w} ${s(h,true)}`),u.push(`${w} </${h.tagName.toLowerCase()}>`);}else if(C>0){let w=" ".repeat(g.length);u.push(`${w} ... (${C} element${C===1?"":"s"})`);}}}let b=" ".repeat(g.length);u.push(b+" <!-- SELECTED -->");let v=p(e),E=e.children.length;if(v&&E===0&&v.length<40?u.push(`${b} ${s(e)}${v}${a(e)}`):(u.push(b+" "+s(e)),v&&u.push(`${b} ${v}`),E>0&&u.push(`${b} ... (${E} element${E===1?"":"s"})`),u.push(b+" "+a(e))),F&&C>=0){let f=Array.from(F.children),h=f.length-C-1;if(h>0){let y=f[C+1];m(y)&&h<=2?(u.push(`${b} ${s(y,true)}`),u.push(`${b} </${y.tagName.toLowerCase()}>`)):u.push(`${b} ... (${h} element${h===1?"":"s"})`);}}for(let f=g.length-1;f>=0;f--){let h=" ".repeat(f);u.push(h+a(g[f]));}return u.join(`
73
+ `)};var je=async e=>{try{if(Array.isArray(e)){if(!navigator?.clipboard?.write){for(let t of e)if(typeof t=="string"){let n=Et(t);if(!n)return n}return !0}return await navigator.clipboard.write([new ClipboardItem(Object.fromEntries(e.map(t=>t instanceof Blob?[t.type??"text/plain",t]:["text/plain",new Blob([t],{type:"text/plain"})])))]),!0}else {if(e instanceof Blob)return await navigator.clipboard.write([new ClipboardItem({[e.type]:e})]),!0;try{return await navigator.clipboard.writeText(String(e)),!0}catch{return Et(e)}}}catch{return false}},Et=e=>{if(!document.execCommand)return false;let t=document.createElement("textarea");t.value=String(e),t.style.clipPath="inset(50%)",t.ariaHidden="true",(document.body||document.documentElement).append(t);try{return t.select(),document.execCommand("copy")}finally{t.remove();}};var St=e=>{let t={enabled:true,keyHoldDuration:500,...e};if(t.enabled===false)return;let n=null,r=false,i=null,s=null,a=null,p=false,m=false,u=null,g=null,F=-1e3,C=-1e3,b=l=>(l.metaKey||l.ctrlKey)&&l.key.toLowerCase()==="c",v=(l,c)=>{let o=document.elementsFromPoint(l,c);for(let d of o){if(d.closest(`[${q}]`))continue;let T=window.getComputedStyle(d);if(Ve(d,T))return d}return null},E=l=>`
26
74
 
27
75
  <referenced_element>
28
- ${O}
29
- </referenced_element>`);let G=await bt(R);if(G){let U=Ct(G);if(U.length>0){let H=wt(U),ie=`${O}
76
+ ${l}
77
+ </referenced_element>`,f=async l=>{let c=(l.tagName||"").toLowerCase(),o=l.getBoundingClientRect(),d=et(i,o.left,o.top);try{let T=wt(l);await je(E(T));let S=await Ct(l);if(S?.length){let _=S.map(R=>` ${R.functionName} - ${R.fileName}:${R.lineNumber}:${R.columnNumber}`).join(`
78
+ `);await je(E(`${T}
30
79
 
31
80
  Component owner stack:
32
- ${H}`;await qe(`
81
+ ${_}`));}d(c);}catch{d(c);}},h=()=>{s?.hide(),m||le();},y=()=>{if(!p){h(),u=null,g=null;return}if(m)return;let l=v(F,C);if(!l){h(),u=null;return}if(g)if(l!==g)g=null;else {h(),u=l;return}u=l;let c=l.getBoundingClientRect(),o=window.getComputedStyle(l);s?.update({borderRadius:o.borderRadius||"0px",height:c.height,transform:o.transform||"none",width:c.width,x:c.left,y:c.top}),s?.isVisible()||s?.show(),Je(i,c.left,c.top,(l.tagName||"").toLowerCase());},w=()=>{a===null&&(a=requestAnimationFrame(()=>{a=null,y();}));},M=()=>{w(),requestAnimationFrame(M);},A=l=>{F=l.clientX,C=l.clientY,w();},D=()=>{document.hidden&&(ye(),le());},L=()=>{if(!u||m)return;m=true,g=u;let l=u,c=window.getComputedStyle(l),o=l.getBoundingClientRect();Ze(i,{borderRadius:c.borderRadius||"0px",height:o.height,transform:c.transform||"none",width:o.width,x:o.left,y:o.top}),f(l).finally(()=>{m=false,p=r;});},B=()=>{i||(i=Ge(),s=Xe(i,L),M()),p=true,y();},z=l=>{if(l.key==="Escape"&&r){r=false,n&&window.clearTimeout(n),p=false;return}ze(l)||b(l)&&!r&&(r=true,n=window.setTimeout(()=>{B(),t.onActivate?.();},t.keyHoldDuration));},re=l=>{r&&(!b(l)||l.key.toLowerCase()==="c")&&(r=false,n&&window.clearTimeout(n),p=false);};return window.addEventListener("keydown",z),window.addEventListener("keyup",re),window.addEventListener("mousemove",A),window.addEventListener("scroll",w,true),window.addEventListener("resize",w),document.addEventListener("visibilitychange",D),()=>{window.removeEventListener("keydown",z),window.removeEventListener("keyup",re),window.removeEventListener("mousemove",A),window.removeEventListener("scroll",w,true),window.removeEventListener("resize",w),document.removeEventListener("visibilitychange",D),n&&window.clearTimeout(n),a&&cancelAnimationFrame(a),ye(),le();}};St();
82
+ /*! Bundled license information:
33
83
 
34
- <referenced_element>
35
- ${ie}
36
- </referenced_element>`).catch(()=>{}),e.adapter&&e.adapter.open(ie);}else e.adapter&&e.adapter.open(O);}else e.adapter&&e.adapter.open(O);k(N);}catch{k(N);}},P=R=>{let{mouseX:N,mouseY:$,overlayMode:k}=R;if(k==="hidden"){r.isVisible()&&r.hide(),o||Q(),l=null,i=null;return}if(k==="copying"&&l){if(!o){o=true,i=l;let J=window.getComputedStyle(l),se=l.getBoundingClientRect();xt(n,{borderRadius:J.borderRadius||"0px",height:se.height,transform:J.transform||"none",width:se.width,x:se.left,y:se.top}),A(l).finally(()=>{o=false;});let jt=u();x.setState($t=>({...$t,overlayMode:jt?"visible":"hidden"}));}return}let O=I(N,$);if(!O){r.isVisible()&&r.hide(),o||Q(),l=null;return}if(i&&O!==i&&(i=null),O===i){r.isVisible()&&r.hide(),o||Q(),l=O;return}let G=(O.tagName||"").toLowerCase();l=O;let U=O.getBoundingClientRect(),H=window.getComputedStyle(O),ie=H.borderRadius||"0px",Ht=H.transform||"none";if(r.update({borderRadius:ie,height:U.height,transform:Ht,width:U.width,x:U.left,y:U.top}),r.isVisible()||r.show(),Ft(n,U.left,U.top,G),!!O.disabled||H.pointerEvents==="none"){let J=r.element;J&&(J.style.pointerEvents="auto");}},F=false,D=()=>{F||(F=true,requestAnimationFrame(()=>{F=false,P(x.getState());}));},j=x.subscribe(()=>{D();}),K=()=>{D(),requestAnimationFrame(K);};return K(),()=>{window.removeEventListener("mousemove",C),window.removeEventListener("mousedown",E,true),window.removeEventListener("click",T,true),window.removeEventListener("scroll",v,true),window.removeEventListener("resize",w),document.removeEventListener("visibilitychange",L),b(),j(),m(),a&&a(),p(),Be(),Q();}};if(typeof window<"u"&&typeof document<"u"){let t=document.currentScript,e={};if(t?.dataset){let{adapter:n,enabled:r,hotkey:l,keyHoldDuration:i}=t.dataset;if(n!==void 0&&n==="cursor"&&(e.adapter=be),r!==void 0&&(e.enabled=r==="true"),l!==void 0){let o=l.split(",").map(s=>s.trim());e.hotkey=o.length===1?o[0]:o;}if(i!==void 0){let o=Number(i);Number.isNaN(o)||(e.keyHoldDuration=o);}}An(e);}/*! Bundled license information:
84
+ bippy/dist/rdt-hook-DAGphl8S.js:
85
+ (**
86
+ * @license bippy
87
+ *
88
+ * Copyright (c) Aiden Bai
89
+ *
90
+ * This source code is licensed under the MIT license found in the
91
+ * LICENSE file in the root directory of this source tree.
92
+ *)
37
93
 
38
- bippy/dist/src-DnJsD_Sy.js:
94
+ bippy/dist/install-hook-only-DXZnu_Kj.js:
39
95
  (**
40
96
  * @license bippy
41
97
  *
@@ -45,7 +101,7 @@ bippy/dist/src-DnJsD_Sy.js:
45
101
  * LICENSE file in the root directory of this source tree.
46
102
  *)
47
103
 
48
- bippy/dist/index.js:
104
+ bippy/dist/core-BE71wdnw.js:
49
105
  (**
50
106
  * @license bippy
51
107
  *
@@ -55,7 +111,17 @@ bippy/dist/index.js:
55
111
  * LICENSE file in the root directory of this source tree.
56
112
  *)
57
113
 
58
- bippy/dist/source-D2grjLFe.js:
114
+ bippy/dist/src-C_DvVIY-.js:
115
+ (**
116
+ * @license bippy
117
+ *
118
+ * Copyright (c) Aiden Bai
119
+ *
120
+ * This source code is licensed under the MIT license found in the
121
+ * LICENSE file in the root directory of this source tree.
122
+ *)
123
+
124
+ bippy/dist/index.js:
59
125
  (**
60
126
  * @license bippy
61
127
  *
@@ -74,4 +140,4 @@ bippy/dist/source.js:
74
140
  * This source code is licensed under the MIT license found in the
75
141
  * LICENSE file in the root directory of this source tree.
76
142
  *)
77
- */exports.cursorAdapter=be;exports.init=An;exports.libStore=x;return exports;})({});
143
+ */})();