@graphrefly/graphrefly 0.27.0 → 0.28.0

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 (428) hide show
  1. package/dist/backoff-HPZMEZNF.js +1 -0
  2. package/dist/cascading-B-5zmAUv.d.cts +180 -0
  3. package/dist/cascading-D9WG1-9L.d.ts +180 -0
  4. package/dist/chunk-2FOAM3OR.js +1 -0
  5. package/dist/chunk-2PMCKKRK.js +1 -0
  6. package/dist/chunk-3JXNEPCD.js +2 -0
  7. package/dist/chunk-3R5HFPX7.js +78 -0
  8. package/dist/chunk-4GKB4OUJ.js +1 -0
  9. package/dist/chunk-4VVTGLXJ.js +1 -0
  10. package/dist/chunk-5QDBSZBV.js +1 -0
  11. package/dist/chunk-6QZNQS5B.js +1 -0
  12. package/dist/chunk-6V3SEX2I.js +1 -0
  13. package/dist/chunk-76A3HVQE.js +9 -0
  14. package/dist/chunk-7H6LGFUG.js +64 -0
  15. package/dist/chunk-CK2E7BTU.js +1 -0
  16. package/dist/chunk-CKCSDI7T.js +6 -0
  17. package/dist/chunk-CRXTH3SH.js +1 -0
  18. package/dist/chunk-CWLN3X3N.js +1 -0
  19. package/dist/chunk-D7A7DBE4.js +1 -0
  20. package/dist/chunk-DBGGMN3D.js +1 -0
  21. package/dist/chunk-DQA3UIQ2.js +1 -0
  22. package/dist/chunk-ERLIRFPA.js +1 -0
  23. package/dist/chunk-ESMPEKEV.js +1 -0
  24. package/dist/chunk-ETWTCCJI.js +1 -0
  25. package/dist/chunk-FNYWM6JC.js +1 -0
  26. package/dist/chunk-GHJJR5P4.js +1 -0
  27. package/dist/chunk-GPW2V3RE.js +1 -0
  28. package/dist/chunk-I6VIH3VA.js +1 -0
  29. package/dist/chunk-K2GNMCQT.js +1 -0
  30. package/dist/chunk-LBTDSCCO.js +3 -0
  31. package/dist/chunk-LQ3Y5NJS.js +1 -0
  32. package/dist/chunk-MIQTDPY4.js +5 -0
  33. package/dist/chunk-MTTAAPCK.js +1 -0
  34. package/dist/chunk-OAWLCNJJ.js +1 -0
  35. package/dist/chunk-OBKQQA5I.js +1 -0
  36. package/dist/chunk-OYHGKYQM.js +1 -0
  37. package/dist/chunk-PIOGHC63.js +1 -0
  38. package/dist/chunk-QWAPKG3O.js +2 -0
  39. package/dist/chunk-QYADASLV.js +1 -0
  40. package/dist/chunk-RHESUC3V.js +43 -0
  41. package/dist/chunk-S35VARIR.js +1 -0
  42. package/dist/chunk-SC3U7ETD.js +1 -0
  43. package/dist/chunk-U3AICJKU.js +1 -0
  44. package/dist/chunk-UMBIDLJ4.js +1 -0
  45. package/dist/chunk-UPHHLMHE.js +1 -0
  46. package/dist/chunk-UPXUCFMX.js +1 -0
  47. package/dist/chunk-UWJE5FQA.js +18 -0
  48. package/dist/chunk-V6YQICXZ.js +1 -0
  49. package/dist/chunk-VIMF6LGM.js +1 -0
  50. package/dist/chunk-VJLMUKOI.js +1 -0
  51. package/dist/chunk-VPYBOXVT.js +1 -0
  52. package/dist/chunk-VTPVOGHH.js +1 -0
  53. package/dist/chunk-WQ2BN6X6.js +1 -0
  54. package/dist/chunk-XAUNPIMX.js +1 -0
  55. package/dist/chunk-Y2EMPB3I.js +1 -0
  56. package/dist/chunk-Z4HDAS2Q.js +1 -0
  57. package/dist/chunk-ZB5EHBIO.js +1 -0
  58. package/dist/chunk-ZV2DXV5A.js +23 -0
  59. package/dist/compat/index.cjs +14 -7656
  60. package/dist/compat/index.d.cts +15 -14
  61. package/dist/compat/index.d.ts +15 -14
  62. package/dist/compat/index.js +1 -50
  63. package/dist/compat/jotai/index.cjs +1 -2048
  64. package/dist/compat/jotai/index.d.cts +2 -2
  65. package/dist/compat/jotai/index.d.ts +2 -2
  66. package/dist/compat/jotai/index.js +1 -9
  67. package/dist/compat/nanostores/index.cjs +1 -2175
  68. package/dist/compat/nanostores/index.d.cts +2 -2
  69. package/dist/compat/nanostores/index.d.ts +2 -2
  70. package/dist/compat/nanostores/index.js +1 -23
  71. package/dist/compat/nestjs/index.cjs +14 -6782
  72. package/dist/compat/nestjs/index.d.cts +7 -6
  73. package/dist/compat/nestjs/index.d.ts +7 -6
  74. package/dist/compat/nestjs/index.js +1 -83
  75. package/dist/compat/react/index.cjs +1 -141
  76. package/dist/compat/react/index.d.cts +2 -2
  77. package/dist/compat/react/index.d.ts +2 -2
  78. package/dist/compat/react/index.js +1 -12
  79. package/dist/compat/solid/index.cjs +1 -128
  80. package/dist/compat/solid/index.d.cts +2 -2
  81. package/dist/compat/solid/index.d.ts +2 -2
  82. package/dist/compat/solid/index.js +1 -12
  83. package/dist/compat/svelte/index.cjs +1 -131
  84. package/dist/compat/svelte/index.d.cts +2 -2
  85. package/dist/compat/svelte/index.d.ts +2 -2
  86. package/dist/compat/svelte/index.js +1 -12
  87. package/dist/compat/vue/index.cjs +1 -146
  88. package/dist/compat/vue/index.d.cts +2 -2
  89. package/dist/compat/vue/index.d.ts +2 -2
  90. package/dist/compat/vue/index.js +1 -12
  91. package/dist/compat/zustand/index.cjs +6 -4931
  92. package/dist/compat/zustand/index.d.cts +5 -5
  93. package/dist/compat/zustand/index.d.ts +5 -5
  94. package/dist/compat/zustand/index.js +1 -12
  95. package/dist/composite-B-xqw4Kk.d.cts +69 -0
  96. package/dist/composite-BhbKHbOS.d.ts +69 -0
  97. package/dist/core/index.cjs +1 -2271
  98. package/dist/core/index.d.cts +4 -4
  99. package/dist/core/index.d.ts +4 -4
  100. package/dist/core/index.js +1 -110
  101. package/dist/extra/browser.cjs +1 -0
  102. package/dist/extra/browser.d.cts +3 -0
  103. package/dist/extra/browser.d.ts +3 -0
  104. package/dist/extra/browser.js +1 -0
  105. package/dist/extra/index.cjs +23 -9971
  106. package/dist/extra/index.d.cts +13 -6
  107. package/dist/extra/index.d.ts +13 -6
  108. package/dist/extra/index.js +1 -381
  109. package/dist/extra/node.cjs +3 -0
  110. package/dist/extra/node.d.cts +81 -0
  111. package/dist/extra/node.d.ts +81 -0
  112. package/dist/extra/node.js +2 -0
  113. package/dist/extra/operators.cjs +1 -0
  114. package/dist/extra/operators.d.cts +910 -0
  115. package/dist/extra/operators.d.ts +910 -0
  116. package/dist/extra/operators.js +1 -0
  117. package/dist/extra/reactive.cjs +1 -0
  118. package/dist/extra/reactive.d.cts +352 -0
  119. package/dist/extra/reactive.d.ts +352 -0
  120. package/dist/extra/reactive.js +1 -0
  121. package/dist/extra/sources.cjs +1 -2486
  122. package/dist/extra/sources.d.cts +6 -2
  123. package/dist/extra/sources.d.ts +6 -2
  124. package/dist/extra/sources.js +1 -57
  125. package/dist/extra/storage-browser.cjs +1 -0
  126. package/dist/extra/storage-browser.d.cts +71 -0
  127. package/dist/extra/storage-browser.d.ts +71 -0
  128. package/dist/extra/storage-browser.js +1 -0
  129. package/dist/extra/storage-core.cjs +1 -0
  130. package/dist/extra/storage-core.d.cts +98 -0
  131. package/dist/extra/storage-core.d.ts +98 -0
  132. package/dist/extra/storage-core.js +1 -0
  133. package/dist/extra/storage-node.cjs +2 -0
  134. package/dist/extra/storage-node.d.cts +60 -0
  135. package/dist/extra/storage-node.d.ts +60 -0
  136. package/dist/extra/storage-node.js +1 -0
  137. package/dist/fallback-BaTS7vVY.d.cts +258 -0
  138. package/dist/fallback-eOm3LNxP.d.ts +258 -0
  139. package/dist/graph/index.cjs +6 -5030
  140. package/dist/graph/index.d.cts +6 -5
  141. package/dist/graph/index.d.ts +6 -5
  142. package/dist/graph/index.js +1 -50
  143. package/dist/{graph-CCwGKLCm.d.ts → graph-BZGRXwOm.d.ts} +134 -31
  144. package/dist/{graph-DNCrvZSn.d.cts → graph-D48Qw9Cg.d.cts} +134 -31
  145. package/dist/index-8FSVk4Uf.d.ts +135 -0
  146. package/dist/index-9oDeHH2u.d.cts +291 -0
  147. package/dist/{messaging-XDoYablx.d.ts → index-B0c4cmIO.d.ts} +31 -93
  148. package/dist/{index-VdHQMPy1.d.ts → index-B1AmmSlb.d.ts} +1 -1
  149. package/dist/{index-VHqptjhu.d.cts → index-B2pwesl9.d.cts} +1 -1
  150. package/dist/index-BHvIquRZ.d.ts +1957 -0
  151. package/dist/{index-Dzk2hrlR.d.ts → index-BVHOrDwO.d.ts} +1 -1
  152. package/dist/{index-CxFrXH4m.d.ts → index-BWJV63ti.d.ts} +1 -1
  153. package/dist/{index-Xi3u0HCQ.d.cts → index-B_agccPe.d.cts} +1 -1
  154. package/dist/index-BgyGlizc.d.ts +163 -0
  155. package/dist/index-BpA5c4G9.d.ts +357 -0
  156. package/dist/index-BpIFjILY.d.cts +357 -0
  157. package/dist/{index-3lsddbbS.d.ts → index-Bqachn9_.d.ts} +1 -1
  158. package/dist/index-Btib9rsU.d.ts +607 -0
  159. package/dist/{index-wEn0eFe8.d.ts → index-BwM9BEkt.d.ts} +1 -1
  160. package/dist/index-BxJ86YZZ.d.cts +105 -0
  161. package/dist/{audit-DRlSzBu9.d.ts → index-C73n7lo-.d.cts} +27 -21
  162. package/dist/index-CEXXwWVH.d.cts +192 -0
  163. package/dist/index-CHEswufn.d.cts +163 -0
  164. package/dist/{index-C0svESO4.d.ts → index-CMn8S8Hw.d.ts} +1 -1
  165. package/dist/{index-ByQxazQJ.d.cts → index-CRO83MmV.d.cts} +1 -1
  166. package/dist/{index-BuEoe-Qu.d.ts → index-CloUk1kY.d.ts} +9 -9
  167. package/dist/index-CpgYhnrG.d.ts +291 -0
  168. package/dist/{index-DO_6JN9Z.d.cts → index-Cyojz0AE.d.cts} +1 -1
  169. package/dist/{demo-shell-BDkOptd6.d.ts → index-CzobVSMr.d.ts} +14 -14
  170. package/dist/index-Czq6ynh8.d.ts +143 -0
  171. package/dist/{index-BaSM3aYt.d.ts → index-D-YB-Vl3.d.ts} +3 -3
  172. package/dist/index-DAlweici.d.ts +231 -0
  173. package/dist/index-DEwTb_fm.d.cts +1957 -0
  174. package/dist/{index-DYme44FM.d.cts → index-DL-rYJrx.d.cts} +1 -1
  175. package/dist/{memory-li6FL5RM.d.ts → index-DP4ZTkdw.d.ts} +26 -26
  176. package/dist/{index-BwfLUNw4.d.ts → index-DUqMOlKZ.d.cts} +173 -2040
  177. package/dist/{index-B1tloyhO.d.cts → index-D_NwnRYS.d.cts} +1 -1
  178. package/dist/index-DaLJvH8Z.d.ts +105 -0
  179. package/dist/index-DcXZBF5a.d.cts +135 -0
  180. package/dist/index-DfyOkTvs.d.ts +321 -0
  181. package/dist/{index-B9B7_HEY.d.ts → index-DiOXyAwt.d.ts} +1 -1
  182. package/dist/index-DpHe5e0Q.d.ts +186 -0
  183. package/dist/index-DraikLjn.d.ts +86 -0
  184. package/dist/{index-D8wS_PeY.d.cts → index-DxsnAMWD.d.cts} +9 -9
  185. package/dist/{messaging-Gt4LPbyA.d.cts → index-DyxjtScX.d.cts} +31 -93
  186. package/dist/{audit-ClmqGOCx.d.cts → index-HDpJe9hX.d.ts} +27 -21
  187. package/dist/{index-DVGiGFGT.d.cts → index-O6TgGUBV.d.cts} +3 -3
  188. package/dist/{index-B6EhDnjH.d.cts → index-Oi8d8w4R.d.cts} +1 -1
  189. package/dist/{index-C8oil6M6.d.ts → index-ROpQmGjE.d.ts} +30 -6
  190. package/dist/index-RukJ4DLS.d.cts +607 -0
  191. package/dist/{index-BHlKbUwO.d.cts → index-ZftwfxJM.d.ts} +173 -2040
  192. package/dist/{index-BPVt8kqc.d.ts → index-cByzxQIC.d.cts} +10 -195
  193. package/dist/index-dtN7YA2x.d.cts +143 -0
  194. package/dist/{index-CI3DprxP.d.cts → index-fM6y00vT.d.cts} +30 -6
  195. package/dist/{index-DlLp-2Xn.d.cts → index-m-yHof5p.d.ts} +10 -195
  196. package/dist/index-pXrDMpRO.d.cts +231 -0
  197. package/dist/index-rHJSKsU8.d.cts +186 -0
  198. package/dist/index-rX8HBM5h.d.cts +321 -0
  199. package/dist/{index-CO8uBlUh.d.cts → index-rnwQly8X.d.cts} +147 -20
  200. package/dist/index-sm373fsH.d.ts +192 -0
  201. package/dist/{memory-C6Z2tGpC.d.cts → index-tbf2gKHd.d.cts} +26 -26
  202. package/dist/{demo-shell-Crid1WdR.d.cts → index-u15meRxL.d.cts} +14 -14
  203. package/dist/{index-B6D3QNSA.d.ts → index-umtoWT8K.d.ts} +147 -20
  204. package/dist/index-vscRDkjW.d.cts +86 -0
  205. package/dist/index.cjs +150 -24142
  206. package/dist/index.d.cts +69 -2099
  207. package/dist/index.d.ts +69 -2099
  208. package/dist/index.js +1 -3868
  209. package/dist/{meta-CbznRPYJ.d.ts → meta-Cgj6zeji.d.cts} +5 -5
  210. package/dist/{meta-BxCA7rcr.d.cts → meta-CwesDrMD.d.ts} +5 -5
  211. package/dist/{node-BmerH3kS.d.cts → node-Cc1TniY8.d.cts} +36 -9
  212. package/dist/{node-BmerH3kS.d.ts → node-Cc1TniY8.d.ts} +36 -9
  213. package/dist/{observable-BgGUwcqp.d.ts → observable-Ct-gJ9jI.d.ts} +1 -1
  214. package/dist/{observable-DJt_AxzQ.d.cts → observable-glXQoGj2.d.cts} +1 -1
  215. package/dist/patterns/ai/browser.cjs +25 -0
  216. package/dist/patterns/ai/browser.d.cts +127 -0
  217. package/dist/patterns/ai/browser.d.ts +127 -0
  218. package/dist/patterns/ai/browser.js +3 -0
  219. package/dist/patterns/ai/index.cjs +91 -0
  220. package/dist/patterns/ai/index.d.cts +17 -0
  221. package/dist/patterns/ai/index.d.ts +17 -0
  222. package/dist/patterns/ai/index.js +1 -0
  223. package/dist/patterns/ai/node.cjs +2 -0
  224. package/dist/patterns/ai/node.d.cts +58 -0
  225. package/dist/patterns/ai/node.d.ts +58 -0
  226. package/dist/patterns/ai/node.js +1 -0
  227. package/dist/patterns/audit/index.cjs +6 -0
  228. package/dist/patterns/audit/index.d.cts +6 -0
  229. package/dist/patterns/audit/index.d.ts +6 -0
  230. package/dist/patterns/audit/index.js +1 -0
  231. package/dist/patterns/cqrs/index.cjs +6 -0
  232. package/dist/patterns/cqrs/index.d.cts +5 -0
  233. package/dist/patterns/cqrs/index.d.ts +5 -0
  234. package/dist/patterns/cqrs/index.js +1 -0
  235. package/dist/patterns/demo-shell/index.cjs +7 -0
  236. package/dist/patterns/demo-shell/index.d.cts +6 -0
  237. package/dist/patterns/demo-shell/index.d.ts +6 -0
  238. package/dist/patterns/demo-shell/index.js +1 -0
  239. package/dist/patterns/domain-templates/index.cjs +6 -0
  240. package/dist/patterns/domain-templates/index.d.cts +5 -0
  241. package/dist/patterns/domain-templates/index.d.ts +5 -0
  242. package/dist/patterns/domain-templates/index.js +1 -0
  243. package/dist/patterns/graphspec/index.cjs +83 -0
  244. package/dist/patterns/graphspec/index.d.cts +7 -0
  245. package/dist/patterns/graphspec/index.d.ts +7 -0
  246. package/dist/patterns/graphspec/index.js +1 -0
  247. package/dist/patterns/guarded-execution/index.cjs +6 -0
  248. package/dist/patterns/guarded-execution/index.d.cts +7 -0
  249. package/dist/patterns/guarded-execution/index.d.ts +7 -0
  250. package/dist/patterns/guarded-execution/index.js +1 -0
  251. package/dist/patterns/harness/index.cjs +48 -0
  252. package/dist/patterns/harness/index.d.cts +8 -0
  253. package/dist/patterns/harness/index.d.ts +8 -0
  254. package/dist/patterns/harness/index.js +1 -0
  255. package/dist/patterns/job-queue/index.cjs +6 -0
  256. package/dist/patterns/job-queue/index.d.cts +5 -0
  257. package/dist/patterns/job-queue/index.d.ts +5 -0
  258. package/dist/patterns/job-queue/index.js +1 -0
  259. package/dist/patterns/lens/index.cjs +6 -0
  260. package/dist/patterns/lens/index.d.cts +7 -0
  261. package/dist/patterns/lens/index.d.ts +7 -0
  262. package/dist/patterns/lens/index.js +1 -0
  263. package/dist/patterns/memory/index.cjs +6 -0
  264. package/dist/patterns/memory/index.d.cts +5 -0
  265. package/dist/patterns/memory/index.d.ts +5 -0
  266. package/dist/patterns/memory/index.js +1 -0
  267. package/dist/patterns/messaging/index.cjs +6 -0
  268. package/dist/patterns/messaging/index.d.cts +5 -0
  269. package/dist/patterns/messaging/index.d.ts +5 -0
  270. package/dist/patterns/messaging/index.js +1 -0
  271. package/dist/patterns/orchestration/index.cjs +6 -0
  272. package/dist/patterns/orchestration/index.d.cts +6 -0
  273. package/dist/patterns/orchestration/index.d.ts +6 -0
  274. package/dist/patterns/orchestration/index.js +1 -0
  275. package/dist/patterns/reactive-layout/index.cjs +7 -6444
  276. package/dist/patterns/reactive-layout/index.d.cts +6 -6
  277. package/dist/patterns/reactive-layout/index.d.ts +6 -6
  278. package/dist/patterns/reactive-layout/index.js +1 -56
  279. package/dist/patterns/reduction/index.cjs +6 -0
  280. package/dist/patterns/reduction/index.d.cts +5 -0
  281. package/dist/patterns/reduction/index.d.ts +5 -0
  282. package/dist/patterns/reduction/index.js +1 -0
  283. package/dist/patterns/refine-loop/index.cjs +8 -0
  284. package/dist/patterns/refine-loop/index.d.cts +7 -0
  285. package/dist/patterns/refine-loop/index.d.ts +7 -0
  286. package/dist/patterns/refine-loop/index.js +1 -0
  287. package/dist/patterns/resilient-pipeline/index.cjs +1 -0
  288. package/dist/patterns/resilient-pipeline/index.d.cts +7 -0
  289. package/dist/patterns/resilient-pipeline/index.d.ts +7 -0
  290. package/dist/patterns/resilient-pipeline/index.js +1 -0
  291. package/dist/patterns/surface/index.cjs +14 -0
  292. package/dist/patterns/surface/index.d.cts +8 -0
  293. package/dist/patterns/surface/index.d.ts +8 -0
  294. package/dist/patterns/surface/index.js +1 -0
  295. package/dist/{reactive-layout-MQP--J3F.d.cts → reactive-layout-CpYb5qLP.d.cts} +2 -2
  296. package/dist/{reactive-layout-u5Ulnqag.d.ts → reactive-layout-D8u4wuUR.d.ts} +2 -2
  297. package/dist/reactive-log-DPzuUDj5.d.cts +190 -0
  298. package/dist/reactive-log-YuH9VYN8.d.ts +190 -0
  299. package/dist/{composite-aUCvjZVR.d.ts → reactive-map-CdbNoSgP.d.ts} +2 -67
  300. package/dist/{composite-C7PcQvcs.d.cts → reactive-map-DUeRmb9d.d.cts} +2 -67
  301. package/dist/resilience-Ba5-b4WD.d.cts +493 -0
  302. package/dist/resilience-CGRzhnD3.d.ts +493 -0
  303. package/dist/resilience-QAHKANT5.js +1 -0
  304. package/dist/{sugar-D02n5JjF.d.cts → sugar-BV0htudb.d.cts} +8 -4
  305. package/dist/{sugar-CCOxXK1e.d.ts → sugar-Dtyrq2_q.d.ts} +8 -4
  306. package/dist/topology-tree-CYHOwQZ_.d.ts +25 -0
  307. package/dist/topology-tree-DROUdq5B.d.cts +25 -0
  308. package/dist/types-O3GzJY2U.d.cts +401 -0
  309. package/dist/types-u64Ose53.d.ts +401 -0
  310. package/package.json +252 -22
  311. package/dist/ai-CaR_912Q.d.cts +0 -1033
  312. package/dist/ai-WlRltJV7.d.ts +0 -1033
  313. package/dist/chunk-3ZWCKRHX.js +0 -117
  314. package/dist/chunk-3ZWCKRHX.js.map +0 -1
  315. package/dist/chunk-7TAQJHQV.js +0 -103
  316. package/dist/chunk-7TAQJHQV.js.map +0 -1
  317. package/dist/chunk-APFNLIRG.js +0 -62
  318. package/dist/chunk-APFNLIRG.js.map +0 -1
  319. package/dist/chunk-AT5LKYNL.js +0 -395
  320. package/dist/chunk-AT5LKYNL.js.map +0 -1
  321. package/dist/chunk-BQ6RQQFF.js +0 -5087
  322. package/dist/chunk-BQ6RQQFF.js.map +0 -1
  323. package/dist/chunk-BVZYTZ5H.js +0 -599
  324. package/dist/chunk-BVZYTZ5H.js.map +0 -1
  325. package/dist/chunk-DST5DKZS.js +0 -1371
  326. package/dist/chunk-DST5DKZS.js.map +0 -1
  327. package/dist/chunk-GTE6PWRZ.js +0 -866
  328. package/dist/chunk-GTE6PWRZ.js.map +0 -1
  329. package/dist/chunk-HXZEYDUR.js +0 -94
  330. package/dist/chunk-HXZEYDUR.js.map +0 -1
  331. package/dist/chunk-J22W6HV3.js +0 -107
  332. package/dist/chunk-J22W6HV3.js.map +0 -1
  333. package/dist/chunk-J2VBW3DZ.js +0 -302
  334. package/dist/chunk-J2VBW3DZ.js.map +0 -1
  335. package/dist/chunk-JSCT3CR4.js +0 -38
  336. package/dist/chunk-JSCT3CR4.js.map +0 -1
  337. package/dist/chunk-JWBCY4NC.js +0 -330
  338. package/dist/chunk-JWBCY4NC.js.map +0 -1
  339. package/dist/chunk-K2AUJHVP.js +0 -2251
  340. package/dist/chunk-K2AUJHVP.js.map +0 -1
  341. package/dist/chunk-MJ2NKQQL.js +0 -119
  342. package/dist/chunk-MJ2NKQQL.js.map +0 -1
  343. package/dist/chunk-N6UR7YVY.js +0 -198
  344. package/dist/chunk-N6UR7YVY.js.map +0 -1
  345. package/dist/chunk-NC6S43JJ.js +0 -456
  346. package/dist/chunk-NC6S43JJ.js.map +0 -1
  347. package/dist/chunk-OFVJBJXR.js +0 -98
  348. package/dist/chunk-OFVJBJXR.js.map +0 -1
  349. package/dist/chunk-OHISZPOJ.js +0 -97
  350. package/dist/chunk-OHISZPOJ.js.map +0 -1
  351. package/dist/chunk-OU5CQKNW.js +0 -102
  352. package/dist/chunk-OU5CQKNW.js.map +0 -1
  353. package/dist/chunk-PF7GRZMW.js +0 -2712
  354. package/dist/chunk-PF7GRZMW.js.map +0 -1
  355. package/dist/chunk-PHOUUNK7.js +0 -2291
  356. package/dist/chunk-PHOUUNK7.js.map +0 -1
  357. package/dist/chunk-RNHBMHKA.js +0 -1665
  358. package/dist/chunk-RNHBMHKA.js.map +0 -1
  359. package/dist/chunk-SX52TAR4.js +0 -110
  360. package/dist/chunk-SX52TAR4.js.map +0 -1
  361. package/dist/chunk-VYPWMZ6H.js +0 -98
  362. package/dist/chunk-VYPWMZ6H.js.map +0 -1
  363. package/dist/chunk-WBZOVTYK.js +0 -171
  364. package/dist/chunk-WBZOVTYK.js.map +0 -1
  365. package/dist/chunk-WKNUIZOY.js +0 -354
  366. package/dist/chunk-WKNUIZOY.js.map +0 -1
  367. package/dist/chunk-X3VMZYBT.js +0 -713
  368. package/dist/chunk-X3VMZYBT.js.map +0 -1
  369. package/dist/chunk-X5R3GL6H.js +0 -525
  370. package/dist/chunk-X5R3GL6H.js.map +0 -1
  371. package/dist/chunk-XGPU467M.js +0 -136
  372. package/dist/chunk-XGPU467M.js.map +0 -1
  373. package/dist/compat/index.cjs.map +0 -1
  374. package/dist/compat/index.js.map +0 -1
  375. package/dist/compat/jotai/index.cjs.map +0 -1
  376. package/dist/compat/jotai/index.js.map +0 -1
  377. package/dist/compat/nanostores/index.cjs.map +0 -1
  378. package/dist/compat/nanostores/index.js.map +0 -1
  379. package/dist/compat/nestjs/index.cjs.map +0 -1
  380. package/dist/compat/nestjs/index.js.map +0 -1
  381. package/dist/compat/react/index.cjs.map +0 -1
  382. package/dist/compat/react/index.js.map +0 -1
  383. package/dist/compat/solid/index.cjs.map +0 -1
  384. package/dist/compat/solid/index.js.map +0 -1
  385. package/dist/compat/svelte/index.cjs.map +0 -1
  386. package/dist/compat/svelte/index.js.map +0 -1
  387. package/dist/compat/vue/index.cjs.map +0 -1
  388. package/dist/compat/vue/index.js.map +0 -1
  389. package/dist/compat/zustand/index.cjs.map +0 -1
  390. package/dist/compat/zustand/index.js.map +0 -1
  391. package/dist/core/index.cjs.map +0 -1
  392. package/dist/core/index.js.map +0 -1
  393. package/dist/extra/index.cjs.map +0 -1
  394. package/dist/extra/index.js.map +0 -1
  395. package/dist/extra/sources.cjs.map +0 -1
  396. package/dist/extra/sources.js.map +0 -1
  397. package/dist/graph/index.cjs.map +0 -1
  398. package/dist/graph/index.js.map +0 -1
  399. package/dist/index.cjs.map +0 -1
  400. package/dist/index.js.map +0 -1
  401. package/dist/patterns/ai.cjs +0 -7930
  402. package/dist/patterns/ai.cjs.map +0 -1
  403. package/dist/patterns/ai.d.cts +0 -10
  404. package/dist/patterns/ai.d.ts +0 -10
  405. package/dist/patterns/ai.js +0 -71
  406. package/dist/patterns/ai.js.map +0 -1
  407. package/dist/patterns/audit.cjs +0 -5805
  408. package/dist/patterns/audit.cjs.map +0 -1
  409. package/dist/patterns/audit.d.cts +0 -6
  410. package/dist/patterns/audit.d.ts +0 -6
  411. package/dist/patterns/audit.js +0 -29
  412. package/dist/patterns/audit.js.map +0 -1
  413. package/dist/patterns/demo-shell.cjs +0 -5604
  414. package/dist/patterns/demo-shell.cjs.map +0 -1
  415. package/dist/patterns/demo-shell.d.cts +0 -6
  416. package/dist/patterns/demo-shell.d.ts +0 -6
  417. package/dist/patterns/demo-shell.js +0 -15
  418. package/dist/patterns/demo-shell.js.map +0 -1
  419. package/dist/patterns/memory.cjs +0 -5283
  420. package/dist/patterns/memory.cjs.map +0 -1
  421. package/dist/patterns/memory.d.cts +0 -5
  422. package/dist/patterns/memory.d.ts +0 -5
  423. package/dist/patterns/memory.js +0 -20
  424. package/dist/patterns/memory.js.map +0 -1
  425. package/dist/patterns/reactive-layout/index.cjs.map +0 -1
  426. package/dist/patterns/reactive-layout/index.js.map +0 -1
  427. package/dist/storage-CMjUUuxn.d.ts +0 -190
  428. package/dist/storage-DdWlZo6U.d.cts +0 -190
@@ -1,7 +1,14 @@
1
- export { A as AckableMessage, d as AdapterHandlers, B as BackoffPreset, e as BackoffStrategy, f as BatchMessage, g as BridgeMessage, h as BufferedSinkHandle, i as BundleTriad, j as CSVRow, k as CacheEvictionPolicy, l as CascadingCache, m as CascadingCacheOptions, n as CheckpointToRedisOptions, o as CheckpointToS3Options, p as CircuitBreaker, a as CircuitBreakerOptions, q as CircuitOpenError, C as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, D as DrizzleQueryLike, E as EmitTriad, v as ErrorMessage, w as ExponentialBackoffOptions, x as ExternalBundleOptions, y as ExternalRegister, z as FSEvent, G as FSEventType, F as FallbackInput, H as FileWriterLike, I as FromCSVOptions, J as FromClickHouseWatchOptions, K as FromDrizzleOptions, L as FromFSWatchOptions, M as FromGitHookOptions, O as FromHTTPOptions, P as FromHTTPPollOptions, Q as FromHTTPStreamOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSSEOptions, a3 as FromSqliteOptions, a4 as FromStatsDOptions, a5 as FromSyslogOptions, a6 as FromWebSocketReconnectOptions, a7 as GitEvent, a8 as GitHookType, a9 as HTTPBundle, aa as IndexBackend, ab as IndexRow, ac as InitMessage, ad as JitterMode, ae as KafkaConsumerLike, af as KafkaMessage, ag as KafkaProducerLike, ah as KyselyQueryLike, ai as ListBackend, aj as LogBackend, ak as LokiClientLike, al as LokiStream, am as MCPClientLike, an as MergeMapOptions, ao as MongoCollectionLike, ap as NATSClientLike, aq as NATSMessage, ar as NATSSubscriptionLike, N as NS_PER_MS, c as NS_PER_SEC, as as NativeIndexBackend, at as NativeListBackend, au as NativeLogBackend, av as NativePubSubBackend, aw as OTelBundle, ax as OTelLog, ay as OTelMetric, az as OTelRegister, aA as OTelSpan, aB as PostgresClientLike, aC as PrismaModelLike, aD as PrometheusMetric, aE as PubSubBackend, aF as PubSubHub, aG as PubSubHubOptions, aH as PulsarConsumerLike, aI as PulsarMessage, aJ as PulsarProducerLike, aK as RabbitMQChannelLike, aL as RabbitMQMessage, R as RateLimiterOptions, aM as RateLimiterOverflowError, aN as RateLimiterOverflowPolicy, aO as ReactiveIndexBundle, aP as ReactiveIndexOptions, aQ as ReactiveListBundle, aR as ReactiveListOptions, aS as ReactiveLogBundle, aT as ReactiveLogOptions, aU as ReactiveSinkBackpressureOptions, aV as ReactiveSinkConfig, aW as ReactiveSinkHandle, aX as ReactiveSinkOptions, aY as ReactiveSinkRetryOptions, aZ as ReadyMessage, a_ as RedisCheckpointClientLike, a$ as RedisClientLike, b0 as RedisStreamEntry, b1 as ResettableTimer, b as RetryOptions, b2 as RetrySourceOptions, b3 as S3ClientLike, b4 as SSEEvent, b5 as SignalMessage, b6 as SinkFailure, b7 as SinkHandle, b8 as SinkTransportError, b9 as SqliteDbLike, ba as SqliteIterableDbLike, bb as StatsDMetric, bc as StatsDRegister, S as StatusValue, bd as SyslogMessage, be as SyslogRegister, bf as TapObserver, bg as TempoClientLike, bh as ThrottleOptions, bi as TimeoutError, bj as ToCSVOptions, bk as ToClickHouseOptions, bl as ToFileOptions, bm as ToHTTPOptions, bn as ToKafkaOptions, bo as ToLokiOptions, bp as ToMongoOptions, bq as ToNATSOptions, br as ToPostgresOptions, bs as ToPulsarOptions, bt as ToRabbitMQOptions, bu as ToRedisStreamOptions, bv as ToS3Options, bw as ToSSEOptions, bx as ToSqliteOptions, by as ToTempoOptions, bz as ToWebSocketOptions, bA as TokenBucket, bB as UpsertOptions, bC as ValueMessage, bD as WatermarkController, bE as WatermarkOptions, bF as WebSocketLike, bG as WebSocketMessageEventLike, bH as WebSocketRegister, bI as WebhookRegister, bJ as WithBreakerBundle, bK as WithStatusBundle, bL as WorkerBridge, bM as WorkerBridgeOptions, bN as WorkerSelfHandle, bO as WorkerSelfOptions, bP as WorkerTransport, bQ as audit, bR as buffer, bS as bufferCount, bT as bufferTime, bU as cascadingCache, bV as catchError, bW as checkpointToRedis, bX as checkpointToS3, bY as circuitBreaker, bZ as combine, b_ as combineLatest, b$ as concat, c0 as concatMap, c1 as constant, c2 as createTransport, c3 as createWatermarkController, c4 as csvRows, c5 as debounce, c6 as debounceTime, c7 as decorrelatedJitter, c8 as delay, c9 as deserializeError, ca as distinctUntilChanged, cb as elementAt, cc as exhaustMap, cd as exponential, ce as externalBundle, cf as externalProducer, ch as fallback, ci as fibonacci, cj as filter, ck as find, cl as first, cm as flatMap, cn as fromCSV, co as fromClickHouseWatch, cp as fromDrizzle, cq as fromFSWatch, cr as fromGitHook, cs as fromHTTP, ct as fromHTTPPoll, cu as fromHTTPStream, cv as fromKafka, cw as fromKysely, cx as fromMCP, cy as fromNATS, cz as fromNDJSON, cA as fromOTel, cB as fromPrisma, cC as fromPrometheus, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSSE, cH as fromSqlite, cI as fromSqliteCursor, cJ as fromStatsD, cK as fromSyslog, cL as fromWebSocket, cM as fromWebSocketReconnect, cN as fromWebhook, cO as interval, cP as last, cQ as linear, cR as lru, cS as map, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as ndjsonRows, cY as pairwise, cZ as parseCron, c_ as parsePrometheusText, c$ as parseStatsD, d0 as parseSyslog, d1 as pausable, d2 as pubsub, d3 as race, d4 as rateLimiter, d5 as reactiveIndex, d6 as reactiveList, d7 as reactiveLog, d8 as reactiveSink, d9 as reduce, da as repeat, db as rescue, dc as resolveBackoffPreset, dd as retry, de as retrySource, df as sample, dg as scan, dh as serializeError, di as signalToName, dj as skip, dk as switchMap, dl as take, dm as takeUntil, dn as takeWhile, dp as tap, dq as throttle, dr as throttleTime, ds as timeout, dt as toCSV, du as toClickHouse, dv as toFile, dw as toHTTP, dx as toKafka, dy as toLoki, dz as toMongo, dA as toNATS, dB as toPostgres, dC as toPulsar, dD as toRabbitMQ, dE as toReadableStream, dF as toRedisStream, dG as toS3, dH as toSSE, dI as toSSEBytes, dJ as toSqlite, dK as toTempo, dL as toWebSocket, dM as tokenBucket, dN as valve, dO as window, dP as windowCount, dQ as windowTime, dR as withBreaker, dS as withLatestFrom, dT as withMaxAttempts, dU as withStatus, dV as workerBridge, dW as workerSelf, dX as zip } from '../index-BHlKbUwO.cjs';
2
- export { D as DistillBundle, a as DistillOptions, E as Extraction, M as MapBackend, N as NativeMapBackend, b as NativeMapBackendOptions, R as ReactiveMapBundle, c as ReactiveMapOptions, V as VerifiableBundle, d as VerifiableOptions, e as VerifyValue, f as distill, r as reactiveMap, v as verifiable } from '../composite-C7PcQvcs.cjs';
3
- export { T as ToObservableOptions, t as toObservable } from '../observable-DJt_AxzQ.cjs';
4
- export { AsyncSourceOpts, EventTargetLike, FromCronOptions, NodeInput, ReactiveCounterBundle, cached, empty, escapeRegexChar, firstValueFrom, firstWhere, forEach, fromAny, fromAsyncIter, fromCron, fromEvent, fromIter, fromPromise, fromRaf, fromTimer, globToRegExp, keepalive, matchesAnyPattern, never, of, reactiveCounter, replay, share, shareReplay, throwError, toArray } from './sources.cjs';
5
- export { I as IndexedDbStorageSpec, a as StorageHandle, S as StorageTier, d as dictStorage, f as fileStorage, b as fromIDBRequest, c as fromIDBTransaction, i as indexedDbStorage, m as memoryStorage, s as sqliteStorage } from '../storage-DdWlZo6U.cjs';
6
- import '../node-BmerH3kS.cjs';
1
+ export { A as AckableMessage, a as AdapterHandlers, B as BatchMessage, b as BridgeMessage, c as BufferedSinkHandle, d as BundleTriad, C as CSVRow, e as CacheEvictionPolicy, f as CascadingCache, g as CascadingCacheOptions, h as CheckpointToRedisOptions, i as CheckpointToS3Options, j as ClickHouseClientLike, k as ClickHouseInsertClientLike, l as ClickHouseRow, m as CronSchedule, D as DrizzleQueryLike, E as EmitTriad, n as ErrorMessage, o as ExternalBundleOptions, p as ExternalRegister, F as FileWriterLike, q as FromCSVOptions, r as FromClickHouseWatchOptions, s as FromDrizzleOptions, t as FromHTTPOptions, u as FromHTTPPollOptions, v as FromHTTPStreamOptions, w as FromKafkaOptions, x as FromKyselyOptions, y as FromMCPOptions, z as FromNATSOptions, G as FromNDJSONOptions, H as FromOTelOptions, I as FromPrismaOptions, J as FromPrometheusOptions, K as FromPulsarOptions, L as FromRabbitMQOptions, M as FromRedisStreamOptions, N as FromSSEOptions, O as FromSqliteOptions, P as FromStatsDOptions, Q as FromSyslogOptions, R as FromWebSocketReconnectOptions, S as HTTPBundle, T as InitMessage, U as KafkaConsumerLike, V as KafkaMessage, W as KafkaProducerLike, X as KyselyQueryLike, Y as LokiClientLike, Z as LokiStream, _ as MCPClientLike, $ as MongoCollectionLike, a0 as NATSClientLike, a1 as NATSMessage, a2 as NATSSubscriptionLike, a3 as NativePubSubBackend, a4 as OTelBundle, a5 as OTelLog, a6 as OTelMetric, a7 as OTelRegister, a8 as OTelSpan, a9 as PostgresClientLike, aa as PrismaModelLike, ab as PrometheusMetric, ac as PubSubBackend, ad as PubSubHub, ae as PubSubHubOptions, af as PulsarConsumerLike, ag as PulsarMessage, ah as PulsarProducerLike, ai as RabbitMQChannelLike, aj as RabbitMQMessage, ak as ReactiveSinkBackpressureOptions, al as ReactiveSinkConfig, am as ReactiveSinkHandle, an as ReactiveSinkOptions, ao as ReactiveSinkRetryOptions, ap as ReadyMessage, aq as RedisCheckpointClientLike, ar as RedisClientLike, as as RedisStreamEntry, at as ResettableTimer, au as S3ClientLike, av as SSEEvent, aw as SignalMessage, ax as SingleFromAnyOptions, ay as SinkFailure, az as SinkHandle, aA as SinkTransportError, aB as SqliteDbLike, aC as SqliteIterableDbLike, aD as StatsDMetric, aE as StatsDRegister, aF as StratifyOptions, aG as StratifyRule, aH as SyslogMessage, aI as SyslogRegister, aJ as TempoClientLike, aK as ToCSVOptions, aL as ToClickHouseOptions, aM as ToFileOptions, aN as ToHTTPOptions, aO as ToKafkaOptions, aP as ToLokiOptions, aQ as ToMongoOptions, aR as ToNATSOptions, aS as ToPostgresOptions, aT as ToPulsarOptions, aU as ToRabbitMQOptions, aV as ToRedisStreamOptions, aW as ToS3Options, aX as ToSSEOptions, aY as ToSqliteOptions, aZ as ToTempoOptions, a_ as ToWebSocketOptions, a$ as ValueMessage, b0 as WatermarkController, b1 as WatermarkOptions, b2 as WebSocketLike, b3 as WebSocketMessageEventLike, b4 as WebSocketRegister, b5 as WebhookRegister, b6 as WorkerBridge, b7 as WorkerBridgeOptions, b8 as WorkerSelfHandle, b9 as WorkerSelfOptions, ba as WorkerTransport, bb as cascadingCache, bc as checkpointToRedis, bd as checkpointToS3, be as createTransport, bf as createWatermarkController, bg as csvRows, bh as deserializeError, bi as externalBundle, bj as externalProducer, bl as fromCSV, bm as fromClickHouseWatch, bn as fromDrizzle, bo as fromHTTP, bp as fromHTTPPoll, bq as fromHTTPStream, br as fromKafka, bs as fromKysely, bt as fromMCP, bu as fromNATS, bv as fromNDJSON, bw as fromOTel, bx as fromPrisma, by as fromPrometheus, bz as fromPulsar, bA as fromRabbitMQ, bB as fromRedisStream, bC as fromSSE, bD as fromSqlite, bE as fromSqliteCursor, bF as fromStatsD, bG as fromSyslog, bH as fromWebSocket, bI as fromWebSocketReconnect, bJ as fromWebhook, bK as lru, bL as matchesCron, bM as nameToSignal, bN as ndjsonRows, bO as parseCron, bP as parsePrometheusText, bQ as parseStatsD, bR as parseSyslog, bS as pubsub, bT as reactiveSink, bU as serializeError, bV as signalToName, bW as singleFromAny, bX as singleNodeFromAny, bY as stratify, bZ as toCSV, b_ as toClickHouse, b$ as toFile, c0 as toHTTP, c1 as toKafka, c2 as toLoki, c3 as toMongo, c4 as toNATS, c5 as toPostgres, c6 as toPulsar, c7 as toRabbitMQ, c8 as toReadableStream, c9 as toRedisStream, ca as toS3, cb as toSSE, cc as toSSEBytes, cd as toSqlite, ce as toTempo, cf as toWebSocket, cg as workerBridge, ch as workerSelf } from '../index-DUqMOlKZ.cjs';
2
+ export { B as BackoffPreset, d as BackoffStrategy, e as CircuitBreaker, a as CircuitBreakerOptions, f as CircuitOpenError, C as CircuitState, E as ExponentialBackoffOptions, F as FallbackInput, J as JitterMode, N as NS_PER_MS, c as NS_PER_SEC, R as RateLimiterOptions, g as RateLimiterOverflowError, h as RateLimiterOverflowPolicy, b as RetryOptions, i as RetrySourceOptions, S as StatusValue, T as TimeoutError, j as TokenBucket, W as WithBreakerBundle, k as WithStatusBundle, l as circuitBreaker, m as constant, n as decorrelatedJitter, o as exponential, p as fallback, q as fibonacci, r as linear, s as rateLimiter, t as resolveBackoffPreset, u as retry, v as retrySource, w as timeout, x as tokenBucket, y as withBreaker, z as withMaxAttempts, A as withStatus } from '../resilience-Ba5-b4WD.cjs';
3
+ export { D as DistillBundle, a as DistillOptions, E as Extraction, V as VerifiableBundle, b as VerifiableOptions, c as VerifyValue, d as distill, v as verifiable } from '../composite-B-xqw4Kk.cjs';
4
+ export { T as ToObservableOptions, t as toObservable } from '../observable-glXQoGj2.cjs';
5
+ export { MergeMapOptions, TapObserver, ThrottleOptions, audit, buffer, bufferCount, bufferTime, catchError, combine, combineLatest, concat, concatMap, debounce, debounceTime, delay, distinctUntilChanged, elementAt, exhaustMap, filter, find, first, flatMap, interval, last, map, merge, mergeMap, pairwise, pausable, race, reduce, repeat, rescue, sample, scan, skip, switchMap, take, takeUntil, takeWhile, tap, throttle, throttleTime, valve, window, windowCount, windowTime, withLatestFrom, zip } from './operators.cjs';
6
+ export { IndexBackend, IndexRow, ListBackend, NativeIndexBackend, NativeListBackend, ReactiveIndexBundle, ReactiveIndexOptions, ReactiveListBundle, ReactiveListOptions, UpsertOptions, reactiveIndex, reactiveList } from './reactive.cjs';
7
+ export { L as LogBackend, N as NativeLogBackend, R as ReactiveLogBundle, a as ReactiveLogOptions, r as reactiveLog } from '../reactive-log-DPzuUDj5.cjs';
8
+ export { M as MapBackend, N as NativeMapBackend, b as NativeMapBackendOptions, R as ReactiveMapBundle, a as ReactiveMapOptions, r as reactiveMap } from '../reactive-map-DUeRmb9d.cjs';
9
+ export { AsyncSourceOpts, EventTargetLike, FromCronOptions, NodeInput, ReactiveCounterBundle, awaitSettled, cached, empty, escapeRegexChar, firstValueFrom, firstWhere, forEach, fromAny, fromAsyncIter, fromCron, fromEvent, fromIter, fromPromise, fromRaf, fromTimer, globToRegExp, keepalive, matchesAnyPattern, never, of, reactiveCounter, replay, share, shareReplay, throwError, toArray } from './sources.cjs';
10
+ export { StorageHandle, StorageTier, dictStorage, memoryStorage, sortJsonValue, stableJsonString } from './storage-core.cjs';
11
+ import '../node-Cc1TniY8.cjs';
12
+ import '../graph-D48Qw9Cg.cjs';
13
+ import '../meta-Cgj6zeji.cjs';
7
14
  import 'rxjs';
@@ -1,7 +1,14 @@
1
- export { A as AckableMessage, d as AdapterHandlers, B as BackoffPreset, e as BackoffStrategy, f as BatchMessage, g as BridgeMessage, h as BufferedSinkHandle, i as BundleTriad, j as CSVRow, k as CacheEvictionPolicy, l as CascadingCache, m as CascadingCacheOptions, n as CheckpointToRedisOptions, o as CheckpointToS3Options, p as CircuitBreaker, a as CircuitBreakerOptions, q as CircuitOpenError, C as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, D as DrizzleQueryLike, E as EmitTriad, v as ErrorMessage, w as ExponentialBackoffOptions, x as ExternalBundleOptions, y as ExternalRegister, z as FSEvent, G as FSEventType, F as FallbackInput, H as FileWriterLike, I as FromCSVOptions, J as FromClickHouseWatchOptions, K as FromDrizzleOptions, L as FromFSWatchOptions, M as FromGitHookOptions, O as FromHTTPOptions, P as FromHTTPPollOptions, Q as FromHTTPStreamOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSSEOptions, a3 as FromSqliteOptions, a4 as FromStatsDOptions, a5 as FromSyslogOptions, a6 as FromWebSocketReconnectOptions, a7 as GitEvent, a8 as GitHookType, a9 as HTTPBundle, aa as IndexBackend, ab as IndexRow, ac as InitMessage, ad as JitterMode, ae as KafkaConsumerLike, af as KafkaMessage, ag as KafkaProducerLike, ah as KyselyQueryLike, ai as ListBackend, aj as LogBackend, ak as LokiClientLike, al as LokiStream, am as MCPClientLike, an as MergeMapOptions, ao as MongoCollectionLike, ap as NATSClientLike, aq as NATSMessage, ar as NATSSubscriptionLike, N as NS_PER_MS, c as NS_PER_SEC, as as NativeIndexBackend, at as NativeListBackend, au as NativeLogBackend, av as NativePubSubBackend, aw as OTelBundle, ax as OTelLog, ay as OTelMetric, az as OTelRegister, aA as OTelSpan, aB as PostgresClientLike, aC as PrismaModelLike, aD as PrometheusMetric, aE as PubSubBackend, aF as PubSubHub, aG as PubSubHubOptions, aH as PulsarConsumerLike, aI as PulsarMessage, aJ as PulsarProducerLike, aK as RabbitMQChannelLike, aL as RabbitMQMessage, R as RateLimiterOptions, aM as RateLimiterOverflowError, aN as RateLimiterOverflowPolicy, aO as ReactiveIndexBundle, aP as ReactiveIndexOptions, aQ as ReactiveListBundle, aR as ReactiveListOptions, aS as ReactiveLogBundle, aT as ReactiveLogOptions, aU as ReactiveSinkBackpressureOptions, aV as ReactiveSinkConfig, aW as ReactiveSinkHandle, aX as ReactiveSinkOptions, aY as ReactiveSinkRetryOptions, aZ as ReadyMessage, a_ as RedisCheckpointClientLike, a$ as RedisClientLike, b0 as RedisStreamEntry, b1 as ResettableTimer, b as RetryOptions, b2 as RetrySourceOptions, b3 as S3ClientLike, b4 as SSEEvent, b5 as SignalMessage, b6 as SinkFailure, b7 as SinkHandle, b8 as SinkTransportError, b9 as SqliteDbLike, ba as SqliteIterableDbLike, bb as StatsDMetric, bc as StatsDRegister, S as StatusValue, bd as SyslogMessage, be as SyslogRegister, bf as TapObserver, bg as TempoClientLike, bh as ThrottleOptions, bi as TimeoutError, bj as ToCSVOptions, bk as ToClickHouseOptions, bl as ToFileOptions, bm as ToHTTPOptions, bn as ToKafkaOptions, bo as ToLokiOptions, bp as ToMongoOptions, bq as ToNATSOptions, br as ToPostgresOptions, bs as ToPulsarOptions, bt as ToRabbitMQOptions, bu as ToRedisStreamOptions, bv as ToS3Options, bw as ToSSEOptions, bx as ToSqliteOptions, by as ToTempoOptions, bz as ToWebSocketOptions, bA as TokenBucket, bB as UpsertOptions, bC as ValueMessage, bD as WatermarkController, bE as WatermarkOptions, bF as WebSocketLike, bG as WebSocketMessageEventLike, bH as WebSocketRegister, bI as WebhookRegister, bJ as WithBreakerBundle, bK as WithStatusBundle, bL as WorkerBridge, bM as WorkerBridgeOptions, bN as WorkerSelfHandle, bO as WorkerSelfOptions, bP as WorkerTransport, bQ as audit, bR as buffer, bS as bufferCount, bT as bufferTime, bU as cascadingCache, bV as catchError, bW as checkpointToRedis, bX as checkpointToS3, bY as circuitBreaker, bZ as combine, b_ as combineLatest, b$ as concat, c0 as concatMap, c1 as constant, c2 as createTransport, c3 as createWatermarkController, c4 as csvRows, c5 as debounce, c6 as debounceTime, c7 as decorrelatedJitter, c8 as delay, c9 as deserializeError, ca as distinctUntilChanged, cb as elementAt, cc as exhaustMap, cd as exponential, ce as externalBundle, cf as externalProducer, ch as fallback, ci as fibonacci, cj as filter, ck as find, cl as first, cm as flatMap, cn as fromCSV, co as fromClickHouseWatch, cp as fromDrizzle, cq as fromFSWatch, cr as fromGitHook, cs as fromHTTP, ct as fromHTTPPoll, cu as fromHTTPStream, cv as fromKafka, cw as fromKysely, cx as fromMCP, cy as fromNATS, cz as fromNDJSON, cA as fromOTel, cB as fromPrisma, cC as fromPrometheus, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSSE, cH as fromSqlite, cI as fromSqliteCursor, cJ as fromStatsD, cK as fromSyslog, cL as fromWebSocket, cM as fromWebSocketReconnect, cN as fromWebhook, cO as interval, cP as last, cQ as linear, cR as lru, cS as map, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as ndjsonRows, cY as pairwise, cZ as parseCron, c_ as parsePrometheusText, c$ as parseStatsD, d0 as parseSyslog, d1 as pausable, d2 as pubsub, d3 as race, d4 as rateLimiter, d5 as reactiveIndex, d6 as reactiveList, d7 as reactiveLog, d8 as reactiveSink, d9 as reduce, da as repeat, db as rescue, dc as resolveBackoffPreset, dd as retry, de as retrySource, df as sample, dg as scan, dh as serializeError, di as signalToName, dj as skip, dk as switchMap, dl as take, dm as takeUntil, dn as takeWhile, dp as tap, dq as throttle, dr as throttleTime, ds as timeout, dt as toCSV, du as toClickHouse, dv as toFile, dw as toHTTP, dx as toKafka, dy as toLoki, dz as toMongo, dA as toNATS, dB as toPostgres, dC as toPulsar, dD as toRabbitMQ, dE as toReadableStream, dF as toRedisStream, dG as toS3, dH as toSSE, dI as toSSEBytes, dJ as toSqlite, dK as toTempo, dL as toWebSocket, dM as tokenBucket, dN as valve, dO as window, dP as windowCount, dQ as windowTime, dR as withBreaker, dS as withLatestFrom, dT as withMaxAttempts, dU as withStatus, dV as workerBridge, dW as workerSelf, dX as zip } from '../index-BwfLUNw4.js';
2
- export { D as DistillBundle, a as DistillOptions, E as Extraction, M as MapBackend, N as NativeMapBackend, b as NativeMapBackendOptions, R as ReactiveMapBundle, c as ReactiveMapOptions, V as VerifiableBundle, d as VerifiableOptions, e as VerifyValue, f as distill, r as reactiveMap, v as verifiable } from '../composite-aUCvjZVR.js';
3
- export { T as ToObservableOptions, t as toObservable } from '../observable-BgGUwcqp.js';
4
- export { AsyncSourceOpts, EventTargetLike, FromCronOptions, NodeInput, ReactiveCounterBundle, cached, empty, escapeRegexChar, firstValueFrom, firstWhere, forEach, fromAny, fromAsyncIter, fromCron, fromEvent, fromIter, fromPromise, fromRaf, fromTimer, globToRegExp, keepalive, matchesAnyPattern, never, of, reactiveCounter, replay, share, shareReplay, throwError, toArray } from './sources.js';
5
- export { I as IndexedDbStorageSpec, a as StorageHandle, S as StorageTier, d as dictStorage, f as fileStorage, b as fromIDBRequest, c as fromIDBTransaction, i as indexedDbStorage, m as memoryStorage, s as sqliteStorage } from '../storage-CMjUUuxn.js';
6
- import '../node-BmerH3kS.js';
1
+ export { A as AckableMessage, a as AdapterHandlers, B as BatchMessage, b as BridgeMessage, c as BufferedSinkHandle, d as BundleTriad, C as CSVRow, e as CacheEvictionPolicy, f as CascadingCache, g as CascadingCacheOptions, h as CheckpointToRedisOptions, i as CheckpointToS3Options, j as ClickHouseClientLike, k as ClickHouseInsertClientLike, l as ClickHouseRow, m as CronSchedule, D as DrizzleQueryLike, E as EmitTriad, n as ErrorMessage, o as ExternalBundleOptions, p as ExternalRegister, F as FileWriterLike, q as FromCSVOptions, r as FromClickHouseWatchOptions, s as FromDrizzleOptions, t as FromHTTPOptions, u as FromHTTPPollOptions, v as FromHTTPStreamOptions, w as FromKafkaOptions, x as FromKyselyOptions, y as FromMCPOptions, z as FromNATSOptions, G as FromNDJSONOptions, H as FromOTelOptions, I as FromPrismaOptions, J as FromPrometheusOptions, K as FromPulsarOptions, L as FromRabbitMQOptions, M as FromRedisStreamOptions, N as FromSSEOptions, O as FromSqliteOptions, P as FromStatsDOptions, Q as FromSyslogOptions, R as FromWebSocketReconnectOptions, S as HTTPBundle, T as InitMessage, U as KafkaConsumerLike, V as KafkaMessage, W as KafkaProducerLike, X as KyselyQueryLike, Y as LokiClientLike, Z as LokiStream, _ as MCPClientLike, $ as MongoCollectionLike, a0 as NATSClientLike, a1 as NATSMessage, a2 as NATSSubscriptionLike, a3 as NativePubSubBackend, a4 as OTelBundle, a5 as OTelLog, a6 as OTelMetric, a7 as OTelRegister, a8 as OTelSpan, a9 as PostgresClientLike, aa as PrismaModelLike, ab as PrometheusMetric, ac as PubSubBackend, ad as PubSubHub, ae as PubSubHubOptions, af as PulsarConsumerLike, ag as PulsarMessage, ah as PulsarProducerLike, ai as RabbitMQChannelLike, aj as RabbitMQMessage, ak as ReactiveSinkBackpressureOptions, al as ReactiveSinkConfig, am as ReactiveSinkHandle, an as ReactiveSinkOptions, ao as ReactiveSinkRetryOptions, ap as ReadyMessage, aq as RedisCheckpointClientLike, ar as RedisClientLike, as as RedisStreamEntry, at as ResettableTimer, au as S3ClientLike, av as SSEEvent, aw as SignalMessage, ax as SingleFromAnyOptions, ay as SinkFailure, az as SinkHandle, aA as SinkTransportError, aB as SqliteDbLike, aC as SqliteIterableDbLike, aD as StatsDMetric, aE as StatsDRegister, aF as StratifyOptions, aG as StratifyRule, aH as SyslogMessage, aI as SyslogRegister, aJ as TempoClientLike, aK as ToCSVOptions, aL as ToClickHouseOptions, aM as ToFileOptions, aN as ToHTTPOptions, aO as ToKafkaOptions, aP as ToLokiOptions, aQ as ToMongoOptions, aR as ToNATSOptions, aS as ToPostgresOptions, aT as ToPulsarOptions, aU as ToRabbitMQOptions, aV as ToRedisStreamOptions, aW as ToS3Options, aX as ToSSEOptions, aY as ToSqliteOptions, aZ as ToTempoOptions, a_ as ToWebSocketOptions, a$ as ValueMessage, b0 as WatermarkController, b1 as WatermarkOptions, b2 as WebSocketLike, b3 as WebSocketMessageEventLike, b4 as WebSocketRegister, b5 as WebhookRegister, b6 as WorkerBridge, b7 as WorkerBridgeOptions, b8 as WorkerSelfHandle, b9 as WorkerSelfOptions, ba as WorkerTransport, bb as cascadingCache, bc as checkpointToRedis, bd as checkpointToS3, be as createTransport, bf as createWatermarkController, bg as csvRows, bh as deserializeError, bi as externalBundle, bj as externalProducer, bl as fromCSV, bm as fromClickHouseWatch, bn as fromDrizzle, bo as fromHTTP, bp as fromHTTPPoll, bq as fromHTTPStream, br as fromKafka, bs as fromKysely, bt as fromMCP, bu as fromNATS, bv as fromNDJSON, bw as fromOTel, bx as fromPrisma, by as fromPrometheus, bz as fromPulsar, bA as fromRabbitMQ, bB as fromRedisStream, bC as fromSSE, bD as fromSqlite, bE as fromSqliteCursor, bF as fromStatsD, bG as fromSyslog, bH as fromWebSocket, bI as fromWebSocketReconnect, bJ as fromWebhook, bK as lru, bL as matchesCron, bM as nameToSignal, bN as ndjsonRows, bO as parseCron, bP as parsePrometheusText, bQ as parseStatsD, bR as parseSyslog, bS as pubsub, bT as reactiveSink, bU as serializeError, bV as signalToName, bW as singleFromAny, bX as singleNodeFromAny, bY as stratify, bZ as toCSV, b_ as toClickHouse, b$ as toFile, c0 as toHTTP, c1 as toKafka, c2 as toLoki, c3 as toMongo, c4 as toNATS, c5 as toPostgres, c6 as toPulsar, c7 as toRabbitMQ, c8 as toReadableStream, c9 as toRedisStream, ca as toS3, cb as toSSE, cc as toSSEBytes, cd as toSqlite, ce as toTempo, cf as toWebSocket, cg as workerBridge, ch as workerSelf } from '../index-ZftwfxJM.js';
2
+ export { B as BackoffPreset, d as BackoffStrategy, e as CircuitBreaker, a as CircuitBreakerOptions, f as CircuitOpenError, C as CircuitState, E as ExponentialBackoffOptions, F as FallbackInput, J as JitterMode, N as NS_PER_MS, c as NS_PER_SEC, R as RateLimiterOptions, g as RateLimiterOverflowError, h as RateLimiterOverflowPolicy, b as RetryOptions, i as RetrySourceOptions, S as StatusValue, T as TimeoutError, j as TokenBucket, W as WithBreakerBundle, k as WithStatusBundle, l as circuitBreaker, m as constant, n as decorrelatedJitter, o as exponential, p as fallback, q as fibonacci, r as linear, s as rateLimiter, t as resolveBackoffPreset, u as retry, v as retrySource, w as timeout, x as tokenBucket, y as withBreaker, z as withMaxAttempts, A as withStatus } from '../resilience-CGRzhnD3.js';
3
+ export { D as DistillBundle, a as DistillOptions, E as Extraction, V as VerifiableBundle, b as VerifiableOptions, c as VerifyValue, d as distill, v as verifiable } from '../composite-BhbKHbOS.js';
4
+ export { T as ToObservableOptions, t as toObservable } from '../observable-Ct-gJ9jI.js';
5
+ export { MergeMapOptions, TapObserver, ThrottleOptions, audit, buffer, bufferCount, bufferTime, catchError, combine, combineLatest, concat, concatMap, debounce, debounceTime, delay, distinctUntilChanged, elementAt, exhaustMap, filter, find, first, flatMap, interval, last, map, merge, mergeMap, pairwise, pausable, race, reduce, repeat, rescue, sample, scan, skip, switchMap, take, takeUntil, takeWhile, tap, throttle, throttleTime, valve, window, windowCount, windowTime, withLatestFrom, zip } from './operators.js';
6
+ export { IndexBackend, IndexRow, ListBackend, NativeIndexBackend, NativeListBackend, ReactiveIndexBundle, ReactiveIndexOptions, ReactiveListBundle, ReactiveListOptions, UpsertOptions, reactiveIndex, reactiveList } from './reactive.js';
7
+ export { L as LogBackend, N as NativeLogBackend, R as ReactiveLogBundle, a as ReactiveLogOptions, r as reactiveLog } from '../reactive-log-YuH9VYN8.js';
8
+ export { M as MapBackend, N as NativeMapBackend, b as NativeMapBackendOptions, R as ReactiveMapBundle, a as ReactiveMapOptions, r as reactiveMap } from '../reactive-map-CdbNoSgP.js';
9
+ export { AsyncSourceOpts, EventTargetLike, FromCronOptions, NodeInput, ReactiveCounterBundle, awaitSettled, cached, empty, escapeRegexChar, firstValueFrom, firstWhere, forEach, fromAny, fromAsyncIter, fromCron, fromEvent, fromIter, fromPromise, fromRaf, fromTimer, globToRegExp, keepalive, matchesAnyPattern, never, of, reactiveCounter, replay, share, shareReplay, throwError, toArray } from './sources.js';
10
+ export { StorageHandle, StorageTier, dictStorage, memoryStorage, sortJsonValue, stableJsonString } from './storage-core.js';
11
+ import '../node-Cc1TniY8.js';
12
+ import '../graph-BZGRXwOm.js';
13
+ import '../meta-CwesDrMD.js';
7
14
  import 'rxjs';
@@ -1,381 +1 @@
1
- import {
2
- CircuitOpenError,
3
- NativeIndexBackend,
4
- NativePubSubBackend,
5
- RateLimiterOverflowError,
6
- TimeoutError,
7
- cascadingCache,
8
- checkpointToRedis,
9
- checkpointToS3,
10
- circuitBreaker,
11
- createTransport,
12
- csvRows,
13
- deserializeError,
14
- dictStorage,
15
- externalBundle,
16
- externalProducer,
17
- fallback,
18
- fileStorage,
19
- fromCSV,
20
- fromClickHouseWatch,
21
- fromDrizzle,
22
- fromFSWatch,
23
- fromGitHook,
24
- fromHTTP,
25
- fromHTTPPoll,
26
- fromHTTPStream,
27
- fromIDBRequest,
28
- fromIDBTransaction,
29
- fromKafka,
30
- fromKysely,
31
- fromMCP,
32
- fromNATS,
33
- fromNDJSON,
34
- fromOTel,
35
- fromPrisma,
36
- fromPrometheus,
37
- fromPulsar,
38
- fromRabbitMQ,
39
- fromRedisStream,
40
- fromSSE,
41
- fromSqlite,
42
- fromSqliteCursor,
43
- fromStatsD,
44
- fromSyslog,
45
- fromWebSocket,
46
- fromWebSocketReconnect,
47
- fromWebhook,
48
- indexedDbStorage,
49
- lru,
50
- memoryStorage,
51
- nameToSignal,
52
- ndjsonRows,
53
- parsePrometheusText,
54
- parseStatsD,
55
- parseSyslog,
56
- pubsub,
57
- rateLimiter,
58
- reactiveIndex,
59
- reactiveSink,
60
- retry,
61
- retrySource,
62
- serializeError,
63
- signalToName,
64
- sqliteStorage,
65
- timeout,
66
- toCSV,
67
- toClickHouse,
68
- toFile,
69
- toHTTP,
70
- toKafka,
71
- toLoki,
72
- toMongo,
73
- toNATS,
74
- toPostgres,
75
- toPulsar,
76
- toRabbitMQ,
77
- toReadableStream,
78
- toRedisStream,
79
- toS3,
80
- toSSE,
81
- toSSEBytes,
82
- toSqlite,
83
- toTempo,
84
- toWebSocket,
85
- tokenBucket,
86
- withBreaker,
87
- withStatus,
88
- workerBridge,
89
- workerSelf
90
- } from "../chunk-BQ6RQQFF.js";
91
- import {
92
- createWatermarkController,
93
- toObservable
94
- } from "../chunk-OFVJBJXR.js";
95
- import {
96
- NS_PER_MS,
97
- NS_PER_SEC,
98
- audit,
99
- buffer,
100
- bufferCount,
101
- bufferTime,
102
- catchError,
103
- combine,
104
- combineLatest,
105
- concat,
106
- concatMap,
107
- constant,
108
- debounce,
109
- debounceTime,
110
- decorrelatedJitter,
111
- delay,
112
- distill,
113
- distinctUntilChanged,
114
- elementAt,
115
- exhaustMap,
116
- exponential,
117
- fibonacci,
118
- filter,
119
- find,
120
- first,
121
- flatMap,
122
- interval,
123
- last,
124
- linear,
125
- map,
126
- merge,
127
- mergeMap,
128
- pairwise,
129
- pausable,
130
- race,
131
- reduce,
132
- repeat,
133
- rescue,
134
- resolveBackoffPreset,
135
- sample,
136
- scan,
137
- skip,
138
- switchMap,
139
- take,
140
- takeUntil,
141
- takeWhile,
142
- tap,
143
- throttle,
144
- throttleTime,
145
- valve,
146
- verifiable,
147
- window,
148
- windowCount,
149
- windowTime,
150
- withLatestFrom,
151
- withMaxAttempts,
152
- zip
153
- } from "../chunk-RNHBMHKA.js";
154
- import {
155
- NativeListBackend,
156
- NativeMapBackend,
157
- reactiveList,
158
- reactiveMap
159
- } from "../chunk-WKNUIZOY.js";
160
- import {
161
- NativeLogBackend,
162
- reactiveLog
163
- } from "../chunk-J2VBW3DZ.js";
164
- import {
165
- cached,
166
- empty,
167
- escapeRegexChar,
168
- firstValueFrom,
169
- firstWhere,
170
- forEach,
171
- fromAny,
172
- fromAsyncIter,
173
- fromCron,
174
- fromEvent,
175
- fromIter,
176
- fromPromise,
177
- fromRaf,
178
- fromTimer,
179
- globToRegExp,
180
- keepalive,
181
- matchesAnyPattern,
182
- matchesCron,
183
- never,
184
- of,
185
- parseCron,
186
- reactiveCounter,
187
- replay,
188
- share,
189
- shareReplay,
190
- throwError,
191
- toArray
192
- } from "../chunk-BVZYTZ5H.js";
193
- import {
194
- ResettableTimer
195
- } from "../chunk-7TAQJHQV.js";
196
- import "../chunk-PHOUUNK7.js";
197
- import "../chunk-SX52TAR4.js";
198
- export {
199
- CircuitOpenError,
200
- NS_PER_MS,
201
- NS_PER_SEC,
202
- NativeIndexBackend,
203
- NativeListBackend,
204
- NativeLogBackend,
205
- NativeMapBackend,
206
- NativePubSubBackend,
207
- RateLimiterOverflowError,
208
- ResettableTimer,
209
- TimeoutError,
210
- audit,
211
- buffer,
212
- bufferCount,
213
- bufferTime,
214
- cached,
215
- cascadingCache,
216
- catchError,
217
- checkpointToRedis,
218
- checkpointToS3,
219
- circuitBreaker,
220
- combine,
221
- combineLatest,
222
- concat,
223
- concatMap,
224
- constant,
225
- createTransport,
226
- createWatermarkController,
227
- csvRows,
228
- debounce,
229
- debounceTime,
230
- decorrelatedJitter,
231
- delay,
232
- deserializeError,
233
- dictStorage,
234
- distill,
235
- distinctUntilChanged,
236
- elementAt,
237
- empty,
238
- escapeRegexChar,
239
- exhaustMap,
240
- exponential,
241
- externalBundle,
242
- externalProducer,
243
- fallback,
244
- fibonacci,
245
- fileStorage,
246
- filter,
247
- find,
248
- first,
249
- firstValueFrom,
250
- firstWhere,
251
- flatMap,
252
- forEach,
253
- fromAny,
254
- fromAsyncIter,
255
- fromCSV,
256
- fromClickHouseWatch,
257
- fromCron,
258
- fromDrizzle,
259
- fromEvent,
260
- fromFSWatch,
261
- fromGitHook,
262
- fromHTTP,
263
- fromHTTPPoll,
264
- fromHTTPStream,
265
- fromIDBRequest,
266
- fromIDBTransaction,
267
- fromIter,
268
- fromKafka,
269
- fromKysely,
270
- fromMCP,
271
- fromNATS,
272
- fromNDJSON,
273
- fromOTel,
274
- fromPrisma,
275
- fromPrometheus,
276
- fromPromise,
277
- fromPulsar,
278
- fromRabbitMQ,
279
- fromRaf,
280
- fromRedisStream,
281
- fromSSE,
282
- fromSqlite,
283
- fromSqliteCursor,
284
- fromStatsD,
285
- fromSyslog,
286
- fromTimer,
287
- fromWebSocket,
288
- fromWebSocketReconnect,
289
- fromWebhook,
290
- globToRegExp,
291
- indexedDbStorage,
292
- interval,
293
- keepalive,
294
- last,
295
- linear,
296
- lru,
297
- map,
298
- matchesAnyPattern,
299
- matchesCron,
300
- memoryStorage,
301
- merge,
302
- mergeMap,
303
- nameToSignal,
304
- ndjsonRows,
305
- never,
306
- of,
307
- pairwise,
308
- parseCron,
309
- parsePrometheusText,
310
- parseStatsD,
311
- parseSyslog,
312
- pausable,
313
- pubsub,
314
- race,
315
- rateLimiter,
316
- reactiveCounter,
317
- reactiveIndex,
318
- reactiveList,
319
- reactiveLog,
320
- reactiveMap,
321
- reactiveSink,
322
- reduce,
323
- repeat,
324
- replay,
325
- rescue,
326
- resolveBackoffPreset,
327
- retry,
328
- retrySource,
329
- sample,
330
- scan,
331
- serializeError,
332
- share,
333
- shareReplay,
334
- signalToName,
335
- skip,
336
- sqliteStorage,
337
- switchMap,
338
- take,
339
- takeUntil,
340
- takeWhile,
341
- tap,
342
- throttle,
343
- throttleTime,
344
- throwError,
345
- timeout,
346
- toArray,
347
- toCSV,
348
- toClickHouse,
349
- toFile,
350
- toHTTP,
351
- toKafka,
352
- toLoki,
353
- toMongo,
354
- toNATS,
355
- toObservable,
356
- toPostgres,
357
- toPulsar,
358
- toRabbitMQ,
359
- toReadableStream,
360
- toRedisStream,
361
- toS3,
362
- toSSE,
363
- toSSEBytes,
364
- toSqlite,
365
- toTempo,
366
- toWebSocket,
367
- tokenBucket,
368
- valve,
369
- verifiable,
370
- window,
371
- windowCount,
372
- windowTime,
373
- withBreaker,
374
- withLatestFrom,
375
- withMaxAttempts,
376
- withStatus,
377
- workerBridge,
378
- workerSelf,
379
- zip
380
- };
381
- //# sourceMappingURL=index.js.map
1
+ import{$ as Tb,A as sb,B as tb,C as ub,D as vb,E as wb,F as xb,G as yb,H as zb,I as Ab,J as Bb,K as Cb,L as Db,M as Eb,N as Fb,O as Gb,P as Hb,Q as Ib,R as Jb,S as Kb,T as Lb,U as Mb,V as Nb,W as Ob,X as Pb,Y as Qb,Z as Rb,_ as Sb,a as aa,aa as Ub,b as ba,ba as Vb,c as Wa,ca as _b,d as Xa,da as $b,e as Ya,ea as lc,f as Za,fa as mc,g as _a,ga as nc,h as $a,ha as oc,i as ab,ia as pc,j as bb,ja as qc,k as cb,ka as rc,l as db,m as eb,n as fb,o as gb,p as hb,q as ib,r as jb,s as kb,t as lb,u as mb,v as nb,w as ob,x as pb,y as qb,z as rb}from"../chunk-UWJE5FQA.js";import{a as kc}from"../chunk-LQ3Y5NJS.js";import{a as Yb,b as Zb}from"../chunk-UPHHLMHE.js";import{a as n,b as o,c as p,d as q,e as r,f as s,g as t,h as u,i as v,j as w,k as x,l as y}from"../chunk-4GKB4OUJ.js";import{a as ec,b as fc}from"../chunk-K2GNMCQT.js";import{a,b as Z}from"../chunk-5QDBSZBV.js";import"../chunk-CKCSDI7T.js";import{a as m}from"../chunk-ESMPEKEV.js";import"../chunk-VPYBOXVT.js";import{a as gc,b as hc,c as ic,d as jc}from"../chunk-I6VIH3VA.js";import{A as Ca,B as Da,C as Ea,D as Fa,E as Ga,G as Ha,H as Ia,I as Ja,J as Ka,K as La,L as Ma,M as Na,N as Oa,O as Pa,P as Qa,Q as Ra,R as Sa,S as Ta,T as Ua,U as Va,a as ca,b as da,c as ea,d as fa,e as ga,f as ha,g as ia,h as ja,i as ka,j as la,k as ma,l as na,m as oa,n as pa,o as qa,p as ra,q as sa,r as ta,s as ua,t as va,u as wa,v as xa,w as ya,x as za,y as Aa,z as Ba}from"../chunk-Z4HDAS2Q.js";import{a as d,b as e,c as f,d as g,e as h,f as i,g as j,h as k,i as l}from"../chunk-4VVTGLXJ.js";import{a as ac,b as bc}from"../chunk-PIOGHC63.js";import{a as cc,b as dc}from"../chunk-VTPVOGHH.js";import{a as Wb,b as Xb}from"../chunk-OAWLCNJJ.js";import{a as _,b as $}from"../chunk-D7A7DBE4.js";import{A as X,B as Y,a as b,b as c,c as z,d as A,e as B,f as C,g as D,h as E,i as F,j as G,k as H,l as I,m as J,n as K,o as L,p as M,q as N,r as O,s as P,t as Q,u as R,v as S,w as T,x as U,y as V,z as W}from"../chunk-2PMCKKRK.js";import"../chunk-ZB5EHBIO.js";import"../chunk-CK2E7BTU.js";import"../chunk-QYADASLV.js";export{p as CircuitOpenError,d as NS_PER_MS,e as NS_PER_SEC,ac as NativeIndexBackend,cc as NativeListBackend,_ as NativeLogBackend,Wb as NativeMapBackend,_b as NativePubSubBackend,t as RateLimiterOverflowError,m as ResettableTimer,w as TimeoutError,Ga as audit,V as awaitSettled,Ha as buffer,Ia as bufferCount,Ka as bufferTime,S as cached,Vb as cascadingCache,Va as catchError,Nb as checkpointToRedis,Mb as checkpointToS3,q as circuitBreaker,ra as combine,Sa as combineLatest,va as concat,za as concatMap,f as constant,pc as createTransport,Z as createWatermarkController,ub as csvRows,Da as debounce,Ta as debounceTime,j as decorrelatedJitter,Ca as delay,oc as deserializeError,jc as dictStorage,Zb as distill,pa as distinctUntilChanged,na as elementAt,L as empty,z as escapeRegexChar,ya as exhaustMap,h as exponential,ba as externalBundle,aa as externalProducer,x as fallback,i as fibonacci,da as filter,ma as find,ka as first,T as firstValueFrom,U as firstWhere,Ba as flatMap,O as forEach,J as fromAny,I as fromAsyncIter,tb as fromCSV,xb as fromClickHouseWatch,E as fromCron,Sb as fromDrizzle,F as fromEvent,Za as fromHTTP,eb as fromHTTPPoll,db as fromHTTPStream,G as fromIter,pb as fromKafka,Tb as fromKysely,hb as fromMCP,Ab as fromNATS,wb as fromNDJSON,ib as fromOTel,Rb as fromPrisma,nb as fromPrometheus,H as fromPromise,yb as fromPulsar,Cb as fromRabbitMQ,D as fromRaf,rb as fromRedisStream,cb as fromSSE,Ob as fromSqlite,Pb as fromSqliteCursor,lb as fromStatsD,jb as fromSyslog,C as fromTimer,Xa as fromWebSocket,gb as fromWebSocketReconnect,Ya as fromWebhook,A as globToRegExp,Na as interval,X as keepalive,la as last,g as linear,Ub as lru,ca as map,B as matchesAnyPattern,c as matchesCron,ic as memoryStorage,ta as merge,Aa as mergeMap,mc as nameToSignal,vb as ndjsonRows,M as never,K as of,qa as pairwise,b as parseCron,ob as parsePrometheusText,mb as parseStatsD,kb as parseSyslog,Pa as pausable,$b as pubsub,wa as race,u as rateLimiter,Y as reactiveCounter,bc as reactiveIndex,dc as reactiveList,$ as reactiveLog,Xb as reactiveMap,Wa as reactiveSink,fa as reduce,Oa as repeat,R as replay,Qa as rescue,l as resolveBackoffPreset,n as retry,o as retrySource,Fa as sample,ea as scan,nc as serializeError,Q as share,W as shareReplay,lc as signalToName,ec as singleFromAny,fc as singleNodeFromAny,ha as skip,gc as sortJsonValue,hc as stableJsonString,kc as stratify,xa as switchMap,ga as take,ja as takeUntil,ia as takeWhile,oa as tap,Ea as throttle,Ua as throttleTime,N as throwError,y as timeout,P as toArray,Fb as toCSV,Gb as toClickHouse,Eb as toFile,_a as toHTTP,qb as toKafka,Kb as toLoki,Jb as toMongo,Bb as toNATS,a as toObservable,Ib as toPostgres,zb as toPulsar,Db as toRabbitMQ,bb as toReadableStream,sb as toRedisStream,Hb as toS3,$a as toSSE,ab as toSSEBytes,Qb as toSqlite,Lb as toTempo,fb as toWebSocket,s as tokenBucket,Ra as valve,Yb as verifiable,Ma as window,Ja as windowCount,La as windowTime,r as withBreaker,sa as withLatestFrom,k as withMaxAttempts,v as withStatus,qc as workerBridge,rc as workerSelf,ua as zip};
@@ -0,0 +1,3 @@
1
+ "use strict";var le=Object.defineProperty;var ot=Object.getOwnPropertyDescriptor;var st=Object.getOwnPropertyNames;var it=Object.prototype.hasOwnProperty;var A=(n,e)=>()=>(n&&(e=n(n=0)),e);var at=(n,e)=>{for(var t in e)le(n,t,{get:e[t],enumerable:!0})},dt=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of st(e))!it.call(n,o)&&o!==t&&le(n,o,{get:()=>e[o],enumerable:!(r=ot(e,o))||r.enumerable});return n};var ut=n=>dt(le({},"__esModule",{value:!0}),n);function $(){return Date.now()*1e6}var Z=A(()=>{"use strict"});var H,w,S,R,U,V,X,L,y,h,z,ce,lt,fe,ct,ft,pe,ke,Oe,Ae,he,W=A(()=>{"use strict";H=Symbol.for("graphrefly/START"),w=Symbol.for("graphrefly/DATA"),S=Symbol.for("graphrefly/DIRTY"),R=Symbol.for("graphrefly/RESOLVED"),U=Symbol.for("graphrefly/INVALIDATE"),V=Symbol.for("graphrefly/PAUSE"),X=Symbol.for("graphrefly/RESUME"),L=Symbol.for("graphrefly/TEARDOWN"),y=Symbol.for("graphrefly/COMPLETE"),h=Symbol.for("graphrefly/ERROR"),z=Object.freeze([S]),ce=Object.freeze([R]),lt=Object.freeze([U]),fe=Object.freeze([H]),ct=Object.freeze([y]),ft=Object.freeze([L]),pe=Object.freeze([z]),ke=Object.freeze([ce]),Oe=Object.freeze([lt]),Ae=Object.freeze([ct]),he=Object.freeze([ft])});function Se(n){n.registerCodec(pt)}var pt,Re=A(()=>{"use strict";pt={name:"json",version:1,contentType:"application/json",encode(n){let e=JSON.stringify(n);return new TextEncoder().encode(e)},decode(n,e){let t=new TextDecoder().decode(n);return JSON.parse(t)}}});function Q(n){if(n==null)return ht;let{type:e,id:t,...r}=n;return{type:e??"system",id:t??"",...r}}var ht,Me=A(()=>{"use strict";ht={type:"system",id:""}});function Ie(){return me>0||mt}function Le(){return me>0}function Pe(n){me>0?gt.push(n):n()}function ee(n,e,t){if(e.length===0)return;if(e.length===1){let d=t(e[0][0]);if(d<3||!Ie()){n(e);return}(d>=5?Fe:d===4?Ce:De).push(()=>n(e));return}let r=e.length,o=r,s=r,a=r,i=0;for(;i<r&&t(e[i][0])<3;)i++;for(o=i;i<r&&t(e[i][0])===3;)i++;for(s=i;i<r&&t(e[i][0])===4;)i++;a=i;let u=Ie();if(o>0){let d=e.slice(0,o);n(d)}if(s>o){let d=e.slice(o,s);u?De.push(()=>n(d)):n(d)}if(a>s){let d=e.slice(s,a);u?Ce.push(()=>n(d)):n(d)}if(r>a){let d=e.slice(a,r);u?Fe.push(()=>n(d)):n(d)}}var me,mt,De,Ce,Fe,gt,Ge=A(()=>{"use strict";me=0,mt=!1,De=[],Ce=[],Fe=[],gt=[]});function He(n){n.registerMessageType(H,{tier:0,wireCrossing:!1}),n.registerMessageType(S,{tier:1,wireCrossing:!1}),n.registerMessageType(U,{tier:1,wireCrossing:!1,metaPassthrough:!1}),n.registerMessageType(V,{tier:2,wireCrossing:!1}),n.registerMessageType(X,{tier:2,wireCrossing:!1}),n.registerMessageType(w,{tier:3,wireCrossing:!0}),n.registerMessageType(R,{tier:3,wireCrossing:!0}),n.registerMessageType(y,{tier:4,wireCrossing:!0,metaPassthrough:!1}),n.registerMessageType(h,{tier:4,wireCrossing:!0,metaPassthrough:!1}),n.registerMessageType(L,{tier:5,wireCrossing:!0,metaPassthrough:!1})}var te,Ue=A(()=>{"use strict";W();te=class{_messageTypes=new Map;_codecs=new Map;_onMessage;_onSubscribe;_defaultVersioning;_defaultHashFn;_inspectorEnabled=!(typeof process<"u"&&process.env?.NODE_ENV==="production");_globalInspector;_frozen=!1;tierOf;constructor(e){this._onMessage=e.onMessage,this._onSubscribe=e.onSubscribe,this._defaultVersioning=e.defaultVersioning,this._defaultHashFn=e.defaultHashFn,this.tierOf=t=>{let r=this._messageTypes.get(t);return r!=null?r.tier:1}}get onMessage(){return this._frozen=!0,this._onMessage}get onSubscribe(){return this._frozen=!0,this._onSubscribe}set onMessage(e){this._assertUnfrozen(),this._onMessage=e}set onSubscribe(e){this._assertUnfrozen(),this._onSubscribe=e}get defaultVersioning(){return this._defaultVersioning}set defaultVersioning(e){this._assertUnfrozen(),this._defaultVersioning=e}get defaultHashFn(){return this._defaultHashFn}set defaultHashFn(e){this._assertUnfrozen(),this._defaultHashFn=e}get inspectorEnabled(){return this._inspectorEnabled}set inspectorEnabled(e){this._inspectorEnabled=e}get globalInspector(){return this._globalInspector}set globalInspector(e){this._globalInspector=e}registerMessageType(e,t){return this._assertUnfrozen(),this._messageTypes.set(e,{tier:t.tier,wireCrossing:t.wireCrossing??t.tier>=3,metaPassthrough:t.metaPassthrough??!0}),this}messageTier(e){let t=this._messageTypes.get(e);return t!=null?t.tier:1}isWireCrossing(e){let t=this._messageTypes.get(e);return t!=null?t.wireCrossing:!0}isLocalOnly(e){return!this.isWireCrossing(e)}isMetaPassthrough(e){let t=this._messageTypes.get(e);return t!=null?t.metaPassthrough:!0}isKnownMessageType(e){return this._messageTypes.has(e)}registerCodec(e){return this._assertUnfrozen(),this._codecs.set(e.name,e),this}lookupCodec(e){return this._codecs.get(e)}_isFrozen(){return this._frozen}_assertUnfrozen(){if(this._frozen)throw new Error("GraphReFlyConfig is frozen: a node has already captured this config. Register custom types and set hooks before creating any node.")}}});var q,Ve=A(()=>{"use strict";q=class extends Error{actor;action;nodeName;constructor(e,t){super(t??`GuardDenied: action "${String(e.action)}" denied for actor type "${String(e.actor.type)}"`),this.name="GuardDenied",this.actor=e.actor,this.action=e.action,this.nodeName=e.nodeName}get node(){return this.nodeName}}});function ge(n){if(n===void 0)return null;if(typeof n=="number"){if(!Number.isFinite(n))throw new TypeError(`Cannot hash non-finite number: ${n}`);if(Number.isInteger(n)&&!Number.isSafeInteger(n))throw new TypeError(`Cannot hash integer outside safe range (|n| > 2^53-1): ${n}. Cross-language cid parity is not guaranteed for unsafe integers.`);return n}if(typeof n=="string"||typeof n=="boolean"||n===null)return n;if(Array.isArray(n))return n.map(ge);if(typeof n=="object"&&n!==null){let e={};for(let t of Object.keys(n).sort())e[t]=ge(n[t]);return e}return null}function yt(n){let e=bt.encode(n),t=e.length,r=t*8,o=t+9+63&-64,s=new Uint8Array(o);s.set(e),s[t]=128;let a=new DataView(s.buffer);a.setUint32(o-4,r>>>0,!1),a.setUint32(o-8,Math.floor(r/4294967296)>>>0,!1);let i=1779033703,u=3144134277,d=1013904242,l=2773480762,c=1359893119,p=2600822924,f=528734635,m=1541459225,N=new Uint32Array(64),_=(g,x)=>g>>>x|g<<32-x;for(let g=0;g<o;g+=64){for(let T=0;T<16;T++)N[T]=a.getUint32(g+T*4,!1);for(let T=16;T<64;T++){let C=N[T-15],j=N[T-2],J=_(C,7)^_(C,18)^C>>>3,G=_(j,17)^_(j,19)^j>>>10;N[T]=N[T-16]+J+N[T-7]+G>>>0}let x=i,b=u,O=d,M=l,k=c,I=p,Y=f,D=m;for(let T=0;T<64;T++){let C=_(k,6)^_(k,11)^_(k,25),j=k&I^~k&Y,J=D+C+j+Tt[T]+N[T]>>>0,G=_(x,2)^_(x,13)^_(x,22),ue=x&b^x&O^b&O,rt=G+ue>>>0;D=Y,Y=I,I=k,k=M+J>>>0,M=O,O=b,b=x,x=J+rt>>>0}i=i+x>>>0,u=u+b>>>0,d=d+O>>>0,l=l+M>>>0,c=c+k>>>0,p=p+I>>>0,f=f+Y>>>0,m=m+D>>>0}let v=g=>g.toString(16).padStart(8,"0");return v(i)+v(u)+v(d)+v(l)+v(c)+v(p)+v(f)+v(m)}function Te(n){let e=ge(n??null),t=JSON.stringify(e);return yt(t).slice(0,16)}function _t(){let n=globalThis.crypto;if(n?.randomUUID)return n.randomUUID();let e=()=>Math.floor(Math.random()*4294967296).toString(16).padStart(8,"0"),t=e()+e()+e()+e();return`${t.slice(0,8)}-${t.slice(8,12)}-4${t.slice(13,16)}-${(parseInt(t.slice(16,17),16)&3|8).toString(16)}${t.slice(17,20)}-${t.slice(20,32)}`}function be(n,e,t){let r=t?.id??_t();if(n===0)return{id:r,version:0};let s=(t?.hash??Te)(e);return{id:r,version:0,cid:s,prev:null}}function We(n,e,t){n.version+=1,"cid"in n&&(n.prev=n.cid,n.cid=t(e))}var Tt,bt,Be=A(()=>{"use strict";Tt=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),bt=new TextEncoder});function ze(n){return{node:n,unsub:null,prevData:void 0,dirty:!1,involvedThisWave:!1,dataBatch:[],terminal:void 0}}function ye(n){n.prevData=void 0,n.dirty=!1,n.involvedThisWave=!1,n.dataBatch.length=0,n.terminal=void 0}function ne(n){return n.length===0?n:typeof n[0]=="symbol"?[n]:n}function oe(n,e,t){let r=qe(n)?n:[],o=typeof n=="function"?n:typeof e=="function"?e:void 0,s={};return qe(n)?s=(_e(e)?e:t)??{}:_e(n)?s=n:s=(_e(e)?e:t)??{},new re(r,o,s)}var je,$e,vt,wt,ve,re,qe,_e,we=A(()=>{"use strict";Re();Me();Ge();Z();Ue();Ve();W();Be();je=()=>{},$e=100;vt=(n,e,t,r)=>{t.direction==="down-in"&&n._onDepMessage(t.depIndex,e)},wt=(n,e,t,r)=>{let o=n;if(o._status==="completed"||o._status==="errored")return;let s=o._cached,a=s===void 0?[fe]:[fe,[w,s]];o._status==="dirty"&&a.push(z),ee(e,a,o._config.tierOf)},ve=new te({onMessage:vt,onSubscribe:wt});He(ve);Se(ve);re=class n{_optsName;_describeKind;meta;_hasMeta;_config;_deps;_sinks=null;_sinkCount=0;_cached;_status;_cleanup;_store={};_waveHasNewData=!1;_hasNewTerminal=!1;_hasCalledFnOnce=!1;_paused=!1;_pendingWave=!1;_isExecutingFn=!1;_pendingRerun=!1;_rerunDepth=0;_dirtyDepCount=0;_batchPendingMessages=null;_pauseLocks=null;_pauseBuffer=null;_fn;_equals;_resubscribable;_resetOnTeardown;_autoComplete;_autoError;_pausable;_guard;_extraGuards;_hashFn;_versioning;_versioningLevel;_lastMutation;_inspectorHooks;_actions;constructor(e,t,r){this._config=r.config??ve,this._config.onMessage,this._optsName=r.name,this._describeKind=r.describeKind,this._equals=r.equals??Object.is,this._resubscribable=r.resubscribable??!1,this._resetOnTeardown=r.resetOnTeardown??!1,this._autoComplete=r.completeWhenDepsComplete??!0,this._autoError=r.errorWhenDepsError??!0,this._pausable=r.pausable??!0,this._guard=r.guard,this._fn=t,this._cached=r.initial!==void 0?r.initial:void 0,this._status=e.length===0&&t==null&&this._cached!==void 0?"settled":"sentinel",this._hashFn=r.versioningHash??this._config.defaultHashFn??Te;let o=r.versioning??this._config.defaultVersioning;this._versioningLevel=o,this._versioning=o!=null?be(o,this._cached===void 0?void 0:this._cached,{id:r.versioningId,hash:this._hashFn}):void 0,this._deps=e.map(ze);let s={};for(let[i,u]of Object.entries(r.meta??{})){let d={initial:u,name:`${r.name??"node"}:meta:${i}`,describeKind:"state",config:this._config};r.guard!=null&&(d.guard=r.guard),s[i]=new n([],void 0,d)}Object.freeze(s),this.meta=s,this._hasMeta=Object.keys(s).length>0;let a=this;this._actions={emit(i){a._emit([[w,i]])},down(i){a._emit(ne(i))},up(i){a._emitUp(ne(i))}},this.down=this.down.bind(this),this.up=this.up.bind(this)}get _isTerminal(){return this._status==="completed"||this._status==="errored"}get name(){return this._optsName}get status(){return this._status}get cache(){return this._cached===void 0?void 0:this._cached}get lastMutation(){return this._lastMutation}get v(){return this._versioning}hasGuard(){return this._guard!=null}_applyVersioning(e,t){if(this._isExecutingFn)throw new Error(`Node "${this.name}": _applyVersioning cannot run mid-fn \u2014 call it outside of \`_execFn\` (typically at graph setup time before the first subscribe).`);let r=this._versioningLevel;if(r!=null&&e<=r)return;let o=t?.hash??this._hashFn;o!==this._hashFn&&(this._hashFn=o);let s=this._cached===void 0?void 0:this._cached,a=this._versioning,i=a?.id??t?.id,u=a?.version??0,d=be(e,s,{id:i,hash:o});d.version=u,this._versioning=d,this._versioningLevel=e}_setInspectorHook(e){return e==null?()=>{}:(this._inspectorHooks==null&&(this._inspectorHooks=new Set),this._inspectorHooks.add(e),()=>{this._inspectorHooks?.delete(e),this._inspectorHooks?.size===0&&(this._inspectorHooks=void 0)})}_pushGuard(e){return this._extraGuards==null&&(this._extraGuards=new Set),this._extraGuards.add(e),()=>{this._extraGuards?.delete(e),this._extraGuards?.size===0&&(this._extraGuards=void 0)}}allowsObserve(e){if(this._guard==null&&this._extraGuards==null)return!0;let t=Q(e);if(this._guard!=null&&!this._guard(t,"observe"))return!1;if(this._extraGuards!=null){for(let r of this._extraGuards)if(!r(t,"observe"))return!1}return!0}_checkGuard(e){if(e?.internal)return;let t=this._guard!=null||this._extraGuards!=null,r=e?.actor!=null;if(!t&&!r)return;let o=Q(e?.actor),s=e?.delivery==="signal"?"signal":"write";if(this._guard!=null&&!this._guard(o,s))throw new q({actor:o,action:s,nodeName:this.name});if(this._extraGuards!=null){for(let a of this._extraGuards)if(!a(o,s))throw new q({actor:o,action:s,nodeName:this.name})}this._lastMutation={actor:o,timestamp_ns:$()}}down(e,t){let r=ne(e);r.length!==0&&(this._checkGuard(t),this._emit(r))}emit(e,t){this._checkGuard(t),this._emit([[w,e]])}up(e,t){if(this._deps.length===0)return;let r=ne(e);if(r.length===0)return;this._checkGuard(t);let o=t??{internal:!0};this._validateUpTiers(r);for(let s of this._deps)s.node.up?.(r,o)}_emitUp(e){if(this._deps.length!==0&&e.length!==0){this._validateUpTiers(e);for(let t of this._deps)t.node.up?.(e,{internal:!0})}}_validateUpTiers(e){let t=this._config.tierOf;for(let r of e){let o=t(r[0]);if(o===3||o===4)throw new Error(`Node "${this.name}": tier-${o} messages cannot flow up \u2014 DATA/RESOLVED/COMPLETE/ERROR are downstream-only. Use \`down(...)\` for value delivery; \`up(...)\` is for control signals (DIRTY, INVALIDATE, PAUSE, RESUME, TEARDOWN).`)}}subscribe(e,t){if(t!=null&&this._guard!=null){let u=Q(t);if(!this._guard(u,"observe"))throw new q({actor:u,action:"observe",nodeName:this.name})}let o=this._isTerminal&&this._resubscribable;if(o){this._cached=void 0,this._status="sentinel",this._store={},this._hasCalledFnOnce=!1,this._waveHasNewData=!1,this._hasNewTerminal=!1,this._paused=!1,this._pendingWave=!1,this._pendingRerun=!1,this._isExecutingFn=!1,this._rerunDepth=0,this._dirtyDepCount=0,this._pauseLocks=null,this._pauseBuffer=null;for(let u of this._deps)ye(u)}this._sinkCount+=1;let s;try{s=this._config.onSubscribe(this,e,{sinkCount:this._sinkCount,afterTerminalReset:o},this._actions)}catch(u){throw this._sinkCount-=1,u}this._sinks==null?this._sinks=e:typeof this._sinks=="function"?this._sinks=new Set([this._sinks,e]):this._sinks.add(e);let a=this._isTerminal;if(this._sinkCount===1&&!a)try{this._activate()}catch(u){if(this._sinkCount-=1,this._removeSink(e),this._sinkCount===0&&(this._status="sentinel"),typeof s=="function")try{s()}catch{}throw u}this._status==="sentinel"&&this._cached===void 0&&(this._status="pending");let i=!1;return()=>{i||(i=!0,this._sinkCount-=1,this._removeSink(e),typeof s=="function"&&s(),this._sinks==null&&this._deactivate())}}_removeSink(e){if(this._sinks===e)this._sinks=null;else if(this._sinks!=null&&typeof this._sinks!="function")if(this._sinks.delete(e),this._sinks.size===1){let[t]=this._sinks;this._sinks=t}else this._sinks.size===0&&(this._sinks=null)}_activate(){if(this._deps.length===0){this._fn&&this._execFn();return}this._dirtyDepCount=0;let e=this._deps.length,t=0;try{for(let r=0;r<e;r++){let o=r,s=this._deps[r];s.unsub=je,s.unsub=s.node.subscribe(a=>{if(s.unsub===null)return;let i=this._config.tierOf,u=!1;for(let d of a)i(d[0])>=3&&(u=!0),this._config.onMessage(this,d,{direction:"down-in",depIndex:o},this._actions);u&&this._maybeRunFnOnSettlement()}),t++}}catch(r){this._deps[t].unsub=null;for(let o=0;o<t;o++){let s=this._deps[o];if(s.unsub!=null){let a=s.unsub;s.unsub=null;try{a()}catch{}ye(s)}}throw this._dirtyDepCount=0,r}}_addDep(e){for(let o=0;o<this._deps.length;o++)if(this._deps[o].node===e)return o;let t=this._deps.length,r=ze(e);if(this._deps.push(r),this._sinks==null)return t;r.dirty=!0,this._dirtyDepCount++,this._status!=="dirty"&&this._emit(pe),r.unsub=je;try{r.unsub=e.subscribe(o=>{if(r.unsub===null)return;let s=this._config.tierOf,a=!1;for(let i of o)s(i[0])>=3&&(a=!0),this._config.onMessage(this,i,{direction:"down-in",depIndex:t},this._actions);a&&this._maybeRunFnOnSettlement()})}catch(o){throw r.unsub=null,this._deps.pop(),this._dirtyDepCount--,o}return t}_deactivate(e=!1){let t=this._cleanup;if(this._cleanup=void 0,typeof t=="function")try{t()}catch(r){this._emit([[h,this._wrapFnError("cleanup threw",r)]])}else if(t!=null&&typeof t=="object"){let r=t.deactivate;if(typeof r=="function")try{r()}catch(o){this._emit([[h,this._wrapFnError("cleanup.deactivate threw",o)]])}}for(let r of this._deps){if(r.unsub!=null){let o=r.unsub;r.unsub=null;try{o()}catch{}}ye(r)}this._waveHasNewData=!1,this._hasNewTerminal=!1,this._hasCalledFnOnce=!1,this._paused=!1,this._pendingWave=!1,this._pendingRerun=!1,this._rerunDepth=0,this._store={},this._dirtyDepCount=0,this._pauseLocks=null,this._pauseBuffer=null,this._fn!=null&&(this._cached=void 0),e||(this._fn!=null||this._deps.length>0)&&(!this._isTerminal||this._resubscribable)&&(this._status="sentinel")}_onDepMessage(e,t){let r=this._deps[e],o=t[0];if(this._inspectorHooks!=null){let s={kind:"dep_message",depIndex:e,message:t};for(let a of this._inspectorHooks)a(s)}if(o!==H){if(o===S){this._depDirtied(r);return}if(o===U){this._depInvalidated(r),this._emit(Oe);return}if(o===V||o===X){this._emit([t]);return}if(o===L){this._emit(he);return}if(o===w)this._depSettledAsData(r,t[1]);else if(o===R)this._depSettledAsResolved(r);else if(o===y)this._depSettledAsTerminal(r,!0);else if(o===h)this._depSettledAsTerminal(r,t[1]);else{this._emit([t]);return}if(!this._fn){(o===w||o===R)&&this._emit([t]),(o===y||o===h)&&this._maybeAutoTerminalAfterWave();return}}}_depDirtied(e){e.dirty||(e.dirty=!0,e.involvedThisWave=!0,this._dirtyDepCount++,this._status!=="dirty"&&this._emit(pe))}_depSettledAsData(e,t){e.dirty&&(e.dirty=!1,this._dirtyDepCount--),e.involvedThisWave=!0,e.dataBatch.push(t),this._waveHasNewData=!0}_depSettledAsResolved(e){e.dirty&&(e.dirty=!1,this._dirtyDepCount--)}_depSettledAsTerminal(e,t){e.dirty&&(e.dirty=!1,this._dirtyDepCount--),e.terminal=t,e.involvedThisWave=!0,this._hasNewTerminal=!0}_depInvalidated(e){e.prevData=void 0,e.terminal=void 0,e.dataBatch.length=0,e.dirty?e.involvedThisWave=!1:(e.dirty=!0,e.involvedThisWave=!0,this._dirtyDepCount++)}_maybeRunFnOnSettlement(){if(!(this._isTerminal&&!this._resubscribable)&&!(this._dirtyDepCount>0)){if(this._paused){this._pendingWave=!0;return}if(!this._waveHasNewData&&!this._hasNewTerminal&&this._hasCalledFnOnce){this._clearWaveFlags(),this._emit(ke),this._maybeAutoTerminalAfterWave();return}this._fn&&this._execFn(),this._maybeAutoTerminalAfterWave()}}_maybeAutoTerminalAfterWave(){if(this._deps.length===0||this._isTerminal)return;let e=this._deps.find(t=>t.terminal!==void 0&&t.terminal!==!0);if(e!=null){this._autoError&&this._emit([[h,e.terminal]]);return}this._autoComplete&&this._deps.every(t=>t.terminal!==void 0)&&this._emit(Ae)}_execFn(){if(!this._fn||this._isTerminal&&!this._resubscribable)return;if(this._isExecutingFn){this._pendingRerun=!0;return}let e=this._cleanup;if(typeof e=="function"){this._cleanup=void 0;try{e()}catch(a){this._emit([[h,this._wrapFnError("cleanup threw",a)]]);return}}else if(e!=null&&typeof e=="object"){let a=e.beforeRun;if(typeof a=="function"){e.beforeRun=void 0;try{a()}catch(i){this._emit([[h,this._wrapFnError("cleanup.beforeRun threw",i)]]);return}}}let t=this._deps.map(a=>a.involvedThisWave?a.dataBatch.length>0?[...a.dataBatch]:[]:void 0),r=this._deps.map(a=>a.prevData);for(let a=0;a<this._deps.length;a++){let i=t[a];i!=null&&i.length>0&&(this._deps[a].prevData=i[i.length-1])}let o=this._deps.map(a=>a.terminal),s={prevData:r,terminalDeps:o,store:this._store};if(this._hasCalledFnOnce=!0,this._clearWaveFlags(),this._inspectorHooks!=null){let a={kind:"run",batchData:t,prevData:r};for(let i of this._inspectorHooks)i(a)}this._isExecutingFn=!0;try{let a=this._fn(t,this._actions,s);if(typeof a=="function")this._cleanup=a;else if(a!=null&&typeof a=="object"){let i=a;(typeof i.beforeRun=="function"||typeof i.deactivate=="function"||typeof i.invalidate=="function")&&(this._cleanup=a)}}catch(a){this._emit([[h,this._wrapFnError("fn threw",a)]])}finally{this._isExecutingFn=!1,this._pendingRerun?(this._pendingRerun=!1,this._rerunDepth+=1,this._rerunDepth>$e?(this._rerunDepth=0,this._emit([[h,new Error(`Node "${this.name}": _pendingRerun depth exceeded ${$e} \u2014 likely a reactive cycle`)]])):this._maybeRunFnOnSettlement()):this._rerunDepth=0,this._clearWaveFlags()}}_clearWaveFlags(){this._waveHasNewData=!1,this._hasNewTerminal=!1;for(let e of this._deps)e.involvedThisWave=!1,e.dataBatch.length=0}_wrapFnError(e,t){let r=t instanceof Error?t.message:String(t);return new Error(`Node "${this.name}": ${e}: ${r}`,{cause:t})}_frameBatch(e){let t=this._config.tierOf;if(e.length===1)return t(e[0][0])===3&&this._status!=="dirty"?[z,e[0]]:e;let r=!0,o=!1,s=!1,a=-1;for(let u of e){let d=t(u[0]);d<a&&(r=!1),d===3&&(o=!0),u[0]===S&&(s=!0),a=d}let i=e;if(!r){let u=e.map((d,l)=>({m:d,i:l,tier:t(d[0])}));u.sort((d,l)=>d.tier-l.tier||d.i-l.i),i=u.map(d=>d.m)}if(o&&!s&&this._status!=="dirty"){let u=0;for(;u<i.length&&t(i[u][0])===0;)u++;return u===0?[z,...i]:[...i.slice(0,u),z,...i.slice(u)]}return i}_emit(e){if(e.length===0)return;let t=e;if(this._isTerminal&&!this._resubscribable){let i=e.filter(u=>u[0]===L||u[0]===U);if(i.length===0)return;t=i}t=this._frameBatch(t);let o=null;for(let i=0;i<t.length;i++){let u=t[i],d=u[0];if(d!==V&&d!==X){o?.push(u);continue}if(u.length<2)throw new Error(`Node "${this.name}": [[${d===V?"PAUSE":"RESUME"}]] must carry a lockId payload \u2014 bare PAUSE/RESUME is a protocol violation (C0 rule). Use \`[[PAUSE, lockId]]\` / \`[[RESUME, lockId]]\`.`);let l=!0;if(this._pausable!==!1){let c=u[1];if(d===V)this._pauseLocks==null&&(this._pauseLocks=new Set),this._pauseLocks.add(c),this._paused=!0,this._pausable==="resumeAll"&&this._pauseBuffer==null&&(this._pauseBuffer=[]);else if(this._pauseLocks==null||!this._pauseLocks.has(c))l=!1;else if(this._pauseLocks.delete(c),this._pauseLocks.size===0){if(this._paused=!1,this._pauseBuffer!=null&&this._pauseBuffer.length>0){let p=this._pauseBuffer;this._pauseBuffer=[],this._emit(p)}this._pendingWave&&(this._pendingWave=!1,this._maybeRunFnOnSettlement())}}l?o?.push(u):o==null&&(o=t.slice(0,i))}if(o!=null){if(o.length===0)return;t=o}if(this._hasMeta&&t.some(i=>i[0]===L))for(let i of Object.keys(this.meta))try{this.meta[i]._emit(he)}catch{}let{finalMessages:s,equalsError:a}=this._updateState(t);if(s.length>0&&this._config.inspectorEnabled){let i=this._config.globalInspector;if(i!=null)try{i({kind:"emit",node:this,messages:s})}catch{}}if(s.length>0)if(this._paused&&this._pausable==="resumeAll"&&this._pauseBuffer!=null){let i=this._config.tierOf,u=[];for(let d of s){let l=i(d[0]);l<3||l===5?u.push(d):this._pauseBuffer.push(d)}u.length>0&&this._dispatchOrAccumulate(u)}else this._dispatchOrAccumulate(s);a!=null&&this._emit([[h,a]])}_updateState(e){let t=this._config.tierOf,r,o,s=-1,a=0;for(let l of e)t(l[0])===3&&a++;let i=a<=1,u=-1;if(this._versioning!=null&&a>1){for(let l=e.length-1;l>=0;l--)if(e[l][0]===w){u=l;break}}for(let l=0;l<e.length;l++){let c=e[l],p=c[0];if(p===w){if(c.length>=2){let f=!1;if(i&&this._cached!==void 0)try{f=this._equals(this._cached,c[1])}catch(m){o=this._wrapFnError("equals threw",m),s=l;break}if(f){r==null&&(r=e.slice(0,l)),r.push(ce),this._status="resolved";continue}this._cached=c[1],this._versioning!=null&&(u<0||l===u)&&We(this._versioning,c[1],this._hashFn)}this._status="settled",r?.push(c)}else if(r?.push(c),p===S)this._status="dirty";else if(p===R)this._status="resolved";else if(p===y)this._status="completed";else if(p===h)this._status="errored";else if(p===U){this._cached=void 0,this._status="dirty";let f=this._cleanup;if(typeof f=="function"){this._cleanup=void 0;try{f()}catch{}}else if(f!=null&&typeof f=="object"){let m=f.invalidate;if(typeof m=="function")try{m()}catch{}}}else p===L&&(this._resetOnTeardown&&(this._cached=void 0),this._deactivate(!0),this._status="sentinel")}let d=s>=0?r??e.slice(0,s):r??e;return o!=null?{finalMessages:d,equalsError:o}:{finalMessages:d}}_deliverToSinks=e=>{if(this._sinks==null)return;if(typeof this._sinks=="function"){this._sinks(e);return}let t=[...this._sinks];for(let r of t)r(e)};_dispatchOrAccumulate(e){if(Le()){this._batchPendingMessages===null&&(this._batchPendingMessages=[],Pe(()=>this._flushBatchPending()));for(let t of e)this._batchPendingMessages.push(t);return}ee(this._deliverToSinks,e,this._config.tierOf)}_flushBatchPending(){let e=this._batchPendingMessages;if(e===null||(this._batchPendingMessages=null,e.length===0))return;let t=this._frameBatch(e);ee(this._deliverToSinks,t,this._config.tierOf)}},qe=n=>Array.isArray(n),_e=n=>typeof n=="object"&&n!=null&&!Array.isArray(n)});function F(n,e){return oe((r,o,s)=>n(o,s)??void 0,{describeKind:"producer",...e})}var se=A(()=>{"use strict";we()});function ie(n){return{describeKind:"producer",...n}}function Nt(n){return/[\\^$+?.()|[\]{}]/.test(n)?`\\${n}`:n}function K(n){let e="^";for(let t=0;t<n.length;t+=1){let r=n[t];if(r==="*"){n[t+1]==="*"?(e+=".*",t+=1):e+="[^/]*";continue}e+=Nt(r)}return e+="$",new RegExp(e)}function P(n,e){for(let t of e)if(t.test(n))return!0;return!1}function Ke(n,e){let{signal:t,period:r,...o}=e??{};return F(s=>{let a=!1,i=0,u,d,l=()=>{a=!0,u!==void 0&&clearTimeout(u),d!==void 0&&clearInterval(d),t?.removeEventListener("abort",p)},c=()=>{a||(r!=null?(s.emit(i++),d=setInterval(()=>{a||s.emit(i++)},r)):(a=!0,t?.removeEventListener("abort",p),s.emit(i++),s.down([[y]])))},p=()=>{a||(l(),s.down([[h,t.reason]]))};if(t?.aborted){p();return}return u=setTimeout(c,n),t?.addEventListener("abort",p,{once:!0}),l},ie(o))}function Ye(n,e){return F(t=>{let r=!1;try{for(let o of n){if(r)return;t.emit(o)}r||t.down([[y]])}catch(o){r||t.down([[h,o]])}return()=>{r=!0}},ie(e))}function xt(n){return n!=null&&typeof n.then=="function"}function Et(n,e){let{signal:t,...r}=e??{};return F(o=>{let s=!1,a=()=>{s||(s=!0,o.down([[h,t.reason]]))};if(t?.aborted){a();return}return t?.addEventListener("abort",a,{once:!0}),Promise.resolve(n).then(i=>{s||(s=!0,t?.removeEventListener("abort",a),o.emit(i),o.down([[y]]))},i=>{s||(s=!0,t?.removeEventListener("abort",a),o.down([[h,i]]))}),()=>{s=!0,t?.removeEventListener("abort",a)}},ie(r))}function kt(n,e){let{signal:t,...r}=e??{};return F(o=>{let s=new AbortController,a=()=>s.abort(t?.reason);t?.aborted?s.abort(t.reason):t?.addEventListener("abort",a,{once:!0});let i=t??s.signal,u=!1,d=n[Symbol.asyncIterator](),l=()=>{u||i.aborted||Promise.resolve(d.next()).then(c=>{if(!(u||i.aborted)){if(c.done){o.down([[y]]);return}o.emit(c.value),l()}},c=>{!u&&!i.aborted&&o.down([[h,c]])})};return l(),()=>{u=!0,t?.removeEventListener("abort",a),s.abort(),Promise.resolve(d.return?.()).catch(()=>{})}},ie(r))}function Ot(n){return n!=null&&typeof n=="object"&&"cache"in n&&typeof n.subscribe=="function"}function Je(n,e){if(Ot(n))return n;if(xt(n))return Et(n,e);if(n!=null){let t=n;if(typeof t[Symbol.asyncIterator]=="function")return kt(n,e);if(typeof t[Symbol.iterator]=="function")return Ye(n,e)}return At(n)}function At(...n){return Ye(n,void 0)}var ae=A(()=>{"use strict";W();se()});var Ct={};at(Ct,{fileStorage:()=>tt,fromFSWatch:()=>Dt,fromGitHook:()=>Ze,sqliteStorage:()=>nt});module.exports=ut(Ct);Z();W();se();W();we();ae();function St(n){return{describeKind:"derived",...n}}function Rt(n,e,t){let r,o=!1,s=()=>{o||(o=!0,t())};return r=n.subscribe(a=>{let i=!1,u=!1;for(let d of a)d[0]!==H&&(d[0]===w?e.emit(d[1]):d[0]===y?i=!0:d[0]===h?(u=!0,e.down([d])):(d[0]===S||d[0]===R)&&e.down([d]));u?(r?.(),r=void 0,s()):i&&s()}),()=>{r?.(),r=void 0}}function Xe(n,e,t){let r,o=!1;function s(){r?.(),r=void 0}return oe([n],(a,i,u)=>{if(u.terminalDeps[0]!=null&&u.terminalDeps[0]!==!0){s();return}if(u.terminalDeps[0]===!0){o=!0,r||i.down([[y]]);return}let d=a[0];if(!(d==null||d.length===0))return s(),r=Rt(Je(e(d[d.length-1])),i,()=>{s(),o&&i.down([[y]])}),{deactivate:()=>{s(),o=!1}}},{...St(t),completeWhenDepsComplete:!1})}ae();function Ze(n,e){let{pollMs:t=5e3,include:r,exclude:o,maxConsecutiveErrors:s=1}=e??{},a=r?.map(K)??[],i=o?.map(K)??[],{execFileSync:u}=require("node:child_process"),d=p=>u("git",p,{cwd:n,encoding:"utf-8"}).trim(),l,c=0;return Xe(Ke(0,{period:t}),()=>F(p=>{try{let f=d(["rev-parse","HEAD"]);if(!f)return c=0,()=>{};if(l===void 0)return l=f,c=0,()=>{};if(f===l)return c=0,()=>{};let m=d(["diff","--name-only",`${l}..${f}`]).split(`
2
+ `).filter(Boolean);a.length>0&&(m=m.filter(v=>P(v,a))),i.length>0&&(m=m.filter(v=>!P(v,i)));let N=d(["log","-1","--format=%s",f]),_=d(["log","-1","--format=%an",f]);p.emit({hook:"post-commit",commit:f,files:m,message:N,author:_,timestamp_ns:$()}),l=f,c=0}catch(f){c+=1,c>=s&&p.down([[h,f]])}return()=>{}}))}var de=require("node:fs"),Ne=require("node:path");Z();W();se();ae();function Mt(n){return{describeKind:"producer",...n}}function Dt(n,e){let t=Array.isArray(n)?n:[n];if(t.length===0)throw new RangeError("fromFSWatch expects at least one path");let{recursive:r=!0,debounce:o=100,include:s,exclude:a,...i}=e??{},u=s?.map(K)??[],d=(a??["**/node_modules/**","**/.git/**","**/dist/**"]).map(K);return F(l=>{let c=new Map,p=[],f=!1,m=!1,N=0,_=()=>{for(let b of p.splice(0))b.close()},v=b=>{m||(m=!0,f=!0,g!==void 0&&clearTimeout(g),g=void 0,c.clear(),_(),l.down([[h,b]]))},g,x=b=>{if(g=void 0,f||m||c.size===0)return;let O=[];for(let M of c.values())O.push([w,M]);c.clear(),!(f||m||b!==N)&&l.down(O)};try{for(let b of t){let O=(0,de.watch)(b,{recursive:r},(M,k)=>{if(f||m||k==null)return;let I=String(k).replaceAll("\\","/"),D=(0,Ne.resolve)(b,String(k)).replaceAll("\\","/"),T=(0,Ne.resolve)(b).replaceAll("\\","/"),C=I.startsWith("./")?I.slice(2):I;if(!(u.length===0||P(D,u)||P(C,u))||P(D,d)||P(C,d))return;let G="change";if(M==="rename")try{G=(0,de.existsSync)(D)?"create":"delete"}catch{G="rename"}c.set(D,{type:G,path:D,root:T,relative_path:C,timestamp_ns:$()}),g!==void 0&&clearTimeout(g);let ue=N;g=setTimeout(()=>x(ue),o)});O.on("error",M=>v(M)),p.push(O)}}catch(b){v(b)}return()=>{f=!0,N+=1,g!==void 0&&clearTimeout(g),g=void 0,_(),c.clear()}},Mt(i))}var Qe=require("node:crypto"),E=require("node:fs"),B=require("node:path"),et=require("node:sqlite");function xe(n){if(n===null||typeof n!="object")return n;if(Array.isArray(n))return n.map(xe);let e=n,t=Object.keys(e).sort(),r={};for(let o of t)r[o]=xe(e[o]);return r}function Ee(n){return JSON.stringify(xe(n),void 0,0)}function tt(n){let e=new TextEncoder,t=new TextDecoder("utf-8",{fatal:!0}),r=s=>{let a="";for(let i of s){if(i.length===1&&/[a-zA-Z0-9_-]/.test(i)){a+=i;continue}for(let u of e.encode(i))a+=`%${u.toString(16).padStart(2,"0")}`}return(0,B.join)(n,`${a}.json`)},o=s=>{if(!s.endsWith(".json"))return null;let a=s.slice(0,-5),i=[],u=l=>{for(let c=0;c<l.length;c++)i.push(l.charCodeAt(c))},d=0;for(;d<a.length;){let l=a[d];if(l==="%"&&d+2<a.length){let c=a.slice(d+1,d+3);if(/^[0-9a-f]{2}$/i.test(c)){i.push(Number.parseInt(c,16)),d+=3;continue}}u(l),d+=1}try{return t.decode(new Uint8Array(i))}catch{return null}};return{save(s,a){(0,E.mkdirSync)(n,{recursive:!0});let i=r(s),u=`${Ee(a)}
3
+ `,d=(0,B.basename)(i),l=(0,B.dirname)(i),c=(0,B.join)(l,`.${d}.${(0,Qe.randomBytes)(8).toString("hex")}.tmp`);try{(0,E.writeFileSync)(c,u,"utf8"),(0,E.renameSync)(c,i)}catch(p){try{(0,E.unlinkSync)(c)}catch{}throw p}},load(s){try{let a=(0,E.readFileSync)(r(s),"utf8").trim();return a?JSON.parse(a):null}catch{return null}},clear(s){try{(0,E.unlinkSync)(r(s))}catch(a){if(a.code!=="ENOENT")throw a}},list(){try{let s=(0,E.readdirSync)(n),a=[];for(let i of s){if(i.startsWith("."))continue;let u=o(i);u!==null&&a.push(u)}return a.sort()}catch(s){if(s.code==="ENOENT")return[];throw s}}}}function nt(n){let e=new et.DatabaseSync(n);return e.exec("CREATE TABLE IF NOT EXISTS graphrefly_checkpoint (k TEXT PRIMARY KEY, v TEXT NOT NULL)"),{save(t,r){let o=Ee(r);e.prepare("INSERT OR REPLACE INTO graphrefly_checkpoint (k, v) VALUES (?, ?)").run(t,o)},load(t){let r=e.prepare("SELECT v FROM graphrefly_checkpoint WHERE k = ?").get(t);return r===void 0||typeof r.v!="string"||r.v.trim()===""?null:JSON.parse(r.v)},clear(t){e.prepare("DELETE FROM graphrefly_checkpoint WHERE k = ?").run(t)},list(){return e.prepare("SELECT k FROM graphrefly_checkpoint ORDER BY k").all().map(r=>r.k)},close(){try{e.close()}catch{}}}}0&&(module.exports={fileStorage,fromFSWatch,fromGitHook,sqliteStorage});