@flamingo-stack/openframe-frontend-core 0.0.740 → 0.0.742

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 (206) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-BV5WZVOP.cjs → chunk-32Q7K5OP.cjs} +254 -254
  3. package/dist/{chunk-ZLTCQKTD.cjs → chunk-3LW43GIJ.cjs} +6 -6
  4. package/dist/{chunk-VA7OMDZO.cjs → chunk-4FWURR3W.cjs} +50 -50
  5. package/dist/{chunk-EKGL5K5K.cjs → chunk-4LDU32OB.cjs} +17 -17
  6. package/dist/{chunk-VC4IV3AY.cjs → chunk-4PKORVOX.cjs} +2804 -954
  7. package/dist/{chunk-3ZIQOYNX.cjs → chunk-54EA4RLX.cjs} +8 -8
  8. package/dist/{chunk-YXKB5WRE.cjs → chunk-5MH6BRPY.cjs} +36 -36
  9. package/dist/{chunk-PQ2M7P2U.cjs → chunk-5TCIRWHL.cjs} +9 -9
  10. package/dist/{chunk-WFPCCBOM.cjs → chunk-7AM3AFM4.cjs} +10 -10
  11. package/dist/{chunk-7ZFCR7UY.cjs → chunk-ABLUMGCI.cjs} +3 -3
  12. package/dist/{chunk-PX7FY655.cjs → chunk-ASMNNSUQ.cjs} +3 -3
  13. package/dist/{chunk-HF7Z2E4W.cjs → chunk-BI3XBCQX.cjs} +2 -2
  14. package/dist/{chunk-SA7LDEVJ.cjs → chunk-CSJO7ZGN.cjs} +3 -3
  15. package/dist/{chunk-VOX4E6AX.cjs → chunk-DGFDBPO7.cjs} +7 -5
  16. package/dist/{chunk-KHXZFLIN.cjs → chunk-DKOLQPE7.cjs} +8 -2
  17. package/dist/{chunk-BDA5F6RM.cjs → chunk-DNFSMVXJ.cjs} +16 -16
  18. package/dist/{chunk-B3XBJCOD.cjs → chunk-H3UA7UY5.cjs} +7 -7
  19. package/dist/{chunk-2Y5Y4FLM.cjs → chunk-HDBY2URA.cjs} +64 -64
  20. package/dist/{chunk-UW3YXDC4.cjs → chunk-HIRVNBX5.cjs} +20 -20
  21. package/dist/{chunk-LLAC2UZ3.cjs → chunk-ISJXKKYW.cjs} +28 -28
  22. package/dist/{chunk-FICJS5OA.cjs → chunk-KTPR66EE.cjs} +4 -4
  23. package/dist/{chunk-7UIQPMBJ.cjs → chunk-L34TKFTS.cjs} +21 -164
  24. package/dist/{chunk-AAFW4STC.cjs → chunk-LU7TD6QS.cjs} +5 -5
  25. package/dist/{chunk-3HPB4H4C.cjs → chunk-NTGIQP7O.cjs} +7 -7
  26. package/dist/{chunk-WBANGORJ.cjs → chunk-OBODY7F3.cjs} +3 -3
  27. package/dist/{chunk-GABDE3FM.cjs → chunk-OWGLRE74.cjs} +19 -19
  28. package/dist/{chunk-CWRVTQUO.cjs → chunk-PS6T65KA.cjs} +101 -101
  29. package/dist/{chunk-IFS4AH77.cjs → chunk-QYLIHZKZ.cjs} +10 -10
  30. package/dist/{chunk-GVTDVS5U.cjs → chunk-R34JD6NP.cjs} +3 -3
  31. package/dist/{chunk-VU4CKUJW.cjs → chunk-R6SCSV2I.cjs} +103 -103
  32. package/dist/{chunk-II4QMH26.cjs → chunk-STEJZPIO.cjs} +3 -3
  33. package/dist/{chunk-4RLGLB45.cjs → chunk-T433HSL6.cjs} +47 -47
  34. package/dist/{chunk-DSVNFRY5.cjs → chunk-U2O5YQRP.cjs} +38 -38
  35. package/dist/{chunk-O67V3HJR.cjs → chunk-URVIPSAJ.cjs} +24 -24
  36. package/dist/{chunk-HYBMADYO.cjs → chunk-UWHCRIQQ.cjs} +22 -22
  37. package/dist/{chunk-GSWQZX23.cjs → chunk-UY6A6TEY.cjs} +2 -2
  38. package/dist/{chunk-D5KEWWLW.cjs → chunk-UZLRSFGG.cjs} +32 -32
  39. package/dist/{chunk-DUVOQHQI.cjs → chunk-W2RM764D.cjs} +7 -7
  40. package/dist/{chunk-NTJE6SM6.cjs → chunk-WI2OTGKC.cjs} +2 -2
  41. package/dist/{chunk-SFY4UYPY.cjs → chunk-WIHHA54J.cjs} +44 -44
  42. package/dist/{chunk-YRE3O65E.cjs → chunk-XAA5EZ5T.cjs} +12 -12
  43. package/dist/{chunk-KLI4OSRA.cjs → chunk-YQGDXH3M.cjs} +2 -2
  44. package/dist/{chunk-SWR22DOZ.cjs → chunk-Z2DQYKZA.cjs} +89 -89
  45. package/dist/{chunk-5SVOGLNK.cjs → chunk-ZIFYSLIM.cjs} +6 -6
  46. package/dist/{cloud-tenants-PVXDI5MU.cjs → cloud-tenants-6ICAL3HO.cjs} +34 -34
  47. package/dist/components/case-studies/index.cjs +37 -37
  48. package/dist/components/chat/index.cjs +17 -17
  49. package/dist/components/contact/index.cjs +25 -25
  50. package/dist/components/docs/index.cjs +28 -28
  51. package/dist/components/embeds/index.cjs +25 -25
  52. package/dist/components/faq/index.cjs +26 -26
  53. package/dist/components/features/capability-explorer.d.ts +9 -2
  54. package/dist/components/features/capability-explorer.d.ts.map +1 -1
  55. package/dist/components/features/capability-explorer.js +113 -6
  56. package/dist/components/features/index.cjs +162 -24
  57. package/dist/components/features/index.d.ts +1 -0
  58. package/dist/components/features/index.d.ts.map +1 -1
  59. package/dist/components/features/index.js +1 -0
  60. package/dist/components/features/scripts/execution-cells.d.ts +65 -0
  61. package/dist/components/features/scripts/execution-cells.d.ts.map +1 -0
  62. package/dist/components/features/scripts/execution-cells.js +75 -0
  63. package/dist/components/features/scripts/execution-status.d.ts +48 -0
  64. package/dist/components/features/scripts/execution-status.d.ts.map +1 -0
  65. package/dist/components/features/scripts/execution-status.js +15 -0
  66. package/dist/components/features/scripts/index.d.ts +20 -0
  67. package/dist/components/features/scripts/index.d.ts.map +1 -0
  68. package/dist/components/features/scripts/index.js +59 -0
  69. package/dist/components/features/scripts/schedule-form/index.d.ts +18 -0
  70. package/dist/components/features/scripts/schedule-form/index.d.ts.map +1 -0
  71. package/dist/components/features/scripts/schedule-form/index.js +84 -0
  72. package/dist/components/features/scripts/schedule-form/schedule-enums.d.ts +24 -0
  73. package/dist/components/features/scripts/schedule-form/schedule-enums.d.ts.map +1 -0
  74. package/dist/components/features/scripts/schedule-form/schedule-enums.js +18 -0
  75. package/dist/components/features/scripts/schedule-form/schedule-form-fields.d.ts +57 -0
  76. package/dist/components/features/scripts/schedule-form/schedule-form-fields.d.ts.map +1 -0
  77. package/dist/components/features/scripts/schedule-form/schedule-form-fields.js +169 -0
  78. package/dist/components/features/scripts/schedule-form/schedule-form-types.d.ts +138 -0
  79. package/dist/components/features/scripts/schedule-form/schedule-form-types.d.ts.map +1 -0
  80. package/dist/components/features/scripts/schedule-form/schedule-form-types.js +72 -0
  81. package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts +54 -0
  82. package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts.map +1 -0
  83. package/dist/components/features/scripts/schedule-form/schedule-interval-input.js +60 -0
  84. package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts +29 -0
  85. package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts.map +1 -0
  86. package/dist/components/features/scripts/schedule-form/schedule-offline-fields.js +124 -0
  87. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts +52 -0
  88. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts.map +1 -0
  89. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +244 -0
  90. package/dist/components/features/scripts/schedule-form/schedule-script-search-field.d.ts +35 -0
  91. package/dist/components/features/scripts/schedule-form/schedule-script-search-field.d.ts.map +1 -0
  92. package/dist/components/features/scripts/schedule-form/schedule-script-search-field.js +58 -0
  93. package/dist/components/features/scripts/schedule-form/schedule-scripts-field.d.ts +25 -0
  94. package/dist/components/features/scripts/schedule-form/schedule-scripts-field.d.ts.map +1 -0
  95. package/dist/components/features/scripts/schedule-form/schedule-scripts-field.js +66 -0
  96. package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts +77 -0
  97. package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts.map +1 -0
  98. package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +262 -0
  99. package/dist/components/features/scripts/schedule-form/schedule-timing.d.ts +288 -0
  100. package/dist/components/features/scripts/schedule-form/schedule-timing.d.ts.map +1 -0
  101. package/dist/components/features/scripts/schedule-form/schedule-timing.js +165 -0
  102. package/dist/components/features/scripts/script-cells.d.ts +11 -0
  103. package/dist/components/features/scripts/script-cells.d.ts.map +1 -0
  104. package/dist/components/features/scripts/script-cells.js +19 -0
  105. package/dist/components/features/scripts/script-executions-table.d.ts +58 -0
  106. package/dist/components/features/scripts/script-executions-table.d.ts.map +1 -0
  107. package/dist/components/features/scripts/script-executions-table.js +88 -0
  108. package/dist/components/features/scripts/script-schedules-table.d.ts +38 -0
  109. package/dist/components/features/scripts/script-schedules-table.d.ts.map +1 -0
  110. package/dist/components/features/scripts/script-schedules-table.js +71 -0
  111. package/dist/components/features/scripts/script-shell-badge.d.ts +9 -0
  112. package/dist/components/features/scripts/script-shell-badge.d.ts.map +1 -0
  113. package/dist/components/features/scripts/script-shell-badge.js +15 -0
  114. package/dist/components/features/scripts/scripts-table-columns.d.ts +162 -0
  115. package/dist/components/features/scripts/scripts-table-columns.d.ts.map +1 -0
  116. package/dist/components/features/scripts/scripts-table-columns.js +69 -0
  117. package/dist/components/features/scripts/scripts-table-shared.d.ts +19 -0
  118. package/dist/components/features/scripts/scripts-table-shared.d.ts.map +1 -0
  119. package/dist/components/features/scripts/scripts-table-shared.js +35 -0
  120. package/dist/components/features/scripts/scripts-table.d.ts +40 -0
  121. package/dist/components/features/scripts/scripts-table.d.ts.map +1 -0
  122. package/dist/components/features/scripts/scripts-table.js +84 -0
  123. package/dist/components/features/scripts/scripts-tabs.d.ts +5 -0
  124. package/dist/components/features/scripts/scripts-tabs.d.ts.map +1 -0
  125. package/dist/components/features/scripts/scripts-tabs.js +10 -0
  126. package/dist/components/features/scripts/shell-types.d.ts +13 -0
  127. package/dist/components/features/scripts/shell-types.d.ts.map +1 -0
  128. package/dist/components/features/scripts/shell-types.js +21 -0
  129. package/dist/components/help-center-pages/index.cjs +144 -144
  130. package/dist/components/index.cjs +224 -86
  131. package/dist/components/meeting-scheduler/index.cjs +74 -74
  132. package/dist/components/navigation/index.cjs +27 -27
  133. package/dist/components/onboarding-guides/index.cjs +27 -27
  134. package/dist/components/product-demo/fixtures/scripts.d.ts +34 -0
  135. package/dist/components/product-demo/fixtures/scripts.d.ts.map +1 -0
  136. package/dist/components/product-demo/fixtures/scripts.js +123 -0
  137. package/dist/components/product-demo/fixtures/shared.d.ts +8 -0
  138. package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -1
  139. package/dist/components/product-demo/fixtures/shared.js +7 -1
  140. package/dist/components/product-demo/fixtures/software-update.d.ts.map +1 -1
  141. package/dist/components/product-demo/fixtures/software-update.js +1 -5
  142. package/dist/components/product-demo/index.cjs +16 -13
  143. package/dist/components/product-demo/product-screen.d.ts.map +1 -1
  144. package/dist/components/product-demo/product-screen.js +2 -1
  145. package/dist/components/product-demo/registry.d.ts.map +1 -1
  146. package/dist/components/product-demo/registry.js +2 -1
  147. package/dist/components/product-demo/screen-keys.cjs +2 -1
  148. package/dist/components/product-demo/screen-keys.d.ts +1 -0
  149. package/dist/components/product-demo/screen-keys.d.ts.map +1 -1
  150. package/dist/components/product-demo/screen-keys.js +2 -1
  151. package/dist/components/product-demo/screens/scripts.d.ts +11 -0
  152. package/dist/components/product-demo/screens/scripts.d.ts.map +1 -0
  153. package/dist/components/product-demo/screens/scripts.js +130 -0
  154. package/dist/components/related-content/index.cjs +12 -12
  155. package/dist/components/tickets/index.cjs +30 -30
  156. package/dist/components/ui/index.cjs +24 -24
  157. package/dist/{devices-TWEA7XOR.cjs → devices-OFP2IBKN.cjs} +30 -30
  158. package/dist/{embeddable-chat-6JKKFQEB.cjs → embeddable-chat-4C22MGNC.cjs} +92 -92
  159. package/dist/hooks/index.cjs +10 -10
  160. package/dist/index.cjs +169 -31
  161. package/dist/{knowledge-4GQDBNQB.cjs → knowledge-KKBCSNUA.cjs} +29 -29
  162. package/dist/{logs-EVU6GJHZ.cjs → logs-X2GRNO57.cjs} +46 -46
  163. package/dist/{policies-OZUEA5YS.cjs → policies-35BXKB6P.cjs} +31 -31
  164. package/dist/{remote-session-DNFZ5OLY.cjs → remote-session-N4PJB5FW.cjs} +15 -15
  165. package/dist/scripts-KQYVQOLU.cjs +2112 -0
  166. package/dist/{software-update-BLIVYOY2.cjs → software-update-ED33WSKT.cjs} +36 -40
  167. package/dist/{tickets-board-CKZRB6YV.cjs → tickets-board-O753S4ZB.cjs} +31 -31
  168. package/dist/utils/embed-authed-fetch.d.ts +33 -0
  169. package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
  170. package/dist/utils/embed-authed-fetch.js +3 -1
  171. package/dist/utils/index.cjs +3 -1
  172. package/dist/{video-file-player-ZH2ILAPO.cjs → video-file-player-QZ3YOLHO.cjs} +2 -2
  173. package/package.json +1 -1
  174. package/src/components/features/capability-explorer.tsx +134 -7
  175. package/src/components/features/index.ts +1 -0
  176. package/src/components/features/scripts/execution-cells.tsx +149 -0
  177. package/src/components/features/scripts/execution-status.ts +42 -0
  178. package/src/components/features/scripts/index.ts +42 -0
  179. package/src/components/features/scripts/schedule-form/index.ts +59 -0
  180. package/src/components/features/scripts/schedule-form/schedule-enums.ts +26 -0
  181. package/src/components/features/scripts/schedule-form/schedule-form-fields.tsx +249 -0
  182. package/src/components/features/scripts/schedule-form/schedule-form-types.ts +189 -0
  183. package/src/components/features/scripts/schedule-form/schedule-interval-input.tsx +121 -0
  184. package/src/components/features/scripts/schedule-form/schedule-offline-fields.tsx +218 -0
  185. package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +321 -0
  186. package/src/components/features/scripts/schedule-form/schedule-script-search-field.tsx +115 -0
  187. package/src/components/features/scripts/schedule-form/schedule-scripts-field.tsx +97 -0
  188. package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +482 -0
  189. package/src/components/features/scripts/schedule-form/schedule-timing.ts +484 -0
  190. package/src/components/features/scripts/script-cells.tsx +29 -0
  191. package/src/components/features/scripts/script-executions-table.tsx +145 -0
  192. package/src/components/features/scripts/script-schedules-table.tsx +113 -0
  193. package/src/components/features/scripts/script-shell-badge.tsx +25 -0
  194. package/src/components/features/scripts/scripts-table-columns.ts +95 -0
  195. package/src/components/features/scripts/scripts-table-shared.tsx +43 -0
  196. package/src/components/features/scripts/scripts-table.tsx +124 -0
  197. package/src/components/features/scripts/scripts-tabs.ts +11 -0
  198. package/src/components/features/scripts/shell-types.ts +26 -0
  199. package/src/components/product-demo/fixtures/scripts.ts +186 -0
  200. package/src/components/product-demo/fixtures/shared.ts +7 -0
  201. package/src/components/product-demo/fixtures/software-update.ts +1 -7
  202. package/src/components/product-demo/product-screen.tsx +3 -1
  203. package/src/components/product-demo/registry.ts +1 -0
  204. package/src/components/product-demo/screen-keys.ts +1 -0
  205. package/src/components/product-demo/screens/scripts.tsx +192 -0
  206. package/src/utils/embed-authed-fetch.ts +42 -1
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkHYBMADYOcjs = require('./chunk-HYBMADYO.cjs');
4
+ var _chunkUWHCRIQQcjs = require('./chunk-UWHCRIQQ.cjs');
5
5
 
6
6
 
7
- var _chunkVC4IV3AYcjs = require('./chunk-VC4IV3AY.cjs');
7
+ var _chunk4PKORVOXcjs = require('./chunk-4PKORVOX.cjs');
8
8
 
9
9
 
10
- var _chunkDSVNFRY5cjs = require('./chunk-DSVNFRY5.cjs');
10
+ var _chunkU2O5YQRPcjs = require('./chunk-U2O5YQRP.cjs');
11
11
 
12
12
 
13
13
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -34,8 +34,8 @@ function FaqDocumentPage({
34
34
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
35
35
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
36
36
  };
37
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSVNFRY5cjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38
- _chunkHYBMADYOcjs.FaqSection,
37
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38
+ _chunkUWHCRIQQcjs.FaqSection,
39
39
  {
40
40
  initialFaqs,
41
41
  heading: null,
@@ -49,7 +49,7 @@ function FaqDocumentPage({
49
49
  ask
50
50
  }
51
51
  ) });
52
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVC4IV3AYcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
52
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4PKORVOXcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
53
53
  }
54
54
 
55
55
 
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkAAFW4STCcjs = require('./chunk-AAFW4STC.cjs');
4
+ var _chunkLU7TD6QScjs = require('./chunk-LU7TD6QS.cjs');
5
5
 
6
6
 
7
7
 
@@ -29,7 +29,7 @@ var _chunkMZ4KBSH7cjs = require('./chunk-MZ4KBSH7.cjs');
29
29
 
30
30
 
31
31
 
32
- var _chunkDUVOQHQIcjs = require('./chunk-DUVOQHQI.cjs');
32
+ var _chunkW2RM764Dcjs = require('./chunk-W2RM764D.cjs');
33
33
 
34
34
 
35
35
 
@@ -38,10 +38,10 @@ var _chunkDUVOQHQIcjs = require('./chunk-DUVOQHQI.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkSA7LDEVJcjs = require('./chunk-SA7LDEVJ.cjs');
41
+ var _chunkCSJO7ZGNcjs = require('./chunk-CSJO7ZGN.cjs');
42
42
 
43
43
 
44
- var _chunkNTJE6SM6cjs = require('./chunk-NTJE6SM6.cjs');
44
+ var _chunkWI2OTGKCcjs = require('./chunk-WI2OTGKC.cjs');
45
45
 
46
46
 
47
47
  var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
@@ -64,7 +64,7 @@ var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
64
64
 
65
65
 
66
66
 
67
- var _chunkPX7FY655cjs = require('./chunk-PX7FY655.cjs');
67
+ var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
68
68
 
69
69
 
70
70
  var _chunkG7SBHMRRcjs = require('./chunk-G7SBHMRR.cjs');
@@ -323,7 +323,7 @@ function useOnboardingState(storageKey = "openframe-onboarding-state") {
323
323
  const [, forceUpdate] = _react.useState.call(void 0, 0);
324
324
  _react.useEffect.call(void 0, () => {
325
325
  const handleStorageUpdate = (event) => {
326
- const detail = _chunkAAFW4STCcjs.readLocalStorageUpdateDetail.call(void 0, event);
326
+ const detail = _chunkLU7TD6QScjs.readLocalStorageUpdateDetail.call(void 0, event);
327
327
  if (_optionalChain([detail, 'optionalAccess', _14 => _14.key]) !== storageKey) return;
328
328
  const newState = loadOnboardingState(storageKey);
329
329
  setState(newState);
@@ -414,7 +414,7 @@ function useSearch(config) {
414
414
  searchFnRef.current = searchFn;
415
415
  mapResultRef.current = mapResult;
416
416
  });
417
- const debouncedQuery = _chunkSA7LDEVJcjs.useDebounce.call(void 0, query, debounceMs);
417
+ const debouncedQuery = _chunkCSJO7ZGNcjs.useDebounce.call(void 0, query, debounceMs);
418
418
  const clearResults = _react.useCallback.call(void 0, () => {
419
419
  setResults(NO_RESULTS);
420
420
  setError(null);
@@ -804,7 +804,7 @@ function usePlatformConfig() {
804
804
  label: platform.label
805
805
  }))
806
806
  ];
807
- const selectableOptions = _chunkDUVOQHQIcjs.transformPlatformConfigsToOptions.call(void 0, platforms);
807
+ const selectableOptions = _chunkW2RM764Dcjs.transformPlatformConfigsToOptions.call(void 0, platforms);
808
808
  return {
809
809
  platforms,
810
810
  platformOptions,
@@ -982,7 +982,7 @@ function CommandApprovalToast({
982
982
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "overflow-hidden", children: [
983
983
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-11 w-full items-center gap-2 border-b border-ods-border bg-ods-card px-3 py-2", children: [
984
984
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h6", title: command, children: command }),
985
- toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNTJE6SM6cjs.ToolIcon, { toolType, size: 16 }) : null
985
+ toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWI2OTGKCcjs.ToolIcon, { toolType, size: 16 }) : null
986
986
  ] }),
987
987
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 bg-ods-bg p-3", children: [
988
988
  approvalDescription ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: approvalDescription }) : null,
@@ -1155,7 +1155,7 @@ function useContactSubmission(options = {}) {
1155
1155
  if (isSubmitting) return;
1156
1156
  setIsSubmitting(true);
1157
1157
  try {
1158
- const response = await _chunkPX7FY655cjs.contentFetch.call(void 0, contactUrl, {
1158
+ const response = await _chunkASMNNSUQcjs.contentFetch.call(void 0, contactUrl, {
1159
1159
  method: "POST",
1160
1160
  headers: { "Content-Type": "application/json" },
1161
1161
  body: JSON.stringify({
@@ -1165,7 +1165,7 @@ function useContactSubmission(options = {}) {
1165
1165
  });
1166
1166
  if (!response.ok) {
1167
1167
  const failure = await response.json().catch(() => null);
1168
- throw new Error(_chunkPX7FY655cjs.apiErrorMessage.call(void 0, failure, "Failed to submit contact form"));
1168
+ throw new Error(_chunkASMNNSUQcjs.apiErrorMessage.call(void 0, failure, "Failed to submit contact form"));
1169
1169
  }
1170
1170
  setIsSuccess(true);
1171
1171
  const message = successToastMessage ? `Thank you! Your message has been sent. ${successToastMessage}` : "Thank you! Your message has been sent successfully.";
@@ -1274,7 +1274,7 @@ function load(endpoint, force = false) {
1274
1274
  const entry = entryFor(endpoint);
1275
1275
  if (entry.request || entry.state.data && !force) return;
1276
1276
  publish(endpoint, { data: entry.state.data, isLoading: true, error: false });
1277
- entry.request = _chunkPX7FY655cjs.contentFetch.call(void 0, endpoint).then(async (response) => {
1277
+ entry.request = _chunkASMNNSUQcjs.contentFetch.call(void 0, endpoint).then(async (response) => {
1278
1278
  if (!response.ok) throw new Error(`Request failed (${response.status})`);
1279
1279
  publish(endpoint, { data: await response.json(), isLoading: false, error: false });
1280
1280
  }).catch(() => publish(endpoint, { data: entry.state.data, isLoading: false, error: true })).finally(() => {
@@ -1316,10 +1316,10 @@ function useDownloads({ endpoint = DOWNLOADS_API_PATH, initialData, enabled = tr
1316
1316
  }
1317
1317
  function useVisitorDesktopDownload(options = {}) {
1318
1318
  const enabled = _nullishCoalesce(options.enabled, () => ( true));
1319
- const visitor = _chunkDUVOQHQIcjs.useVisitorOs.call(void 0, );
1319
+ const visitor = _chunkW2RM764Dcjs.useVisitorOs.call(void 0, );
1320
1320
  const { data, error } = useDownloads(options);
1321
1321
  if (!enabled || !visitor.known || !data && !error) return { known: false, download: null };
1322
- const os = _chunkDUVOQHQIcjs.desktopOsOf.call(void 0, visitor.os);
1322
+ const os = _chunkW2RM764Dcjs.desktopOsOf.call(void 0, visitor.os);
1323
1323
  const download = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _22 => _22.desktop, 'access', _23 => _23.find, 'call', _24 => _24((row) => row.kind === "binary" && row.url && row.os === os)]), () => ( null));
1324
1324
  return { known: true, download };
1325
1325
  }
@@ -2569,7 +2569,7 @@ function useScenarioPlayer({
2569
2569
  startAtEnd = false,
2570
2570
  emptyFirstStep = true
2571
2571
  }) {
2572
- const auto = _chunkSA7LDEVJcjs.useAutoplay.call(void 0, enabled);
2572
+ const auto = _chunkCSJO7ZGNcjs.useAutoplay.call(void 0, enabled);
2573
2573
  const { reducedMotion, held, holdProps, release } = auto;
2574
2574
  const [scenario, setScenario] = _react.useState.call(void 0, initialScenario);
2575
2575
  const [rawStep, setRawStep] = _react.useState.call(void 0, startAtEnd ? Number.MAX_SAFE_INTEGER : 0);
@@ -2621,7 +2621,7 @@ function useAccessCodeIntegration() {
2621
2621
  const validate = async (email, code) => {
2622
2622
  setIsValidating(true);
2623
2623
  try {
2624
- return await _chunkDUVOQHQIcjs.validateAccessCode.call(void 0, email, code, endpoints);
2624
+ return await _chunkW2RM764Dcjs.validateAccessCode.call(void 0, email, code, endpoints);
2625
2625
  } finally {
2626
2626
  setIsValidating(false);
2627
2627
  }
@@ -2629,7 +2629,7 @@ function useAccessCodeIntegration() {
2629
2629
  const consume = async (email, code) => {
2630
2630
  setIsConsuming(true);
2631
2631
  try {
2632
- return await _chunkDUVOQHQIcjs.consumeAccessCode.call(void 0, email, code, endpoints);
2632
+ return await _chunkW2RM764Dcjs.consumeAccessCode.call(void 0, email, code, endpoints);
2633
2633
  } finally {
2634
2634
  setIsConsuming(false);
2635
2635
  }
@@ -2638,7 +2638,7 @@ function useAccessCodeIntegration() {
2638
2638
  setIsValidating(true);
2639
2639
  setIsConsuming(true);
2640
2640
  try {
2641
- return await _chunkDUVOQHQIcjs.validateAndConsumeAccessCode.call(void 0, email, code, endpoints);
2641
+ return await _chunkW2RM764Dcjs.validateAndConsumeAccessCode.call(void 0, email, code, endpoints);
2642
2642
  } finally {
2643
2643
  setIsValidating(false);
2644
2644
  setIsConsuming(false);
@@ -2668,7 +2668,7 @@ async function revalidateMirror(mirrorPath) {
2668
2668
  }
2669
2669
  function useClaudeMirrorSrc(url) {
2670
2670
  const endpoints = _chunkMZ4KBSH7cjs.useEndpointsRuntime.call(void 0, );
2671
- const mirrorPath = _chunkDUVOQHQIcjs.toClaudeMirrorPath.call(void 0, url, _optionalChain([endpoints, 'optionalAccess', _32 => _32.storageViewBaseUrl]));
2671
+ const mirrorPath = _chunkW2RM764Dcjs.toClaudeMirrorPath.call(void 0, url, _optionalChain([endpoints, 'optionalAccess', _32 => _32.storageViewBaseUrl]));
2672
2672
  const [resolved, setResolved] = _react.useState.call(void 0, null);
2673
2673
  const state = resolved && resolved.key === mirrorPath ? resolved.value : { src: null, status: mirrorPath ? "probing" : "absent" };
2674
2674
  _react.useEffect.call(void 0, () => {
@@ -2699,7 +2699,7 @@ function useClaudeMirrorSrc(url) {
2699
2699
 
2700
2700
  // src/hooks/use-location-hash.ts
2701
2701
 
2702
- var HASH_EVENTS = ["hashchange", "popstate", _chunkSA7LDEVJcjs.LOCATION_HASH_SYNC_EVENT];
2702
+ var HASH_EVENTS = ["hashchange", "popstate", _chunkCSJO7ZGNcjs.LOCATION_HASH_SYNC_EVENT];
2703
2703
  function subscribe(onChange) {
2704
2704
  for (const event of HASH_EVENTS) window.addEventListener(event, onChange);
2705
2705
  return () => {
@@ -2707,7 +2707,7 @@ function subscribe(onChange) {
2707
2707
  };
2708
2708
  }
2709
2709
  function readHash() {
2710
- const raw = _chunkSA7LDEVJcjs.normalizeHashFragment.call(void 0, window.location.hash).replace(/^#/, "");
2710
+ const raw = _chunkCSJO7ZGNcjs.normalizeHashFragment.call(void 0, window.location.hash).replace(/^#/, "");
2711
2711
  try {
2712
2712
  return decodeURIComponent(raw);
2713
2713
  } catch (e7) {
@@ -2734,16 +2734,16 @@ function useScrollToHash(readyDep = true, options) {
2734
2734
  }
2735
2735
  };
2736
2736
  const tryScrollToHash = () => {
2737
- if (_chunkSA7LDEVJcjs.isScrollSyncedHash.call(void 0, )) return;
2738
- const hash = _chunkSA7LDEVJcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
2737
+ if (_chunkCSJO7ZGNcjs.isScrollSyncedHash.call(void 0, )) return;
2738
+ const hash = _chunkCSJO7ZGNcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
2739
2739
  if (!hash) return;
2740
2740
  cancelPoll();
2741
2741
  let frames = 0;
2742
2742
  const tick = () => {
2743
- const el = _chunkSA7LDEVJcjs.getHashTargetElement.call(void 0, hash);
2743
+ const el = _chunkCSJO7ZGNcjs.getHashTargetElement.call(void 0, hash);
2744
2744
  if (el) {
2745
2745
  rafId = null;
2746
- _chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, el, { headerOffset });
2746
+ _chunkCSJO7ZGNcjs.scrollElementIntoView.call(void 0, el, { headerOffset });
2747
2747
  return;
2748
2748
  }
2749
2749
  if (frames++ < MAX_POLL_FRAMES) {
@@ -2771,8 +2771,8 @@ function useHumanitySignals() {
2771
2771
  const startedAtRef = _react.useRef.call(void 0, mountedAt);
2772
2772
  const getSignals = _react.useCallback.call(void 0,
2773
2773
  () => ({
2774
- [_chunkDUVOQHQIcjs.HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access', _34 => _34.current, 'optionalAccess', _35 => _35.value]), () => ( "")),
2775
- [_chunkDUVOQHQIcjs.ELAPSED_MS_FIELD]: typeof performance !== "undefined" ? Math.round(performance.now() - startedAtRef.current) : 0
2774
+ [_chunkW2RM764Dcjs.HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access', _34 => _34.current, 'optionalAccess', _35 => _35.value]), () => ( "")),
2775
+ [_chunkW2RM764Dcjs.ELAPSED_MS_FIELD]: typeof performance !== "undefined" ? Math.round(performance.now() - startedAtRef.current) : 0
2776
2776
  }),
2777
2777
  []
2778
2778
  );
@@ -2780,7 +2780,7 @@ function useHumanitySignals() {
2780
2780
  if (ref.current) ref.current.value = "";
2781
2781
  if (typeof performance !== "undefined") startedAtRef.current = performance.now();
2782
2782
  }, []);
2783
- return { honeypotInputProps: { ref, name: _chunkDUVOQHQIcjs.HONEYPOT_FIELD }, getSignals, resetSignals };
2783
+ return { honeypotInputProps: { ref, name: _chunkW2RM764Dcjs.HONEYPOT_FIELD }, getSignals, resetSignals };
2784
2784
  }
2785
2785
 
2786
2786
  // src/hooks/use-form-rescue.ts
@@ -2793,9 +2793,9 @@ function readLocalDraft(formId) {
2793
2793
  const raw = window.localStorage.getItem(STORAGE_PREFIX + formId);
2794
2794
  if (!raw) return null;
2795
2795
  const parsed = JSON.parse(raw);
2796
- if (!_chunkDUVOQHQIcjs.isFormAttemptId.call(void 0, parsed.attemptId) || typeof parsed.savedAt !== "number") return null;
2796
+ if (!_chunkW2RM764Dcjs.isFormAttemptId.call(void 0, parsed.attemptId) || typeof parsed.savedAt !== "number") return null;
2797
2797
  if (Date.now() - parsed.savedAt > LOCAL_DRAFT_TTL_MS) return null;
2798
- return { attemptId: parsed.attemptId, values: _chunkDUVOQHQIcjs.sanitizeRescueValues.call(void 0, parsed.values), savedAt: parsed.savedAt };
2798
+ return { attemptId: parsed.attemptId, values: _chunkW2RM764Dcjs.sanitizeRescueValues.call(void 0, parsed.values), savedAt: parsed.savedAt };
2799
2799
  } catch (e8) {
2800
2800
  return null;
2801
2801
  }
@@ -2815,9 +2815,9 @@ function clearLocalDraft(formId) {
2815
2815
  function completeFormRescue(form, attemptId) {
2816
2816
  if (!form || typeof window === "undefined") return;
2817
2817
  const local = readLocalDraft(form.id);
2818
- _chunkDUVOQHQIcjs.captureFormRescueEvent.call(void 0, _chunkDUVOQHQIcjs.FORM_RESCUE_EVENTS.submitted, {
2818
+ _chunkW2RM764Dcjs.captureFormRescueEvent.call(void 0, _chunkW2RM764Dcjs.FORM_RESCUE_EVENTS.submitted, {
2819
2819
  form_id: form.id,
2820
- attempt_id: _chunkDUVOQHQIcjs.isFormAttemptId.call(void 0, attemptId) ? attemptId : _nullishCoalesce(_optionalChain([local, 'optionalAccess', _36 => _36.attemptId]), () => ( null))
2820
+ attempt_id: _chunkW2RM764Dcjs.isFormAttemptId.call(void 0, attemptId) ? attemptId : _nullishCoalesce(_optionalChain([local, 'optionalAccess', _36 => _36.attemptId]), () => ( null))
2821
2821
  });
2822
2822
  clearLocalDraft(form.id);
2823
2823
  }
@@ -2870,7 +2870,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
2870
2870
  ...resumeTokenRef.current ? { resume_token: resumeTokenRef.current } : {}
2871
2871
  };
2872
2872
  try {
2873
- void _chunkPX7FY655cjs.contentFetch.call(void 0, draftsUrl, {
2873
+ void _chunkASMNNSUQcjs.contentFetch.call(void 0, draftsUrl, {
2874
2874
  method: "POST",
2875
2875
  headers: { "Content-Type": "application/json" },
2876
2876
  body: JSON.stringify({ ...body, ..._nullishCoalesce(_optionalChain([getSignalsRef, 'access', _39 => _39.current, 'optionalCall', _40 => _40()]), () => ( {})) }),
@@ -2878,7 +2878,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
2878
2878
  }).catch(() => void 0);
2879
2879
  } catch (e12) {
2880
2880
  }
2881
- _chunkDUVOQHQIcjs.captureFormRescueEvent.call(void 0, _chunkDUVOQHQIcjs.FORM_RESCUE_EVENTS.progress, {
2881
+ _chunkW2RM764Dcjs.captureFormRescueEvent.call(void 0, _chunkW2RM764Dcjs.FORM_RESCUE_EVENTS.progress, {
2882
2882
  form_id: formId,
2883
2883
  attempt_id: attemptId(),
2884
2884
  fields_filled: body.fields_filled,
@@ -2891,23 +2891,23 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
2891
2891
  _react.useEffect.call(void 0, () => {
2892
2892
  if (!formId || typeof window === "undefined") return void 0;
2893
2893
  let cancelled = false;
2894
- const token = new URLSearchParams(window.location.search).get(_chunkDUVOQHQIcjs.FORM_RESCUE_RESUME_PARAM);
2894
+ const token = new URLSearchParams(window.location.search).get(_chunkW2RM764Dcjs.FORM_RESCUE_RESUME_PARAM);
2895
2895
  const restoreLocal = () => {
2896
2896
  const local = readLocalDraft(formId);
2897
2897
  if (!local) return;
2898
2898
  attemptIdRef.current = local.attemptId;
2899
2899
  if (Object.keys(local.values).length) _optionalChain([onRestoreRef, 'access', _41 => _41.current, 'optionalCall', _42 => _42(local.values)]);
2900
2900
  };
2901
- if (_chunkDUVOQHQIcjs.isResumeToken.call(void 0, token) && draftsUrl) {
2902
- _chunkPX7FY655cjs.contentFetch.call(void 0, `${draftsUrl}/resume/${encodeURIComponent(token)}`).then(async (res) => res.ok ? await res.json() : null).then((data) => {
2901
+ if (_chunkW2RM764Dcjs.isResumeToken.call(void 0, token) && draftsUrl) {
2902
+ _chunkASMNNSUQcjs.contentFetch.call(void 0, `${draftsUrl}/resume/${encodeURIComponent(token)}`).then(async (res) => res.ok ? await res.json() : null).then((data) => {
2903
2903
  if (cancelled) return;
2904
2904
  if (!data || data.form_id !== formId) {
2905
2905
  restoreLocal();
2906
2906
  return;
2907
2907
  }
2908
2908
  resumeTokenRef.current = token;
2909
- _optionalChain([onRestoreRef, 'access', _43 => _43.current, 'optionalCall', _44 => _44(_chunkDUVOQHQIcjs.sanitizeRescueValues.call(void 0, data.values))]);
2910
- _chunkDUVOQHQIcjs.captureFormRescueEvent.call(void 0, _chunkDUVOQHQIcjs.FORM_RESCUE_EVENTS.resumed, { form_id: formId, attempt_id: attemptId() });
2909
+ _optionalChain([onRestoreRef, 'access', _43 => _43.current, 'optionalCall', _44 => _44(_chunkW2RM764Dcjs.sanitizeRescueValues.call(void 0, data.values))]);
2910
+ _chunkW2RM764Dcjs.captureFormRescueEvent.call(void 0, _chunkW2RM764Dcjs.FORM_RESCUE_EVENTS.resumed, { form_id: formId, attempt_id: attemptId() });
2911
2911
  }).catch(() => {
2912
2912
  if (!cancelled) restoreLocal();
2913
2913
  });
@@ -2927,7 +2927,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
2927
2927
  timerRef.current = null;
2928
2928
  }
2929
2929
  send(true);
2930
- _chunkDUVOQHQIcjs.captureFormRescueEvent.call(void 0, _chunkDUVOQHQIcjs.FORM_RESCUE_EVENTS.abandoned, {
2930
+ _chunkW2RM764Dcjs.captureFormRescueEvent.call(void 0, _chunkW2RM764Dcjs.FORM_RESCUE_EVENTS.abandoned, {
2931
2931
  form_id: formId,
2932
2932
  attempt_id: attemptId(),
2933
2933
  last_field: _nullishCoalesce(_optionalChain([latestRef, 'access', _45 => _45.current, 'optionalAccess', _46 => _46.last_field]), () => ( null)),
@@ -2951,22 +2951,22 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
2951
2951
  const names = fieldNamesRef.current;
2952
2952
  const visible = {};
2953
2953
  for (const name of names) visible[name] = values[name];
2954
- const filled = _chunkDUVOQHQIcjs.filledRescueFields.call(void 0, visible, names);
2954
+ const filled = _chunkW2RM764Dcjs.filledRescueFields.call(void 0, visible, names);
2955
2955
  if (!filled.length) return;
2956
2956
  if (!startedRef.current) {
2957
2957
  startedRef.current = true;
2958
- _chunkDUVOQHQIcjs.captureFormRescueEvent.call(void 0, _chunkDUVOQHQIcjs.FORM_RESCUE_EVENTS.started, { form_id: formId, attempt_id: attemptId() });
2958
+ _chunkW2RM764Dcjs.captureFormRescueEvent.call(void 0, _chunkW2RM764Dcjs.FORM_RESCUE_EVENTS.started, { form_id: formId, attempt_id: attemptId() });
2959
2959
  }
2960
- const clean = _chunkDUVOQHQIcjs.sanitizeRescueValues.call(void 0, visible);
2961
- if (!leadCapturedRef.current && _chunkDUVOQHQIcjs.isRescueEmail.call(void 0, clean.email)) {
2960
+ const clean = _chunkW2RM764Dcjs.sanitizeRescueValues.call(void 0, visible);
2961
+ if (!leadCapturedRef.current && _chunkW2RM764Dcjs.isRescueEmail.call(void 0, clean.email)) {
2962
2962
  leadCapturedRef.current = true;
2963
- _chunkDUVOQHQIcjs.captureFormRescueEvent.call(void 0, _chunkDUVOQHQIcjs.FORM_RESCUE_EVENTS.leadCaptured, { form_id: formId, attempt_id: attemptId() });
2963
+ _chunkW2RM764Dcjs.captureFormRescueEvent.call(void 0, _chunkW2RM764Dcjs.FORM_RESCUE_EVENTS.leadCaptured, { form_id: formId, attempt_id: attemptId() });
2964
2964
  }
2965
2965
  latestRef.current = {
2966
2966
  values: clean,
2967
2967
  fields_filled: filled,
2968
- last_field: _chunkDUVOQHQIcjs.sanitizeRescueFieldName.call(void 0, lastField),
2969
- completion_pct: _chunkDUVOQHQIcjs.rescueCompletionPct.call(void 0, filled.length, names.length)
2968
+ last_field: _chunkW2RM764Dcjs.sanitizeRescueFieldName.call(void 0, lastField),
2969
+ completion_pct: _chunkW2RM764Dcjs.rescueCompletionPct.call(void 0, filled.length, names.length)
2970
2970
  };
2971
2971
  dirtyRef.current = true;
2972
2972
  writeLocalDraft(formId, { attemptId: attemptId(), values: clean, savedAt: Date.now() });
@@ -2974,15 +2974,15 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
2974
2974
  timerRef.current = setTimeout(() => {
2975
2975
  timerRef.current = null;
2976
2976
  send(false);
2977
- }, _chunkDUVOQHQIcjs.FORM_RESCUE_DEBOUNCE_MS);
2977
+ }, _chunkW2RM764Dcjs.FORM_RESCUE_DEBOUNCE_MS);
2978
2978
  },
2979
2979
  [attemptId, formId, send]
2980
2980
  );
2981
2981
  const submitFields = _react.useCallback.call(void 0, () => {
2982
2982
  if (!formId) return {};
2983
2983
  return {
2984
- [_chunkDUVOQHQIcjs.FORM_RESCUE_ATTEMPT_FIELD]: attemptId(),
2985
- ...resumeTokenRef.current ? { [_chunkDUVOQHQIcjs.FORM_RESCUE_RESUME_FIELD]: resumeTokenRef.current } : {}
2984
+ [_chunkW2RM764Dcjs.FORM_RESCUE_ATTEMPT_FIELD]: attemptId(),
2985
+ ...resumeTokenRef.current ? { [_chunkW2RM764Dcjs.FORM_RESCUE_RESUME_FIELD]: resumeTokenRef.current } : {}
2986
2986
  };
2987
2987
  }, [attemptId, formId]);
2988
2988
  const complete = _react.useCallback.call(void 0, () => {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkCWRVTQUOcjs = require('./chunk-CWRVTQUO.cjs');
4
+ var _chunkPS6T65KAcjs = require('./chunk-PS6T65KA.cjs');
5
5
 
6
6
 
7
- var _chunkBV5WZVOPcjs = require('./chunk-BV5WZVOP.cjs');
7
+ var _chunk32Q7K5OPcjs = require('./chunk-32Q7K5OP.cjs');
8
8
 
9
9
 
10
10
 
@@ -14,7 +14,7 @@ var _chunkBV5WZVOPcjs = require('./chunk-BV5WZVOP.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkSA7LDEVJcjs = require('./chunk-SA7LDEVJ.cjs');
17
+ var _chunkCSJO7ZGNcjs = require('./chunk-CSJO7ZGN.cjs');
18
18
 
19
19
 
20
20
  var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
@@ -47,7 +47,7 @@ function HorizontalSectionNav({
47
47
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
48
48
  brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
49
49
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
50
- _chunkBV5WZVOPcjs.ScrollShadow,
50
+ _chunk32Q7K5OPcjs.ScrollShadow,
51
51
  {
52
52
  axis: "horizontal",
53
53
  className: "min-w-0 flex-1",
@@ -166,7 +166,7 @@ function useSectionNavigation(sections, options) {
166
166
  if (!targetElement) return;
167
167
  isScrollingFromClick.current = true;
168
168
  setActiveSection(sectionId);
169
- _chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
169
+ _chunkCSJO7ZGNcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
170
170
  setTimeout(() => {
171
171
  isScrollingFromClick.current = false;
172
172
  }, 500);
@@ -219,13 +219,13 @@ var SCROLL_OFFSET = 100;
219
219
  var ID_SEPARATOR = "\n";
220
220
  var LINE_TOLERANCE_PX = 1;
221
221
  function currentHashId() {
222
- return _chunkSA7LDEVJcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
222
+ return _chunkCSJO7ZGNcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
223
223
  }
224
224
  function activeChildAnchor(section) {
225
- return _nullishCoalesce(_optionalChain([section, 'access', _9 => _9.querySelector, 'call', _10 => _10(`[${_chunkSA7LDEVJcjs.ACTIVE_ANCHOR_ATTRIBUTE}][id]`), 'optionalAccess', _11 => _11.id]), () => ( null));
225
+ return _nullishCoalesce(_optionalChain([section, 'access', _9 => _9.querySelector, 'call', _10 => _10(`[${_chunkCSJO7ZGNcjs.ACTIVE_ANCHOR_ATTRIBUTE}][id]`), 'optionalAccess', _11 => _11.id]), () => ( null));
226
226
  }
227
227
  function hashIsWithin(section) {
228
- return section.contains(_chunkSA7LDEVJcjs.getHashTargetElement.call(void 0, currentHashId()));
228
+ return section.contains(_chunkCSJO7ZGNcjs.getHashTargetElement.call(void 0, currentHashId()));
229
229
  }
230
230
  function hashForSection(sectionId) {
231
231
  const section = document.getElementById(sectionId);
@@ -233,7 +233,7 @@ function hashForSection(sectionId) {
233
233
  return _nullishCoalesce(activeChildAnchor(section), () => ( (hashIsWithin(section) ? currentHashId() : sectionId)));
234
234
  }
235
235
  function resolveScroller(firstSection) {
236
- const container = firstSection ? _chunkSA7LDEVJcjs.getScrollableAncestor.call(void 0, firstSection) : null;
236
+ const container = firstSection ? _chunkCSJO7ZGNcjs.getScrollableAncestor.call(void 0, firstSection) : null;
237
237
  if (container) {
238
238
  return {
239
239
  target: container,
@@ -263,8 +263,8 @@ function useScrollSpy(sections, options = {}) {
263
263
  if (!targetElement) return;
264
264
  isScrollingFromClick.current = true;
265
265
  setActiveSection(sectionId);
266
- if (syncHash) _chunkSA7LDEVJcjs.replaceLocationHash.call(void 0, _nullishCoalesce(activeChildAnchor(targetElement), () => ( sectionId)));
267
- _chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
266
+ if (syncHash) _chunkCSJO7ZGNcjs.replaceLocationHash.call(void 0, _nullishCoalesce(activeChildAnchor(targetElement), () => ( sectionId)));
267
+ _chunkCSJO7ZGNcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
268
268
  setTimeout(() => {
269
269
  isScrollingFromClick.current = false;
270
270
  }, 800);
@@ -280,7 +280,7 @@ function useScrollSpy(sections, options = {}) {
280
280
  const scrollTop = scroller.scrollTop();
281
281
  const viewportTop = scroller.viewportTop();
282
282
  const sectionTop = (element) => element.getBoundingClientRect().top - viewportTop + scrollTop;
283
- const reached = (element) => scrollTop + Math.max(headerOffset, _chunkSA7LDEVJcjs.declaredScrollMarginTop.call(void 0, element)) + LINE_TOLERANCE_PX >= sectionTop(element);
283
+ const reached = (element) => scrollTop + Math.max(headerOffset, _chunkCSJO7ZGNcjs.declaredScrollMarginTop.call(void 0, element)) + LINE_TOLERANCE_PX >= sectionTop(element);
284
284
  const first = document.getElementById(_nullishCoalesce(sectionIds[0], () => ( "")));
285
285
  let currentSection = _nullishCoalesce(sectionIds[0], () => ( ""));
286
286
  const scrollHeight = scroller.scrollHeight();
@@ -303,16 +303,16 @@ function useScrollSpy(sections, options = {}) {
303
303
  setActiveSection((prev) => prev !== active ? active : prev);
304
304
  if (!syncHash) return;
305
305
  if (fromScroll) {
306
- _chunkSA7LDEVJcjs.replaceLocationHash.call(void 0, isAboveFirst ? null : hashForSection(currentSection));
306
+ _chunkCSJO7ZGNcjs.replaceLocationHash.call(void 0, isAboveFirst ? null : hashForSection(currentSection));
307
307
  return;
308
308
  }
309
- if (restoredChecked.current || !_chunkSA7LDEVJcjs.isScrollSyncedHash.call(void 0, )) return;
310
- const target = _chunkSA7LDEVJcjs.getHashTargetElement.call(void 0, currentHashId());
309
+ if (restoredChecked.current || !_chunkCSJO7ZGNcjs.isScrollSyncedHash.call(void 0, )) return;
310
+ const target = _chunkCSJO7ZGNcjs.getHashTargetElement.call(void 0, currentHashId());
311
311
  const tracked = sectionIds.some((id) => _nullishCoalesce(_optionalChain([document, 'access', _16 => _16.getElementById, 'call', _17 => _17(id), 'optionalAccess', _18 => _18.contains, 'call', _19 => _19(target)]), () => ( false)));
312
312
  if (!target || !tracked) return;
313
313
  restoredChecked.current = true;
314
314
  const section = isAboveFirst ? null : document.getElementById(currentSection);
315
- if (!_optionalChain([section, 'optionalAccess', _20 => _20.contains, 'call', _21 => _21(target)])) _chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, target, { headerOffset, behavior: "instant" });
315
+ if (!_optionalChain([section, 'optionalAccess', _20 => _20.contains, 'call', _21 => _21(target)])) _chunkCSJO7ZGNcjs.scrollElementIntoView.call(void 0, target, { headerOffset, behavior: "instant" });
316
316
  };
317
317
  let scrollTimer;
318
318
  const throttledScroll = () => {
@@ -332,7 +332,7 @@ function useScrollSpy(sections, options = {}) {
332
332
  // src/components/navigation/multi-level-navigation.tsx
333
333
  var _lucidereact = require('lucide-react');
334
334
 
335
- var DEFAULT_FOLDER_INDEX_FILE2 = _chunkCWRVTQUOcjs.DEFAULT_FOLDER_INDEX_FILE;
335
+ var DEFAULT_FOLDER_INDEX_FILE2 = _chunkPS6T65KAcjs.DEFAULT_FOLDER_INDEX_FILE;
336
336
  function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
337
337
  const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
338
338
  if (selectedPath === node.path) {