@buoy-gg/shared-ui 7.0.77 → 7.0.79

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 (141) hide show
  1. package/lib/commonjs/JsModal.js +1 -1
  2. package/lib/commonjs/bugCase/capture.js +1 -1
  3. package/lib/commonjs/bugCase/format.js +1 -1
  4. package/lib/commonjs/bugCase/index.js +1 -1
  5. package/lib/commonjs/bugCase/lock.js +1 -1
  6. package/lib/commonjs/bugCase/recorder.js +1 -1
  7. package/lib/commonjs/bugCase/scrub.js +1 -1
  8. package/lib/commonjs/bugCase/steps.js +1 -1
  9. package/lib/commonjs/bugCase/validate.js +1 -0
  10. package/lib/commonjs/dataViewer/LiveExplorer.js +1 -1
  11. package/lib/commonjs/dataViewer/SplitDiffViewer.js +1 -1
  12. package/lib/commonjs/dataViewer/ThemedSplitView.js +1 -1
  13. package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +1 -1
  14. package/lib/commonjs/dataViewer/flattenTree.js +1 -0
  15. package/lib/commonjs/dataViewer/liveEntries.js +1 -0
  16. package/lib/commonjs/history/components/HistoryList.js +1 -1
  17. package/lib/commonjs/icons/index.js +1 -1
  18. package/lib/commonjs/index.js +1 -1
  19. package/lib/commonjs/license/BuoyUpgradeSheet.js +1 -1
  20. package/lib/commonjs/license/FreeAccountPrompt.js +1 -1
  21. package/lib/commonjs/license/index.js +1 -1
  22. package/lib/commonjs/settings/components/BubbleSettingsSection.js +1 -1
  23. package/lib/commonjs/sync/keyedArrays.js +1 -1
  24. package/lib/commonjs/sync/valuePath.js +1 -1
  25. package/lib/commonjs/ui/components/ChipStrip.js +1 -1
  26. package/lib/commonjs/ui/components/DataInspector.js +1 -1
  27. package/lib/commonjs/ui/components/DetailView.js +1 -1
  28. package/lib/commonjs/ui/components/DynamicFilterView.js +1 -1
  29. package/lib/commonjs/ui/components/EntityFilterView.js +1 -1
  30. package/lib/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.js +1 -1
  31. package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.js +1 -1
  32. package/lib/commonjs/ui/components/WindowControls.js +1 -1
  33. package/lib/commonjs/ui/floating/FloatingTool.js +1 -1
  34. package/lib/commonjs/ui/listPresets.js +1 -1
  35. package/lib/commonjs/utils/index.js +1 -1
  36. package/lib/commonjs/utils/loadOptionalModule.js +1 -1
  37. package/lib/commonjs/utils/loadToolModule.js +1 -1
  38. package/lib/commonjs/utils/minimalSuperJSON.js +1 -1
  39. package/lib/commonjs/utils/persistentStorage.js +1 -1
  40. package/lib/commonjs/utils/reloadPlatform.js +1 -1
  41. package/lib/commonjs/utils/snapshotProviderKit.js +1 -1
  42. package/lib/module/JsModal.js +1 -1
  43. package/lib/module/bugCase/capture.js +1 -1
  44. package/lib/module/bugCase/format.js +2 -2
  45. package/lib/module/bugCase/index.js +1 -1
  46. package/lib/module/bugCase/lock.js +1 -1
  47. package/lib/module/bugCase/recorder.js +1 -1
  48. package/lib/module/bugCase/scrub.js +1 -1
  49. package/lib/module/bugCase/steps.js +1 -1
  50. package/lib/module/bugCase/validate.js +1 -0
  51. package/lib/module/dataViewer/LiveExplorer.js +1 -1
  52. package/lib/module/dataViewer/SplitDiffViewer.js +1 -1
  53. package/lib/module/dataViewer/ThemedSplitView.js +1 -1
  54. package/lib/module/dataViewer/VirtualizedDataExplorer.js +1 -1
  55. package/lib/module/dataViewer/flattenTree.js +1 -0
  56. package/lib/module/dataViewer/liveEntries.js +1 -0
  57. package/lib/module/history/components/HistoryList.js +1 -1
  58. package/lib/module/icons/index.js +1 -1
  59. package/lib/module/index.js +1 -1
  60. package/lib/module/license/BuoyUpgradeSheet.js +1 -1
  61. package/lib/module/license/FreeAccountPrompt.js +1 -1
  62. package/lib/module/license/index.js +1 -1
  63. package/lib/module/settings/components/BubbleSettingsSection.js +1 -1
  64. package/lib/module/sync/keyedArrays.js +1 -1
  65. package/lib/module/sync/valuePath.js +1 -1
  66. package/lib/module/ui/components/ChipStrip.js +1 -1
  67. package/lib/module/ui/components/DataInspector.js +1 -1
  68. package/lib/module/ui/components/DetailView.js +1 -1
  69. package/lib/module/ui/components/DynamicFilterView.js +1 -1
  70. package/lib/module/ui/components/EntityFilterView.js +1 -1
  71. package/lib/module/ui/components/EventHistoryViewer/EventHistoryViewer.js +1 -1
  72. package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.js +1 -1
  73. package/lib/module/ui/components/WindowControls.js +1 -1
  74. package/lib/module/ui/floating/FloatingTool.js +1 -1
  75. package/lib/module/ui/listPresets.js +1 -1
  76. package/lib/module/utils/index.js +1 -1
  77. package/lib/module/utils/loadOptionalModule.js +1 -1
  78. package/lib/module/utils/loadToolModule.js +1 -1
  79. package/lib/module/utils/minimalSuperJSON.js +1 -1
  80. package/lib/module/utils/persistentStorage.js +1 -1
  81. package/lib/module/utils/reloadPlatform.js +1 -1
  82. package/lib/module/utils/snapshotProviderKit.js +1 -1
  83. package/lib/typescript/commonjs/JsModal.d.ts +6 -0
  84. package/lib/typescript/commonjs/JsModal.web.d.ts +2 -0
  85. package/lib/typescript/commonjs/bugCase/index.d.ts +1 -0
  86. package/lib/typescript/commonjs/bugCase/recorder.d.ts +1 -0
  87. package/lib/typescript/commonjs/bugCase/steps.d.ts +6 -0
  88. package/lib/typescript/commonjs/bugCase/validate.d.ts +14 -0
  89. package/lib/typescript/commonjs/dataViewer/flattenTree.d.ts +35 -0
  90. package/lib/typescript/commonjs/dataViewer/liveEntries.d.ts +19 -0
  91. package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
  92. package/lib/typescript/commonjs/icons/index.d.ts +1 -0
  93. package/lib/typescript/commonjs/index.d.ts +2 -2
  94. package/lib/typescript/commonjs/license/BuoyUpgradeSheet.d.ts +8 -0
  95. package/lib/typescript/commonjs/license/index.d.ts +1 -1
  96. package/lib/typescript/commonjs/sync/keyedArrays.d.ts +6 -1
  97. package/lib/typescript/commonjs/ui/floating/FloatingTool.d.ts +6 -1
  98. package/lib/typescript/commonjs/ui/listPresets.d.ts +2 -2
  99. package/lib/typescript/commonjs/utils/index.d.ts +1 -1
  100. package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts +4 -2
  101. package/lib/typescript/commonjs/utils/persistentStorage.d.ts +6 -0
  102. package/lib/typescript/module/JsModal.d.ts +6 -0
  103. package/lib/typescript/module/JsModal.web.d.ts +2 -0
  104. package/lib/typescript/module/bugCase/index.d.ts +1 -0
  105. package/lib/typescript/module/bugCase/recorder.d.ts +1 -0
  106. package/lib/typescript/module/bugCase/steps.d.ts +6 -0
  107. package/lib/typescript/module/bugCase/validate.d.ts +14 -0
  108. package/lib/typescript/module/dataViewer/flattenTree.d.ts +35 -0
  109. package/lib/typescript/module/dataViewer/liveEntries.d.ts +19 -0
  110. package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
  111. package/lib/typescript/module/icons/index.d.ts +1 -0
  112. package/lib/typescript/module/index.d.ts +2 -2
  113. package/lib/typescript/module/license/BuoyUpgradeSheet.d.ts +8 -0
  114. package/lib/typescript/module/license/index.d.ts +1 -1
  115. package/lib/typescript/module/sync/keyedArrays.d.ts +6 -1
  116. package/lib/typescript/module/ui/floating/FloatingTool.d.ts +6 -1
  117. package/lib/typescript/module/ui/listPresets.d.ts +2 -2
  118. package/lib/typescript/module/utils/index.d.ts +1 -1
  119. package/lib/typescript/module/utils/minimalSuperJSON.d.ts +4 -2
  120. package/lib/typescript/module/utils/persistentStorage.d.ts +6 -0
  121. package/lib/web/chunks/chunk-36A4T5PL.mjs +1 -0
  122. package/lib/web/chunks/{chunk-XUYN4NOF.mjs → chunk-5UII72AQ.mjs} +1 -1
  123. package/lib/web/chunks/chunk-A3N3WVKC.mjs +1 -0
  124. package/lib/web/chunks/chunk-AVRGPBZK.mjs +6 -0
  125. package/lib/web/chunks/chunk-JTNYUDJZ.mjs +1 -0
  126. package/lib/web/chunks/{chunk-BMITMQVB.mjs → chunk-LADTE6U4.mjs} +3 -3
  127. package/lib/web/chunks/chunk-N5Z7Z2GY.mjs +1 -0
  128. package/lib/web/chunks/chunk-SAWSKX4E.mjs +6 -0
  129. package/lib/web/chunks/{chunk-OVTASJUJ.mjs → chunk-SUG6TLF5.mjs} +1 -1
  130. package/lib/web/chunks/{chunk-GTRVOJUH.mjs → chunk-UVVRCZX5.mjs} +1 -1
  131. package/lib/web/chunks/chunk-Y7FM4WZ7.mjs +6 -0
  132. package/lib/web/chunks/chunk-ZRZQZF2T.mjs +15 -0
  133. package/lib/web/chunks/persistentStorage.web-IBLIV62L.mjs +1 -0
  134. package/lib/web/dataViewer.mjs +2 -2
  135. package/lib/web/history.mjs +1 -1
  136. package/lib/web/index.mjs +6 -6
  137. package/lib/web/ui.mjs +1 -1
  138. package/lib/web/utils.mjs +1 -1
  139. package/package.json +5 -5
  140. package/lib/web/chunks/chunk-DJD42EPL.mjs +0 -1
  141. package/lib/web/chunks/chunk-GN75GBYZ.mjs +0 -1
@@ -4,8 +4,13 @@
4
4
  * Every item must carry it, and every value must be a distinct string/number —
5
5
  * a duplicated id would make an addressed edit ambiguous, and silently picking
6
6
  * the first match is exactly the kind of "helpful" guess that loses data.
7
+ *
8
+ * A unique `…Id` field counts too: Haiven's `/chat/me` rows carry only
9
+ * `channelId`, and a keyed edit on them was written over the list as an object.
10
+ * When `keys` are given, the field holding one of them wins, so a studio patch
11
+ * keyed by slug edits that studio instead of appending a new one under `id`.
7
12
  */
8
- export declare function identityField(items: unknown[]): string | undefined;
13
+ export declare function identityField(items: unknown[], keys?: string[]): string | undefined;
9
14
  /**
10
15
  * Let a caller address list items by their own id instead of resending the list.
11
16
  *
@@ -27,6 +27,11 @@ export type FloatingToolProps = {
27
27
  * out of the way of app headers.
28
28
  */
29
29
  defaultPlacement?: "top" | "bottom";
30
+ /**
31
+ * Extra room a "bottom" tool keeps above the safe area, e.g. for the dev
32
+ * warning banner (LogBox) that covers the bottom of a dev build.
33
+ */
34
+ bottomClearance?: number;
30
35
  children?: ReactNode;
31
36
  /** When true, pushes the bubble to the side (hidden position) */
32
37
  pushToSide?: boolean;
@@ -70,7 +75,7 @@ export type FloatingToolProps = {
70
75
  * @performance Implements efficient boundary checking and position validation
71
76
  * @performance Includes debounced position saving for optimal storage performance
72
77
  */
73
- export declare function FloatingTool({ id, suspendPointerEvents, revealToken, variant, dragFromSurface, accessibilityLabel, minimizedStack, hasMinimizedStack, accessory, handleAdornment, enablePositionPersistence, defaultPlacement, pushToSide, centerOnboarding, children, environment, availableEnvironments, onEnvironmentSwitch, showEnvironmentSelector, }: FloatingToolProps): import("react").JSX.Element | null;
78
+ export declare function FloatingTool({ id, suspendPointerEvents, revealToken, variant, dragFromSurface, accessibilityLabel, minimizedStack, hasMinimizedStack, accessory, handleAdornment, enablePositionPersistence, defaultPlacement, bottomClearance, pushToSide, centerOnboarding, children, environment, availableEnvironments, onEnvironmentSwitch, showEnvironmentSelector, }: FloatingToolProps): import("react").JSX.Element | null;
74
79
  /** Native AppHost gets its anchor from the minimized-tools provider. */
75
80
  export declare function getBubbleAnchorPosition(): {
76
81
  x: number;
@@ -5,14 +5,14 @@
5
5
  * Spread them onto a FlatList: `<FlatList {...EVENT_LIST_PRESET} … />`.
6
6
  * A tool that later moves to FlashList changes this file, not eleven.
7
7
  */
8
- import type { FlatListProps } from "react-native";
8
+ import { type FlatListProps } from "react-native";
9
9
  /**
10
10
  * `removeClippedSubviews` is off in E2E bundles: clipped rows leave the
11
11
  * hierarchy entirely, so a row past the fold reads to the test as "the tool
12
12
  * stopped capturing".
13
13
  */
14
14
  export declare const CLIP_OFFSCREEN_CELLS: boolean;
15
- type ListPreset = Pick<FlatListProps<unknown>, "initialNumToRender" | "maxToRenderPerBatch" | "windowSize" | "updateCellsBatchingPeriod" | "removeClippedSubviews">;
15
+ type ListPreset = Pick<FlatListProps<unknown>, "initialNumToRender" | "maxToRenderPerBatch" | "windowSize" | "updateCellsBatchingPeriod" | "removeClippedSubviews" | "keyboardShouldPersistTaps" | "keyboardDismissMode">;
16
16
  /**
17
17
  * Event / change / request lists: rows are tall-ish and arrive in bursts.
18
18
  * Window and batch values are the "tuned" winner of the buoy-optimize
@@ -1,7 +1,7 @@
1
1
  export { absoluteFill } from "./absoluteFill";
2
2
  export { displayValue, parseDisplayValue } from "./displayValue";
3
3
  export { getSafeAreaInsets } from "./getSafeAreaInsets";
4
- export { persistentStorage, isUsingPersistentStorage, getStorageBackendType, type DevToolsStorage, } from "./persistentStorage";
4
+ export { persistentStorage, setItemChecked, isUsingPersistentStorage, getStorageBackendType, type DevToolsStorage, } from "./persistentStorage";
5
5
  export { safeStringify } from "./safeStringify";
6
6
  export { getValueType, isPrimitive, isJsonSerializable, isValidJson, getConstructorName, isEmpty, getValueSize, } from "./typeHelpers";
7
7
  export { parseValue, formatValue, getTypeColor, truncateText, flattenObject, formatPath, } from "./valueFormatting";
@@ -13,12 +13,14 @@ export interface SuperJSONResult {
13
13
  };
14
14
  }
15
15
  export declare function serialize(object: any): SuperJSONResult;
16
- export declare function deserialize<T = unknown>(payload: SuperJSONResult): T;
16
+ export declare function deserialize<T = unknown>(payload: SuperJSONResult, options?: {
17
+ skipBadAnnotations?: boolean;
18
+ }): T;
17
19
  /**
18
20
  * Drop the annotations whose value `drop` rejects. A bug case's scrubber can
19
21
  * replace a Date with "[removed:pii]"; the Date annotation left behind would
20
22
  * turn that into Invalid Date (or throw, for a BigInt) on deserialize.
21
23
  */
22
- export declare function dropAnnotations(payload: SuperJSONResult, drop: (value: unknown) => boolean): SuperJSONResult;
24
+ export declare function dropAnnotations(payload: SuperJSONResult, drop: (value: unknown, type: unknown) => boolean): SuperJSONResult;
23
25
  export {};
24
26
  //# sourceMappingURL=minimalSuperJSON.d.ts.map
@@ -29,6 +29,12 @@ type StorageBackend = "filesystem" | "asyncstorage" | "localstorage" | "memory";
29
29
  * Same API as AsyncStorage for easy migration.
30
30
  */
31
31
  export declare const persistentStorage: DevToolsStorage;
32
+ /**
33
+ * Like persistentStorage.setItem, but says whether the value reached disk:
34
+ * false when the backend failed or kept it in memory only. For data that is
35
+ * worthless half saved (a blob in chunks, an undo copy).
36
+ */
37
+ export declare function setItemChecked(key: string, value: string): Promise<boolean>;
32
38
  /**
33
39
  * Check if persistent storage (FileSystem) is being used
34
40
  */
@@ -0,0 +1 @@
1
+ "use client";import{Nb as Te,Ob as Oe,Pb as Q,Q as Z,R as je,Tb as ke,Vb as ee,Yb as te,ud as h}from"./chunk-SUG6TLF5.mjs";import{d as a}from"./chunk-AHVO74UQ.mjs";import{a as F,b as d,c as g,d as k,f as re,z as ne}from"./chunk-QXVVA64P.mjs";import{a as n}from"./chunk-T6T3FEMU.mjs";var Ne="[Circular]",oe="[...]";function ae(e,t,r={}){let{depthLimit:s=Number.MAX_SAFE_INTEGER,edgesLimit:f=Number.MAX_SAFE_INTEGER}=r,u=[];function l(i,c,m,o,x,C){if(C+=1,typeof i=="object"&&i!==null){for(let I=0;I<o.length;I++)if(o[I]===i){p(Ne,i,c,x);return}if(C>s){p(oe,i,c,x);return}if(m+1>f){p(oe,i,c,x);return}if(o.push(i),Array.isArray(i)){let I=i;for(let R=0;R<i.length;R++)l(i[R],R,R,o,I,C)}else if(i instanceof Map||i instanceof Set||i instanceof RegExp||i instanceof Date||i instanceof Error){o.pop();return}else{let I=i,R=Object.keys(I);for(let B=0;B<R.length;B++){let q=R[B];l(I[q],q,B,o,I,C)}}o.pop()}}n(l,"decirc");function p(i,c,m,o){if(!o)return;let x=Object.getOwnPropertyDescriptor(o,m);if(x?.get!==void 0)if(x.configurable)Object.defineProperty(o,m,{value:i}),u.push([o,m,c,x]);else return;else o[m]=i,u.push([o,m,c])}n(p,"setReplace");let A=n((i,c)=>{if(typeof c=="bigint")return`${c.toString()}n`;if(typeof c=="symbol")return c.toString();if(typeof c>"u")return"undefined";if(typeof c=="function")return`[Function: ${c.name||"anonymous"}]`;if(typeof c=="number"){if(c===1/0)return"Infinity";if(c===-1/0)return"-Infinity";if(Number.isNaN(c))return"NaN"}if(c instanceof Error){let m={name:c.name,message:c.message,stack:c.stack};return Object.getOwnPropertyNames(c).forEach(o=>{if(!["name","message","stack"].includes(o))try{let x=c[o];x!==void 0&&(m[o]=x)}catch{}}),m}if(c instanceof Date)return c.toISOString();if(c instanceof RegExp)return c.toString();if(c instanceof Map)try{return{__type:"Map",entries:Array.from(c.entries()).map(([m,o])=>[String(m),o])}}catch{return{__type:"Map",entries:"[Map iteration failed]"}}if(c instanceof Set)try{return{__type:"Set",values:Array.from(c)}}catch{return{__type:"Set",values:"[Set iteration failed]"}}return c},"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[c,m,,o]=i;c&&typeof c=="object"&&o&&Object.defineProperty(c,m,o)}else if(i){let[c,m,o]=i;c&&typeof c=="object"&&(typeof m=="string"||typeof m=="number")&&(c[m]=o)}}}}n(ae,"safeStringify");var De=n(e=>typeof e>"u","isUndefined"),ie=n(e=>typeof e!="object"||e===null||e===Object.prototype?false:Object.getPrototypeOf(e)===null?true:Object.getPrototypeOf(e)===Object.prototype,"isPlainObject"),P=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"),Be=n(e=>e instanceof Date&&!isNaN(e.valueOf()),"isDate"),le=n(e=>e instanceof Error,"isError"),Le=n(e=>e instanceof RegExp,"isRegExp"),se=n(e=>e instanceof Set,"isSet"),ce=n(e=>e instanceof Map,"isMap"),ze=n(e=>typeof e=="bigint","isBigint"),ue=n(e=>typeof e=="number"&&isNaN(e),"isNaNValue"),Fe=n(e=>e===1/0||e===-1/0,"isInfinite"),Ee=n(e=>e===0&&1/e===-1/0,"isMinusZero"),We=n(e=>e instanceof URL,"isURL"),de=n(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),"isTypedArray");function T(e,t){if(!e)throw new Error(`This ${t} value has the wrong shape.`)}n(T,"wantType");var fe={Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray},pe=[{isApplicable:De,annotation:"undefined",transform:n(()=>null,"transform"),untransform:n(()=>{},"untransform")},{isApplicable:ze,annotation:"bigint",transform:n(e=>e.toString(),"transform"),untransform:n(e=>(T(typeof e=="string"||typeof e=="number","bigint"),typeof BigInt<"u"?BigInt(e):(console.error("[Buoy]","BigInt is not supported in this environment"),e)),"untransform")},{isApplicable:Be,annotation:"Date",transform:n(e=>e.toISOString(),"transform"),untransform:n(e=>{T(typeof e=="string"||typeof e=="number","Date");let t=new Date(e);return T(!Number.isNaN(t.getTime()),"Date"),t},"untransform")},{isApplicable:le,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=>{T(!!e&&typeof e=="object"&&!Array.isArray(e),"Error");let t=new Error(typeof e.message=="string"?e.message:"");return typeof e.name=="string"&&(t.name=e.name),typeof e.stack=="string"&&(t.stack=e.stack),e.cause!==void 0&&(t.cause=e.cause),t},"untransform")},{isApplicable:Le,annotation:"regexp",transform:n(e=>""+e,"transform"),untransform:n(e=>{T(typeof e=="string","regexp");let t=e.slice(1,e.lastIndexOf("/")),r=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,r)},"untransform")},{isApplicable:se,annotation:"set",transform:n(e=>[...e.values()],"transform"),untransform:n(e=>(T(Array.isArray(e),"set"),new Set(e)),"untransform")},{isApplicable:ce,annotation:"map",transform:n(e=>[...e.entries()],"transform"),untransform:n(e=>(T(Array.isArray(e)&&e.every(t=>Array.isArray(t)&&t.length===2),"map"),new Map(e)),"untransform")},{isApplicable:n(e=>ue(e)||Fe(e),"isApplicable"),annotation:"number",transform:n(e=>ue(e)?"NaN":e>0?"Infinity":"-Infinity","transform"),untransform:n(e=>(T(typeof e=="string","number"),Number(e)),"untransform")},{isApplicable:Ee,annotation:"number",transform:n(()=>"-0","transform"),untransform:n(()=>-0,"untransform")},{isApplicable:We,annotation:"URL",transform:n(e=>e.toString(),"transform"),untransform:n(e=>(T(typeof e=="string","URL"),new URL(e)),"untransform")},{isApplicable:de,annotation:n(e=>["typed-array",e.constructor.name],"annotation"),transform:n(e=>[...e],"transform"),untransform:n((e,t)=>{T(Array.isArray(e),"typed-array");let r=Array.isArray(t)?t[1]:"Uint8Array",s=typeof r=="string"&&Object.prototype.hasOwnProperty.call(fe,r)?fe[r]:void 0;if(!s)throw new Error(`Unknown typed array: ${r}`);return new s(e)},"untransform")}];function E(e){for(let t of pe)if(t.isApplicable(e)){let r=typeof t.annotation=="function"?t.annotation(e):t.annotation;return{value:t.transform(e),type:r}}}n(E,"transformValue");function M(e,t){for(let r of pe)if(typeof r.annotation=="function"?Array.isArray(t)&&t[0]==="typed-array"&&r.isApplicable===de:r.annotation===t)return r.untransform(e,t);throw new Error(`Unknown transformation: ${t}`)}n(M,"untransformValue");var ye=n(e=>ie(e)||P(e)||ce(e)||se(e)||le(e),"isDeep");function W(e){return e.replace(/\\/g,"\\\\").replace(/\./g,"\\.")}n(W,"escapeKey");function G(e,t=[],r=[]){let s=Ve(e);if(!s&&!ye(e)){let i=E(e);return i?{transformedValue:i.value,annotations:{[t.map(String).map(W).join(".")]:i.type}}:{transformedValue:e}}if(!s&&r.indexOf(e)!==-1)return{transformedValue:null};if(!ye(e)){let i=E(e);return i?{transformedValue:i.value,annotations:t.length>0?{[t.map(String).map(W).join(".")]:i.type}:{"":i.type}}:{transformedValue:e}}let f=E(e),u=f?.value??e,l=P(u)?[]:{},p={};if(f){let i=t.length>0?t.map(String).map(W).join("."):"";p[i]=f.type}let A=P(u)?u.map((i,c)=>[c,i]):Object.entries(u);for(let[i,c]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 o=G(c,[...t,i],[...r,e]);l[i]=o.transformedValue,o.annotations&&Object.assign(p,o.annotations)}return{transformedValue:l,annotations:Object.keys(p).length>0?p:void 0}}n(G,"walker");function U(e){if(e==="")return[];let t=[],r="";for(let s=0;s<e.length;s++){let f=e.charAt(s);if(f==="\\"){let u=e.charAt(s+1);if(u==="\\"){r+="\\",s++;continue}else if(u==="."){r+=".",s++;continue}}if(f==="."){t.push(r),r="";continue}r+=f}return t.push(r),t}n(U,"parsePath");function L(e){if(Array.isArray(e))return e.map(L);if(ie(e)){let t={};for(let r of Object.keys(e))Object.defineProperty(t,r,{value:L(e[r]),enumerable:true,writable:true,configurable:true});return t}return e}n(L,"cloneJson");var ge=new Set(["__proto__","constructor","prototype"]);function $(e){return e.every(t=>typeof t=="number"||!ge.has(t))}n($,"isSafePath");function z(e,t){return e!==null&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,t)}n(z,"hasOwn");function me(e,t,r){if(t.length===0||!$(t))return false;let s=e;for(let u=0;u<t.length-1;u++){if(!z(s,t[u]))return false;s=s[t[u]]}let f=t[t.length-1];return z(s,f)?(s[f]=r,true):false}n(me,"setDeep");function H(e,t){let r=e;for(let s of t){if(!z(r,s)||typeof s=="string"&&ge.has(s))return;r=r[s]}return r}n(H,"getDeep");function J(e,t){if(!$(t))return false;let r=e;for(let s of t){if(!z(r,s))return false;r=r[s]}return true}n(J,"resolves");function Y(e){let t=G(e),r={json:t.transformedValue};return t.annotations&&(r.meta={values:t.annotations}),r}n(Y,"serialize");function K(e,t={}){let{json:r,meta:s}=e;if(!s?.values)return L(r);let f=L(r),u=Object.entries(s.values).map(([l,p])=>({pathString:l,type:p,path:U(l)})).sort((l,p)=>p.path.length-l.path.length);for(let{type:l,path:p}of u)try{if(p.length===0)f=M(f,l);else{if(!J(f,p))continue;let A=H(f,p),i=M(A,l);me(f,p,i)}}catch(A){if(!t.skipBadAnnotations)throw A}return f}n(K,"deserialize");function he(e,t){let r=e.meta?.values;if(!r)return e;let s={};for(let[f,u]of Object.entries(r)){let l;try{let p=U(f);if(p.length>0&&!J(e.json,p))continue;l=H(e.json,p)}catch{continue}t(l,u)||(s[f]=u)}return Object.keys(s).length?{json:e.json,meta:{values:s}}:{json:e.json}}n(he,"dropAnnotations");var _e=n((e,t=false)=>{let{json:r}=Y(e);return JSON.stringify(r,null,t?2:void 0)},"displayValue"),Pe=n(e=>{try{let t=JSON.parse(e);return K({json:t,meta:void 0})}catch{return JSON.parse(e)}},"parseDisplayValue");import{jsx as D,jsxs as _}from"react/jsx-runtime";function be({icon:e,iconColor:t,title:r,count:s,subtitle:f,expanded:u,onToggle:l,children:p,style:A,titleStyle:i}){return _(d,{style:[V.container,A],children:[_(re,{onPress:l,activeOpacity:.7,style:V.headerTouchable,children:[_(d,{style:V.header,children:[_(d,{style:V.headerLeft,children:[D(e,{size:14,color:t}),D(g,{style:[V.title,i],children:r}),D(d,{style:[V.badge,{backgroundColor:t+"20"}],children:D(g,{style:[V.badgeText,{color:t}],children:s})})]}),u?D(te,{size:14,color:a.muted}):D(ee,{size:14,color:a.muted})]}),D(g,{style:V.subtitle,children:f})]}),u&&D(k.View,{style:{opacity:1},children:p})]})}n(be,"GameUICollapsibleSection");var V=F.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:h,fontWeight:"700",letterSpacing:2,opacity:.9},subtitle:{fontSize:9,color:a.secondary,fontFamily:h,paddingHorizontal:4,marginTop:2,opacity:.7},badge:{paddingHorizontal:8,paddingVertical:2,borderRadius:10},badgeText:{fontSize:10,fontFamily:h,fontWeight:"700"}});var Se={position:"absolute",top:0,left:0,right:0,bottom:0};import{jsx as N,jsxs as X}from"react/jsx-runtime";function we({alertConfig:e,badgeText:t,animatedStyle:r,style:s,indicatorCount:f=3}){let u=e.icon;return X(k.View,{style:[O.container,{borderColor:e.color+"40"},s,r],children:[N(d,{style:[O.glow,{backgroundColor:e.color+"10"}]}),X(d,{style:O.content,children:[N(d,{style:[O.iconWrapper,{backgroundColor:e.color+"15"}],children:N(u,{size:20,color:e.color})}),X(d,{style:O.textContainer,children:[N(g,{style:[O.label,{color:e.color}],children:e.label}),N(g,{style:O.subtitle,children:e.subtitle})]}),N(d,{style:[O.badge,{backgroundColor:e.color+"20"}],children:N(g,{style:[O.badgeText,{color:e.color}],children:t})})]}),N(d,{style:O.indicators,children:[...Array(f)].map((l,p)=>N(d,{style:[O.indicatorDot,{backgroundColor:e.color,opacity:e.pulse?p===0?1:.5-p*.2:.3-p*.1}]},p))})]})}n(we,"GameUIStatusHeader");var O=F.create({container:{backgroundColor:a.panel,borderRadius:12,borderWidth:1,padding:16,marginBottom:16,position:"relative",overflow:"hidden"},glow:{...Se,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:h,letterSpacing:1.5,textShadowOffset:{width:0,height:0},textShadowRadius:8},subtitle:{fontSize:10,color:a.secondary,fontFamily:h},badge:{paddingHorizontal:8,paddingVertical:4,borderRadius:4},badgeText:{fontSize:9,fontWeight:"700",fontFamily:h,letterSpacing:1},indicators:{position:"absolute",top:8,right:8,flexDirection:"row",gap:3},indicatorDot:{width:4,height:4,borderRadius:2}});import{Fragment as Me}from"react";import{jsx as S,jsxs as v}from"react/jsx-runtime";function xe({statsConfig:e,totalCount:t,header:r,bottomStats:s,style:f,hideInactive:u=true}){return v(d,{style:[y.container,f],children:[r&&v(d,{style:y.header,children:[v(d,{style:y.headerLeft,children:[S(g,{style:y.headerTitle,children:r.title}),S(g,{style:y.headerSubtitle,children:r.subtitle})]}),r.healthPercentage!==void 0&&S(d,{style:y.headerRight,children:v(d,{style:y.statusIndicator,children:[S(d,{style:[y.statusDot,{backgroundColor:r.healthColor||a.success}]}),S(g,{style:[y.statusText,{color:r.healthColor||a.success}],children:r.healthStatus||"OPTIMAL"})]})})]}),r?.healthPercentage!==void 0&&v(d,{style:y.healthSection,children:[S(g,{style:y.healthLabel,children:"SYSTEM HEALTH"}),S(d,{style:y.healthBarWrapper,children:S(d,{style:y.healthBarBg,children:S(k.View,{style:[y.healthBarFill,{width:`${r.healthPercentage}%`,backgroundColor:r.healthColor||a.success}]})})}),v(g,{style:[y.healthPercentage,{color:r.healthColor||a.success}],children:[r.healthPercentage,"%"]})]}),S(d,{style:y.statsGrid,children:e.map(l=>{let p=l.value>0;if(u&&!p)return null;let A=l.icon,i=t?l.value/t*100:0;return v(k.View,{style:[y.statCard,{borderColor:l.color+"30"}],children:[v(d,{style:y.cardContent,children:[S(d,{style:[y.iconBadge,{backgroundColor:l.color+"1A",borderColor:l.color+"33"}],children:S(A,{size:12,color:l.color})}),v(d,{style:y.cardInfo,children:[S(g,{style:y.cardLabel,children:l.label}),S(g,{style:y.cardSubtitle,children:l.subtitle})]}),v(d,{style:y.valueBlock,children:[S(g,{style:[y.statNumber,{color:l.color}],children:l.value.toString().padStart(2,"0")}),t?v(g,{style:y.percentText,children:[Math.round(i),"%"]}):null]})]}),l.showBar!==false&&t&&S(d,{style:[y.statBar,{backgroundColor:l.color+"10"}],children:S(d,{style:[y.statBarFill,{width:`${i}%`,backgroundColor:l.color}]})})]},l.key)})}),s&&s.length>0&&S(d,{style:y.bottomBar,children:s.map((l,p)=>v(Me,{children:[v(d,{style:y.bottomStat,children:[S(g,{style:y.bottomStatLabel,children:l.label}),S(g,{style:[y.bottomStatValue,l.color&&{color:l.color}],children:l.value})]}),p<s.length-1&&S(d,{style:y.bottomDivider})]},l.label))})]})}n(xe,"GameUICompactStats");var y=F.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:h,letterSpacing:1.5},headerSubtitle:{fontSize:8,color:a.secondary,fontFamily:h,opacity:.7},statusIndicator:{flexDirection:"row",alignItems:"center",gap:4},statusDot:{width:5,height:5,borderRadius:2.5},statusText:{fontSize:9,fontWeight:"600",fontFamily:h,letterSpacing:.5},healthSection:{flexDirection:"row",alignItems:"center",marginBottom:10,gap:8},healthLabel:{fontSize:8,color:a.secondary,fontFamily:h,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:h},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:h,letterSpacing:.5,color:a.primary},cardSubtitle:{fontSize:8,color:a.secondary,fontFamily:h,opacity:.7},statNumber:{fontSize:16,fontWeight:"700",fontFamily:h,minWidth:28},valueBlock:{alignItems:"flex-end"},percentText:{fontSize:9,color:a.secondary,fontFamily:h},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:h,letterSpacing:.5,marginBottom:1},bottomStatValue:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:h},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 Ge,useCallback as Ue}from"react";import{jsx as w,jsxs as j}from"react/jsx-runtime";function Ae({issues:e,onIssueClick:t,hintText:r="Tap any issue to view details",style:s,expandable:f=true,statusLabels:u={missing:"Not found",wrong_type:"Type error",wrong_value:"Invalid value"}}){let[l,p]=Ge(new Set),A=Ue(o=>{f&&p(x=>{let C=new Set(x);return C.has(o)?C.delete(o):C.add(o),C})},[f]),i=n(o=>o==="missing"?a.warning:a.info,"getStatusColor"),c=n(o=>o==="missing"?Z:Q,"getStatusIcon"),m=n(o=>{switch(o.status){case"missing":return`\u2022 ${u.missing}`;case"wrong_type":return`\u2022 ${u.wrong_type}${o.expectedType?`: Expected ${o.expectedType}`:""}`;case"wrong_value":return`\u2022 ${u.wrong_value}${o.value?`: ${String(o.value).substring(0,20)}`:""}`;default:return""}},"getStatusLabel");return e.length===0?null:j(d,{style:[b.container,s],children:[e.map((o,x)=>{let C=i(o.status),I=c(o.status),R=l.has(o.key),B=R?te:ee;return j(d,{children:[j(re,{onPress:()=>{f&&A(o.key),t?.(o)},style:b.issueRow,activeOpacity:.7,children:[w(I,{size:14,color:C}),j(d,{style:b.issueContent,children:[w(g,{style:[b.issueKey,{color:a.primary}],children:o.key}),w(g,{style:b.issueDesc,children:m(o)})]}),f&&w(B,{size:12,color:a.muted})]}),f&&R&&j(k.View,{style:b.issueDetails,children:[j(d,{style:b.detailRow,children:[w(g,{style:b.detailLabel,children:"Status:"}),j(g,{style:[b.detailValue,{color:a.primary,fontWeight:"600"}],children:[o.status==="missing"&&"MISSING",o.status==="wrong_type"&&"TYPE ERROR",o.status==="wrong_value"&&"INVALID VALUE"]})]}),o.value!==void 0&&o.status!=="missing"&&j(d,{style:b.detailRow,children:[w(g,{style:b.detailLabel,children:"Current:"}),w(g,{style:[b.detailValue,{color:a.warning}],children:`"${String(o.value)}"`})]}),o.expectedType&&o.status==="wrong_type"&&j(d,{style:b.detailRow,children:[w(g,{style:b.detailLabel,children:"Expected:"}),w(g,{style:[b.detailValue,{color:a.success}],children:o.expectedType})]}),o.expectedValue&&o.status==="wrong_value"&&j(d,{style:b.detailRow,children:[w(g,{style:b.detailLabel,children:"Expected:"}),w(g,{style:[b.detailValue,{color:a.success}],children:`"${o.expectedValue}"`})]}),o.description&&w(d,{style:b.descSection,children:w(g,{style:b.descText,children:o.description})}),o.fixSuggestion&&j(d,{style:b.fixSection,children:[w(g,{style:b.fixLabel,children:"HOW TO FIX"}),w(g,{style:b.fixText,children:o.fixSuggestion})]})]})]},`${o.key}-${x}`)}),r&&w(g,{style:b.hint,children:r})]})}n(Ae,"GameUIIssuesList");var b=F.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:h},issueDesc:{fontSize:10,color:a.secondary,fontFamily:h,flex:1},hint:{fontSize:9,color:a.muted,fontFamily:h,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:h,fontWeight:"600",width:70},detailValue:{fontSize:11,color:a.primary,fontFamily:h,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:h,fontWeight:"700",marginBottom:6,letterSpacing:.5},fixText:{fontSize:11,color:a.primary,fontFamily:h,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:h,marginTop:4,lineHeight:14}});import{useMemo as ve,useEffect as $e,useRef as Ce}from"react";var Ie={OPTIMAL:{icon:ke,color:a.success,label:"CONFIG OK",subtitle:"All requirements met",pulse:false},WARNING:{icon:Q,color:a.warning,label:"CONFIG WARNING",subtitle:"Check values and types",pulse:false},ERROR:{icon:Oe,color:a.error,label:"CONFIG ERROR",subtitle:"Missing required data",pulse:false},CRITICAL:{icon:Z,color:a.critical,label:"CONFIG FAILURE",subtitle:"Multiple critical issues",pulse:false},LOADING:{icon:Te,color:a.info,label:"LOADING",subtitle:"Reading configuration...",pulse:true},EMPTY:{icon:je,color:a.muted,label:"NO DATA",subtitle:"No configuration found",pulse:false}};function Re(e,t){let r=ve(()=>({...Ie,...t}),[t]),s=ve(()=>e.totalCount===0?"EMPTY":e.missingCount>2||e.wrongTypeCount>2?"CRITICAL":e.missingCount>0?"ERROR":e.wrongValueCount>0||e.wrongTypeCount>0?"WARNING":"OPTIMAL",[e]),f=r[s],u=Ce(new k.Value(1)).current,l=Ce(new k.Value(1)).current;return $e(()=>{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:ne.out(ne.ease),useNativeDriver:true})]).start()},[s,u,l]),{alertState:s,alertConfig:f,alertAnimatedStyle:{transform:[{scale:l}],opacity:u},alertOpacity:u,alertScale:l}}n(Re,"useGameUIAlertState");export{ae as a,Y as b,K as c,he as d,_e as e,Pe as f,be as g,Se as h,we as i,xe as j,Ae as k,Ie as l,Re as m};
@@ -1 +1 @@
1
- "use client";import{a as t}from"./chunk-GF5C5DVX.mjs";import{Vb as B,Xb as H,sd as y}from"./chunk-OVTASJUJ.mjs";import{a as A,b as o,c as n,f as j}from"./chunk-QXVVA64P.mjs";import{a as k}from"./chunk-T6T3FEMU.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";function x({statusDotColor:s,statusLabel:w,statusSublabel:p,primaryText:C,secondaryText:l,secondaryAccessory:b,expandedContent:f,isExpanded:a,badgeText:d,badgeColor:T,customBadge:g,showChevron:D,bottomRightText:c,isSelected:I,onPress:h,disabled:R,expandedGlowColor:m,testID:S,statusTestID:v,statusSublabelTestID:W,primaryTestID:L,secondaryTestID:z,accessibilityLabel:O,trailingAction:u}){return r(o,{style:[e.rowWrapper,a&&e.rowWrapperExpanded],children:i(o,{style:[e.row,I&&e.selectedRow,a&&[e.expandedRowActive,{borderColor:m||t.color.accent,borderBottomColor:m||t.color.accent,shadowColor:m||t.color.accent}]],children:[i(o,{style:e.headerRow,children:[r(j,{style:e.headerPress,onPress:h,activeOpacity:.8,disabled:R||!h,testID:S,accessibilityLabel:O,accessibilityRole:h?"button":void 0,children:i(o,{style:e.rowContent,children:[i(o,{style:e.statusSection,children:[r(o,{style:[e.statusDot,{backgroundColor:s}]}),i(o,{style:e.statusInfo,children:[r(n,{style:[e.statusLabel,{color:s}],numberOfLines:1,testID:v,children:w}),p?r(n,{style:e.observerText,numberOfLines:1,testID:W,children:p}):null]})]}),i(o,{style:e.querySection,children:[r(n,{style:e.queryHash,numberOfLines:a?void 0:2,testID:L,children:C}),!a&&(l||b)?i(o,{style:e.secondaryRow,children:[l?r(n,{style:e.secondaryText,numberOfLines:1,testID:z,children:l}):null,b]}):null]}),i(o,{style:e.rightSection,children:[(g||d!==void 0||!a&&c)&&i(o,{style:e.badgeContainer,children:[g||(d!==void 0?r(n,{style:[e.statusBadge,{color:T||s}],numberOfLines:1,ellipsizeMode:"tail",children:d}):null),!a&&c?r(n,{style:e.bottomRightText,numberOfLines:1,children:c}):null]}),D&&r(o,{style:e.chevronContainer,children:a?r(B,{size:14,color:t.color.textTertiary}):r(H,{size:14,color:t.color.textTertiary})})]})]})}),u?r(o,{style:e.trailingAction,children:u}):null]}),a&&f&&r(o,{style:e.expandedContent,children:f})]})})}k(x,"CompactRow");var e=A.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,minWidth:0,paddingHorizontal:12},queryHash:{fontFamily:y,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,flexShrink:1},rightSection:{flexDirection:"row",alignItems:"center",gap:8},badgeContainer:{flexDirection:"column",alignItems:"flex-end",gap:2},statusBadge:{maxWidth:96,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:y}});export{x as a};
1
+ "use client";import{a as t}from"./chunk-GF5C5DVX.mjs";import{Vb as B,Xb as H,ud as y}from"./chunk-SUG6TLF5.mjs";import{a as A,b as o,c as n,f as j}from"./chunk-QXVVA64P.mjs";import{a as k}from"./chunk-T6T3FEMU.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";function x({statusDotColor:s,statusLabel:w,statusSublabel:p,primaryText:C,secondaryText:l,secondaryAccessory:b,expandedContent:f,isExpanded:a,badgeText:d,badgeColor:T,customBadge:g,showChevron:D,bottomRightText:c,isSelected:I,onPress:h,disabled:R,expandedGlowColor:m,testID:S,statusTestID:v,statusSublabelTestID:W,primaryTestID:L,secondaryTestID:z,accessibilityLabel:O,trailingAction:u}){return r(o,{style:[e.rowWrapper,a&&e.rowWrapperExpanded],children:i(o,{style:[e.row,I&&e.selectedRow,a&&[e.expandedRowActive,{borderColor:m||t.color.accent,borderBottomColor:m||t.color.accent,shadowColor:m||t.color.accent}]],children:[i(o,{style:e.headerRow,children:[r(j,{style:e.headerPress,onPress:h,activeOpacity:.8,disabled:R||!h,testID:S,accessibilityLabel:O,accessibilityRole:h?"button":void 0,children:i(o,{style:e.rowContent,children:[i(o,{style:e.statusSection,children:[r(o,{style:[e.statusDot,{backgroundColor:s}]}),i(o,{style:e.statusInfo,children:[r(n,{style:[e.statusLabel,{color:s}],numberOfLines:1,testID:v,children:w}),p?r(n,{style:e.observerText,numberOfLines:1,testID:W,children:p}):null]})]}),i(o,{style:e.querySection,children:[r(n,{style:e.queryHash,numberOfLines:a?void 0:2,testID:L,children:C}),!a&&(l||b)?i(o,{style:e.secondaryRow,children:[l?r(n,{style:e.secondaryText,numberOfLines:1,testID:z,children:l}):null,b]}):null]}),i(o,{style:e.rightSection,children:[(g||d!==void 0||!a&&c)&&i(o,{style:e.badgeContainer,children:[g||(d!==void 0?r(n,{style:[e.statusBadge,{color:T||s}],numberOfLines:1,ellipsizeMode:"tail",children:d}):null),!a&&c?r(n,{style:e.bottomRightText,numberOfLines:1,children:c}):null]}),D&&r(o,{style:e.chevronContainer,children:a?r(B,{size:14,color:t.color.textTertiary}):r(H,{size:14,color:t.color.textTertiary})})]})]})}),u?r(o,{style:e.trailingAction,children:u}):null]}),a&&f&&r(o,{style:e.expandedContent,children:f})]})})}k(x,"CompactRow");var e=A.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,minWidth:0,paddingHorizontal:12},queryHash:{fontFamily:y,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,flexShrink:1},rightSection:{flexDirection:"row",alignItems:"center",gap:8},badgeContainer:{flexDirection:"column",alignItems:"flex-end",gap:2},statusBadge:{maxWidth:96,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:y}});export{x as a};
@@ -0,0 +1 @@
1
+ "use client";import{d as p}from"./chunk-AHVO74UQ.mjs";import{a as n,b as Ae}from"./chunk-T6T3FEMU.mjs";var Ne=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"),Le=n(e=>{let t=typeof e;return e==null||t==="string"||t==="number"||t==="boolean"||t==="bigint"||t==="symbol"},"isPrimitive"),_e=n(e=>{try{return JSON.stringify(e),true}catch{return false}},"isJsonSerializable"),Be=n(e=>{try{return JSON.parse(e),true}catch{return false}},"isValidJson"),Ve=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"),Fe=n(e=>e==null?true:typeof e=="string"||Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:false,"isEmpty"),Ue=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"),We=n(e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&e.constructor===Object,"isPlainObject");var Ie=n(e=>{if(e==null)return e;if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},"parseValue"),qe=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"),ze=n(e=>{if(e===null)return p.dataTypes.null;if(e===void 0)return p.dataTypes.undefined;switch(typeof e){case"string":return p.dataTypes.string;case"number":return p.dataTypes.number;case"boolean":return p.dataTypes.boolean;case"function":return p.dataTypes.function;case"object":return Array.isArray(e)?p.dataTypes.array:p.dataTypes.object;default:return p.primary}},"getTypeColor"),Je=n((e,t)=>e.length<=t?e:e.slice(0,t-3)+"...","truncateText"),A=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 i=t?`${t}[${o}]`:`[${o}]`;typeof a=="object"&&a!==null?Object.assign(r,A(a,i)):r[i]=a}):Object.keys(e).forEach(a=>{let o=t?`${t}.${a}`:a,i=e[a];typeof i=="object"&&i!==null?Object.assign(r,A(i,o)):r[o]=i}),r)},"flattenObject"),Ge=n(e=>e.length===0?"root":e.map((t,r)=>typeof t=="number"?`[${t}]`:r===0?t:`.${t}`).join(""),"formatPath");var He={log:n(()=>{},"log"),warn:n(()=>{},"warn"),error:n((...e)=>{console.error("[Buoy]","[optional-module]",...e)},"error")},g=new Map,T=new Map,K=new Set;async function X(e,t={}){if(g.has(e))return g.get(e);let r={...He,...t.logger??{}};T.has(e)||T.set(e,(async()=>{try{let o=await Z(e,t),i=o?.default??o;return g.set(e,i),r.log("Loaded optional module",e),i}catch(o){return r.log("Optional module unavailable",e,o),g.set(e,null),null}})());let a=await T.get(e);return T.delete(e),!a&&t.warnOnceKey&&!K.has(t.warnOnceKey)&&(K.add(t.warnOnceKey),r.warn(t.warningMessage??`Module '${e}' not found.`)),a}n(X,"loadOptionalModule");var x,O;function Y(){if(x===void 0)try{x=new Function("moduleName","return import(moduleName);")}catch{x=null}return x}n(Y,"getDynamicImportLoader");function Q(){if(O===void 0)try{O=new Function("return typeof require === 'function' ? require : undefined;")()??null}catch{O=null}return O}n(Q,"getDynamicRequire");async function Z(e,t){if(t.loader)return await Promise.resolve(t.loader());let r=Y();if(r)return r(e);let a=Q();if(a)return a(e);throw new Error(`No dynamic loader available for optional module '${e}'.`)}n(Z,"loadModuleWithFallback");function ee(e){return g.has(e)?g.get(e):null}n(ee,"getCachedOptionalModule");var te="__buoyRenderCaptureProvider";function N(){return globalThis}n(N,"providerHost");function re(e){N()[te]=e}n(re,"setRenderCaptureProvider");function ne(){return N()[te]??null}n(ne,"getRenderCaptureProvider");var v=new Map,L=new Set;function _(){L.forEach(e=>{try{e()}catch{}})}n(_,"notify");function ae(e){return v.set(e.id,e),_(),()=>{v.get(e.id)===e&&(v.delete(e.id),_())}}n(ae,"registerStateSnapshotProvider");function oe(){return Array.from(v.values())}n(oe,"getStateSnapshotProviders");function ie(e){return v.get(e)??null}n(ie,"getStateSnapshotProvider");function se(e){return L.add(e),()=>{L.delete(e)}}n(se,"subscribeToStateSnapshotProviders");function R(){return null}n(R,"loadDevSettings");function C(){return null}n(C,"loadExpoUpdates");function j(){return typeof window>"u"?null:()=>window.location.reload()}n(j,"loadBrowserReload");function $(e="auto"){return e==="browser"?j()?"browser":null:e==="auto"&&j()?"browser":e==="dev-settings"?R()?"dev-settings":null:e==="expo-updates"?C()?"expo-updates":null:Ae&&R()?"dev-settings":C()?"expo-updates":null}n($,"resolveReloadStrategy");function B(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(B,"unavailableMessage");async function V(e="auto",t="buoy reload"){let r=$(e);if(!r)throw new Error(B(e));return r==="browser"?j()():r==="dev-settings"?R().reload(t):await C().reloadAsync(),await new Promise(()=>{})}n(V,"reloadApp");var ue=250;function le(e){let t=e?.strategy??"auto",r=$(t);if(!r)throw new Error(B(t));let a=Math.max(0,e?.delayMs??ue),o=e?.reason??"buoy remote reload";return setTimeout(()=>{V(r,o).catch(()=>{})},a),{strategy:r,delayMs:a}}n(le,"scheduleReloadApp");function ce(){return null}n(ce,"getDevServerOrigin");function de(){let e=globalThis.__buoyRealNow;return typeof e=="function"?e():Date.now()}n(de,"realNow");var pe=class nt{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(pe,"Subscribable");var Ke=pe;var fe=class at{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(fe,"SubscriberCountNotifier");var Xe=fe,F=new Xe,Ye=n(e=>F.subscribe(e),"subscribeToSubscriberCountChanges"),Qe=n(e=>F.notify(e),"notifySubscriberCountChange");import{useSyncExternalStore as he}from"react";var c,S=new Set,U,ye;function be(e){return c=e,()=>{c===e&&(c=void 0)}}n(be,"registerBrowserRouter");function h(){return typeof location>"u"?"/":location.href}n(h,"getBrowserHref");function W(e=h()){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(W,"getBrowserRouteURL");var w;function I(e){if(!S.size&&typeof window<"u"){let t=window.history,r=n(o=>{for(let i of[...S])try{i({href:h(),kind:o})}catch{}},"emit");if(w)w.active=true;else{let o=t.pushState,i=t.replaceState,s={push:o,replace:i,active:true},f=n(function(...m){let b=Reflect.apply(o,this,m);return s.active&&r("push"),b},"wrappedPush"),l=n(function(...m){let b=Reflect.apply(i,this,m);return s.active&&r("replace"),b},"wrappedReplace");t.pushState=f,t.replaceState=l,w=s,ye=n(()=>{t.pushState!==f||t.replaceState!==l||(t.pushState=o,t.replaceState=i,w=void 0)},"unwrap")}let a=n(()=>r("pop"),"pop");window.addEventListener("popstate",a),window.addEventListener("hashchange",a),U=n(()=>{w&&(w.active=false),ye?.(),window.removeEventListener("popstate",a),window.removeEventListener("hashchange",a),U=void 0},"detach")}return S.add(e),()=>{S.delete(e),S.size||U?.()}}n(I,"subscribeBrowserNavigation");function q(e){let t=typeof e=="string"?e:e.pathname,r=new URL(t,h());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(q,"pathFor");var E={push(e){let t=q(e);if(c)return c.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=q(e);if(c)return c.replace(t);window.history.replaceState(window.history.state,"",window.location.hash.startsWith("#/")?`#${t}`:t),window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}))},back(){c?c.back():window.history.back()},canGoBack(){return c?.canGoBack?.()??(typeof window<"u"&&window.history.length>1)},navigate(e){E.push(e)},setParams(e){E.replace({pathname:h(),params:e})},dismiss(e=1){window.history.go(-e)},dismissAll(){throw new Error("Use the captured browser history to select a destination.")}};var ge=n(e=>I(e),"subscribe"),M=W;function we(){return E}n(we,"useSafeRouter");function z(){return he(ge,h,()=>"/"),M().pathname}n(z,"useSafePathname");function me(){return z().split("/").filter(Boolean)}n(me,"useSafeSegments");function ve(){return he(ge,h,()=>"/"),Object.fromEntries(M().searchParams)}n(ve,"useSafeGlobalSearchParams");function Se(){return typeof window>"u"?null:E}n(Se,"getSafeRouter");function Ee(){return M().pathname}n(Ee,"getSafeCurrentPathname");function Te(){let e=M();return{pathname:e.pathname,href:`${e.pathname}${e.search}${e.hash}`,segments:e.pathname.split("/").filter(Boolean)}}n(Te,"getSafeCurrentRoute");function xe(){return false}n(xe,"isExpoRouterAvailable");var Oe=new WeakMap,Ze=1;function y(e){return!!e&&typeof e=="object"&&e.nodeType===1&&typeof e.getBoundingClientRect=="function"}n(y,"isDOMElement");function P(e){if(!y(e))return null;let t=Oe.get(e);return t===void 0&&(t=Ze++,Oe.set(e,t)),t}n(P,"getDOMNodeHandle");function Re(e){if(!y(e))return null;let t=Object.keys(e).find(r=>r.startsWith("__reactFiber$"));return t?e[t]:null}n(Re,"getDOMFiber");function Ce(e,t){if(!y(e)||!t)return t;let r=e,a=e.tagName.toLowerCase(),o=a==="input"&&(r.type==="checkbox"||r.type==="radio"),i=a==="input"&&r.type==="range",s=a==="textarea"||a==="select"||a==="input"&&!o&&!i&&!["button","submit","reset","file","hidden"].includes(r.type),f=e.getAttribute("contenteditable"),l=!s&&!o&&!i&&(e.isContentEditable===true||f!==null&&f!=="false"),m=n(d=>{let u=e;u.focus();let D=u.ownerDocument.getSelection?.();if(D){let H=u.ownerDocument.createRange();H.selectNodeContents(u),D.removeAllRanges(),D.addRange(H)}let k=false;try{k=typeof u.ownerDocument.execCommand=="function"&&u.ownerDocument.execCommand("insertText",false,d)}catch{k=false}k||(u.textContent=d,u.dispatchEvent(new InputEvent("input",{bubbles:true,inputType:"insertText",data:d})))},"setEditable"),b=n(d=>{if(o){r.checked!==!!d&&r.click();return}let u=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(r),"value")?.set;u?u.call(r,String(d)):r.value=String(d),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:s||l?"textbox":i?"slider":void 0),onPress:t.onPress??(typeof t.onClick=="function"||a==="button"||a==="a"?()=>r.click():void 0),...o||i?{onValueChange:b,value:o?r.checked:Number(r.value),...i?{minimumValue:Number(r.min||0),maximumValue:Number(r.max||100)}:{}}:{},...s?{onChangeText:b,value:r.value}:{},...l?{onChangeText:n(d=>m(String(d)),"onChangeText"),value:e.innerText??e.textContent??""}:{}}}n(Ce,"getDOMControlProps");function je(e){return y(e)?{__nativeTag:P(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(je,"getDOMPublicInstance");var et={topFocus:"focus",topBlur:"blur",topTouchStart:"pointerdown",topTouchMove:"pointermove",topTouchEnd:"pointerup",topTouchCancel:"pointercancel",topChange:"input",topValueChange:"input",topSlidingComplete:"change"};function $e(){return typeof document>"u"?{emitter:null,reason:"DOM events are unavailable during server rendering."}:{reason:null,emitter:{addListener(e,t){let r=et[e];if(!r)throw new Error(`Unsupported DOM event: ${e}`);let a=n(o=>{let i=o.composedPath()[0]??o.target;if(!y(i))return;let s=i,f=o,l={target:P(i),pageX:f.clientX,pageY:f.clientY};(r==="input"||r==="change")&&(s.type==="checkbox"||s.type==="radio"?l.value=s.checked:s.type==="range"?l.value=Number(s.value):l.text=s.value??i.textContent??""),t({eventName:e,nativeEvent:l})},"callback");return document.addEventListener(r,a,true),{remove:n(()=>document.removeEventListener(r,a,true),"remove")}}}}}n($e,"resolveDOMEventEmitter");var J=new Map,Me=0;function Pe(e){for(let[t,r]of Object.entries(e)){let a=t.startsWith("@buoy-gg/")?t.replace(/\/web$/,""):`@buoy-gg/${t}`;J.get(a)!==r&&(J.set(a,r),Me++)}}n(Pe,"registerToolModules");function G(e){return J.get(e)??null}n(G,"getRegisteredToolModule");function De(){return Me}n(De,"getToolModuleVersion");function ke(e){let t=G(e);if(!t)throw new Error(`Register ${e} with createWebTools before opening tools that use it.`);return t}n(ke,"loadToolModule");export{Ke as a,F as b,Ye as c,Qe as d,de as e,Ne as f,Le as g,_e as h,Be as i,Ve as j,Fe as k,Ue as l,We as m,Ie as n,qe as o,ze as p,Je as q,A as r,Ge as s,X as t,ee as u,re as v,ne as w,ae as x,oe as y,ie as z,se as A,$ as B,V as C,ue as D,le as E,ce as F,be as G,h as H,W as I,I as J,E as K,we as L,z as M,me as N,ve as O,Se as P,Ee as Q,Te as R,xe as S,y as T,P as U,Re as V,Ce as W,je as X,$e as Y,Pe as Z,G as _,De as $,ke as aa};