@buoy-gg/shared-ui 7.0.45 → 7.0.47
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/lib/commonjs/index.js +1 -1
- package/lib/commonjs/license/licenseModule.js +1 -1
- package/lib/commonjs/stores/ignoredPatternsStore.shared.js +1 -1
- package/lib/commonjs/sync/settingsSync.js +1 -0
- package/lib/commonjs/utils/persistentStorage.js +1 -1
- package/lib/commonjs/utils/persistentStorage.web.js +1 -1
- package/lib/commonjs/utils/storageWrites.js +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/license/licenseModule.js +1 -1
- package/lib/module/stores/ignoredPatternsStore.shared.js +1 -1
- package/lib/module/sync/settingsSync.js +1 -0
- package/lib/module/utils/persistentStorage.js +1 -1
- package/lib/module/utils/persistentStorage.web.js +1 -1
- package/lib/module/utils/storageWrites.js +1 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts +2 -0
- package/lib/typescript/commonjs/license/licenseModule.d.ts +5 -0
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.shared.d.ts +18 -1
- package/lib/typescript/commonjs/sync/settingsSync.d.ts +78 -0
- package/lib/typescript/commonjs/utils/storageWrites.d.ts +10 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/index.d.ts +2 -0
- package/lib/typescript/module/license/licenseModule.d.ts +5 -0
- package/lib/typescript/module/stores/ignoredPatternsStore.shared.d.ts +18 -1
- package/lib/typescript/module/sync/settingsSync.d.ts +78 -0
- package/lib/typescript/module/utils/storageWrites.d.ts +10 -0
- package/lib/web/chunks/{chunk-DEJNSL6V.mjs → chunk-DEEKIG2L.mjs} +1 -1
- package/lib/web/chunks/{chunk-XD2BEYMM.mjs → chunk-T7RZZG4A.mjs} +1 -1
- package/lib/web/chunks/{chunk-ASEPWYDC.mjs → chunk-U2BTZZID.mjs} +7 -7
- package/lib/web/chunks/{persistentStorage.web-6OAJAVRK.mjs → persistentStorage.web-56ENKXFJ.mjs} +1 -1
- package/lib/web/dataViewer.mjs +1 -1
- package/lib/web/hooks.mjs +1 -1
- package/lib/web/index.mjs +3 -3
- package/lib/web/ui.mjs +1 -1
- package/lib/web/utils.mjs +1 -1
- package/package.json +5 -5
- package/lib/web/chunks/chunk-26OV3QDY.mjs +0 -1
- package/lib/web/chunks/chunk-2MHKRRQW.mjs +0 -1
- package/lib/web/chunks/chunk-2Q3SDPH2.mjs +0 -13
- package/lib/web/chunks/chunk-34YQ42KI.mjs +0 -1
- package/lib/web/chunks/chunk-3NNNCQYP.mjs +0 -13
- package/lib/web/chunks/chunk-46CXXOQB.mjs +0 -1
- package/lib/web/chunks/chunk-475BSDCB.mjs +0 -1
- package/lib/web/chunks/chunk-552W4COI.mjs +0 -1
- package/lib/web/chunks/chunk-55EIUPOI.mjs +0 -14
- package/lib/web/chunks/chunk-56TTTMX4.mjs +0 -1
- package/lib/web/chunks/chunk-5KWAGM5V.mjs +0 -1
- package/lib/web/chunks/chunk-5LOQZINQ.mjs +0 -13
- package/lib/web/chunks/chunk-5NOIO6ZM.mjs +0 -15
- package/lib/web/chunks/chunk-6CCRCSA2.mjs +0 -1
- package/lib/web/chunks/chunk-6Q52HRBL.mjs +0 -1
- package/lib/web/chunks/chunk-6TEDFSNM.mjs +0 -1
- package/lib/web/chunks/chunk-7BLJTQ4U.mjs +0 -1
- package/lib/web/chunks/chunk-7BMRSMHN.mjs +0 -1
- package/lib/web/chunks/chunk-7PRKERDN.mjs +0 -1
- package/lib/web/chunks/chunk-A2SOFE47.mjs +0 -1
- package/lib/web/chunks/chunk-A7KJCK4R.mjs +0 -13
- package/lib/web/chunks/chunk-AEXGGXS7.mjs +0 -1
- package/lib/web/chunks/chunk-AGD7ZT6O.mjs +0 -14
- package/lib/web/chunks/chunk-AIEOQWNG.mjs +0 -1
- package/lib/web/chunks/chunk-ASTM35HG.mjs +0 -15
- package/lib/web/chunks/chunk-AZBMFPMX.mjs +0 -1
- package/lib/web/chunks/chunk-B2V2UDCU.mjs +0 -15
- package/lib/web/chunks/chunk-BFGKGTAC.mjs +0 -1
- package/lib/web/chunks/chunk-BHW6AFO6.mjs +0 -1
- package/lib/web/chunks/chunk-BWRW3NJ2.mjs +0 -15
- package/lib/web/chunks/chunk-CBM2IZAK.mjs +0 -1
- package/lib/web/chunks/chunk-CDLCFF44.mjs +0 -1
- package/lib/web/chunks/chunk-CI5CO7FQ.mjs +0 -1
- package/lib/web/chunks/chunk-CIB4U2YK.mjs +0 -1
- package/lib/web/chunks/chunk-CLLTZQGD.mjs +0 -1
- package/lib/web/chunks/chunk-D4RXBAOO.mjs +0 -15
- package/lib/web/chunks/chunk-D5HQLRFW.mjs +0 -1
- package/lib/web/chunks/chunk-DZDTNXXK.mjs +0 -1
- package/lib/web/chunks/chunk-EMEAL3L5.mjs +0 -1
- package/lib/web/chunks/chunk-ER3T3IDI.mjs +0 -1
- package/lib/web/chunks/chunk-F6SJ5CLB.mjs +0 -1
- package/lib/web/chunks/chunk-FDOZ6YSS.mjs +0 -1
- package/lib/web/chunks/chunk-FMEWNGQO.mjs +0 -1
- package/lib/web/chunks/chunk-G4DH7GMT.mjs +0 -1
- package/lib/web/chunks/chunk-GBUZCZE4.mjs +0 -1
- package/lib/web/chunks/chunk-GLMS5ZLJ.mjs +0 -1
- package/lib/web/chunks/chunk-GNGMIA7V.mjs +0 -1
- package/lib/web/chunks/chunk-GTYIS7H7.mjs +0 -14
- package/lib/web/chunks/chunk-GZE3FIOX.mjs +0 -1
- package/lib/web/chunks/chunk-HGA3GJA6.mjs +0 -1
- package/lib/web/chunks/chunk-HJ36IONA.mjs +0 -14
- package/lib/web/chunks/chunk-HXPTZMAZ.mjs +0 -1
- package/lib/web/chunks/chunk-I27M4JCS.mjs +0 -1
- package/lib/web/chunks/chunk-IVCT27JB.mjs +0 -1
- package/lib/web/chunks/chunk-JG4QSK5B.mjs +0 -1
- package/lib/web/chunks/chunk-JR7BJW6B.mjs +0 -1
- package/lib/web/chunks/chunk-K46ZJUXJ.mjs +0 -1
- package/lib/web/chunks/chunk-K4EGHHD6.mjs +0 -1
- package/lib/web/chunks/chunk-K4LXMO4D.mjs +0 -1
- package/lib/web/chunks/chunk-K7CGIEFU.mjs +0 -1
- package/lib/web/chunks/chunk-KBTYK5YE.mjs +0 -1
- package/lib/web/chunks/chunk-KHP6CSSM.mjs +0 -1
- package/lib/web/chunks/chunk-KRDRIW7T.mjs +0 -13
- package/lib/web/chunks/chunk-L2DTKDER.mjs +0 -1
- package/lib/web/chunks/chunk-L3AFTHWX.mjs +0 -14
- package/lib/web/chunks/chunk-LFDFDGHY.mjs +0 -1
- package/lib/web/chunks/chunk-MAIUUK4E.mjs +0 -1
- package/lib/web/chunks/chunk-MKJKS3IG.mjs +0 -1
- package/lib/web/chunks/chunk-MRQKVLXG.mjs +0 -1
- package/lib/web/chunks/chunk-NK3OISOL.mjs +0 -13
- package/lib/web/chunks/chunk-NLJDDIXW.mjs +0 -1
- package/lib/web/chunks/chunk-OENR3XFI.mjs +0 -1
- package/lib/web/chunks/chunk-OZB3VKZE.mjs +0 -1
- package/lib/web/chunks/chunk-P64PFJT3.mjs +0 -5
- package/lib/web/chunks/chunk-PACPGYH7.mjs +0 -1
- package/lib/web/chunks/chunk-PART6HOE.mjs +0 -13
- package/lib/web/chunks/chunk-PMRXUQRH.mjs +0 -1
- package/lib/web/chunks/chunk-PTK5FO6C.mjs +0 -1
- package/lib/web/chunks/chunk-PZ45TQ55.mjs +0 -13
- package/lib/web/chunks/chunk-Q5LN7GET.mjs +0 -5
- package/lib/web/chunks/chunk-QCD6T6L4.mjs +0 -1
- package/lib/web/chunks/chunk-QD5EUANU.mjs +0 -1
- package/lib/web/chunks/chunk-QJTECJCO.mjs +0 -1
- package/lib/web/chunks/chunk-QPIZURPZ.mjs +0 -1
- package/lib/web/chunks/chunk-QPY45R5F.mjs +0 -1
- package/lib/web/chunks/chunk-QQTJ463K.mjs +0 -1
- package/lib/web/chunks/chunk-R2SGZIG5.mjs +0 -1
- package/lib/web/chunks/chunk-RJO7RXQQ.mjs +0 -1
- package/lib/web/chunks/chunk-S3GYQYVJ.mjs +0 -15
- package/lib/web/chunks/chunk-SCCXVTDM.mjs +0 -1
- package/lib/web/chunks/chunk-SHJHD646.mjs +0 -1
- package/lib/web/chunks/chunk-TCRVZ55E.mjs +0 -1
- package/lib/web/chunks/chunk-TJ6ZVV2L.mjs +0 -14
- package/lib/web/chunks/chunk-TJUBBXXK.mjs +0 -1
- package/lib/web/chunks/chunk-TPSY4RC3.mjs +0 -13
- package/lib/web/chunks/chunk-U5KNX5O6.mjs +0 -5
- package/lib/web/chunks/chunk-UCKELQSM.mjs +0 -1
- package/lib/web/chunks/chunk-UGGCYHRH.mjs +0 -1
- package/lib/web/chunks/chunk-UKYVRCMZ.mjs +0 -1
- package/lib/web/chunks/chunk-UNYQJZET.mjs +0 -15
- package/lib/web/chunks/chunk-VE72SWLV.mjs +0 -14
- package/lib/web/chunks/chunk-VKONO6MI.mjs +0 -1
- package/lib/web/chunks/chunk-VOS562HW.mjs +0 -14
- package/lib/web/chunks/chunk-W4BGMPJO.mjs +0 -1
- package/lib/web/chunks/chunk-WHNEEKLR.mjs +0 -1
- package/lib/web/chunks/chunk-WIFX6XNL.mjs +0 -15
- package/lib/web/chunks/chunk-WLGUP3KY.mjs +0 -15
- package/lib/web/chunks/chunk-WY7D4WBZ.mjs +0 -1
- package/lib/web/chunks/chunk-XMDNJJS5.mjs +0 -14
- package/lib/web/chunks/chunk-XRNB2MHO.mjs +0 -1
- package/lib/web/chunks/chunk-XUHVHSSG.mjs +0 -14
- package/lib/web/chunks/chunk-XXTIAXQY.mjs +0 -1
- package/lib/web/chunks/chunk-YG6DIKQD.mjs +0 -1
- package/lib/web/chunks/chunk-YIZFMU66.mjs +0 -1
- package/lib/web/chunks/chunk-YOGAPOGC.mjs +0 -1
- package/lib/web/chunks/chunk-Z7373DS5.mjs +0 -1
- package/lib/web/chunks/chunk-Z76GRN66.mjs +0 -5
- package/lib/web/chunks/chunk-ZFPRFFDY.mjs +0 -1
- package/lib/web/chunks/persistentStorage.web-4FBAOYJ4.mjs +0 -1
- package/lib/web/chunks/persistentStorage.web-6S5TDRE4.mjs +0 -1
- package/lib/web/chunks/persistentStorage.web-7W3Y6Q24.mjs +0 -1
- package/lib/web/chunks/persistentStorage.web-GOWNFMVT.mjs +0 -1
- package/lib/web/chunks/persistentStorage.web-RF47FXIK.mjs +0 -1
- package/lib/web/chunks/persistentStorage.web-SOPYL5VC.mjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{d as ot}from"./chunk-CE5U3CSQ.mjs";import{Y as l}from"./chunk-K4LXMO4D.mjs";import{jsx as P}from"react/jsx-runtime";var et=({size:e,children:t,style:o})=>P(l,{style:[{width:e,height:e,position:"relative"},o],children:t}),X=({cx:e,cy:t,r:o,fill:r="transparent",borderColor:a,borderWidth:y=0,opacity:h=1,scaleX:k=1,scaleY:c=1,glowColor:p,glowRadius:C=4})=>{let x=o*2,u=[];k!==1&&u.push({scaleX:k}),c!==1&&u.push({scaleY:c});let v={position:"absolute",left:e-o,top:t-o,width:x,height:x,borderRadius:o,backgroundColor:r,borderWidth:y,borderColor:a,opacity:h,transform:u.length>0?u:void 0,...p&&{shadowColor:p,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:C}};return P(l,{style:v})},Ht=({x:e,y:t,width:o,height:r,fill:a="transparent",borderColor:y,borderWidth:h=0,borderRadius:k=0,opacity:c=1,rotate:p})=>{let C=[];p!==void 0&&C.push({rotate:`${p}deg`});let x={position:"absolute",left:e,top:t,width:o,height:r,backgroundColor:a,borderWidth:h,borderColor:y,borderRadius:k,opacity:c,transform:C.length>0?C:void 0};return P(l,{style:x})},Ut=({x1:e,y1:t,x2:o,y2:r,color:a,strokeWidth:y=2,opacity:h=1})=>{let k=Math.sqrt(Math.pow(o-e,2)+Math.pow(r-t,2)),c=Math.atan2(r-t,o-e)*(180/Math.PI),p={position:"absolute",left:e,top:t-y/2,width:k,height:y,backgroundColor:a,transform:[{rotate:`${c}deg`}],transformOrigin:"left center",opacity:h,borderRadius:y/2};return P(l,{style:p})};import{jsx as H,jsxs as qt}from"react/jsx-runtime";var Jt="#4AFF9F",rt={network:Jt,blackTint1:"rgba(8, 12, 21, 0.95)"},it=({size:e=24,color:t=rt.network})=>{let o=e/24,r=18*o/2,a=e/2,y=2*o;return qt(et,{size:e,children:[H(X,{cx:a,cy:a,r,fill:rt.blackTint1,borderColor:t,borderWidth:y,glowColor:t,glowRadius:4*o}),H(X,{cx:a,cy:a,r,borderColor:t,borderWidth:y,scaleX:.45,opacity:.6}),H(X,{cx:a,cy:a,r,borderColor:t,borderWidth:y,scaleX:1.33,scaleY:.6,opacity:.6})]})},Kt=it;import{Fragment as st}from"react";import{Fragment as D,jsx as B,jsxs as S}from"react/jsx-runtime";var Zt=[{x:.1,y:.1,size:1,opacity:.3},{x:.9,y:.1,size:1.2,opacity:.5},{x:.05,y:.3,size:.8,opacity:.4},{x:.95,y:.35,size:1,opacity:.3},{x:.15,y:.85,size:1,opacity:.5},{x:.85,y:.9,size:1.2,opacity:.4}],Qt={circuit:{lines:[{x:.5,width:.5,height:.9,opacity:.15},{x:.25,width:.3,height:.7,opacity:.1},{x:.75,width:.3,height:.7,opacity:.1}],nodes:[{x:.5,y:.15},{x:.25,y:.25},{x:.75,y:.25},{x:.5,y:.5},{x:.25,y:.6},{x:.75,y:.6}]},nodes:{nodes:[{x:.2,y:.2},{x:.8,y:.2},{x:.15,y:.5},{x:.85,y:.5},{x:.2,y:.8},{x:.8,y:.8}]},grid:{lines:[.2,.35,.5,.65,.8]},matrix:{lines:[.2,.35,.5,.65,.8],rain:[.25,.5,.75]},glitch:{lines:[.2,.35,.5,.65,.8],scan:[.3,.7]}},E=({size:e,glowColor:t,variant:o="circuit",children:r})=>{let a=e/24,y=()=>B(D,{children:Zt.map((k,c)=>B(l,{style:{position:"absolute",width:k.size*a,height:k.size*a,borderRadius:k.size*a/2,backgroundColor:t,left:k.x*e-k.size*a/2,top:k.y*e-k.size*a/2,opacity:k.opacity}},`star-${c}`))}),h=()=>{let k=Qt[o];if(!k)return null;if(o==="circuit"){let c=k;return S(D,{children:[c.lines.map((p,C)=>B(l,{style:{position:"absolute",width:p.width*a,height:e*p.height,backgroundColor:t,left:p.x*e-p.width*a/2,top:e*.05,opacity:p.opacity}},`line-${C}`)),c.nodes.map((p,C)=>B(l,{style:{position:"absolute",width:2*a,height:2*a,borderRadius:a,backgroundColor:t,left:p.x*e-a,top:p.y*e-a,opacity:.4}},`node-${C}`))]})}if(o==="nodes")return B(D,{children:k.nodes.map((c,p)=>S(st,{children:[B(l,{style:{position:"absolute",width:Math.abs(.5-c.x)*e,height:.3*a,backgroundColor:t,left:Math.min(c.x*e,e/2),top:c.y*e,opacity:.1}}),B(l,{style:{position:"absolute",width:2*a,height:2*a,borderRadius:a,backgroundColor:t,left:c.x*e-a,top:c.y*e-a,opacity:.5}})]},`node-${p}`))});if(o==="grid"||o==="matrix")return B(D,{children:k.lines.map((c,p)=>S(st,{children:[B(l,{style:{position:"absolute",width:.2*a,height:e*.9,backgroundColor:t,left:c*e,top:e*.05,opacity:.05}}),B(l,{style:{position:"absolute",width:e*.9,height:.2*a,backgroundColor:t,left:e*.05,top:c*e,opacity:.05}})]},`grid-${p}`))});if(o==="glitch"){let c=k;return S(D,{children:[c.lines.map((p,C)=>B(l,{style:{position:"absolute",width:e*.4,height:.5*a,backgroundColor:t,left:e*(.1+C*.1),top:p*e,opacity:.2}},`glitch-${C}`)),c.scan.map((p,C)=>B(l,{style:{position:"absolute",width:e,height:a,backgroundColor:t,left:0,top:e*p,opacity:.15}},`scan-${C}`))]})}return null};return S(l,{style:{width:e,height:e,position:"relative"},children:[B(l,{style:{position:"absolute",width:e,height:e,borderRadius:e/2,backgroundColor:t,opacity:.05}}),B(l,{style:{position:"absolute",width:e*.9,height:e*.9,borderRadius:e*.9/2,borderWidth:.5*a,borderColor:t,opacity:.1,left:e*.05,top:e*.05}}),y(),h(),r]})};import{Fragment as Vt,jsx as G,jsxs as U}from"react/jsx-runtime";var ht={green:{color:"#00FF88",glow:"#00FF88"},cyan:{color:"#00D4FF",glow:"#00D4FF"},purple:{color:"#9945FF",glow:"#9945FF"},pink:{color:"#FF45FF",glow:"#FF45FF"},yellow:{color:"#FFD700",glow:"#FFD700"},orange:{color:"#FF8800",glow:"#FF8800"}},to=[1,3,5,7,9,11,13,15,17],oo=[2,4,6,8,10,12,14,16],q={x:5,width:10,y:5.5},eo=[{x:.3,y:.3},{x:.7,y:.3},{x:.5,y:.7}],dt=({size:e=24,color:t,glowColor:o,colorPreset:r="green",variant:a="circuit",noBackground:y=true})=>{let h=y?e/24:e/40,k=ht[r]||ht.green,c=t||k.color,p=o||k.glow,C=U(Vt,{children:[U(l,{style:{position:"absolute",width:20*h,height:8*h,backgroundColor:c,borderRadius:1*h,left:e/2-10*h,top:e/2+4*h,opacity:.85},children:[to.map((x,u)=>G(l,{style:{position:"absolute",width:1.5*h,height:1.2*h,backgroundColor:"#000",opacity:.3,left:x*h,top:1.5*h,borderRadius:.2*h}},`key1-${u}`)),oo.map((x,u)=>G(l,{style:{position:"absolute",width:1.5*h,height:1.2*h,backgroundColor:"#000",opacity:.3,left:x*h,top:3.2*h,borderRadius:.2*h}},`key2-${u}`)),G(l,{style:{position:"absolute",width:q.width*h,height:1*h,backgroundColor:"#000",opacity:.25,left:q.x*h,top:q.y*h,borderRadius:.2*h}})]}),G(l,{style:{position:"absolute",width:22*h,height:10*h,backgroundColor:p,borderRadius:1*h,left:e/2-11*h,top:e/2+3*h,opacity:.15}}),U(l,{style:{position:"absolute",width:18*h,height:12*h,backgroundColor:c,borderRadius:1*h,left:e/2-9*h,top:e/2-10*h,opacity:.9},children:[G(l,{style:{position:"absolute",width:16*h,height:10*h,backgroundColor:"#000",opacity:.5,left:1*h,top:1*h,borderRadius:.5*h}}),[2,4,6].map((x,u)=>G(l,{style:{position:"absolute",width:(10-u*3)*h,height:.5*h,backgroundColor:p,opacity:.6,left:2*h,top:x*h}},u))]}),G(l,{style:{position:"absolute",width:2*h,height:1*h,backgroundColor:p,borderRadius:.5*h,left:e/2-1*h,top:e/2+10*h,opacity:.8}}),eo.map((x,u)=>G(l,{style:{position:"absolute",width:1*h,height:1*h,borderRadius:.5*h,backgroundColor:p,left:e/2-9*h+x.x*18*h,top:e/2-10*h+x.y*12*h,opacity:.4}},`dot-${u}`))]});return y?G(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:C}):G(E,{size:e,glowColor:p,variant:a,children:C})};var ro=dt;import{QueryIcon as io}from"@buoy-gg/floating-tools-core/web";import{jsx as so}from"react/jsx-runtime";function ho({size:e=24}){return so(io,{size:e})}import{SentryIcon as ao}from"@buoy-gg/floating-tools-core/web";import{jsx as lo}from"react/jsx-runtime";function yo({size:e=24,color:t}){return lo(ao,{size:e,color:t??"#9945FF"})}import{Fragment as no}from"react";import{Fragment as co,jsx as N,jsxs as at}from"react/jsx-runtime";var lt={yellow:{color:"#FFD700",glow:"#FFD700"},cyan:{color:"#00D4FF",glow:"#00D4FF"},green:{color:"#00FF88",glow:"#00FF88"},purple:{color:"#9945FF",glow:"#9945FF"},pink:{color:"#FF45FF",glow:"#FF45FF"},orange:{color:"#FF8800",glow:"#FF8800"}},ko=[{y:.25,opacity:.9},{y:.45,opacity:.8},{y:.65,opacity:.7}],xo=({size:e=24,color:t,glowColor:o,colorPreset:r="yellow",variant:a="nodes",noBackground:y=true})=>{let h=y?e/24:e/26,k=lt[r]||lt.yellow,c=t||k.color,p=o||k.glow,C=(u,v,F)=>at(no,{children:[N(l,{style:{position:"absolute",width:18*h,height:8*h,borderRadius:4*h,backgroundColor:p,left:e/2-9*h,top:u*e-h,opacity:.1}}),N(l,{style:{position:"absolute",width:16*h,height:6*h,borderRadius:3*h,backgroundColor:c,left:e/2-8*h,top:u*e,opacity:v}}),N(l,{style:{position:"absolute",width:14*h,height:2*h,borderRadius:1*h,backgroundColor:"#fff",left:e/2-7*h,top:u*e+.5*h,opacity:.15}}),N(l,{style:{position:"absolute",width:16*h,height:6*h,borderRadius:3*h,borderWidth:.5*h,borderColor:p,backgroundColor:"transparent",left:e/2-8*h,top:u*e,opacity:.3}})]},`cylinder-${F}`),x=at(co,{children:[ko.map(({y:u,opacity:v},F)=>C(u,v,F)),[.35,.55].map((u,v)=>N(l,{style:{position:"absolute",width:.5*h,height:6*h,backgroundColor:p,left:e/2-.25*h,top:u*e,opacity:.3}},`connection-${v}`)),[.25,.45,.65].map((u,v)=>N(l,{style:{position:"absolute",width:1*h,height:1*h,borderRadius:.5*h,backgroundColor:p,left:e/2-.5*h,top:u*e+2.5*h,opacity:.6}},`dot-${v}`))]});return y?N(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:x}):N(E,{size:e,glowColor:p,variant:a,children:x})};import{Fragment as po,jsx as $,jsxs as go}from"react/jsx-runtime";var yt={cyan:{color:"#00D4FF",glow:"#00D4FF"},green:{color:"#00FF88",glow:"#00FF88"},purple:{color:"#9945FF",glow:"#9945FF"},pink:{color:"#FF45FF",glow:"#FF45FF"},yellow:{color:"#FFD700",glow:"#FFD700"},orange:{color:"#FF8800",glow:"#FF8800"}},bo=[{strength:1,size:15,topOffset:.55,opacity:.9},{strength:2,size:30,topOffset:.45,opacity:.8},{strength:3,size:45,topOffset:.35,opacity:.7},{strength:4,size:60,topOffset:.25,opacity:.6}],uo=[{x:.35,y:.5,minStrength:2},{x:.65,y:.5,minStrength:2},{x:.5,y:.3,minStrength:4}],Wo=({size:e=24,color:t,glowColor:o,strength:r=4,colorPreset:a="cyan",variant:y="nodes",noBackground:h=true,showSlash:k=false})=>{let c=e/60,p=2.5*c,C=r===0,x=yt[a]||yt.cyan,u=t||x.color,v=o||x.glow,F=C?"#333":u,L=C?"#333":v,M=go(po,{children:[$(l,{style:{position:"absolute",width:5*c,height:5*c,borderRadius:2.5*c,backgroundColor:F,left:e/2-2.5*c,top:e*.7,opacity:r>0?1:.3}}),bo.filter(z=>r>=z.strength).map((z,_)=>$(l,{style:{position:"absolute",width:z.size*c,height:z.size*c,borderRadius:z.size*c/2,borderWidth:p,borderColor:F,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent",left:e/2-z.size*c/2,top:e*z.topOffset,transform:[{rotate:"180deg"}],opacity:z.opacity}},`arc-${_}`)),r>0&&uo.filter(z=>r>=z.minStrength).map((z,_)=>$(l,{style:{position:"absolute",width:1.5*c,height:1.5*c,borderRadius:.75*c,backgroundColor:L,left:z.x*e-.75*c,top:z.y*e,opacity:.6}},`dot-${_}`)),k&&$(l,{style:{position:"absolute",width:e*.7,height:p*1.5,backgroundColor:F,left:e*.15,top:e*.5-p*.75,opacity:.9,transform:[{rotate:"45deg"}],borderRadius:p}})]});return h?$(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:M}):$(E,{size:e,glowColor:L,variant:y,children:M})};import{Fragment as nt}from"react";import{Fragment as ct,jsx as O,jsxs as Y}from"react/jsx-runtime";var kt={orange:{color:"#f59e0b",glow:"#f59e0b"},cyan:{color:"#00D4FF",glow:"#00D4FF"},purple:{color:"#a78bfa",glow:"#a78bfa"},pink:{color:"#FF45FF",glow:"#FF45FF"},yellow:{color:"#FFD700",glow:"#FFD700"},green:{color:"#00FF88",glow:"#00FF88"}},J=[{x:.5,y:.2,size:1.2,isActive:true},{x:.25,y:.45,size:1,isActive:false},{x:.75,y:.45,size:1,isActive:false},{x:.35,y:.7,size:.9,isActive:false},{x:.65,y:.7,size:.9,isActive:false}],wo=[{from:0,to:1},{from:0,to:2},{from:1,to:3},{from:2,to:4}],K=({size:e=24,color:t,glowColor:o,colorPreset:r="orange",variant:a="nodes",noBackground:y=true})=>{let h=y?e/24:e/26,k=kt[r]||kt.orange,c=t||k.color,p=o||k.glow,C=Y(ct,{children:[wo.map((x,u)=>{let v=J[x.from],F=J[x.to],L=v.x*e,M=v.y*e,z=F.x*e,_=F.y*e,Q=Math.sqrt(Math.pow(z-L,2)+Math.pow(_-M,2)),V=Math.atan2(_-M,z-L);return Y(nt,{children:[O(l,{style:{position:"absolute",width:Q,height:1.5*h,backgroundColor:p,left:L,top:M,opacity:.15,transform:[{translateY:-.75*h},{rotate:`${V}rad`}]}}),O(l,{style:{position:"absolute",width:Q,height:.8*h,backgroundColor:c,left:L,top:M,opacity:.5,transform:[{translateY:-.4*h},{rotate:`${V}rad`}]}}),[.3,.6].map((tt,Yt)=>O(l,{style:{position:"absolute",width:1*h,height:1*h,borderRadius:.5*h,backgroundColor:p,left:L+(z-L)*tt,top:M+(_-M)*tt,opacity:.7}},`dot-${u}-${Yt}`))]},`connection-${u}`)}),J.map((x,u)=>{let v=x.x*e-x.size*1.5*h,F=x.y*e-x.size*1.5*h;return Y(nt,{children:[O(l,{style:{position:"absolute",width:x.size*4*h,height:x.size*4*h,borderRadius:x.size*2*h,backgroundColor:p,left:v-x.size*.5*h,top:F-x.size*.5*h,opacity:x.isActive?.2:.1}}),O(l,{style:{position:"absolute",width:x.size*3*h,height:x.size*3*h,borderRadius:x.size*1.5*h,backgroundColor:c,left:v,top:F,opacity:x.isActive?.95:.75}}),O(l,{style:{position:"absolute",width:x.size*1.5*h,height:x.size*1.5*h,borderRadius:x.size*.75*h,backgroundColor:"#fff",left:v+x.size*.75*h,top:F+x.size*.75*h,opacity:.2}}),x.isActive&&Y(ct,{children:[O(l,{style:{position:"absolute",width:x.size*5*h,height:x.size*5*h,borderRadius:x.size*2.5*h,borderWidth:.5*h,borderColor:p,backgroundColor:"transparent",left:v-x.size*1*h,top:F-x.size*1*h,opacity:.4}}),O(l,{style:{position:"absolute",width:x.size*1*h,height:x.size*1*h,borderRadius:x.size*.5*h,backgroundColor:p,left:v+x.size*1*h,top:F+x.size*1*h,opacity:.9}})]})]},`node-${u}`)})]});return y?O(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:C}):O(E,{size:e,glowColor:p,variant:a,children:C})},fo=K,Co=K;import{jsx as j,jsxs as mo}from"react/jsx-runtime";var Z=({size:e=24,color:t="#00D4FF",glowColor:o})=>{let r=e/24,a=t,y=o||t;return mo(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:[j(l,{style:{position:"absolute",width:20*r,height:20*r,borderRadius:3*r,borderWidth:1.5*r,borderColor:y,backgroundColor:"transparent",left:e/2-10*r,top:e/2-10*r,opacity:.2}}),j(l,{style:{position:"absolute",width:15*r,height:15*r,borderRadius:2.5*r,borderWidth:1.5*r,borderColor:y,backgroundColor:"transparent",left:e/2-7.5*r,top:e/2-7.5*r,opacity:.4}}),j(l,{style:{position:"absolute",width:12*r,height:12*r,borderRadius:2*r,backgroundColor:y,left:e/2-6*r,top:e/2-6*r,opacity:.15}}),j(l,{style:{position:"absolute",width:10*r,height:10*r,borderRadius:1.5*r,backgroundColor:a,left:e/2-5*r,top:e/2-5*r,opacity:.9}}),j(l,{style:{position:"absolute",width:7*r,height:7*r,borderRadius:1*r,backgroundColor:"#000",left:e/2-3.5*r,top:e/2-3.5*r,opacity:.4}}),j(l,{style:{position:"absolute",width:4*r,height:1*r,borderRadius:.5*r,backgroundColor:y,left:e/2-2*r,top:e/2-2*r,opacity:.7}}),j(l,{style:{position:"absolute",width:3*r,height:1*r,borderRadius:.5*r,backgroundColor:y,left:e/2-2*r,top:e/2,opacity:.5}}),j(l,{style:{position:"absolute",width:2*r,height:1*r,borderRadius:.5*r,backgroundColor:y,left:e/2-2*r,top:e/2+2*r,opacity:.4}}),j(l,{style:{position:"absolute",width:6*r,height:1.5*r,borderRadius:.75*r,backgroundColor:"#fff",left:e/2-3*r,top:e/2-4.5*r,opacity:.2}}),[{x:.15,y:.15},{x:.85,y:.15},{x:.15,y:.85},{x:.85,y:.85}].map((h,k)=>j(l,{style:{position:"absolute",width:1.5*r,height:1.5*r,borderRadius:.75*r,backgroundColor:y,left:h.x*e-.75*r,top:h.y*e-.75*r,opacity:.6}},`corner-${k}`))]})},vo=Z,zo=Z;import{jsx as T,jsxs as Fo}from"react/jsx-runtime";var Ro=({size:e=24,color:t="#00D4FF",glowColor:o})=>{let r=e/24,a=t,y=o||t;return Fo(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:[T(l,{style:{position:"absolute",width:14*r,height:10*r,borderRadius:2*r,backgroundColor:y,left:e/2-7*r+3*r,top:e/2-5*r+3*r,opacity:.2}}),T(l,{style:{position:"absolute",width:14*r,height:10*r,borderRadius:2*r,backgroundColor:y,left:e/2-7*r+1.5*r,top:e/2-5*r+1.5*r,opacity:.35}}),T(l,{style:{position:"absolute",width:14*r,height:10*r,borderRadius:2*r,borderWidth:1.5*r,borderColor:a,backgroundColor:"transparent",left:e/2-7*r,top:e/2-5*r,opacity:.9}}),T(l,{style:{position:"absolute",width:6*r,height:1*r,borderRadius:.5*r,backgroundColor:a,left:e/2-5*r,top:e/2-2*r,opacity:.7}}),T(l,{style:{position:"absolute",width:4*r,height:1*r,borderRadius:.5*r,backgroundColor:a,left:e/2-5*r,top:e/2,opacity:.5}}),T(l,{style:{position:"absolute",width:8*r,height:8*r,borderRadius:4*r,backgroundColor:a,right:e*.1,top:e*.08,opacity:.9,alignItems:"center",justifyContent:"center"},children:T(l,{style:{width:3*r,height:4*r,borderRadius:.5*r,backgroundColor:"#000",opacity:.6}})}),T(l,{style:{position:"absolute",width:6*r,height:6*r,borderRadius:3*r,borderWidth:1*r,borderColor:y,borderRightColor:"transparent",borderBottomColor:"transparent",left:e*.08,bottom:e*.12,opacity:.6,transform:[{rotate:"-45deg"}]}}),T(l,{style:{position:"absolute",width:0,height:0,borderLeftWidth:2*r,borderRightWidth:2*r,borderBottomWidth:3*r,borderLeftColor:"transparent",borderRightColor:"transparent",borderBottomColor:y,left:e*.18,bottom:e*.22,opacity:.6,transform:[{rotate:"45deg"}]}})]})};import{jsx as A,jsxs as Bo}from"react/jsx-runtime";var Io=({size:e=24,color:t="#F59E0B",glowColor:o})=>{let r=e/24,a=t,y=o||t,h=e/2,k=e/2+1*r,c=7*r;return Bo(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:[A(l,{style:{position:"absolute",width:c*2,height:c*2,borderRadius:c,borderWidth:1.5*r,borderColor:a,backgroundColor:"transparent",left:h-c,top:k-c,opacity:.9}}),A(l,{style:{position:"absolute",width:10*r,height:10*r,borderRadius:5*r,backgroundColor:y,left:h-5*r,top:k-5*r,opacity:.15}}),A(l,{style:{position:"absolute",width:4*r,height:3*r,borderRadius:1*r,backgroundColor:a,left:h-2*r,top:k-c-3*r,opacity:.9}}),A(l,{style:{position:"absolute",width:2*r,height:2*r,backgroundColor:a,left:h-1*r,top:k-c-.5*r,opacity:.9}}),A(l,{style:{position:"absolute",width:1.5*r,height:5*r,borderRadius:1*r,backgroundColor:a,left:h-.75*r,top:k-5*r,opacity:.9,transform:[{rotate:"-45deg"}],transformOrigin:"bottom center"}}),A(l,{style:{position:"absolute",width:2*r,height:2*r,borderRadius:1*r,backgroundColor:a,left:h-1*r,top:k-1*r,opacity:.9}})]})};import{Fragment as Go}from"react";import{jsx as d,jsxs as W}from"react/jsx-runtime";var f=({width:e,height:t,viewBox:o,children:r,style:a,...y})=>{let[,,h,k]=o.split(" ").map(Number),c=e/h,p=t/k;return d(l,{style:[{width:e,height:t,position:"relative",overflow:"hidden"},a],...y,children:d(l,{style:{transform:[{scaleX:c},{scaleY:p}],transformOrigin:"top left",width:h,height:k},children:r})})},n=({x1:e,y1:t,x2:o,y2:r,stroke:a,strokeWidth:y=2})=>{let h=Math.sqrt(Math.pow(o-e,2)+Math.pow(r-t,2)),k=Math.atan2(r-t,o-e)*(180/Math.PI);return d(l,{style:{position:"absolute",left:e,top:t-y/2,width:h,height:y,backgroundColor:a,transform:[{rotate:`${k}deg`}],transformOrigin:"left center"}})},R=({cx:e,cy:t,r:o,fill:r,stroke:a,strokeWidth:y=2})=>{let h=o*2;return d(l,{style:{position:"absolute",left:e-o,top:t-o,width:h,height:h,borderRadius:o,backgroundColor:r||"transparent",borderColor:a,borderWidth:a?y:0}})},w=({x:e,y:t,width:o,height:r,fill:a,stroke:y,strokeWidth:h=2,rx:k=0})=>d(l,{style:{position:"absolute",left:e,top:t,width:o,height:r,backgroundColor:a||"transparent",borderColor:y,borderWidth:y?h:0,borderRadius:k}}),Oo=({size:e=1,color:t="currentColor",strokeWidth:o=2})=>{let r=.4666666666666667;return o=4*r,W(l,{style:{position:"relative",width:e,height:e},children:[d(l,{style:{position:"absolute",width:5*r,height:5*r,borderRadius:2.5*r,backgroundColor:t,bottom:0,left:e/2-2.5*r,zIndex:10}}),d(l,{style:{position:"absolute",bottom:-8*r,left:e/2-10*r,transform:[{rotate:"180deg"}]},children:d(l,{style:{width:20*r,height:20*r,borderRadius:10*r,borderWidth:o*r,borderColor:t,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"}})}),d(l,{style:{position:"absolute",bottom:-14*r,left:e/2-17*r,transform:[{rotate:"180deg"}]},children:d(l,{style:{width:34*r,height:34*r,borderRadius:17*r,borderWidth:o*r,borderColor:t,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"}})}),d(l,{style:{position:"absolute",bottom:-22*r,left:e/2-25*r,transform:[{rotate:"180deg"}]},children:d(l,{style:{width:50*r,height:50*r,borderRadius:25*r,borderWidth:o*r,borderColor:t,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"}})})]})};var xt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:8,cy:15,r:4,stroke:t,strokeWidth:o}),d(R,{cx:16,cy:15,r:4,stroke:t,strokeWidth:o}),d(R,{cx:12,cy:11,r:4,stroke:t,strokeWidth:o}),d(w,{x:8,y:13,width:8,height:6,fill:"white",stroke:"white"})]}),pt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:15,width:6,height:6,rx:2,stroke:t,strokeWidth:o}),d(w,{x:13,y:3,width:6,height:6,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:11,y1:15,x2:13,y2:9,stroke:t,strokeWidth:o})]}),gt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:3,y:9,width:5,height:6,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:9,x2:11,y2:6,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:15,x2:11,y2:18,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:9,x2:8,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:13,y1:9,x2:13,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:16,y1:7,x2:16,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:19,y1:5,x2:19,y2:19,stroke:t,strokeWidth:o})]});var bt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:7,y:11,width:10,height:10,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:11,x2:9,y2:6,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:11,x2:12,y2:4,stroke:t,strokeWidth:o}),d(n,{x1:15,y1:11,x2:15,y2:6,stroke:t,strokeWidth:o}),d(n,{x1:7,y1:14,x2:4,y2:12,stroke:t,strokeWidth:o})]});var jo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:3,width:14,height:4,rx:2,stroke:t,strokeWidth:o}),d(w,{x:5,y:7,width:14,height:4,stroke:t,strokeWidth:o}),d(w,{x:5,y:11,width:14,height:8,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:5,y1:7,x2:19,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:5,y1:11,x2:19,y2:11,stroke:t,strokeWidth:o})]}),Lo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>{let a=.6666666666666666;return d(l,{style:{width:e*1.5,height:e*1,alignItems:"center",justifyContent:"center"},children:W(l,{style:{transform:[{rotate:"20deg"}],position:"relative"},children:[d(l,{style:{width:20*a,height:26*a,backgroundColor:t,borderRadius:10*a,borderTopLeftRadius:10*a,borderTopRightRadius:10*a,borderBottomLeftRadius:12*a,borderBottomRightRadius:12*a}}),d(l,{style:{position:"absolute",width:12*a,height:8*a,backgroundColor:t,borderRadius:6*a,top:-4*a,left:4*a}}),d(l,{style:{position:"absolute",width:2*a,height:8*a,backgroundColor:t,top:-10*a,left:6*a,transform:[{rotate:"-15deg"}]}}),d(l,{style:{position:"absolute",width:2*a,height:8*a,backgroundColor:t,top:-10*a,right:6*a,transform:[{rotate:"15deg"}]}}),d(l,{style:{position:"absolute",width:3*a,height:3*a,backgroundColor:"#fff",borderRadius:1.5*a,top:-2*a,left:6*a}}),d(l,{style:{position:"absolute",width:3*a,height:3*a,backgroundColor:"#fff",borderRadius:1.5*a,top:-2*a,right:6*a}}),[0,1,2].map(y=>W(Go,{children:[d(l,{style:{position:"absolute",width:8*a,height:2*a,backgroundColor:t,top:(6+y*6)*a,left:-6*a,transform:[{rotate:"-45deg"}]}}),d(l,{style:{position:"absolute",width:8*a,height:2*a,backgroundColor:t,top:(6+y*6)*a,right:-6*a,transform:[{rotate:"45deg"}]}})]},y))]})})},Mo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>{let a=.6666666666666666;return W(l,{style:{width:e,height:e,alignItems:"center",justifyContent:"center"},children:[d(l,{style:{width:28*a,height:18*a,backgroundColor:t,borderRadius:2*a,marginBottom:-2*a}}),d(l,{style:{position:"absolute",width:24*a,height:14*a,backgroundColor:"#fff",borderRadius:1*a,top:11*a,opacity:.2}}),d(l,{style:{width:36*a,height:3*a,backgroundColor:t,borderRadius:1*a}}),d(l,{style:{position:"absolute",width:8*a,height:1*a,backgroundColor:"#fff",bottom:17*a,opacity:.3}})]})},To=({size:e=24,color:t=ot.env,strokeWidth:o=2,...r})=>{let a=e/24,y=18*a;return W(l,{style:{width:e,height:e},children:[d(l,{style:{position:"absolute",width:y,height:y,borderWidth:2*a,borderColor:t,borderRadius:y/2,top:(e-y)/2,left:(e-y)/2,backgroundColor:ot.blackTint1,shadowColor:t,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:4*a}}),d(l,{style:{position:"absolute",width:y,height:y,borderWidth:2*a,borderColor:t,borderRadius:y/2,top:(e-y)/2,left:(e-y)/2,transform:[{scaleX:.45}],opacity:.6}}),d(l,{style:{position:"absolute",width:y,height:y,borderWidth:2*a,borderColor:t,borderRadius:y/2,top:(e-y)/2,left:(e-y)/2,transform:[{scaleX:1.33},{scaleY:.6}],opacity:.6}})]})};var ut=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:12,x2:11,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:11,y1:15,x2:16,y2:9,stroke:t,strokeWidth:o})]});var No=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:2,width:14,height:20,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:2,x2:19,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:2,x2:14,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:7,x2:19,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:11,x2:9,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:11,x2:10,y2:11,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:15,x2:10,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:15,y1:11,x2:15,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:11,x2:15,y2:11,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:15,x2:15,y2:15,stroke:t,strokeWidth:o})]});var _o=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:7,width:14,height:14,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:3,y1:7,x2:21,y2:7,stroke:t,strokeWidth:o}),d(w,{x:9,y:3,width:6,height:4,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:10,y1:11,x2:10,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:11,x2:14,y2:17,stroke:t,strokeWidth:o})]});var Wt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:9,cy:8,r:3,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:4,top:14,width:10,height:6,borderRadius:5,borderWidth:o,borderColor:t,backgroundColor:"transparent"}}),d(R,{cx:16,cy:7,r:2,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:13,top:12,width:6,height:8,borderRadius:3,borderWidth:o,borderColor:t,backgroundColor:"transparent"}})]});var $o=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:5,cy:12,r:3,stroke:t,strokeWidth:o}),d(R,{cx:19,cy:12,r:3,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:12,x2:16,y2:12,stroke:t,strokeWidth:o}),d(n,{x1:13,y1:9,x2:16,y2:12,stroke:t,strokeWidth:o}),d(n,{x1:13,y1:15,x2:16,y2:12,stroke:t,strokeWidth:o})]}),wt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:12,y1:3,x2:3,y2:20,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:3,x2:21,y2:20,stroke:t,strokeWidth:o}),d(n,{x1:3,y1:20,x2:21,y2:20,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:9,x2:12,y2:13,stroke:t,strokeWidth:o}),d(R,{cx:12,cy:16,r:1,fill:t})]}),Ao=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:11,width:14,height:10,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:7,y1:11,x2:7,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:7,y1:7,x2:14,y2:7,stroke:t,strokeWidth:o}),d(R,{cx:12,cy:16,r:1,fill:t})]}),Do=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:3,y:3,width:18,height:18,rx:1,stroke:t,strokeWidth:o}),d(R,{cx:8,cy:8,r:2,fill:t}),d(n,{x1:3,y1:21,x2:10,y2:14,stroke:t,strokeWidth:o}),d(n,{x1:10,y1:14,x2:21,y2:21,stroke:t,strokeWidth:o})]}),So=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:3,width:14,height:18,stroke:t,strokeWidth:o}),d(w,{x:7,y:5,width:2,height:2,fill:t}),d(w,{x:7,y:17,width:2,height:2,fill:t}),d(w,{x:15,y:5,width:2,height:2,fill:t}),d(w,{x:15,y:17,width:2,height:2,fill:t}),d(n,{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:o})]}),Eo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:8,y1:6,x2:8,y2:18,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:6,x2:18,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:18,y1:3,x2:18,y2:8,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:10,x2:18,y2:8,stroke:t,strokeWidth:o}),d(R,{cx:8,cy:18,r:2,fill:t})]}),ft=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:13,r:9,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:2,x2:12,y2:4,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:2,x2:15,y2:2,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:13,x2:12,y2:8,stroke:t,strokeWidth:o})]}),Ct=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:6,y:2,width:12,height:20,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:6,y1:5,x2:18,y2:5,stroke:t,strokeWidth:o}),d(n,{x1:6,y1:19,x2:18,y2:19,stroke:t,strokeWidth:o}),d(n,{x1:10,y1:20.5,x2:14,y2:20.5,stroke:t,strokeWidth:o})]});var mt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:3,y:5,width:18,height:14,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:15,x2:12,y2:19,stroke:t,strokeWidth:o})]}),Po=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:8,x2:12,y2:12,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:11,top:15,width:2,height:2,borderRadius:1,backgroundColor:t}})]});var Xo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:12,y1:3,x2:12,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:11,x2:12,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:16,y1:11,x2:12,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:20,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:4,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:20,y1:17,x2:20,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:21,x2:20,y2:21,stroke:t,strokeWidth:o})]});var vt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:8,y:10,width:8,height:4,rx:2,stroke:t,strokeWidth:o}),d(w,{x:4,y:10,width:8,height:4,rx:2,stroke:t,strokeWidth:o}),d(w,{x:12,y:10,width:8,height:4,rx:2,stroke:t,strokeWidth:o})]});var Yo=_o,Ho=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:12,y1:15,x2:12,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:7,x2:12,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:16,y1:7,x2:12,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:20,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:4,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:20,y1:17,x2:20,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:21,x2:20,y2:21,stroke:t,strokeWidth:o})]});var Uo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:7,r:4,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:5,top:14,width:14,height:7,borderTopLeftRadius:7,borderTopRightRadius:7,borderWidth:o,borderColor:t,borderBottomColor:"transparent",backgroundColor:"transparent"}})]}),qo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:11,width:14,height:10,rx:1,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:7,top:4,width:10,height:9,borderTopLeftRadius:5,borderTopRightRadius:5,borderWidth:o,borderColor:t,borderBottomColor:"transparent",backgroundColor:"transparent"}}),d(l,{style:{position:"absolute",left:11,top:15,width:2,height:3,backgroundColor:t}})]}),Jo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:2,x2:12,y2:12,stroke:t,strokeWidth:o})]});var zt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:3,y1:3,x2:3,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:3,y1:21,x2:21,y2:21,stroke:t,strokeWidth:o}),d(w,{x:7,y:12,width:3,height:9,fill:t}),d(w,{x:12,y:8,width:3,height:13,fill:t}),d(w,{x:17,y:15,width:3,height:6,fill:t})]});var Ko=zt;var Zo=xt;var Qo=pt;var Vo=Ct;var te=ft,oe=mt;var ee=Wt,re=gt;import{jsx as i,jsxs as b}from"react/jsx-runtime";var g=({width:e,height:t,viewBox:o,children:r,style:a,...y})=>{let[,,h,k]=o.split(" ").map(Number),c=e/h,p=t/k;return i(l,{style:[{width:e,height:t,position:"relative",overflow:"hidden"},a],...y,children:i(l,{style:{transform:[{scaleX:c},{scaleY:p}],transformOrigin:"top left",width:h,height:k},children:r})})},s=({x1:e,y1:t,x2:o,y2:r,stroke:a,strokeWidth:y=2})=>{let h=Math.sqrt(Math.pow(o-e,2)+Math.pow(r-t,2)),k=Math.atan2(r-t,o-e)*(180/Math.PI);return i(l,{style:{position:"absolute",left:e,top:t-y/2,width:h,height:y,backgroundColor:a,transform:[{rotate:`${k}deg`}],transformOrigin:"left center"}})},m=({cx:e,cy:t,r:o,fill:r,stroke:a,strokeWidth:y=2})=>i(l,{style:{position:"absolute",left:e-o,top:t-o,width:o*2,height:o*2,borderRadius:o,backgroundColor:r||"transparent",borderColor:a,borderWidth:a?y:0}}),I=({x:e,y:t,width:o,height:r,fill:a,stroke:y,strokeWidth:h=2,rx:k=0,ry:c})=>i(l,{style:{position:"absolute",left:e,top:t,width:o,height:r,borderRadius:c!==void 0?Math.max(k,c):k,backgroundColor:a||"transparent",borderColor:y,borderWidth:y?h:0}}),ie=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:3,y1:12,x2:7,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:7,y1:12,x2:10,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:6,x2:14,y2:18,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:18,x2:17,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:17,y1:12,x2:21,y2:12,stroke:t,strokeWidth:o})]}),Ft=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:3,x2:3,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:3,x2:21,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:20,x2:21,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:12,y2:13,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:16,r:1,fill:t})]}),Rt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:20,y1:6,x2:9,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:17,x2:4,y2:12,stroke:t,strokeWidth:o})]}),se=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:10,x2:11,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:11,y1:15,x2:8,y2:12,stroke:t,strokeWidth:o})]}),he=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:6,y1:9,x2:12,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:15,x2:18,y2:9,stroke:t,strokeWidth:o})]}),Bt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:15,y1:18,x2:9,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:12,x2:15,y2:6,stroke:t,strokeWidth:o})]}),It=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:9,y1:18,x2:15,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:12,x2:9,y2:6,stroke:t,strokeWidth:o})]}),de=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:18,y1:15,x2:12,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:6,y2:15,stroke:t,strokeWidth:o})]}),Gt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:6,x2:12,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:16,y2:14,stroke:t,strokeWidth:o})]}),Ot=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:8,y:8,width:12,height:12,rx:1,stroke:t,strokeWidth:o}),i(l,{style:{position:"absolute",left:4,top:4,width:12,height:12,borderRadius:1,borderWidth:o,borderColor:t,borderRightColor:"transparent",borderBottomColor:"transparent",backgroundColor:"transparent"}})]}),ae=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:20,x2:20,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:4,x2:4,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:16,x2:4,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:20,x2:8,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:2,x2:22,y2:10,stroke:t,strokeWidth:o})]}),le=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(l,{style:{position:"absolute",left:2,top:8,width:20,height:8,borderWidth:o,borderColor:t,borderRadius:10}}),i(m,{cx:12,cy:12,r:3,stroke:t,strokeWidth:o})]}),ye=({size:e=24,color:t="currentColor",strokeWidth:o=2,active:r=false,...a})=>i(g,{width:e,height:e,viewBox:"0 0 24 24",...a,children:b(l,{style:{position:"absolute",width:24,height:24,transform:r?[{rotate:"-45deg"},{scale:.92}]:[{rotate:"0deg"},{scale:1}]},children:[i(s,{x1:2.97,y1:21.03,x2:8.18,y2:15.82,stroke:t,strokeWidth:o}),i(s,{x1:4.4,y1:10.81,x2:13.19,y2:19.6,stroke:t,strokeWidth:o}),i(s,{x1:5.17,y1:10.54,x2:11.43,y2:8.83,stroke:t,strokeWidth:o}),i(s,{x1:13.46,y1:18.83,x2:15.17,y2:12.57,stroke:t,strokeWidth:o}),i(l,{style:{position:"absolute",left:11.15,top:4.4,width:11.38,height:5.52,borderWidth:o,borderColor:t,borderRadius:2.07,transform:[{rotate:"-45deg"}]}})]})});var ne=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:17.94,y1:17.94,x2:14.12,y2:14.12,stroke:t,strokeWidth:o}),i(s,{x1:9.88,y1:9.88,x2:6.06,y2:6.06,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:21,x2:3,y2:3,stroke:t,strokeWidth:o}),i(l,{style:{position:"absolute",left:2,top:8,width:20,height:8,borderWidth:o,borderColor:t,borderRadius:10}})]}),jt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:4,y:2,width:12,height:20,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:2,x2:20,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:6,x2:20,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:22,x2:4,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:9,x2:8,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:11,x2:10,y2:13,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:9,x2:16,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:11,x2:14,y2:13,stroke:t,strokeWidth:o})]}),ce=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:4,y:2,width:12,height:20,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:2,x2:20,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:6,x2:20,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:22,x2:4,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:12,x2:16,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:16,x2:16,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:8,x2:13,y2:8,stroke:t,strokeWidth:o})]}),ke=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:22,y1:3,x2:2,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:3,x2:10,y2:12.5,stroke:t,strokeWidth:o}),i(s,{x1:22,y1:3,x2:14,y2:12.5,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:12.5,x2:10,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:12.5,x2:14,y2:21,stroke:t,strokeWidth:o})]}),xe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:10,y1:2,x2:10,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:2,x2:14,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:2,x2:16,y2:2,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:9,x2:4,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:9,x2:20,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:21,x2:20,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:16,x2:16,y2:16,stroke:t,strokeWidth:o})]}),pe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:6,y1:3,x2:6,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:6,y1:9,x2:18,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:18,y1:9,x2:18,y2:6,stroke:t,strokeWidth:o}),i(m,{cx:6,cy:18,r:3,stroke:t,strokeWidth:o}),i(m,{cx:18,cy:6,r:3,stroke:t,strokeWidth:o}),i(m,{cx:6,cy:6,r:3,stroke:t,strokeWidth:o})]}),Lt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:3,y:6,width:18,height:12,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:12,x2:21,y2:12,stroke:t,strokeWidth:o}),i(m,{cx:6,cy:15,r:1,fill:t}),i(m,{cx:9,cy:15,r:.5,fill:t}),i(s,{x1:18,y1:9,x2:21,y2:9,stroke:t,strokeWidth:o})]}),ge=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:4,y1:9,x2:20,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:15,x2:20,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:3,x2:8,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:3,x2:14,y2:21,stroke:t,strokeWidth:o})]}),be=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:16,x2:12,y2:12,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:8,r:1,fill:t})]}),Mt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:7,cy:12,r:5,stroke:t,strokeWidth:o}),i(m,{cx:7,cy:12,r:1.5,fill:t}),i(s,{x1:12,y1:12,x2:21,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:12,x2:19,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:12,x2:21,y2:14,stroke:t,strokeWidth:o})]}),ue=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:2,x2:2,y2:7,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:7,x2:12,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:22,y2:7,stroke:t,strokeWidth:o}),i(s,{x1:22,y1:7,x2:12,y2:2,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:12,x2:12,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:17,x2:22,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:17,x2:12,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:22,x2:22,y2:17,stroke:t,strokeWidth:o})]}),We=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>i(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:i(s,{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:o})}),Tt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:5,y1:9,x2:5,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:5,x2:9,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:5,x2:19,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:5,x2:19,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:15,x2:5,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:19,x2:9,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:19,x2:19,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:19,x2:19,y2:15,stroke:t,strokeWidth:o})]});var Nt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(m,{cx:8.5,cy:8.5,r:1.5,fill:t}),i(m,{cx:15.5,cy:8.5,r:1.5,fill:t}),i(m,{cx:8.5,cy:15.5,r:1.5,fill:t}),i(m,{cx:15.5,cy:15.5,r:1.5,fill:t})]}),we=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:6,y:4,width:4,height:16,stroke:t,strokeWidth:o,fill:t}),i(I,{x:14,y:4,width:4,height:16,stroke:t,strokeWidth:o,fill:t})]}),fe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:5,y1:3,x2:5,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:3,x2:19,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:12,x2:5,y2:21,stroke:t,strokeWidth:o})]}),Ce=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:5,x2:12,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:o})]}),me=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>{let a=15.162277660168378,y=12-2.846049894151541-3.0004;return b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(l,{style:{position:"absolute",left:5,top:5,width:14,height:14,borderRadius:7,borderWidth:2.4,borderTopColor:t,borderLeftColor:t,borderBottomColor:t,borderRightColor:"transparent"}}),i(l,{style:{position:"absolute",left:a,top:y,width:0,height:0,borderTopWidth:3.0004,borderBottomWidth:3.0004,borderLeftWidth:5.2,borderTopColor:"transparent",borderBottomColor:"transparent",borderLeftColor:t,transform:[{rotate:"45deg"}]}})]})},ve=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:3,y1:10,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:3,x2:21,y2:10,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:9,x2:5,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:9,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:21,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:21,x2:10,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:15,x2:14,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:15,x2:14,y2:21,stroke:t,strokeWidth:o})]}),ze=ve,Fe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:11,cy:11,r:8,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:21,x2:16.65,y2:16.65,stroke:t,strokeWidth:o})]}),Re=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:1,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:21,x2:12,y2:23,stroke:t,strokeWidth:o}),i(s,{x1:4.22,y1:4.22,x2:5.64,y2:5.64,stroke:t,strokeWidth:o}),i(s,{x1:18.36,y1:18.36,x2:19.78,y2:19.78,stroke:t,strokeWidth:o}),i(s,{x1:1,y1:12,x2:3,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:12,x2:23,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:4.22,y1:19.78,x2:5.64,y2:18.36,stroke:t,strokeWidth:o}),i(s,{x1:18.36,y1:5.64,x2:19.78,y2:4.22,stroke:t,strokeWidth:o})]}),_t=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:2,x2:5,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:5,x2:5,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:11,x2:12,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:22,x2:19,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:11,x2:19,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:5,x2:12,y2:2,stroke:t,strokeWidth:o})]}),$t=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:10,y:2,width:4,height:18,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:4,x2:16,y2:4,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:14,x2:14,y2:14,stroke:t,strokeWidth:o}),i(I,{x:11,y:15,width:2,height:4,fill:t})]}),At=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:3,y1:6,x2:21,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:6,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:21,x2:5,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:21,x2:5,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:11,x2:10,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:11,x2:14,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:6,x2:8,y2:4,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:4,x2:16,y2:4,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:4,x2:16,y2:6,stroke:t,strokeWidth:o})]}),Dt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:18,y1:6,x2:6,y2:18,stroke:t,strokeWidth:o}),i(s,{x1:6,y1:6,x2:18,y2:18,stroke:t,strokeWidth:o})]}),Be=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:9,x2:9,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:9,x2:15,y2:15,stroke:t,strokeWidth:o})]}),St=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:13,y1:2,x2:3,y2:14,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:14,x2:10,y2:14,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:14,x2:11,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:11,y1:22,x2:21,y2:10,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:10,x2:14,y2:10,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:10,x2:13,y2:2,stroke:t,strokeWidth:o})]}),Et=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>i(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:i(I,{x:3,y:3,width:18,height:18,rx:2,stroke:t,strokeWidth:o})}),Pt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:3,y:3,width:18,height:18,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:12,x2:11,y2:14,stroke:t,strokeWidth:o}),i(s,{x1:11,y1:14,x2:15,y2:10,stroke:t,strokeWidth:o})]}),Xt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:5,y1:3,x2:9,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:3,x2:19,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:21,x2:9,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:21,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:5,x2:3,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:15,x2:3,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:5,x2:21,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:15,x2:21,y2:19,stroke:t,strokeWidth:o})]}),Ie=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:21,y1:16,x2:21,y2:8,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:8,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:3,x2:3,y2:8,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:8,x2:3,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:16,x2:12,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:21,x2:21,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:21,x2:12,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:3,y2:8,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:21,y2:8,stroke:t,strokeWidth:o})]}),Ge=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:3,y:3,width:18,height:18,rx:4,ry:4,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:8,x2:12,y2:12,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:16,r:1,fill:t})]}),Oe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:13,x2:12,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:11,x2:12,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:10,y2:7,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:14,y2:7,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:17,r:1,fill:t})]}),je=ie,Le=Ft,Me=Ie,Te=Rt,Ne=se,_e=he,$e=Bt,Ae=It,De=de,Se=Gt,Ee=Ot,Pe=ae,Xe=le,Ye=ne,He=jt,Ue=ce,qe=ke,Je=xe,Ke=pe,Ze=Lt,Qe=ge,Ve=be,tr=Mt,or=ue,er=Tt,rr=We,ir=Nt,sr=we,hr=fe,dr=Ce,ar=me,lr=Fe,yr=Re,nr=_t,cr=$t,kr=At,xr=Dt,pr=Be,gr=St,br=Et,ur=Pt,Wr=Xt;var wr=ut;var fr=vt,Cr=bt,mr=$o;var vr=wt;var zr=Ko,Fr=zt,Rr=Zo,Br=xt;var Ir=So;var Gr=Do;var Or=Eo;var jr=Qo,Lr=pt,Mr=Vo,Tr=Ct,Nr=te,_r=ft,$r=oe,Ar=mt,Dr=ee,Sr=Wt,Er=re,Pr=gt,Xr=Lo,Yr=jo,Hr=To,Ur=Oo,qr=Po,Jr=ut,Kr=Mo,Zr=Jo,Qr=Ho,Vr=Xo,ti=qo,oi=Ao,ei=No,ri=vt,ii=bt;var si=Yo,hi=wt,di=Uo;import{NetworkIcon as ai,NETWORK_ICON_COLOR as li}from"@buoy-gg/floating-tools-core/web";import{EnvIcon as yi,ENV_ICON_COLOR as ni}from"@buoy-gg/floating-tools-core/web";import{ConsoleIcon as ci,CONSOLE_ICON_COLOR as ki}from"@buoy-gg/floating-tools-core/web";import{TimeMachineIcon as xi,TIME_MACHINE_ICON_COLOR as pi}from"@buoy-gg/floating-tools-core/web";import{ImagesIcon as gi,IMAGES_ICON_COLOR as bi}from"@buoy-gg/floating-tools-core/web";import{AssetsIcon as ui,ASSETS_ICON_COLOR as Wi}from"@buoy-gg/floating-tools-core/web";import{ImpersonateIcon as wi,IMPERSONATE_ICON_COLOR as fi}from"@buoy-gg/floating-tools-core/web";import{ImageOverlayIcon as Ci,IMAGE_OVERLAY_ICON_COLOR as mi}from"@buoy-gg/floating-tools-core/web";import{ZustandIcon as vi,ZUSTAND_ICON_COLOR as zi}from"@buoy-gg/floating-tools-core/web";import{JotaiIcon as Fi,JOTAI_ICON_COLOR as Ri}from"@buoy-gg/floating-tools-core/web";import{ActivityGlyph as Bi,AlertCircleGlyph as Ii,AlertTriangleGlyph as Gi,BookmarkGlyph as Oi,BoxGlyph as ji,BugGlyph as Li,CheckCircleGlyph as Mi,CheckGlyph as Ti,ChevronDownGlyph as Ni,ChevronLeftGlyph as _i,ChevronRightGlyph as $i,ChevronUpGlyph as Ai,ClockGlyph as Di,CopyGlyph as Si,DatabaseGlyph as Ei,DockBottomGlyph as Pi,DownloadGlyph as Xi,Edit3Glyph as Yi,EyeOffGlyph as Hi,EyeGlyph as Ui,FileJsonGlyph as qi,FileTextGlyph as Ji,FilmGlyph as Ki,FilterGlyph as Zi,FlaskConicalGlyph as Qi,FloatWindowGlyph as Vi,GitBranchGlyph as ts,GlobeGlyph as os,HashGlyph as es,HomeGlyph as rs,ImageGlyph as is,InfoGlyph as ss,KeyGlyph as hs,LayersGlyph as ds,LinkGlyph as as,LockGlyph as ls,MinusGlyph as ys,MusicGlyph as ns,NavigationGlyph as cs,PaletteGlyph as ks,PauseGlyph as xs,PlayGlyph as ps,PlusGlyph as gs,PowerGlyph as bs,RefreshCwGlyph as us,SearchGlyph as Ws,ServerGlyph as ws,SettingsGlyph as fs,SettingsSolidIcon as Cs,ShieldGlyph as ms,Trash2Glyph as vs,Trash2Glyph as zs,UnlockGlyph as Fs,UploadGlyph as Rs,UserGlyph as Bs,WifiGlyph as Is,XCircleGlyph as Gs,XGlyph as Os,ZapGlyph as js}from"@buoy-gg/floating-tools-core/web";import{SentryIcon as Ls,EventsIcon as Ms,RoutesIcon as Ts,RoutePinIcon as Ns,RoutePathIcon as _s,RouteDotIcon as $s,RouteTwoPinsIcon as As,CameraIcon as Ds,HighlightIcon as Ss,ReduxIcon as Es,StorageIcon as Ps,AskBuoyIcon as Xs,HighlighterIcon as Ys,QueryIcon as Hs,ScenariosIcon as Us}from"@buoy-gg/floating-tools-core/web";import{WifiIcon as qs,BenchmarkIcon as Js,BENCHMARK_ICON_COLOR as Ks}from"@buoy-gg/floating-tools-core/web";import{NotificationsIcon as Zs,NOTIFICATIONS_ICON_COLOR as Qs}from"@buoy-gg/floating-tools-core/web";import{monoFont as Vs}from"@buoy-gg/floating-tools-core/web";export{et as a,X as b,Ht as c,Ut as d,it as e,Kt as f,E as g,dt as h,ro as i,ho as j,yo as k,xo as l,Wo as m,K as n,fo as o,Co as p,Z as q,vo as r,zo as s,Ro as t,Io as u,Ft as v,Rt as w,Bt as x,It as y,Gt as z,Ot as A,ye as B,jt as C,Lt as D,Mt as E,Tt as F,Nt as G,ze as H,_t as I,$t as J,At as K,Dt as L,St as M,Et as N,Pt as O,Xt as P,Ge as Q,Oe as R,je as S,Le as T,Me as U,Te as V,Ne as W,_e as X,$e as Y,Ae as Z,De as _,Se as $,Ee as aa,Pe as ba,Xe as ca,Ye as da,He as ea,Ue as fa,qe as ga,Je as ha,Ke as ia,Ze as ja,Qe as ka,Ve as la,tr as ma,or as na,er as oa,rr as pa,ir as qa,sr as ra,hr as sa,dr as ta,ar as ua,lr as va,yr as wa,nr as xa,cr as ya,kr as za,xr as Aa,pr as Ba,gr as Ca,br as Da,ur as Ea,Wr as Fa,wr as Ga,fr as Ha,Cr as Ia,mr as Ja,vr as Ka,zr as La,Fr as Ma,Rr as Na,Br as Oa,Ir as Pa,Gr as Qa,Or as Ra,jr as Sa,Lr as Ta,Mr as Ua,Tr as Va,Nr as Wa,_r as Xa,$r as Ya,Ar as Za,Dr as _a,Sr as $a,Er as ab,Pr as bb,Xr as cb,Yr as db,Hr as eb,Ur as fb,qr as gb,Jr as hb,Kr as ib,Zr as jb,Qr as kb,Vr as lb,ti as mb,oi as nb,ei as ob,ri as pb,ii as qb,si as rb,hi as sb,di as tb,ai as ub,li as vb,yi as wb,ni as xb,ci as yb,ki as zb,xi as Ab,pi as Bb,gi as Cb,bi as Db,ui as Eb,Wi as Fb,wi as Gb,fi as Hb,Ci as Ib,mi as Jb,vi as Kb,zi as Lb,Fi as Mb,Ri as Nb,Bi as Ob,Ii as Pb,Gi as Qb,Oi as Rb,ji as Sb,Li as Tb,Mi as Ub,Ti as Vb,Ni as Wb,_i as Xb,$i as Yb,Ai as Zb,Di as _b,Si as $b,Ei as ac,Pi as bc,Xi as cc,Yi as dc,Hi as ec,Ui as fc,qi as gc,Ji as hc,Ki as ic,Zi as jc,Qi as kc,Vi as lc,ts as mc,os as nc,es as oc,rs as pc,is as qc,ss as rc,hs as sc,ds as tc,as as uc,ls as vc,ys as wc,ns as xc,cs as yc,ks as zc,xs as Ac,ps as Bc,gs as Cc,bs as Dc,us as Ec,Ws as Fc,ws as Gc,fs as Hc,Cs as Ic,ms as Jc,vs as Kc,zs as Lc,Fs as Mc,Rs as Nc,Bs as Oc,Is as Pc,Gs as Qc,Os as Rc,js as Sc,Ls as Tc,Ms as Uc,Ts as Vc,Ns as Wc,_s as Xc,$s as Yc,As as Zc,Ds as _c,Ss as $c,Es as ad,Ps as bd,Xs as cd,Ys as dd,Hs as ed,Us as fd,qs as gd,Js as hd,Ks as id,Zs as jd,Qs as kd,Vs as ld};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{night as k}from"./chunk-XRNB2MHO.mjs";var J=-40;var Q=20;var Z=10;function ee(){return window.innerHeight/2}function te(){const e=130;return ee()-e}function ne(){const e=te();const n=e+J;const o=n-Q;return o-Z}import{useState as oe,useRef as S,useCallback as F,useEffect as w,useMemo as ie,Children as re}from"react";import{useFloatingTools as he,FloatingToolsProvider as be,useFloatingToolsContext as we,interleaveWithDividers as ve,floatingToolsColors as p,withAlpha as P,getUserStatusConfig as ye,getGripIconLayout as xe,interpolatePosition as Se,easing as Te,VISIBLE_HANDLE_WIDTH as se,ANIMATION_DURATION as Pe}from"@buoy-gg/floating-tools-react/web/floating";import{jsx as c,jsxs as O}from"react/jsx-runtime";var W={getItem:e=>localStorage.getItem(e),setItem:(e,n)=>localStorage.setItem(e,n)};var ae="#A0A0A0";function Ce({size:e=24,color:n=P(ae,"CC")}){const o=xe(e);return c("div",{style:{width:e,height:e,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},children:[0,1].map(a=>c("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",marginLeft:o.columnGap/2,marginRight:o.columnGap/2},children:[0,1,2].map(f=>c("div",{style:{width:o.dotSize,height:o.dotSize,borderRadius:o.dotSize/2,backgroundColor:n,marginTop:o.rowGap/2,marginBottom:o.rowGap/2}},f))},a))})}function le(){return c("div",{style:{width:1,height:12,backgroundColor:P(p.muted,"66"),flexShrink:0}})}var De={success:p.success,optional:p.optional,muted:p.muted,secondary:ae};function Ie({userRole:e,onPress:n}){const{isDragging:o}=we();const a=ye(e,De);const f=g=>{if(!o&&n){g.stopPropagation();n()}};return O("button",{role:"button","aria-label":`User status: ${a.label}`,onClick:f,style:{display:"flex",flexDirection:"row",alignItems:"center",paddingTop:6,paddingBottom:6,paddingLeft:8,paddingRight:8,flexShrink:0,cursor:n&&!o?"pointer":"default",background:"none",border:"none",margin:0},children:[c("div",{style:{width:6,height:6,borderRadius:3,backgroundColor:a.dotColor,marginRight:4}}),c("span",{style:{fontSize:10,fontWeight:500,color:a.textColor,letterSpacing:.3,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',lineHeight:"normal"},children:a.label})]})}function Re(){const e=S(null);const[n,o]=oe({x:0,y:0});const a=F((f,g,T)=>{if(e.current){cancelAnimationFrame(e.current)}const C=performance.now();const l=v=>{const z=v-C;const D=Math.min(z/Pe,1);const R=Se(f,g,D,Te.easeOutCubic);o(R);if(D<1){e.current=requestAnimationFrame(l)}else{o(g);T?.()}};e.current=requestAnimationFrame(l)},[]);w(()=>{return()=>{if(e.current){cancelAnimationFrame(e.current)}}},[]);return{position:n,setPosition:o,animateTo:a}}var ce=null;function Ae(){return ce}function He({id:e,revealToken:n,variant:o="bubble",dragFromSurface:a=false,accessibilityLabel:f="Drag handle",accessory:g,handleAdornment:T,enablePositionPersistence:C=true,children:l,pushToSide:v=false,suspendPointerEvents:z=false,centerOnboarding:D=false,minimizedStack:R,hasMinimizedStack:X=false}){const y=S(null);const ue=ie(()=>e?{getItem:t=>W.getItem(`@buoy/floating-tool/${e}/${t}`),setItem:(t,r)=>W.setItem(`@buoy/floating-tool/${e}/${t}`,r)}:W,[e]);const{state:i,actions:s,isInitialized:u}=he({screenSize:{width:window.innerWidth,height:window.innerHeight},enablePositionPersistence:C,storage:ue});const{position:x,setPosition:A,animateTo:h}=Re();w(()=>{if(u){A(i.position)}},[u,i.position,A]);w(()=>{if(!e)ce={x:x.x,y:x.y}},[x,e]);w(()=>{if(!u)return;const t=()=>{const m=y.current?.getBoundingClientRect();if(m&&m.width>0&&m.height>0)s.setBubbleSize({width:m.width,height:m.height})};const r=()=>{s.setScreenSize(window.innerWidth,window.innerHeight);t()};t();const b=typeof ResizeObserver!=="undefined"?new ResizeObserver(t):null;if(y.current)b?.observe(y.current);window.addEventListener("resize",r);return()=>{b?.disconnect();window.removeEventListener("resize",r)}},[s,u]);w(()=>{const t=document.createElement("div");t.style.cssText="position:fixed;top:env(safe-area-inset-top);left:env(safe-area-inset-left);visibility:hidden;pointer-events:none";document.body.appendChild(t);const r=t.getBoundingClientRect();document.body.removeChild(t);if(r.top>0||r.left>0){s.setMinPosition({x:Math.max(r.left,10),y:Math.max(r.top,10)})}},[s]);const[N,U]=oe(false);const j=F(t=>{t.stopPropagation();t.preventDefault();U(true);s.handleDragStart({clientX:t.clientX,clientY:t.clientY})},[s]);const L=S(false);const fe=t=>{if(t.button!==0||!(t.target instanceof Element))return;if(t.target.closest('button, a, input, select, textarea, [role="button"], [role="switch"], [role="slider"], [role="checkbox"], [role="radio"], [contenteditable="true"], [data-floating-accessory]'))return;L.current=true;j(t)};const B=F(t=>{const r=s.handleDragMove({clientX:t.clientX,clientY:t.clientY});if(r.isDragging){A(r.position)}},[s,A]);const I=F(t=>{U(false);const r=s.handleDragEnd({clientX:t.clientX,clientY:t.clientY});const b=L.current;L.current=false;if(r.wasTap&&!b){const m=s.toggleHideShow();h(i.position,m.targetPosition,()=>{s.commitPosition(m.targetPosition)})}else if(r.shouldHide){h(i.position,r.position,()=>{s.commitPosition(r.position)})}},[s,h,i.position]);w(()=>{if(N){window.addEventListener("pointermove",B);window.addEventListener("pointerup",I);window.addEventListener("pointercancel",I);return()=>{window.removeEventListener("pointermove",B);window.removeEventListener("pointerup",I);window.removeEventListener("pointercancel",I)}}},[N,B,I]);const H=S(i.position);H.current=i.position;const M=S(i.isHidden);M.current=i.isHidden;const E=S(false);w(()=>{if(!u)return;if(v&&!E.current){if(M.current)return;E.current=true;const{targetPosition:t}=s.forceHide();h(H.current,t,()=>{})}else if(!v&&E.current){E.current=false;if(!M.current)return;const{targetPosition:t}=s.forceShow();const r=y.current?.getBoundingClientRect().width??100;const b={x:Math.max(10,Math.min(t.x,window.innerWidth-r-10)),y:t.y};h(H.current,b,()=>{s.commitPosition(b)})}},[v,u]);w(()=>{if(!D||!u)return;const t=y.current?.getBoundingClientRect().width??100;const r=y.current?.getBoundingClientRect().height??32;const b=ne();const m={x:(window.innerWidth-t)/2,y:window.innerHeight-b-r};h(H.current,m,()=>{})},[D,u]);const q=S(void 0);w(()=>{if(!u||q.current===n)return;q.current=n;if(n!==void 0&&n>0&&i.isHidden){const{targetPosition:t}=s.forceShow();h(i.position,t,()=>s.commitPosition(t))}},[n,u,i.isHidden,i.position,s,h]);const me=ie(()=>o==="strip"?re.toArray(l):ve(re.toArray(l),t=>c(le,{},t)),[l,o]);if(!u){return null}const K=Math.max(0,x.y-8);const V=Math.max(0,window.innerHeight-x.y-i.bubbleSize.height-8);const pe=K>V;return O("div",{ref:y,"data-testid":e??"buoy-floating-tool",role:"toolbar","aria-label":"Floating Tools",onPointerDown:a?fe:void 0,style:{position:"fixed",left:x.x,top:x.y,zIndex:9999,display:"flex",flexDirection:"row",alignItems:"center",backgroundColor:p.panel,borderTopLeftRadius:X?0:6,borderTopRightRadius:6,borderBottomLeftRadius:6,borderBottomRightRadius:6,borderWidth:i.isDragging?2:1,borderTopWidth:i.isDragging?2:X?0:1,borderStyle:"solid",borderColor:i.isDragging?p.dragActive:P(p.muted,"66"),boxShadow:i.isDragging?`0 6px 12px ${P(p.dragActive,.36)}`:"0 4px 8px rgba(0, 0, 0, 0.3)",cursor:a?i.isDragging?"grabbing":"grab":void 0,userSelect:"none",touchAction:"none",pointerEvents:z?"none":"auto",...o==="strip"?{borderRadius:k.radius.card,minHeight:48,backgroundColor:k.color.surface,borderColor:i.isDragging?k.color.accentBorderStrong:k.color.separator,boxShadow:"0 4px 16px rgba(0, 0, 0, 0.24)"}:{}},children:[R&&c("div",{style:{position:"absolute",bottom:"100%",left:-1,width:se,overflow:"visible",zIndex:1001},children:R}),O("div",{role:"button","aria-label":f,"data-testid":e?`${e}-grip`:"buoy-floating-grip",tabIndex:0,onPointerDown:j,onKeyDown:t=>{if(t.key!=="Enter"&&t.key!==" ")return;t.preventDefault();const r=s.toggleHideShow();h(i.position,r.targetPosition,()=>s.commitPosition(r.targetPosition))},style:{touchAction:"none",paddingLeft:6,paddingRight:6,paddingTop:6,paddingBottom:6,backgroundColor:P(p.muted,"1A"),display:"flex",alignItems:"center",justifyContent:"center",width:se,boxSizing:"border-box",borderRight:`1px solid ${P(p.muted,"66")}`,cursor:i.isDragging?"grabbing":"grab",...o==="strip"?{minHeight:48,backgroundColor:"transparent",borderRight:"none",flexDirection:"column"}:{}},children:[c(Ce,{size:o==="strip"?20:12}),T]}),c(be,{value:{isDragging:i.isDragging,isHidden:i.isHidden},children:c("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:6,paddingRight:8},children:me})}),!i.isHidden&&g&&c("div",{"data-floating-accessory":true,style:{position:"absolute",...pe?{bottom:"100%"}:{top:"100%"},left:0,width:"100%",maxHeight:Math.max(K,V),overflowY:"auto",zIndex:1002},children:g})]})}var d=[];var Ee=0;var $=new Set;var G=()=>$.forEach(e=>e());var Y=()=>d;var _=e=>{$.add(e);return()=>{$.delete(e)}};function ke(e){if(!e.id.trim())throw new Error("Floating tools need a non-empty id");const n={...e,revealToken:++Ee};d=d.some(o=>o.id===e.id)?d.map(o=>o.id===e.id?n:o):[...d,n];G()}function de(e){if(!d.some(n=>n.id===e))return;d=d.filter(n=>n.id!==e);G()}function Fe(e,n){if(!e.id.trim())throw new Error("Floating tools need a non-empty id");const o=`@buoy/floating-tool/${e.id}/open`;let a=false;let f=false;let g=d.some(l=>l.id===e.id);let T=Promise.resolve();const C=_(()=>{const l=d.some(v=>v.id===e.id);if(l===g)return;g=l;f=true;T=T.then(()=>n.setItem(o,l?"1":"0")).then(()=>{},()=>{})});void n.getItem(o).then(l=>{if(a||f||g||l!=="1")return;d=[...d,{...e,revealToken:0}];G()}).catch(()=>{});return()=>{a=true;C()}}import{Fragment as ze,useSyncExternalStore as Le}from"react";import{jsx as ge}from"react/jsx-runtime";function Be(){const e=Le(_,Y,Y);return ge("div",{style:{position:"fixed",inset:0,pointerEvents:"none",zIndex:1e4},children:e.map(n=>ge(ze,{children:n.render({id:n.id,revealToken:n.revealToken,dismiss:()=>de(n.id)})},n.id))})}export{J as ARROW_BOTTOM_OFFSET,Q as ARROW_HEIGHT,Z as SPACING_GAP,ee as getScreenCenterY,te as calculateTooltipPosition,ne as calculateTargetPosition,le as Divider,Ie as UserStatus,Ae as getBubbleAnchorPosition,He as FloatingTool,Y as getFloatingTools,_ as subscribeFloatingTools,ke as openFloatingTool,de as dismissFloatingTool,Fe as registerPersistentFloatingTool,Be as FloatingToolHost};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client";import{c as W}from"./chunk-5KWAGM5V.mjs";import{A as Y,G as $,H as r,W as te,p as C,q as m,s as A,u as I,x as R,z as L}from"./chunk-3UTMGIUG.mjs";import{useCallback as ae,useEffect as ne,useRef as j,useState as q}from"react";var T=new Map;function se(e){try{return JSON.parse(e)}catch{return}}function ie(e,t,a={}){let[i,l]=q(()=>T.has(e)?T.get(e):t),[y,g]=q(()=>T.has(e)),c=j(e);c.current=e;let d=j(a);d.current=a,ne(()=>{if(T.has(e)){l(T.get(e)),g(true);return}let o=false,S=d.current.storage??W,p=d.current.parse??se;return S.getItem(e).then(h=>{if(!o){if(h!=null){let u;try{u=p(h)}catch{}u!==void 0&&(T.set(e,u),l(u))}g(true)}}).catch(()=>{o||g(true)}),()=>{o=true}},[e]);let v=ae(o=>{l(S=>{let p=typeof o=="function"?o(S):o;T.set(c.current,p);let h=d.current.storage??W,u=d.current.serialize??JSON.stringify;try{h.setItem(c.current,u(p)).catch(()=>{})}catch{}return p})},[]);return[i,v,y]}function re(){T.clear()}import{useCallback as P,useEffect as z,useMemo as le,useState as O}from"react";function oe(e,t={}){let[a,i]=O(()=>e.getAll()),[l,y]=O(()=>t.initialFilter??{}),[g,c]=O(()=>e.getEnabled());z(()=>e.subscribe(i),[e]);let d=t.filterItems,v=le(()=>d?d(a,l):a,[a,l,d]),o=P(()=>{e.clear()},[e]),S=P(()=>{let h=!g;e.setEnabled(h),c(h)},[e,g]),p=P(h=>e.getById(h),[e]);return{items:a,filteredItems:v,filter:l,setFilter:y,isEnabled:g,toggleCapture:S,clear:o,getById:p}}function ce(e,t){let[a,i]=O(e);return z(()=>t(i),[t]),a}import{useCallback as de,useEffect as ue,useState as K}from"react";function fe(e,t={}){let{enabled:a=true,maxEvents:i=500,select:l}=t,[y,g]=K([]),[c,d]=K(a);ue(()=>{if(!a){d(false);return}let o=null,S=null,p=e.subscribeToEvents(h=>{S=h,o==null&&(o=requestAnimationFrame(()=>{if(o=null,!S)return;let u=S;S=null,l&&(u=l(u)),u.length>i&&(u=u.slice(0,i)),g(u)}))});return d(true),()=>{p(),o!=null&&cancelAnimationFrame(o)}},[e,a,i,l]);let v=de(()=>{e.clearEvents()},[e]);return{events:y,clearEvents:v,isActive:c}}import{useState as b,useEffect as w,useCallback as ge}from"react";async function U(){let[e,t,a]=await Promise.all([m.isScreenReaderEnabled(),m.isReduceMotionEnabled(),m.isReduceTransparencyEnabled()]),i={isScreenReaderEnabled:e,isReduceMotionEnabled:t,isReduceTransparencyEnabled:a};if(r.OS==="ios"){let[l,y,g,c,d]=await Promise.all([m.isBoldTextEnabled?.()??Promise.resolve(false),m.isGrayscaleEnabled?.()??Promise.resolve(false),m.isInvertColorsEnabled?.()??Promise.resolve(false),m.isDarkerSystemColorsEnabled?.()??Promise.resolve(false),m.prefersCrossFadeTransitions?.()??Promise.resolve(false)]);i.isBoldTextEnabled=l,i.isGrayscaleEnabled=y,i.isInvertColorsEnabled=g,i.isDarkerSystemColorsEnabled=c,i.prefersCrossFadeTransitions=d}if(r.OS==="android"){let l=await m.isHighTextContrastEnabled?.()??false;i.isHighTextContrastEnabled=l}return i}function k(){let e=r.constants,t={os:r.OS,version:r.Version,reactNativeVersion:e.reactNativeVersion,isTesting:r.isTesting??false,isDisableAnimations:e.isDisableAnimations??false};return r.OS==="ios"?{...t,osVersion:e.osVersion,systemName:e.systemName,interfaceIdiom:e.interfaceIdiom,isPad:r.isPad,isTV:r.isTV,isVision:r.isVision??false,isMacCatalyst:r.isMacCatalyst??false,forceTouchAvailable:e.forceTouchAvailable}:r.OS==="android"?{...t,apiLevel:e.Version,release:e.Release,brand:e.Brand,manufacturer:e.Manufacturer,model:e.Model,fingerprint:e.Fingerprint,serial:e.Serial,uiMode:e.uiMode}:t}function M(){let e=R.get("window"),t=R.get("screen"),a={window:{width:e.width,height:e.height,scale:e.scale,fontScale:e.fontScale},screen:{width:t.width,height:t.height,scale:t.scale,fontScale:t.fontScale},pixelRatio:$.get(),fontScale:$.getFontScale(),isLandscape:e.width>e.height,isPortrait:e.height>e.width};if(r.OS==="ios")try{let i=C.DeviceInfo?.getConstants?.();a.isIPhoneNotched=i?.isIPhoneX_deprecated??false}catch{a.isIPhoneNotched=false}if(r.OS==="android")try{let i=C.DeviceInfo?.getConstants?.();a.isEdgeToEdge=i?.isEdgeToEdge??false,a.densityDpi=Math.round(e.scale*160)}catch{}return a}async function X(){return new Promise(e=>{let t=false;r.OS==="ios"?C.StatusBarManager?.getHeight?.(a=>{t||(t=true,e(a?.height??null))})??e(null):r.OS==="android"?(t=true,e(te.currentHeight??null)):(t=true,e(null)),setTimeout(()=>{t||(t=true,e(null))},100)})}function N(){let e={isRTL:L.isRTL,doLeftAndRightSwapInRTL:L.doLeftAndRightSwapInRTL};return r.OS==="android"&&(e.localeIdentifier=L.localeIdentifier),e}function V(){if(r.OS==="ios")try{return{userDefaults:C.SettingsManager?.getConstants?.()?.settings??{}}}catch{return{}}return{}}function B(){let e={};if(r.OS==="android"){let t=r.constants;e.serial=t.Serial,e.fingerprint=t.Fingerprint;try{let a=C.PlatformConstants;a?.getAndroidID&&(e.androidId=a.getAndroidID())}catch{}}return e}function he(e){let t=[e.platform.os,e.platform.version,e.display.window.width,e.display.window.height,e.display.pixelRatio,e.platform.interfaceIdiom??"",e.platform.forceTouchAvailable??false,e.display.isIPhoneNotched??false,e.platform.model??"",e.platform.brand??"",e.platform.manufacturer??"",e.platform.uiMode??""].join("|"),a=0;for(let i=0;i<t.length;i++){let l=t.charCodeAt(i);a=(a<<5)-a+l,a=a&a}return Math.abs(a).toString(16).padStart(8,"0")}function me(){let[e,t]=b(true),[a,i]=b(k()),[l,y]=b(M()),[g,c]=b({isScreenReaderEnabled:false,isReduceMotionEnabled:false,isReduceTransparencyEnabled:false}),[d,v]=b(()=>{let f=A.getColorScheme()??null;return{colorScheme:f,prefersDarkMode:f==="dark"}}),[o,S]=b(N()),[p,h]=b({height:null,isVisible:true}),[u,F]=b({isVisible:false,height:0,animationDuration:0}),[J,_]=b({currentState:I.currentState,isActive:I.currentState==="active"}),[x,Q]=b(B()),[H,Z]=b(V()),[G,ee]=b(Date.now()),D=ge(async()=>{t(true);let[f,n]=await Promise.all([U(),X()]);i(k()),y(M()),c(f);let s=A.getColorScheme()??null;v({colorScheme:s,prefersDarkMode:s==="dark"}),S(N()),h(E=>({...E,height:n})),Q(B()),Z(V()),ee(Date.now()),t(false)},[]);return w(()=>{D()},[D]),w(()=>{let f=R.addEventListener("change",({window:n,screen:s})=>{y(E=>({...E,window:{width:n.width,height:n.height,scale:n.scale,fontScale:n.fontScale},screen:{width:s.width,height:s.height,scale:s.scale,fontScale:s.fontScale},isLandscape:n.width>n.height,isPortrait:n.height>n.width}))});return()=>f.remove()},[]),w(()=>{let f=A.addChangeListener(({colorScheme:n})=>{let s=n??null;v({colorScheme:s,prefersDarkMode:s==="dark"})});return()=>f.remove()},[]),w(()=>{let f=Y.addListener(r.OS==="ios"?"keyboardWillShow":"keyboardDidShow",s=>{F({isVisible:true,height:s.endCoordinates.height,animationDuration:s.duration??0})}),n=Y.addListener(r.OS==="ios"?"keyboardWillHide":"keyboardDidHide",s=>{F({isVisible:false,height:0,animationDuration:s.duration??0})});return()=>{f.remove(),n.remove()}},[]),w(()=>{let f=I.addEventListener("change",n=>{_({currentState:n,isActive:n==="active"})});return()=>f.remove()},[]),w(()=>{let f=[m.addEventListener("screenReaderChanged",n=>{c(s=>({...s,isScreenReaderEnabled:n}))}),m.addEventListener("reduceMotionChanged",n=>{c(s=>({...s,isReduceMotionEnabled:n}))}),m.addEventListener("reduceTransparencyChanged",n=>{c(s=>({...s,isReduceTransparencyEnabled:n}))})];if(r.OS==="ios"){let n=(s,E)=>m.addEventListener(s,E);f.push(n("boldTextChanged",s=>{c(E=>({...E,isBoldTextEnabled:s}))}),n("grayscaleChanged",s=>{c(E=>({...E,isGrayscaleEnabled:s}))}),n("invertColorsChanged",s=>{c(E=>({...E,isInvertColorsEnabled:s}))}))}return()=>{f.forEach(n=>n.remove())}},[]),{platform:a,display:l,accessibility:g,appearance:d,locale:o,statusBar:p,keyboard:u,appState:J,identifiers:x,settings:H,timestamp:G,isLoading:e,refresh:D,generateFingerprint:()=>he({platform:a,display:l,accessibility:g,appearance:d,locale:o,statusBar:p,keyboard:u,appState:J,identifiers:x,settings:H,timestamp:G,isLoading:e})}}async function Se(){let[e,t]=await Promise.all([U(),X()]),a=A.getColorScheme()??null;return{platform:k(),display:M(),accessibility:e,appearance:{colorScheme:a,prefersDarkMode:a==="dark"},locale:N(),statusBar:{height:t,isVisible:true},keyboard:{isVisible:false,height:0,animationDuration:0},appState:{currentState:I.currentState,isActive:I.currentState==="active"},identifiers:B(),settings:V(),timestamp:Date.now(),isLoading:false}}function pe(e){console.log(`
|
|
2
|
-
========================================`),console.log(" DEVICE INFO REPORT"),console.log(`========================================
|
|
3
|
-
`),console.log("--- PLATFORM ---"),console.log(JSON.stringify(e.platform,null,2)),console.log(`
|
|
4
|
-
--- DISPLAY ---`),console.log(JSON.stringify(e.display,null,2)),console.log(`
|
|
5
|
-
--- ACCESSIBILITY ---`),console.log(JSON.stringify(e.accessibility,null,2)),console.log(`
|
|
6
|
-
--- APPEARANCE ---`),console.log(JSON.stringify(e.appearance,null,2)),console.log(`
|
|
7
|
-
--- LOCALE ---`),console.log(JSON.stringify(e.locale,null,2)),console.log(`
|
|
8
|
-
--- STATUS BAR ---`),console.log(JSON.stringify(e.statusBar,null,2)),console.log(`
|
|
9
|
-
--- KEYBOARD ---`),console.log(JSON.stringify(e.keyboard,null,2)),console.log(`
|
|
10
|
-
--- APP STATE ---`),console.log(JSON.stringify(e.appState,null,2)),console.log(`
|
|
11
|
-
--- IDENTIFIERS ---`),console.log(JSON.stringify(e.identifiers,null,2)),console.log(`
|
|
12
|
-
--- SETTINGS ---`);let t=Object.keys(e.settings.userDefaults??{});console.log(`userDefaults: ${t.length} keys`),t.length>0&&t.length<=20&&console.log(JSON.stringify(e.settings,null,2)),console.log(`
|
|
13
|
-
--- METADATA ---`),console.log(`timestamp: ${e.timestamp}`),console.log(`isLoading: ${e.isLoading}`),console.log(`
|
|
14
|
-
========================================
|
|
15
|
-
`)}export{ie as a,re as b,oe as c,ce as d,fe as e,me as f,Se as g,pe as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{gameUIColors as s}from"./chunk-QPY45R5F.mjs";import{__DEV__ as D}from"./chunk-UGGCYHRH.mjs";var F=e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(Array.isArray(e))return"array";const t=typeof e;if(t==="object"){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp";if(e instanceof Map)return"map";if(e instanceof Set)return"set";if(e instanceof Error)return"error";return"object"}return t};var V=e=>{const t=typeof e;return e===null||e===void 0||t==="string"||t==="number"||t==="boolean"||t==="bigint"||t==="symbol"};var q=e=>{try{JSON.stringify(e);return true}catch{return false}};var J=e=>{try{JSON.parse(e);return true}catch{return false}};var L=e=>{if(e===null)return"null";if(e===void 0)return"undefined";try{return e.constructor?.name||typeof e}catch{return typeof e}};var z=e=>{if(e===null||e===void 0)return true;if(typeof e==="string")return e.length===0;if(Array.isArray(e))return e.length===0;if(typeof e==="object")return Object.keys(e).length===0;return false};var G=e=>{if(Array.isArray(e)){const t=e.length;if(t===0)return"empty array";if(t===1)return"1 item";return`${t} items`}if(e&&typeof e==="object"){const t=Object.keys(e);const r=t.length;if(r===0)return"empty object";if(r===1)return"1 key";return`${r} keys`}if(typeof e==="string"){const t=e.length;if(t===0)return"empty string";if(t===1)return"1 character";return`${t} characters`}return""};var K=e=>{return typeof e==="object"&&e!==null&&!Array.isArray(e)&&e.constructor===Object};var U=e=>{if(e===null||e===void 0)return e;if(typeof e==="string"){try{return JSON.parse(e)}catch{return e}}return e};var B=e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(typeof e==="string")return`"${e}"`;if(typeof e==="boolean")return e?"true":"false";if(typeof e==="number")return String(e);if(typeof e==="function")return`[Function: ${e.name||"anonymous"}]`;if(typeof e==="object"){if(Array.isArray(e)){return`[Array: ${e.length} items]`}return`{Object: ${Object.keys(e).length} keys}`}return String(e)};var I=e=>{if(e===null)return s.dataTypes.null;if(e===void 0)return s.dataTypes.undefined;const t=typeof e;switch(t){case"string":return s.dataTypes.string;case"number":return s.dataTypes.number;case"boolean":return s.dataTypes.boolean;case"function":return s.dataTypes.function;case"object":return Array.isArray(e)?s.dataTypes.array:s.dataTypes.object;default:return s.primary}};var W=(e,t)=>{if(e.length<=t)return e;return e.slice(0,t-3)+"..."};var p=(e,t="")=>{const r={};if(e===null||e===void 0){return r}if(typeof e!=="object"){r[t||"root"]=e;return r}if(Array.isArray(e)){e.forEach((n,a)=>{const u=t?`${t}[${a}]`:`[${a}]`;if(typeof n==="object"&&n!==null){Object.assign(r,p(n,u))}else{r[u]=n}})}else{Object.keys(e).forEach(n=>{const a=t?`${t}.${n}`:n;const u=e[n];if(typeof u==="object"&&u!==null){Object.assign(r,p(u,a))}else{r[a]=u}})}return r};var Y=e=>{if(e.length===0)return"root";return e.map((t,r)=>{if(typeof t==="number"){return`[${t}]`}return r===0?t:`.${t}`}).join("")};var H={log:()=>{},warn:()=>{},error:(...e)=>{console.error("[optional-module]",...e)}};var l=new Map;var d=new Map;var S=new Set;async function Q(e,t={}){if(l.has(e)){return l.get(e)}const r={...H,...t.logger??{}};if(!d.has(e)){d.set(e,(async()=>{try{const a=await X(e,t);const u=a?.default??a;l.set(e,u);r.log("Loaded optional module",e);return u}catch(a){r.log("Optional module unavailable",e,a);l.set(e,null);return null}})())}const n=await d.get(e);d.delete(e);if(!n&&t.warnOnceKey&&!S.has(t.warnOnceKey)){S.add(t.warnOnceKey);r.warn(t.warningMessage??`Module '${e}' not found.`)}return n}var A=(()=>{try{return new Function("moduleName","return import(moduleName);")}catch{return null}})();var j=(()=>{try{return new Function("return typeof require === 'function' ? require : undefined;")()}catch{return void 0}})();async function X(e,t){if(t.loader){return await Promise.resolve(t.loader())}if(A){return A(e)}if(j){return j(e)}throw new Error(`No dynamic loader available for optional module '${e}'.`)}function Z(e){if(!l.has(e)){return null}return l.get(e)}var P="__buoyRenderCaptureProvider";function x(){return globalThis}function ee(e){x()[P]=e}function te(){return x()[P]??null}var c=new Map;var b=new Set;function O(){b.forEach(e=>{try{e()}catch{}})}function re(e){c.set(e.id,e);O();return()=>{if(c.get(e.id)===e){c.delete(e.id);O()}}}function ne(){return Array.from(c.values())}function ae(e){return c.get(e)??null}function ue(e){b.add(e);return()=>{b.delete(e)}}function h(){return null}function g(){return null}function v(){return typeof window==="undefined"?null:()=>window.location.reload()}function m(e="auto"){if(e==="browser")return v()?"browser":null;if(e==="auto"&&v())return"browser";if(e==="dev-settings"){return h()?"dev-settings":null}if(e==="expo-updates"){return g()?"expo-updates":null}if(D&&h())return"dev-settings";return g()?"expo-updates":null}function E(e){if(e==="browser")return"[buoy] Browser reload requires a browser window.";if(e==="dev-settings"){return"[buoy] DevSettings.reload() unavailable \u2014 strategy 'dev-settings' requires React Native dev mode."}if(e==="expo-updates"){return"[buoy] expo-updates not installed \u2014 strategy 'expo-updates' requires the host app to add the dependency."}return"[buoy] No reload mechanism available. Run in __DEV__ or install expo-updates."}async function R(e="auto",t="buoy reload"){const r=m(e);if(!r)throw new Error(E(e));if(r==="browser"){v()()}else if(r==="dev-settings"){h().reload(t)}else{await g().reloadAsync()}return await new Promise(()=>{})}var T=250;function oe(e){const t=e?.strategy??"auto";const r=m(t);if(!r)throw new Error(E(t));const n=Math.max(0,e?.delayMs??T);const a=e?.reason??"buoy remote reload";setTimeout(()=>{void R(r,a).catch(()=>{})},n);return{strategy:r,delayMs:n}}function se(){return null}var ie=class{constructor(){this.listeners=new Set;this.subscribe=this.subscribe.bind(this)}subscribe(e){this.listeners.add(e);this.onSubscribe();return()=>{this.listeners.delete(e);this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}getListenerCount(){return this.listeners.size}notify(...e){this.listeners.forEach(t=>{t(...e)})}onSubscribe(){}onUnsubscribe(){}};var le=class{constructor(){this.listeners=new Set}subscribe(e){this.listeners.add(e);return()=>{this.listeners.delete(e)}}notify(e){this.listeners.forEach(t=>{try{t(e)}catch{}})}};var w=new le;var ce=e=>w.subscribe(e);var fe=e=>w.notify(e);function de(){return null}function ye(){return null}var o=null;var y=false;var $=false;function i(){if($)return y;try{o=de();y=o!=null&&typeof o.usePathname==="function"&&typeof o.useSegments==="function"}catch(e){y=false;o=null}$=true;return y}function C(){return{push:()=>console.warn("[buoy] expo-router not installed: push() unavailable"),replace:()=>console.warn("[buoy] expo-router not installed: replace() unavailable"),back:()=>console.warn("[buoy] expo-router not installed: back() unavailable"),canGoBack:()=>false,setParams:()=>console.warn("[buoy] expo-router not installed: setParams() unavailable"),navigate:()=>console.warn("[buoy] expo-router not installed: navigate() unavailable")}}function M(){return"/"}function _(){return[]}function k(){return{}}function pe(){if(!i()){return C()}try{return o.useRouter()}catch(e){console.warn("[buoy] Failed to use expo-router.useRouter:",e);return C()}}function be(){if(!i()){return M()}try{return o.usePathname()}catch(e){console.warn("[buoy] Failed to use expo-router.usePathname:",e);return M()}}function he(){if(!i()){return _()}try{return o.useSegments()}catch(e){console.warn("[buoy] Failed to use expo-router.useSegments:",e);return _()}}function ge(){if(!i()){return k()}try{return o.useGlobalSearchParams()}catch(e){console.warn("[buoy] Failed to use expo-router.useGlobalSearchParams:",e);return k()}}function ve(){if(!i()){return null}try{return o.router||null}catch(e){return null}}var f;function me(){if(f!==void 0)return f;try{f=ye()}catch{f=null}return f}function we(){return N()?.pathname??null}function N(){if(!i()){return null}try{const e=me()?.getRouteInfo?.();const t=e?.pathname;if(typeof t!=="string"||t.length===0)return null;const r=e?.pathnameWithParams;return{pathname:t,href:typeof r==="string"&&r.length>0?r:t,...Array.isArray(e?.segments)?{segments:e.segments}:{}}}catch(e){return null}}function Se(){return i()}export{ie as Subscribable,w as subscriberCountNotifier,ce as subscribeToSubscriberCountChanges,fe as notifySubscriberCountChange,F as getValueType,V as isPrimitive,q as isJsonSerializable,J as isValidJson,L as getConstructorName,z as isEmpty,G as getValueSize,K as isPlainObject,U as parseValue,B as formatValue,I as getTypeColor,W as truncateText,p as flattenObject,Y as formatPath,Q as loadOptionalModule,Z as getCachedOptionalModule,ee as setRenderCaptureProvider,te as getRenderCaptureProvider,re as registerStateSnapshotProvider,ne as getStateSnapshotProviders,ae as getStateSnapshotProvider,ue as subscribeToStateSnapshotProviders,m as resolveReloadStrategy,R as reloadApp,T as REMOTE_RELOAD_DELAY_MS,oe as scheduleReloadApp,se as getDevServerOrigin,pe as useSafeRouter,be as useSafePathname,he as useSafeSegments,ge as useSafeGlobalSearchParams,ve as getSafeRouter,we as getSafeCurrentPathname,N as getSafeCurrentRoute,Se as isExpoRouterAvailable};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{Ob as le,Pb as se,Q as _,Qb as P,R as ce,Ub as de,Wb as M,Zb as $,ld as y}from"./chunk-IVCT27JB.mjs";import{d as n}from"./chunk-CE5U3CSQ.mjs";import{J as z,a as c,b as f,d as G,r as O,y as U}from"./chunk-3UTMGIUG.mjs";var ue="[Circular]",H="[...]";function fe(e,t,o={}){let{depthLimit:s=Number.MAX_SAFE_INTEGER,edgesLimit:p=Number.MAX_SAFE_INTEGER}=o,d=[];function a(i,l,g,r,w,A){if(A+=1,typeof i=="object"&&i!==null){for(let v=0;v<r.length;v++)if(r[v]===i){m(ue,i,l,w);return}if(A>s){m(H,i,l,w);return}if(g+1>p){m(H,i,l,w);return}if(r.push(i),Array.isArray(i)){let v=i;for(let I=0;I<i.length;I++)a(i[I],I,I,r,v,A)}else if(i instanceof Map||i instanceof Set||i instanceof RegExp||i instanceof Date||i instanceof Error){r.pop();return}else{let v=i,I=Object.keys(v);for(let B=0;B<I.length;B++){let E=I[B];a(v[E],E,B,r,v,A)}}r.pop()}}function m(i,l,g,r){if(!r)return;let w=Object.getOwnPropertyDescriptor(r,g);if(w?.get!==void 0)if(w.configurable)Object.defineProperty(r,g,{value:i}),d.push([r,g,l,w]);else return;else r[g]=i,d.push([r,g,l])}let C=(i,l)=>{if(typeof l=="bigint")return`${l.toString()}n`;if(typeof l=="symbol")return l.toString();if(typeof l>"u")return"undefined";if(typeof l=="function")return`[Function: ${l.name||"anonymous"}]`;if(typeof l=="number"){if(l===1/0)return"Infinity";if(l===-1/0)return"-Infinity";if(Number.isNaN(l))return"NaN"}if(l instanceof Error){let g={name:l.name,message:l.message,stack:l.stack};return Object.getOwnPropertyNames(l).forEach(r=>{if(!["name","message","stack"].includes(r))try{let w=l[r];w!==void 0&&(g[r]=w)}catch{}}),g}if(l instanceof Date)return l.toISOString();if(l instanceof RegExp)return l.toString();if(l instanceof Map)try{return{__type:"Map",entries:Array.from(l.entries()).map(([g,r])=>[String(g),r])}}catch{return{__type:"Map",entries:"[Map iteration failed]"}}if(l instanceof Set)try{return{__type:"Set",values:Array.from(l)}}catch{return{__type:"Set",values:"[Set iteration failed]"}}return l};try{return a(e,"",0,[],null,0),JSON.stringify(e,C,t)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;d.length!==0;){let i=d.pop();if(i&&i.length===4){let[l,g,,r]=i;l&&typeof l=="object"&&r&&Object.defineProperty(l,g,r)}else if(i){let[l,g,r]=i;l&&typeof l=="object"&&(typeof g=="string"||typeof g=="number")&&(l[g]=r)}}}}var pe=e=>typeof e>"u",ge=e=>typeof e!="object"||e===null||e===Object.prototype?false:Object.getPrototypeOf(e)===null?true:Object.getPrototypeOf(e)===Object.prototype,D=e=>Array.isArray(e),ye=e=>typeof e=="boolean"||e===null||typeof e>"u"||typeof e=="number"||typeof e=="string"||typeof e=="symbol",he=e=>e instanceof Date&&!isNaN(e.valueOf()),J=e=>e instanceof Error,me=e=>e instanceof RegExp,Y=e=>e instanceof Set,K=e=>e instanceof Map,be=e=>typeof e=="bigint",X=e=>typeof e=="number"&&isNaN(e),Se=e=>e===1/0||e===-1/0,we=e=>e===0&&1/e===-1/0,xe=e=>e instanceof URL,Ce=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Ae={Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray},q=[{isApplicable:pe,annotation:"undefined",transform:()=>null,untransform:()=>{}},{isApplicable:be,annotation:"bigint",transform:e=>e.toString(),untransform:e=>typeof BigInt<"u"?BigInt(e):(console.error("BigInt is not supported in this environment"),e)},{isApplicable:he,annotation:"Date",transform:e=>e.toISOString(),untransform:e=>new Date(e)},{isApplicable:J,annotation:"Error",transform:e=>({name:e.name,message:e.message,stack:e.stack,cause:"cause"in e?e.cause:void 0}),untransform:e=>{let t=new Error(e.message);return t.name=e.name,t.stack=e.stack,e.cause!==void 0&&(t.cause=e.cause),t}},{isApplicable:me,annotation:"regexp",transform:e=>""+e,untransform:e=>{let t=e.slice(1,e.lastIndexOf("/")),o=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,o)}},{isApplicable:Y,annotation:"set",transform:e=>[...e.values()],untransform:e=>new Set(e)},{isApplicable:K,annotation:"map",transform:e=>[...e.entries()],untransform:e=>new Map(e)},{isApplicable:e=>X(e)||Se(e),annotation:"number",transform:e=>X(e)?"NaN":e>0?"Infinity":"-Infinity",untransform:e=>Number(e)},{isApplicable:we,annotation:"number",transform:()=>"-0",untransform:()=>-0},{isApplicable:xe,annotation:"URL",transform:e=>e.toString(),untransform:e=>new URL(e)},{isApplicable:Ce,annotation:e=>["typed-array",e.constructor.name],transform:e=>[...e],untransform:(e,t)=>{let o=Array.isArray(t)?t[1]:"Uint8Array",s=Ae[o];if(!s)throw new Error(`Unknown typed array: ${o}`);return new s(e)}}];function j(e){for(let t of q)if(t.isApplicable(e)){let o=typeof t.annotation=="function"?t.annotation(e):t.annotation;return{value:t.transform(e),type:o}}}function Q(e,t){for(let o of q){let s=typeof o.annotation=="function"?Array.isArray(t)?t[0]:t:o.annotation;if(Array.isArray(t)&&Array.isArray(s)?t[0]===s[0]:s===t)return o.untransform(e,t)}throw new Error(`Unknown transformation: ${t}`)}var Z=e=>ge(e)||D(e)||K(e)||Y(e)||J(e);function V(e){return e.replace(/\\/g,"\\\\").replace(/\./g,"\\.")}function ee(e,t=[],o=[]){let s=ye(e);if(!s&&!Z(e)){let i=j(e);return i?{transformedValue:i.value,annotations:{[t.map(String).map(V).join(".")]:i.type}}:{transformedValue:e}}if(!s&&o.indexOf(e)!==-1)return{transformedValue:null};if(!Z(e)){let i=j(e);return i?{transformedValue:i.value,annotations:t.length>0?{[t.map(String).map(V).join(".")]:i.type}:{"":i.type}}:{transformedValue:e}}let p=j(e),d=p?.value??e,a=D(d)?[]:{},m={};if(p){let i=t.length>0?t.map(String).map(V).join("."):"";m[i]=p.type}let C=D(d)?d.map((i,l)=>[l,i]):Object.entries(d);for(let[i,l]of C){let g=String(i);if(g==="__proto__"||g==="constructor"||g==="prototype")throw new Error(`Detected property ${g}. This is a prototype pollution risk, please remove it from your object.`);let r=ee(l,[...t,i],[...o,e]);a[i]=r.transformedValue,r.annotations&&Object.assign(m,r.annotations)}return{transformedValue:a,annotations:Object.keys(m).length>0?m:void 0}}function ve(e){if(e==="")return[];let t=[],o="";for(let s=0;s<e.length;s++){let p=e.charAt(s);if(p==="\\"){let d=e.charAt(s+1);if(d==="\\"){o+="\\",s++;continue}else if(d==="."){o+=".",s++;continue}}if(p==="."){t.push(o),o="";continue}o+=p}return o&&t.push(o),t}function Ie(e,t,o){if(t.length===0)return;let s=e;for(let p=0;p<t.length-1;p++)s=s[t[p]];s[t[t.length-1]]=o}function Re(e,t){let o=e;for(let s of t)o=o[s];return o}function te(e){let t=ee(e),o={json:t.transformedValue};return t.annotations&&(o.meta={values:t.annotations}),o}function re(e){let{json:t,meta:o}=e;if(!o?.values)return t;let s=D(t)?[...t]:{...t},p=Object.entries(o.values).map(([d,a])=>({pathString:d,type:a,path:ve(d)})).sort((d,a)=>a.path.length-d.path.length);for(let{type:d,path:a}of p)if(a.length===0)s=Q(s,d);else{let m=Re(s,a),C=Q(m,d);Ie(s,a,C)}return s}var Te=(e,t=false)=>{let{json:o}=te(e);return JSON.stringify(o,null,t?2:void 0)},Oe=e=>{try{let t=JSON.parse(e);return re({json:t,meta:void 0})}catch{return JSON.parse(e)}};import{jsx as N,jsxs as L}from"react/jsx-runtime";function ke({icon:e,iconColor:t,title:o,count:s,subtitle:p,expanded:d,onToggle:a,children:m,style:C,titleStyle:i}){return L(c,{style:[F.container,C],children:[L(G,{onPress:a,activeOpacity:.7,style:F.headerTouchable,children:[L(c,{style:F.header,children:[L(c,{style:F.headerLeft,children:[N(e,{size:14,color:t}),N(f,{style:[F.title,i],children:o}),N(c,{style:[F.badge,{backgroundColor:t+"20"}],children:N(f,{style:[F.badgeText,{color:t}],children:s})})]}),d?N($,{size:14,color:n.muted}):N(M,{size:14,color:n.muted})]}),N(f,{style:F.subtitle,children:p})]}),d&&N(O.View,{style:{opacity:1},children:m})]})}var F=z.create({container:{marginBottom:20},headerTouchable:{marginBottom:12},header:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,paddingHorizontal:4},headerLeft:{flexDirection:"row",alignItems:"center",gap:8,flex:1},title:{fontSize:11,color:n.primary,fontFamily:y,fontWeight:"700",letterSpacing:2,opacity:.9},subtitle:{fontSize:9,color:n.secondary,fontFamily:y,paddingHorizontal:4,marginTop:2,opacity:.7},badge:{paddingHorizontal:8,paddingVertical:2,borderRadius:10},badgeText:{fontSize:10,fontFamily:y,fontWeight:"700"}});var oe={position:"absolute",top:0,left:0,right:0,bottom:0};import{jsx as k,jsxs as W}from"react/jsx-runtime";function Ne({alertConfig:e,badgeText:t,animatedStyle:o,style:s,indicatorCount:p=3}){let d=e.icon;return W(O.View,{style:[R.container,{borderColor:e.color+"40"},s,o],children:[k(c,{style:[R.glow,{backgroundColor:e.color+"10"}]}),W(c,{style:R.content,children:[k(c,{style:[R.iconWrapper,{backgroundColor:e.color+"15"}],children:k(d,{size:20,color:e.color})}),W(c,{style:R.textContainer,children:[k(f,{style:[R.label,{color:e.color}],children:e.label}),k(f,{style:R.subtitle,children:e.subtitle})]}),k(c,{style:[R.badge,{backgroundColor:e.color+"20"}],children:k(f,{style:[R.badgeText,{color:e.color}],children:t})})]}),k(c,{style:R.indicators,children:[...Array(p)].map((a,m)=>k(c,{style:[R.indicatorDot,{backgroundColor:e.color,opacity:e.pulse?m===0?1:.5-m*.2:.3-m*.1}]},m))})]})}var R=z.create({container:{backgroundColor:n.panel,borderRadius:12,borderWidth:1,padding:16,marginBottom:16,position:"relative",overflow:"hidden"},glow:{...oe,opacity:.5},content:{flexDirection:"row",alignItems:"center",gap:12},iconWrapper:{width:36,height:36,borderRadius:8,justifyContent:"center",alignItems:"center"},textContainer:{flex:1,gap:2},label:{fontSize:13,fontWeight:"700",fontFamily:y,letterSpacing:1.5,textShadowOffset:{width:0,height:0},textShadowRadius:8},subtitle:{fontSize:10,color:n.secondary,fontFamily:y},badge:{paddingHorizontal:8,paddingVertical:4,borderRadius:4},badgeText:{fontSize:9,fontWeight:"700",fontFamily:y,letterSpacing:1},indicators:{position:"absolute",top:8,right:8,flexDirection:"row",gap:3},indicatorDot:{width:4,height:4,borderRadius:2}});import{Fragment as Fe}from"react";import{jsx as b,jsxs as x}from"react/jsx-runtime";function Be({statsConfig:e,totalCount:t,header:o,bottomStats:s,style:p,hideInactive:d=true}){return x(c,{style:[u.container,p],children:[o&&x(c,{style:u.header,children:[x(c,{style:u.headerLeft,children:[b(f,{style:u.headerTitle,children:o.title}),b(f,{style:u.headerSubtitle,children:o.subtitle})]}),o.healthPercentage!==void 0&&b(c,{style:u.headerRight,children:x(c,{style:u.statusIndicator,children:[b(c,{style:[u.statusDot,{backgroundColor:o.healthColor||n.success}]}),b(f,{style:[u.statusText,{color:o.healthColor||n.success}],children:o.healthStatus||"OPTIMAL"})]})})]}),o?.healthPercentage!==void 0&&x(c,{style:u.healthSection,children:[b(f,{style:u.healthLabel,children:"SYSTEM HEALTH"}),b(c,{style:u.healthBarWrapper,children:b(c,{style:u.healthBarBg,children:b(O.View,{style:[u.healthBarFill,{width:`${o.healthPercentage}%`,backgroundColor:o.healthColor||n.success}]})})}),x(f,{style:[u.healthPercentage,{color:o.healthColor||n.success}],children:[o.healthPercentage,"%"]})]}),b(c,{style:u.statsGrid,children:e.map(a=>{let m=a.value>0;if(d&&!m)return null;let C=a.icon,i=t?a.value/t*100:0;return x(O.View,{style:[u.statCard,{borderColor:a.color+"30"}],children:[x(c,{style:u.cardContent,children:[b(c,{style:[u.iconBadge,{backgroundColor:a.color+"1A",borderColor:a.color+"33"}],children:b(C,{size:12,color:a.color})}),x(c,{style:u.cardInfo,children:[b(f,{style:u.cardLabel,children:a.label}),b(f,{style:u.cardSubtitle,children:a.subtitle})]}),x(c,{style:u.valueBlock,children:[b(f,{style:[u.statNumber,{color:a.color}],children:a.value.toString().padStart(2,"0")}),t?x(f,{style:u.percentText,children:[Math.round(i),"%"]}):null]})]}),a.showBar!==false&&t&&b(c,{style:[u.statBar,{backgroundColor:a.color+"10"}],children:b(c,{style:[u.statBarFill,{width:`${i}%`,backgroundColor:a.color}]})})]},a.key)})}),s&&s.length>0&&b(c,{style:u.bottomBar,children:s.map((a,m)=>x(Fe,{children:[x(c,{style:u.bottomStat,children:[b(f,{style:u.bottomStatLabel,children:a.label}),b(f,{style:[u.bottomStatValue,a.color&&{color:a.color}],children:a.value})]}),m<s.length-1&&b(c,{style:u.bottomDivider})]},a.label))})]})}var u=z.create({container:{backgroundColor:n.panel,borderRadius:12,padding:12,marginBottom:12,borderWidth:1,borderColor:n.border+"40",overflow:"hidden",position:"relative"},header:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:8,paddingBottom:8,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.1)"},headerLeft:{gap:1},headerRight:{alignItems:"flex-end"},headerTitle:{fontSize:11,fontWeight:"700",color:n.primary,fontFamily:y,letterSpacing:1.5},headerSubtitle:{fontSize:8,color:n.secondary,fontFamily:y,opacity:.7},statusIndicator:{flexDirection:"row",alignItems:"center",gap:4},statusDot:{width:5,height:5,borderRadius:2.5},statusText:{fontSize:9,fontWeight:"600",fontFamily:y,letterSpacing:.5},healthSection:{flexDirection:"row",alignItems:"center",marginBottom:10,gap:8},healthLabel:{fontSize:8,color:n.secondary,fontFamily:y,letterSpacing:.5},healthBarWrapper:{flex:1},healthBarBg:{height:4,backgroundColor:"rgba(128, 128, 128, 0.1)",borderRadius:2,overflow:"hidden"},healthBarFill:{height:"100%",borderRadius:2},healthPercentage:{fontSize:11,fontWeight:"700",fontFamily:y},statsGrid:{gap:6,marginBottom:8},statCard:{backgroundColor:n.blackTint2,borderRadius:8,borderWidth:1,borderColor:n.border,padding:10,marginBottom:4},cardContent:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:4},cardInfo:{flex:1},cardLabel:{fontSize:11,fontWeight:"700",fontFamily:y,letterSpacing:.5,color:n.primary},cardSubtitle:{fontSize:8,color:n.secondary,fontFamily:y,opacity:.7},statNumber:{fontSize:16,fontWeight:"700",fontFamily:y,minWidth:28},valueBlock:{alignItems:"flex-end"},percentText:{fontSize:9,color:n.secondary,fontFamily:y},statBar:{height:3,borderRadius:1.5,overflow:"hidden"},statBarFill:{height:"100%",borderRadius:1.5},bottomBar:{flexDirection:"row",alignItems:"center",paddingTop:8,borderTopWidth:1,borderTopColor:n.border+"40"},bottomStat:{flex:1,alignItems:"center"},bottomStatLabel:{fontSize:7,color:n.muted,fontFamily:y,letterSpacing:.5,marginBottom:1},bottomStatValue:{fontSize:11,fontWeight:"700",color:n.primary,fontFamily:y},bottomDivider:{width:1,height:16,backgroundColor:n.border+"40"},iconBadge:{width:24,height:24,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"}});import{useState as ze,useCallback as De}from"react";import{jsx as S,jsxs as T}from"react/jsx-runtime";function Le({issues:e,onIssueClick:t,hintText:o="Tap any issue to view details",style:s,expandable:p=true,statusLabels:d={missing:"Not found",wrong_type:"Type error",wrong_value:"Invalid value"}}){let[a,m]=ze(new Set),C=De(r=>{p&&m(w=>{let A=new Set(w);return A.has(r)?A.delete(r):A.add(r),A})},[p]),i=r=>r==="missing"?n.warning:n.info,l=r=>r==="missing"?_:P,g=r=>{switch(r.status){case"missing":return`\u2022 ${d.missing}`;case"wrong_type":return`\u2022 ${d.wrong_type}${r.expectedType?`: Expected ${r.expectedType}`:""}`;case"wrong_value":return`\u2022 ${d.wrong_value}${r.value?`: ${String(r.value).substring(0,20)}`:""}`;default:return""}};return e.length===0?null:T(c,{style:[h.container,s],children:[e.map((r,w)=>{let A=i(r.status),v=l(r.status),I=a.has(r.key),B=I?$:M;return T(c,{children:[T(G,{onPress:()=>{p&&C(r.key),t?.(r)},style:h.issueRow,activeOpacity:.7,children:[S(v,{size:14,color:A}),T(c,{style:h.issueContent,children:[S(f,{style:[h.issueKey,{color:n.primary}],children:r.key}),S(f,{style:h.issueDesc,children:g(r)})]}),p&&S(B,{size:12,color:n.muted})]}),p&&I&&T(O.View,{style:h.issueDetails,children:[T(c,{style:h.detailRow,children:[S(f,{style:h.detailLabel,children:"Status:"}),T(f,{style:[h.detailValue,{color:n.primary,fontWeight:"600"}],children:[r.status==="missing"&&"MISSING",r.status==="wrong_type"&&"TYPE ERROR",r.status==="wrong_value"&&"INVALID VALUE"]})]}),r.value!==void 0&&r.status!=="missing"&&T(c,{style:h.detailRow,children:[S(f,{style:h.detailLabel,children:"Current:"}),S(f,{style:[h.detailValue,{color:n.warning}],children:`"${String(r.value)}"`})]}),r.expectedType&&r.status==="wrong_type"&&T(c,{style:h.detailRow,children:[S(f,{style:h.detailLabel,children:"Expected:"}),S(f,{style:[h.detailValue,{color:n.success}],children:r.expectedType})]}),r.expectedValue&&r.status==="wrong_value"&&T(c,{style:h.detailRow,children:[S(f,{style:h.detailLabel,children:"Expected:"}),S(f,{style:[h.detailValue,{color:n.success}],children:`"${r.expectedValue}"`})]}),r.description&&S(c,{style:h.descSection,children:S(f,{style:h.descText,children:r.description})}),r.fixSuggestion&&T(c,{style:h.fixSection,children:[S(f,{style:h.fixLabel,children:"HOW TO FIX"}),S(f,{style:h.fixText,children:r.fixSuggestion})]})]})]},`${r.key}-${w}`)}),o&&S(f,{style:h.hint,children:o})]})}var h=z.create({container:{backgroundColor:n.panel,borderRadius:8,padding:8,borderWidth:1,borderColor:n.warning+"33"},issueRow:{flexDirection:"row",alignItems:"center",paddingVertical:8,paddingHorizontal:8,borderRadius:6,marginBottom:4},issueContent:{flex:1,marginLeft:8,flexDirection:"row",alignItems:"center",gap:8},issueKey:{fontSize:11,fontWeight:"600",fontFamily:y},issueDesc:{fontSize:10,color:n.secondary,fontFamily:y,flex:1},hint:{fontSize:9,color:n.muted,fontFamily:y,textAlign:"center",marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:n.primary+"0D"},issueDetails:{marginTop:8,marginLeft:22,marginRight:8,paddingLeft:12,paddingRight:8,paddingTop:8,paddingBottom:8,backgroundColor:n.background+"4D",borderLeftWidth:2,borderLeftColor:n.primary+"1A",borderRadius:4},detailRow:{flexDirection:"row",marginTop:8,alignItems:"flex-start"},detailLabel:{fontSize:10,color:n.secondary,fontFamily:y,fontWeight:"600",width:70},detailValue:{fontSize:11,color:n.primary,fontFamily:y,flex:1,lineHeight:16},fixSection:{marginTop:12,padding:10,backgroundColor:n.info+"14",borderRadius:6,borderWidth:1,borderColor:n.info+"33"},fixLabel:{fontSize:10,color:n.info,fontFamily:y,fontWeight:"700",marginBottom:6,letterSpacing:.5},fixText:{fontSize:11,color:n.primary,fontFamily:y,lineHeight:18,backgroundColor:n.background+"66",padding:8,borderRadius:4,overflow:"hidden"},descSection:{marginTop:10,paddingTop:10,borderTopWidth:1,borderTopColor:n.primary+"0D"},descText:{fontSize:10,color:n.secondary,fontFamily:y,marginTop:4,lineHeight:14}});import{useMemo as ne,useEffect as je,useRef as ie}from"react";var ae={OPTIMAL:{icon:de,color:n.success,label:"CONFIG OK",subtitle:"All requirements met",pulse:false},WARNING:{icon:P,color:n.warning,label:"CONFIG WARNING",subtitle:"Check values and types",pulse:false},ERROR:{icon:se,color:n.error,label:"CONFIG ERROR",subtitle:"Missing required data",pulse:false},CRITICAL:{icon:_,color:n.critical,label:"CONFIG FAILURE",subtitle:"Multiple critical issues",pulse:false},LOADING:{icon:le,color:n.info,label:"LOADING",subtitle:"Reading configuration...",pulse:true},EMPTY:{icon:ce,color:n.muted,label:"NO DATA",subtitle:"No configuration found",pulse:false}};function Ve(e,t){let o=ne(()=>({...ae,...t}),[t]),s=ne(()=>e.totalCount===0?"EMPTY":e.missingCount>2||e.wrongTypeCount>2?"CRITICAL":e.missingCount>0?"ERROR":e.wrongValueCount>0||e.wrongTypeCount>0?"WARNING":"OPTIMAL",[e]),p=o[s],d=ie(new O.Value(1)).current,a=ie(new O.Value(1)).current;return je(()=>{d.setValue(0),a.setValue(.95),O.parallel([O.timing(d,{toValue:1,duration:300,useNativeDriver:true}),O.timing(a,{toValue:1,duration:300,easing:U.out(U.ease),useNativeDriver:true})]).start()},[s,d,a]),{alertState:s,alertConfig:p,alertAnimatedStyle:{transform:[{scale:a}],opacity:d},alertOpacity:d,alertScale:a}}export{fe as a,te as b,re as c,Te as d,Oe as e,ke as f,oe as g,Ne as h,Be as i,Le as j,ae as k,Ve as l};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{a as t}from"./chunk-GF5C5DVX.mjs";import{Xb as O,Zb as B,sd as f}from"./chunk-F6SJ5CLB.mjs";import{J as H,a as o,b as i,d as A}from"./chunk-3UTMGIUG.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function j({statusDotColor:s,statusLabel:x,statusSublabel:g,primaryText:w,secondaryText:l,secondaryAccessory:y,expandedContent:u,isExpanded:a,badgeText:d,badgeColor:C,customBadge:m,showChevron:T,bottomRightText:c,isSelected:D,onPress:h,disabled:I,expandedGlowColor:b,testID:S,statusTestID:v,statusSublabelTestID:R,primaryTestID:W,secondaryTestID:L,accessibilityLabel:z,trailingAction:p}){return r(o,{style:[e.rowWrapper,a&&e.rowWrapperExpanded],children:n(o,{style:[e.row,D&&e.selectedRow,a&&[e.expandedRowActive,{borderColor:b||t.color.accent,borderBottomColor:b||t.color.accent,shadowColor:b||t.color.accent}]],children:[n(o,{style:e.headerRow,children:[r(A,{style:e.headerPress,onPress:h,activeOpacity:.8,disabled:I||!h,testID:S,accessibilityLabel:z,accessibilityRole:h?"button":void 0,children:n(o,{style:e.rowContent,children:[n(o,{style:e.statusSection,children:[r(o,{style:[e.statusDot,{backgroundColor:s}]}),n(o,{style:e.statusInfo,children:[r(i,{style:[e.statusLabel,{color:s}],numberOfLines:1,testID:v,children:x}),g?r(i,{style:e.observerText,numberOfLines:1,testID:R,children:g}):null]})]}),n(o,{style:e.querySection,children:[r(i,{style:e.queryHash,numberOfLines:a?void 0:2,testID:W,children:w}),!a&&(l||y)?n(o,{style:e.secondaryRow,children:[l?r(i,{style:e.secondaryText,numberOfLines:1,testID:L,children:l}):null,y]}):null]}),n(o,{style:e.rightSection,children:[(m||d!==void 0||!a&&c)&&n(o,{style:e.badgeContainer,children:[m||(d!==void 0?r(i,{style:[e.statusBadge,{color:C||s}],children:d}):null),!a&&c?r(i,{style:e.bottomRightText,numberOfLines:1,children:c}):null]}),T&&r(o,{style:e.chevronContainer,children:a?r(O,{size:14,color:t.color.textTertiary}):r(B,{size:14,color:t.color.textTertiary})})]})]})}),p?r(o,{style:e.trailingAction,children:p}):null]}),a&&u&&r(o,{style:e.expandedContent,children:u})]})})}var e=H.create({rowWrapper:{position:"relative",marginHorizontal:8,marginVertical:3},rowWrapperExpanded:{marginVertical:12},row:{backgroundColor:"rgba(12, 12, 12, 0.9)",borderRadius:8,borderWidth:1,borderColor:t.color.border,borderBottomWidth:1,borderBottomColor:t.color.separator,padding:12,paddingHorizontal:12,transform:[{scale:1}]},selectedRow:{backgroundColor:t.color.accentSoft,borderColor:t.color.accentBorderStrong,transform:[{scale:1.01}],shadowColor:t.color.accent,shadowOffset:{width:0,height:0},shadowOpacity:.1,shadowRadius:8,elevation:2},expandedRowActive:{transform:[{scale:1.02}],borderWidth:2,paddingBottom:16,shadowOffset:{width:0,height:0},shadowOpacity:.8,shadowRadius:20,elevation:10},headerRow:{flexDirection:"row",alignItems:"center"},headerPress:{flex:1,minWidth:0},trailingAction:{marginLeft:8,justifyContent:"center"},rowContent:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},statusSection:{flexDirection:"row",alignItems:"center",gap:8,width:90,minWidth:90},statusDot:{width:8,height:8,borderRadius:4},statusInfo:{flex:1,maxWidth:70},statusLabel:{fontSize:11,fontWeight:"600",lineHeight:14},observerText:{fontSize:10,color:t.color.textTertiary,marginTop:1},querySection:{flex:2,paddingHorizontal:12},queryHash:{fontFamily:f,fontSize:12,color:t.color.text,lineHeight:16},secondaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},secondaryText:{fontSize:10,color:t.color.textTertiary,marginTop:1},rightSection:{flexDirection:"row",alignItems:"center",gap:8},badgeContainer:{flexDirection:"column",alignItems:"flex-end",gap:2},statusBadge:{fontSize:12,fontWeight:"600",fontVariant:["tabular-nums"]},chevronContainer:{padding:2},expandedContent:{marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:t.color.separator,marginLeft:24},bottomRightText:{fontSize:9,color:t.color.textTertiary,fontFamily:f}});export{j as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{a as N}from"./chunk-TJUBBXXK.mjs";import{f as m}from"./chunk-CE5U3CSQ.mjs";import{J as I,N as P,a as T,b}from"./chunk-3UTMGIUG.mjs";import{createContext as V,useContext as W,useState as M,useCallback as w,useMemo as B,useEffect as q}from"react";import{jsx as G}from"react/jsx-runtime";var k=V(null);function J({children:e,initialAdapters:t=[]}){let[a,s]=M(()=>{let r=new Map;return t.forEach(n=>{r.set(n.adapter.id,{...n,enabled:n.enabled??true})}),r}),[u,f]=M(null),[p,C]=M(0),d=w(()=>C(r=>r+1),[]);q(()=>{let r=[];return a.forEach(n=>{if(n.enabled){let c=n.adapter.subscribe(d);r.push(c)}}),()=>{r.forEach(n=>n())}},[a,d]);let i=B(()=>Array.from(a.values()).filter(r=>r.enabled).sort((r,n)=>(r.priority??100)-(n.priority??100)).map(r=>r.adapter),[a,p]),h=w(r=>a.get(r)?.adapter,[a]),x=w(r=>{s(n=>{let c=new Map(n);return c.set(r.adapter.id,{...r,enabled:r.enabled??true}),c})},[]),l=w(r=>{s(n=>{let c=new Map(n);return c.delete(r),c})},[]),o=w(r=>{let n=[];return(u&&r?.sources===void 0?i.filter(c=>c.id===u):i).forEach(c=>{r?.sources&&!r.sources.includes(c.id)||(n=n.concat(c.getEntries()))}),r&&(n=O(n,r)),n.sort((c,D)=>D.timestamp-c.timestamp),n},[i,u,p]),S=w(()=>{let r={};return i.forEach(n=>{r[n.id]=n.getEntryCount()}),r},[i,p]),R=B(()=>({adapters:i,getAdapter:h,registerAdapter:x,unregisterAdapter:l,getAllEntries:o,getEntryCounts:S,selectedAdapterId:u,setSelectedAdapterId:f,refresh:d}),[i,h,x,l,o,S,u,d]);return G(k.Provider,{value:R,children:e})}function E(){let e=W(k);if(!e)throw new Error("useHistoryContext must be used within a HistoryProvider");return e}function $(){return E().adapters}function U(e){return E().getAdapter(e)}function z(e){let{getAllEntries:t}=E();return t(e)}function K(){return E().getEntryCounts()}function O(e,t){return e.filter(a=>{if(t.searchText){let s=t.searchText.toLowerCase();if(!a.label.toLowerCase().includes(s))return false}if(t.onlyWithChanges&&!a.hasStateChange||t.onlyErrors&&a.status!=="error"||t.afterTimestamp&&a.timestamp<t.afterTimestamp||t.beforeTimestamp&&a.timestamp>t.beforeTimestamp)return false;if(t.ignoredPatterns?.length){for(let s of t.ignoredPatterns)if(new RegExp(s).test(a.label))return false}if(t.includedPatterns?.length){let s=false;for(let u of t.includedPatterns)if(new RegExp(u).test(a.label)){s=true;break}if(!s)return false}return true})}import{jsx as L}from"react/jsx-runtime";function Q(e){let t=Date.now()-e;return t<1e3?"just now":t<6e4?`${Math.floor(t/1e3)}s ago`:t<36e5?`${Math.floor(t/6e4)}m ago`:`${Math.floor(t/36e5)}h ago`}function X(e,t){if(t?.color)return t.color;if(e.status==="error")return m.error;if(e.status==="pending")return m.warning;if(e.status==="success")return m.success;if(e.hasStateChange)return m.success;if(e.isSkipped)return m.textMuted;if(e.isInFuture)return m.textMuted+"80";switch(e.source){case"redux":return"#764ABC";case"zustand":return"#443E38";case"mmkv":return"#4CAF50";case"async-storage":return"#2196F3";case"react-query":return"#FF4154";case"jotai":return"#000000";case"legend-state":return"#7C3AED";default:return m.textSecondary}}function Y(e){return e.isSkipped?"Skipped":e.isInFuture?"Future":e.status?e.status.charAt(0).toUpperCase()+e.status.slice(1):e.hasStateChange?"Changed":"Action"}function Z(e,t){return t?.name?t.name:e.category?e.category:e.source}function F({entry:e,adapter:t,isSelected:a,onPress:s,showSource:u=true,showDuration:f=true}){let p=X(e,t),C=Y(e),d=u?Z(e,t):void 0,i=Q(e.timestamp);f&&e.duration!==void 0&&(i=`${e.duration.toFixed(1)}ms \xB7 ${i}`);let h=e.hasStateChange?L(T,{style:H.changeBadge,children:L(b,{style:H.changeBadgeText,children:"\u26A1"})}):void 0;return L(N,{statusDotColor:p,statusLabel:C,statusSublabel:d,primaryText:e.label,bottomRightText:i,customBadge:h,isSelected:a,onPress:s?()=>s(e):void 0,showChevron:!!s})}var H=I.create({changeBadge:{paddingHorizontal:4},changeBadgeText:{fontSize:12}});import{useCallback as v,useMemo as A}from"react";import{jsx as g,jsxs as j}from"react/jsx-runtime";function _({filter:e,selectedEntryId:t,onSelectEntry:a,showSource:s=true,emptyMessage:u="No history entries yet",ListHeaderComponent:f,ListFooterComponent:p}){let C=z(e),d=$(),i=A(()=>{let o=new Map;return d.forEach(S=>o.set(S.id,S)),o},[d]),h=v(o=>`${o.source}-${o.id}`,[]),x=v(({item:o})=>{let S=i.get(o.source);return g(F,{entry:o,adapter:S,isSelected:t===o.id,onPress:a,showSource:s})},[i,t,a,s]),l=A(()=>j(T,{style:y.emptyContainer,children:[g(b,{style:y.emptyText,children:u}),g(b,{style:y.emptySubtext,children:"Actions will appear here as they happen"})]}),[u]);return g(P,{data:C,keyExtractor:h,renderItem:x,ListEmptyComponent:l,ListHeaderComponent:f,ListFooterComponent:p,contentContainerStyle:y.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15,getItemLayout:void 0})}function ee({entries:e,adapters:t=[],selectedEntryId:a,onSelectEntry:s,showSource:u=true,emptyMessage:f="No history entries yet",ListHeaderComponent:p,ListFooterComponent:C}){let d=A(()=>{let l=new Map;return t.forEach(o=>l.set(o.id,o)),l},[t]),i=v(l=>`${l.source}-${l.id}`,[]),h=v(({item:l})=>{let o=d.get(l.source);return g(F,{entry:l,adapter:o,isSelected:a===l.id,onPress:s,showSource:u})},[d,a,s,u]),x=A(()=>j(T,{style:y.emptyContainer,children:[g(b,{style:y.emptyText,children:f}),g(b,{style:y.emptySubtext,children:"Actions will appear here as they happen"})]}),[f]);return g(P,{data:e,keyExtractor:i,renderItem:h,ListEmptyComponent:x,ListHeaderComponent:p,ListFooterComponent:C,contentContainerStyle:y.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15})}var y=I.create({listContent:{flexGrow:1,paddingVertical:4},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:60,paddingHorizontal:20},emptyText:{fontSize:16,fontWeight:"600",color:m.text,marginBottom:8},emptySubtext:{fontSize:13,color:m.textMuted,textAlign:"center"}});export{J as a,E as b,$ as c,U as d,z as e,K as f,F as g,_ as h,ee as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{d as ot}from"./chunk-CE5U3CSQ.mjs";import{a as l}from"./chunk-3UTMGIUG.mjs";import{jsx as P}from"react/jsx-runtime";var et=({size:e,children:t,style:o})=>P(l,{style:[{width:e,height:e,position:"relative"},o],children:t}),X=({cx:e,cy:t,r:o,fill:r="transparent",borderColor:a,borderWidth:y=0,opacity:h=1,scaleX:k=1,scaleY:c=1,glowColor:p,glowRadius:f=4})=>{let x=o*2,u=[];k!==1&&u.push({scaleX:k}),c!==1&&u.push({scaleY:c});let v={position:"absolute",left:e-o,top:t-o,width:x,height:x,borderRadius:o,backgroundColor:r,borderWidth:y,borderColor:a,opacity:h,transform:u.length>0?u:void 0,...p&&{shadowColor:p,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:f}};return P(l,{style:v})},Ht=({x:e,y:t,width:o,height:r,fill:a="transparent",borderColor:y,borderWidth:h=0,borderRadius:k=0,opacity:c=1,rotate:p})=>{let f=[];p!==void 0&&f.push({rotate:`${p}deg`});let x={position:"absolute",left:e,top:t,width:o,height:r,backgroundColor:a,borderWidth:h,borderColor:y,borderRadius:k,opacity:c,transform:f.length>0?f:void 0};return P(l,{style:x})},Ut=({x1:e,y1:t,x2:o,y2:r,color:a,strokeWidth:y=2,opacity:h=1})=>{let k=Math.sqrt(Math.pow(o-e,2)+Math.pow(r-t,2)),c=Math.atan2(r-t,o-e)*(180/Math.PI),p={position:"absolute",left:e,top:t-y/2,width:k,height:y,backgroundColor:a,transform:[{rotate:`${c}deg`}],transformOrigin:"left center",opacity:h,borderRadius:y/2};return P(l,{style:p})};import{jsx as q,jsxs as Kt}from"react/jsx-runtime";var Jt="#4AFF9F",rt={network:Jt,blackTint1:"rgba(8, 12, 21, 0.95)"},it=({size:e=24,color:t=rt.network})=>{let o=e/24,r=18*o/2,a=e/2,y=2*o;return Kt(et,{size:e,children:[q(X,{cx:a,cy:a,r,fill:rt.blackTint1,borderColor:t,borderWidth:y,glowColor:t,glowRadius:4*o}),q(X,{cx:a,cy:a,r,borderColor:t,borderWidth:y,scaleX:.45,opacity:.6}),q(X,{cx:a,cy:a,r,borderColor:t,borderWidth:y,scaleX:1.33,scaleY:.6,opacity:.6})]})},Zt=it;import{Fragment as st}from"react";import{Fragment as A,jsx as B,jsxs as D}from"react/jsx-runtime";var Qt=[{x:.1,y:.1,size:1,opacity:.3},{x:.9,y:.1,size:1.2,opacity:.5},{x:.05,y:.3,size:.8,opacity:.4},{x:.95,y:.35,size:1,opacity:.3},{x:.15,y:.85,size:1,opacity:.5},{x:.85,y:.9,size:1.2,opacity:.4}],Vt={circuit:{lines:[{x:.5,width:.5,height:.9,opacity:.15},{x:.25,width:.3,height:.7,opacity:.1},{x:.75,width:.3,height:.7,opacity:.1}],nodes:[{x:.5,y:.15},{x:.25,y:.25},{x:.75,y:.25},{x:.5,y:.5},{x:.25,y:.6},{x:.75,y:.6}]},nodes:{nodes:[{x:.2,y:.2},{x:.8,y:.2},{x:.15,y:.5},{x:.85,y:.5},{x:.2,y:.8},{x:.8,y:.8}]},grid:{lines:[.2,.35,.5,.65,.8]},matrix:{lines:[.2,.35,.5,.65,.8],rain:[.25,.5,.75]},glitch:{lines:[.2,.35,.5,.65,.8],scan:[.3,.7]}},E=({size:e,glowColor:t,variant:o="circuit",children:r})=>{let a=e/24,y=()=>B(A,{children:Qt.map((k,c)=>B(l,{style:{position:"absolute",width:k.size*a,height:k.size*a,borderRadius:k.size*a/2,backgroundColor:t,left:k.x*e-k.size*a/2,top:k.y*e-k.size*a/2,opacity:k.opacity}},`star-${c}`))}),h=()=>{let k=Vt[o];if(!k)return null;if(o==="circuit"){let c=k;return D(A,{children:[c.lines.map((p,f)=>B(l,{style:{position:"absolute",width:p.width*a,height:e*p.height,backgroundColor:t,left:p.x*e-p.width*a/2,top:e*.05,opacity:p.opacity}},`line-${f}`)),c.nodes.map((p,f)=>B(l,{style:{position:"absolute",width:2*a,height:2*a,borderRadius:a,backgroundColor:t,left:p.x*e-a,top:p.y*e-a,opacity:.4}},`node-${f}`))]})}if(o==="nodes")return B(A,{children:k.nodes.map((c,p)=>D(st,{children:[B(l,{style:{position:"absolute",width:Math.abs(.5-c.x)*e,height:.3*a,backgroundColor:t,left:Math.min(c.x*e,e/2),top:c.y*e,opacity:.1}}),B(l,{style:{position:"absolute",width:2*a,height:2*a,borderRadius:a,backgroundColor:t,left:c.x*e-a,top:c.y*e-a,opacity:.5}})]},`node-${p}`))});if(o==="grid"||o==="matrix")return B(A,{children:k.lines.map((c,p)=>D(st,{children:[B(l,{style:{position:"absolute",width:.2*a,height:e*.9,backgroundColor:t,left:c*e,top:e*.05,opacity:.05}}),B(l,{style:{position:"absolute",width:e*.9,height:.2*a,backgroundColor:t,left:e*.05,top:c*e,opacity:.05}})]},`grid-${p}`))});if(o==="glitch"){let c=k;return D(A,{children:[c.lines.map((p,f)=>B(l,{style:{position:"absolute",width:e*.4,height:.5*a,backgroundColor:t,left:e*(.1+f*.1),top:p*e,opacity:.2}},`glitch-${f}`)),c.scan.map((p,f)=>B(l,{style:{position:"absolute",width:e,height:a,backgroundColor:t,left:0,top:e*p,opacity:.15}},`scan-${f}`))]})}return null};return D(l,{style:{width:e,height:e,position:"relative"},children:[B(l,{style:{position:"absolute",width:e,height:e,borderRadius:e/2,backgroundColor:t,opacity:.05}}),B(l,{style:{position:"absolute",width:e*.9,height:e*.9,borderRadius:e*.9/2,borderWidth:.5*a,borderColor:t,opacity:.1,left:e*.05,top:e*.05}}),y(),h(),r]})};import{Fragment as to,jsx as O,jsxs as H}from"react/jsx-runtime";var ht={green:{color:"#00FF88",glow:"#00FF88"},cyan:{color:"#00D4FF",glow:"#00D4FF"},purple:{color:"#9945FF",glow:"#9945FF"},pink:{color:"#FF45FF",glow:"#FF45FF"},yellow:{color:"#FFD700",glow:"#FFD700"},orange:{color:"#FF8800",glow:"#FF8800"}},oo=[1,3,5,7,9,11,13,15,17],eo=[2,4,6,8,10,12,14,16],U={x:5,width:10,y:5.5},ro=[{x:.3,y:.3},{x:.7,y:.3},{x:.5,y:.7}],dt=({size:e=24,color:t,glowColor:o,colorPreset:r="green",variant:a="circuit",noBackground:y=true})=>{let h=y?e/24:e/40,k=ht[r]||ht.green,c=t||k.color,p=o||k.glow,f=H(to,{children:[H(l,{style:{position:"absolute",width:20*h,height:8*h,backgroundColor:c,borderRadius:1*h,left:e/2-10*h,top:e/2+4*h,opacity:.85},children:[oo.map((x,u)=>O(l,{style:{position:"absolute",width:1.5*h,height:1.2*h,backgroundColor:"#000",opacity:.3,left:x*h,top:1.5*h,borderRadius:.2*h}},`key1-${u}`)),eo.map((x,u)=>O(l,{style:{position:"absolute",width:1.5*h,height:1.2*h,backgroundColor:"#000",opacity:.3,left:x*h,top:3.2*h,borderRadius:.2*h}},`key2-${u}`)),O(l,{style:{position:"absolute",width:U.width*h,height:1*h,backgroundColor:"#000",opacity:.25,left:U.x*h,top:U.y*h,borderRadius:.2*h}})]}),O(l,{style:{position:"absolute",width:22*h,height:10*h,backgroundColor:p,borderRadius:1*h,left:e/2-11*h,top:e/2+3*h,opacity:.15}}),H(l,{style:{position:"absolute",width:18*h,height:12*h,backgroundColor:c,borderRadius:1*h,left:e/2-9*h,top:e/2-10*h,opacity:.9},children:[O(l,{style:{position:"absolute",width:16*h,height:10*h,backgroundColor:"#000",opacity:.5,left:1*h,top:1*h,borderRadius:.5*h}}),[2,4,6].map((x,u)=>O(l,{style:{position:"absolute",width:(10-u*3)*h,height:.5*h,backgroundColor:p,opacity:.6,left:2*h,top:x*h}},u))]}),O(l,{style:{position:"absolute",width:2*h,height:1*h,backgroundColor:p,borderRadius:.5*h,left:e/2-1*h,top:e/2+10*h,opacity:.8}}),ro.map((x,u)=>O(l,{style:{position:"absolute",width:1*h,height:1*h,borderRadius:.5*h,backgroundColor:p,left:e/2-9*h+x.x*18*h,top:e/2-10*h+x.y*12*h,opacity:.4}},`dot-${u}`))]});return y?O(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:f}):O(E,{size:e,glowColor:p,variant:a,children:f})};var io=dt;import{QueryIcon as so}from"@buoy-gg/floating-tools-core/web";import{jsx as ho}from"react/jsx-runtime";function ao({size:e=24}){return ho(so,{size:e})}import{SentryIcon as lo}from"@buoy-gg/floating-tools-core/web";import{jsx as yo}from"react/jsx-runtime";function no({size:e=24,color:t}){return yo(lo,{size:e,color:t??"#9945FF"})}import{Fragment as co}from"react";import{Fragment as ko,jsx as M,jsxs as at}from"react/jsx-runtime";var lt={yellow:{color:"#FFD700",glow:"#FFD700"},cyan:{color:"#00D4FF",glow:"#00D4FF"},green:{color:"#00FF88",glow:"#00FF88"},purple:{color:"#9945FF",glow:"#9945FF"},pink:{color:"#FF45FF",glow:"#FF45FF"},orange:{color:"#FF8800",glow:"#FF8800"}},xo=[{y:.25,opacity:.9},{y:.45,opacity:.8},{y:.65,opacity:.7}],po=({size:e=24,color:t,glowColor:o,colorPreset:r="yellow",variant:a="nodes",noBackground:y=true})=>{let h=y?e/24:e/26,k=lt[r]||lt.yellow,c=t||k.color,p=o||k.glow,f=(u,v,R)=>at(co,{children:[M(l,{style:{position:"absolute",width:18*h,height:8*h,borderRadius:4*h,backgroundColor:p,left:e/2-9*h,top:u*e-h,opacity:.1}}),M(l,{style:{position:"absolute",width:16*h,height:6*h,borderRadius:3*h,backgroundColor:c,left:e/2-8*h,top:u*e,opacity:v}}),M(l,{style:{position:"absolute",width:14*h,height:2*h,borderRadius:1*h,backgroundColor:"#fff",left:e/2-7*h,top:u*e+.5*h,opacity:.15}}),M(l,{style:{position:"absolute",width:16*h,height:6*h,borderRadius:3*h,borderWidth:.5*h,borderColor:p,backgroundColor:"transparent",left:e/2-8*h,top:u*e,opacity:.3}})]},`cylinder-${R}`),x=at(ko,{children:[xo.map(({y:u,opacity:v},R)=>f(u,v,R)),[.35,.55].map((u,v)=>M(l,{style:{position:"absolute",width:.5*h,height:6*h,backgroundColor:p,left:e/2-.25*h,top:u*e,opacity:.3}},`connection-${v}`)),[.25,.45,.65].map((u,v)=>M(l,{style:{position:"absolute",width:1*h,height:1*h,borderRadius:.5*h,backgroundColor:p,left:e/2-.5*h,top:u*e+2.5*h,opacity:.6}},`dot-${v}`))]});return y?M(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:x}):M(E,{size:e,glowColor:p,variant:a,children:x})};import{Fragment as go,jsx as S,jsxs as bo}from"react/jsx-runtime";var yt={cyan:{color:"#00D4FF",glow:"#00D4FF"},green:{color:"#00FF88",glow:"#00FF88"},purple:{color:"#9945FF",glow:"#9945FF"},pink:{color:"#FF45FF",glow:"#FF45FF"},yellow:{color:"#FFD700",glow:"#FFD700"},orange:{color:"#FF8800",glow:"#FF8800"}},uo=[{strength:1,size:15,topOffset:.55,opacity:.9},{strength:2,size:30,topOffset:.45,opacity:.8},{strength:3,size:45,topOffset:.35,opacity:.7},{strength:4,size:60,topOffset:.25,opacity:.6}],Wo=[{x:.35,y:.5,minStrength:2},{x:.65,y:.5,minStrength:2},{x:.5,y:.3,minStrength:4}],wo=({size:e=24,color:t,glowColor:o,strength:r=4,colorPreset:a="cyan",variant:y="nodes",noBackground:h=true,showSlash:k=false})=>{let c=e/60,p=2.5*c,f=r===0,x=yt[a]||yt.cyan,u=t||x.color,v=o||x.glow,R=f?"#333":u,j=f?"#333":v,T=bo(go,{children:[S(l,{style:{position:"absolute",width:5*c,height:5*c,borderRadius:2.5*c,backgroundColor:R,left:e/2-2.5*c,top:e*.7,opacity:r>0?1:.3}}),uo.filter(z=>r>=z.strength).map((z,N)=>S(l,{style:{position:"absolute",width:z.size*c,height:z.size*c,borderRadius:z.size*c/2,borderWidth:p,borderColor:R,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent",left:e/2-z.size*c/2,top:e*z.topOffset,transform:[{rotate:"180deg"}],opacity:z.opacity}},`arc-${N}`)),r>0&&Wo.filter(z=>r>=z.minStrength).map((z,N)=>S(l,{style:{position:"absolute",width:1.5*c,height:1.5*c,borderRadius:.75*c,backgroundColor:j,left:z.x*e-.75*c,top:z.y*e,opacity:.6}},`dot-${N}`)),k&&S(l,{style:{position:"absolute",width:e*.7,height:p*1.5,backgroundColor:R,left:e*.15,top:e*.5-p*.75,opacity:.9,transform:[{rotate:"45deg"}],borderRadius:p}})]});return h?S(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:T}):S(E,{size:e,glowColor:j,variant:y,children:T})};import{Fragment as nt}from"react";import{Fragment as ct,jsx as G,jsxs as Y}from"react/jsx-runtime";var kt={orange:{color:"#f59e0b",glow:"#f59e0b"},cyan:{color:"#00D4FF",glow:"#00D4FF"},purple:{color:"#a78bfa",glow:"#a78bfa"},pink:{color:"#FF45FF",glow:"#FF45FF"},yellow:{color:"#FFD700",glow:"#FFD700"},green:{color:"#00FF88",glow:"#00FF88"}},K=[{x:.5,y:.2,size:1.2,isActive:true},{x:.25,y:.45,size:1,isActive:false},{x:.75,y:.45,size:1,isActive:false},{x:.35,y:.7,size:.9,isActive:false},{x:.65,y:.7,size:.9,isActive:false}],Co=[{from:0,to:1},{from:0,to:2},{from:1,to:3},{from:2,to:4}],J=({size:e=24,color:t,glowColor:o,colorPreset:r="orange",variant:a="nodes",noBackground:y=true})=>{let h=y?e/24:e/26,k=kt[r]||kt.orange,c=t||k.color,p=o||k.glow,f=Y(ct,{children:[Co.map((x,u)=>{let v=K[x.from],R=K[x.to],j=v.x*e,T=v.y*e,z=R.x*e,N=R.y*e,Q=Math.sqrt(Math.pow(z-j,2)+Math.pow(N-T,2)),V=Math.atan2(N-T,z-j);return Y(nt,{children:[G(l,{style:{position:"absolute",width:Q,height:1.5*h,backgroundColor:p,left:j,top:T,opacity:.15,transform:[{translateY:-.75*h},{rotate:`${V}rad`}]}}),G(l,{style:{position:"absolute",width:Q,height:.8*h,backgroundColor:c,left:j,top:T,opacity:.5,transform:[{translateY:-.4*h},{rotate:`${V}rad`}]}}),[.3,.6].map((tt,qt)=>G(l,{style:{position:"absolute",width:1*h,height:1*h,borderRadius:.5*h,backgroundColor:p,left:j+(z-j)*tt,top:T+(N-T)*tt,opacity:.7}},`dot-${u}-${qt}`))]},`connection-${u}`)}),K.map((x,u)=>{let v=x.x*e-x.size*1.5*h,R=x.y*e-x.size*1.5*h;return Y(nt,{children:[G(l,{style:{position:"absolute",width:x.size*4*h,height:x.size*4*h,borderRadius:x.size*2*h,backgroundColor:p,left:v-x.size*.5*h,top:R-x.size*.5*h,opacity:x.isActive?.2:.1}}),G(l,{style:{position:"absolute",width:x.size*3*h,height:x.size*3*h,borderRadius:x.size*1.5*h,backgroundColor:c,left:v,top:R,opacity:x.isActive?.95:.75}}),G(l,{style:{position:"absolute",width:x.size*1.5*h,height:x.size*1.5*h,borderRadius:x.size*.75*h,backgroundColor:"#fff",left:v+x.size*.75*h,top:R+x.size*.75*h,opacity:.2}}),x.isActive&&Y(ct,{children:[G(l,{style:{position:"absolute",width:x.size*5*h,height:x.size*5*h,borderRadius:x.size*2.5*h,borderWidth:.5*h,borderColor:p,backgroundColor:"transparent",left:v-x.size*1*h,top:R-x.size*1*h,opacity:.4}}),G(l,{style:{position:"absolute",width:x.size*1*h,height:x.size*1*h,borderRadius:x.size*.5*h,backgroundColor:p,left:v+x.size*1*h,top:R+x.size*1*h,opacity:.9}})]})]},`node-${u}`)})]});return y?G(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:f}):G(E,{size:e,glowColor:p,variant:a,children:f})},fo=J,mo=J;import{jsx as L,jsxs as vo}from"react/jsx-runtime";var Z=({size:e=24,color:t="#00D4FF",glowColor:o})=>{let r=e/24,a=t,y=o||t;return vo(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:[L(l,{style:{position:"absolute",width:20*r,height:20*r,borderRadius:3*r,borderWidth:1.5*r,borderColor:y,backgroundColor:"transparent",left:e/2-10*r,top:e/2-10*r,opacity:.2}}),L(l,{style:{position:"absolute",width:15*r,height:15*r,borderRadius:2.5*r,borderWidth:1.5*r,borderColor:y,backgroundColor:"transparent",left:e/2-7.5*r,top:e/2-7.5*r,opacity:.4}}),L(l,{style:{position:"absolute",width:12*r,height:12*r,borderRadius:2*r,backgroundColor:y,left:e/2-6*r,top:e/2-6*r,opacity:.15}}),L(l,{style:{position:"absolute",width:10*r,height:10*r,borderRadius:1.5*r,backgroundColor:a,left:e/2-5*r,top:e/2-5*r,opacity:.9}}),L(l,{style:{position:"absolute",width:7*r,height:7*r,borderRadius:1*r,backgroundColor:"#000",left:e/2-3.5*r,top:e/2-3.5*r,opacity:.4}}),L(l,{style:{position:"absolute",width:4*r,height:1*r,borderRadius:.5*r,backgroundColor:y,left:e/2-2*r,top:e/2-2*r,opacity:.7}}),L(l,{style:{position:"absolute",width:3*r,height:1*r,borderRadius:.5*r,backgroundColor:y,left:e/2-2*r,top:e/2,opacity:.5}}),L(l,{style:{position:"absolute",width:2*r,height:1*r,borderRadius:.5*r,backgroundColor:y,left:e/2-2*r,top:e/2+2*r,opacity:.4}}),L(l,{style:{position:"absolute",width:6*r,height:1.5*r,borderRadius:.75*r,backgroundColor:"#fff",left:e/2-3*r,top:e/2-4.5*r,opacity:.2}}),[{x:.15,y:.15},{x:.85,y:.15},{x:.15,y:.85},{x:.85,y:.85}].map((h,k)=>L(l,{style:{position:"absolute",width:1.5*r,height:1.5*r,borderRadius:.75*r,backgroundColor:y,left:h.x*e-.75*r,top:h.y*e-.75*r,opacity:.6}},`corner-${k}`))]})},zo=Z,Ro=Z;import{jsx as _,jsxs as Fo}from"react/jsx-runtime";var Bo=({size:e=24,color:t="#00D4FF",glowColor:o})=>{let r=e/24,a=t,y=o||t;return Fo(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:[_(l,{style:{position:"absolute",width:14*r,height:10*r,borderRadius:2*r,backgroundColor:y,left:e/2-7*r+3*r,top:e/2-5*r+3*r,opacity:.2}}),_(l,{style:{position:"absolute",width:14*r,height:10*r,borderRadius:2*r,backgroundColor:y,left:e/2-7*r+1.5*r,top:e/2-5*r+1.5*r,opacity:.35}}),_(l,{style:{position:"absolute",width:14*r,height:10*r,borderRadius:2*r,borderWidth:1.5*r,borderColor:a,backgroundColor:"transparent",left:e/2-7*r,top:e/2-5*r,opacity:.9}}),_(l,{style:{position:"absolute",width:6*r,height:1*r,borderRadius:.5*r,backgroundColor:a,left:e/2-5*r,top:e/2-2*r,opacity:.7}}),_(l,{style:{position:"absolute",width:4*r,height:1*r,borderRadius:.5*r,backgroundColor:a,left:e/2-5*r,top:e/2,opacity:.5}}),_(l,{style:{position:"absolute",width:8*r,height:8*r,borderRadius:4*r,backgroundColor:a,right:e*.1,top:e*.08,opacity:.9,alignItems:"center",justifyContent:"center"},children:_(l,{style:{width:3*r,height:4*r,borderRadius:.5*r,backgroundColor:"#000",opacity:.6}})}),_(l,{style:{position:"absolute",width:6*r,height:6*r,borderRadius:3*r,borderWidth:1*r,borderColor:y,borderRightColor:"transparent",borderBottomColor:"transparent",left:e*.08,bottom:e*.12,opacity:.6,transform:[{rotate:"-45deg"}]}}),_(l,{style:{position:"absolute",width:0,height:0,borderLeftWidth:2*r,borderRightWidth:2*r,borderBottomWidth:3*r,borderLeftColor:"transparent",borderRightColor:"transparent",borderBottomColor:y,left:e*.18,bottom:e*.22,opacity:.6,transform:[{rotate:"45deg"}]}})]})};import{jsx as $,jsxs as Io}from"react/jsx-runtime";var Oo=({size:e=24,color:t="#F59E0B",glowColor:o})=>{let r=e/24,a=t,y=o||t,h=e/2,k=e/2+1*r,c=7*r;return Io(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:[$(l,{style:{position:"absolute",width:c*2,height:c*2,borderRadius:c,borderWidth:1.5*r,borderColor:a,backgroundColor:"transparent",left:h-c,top:k-c,opacity:.9}}),$(l,{style:{position:"absolute",width:10*r,height:10*r,borderRadius:5*r,backgroundColor:y,left:h-5*r,top:k-5*r,opacity:.15}}),$(l,{style:{position:"absolute",width:4*r,height:3*r,borderRadius:1*r,backgroundColor:a,left:h-2*r,top:k-c-3*r,opacity:.9}}),$(l,{style:{position:"absolute",width:2*r,height:2*r,backgroundColor:a,left:h-1*r,top:k-c-.5*r,opacity:.9}}),$(l,{style:{position:"absolute",width:1.5*r,height:5*r,borderRadius:1*r,backgroundColor:a,left:h-.75*r,top:k-5*r,opacity:.9,transform:[{rotate:"-45deg"}],transformOrigin:"bottom center"}}),$(l,{style:{position:"absolute",width:2*r,height:2*r,borderRadius:1*r,backgroundColor:a,left:h-1*r,top:k-1*r,opacity:.9}})]})};import{Fragment as Go}from"react";import{jsx as d,jsxs as W}from"react/jsx-runtime";var C=({width:e,height:t,viewBox:o,children:r,style:a,...y})=>{let[,,h,k]=o.split(" ").map(Number),c=e/h,p=t/k;return d(l,{style:[{width:e,height:t,position:"relative",overflow:"hidden"},a],...y,children:d(l,{style:{transform:[{scaleX:c},{scaleY:p}],transformOrigin:"top left",width:h,height:k},children:r})})},n=({x1:e,y1:t,x2:o,y2:r,stroke:a,strokeWidth:y=2})=>{let h=Math.sqrt(Math.pow(o-e,2)+Math.pow(r-t,2)),k=Math.atan2(r-t,o-e)*(180/Math.PI);return d(l,{style:{position:"absolute",left:e,top:t-y/2,width:h,height:y,backgroundColor:a,transform:[{rotate:`${k}deg`}],transformOrigin:"left center"}})},F=({cx:e,cy:t,r:o,fill:r,stroke:a,strokeWidth:y=2})=>{let h=o*2;return d(l,{style:{position:"absolute",left:e-o,top:t-o,width:h,height:h,borderRadius:o,backgroundColor:r||"transparent",borderColor:a,borderWidth:a?y:0}})},w=({x:e,y:t,width:o,height:r,fill:a,stroke:y,strokeWidth:h=2,rx:k=0})=>d(l,{style:{position:"absolute",left:e,top:t,width:o,height:r,backgroundColor:a||"transparent",borderColor:y,borderWidth:y?h:0,borderRadius:k}}),Lo=({size:e=1,color:t="currentColor",strokeWidth:o=2})=>{let r=.4666666666666667;return o=4*r,W(l,{style:{position:"relative",width:e,height:e},children:[d(l,{style:{position:"absolute",width:5*r,height:5*r,borderRadius:2.5*r,backgroundColor:t,bottom:0,left:e/2-2.5*r,zIndex:10}}),d(l,{style:{position:"absolute",bottom:-8*r,left:e/2-10*r,transform:[{rotate:"180deg"}]},children:d(l,{style:{width:20*r,height:20*r,borderRadius:10*r,borderWidth:o*r,borderColor:t,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"}})}),d(l,{style:{position:"absolute",bottom:-14*r,left:e/2-17*r,transform:[{rotate:"180deg"}]},children:d(l,{style:{width:34*r,height:34*r,borderRadius:17*r,borderWidth:o*r,borderColor:t,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"}})}),d(l,{style:{position:"absolute",bottom:-22*r,left:e/2-25*r,transform:[{rotate:"180deg"}]},children:d(l,{style:{width:50*r,height:50*r,borderRadius:25*r,borderWidth:o*r,borderColor:t,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"}})})]})};var xt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(F,{cx:8,cy:15,r:4,stroke:t,strokeWidth:o}),d(F,{cx:16,cy:15,r:4,stroke:t,strokeWidth:o}),d(F,{cx:12,cy:11,r:4,stroke:t,strokeWidth:o}),d(w,{x:8,y:13,width:8,height:6,fill:"white",stroke:"white"})]}),pt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:15,width:6,height:6,rx:2,stroke:t,strokeWidth:o}),d(w,{x:13,y:3,width:6,height:6,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:11,y1:15,x2:13,y2:9,stroke:t,strokeWidth:o})]}),gt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:3,y:9,width:5,height:6,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:9,x2:11,y2:6,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:15,x2:11,y2:18,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:9,x2:8,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:13,y1:9,x2:13,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:16,y1:7,x2:16,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:19,y1:5,x2:19,y2:19,stroke:t,strokeWidth:o})]});var bt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:7,y:11,width:10,height:10,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:11,x2:9,y2:6,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:11,x2:12,y2:4,stroke:t,strokeWidth:o}),d(n,{x1:15,y1:11,x2:15,y2:6,stroke:t,strokeWidth:o}),d(n,{x1:7,y1:14,x2:4,y2:12,stroke:t,strokeWidth:o})]});var jo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:3,width:14,height:4,rx:2,stroke:t,strokeWidth:o}),d(w,{x:5,y:7,width:14,height:4,stroke:t,strokeWidth:o}),d(w,{x:5,y:11,width:14,height:8,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:5,y1:7,x2:19,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:5,y1:11,x2:19,y2:11,stroke:t,strokeWidth:o})]}),To=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>{let a=.6666666666666666;return d(l,{style:{width:e*1.5,height:e*1,alignItems:"center",justifyContent:"center"},children:W(l,{style:{transform:[{rotate:"20deg"}],position:"relative"},children:[d(l,{style:{width:20*a,height:26*a,backgroundColor:t,borderRadius:10*a,borderTopLeftRadius:10*a,borderTopRightRadius:10*a,borderBottomLeftRadius:12*a,borderBottomRightRadius:12*a}}),d(l,{style:{position:"absolute",width:12*a,height:8*a,backgroundColor:t,borderRadius:6*a,top:-4*a,left:4*a}}),d(l,{style:{position:"absolute",width:2*a,height:8*a,backgroundColor:t,top:-10*a,left:6*a,transform:[{rotate:"-15deg"}]}}),d(l,{style:{position:"absolute",width:2*a,height:8*a,backgroundColor:t,top:-10*a,right:6*a,transform:[{rotate:"15deg"}]}}),d(l,{style:{position:"absolute",width:3*a,height:3*a,backgroundColor:"#fff",borderRadius:1.5*a,top:-2*a,left:6*a}}),d(l,{style:{position:"absolute",width:3*a,height:3*a,backgroundColor:"#fff",borderRadius:1.5*a,top:-2*a,right:6*a}}),[0,1,2].map(y=>W(Go,{children:[d(l,{style:{position:"absolute",width:8*a,height:2*a,backgroundColor:t,top:(6+y*6)*a,left:-6*a,transform:[{rotate:"-45deg"}]}}),d(l,{style:{position:"absolute",width:8*a,height:2*a,backgroundColor:t,top:(6+y*6)*a,right:-6*a,transform:[{rotate:"45deg"}]}})]},y))]})})},_o=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>{let a=.6666666666666666;return W(l,{style:{width:e,height:e,alignItems:"center",justifyContent:"center"},children:[d(l,{style:{width:28*a,height:18*a,backgroundColor:t,borderRadius:2*a,marginBottom:-2*a}}),d(l,{style:{position:"absolute",width:24*a,height:14*a,backgroundColor:"#fff",borderRadius:1*a,top:11*a,opacity:.2}}),d(l,{style:{width:36*a,height:3*a,backgroundColor:t,borderRadius:1*a}}),d(l,{style:{position:"absolute",width:8*a,height:1*a,backgroundColor:"#fff",bottom:17*a,opacity:.3}})]})},Mo=({size:e=24,color:t=ot.env,strokeWidth:o=2,...r})=>{let a=e/24,y=18*a;return W(l,{style:{width:e,height:e},children:[d(l,{style:{position:"absolute",width:y,height:y,borderWidth:2*a,borderColor:t,borderRadius:y/2,top:(e-y)/2,left:(e-y)/2,backgroundColor:ot.blackTint1,shadowColor:t,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:4*a}}),d(l,{style:{position:"absolute",width:y,height:y,borderWidth:2*a,borderColor:t,borderRadius:y/2,top:(e-y)/2,left:(e-y)/2,transform:[{scaleX:.45}],opacity:.6}}),d(l,{style:{position:"absolute",width:y,height:y,borderWidth:2*a,borderColor:t,borderRadius:y/2,top:(e-y)/2,left:(e-y)/2,transform:[{scaleX:1.33},{scaleY:.6}],opacity:.6}})]})};var ut=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(F,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:12,x2:11,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:11,y1:15,x2:16,y2:9,stroke:t,strokeWidth:o})]});var No=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:2,width:14,height:20,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:2,x2:19,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:2,x2:14,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:7,x2:19,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:11,x2:9,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:11,x2:10,y2:11,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:15,x2:10,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:15,y1:11,x2:15,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:11,x2:15,y2:11,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:15,x2:15,y2:15,stroke:t,strokeWidth:o})]});var So=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:7,width:14,height:14,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:3,y1:7,x2:21,y2:7,stroke:t,strokeWidth:o}),d(w,{x:9,y:3,width:6,height:4,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:10,y1:11,x2:10,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:11,x2:14,y2:17,stroke:t,strokeWidth:o})]});var Wt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(F,{cx:9,cy:8,r:3,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:4,top:14,width:10,height:6,borderRadius:5,borderWidth:o,borderColor:t,backgroundColor:"transparent"}}),d(F,{cx:16,cy:7,r:2,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:13,top:12,width:6,height:8,borderRadius:3,borderWidth:o,borderColor:t,backgroundColor:"transparent"}})]});var $o=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(F,{cx:5,cy:12,r:3,stroke:t,strokeWidth:o}),d(F,{cx:19,cy:12,r:3,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:12,x2:16,y2:12,stroke:t,strokeWidth:o}),d(n,{x1:13,y1:9,x2:16,y2:12,stroke:t,strokeWidth:o}),d(n,{x1:13,y1:15,x2:16,y2:12,stroke:t,strokeWidth:o})]}),wt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:12,y1:3,x2:3,y2:20,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:3,x2:21,y2:20,stroke:t,strokeWidth:o}),d(n,{x1:3,y1:20,x2:21,y2:20,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:9,x2:12,y2:13,stroke:t,strokeWidth:o}),d(F,{cx:12,cy:16,r:1,fill:t})]}),Ao=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:11,width:14,height:10,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:7,y1:11,x2:7,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:7,y1:7,x2:14,y2:7,stroke:t,strokeWidth:o}),d(F,{cx:12,cy:16,r:1,fill:t})]}),Do=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:3,y:3,width:18,height:18,rx:1,stroke:t,strokeWidth:o}),d(F,{cx:8,cy:8,r:2,fill:t}),d(n,{x1:3,y1:21,x2:10,y2:14,stroke:t,strokeWidth:o}),d(n,{x1:10,y1:14,x2:21,y2:21,stroke:t,strokeWidth:o})]}),Eo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:3,width:14,height:18,stroke:t,strokeWidth:o}),d(w,{x:7,y:5,width:2,height:2,fill:t}),d(w,{x:7,y:17,width:2,height:2,fill:t}),d(w,{x:15,y:5,width:2,height:2,fill:t}),d(w,{x:15,y:17,width:2,height:2,fill:t}),d(n,{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:o})]}),Po=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:8,y1:6,x2:8,y2:18,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:6,x2:18,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:18,y1:3,x2:18,y2:8,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:10,x2:18,y2:8,stroke:t,strokeWidth:o}),d(F,{cx:8,cy:18,r:2,fill:t})]}),Ct=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(F,{cx:12,cy:13,r:9,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:2,x2:12,y2:4,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:2,x2:15,y2:2,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:13,x2:12,y2:8,stroke:t,strokeWidth:o})]}),ft=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:6,y:2,width:12,height:20,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:6,y1:5,x2:18,y2:5,stroke:t,strokeWidth:o}),d(n,{x1:6,y1:19,x2:18,y2:19,stroke:t,strokeWidth:o}),d(n,{x1:10,y1:20.5,x2:14,y2:20.5,stroke:t,strokeWidth:o})]});var mt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:3,y:5,width:18,height:14,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:15,x2:12,y2:19,stroke:t,strokeWidth:o})]}),Xo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(F,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:8,x2:12,y2:12,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:11,top:15,width:2,height:2,borderRadius:1,backgroundColor:t}})]});var Yo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:12,y1:3,x2:12,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:11,x2:12,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:16,y1:11,x2:12,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:20,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:4,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:20,y1:17,x2:20,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:21,x2:20,y2:21,stroke:t,strokeWidth:o})]});var vt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:8,y:10,width:8,height:4,rx:2,stroke:t,strokeWidth:o}),d(w,{x:4,y:10,width:8,height:4,rx:2,stroke:t,strokeWidth:o}),d(w,{x:12,y:10,width:8,height:4,rx:2,stroke:t,strokeWidth:o})]});var qo=So,Ho=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:12,y1:15,x2:12,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:7,x2:12,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:16,y1:7,x2:12,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:20,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:4,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:20,y1:17,x2:20,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:21,x2:20,y2:21,stroke:t,strokeWidth:o})]});var Uo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(F,{cx:12,cy:7,r:4,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:5,top:14,width:14,height:7,borderTopLeftRadius:7,borderTopRightRadius:7,borderWidth:o,borderColor:t,borderBottomColor:"transparent",backgroundColor:"transparent"}})]}),Ko=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:11,width:14,height:10,rx:1,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:7,top:4,width:10,height:9,borderTopLeftRadius:5,borderTopRightRadius:5,borderWidth:o,borderColor:t,borderBottomColor:"transparent",backgroundColor:"transparent"}}),d(l,{style:{position:"absolute",left:11,top:15,width:2,height:3,backgroundColor:t}})]}),Jo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(F,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:2,x2:12,y2:12,stroke:t,strokeWidth:o})]});var zt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(C,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:3,y1:3,x2:3,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:3,y1:21,x2:21,y2:21,stroke:t,strokeWidth:o}),d(w,{x:7,y:12,width:3,height:9,fill:t}),d(w,{x:12,y:8,width:3,height:13,fill:t}),d(w,{x:17,y:15,width:3,height:6,fill:t})]});var Zo=zt;var Qo=xt;var Vo=pt;var te=ft;var oe=Ct,ee=mt;var re=Wt,ie=gt;import{jsx as i,jsxs as b}from"react/jsx-runtime";var g=({width:e,height:t,viewBox:o,children:r,style:a,...y})=>{let[,,h,k]=o.split(" ").map(Number),c=e/h,p=t/k;return i(l,{style:[{width:e,height:t,position:"relative",overflow:"hidden"},a],...y,children:i(l,{style:{transform:[{scaleX:c},{scaleY:p}],transformOrigin:"top left",width:h,height:k},children:r})})},s=({x1:e,y1:t,x2:o,y2:r,stroke:a,strokeWidth:y=2})=>{let h=Math.sqrt(Math.pow(o-e,2)+Math.pow(r-t,2)),k=Math.atan2(r-t,o-e)*(180/Math.PI);return i(l,{style:{position:"absolute",left:e,top:t-y/2,width:h,height:y,backgroundColor:a,transform:[{rotate:`${k}deg`}],transformOrigin:"left center"}})},m=({cx:e,cy:t,r:o,fill:r,stroke:a,strokeWidth:y=2})=>i(l,{style:{position:"absolute",left:e-o,top:t-o,width:o*2,height:o*2,borderRadius:o,backgroundColor:r||"transparent",borderColor:a,borderWidth:a?y:0}}),I=({x:e,y:t,width:o,height:r,fill:a,stroke:y,strokeWidth:h=2,rx:k=0,ry:c})=>i(l,{style:{position:"absolute",left:e,top:t,width:o,height:r,borderRadius:c!==void 0?Math.max(k,c):k,backgroundColor:a||"transparent",borderColor:y,borderWidth:y?h:0}}),se=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:3,y1:12,x2:7,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:7,y1:12,x2:10,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:6,x2:14,y2:18,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:18,x2:17,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:17,y1:12,x2:21,y2:12,stroke:t,strokeWidth:o})]}),Rt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:3,x2:3,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:3,x2:21,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:20,x2:21,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:12,y2:13,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:16,r:1,fill:t})]}),Ft=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:20,y1:6,x2:9,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:17,x2:4,y2:12,stroke:t,strokeWidth:o})]}),he=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:10,x2:11,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:11,y1:15,x2:8,y2:12,stroke:t,strokeWidth:o})]}),de=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:6,y1:9,x2:12,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:15,x2:18,y2:9,stroke:t,strokeWidth:o})]}),Bt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:15,y1:18,x2:9,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:12,x2:15,y2:6,stroke:t,strokeWidth:o})]}),It=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:9,y1:18,x2:15,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:12,x2:9,y2:6,stroke:t,strokeWidth:o})]}),ae=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:18,y1:15,x2:12,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:6,y2:15,stroke:t,strokeWidth:o})]}),Ot=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:6,x2:12,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:16,y2:14,stroke:t,strokeWidth:o})]}),Gt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:8,y:8,width:12,height:12,rx:1,stroke:t,strokeWidth:o}),i(l,{style:{position:"absolute",left:4,top:4,width:12,height:12,borderRadius:1,borderWidth:o,borderColor:t,borderRightColor:"transparent",borderBottomColor:"transparent",backgroundColor:"transparent"}})]}),le=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:20,x2:20,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:4,x2:4,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:16,x2:4,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:20,x2:8,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:2,x2:22,y2:10,stroke:t,strokeWidth:o})]}),ye=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(l,{style:{position:"absolute",left:2,top:8,width:20,height:8,borderWidth:o,borderColor:t,borderRadius:10}}),i(m,{cx:12,cy:12,r:3,stroke:t,strokeWidth:o})]}),ne=({size:e=24,color:t="currentColor",strokeWidth:o=2,active:r=false,...a})=>i(g,{width:e,height:e,viewBox:"0 0 24 24",...a,children:b(l,{style:{position:"absolute",width:24,height:24,transform:r?[{rotate:"-45deg"},{scale:.92}]:[{rotate:"0deg"},{scale:1}]},children:[i(s,{x1:2.97,y1:21.03,x2:8.18,y2:15.82,stroke:t,strokeWidth:o}),i(s,{x1:4.4,y1:10.81,x2:13.19,y2:19.6,stroke:t,strokeWidth:o}),i(s,{x1:5.17,y1:10.54,x2:11.43,y2:8.83,stroke:t,strokeWidth:o}),i(s,{x1:13.46,y1:18.83,x2:15.17,y2:12.57,stroke:t,strokeWidth:o}),i(l,{style:{position:"absolute",left:11.15,top:4.4,width:11.38,height:5.52,borderWidth:o,borderColor:t,borderRadius:2.07,transform:[{rotate:"-45deg"}]}})]})});var ce=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:17.94,y1:17.94,x2:14.12,y2:14.12,stroke:t,strokeWidth:o}),i(s,{x1:9.88,y1:9.88,x2:6.06,y2:6.06,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:21,x2:3,y2:3,stroke:t,strokeWidth:o}),i(l,{style:{position:"absolute",left:2,top:8,width:20,height:8,borderWidth:o,borderColor:t,borderRadius:10}})]}),Lt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:4,y:2,width:12,height:20,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:2,x2:20,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:6,x2:20,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:22,x2:4,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:9,x2:8,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:11,x2:10,y2:13,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:9,x2:16,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:11,x2:14,y2:13,stroke:t,strokeWidth:o})]}),ke=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:4,y:2,width:12,height:20,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:2,x2:20,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:6,x2:20,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:22,x2:4,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:12,x2:16,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:16,x2:16,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:8,x2:13,y2:8,stroke:t,strokeWidth:o})]}),xe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:22,y1:3,x2:2,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:3,x2:10,y2:12.5,stroke:t,strokeWidth:o}),i(s,{x1:22,y1:3,x2:14,y2:12.5,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:12.5,x2:10,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:12.5,x2:14,y2:21,stroke:t,strokeWidth:o})]}),pe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:10,y1:2,x2:10,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:2,x2:14,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:2,x2:16,y2:2,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:9,x2:4,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:9,x2:20,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:21,x2:20,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:16,x2:16,y2:16,stroke:t,strokeWidth:o})]}),ge=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:6,y1:3,x2:6,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:6,y1:9,x2:18,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:18,y1:9,x2:18,y2:6,stroke:t,strokeWidth:o}),i(m,{cx:6,cy:18,r:3,stroke:t,strokeWidth:o}),i(m,{cx:18,cy:6,r:3,stroke:t,strokeWidth:o}),i(m,{cx:6,cy:6,r:3,stroke:t,strokeWidth:o})]}),jt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:3,y:6,width:18,height:12,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:12,x2:21,y2:12,stroke:t,strokeWidth:o}),i(m,{cx:6,cy:15,r:1,fill:t}),i(m,{cx:9,cy:15,r:.5,fill:t}),i(s,{x1:18,y1:9,x2:21,y2:9,stroke:t,strokeWidth:o})]}),be=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:4,y1:9,x2:20,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:15,x2:20,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:3,x2:8,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:3,x2:14,y2:21,stroke:t,strokeWidth:o})]}),ue=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:16,x2:12,y2:12,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:8,r:1,fill:t})]}),Tt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:7,cy:12,r:5,stroke:t,strokeWidth:o}),i(m,{cx:7,cy:12,r:1.5,fill:t}),i(s,{x1:12,y1:12,x2:21,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:12,x2:19,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:12,x2:21,y2:14,stroke:t,strokeWidth:o})]}),We=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:2,x2:2,y2:7,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:7,x2:12,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:22,y2:7,stroke:t,strokeWidth:o}),i(s,{x1:22,y1:7,x2:12,y2:2,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:12,x2:12,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:17,x2:22,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:17,x2:12,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:22,x2:22,y2:17,stroke:t,strokeWidth:o})]}),we=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>i(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:i(s,{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:o})}),_t=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:5,y1:9,x2:5,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:5,x2:9,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:5,x2:19,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:5,x2:19,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:15,x2:5,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:19,x2:9,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:19,x2:19,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:19,x2:19,y2:15,stroke:t,strokeWidth:o})]});var Mt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(m,{cx:8.5,cy:8.5,r:1.5,fill:t}),i(m,{cx:15.5,cy:8.5,r:1.5,fill:t}),i(m,{cx:8.5,cy:15.5,r:1.5,fill:t}),i(m,{cx:15.5,cy:15.5,r:1.5,fill:t})]}),Ce=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:6,y:4,width:4,height:16,stroke:t,strokeWidth:o,fill:t}),i(I,{x:14,y:4,width:4,height:16,stroke:t,strokeWidth:o,fill:t})]}),fe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:5,y1:3,x2:5,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:3,x2:19,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:12,x2:5,y2:21,stroke:t,strokeWidth:o})]}),me=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:5,x2:12,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:o})]}),Nt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>{let a=15.162277660168378,y=12-2.846049894151541-3.0004;return b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(l,{style:{position:"absolute",left:5,top:5,width:14,height:14,borderRadius:7,borderWidth:2.4,borderTopColor:t,borderLeftColor:t,borderBottomColor:t,borderRightColor:"transparent"}}),i(l,{style:{position:"absolute",left:a,top:y,width:0,height:0,borderTopWidth:3.0004,borderBottomWidth:3.0004,borderLeftWidth:5.2,borderTopColor:"transparent",borderBottomColor:"transparent",borderLeftColor:t,transform:[{rotate:"45deg"}]}})]})},ve=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:3,y1:10,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:3,x2:21,y2:10,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:9,x2:5,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:9,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:21,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:21,x2:10,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:15,x2:14,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:15,x2:14,y2:21,stroke:t,strokeWidth:o})]}),ze=ve,Re=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:11,cy:11,r:8,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:21,x2:16.65,y2:16.65,stroke:t,strokeWidth:o})]}),Fe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:1,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:21,x2:12,y2:23,stroke:t,strokeWidth:o}),i(s,{x1:4.22,y1:4.22,x2:5.64,y2:5.64,stroke:t,strokeWidth:o}),i(s,{x1:18.36,y1:18.36,x2:19.78,y2:19.78,stroke:t,strokeWidth:o}),i(s,{x1:1,y1:12,x2:3,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:12,x2:23,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:4.22,y1:19.78,x2:5.64,y2:18.36,stroke:t,strokeWidth:o}),i(s,{x1:18.36,y1:5.64,x2:19.78,y2:4.22,stroke:t,strokeWidth:o})]}),St=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:2,x2:5,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:5,x2:5,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:11,x2:12,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:22,x2:19,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:11,x2:19,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:5,x2:12,y2:2,stroke:t,strokeWidth:o})]}),$t=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:10,y:2,width:4,height:18,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:4,x2:16,y2:4,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:14,x2:14,y2:14,stroke:t,strokeWidth:o}),i(I,{x:11,y:15,width:2,height:4,fill:t})]}),At=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:3,y1:6,x2:21,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:6,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:21,x2:5,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:21,x2:5,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:11,x2:10,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:11,x2:14,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:6,x2:8,y2:4,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:4,x2:16,y2:4,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:4,x2:16,y2:6,stroke:t,strokeWidth:o})]}),Dt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:18,y1:6,x2:6,y2:18,stroke:t,strokeWidth:o}),i(s,{x1:6,y1:6,x2:18,y2:18,stroke:t,strokeWidth:o})]}),Be=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:9,x2:9,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:9,x2:15,y2:15,stroke:t,strokeWidth:o})]}),Et=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:13,y1:2,x2:3,y2:14,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:14,x2:10,y2:14,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:14,x2:11,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:11,y1:22,x2:21,y2:10,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:10,x2:14,y2:10,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:10,x2:13,y2:2,stroke:t,strokeWidth:o})]}),Pt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>i(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:i(I,{x:3,y:3,width:18,height:18,rx:2,stroke:t,strokeWidth:o})}),Xt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:3,y:3,width:18,height:18,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:12,x2:11,y2:14,stroke:t,strokeWidth:o}),i(s,{x1:11,y1:14,x2:15,y2:10,stroke:t,strokeWidth:o})]}),Yt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:5,y1:3,x2:9,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:3,x2:19,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:21,x2:9,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:21,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:5,x2:3,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:15,x2:3,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:5,x2:21,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:15,x2:21,y2:19,stroke:t,strokeWidth:o})]}),Ie=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:21,y1:16,x2:21,y2:8,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:8,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:3,x2:3,y2:8,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:8,x2:3,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:16,x2:12,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:21,x2:21,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:21,x2:12,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:3,y2:8,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:21,y2:8,stroke:t,strokeWidth:o})]}),Oe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:3,y:3,width:18,height:18,rx:4,ry:4,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:8,x2:12,y2:12,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:16,r:1,fill:t})]}),Ge=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:13,x2:12,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:11,x2:12,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:10,y2:7,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:14,y2:7,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:17,r:1,fill:t})]}),Le=se,je=Rt,Te=Ie,_e=Ft,Me=he,Ne=de,Se=Bt,$e=It,Ae=ae,De=Ot,Ee=Gt,Pe=le,Xe=ye,Ye=ce,qe=Lt,He=ke,Ue=xe,Ke=pe,Je=ge,Ze=jt,Qe=be,Ve=ue,tr=Tt,or=We,er=_t,rr=we,ir=Mt,sr=Ce,hr=fe,dr=me,ar=Nt,lr=Re,yr=Fe,nr=St,cr=$t,kr=At,xr=Dt,pr=Be,gr=Et,br=Pt,ur=Xt,Wr=Yt;var wr=ut;var Cr=vt,fr=bt,mr=$o;var vr=wt;var zr=Zo,Rr=zt,Fr=Qo,Br=xt;var Ir=Eo;var Or=Do;var Gr=Po;var Lr=Vo,jr=pt,Tr=te,_r=ft,Mr=oe,Nr=Ct,Sr=ee,$r=mt,Ar=re,Dr=Wt,Er=ie,Pr=gt,Xr=To,Yr=jo,qr=Mo,Hr=Lo,Ur=Xo,Kr=ut,Jr=_o,Zr=Jo,Qr=Ho,Vr=Yo,ti=Ko,oi=Ao,ei=No,ri=vt,ii=bt;var si=qo,hi=wt,di=Uo;import{NetworkIcon as ai,NETWORK_ICON_COLOR as li}from"@buoy-gg/floating-tools-core/web";import{EnvIcon as yi,ENV_ICON_COLOR as ni}from"@buoy-gg/floating-tools-core/web";import{ConsoleIcon as ci,CONSOLE_ICON_COLOR as ki}from"@buoy-gg/floating-tools-core/web";import{TimeMachineIcon as xi,TIME_MACHINE_ICON_COLOR as pi}from"@buoy-gg/floating-tools-core/web";import{ImagesIcon as gi,IMAGES_ICON_COLOR as bi}from"@buoy-gg/floating-tools-core/web";import{AssetsIcon as ui,ASSETS_ICON_COLOR as Wi}from"@buoy-gg/floating-tools-core/web";import{ImpersonateIcon as wi,IMPERSONATE_ICON_COLOR as Ci}from"@buoy-gg/floating-tools-core/web";import{ImageOverlayIcon as fi,IMAGE_OVERLAY_ICON_COLOR as mi}from"@buoy-gg/floating-tools-core/web";import{ZustandIcon as vi,ZUSTAND_ICON_COLOR as zi}from"@buoy-gg/floating-tools-core/web";import{JotaiIcon as Ri,JOTAI_ICON_COLOR as Fi}from"@buoy-gg/floating-tools-core/web";import{ActivityGlyph as Bi,AlertCircleGlyph as Ii,AlertTriangleGlyph as Oi,BookmarkGlyph as Gi,BoxGlyph as Li,BugGlyph as ji,CheckCircleGlyph as Ti,CheckGlyph as _i,ChevronDownGlyph as Mi,ChevronLeftGlyph as Ni,ChevronRightGlyph as Si,ChevronUpGlyph as $i,ClockGlyph as Ai,CopyGlyph as Di,DatabaseGlyph as Ei,DockBottomGlyph as Pi,DownloadGlyph as Xi,Edit3Glyph as Yi,EyeOffGlyph as qi,EyeGlyph as Hi,FileJsonGlyph as Ui,FileTextGlyph as Ki,FilmGlyph as Ji,FilterGlyph as Zi,FlaskConicalGlyph as Qi,FloatWindowGlyph as Vi,GitBranchGlyph as ts,GlobeGlyph as os,HashGlyph as es,HomeGlyph as rs,ImageGlyph as is,InfoGlyph as ss,KeyGlyph as hs,LayersGlyph as ds,LinkGlyph as as,LockGlyph as ls,MinusGlyph as ys,MusicGlyph as ns,NavigationGlyph as cs,PaletteGlyph as ks,PauseGlyph as xs,PlayGlyph as ps,PlusGlyph as gs,PowerGlyph as bs,RefreshCwGlyph as us,SearchGlyph as Ws,ServerGlyph as ws,SettingsGlyph as Cs,SettingsSolidIcon as fs,ShieldGlyph as ms,Trash2Glyph as vs,Trash2Glyph as zs,UnlockGlyph as Rs,UploadGlyph as Fs,UserGlyph as Bs,WifiGlyph as Is,XCircleGlyph as Os,XGlyph as Gs,ZapGlyph as Ls}from"@buoy-gg/floating-tools-core/web";import{SentryIcon as js,EventsIcon as Ts,RoutesIcon as _s,RoutePinIcon as Ms,RoutePathIcon as Ns,RouteDotIcon as Ss,RouteTwoPinsIcon as $s,CameraIcon as As,HighlightIcon as Ds,ReduxIcon as Es,StorageIcon as Ps,AskBuoyIcon as Xs,HighlighterIcon as Ys,QueryIcon as qs,ScenariosIcon as Hs}from"@buoy-gg/floating-tools-core/web";import{WifiIcon as Us,BenchmarkIcon as Ks,BENCHMARK_ICON_COLOR as Js}from"@buoy-gg/floating-tools-core/web";import{NotificationsIcon as Zs,NOTIFICATIONS_ICON_COLOR as Qs}from"@buoy-gg/floating-tools-core/web";import{ClockToolIcon as Vs,CLOCK_TOOL_ICON_COLOR as t1}from"@buoy-gg/floating-tools-core/web";import{PermissionsIcon as o1,PERMISSIONS_ICON_COLOR as e1}from"@buoy-gg/floating-tools-core/web";import{LifecycleToolIcon as r1,LIFECYCLE_TOOL_ICON_COLOR as i1}from"@buoy-gg/floating-tools-core/web";import{monoFont as s1}from"@buoy-gg/floating-tools-core/web";export{et as a,X as b,Ht as c,Ut as d,it as e,Zt as f,E as g,dt as h,io as i,ao as j,no as k,po as l,wo as m,J as n,fo as o,mo as p,Z as q,zo as r,Ro as s,Bo as t,Oo as u,Rt as v,Ft as w,Bt as x,It as y,Ot as z,Gt as A,ne as B,Lt as C,jt as D,Tt as E,_t as F,Mt as G,Nt as H,ze as I,St as J,$t as K,At as L,Dt as M,Et as N,Pt as O,Xt as P,Yt as Q,Oe as R,Ge as S,Le as T,je as U,Te as V,_e as W,Me as X,Ne as Y,Se as Z,$e as _,Ae as $,De as aa,Ee as ba,Pe as ca,Xe as da,Ye as ea,qe as fa,He as ga,Ue as ha,Ke as ia,Je as ja,Ze as ka,Qe as la,Ve as ma,tr as na,or as oa,er as pa,rr as qa,ir as ra,sr as sa,hr as ta,dr as ua,ar as va,lr as wa,yr as xa,nr as ya,cr as za,kr as Aa,xr as Ba,pr as Ca,gr as Da,br as Ea,ur as Fa,Wr as Ga,wr as Ha,Cr as Ia,fr as Ja,mr as Ka,vr as La,zr as Ma,Rr as Na,Fr as Oa,Br as Pa,Ir as Qa,Or as Ra,Gr as Sa,Lr as Ta,jr as Ua,Tr as Va,_r as Wa,Mr as Xa,Nr as Ya,Sr as Za,$r as _a,Ar as $a,Dr as ab,Er as bb,Pr as cb,Xr as db,Yr as eb,qr as fb,Hr as gb,Ur as hb,Kr as ib,Jr as jb,Zr as kb,Qr as lb,Vr as mb,ti as nb,oi as ob,ei as pb,ri as qb,ii as rb,si as sb,hi as tb,di as ub,ai as vb,li as wb,yi as xb,ni as yb,ci as zb,ki as Ab,xi as Bb,pi as Cb,gi as Db,bi as Eb,ui as Fb,Wi as Gb,wi as Hb,Ci as Ib,fi as Jb,mi as Kb,vi as Lb,zi as Mb,Ri as Nb,Fi as Ob,Bi as Pb,Ii as Qb,Oi as Rb,Gi as Sb,Li as Tb,ji as Ub,Ti as Vb,_i as Wb,Mi as Xb,Ni as Yb,Si as Zb,$i as _b,Ai as $b,Di as ac,Ei as bc,Pi as cc,Xi as dc,Yi as ec,qi as fc,Hi as gc,Ui as hc,Ki as ic,Ji as jc,Zi as kc,Qi as lc,Vi as mc,ts as nc,os as oc,es as pc,rs as qc,is as rc,ss as sc,hs as tc,ds as uc,as as vc,ls as wc,ys as xc,ns as yc,cs as zc,ks as Ac,xs as Bc,ps as Cc,gs as Dc,bs as Ec,us as Fc,Ws as Gc,ws as Hc,Cs as Ic,fs as Jc,ms as Kc,vs as Lc,zs as Mc,Rs as Nc,Fs as Oc,Bs as Pc,Is as Qc,Os as Rc,Gs as Sc,Ls as Tc,js as Uc,Ts as Vc,_s as Wc,Ms as Xc,Ns as Yc,Ss as Zc,$s as _c,As as $c,Ds as ad,Es as bd,Ps as cd,Xs as dd,Ys as ed,qs as fd,Hs as gd,Us as hd,Ks as id,Js as jd,Zs as kd,Qs as ld,Vs as md,t1 as nd,o1 as od,e1 as pd,r1 as qd,i1 as rd,s1 as sd};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{a as E}from"./chunk-GF5C5DVX.mjs";var me=-40,pe=20,he=10;function J(){return window.innerHeight/2}function Q(){return J()-130}function Z(){return Q()+-40-20-10}import{useState as ee,useRef as S,useCallback as A,useEffect as w,useMemo as te,Children as ie}from"react";import{useFloatingTools as fe,FloatingToolsProvider as be,useFloatingToolsContext as we,interleaveWithDividers as ve,floatingToolsColors as h,withAlpha as C,getUserStatusConfig as ye,getGripIconLayout as xe,interpolatePosition as Se,easing as Ie,VISIBLE_HANDLE_WIDTH as ne,ANIMATION_DURATION as Ce}from"@buoy-gg/floating-tools-react/web/floating";import{jsx as d,jsxs as W}from"react/jsx-runtime";var $={getItem:e=>localStorage.getItem(e),setItem:(e,i)=>localStorage.setItem(e,i)},oe="#A0A0A0";function De({size:e=24,color:i=C(oe,"CC")}){let n=xe(e);return d("div",{style:{width:e,height:e,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},children:[0,1].map(s=>d("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",marginLeft:n.columnGap/2,marginRight:n.columnGap/2},children:[0,1,2].map(m=>d("div",{style:{width:n.dotSize,height:n.dotSize,borderRadius:n.dotSize/2,backgroundColor:i,marginTop:n.rowGap/2,marginBottom:n.rowGap/2}},m))},s))})}function re(){return d("div",{style:{width:1,height:12,backgroundColor:C(h.muted,"66"),flexShrink:0}})}var Pe={success:h.success,optional:h.optional,muted:h.muted,secondary:oe};function Re({userRole:e,onPress:i}){let{isDragging:n}=we(),s=ye(e,Pe),m=u=>{!n&&i&&(u.stopPropagation(),i())};return W("button",{role:"button","aria-label":`User status: ${s.label}`,onClick:m,style:{display:"flex",flexDirection:"row",alignItems:"center",paddingTop:6,paddingBottom:6,paddingLeft:8,paddingRight:8,flexShrink:0,cursor:i&&!n?"pointer":"default",background:"none",border:"none",margin:0},children:[d("div",{style:{width:6,height:6,borderRadius:3,backgroundColor:s.dotColor,marginRight:4}}),d("span",{style:{fontSize:10,fontWeight:500,color:s.textColor,letterSpacing:.3,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',lineHeight:"normal"},children:s.label})]})}function ke(){let e=S(null),[i,n]=ee({x:0,y:0}),s=A((m,u,I)=>{e.current&&cancelAnimationFrame(e.current);let D=performance.now(),l=v=>{let L=v-D,P=Math.min(L/Ce,1),k=Se(m,u,P,Ie.easeOutCubic);n(k),P<1?e.current=requestAnimationFrame(l):(n(u),I?.())};e.current=requestAnimationFrame(l)},[]);return w(()=>()=>{e.current&&cancelAnimationFrame(e.current)},[]),{position:i,setPosition:n,animateTo:s}}var ae=null;function He(){return ae}function Te({id:e,revealToken:i,variant:n="bubble",dragFromSurface:s=false,accessibilityLabel:m="Drag handle",accessory:u,handleAdornment:I,enablePositionPersistence:D=true,children:l,pushToSide:v=false,suspendPointerEvents:L=false,centerOnboarding:P=false,minimizedStack:k,hasMinimizedStack:N=false}){let y=S(null),de=te(()=>e?{getItem:t=>$.getItem(`@buoy/floating-tool/${e}/${t}`),setItem:(t,r)=>$.setItem(`@buoy/floating-tool/${e}/${t}`,r)}:$,[e]),{state:o,actions:a,isInitialized:g}=fe({screenSize:{width:window.innerWidth,height:window.innerHeight},enablePositionPersistence:D,storage:de}),{position:x,setPosition:H,animateTo:f}=ke();w(()=>{g&&H(o.position)},[g,o.position,H]),w(()=>{e||(ae={x:x.x,y:x.y})},[x,e]),w(()=>{if(!g)return;let t=()=>{let p=y.current?.getBoundingClientRect();p&&p.width>0&&p.height>0&&a.setBubbleSize({width:p.width,height:p.height})},r=()=>{a.setScreenSize(window.innerWidth,window.innerHeight),t()};t();let b=typeof ResizeObserver<"u"?new ResizeObserver(t):null;return y.current&&b?.observe(y.current),window.addEventListener("resize",r),()=>{b?.disconnect(),window.removeEventListener("resize",r)}},[a,g]),w(()=>{let t=document.createElement("div");t.style.cssText="position:fixed;top:env(safe-area-inset-top);left:env(safe-area-inset-left);visibility:hidden;pointer-events:none",document.body.appendChild(t);let r=t.getBoundingClientRect();document.body.removeChild(t),(r.top>0||r.left>0)&&a.setMinPosition({x:Math.max(r.left,10),y:Math.max(r.top,10)})},[a]);let[U,G]=ee(false),_=A(t=>{t.stopPropagation(),t.preventDefault(),G(true),a.handleDragStart({clientX:t.clientX,clientY:t.clientY})},[a]),B=S(false),ce=t=>{t.button!==0||!(t.target instanceof Element)||t.target.closest('button, a, input, select, textarea, [role="button"], [role="switch"], [role="slider"], [role="checkbox"], [role="radio"], [contenteditable="true"], [data-floating-accessory]')||(B.current=true,_(t))},F=A(t=>{let r=a.handleDragMove({clientX:t.clientX,clientY:t.clientY});r.isDragging&&H(r.position)},[a,H]),R=A(t=>{G(false);let r=a.handleDragEnd({clientX:t.clientX,clientY:t.clientY}),b=B.current;if(B.current=false,r.wasTap&&!b){let p=a.toggleHideShow();f(o.position,p.targetPosition,()=>{a.commitPosition(p.targetPosition)})}else r.shouldHide&&f(o.position,r.position,()=>{a.commitPosition(r.position)})},[a,f,o.position]);w(()=>{if(U)return window.addEventListener("pointermove",F),window.addEventListener("pointerup",R),window.addEventListener("pointercancel",R),()=>{window.removeEventListener("pointermove",F),window.removeEventListener("pointerup",R),window.removeEventListener("pointercancel",R)}},[U,F,R]);let T=S(o.position);T.current=o.position;let M=S(o.isHidden);M.current=o.isHidden;let z=S(false);w(()=>{if(g){if(v&&!z.current){if(M.current)return;z.current=true;let{targetPosition:t}=a.forceHide();f(T.current,t,()=>{})}else if(!v&&z.current){if(z.current=false,!M.current)return;let{targetPosition:t}=a.forceShow(),r=y.current?.getBoundingClientRect().width??100,b={x:Math.max(10,Math.min(t.x,window.innerWidth-r-10)),y:t.y};f(T.current,b,()=>{a.commitPosition(b)})}}},[v,g]),w(()=>{if(!P||!g)return;let t=y.current?.getBoundingClientRect().width??100,r=y.current?.getBoundingClientRect().height??32,b=Z(),p={x:(window.innerWidth-t)/2,y:window.innerHeight-b-r};f(T.current,p,()=>{})},[P,g]);let q=S(void 0);w(()=>{if(!(!g||q.current===i)&&(q.current=i,i!==void 0&&i>0&&o.isHidden)){let{targetPosition:t}=a.forceShow();f(o.position,t,()=>a.commitPosition(t))}},[i,g,o.isHidden,o.position,a,f]);let ue=te(()=>n==="strip"?ie.toArray(l):ve(ie.toArray(l),t=>d(re,{},t)),[l,n]);if(!g)return null;let K=Math.max(0,x.y-8),V=Math.max(0,window.innerHeight-x.y-o.bubbleSize.height-8),ge=K>V;return W("div",{ref:y,"data-testid":e??"buoy-floating-tool",role:"toolbar","aria-label":"Floating Tools",onPointerDown:s?ce:void 0,style:{position:"fixed",left:x.x,top:x.y,zIndex:9999,display:"flex",flexDirection:"row",alignItems:"center",backgroundColor:h.panel,borderTopLeftRadius:N?0:6,borderTopRightRadius:6,borderBottomLeftRadius:6,borderBottomRightRadius:6,borderWidth:o.isDragging?2:1,borderTopWidth:o.isDragging?2:N?0:1,borderStyle:"solid",borderColor:o.isDragging?h.dragActive:C(h.muted,"66"),boxShadow:o.isDragging?`0 6px 12px ${C(h.dragActive,.36)}`:"0 4px 8px rgba(0, 0, 0, 0.3)",cursor:s?o.isDragging?"grabbing":"grab":void 0,userSelect:"none",touchAction:"none",pointerEvents:L?"none":"auto",...n==="strip"?{borderRadius:E.radius.card,minHeight:48,backgroundColor:E.color.surface,borderColor:o.isDragging?E.color.accentBorderStrong:E.color.separator,boxShadow:"0 4px 16px rgba(0, 0, 0, 0.24)"}:{}},children:[k&&d("div",{style:{position:"absolute",bottom:"100%",left:-1,width:ne,overflow:"visible",zIndex:1001},children:k}),W("div",{role:"button","aria-label":m,"data-testid":e?`${e}-grip`:"buoy-floating-grip",tabIndex:0,onPointerDown:_,onKeyDown:t=>{if(t.key!=="Enter"&&t.key!==" ")return;t.preventDefault();let r=a.toggleHideShow();f(o.position,r.targetPosition,()=>a.commitPosition(r.targetPosition))},style:{touchAction:"none",paddingLeft:6,paddingRight:6,paddingTop:6,paddingBottom:6,backgroundColor:C(h.muted,"1A"),display:"flex",alignItems:"center",justifyContent:"center",width:ne,boxSizing:"border-box",borderRight:`1px solid ${C(h.muted,"66")}`,cursor:o.isDragging?"grabbing":"grab",...n==="strip"?{minHeight:48,backgroundColor:"transparent",borderRight:"none",flexDirection:"column"}:{}},children:[d(De,{size:n==="strip"?20:12}),I]}),d(be,{value:{isDragging:o.isDragging,isHidden:o.isHidden},children:d("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:6,paddingRight:8},children:ue})}),!o.isHidden&&u&&d("div",{"data-floating-accessory":true,style:{position:"absolute",...ge?{bottom:"100%"}:{top:"100%"},left:0,width:"100%",maxHeight:Math.max(K,V),overflowY:"auto",zIndex:1002},children:u})]})}var c=[],ze=0,j=new Set,Y=()=>j.forEach(e=>e()),O=()=>c,X=e=>(j.add(e),()=>{j.delete(e)});function Ee(e){if(!e.id.trim())throw new Error("Floating tools need a non-empty id");let i={...e,revealToken:++ze};c=c.some(n=>n.id===e.id)?c.map(n=>n.id===e.id?i:n):[...c,i],Y()}function se(e){c.some(i=>i.id===e)&&(c=c.filter(i=>i.id!==e),Y())}function Ae(e,i){if(!e.id.trim())throw new Error("Floating tools need a non-empty id");let n=`@buoy/floating-tool/${e.id}/open`,s=false,m=false,u=c.some(l=>l.id===e.id),I=Promise.resolve(),D=X(()=>{let l=c.some(v=>v.id===e.id);l!==u&&(u=l,m=true,I=I.then(()=>i.setItem(n,l?"1":"0")).then(()=>{},()=>{}))});return i.getItem(n).then(l=>{s||m||u||l!=="1"||(c=[...c,{...e,revealToken:0}],Y())}).catch(()=>{}),()=>{s=true,D()}}import{Fragment as Le,useSyncExternalStore as Be}from"react";import{jsx as le}from"react/jsx-runtime";function Fe(){let e=Be(X,O,O);return le("div",{style:{position:"fixed",inset:0,pointerEvents:"none",zIndex:1e4},children:e.map(i=>le(Le,{children:i.render({id:i.id,revealToken:i.revealToken,dismiss:()=>se(i.id)})},i.id))})}export{me as a,pe as b,he as c,J as d,Q as e,Z as f,re as g,Re as h,He as i,Te as j,O as k,X as l,Ee as m,se as n,Ae as o,Fe as p};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{a as t}from"./chunk-GF5C5DVX.mjs";import{Xb as O,Zb as B,md as f}from"./chunk-AIEOQWNG.mjs";import{J as H,a as o,b as i,d as A}from"./chunk-3UTMGIUG.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function j({statusDotColor:s,statusLabel:x,statusSublabel:g,primaryText:w,secondaryText:l,secondaryAccessory:y,expandedContent:m,isExpanded:a,badgeText:d,badgeColor:C,customBadge:u,showChevron:T,bottomRightText:c,isSelected:D,onPress:h,disabled:I,expandedGlowColor:b,testID:S,statusTestID:v,statusSublabelTestID:R,primaryTestID:W,secondaryTestID:L,accessibilityLabel:z,trailingAction:p}){return r(o,{style:[e.rowWrapper,a&&e.rowWrapperExpanded],children:n(o,{style:[e.row,D&&e.selectedRow,a&&[e.expandedRowActive,{borderColor:b||t.color.accent,borderBottomColor:b||t.color.accent,shadowColor:b||t.color.accent}]],children:[n(o,{style:e.headerRow,children:[r(A,{style:e.headerPress,onPress:h,activeOpacity:.8,disabled:I||!h,testID:S,accessibilityLabel:z,accessibilityRole:h?"button":void 0,children:n(o,{style:e.rowContent,children:[n(o,{style:e.statusSection,children:[r(o,{style:[e.statusDot,{backgroundColor:s}]}),n(o,{style:e.statusInfo,children:[r(i,{style:[e.statusLabel,{color:s}],numberOfLines:1,testID:v,children:x}),g?r(i,{style:e.observerText,numberOfLines:1,testID:R,children:g}):null]})]}),n(o,{style:e.querySection,children:[r(i,{style:e.queryHash,numberOfLines:a?void 0:2,testID:W,children:w}),!a&&(l||y)?n(o,{style:e.secondaryRow,children:[l?r(i,{style:e.secondaryText,numberOfLines:1,testID:L,children:l}):null,y]}):null]}),n(o,{style:e.rightSection,children:[(u||d!==void 0||!a&&c)&&n(o,{style:e.badgeContainer,children:[u||(d!==void 0?r(i,{style:[e.statusBadge,{color:C||s}],children:d}):null),!a&&c?r(i,{style:e.bottomRightText,numberOfLines:1,children:c}):null]}),T&&r(o,{style:e.chevronContainer,children:a?r(O,{size:14,color:t.color.textTertiary}):r(B,{size:14,color:t.color.textTertiary})})]})]})}),p?r(o,{style:e.trailingAction,children:p}):null]}),a&&m&&r(o,{style:e.expandedContent,children:m})]})})}var e=H.create({rowWrapper:{position:"relative",marginHorizontal:8,marginVertical:3},rowWrapperExpanded:{marginVertical:12},row:{backgroundColor:"rgba(12, 12, 12, 0.9)",borderRadius:8,borderWidth:1,borderColor:t.color.border,borderBottomWidth:1,borderBottomColor:t.color.separator,padding:12,paddingHorizontal:12,transform:[{scale:1}]},selectedRow:{backgroundColor:t.color.accentSoft,borderColor:t.color.accentBorderStrong,transform:[{scale:1.01}],shadowColor:t.color.accent,shadowOffset:{width:0,height:0},shadowOpacity:.1,shadowRadius:8,elevation:2},expandedRowActive:{transform:[{scale:1.02}],borderWidth:2,paddingBottom:16,shadowOffset:{width:0,height:0},shadowOpacity:.8,shadowRadius:20,elevation:10},headerRow:{flexDirection:"row",alignItems:"center"},headerPress:{flex:1,minWidth:0},trailingAction:{marginLeft:8,justifyContent:"center"},rowContent:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},statusSection:{flexDirection:"row",alignItems:"center",gap:8,width:90,minWidth:90},statusDot:{width:8,height:8,borderRadius:4},statusInfo:{flex:1,maxWidth:70},statusLabel:{fontSize:11,fontWeight:"600",lineHeight:14},observerText:{fontSize:10,color:t.color.textTertiary,marginTop:1},querySection:{flex:2,paddingHorizontal:12},queryHash:{fontFamily:f,fontSize:12,color:t.color.text,lineHeight:16},secondaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},secondaryText:{fontSize:10,color:t.color.textTertiary,marginTop:1},rightSection:{flexDirection:"row",alignItems:"center",gap:8},badgeContainer:{flexDirection:"column",alignItems:"flex-end",gap:2},statusBadge:{fontSize:12,fontWeight:"600",fontVariant:["tabular-nums"]},chevronContainer:{padding:2},expandedContent:{marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:t.color.separator,marginLeft:24},bottomRightText:{fontSize:9,color:t.color.textTertiary,fontFamily:f}});export{j as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{a as t}from"./chunk-GF5C5DVX.mjs";import{Wb as O,Yb as B,ld as f}from"./chunk-I27M4JCS.mjs";import{J as H,a as o,b as i,d as A}from"./chunk-UCKELQSM.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function j({statusDotColor:s,statusLabel:x,statusSublabel:g,primaryText:w,secondaryText:l,secondaryAccessory:y,expandedContent:u,isExpanded:a,badgeText:d,badgeColor:C,customBadge:m,showChevron:T,bottomRightText:c,isSelected:D,onPress:h,disabled:I,expandedGlowColor:b,testID:S,statusTestID:v,statusSublabelTestID:R,primaryTestID:W,secondaryTestID:L,accessibilityLabel:z,trailingAction:p}){return r(o,{style:[e.rowWrapper,a&&e.rowWrapperExpanded],children:n(o,{style:[e.row,D&&e.selectedRow,a&&[e.expandedRowActive,{borderColor:b||t.color.accent,borderBottomColor:b||t.color.accent,shadowColor:b||t.color.accent}]],children:[n(o,{style:e.headerRow,children:[r(A,{style:e.headerPress,onPress:h,activeOpacity:.8,disabled:I||!h,testID:S,accessibilityLabel:z,accessibilityRole:h?"button":void 0,children:n(o,{style:e.rowContent,children:[n(o,{style:e.statusSection,children:[r(o,{style:[e.statusDot,{backgroundColor:s}]}),n(o,{style:e.statusInfo,children:[r(i,{style:[e.statusLabel,{color:s}],numberOfLines:1,testID:v,children:x}),g?r(i,{style:e.observerText,numberOfLines:1,testID:R,children:g}):null]})]}),n(o,{style:e.querySection,children:[r(i,{style:e.queryHash,numberOfLines:a?void 0:2,testID:W,children:w}),!a&&(l||y)?n(o,{style:e.secondaryRow,children:[l?r(i,{style:e.secondaryText,numberOfLines:1,testID:L,children:l}):null,y]}):null]}),n(o,{style:e.rightSection,children:[(m||d!==void 0||!a&&c)&&n(o,{style:e.badgeContainer,children:[m||(d!==void 0?r(i,{style:[e.statusBadge,{color:C||s}],children:d}):null),!a&&c?r(i,{style:e.bottomRightText,numberOfLines:1,children:c}):null]}),T&&r(o,{style:e.chevronContainer,children:a?r(O,{size:14,color:t.color.textTertiary}):r(B,{size:14,color:t.color.textTertiary})})]})]})}),p?r(o,{style:e.trailingAction,children:p}):null]}),a&&u&&r(o,{style:e.expandedContent,children:u})]})})}var e=H.create({rowWrapper:{position:"relative",marginHorizontal:8,marginVertical:3},rowWrapperExpanded:{marginVertical:12},row:{backgroundColor:"rgba(12, 12, 12, 0.9)",borderRadius:8,borderWidth:1,borderColor:t.color.border,borderBottomWidth:1,borderBottomColor:t.color.separator,padding:12,paddingHorizontal:12,transform:[{scale:1}]},selectedRow:{backgroundColor:t.color.accentSoft,borderColor:t.color.accentBorderStrong,transform:[{scale:1.01}],shadowColor:t.color.accent,shadowOffset:{width:0,height:0},shadowOpacity:.1,shadowRadius:8,elevation:2},expandedRowActive:{transform:[{scale:1.02}],borderWidth:2,paddingBottom:16,shadowOffset:{width:0,height:0},shadowOpacity:.8,shadowRadius:20,elevation:10},headerRow:{flexDirection:"row",alignItems:"center"},headerPress:{flex:1,minWidth:0},trailingAction:{marginLeft:8,justifyContent:"center"},rowContent:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},statusSection:{flexDirection:"row",alignItems:"center",gap:8,width:90,minWidth:90},statusDot:{width:8,height:8,borderRadius:4},statusInfo:{flex:1,maxWidth:70},statusLabel:{fontSize:11,fontWeight:"600",lineHeight:14},observerText:{fontSize:10,color:t.color.textTertiary,marginTop:1},querySection:{flex:2,paddingHorizontal:12},queryHash:{fontFamily:f,fontSize:12,color:t.color.text,lineHeight:16},secondaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},secondaryText:{fontSize:10,color:t.color.textTertiary,marginTop:1},rightSection:{flexDirection:"row",alignItems:"center",gap:8},badgeContainer:{flexDirection:"column",alignItems:"flex-end",gap:2},statusBadge:{fontSize:12,fontWeight:"600",fontVariant:["tabular-nums"]},chevronContainer:{padding:2},expandedContent:{marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:t.color.separator,marginLeft:24},bottomRightText:{fontSize:9,color:t.color.textTertiary,fontFamily:f}});export{j as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";var e={base:"@react_buoy",bubble:{root:()=>`${e.base}_bubble`,settings:()=>`${e.bubble.root()}_settings`,userPreferences:()=>`${e.bubble.root()}_user_preferences`,position:()=>`${e.bubble.root()}_position`},modal:{root:()=>`${e.base}_modal`,state:()=>`${e.modal.root()}_state`,position:()=>`${e.modal.root()}_position`,dimensions:()=>`${e.modal.root()}_dimensions`,hintAcknowledged:()=>`${e.modal.root()}_hint_acknowledged`},custom:o=>{let t=`${e.base}_custom_${o}`;return{root:()=>t,modal:()=>`${t}_modal`,settings:()=>`${t}_settings`,key:r=>`${t}_${r}`}},settings:{root:()=>`${e.base}_settings`,theme:()=>`${e.settings.root()}_theme`,preferences:()=>`${e.settings.root()}_preferences`,wifiEnabled:()=>`${e.settings.root()}_wifi_enabled`,global:()=>`${e.settings.root()}_global`,activeTab:()=>`${e.settings.root()}_active_tab`,modalOpen:()=>`${e.settings.root()}_modal_open`},dial:{root:()=>`${e.base}_dial`,isOpen:()=>`${e.dial.root()}_is_open`,usage:()=>`${e.dial.root()}_usage`},clipboard:{root:()=>`${e.base}_clipboard`,hintAcknowledged:()=>`${e.clipboard.root()}_hint_acknowledged`},env:{root:()=>`${e.base}_env`,modal:()=>`${e.env.root()}_modal`,currentEnv:()=>`${e.env.root()}_current`,overrides:()=>`${e.env.root()}_overrides`},sentry:{root:()=>`${e.base}_sentry`,modal:()=>`${e.sentry.root()}_modal`,filters:()=>`${e.sentry.root()}_filters`,preferences:()=>`${e.sentry.root()}_preferences`},storage:{root:()=>`${e.base}_storage`,modal:()=>`${e.storage.root()}_modal`,eventsModal:()=>`${e.storage.root()}_events_modal`,filters:()=>`${e.storage.root()}_filters`,eventFilters:()=>`${e.storage.root()}_event_filters`,keyFilters:()=>`${e.storage.root()}_key_filters`,pinnedKeys:()=>`${e.storage.root()}_pinned_keys`,preferences:()=>`${e.storage.root()}_preferences`,activeTab:()=>`${e.storage.root()}_active_tab`,isMonitoring:()=>`${e.storage.root()}_is_monitoring`,diffViewerMode:()=>`${e.storage.root()}_diff_viewer_mode`},timeMachine:{root:()=>`${e.base}_time_machine`,diffViewerMode:()=>`${e.timeMachine.root()}_diff_viewer_mode`,armedPoint:()=>`${e.timeMachine.root()}_armed_point`,barReloadMode:()=>`${e.timeMachine.root()}_bar_reload_mode`,disabledSources:()=>`${e.timeMachine.root()}_disabled_sources`},scenarios:{root:()=>`${e.base}_scenarios`,modal:()=>`${e.scenarios.root()}_modal`,library:()=>`${e.scenarios.root()}_library`,active:()=>`${e.scenarios.root()}_active`},reactQuery:{root:()=>`${e.base}_rq`,modal:()=>`${e.reactQuery.root()}_modal`,browserModal:()=>`${e.reactQuery.root()}_browser_modal`,mutationModal:()=>`${e.reactQuery.root()}_mutation_modal`,filters:()=>`${e.reactQuery.root()}_filters`,ignoredPatterns:()=>`${e.reactQuery.root()}_ignored_patterns`,includedPatterns:()=>`${e.reactQuery.root()}_included_patterns`,preferences:()=>`${e.reactQuery.root()}_preferences`},network:{root:()=>`${e.base}_network`,modal:()=>`${e.network.root()}_modal`,copyModal:()=>`${e.network.root()}_copy_modal`,filters:()=>`${e.network.root()}_filters`,ignoredDomains:()=>`${e.network.root()}_ignored_domains`,ignoredUrls:()=>`${e.network.root()}_ignored_urls`,preferences:()=>`${e.network.root()}_preferences`,copyOptions:()=>`${e.network.root()}_copy_options`,saved:()=>`${e.network.root()}_saved`,overrides:()=>`${e.network.root()}_overrides`},routeEvents:{root:()=>`${e.base}_route_events`,modal:()=>`${e.routeEvents.root()}_modal`,eventFilters:()=>`${e.routeEvents.root()}_event_filters`,activeTab:()=>`${e.routeEvents.root()}_active_tab`,isMonitoring:()=>`${e.routeEvents.root()}_is_monitoring`,detailView:()=>`${e.routeEvents.root()}_detail_view`,diffViewerMode:()=>`${e.routeEvents.root()}_diff_viewer_mode`},highlightUpdates:{root:()=>`${e.base}_highlight_updates`,modal:()=>`${e.highlightUpdates.root()}_modal`,isTracking:()=>`${e.highlightUpdates.root()}_is_tracking`,filters:()=>`${e.highlightUpdates.root()}_filters`,settings:()=>`${e.highlightUpdates.root()}_settings`,copySettings:()=>`${e.highlightUpdates.root()}_copy_settings`},benchmark:{root:()=>`${e.base}_benchmark`,modal:()=>`${e.benchmark.root()}_modal`,isRecording:()=>`${e.benchmark.root()}_is_recording`,activeTab:()=>`${e.benchmark.root()}_active_tab`,settings:()=>`${e.benchmark.root()}_settings`,selectedReports:()=>`${e.benchmark.root()}_selected_reports`},debugBorders:{root:()=>`${e.base}_debug_borders`,infoModal:()=>`${e.debugBorders.root()}_info_modal`},events:{root:()=>`${e.base}_events`,modal:()=>`${e.events.root()}_modal`,enabledSources:()=>`${e.events.root()}_enabled_sources`,isCapturing:()=>`${e.events.root()}_is_capturing`,pausedAt:()=>`${e.events.root()}_paused_at`,copySettings:()=>`${e.events.root()}_copy_settings`},sync:{root:()=>`${e.base}_sync`,deviceId:()=>`${e.sync.root()}_device_id`}},_=["@devtools","@dev_tools_","@modal_state_","@react_query_browser_modal","@react_query_modal","@react_query_mutation_modal","@sentry_logs_modal","@floating_rn_better_dev_tools_","@floating_tools_","@apphost_","@bubble_settings_","@env_vars_modal","@storage_modal","@floating_@devtools_","dev_last_route"];function l(o){if(!o)return false;if(o.startsWith(e.base)||o.startsWith("buoy-")||o.startsWith("@buoy"))return true;for(let t of _)if(o.startsWith(t))return true;return false}var s=new Map;function a(){try{return typeof window>"u"?null:window.localStorage}catch{return null}}var n={async getItem(o){if(s.has(o))return s.get(o)??null;try{return a()?.getItem(o)??null}catch{return null}},async setItem(o,t){s.set(o,t);try{let r=a();r&&(r.setItem(o,t),s.delete(o))}catch{}},async removeItem(o){s.set(o,null);try{let t=a();t&&(t.removeItem(o),s.delete(o))}catch{}},async getAllKeys(){let o=new Set;try{let t=a();if(t)for(let r=0;r<t.length;r++){let i=t.key(r);i?.startsWith(e.base)&&o.add(i)}}catch{}for(let[t,r]of s)t.startsWith(e.base)&&(r===null?o.delete(t):o.add(t));return[...o]},async multiGet(o){return Promise.all(o.map(async t=>[t,await n.getItem(t)]))},async multiRemove(o){await Promise.all(o.map(t=>n.removeItem(t)))},async clear(){await n.multiRemove(await n.getAllKeys())}};async function d(){return a()!==null}async function c(){return a()?"localstorage":"memory"}export{e as a,l as b,n as c,d,c as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{CompactRow as D}from"./chunk-QCD6T6L4.mjs";import{buoyColors as f}from"./chunk-QPY45R5F.mjs";import{createContext as N,useContext as W,useState as H,useCallback as E,useMemo as F,useEffect as q}from"react";import{jsx as G}from"react/jsx-runtime";var P=N(null);function U({children:e,initialAdapters:t=[]}){const[n,o]=H(()=>{const r=new Map;t.forEach(s=>{r.set(s.adapter.id,{...s,enabled:s.enabled??true})});return r});const[u,m]=H(null);const[d,C]=H(0);const l=E(()=>C(r=>r+1),[]);q(()=>{const r=[];n.forEach(s=>{if(s.enabled){const p=s.adapter.subscribe(l);r.push(p)}});return()=>{r.forEach(s=>s())}},[n,l]);const i=F(()=>{return Array.from(n.values()).filter(r=>r.enabled).sort((r,s)=>(r.priority??100)-(s.priority??100)).map(r=>r.adapter)},[n,d]);const h=E(r=>n.get(r)?.adapter,[n]);const S=E(r=>{o(s=>{const p=new Map(s);p.set(r.adapter.id,{...r,enabled:r.enabled??true});return p})},[]);const c=E(r=>{o(s=>{const p=new Map(s);p.delete(r);return p})},[]);const a=E(r=>{let s=[];const p=u&&r?.sources===void 0?i.filter(w=>w.id===u):i;p.forEach(w=>{if(r?.sources&&!r.sources.includes(w.id)){return}s=s.concat(w.getEntries())});if(r){s=O(s,r)}s.sort((w,V)=>V.timestamp-w.timestamp);return s},[i,u,d]);const x=E(()=>{const r={};i.forEach(s=>{r[s.id]=s.getEntryCount()});return r},[i,d]);const j=F(()=>({adapters:i,getAdapter:h,registerAdapter:S,unregisterAdapter:c,getAllEntries:a,getEntryCounts:x,selectedAdapterId:u,setSelectedAdapterId:m,refresh:l}),[i,h,S,c,a,x,u,l]);return G(P.Provider,{value:j,children:e})}function b(){const e=W(P);if(!e){throw new Error("useHistoryContext must be used within a HistoryProvider")}return e}function I(){return b().adapters}function J(e){return b().getAdapter(e)}function B(e){const{getAllEntries:t}=b();return t(e)}function K(){return b().getEntryCounts()}function O(e,t){return e.filter(n=>{if(t.searchText){const o=t.searchText.toLowerCase();if(!n.label.toLowerCase().includes(o)){return false}}if(t.onlyWithChanges&&!n.hasStateChange){return false}if(t.onlyErrors&&n.status!=="error"){return false}if(t.afterTimestamp&&n.timestamp<t.afterTimestamp){return false}if(t.beforeTimestamp&&n.timestamp>t.beforeTimestamp){return false}if(t.ignoredPatterns?.length){for(const o of t.ignoredPatterns){if(new RegExp(o).test(n.label)){return false}}}if(t.includedPatterns?.length){let o=false;for(const u of t.includedPatterns){if(new RegExp(u).test(n.label)){o=true;break}}if(!o)return false}return true})}import{View as Q,Text as X,StyleSheet as Y}from"react-native-web";import{jsx as L}from"react/jsx-runtime";function Z(e){const t=Date.now();const n=t-e;if(n<1e3)return"just now";if(n<6e4)return`${Math.floor(n/1e3)}s ago`;if(n<36e5)return`${Math.floor(n/6e4)}m ago`;return`${Math.floor(n/36e5)}h ago`}function _(e,t){if(t?.color){return t.color}if(e.status==="error")return f.error;if(e.status==="pending")return f.warning;if(e.status==="success")return f.success;if(e.hasStateChange)return f.success;if(e.isSkipped)return f.textMuted;if(e.isInFuture)return f.textMuted+"80";switch(e.source){case"redux":return"#764ABC";case"zustand":return"#443E38";case"mmkv":return"#4CAF50";case"async-storage":return"#2196F3";case"react-query":return"#FF4154";case"jotai":return"#000000";case"legend-state":return"#7C3AED";default:return f.textSecondary}}function ee(e){if(e.isSkipped)return"Skipped";if(e.isInFuture)return"Future";if(e.status){return e.status.charAt(0).toUpperCase()+e.status.slice(1)}if(e.hasStateChange)return"Changed";return"Action"}function te(e,t){if(t?.name)return t.name;if(e.category)return e.category;return e.source}function M({entry:e,adapter:t,isSelected:n,onPress:o,showSource:u=true,showDuration:m=true}){const d=_(e,t);const C=ee(e);const l=u?te(e,t):void 0;let i=Z(e.timestamp);if(m&&e.duration!==void 0){i=`${e.duration.toFixed(1)}ms \xB7 ${i}`}const h=e.hasStateChange?L(Q,{style:k.changeBadge,children:L(X,{style:k.changeBadgeText,children:"\u26A1"})}):void 0;return L(D,{statusDotColor:d,statusLabel:C,statusSublabel:l,primaryText:e.label,bottomRightText:i,customBadge:h,isSelected:n,onPress:o?()=>o(e):void 0,showChevron:!!o})}var k=Y.create({changeBadge:{paddingHorizontal:4},changeBadgeText:{fontSize:12}});import{useCallback as A,useMemo as v}from"react";import{FlatList as R,View as $,Text as T,StyleSheet as re}from"react-native-web";import{jsx as y,jsxs as z}from"react/jsx-runtime";function ne({filter:e,selectedEntryId:t,onSelectEntry:n,showSource:o=true,emptyMessage:u="No history entries yet",ListHeaderComponent:m,ListFooterComponent:d}){const C=B(e);const l=I();const i=v(()=>{const a=new Map;l.forEach(x=>a.set(x.id,x));return a},[l]);const h=A(a=>`${a.source}-${a.id}`,[]);const S=A(({item:a})=>{const x=i.get(a.source);return y(M,{entry:a,adapter:x,isSelected:t===a.id,onPress:n,showSource:o})},[i,t,n,o]);const c=v(()=>z($,{style:g.emptyContainer,children:[y(T,{style:g.emptyText,children:u}),y(T,{style:g.emptySubtext,children:"Actions will appear here as they happen"})]}),[u]);return y(R,{data:C,keyExtractor:h,renderItem:S,ListEmptyComponent:c,ListHeaderComponent:m,ListFooterComponent:d,contentContainerStyle:g.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15,getItemLayout:void 0})}function se({entries:e,adapters:t=[],selectedEntryId:n,onSelectEntry:o,showSource:u=true,emptyMessage:m="No history entries yet",ListHeaderComponent:d,ListFooterComponent:C}){const l=v(()=>{const c=new Map;t.forEach(a=>c.set(a.id,a));return c},[t]);const i=A(c=>`${c.source}-${c.id}`,[]);const h=A(({item:c})=>{const a=l.get(c.source);return y(M,{entry:c,adapter:a,isSelected:n===c.id,onPress:o,showSource:u})},[l,n,o,u]);const S=v(()=>z($,{style:g.emptyContainer,children:[y(T,{style:g.emptyText,children:m}),y(T,{style:g.emptySubtext,children:"Actions will appear here as they happen"})]}),[m]);return y(R,{data:e,keyExtractor:i,renderItem:h,ListEmptyComponent:S,ListHeaderComponent:d,ListFooterComponent:C,contentContainerStyle:g.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15})}var g=re.create({listContent:{flexGrow:1,paddingVertical:4},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:60,paddingHorizontal:20},emptyText:{fontSize:16,fontWeight:"600",color:f.text,marginBottom:8},emptySubtext:{fontSize:13,color:f.textMuted,textAlign:"center"}});export{U as HistoryProvider,b as useHistoryContext,I as useHistoryAdapters,J as useHistoryAdapter,B as useAllHistoryEntries,K as useHistoryEntryCounts,M as HistoryEntryRow,ne as HistoryList,se as StandaloneHistoryList};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{a as N}from"./chunk-QD5EUANU.mjs";import{f as m}from"./chunk-CE5U3CSQ.mjs";import{D as I,R as E,Y as T,x as P}from"./chunk-K4LXMO4D.mjs";import{createContext as V,useContext as W,useState as M,useCallback as w,useMemo as B,useEffect as q}from"react";import{jsx as G}from"react/jsx-runtime";var k=V(null);function U({children:e,initialAdapters:t=[]}){let[a,s]=M(()=>{let r=new Map;return t.forEach(n=>{r.set(n.adapter.id,{...n,enabled:n.enabled??true})}),r}),[u,f]=M(null),[p,C]=M(0),d=w(()=>C(r=>r+1),[]);q(()=>{let r=[];return a.forEach(n=>{if(n.enabled){let c=n.adapter.subscribe(d);r.push(c)}}),()=>{r.forEach(n=>n())}},[a,d]);let i=B(()=>Array.from(a.values()).filter(r=>r.enabled).sort((r,n)=>(r.priority??100)-(n.priority??100)).map(r=>r.adapter),[a,p]),h=w(r=>a.get(r)?.adapter,[a]),S=w(r=>{s(n=>{let c=new Map(n);return c.set(r.adapter.id,{...r,enabled:r.enabled??true}),c})},[]),l=w(r=>{s(n=>{let c=new Map(n);return c.delete(r),c})},[]),o=w(r=>{let n=[];return(u&&r?.sources===void 0?i.filter(c=>c.id===u):i).forEach(c=>{r?.sources&&!r.sources.includes(c.id)||(n=n.concat(c.getEntries()))}),r&&(n=K(n,r)),n.sort((c,D)=>D.timestamp-c.timestamp),n},[i,u,p]),x=w(()=>{let r={};return i.forEach(n=>{r[n.id]=n.getEntryCount()}),r},[i,p]),j=B(()=>({adapters:i,getAdapter:h,registerAdapter:S,unregisterAdapter:l,getAllEntries:o,getEntryCounts:x,selectedAdapterId:u,setSelectedAdapterId:f,refresh:d}),[i,h,S,l,o,x,u,d]);return G(k.Provider,{value:j,children:e})}function b(){let e=W(k);if(!e)throw new Error("useHistoryContext must be used within a HistoryProvider");return e}function $(){return b().adapters}function Y(e){return b().getAdapter(e)}function z(e){let{getAllEntries:t}=b();return t(e)}function J(){return b().getEntryCounts()}function K(e,t){return e.filter(a=>{if(t.searchText){let s=t.searchText.toLowerCase();if(!a.label.toLowerCase().includes(s))return false}if(t.onlyWithChanges&&!a.hasStateChange||t.onlyErrors&&a.status!=="error"||t.afterTimestamp&&a.timestamp<t.afterTimestamp||t.beforeTimestamp&&a.timestamp>t.beforeTimestamp)return false;if(t.ignoredPatterns?.length){for(let s of t.ignoredPatterns)if(new RegExp(s).test(a.label))return false}if(t.includedPatterns?.length){let s=false;for(let u of t.includedPatterns)if(new RegExp(u).test(a.label)){s=true;break}if(!s)return false}return true})}import{jsx as L}from"react/jsx-runtime";function O(e){let t=Date.now()-e;return t<1e3?"just now":t<6e4?`${Math.floor(t/1e3)}s ago`:t<36e5?`${Math.floor(t/6e4)}m ago`:`${Math.floor(t/36e5)}h ago`}function Q(e,t){if(t?.color)return t.color;if(e.status==="error")return m.error;if(e.status==="pending")return m.warning;if(e.status==="success")return m.success;if(e.hasStateChange)return m.success;if(e.isSkipped)return m.textMuted;if(e.isInFuture)return m.textMuted+"80";switch(e.source){case"redux":return"#764ABC";case"zustand":return"#443E38";case"mmkv":return"#4CAF50";case"async-storage":return"#2196F3";case"react-query":return"#FF4154";case"jotai":return"#000000";case"legend-state":return"#7C3AED";default:return m.textSecondary}}function X(e){return e.isSkipped?"Skipped":e.isInFuture?"Future":e.status?e.status.charAt(0).toUpperCase()+e.status.slice(1):e.hasStateChange?"Changed":"Action"}function Z(e,t){return t?.name?t.name:e.category?e.category:e.source}function F({entry:e,adapter:t,isSelected:a,onPress:s,showSource:u=true,showDuration:f=true}){let p=Q(e,t),C=X(e),d=u?Z(e,t):void 0,i=O(e.timestamp);f&&e.duration!==void 0&&(i=`${e.duration.toFixed(1)}ms \xB7 ${i}`);let h=e.hasStateChange?L(T,{style:H.changeBadge,children:L(E,{style:H.changeBadgeText,children:"\u26A1"})}):void 0;return L(N,{statusDotColor:p,statusLabel:C,statusSublabel:d,primaryText:e.label,bottomRightText:i,customBadge:h,isSelected:a,onPress:s?()=>s(e):void 0,showChevron:!!s})}var H=P.create({changeBadge:{paddingHorizontal:4},changeBadgeText:{fontSize:12}});import{useCallback as v,useMemo as A}from"react";import{jsx as g,jsxs as R}from"react/jsx-runtime";function _({filter:e,selectedEntryId:t,onSelectEntry:a,showSource:s=true,emptyMessage:u="No history entries yet",ListHeaderComponent:f,ListFooterComponent:p}){let C=z(e),d=$(),i=A(()=>{let o=new Map;return d.forEach(x=>o.set(x.id,x)),o},[d]),h=v(o=>`${o.source}-${o.id}`,[]),S=v(({item:o})=>{let x=i.get(o.source);return g(F,{entry:o,adapter:x,isSelected:t===o.id,onPress:a,showSource:s})},[i,t,a,s]),l=A(()=>R(T,{style:y.emptyContainer,children:[g(E,{style:y.emptyText,children:u}),g(E,{style:y.emptySubtext,children:"Actions will appear here as they happen"})]}),[u]);return g(I,{data:C,keyExtractor:h,renderItem:S,ListEmptyComponent:l,ListHeaderComponent:f,ListFooterComponent:p,contentContainerStyle:y.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15,getItemLayout:void 0})}function ee({entries:e,adapters:t=[],selectedEntryId:a,onSelectEntry:s,showSource:u=true,emptyMessage:f="No history entries yet",ListHeaderComponent:p,ListFooterComponent:C}){let d=A(()=>{let l=new Map;return t.forEach(o=>l.set(o.id,o)),l},[t]),i=v(l=>`${l.source}-${l.id}`,[]),h=v(({item:l})=>{let o=d.get(l.source);return g(F,{entry:l,adapter:o,isSelected:a===l.id,onPress:s,showSource:u})},[d,a,s,u]),S=A(()=>R(T,{style:y.emptyContainer,children:[g(E,{style:y.emptyText,children:f}),g(E,{style:y.emptySubtext,children:"Actions will appear here as they happen"})]}),[f]);return g(I,{data:e,keyExtractor:i,renderItem:h,ListEmptyComponent:S,ListHeaderComponent:p,ListFooterComponent:C,contentContainerStyle:y.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15})}var y=P.create({listContent:{flexGrow:1,paddingVertical:4},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:60,paddingHorizontal:20},emptyText:{fontSize:16,fontWeight:"600",color:m.text,marginBottom:8},emptySubtext:{fontSize:13,color:m.textMuted,textAlign:"center"}});export{U as a,b,$ as c,Y as d,z as e,J as f,F as g,_ as h,ee as i};
|