nolo-cli 0.265.0-alpha.1 → 0.266.0-alpha.1

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 (539) hide show
  1. package/{chunk-LXP53WGF.js → chunk-05wkntba.js} +44 -40
  2. package/{chunk-XFYFMTOM.js → chunk-08ts2q1n.js} +9 -11
  3. package/{chromeCommands-MVEEIY4R.js → chunk-0a3m1n6h.js} +182 -238
  4. package/chunk-0gfvc7g8.js +13 -0
  5. package/{chunk-CF7PE763.js → chunk-0h0sncy4.js} +3 -4
  6. package/{chunk-3UH7SS4W.js → chunk-0nsxwrge.js} +232 -241
  7. package/chunk-0ra8cne4.js +11 -0
  8. package/{chunk-MRACVEPZ.js → chunk-0sgwk7am.js} +1 -3
  9. package/{chunk-PEXGRTTQ.js → chunk-0tsfn0dk.js} +44 -45
  10. package/{chunk-WOAZVUSN.js → chunk-0y8cbwzy.js} +26 -30
  11. package/chunk-12gz55kk.js +6 -0
  12. package/{chunk-GLKOYSRU.js → chunk-186gshgw.js} +3 -6
  13. package/chunk-19w4ss38.js +44 -0
  14. package/{chunk-RF576RYE.js → chunk-1cakzp6r.js} +23 -23
  15. package/chunk-1fbfwbzp.js +27 -0
  16. package/{chunk-4IVMDQBA.js → chunk-1fv9k8zt.js} +103 -68
  17. package/{chunk-Q5FJJ6XI.js → chunk-1js4cdzp.js} +11 -19
  18. package/{chunk-YECCIUYU.js → chunk-1nhx0er5.js} +63 -63
  19. package/chunk-1p152b7g.js +12 -0
  20. package/{chunk-LBPW6OCD.js → chunk-1ynbq3yr.js} +322 -353
  21. package/{chunk-6UBGXX2W.js → chunk-1zrg4h5n.js} +3 -4
  22. package/{chunk-Y5GCAMGP.js → chunk-2g6zsfq8.js} +1 -3
  23. package/chunk-2hekb0eh.js +17 -0
  24. package/chunk-2pj6qzq5.js +12 -0
  25. package/chunk-2tvd4jyp.js +226 -0
  26. package/chunk-2ygg7azv.js +846 -0
  27. package/chunk-33405wtv.js +50 -0
  28. package/chunk-34axejtd.js +30 -0
  29. package/{tableCommands-FCPDULSU.js → chunk-3700dvt3.js} +224 -276
  30. package/{pdf-KE3QI2V7.js → chunk-3j08t1nm.js} +12505 -10133
  31. package/chunk-3j9gq18v.js +111 -0
  32. package/{chunk-2QKIWEZS.js → chunk-3qfpcdkm.js} +486 -505
  33. package/{settingThunks-PNC7ZISV.js → chunk-3r2x7h64.js} +189 -272
  34. package/{agentGrantCommands-2VLLXGIU.js → chunk-3tbj5fxt.js} +61 -56
  35. package/chunk-40whhjj5.js +168 -0
  36. package/chunk-4301919y.js +7 -0
  37. package/chunk-43adz39e.js +77 -0
  38. package/{chunk-5ZUL4CUO.js → chunk-49v3zc4g.js} +1 -3
  39. package/chunk-4dd7mxkb.js +72 -0
  40. package/{chunk-BKP325XS.js → chunk-4hapfzpq.js} +66 -62
  41. package/chunk-4mm7dz0m.js +95 -0
  42. package/chunk-4pqxempz.js +440 -0
  43. package/chunk-4x9zf5pv.js +10 -0
  44. package/{chunk-CA7LGAHV.js → chunk-511q8qzv.js} +66 -57
  45. package/{chunk-S52BPZ7A.js → chunk-53v9g0np.js} +49 -64
  46. package/chunk-572mg6q5.js +19 -0
  47. package/{chunk-DXDCL3Z6.js → chunk-57eyhmwr.js} +17173 -16165
  48. package/chunk-5hsr0zjm.js +156 -0
  49. package/chunk-5k883yyd.js +20 -0
  50. package/chunk-5m0wsee4.js +639 -0
  51. package/{memberThunks-IPS3SLOF.js → chunk-5r1sq2gt.js} +299 -373
  52. package/chunk-648rq4np.js +255 -0
  53. package/{chunk-IYRZKHA6.js → chunk-666yjw5c.js} +63 -86
  54. package/{chunk-4O22PGNQ.js → chunk-6cdcbmtp.js} +19 -19
  55. package/chunk-6dbyqcf7.js +59 -0
  56. package/{agentProviderCommands-2W3VXDLV.js → chunk-6e8mgp1x.js} +82 -105
  57. package/chunk-6n0pw7sx.js +44 -0
  58. package/chunk-6q1b7381.js +361 -0
  59. package/chunk-6sj756ry.js +23 -0
  60. package/{chunk-XGYQCBWS.js → chunk-6t7a7zck.js} +14785 -14454
  61. package/chunk-6yarwtxh.js +776 -0
  62. package/chunk-708h542p.js +18 -0
  63. package/chunk-76f076t8.js +266 -0
  64. package/chunk-782rrrwv.js +523 -0
  65. package/{workloadLifecycle-P2SJVV3S.js → chunk-7gk330wp.js} +77 -84
  66. package/{chunk-EZKIRVLJ.js → chunk-7ks60vxy.js} +146 -128
  67. package/{chunk-FI4DPLR7.js → chunk-7mrqbxe8.js} +342 -228
  68. package/chunk-7sztayrd.js +169 -0
  69. package/chunk-7vgt2mxz.js +15 -0
  70. package/{localFirstLog-OIETGK66.js → chunk-7z8y4k6y.js} +0 -2
  71. package/{chunk-KDDXC2IH.js → chunk-82htft2m.js} +49 -11
  72. package/{updateDialogTitleAction-OPAZF5VC.js → chunk-88vrtxxg.js} +65 -137
  73. package/{chunk-LS5KAVFQ.js → chunk-8dtjbp79.js} +293 -229
  74. package/chunk-8fajbkaz.js +50 -0
  75. package/chunk-8m1ebxpw.js +65 -0
  76. package/{accountResolver-JYG5L7YP.js → chunk-8mgfeg0w.js} +37 -30
  77. package/{chunk-LPXBBC32.js → chunk-8myksy35.js} +156 -160
  78. package/{chunk-BMQ2MJUK.js → chunk-8nrj7dc7.js} +75 -66
  79. package/{commandRegistry-XPLM5SWC.js → chunk-8t8x64ec.js} +228 -286
  80. package/chunk-8yj4pq79.js +458 -0
  81. package/{chunk-5MKPNTJP.js → chunk-8z6pepcx.js} +43 -48
  82. package/{chunk-UYQILGDR.js → chunk-90egc9vb.js} +122 -102
  83. package/{chunk-Z6LVL5MC.js → chunk-91q5dc5r.js} +10 -14
  84. package/{chunk-U6VC4MU4.js → chunk-96jtrqk1.js} +2 -4
  85. package/{chunk-H57T64RA.js → chunk-996j61av.js} +28 -31
  86. package/{chunk-Q6FKWH66.js → chunk-9cxgb9jy.js} +137 -243
  87. package/{chunk-2ZBPWX7N.js → chunk-9q1gbmet.js} +62 -104
  88. package/chunk-9qtjh73q.js +344 -0
  89. package/{chunk-SR57FDTX.js → chunk-9raka469.js} +72 -155
  90. package/{chunk-V6K5U4YE.js → chunk-9vh4v046.js} +32 -41
  91. package/{chunk-AGIM7IMJ.js → chunk-9yr1fy7j.js} +14 -49
  92. package/{chunk-FGFJUFPS.js → chunk-a16x0wt6.js} +11 -18
  93. package/chunk-a5b2rvzs.js +131 -0
  94. package/{chunk-7DPNBQSV.js → chunk-a7bz6nc3.js} +3 -4
  95. package/chunk-ac85azv9.js +29 -0
  96. package/{chunk-VXL2FZTP.js → chunk-ahhbkad4.js} +16 -20
  97. package/{chunk-37DGW762.js → chunk-anhksj2j.js} +16 -29
  98. package/{cliAuthorityBrokerServer-27C5YBYP.js → chunk-atvmx76t.js} +180 -186
  99. package/{chunk-E6A5NHDH.js → chunk-av2mzeqz.js} +16 -17
  100. package/chunk-avbwrb0z.js +614 -0
  101. package/chunk-avr6rqe5.js +544 -0
  102. package/{workContextQueryProjection-CACY5VFE.js → chunk-axx60d5a.js} +7 -7
  103. package/{chunk-EWQ3HGNZ.js → chunk-b00vzjkb.js} +30 -23
  104. package/chunk-b0m6ezxr.js +132 -0
  105. package/chunk-bbd5mgdt.js +47 -0
  106. package/chunk-bcecft0r.js +28 -0
  107. package/chunk-beyr4pyp.js +33 -0
  108. package/{chunk-BR3GT6MR.js → chunk-bge0cagn.js} +7 -18
  109. package/{offlineMarxistsAgentCommand-MFURGWHL.js → chunk-bh53zg3t.js} +33 -43
  110. package/chunk-bmx1cw89.js +37 -0
  111. package/chunk-br2195h4.js +22 -0
  112. package/chunk-bsqkwveq.js +56 -0
  113. package/{chunk-DZJWSGCV.js → chunk-c09s2z1m.js} +139 -98
  114. package/chunk-c235kypv.js +24636 -0
  115. package/{chunk-2JMYAH5O.js → chunk-c30j6pyh.js} +213 -256
  116. package/chunk-c3v6r6sq.js +29 -0
  117. package/{chunk-NACE7NWO.js → chunk-c5z7qspt.js} +1177 -1196
  118. package/{chunk-GWB6AGME.js → chunk-c6jvz0mp.js} +34 -50
  119. package/{chunk-PRJ473FK.js → chunk-cd6h9qqs.js} +14 -12
  120. package/chunk-cdt0amyy.js +37 -0
  121. package/{chunk-2AJLG6PY.js → chunk-cfh6tfc3.js} +73 -86
  122. package/{chunk-WIVVNJUS.js → chunk-ch4ck1yz.js} +38 -68
  123. package/chunk-chtvrtp5.js +55 -0
  124. package/{chunk-EYLGAEB4.js → chunk-ckvz7abv.js} +170 -165
  125. package/{chunk-YZMNK53S.js → chunk-csf18m5w.js} +32 -25
  126. package/{chunk-C36L6ZID.js → chunk-cwnvf8dt.js} +2 -10
  127. package/chunk-cy7thb6n.js +19877 -0
  128. package/{dialogPortabilityCommands-YQJNB2KL.js → chunk-d61q9nah.js} +439 -487
  129. package/chunk-d6xdy0gp.js +142 -0
  130. package/{chunk-SCEPD46O.js → chunk-dh69vqbd.js} +6386 -6498
  131. package/{chunk-KJ4J2XQB.js → chunk-dj4ggbc6.js} +17 -19
  132. package/{chunk-LISC7BD4.js → chunk-djrrhbk3.js} +29 -37
  133. package/chunk-drqzzzvr.js +822 -0
  134. package/chunk-e1n7edjk.js +33 -0
  135. package/chunk-e3atr4hk.js +59 -0
  136. package/chunk-e9bn2aav.js +13 -0
  137. package/chunk-ed396rfq.js +87 -0
  138. package/chunk-eha8ggh6.js +10 -0
  139. package/{chunk-B7CTVEUV.js → chunk-ek122zzt.js} +893 -948
  140. package/chunk-epnmvek4.js +22 -0
  141. package/{chunk-S25VJYXV.js → chunk-eqzvk3xm.js} +69 -80
  142. package/chunk-ex34n71b.js +2874 -0
  143. package/{chunk-56OAS5RZ.js → chunk-f3ad6q4h.js} +7 -11
  144. package/{chunk-3PVYUPXK.js → chunk-f8jepva1.js} +6 -7
  145. package/{chunk-GH34JXNV.js → chunk-f9yvy9t9.js} +114 -92
  146. package/chunk-fbdz4f0j.js +90 -0
  147. package/{chunk-J44TXB4J.js → chunk-fcsc2day.js} +216 -164
  148. package/chunk-fevdhnbh.js +19 -0
  149. package/chunk-fkrgqq8w.js +3300 -0
  150. package/{chunk-TSBJVMNW.js → chunk-fs3bvh2p.js} +42 -57
  151. package/chunk-fvwzyhah.js +134 -0
  152. package/chunk-g0mpxdp9.js +101 -0
  153. package/{chunk-JGUHOA42.js → chunk-g35f20d1.js} +450 -414
  154. package/{chunk-3L2WKC3W.js → chunk-g5fhtjqg.js} +13 -16
  155. package/{chunk-APOIIIB4.js → chunk-gcq01td7.js} +270 -227
  156. package/{chunk-ADMRXWXJ.js → chunk-ge97b11r.js} +121 -42
  157. package/chunk-ghjtgbkw.js +180 -0
  158. package/chunk-gkra36c1.js +16 -0
  159. package/chunk-gmz86t60.js +1000 -0
  160. package/{localDialogRead-GWGWSL5K.js → chunk-gszpesze.js} +5 -12
  161. package/chunk-gvsfec9m.js +16536 -0
  162. package/{chunk-QSJ3HFEF.js → chunk-h1hzmqph.js} +1 -3
  163. package/chunk-h30dg154.js +17 -0
  164. package/chunk-h3hkb7cw.js +241 -0
  165. package/chunk-h40py996.js +28 -0
  166. package/{chunk-47T3QP4V.js → chunk-h60gnewh.js} +112 -116
  167. package/{agentPullCommand-XEGOUYQT.js → chunk-hkwsv9xf.js} +33 -45
  168. package/chunk-hnyg0gwj.js +28 -0
  169. package/{chunk-KSV6T4AH.js → chunk-hqqqph5w.js} +12 -4
  170. package/{chunk-YQJEXXDK.js → chunk-hrngs1wy.js} +157 -246
  171. package/{chunk-LRLLWD4P.js → chunk-htf69s94.js} +14 -12
  172. package/chunk-j0yxesh3.js +83 -0
  173. package/{chunk-VF4K2QE6.js → chunk-j22t9g05.js} +3 -6
  174. package/{chunk-3R4AYHJR.js → chunk-j4a8m2zn.js} +5 -34
  175. package/chunk-j9p4jnwg.js +27 -0
  176. package/{chunk-R72QWIFO.js → chunk-jdycmfsm.js} +9 -9
  177. package/chunk-jdyvrne0.js +52 -0
  178. package/{spacePruneCommand-YKIEUIDQ.js → chunk-je0b66qf.js} +44 -62
  179. package/{chunk-HNMXYYJR.js → chunk-jec44fkj.js} +3 -4
  180. package/{chunk-526GLZJE.js → chunk-jf1ex00r.js} +107 -73
  181. package/chunk-jgqdec9b.js +31 -0
  182. package/{chunk-56GBUMO5.js → chunk-jkw9n4h5.js} +16 -25
  183. package/{chunk-BY2CHBIZ.js → chunk-jmnzdwjt.js} +867 -965
  184. package/chunk-jqq57s0a.js +58 -0
  185. package/{chunk-OKUSDVRS.js → chunk-jtkn5aj6.js} +27 -38
  186. package/chunk-jwvzn9r0.js +316 -0
  187. package/chunk-k1re0fc7.js +107 -0
  188. package/chunk-k2ep3rb2.js +103 -0
  189. package/{chunk-JEXVIMYZ.js → chunk-k6ycb24w.js} +5 -8
  190. package/{chunk-RI7SXDJW.js → chunk-kawvydbk.js} +383 -195
  191. package/chunk-kf2ghpzh.js +10 -0
  192. package/{chunk-S6FAHQDH.js → chunk-kgah9e46.js} +28 -59
  193. package/{chunk-6A6CTCMC.js → chunk-kjjepkvc.js} +71 -82
  194. package/chunk-kn4dgg4j.js +4113 -0
  195. package/{chunk-2LFYMWM3.js → chunk-kn5p91n8.js} +43 -53
  196. package/{chunk-MVOZ22RZ.js → chunk-kntqrbwc.js} +8 -12
  197. package/{chunk-I6YIA2TY.js → chunk-kq3vr7mx.js} +25 -20
  198. package/chunk-kz1x1d8n.js +15 -0
  199. package/{mcpLocalAuthorizeCommand-IKOFKY5U.js → chunk-m22e7tt2.js} +53 -71
  200. package/{chunk-ZNFJWEN4.js → chunk-m32rwr4d.js} +11 -8
  201. package/chunk-m39e9m18.js +93 -0
  202. package/{chunk-4D4QD7FT.js → chunk-m5518371.js} +64 -56
  203. package/{chunk-LHTXSC2E.js → chunk-mb5hnfyp.js} +9 -11
  204. package/chunk-mexet11v.js +11 -0
  205. package/chunk-mg2hgfgh.js +185 -0
  206. package/chunk-mmdhm4kx.js +10317 -0
  207. package/chunk-mz002yz8.js +2821 -0
  208. package/chunk-mzadqnyq.js +56 -0
  209. package/{chunk-VIDPVFP3.js → chunk-n3r1ebdm.js} +5 -6
  210. package/chunk-n438qea7.js +33 -0
  211. package/chunk-n5ffnhnb.js +93 -0
  212. package/chunk-nbvd87fy.js +9 -0
  213. package/{chunk-E36V7MPY.js → chunk-ndej7jc9.js} +53 -43
  214. package/{chunk-B767MA64.js → chunk-nen6rwe4.js} +62 -22
  215. package/chunk-nf06tr3v.js +16 -0
  216. package/chunk-ng8z355q.js +16 -0
  217. package/{chunk-4MEKE5D3.js → chunk-nhtxfv8k.js} +78 -63
  218. package/{runAgentClientLoop-ELTV5MSJ.js → chunk-nj62jscj.js} +132 -214
  219. package/{chunk-GBWGPTA7.js → chunk-nkryrkyp.js} +16 -19
  220. package/chunk-nmesxem8.js +197 -0
  221. package/{chunk-YR4J7RFS.js → chunk-nmq0qwbn.js} +117 -164
  222. package/chunk-nph8brvw.js +7 -0
  223. package/chunk-nr8fees9.js +10 -0
  224. package/{chunk-DFI7MVCQ.js → chunk-nvewvf7h.js} +1441 -1427
  225. package/{chunk-G7Y4GXTY.js → chunk-nyamhphs.js} +70 -79
  226. package/chunk-nz1c8tcg.js +111 -0
  227. package/{chunk-GPLUFN2E.js → chunk-nzc5yffh.js} +176 -217
  228. package/{chunk-G3SUCT4W.js → chunk-p1vg4bx8.js} +2 -4
  229. package/chunk-p3k3abe8.js +202 -0
  230. package/chunk-p4zy30q5.js +8 -0
  231. package/{chunk-ZJACPM5O.js → chunk-p6se1rx0.js} +102 -102
  232. package/chunk-p9dpshev.js +6968 -0
  233. package/chunk-pa42wxr0.js +116 -0
  234. package/{chunk-TA5QI4MM.js → chunk-paxthgqp.js} +56 -107
  235. package/{readlineWorkspace-5EASNOQ4.js → chunk-pb35s8d9.js} +5395 -5786
  236. package/{chunk-XT6C2QZW.js → chunk-pbebzbcq.js} +8 -8
  237. package/chunk-pbx7e1mb.js +11 -0
  238. package/chunk-pe5czfn9.js +8 -0
  239. package/chunk-pextk1j4.js +62 -0
  240. package/chunk-pf5rywc6.js +575 -0
  241. package/chunk-pjfhd3fz.js +136 -0
  242. package/chunk-pkhqb0fs.js +243 -0
  243. package/chunk-pm5xb9jh.js +26 -0
  244. package/{chunk-Y3KGWZKF.js → chunk-ppdmmdkx.js} +110 -97
  245. package/chunk-pqp6y2hs.js +9 -0
  246. package/{chunk-QHEN7NZ7.js → chunk-ptz8fm2n.js} +12 -17
  247. package/{chunk-EUHMI5KG.js → chunk-pwqnvbt7.js} +65 -46
  248. package/chunk-pzr31nz7.js +12 -0
  249. package/{chunk-WWC7I6TA.js → chunk-q3cx89sw.js} +2 -4
  250. package/chunk-q5pe7be3.js +78 -0
  251. package/{chunk-ZHWTBHT3.js → chunk-q6zqbxp2.js} +418 -409
  252. package/chunk-q7r0e1p3.js +15 -0
  253. package/chunk-q8t2fecd.js +6 -0
  254. package/{chunk-2QAZCYOM.js → chunk-q94zx4d0.js} +721 -753
  255. package/{runtimeDoctorCommands-52MBG5JN.js → chunk-qarz1az1.js} +65 -85
  256. package/{chunk-4INJGWE3.js → chunk-qdcvr25b.js} +72 -53
  257. package/{streamAgentChatTurn-BL3ESUEN.js → chunk-qxs27wfg.js} +1079 -1475
  258. package/{chunk-GIXWVN2W.js → chunk-r06ycjjr.js} +50 -47
  259. package/{chunk-63W5N6P3.js → chunk-r20jw5hb.js} +57 -38
  260. package/{chunk-I5BYFTYK.js → chunk-r7sfwdka.js} +1201 -1142
  261. package/{chunk-UMADT6B2.js → chunk-r9sp1yyb.js} +6 -8
  262. package/{handleSendMessageAction-VQP5HT5I.js → chunk-rbd2vgb3.js} +627 -757
  263. package/chunk-rc37js46.js +12 -0
  264. package/{chunk-5YI447UL.js → chunk-rmngk6r3.js} +67 -76
  265. package/chunk-rnhbnbrq.js +15 -0
  266. package/{chunk-WRHVVIGI.js → chunk-rsfnmrt5.js} +111 -131
  267. package/{chunk-YFSM2366.js → chunk-rvvn2rhj.js} +28 -22
  268. package/{chunk-4Y6CZ2N4.js → chunk-s0fpz7ht.js} +37 -33
  269. package/{chunk-VI4SWTUO.js → chunk-s1cqzb2r.js} +77 -65
  270. package/{chunk-6QDYSCPW.js → chunk-s8q81tda.js} +73 -65
  271. package/chunk-s9hy639e.js +6 -0
  272. package/{chunk-R5GO3YZP.js → chunk-s9vbwme8.js} +115 -106
  273. package/chunk-sger1m1b.js +20 -0
  274. package/chunk-spe6crvk.js +60 -0
  275. package/chunk-spwsrvh9.js +70 -0
  276. package/chunk-sr05zpk7.js +573 -0
  277. package/{chunk-M2EJHDJP.js → chunk-srncrd3f.js} +1 -12
  278. package/{chunk-QXHFIX7W.js → chunk-sry80bpx.js} +71 -53
  279. package/{chunk-PSCNXBYA.js → chunk-t6q69p83.js} +3 -4
  280. package/{chunk-UAD2WT54.js → chunk-t714r4q0.js} +9 -28
  281. package/chunk-t7vbraqe.js +42 -0
  282. package/{chunk-CVMMWN6P.js → chunk-td7653rr.js} +10 -20
  283. package/{chunk-3BQDF4QB.js → chunk-tmytcetz.js} +17 -21
  284. package/{chunk-AMWMV56B.js → chunk-tta4prwg.js} +16 -15
  285. package/chunk-tvh8azgq.js +4829 -0
  286. package/{chunk-ID4G2MAR.js → chunk-v08kbfm8.js} +10 -11
  287. package/{chunk-IHU2ZFCQ.js → chunk-v1x702q8.js} +801 -852
  288. package/{chunk-KHCLMKZZ.js → chunk-v39fea91.js} +576 -247
  289. package/{chunk-OW765XBU.js → chunk-vejtd8p2.js} +3 -4
  290. package/chunk-vep7zkha.js +368 -0
  291. package/chunk-vfwn1k7n.js +142 -0
  292. package/chunk-vg68vxhx.js +20 -0
  293. package/chunk-vgcqgnsm.js +31 -0
  294. package/{chunk-NF64D32W.js → chunk-vnzyjdea.js} +1 -3
  295. package/{chunk-ZCLSM5AK.js → chunk-vqgtw1px.js} +800 -717
  296. package/chunk-vv1gr5xz.js +76 -0
  297. package/{spaceCommands-Z2CTQD6G.js → chunk-w1qeadpq.js} +176 -242
  298. package/chunk-w468ez1p.js +13 -0
  299. package/chunk-w49s0t79.js +14 -0
  300. package/{mcpLocalManageCommands-KUDZQRM4.js → chunk-w58zhfbn.js} +91 -93
  301. package/chunk-w5b74aq6.js +11 -0
  302. package/chunk-w7y41qyw.js +117 -0
  303. package/chunk-w820gg1w.js +4165 -0
  304. package/{chunk-DBJAJ4UD.js → chunk-wdsmaqmt.js} +399 -453
  305. package/{chunk-3EUW3WEO.js → chunk-wfvvnmmj.js} +1 -3
  306. package/{chunk-QY4NZCDA.js → chunk-wkr04bhk.js} +432 -651
  307. package/{chunk-KUG52IAP.js → chunk-ws402twv.js} +1 -3
  308. package/chunk-wzwh311q.js +164 -0
  309. package/{runtimeModeArgs-X7DL7PUN.js → chunk-x5vtgvwn.js} +6 -5
  310. package/{agentMachineCommands-AXPZRHUY.js → chunk-x8h2csmq.js} +152 -195
  311. package/{chunk-BAZCS5XG.js → chunk-x9zfjnrc.js} +59 -47
  312. package/{chunk-WTIJKWCI.js → chunk-xcarc2rf.js} +50 -56
  313. package/chunk-xf33gz0a.js +8 -0
  314. package/{chunk-PVFYPUIM.js → chunk-y7b3gwx1.js} +78 -71
  315. package/{memoryCommands-SVLAVFCV.js → chunk-y7sphmnh.js} +119 -95
  316. package/{agentListCommands-436FHOIT.js → chunk-ycvaafhc.js} +260 -374
  317. package/chunk-yd7zprb0.js +9 -0
  318. package/chunk-yfz3d27k.js +40 -0
  319. package/{chunk-MKR6KDD3.js → chunk-ykv9g3m4.js} +141 -125
  320. package/chunk-ystjgb9e.js +544 -0
  321. package/chunk-yysxn7ep.js +12 -0
  322. package/{chunk-AL3TYDIF.js → chunk-z17eyawk.js} +18 -16
  323. package/{machineCommands-LHJMILRA.js → chunk-z17q416p.js} +442 -563
  324. package/chunk-z1n98pcf.js +12 -0
  325. package/{dialogTraceCommand-HWXGIGZX.js → chunk-z566jx5r.js} +292 -397
  326. package/chunk-zjxd6942.js +6 -0
  327. package/{versionChangeNotice-RFABJGJE.js → chunk-zk11x9y5.js} +7 -9
  328. package/{chunk-TEFD5E2D.js → chunk-zt73yc33.js} +48 -51
  329. package/chunk-zvs2fra1.js +5 -0
  330. package/{chunk-SVFFKLMR.js → chunk-zwee84rh.js} +117 -141
  331. package/chunk-zxgfqv72.js +8 -0
  332. package/index.js +53 -69
  333. package/package.json +4 -4
  334. package/_executeModel-B3ENLKM4.js +0 -341
  335. package/action-UK3HXGXF.js +0 -30
  336. package/addContentAction-CAKFVBDM.js +0 -38
  337. package/addDialogAgentAction-KLJ2YWWM.js +0 -77
  338. package/agentDeleteCommand-R4LKLXQR.js +0 -523
  339. package/agentEmailCommands-SUEXVAY4.js +0 -742
  340. package/agentRecordCommands-NE4OPX5K.js +0 -211
  341. package/agentRun-NSNLIOM7.js +0 -251
  342. package/agentRunCommand-T6QTKMCJ.js +0 -249
  343. package/agentRunControl-U2MV74WR.js +0 -211
  344. package/agentRuntimeLocal-P4MMGIR6.js +0 -189
  345. package/agentSlice-FZJZONCT.js +0 -52
  346. package/appConfigCommands-W4JQHMOJ.js +0 -417
  347. package/appDeleteCommands-IXR47IAV.js +0 -183
  348. package/appDeployCommands-LB6DHDF4.js +0 -232
  349. package/appDeployStatusCommands-UQ6MJL6D.js +0 -204
  350. package/appGetCommands-M5JCTDDQ.js +0 -185
  351. package/appListCommands-TE3ZHE3I.js +0 -186
  352. package/appMigrateCommands-FOXH6R4B.js +0 -230
  353. package/appSourceCommands-3ACYB6I7.js +0 -279
  354. package/authCommand-I5OBJP5S.js +0 -66
  355. package/authCommands-I6KCGOCN.js +0 -54
  356. package/builtinSkillRegistry-MIXYSZUU.js +0 -35
  357. package/chromeOpsCommands-IZRCYDSW.js +0 -579
  358. package/chunk-24BICQPB.js +0 -25
  359. package/chunk-2E4BYAUE.js +0 -69
  360. package/chunk-2O72G3U2.js +0 -17157
  361. package/chunk-2OROOEOQ.js +0 -229
  362. package/chunk-2R6M34JP.js +0 -27225
  363. package/chunk-2SXN7LAY.js +0 -15
  364. package/chunk-35JIFLIG.js +0 -30
  365. package/chunk-3VXVE2LF.js +0 -12
  366. package/chunk-4DBTBNTX.js +0 -477
  367. package/chunk-4JH2UMJR.js +0 -40
  368. package/chunk-4SN6J65J.js +0 -38
  369. package/chunk-4TDUT2LC.js +0 -441
  370. package/chunk-5MMAK75Q.js +0 -15
  371. package/chunk-6NYQHXMV.js +0 -1737
  372. package/chunk-6R4IY46J.js +0 -14
  373. package/chunk-7K4J76JQ.js +0 -917
  374. package/chunk-7LR2IFUH.js +0 -100
  375. package/chunk-AETZ7AD6.js +0 -274
  376. package/chunk-ATNTHIZI.js +0 -13
  377. package/chunk-BPB3T5EU.js +0 -791
  378. package/chunk-BV3FLP2L.js +0 -133
  379. package/chunk-BVYHE6QD.js +0 -110
  380. package/chunk-BWJLEN6X.js +0 -1388
  381. package/chunk-CHOZJMJS.js +0 -78
  382. package/chunk-CYS6HOJ2.js +0 -1710
  383. package/chunk-D2LTQAGN.js +0 -464
  384. package/chunk-DALXH7BG.js +0 -3392
  385. package/chunk-DKEOYC4L.js +0 -15210
  386. package/chunk-DLXL4NSL.js +0 -1179
  387. package/chunk-DSBRIUX5.js +0 -23
  388. package/chunk-DWLEOOGR.js +0 -8
  389. package/chunk-E2KZNP6C.js +0 -13
  390. package/chunk-E5JV4DCB.js +0 -272
  391. package/chunk-EUGTFFO6.js +0 -42
  392. package/chunk-FBNVJ2TO.js +0 -294
  393. package/chunk-FGXG6OLW.js +0 -34
  394. package/chunk-FRFFUKGH.js +0 -3085
  395. package/chunk-G22P2J7O.js +0 -1775
  396. package/chunk-G5KDYBTG.js +0 -432
  397. package/chunk-GBXRKW26.js +0 -613
  398. package/chunk-HEVRQGGH.js +0 -106
  399. package/chunk-HHXF57CL.js +0 -180
  400. package/chunk-HI5RS2O4.js +0 -2109
  401. package/chunk-HJTI7RZV.js +0 -94
  402. package/chunk-HRWRIPTB.js +0 -531
  403. package/chunk-HYCVEESH.js +0 -2824
  404. package/chunk-I42VC5KR.js +0 -15
  405. package/chunk-IB5AR52X.js +0 -15
  406. package/chunk-IIRJ4P4I.js +0 -24
  407. package/chunk-IT3ZZRJE.js +0 -12
  408. package/chunk-IV6VUVLJ.js +0 -88
  409. package/chunk-J42X32PV.js +0 -472
  410. package/chunk-JDMWYVUF.js +0 -449
  411. package/chunk-JKVOKKMQ.js +0 -53
  412. package/chunk-JRTNUU5Z.js +0 -54
  413. package/chunk-K7HLFORE.js +0 -226
  414. package/chunk-KGBASAB5.js +0 -74
  415. package/chunk-KGKTN2NX.js +0 -25
  416. package/chunk-KX6YBIHG.js +0 -8
  417. package/chunk-KYHNSSL2.js +0 -62
  418. package/chunk-KZO2MTVM.js +0 -140
  419. package/chunk-L2DHCG6C.js +0 -779
  420. package/chunk-LKZPX6YH.js +0 -0
  421. package/chunk-LLP2NDED.js +0 -201
  422. package/chunk-LOFRSJX2.js +0 -47
  423. package/chunk-M75RM77T.js +0 -3970
  424. package/chunk-MDAYRIP7.js +0 -1889
  425. package/chunk-MI6HRMCK.js +0 -25
  426. package/chunk-MTNQNLSE.js +0 -1029
  427. package/chunk-NH4PUEWK.js +0 -762
  428. package/chunk-NHLLXINQ.js +0 -8
  429. package/chunk-NTUNHTJV.js +0 -40
  430. package/chunk-OJKUU3LP.js +0 -67
  431. package/chunk-OQH3TAB7.js +0 -299
  432. package/chunk-P62DHV4F.js +0 -443
  433. package/chunk-PHIERFHT.js +0 -574
  434. package/chunk-PKDFU6MY.js +0 -102
  435. package/chunk-PL5RKESU.js +0 -40
  436. package/chunk-PSJJBBWV.js +0 -42
  437. package/chunk-QKM55LP2.js +0 -739
  438. package/chunk-QQ56R7KS.js +0 -88
  439. package/chunk-QYPE3TS3.js +0 -43
  440. package/chunk-REAE2SZK.js +0 -62
  441. package/chunk-RGQ4UUWZ.js +0 -208
  442. package/chunk-RIRFHJTW.js +0 -353
  443. package/chunk-RYMLMTPZ.js +0 -547
  444. package/chunk-SSGTV4FC.js +0 -303
  445. package/chunk-SVKWZ3EG.js +0 -607
  446. package/chunk-T7KODHYS.js +0 -317
  447. package/chunk-TZXPT53C.js +0 -8
  448. package/chunk-U67V476Y.js +0 -35
  449. package/chunk-UEILX4EV.js +0 -15
  450. package/chunk-VIWDGTDA.js +0 -8
  451. package/chunk-VXUQWCEZ.js +0 -138
  452. package/chunk-W5GKF5ZW.js +0 -32
  453. package/chunk-WDWZPASX.js +0 -29
  454. package/chunk-WX266G2C.js +0 -9594
  455. package/chunk-YCITCYSJ.js +0 -356
  456. package/chunk-Z3KTXWWB.js +0 -76
  457. package/chunk-ZC3CMUKU.js +0 -322
  458. package/chunk-ZV7ZY46L.js +0 -1343
  459. package/cliAgentConfigHelpers-WB2S7PDO.js +0 -47
  460. package/cliAuthorityBrokerClient-3SKOA7OZ.js +0 -23
  461. package/cliAuthorityBrokerProcess-BMBVXPKU.js +0 -24
  462. package/cliAuthorityStoreDriver-6FE3BJNB.js +0 -20
  463. package/cliEnvHelpers-7V5ZWUJA.js +0 -34
  464. package/cliExecutor-N3445G2Z.js +0 -45
  465. package/cliLocalAgentRecordReader-QKKRK53P.js +0 -113
  466. package/cloudAutomationCommands-S52NKCLL.js +0 -310
  467. package/contentThunks-RK6MJWBY.js +0 -100
  468. package/cooldownCommands-ZFDAL4MR.js +0 -79
  469. package/createAgentAutomationAction-KN7XLCU2.js +0 -173
  470. package/createDialogAction-KAG6DBVM.js +0 -87
  471. package/createPageAction-7XNPH76L.js +0 -91
  472. package/cursorProvider-2RACMEMF.js +0 -6123
  473. package/db-LTHLW7QA.js +0 -178
  474. package/dbSlice-WNUHTF4C.js +0 -76
  475. package/deleteDbKey-MUCJP6DK.js +0 -87
  476. package/desktopFolderProjects-4POAMVJN.js +0 -45
  477. package/dialogCommands-4MOLJW4G.js +0 -165
  478. package/dialogMessageRecord-2HJTEXQX.js +0 -7
  479. package/dialogNotifyCommand-YL2GFKLO.js +0 -45
  480. package/dialogSlice-BD6WOOD3.js +0 -200
  481. package/dialogUsageCommand-IO2BQKL2.js +0 -31
  482. package/docCreateCommands-OYLRBK2M.js +0 -255
  483. package/docDeleteCommands-3NF6QPJU.js +0 -226
  484. package/docReadCommands-CBAERJAP.js +0 -184
  485. package/docStore-RK4CD4QN.js +0 -89
  486. package/docUpdateCommands-BAMCGX6F.js +0 -326
  487. package/ebookDownloaderAgentCommand-NOIZ6U7Y.js +0 -675
  488. package/fetchMessages-P7FSCSXV.js +0 -19
  489. package/getPricing-KNXVEIUI.js +0 -40
  490. package/hostCredentialCreate-CPIWBALC.js +0 -402
  491. package/i18n-SAK6DDY4.js +0 -51
  492. package/keys-FXEGMKSG.js +0 -183
  493. package/legacyMigration-TF4SYJCZ.js +0 -19
  494. package/levelAuthorityStore-L5SVDM5O.js +0 -10
  495. package/localAutomationCommands-WPYIYTDP.js +0 -199
  496. package/localAutomationRuntime-M7WWU6WY.js +0 -61
  497. package/localRecall-BDYKXB46.js +0 -17
  498. package/localRuntimeAdapter-SNE2NUDN.js +0 -310
  499. package/localRuntimeAuthority-Q5C2KWGF.js +0 -45
  500. package/localRuntimeDb-MM3DINZM.js +0 -12
  501. package/machineInfo-HNPJHQFU.js +0 -14
  502. package/machineWsRunDispatch-VHEIHXWY.js +0 -228
  503. package/models-TOXYINNM.js +0 -10
  504. package/oauthTokenStore-RUYNYALS.js +0 -24
  505. package/overlay-JA3SPVUS.js +0 -15
  506. package/parityCommands-5OCBPVES.js +0 -613
  507. package/processSpawn-6GEO77KV.js +0 -11
  508. package/profileConfig-KOWK4HOG.js +0 -49
  509. package/projectArchive-HUET56SH.js +0 -132
  510. package/providerPresetApply-YCVSP2WX.js +0 -235
  511. package/providerRegistry-26PAUYH2.js +0 -24
  512. package/read-D4WYJQJQ.js +0 -32
  513. package/readDocTool-3S3OQFOH.js +0 -22
  514. package/rememberExplicit-ZPI6KK5M.js +0 -16
  515. package/remove-AHRMUDMH.js +0 -32
  516. package/removeDialogAgentAction-AALRBFSA.js +0 -81
  517. package/secretCommands-2PSS3QNZ.js +0 -24
  518. package/setDialogExtraReferencesAction-SLHQ3GYL.js +0 -39
  519. package/setPrimaryDialogAgentAction-XKCSGJ7M.js +0 -96
  520. package/skillDiscovery-IUEZZG2B.js +0 -29
  521. package/skillSummaryMarker-62UW7HI7.js +0 -9
  522. package/slateToRenderMarkdown-R3X74MCX.js +0 -7
  523. package/slateUtils-ESQAJ6RN.js +0 -19
  524. package/store-WSAVTR32.js +0 -50
  525. package/switchDialogAgentAction-YJIWQGIR.js +0 -70
  526. package/tombstones-FQQMEDOW.js +0 -32
  527. package/toolApiClient-FVXTIIEN.js +0 -42
  528. package/tools-KB6CJ2KT.js +0 -147
  529. package/tuiRestart-LU2BDLAW.js +0 -50
  530. package/tuiSummaryLlmCaller-Z2ZVBIGN.js +0 -53
  531. package/updateCommands-4QP7WJLA.js +0 -63
  532. package/usageCommand-AZX7D3LB.js +0 -31
  533. package/usageRebuildCommand-XV5QQCHK.js +0 -623
  534. package/userDataMerge-HT2ZVHBJ.js +0 -13
  535. package/windowsSelfUpdate-5OFKSW6Y.js +0 -14
  536. package/workContext-ZAW6VXT7.js +0 -18
  537. package/workContextAccess-VU5I4LKZ.js +0 -11
  538. package/workContextWriteNotice-YCSSMHN4.js +0 -7
  539. /package/{chunk-BYXBJQAS.js → chunk-0bcc25vg.js} +0 -0
package/chunk-HI5RS2O4.js DELETED
@@ -1,2109 +0,0 @@
1
- import {
2
- getIsDesktopApp,
3
- googleSessionServer
4
- } from "./chunk-K7HLFORE.js";
5
- import {
6
- isRecord
7
- } from "./chunk-KUG52IAP.js";
8
- import {
9
- SERVERS
10
- } from "./chunk-JKVOKKMQ.js";
11
- import {
12
- isLocalServerUrl
13
- } from "./chunk-4SN6J65J.js";
14
- import {
15
- normalizeServerOrigin
16
- } from "./chunk-CF7PE763.js";
17
- import {
18
- asOptionalTrimmedString
19
- } from "./chunk-G3SUCT4W.js";
20
- import {
21
- __commonJS,
22
- __toESM
23
- } from "./chunk-U67V476Y.js";
24
-
25
- // node_modules/react/cjs/react.production.js
26
- var require_react_production = __commonJS({
27
- "node_modules/react/cjs/react.production.js"(exports) {
28
- "use strict";
29
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
30
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
31
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
32
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
33
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
34
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
35
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
36
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
37
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
38
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
39
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
40
- var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
41
- var REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition");
42
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
43
- function getIteratorFn(maybeIterable) {
44
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
45
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
46
- return "function" === typeof maybeIterable ? maybeIterable : null;
47
- }
48
- var ReactNoopUpdateQueue = {
49
- isMounted: function() {
50
- return false;
51
- },
52
- enqueueForceUpdate: function() {
53
- },
54
- enqueueReplaceState: function() {
55
- },
56
- enqueueSetState: function() {
57
- }
58
- };
59
- var assign = Object.assign;
60
- var emptyObject = {};
61
- function Component(props, context, updater) {
62
- this.props = props;
63
- this.context = context;
64
- this.refs = emptyObject;
65
- this.updater = updater || ReactNoopUpdateQueue;
66
- }
67
- Component.prototype.isReactComponent = {};
68
- Component.prototype.setState = function(partialState, callback) {
69
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
70
- throw Error(
71
- "takes an object of state variables to update or a function which returns an object of state variables."
72
- );
73
- this.updater.enqueueSetState(this, partialState, callback, "setState");
74
- };
75
- Component.prototype.forceUpdate = function(callback) {
76
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
77
- };
78
- function ComponentDummy() {
79
- }
80
- ComponentDummy.prototype = Component.prototype;
81
- function PureComponent(props, context, updater) {
82
- this.props = props;
83
- this.context = context;
84
- this.refs = emptyObject;
85
- this.updater = updater || ReactNoopUpdateQueue;
86
- }
87
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
88
- pureComponentPrototype.constructor = PureComponent;
89
- assign(pureComponentPrototype, Component.prototype);
90
- pureComponentPrototype.isPureReactComponent = true;
91
- var isArrayImpl = Array.isArray;
92
- function noop() {
93
- }
94
- var ReactSharedInternals = { H: null, A: null, T: null, S: null };
95
- var hasOwnProperty = Object.prototype.hasOwnProperty;
96
- function ReactElement(type, key, props) {
97
- var refProp = props.ref;
98
- return {
99
- $$typeof: REACT_ELEMENT_TYPE,
100
- type,
101
- key,
102
- ref: void 0 !== refProp ? refProp : null,
103
- props
104
- };
105
- }
106
- function cloneAndReplaceKey(oldElement, newKey) {
107
- return ReactElement(oldElement.type, newKey, oldElement.props);
108
- }
109
- function isValidElement(object) {
110
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
111
- }
112
- function escape(key) {
113
- var escaperLookup = { "=": "=0", ":": "=2" };
114
- return "$" + key.replace(/[=:]/g, function(match) {
115
- return escaperLookup[match];
116
- });
117
- }
118
- var userProvidedKeyEscapeRegex = /\/+/g;
119
- function getElementKey(element, index) {
120
- return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
121
- }
122
- function resolveThenable(thenable) {
123
- switch (thenable.status) {
124
- case "fulfilled":
125
- return thenable.value;
126
- case "rejected":
127
- throw thenable.reason;
128
- default:
129
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
130
- function(fulfilledValue) {
131
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
132
- },
133
- function(error) {
134
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
135
- }
136
- )), thenable.status) {
137
- case "fulfilled":
138
- return thenable.value;
139
- case "rejected":
140
- throw thenable.reason;
141
- }
142
- }
143
- throw thenable;
144
- }
145
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
146
- var type = typeof children;
147
- if ("undefined" === type || "boolean" === type) children = null;
148
- var invokeCallback = false;
149
- if (null === children) invokeCallback = true;
150
- else
151
- switch (type) {
152
- case "bigint":
153
- case "string":
154
- case "number":
155
- invokeCallback = true;
156
- break;
157
- case "object":
158
- switch (children.$$typeof) {
159
- case REACT_ELEMENT_TYPE:
160
- case REACT_PORTAL_TYPE:
161
- invokeCallback = true;
162
- break;
163
- case REACT_LAZY_TYPE:
164
- return invokeCallback = children._init, mapIntoArray(
165
- invokeCallback(children._payload),
166
- array,
167
- escapedPrefix,
168
- nameSoFar,
169
- callback
170
- );
171
- }
172
- }
173
- if (invokeCallback)
174
- return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
175
- return c;
176
- })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(
177
- callback,
178
- escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
179
- userProvidedKeyEscapeRegex,
180
- "$&/"
181
- ) + "/") + invokeCallback
182
- )), array.push(callback)), 1;
183
- invokeCallback = 0;
184
- var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
185
- if (isArrayImpl(children))
186
- for (var i = 0; i < children.length; i++)
187
- nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
188
- nameSoFar,
189
- array,
190
- escapedPrefix,
191
- type,
192
- callback
193
- );
194
- else if (i = getIteratorFn(children), "function" === typeof i)
195
- for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
196
- nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
197
- nameSoFar,
198
- array,
199
- escapedPrefix,
200
- type,
201
- callback
202
- );
203
- else if ("object" === type) {
204
- if ("function" === typeof children.then)
205
- return mapIntoArray(
206
- resolveThenable(children),
207
- array,
208
- escapedPrefix,
209
- nameSoFar,
210
- callback
211
- );
212
- array = String(children);
213
- throw Error(
214
- "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
215
- );
216
- }
217
- return invokeCallback;
218
- }
219
- function mapChildren(children, func, context) {
220
- if (null == children) return children;
221
- var result = [], count = 0;
222
- mapIntoArray(children, result, "", "", function(child) {
223
- return func.call(context, child, count++);
224
- });
225
- return result;
226
- }
227
- function lazyInitializer(payload) {
228
- if (-1 === payload._status) {
229
- var ctor = payload._result, thenable = ctor();
230
- thenable.then(
231
- function(moduleObject) {
232
- if (0 === payload._status || -1 === payload._status)
233
- payload._status = 1, payload._result = moduleObject, void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
234
- },
235
- function(error) {
236
- if (0 === payload._status || -1 === payload._status)
237
- payload._status = 2, payload._result = error, void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
238
- }
239
- );
240
- -1 === payload._status && (payload._status = 0, payload._result = thenable);
241
- }
242
- if (1 === payload._status) return payload._result.default;
243
- throw payload._result;
244
- }
245
- var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
246
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
247
- var event = new window.ErrorEvent("error", {
248
- bubbles: true,
249
- cancelable: true,
250
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
251
- error
252
- });
253
- if (!window.dispatchEvent(event)) return;
254
- } else if ("object" === typeof process && "function" === typeof process.emit) {
255
- process.emit("uncaughtException", error);
256
- return;
257
- }
258
- console.error(error);
259
- };
260
- function startTransition(scope) {
261
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
262
- currentTransition.types = null !== prevTransition ? prevTransition.types : null;
263
- ReactSharedInternals.T = currentTransition;
264
- try {
265
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
266
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
267
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
268
- } catch (error) {
269
- reportGlobalError(error);
270
- } finally {
271
- null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
272
- }
273
- }
274
- function addTransitionType(type) {
275
- var transition = ReactSharedInternals.T;
276
- if (null !== transition) {
277
- var transitionTypes = transition.types;
278
- null === transitionTypes ? transition.types = [type] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
279
- } else startTransition(addTransitionType.bind(null, type));
280
- }
281
- var Children = {
282
- map: mapChildren,
283
- forEach: function(children, forEachFunc, forEachContext) {
284
- mapChildren(
285
- children,
286
- function() {
287
- forEachFunc.apply(this, arguments);
288
- },
289
- forEachContext
290
- );
291
- },
292
- count: function(children) {
293
- var n = 0;
294
- mapChildren(children, function() {
295
- n++;
296
- });
297
- return n;
298
- },
299
- toArray: function(children) {
300
- return mapChildren(children, function(child) {
301
- return child;
302
- }) || [];
303
- },
304
- only: function(children) {
305
- if (!isValidElement(children))
306
- throw Error(
307
- "React.Children.only expected to receive a single React element child."
308
- );
309
- return children;
310
- }
311
- };
312
- exports.Activity = REACT_ACTIVITY_TYPE;
313
- exports.Children = Children;
314
- exports.Component = Component;
315
- exports.Fragment = REACT_FRAGMENT_TYPE;
316
- exports.Profiler = REACT_PROFILER_TYPE;
317
- exports.PureComponent = PureComponent;
318
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
319
- exports.Suspense = REACT_SUSPENSE_TYPE;
320
- exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
321
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
322
- exports.__COMPILER_RUNTIME = {
323
- __proto__: null,
324
- c: function(size) {
325
- return ReactSharedInternals.H.useMemoCache(size);
326
- }
327
- };
328
- exports.addTransitionType = addTransitionType;
329
- exports.cache = function(fn) {
330
- return function() {
331
- return fn.apply(null, arguments);
332
- };
333
- };
334
- exports.cacheSignal = function() {
335
- return null;
336
- };
337
- exports.cloneElement = function(element, config, children) {
338
- if (null === element || void 0 === element)
339
- throw Error(
340
- "The argument must be a React element, but you passed " + element + "."
341
- );
342
- var props = assign({}, element.props), key = element.key;
343
- if (null != config)
344
- for (propName in void 0 !== config.key && (key = "" + config.key), config)
345
- !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
346
- var propName = arguments.length - 2;
347
- if (1 === propName) props.children = children;
348
- else if (1 < propName) {
349
- for (var childArray = Array(propName), i = 0; i < propName; i++)
350
- childArray[i] = arguments[i + 2];
351
- props.children = childArray;
352
- }
353
- return ReactElement(element.type, key, props);
354
- };
355
- exports.createContext = function(defaultValue) {
356
- defaultValue = {
357
- $$typeof: REACT_CONTEXT_TYPE,
358
- _currentValue: defaultValue,
359
- _currentValue2: defaultValue,
360
- _threadCount: 0,
361
- Provider: null,
362
- Consumer: null
363
- };
364
- defaultValue.Provider = defaultValue;
365
- defaultValue.Consumer = {
366
- $$typeof: REACT_CONSUMER_TYPE,
367
- _context: defaultValue
368
- };
369
- return defaultValue;
370
- };
371
- exports.createElement = function(type, config, children) {
372
- var propName, props = {}, key = null;
373
- if (null != config)
374
- for (propName in void 0 !== config.key && (key = "" + config.key), config)
375
- hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
376
- var childrenLength = arguments.length - 2;
377
- if (1 === childrenLength) props.children = children;
378
- else if (1 < childrenLength) {
379
- for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
380
- childArray[i] = arguments[i + 2];
381
- props.children = childArray;
382
- }
383
- if (type && type.defaultProps)
384
- for (propName in childrenLength = type.defaultProps, childrenLength)
385
- void 0 === props[propName] && (props[propName] = childrenLength[propName]);
386
- return ReactElement(type, key, props);
387
- };
388
- exports.createRef = function() {
389
- return { current: null };
390
- };
391
- exports.forwardRef = function(render) {
392
- return { $$typeof: REACT_FORWARD_REF_TYPE, render };
393
- };
394
- exports.isValidElement = isValidElement;
395
- exports.lazy = function(ctor) {
396
- return {
397
- $$typeof: REACT_LAZY_TYPE,
398
- _payload: { _status: -1, _result: ctor },
399
- _init: lazyInitializer
400
- };
401
- };
402
- exports.memo = function(type, compare) {
403
- return {
404
- $$typeof: REACT_MEMO_TYPE,
405
- type,
406
- compare: void 0 === compare ? null : compare
407
- };
408
- };
409
- exports.startTransition = startTransition;
410
- exports.unstable_useCacheRefresh = function() {
411
- return ReactSharedInternals.H.useCacheRefresh();
412
- };
413
- exports.use = function(usable) {
414
- return ReactSharedInternals.H.use(usable);
415
- };
416
- exports.useActionState = function(action, initialState, permalink) {
417
- return ReactSharedInternals.H.useActionState(action, initialState, permalink);
418
- };
419
- exports.useCallback = function(callback, deps) {
420
- return ReactSharedInternals.H.useCallback(callback, deps);
421
- };
422
- exports.useContext = function(Context) {
423
- return ReactSharedInternals.H.useContext(Context);
424
- };
425
- exports.useDebugValue = function() {
426
- };
427
- exports.useDeferredValue = function(value, initialValue) {
428
- return ReactSharedInternals.H.useDeferredValue(value, initialValue);
429
- };
430
- exports.useEffect = function(create, deps) {
431
- return ReactSharedInternals.H.useEffect(create, deps);
432
- };
433
- exports.useEffectEvent = function(callback) {
434
- return ReactSharedInternals.H.useEffectEvent(callback);
435
- };
436
- exports.useId = function() {
437
- return ReactSharedInternals.H.useId();
438
- };
439
- exports.useImperativeHandle = function(ref, create, deps) {
440
- return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
441
- };
442
- exports.useInsertionEffect = function(create, deps) {
443
- return ReactSharedInternals.H.useInsertionEffect(create, deps);
444
- };
445
- exports.useLayoutEffect = function(create, deps) {
446
- return ReactSharedInternals.H.useLayoutEffect(create, deps);
447
- };
448
- exports.useMemo = function(create, deps) {
449
- return ReactSharedInternals.H.useMemo(create, deps);
450
- };
451
- exports.useOptimistic = function(passthrough, reducer) {
452
- return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
453
- };
454
- exports.useReducer = function(reducer, initialArg, init) {
455
- return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
456
- };
457
- exports.useRef = function(initialValue) {
458
- return ReactSharedInternals.H.useRef(initialValue);
459
- };
460
- exports.useState = function(initialState) {
461
- return ReactSharedInternals.H.useState(initialState);
462
- };
463
- exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
464
- return ReactSharedInternals.H.useSyncExternalStore(
465
- subscribe,
466
- getSnapshot,
467
- getServerSnapshot
468
- );
469
- };
470
- exports.useTransition = function() {
471
- return ReactSharedInternals.H.useTransition();
472
- };
473
- exports.version = "19.3.0";
474
- }
475
- });
476
-
477
- // node_modules/react/cjs/react.development.js
478
- var require_react_development = __commonJS({
479
- "node_modules/react/cjs/react.development.js"(exports, module) {
480
- "use strict";
481
- "production" !== process.env.NODE_ENV && function() {
482
- function defineDeprecationWarning(methodName, info) {
483
- Object.defineProperty(Component.prototype, methodName, {
484
- get: function() {
485
- console.warn(
486
- "%s(...) is deprecated in plain JavaScript React classes. %s",
487
- info[0],
488
- info[1]
489
- );
490
- }
491
- });
492
- }
493
- function getIteratorFn(maybeIterable) {
494
- if (null === maybeIterable || "object" !== typeof maybeIterable)
495
- return null;
496
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
497
- return "function" === typeof maybeIterable ? maybeIterable : null;
498
- }
499
- function warnNoop(publicInstance, callerName) {
500
- publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
501
- var warningKey = publicInstance + "." + callerName;
502
- didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
503
- "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
504
- callerName,
505
- publicInstance
506
- ), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
507
- }
508
- function Component(props, context, updater) {
509
- this.props = props;
510
- this.context = context;
511
- this.refs = emptyObject;
512
- this.updater = updater || ReactNoopUpdateQueue;
513
- }
514
- function ComponentDummy() {
515
- }
516
- function PureComponent(props, context, updater) {
517
- this.props = props;
518
- this.context = context;
519
- this.refs = emptyObject;
520
- this.updater = updater || ReactNoopUpdateQueue;
521
- }
522
- function noop() {
523
- }
524
- function testStringCoercion(value) {
525
- return "" + value;
526
- }
527
- function checkKeyStringCoercion(value) {
528
- try {
529
- testStringCoercion(value);
530
- var JSCompiler_inline_result = false;
531
- } catch (e) {
532
- JSCompiler_inline_result = true;
533
- }
534
- if (JSCompiler_inline_result) {
535
- JSCompiler_inline_result = console;
536
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
537
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
538
- JSCompiler_temp_const.call(
539
- JSCompiler_inline_result,
540
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
541
- JSCompiler_inline_result$jscomp$0
542
- );
543
- return testStringCoercion(value);
544
- }
545
- }
546
- function getComponentNameFromType(type) {
547
- if (null == type) return null;
548
- if ("function" === typeof type)
549
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
550
- if ("string" === typeof type) return type;
551
- switch (type) {
552
- case REACT_FRAGMENT_TYPE:
553
- return "Fragment";
554
- case REACT_PROFILER_TYPE:
555
- return "Profiler";
556
- case REACT_STRICT_MODE_TYPE:
557
- return "StrictMode";
558
- case REACT_SUSPENSE_TYPE:
559
- return "Suspense";
560
- case REACT_SUSPENSE_LIST_TYPE:
561
- return "SuspenseList";
562
- case REACT_ACTIVITY_TYPE:
563
- return "Activity";
564
- case REACT_VIEW_TRANSITION_TYPE:
565
- return "ViewTransition";
566
- }
567
- if ("object" === typeof type)
568
- switch ("number" === typeof type.tag && console.error(
569
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
570
- ), type.$$typeof) {
571
- case REACT_PORTAL_TYPE:
572
- return "Portal";
573
- case REACT_CONTEXT_TYPE:
574
- return type.displayName || "Context";
575
- case REACT_CONSUMER_TYPE:
576
- return (type._context.displayName || "Context") + ".Consumer";
577
- case REACT_FORWARD_REF_TYPE:
578
- var innerType = type.render;
579
- type = type.displayName;
580
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
581
- return type;
582
- case REACT_MEMO_TYPE:
583
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
584
- case REACT_LAZY_TYPE:
585
- innerType = type._payload;
586
- type = type._init;
587
- try {
588
- return getComponentNameFromType(type(innerType));
589
- } catch (x) {
590
- }
591
- }
592
- return null;
593
- }
594
- function getTaskName(type) {
595
- if (type === REACT_FRAGMENT_TYPE) return "<>";
596
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
597
- return "<...>";
598
- try {
599
- var name = getComponentNameFromType(type);
600
- return name ? "<" + name + ">" : "<...>";
601
- } catch (x) {
602
- return "<...>";
603
- }
604
- }
605
- function getOwner() {
606
- var dispatcher = ReactSharedInternals.A;
607
- return null === dispatcher ? null : dispatcher.getOwner();
608
- }
609
- function UnknownOwner() {
610
- return Error("react-stack-top-frame");
611
- }
612
- function hasValidKey(config) {
613
- if (hasOwnProperty.call(config, "key")) {
614
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
615
- if (getter && getter.isReactWarning) return false;
616
- }
617
- return void 0 !== config.key;
618
- }
619
- function defineKeyPropWarningGetter(props, displayName) {
620
- function warnAboutAccessingKey() {
621
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
622
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
623
- displayName
624
- ));
625
- }
626
- warnAboutAccessingKey.isReactWarning = true;
627
- Object.defineProperty(props, "key", {
628
- get: warnAboutAccessingKey,
629
- configurable: true
630
- });
631
- }
632
- function elementRefGetterWithDeprecationWarning() {
633
- var componentName = getComponentNameFromType(this.type);
634
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
635
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
636
- ));
637
- componentName = this.props.ref;
638
- return void 0 !== componentName ? componentName : null;
639
- }
640
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
641
- var refProp = props.ref;
642
- type = {
643
- $$typeof: REACT_ELEMENT_TYPE,
644
- type,
645
- key,
646
- props,
647
- _owner: owner
648
- };
649
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
650
- enumerable: false,
651
- get: elementRefGetterWithDeprecationWarning
652
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
653
- type._store = {};
654
- Object.defineProperty(type._store, "validated", {
655
- configurable: false,
656
- enumerable: false,
657
- writable: true,
658
- value: 0
659
- });
660
- Object.defineProperty(type, "_debugInfo", {
661
- configurable: false,
662
- enumerable: false,
663
- writable: true,
664
- value: null
665
- });
666
- Object.defineProperty(type, "_debugStack", {
667
- configurable: false,
668
- enumerable: false,
669
- writable: true,
670
- value: debugStack
671
- });
672
- Object.defineProperty(type, "_debugTask", {
673
- configurable: false,
674
- enumerable: false,
675
- writable: true,
676
- value: debugTask
677
- });
678
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
679
- return type;
680
- }
681
- function cloneAndReplaceKey(oldElement, newKey) {
682
- newKey = ReactElement(
683
- oldElement.type,
684
- newKey,
685
- oldElement.props,
686
- oldElement._owner,
687
- oldElement._debugStack,
688
- oldElement._debugTask
689
- );
690
- oldElement._store && (newKey._store.validated = oldElement._store.validated);
691
- return newKey;
692
- }
693
- function validateChildKeys(node) {
694
- isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
695
- }
696
- function isValidElement(object) {
697
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
698
- }
699
- function escape(key) {
700
- var escaperLookup = { "=": "=0", ":": "=2" };
701
- return "$" + key.replace(/[=:]/g, function(match) {
702
- return escaperLookup[match];
703
- });
704
- }
705
- function getElementKey(element, index) {
706
- return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
707
- }
708
- function resolveThenable(thenable) {
709
- switch (thenable.status) {
710
- case "fulfilled":
711
- return thenable.value;
712
- case "rejected":
713
- throw thenable.reason;
714
- default:
715
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
716
- function(fulfilledValue) {
717
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
718
- },
719
- function(error) {
720
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
721
- }
722
- )), thenable.status) {
723
- case "fulfilled":
724
- return thenable.value;
725
- case "rejected":
726
- throw thenable.reason;
727
- }
728
- }
729
- throw thenable;
730
- }
731
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
732
- var type = typeof children;
733
- if ("undefined" === type || "boolean" === type) children = null;
734
- var invokeCallback = false;
735
- if (null === children) invokeCallback = true;
736
- else
737
- switch (type) {
738
- case "bigint":
739
- case "string":
740
- case "number":
741
- invokeCallback = true;
742
- break;
743
- case "object":
744
- switch (children.$$typeof) {
745
- case REACT_ELEMENT_TYPE:
746
- case REACT_PORTAL_TYPE:
747
- invokeCallback = true;
748
- break;
749
- case REACT_LAZY_TYPE:
750
- return invokeCallback = children._init, mapIntoArray(
751
- invokeCallback(children._payload),
752
- array,
753
- escapedPrefix,
754
- nameSoFar,
755
- callback
756
- );
757
- }
758
- }
759
- if (invokeCallback) {
760
- invokeCallback = children;
761
- callback = callback(invokeCallback);
762
- var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
763
- isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
764
- return c;
765
- })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
766
- callback,
767
- escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
768
- userProvidedKeyEscapeRegex,
769
- "$&/"
770
- ) + "/") + childKey
771
- ), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
772
- return 1;
773
- }
774
- invokeCallback = 0;
775
- childKey = "" === nameSoFar ? "." : nameSoFar + ":";
776
- if (isArrayImpl(children))
777
- for (var i = 0; i < children.length; i++)
778
- nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
779
- nameSoFar,
780
- array,
781
- escapedPrefix,
782
- type,
783
- callback
784
- );
785
- else if (i = getIteratorFn(children), "function" === typeof i)
786
- for (i === children.entries && (didWarnAboutMaps || console.warn(
787
- "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
788
- ), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
789
- nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
790
- nameSoFar,
791
- array,
792
- escapedPrefix,
793
- type,
794
- callback
795
- );
796
- else if ("object" === type) {
797
- if ("function" === typeof children.then)
798
- return mapIntoArray(
799
- resolveThenable(children),
800
- array,
801
- escapedPrefix,
802
- nameSoFar,
803
- callback
804
- );
805
- array = String(children);
806
- throw Error(
807
- "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
808
- );
809
- }
810
- return invokeCallback;
811
- }
812
- function mapChildren(children, func, context) {
813
- if (null == children) return children;
814
- var result = [], count = 0;
815
- mapIntoArray(children, result, "", "", function(child) {
816
- return func.call(context, child, count++);
817
- });
818
- return result;
819
- }
820
- function lazyInitializer(payload) {
821
- if (-1 === payload._status) {
822
- var resolveDebugValue = null, rejectDebugValue = null, ioInfo = payload._ioInfo;
823
- null != ioInfo && (ioInfo.start = ioInfo.end = performance.now(), ioInfo.value = new Promise(function(resolve, reject) {
824
- resolveDebugValue = resolve;
825
- rejectDebugValue = reject;
826
- }));
827
- ioInfo = payload._result;
828
- var thenable = ioInfo();
829
- thenable.then(
830
- function(moduleObject) {
831
- if (0 === payload._status || -1 === payload._status) {
832
- payload._status = 1;
833
- payload._result = moduleObject;
834
- var _ioInfo = payload._ioInfo;
835
- if (null != _ioInfo) {
836
- _ioInfo.end = performance.now();
837
- var debugValue = null == moduleObject ? void 0 : moduleObject.default;
838
- resolveDebugValue(debugValue);
839
- _ioInfo.value.status = "fulfilled";
840
- _ioInfo.value.value = debugValue;
841
- }
842
- void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
843
- }
844
- },
845
- function(error) {
846
- if (0 === payload._status || -1 === payload._status) {
847
- payload._status = 2;
848
- payload._result = error;
849
- var _ioInfo2 = payload._ioInfo;
850
- null != _ioInfo2 && (_ioInfo2.end = performance.now(), _ioInfo2.value.then(noop, noop), rejectDebugValue(error), _ioInfo2.value.status = "rejected", _ioInfo2.value.reason = error);
851
- void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
852
- }
853
- }
854
- );
855
- ioInfo = payload._ioInfo;
856
- if (null != ioInfo) {
857
- var displayName = thenable.displayName;
858
- "string" === typeof displayName && (ioInfo.name = displayName);
859
- }
860
- -1 === payload._status && (payload._status = 0, payload._result = thenable);
861
- }
862
- if (1 === payload._status)
863
- return ioInfo = payload._result, void 0 === ioInfo && console.error(
864
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
865
- ioInfo
866
- ), "default" in ioInfo || console.error(
867
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
868
- ioInfo
869
- ), ioInfo.default;
870
- throw payload._result;
871
- }
872
- function resolveDispatcher() {
873
- var dispatcher = ReactSharedInternals.H;
874
- null === dispatcher && console.error(
875
- "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
876
- );
877
- return dispatcher;
878
- }
879
- function releaseAsyncTransition() {
880
- ReactSharedInternals.asyncTransitions--;
881
- }
882
- function startTransition(scope) {
883
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
884
- currentTransition.types = null !== prevTransition ? prevTransition.types : null;
885
- currentTransition._updatedFibers = /* @__PURE__ */ new Set();
886
- ReactSharedInternals.T = currentTransition;
887
- try {
888
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
889
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
890
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
891
- } catch (error) {
892
- reportGlobalError(error);
893
- } finally {
894
- null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
895
- "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
896
- )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
897
- "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
898
- ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
899
- }
900
- }
901
- function addTransitionType(type) {
902
- var transition = ReactSharedInternals.T;
903
- if (null !== transition) {
904
- var transitionTypes = transition.types;
905
- null === transitionTypes ? transition.types = [type] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
906
- } else
907
- 0 === ReactSharedInternals.asyncTransitions && console.error(
908
- "addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."
909
- ), startTransition(addTransitionType.bind(null, type));
910
- }
911
- function enqueueTask(task) {
912
- if (null === enqueueTaskImpl)
913
- try {
914
- var requireString = ("require" + Math.random()).slice(0, 7);
915
- enqueueTaskImpl = (module && module[requireString]).call(
916
- module,
917
- "timers"
918
- ).setImmediate;
919
- } catch (_err) {
920
- enqueueTaskImpl = function(callback) {
921
- false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
922
- "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
923
- ));
924
- var channel = new MessageChannel();
925
- channel.port1.onmessage = callback;
926
- channel.port2.postMessage(void 0);
927
- };
928
- }
929
- return enqueueTaskImpl(task);
930
- }
931
- function aggregateErrors(errors) {
932
- return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
933
- }
934
- function popActScope(prevActQueue, prevActScopeDepth) {
935
- prevActScopeDepth !== actScopeDepth - 1 && console.error(
936
- "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
937
- );
938
- actScopeDepth = prevActScopeDepth;
939
- }
940
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
941
- var queue = ReactSharedInternals.actQueue;
942
- if (null !== queue)
943
- if (0 !== queue.length)
944
- try {
945
- flushActQueue(queue);
946
- enqueueTask(function() {
947
- return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
948
- });
949
- return;
950
- } catch (error) {
951
- ReactSharedInternals.thrownErrors.push(error);
952
- }
953
- else ReactSharedInternals.actQueue = null;
954
- 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
955
- }
956
- function flushActQueue(queue) {
957
- if (!isFlushing) {
958
- isFlushing = true;
959
- var i = 0;
960
- try {
961
- for (; i < queue.length; i++) {
962
- var callback = queue[i];
963
- do {
964
- ReactSharedInternals.didUsePromise = false;
965
- var continuation = callback(false);
966
- if (null !== continuation) {
967
- if (ReactSharedInternals.didUsePromise) {
968
- queue[i] = callback;
969
- queue.splice(0, i);
970
- return;
971
- }
972
- callback = continuation;
973
- } else break;
974
- } while (1);
975
- }
976
- queue.length = 0;
977
- } catch (error) {
978
- queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
979
- } finally {
980
- isFlushing = false;
981
- }
982
- }
983
- }
984
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
985
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
986
- isMounted: function() {
987
- return false;
988
- },
989
- enqueueForceUpdate: function(publicInstance) {
990
- warnNoop(publicInstance, "forceUpdate");
991
- },
992
- enqueueReplaceState: function(publicInstance) {
993
- warnNoop(publicInstance, "replaceState");
994
- },
995
- enqueueSetState: function(publicInstance) {
996
- warnNoop(publicInstance, "setState");
997
- }
998
- }, assign = Object.assign, emptyObject = {};
999
- Object.freeze(emptyObject);
1000
- Component.prototype.isReactComponent = {};
1001
- Component.prototype.setState = function(partialState, callback) {
1002
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
1003
- throw Error(
1004
- "takes an object of state variables to update or a function which returns an object of state variables."
1005
- );
1006
- this.updater.enqueueSetState(this, partialState, callback, "setState");
1007
- };
1008
- Component.prototype.forceUpdate = function(callback) {
1009
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
1010
- };
1011
- var deprecatedAPIs = {
1012
- isMounted: [
1013
- "isMounted",
1014
- "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
1015
- ],
1016
- replaceState: [
1017
- "replaceState",
1018
- "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
1019
- ]
1020
- };
1021
- for (fnName in deprecatedAPIs)
1022
- deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
1023
- ComponentDummy.prototype = Component.prototype;
1024
- deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
1025
- deprecatedAPIs.constructor = PureComponent;
1026
- assign(deprecatedAPIs, Component.prototype);
1027
- deprecatedAPIs.isPureReactComponent = true;
1028
- var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = {
1029
- H: null,
1030
- A: null,
1031
- T: null,
1032
- S: null,
1033
- actQueue: null,
1034
- asyncTransitions: 0,
1035
- isBatchingLegacy: false,
1036
- didScheduleLegacyUpdate: false,
1037
- didUsePromise: false,
1038
- thrownErrors: [],
1039
- getCurrentStack: null,
1040
- recentlyCreatedOwnerStacks: 0
1041
- }, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
1042
- return null;
1043
- };
1044
- deprecatedAPIs = {
1045
- react_stack_bottom_frame: function(callStackForError) {
1046
- return callStackForError();
1047
- }
1048
- };
1049
- var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
1050
- var didWarnAboutElementRef = {};
1051
- var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
1052
- deprecatedAPIs,
1053
- UnknownOwner
1054
- )();
1055
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1056
- var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
1057
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
1058
- var event = new window.ErrorEvent("error", {
1059
- bubbles: true,
1060
- cancelable: true,
1061
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
1062
- error
1063
- });
1064
- if (!window.dispatchEvent(event)) return;
1065
- } else if ("object" === typeof process && "function" === typeof process.emit) {
1066
- process.emit("uncaughtException", error);
1067
- return;
1068
- }
1069
- console.error(error);
1070
- }, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
1071
- queueMicrotask(function() {
1072
- return queueMicrotask(callback);
1073
- });
1074
- } : enqueueTask;
1075
- deprecatedAPIs = Object.freeze({
1076
- __proto__: null,
1077
- c: function(size) {
1078
- return resolveDispatcher().useMemoCache(size);
1079
- }
1080
- });
1081
- var fnName = {
1082
- map: mapChildren,
1083
- forEach: function(children, forEachFunc, forEachContext) {
1084
- mapChildren(
1085
- children,
1086
- function() {
1087
- forEachFunc.apply(this, arguments);
1088
- },
1089
- forEachContext
1090
- );
1091
- },
1092
- count: function(children) {
1093
- var n = 0;
1094
- mapChildren(children, function() {
1095
- n++;
1096
- });
1097
- return n;
1098
- },
1099
- toArray: function(children) {
1100
- return mapChildren(children, function(child) {
1101
- return child;
1102
- }) || [];
1103
- },
1104
- only: function(children) {
1105
- if (!isValidElement(children))
1106
- throw Error(
1107
- "React.Children.only expected to receive a single React element child."
1108
- );
1109
- return children;
1110
- }
1111
- };
1112
- exports.Activity = REACT_ACTIVITY_TYPE;
1113
- exports.Children = fnName;
1114
- exports.Component = Component;
1115
- exports.Fragment = REACT_FRAGMENT_TYPE;
1116
- exports.Profiler = REACT_PROFILER_TYPE;
1117
- exports.PureComponent = PureComponent;
1118
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
1119
- exports.Suspense = REACT_SUSPENSE_TYPE;
1120
- exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
1121
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
1122
- exports.__COMPILER_RUNTIME = deprecatedAPIs;
1123
- exports.act = function(callback) {
1124
- var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
1125
- actScopeDepth++;
1126
- var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
1127
- try {
1128
- var result = callback();
1129
- } catch (error) {
1130
- ReactSharedInternals.thrownErrors.push(error);
1131
- }
1132
- if (0 < ReactSharedInternals.thrownErrors.length)
1133
- throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1134
- if (null !== result && "object" === typeof result && "function" === typeof result.then) {
1135
- var thenable = result;
1136
- queueSeveralMicrotasks(function() {
1137
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
1138
- "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
1139
- ));
1140
- });
1141
- return {
1142
- then: function(resolve, reject) {
1143
- didAwaitActCall = true;
1144
- thenable.then(
1145
- function(returnValue) {
1146
- popActScope(prevActQueue, prevActScopeDepth);
1147
- if (0 === prevActScopeDepth) {
1148
- try {
1149
- flushActQueue(queue), enqueueTask(function() {
1150
- return recursivelyFlushAsyncActWork(
1151
- returnValue,
1152
- resolve,
1153
- reject
1154
- );
1155
- });
1156
- } catch (error$0) {
1157
- ReactSharedInternals.thrownErrors.push(error$0);
1158
- }
1159
- if (0 < ReactSharedInternals.thrownErrors.length) {
1160
- var _thrownError = aggregateErrors(
1161
- ReactSharedInternals.thrownErrors
1162
- );
1163
- ReactSharedInternals.thrownErrors.length = 0;
1164
- reject(_thrownError);
1165
- }
1166
- } else resolve(returnValue);
1167
- },
1168
- function(error) {
1169
- popActScope(prevActQueue, prevActScopeDepth);
1170
- 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
1171
- ReactSharedInternals.thrownErrors
1172
- ), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
1173
- }
1174
- );
1175
- }
1176
- };
1177
- }
1178
- var returnValue$jscomp$0 = result;
1179
- popActScope(prevActQueue, prevActScopeDepth);
1180
- 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
1181
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
1182
- "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
1183
- ));
1184
- }), ReactSharedInternals.actQueue = null);
1185
- if (0 < ReactSharedInternals.thrownErrors.length)
1186
- throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1187
- return {
1188
- then: function(resolve, reject) {
1189
- didAwaitActCall = true;
1190
- 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
1191
- return recursivelyFlushAsyncActWork(
1192
- returnValue$jscomp$0,
1193
- resolve,
1194
- reject
1195
- );
1196
- })) : resolve(returnValue$jscomp$0);
1197
- }
1198
- };
1199
- };
1200
- exports.addTransitionType = addTransitionType;
1201
- exports.cache = function(fn) {
1202
- return function() {
1203
- return fn.apply(null, arguments);
1204
- };
1205
- };
1206
- exports.cacheSignal = function() {
1207
- return null;
1208
- };
1209
- exports.captureOwnerStack = function() {
1210
- var getCurrentStack = ReactSharedInternals.getCurrentStack;
1211
- return null === getCurrentStack ? null : getCurrentStack();
1212
- };
1213
- exports.cloneElement = function(element, config, children) {
1214
- if (null === element || void 0 === element)
1215
- throw Error(
1216
- "The argument must be a React element, but you passed " + element + "."
1217
- );
1218
- var props = assign({}, element.props), key = element.key, owner = element._owner;
1219
- if (null != config) {
1220
- var JSCompiler_inline_result;
1221
- a: {
1222
- if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
1223
- config,
1224
- "ref"
1225
- ).get) && JSCompiler_inline_result.isReactWarning) {
1226
- JSCompiler_inline_result = false;
1227
- break a;
1228
- }
1229
- JSCompiler_inline_result = void 0 !== config.ref;
1230
- }
1231
- JSCompiler_inline_result && (owner = getOwner());
1232
- hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
1233
- for (propName in config)
1234
- !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
1235
- }
1236
- var propName = arguments.length - 2;
1237
- if (1 === propName) props.children = children;
1238
- else if (1 < propName) {
1239
- JSCompiler_inline_result = Array(propName);
1240
- for (var i = 0; i < propName; i++)
1241
- JSCompiler_inline_result[i] = arguments[i + 2];
1242
- props.children = JSCompiler_inline_result;
1243
- }
1244
- props = ReactElement(
1245
- element.type,
1246
- key,
1247
- props,
1248
- owner,
1249
- element._debugStack,
1250
- element._debugTask
1251
- );
1252
- for (key = 2; key < arguments.length; key++)
1253
- validateChildKeys(arguments[key]);
1254
- return props;
1255
- };
1256
- exports.createContext = function(defaultValue) {
1257
- defaultValue = {
1258
- $$typeof: REACT_CONTEXT_TYPE,
1259
- _currentValue: defaultValue,
1260
- _currentValue2: defaultValue,
1261
- _threadCount: 0,
1262
- Provider: null,
1263
- Consumer: null
1264
- };
1265
- defaultValue.Provider = defaultValue;
1266
- defaultValue.Consumer = {
1267
- $$typeof: REACT_CONSUMER_TYPE,
1268
- _context: defaultValue
1269
- };
1270
- defaultValue._currentRenderer = null;
1271
- defaultValue._currentRenderer2 = null;
1272
- return defaultValue;
1273
- };
1274
- exports.createElement = function(type, config, children) {
1275
- for (var i = 2; i < arguments.length; i++)
1276
- validateChildKeys(arguments[i]);
1277
- var propName;
1278
- i = {};
1279
- var key = null;
1280
- if (null != config)
1281
- for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
1282
- "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
1283
- )), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
1284
- hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
1285
- var childrenLength = arguments.length - 2;
1286
- if (1 === childrenLength) i.children = children;
1287
- else if (1 < childrenLength) {
1288
- for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
1289
- childArray[_i] = arguments[_i + 2];
1290
- Object.freeze && Object.freeze(childArray);
1291
- i.children = childArray;
1292
- }
1293
- if (type && type.defaultProps)
1294
- for (propName in childrenLength = type.defaultProps, childrenLength)
1295
- void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1296
- key && defineKeyPropWarningGetter(
1297
- i,
1298
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1299
- );
1300
- (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++) ? (childArray = Error.stackTraceLimit, Error.stackTraceLimit = 10, childrenLength = Error("react-stack-top-frame"), Error.stackTraceLimit = childArray) : childrenLength = unknownOwnerDebugStack;
1301
- return ReactElement(
1302
- type,
1303
- key,
1304
- i,
1305
- getOwner(),
1306
- childrenLength,
1307
- propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1308
- );
1309
- };
1310
- exports.createRef = function() {
1311
- var refObject = { current: null };
1312
- Object.seal(refObject);
1313
- return refObject;
1314
- };
1315
- exports.forwardRef = function(render) {
1316
- null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
1317
- "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1318
- ) : "function" !== typeof render ? console.error(
1319
- "forwardRef requires a render function but was given %s.",
1320
- null === render ? "null" : typeof render
1321
- ) : 0 !== render.length && 2 !== render.length && console.error(
1322
- "forwardRef render functions accept exactly two parameters: props and ref. %s",
1323
- 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
1324
- );
1325
- null != render && null != render.defaultProps && console.error(
1326
- "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1327
- );
1328
- var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
1329
- Object.defineProperty(elementType, "displayName", {
1330
- enumerable: false,
1331
- configurable: true,
1332
- get: function() {
1333
- return ownName;
1334
- },
1335
- set: function(name) {
1336
- ownName = name;
1337
- render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
1338
- }
1339
- });
1340
- return elementType;
1341
- };
1342
- exports.isValidElement = isValidElement;
1343
- exports.lazy = function(ctor) {
1344
- ctor = { _status: -1, _result: ctor };
1345
- var lazyType = {
1346
- $$typeof: REACT_LAZY_TYPE,
1347
- _payload: ctor,
1348
- _init: lazyInitializer
1349
- }, ioInfo = {
1350
- name: "lazy",
1351
- start: -1,
1352
- end: -1,
1353
- value: null,
1354
- owner: null,
1355
- debugStack: Error("react-stack-top-frame"),
1356
- debugTask: console.createTask ? console.createTask("lazy()") : null
1357
- };
1358
- ctor._ioInfo = ioInfo;
1359
- lazyType._debugInfo = [{ awaited: ioInfo }];
1360
- return lazyType;
1361
- };
1362
- exports.memo = function(type, compare) {
1363
- null == type && console.error(
1364
- "memo: The first argument must be a component. Instead received: %s",
1365
- null === type ? "null" : typeof type
1366
- );
1367
- compare = {
1368
- $$typeof: REACT_MEMO_TYPE,
1369
- type,
1370
- compare: void 0 === compare ? null : compare
1371
- };
1372
- var ownName;
1373
- Object.defineProperty(compare, "displayName", {
1374
- enumerable: false,
1375
- configurable: true,
1376
- get: function() {
1377
- return ownName;
1378
- },
1379
- set: function(name) {
1380
- ownName = name;
1381
- type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
1382
- }
1383
- });
1384
- return compare;
1385
- };
1386
- exports.startTransition = startTransition;
1387
- exports.unstable_useCacheRefresh = function() {
1388
- return resolveDispatcher().useCacheRefresh();
1389
- };
1390
- exports.use = function(usable) {
1391
- return resolveDispatcher().use(usable);
1392
- };
1393
- exports.useActionState = function(action, initialState, permalink) {
1394
- return resolveDispatcher().useActionState(
1395
- action,
1396
- initialState,
1397
- permalink
1398
- );
1399
- };
1400
- exports.useCallback = function(callback, deps) {
1401
- return resolveDispatcher().useCallback(callback, deps);
1402
- };
1403
- exports.useContext = function(Context) {
1404
- var dispatcher = resolveDispatcher();
1405
- Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
1406
- "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
1407
- );
1408
- return dispatcher.useContext(Context);
1409
- };
1410
- exports.useDebugValue = function(value, formatterFn) {
1411
- return resolveDispatcher().useDebugValue(value, formatterFn);
1412
- };
1413
- exports.useDeferredValue = function(value, initialValue) {
1414
- return resolveDispatcher().useDeferredValue(value, initialValue);
1415
- };
1416
- exports.useEffect = function(create, deps) {
1417
- null == create && console.warn(
1418
- "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1419
- );
1420
- return resolveDispatcher().useEffect(create, deps);
1421
- };
1422
- exports.useEffectEvent = function(callback) {
1423
- return resolveDispatcher().useEffectEvent(callback);
1424
- };
1425
- exports.useId = function() {
1426
- return resolveDispatcher().useId();
1427
- };
1428
- exports.useImperativeHandle = function(ref, create, deps) {
1429
- return resolveDispatcher().useImperativeHandle(ref, create, deps);
1430
- };
1431
- exports.useInsertionEffect = function(create, deps) {
1432
- null == create && console.warn(
1433
- "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1434
- );
1435
- return resolveDispatcher().useInsertionEffect(create, deps);
1436
- };
1437
- exports.useLayoutEffect = function(create, deps) {
1438
- null == create && console.warn(
1439
- "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1440
- );
1441
- return resolveDispatcher().useLayoutEffect(create, deps);
1442
- };
1443
- exports.useMemo = function(create, deps) {
1444
- return resolveDispatcher().useMemo(create, deps);
1445
- };
1446
- exports.useOptimistic = function(passthrough, reducer) {
1447
- return resolveDispatcher().useOptimistic(passthrough, reducer);
1448
- };
1449
- exports.useReducer = function(reducer, initialArg, init) {
1450
- return resolveDispatcher().useReducer(reducer, initialArg, init);
1451
- };
1452
- exports.useRef = function(initialValue) {
1453
- return resolveDispatcher().useRef(initialValue);
1454
- };
1455
- exports.useState = function(initialState) {
1456
- return resolveDispatcher().useState(initialState);
1457
- };
1458
- exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
1459
- return resolveDispatcher().useSyncExternalStore(
1460
- subscribe,
1461
- getSnapshot,
1462
- getServerSnapshot
1463
- );
1464
- };
1465
- exports.useTransition = function() {
1466
- return resolveDispatcher().useTransition();
1467
- };
1468
- exports.version = "19.3.0";
1469
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1470
- }();
1471
- }
1472
- });
1473
-
1474
- // node_modules/react/index.js
1475
- var require_react = __commonJS({
1476
- "node_modules/react/index.js"(exports, module) {
1477
- "use strict";
1478
- if (process.env.NODE_ENV === "production") {
1479
- module.exports = require_react_production();
1480
- } else {
1481
- module.exports = require_react_development();
1482
- }
1483
- }
1484
- });
1485
-
1486
- // node_modules/react/cjs/react-jsx-runtime.production.js
1487
- var require_react_jsx_runtime_production = __commonJS({
1488
- "node_modules/react/cjs/react-jsx-runtime.production.js"(exports) {
1489
- "use strict";
1490
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
1491
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
1492
- function jsxProd(type, config, maybeKey) {
1493
- var key = null;
1494
- void 0 !== maybeKey && (key = "" + maybeKey);
1495
- void 0 !== config.key && (key = "" + config.key);
1496
- if ("key" in config) {
1497
- maybeKey = {};
1498
- for (var propName in config)
1499
- "key" !== propName && (maybeKey[propName] = config[propName]);
1500
- } else maybeKey = config;
1501
- config = maybeKey.ref;
1502
- return {
1503
- $$typeof: REACT_ELEMENT_TYPE,
1504
- type,
1505
- key,
1506
- ref: void 0 !== config ? config : null,
1507
- props: maybeKey
1508
- };
1509
- }
1510
- exports.Fragment = REACT_FRAGMENT_TYPE;
1511
- exports.jsx = jsxProd;
1512
- exports.jsxs = jsxProd;
1513
- }
1514
- });
1515
-
1516
- // node_modules/react/cjs/react-jsx-runtime.development.js
1517
- var require_react_jsx_runtime_development = __commonJS({
1518
- "node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
1519
- "use strict";
1520
- "production" !== process.env.NODE_ENV && function() {
1521
- function getComponentNameFromType(type) {
1522
- if (null == type) return null;
1523
- if ("function" === typeof type)
1524
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
1525
- if ("string" === typeof type) return type;
1526
- switch (type) {
1527
- case REACT_FRAGMENT_TYPE:
1528
- return "Fragment";
1529
- case REACT_PROFILER_TYPE:
1530
- return "Profiler";
1531
- case REACT_STRICT_MODE_TYPE:
1532
- return "StrictMode";
1533
- case REACT_SUSPENSE_TYPE:
1534
- return "Suspense";
1535
- case REACT_SUSPENSE_LIST_TYPE:
1536
- return "SuspenseList";
1537
- case REACT_ACTIVITY_TYPE:
1538
- return "Activity";
1539
- case REACT_VIEW_TRANSITION_TYPE:
1540
- return "ViewTransition";
1541
- }
1542
- if ("object" === typeof type)
1543
- switch ("number" === typeof type.tag && console.error(
1544
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
1545
- ), type.$$typeof) {
1546
- case REACT_PORTAL_TYPE:
1547
- return "Portal";
1548
- case REACT_CONTEXT_TYPE:
1549
- return type.displayName || "Context";
1550
- case REACT_CONSUMER_TYPE:
1551
- return (type._context.displayName || "Context") + ".Consumer";
1552
- case REACT_FORWARD_REF_TYPE:
1553
- var innerType = type.render;
1554
- type = type.displayName;
1555
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
1556
- return type;
1557
- case REACT_MEMO_TYPE:
1558
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
1559
- case REACT_LAZY_TYPE:
1560
- innerType = type._payload;
1561
- type = type._init;
1562
- try {
1563
- return getComponentNameFromType(type(innerType));
1564
- } catch (x) {
1565
- }
1566
- }
1567
- return null;
1568
- }
1569
- function testStringCoercion(value) {
1570
- return "" + value;
1571
- }
1572
- function checkKeyStringCoercion(value) {
1573
- try {
1574
- testStringCoercion(value);
1575
- var JSCompiler_inline_result = false;
1576
- } catch (e) {
1577
- JSCompiler_inline_result = true;
1578
- }
1579
- if (JSCompiler_inline_result) {
1580
- JSCompiler_inline_result = console;
1581
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
1582
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
1583
- JSCompiler_temp_const.call(
1584
- JSCompiler_inline_result,
1585
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
1586
- JSCompiler_inline_result$jscomp$0
1587
- );
1588
- return testStringCoercion(value);
1589
- }
1590
- }
1591
- function getTaskName(type) {
1592
- if (type === REACT_FRAGMENT_TYPE) return "<>";
1593
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
1594
- return "<...>";
1595
- try {
1596
- var name = getComponentNameFromType(type);
1597
- return name ? "<" + name + ">" : "<...>";
1598
- } catch (x) {
1599
- return "<...>";
1600
- }
1601
- }
1602
- function getOwner() {
1603
- var dispatcher = ReactSharedInternals.A;
1604
- return null === dispatcher ? null : dispatcher.getOwner();
1605
- }
1606
- function UnknownOwner() {
1607
- return Error("react-stack-top-frame");
1608
- }
1609
- function hasValidKey(config) {
1610
- if (hasOwnProperty.call(config, "key")) {
1611
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
1612
- if (getter && getter.isReactWarning) return false;
1613
- }
1614
- return void 0 !== config.key;
1615
- }
1616
- function defineKeyPropWarningGetter(props, displayName) {
1617
- function warnAboutAccessingKey() {
1618
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
1619
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
1620
- displayName
1621
- ));
1622
- }
1623
- warnAboutAccessingKey.isReactWarning = true;
1624
- Object.defineProperty(props, "key", {
1625
- get: warnAboutAccessingKey,
1626
- configurable: true
1627
- });
1628
- }
1629
- function elementRefGetterWithDeprecationWarning() {
1630
- var componentName = getComponentNameFromType(this.type);
1631
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
1632
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
1633
- ));
1634
- componentName = this.props.ref;
1635
- return void 0 !== componentName ? componentName : null;
1636
- }
1637
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
1638
- var refProp = props.ref;
1639
- type = {
1640
- $$typeof: REACT_ELEMENT_TYPE,
1641
- type,
1642
- key,
1643
- props,
1644
- _owner: owner
1645
- };
1646
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
1647
- enumerable: false,
1648
- get: elementRefGetterWithDeprecationWarning
1649
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
1650
- type._store = {};
1651
- Object.defineProperty(type._store, "validated", {
1652
- configurable: false,
1653
- enumerable: false,
1654
- writable: true,
1655
- value: 0
1656
- });
1657
- Object.defineProperty(type, "_debugInfo", {
1658
- configurable: false,
1659
- enumerable: false,
1660
- writable: true,
1661
- value: null
1662
- });
1663
- Object.defineProperty(type, "_debugStack", {
1664
- configurable: false,
1665
- enumerable: false,
1666
- writable: true,
1667
- value: debugStack
1668
- });
1669
- Object.defineProperty(type, "_debugTask", {
1670
- configurable: false,
1671
- enumerable: false,
1672
- writable: true,
1673
- value: debugTask
1674
- });
1675
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1676
- return type;
1677
- }
1678
- function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
1679
- var children = config.children;
1680
- if (void 0 !== children)
1681
- if (isStaticChildren)
1682
- if (isArrayImpl(children)) {
1683
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
1684
- validateChildKeys(children[isStaticChildren]);
1685
- Object.freeze && Object.freeze(children);
1686
- } else
1687
- console.error(
1688
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1689
- );
1690
- else validateChildKeys(children);
1691
- if (hasOwnProperty.call(config, "key")) {
1692
- children = getComponentNameFromType(type);
1693
- var keys = Object.keys(config).filter(function(k) {
1694
- return "key" !== k;
1695
- });
1696
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
1697
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
1698
- 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
1699
- isStaticChildren,
1700
- children,
1701
- keys,
1702
- children
1703
- ), didWarnAboutKeySpread[children + isStaticChildren] = true);
1704
- }
1705
- children = null;
1706
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
1707
- hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
1708
- if ("key" in config) {
1709
- maybeKey = {};
1710
- for (var propName in config)
1711
- "key" !== propName && (maybeKey[propName] = config[propName]);
1712
- } else maybeKey = config;
1713
- children && defineKeyPropWarningGetter(
1714
- maybeKey,
1715
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1716
- );
1717
- return ReactElement(
1718
- type,
1719
- children,
1720
- maybeKey,
1721
- getOwner(),
1722
- debugStack,
1723
- debugTask
1724
- );
1725
- }
1726
- function validateChildKeys(node) {
1727
- isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
1728
- }
1729
- function isValidElement(object) {
1730
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
1731
- }
1732
- var React2 = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
1733
- return null;
1734
- };
1735
- React2 = {
1736
- react_stack_bottom_frame: function(callStackForError) {
1737
- return callStackForError();
1738
- }
1739
- };
1740
- var specialPropKeyWarningShown;
1741
- var didWarnAboutElementRef = {};
1742
- var unknownOwnerDebugStack = React2.react_stack_bottom_frame.bind(
1743
- React2,
1744
- UnknownOwner
1745
- )();
1746
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1747
- var didWarnAboutKeySpread = {};
1748
- exports.Fragment = REACT_FRAGMENT_TYPE;
1749
- exports.jsx = function(type, config, maybeKey) {
1750
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1751
- if (trackActualOwner) {
1752
- var previousStackTraceLimit = Error.stackTraceLimit;
1753
- Error.stackTraceLimit = 10;
1754
- var debugStackDEV = Error("react-stack-top-frame");
1755
- Error.stackTraceLimit = previousStackTraceLimit;
1756
- } else debugStackDEV = unknownOwnerDebugStack;
1757
- return jsxDEVImpl(
1758
- type,
1759
- config,
1760
- maybeKey,
1761
- false,
1762
- debugStackDEV,
1763
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1764
- );
1765
- };
1766
- exports.jsxs = function(type, config, maybeKey) {
1767
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1768
- if (trackActualOwner) {
1769
- var previousStackTraceLimit = Error.stackTraceLimit;
1770
- Error.stackTraceLimit = 10;
1771
- var debugStackDEV = Error("react-stack-top-frame");
1772
- Error.stackTraceLimit = previousStackTraceLimit;
1773
- } else debugStackDEV = unknownOwnerDebugStack;
1774
- return jsxDEVImpl(
1775
- type,
1776
- config,
1777
- maybeKey,
1778
- true,
1779
- debugStackDEV,
1780
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1781
- );
1782
- };
1783
- }();
1784
- }
1785
- });
1786
-
1787
- // node_modules/react/jsx-runtime.js
1788
- var require_jsx_runtime = __commonJS({
1789
- "node_modules/react/jsx-runtime.js"(exports, module) {
1790
- "use strict";
1791
- if (process.env.NODE_ENV === "production") {
1792
- module.exports = require_react_jsx_runtime_production();
1793
- } else {
1794
- module.exports = require_react_jsx_runtime_development();
1795
- }
1796
- }
1797
- });
1798
-
1799
- // node_modules/nanostores/clean-stores/index.js
1800
- var clean = Symbol("clean");
1801
-
1802
- // node_modules/nanostores/atom/index.js
1803
- var listenerQueue = [];
1804
- var lqIndex = 0;
1805
- var batchSeen = null;
1806
- var QUEUE_ITEMS_PER_LISTENER = 4;
1807
- var nanostoresGlobal = globalThis.nanostoresGlobal ||= { epoch: 0 };
1808
- var drainQueue = () => {
1809
- let thrown;
1810
- let i;
1811
- while (lqIndex < listenerQueue.length) {
1812
- i = lqIndex;
1813
- lqIndex += QUEUE_ITEMS_PER_LISTENER;
1814
- let pendingStores = batchSeen?.get(listenerQueue[i]);
1815
- if (pendingStores) {
1816
- if (!pendingStores.has(listenerQueue[i + 1])) continue;
1817
- pendingStores.clear();
1818
- }
1819
- try {
1820
- listenerQueue[i](
1821
- listenerQueue[i + 1].value,
1822
- listenerQueue[i + 2],
1823
- listenerQueue[i + 3]
1824
- );
1825
- } catch (e) {
1826
- thrown = e;
1827
- }
1828
- }
1829
- listenerQueue.length = lqIndex = 0;
1830
- if (thrown) throw thrown;
1831
- };
1832
- var atom = /* @__NO_SIDE_EFFECTS__ */ (initialValue) => {
1833
- let listeners = [];
1834
- let $atom = {
1835
- eq: Object.is,
1836
- get() {
1837
- if (!$atom.lc) {
1838
- $atom.listen(() => {
1839
- })();
1840
- }
1841
- return $atom.value;
1842
- },
1843
- init: initialValue,
1844
- lc: 0,
1845
- listen(listener) {
1846
- $atom.lc = listeners.push(listener);
1847
- return () => {
1848
- batchSeen?.get(listener)?.delete($atom);
1849
- for (let i = lqIndex; i < listenerQueue.length; ) {
1850
- if (listenerQueue[i] === listener && listenerQueue[i + 1] === $atom) {
1851
- listenerQueue.splice(i, QUEUE_ITEMS_PER_LISTENER);
1852
- } else {
1853
- i += QUEUE_ITEMS_PER_LISTENER;
1854
- }
1855
- }
1856
- let index = listeners.indexOf(listener);
1857
- if (~index) {
1858
- listeners.splice(index, 1);
1859
- if (!--$atom.lc) $atom.off();
1860
- }
1861
- };
1862
- },
1863
- notify(oldValue, changedKey) {
1864
- nanostoresGlobal.epoch++;
1865
- let runListenerQueue = !listenerQueue.length && !batchSeen;
1866
- for (let listener of listeners) {
1867
- if (batchSeen) {
1868
- let pendingStores = batchSeen.get(listener);
1869
- if (!pendingStores) {
1870
- batchSeen.set(listener, pendingStores = /* @__PURE__ */ new Set());
1871
- }
1872
- if (pendingStores.has($atom)) continue;
1873
- pendingStores.add($atom);
1874
- }
1875
- listenerQueue.push(
1876
- listener,
1877
- $atom,
1878
- oldValue,
1879
- batchSeen ? void 0 : changedKey
1880
- );
1881
- }
1882
- if (runListenerQueue) {
1883
- drainQueue();
1884
- }
1885
- },
1886
- /* It will be called on last listener unsubscribing.
1887
- We will redefine it in onMount and onStop. */
1888
- off() {
1889
- },
1890
- set(newValue) {
1891
- let oldValue = $atom.value;
1892
- if (!$atom.eq(oldValue, newValue)) {
1893
- $atom.value = newValue;
1894
- $atom.notify(oldValue);
1895
- }
1896
- },
1897
- subscribe(listener) {
1898
- let unbind = $atom.listen(listener);
1899
- listener($atom.value);
1900
- return unbind;
1901
- },
1902
- value: initialValue
1903
- };
1904
- if (process.env.NODE_ENV !== "production") {
1905
- $atom[clean] = () => {
1906
- listeners = [];
1907
- $atom.lc = 0;
1908
- $atom.off();
1909
- };
1910
- }
1911
- return $atom;
1912
- };
1913
-
1914
- // packages/database/authority/userAuthorityRegistry.ts
1915
- var normalizeAuthorityServerOrigin = (value) => {
1916
- const normalized = normalizeServerOrigin(value);
1917
- return /^https?:\/\//i.test(normalized) ? normalized : null;
1918
- };
1919
- var normalizeUserId = (value) => asOptionalTrimmedString(value) ?? null;
1920
- var readEntryAuthorityServer = (entry) => {
1921
- if (typeof entry === "string") {
1922
- return normalizeAuthorityServerOrigin(entry);
1923
- }
1924
- if (!isRecord(entry)) {
1925
- return null;
1926
- }
1927
- return normalizeAuthorityServerOrigin(entry.authorityServer) ?? normalizeAuthorityServerOrigin(entry.homeServer) ?? normalizeAuthorityServerOrigin(entry.primaryServer);
1928
- };
1929
- var resolveUserAuthorityServer = ({
1930
- ownerUserId,
1931
- registry
1932
- }) => {
1933
- const normalizedOwner = normalizeUserId(ownerUserId);
1934
- if (!normalizedOwner || !registry || typeof registry !== "object") {
1935
- return null;
1936
- }
1937
- return readEntryAuthorityServer(registry[normalizedOwner]);
1938
- };
1939
-
1940
- // packages/app/settings/runtimeServerStore.ts
1941
- var DEFAULT_RUNTIME_SERVERS = Object.freeze({
1942
- currentServer: SERVERS.MAIN,
1943
- syncServers: Object.freeze([]),
1944
- isAutoSync: false
1945
- });
1946
- function resolveHostToCurrentServer(raw) {
1947
- if (typeof raw !== "string" || !raw.trim()) return;
1948
- const trimmed = raw.trim();
1949
- if (/^https?:\/\//i.test(trimmed)) {
1950
- try {
1951
- return new URL(trimmed).origin;
1952
- } catch {
1953
- return;
1954
- }
1955
- }
1956
- const host = trimmed.replace(/^\/+|\/+$/g, "");
1957
- const [hostname] = host.split(":");
1958
- if (!hostname) return;
1959
- const local = ["nolotus.local", "localhost"].includes(hostname) || /^(\d{1,3}\.){3}\d{1,3}$/.test(hostname);
1960
- return `${local ? "http" : "https"}://${host}`;
1961
- }
1962
- function resolveDesktopSafeServer(server) {
1963
- return !server || getIsDesktopApp() && isLocalServerUrl(server) ? SERVERS.MAIN : server;
1964
- }
1965
- function createRuntimeServerStore(initial = DEFAULT_RUNTIME_SERVERS) {
1966
- const $snapshot = atom(DEFAULT_RUNTIME_SERVERS);
1967
- let source;
1968
- const publish = (next) => {
1969
- if (next === source) return;
1970
- const current = $snapshot.get();
1971
- const syncServers = next.syncServers === source?.syncServers ? current.syncServers : Object.freeze([...next.syncServers]);
1972
- const userAuthorityRegistry = next.userAuthorityRegistry === source?.userAuthorityRegistry ? current.userAuthorityRegistry : next.userAuthorityRegistry && Object.freeze({ ...next.userAuthorityRegistry });
1973
- source = next;
1974
- if (next.currentServer === current.currentServer && next.isAutoSync === current.isAutoSync && syncServers === current.syncServers && userAuthorityRegistry === current.userAuthorityRegistry) return;
1975
- $snapshot.set(Object.freeze({ currentServer: next.currentServer, syncServers, isAutoSync: next.isAutoSync, userAuthorityRegistry }));
1976
- };
1977
- publish({ ...DEFAULT_RUNTIME_SERVERS, ...initial });
1978
- let serverSnapshot = $snapshot.get();
1979
- const update = (patch) => publish({ ...$snapshot.get(), ...patch });
1980
- return {
1981
- /** Framework-agnostic Nano Stores atom — directly readable/subscribable from CLI, Web, and RN. */
1982
- $snapshot,
1983
- update,
1984
- getSnapshot: () => $snapshot.get(),
1985
- getServerSnapshot: () => serverSnapshot,
1986
- sealServerSnapshot: () => {
1987
- serverSnapshot = $snapshot.get();
1988
- },
1989
- subscribe: (listener) => $snapshot.listen(() => listener()),
1990
- getAuthorityHomeServer: (userId) => resolveUserAuthorityServer({ ownerUserId: userId, registry: $snapshot.get().userAuthorityRegistry }),
1991
- setAuthorityHomeServer: (userId, server) => {
1992
- const registry = { ...$snapshot.get().userAuthorityRegistry };
1993
- if (server) Object.defineProperty(registry, userId, { value: server, enumerable: true, configurable: true });
1994
- else delete registry[userId];
1995
- update({ userAuthorityRegistry: registry });
1996
- },
1997
- clearAuthorityHomes: () => {
1998
- if ($snapshot.get().userAuthorityRegistry) update({ userAuthorityRegistry: void 0 });
1999
- },
2000
- addHostToCurrentServer: (host) => {
2001
- const currentServer = resolveHostToCurrentServer(host);
2002
- if (currentServer && currentServer !== $snapshot.get().currentServer) update({ currentServer });
2003
- }
2004
- };
2005
- }
2006
-
2007
- // packages/app/settings/storeRuntimeServer.ts
2008
- var import_react4 = __toESM(require_react());
2009
-
2010
- // packages/app/reduxContext.ts
2011
- var import_react2 = __toESM(require_react());
2012
-
2013
- // packages/core/plainStoreReact.tsx
2014
- var import_react = __toESM(require_react(), 1);
2015
- var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
2016
- var StoreContext = (0, import_react.createContext)(null);
2017
- StoreContext.displayName = "PlainStoreContext";
2018
-
2019
- // packages/identity/session/accountSessionReact.tsx
2020
- var import_react3 = __toESM(require_react(), 1);
2021
- var AccountSessionCoreContext = (0, import_react3.createContext)(void 0);
2022
- AccountSessionCoreContext.displayName = "AccountSessionCoreContext";
2023
- var NO_CORE_SNAPSHOT = Object.freeze({
2024
- accounts: [],
2025
- activeAccountId: null,
2026
- activeToken: null,
2027
- initialized: false,
2028
- transition: "idle"
2029
- });
2030
-
2031
- // packages/app/settings/storeRuntimeServer.ts
2032
- var controllers = /* @__PURE__ */ new WeakMap();
2033
- var getRuntimeServerStore = (key) => controllers.get(key);
2034
- function getRuntimeServerSnapshot(key) {
2035
- return key && controllers.get(key)?.getSnapshot() || DEFAULT_RUNTIME_SERVERS;
2036
- }
2037
- var defaultOwner = createRuntimeServerStore();
2038
- var RuntimeServerContext = (0, import_react4.createContext)(null);
2039
- function resolveCurrentServer({ currentServer }, token) {
2040
- return googleSessionServer(token, currentServer) ?? resolveDesktopSafeServer(currentServer);
2041
- }
2042
- function resolveSyncServers({ currentServer, syncServers }, token) {
2043
- return googleSessionServer(token, currentServer) !== void 0 ? [] : syncServers.filter((server) => !getIsDesktopApp() || !isLocalServerUrl(server));
2044
- }
2045
-
2046
- // packages/identity/sessionSource.ts
2047
- var IDENTITY_SESSION_READER = Symbol.for(
2048
- "nolo.identity.sessionReader"
2049
- );
2050
- var moduleFallbackReader = null;
2051
- function getBoundSessionSnapshot() {
2052
- return moduleFallbackReader?.() ?? null;
2053
- }
2054
- function getSessionSnapshotForState(state) {
2055
- const reader = state?.[IDENTITY_SESSION_READER];
2056
- if (typeof reader === "function") {
2057
- return reader();
2058
- }
2059
- return getBoundSessionSnapshot();
2060
- }
2061
- function getSessionGenerationForState(state) {
2062
- return getSessionSnapshotForState(state)?.sessionGeneration;
2063
- }
2064
-
2065
- // packages/identity/selectors.local.ts
2066
- var LOCAL_USER_ID = (typeof process !== "undefined" ? process.env?.NOLO_LOCAL_USER_ID : void 0) || (typeof process !== "undefined" ? process.env?.NOLO_USER_ID : void 0) || "local";
2067
- var LOCAL_USER = {
2068
- userId: LOCAL_USER_ID,
2069
- username: "Local User"
2070
- };
2071
- var selectIdentityUserId = (state) => {
2072
- const snapshot = getSessionSnapshotForState(state);
2073
- if (snapshot) return snapshot.activeAccountId ?? void 0;
2074
- return LOCAL_USER_ID;
2075
- };
2076
- var selectIdentityToken = (state) => {
2077
- return getSessionSnapshotForState(state)?.activeToken ?? void 0;
2078
- };
2079
- var selectIdentityIsLoggedIn = (state) => true;
2080
- var selectIdentityUser = (state) => {
2081
- const snapshot = getSessionSnapshotForState(state);
2082
- if (snapshot) {
2083
- const active = snapshot.accounts.find(
2084
- (account) => account.userId === snapshot.activeAccountId
2085
- );
2086
- return active ?? null;
2087
- }
2088
- return LOCAL_USER;
2089
- };
2090
- var selectIdentityUserBalance = (state) => void 0;
2091
-
2092
- export {
2093
- require_react,
2094
- atom,
2095
- normalizeAuthorityServerOrigin,
2096
- resolveUserAuthorityServer,
2097
- resolveDesktopSafeServer,
2098
- getRuntimeServerStore,
2099
- getRuntimeServerSnapshot,
2100
- resolveCurrentServer,
2101
- resolveSyncServers,
2102
- getSessionSnapshotForState,
2103
- getSessionGenerationForState,
2104
- selectIdentityUserId,
2105
- selectIdentityToken,
2106
- selectIdentityIsLoggedIn,
2107
- selectIdentityUser,
2108
- selectIdentityUserBalance
2109
- };