@buoy-gg/shared-ui 7.0.75 → 7.0.77

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.
Files changed (92) hide show
  1. package/lib/commonjs/bugCase/capture.js +1 -0
  2. package/lib/commonjs/bugCase/format.js +3 -0
  3. package/lib/commonjs/bugCase/index.js +1 -0
  4. package/lib/commonjs/bugCase/lock.js +1 -0
  5. package/lib/commonjs/bugCase/recorder.js +1 -0
  6. package/lib/commonjs/bugCase/scrub.js +1 -0
  7. package/lib/commonjs/bugCase/steps.js +1 -0
  8. package/lib/commonjs/bugCase/types.js +1 -0
  9. package/lib/commonjs/index.js +1 -1
  10. package/lib/commonjs/license/AccountSetupContent.js +1 -1
  11. package/lib/commonjs/license/licenseModule.js +1 -1
  12. package/lib/commonjs/storage/devToolsStorageKeys.js +1 -1
  13. package/lib/commonjs/utils/appIdentity.js +1 -0
  14. package/lib/commonjs/utils/index.js +1 -1
  15. package/lib/commonjs/utils/minimalSuperJSON.js +1 -1
  16. package/lib/commonjs/utils/nativeWeb.js +1 -1
  17. package/lib/commonjs/utils/reloadPlatform.js +1 -1
  18. package/lib/module/bugCase/capture.js +1 -0
  19. package/lib/module/bugCase/format.js +3 -0
  20. package/lib/module/bugCase/index.js +1 -0
  21. package/lib/module/bugCase/lock.js +1 -0
  22. package/lib/module/bugCase/recorder.js +1 -0
  23. package/lib/module/bugCase/scrub.js +1 -0
  24. package/lib/module/bugCase/steps.js +1 -0
  25. package/lib/module/bugCase/types.js +1 -0
  26. package/lib/module/index.js +1 -1
  27. package/lib/module/license/AccountSetupContent.js +1 -1
  28. package/lib/module/license/licenseModule.js +1 -1
  29. package/lib/module/storage/devToolsStorageKeys.js +1 -1
  30. package/lib/module/utils/appIdentity.js +1 -0
  31. package/lib/module/utils/index.js +1 -1
  32. package/lib/module/utils/minimalSuperJSON.js +1 -1
  33. package/lib/module/utils/nativeWeb.js +1 -1
  34. package/lib/module/utils/reloadPlatform.js +1 -1
  35. package/lib/typescript/commonjs/bugCase/capture.d.ts +20 -0
  36. package/lib/typescript/commonjs/bugCase/format.d.ts +15 -0
  37. package/lib/typescript/commonjs/bugCase/index.d.ts +14 -0
  38. package/lib/typescript/commonjs/bugCase/lock.d.ts +99 -0
  39. package/lib/typescript/commonjs/bugCase/recorder.d.ts +8 -0
  40. package/lib/typescript/commonjs/bugCase/scrub.d.ts +59 -0
  41. package/lib/typescript/commonjs/bugCase/steps.d.ts +44 -0
  42. package/lib/typescript/commonjs/bugCase/types.d.ts +92 -0
  43. package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
  44. package/lib/typescript/commonjs/index.d.ts +3 -1
  45. package/lib/typescript/commonjs/license/AccountSetupContent.d.ts +1 -1
  46. package/lib/typescript/commonjs/license/licenseModule.d.ts +7 -0
  47. package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +14 -0
  48. package/lib/typescript/commonjs/utils/appIdentity.d.ts +3 -0
  49. package/lib/typescript/commonjs/utils/index.d.ts +1 -1
  50. package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts +6 -0
  51. package/lib/typescript/commonjs/utils/nativeWeb.d.ts +8 -1
  52. package/lib/typescript/module/bugCase/capture.d.ts +20 -0
  53. package/lib/typescript/module/bugCase/format.d.ts +15 -0
  54. package/lib/typescript/module/bugCase/index.d.ts +14 -0
  55. package/lib/typescript/module/bugCase/lock.d.ts +99 -0
  56. package/lib/typescript/module/bugCase/recorder.d.ts +8 -0
  57. package/lib/typescript/module/bugCase/scrub.d.ts +59 -0
  58. package/lib/typescript/module/bugCase/steps.d.ts +44 -0
  59. package/lib/typescript/module/bugCase/types.d.ts +92 -0
  60. package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
  61. package/lib/typescript/module/index.d.ts +3 -1
  62. package/lib/typescript/module/license/AccountSetupContent.d.ts +1 -1
  63. package/lib/typescript/module/license/licenseModule.d.ts +7 -0
  64. package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +14 -0
  65. package/lib/typescript/module/utils/appIdentity.d.ts +3 -0
  66. package/lib/typescript/module/utils/index.d.ts +1 -1
  67. package/lib/typescript/module/utils/minimalSuperJSON.d.ts +6 -0
  68. package/lib/typescript/module/utils/nativeWeb.d.ts +8 -1
  69. package/lib/web/chunks/{chunk-7CBB7NEY.mjs → chunk-4QFANR3K.mjs} +1 -1
  70. package/lib/web/chunks/{chunk-UQRRKDKX.mjs → chunk-BMITMQVB.mjs} +3 -3
  71. package/lib/web/chunks/chunk-DJD42EPL.mjs +1 -0
  72. package/lib/web/chunks/chunk-EY7GXWGI.mjs +1 -0
  73. package/lib/web/chunks/{chunk-RMLVR5LI.mjs → chunk-FPMEM2QO.mjs} +1 -1
  74. package/lib/web/chunks/{chunk-G2SCTDOW.mjs → chunk-GN75GBYZ.mjs} +1 -1
  75. package/lib/web/chunks/{chunk-3HELV44Y.mjs → chunk-GTRVOJUH.mjs} +1 -1
  76. package/lib/web/chunks/{chunk-G27JNYZ3.mjs → chunk-OF3VWR6K.mjs} +1 -1
  77. package/lib/web/chunks/{chunk-CJTGUGMQ.mjs → chunk-OVTASJUJ.mjs} +1 -1
  78. package/lib/web/chunks/chunk-QXVVA64P.mjs +1 -0
  79. package/lib/web/chunks/{chunk-HIAN3HBD.mjs → chunk-XUYN4NOF.mjs} +1 -1
  80. package/lib/web/chunks/{persistentStorage.web-24PEE4I7.mjs → persistentStorage.web-7JL3GE3F.mjs} +1 -1
  81. package/lib/web/dataViewer.mjs +1 -1
  82. package/lib/web/history.mjs +1 -1
  83. package/lib/web/hooks.mjs +1 -1
  84. package/lib/web/index.mjs +7 -3
  85. package/lib/web/native.mjs +1 -1
  86. package/lib/web/ui.mjs +1 -1
  87. package/lib/web/utils.mjs +1 -1
  88. package/package.json +5 -5
  89. package/lib/web/chunks/chunk-2STKTXD3.mjs +0 -1
  90. package/lib/web/chunks/chunk-4HIK66DZ.mjs +0 -1
  91. package/lib/web/chunks/chunk-5G6RSRP4.mjs +0 -1
  92. package/lib/web/chunks/chunk-GMM6TGFO.mjs +0 -1
@@ -1 +1 @@
1
- "use client";import{$ as a,A as s,B as e,C as t,D as i,E as o,F as n,G as r,H as l,I as c,J as d,K as u,L as b,M as m,N as g,O as h,P as p,Q as A,R as S,S as v,T as x,U as y,V as B,W as I,X as k,Y as w,Z as L,_ as T,a as f,aa as E,b as P,ba as V,c as C,ca as M,d as N,da as R,e as D,f as F,g as H,h as K,i as W,j as z,k as O,l as U,m as Y,n as _,o as j,p as q,q as G,r as J,s as Q,t as X,u as Z,v as $,w as aa,x as sa,y as ea,z as ta}from"./chunks/chunk-5G6RSRP4.mjs";import"./chunks/chunk-SBYYOE2T.mjs";import"./chunks/chunk-T6T3FEMU.mjs";export{G as AccessibilityInfo,O as ActivityIndicator,_ as Alert,J as Animated,X as AppRegistry,Z as AppState,Q as Appearance,$ as BackHandler,U as Button,m as CheckBox,aa as Clipboard,E as DeviceEventEmitter,sa as Dimensions,ea as Easing,g as FlatList,ta as I18nManager,h as Image,p as ImageBackground,e as InteractionManager,s as Keyboard,A as KeyboardAvoidingView,t as LayoutAnimation,i as Linking,a as LogBox,W as Modal,o as NativeEventEmitter,q as NativeModules,n as PanResponder,S as Picker,r as PixelRatio,l as Platform,H as Pressable,v as ProgressBar,x as RefreshControl,y as SafeAreaView,K as ScrollView,B as SectionList,c as Share,I as StatusBar,d as StyleSheet,z as Switch,P as Text,C as TextInput,k as Touchable,D as TouchableHighlight,w as TouchableNativeFeedback,N as TouchableOpacity,F as TouchableWithoutFeedback,u as UIManager,b as Vibration,f as View,L as VirtualizedList,T as YellowBox,Y as findNodeHandle,j as unstable_createElement,V as useColorScheme,M as useLocaleContext,R as useWindowDimensions};
1
+ "use client";import{$ as a,A as s,B as e,C as t,D as i,E as o,F as n,G as r,H as l,I as c,J as d,K as u,L as b,M as m,N as g,O as h,P as p,Q as A,R as S,S as v,T as x,U as y,V as B,W as I,X as k,Y as w,Z as L,_ as T,a as f,aa as E,b as P,ba as V,c as C,ca as M,d as N,da as R,e as D,f as F,g as H,h as K,i as W,j as z,k as O,l as U,m as Y,n as _,o as j,p as q,q as G,r as J,s as Q,t as X,u as Z,v as $,w as aa,x as sa,y as ea,z as ta}from"./chunks/chunk-QXVVA64P.mjs";import"./chunks/chunk-SBYYOE2T.mjs";import"./chunks/chunk-T6T3FEMU.mjs";export{Q as AccessibilityInfo,Y as ActivityIndicator,q as Alert,N as Animated,Z as AppRegistry,$ as AppState,X as Appearance,aa as BackHandler,_ as Button,m as CheckBox,sa as Clipboard,E as DeviceEventEmitter,ea as Dimensions,ta as Easing,g as FlatList,s as I18nManager,h as Image,p as ImageBackground,t as InteractionManager,e as Keyboard,A as KeyboardAvoidingView,i as LayoutAnimation,o as Linking,a as LogBox,O as Modal,n as NativeEventEmitter,J as NativeModules,r as PanResponder,S as Picker,l as PixelRatio,c as Platform,W as Pressable,v as ProgressBar,x as RefreshControl,y as SafeAreaView,z as ScrollView,B as SectionList,d as Share,I as StatusBar,f as StyleSheet,U as Switch,C as Text,D as TextInput,k as Touchable,H as TouchableHighlight,w as TouchableNativeFeedback,F as TouchableOpacity,K as TouchableWithoutFeedback,u as UIManager,b as Vibration,P as View,L as VirtualizedList,T as YellowBox,j as findNodeHandle,G as unstable_createElement,V as useColorScheme,M as useLocaleContext,R as useWindowDimensions};
package/lib/web/ui.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{$ as a,$a as s,$b as o,Aa as t,Ab as e,Ac as b,Ba as r,Bb as i,Bc as l,Ca as n,Cb as T,Cc as c,Da as S,Db as E,Dc as O,Ea as p,Eb as d,Ec as g,Fa as u,Fb as C,Fc as m,Ga as _,Gb as R,Gc as A,Ha as B,Hb as F,Ia as y,Ib as I,Ja as P,Jb as w,Ka as L,Kb as D,La as N,Lb as h,Ma as G,Mb as f,Na as W,Oa as U,P as k,Pa as H,Q as M,Qa as v,R as V,Ra as x,S as K,Sa as j,Sb as Y,T as q,Ta as z,Tb as X,U as Z,Ua as $,Ub as J,V as Q,Va as aa,Vb as sa,W as oa,Wa as ta,Wb as ea,X as ba,Xa as ra,Xb as ia,Y as la,Ya as na,Yb as Ta,Z as ca,Za as Sa,Zb as Ea,_ as Oa,_a as pa,_b as da,a as ga,aa as ua,ab as Ca,ac as ma,b as _a,ba as Ra,bb as Aa,bc as Ba,c as Fa,ca as ya,cb as Ia,cc as Pa,da as wa,db as La,dc as Da,ea as Na,eb as ha,ec as Ga,fa,fb as Wa,fc as Ua,g as ka,ga as Ha,gb as Ma,gc as va,ha as Va,hb as xa,hc as Ka,ia as ja,ib as Ya,ic as qa,ja as za,jb as Xa,jc as Za,ka as $a,kb as Ja,kc as Qa,la as as,lb as ss,lc as os,ma as ts,mb as es,mc as bs,na as rs,nb as is,nc as ls,oa as ns,ob as Ts,oc as cs,pa as Ss,pb as Es,pc as Os,qa as ps,qb as ds,qc as gs,ra as us,rb as Cs,rc as ms,sa as _s,sb as Rs,sc as As,ta as Bs,tb as Fs,tc as ys,ua as Is,ub as Ps,uc as ws,va as Ls,vb as Ds,vc as Ns,wa as hs,wb as Gs,wc as fs,xa as Ws,xb as Us,xc as ks,ya as Hs,yc as Ms,za as vs,zb as Vs,zc as xs}from"./chunks/chunk-UQRRKDKX.mjs";import{a as Ks}from"./chunks/chunk-HIAN3HBD.mjs";import{a as js,b as Ys,c as qs,d as zs,e as Xs,f as Zs,g as $s,h as Js,i as Qs,j as ao,k as so,l as oo,m as to,n as eo,o as bo,p as ro}from"./chunks/chunk-4YLP5MMN.mjs";import"./chunks/chunk-GF5C5DVX.mjs";import"./chunks/chunk-7CBB7NEY.mjs";import{f as io,h as lo,i as no,j as To,k as co,l as So}from"./chunks/chunk-4HIK66DZ.mjs";import{sd as Eo}from"./chunks/chunk-CJTGUGMQ.mjs";import{a as Oo,d as po,f as go,g as uo}from"./chunks/chunk-AHVO74UQ.mjs";import"./chunks/chunk-RMLVR5LI.mjs";import"./chunks/chunk-2STKTXD3.mjs";import"./chunks/chunk-5G6RSRP4.mjs";import{a as Co}from"./chunks/chunk-SBYYOE2T.mjs";import"./chunks/chunk-T6T3FEMU.mjs";export{js as ARROW_BOTTOM_OFFSET,Ys as ARROW_HEIGHT,K as ActionCopyButton,Ra as AddFilterButton,ua as AddFilterInput,gs as BACKGROUND_PRESETS,Ns as BACKGROUND_STORAGE_KEY,ga as BackButton,xs as BackgroundSwitcher,Na as Badge,p as CELLS,g as CLIP_OFFSCREEN_CELLS,Y as ChangeRow,ma as ChipStrip,ka as ClipboardHintBanner,Fs as CollapsibleSection,wa as CompactFilterChips,Ks as CompactRow,I as CompareBar,k as CopyButton,Ha as CountBadge,O as CyberpunkSectionButton,ms as DEFAULT_BACKGROUND,rs as DEVTOOLS_CARD_CONSTANTS,Ps as DataInspector,l as DaylightTunable,Qa as DeepFieldTunable,ds as DetailView,f as DetailViewToggle,ns as DevToolsCard,F as DiffModeTabs,Cs as DraggableHeader,Gs as DynamicFilterView,m as EVENT_LIST_PRESET,Ya as EmptyState,Ea as EntityFilterView,w as EventHistoryViewer,as as EventListItem,D as EventPickerModal,i as EventStepperFooter,T as ExpandablePopover,d as ExpandedInfoRow,Pa as ExportPreview,a as FilterBadge,ya as FilterList,Oa as FilterSection,ao as FloatingTool,$s as FloatingToolDivider,ro as FloatingToolHost,Js as FloatingToolUserStatus,Ta as FooterButton,ea as FooterCaption,ia as FooterMessage,sa as FooterRow,co as GAME_UI_ALERT_STATES,io as GameUICollapsibleSection,no as GameUICompactStats,To as GameUIIssuesList,lo as GameUIStatusHeader,Rs as GripVerticalIcon,Ss as HeaderSearchButton,h as InfoRow,M as InlineCopyButton,A as LOG_LIST_PRESET,Za as LinearFade,ca as ListItem,Os as LiveSkyTunable,L as MAX_PERIOD,ja as MethodBadge,oa as ModalHeader,ba as ModalHintBanner,b as MoonlightTunable,Xa as NoDataEmptyState,Ja as NoResultsEmptyState,ss as NoSearchResultsEmptyState,Is as OTTO_ANCHORS,Ls as OTTO_ANCHOR_SIZE,ps as OTTO_GRID,Hs as OTTO_GROUPS,hs as OTTO_NOTES,us as OTTO_PALETTE,t as OTTO_REEL,La as OTTO_SCENES,ha as OTTO_SCENE_BY_ID,Wa as OTTO_SCENE_CROP_H,pa as OTTO_SCENE_H,s as OTTO_SCENE_OTTO,na as OTTO_SCENE_PALETTE,Sa as OTTO_SCENE_W,Bs as OTTO_STATES,Ws as OTTO_STATE_NAMES,vs as OTTO_USES,ra as Otto,aa as OttoMotionView,j as OttoPixels,Ma as OttoSceneFrame,xa as OttoSceneStill,z as OttoStill,X as Pill,C as PillBadge,E as PowerToggleButton,qa as RadialGlow,Ka as RasterLayer,qs as SPACING_GAP,Ds as SearchBar,la as SectionHeader,ts as StatsCard,fa as StatusBadge,Ts as StatusIndicator,Fa as StorageTypeBadge,P as TRANSPARENT,za as TabSelector,Es as TimeDisplay,da as ToggleRow,Ms as ToolBackground,$a as ToolButton,es as ToolEmptyState,J as ToolFooter,q as ToolbarClearButton,V as ToolbarCopyButton,Va as TypeBadge,_a as ValueTypeBadge,R as ViewToggleCards,B as WATER_CELLS,y as WATER_FRAMES,u as WATER_ROW0,_ as WATER_ROWS,e as WindowControls,os as Wormhole,fs as backgroundStore,go as buoyColors,Zs as calculateTargetPosition,Xs as calculateTooltipPosition,U as cycleIndexes,uo as dialColors,eo as dismissFloatingTool,Vs as expandableWindowControlsSupported,G as flatColors,po as gameUIColors,Qs as getBubbleAnchorPosition,so as getFloatingTools,ws as getPreset,zs as getScreenCenterY,bs as getSkyScrub,N as gridKey,Oo as macOSColors,Eo as monoFont,x as motionUnits,Q as noWindowDragProps,to as openFloatingTool,W as ottoCycle,r as ottoReel,S as ottoRuns,Ia as ottoSceneBounds,Aa as ottoSceneRuns,v as ottoSheets,_s as ottoWaterRows,ys as presetAt,As as presetIndex,H as rectsOf,bo as registerPersistentFloatingTool,n as renderOttoFrame,Ca as renderOttoScene,is as resolveListEmptyState,Da as scatter,Us as setExpandableWindowControls,ls as setSkyScrub,Ba as sizeWarningLevel,oo as subscribeFloatingTools,Co as systemFont,c as toolTheme,o as useChipTap,So as useGameUIAlertState,Ua as useLoop,ta as useOttoAnchorMotion,$ as useOttoReel,va as usePulse,cs as useSkyScrub,ks as useToolBackground,Z as windowDragProps,Ga as withBgAlpha};
1
+ "use client";import{$ as a,$a as s,$b as o,Aa as t,Ab as e,Ac as b,Ba as r,Bb as i,Bc as l,Ca as n,Cb as c,Cc as T,Da as S,Db as E,Dc as O,Ea as p,Eb as d,Ec as g,Fa as u,Fb as C,Fc as m,Ga as _,Gb as R,Gc as A,Ha as B,Hb as F,Hc as y,Ia as I,Ib as w,Ja as L,Jb as P,Ka as D,Kb as N,La as h,Lb as G,Ma as f,Mb as W,Na as H,Nb as U,Oa as k,Pa as M,Q as v,Qa as V,R as x,Ra as K,S as j,Sa as Y,T as q,Ta as X,Tb as Z,U as z,Ua as $,Ub as J,V as Q,Va as aa,Vb as sa,W as oa,Wa as ta,Wb as ea,X as ba,Xa as ra,Xb as ia,Y as la,Ya as na,Yb as ca,Z as Ta,Za as Sa,Zb as Ea,_ as Oa,_a as pa,_b as da,a as ga,aa as ua,ab as Ca,ac as ma,b as _a,ba as Ra,bb as Aa,bc as Ba,c as Fa,ca as ya,cb as Ia,cc as wa,da as La,db as Pa,dc as Da,ea as Na,eb as ha,ec as Ga,fa,fb as Wa,fc as Ha,g as Ua,ga as ka,gb as Ma,gc as va,ha as Va,hb as xa,hc as Ka,ia as ja,ib as Ya,ic as qa,ja as Xa,jb as Za,jc as za,ka as $a,kb as Ja,kc as Qa,la as as,lb as ss,lc as os,ma as ts,mb as es,mc as bs,na as rs,nb as is,nc as ls,oa as ns,ob as cs,oc as Ts,pa as Ss,pb as Es,pc as Os,qa as ps,qb as ds,qc as gs,ra as us,rb as Cs,rc as ms,sa as _s,sb as Rs,sc as As,ta as Bs,tb as Fs,tc as ys,ua as Is,ub as ws,uc as Ls,va as Ps,vb as Ds,vc as Ns,wa as hs,wb as Gs,wc as fs,xa as Ws,xb as Hs,xc as Us,ya as ks,yb as Ms,yc as vs,za as Vs,zc as xs}from"./chunks/chunk-BMITMQVB.mjs";import{a as Ks}from"./chunks/chunk-XUYN4NOF.mjs";import{a as js,b as Ys,c as qs,d as Xs,e as Zs,f as zs,g as $s,h as Js,i as Qs,j as ao,k as so,l as oo,m as to,n as eo,o as bo,p as ro}from"./chunks/chunk-4YLP5MMN.mjs";import"./chunks/chunk-GF5C5DVX.mjs";import"./chunks/chunk-4QFANR3K.mjs";import{g as io,i as lo,j as no,k as co,l as To,m as So}from"./chunks/chunk-DJD42EPL.mjs";import{sd as Eo}from"./chunks/chunk-OVTASJUJ.mjs";import{a as Oo,d as po,f as go,g as uo}from"./chunks/chunk-AHVO74UQ.mjs";import"./chunks/chunk-FPMEM2QO.mjs";import"./chunks/chunk-EY7GXWGI.mjs";import"./chunks/chunk-QXVVA64P.mjs";import{a as Co}from"./chunks/chunk-SBYYOE2T.mjs";import"./chunks/chunk-T6T3FEMU.mjs";export{js as ARROW_BOTTOM_OFFSET,Ys as ARROW_HEIGHT,q as ActionCopyButton,ya as AddFilterButton,Ra as AddFilterInput,ms as BACKGROUND_PRESETS,fs as BACKGROUND_STORAGE_KEY,ga as BackButton,b as BackgroundSwitcher,fa as Badge,u as CELLS,m as CLIP_OFFSCREEN_CELLS,Z as ChangeRow,Ba as ChipStrip,Ua as ClipboardHintBanner,ws as CollapsibleSection,Na as CompactFilterChips,Ks as CompactRow,P as CompareBar,v as CopyButton,Va as CountBadge,g as CyberpunkSectionButton,As as DEFAULT_BACKGROUND,ns as DEVTOOLS_CARD_CONSTANTS,Ds as DataInspector,T as DaylightTunable,os as DeepFieldTunable,Cs as DetailView,U as DetailViewToggle,Ss as DevToolsCard,w as DiffModeTabs,Rs as DraggableHeader,Hs as DynamicFilterView,A as EVENT_LIST_PRESET,Za as EmptyState,da as EntityFilterView,N as EventHistoryViewer,ts as EventListItem,G as EventPickerModal,c as EventStepperFooter,E as ExpandablePopover,C as ExpandedInfoRow,Da as ExportPreview,ua as FilterBadge,La as FilterList,a as FilterSection,ao as FloatingTool,$s as FloatingToolDivider,ro as FloatingToolHost,Js as FloatingToolUserStatus,Ea as FooterButton,ia as FooterCaption,ca as FooterMessage,ea as FooterRow,To as GAME_UI_ALERT_STATES,io as GameUICollapsibleSection,no as GameUICompactStats,co as GameUIIssuesList,lo as GameUIStatusHeader,Fs as GripVerticalIcon,ps as HeaderSearchButton,W as InfoRow,x as InlineCopyButton,y as LOG_LIST_PRESET,Qa as LinearFade,Oa as ListItem,gs as LiveSkyTunable,h as MAX_PERIOD,Xa as MethodBadge,ba as ModalHeader,la as ModalHintBanner,l as MoonlightTunable,Ja as NoDataEmptyState,ss as NoResultsEmptyState,es as NoSearchResultsEmptyState,Ps as OTTO_ANCHORS,hs as OTTO_ANCHOR_SIZE,us as OTTO_GRID,Vs as OTTO_GROUPS,Ws as OTTO_NOTES,_s as OTTO_PALETTE,r as OTTO_REEL,ha as OTTO_SCENES,Wa as OTTO_SCENE_BY_ID,Ma as OTTO_SCENE_CROP_H,s as OTTO_SCENE_H,Ca as OTTO_SCENE_OTTO,Sa as OTTO_SCENE_PALETTE,pa as OTTO_SCENE_W,Is as OTTO_STATES,ks as OTTO_STATE_NAMES,t as OTTO_USES,na as Otto,ta as OttoMotionView,X as OttoPixels,xa as OttoSceneFrame,Ya as OttoSceneStill,$ as OttoStill,J as Pill,R as PillBadge,d as PowerToggleButton,za as RadialGlow,qa as RasterLayer,qs as SPACING_GAP,Gs as SearchBar,Ta as SectionHeader,rs as StatsCard,ka as StatusBadge,Es as StatusIndicator,Fa as StorageTypeBadge,D as TRANSPARENT,$a as TabSelector,ds as TimeDisplay,o as ToggleRow,xs as ToolBackground,as as ToolButton,is as ToolEmptyState,sa as ToolFooter,z as ToolbarClearButton,j as ToolbarCopyButton,ja as TypeBadge,_a as ValueTypeBadge,F as ViewToggleCards,I as WATER_CELLS,L as WATER_FRAMES,_ as WATER_ROW0,B as WATER_ROWS,i as WindowControls,bs as Wormhole,Us as backgroundStore,go as buoyColors,zs as calculateTargetPosition,Zs as calculateTooltipPosition,M as cycleIndexes,uo as dialColors,eo as dismissFloatingTool,e as expandableWindowControlsSupported,H as flatColors,po as gameUIColors,Qs as getBubbleAnchorPosition,so as getFloatingTools,Ns as getPreset,Xs as getScreenCenterY,ls as getSkyScrub,f as gridKey,Oo as macOSColors,Eo as monoFont,Y as motionUnits,oa as noWindowDragProps,to as openFloatingTool,k as ottoCycle,n as ottoReel,p as ottoRuns,Pa as ottoSceneBounds,Ia as ottoSceneRuns,K as ottoSheets,Bs as ottoWaterRows,Ls as presetAt,ys as presetIndex,V as rectsOf,bo as registerPersistentFloatingTool,S as renderOttoFrame,Aa as renderOttoScene,cs as resolveListEmptyState,Ga as scatter,Ms as setExpandableWindowControls,Ts as setSkyScrub,wa as sizeWarningLevel,oo as subscribeFloatingTools,Co as systemFont,O as toolTheme,ma as useChipTap,So as useGameUIAlertState,va as useLoop,ra as useOttoAnchorMotion,aa as useOttoReel,Ka as usePulse,Os as useSkyScrub,vs as useToolBackground,Q as windowDragProps,Ha as withBgAlpha};
package/lib/web/utils.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{$ as a,A as s,B as e,C as r,D as t,E as o,F as i,G as l,H as u,I as n,J as g,K as p,L as S,M as d,N as b,O as m,P as c,Q as f,R,S as M,T as v,U as C,V as P,W as T,X as h,Y as O,Z as D,_ as y,a as E,aa as A,b as B,c as w,d as V,e as N,f as _,g as z,h as J,i as L,j as x,k as H,m as I,n as U,o as Y,p as j,q as k,r as F,s as G,t as K,u as q,v as Q,w as W,x as X,y as Z,z as $}from"./chunks/chunk-G2SCTDOW.mjs";import{a as aa,b as sa}from"./chunks/chunk-VAR5UK6J.mjs";import{a as ea,b as ra,c as ta,d as oa,e as ia,g as la}from"./chunks/chunk-4HIK66DZ.mjs";import"./chunks/chunk-CJTGUGMQ.mjs";import"./chunks/chunk-AHVO74UQ.mjs";import{a as ua,b as na,c as ga,d as pa,e as Sa}from"./chunks/chunk-RMLVR5LI.mjs";import{d as da,e as ba,f as ma}from"./chunks/chunk-2STKTXD3.mjs";import"./chunks/chunk-5G6RSRP4.mjs";import"./chunks/chunk-SBYYOE2T.mjs";import"./chunks/chunk-T6T3FEMU.mjs";export{na as BUOY_SYNTHETIC_MARK,t as REMOTE_RELOAD_DELAY_MS,E as Subscribable,la as absoluteFill,p as browserRouter,ga as countBuoyListener,oa as displayValue,F as flattenObject,G as formatPath,Y as formatValue,u as getBrowserHref,n as getBrowserRouteURL,aa as getBrowserStorage,q as getCachedOptionalModule,L as getConstructorName,T as getDOMControlProps,P as getDOMFiber,C as getDOMNodeHandle,h as getDOMPublicInstance,i as getDevServerOrigin,pa as getRealAppState,y as getRegisteredToolModule,W as getRenderCaptureProvider,ua as getSafeAreaInsets,f as getSafeCurrentPathname,R as getSafeCurrentRoute,c as getSafeRouter,$ as getStateSnapshotProvider,Z as getStateSnapshotProviders,ma as getStorageBackendType,a as getToolModuleVersion,j as getTypeColor,H as getValueSize,N as getValueType,v as isDOMElement,x as isEmpty,M as isExpoRouterAvailable,z as isJsonSerializable,_ as isPrimitive,ba as isUsingPersistentStorage,J as isValidJson,K as loadOptionalModule,A as loadToolModule,V as notifySubscriberCountChange,ia as parseDisplayValue,U as parseValue,da as persistentStorage,I as realNow,l as registerBrowserRouter,X as registerStateSnapshotProvider,D as registerToolModules,r as reloadApp,O as resolveDOMEventEmitter,e as resolveReloadStrategy,ea as safeStringify,o as scheduleReloadApp,Q as setRenderCaptureProvider,g as subscribeBrowserNavigation,Sa as subscribeRealAppState,sa as subscribeToBrowserStorage,s as subscribeToStateSnapshotProviders,w as subscribeToSubscriberCountChanges,B as subscriberCountNotifier,ta as superJsonDeserialize,ra as superJsonSerialize,k as truncateText,m as useSafeGlobalSearchParams,d as useSafePathname,S as useSafeRouter,b as useSafeSegments};
1
+ "use client";import{$ as a,A as s,B as e,C as r,D as t,E as o,F as i,G as l,H as u,I as n,J as p,K as g,L as S,M as d,N as b,O as m,P as f,Q as c,R,S as M,T as h,U as v,V as C,W as P,X as T,Y as O,Z as D,_ as y,a as A,aa as E,b as B,c as w,d as V,e as N,f as J,g as _,h as z,i as L,j as x,k as H,l as I,n as U,o as Y,p as j,q as k,r as F,s as q,t as G,u as K,v as Q,w as W,x as X,y as Z,z as $}from"./chunks/chunk-GN75GBYZ.mjs";import{a as aa,b as sa}from"./chunks/chunk-VAR5UK6J.mjs";import{a as ea,b as ra,c as ta,d as oa,e as ia,f as la,h as ua}from"./chunks/chunk-DJD42EPL.mjs";import"./chunks/chunk-OVTASJUJ.mjs";import"./chunks/chunk-AHVO74UQ.mjs";import{a as na,b as pa,c as ga,d as Sa,e as da}from"./chunks/chunk-FPMEM2QO.mjs";import{d as ba,e as ma,f as fa}from"./chunks/chunk-EY7GXWGI.mjs";import"./chunks/chunk-QXVVA64P.mjs";import"./chunks/chunk-SBYYOE2T.mjs";import"./chunks/chunk-T6T3FEMU.mjs";export{pa as BUOY_SYNTHETIC_MARK,t as REMOTE_RELOAD_DELAY_MS,A as Subscribable,ua as absoluteFill,g as browserRouter,ga as countBuoyListener,ia as displayValue,F as flattenObject,q as formatPath,Y as formatValue,u as getBrowserHref,n as getBrowserRouteURL,aa as getBrowserStorage,K as getCachedOptionalModule,x as getConstructorName,P as getDOMControlProps,C as getDOMFiber,v as getDOMNodeHandle,T as getDOMPublicInstance,i as getDevServerOrigin,Sa as getRealAppState,y as getRegisteredToolModule,W as getRenderCaptureProvider,na as getSafeAreaInsets,c as getSafeCurrentPathname,R as getSafeCurrentRoute,f as getSafeRouter,$ as getStateSnapshotProvider,Z as getStateSnapshotProviders,fa as getStorageBackendType,a as getToolModuleVersion,j as getTypeColor,I as getValueSize,J as getValueType,h as isDOMElement,H as isEmpty,M as isExpoRouterAvailable,z as isJsonSerializable,_ as isPrimitive,ma as isUsingPersistentStorage,L as isValidJson,G as loadOptionalModule,E as loadToolModule,V as notifySubscriberCountChange,la as parseDisplayValue,U as parseValue,ba as persistentStorage,N as realNow,l as registerBrowserRouter,X as registerStateSnapshotProvider,D as registerToolModules,r as reloadApp,O as resolveDOMEventEmitter,e as resolveReloadStrategy,ea as safeStringify,o as scheduleReloadApp,Q as setRenderCaptureProvider,p as subscribeBrowserNavigation,da as subscribeRealAppState,sa as subscribeToBrowserStorage,s as subscribeToStateSnapshotProviders,w as subscribeToSubscriberCountChanges,B as subscriberCountNotifier,ta as superJsonDeserialize,oa as superJsonDropAnnotations,ra as superJsonSerialize,k as truncateText,m as useSafeGlobalSearchParams,d as useSafePathname,S as useSafeRouter,b as useSafeSegments};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/shared-ui",
3
- "version": "7.0.75",
3
+ "version": "7.0.77",
4
4
  "description": "Shared UI components, hooks, and utilities",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -225,11 +225,11 @@
225
225
  ],
226
226
  "sideEffects": false,
227
227
  "dependencies": {
228
- "@buoy-gg/floating-tools-react": "^7.0.75",
229
- "@buoy-gg/floating-tools-core": "^7.0.75"
228
+ "@buoy-gg/floating-tools-core": "^7.0.77",
229
+ "@buoy-gg/floating-tools-react": "^7.0.77"
230
230
  },
231
231
  "peerDependencies": {
232
- "@buoy-gg/license": "7.0.75",
232
+ "@buoy-gg/license": "7.0.77",
233
233
  "react": "*"
234
234
  },
235
235
  "peerDependenciesMeta": {
@@ -262,7 +262,7 @@
262
262
  "expo-clipboard": "~7.1.5",
263
263
  "react-native-safe-area-context": "^5.6.2",
264
264
  "typescript": "~5.8.3",
265
- "@buoy-gg/license": "^7.0.75"
265
+ "@buoy-gg/license": "^7.0.77"
266
266
  },
267
267
  "react-native-builder-bob": {
268
268
  "source": "src",
@@ -1 +0,0 @@
1
- "use client";import{a as e}from"./chunk-T6T3FEMU.mjs";var o={base:"@react_buoy",bubble:{root:e(()=>`${o.base}_bubble`,"root"),settings:e(()=>`${o.bubble.root()}_settings`,"settings"),userPreferences:e(()=>`${o.bubble.root()}_user_preferences`,"userPreferences"),position:e(()=>`${o.bubble.root()}_position`,"position")},modal:{root:e(()=>`${o.base}_modal`,"root"),state:e(()=>`${o.modal.root()}_state`,"state"),position:e(()=>`${o.modal.root()}_position`,"position"),dimensions:e(()=>`${o.modal.root()}_dimensions`,"dimensions"),hintAcknowledged:e(()=>`${o.modal.root()}_hint_acknowledged`,"hintAcknowledged")},custom:e(t=>{let r=`${o.base}_custom_${t}`;return{root:e(()=>r,"root"),modal:e(()=>`${r}_modal`,"modal"),settings:e(()=>`${r}_settings`,"settings"),key:e(s=>`${r}_${s}`,"key")}},"custom"),askBuoy:{root:e(()=>`${o.base}_ask_buoy`,"root"),model:e(()=>`${o.askBuoy.root()}_model`,"model")},settings:{root:e(()=>`${o.base}_settings`,"root"),theme:e(()=>`${o.settings.root()}_theme`,"theme"),preferences:e(()=>`${o.settings.root()}_preferences`,"preferences"),wifiEnabled:e(()=>`${o.settings.root()}_wifi_enabled`,"wifiEnabled"),global:e(()=>`${o.settings.root()}_global`,"global"),activeTab:e(()=>`${o.settings.root()}_active_tab`,"activeTab"),modalOpen:e(()=>`${o.settings.root()}_modal_open`,"modalOpen")},dial:{root:e(()=>`${o.base}_dial`,"root"),isOpen:e(()=>`${o.dial.root()}_is_open`,"isOpen"),usage:e(()=>`${o.dial.root()}_usage`,"usage")},clipboard:{root:e(()=>`${o.base}_clipboard`,"root"),hintAcknowledged:e(()=>`${o.clipboard.root()}_hint_acknowledged`,"hintAcknowledged")},env:{root:e(()=>`${o.base}_env`,"root"),modal:e(()=>`${o.env.root()}_modal`,"modal"),currentEnv:e(()=>`${o.env.root()}_current`,"currentEnv"),overrides:e(()=>`${o.env.root()}_overrides`,"overrides")},sentry:{root:e(()=>`${o.base}_sentry`,"root"),modal:e(()=>`${o.sentry.root()}_modal`,"modal"),filters:e(()=>`${o.sentry.root()}_filters`,"filters"),preferences:e(()=>`${o.sentry.root()}_preferences`,"preferences")},storage:{root:e(()=>`${o.base}_storage`,"root"),modal:e(()=>`${o.storage.root()}_modal`,"modal"),eventsModal:e(()=>`${o.storage.root()}_events_modal`,"eventsModal"),filters:e(()=>`${o.storage.root()}_filters`,"filters"),eventFilters:e(()=>`${o.storage.root()}_event_filters`,"eventFilters"),keyFilters:e(()=>`${o.storage.root()}_key_filters`,"keyFilters"),pinnedKeys:e(()=>`${o.storage.root()}_pinned_keys`,"pinnedKeys"),preferences:e(()=>`${o.storage.root()}_preferences`,"preferences"),activeTab:e(()=>`${o.storage.root()}_active_tab`,"activeTab"),isMonitoring:e(()=>`${o.storage.root()}_is_monitoring`,"isMonitoring"),diffViewerMode:e(()=>`${o.storage.root()}_diff_viewer_mode`,"diffViewerMode")},clock:{root:e(()=>`${o.base}_clock`,"root"),state:e(()=>`${o.clock.root()}_state`,"state")},permissions:{root:e(()=>`${o.base}_permissions`,"root"),state:e(()=>`${o.permissions.root()}_state`,"state")},lifecycle:{root:e(()=>`${o.base}_lifecycle`,"root"),state:e(()=>`${o.lifecycle.root()}_state`,"state")},location:{root:e(()=>`${o.base}_location`,"root"),state:e(()=>`${o.location.root()}_state`,"state")},timeMachine:{root:e(()=>`${o.base}_time_machine`,"root"),diffViewerMode:e(()=>`${o.timeMachine.root()}_diff_viewer_mode`,"diffViewerMode"),armedPoint:e(()=>`${o.timeMachine.root()}_armed_point`,"armedPoint"),barReloadMode:e(()=>`${o.timeMachine.root()}_bar_reload_mode`,"barReloadMode"),disabledSources:e(()=>`${o.timeMachine.root()}_disabled_sources`,"disabledSources")},scenarios:{root:e(()=>`${o.base}_scenarios`,"root"),modal:e(()=>`${o.scenarios.root()}_modal`,"modal"),library:e(()=>`${o.scenarios.root()}_library`,"library"),active:e(()=>`${o.scenarios.root()}_active`,"active")},reactQuery:{root:e(()=>`${o.base}_rq`,"root"),modal:e(()=>`${o.reactQuery.root()}_modal`,"modal"),browserModal:e(()=>`${o.reactQuery.root()}_browser_modal`,"browserModal"),mutationModal:e(()=>`${o.reactQuery.root()}_mutation_modal`,"mutationModal"),filters:e(()=>`${o.reactQuery.root()}_filters`,"filters"),ignoredPatterns:e(()=>`${o.reactQuery.root()}_ignored_patterns`,"ignoredPatterns"),includedPatterns:e(()=>`${o.reactQuery.root()}_included_patterns`,"includedPatterns"),preferences:e(()=>`${o.reactQuery.root()}_preferences`,"preferences")},network:{root:e(()=>`${o.base}_network`,"root"),modal:e(()=>`${o.network.root()}_modal`,"modal"),copyModal:e(()=>`${o.network.root()}_copy_modal`,"copyModal"),filters:e(()=>`${o.network.root()}_filters`,"filters"),ignoredDomains:e(()=>`${o.network.root()}_ignored_domains`,"ignoredDomains"),ignoredUrls:e(()=>`${o.network.root()}_ignored_urls`,"ignoredUrls"),preferences:e(()=>`${o.network.root()}_preferences`,"preferences"),copyOptions:e(()=>`${o.network.root()}_copy_options`,"copyOptions"),saved:e(()=>`${o.network.root()}_saved`,"saved"),overrides:e(()=>`${o.network.root()}_overrides`,"overrides")},routeEvents:{root:e(()=>`${o.base}_route_events`,"root"),modal:e(()=>`${o.routeEvents.root()}_modal`,"modal"),eventFilters:e(()=>`${o.routeEvents.root()}_event_filters`,"eventFilters"),activeTab:e(()=>`${o.routeEvents.root()}_active_tab`,"activeTab"),isMonitoring:e(()=>`${o.routeEvents.root()}_is_monitoring`,"isMonitoring"),detailView:e(()=>`${o.routeEvents.root()}_detail_view`,"detailView"),diffViewerMode:e(()=>`${o.routeEvents.root()}_diff_viewer_mode`,"diffViewerMode")},highlightUpdates:{root:e(()=>`${o.base}_highlight_updates`,"root"),modal:e(()=>`${o.highlightUpdates.root()}_modal`,"modal"),isTracking:e(()=>`${o.highlightUpdates.root()}_is_tracking`,"isTracking"),filters:e(()=>`${o.highlightUpdates.root()}_filters`,"filters"),settings:e(()=>`${o.highlightUpdates.root()}_settings`,"settings"),copySettings:e(()=>`${o.highlightUpdates.root()}_copy_settings`,"copySettings")},benchmark:{root:e(()=>`${o.base}_benchmark`,"root"),modal:e(()=>`${o.benchmark.root()}_modal`,"modal"),isRecording:e(()=>`${o.benchmark.root()}_is_recording`,"isRecording"),activeTab:e(()=>`${o.benchmark.root()}_active_tab`,"activeTab"),settings:e(()=>`${o.benchmark.root()}_settings`,"settings"),selectedReports:e(()=>`${o.benchmark.root()}_selected_reports`,"selectedReports")},debugBorders:{root:e(()=>`${o.base}_debug_borders`,"root"),infoModal:e(()=>`${o.debugBorders.root()}_info_modal`,"infoModal")},events:{root:e(()=>`${o.base}_events`,"root"),modal:e(()=>`${o.events.root()}_modal`,"modal"),enabledSources:e(()=>`${o.events.root()}_enabled_sources`,"enabledSources"),isCapturing:e(()=>`${o.events.root()}_is_capturing`,"isCapturing"),pausedAt:e(()=>`${o.events.root()}_paused_at`,"pausedAt"),copySettings:e(()=>`${o.events.root()}_copy_settings`,"copySettings")},sync:{root:e(()=>`${o.base}_sync`,"root"),deviceId:e(()=>`${o.sync.root()}_device_id`,"deviceId")}},u=["@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 c(t){if(!t)return false;for(let r of["@AsyncStorage:","CapacitorStorage."])t.startsWith(r)&&(t=t.slice(r.length));if(t.startsWith(o.base)||t.startsWith("buoy-")||t.startsWith("@buoy")||/^(?:buoy[._]|__buoy|react-buoy)/i.test(t))return true;for(let r of u)if(t.startsWith(r))return true;return false}e(c,"isDevToolsStorageKey");var l=new Set;function m(t){return l.add(t),()=>l.delete(t)}e(m,"subscribeStorageWrites");function d(t,r){for(let s of[...l])try{s(t,r)}catch{}}e(d,"notifyStorageWrite");var a=new Map;function i(){try{return typeof window>"u"?null:window.localStorage}catch{return null}}e(i,"storage");var n={async getItem(t){if(a.has(t))return a.get(t)??null;try{return i()?.getItem(t)??null}catch{return null}},async setItem(t,r){a.set(t,r);try{let s=i();s&&(s.setItem(t,r),a.delete(t))}catch{}d(t,r)},async removeItem(t){a.set(t,null);try{let r=i();r&&(r.removeItem(t),a.delete(t))}catch{}d(t,null)},async getAllKeys(){let t=new Set;try{let r=i();if(r)for(let s=0;s<r.length;s++){let _=r.key(s);_?.startsWith(o.base)&&t.add(_)}}catch{}for(let[r,s]of a)r.startsWith(o.base)&&(s===null?t.delete(r):t.add(r));return[...t]},async multiGet(t){return Promise.all(t.map(async r=>[r,await n.getItem(r)]))},async multiRemove(t){await Promise.all(t.map(r=>n.removeItem(r)))},async clear(){await n.multiRemove(await n.getAllKeys())}};async function g(){return i()!==null}e(g,"isUsingPersistentStorage");async function $(){return i()?"localstorage":"memory"}e($,"getStorageBackendType");export{o as a,c as b,m as c,n as d,g as e,$ as f};
@@ -1 +0,0 @@
1
- "use client";import{Nb as he,Ob as be,Pb as $,Q as H,R as Se,Tb as we,Vb as J,Yb as Y,sd as y}from"./chunk-CJTGUGMQ.mjs";import{d as a}from"./chunk-AHVO74UQ.mjs";import{J as L,a as d,b as p,d as K,r as k,y as X}from"./chunk-5G6RSRP4.mjs";import{a as n}from"./chunk-T6T3FEMU.mjs";var xe="[Circular]",q="[...]";function Q(e,t,o={}){let{depthLimit:c=Number.MAX_SAFE_INTEGER,edgesLimit:g=Number.MAX_SAFE_INTEGER}=o,u=[];function l(i,s,m,r,x,v){if(v+=1,typeof i=="object"&&i!==null){for(let I=0;I<r.length;I++)if(r[I]===i){h(xe,i,s,x);return}if(v>c){h(q,i,s,x);return}if(m+1>g){h(q,i,s,x);return}if(r.push(i),Array.isArray(i)){let I=i;for(let R=0;R<i.length;R++)l(i[R],R,R,r,I,v)}else if(i instanceof Map||i instanceof Set||i instanceof RegExp||i instanceof Date||i instanceof Error){r.pop();return}else{let I=i,R=Object.keys(I);for(let F=0;F<R.length;F++){let U=R[F];l(I[U],U,F,r,I,v)}}r.pop()}}n(l,"decirc");function h(i,s,m,r){if(!r)return;let x=Object.getOwnPropertyDescriptor(r,m);if(x?.get!==void 0)if(x.configurable)Object.defineProperty(r,m,{value:i}),u.push([r,m,s,x]);else return;else r[m]=i,u.push([r,m,s])}n(h,"setReplace");let A=n((i,s)=>{if(typeof s=="bigint")return`${s.toString()}n`;if(typeof s=="symbol")return s.toString();if(typeof s>"u")return"undefined";if(typeof s=="function")return`[Function: ${s.name||"anonymous"}]`;if(typeof s=="number"){if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(Number.isNaN(s))return"NaN"}if(s instanceof Error){let m={name:s.name,message:s.message,stack:s.stack};return Object.getOwnPropertyNames(s).forEach(r=>{if(!["name","message","stack"].includes(r))try{let x=s[r];x!==void 0&&(m[r]=x)}catch{}}),m}if(s instanceof Date)return s.toISOString();if(s instanceof RegExp)return s.toString();if(s instanceof Map)try{return{__type:"Map",entries:Array.from(s.entries()).map(([m,r])=>[String(m),r])}}catch{return{__type:"Map",entries:"[Map iteration failed]"}}if(s instanceof Set)try{return{__type:"Set",values:Array.from(s)}}catch{return{__type:"Set",values:"[Set iteration failed]"}}return s},"replacer");try{return l(e,"",0,[],null,0),JSON.stringify(e,A,t)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;u.length!==0;){let i=u.pop();if(i&&i.length===4){let[s,m,,r]=i;s&&typeof s=="object"&&r&&Object.defineProperty(s,m,r)}else if(i){let[s,m,r]=i;s&&typeof s=="object"&&(typeof m=="string"||typeof m=="number")&&(s[m]=r)}}}}n(Q,"safeStringify");var Ce=n(e=>typeof e>"u","isUndefined"),Ae=n(e=>typeof e!="object"||e===null||e===Object.prototype?false:Object.getPrototypeOf(e)===null?true:Object.getPrototypeOf(e)===Object.prototype,"isPlainObject"),z=n(e=>Array.isArray(e),"isArray"),ve=n(e=>typeof e=="boolean"||e===null||typeof e>"u"||typeof e=="number"||typeof e=="string"||typeof e=="symbol","isPrimitive"),Ie=n(e=>e instanceof Date&&!isNaN(e.valueOf()),"isDate"),Z=n(e=>e instanceof Error,"isError"),Re=n(e=>e instanceof RegExp,"isRegExp"),ee=n(e=>e instanceof Set,"isSet"),te=n(e=>e instanceof Map,"isMap"),Te=n(e=>typeof e=="bigint","isBigint"),re=n(e=>typeof e=="number"&&isNaN(e),"isNaNValue"),Oe=n(e=>e===1/0||e===-1/0,"isInfinite"),ke=n(e=>e===0&&1/e===-1/0,"isMinusZero"),Ne=n(e=>e instanceof URL,"isURL"),Ve=n(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),"isTypedArray"),De={Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray},ne=[{isApplicable:Ce,annotation:"undefined",transform:n(()=>null,"transform"),untransform:n(()=>{},"untransform")},{isApplicable:Te,annotation:"bigint",transform:n(e=>e.toString(),"transform"),untransform:n(e=>typeof BigInt<"u"?BigInt(e):(console.error("[Buoy]","BigInt is not supported in this environment"),e),"untransform")},{isApplicable:Ie,annotation:"Date",transform:n(e=>e.toISOString(),"transform"),untransform:n(e=>new Date(e),"untransform")},{isApplicable:Z,annotation:"Error",transform:n(e=>({name:e.name,message:e.message,stack:e.stack,cause:"cause"in e?e.cause:void 0}),"transform"),untransform:n(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},"untransform")},{isApplicable:Re,annotation:"regexp",transform:n(e=>""+e,"transform"),untransform:n(e=>{let t=e.slice(1,e.lastIndexOf("/")),o=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,o)},"untransform")},{isApplicable:ee,annotation:"set",transform:n(e=>[...e.values()],"transform"),untransform:n(e=>new Set(e),"untransform")},{isApplicable:te,annotation:"map",transform:n(e=>[...e.entries()],"transform"),untransform:n(e=>new Map(e),"untransform")},{isApplicable:n(e=>re(e)||Oe(e),"isApplicable"),annotation:"number",transform:n(e=>re(e)?"NaN":e>0?"Infinity":"-Infinity","transform"),untransform:n(e=>Number(e),"untransform")},{isApplicable:ke,annotation:"number",transform:n(()=>"-0","transform"),untransform:n(()=>-0,"untransform")},{isApplicable:Ne,annotation:"URL",transform:n(e=>e.toString(),"transform"),untransform:n(e=>new URL(e),"untransform")},{isApplicable:Ve,annotation:n(e=>["typed-array",e.constructor.name],"annotation"),transform:n(e=>[...e],"transform"),untransform:n((e,t)=>{let o=Array.isArray(t)?t[1]:"Uint8Array",c=De[o];if(!c)throw new Error(`Unknown typed array: ${o}`);return new c(e)},"untransform")}];function B(e){for(let t of ne)if(t.isApplicable(e)){let o=typeof t.annotation=="function"?t.annotation(e):t.annotation;return{value:t.transform(e),type:o}}}n(B,"transformValue");function W(e,t){for(let o of ne){let c=typeof o.annotation=="function"?Array.isArray(t)?t[0]:t:o.annotation;if(Array.isArray(t)&&Array.isArray(c)?t[0]===c[0]:c===t)return o.untransform(e,t)}throw new Error(`Unknown transformation: ${t}`)}n(W,"untransformValue");var oe=n(e=>Ae(e)||z(e)||te(e)||ee(e)||Z(e),"isDeep");function j(e){return e.replace(/\\/g,"\\\\").replace(/\./g,"\\.")}n(j,"escapeKey");function _(e,t=[],o=[]){let c=ve(e);if(!c&&!oe(e)){let i=B(e);return i?{transformedValue:i.value,annotations:{[t.map(String).map(j).join(".")]:i.type}}:{transformedValue:e}}if(!c&&o.indexOf(e)!==-1)return{transformedValue:null};if(!oe(e)){let i=B(e);return i?{transformedValue:i.value,annotations:t.length>0?{[t.map(String).map(j).join(".")]:i.type}:{"":i.type}}:{transformedValue:e}}let g=B(e),u=g?.value??e,l=z(u)?[]:{},h={};if(g){let i=t.length>0?t.map(String).map(j).join("."):"";h[i]=g.type}let A=z(u)?u.map((i,s)=>[s,i]):Object.entries(u);for(let[i,s]of A){let m=String(i);if(m==="__proto__"||m==="constructor"||m==="prototype")throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);let r=_(s,[...t,i],[...o,e]);l[i]=r.transformedValue,r.annotations&&Object.assign(h,r.annotations)}return{transformedValue:l,annotations:Object.keys(h).length>0?h:void 0}}n(_,"walker");function ae(e){if(e==="")return[];let t=[],o="";for(let c=0;c<e.length;c++){let g=e.charAt(c);if(g==="\\"){let u=e.charAt(c+1);if(u==="\\"){o+="\\",c++;continue}else if(u==="."){o+=".",c++;continue}}if(g==="."){t.push(o),o="";continue}o+=g}return o&&t.push(o),t}n(ae,"parsePath");function ie(e,t,o){if(t.length===0)return;let c=e;for(let g=0;g<t.length-1;g++)c=c[t[g]];c[t[t.length-1]]=o}n(ie,"setDeep");function le(e,t){let o=e;for(let c of t)o=o[c];return o}n(le,"getDeep");function P(e){let t=_(e),o={json:t.transformedValue};return t.annotations&&(o.meta={values:t.annotations}),o}n(P,"serialize");function M(e){let{json:t,meta:o}=e;if(!o?.values)return t;let c=z(t)?[...t]:{...t},g=Object.entries(o.values).map(([u,l])=>({pathString:u,type:l,path:ae(u)})).sort((u,l)=>l.path.length-u.path.length);for(let{type:u,path:l}of g)if(l.length===0)c=W(c,u);else{let h=le(c,l),A=W(h,u);ie(c,l,A)}return c}n(M,"deserialize");var Fe=n((e,t=false)=>{let{json:o}=P(e);return JSON.stringify(o,null,t?2:void 0)},"displayValue"),Le=n(e=>{try{let t=JSON.parse(e);return M({json:t,meta:void 0})}catch{return JSON.parse(e)}},"parseDisplayValue");import{jsx as V,jsxs as E}from"react/jsx-runtime";function se({icon:e,iconColor:t,title:o,count:c,subtitle:g,expanded:u,onToggle:l,children:h,style:A,titleStyle:i}){return E(d,{style:[D.container,A],children:[E(K,{onPress:l,activeOpacity:.7,style:D.headerTouchable,children:[E(d,{style:D.header,children:[E(d,{style:D.headerLeft,children:[V(e,{size:14,color:t}),V(p,{style:[D.title,i],children:o}),V(d,{style:[D.badge,{backgroundColor:t+"20"}],children:V(p,{style:[D.badgeText,{color:t}],children:c})})]}),u?V(Y,{size:14,color:a.muted}):V(J,{size:14,color:a.muted})]}),V(p,{style:D.subtitle,children:g})]}),u&&V(k.View,{style:{opacity:1},children:h})]})}n(se,"GameUICollapsibleSection");var D=L.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:a.primary,fontFamily:y,fontWeight:"700",letterSpacing:2,opacity:.9},subtitle:{fontSize:9,color:a.secondary,fontFamily:y,paddingHorizontal:4,marginTop:2,opacity:.7},badge:{paddingHorizontal:8,paddingVertical:2,borderRadius:10},badgeText:{fontSize:10,fontFamily:y,fontWeight:"700"}});var ce={position:"absolute",top:0,left:0,right:0,bottom:0};import{jsx as N,jsxs as G}from"react/jsx-runtime";function de({alertConfig:e,badgeText:t,animatedStyle:o,style:c,indicatorCount:g=3}){let u=e.icon;return G(k.View,{style:[T.container,{borderColor:e.color+"40"},c,o],children:[N(d,{style:[T.glow,{backgroundColor:e.color+"10"}]}),G(d,{style:T.content,children:[N(d,{style:[T.iconWrapper,{backgroundColor:e.color+"15"}],children:N(u,{size:20,color:e.color})}),G(d,{style:T.textContainer,children:[N(p,{style:[T.label,{color:e.color}],children:e.label}),N(p,{style:T.subtitle,children:e.subtitle})]}),N(d,{style:[T.badge,{backgroundColor:e.color+"20"}],children:N(p,{style:[T.badgeText,{color:e.color}],children:t})})]}),N(d,{style:T.indicators,children:[...Array(g)].map((l,h)=>N(d,{style:[T.indicatorDot,{backgroundColor:e.color,opacity:e.pulse?h===0?1:.5-h*.2:.3-h*.1}]},h))})]})}n(de,"GameUIStatusHeader");var T=L.create({container:{backgroundColor:a.panel,borderRadius:12,borderWidth:1,padding:16,marginBottom:16,position:"relative",overflow:"hidden"},glow:{...ce,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:a.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 ze}from"react";import{jsx as S,jsxs as C}from"react/jsx-runtime";function ue({statsConfig:e,totalCount:t,header:o,bottomStats:c,style:g,hideInactive:u=true}){return C(d,{style:[f.container,g],children:[o&&C(d,{style:f.header,children:[C(d,{style:f.headerLeft,children:[S(p,{style:f.headerTitle,children:o.title}),S(p,{style:f.headerSubtitle,children:o.subtitle})]}),o.healthPercentage!==void 0&&S(d,{style:f.headerRight,children:C(d,{style:f.statusIndicator,children:[S(d,{style:[f.statusDot,{backgroundColor:o.healthColor||a.success}]}),S(p,{style:[f.statusText,{color:o.healthColor||a.success}],children:o.healthStatus||"OPTIMAL"})]})})]}),o?.healthPercentage!==void 0&&C(d,{style:f.healthSection,children:[S(p,{style:f.healthLabel,children:"SYSTEM HEALTH"}),S(d,{style:f.healthBarWrapper,children:S(d,{style:f.healthBarBg,children:S(k.View,{style:[f.healthBarFill,{width:`${o.healthPercentage}%`,backgroundColor:o.healthColor||a.success}]})})}),C(p,{style:[f.healthPercentage,{color:o.healthColor||a.success}],children:[o.healthPercentage,"%"]})]}),S(d,{style:f.statsGrid,children:e.map(l=>{let h=l.value>0;if(u&&!h)return null;let A=l.icon,i=t?l.value/t*100:0;return C(k.View,{style:[f.statCard,{borderColor:l.color+"30"}],children:[C(d,{style:f.cardContent,children:[S(d,{style:[f.iconBadge,{backgroundColor:l.color+"1A",borderColor:l.color+"33"}],children:S(A,{size:12,color:l.color})}),C(d,{style:f.cardInfo,children:[S(p,{style:f.cardLabel,children:l.label}),S(p,{style:f.cardSubtitle,children:l.subtitle})]}),C(d,{style:f.valueBlock,children:[S(p,{style:[f.statNumber,{color:l.color}],children:l.value.toString().padStart(2,"0")}),t?C(p,{style:f.percentText,children:[Math.round(i),"%"]}):null]})]}),l.showBar!==false&&t&&S(d,{style:[f.statBar,{backgroundColor:l.color+"10"}],children:S(d,{style:[f.statBarFill,{width:`${i}%`,backgroundColor:l.color}]})})]},l.key)})}),c&&c.length>0&&S(d,{style:f.bottomBar,children:c.map((l,h)=>C(ze,{children:[C(d,{style:f.bottomStat,children:[S(p,{style:f.bottomStatLabel,children:l.label}),S(p,{style:[f.bottomStatValue,l.color&&{color:l.color}],children:l.value})]}),h<c.length-1&&S(d,{style:f.bottomDivider})]},l.label))})]})}n(ue,"GameUICompactStats");var f=L.create({container:{backgroundColor:a.panel,borderRadius:12,padding:12,marginBottom:12,borderWidth:1,borderColor:a.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:a.primary,fontFamily:y,letterSpacing:1.5},headerSubtitle:{fontSize:8,color:a.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:a.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:a.blackTint2,borderRadius:8,borderWidth:1,borderColor:a.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:a.primary},cardSubtitle:{fontSize:8,color:a.secondary,fontFamily:y,opacity:.7},statNumber:{fontSize:16,fontWeight:"700",fontFamily:y,minWidth:28},valueBlock:{alignItems:"flex-end"},percentText:{fontSize:9,color:a.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:a.border+"40"},bottomStat:{flex:1,alignItems:"center"},bottomStatLabel:{fontSize:7,color:a.muted,fontFamily:y,letterSpacing:.5,marginBottom:1},bottomStatValue:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:y},bottomDivider:{width:1,height:16,backgroundColor:a.border+"40"},iconBadge:{width:24,height:24,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"}});import{useState as Be,useCallback as je}from"react";import{jsx as w,jsxs as O}from"react/jsx-runtime";function fe({issues:e,onIssueClick:t,hintText:o="Tap any issue to view details",style:c,expandable:g=true,statusLabels:u={missing:"Not found",wrong_type:"Type error",wrong_value:"Invalid value"}}){let[l,h]=Be(new Set),A=je(r=>{g&&h(x=>{let v=new Set(x);return v.has(r)?v.delete(r):v.add(r),v})},[g]),i=n(r=>r==="missing"?a.warning:a.info,"getStatusColor"),s=n(r=>r==="missing"?H:$,"getStatusIcon"),m=n(r=>{switch(r.status){case"missing":return`\u2022 ${u.missing}`;case"wrong_type":return`\u2022 ${u.wrong_type}${r.expectedType?`: Expected ${r.expectedType}`:""}`;case"wrong_value":return`\u2022 ${u.wrong_value}${r.value?`: ${String(r.value).substring(0,20)}`:""}`;default:return""}},"getStatusLabel");return e.length===0?null:O(d,{style:[b.container,c],children:[e.map((r,x)=>{let v=i(r.status),I=s(r.status),R=l.has(r.key),F=R?Y:J;return O(d,{children:[O(K,{onPress:()=>{g&&A(r.key),t?.(r)},style:b.issueRow,activeOpacity:.7,children:[w(I,{size:14,color:v}),O(d,{style:b.issueContent,children:[w(p,{style:[b.issueKey,{color:a.primary}],children:r.key}),w(p,{style:b.issueDesc,children:m(r)})]}),g&&w(F,{size:12,color:a.muted})]}),g&&R&&O(k.View,{style:b.issueDetails,children:[O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Status:"}),O(p,{style:[b.detailValue,{color:a.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"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Current:"}),w(p,{style:[b.detailValue,{color:a.warning}],children:`"${String(r.value)}"`})]}),r.expectedType&&r.status==="wrong_type"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:r.expectedType})]}),r.expectedValue&&r.status==="wrong_value"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:`"${r.expectedValue}"`})]}),r.description&&w(d,{style:b.descSection,children:w(p,{style:b.descText,children:r.description})}),r.fixSuggestion&&O(d,{style:b.fixSection,children:[w(p,{style:b.fixLabel,children:"HOW TO FIX"}),w(p,{style:b.fixText,children:r.fixSuggestion})]})]})]},`${r.key}-${x}`)}),o&&w(p,{style:b.hint,children:o})]})}n(fe,"GameUIIssuesList");var b=L.create({container:{backgroundColor:a.panel,borderRadius:8,padding:8,borderWidth:1,borderColor:a.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:a.secondary,fontFamily:y,flex:1},hint:{fontSize:9,color:a.muted,fontFamily:y,textAlign:"center",marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:a.primary+"0D"},issueDetails:{marginTop:8,marginLeft:22,marginRight:8,paddingLeft:12,paddingRight:8,paddingTop:8,paddingBottom:8,backgroundColor:a.background+"4D",borderLeftWidth:2,borderLeftColor:a.primary+"1A",borderRadius:4},detailRow:{flexDirection:"row",marginTop:8,alignItems:"flex-start"},detailLabel:{fontSize:10,color:a.secondary,fontFamily:y,fontWeight:"600",width:70},detailValue:{fontSize:11,color:a.primary,fontFamily:y,flex:1,lineHeight:16},fixSection:{marginTop:12,padding:10,backgroundColor:a.info+"14",borderRadius:6,borderWidth:1,borderColor:a.info+"33"},fixLabel:{fontSize:10,color:a.info,fontFamily:y,fontWeight:"700",marginBottom:6,letterSpacing:.5},fixText:{fontSize:11,color:a.primary,fontFamily:y,lineHeight:18,backgroundColor:a.background+"66",padding:8,borderRadius:4,overflow:"hidden"},descSection:{marginTop:10,paddingTop:10,borderTopWidth:1,borderTopColor:a.primary+"0D"},descText:{fontSize:10,color:a.secondary,fontFamily:y,marginTop:4,lineHeight:14}});import{useMemo as pe,useEffect as Ee,useRef as ge}from"react";var me={OPTIMAL:{icon:we,color:a.success,label:"CONFIG OK",subtitle:"All requirements met",pulse:false},WARNING:{icon:$,color:a.warning,label:"CONFIG WARNING",subtitle:"Check values and types",pulse:false},ERROR:{icon:be,color:a.error,label:"CONFIG ERROR",subtitle:"Missing required data",pulse:false},CRITICAL:{icon:H,color:a.critical,label:"CONFIG FAILURE",subtitle:"Multiple critical issues",pulse:false},LOADING:{icon:he,color:a.info,label:"LOADING",subtitle:"Reading configuration...",pulse:true},EMPTY:{icon:Se,color:a.muted,label:"NO DATA",subtitle:"No configuration found",pulse:false}};function ye(e,t){let o=pe(()=>({...me,...t}),[t]),c=pe(()=>e.totalCount===0?"EMPTY":e.missingCount>2||e.wrongTypeCount>2?"CRITICAL":e.missingCount>0?"ERROR":e.wrongValueCount>0||e.wrongTypeCount>0?"WARNING":"OPTIMAL",[e]),g=o[c],u=ge(new k.Value(1)).current,l=ge(new k.Value(1)).current;return Ee(()=>{u.setValue(0),l.setValue(.95),k.parallel([k.timing(u,{toValue:1,duration:300,useNativeDriver:true}),k.timing(l,{toValue:1,duration:300,easing:X.out(X.ease),useNativeDriver:true})]).start()},[c,u,l]),{alertState:c,alertConfig:g,alertAnimatedStyle:{transform:[{scale:l}],opacity:u},alertOpacity:u,alertScale:l}}n(ye,"useGameUIAlertState");export{Q as a,P as b,M as c,Fe as d,Le as e,se as f,ce as g,de as h,ue as i,fe as j,me as k,ye as l};
@@ -1 +0,0 @@
1
- "use client";import{b as h,c as y}from"./chunk-SBYYOE2T.mjs";import{a as b}from"./chunk-T6T3FEMU.mjs";export*from"react-native-web";import{unstable_createElement as g,NativeModules as v,AccessibilityInfo as w,Animated as E,Appearance as C,AppRegistry as S,AppState as k,BackHandler as A,Clipboard as T,Dimensions as I,Easing as B,I18nManager as M,Keyboard as L,InteractionManager as N,LayoutAnimation as V,Linking as P,NativeEventEmitter as O,PanResponder as R,PixelRatio as j,Platform as z,Share as D,StyleSheet as K,UIManager as $,Vibration as H,CheckBox as W,FlatList as F,Image as U,ImageBackground as Y,KeyboardAvoidingView as _,Picker as q,ProgressBar as G,RefreshControl as J,SafeAreaView as Q,SectionList as X,StatusBar as Z,Touchable as ee,TouchableNativeFeedback as ae,VirtualizedList as te,YellowBox as se,LogBox as ne,DeviceEventEmitter as ie,useColorScheme as oe,useLocaleContext as re,useWindowDimensions as le}from"react-native-web";import*as t from"react-native-web";import{createElement as m,forwardRef as x,useCallback as de,useRef as ce}from"react";function s(l){let n=x((c,e)=>{let{accessibilityState:a,accessibilityValue:p,...d}=c;for(let r of["busy","checked","disabled","expanded","selected"])a?.[r]!==void 0&&d[`aria-${r}`]===void 0&&(d[`aria-${r}`]=a[r]);for(let[r,i]of Object.entries({min:"valuemin",max:"valuemax",now:"valuenow",text:"valuetext"}))p?.[r]!==void 0&&d[`aria-${i}`]===void 0&&(d[`aria-${i}`]=p[r]);return m(l,{...d,ref:e})}),o=l.State;return o&&Object.assign(n,{State:o}),n.displayName=l.displayName??l.name??"NativeWebView",n}b(s,"withAccessibility");var pe=s(t.View),ue=s(t.Text),me=s(t.TextInput),be=s(t.TouchableOpacity),xe=s(t.TouchableHighlight),fe=s(t.TouchableWithoutFeedback),he=s(t.Pressable),ye=s(t.ScrollView),f=x((l,n)=>{let o=ce(null),c=de(e=>{if(e){let a=e;for(;a.parentElement&&a.parentElement!==document.body;)a=a.parentElement;a.parentElement===document.body&&(o.current=a,Object.assign(a.style,{position:"relative",zIndex:"2147483647",pointerEvents:"auto"}),h().appendChild(a))}else o.current&&(document.body.appendChild(o.current),o.current=null);typeof n=="function"?n(e):n&&(n.current=e)},[n]);return m(y,null,m(t.Modal,{...l,ref:c}))});f.displayName="Modal";var ge=s(f),ve=s(t.Switch),we=s(t.ActivityIndicator),Ee=s(t.Button),Ce=t.findNodeHandle,Se={alert(l,n,o,c){if(typeof document>"u")return;let e=document.createElement("dialog");e.dataset.buoyRoot="",e.setAttribute("aria-label",l),e.style.cssText="position:fixed;inset:0;margin:auto;width:min(440px,90vw);padding:24px;border:1px solid #475569;border-radius:14px;background:#17212e;color:#f1f5f9;font:14px system-ui;box-shadow:0 20px 80px #0008;z-index:2147483647";let a=document.createElement("h2");if(a.textContent=l,a.style.cssText="font-size:18px;margin:0 0 12px",e.appendChild(a),n){let i=document.createElement("p");i.textContent=n,i.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",e.appendChild(i)}let p=document.createElement("div");p.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let d=o?.length?o:[{text:"OK"}],r=b(()=>{e.close?.(),e.remove()},"close");for(let i of d){let u=document.createElement("button");u.type="button",u.textContent=i.text??"OK",u.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${i.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,u.onclick=()=>{r(),i.onPress?.()},p.appendChild(u)}e.addEventListener("cancel",i=>{i.preventDefault(),c?.cancelable!==false&&(r(),c?.onDismiss?.())}),e.appendChild(p),document.body.appendChild(e),e.showModal?e.showModal():e.setAttribute("open","")}};export{pe as a,ue as b,me as c,be as d,xe as e,fe as f,he as g,ye as h,ge as i,ve as j,we as k,Ee as l,Ce as m,Se as n,g as o,v as p,w as q,E as r,C as s,S as t,k as u,A as v,T as w,I as x,B as y,M as z,L as A,N as B,V as C,P as D,O as E,R as F,j as G,z as H,D as I,K as J,$ as K,H as L,W as M,F as N,U as O,Y as P,_ as Q,q as R,G as S,J as T,Q as U,X as V,Z as W,ee as X,ae as Y,te as Z,se as _,ne as $,ie as aa,oe as ba,re as ca,le as da};
@@ -1 +0,0 @@
1
- "use client";import{d as c}from"./chunk-AHVO74UQ.mjs";import{a as n,b as $e}from"./chunk-T6T3FEMU.mjs";var xe=n(e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(Array.isArray(e))return"array";let t=typeof e;return t==="object"?e instanceof Date?"date":e instanceof RegExp?"regexp":e instanceof Map?"map":e instanceof Set?"set":e instanceof Error?"error":"object":t},"getValueType"),Me=n(e=>{let t=typeof e;return e==null||t==="string"||t==="number"||t==="boolean"||t==="bigint"||t==="symbol"},"isPrimitive"),Pe=n(e=>{try{return JSON.stringify(e),true}catch{return false}},"isJsonSerializable"),Ce=n(e=>{try{return JSON.parse(e),true}catch{return false}},"isValidJson"),ke=n(e=>{if(e===null)return"null";if(e===void 0)return"undefined";try{return e.constructor?.name||typeof e}catch{return typeof e}},"getConstructorName"),Ae=n(e=>e==null?true:typeof e=="string"||Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:false,"isEmpty"),De=n(e=>{if(Array.isArray(e)){let t=e.length;return t===0?"empty array":t===1?"1 item":`${t} items`}if(e&&typeof e=="object"){let t=Object.keys(e).length;return t===0?"empty object":t===1?"1 key":`${t} keys`}if(typeof e=="string"){let t=e.length;return t===0?"empty string":t===1?"1 character":`${t} characters`}return""},"getValueSize"),Ne=n(e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&e.constructor===Object,"isPlainObject");var Le=n(e=>{if(e==null)return e;if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},"parseValue"),_e=n(e=>e===null?"null":e===void 0?"undefined":typeof e=="string"?`"${e}"`:typeof e=="boolean"?e?"true":"false":typeof e=="number"?String(e):typeof e=="function"?`[Function: ${e.name||"anonymous"}]`:typeof e=="object"?Array.isArray(e)?`[Array: ${e.length} items]`:`{Object: ${Object.keys(e).length} keys}`:String(e),"formatValue"),Be=n(e=>{if(e===null)return c.dataTypes.null;if(e===void 0)return c.dataTypes.undefined;switch(typeof e){case"string":return c.dataTypes.string;case"number":return c.dataTypes.number;case"boolean":return c.dataTypes.boolean;case"function":return c.dataTypes.function;case"object":return Array.isArray(e)?c.dataTypes.array:c.dataTypes.object;default:return c.primary}},"getTypeColor"),Ve=n((e,t)=>e.length<=t?e:e.slice(0,t-3)+"...","truncateText"),x=n((e,t="")=>{let r={};return e==null?r:typeof e!="object"?(r[t||"root"]=e,r):(Array.isArray(e)?e.forEach((a,o)=>{let s=t?`${t}[${o}]`:`[${o}]`;typeof a=="object"&&a!==null?Object.assign(r,x(a,s)):r[s]=a}):Object.keys(e).forEach(a=>{let o=t?`${t}.${a}`:a,s=e[a];typeof s=="object"&&s!==null?Object.assign(r,x(s,o)):r[o]=s}),r)},"flattenObject"),Fe=n(e=>e.length===0?"root":e.map((t,r)=>typeof t=="number"?`[${t}]`:r===0?t:`.${t}`).join(""),"formatPath");var Ue={log:n(()=>{},"log"),warn:n(()=>{},"warn"),error:n((...e)=>{console.error("[Buoy]","[optional-module]",...e)},"error")},y=new Map,m=new Map,W=new Set;async function q(e,t={}){if(y.has(e))return y.get(e);let r={...Ue,...t.logger??{}};m.has(e)||m.set(e,(async()=>{try{let o=await J(e,t),s=o?.default??o;return y.set(e,s),r.log("Loaded optional module",e),s}catch(o){return r.log("Optional module unavailable",e,o),y.set(e,null),null}})());let a=await m.get(e);return m.delete(e),!a&&t.warnOnceKey&&!W.has(t.warnOnceKey)&&(W.add(t.warnOnceKey),r.warn(t.warningMessage??`Module '${e}' not found.`)),a}n(q,"loadOptionalModule");var z=(()=>{try{return new Function("moduleName","return import(moduleName);")}catch{return null}})(),I=(()=>{try{return new Function("return typeof require === 'function' ? require : undefined;")()}catch{return}})();async function J(e,t){if(t.loader)return await Promise.resolve(t.loader());if(z)return z(e);if(I)return I(e);throw new Error(`No dynamic loader available for optional module '${e}'.`)}n(J,"loadModuleWithFallback");function H(e){return y.has(e)?y.get(e):null}n(H,"getCachedOptionalModule");var G="__buoyRenderCaptureProvider";function M(){return globalThis}n(M,"providerHost");function K(e){M()[G]=e}n(K,"setRenderCaptureProvider");function X(){return M()[G]??null}n(X,"getRenderCaptureProvider");var g=new Map,P=new Set;function C(){P.forEach(e=>{try{e()}catch{}})}n(C,"notify");function Y(e){return g.set(e.id,e),C(),()=>{g.get(e.id)===e&&(g.delete(e.id),C())}}n(Y,"registerStateSnapshotProvider");function Q(){return Array.from(g.values())}n(Q,"getStateSnapshotProviders");function Z(e){return g.get(e)??null}n(Z,"getStateSnapshotProvider");function ee(e){return P.add(e),()=>{P.delete(e)}}n(ee,"subscribeToStateSnapshotProviders");function S(){return null}n(S,"loadDevSettings");function E(){return null}n(E,"loadExpoUpdates");function O(){return typeof window>"u"?null:()=>window.location.reload()}n(O,"loadBrowserReload");function R(e="auto"){return e==="browser"?O()?"browser":null:e==="auto"&&O()?"browser":e==="dev-settings"?S()?"dev-settings":null:e==="expo-updates"?E()?"expo-updates":null:$e&&S()?"dev-settings":E()?"expo-updates":null}n(R,"resolveReloadStrategy");function k(e){return e==="browser"?"[buoy] Browser reload requires a browser window.":e==="dev-settings"?"[buoy] DevSettings.reload() unavailable \u2014 strategy 'dev-settings' requires React Native dev mode.":e==="expo-updates"?"[buoy] expo-updates not installed \u2014 strategy 'expo-updates' requires the host app to add the dependency.":"[buoy] No reload mechanism available. Run in __DEV__ or install expo-updates."}n(k,"unavailableMessage");async function A(e="auto",t="buoy reload"){let r=R(e);if(!r)throw new Error(k(e));return r==="browser"?O()():r==="dev-settings"?S().reload(t):await E().reloadAsync(),await new Promise(()=>{})}n(A,"reloadApp");var te=250;function re(e){let t=e?.strategy??"auto",r=R(t);if(!r)throw new Error(k(t));let a=Math.max(0,e?.delayMs??te),o=e?.reason??"buoy remote reload";return setTimeout(()=>{A(r,o).catch(()=>{})},a),{strategy:r,delayMs:a}}n(re,"scheduleReloadApp");function ne(){return null}n(ne,"getDevServerOrigin");function ae(){let e=globalThis.__buoyRealNow;return typeof e=="function"?e():Date.now()}n(ae,"realNow");var oe=class Xe{constructor(){this.listeners=new Set;this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}getListenerCount(){return this.listeners.size}notify(...t){this.listeners.forEach(r=>{r(...t)})}onSubscribe(){}onUnsubscribe(){}};n(oe,"Subscribable");var We=oe;var se=class Ye{constructor(){this.listeners=new Set}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}notify(t){this.listeners.forEach(r=>{try{r(t)}catch{}})}};n(se,"SubscriberCountNotifier");var qe=se,D=new qe,ze=n(e=>D.subscribe(e),"subscribeToSubscriberCountChanges"),Ie=n(e=>D.notify(e),"notifySubscriberCountChange");import{useSyncExternalStore as ie}from"react";var l,w=new Set,N,ue;function le(e){return l=e,()=>{l===e&&(l=void 0)}}n(le,"registerBrowserRouter");function d(){return typeof location>"u"?"/":location.href}n(d,"getBrowserHref");function L(e=d()){let t=new URL(e,"http://localhost"),r=t.hash.startsWith("#/")?new URL(t.hash.slice(1),t.origin):t;return r.pathname||(r.pathname="/"),r}n(L,"getBrowserRouteURL");var b;function _(e){if(!w.size&&typeof window<"u"){let t=window.history,r=n(o=>{for(let s of[...w])try{s({href:d(),kind:o})}catch{}},"emit");if(b)b.active=true;else{let o=t.pushState,s=t.replaceState,i={push:o,replace:s,active:true},p=n(function(...h){let $=Reflect.apply(o,this,h);return i.active&&r("push"),$},"wrappedPush"),u=n(function(...h){let $=Reflect.apply(s,this,h);return i.active&&r("replace"),$},"wrappedReplace");t.pushState=p,t.replaceState=u,b=i,ue=n(()=>{t.pushState!==p||t.replaceState!==u||(t.pushState=o,t.replaceState=s,b=void 0)},"unwrap")}let a=n(()=>r("pop"),"pop");window.addEventListener("popstate",a),window.addEventListener("hashchange",a),N=n(()=>{b&&(b.active=false),ue?.(),window.removeEventListener("popstate",a),window.removeEventListener("hashchange",a),N=void 0},"detach")}return w.add(e),()=>{w.delete(e),w.size||N?.()}}n(_,"subscribeBrowserNavigation");function B(e){let t=typeof e=="string"?e:e.pathname,r=new URL(t,d());if(r.origin!==window.location.origin)throw new Error("Tool navigation must stay on the current origin.");if(typeof e!="string")for(let[a,o]of Object.entries(e.params??{}))r.searchParams.set(a,String(o));return`${r.pathname}${r.search}${r.hash}`}n(B,"pathFor");var v={push(e){let t=B(e);if(l)return l.push(t);window.history.pushState(null,"",window.location.hash.startsWith("#/")?`#${t}`:t),window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}))},replace(e){let t=B(e);if(l)return l.replace(t);window.history.replaceState(window.history.state,"",window.location.hash.startsWith("#/")?`#${t}`:t),window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}))},back(){l?l.back():window.history.back()},canGoBack(){return l?.canGoBack?.()??(typeof window<"u"&&window.history.length>1)},navigate(e){v.push(e)},setParams(e){v.replace({pathname:d(),params:e})},dismiss(e=1){window.history.go(-e)},dismissAll(){throw new Error("Use the captured browser history to select a destination.")}};var ce=n(e=>_(e),"subscribe"),T=L;function pe(){return v}n(pe,"useSafeRouter");function V(){return ie(ce,d,()=>"/"),T().pathname}n(V,"useSafePathname");function de(){return V().split("/").filter(Boolean)}n(de,"useSafeSegments");function fe(){return ie(ce,d,()=>"/"),Object.fromEntries(T().searchParams)}n(fe,"useSafeGlobalSearchParams");function he(){return typeof window>"u"?null:v}n(he,"getSafeRouter");function ye(){return T().pathname}n(ye,"getSafeCurrentPathname");function be(){let e=T();return{pathname:e.pathname,href:`${e.pathname}${e.search}${e.hash}`,segments:e.pathname.split("/").filter(Boolean)}}n(be,"getSafeCurrentRoute");function ge(){return false}n(ge,"isExpoRouterAvailable");var we=new WeakMap,Je=1;function f(e){return!!e&&typeof e=="object"&&e.nodeType===1&&typeof e.getBoundingClientRect=="function"}n(f,"isDOMElement");function j(e){if(!f(e))return null;let t=we.get(e);return t===void 0&&(t=Je++,we.set(e,t)),t}n(j,"getDOMNodeHandle");function ve(e){if(!f(e))return null;let t=Object.keys(e).find(r=>r.startsWith("__reactFiber$"));return t?e[t]:null}n(ve,"getDOMFiber");function me(e,t){if(!f(e)||!t)return t;let r=e,a=e.tagName.toLowerCase(),o=a==="input"&&(r.type==="checkbox"||r.type==="radio"),s=a==="input"&&r.type==="range",i=a==="textarea"||a==="select"||a==="input"&&!o&&!s&&!["button","submit","reset","file","hidden"].includes(r.type),p=n(u=>{if(o){r.checked!==!!u&&r.click();return}let h=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(r),"value")?.set;h?h.call(r,String(u)):r.value=String(u),r.dispatchEvent(new Event("input",{bubbles:true})),r.dispatchEvent(new Event("change",{bubbles:true}))},"setValue");return{...t,__buoyDevToolsRoot:t.__buoyDevToolsRoot||t["data-buoy-root"]!==void 0,testID:t.testID??t["data-testid"],nativeID:t.nativeID??t.id,accessibilityLabel:t.accessibilityLabel??t["aria-label"],accessibilityRole:t.accessibilityRole??t.role??(a==="button"?"button":a==="a"?"link":o?r.type:i?"textbox":s?"slider":void 0),onPress:t.onPress??(typeof t.onClick=="function"||a==="button"||a==="a"?()=>r.click():void 0),...o||s?{onValueChange:p,value:o?r.checked:Number(r.value),...s?{minimumValue:Number(r.min||0),maximumValue:Number(r.max||100)}:{}}:{},...i?{onChangeText:p,value:r.value}:{}}}n(me,"getDOMControlProps");function Se(e){return f(e)?{__nativeTag:j(e),measure(t){let r=e.getBoundingClientRect();t(r.x,r.y,r.width,r.height,r.x,r.y)},measureInWindow(t){let r=e.getBoundingClientRect();t(r.x,r.y,r.width,r.height)},requestTVFocus(){e.focus()},focus(){e.focus()}}:null}n(Se,"getDOMPublicInstance");var He={topFocus:"focus",topBlur:"blur",topTouchStart:"pointerdown",topTouchMove:"pointermove",topTouchEnd:"pointerup",topTouchCancel:"pointercancel",topChange:"input",topValueChange:"input",topSlidingComplete:"change"};function Ee(){return typeof document>"u"?{emitter:null,reason:"DOM events are unavailable during server rendering."}:{reason:null,emitter:{addListener(e,t){let r=He[e];if(!r)throw new Error(`Unsupported DOM event: ${e}`);let a=n(o=>{let s=o.composedPath()[0]??o.target;if(!f(s))return;let i=s,p=o,u={target:j(s),pageX:p.clientX,pageY:p.clientY};(r==="input"||r==="change")&&(i.type==="checkbox"||i.type==="radio"?u.value=i.checked:i.type==="range"?u.value=Number(i.value):u.text=i.value??s.textContent??""),t({eventName:e,nativeEvent:u})},"callback");return document.addEventListener(r,a,true),{remove:n(()=>document.removeEventListener(r,a,true),"remove")}}}}}n(Ee,"resolveDOMEventEmitter");var F=new Map,Oe=0;function Re(e){for(let[t,r]of Object.entries(e)){let a=t.startsWith("@buoy-gg/")?t.replace(/\/web$/,""):`@buoy-gg/${t}`;F.get(a)!==r&&(F.set(a,r),Oe++)}}n(Re,"registerToolModules");function U(e){return F.get(e)??null}n(U,"getRegisteredToolModule");function Te(){return Oe}n(Te,"getToolModuleVersion");function je(e){let t=U(e);if(!t)throw new Error(`Register ${e} with createWebTools before opening tools that use it.`);return t}n(je,"loadToolModule");export{We as a,D as b,ze as c,Ie as d,xe as e,Me as f,Pe as g,Ce as h,ke as i,Ae as j,De as k,Ne as l,ae as m,Le as n,_e as o,Be as p,Ve as q,x as r,Fe as s,q as t,H as u,K as v,X as w,Y as x,Q as y,Z as z,ee as A,R as B,A as C,te as D,re as E,ne as F,le as G,d as H,L as I,_ as J,v as K,pe as L,V as M,de as N,fe as O,he as P,ye as Q,be as R,ge as S,f as T,j as U,ve as V,me as W,Se as X,Ee as Y,Re as Z,U as _,Te as $,je as aa};