@iota-uz/sdk 0.46.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (535) hide show
  1. package/README.md +5 -0
  2. package/dist/client-host/identity.d.ts +4 -4
  3. package/dist/client-host/identity.js +2 -2
  4. package/dist/lens/{CascadePanel-Bha4qY7J.js → CascadePanel-BlYJd18G.js} +1 -1
  5. package/dist/lens/{ChartDataEquivalent-Bwgn4yYB.js → ChartDataEquivalent-B6xSOdzC.js} +1 -1
  6. package/dist/lens/{ChartPanel-BZpzBuwl.js → ChartPanel-BIJjrs5D.js} +159 -159
  7. package/dist/lens/{CoveragePanel-D40AuKkD.js → CoveragePanel-CHtXDMtt.js} +1 -1
  8. package/dist/lens/{GaugePanel-C9k2TuJH.js → GaugePanel-By0TOJPa.js} +1 -1
  9. package/dist/lens/LensDashboard.d.ts +13 -0
  10. package/dist/lens/LensDashboard.d.ts.map +1 -1
  11. package/dist/lens/{MapPanel-ZYxfDsPM.js → MapPanel-Cw4ELCiM.js} +3 -3
  12. package/dist/lens/{MetricFlowPanel-CmESLoLK.js → MetricFlowPanel-Gr5wi3nI.js} +2 -2
  13. package/dist/lens/{MetricHierarchyPanel-UZVuJ5P2.js → MetricHierarchyPanel-VLA_5LXX.js} +2 -2
  14. package/dist/lens/{MetricRelationshipPanel-CXLdScAy.js → MetricRelationshipPanel-DFP566_c.js} +2 -2
  15. package/dist/lens/{PrintReport-lrfdCTZO.js → PrintReport-C0OV1iHP.js} +5 -5
  16. package/dist/lens/{QualityChip-BYz-DHfs.js → QualityChip-DTi-0jdh.js} +1 -1
  17. package/dist/lens/SaveInvestigation-CX1Abyl8.js +309 -0
  18. package/dist/lens/TablePanel-BusKU7cU.js +994 -0
  19. package/dist/lens/{adapter-CeAqYWqm.js → adapter-CQg4-M7p.js} +7 -7
  20. package/dist/lens/contract/schemas.d.ts +2 -0
  21. package/dist/lens/contract/schemas.d.ts.map +1 -1
  22. package/dist/lens/contract/types.d.ts +12 -0
  23. package/dist/lens/contract/types.d.ts.map +1 -1
  24. package/dist/lens/{dashboardEdit-DKVE_6J_.js → dashboardEdit-CJgCVfi_.js} +1 -1
  25. package/dist/lens/explore/DrillOverlay.d.ts +38 -0
  26. package/dist/lens/explore/DrillOverlay.d.ts.map +1 -1
  27. package/dist/lens/explore/ExplorePanel.d.ts.map +1 -1
  28. package/dist/lens/explore/SaveInvestigation.d.ts +21 -0
  29. package/dist/lens/explore/SaveInvestigation.d.ts.map +1 -0
  30. package/dist/lens/explore/drillHost.d.ts +25 -0
  31. package/dist/lens/explore/drillHost.d.ts.map +1 -0
  32. package/dist/lens/explore/investigation.d.ts +174 -0
  33. package/dist/lens/explore/investigation.d.ts.map +1 -0
  34. package/dist/lens/explore/provenanceLabels.d.ts +10 -0
  35. package/dist/lens/explore/provenanceLabels.d.ts.map +1 -0
  36. package/dist/lens/index-DR7Hf8Km.js +19805 -0
  37. package/dist/lens/{index-DkVTXC8W.js → index-DZFw4cqF.js} +1 -1
  38. package/dist/lens/index.d.ts +7 -1
  39. package/dist/lens/index.d.ts.map +1 -1
  40. package/dist/lens/index.js +67 -53
  41. package/dist/lens/{install-CQ_iMuAE.js → install-B2lTK6uo.js} +1 -1
  42. package/dist/lens/{install-Ch0_qifK.js → install-BXr4Mnc0.js} +1 -1
  43. package/dist/lens/{install-CKmxqMe1.js → install-CicNQ_ks.js} +1 -1
  44. package/dist/lens/{install-BwD_xNlp.js → install-d8A0WPiw.js} +1 -1
  45. package/dist/lens/{keys-BBmWdfaH.js → keys-C-Akc9lZ.js} +2 -2
  46. package/dist/lens/panels/ChartPanel.d.ts.map +1 -1
  47. package/dist/lens/panels/TablePanel.d.ts.map +1 -1
  48. package/dist/lens/panels/actions.d.ts.map +1 -1
  49. package/dist/lens/panels/panelFailure.d.ts.map +1 -1
  50. package/dist/lens/{prefetch-BXoUIIgq.js → prefetch-C9kxuIs8.js} +2 -2
  51. package/dist/lens/{prefetchPanels-a-zs_bDm.js → prefetchPanels-gbY9RIqL.js} +1 -1
  52. package/dist/lens/{print-CpgWJxDG.js → print-CllsAP3d.js} +1 -1
  53. package/dist/lens/reports/ReportCompositionEditor.d.ts +8 -2
  54. package/dist/lens/reports/ReportCompositionEditor.d.ts.map +1 -1
  55. package/dist/lens/reports/ReportDefinitionEditor.d.ts +54 -0
  56. package/dist/lens/reports/ReportDefinitionEditor.d.ts.map +1 -0
  57. package/dist/lens/reports/ReportPicker.d.ts +6 -0
  58. package/dist/lens/reports/ReportPicker.d.ts.map +1 -1
  59. package/dist/lens/reports/dashboardEdit.d.ts +3 -0
  60. package/dist/lens/reports/dashboardEdit.d.ts.map +1 -1
  61. package/dist/lens/reports/editing.d.ts +35 -0
  62. package/dist/lens/reports/editing.d.ts.map +1 -1
  63. package/dist/lens/reports/picker.d.ts +4 -1
  64. package/dist/lens/reports/picker.d.ts.map +1 -1
  65. package/dist/lens/runtime/index.d.ts +0 -1
  66. package/dist/lens/runtime/index.d.ts.map +1 -1
  67. package/dist/lens/runtime/messages.d.ts +2 -2
  68. package/dist/lens/runtime/messages.d.ts.map +1 -1
  69. package/dist/lens/runtime/provider.d.ts +5 -1
  70. package/dist/lens/runtime/provider.d.ts.map +1 -1
  71. package/dist/lens/runtime/returnContext.d.ts +62 -0
  72. package/dist/lens/runtime/returnContext.d.ts.map +1 -0
  73. package/dist/lens/runtime/tableSummary.d.ts +9 -0
  74. package/dist/lens/runtime/tableSummary.d.ts.map +1 -0
  75. package/dist/lens/{scales-BLf9OweG.js → scales-CO6Q9RtG.js} +1 -1
  76. package/dist/lens/style.css +1 -1
  77. package/dist/runtime/README.md +24 -0
  78. package/dist/runtime/assert.d.ts +51 -0
  79. package/dist/runtime/assert.js +172 -0
  80. package/dist/runtime/build/README.txt +1 -0
  81. package/dist/runtime/build/extract.mjs +342 -0
  82. package/dist/runtime/build/shared-exports.json +388 -0
  83. package/dist/runtime/build/test-child.mjs +136 -0
  84. package/dist/runtime/build/theme/tailwind.config.js +121 -0
  85. package/dist/runtime/build/theme/theme.css +462 -0
  86. package/dist/runtime/build/theme/utilities.css +1 -0
  87. package/dist/runtime/build/vendor/lib/lib.d.ts +22 -0
  88. package/dist/runtime/build/vendor/lib/lib.decorators.d.ts +384 -0
  89. package/dist/runtime/build/vendor/lib/lib.decorators.legacy.d.ts +22 -0
  90. package/dist/runtime/build/vendor/lib/lib.dom.asynciterable.d.ts +41 -0
  91. package/dist/runtime/build/vendor/lib/lib.dom.d.ts +28983 -0
  92. package/dist/runtime/build/vendor/lib/lib.dom.iterable.d.ts +491 -0
  93. package/dist/runtime/build/vendor/lib/lib.es2015.collection.d.ts +147 -0
  94. package/dist/runtime/build/vendor/lib/lib.es2015.core.d.ts +597 -0
  95. package/dist/runtime/build/vendor/lib/lib.es2015.d.ts +28 -0
  96. package/dist/runtime/build/vendor/lib/lib.es2015.generator.d.ts +77 -0
  97. package/dist/runtime/build/vendor/lib/lib.es2015.iterable.d.ts +590 -0
  98. package/dist/runtime/build/vendor/lib/lib.es2015.promise.d.ts +81 -0
  99. package/dist/runtime/build/vendor/lib/lib.es2015.proxy.d.ts +128 -0
  100. package/dist/runtime/build/vendor/lib/lib.es2015.reflect.d.ts +144 -0
  101. package/dist/runtime/build/vendor/lib/lib.es2015.symbol.d.ts +46 -0
  102. package/dist/runtime/build/vendor/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  103. package/dist/runtime/build/vendor/lib/lib.es2016.array.include.d.ts +116 -0
  104. package/dist/runtime/build/vendor/lib/lib.es2016.d.ts +21 -0
  105. package/dist/runtime/build/vendor/lib/lib.es2016.full.d.ts +23 -0
  106. package/dist/runtime/build/vendor/lib/lib.es2016.intl.d.ts +31 -0
  107. package/dist/runtime/build/vendor/lib/lib.es2017.arraybuffer.d.ts +21 -0
  108. package/dist/runtime/build/vendor/lib/lib.es2017.d.ts +26 -0
  109. package/dist/runtime/build/vendor/lib/lib.es2017.date.d.ts +31 -0
  110. package/dist/runtime/build/vendor/lib/lib.es2017.full.d.ts +23 -0
  111. package/dist/runtime/build/vendor/lib/lib.es2017.intl.d.ts +44 -0
  112. package/dist/runtime/build/vendor/lib/lib.es2017.object.d.ts +49 -0
  113. package/dist/runtime/build/vendor/lib/lib.es2017.sharedmemory.d.ts +135 -0
  114. package/dist/runtime/build/vendor/lib/lib.es2017.string.d.ts +45 -0
  115. package/dist/runtime/build/vendor/lib/lib.es2017.typedarrays.d.ts +53 -0
  116. package/dist/runtime/build/vendor/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  117. package/dist/runtime/build/vendor/lib/lib.es2018.asynciterable.d.ts +53 -0
  118. package/dist/runtime/build/vendor/lib/lib.es2018.d.ts +24 -0
  119. package/dist/runtime/build/vendor/lib/lib.es2018.full.d.ts +24 -0
  120. package/dist/runtime/build/vendor/lib/lib.es2018.intl.d.ts +83 -0
  121. package/dist/runtime/build/vendor/lib/lib.es2018.promise.d.ts +30 -0
  122. package/dist/runtime/build/vendor/lib/lib.es2018.regexp.d.ts +37 -0
  123. package/dist/runtime/build/vendor/lib/lib.es2019.array.d.ts +79 -0
  124. package/dist/runtime/build/vendor/lib/lib.es2019.d.ts +24 -0
  125. package/dist/runtime/build/vendor/lib/lib.es2019.full.d.ts +24 -0
  126. package/dist/runtime/build/vendor/lib/lib.es2019.intl.d.ts +23 -0
  127. package/dist/runtime/build/vendor/lib/lib.es2019.object.d.ts +33 -0
  128. package/dist/runtime/build/vendor/lib/lib.es2019.string.d.ts +37 -0
  129. package/dist/runtime/build/vendor/lib/lib.es2019.symbol.d.ts +24 -0
  130. package/dist/runtime/build/vendor/lib/lib.es2020.bigint.d.ts +731 -0
  131. package/dist/runtime/build/vendor/lib/lib.es2020.d.ts +27 -0
  132. package/dist/runtime/build/vendor/lib/lib.es2020.date.d.ts +42 -0
  133. package/dist/runtime/build/vendor/lib/lib.es2020.full.d.ts +24 -0
  134. package/dist/runtime/build/vendor/lib/lib.es2020.intl.d.ts +474 -0
  135. package/dist/runtime/build/vendor/lib/lib.es2020.number.d.ts +28 -0
  136. package/dist/runtime/build/vendor/lib/lib.es2020.promise.d.ts +47 -0
  137. package/dist/runtime/build/vendor/lib/lib.es2020.sharedmemory.d.ts +99 -0
  138. package/dist/runtime/build/vendor/lib/lib.es2020.string.d.ts +44 -0
  139. package/dist/runtime/build/vendor/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  140. package/dist/runtime/build/vendor/lib/lib.es2021.d.ts +23 -0
  141. package/dist/runtime/build/vendor/lib/lib.es2021.full.d.ts +24 -0
  142. package/dist/runtime/build/vendor/lib/lib.es2021.intl.d.ts +166 -0
  143. package/dist/runtime/build/vendor/lib/lib.es2021.promise.d.ts +48 -0
  144. package/dist/runtime/build/vendor/lib/lib.es2021.string.d.ts +33 -0
  145. package/dist/runtime/build/vendor/lib/lib.es2021.weakref.d.ts +78 -0
  146. package/dist/runtime/build/vendor/lib/lib.es2022.array.d.ts +121 -0
  147. package/dist/runtime/build/vendor/lib/lib.es2022.d.ts +25 -0
  148. package/dist/runtime/build/vendor/lib/lib.es2022.error.d.ts +75 -0
  149. package/dist/runtime/build/vendor/lib/lib.es2022.full.d.ts +24 -0
  150. package/dist/runtime/build/vendor/lib/lib.es2022.intl.d.ts +121 -0
  151. package/dist/runtime/build/vendor/lib/lib.es2022.object.d.ts +26 -0
  152. package/dist/runtime/build/vendor/lib/lib.es2022.regexp.d.ts +39 -0
  153. package/dist/runtime/build/vendor/lib/lib.es2022.string.d.ts +25 -0
  154. package/dist/runtime/build/vendor/lib/lib.es2023.array.d.ts +924 -0
  155. package/dist/runtime/build/vendor/lib/lib.es2023.collection.d.ts +21 -0
  156. package/dist/runtime/build/vendor/lib/lib.es2023.d.ts +22 -0
  157. package/dist/runtime/build/vendor/lib/lib.es2023.full.d.ts +24 -0
  158. package/dist/runtime/build/vendor/lib/lib.es2023.intl.d.ts +56 -0
  159. package/dist/runtime/build/vendor/lib/lib.es2024.arraybuffer.d.ts +65 -0
  160. package/dist/runtime/build/vendor/lib/lib.es2024.collection.d.ts +29 -0
  161. package/dist/runtime/build/vendor/lib/lib.es2024.d.ts +26 -0
  162. package/dist/runtime/build/vendor/lib/lib.es2024.full.d.ts +24 -0
  163. package/dist/runtime/build/vendor/lib/lib.es2024.object.d.ts +29 -0
  164. package/dist/runtime/build/vendor/lib/lib.es2024.promise.d.ts +35 -0
  165. package/dist/runtime/build/vendor/lib/lib.es2024.regexp.d.ts +25 -0
  166. package/dist/runtime/build/vendor/lib/lib.es2024.sharedmemory.d.ts +68 -0
  167. package/dist/runtime/build/vendor/lib/lib.es2024.string.d.ts +29 -0
  168. package/dist/runtime/build/vendor/lib/lib.es5.d.ts +4585 -0
  169. package/dist/runtime/build/vendor/lib/lib.es6.d.ts +23 -0
  170. package/dist/runtime/build/vendor/lib/lib.esnext.array.d.ts +35 -0
  171. package/dist/runtime/build/vendor/lib/lib.esnext.collection.d.ts +96 -0
  172. package/dist/runtime/build/vendor/lib/lib.esnext.d.ts +25 -0
  173. package/dist/runtime/build/vendor/lib/lib.esnext.decorators.d.ts +28 -0
  174. package/dist/runtime/build/vendor/lib/lib.esnext.disposable.d.ts +193 -0
  175. package/dist/runtime/build/vendor/lib/lib.esnext.full.d.ts +24 -0
  176. package/dist/runtime/build/vendor/lib/lib.esnext.intl.d.ts +21 -0
  177. package/dist/runtime/build/vendor/lib/lib.esnext.iterator.d.ts +148 -0
  178. package/dist/runtime/build/vendor/node-types/assert/strict.d.ts +111 -0
  179. package/dist/runtime/build/vendor/node-types/assert.d.ts +1115 -0
  180. package/dist/runtime/build/vendor/node-types/async_hooks.d.ts +619 -0
  181. package/dist/runtime/build/vendor/node-types/buffer.buffer.d.ts +477 -0
  182. package/dist/runtime/build/vendor/node-types/buffer.d.ts +1941 -0
  183. package/dist/runtime/build/vendor/node-types/child_process.d.ts +1480 -0
  184. package/dist/runtime/build/vendor/node-types/cluster.d.ts +578 -0
  185. package/dist/runtime/build/vendor/node-types/compatibility/iterators.d.ts +21 -0
  186. package/dist/runtime/build/vendor/node-types/console.d.ts +453 -0
  187. package/dist/runtime/build/vendor/node-types/constants.d.ts +21 -0
  188. package/dist/runtime/build/vendor/node-types/crypto.d.ts +5484 -0
  189. package/dist/runtime/build/vendor/node-types/dgram.d.ts +715 -0
  190. package/dist/runtime/build/vendor/node-types/diagnostics_channel.d.ts +576 -0
  191. package/dist/runtime/build/vendor/node-types/dns/promises.d.ts +503 -0
  192. package/dist/runtime/build/vendor/node-types/dns.d.ts +923 -0
  193. package/dist/runtime/build/vendor/node-types/domain.d.ts +166 -0
  194. package/dist/runtime/build/vendor/node-types/events.d.ts +967 -0
  195. package/dist/runtime/build/vendor/node-types/fs/promises.d.ts +1354 -0
  196. package/dist/runtime/build/vendor/node-types/fs.d.ts +4777 -0
  197. package/dist/runtime/build/vendor/node-types/globals.d.ts +170 -0
  198. package/dist/runtime/build/vendor/node-types/globals.typedarray.d.ts +41 -0
  199. package/dist/runtime/build/vendor/node-types/http.d.ts +2246 -0
  200. package/dist/runtime/build/vendor/node-types/http2.d.ts +2882 -0
  201. package/dist/runtime/build/vendor/node-types/https.d.ts +585 -0
  202. package/dist/runtime/build/vendor/node-types/index.d.ts +101 -0
  203. package/dist/runtime/build/vendor/node-types/inspector.d.ts +323 -0
  204. package/dist/runtime/build/vendor/node-types/inspector.generated.d.ts +4406 -0
  205. package/dist/runtime/build/vendor/node-types/module.d.ts +844 -0
  206. package/dist/runtime/build/vendor/node-types/net.d.ts +1197 -0
  207. package/dist/runtime/build/vendor/node-types/os.d.ts +507 -0
  208. package/dist/runtime/build/vendor/node-types/package.json +140 -0
  209. package/dist/runtime/build/vendor/node-types/path.d.ts +200 -0
  210. package/dist/runtime/build/vendor/node-types/perf_hooks.d.ts +1054 -0
  211. package/dist/runtime/build/vendor/node-types/process.d.ts +2101 -0
  212. package/dist/runtime/build/vendor/node-types/punycode.d.ts +117 -0
  213. package/dist/runtime/build/vendor/node-types/querystring.d.ts +152 -0
  214. package/dist/runtime/build/vendor/node-types/readline/promises.d.ts +161 -0
  215. package/dist/runtime/build/vendor/node-types/readline.d.ts +600 -0
  216. package/dist/runtime/build/vendor/node-types/repl.d.ts +438 -0
  217. package/dist/runtime/build/vendor/node-types/sea.d.ts +162 -0
  218. package/dist/runtime/build/vendor/node-types/sqlite.d.ts +1182 -0
  219. package/dist/runtime/build/vendor/node-types/stream/consumers.d.ts +45 -0
  220. package/dist/runtime/build/vendor/node-types/stream/promises.d.ts +90 -0
  221. package/dist/runtime/build/vendor/node-types/stream/web.d.ts +596 -0
  222. package/dist/runtime/build/vendor/node-types/stream.d.ts +1707 -0
  223. package/dist/runtime/build/vendor/node-types/string_decoder.d.ts +67 -0
  224. package/dist/runtime/build/vendor/node-types/test.d.ts +2656 -0
  225. package/dist/runtime/build/vendor/node-types/timers/promises.d.ts +108 -0
  226. package/dist/runtime/build/vendor/node-types/timers.d.ts +285 -0
  227. package/dist/runtime/build/vendor/node-types/tls.d.ts +1314 -0
  228. package/dist/runtime/build/vendor/node-types/trace_events.d.ts +197 -0
  229. package/dist/runtime/build/vendor/node-types/ts5.6/buffer.buffer.d.ts +473 -0
  230. package/dist/runtime/build/vendor/node-types/ts5.6/compatibility/float16array.d.ts +71 -0
  231. package/dist/runtime/build/vendor/node-types/ts5.6/globals.typedarray.d.ts +36 -0
  232. package/dist/runtime/build/vendor/node-types/ts5.6/index.d.ts +103 -0
  233. package/dist/runtime/build/vendor/node-types/ts5.7/compatibility/float16array.d.ts +72 -0
  234. package/dist/runtime/build/vendor/node-types/ts5.7/index.d.ts +103 -0
  235. package/dist/runtime/build/vendor/node-types/tty.d.ts +209 -0
  236. package/dist/runtime/build/vendor/node-types/url.d.ts +1103 -0
  237. package/dist/runtime/build/vendor/node-types/util.d.ts +2379 -0
  238. package/dist/runtime/build/vendor/node-types/v8.d.ts +1010 -0
  239. package/dist/runtime/build/vendor/node-types/vm.d.ts +1160 -0
  240. package/dist/runtime/build/vendor/node-types/wasi.d.ts +202 -0
  241. package/dist/runtime/build/vendor/node-types/web-globals/abortcontroller.d.ts +34 -0
  242. package/dist/runtime/build/vendor/node-types/web-globals/crypto.d.ts +32 -0
  243. package/dist/runtime/build/vendor/node-types/web-globals/domexception.d.ts +68 -0
  244. package/dist/runtime/build/vendor/node-types/web-globals/events.d.ts +97 -0
  245. package/dist/runtime/build/vendor/node-types/web-globals/fetch.d.ts +62 -0
  246. package/dist/runtime/build/vendor/node-types/web-globals/navigator.d.ts +25 -0
  247. package/dist/runtime/build/vendor/node-types/web-globals/storage.d.ts +24 -0
  248. package/dist/runtime/build/vendor/node-types/web-globals/streams.d.ts +22 -0
  249. package/dist/runtime/build/vendor/node-types/worker_threads.d.ts +894 -0
  250. package/dist/runtime/build/vendor/node-types/zlib.d.ts +768 -0
  251. package/dist/runtime/build/vendor/node_modules/csstype/LICENSE +19 -0
  252. package/dist/runtime/build/vendor/node_modules/csstype/index.d.ts +22569 -0
  253. package/dist/runtime/build/vendor/node_modules/csstype/index.js.flow +6863 -0
  254. package/dist/runtime/build/vendor/node_modules/csstype/package.json +70 -0
  255. package/dist/runtime/build/vendor/node_modules/seroval/LICENSE +7 -0
  256. package/dist/runtime/build/vendor/node_modules/seroval/dist/cjs/development/index.cjs +4232 -0
  257. package/dist/runtime/build/vendor/node_modules/seroval/dist/cjs/production/index.cjs +3 -0
  258. package/dist/runtime/build/vendor/node_modules/seroval/dist/esm/development/index.mjs +4209 -0
  259. package/dist/runtime/build/vendor/node_modules/seroval/dist/esm/production/index.mjs +3 -0
  260. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/Serializer.d.ts +28 -0
  261. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/base-primitives.d.ts +28 -0
  262. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/compat.d.ts +15 -0
  263. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/constants.d.ts +105 -0
  264. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/constructors.d.ts +50 -0
  265. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/async-parser.d.ts +20 -0
  266. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/deserializer.d.ts +52 -0
  267. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/parser.d.ts +62 -0
  268. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/serializer.d.ts +103 -0
  269. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/sync-parser.d.ts +61 -0
  270. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/cross/index.d.ts +24 -0
  271. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/errors.d.ts +47 -0
  272. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/function-string.d.ts +3 -0
  273. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/keys.d.ts +4 -0
  274. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/literals.d.ts +10 -0
  275. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/node.d.ts +8 -0
  276. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/opaque-reference.d.ts +9 -0
  277. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/plugin.d.ts +52 -0
  278. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/reference.d.ts +6 -0
  279. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/sequence.d.ts +11 -0
  280. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/special-reference.d.ts +16 -0
  281. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/stream.d.ts +17 -0
  282. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/string.d.ts +4 -0
  283. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/symbols.d.ts +14 -0
  284. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/tree/index.d.ts +21 -0
  285. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/types.d.ts +233 -0
  286. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/error.d.ts +6 -0
  287. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/get-identifier.d.ts +2 -0
  288. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/get-object-flag.d.ts +3 -0
  289. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/is-valid-identifier.d.ts +2 -0
  290. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/promise-to-result.d.ts +2 -0
  291. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/typed-array.d.ts +6 -0
  292. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/valid-properties.d.ts +3 -0
  293. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/index.d.ts +18 -0
  294. package/dist/runtime/build/vendor/node_modules/seroval/package.json +67 -0
  295. package/dist/runtime/build/vendor/node_modules/seroval/src/core/Serializer.ts +119 -0
  296. package/dist/runtime/build/vendor/node_modules/seroval/src/core/base-primitives.ts +537 -0
  297. package/dist/runtime/build/vendor/node_modules/seroval/src/core/compat.ts +23 -0
  298. package/dist/runtime/build/vendor/node_modules/seroval/src/core/constants.ts +202 -0
  299. package/dist/runtime/build/vendor/node_modules/seroval/src/core/constructors.ts +265 -0
  300. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/async-parser.ts +666 -0
  301. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/deserializer.ts +832 -0
  302. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/parser.ts +335 -0
  303. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/serializer.ts +1524 -0
  304. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/sync-parser.ts +943 -0
  305. package/dist/runtime/build/vendor/node_modules/seroval/src/core/cross/index.ts +190 -0
  306. package/dist/runtime/build/vendor/node_modules/seroval/src/core/errors.ts +196 -0
  307. package/dist/runtime/build/vendor/node_modules/seroval/src/core/function-string.ts +31 -0
  308. package/dist/runtime/build/vendor/node_modules/seroval/src/core/keys.ts +17 -0
  309. package/dist/runtime/build/vendor/node_modules/seroval/src/core/literals.ts +43 -0
  310. package/dist/runtime/build/vendor/node_modules/seroval/src/core/node.ts +40 -0
  311. package/dist/runtime/build/vendor/node_modules/seroval/src/core/opaque-reference.ts +9 -0
  312. package/dist/runtime/build/vendor/node_modules/seroval/src/core/plugin.ts +105 -0
  313. package/dist/runtime/build/vendor/node_modules/seroval/src/core/reference.ts +66 -0
  314. package/dist/runtime/build/vendor/node_modules/seroval/src/core/sequence.ts +59 -0
  315. package/dist/runtime/build/vendor/node_modules/seroval/src/core/special-reference.ts +42 -0
  316. package/dist/runtime/build/vendor/node_modules/seroval/src/core/stream.ts +71 -0
  317. package/dist/runtime/build/vendor/node_modules/seroval/src/core/string.ts +86 -0
  318. package/dist/runtime/build/vendor/node_modules/seroval/src/core/symbols.ts +20 -0
  319. package/dist/runtime/build/vendor/node_modules/seroval/src/core/tree/index.ts +134 -0
  320. package/dist/runtime/build/vendor/node_modules/seroval/src/core/types.ts +377 -0
  321. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/error.ts +73 -0
  322. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/get-identifier.ts +18 -0
  323. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/get-object-flag.ts +14 -0
  324. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/is-valid-identifier.ts +12 -0
  325. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/promise-to-result.ts +9 -0
  326. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/typed-array.ts +56 -0
  327. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/valid-properties.ts +34 -0
  328. package/dist/runtime/build/vendor/node_modules/seroval/src/index.ts +36 -0
  329. package/dist/runtime/build/vendor/node_modules/seroval-plugins/LICENSE +7 -0
  330. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/cjs/development/web.cjs +826 -0
  331. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/cjs/production/web.cjs +1 -0
  332. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/esm/development/web.mjs +803 -0
  333. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/esm/production/web.mjs +1 -0
  334. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/abort-signal.d.ts +3 -0
  335. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/blob.d.ts +3 -0
  336. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/custom-event.d.ts +3 -0
  337. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/dom-exception.d.ts +3 -0
  338. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/event.d.ts +3 -0
  339. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/file.d.ts +3 -0
  340. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/form-data.d.ts +3 -0
  341. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/headers.d.ts +3 -0
  342. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/image-data.d.ts +3 -0
  343. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/index.d.ts +15 -0
  344. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/readable-stream.d.ts +3 -0
  345. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/request.d.ts +3 -0
  346. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/response.d.ts +3 -0
  347. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/url-search-params.d.ts +3 -0
  348. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/url.d.ts +3 -0
  349. package/dist/runtime/build/vendor/node_modules/seroval-plugins/package.json +70 -0
  350. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/abort-signal.ts +131 -0
  351. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/blob.ts +41 -0
  352. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/custom-event.ts +66 -0
  353. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/dom-exception.ts +57 -0
  354. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/event.ts +62 -0
  355. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/file.ts +50 -0
  356. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/form-data.ts +105 -0
  357. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/headers.ts +49 -0
  358. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/image-data.ts +74 -0
  359. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/index.ts +14 -0
  360. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/readable-stream.ts +148 -0
  361. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/request.ts +82 -0
  362. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/response.ts +65 -0
  363. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/url-search-params.ts +40 -0
  364. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/url.ts +37 -0
  365. package/dist/runtime/build/vendor/node_modules/solid-js/dist/server.cjs +824 -0
  366. package/dist/runtime/build/vendor/node_modules/solid-js/dist/server.js +770 -0
  367. package/dist/runtime/build/vendor/node_modules/solid-js/dist/solid.cjs +1808 -0
  368. package/dist/runtime/build/vendor/node_modules/solid-js/dist/solid.js +1753 -0
  369. package/dist/runtime/build/vendor/node_modules/solid-js/jsx-runtime.d.ts +1 -0
  370. package/dist/runtime/build/vendor/node_modules/solid-js/package.json +243 -0
  371. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/server.cjs +133 -0
  372. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/server.js +121 -0
  373. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/store.cjs +463 -0
  374. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/store.js +454 -0
  375. package/dist/runtime/build/vendor/node_modules/solid-js/store/package.json +46 -0
  376. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/index.d.ts +12 -0
  377. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/modifiers.d.ts +6 -0
  378. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/mutable.d.ts +5 -0
  379. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/server.d.ts +17 -0
  380. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/store.d.ts +108 -0
  381. package/dist/runtime/build/vendor/node_modules/solid-js/types/index.d.ts +23 -0
  382. package/dist/runtime/build/vendor/node_modules/solid-js/types/jsx.d.ts +4253 -0
  383. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/array.d.ts +44 -0
  384. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/observable.d.ts +36 -0
  385. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/scheduler.d.ts +10 -0
  386. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/signal.d.ts +581 -0
  387. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/Suspense.d.ts +26 -0
  388. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/component.d.ts +111 -0
  389. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/flow.d.ts +118 -0
  390. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/hydration.d.ts +24 -0
  391. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/index.d.ts +4 -0
  392. package/dist/runtime/build/vendor/node_modules/solid-js/types/server/index.d.ts +3 -0
  393. package/dist/runtime/build/vendor/node_modules/solid-js/types/server/reactive.d.ts +98 -0
  394. package/dist/runtime/build/vendor/node_modules/solid-js/types/server/rendering.d.ts +160 -0
  395. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/server.cjs +900 -0
  396. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/server.js +786 -0
  397. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/web.cjs +884 -0
  398. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/web.js +772 -0
  399. package/dist/runtime/build/vendor/node_modules/solid-js/web/package.json +46 -0
  400. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/dist/storage.cjs +12 -0
  401. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/dist/storage.js +10 -0
  402. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/package.json +15 -0
  403. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/types/index.d.ts +2 -0
  404. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/client.d.ts +93 -0
  405. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/core.d.ts +2 -0
  406. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/index.d.ts +50 -0
  407. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/jsx.d.ts +1 -0
  408. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/server-mock.d.ts +65 -0
  409. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/server.d.ts +187 -0
  410. package/dist/runtime/build/worker.mjs +293415 -0
  411. package/dist/runtime/catalog/sdk-natives.json +655 -0
  412. package/dist/runtime/cli/iota-ext.mjs +1028 -0
  413. package/dist/runtime/client-host/entry.d.ts +10 -0
  414. package/dist/runtime/client-host/entry.js +124 -0
  415. package/dist/runtime/client-host/hooks.d.ts +43 -0
  416. package/dist/runtime/client-host/hooks.js +94 -0
  417. package/dist/runtime/client-host/index.d.ts +9 -0
  418. package/dist/runtime/client-host/index.js +9 -0
  419. package/dist/runtime/client-host/islands.d.ts +44 -0
  420. package/dist/runtime/client-host/islands.js +165 -0
  421. package/dist/runtime/client-host/kit.d.ts +10 -0
  422. package/dist/runtime/client-host/kit.js +37 -0
  423. package/dist/runtime/client-host/page.d.ts +53 -0
  424. package/dist/runtime/client-host/page.js +217 -0
  425. package/dist/runtime/client-host/params.d.ts +8 -0
  426. package/dist/runtime/client-host/params.js +36 -0
  427. package/dist/runtime/client-host/protocol.d.ts +78 -0
  428. package/dist/runtime/client-host/protocol.js +26 -0
  429. package/dist/runtime/client-host/shared.d.ts +12 -0
  430. package/dist/runtime/client-host/shared.js +49 -0
  431. package/dist/runtime/client-host/shell.d.ts +88 -0
  432. package/dist/runtime/client-host/shell.js +195 -0
  433. package/dist/runtime/client-host/slots.d.ts +54 -0
  434. package/dist/runtime/client-host/slots.js +90 -0
  435. package/dist/runtime/client-host/styles.d.ts +7 -0
  436. package/dist/runtime/client-host/styles.js +61 -0
  437. package/dist/runtime/client-host/transport.d.ts +45 -0
  438. package/dist/runtime/client-host/transport.js +115 -0
  439. package/dist/runtime/client.d.ts +226 -0
  440. package/dist/runtime/client.js +121 -0
  441. package/dist/runtime/contracts.d.ts +204 -0
  442. package/dist/runtime/contracts.js +195 -0
  443. package/dist/runtime/docs/authoring.md +1609 -0
  444. package/dist/runtime/docs/example/docs/en/admin/limits.md +10 -0
  445. package/dist/runtime/docs/example/docs/en/getting-started.md +13 -0
  446. package/dist/runtime/docs/example/docs/en/points.md +9 -0
  447. package/dist/runtime/docs/example/docs/ru/getting-started.md +12 -0
  448. package/dist/runtime/docs/example/package.json +27 -0
  449. package/dist/runtime/docs/example/src/ClientScreen.tsx +10 -0
  450. package/dist/runtime/docs/example/src/RedemptionScreen.tsx +7 -0
  451. package/dist/runtime/docs/example/src/RewardsScreen.module.css +13 -0
  452. package/dist/runtime/docs/example/src/RewardsScreen.tsx +51 -0
  453. package/dist/runtime/docs/example/src/client.tsx +40 -0
  454. package/dist/runtime/docs/example/src/contracts.ts +132 -0
  455. package/dist/runtime/docs/example/src/css-modules.d.ts +5 -0
  456. package/dist/runtime/docs/example/src/server.test.ts +156 -0
  457. package/dist/runtime/docs/example/src/server.ts +188 -0
  458. package/dist/runtime/docs/example/tsconfig.json +16 -0
  459. package/dist/runtime/entity.d.ts +237 -0
  460. package/dist/runtime/entity.js +201 -0
  461. package/dist/runtime/fakes.d.ts +80 -0
  462. package/dist/runtime/fakes.js +88 -0
  463. package/dist/runtime/fixtures.d.ts +34 -0
  464. package/dist/runtime/fixtures.js +60 -0
  465. package/dist/runtime/help.d.ts +22 -0
  466. package/dist/runtime/help.js +51 -0
  467. package/dist/runtime/host/context.mjs +392 -0
  468. package/dist/runtime/host/errors.mjs +64 -0
  469. package/dist/runtime/host/loader.mjs +28 -0
  470. package/dist/runtime/host/protocol.mjs +4 -0
  471. package/dist/runtime/host/register.mjs +8 -0
  472. package/dist/runtime/host/sdk/assert.mjs +153 -0
  473. package/dist/runtime/host/sdk/client-host/hooks.mjs +86 -0
  474. package/dist/runtime/host/sdk/client-host/protocol.mjs +30 -0
  475. package/dist/runtime/host/sdk/client-host/slots.mjs +82 -0
  476. package/dist/runtime/host/sdk/client-host/styles.mjs +45 -0
  477. package/dist/runtime/host/sdk/client-host/transport.mjs +102 -0
  478. package/dist/runtime/host/sdk/client.mjs +115 -0
  479. package/dist/runtime/host/sdk/contracts.mjs +185 -0
  480. package/dist/runtime/host/sdk/entity.mjs +183 -0
  481. package/dist/runtime/host/sdk/fakes.mjs +88 -0
  482. package/dist/runtime/host/sdk/fixtures.mjs +56 -0
  483. package/dist/runtime/host/sdk/help.mjs +37 -0
  484. package/dist/runtime/host/sdk/index.mjs +83 -0
  485. package/dist/runtime/host/sdk/kit.mjs +11 -0
  486. package/dist/runtime/host/sdk/manifest.mjs +276 -0
  487. package/dist/runtime/host/sdk/model.mjs +4 -0
  488. package/dist/runtime/host/sdk/resource.mjs +34 -0
  489. package/dist/runtime/host/sdk/schema.mjs +75 -0
  490. package/dist/runtime/host/sdk/server.mjs +43 -0
  491. package/dist/runtime/host/sdk/testhost.mjs +992 -0
  492. package/dist/runtime/host/sdk/testing.mjs +21 -0
  493. package/dist/runtime/host/sdk/wire.mjs +207 -0
  494. package/dist/runtime/host/worker.mjs +252 -0
  495. package/dist/runtime/index.d.ts +10 -0
  496. package/dist/runtime/index.js +5 -0
  497. package/dist/runtime/kit.d.ts +5 -0
  498. package/dist/runtime/kit.js +14 -0
  499. package/dist/runtime/manifest.d.ts +17 -0
  500. package/dist/runtime/manifest.js +323 -0
  501. package/dist/runtime/model.d.ts +224 -0
  502. package/dist/runtime/model.js +3 -0
  503. package/dist/runtime/resource.d.ts +31 -0
  504. package/dist/runtime/resource.js +35 -0
  505. package/dist/runtime/schema.d.ts +97 -0
  506. package/dist/runtime/schema.js +73 -0
  507. package/dist/runtime/server.d.ts +445 -0
  508. package/dist/runtime/server.js +41 -0
  509. package/dist/runtime/testhost.d.ts +216 -0
  510. package/dist/runtime/testhost.js +1146 -0
  511. package/dist/runtime/testing.d.ts +10 -0
  512. package/dist/runtime/testing.js +7 -0
  513. package/dist/runtime/wire.d.ts +26 -0
  514. package/dist/runtime/wire.js +236 -0
  515. package/dist/sdk-identity.cjs +3 -3
  516. package/dist/sdk-identity.js +3 -3
  517. package/dist/sdk-identity.json +2 -2
  518. package/dist/solid-ui/embedded-css.d.ts +2 -0
  519. package/dist/solid-ui/embedded-css.js +1 -0
  520. package/dist/solid-ui/embedded.css +2 -0
  521. package/dist/testing/components.d.ts +73 -0
  522. package/dist/testing/components.js +96 -0
  523. package/dist/testing/htmx.d.ts +44 -0
  524. package/dist/testing/htmx.js +284 -0
  525. package/dist/testing/index.d.ts +4 -41
  526. package/dist/testing/index.js +3 -206
  527. package/dist/testing/scenarios.d.ts +83 -0
  528. package/dist/testing/scenarios.js +74 -0
  529. package/dist/testing/wait.d.ts +7 -0
  530. package/dist/testing/wait.js +19 -0
  531. package/package.json +33 -2
  532. package/dist/lens/TablePanel-C09tzJOL.js +0 -980
  533. package/dist/lens/index-DcVtZneD.js +0 -18473
  534. package/dist/lens/runtime/recovery.d.ts +0 -26
  535. package/dist/lens/runtime/recovery.d.ts.map +0 -1
@@ -0,0 +1,900 @@
1
+ 'use strict';
2
+
3
+ var solidJs = require('solid-js');
4
+ var seroval = require('seroval');
5
+ var web = require('seroval-plugins/web');
6
+
7
+ const booleans = ["allowfullscreen", "async", "alpha",
8
+ "autofocus",
9
+ "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden",
10
+ "indeterminate", "inert",
11
+ "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless",
12
+ "selected", "adauctionheaders",
13
+ "browsingtopics",
14
+ "credentialless",
15
+ "defaultchecked", "defaultmuted", "defaultselected", "defer", "disablepictureinpicture", "disableremoteplayback", "preservespitch",
16
+ "shadowrootclonable", "shadowrootcustomelementregistry",
17
+ "shadowrootdelegatesfocus", "shadowrootserializable",
18
+ "sharedstoragewritable"
19
+ ];
20
+ const BooleanAttributes = /*#__PURE__*/new Set(booleans);
21
+ const Properties = /*#__PURE__*/new Set([
22
+ "className", "value",
23
+ "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", "adAuctionHeaders",
24
+ "allowFullscreen", "browsingTopics",
25
+ "defaultChecked", "defaultMuted", "defaultSelected", "disablePictureInPicture", "disableRemotePlayback", "preservesPitch", "shadowRootClonable", "shadowRootCustomElementRegistry",
26
+ "shadowRootDelegatesFocus", "shadowRootSerializable",
27
+ "sharedStorageWritable",
28
+ ...booleans]);
29
+ const ChildProperties = /*#__PURE__*/new Set(["innerHTML", "textContent", "innerText", "children"]);
30
+ const Aliases = /*#__PURE__*/Object.assign(Object.create(null), {
31
+ className: "class",
32
+ htmlFor: "for"
33
+ });
34
+ const PropAliases = /*#__PURE__*/Object.assign(Object.create(null), {
35
+ class: "className",
36
+ novalidate: {
37
+ $: "noValidate",
38
+ FORM: 1
39
+ },
40
+ formnovalidate: {
41
+ $: "formNoValidate",
42
+ BUTTON: 1,
43
+ INPUT: 1
44
+ },
45
+ ismap: {
46
+ $: "isMap",
47
+ IMG: 1
48
+ },
49
+ nomodule: {
50
+ $: "noModule",
51
+ SCRIPT: 1
52
+ },
53
+ playsinline: {
54
+ $: "playsInline",
55
+ VIDEO: 1
56
+ },
57
+ readonly: {
58
+ $: "readOnly",
59
+ INPUT: 1,
60
+ TEXTAREA: 1
61
+ },
62
+ adauctionheaders: {
63
+ $: "adAuctionHeaders",
64
+ IFRAME: 1
65
+ },
66
+ allowfullscreen: {
67
+ $: "allowFullscreen",
68
+ IFRAME: 1
69
+ },
70
+ browsingtopics: {
71
+ $: "browsingTopics",
72
+ IMG: 1
73
+ },
74
+ defaultchecked: {
75
+ $: "defaultChecked",
76
+ INPUT: 1
77
+ },
78
+ defaultmuted: {
79
+ $: "defaultMuted",
80
+ AUDIO: 1,
81
+ VIDEO: 1
82
+ },
83
+ defaultselected: {
84
+ $: "defaultSelected",
85
+ OPTION: 1
86
+ },
87
+ disablepictureinpicture: {
88
+ $: "disablePictureInPicture",
89
+ VIDEO: 1
90
+ },
91
+ disableremoteplayback: {
92
+ $: "disableRemotePlayback",
93
+ AUDIO: 1,
94
+ VIDEO: 1
95
+ },
96
+ preservespitch: {
97
+ $: "preservesPitch",
98
+ AUDIO: 1,
99
+ VIDEO: 1
100
+ },
101
+ shadowrootclonable: {
102
+ $: "shadowRootClonable",
103
+ TEMPLATE: 1
104
+ },
105
+ shadowrootdelegatesfocus: {
106
+ $: "shadowRootDelegatesFocus",
107
+ TEMPLATE: 1
108
+ },
109
+ shadowrootserializable: {
110
+ $: "shadowRootSerializable",
111
+ TEMPLATE: 1
112
+ },
113
+ sharedstoragewritable: {
114
+ $: "sharedStorageWritable",
115
+ IFRAME: 1,
116
+ IMG: 1
117
+ }
118
+ });
119
+ function getPropAlias(prop, tagName) {
120
+ const a = PropAliases[prop];
121
+ return typeof a === "object" ? a[tagName] ? a["$"] : undefined : a;
122
+ }
123
+ const DelegatedEvents = /*#__PURE__*/new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]);
124
+ const SVGElements = /*#__PURE__*/new Set([
125
+ "altGlyph", "altGlyphDef", "altGlyphItem", "animate", "animateColor", "animateMotion", "animateTransform", "circle", "clipPath", "color-profile", "cursor", "defs", "desc", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "font", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignObject", "g", "glyph", "glyphRef", "hkern", "image", "line", "linearGradient", "marker", "mask", "metadata", "missing-glyph", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect",
126
+ "set", "stop",
127
+ "svg", "switch", "symbol", "text", "textPath",
128
+ "tref", "tspan", "use", "view", "vkern"]);
129
+ const SVGNamespace = {
130
+ xlink: "http://www.w3.org/1999/xlink",
131
+ xml: "http://www.w3.org/XML/1998/namespace"
132
+ };
133
+ const DOMElements = /*#__PURE__*/new Set(["html", "base", "head", "link", "meta", "style", "title", "body", "address", "article", "aside", "footer", "header", "main", "nav", "section", "body", "blockquote", "dd", "div", "dl", "dt", "figcaption", "figure", "hr", "li", "ol", "p", "pre", "ul", "a", "abbr", "b", "bdi", "bdo", "br", "cite", "code", "data", "dfn", "em", "i", "kbd", "mark", "q", "rp", "rt", "ruby", "s", "samp", "small", "span", "strong", "sub", "sup", "time", "u", "var", "wbr", "area", "audio", "img", "map", "track", "video", "embed", "iframe", "object", "param", "picture", "portal", "source", "svg", "math", "canvas", "noscript", "script", "del", "ins", "caption", "col", "colgroup", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "button", "datalist", "fieldset", "form", "input", "label", "legend", "meter", "optgroup", "option", "output", "progress", "select", "textarea", "details", "dialog", "menu", "summary", "details", "slot", "template", "acronym", "applet", "basefont", "bgsound", "big", "blink", "center", "content", "dir", "font", "frame", "frameset", "hgroup", "image", "keygen", "marquee", "menuitem", "nobr", "noembed", "noframes", "plaintext", "rb", "rtc", "shadow", "spacer", "strike", "tt", "xmp", "a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "portal", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp", "input", "h1", "h2", "h3", "h4", "h5", "h6",
134
+ "webview",
135
+ "isindex", "listing", "multicol", "nextid", "noindex", "search"]);
136
+
137
+ const memo = fn => solidJs.createMemo(() => fn());
138
+
139
+ const ES2017FLAG = seroval.Feature.AggregateError
140
+ | seroval.Feature.BigIntTypedArray;
141
+ const GLOBAL_IDENTIFIER = '_$HY.r';
142
+ function createSerializer({
143
+ onData,
144
+ onDone,
145
+ scopeId,
146
+ onError,
147
+ plugins: customPlugins
148
+ }) {
149
+ const defaultPlugins = [web.AbortSignalPlugin,
150
+ web.CustomEventPlugin, web.DOMExceptionPlugin, web.EventPlugin,
151
+ web.FormDataPlugin, web.HeadersPlugin, web.ReadableStreamPlugin, web.RequestPlugin, web.ResponsePlugin, web.URLSearchParamsPlugin, web.URLPlugin];
152
+ const allPlugins = customPlugins ? [...customPlugins, ...defaultPlugins] : defaultPlugins;
153
+ return new seroval.Serializer({
154
+ scopeId,
155
+ plugins: allPlugins,
156
+ globalIdentifier: GLOBAL_IDENTIFIER,
157
+ disabledFeatures: ES2017FLAG,
158
+ onData,
159
+ onDone,
160
+ onError
161
+ });
162
+ }
163
+ function getLocalHeaderScript(id) {
164
+ return seroval.getCrossReferenceHeader(id) + ';';
165
+ }
166
+
167
+ const VOID_ELEMENTS = /^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i;
168
+ const REPLACE_SCRIPT = `function $df(e,n,o,t){if(n=document.getElementById(e),o=document.getElementById("pl-"+e)){for(;o&&8!==o.nodeType&&o.nodeValue!=="pl-"+e;)t=o.nextSibling,o.remove(),o=t;_$HY.done?o.remove():o.replaceWith(n.content)}n.remove(),_$HY.fe(e)}`;
169
+ function renderToString(code, options = {}) {
170
+ const {
171
+ renderId
172
+ } = options;
173
+ let scripts = "";
174
+ const serializer = createSerializer({
175
+ scopeId: renderId,
176
+ plugins: options.plugins,
177
+ onData(script) {
178
+ if (!scripts) {
179
+ scripts = getLocalHeaderScript(renderId);
180
+ }
181
+ scripts += script + ";";
182
+ },
183
+ onError: options.onError
184
+ });
185
+ solidJs.sharedConfig.context = {
186
+ id: renderId || "",
187
+ count: 0,
188
+ suspense: {},
189
+ lazy: {},
190
+ assets: [],
191
+ nonce: options.nonce,
192
+ serialize(id, p) {
193
+ !solidJs.sharedConfig.context.noHydrate && serializer.write(id, p);
194
+ },
195
+ roots: 0,
196
+ nextRoot() {
197
+ return this.renderId + "i-" + this.roots++;
198
+ }
199
+ };
200
+ let html = solidJs.createRoot(d => {
201
+ setTimeout(d);
202
+ return resolveSSRNode(escape(code()));
203
+ });
204
+ solidJs.sharedConfig.context.noHydrate = true;
205
+ serializer.close();
206
+ html = injectAssets(solidJs.sharedConfig.context.assets, html);
207
+ if (scripts.length) html = injectScripts(html, scripts, options.nonce);
208
+ return html;
209
+ }
210
+ function renderToStringAsync(code, options = {}) {
211
+ const {
212
+ timeoutMs = 30000
213
+ } = options;
214
+ let timeoutHandle;
215
+ const timeout = new Promise((_, reject) => {
216
+ timeoutHandle = setTimeout(() => reject("renderToString timed out"), timeoutMs);
217
+ });
218
+ return Promise.race([renderToStream(code, options), timeout]).then(html => {
219
+ clearTimeout(timeoutHandle);
220
+ return html;
221
+ });
222
+ }
223
+ function renderToStream(code, options = {}) {
224
+ let {
225
+ nonce,
226
+ onCompleteShell,
227
+ onCompleteAll,
228
+ renderId,
229
+ noScripts
230
+ } = options;
231
+ let dispose;
232
+ const blockingPromises = [];
233
+ const pushTask = task => {
234
+ if (noScripts) return;
235
+ if (!tasks && !firstFlushed) {
236
+ tasks = getLocalHeaderScript(renderId);
237
+ }
238
+ tasks += task + ";";
239
+ if (!timer && firstFlushed) {
240
+ timer = setTimeout(writeTasks);
241
+ }
242
+ };
243
+ const onDone = () => {
244
+ writeTasks();
245
+ doShell();
246
+ onCompleteAll && onCompleteAll({
247
+ write(v) {
248
+ !completed && buffer.write(v);
249
+ }
250
+ });
251
+ writable && writable.end();
252
+ completed = true;
253
+ if (firstFlushed) dispose();
254
+ };
255
+ const serializer = createSerializer({
256
+ scopeId: options.renderId,
257
+ plugins: options.plugins,
258
+ onData: pushTask,
259
+ onDone,
260
+ onError: options.onError
261
+ });
262
+ const flushEnd = () => {
263
+ if (!registry.size) {
264
+ queue(() => queue(() => serializer.flush()));
265
+ }
266
+ };
267
+ const registry = new Map();
268
+ const writeTasks = () => {
269
+ if (tasks.length && !completed && firstFlushed) {
270
+ buffer.write(`<script${nonce ? ` nonce="${nonce}"` : ""}>${tasks}</script>`);
271
+ tasks = "";
272
+ }
273
+ timer && clearTimeout(timer);
274
+ timer = null;
275
+ };
276
+ let context;
277
+ let writable;
278
+ let tmp = "";
279
+ let tasks = "";
280
+ let firstFlushed = false;
281
+ let completed = false;
282
+ let shellCompleted = false;
283
+ let scriptFlushed = false;
284
+ let timer = null;
285
+ let buffer = {
286
+ write(payload) {
287
+ tmp += payload;
288
+ }
289
+ };
290
+ solidJs.sharedConfig.context = context = {
291
+ id: renderId || "",
292
+ count: 0,
293
+ async: true,
294
+ resources: {},
295
+ lazy: {},
296
+ suspense: {},
297
+ assets: [],
298
+ nonce,
299
+ block(p) {
300
+ if (!firstFlushed) blockingPromises.push(p);
301
+ },
302
+ replace(id, payloadFn) {
303
+ if (firstFlushed) return;
304
+ const placeholder = `<!--!$${id}-->`;
305
+ const first = html.indexOf(placeholder);
306
+ if (first === -1) return;
307
+ const last = html.indexOf(`<!--!$/${id}-->`, first + placeholder.length);
308
+ html = html.slice(0, first) + resolveSSRNode(escape(payloadFn())) + html.slice(last + placeholder.length + 1);
309
+ },
310
+ serialize(id, p, wait) {
311
+ const serverOnly = solidJs.sharedConfig.context.noHydrate;
312
+ if (!firstFlushed && wait && typeof p === "object" && "then" in p) {
313
+ blockingPromises.push(p);
314
+ !serverOnly && p.then(d => {
315
+ serializer.write(id, d);
316
+ }).catch(e => {
317
+ serializer.write(id, e);
318
+ });
319
+ } else if (!serverOnly) serializer.write(id, p);
320
+ },
321
+ roots: 0,
322
+ nextRoot() {
323
+ return this.renderId + "i-" + this.roots++;
324
+ },
325
+ registerFragment(key) {
326
+ if (!registry.has(key)) {
327
+ let resolve, reject;
328
+ const p = new Promise((r, rej) => (resolve = r, reject = rej));
329
+ registry.set(key, err => queue(() => queue(() => {
330
+ err ? reject(err) : resolve(true);
331
+ queue(flushEnd);
332
+ })));
333
+ serializer.write(key, p);
334
+ }
335
+ return (value, error) => {
336
+ if (registry.has(key)) {
337
+ const resolve = registry.get(key);
338
+ registry.delete(key);
339
+ if (waitForFragments(registry, key)) {
340
+ resolve();
341
+ return;
342
+ }
343
+ if (!completed) {
344
+ if (!firstFlushed) {
345
+ queue(() => html = replacePlaceholder(html, key, value !== undefined ? value : ""));
346
+ resolve(error);
347
+ } else {
348
+ buffer.write(`<template id="${key}">${value !== undefined ? value : " "}</template>`);
349
+ pushTask(`$df("${key}")${!scriptFlushed ? ";" + REPLACE_SCRIPT : ""}`);
350
+ resolve(error);
351
+ scriptFlushed = true;
352
+ }
353
+ }
354
+ }
355
+ return firstFlushed;
356
+ };
357
+ }
358
+ };
359
+ let html = solidJs.createRoot(d => {
360
+ dispose = d;
361
+ return resolveSSRNode(escape(code()));
362
+ });
363
+ function doShell() {
364
+ if (shellCompleted) return;
365
+ solidJs.sharedConfig.context = context;
366
+ context.noHydrate = true;
367
+ html = injectAssets(context.assets, html);
368
+ if (tasks.length) html = injectScripts(html, tasks, nonce);
369
+ buffer.write(html);
370
+ tasks = "";
371
+ onCompleteShell && onCompleteShell({
372
+ write(v) {
373
+ !completed && buffer.write(v);
374
+ }
375
+ });
376
+ shellCompleted = true;
377
+ }
378
+ return {
379
+ then(fn) {
380
+ function complete() {
381
+ dispose();
382
+ fn(tmp);
383
+ }
384
+ if (onCompleteAll) {
385
+ let ogComplete = onCompleteAll;
386
+ onCompleteAll = options => {
387
+ ogComplete(options);
388
+ complete();
389
+ };
390
+ } else onCompleteAll = complete;
391
+ queue(flushEnd);
392
+ },
393
+ pipe(w) {
394
+ allSettled(blockingPromises).then(() => {
395
+ setTimeout(() => {
396
+ doShell();
397
+ buffer = writable = w;
398
+ buffer.write(tmp);
399
+ firstFlushed = true;
400
+ if (completed) {
401
+ dispose();
402
+ writable.end();
403
+ } else flushEnd();
404
+ });
405
+ });
406
+ },
407
+ pipeTo(w) {
408
+ return allSettled(blockingPromises).then(() => {
409
+ let resolve;
410
+ const p = new Promise(r => resolve = r);
411
+ setTimeout(() => {
412
+ doShell();
413
+ const encoder = new TextEncoder();
414
+ const writer = w.getWriter();
415
+ writable = {
416
+ end() {
417
+ writer.releaseLock();
418
+ w.close().catch(() => {});
419
+ resolve();
420
+ }
421
+ };
422
+ buffer = {
423
+ write(payload) {
424
+ writer.write(encoder.encode(payload)).catch(() => {});
425
+ }
426
+ };
427
+ buffer.write(tmp);
428
+ firstFlushed = true;
429
+ if (completed) {
430
+ dispose();
431
+ writable.end();
432
+ } else flushEnd();
433
+ });
434
+ return p;
435
+ });
436
+ }
437
+ };
438
+ }
439
+ function HydrationScript(props) {
440
+ const {
441
+ nonce
442
+ } = solidJs.sharedConfig.context;
443
+ return ssr(generateHydrationScript({
444
+ nonce,
445
+ ...props
446
+ }));
447
+ }
448
+ function ssr(t, ...nodes) {
449
+ if (nodes.length) {
450
+ let result = "";
451
+ for (let i = 0; i < nodes.length; i++) {
452
+ result += t[i];
453
+ const node = nodes[i];
454
+ if (node !== undefined) result += resolveSSRNode(node);
455
+ }
456
+ t = result + t[nodes.length];
457
+ }
458
+ return {
459
+ t
460
+ };
461
+ }
462
+ function ssrClassList(value) {
463
+ if (!value) return "";
464
+ let classKeys = Object.keys(value),
465
+ result = "";
466
+ for (let i = 0, len = classKeys.length; i < len; i++) {
467
+ const key = classKeys[i],
468
+ classValue = !!value[key];
469
+ if (!key || key === "undefined" || !classValue) continue;
470
+ i && (result += " ");
471
+ result += escape(key);
472
+ }
473
+ return result;
474
+ }
475
+ function ssrStyle(value) {
476
+ if (!value) return "";
477
+ if (typeof value === "string") return escape(value, true);
478
+ let result = "";
479
+ const k = Object.keys(value);
480
+ for (let i = 0; i < k.length; i++) {
481
+ const s = k[i];
482
+ const v = value[s];
483
+ if (v != undefined) {
484
+ if (i) result += ";";
485
+ const r = escape(v, true);
486
+ if (r != undefined && r !== "undefined") {
487
+ result += `${s}:${r}`;
488
+ }
489
+ }
490
+ }
491
+ return result;
492
+ }
493
+ function ssrStyleProperty(name, value) {
494
+ return value != null ? name + value : "";
495
+ }
496
+ function ssrElement(tag, props, children, needsId) {
497
+ if (props == null) props = {};else if (typeof props === "function") props = props();
498
+ const skipChildren = VOID_ELEMENTS.test(tag);
499
+ const keys = Object.keys(props);
500
+ let result = `<${tag}${needsId ? ssrHydrationKey() : ""} `;
501
+ let classResolved;
502
+ for (let i = 0; i < keys.length; i++) {
503
+ const prop = keys[i];
504
+ if (ChildProperties.has(prop)) {
505
+ if (children === undefined && !skipChildren) children = tag === "script" || tag === "style" || prop === "innerHTML" ? props[prop] : escape(props[prop]);
506
+ continue;
507
+ }
508
+ const value = props[prop];
509
+ if (prop === "style") {
510
+ result += `style="${ssrStyle(value)}"`;
511
+ } else if (prop === "class" || prop === "className" || prop === "classList") {
512
+ if (classResolved) continue;
513
+ let n;
514
+ result += `class="${escape(((n = props.class) ? n + " " : "") + ((n = props.className) ? n + " " : ""), true) + ssrClassList(props.classList)}"`;
515
+ classResolved = true;
516
+ } else if (BooleanAttributes.has(prop)) {
517
+ if (value) result += prop;else continue;
518
+ } else if (value == undefined || prop === "ref" || prop.slice(0, 2) === "on" || prop.slice(0, 5) === "prop:") {
519
+ continue;
520
+ } else if (prop.slice(0, 5) === "bool:") {
521
+ if (!value) continue;
522
+ result += escape(prop.slice(5));
523
+ } else if (prop.slice(0, 5) === "attr:") {
524
+ result += `${escape(prop.slice(5))}="${escape(value, true)}"`;
525
+ } else {
526
+ result += `${Aliases[prop] || escape(prop)}="${escape(value, true)}"`;
527
+ }
528
+ if (i !== keys.length - 1) result += " ";
529
+ }
530
+ if (skipChildren) return {
531
+ t: result + "/>"
532
+ };
533
+ if (typeof children === "function") children = children();
534
+ return {
535
+ t: result + `>${resolveSSRNode(children, true)}</${tag}>`
536
+ };
537
+ }
538
+ function ssrAttribute(key, value, isBoolean) {
539
+ return isBoolean ? value ? " " + key : "" : value != null ? ` ${key}="${value}"` : "";
540
+ }
541
+ function ssrHydrationKey() {
542
+ const hk = getHydrationKey();
543
+ return hk ? ` data-hk="${hk}"` : "";
544
+ }
545
+ function escape(s, attr) {
546
+ const t = typeof s;
547
+ if (t !== "string") {
548
+ if (!attr && t === "function") return escape(s());
549
+ if (!attr && Array.isArray(s)) {
550
+ s = s.slice();
551
+ for (let i = 0; i < s.length; i++) s[i] = escape(s[i]);
552
+ return s;
553
+ }
554
+ if (attr) {
555
+ if (t === "boolean") return String(s);
556
+ if (s == null || t === "number") return s;
557
+ return escape(String(s), attr);
558
+ }
559
+ return s;
560
+ }
561
+ const delim = attr ? '"' : "<";
562
+ const escDelim = attr ? "&quot;" : "&lt;";
563
+ let iDelim = s.indexOf(delim);
564
+ let iAmp = s.indexOf("&");
565
+ if (iDelim < 0 && iAmp < 0) return s;
566
+ let left = 0,
567
+ out = "";
568
+ while (iDelim >= 0 && iAmp >= 0) {
569
+ if (iDelim < iAmp) {
570
+ if (left < iDelim) out += s.substring(left, iDelim);
571
+ out += escDelim;
572
+ left = iDelim + 1;
573
+ iDelim = s.indexOf(delim, left);
574
+ } else {
575
+ if (left < iAmp) out += s.substring(left, iAmp);
576
+ out += "&amp;";
577
+ left = iAmp + 1;
578
+ iAmp = s.indexOf("&", left);
579
+ }
580
+ }
581
+ if (iDelim >= 0) {
582
+ do {
583
+ if (left < iDelim) out += s.substring(left, iDelim);
584
+ out += escDelim;
585
+ left = iDelim + 1;
586
+ iDelim = s.indexOf(delim, left);
587
+ } while (iDelim >= 0);
588
+ } else while (iAmp >= 0) {
589
+ if (left < iAmp) out += s.substring(left, iAmp);
590
+ out += "&amp;";
591
+ left = iAmp + 1;
592
+ iAmp = s.indexOf("&", left);
593
+ }
594
+ return left < s.length ? out + s.substring(left) : out;
595
+ }
596
+ function resolveSSRNode(node, top) {
597
+ const t = typeof node;
598
+ if (t === "string") return node;
599
+ if (node == null || t === "boolean") return "";
600
+ if (Array.isArray(node)) {
601
+ let prev = {};
602
+ let mapped = "";
603
+ for (let i = 0, len = node.length; i < len; i++) {
604
+ if (!top && typeof prev !== "object" && typeof node[i] !== "object") mapped += `<!--!$-->`;
605
+ mapped += resolveSSRNode(prev = node[i]);
606
+ }
607
+ return mapped;
608
+ }
609
+ if (t === "object") return node.t;
610
+ if (t === "function") return resolveSSRNode(node());
611
+ return String(node);
612
+ }
613
+ function getHydrationKey() {
614
+ const hydrate = solidJs.sharedConfig.context;
615
+ return hydrate && !hydrate.noHydrate && solidJs.sharedConfig.getNextContextId();
616
+ }
617
+ function useAssets(fn) {
618
+ solidJs.sharedConfig.context.assets.push(() => resolveSSRNode(escape(fn())));
619
+ }
620
+ function getAssets() {
621
+ const assets = solidJs.sharedConfig.context.assets;
622
+ let out = "";
623
+ for (let i = 0, len = assets.length; i < len; i++) out += assets[i]();
624
+ return out;
625
+ }
626
+ function generateHydrationScript({
627
+ eventNames = ["click", "input"],
628
+ nonce
629
+ } = {}) {
630
+ return `<script${nonce ? ` nonce="${nonce}"` : ""}>window._$HY||(e=>{let t=e=>e&&e.hasAttribute&&(e.hasAttribute("data-hk")?e:t(e.host&&e.host.nodeType?e.host:e.parentNode));["${eventNames.join('", "')}"].forEach((o=>document.addEventListener(o,(o=>{if(!e.events)return;let s=t(o.composedPath&&o.composedPath()[0]||o.target);s&&!e.completed.has(s)&&e.events.push([s,o])}))))})(_$HY={events:[],completed:new WeakSet,r:{},fe(){}});</script><!--xs-->`;
631
+ }
632
+ function Hydration(props) {
633
+ if (!solidJs.sharedConfig.context.noHydrate) return props.children;
634
+ const context = solidJs.sharedConfig.context;
635
+ solidJs.sharedConfig.context = {
636
+ ...context,
637
+ count: 0,
638
+ id: solidJs.sharedConfig.getNextContextId(),
639
+ noHydrate: false
640
+ };
641
+ const res = props.children;
642
+ solidJs.sharedConfig.context = context;
643
+ return res;
644
+ }
645
+ function NoHydration(props) {
646
+ if (solidJs.sharedConfig.context) solidJs.sharedConfig.context.noHydrate = true;
647
+ return props.children;
648
+ }
649
+ function queue(fn) {
650
+ return Promise.resolve().then(fn);
651
+ }
652
+ function allSettled(promises) {
653
+ let length = promises.length;
654
+ return Promise.allSettled(promises).then(() => {
655
+ if (promises.length !== length) return allSettled(promises);
656
+ return;
657
+ });
658
+ }
659
+ function injectAssets(assets, html) {
660
+ if (!assets || !assets.length) return html;
661
+ let out = "";
662
+ for (let i = 0, len = assets.length; i < len; i++) out += assets[i]();
663
+ const index = html.indexOf("</head>");
664
+ if (index === -1) return html;
665
+ return html.slice(0, index) + out + html.slice(index);
666
+ }
667
+ function injectScripts(html, scripts, nonce) {
668
+ const tag = `<script${nonce ? ` nonce="${nonce}"` : ""}>${scripts}</script>`;
669
+ const index = html.indexOf("<!--xs-->");
670
+ if (index > -1) {
671
+ return html.slice(0, index) + tag + html.slice(index);
672
+ }
673
+ return html + tag;
674
+ }
675
+ function waitForFragments(registry, key) {
676
+ for (const k of [...registry.keys()].reverse()) {
677
+ if (key.startsWith(k)) return true;
678
+ }
679
+ return false;
680
+ }
681
+ function replacePlaceholder(html, key, value) {
682
+ const marker = `<template id="pl-${key}">`;
683
+ const close = `<!--pl-${key}-->`;
684
+ const first = html.indexOf(marker);
685
+ if (first === -1) return html;
686
+ const last = html.indexOf(close, first + marker.length);
687
+ return html.slice(0, first) + value + html.slice(last + close.length);
688
+ }
689
+ const RequestContext = Symbol();
690
+ function getRequestEvent() {
691
+ return globalThis[RequestContext] ? globalThis[RequestContext].getStore() || solidJs.sharedConfig.context && solidJs.sharedConfig.context.event || console.log("RequestEvent is missing. This is most likely due to accessing `getRequestEvent` non-managed async scope in a partially polyfilled environment. Try moving it above all `await` calls.") : undefined;
692
+ }
693
+ function Assets(props) {
694
+ useAssets(() => props.children);
695
+ }
696
+ function pipeToNodeWritable(code, writable, options = {}) {
697
+ if (options.onReady) {
698
+ options.onCompleteShell = ({
699
+ write
700
+ }) => {
701
+ options.onReady({
702
+ write,
703
+ startWriting() {
704
+ stream.pipe(writable);
705
+ }
706
+ });
707
+ };
708
+ }
709
+ const stream = renderToStream(code, options);
710
+ if (!options.onReady) stream.pipe(writable);
711
+ }
712
+ function pipeToWritable(code, writable, options = {}) {
713
+ if (options.onReady) {
714
+ options.onCompleteShell = ({
715
+ write
716
+ }) => {
717
+ options.onReady({
718
+ write,
719
+ startWriting() {
720
+ stream.pipeTo(writable);
721
+ }
722
+ });
723
+ };
724
+ }
725
+ const stream = renderToStream(code, options);
726
+ if (!options.onReady) stream.pipeTo(writable);
727
+ }
728
+ function ssrSpread(props, isSVG, skipChildren) {
729
+ let result = "";
730
+ if (props == null) return result;
731
+ if (typeof props === "function") props = props();
732
+ const keys = Object.keys(props);
733
+ let classResolved;
734
+ for (let i = 0; i < keys.length; i++) {
735
+ let prop = keys[i];
736
+ if (prop === "children") {
737
+ !skipChildren && console.warn(`SSR currently does not support spread children.`);
738
+ continue;
739
+ }
740
+ const value = props[prop];
741
+ if (prop === "style") {
742
+ result += `style="${ssrStyle(value)}"`;
743
+ } else if (prop === "class" || prop === "className" || prop === "classList") {
744
+ if (classResolved) continue;
745
+ let n;
746
+ result += `class="${(n = props.class) ? n + " " : ""}${(n = props.className) ? n + " " : ""}${ssrClassList(props.classList)}"`;
747
+ classResolved = true;
748
+ } else if (prop !== "value" && Properties.has(prop)) {
749
+ if (value) result += prop;else continue;
750
+ } else if (value == undefined || prop === "ref" || prop.slice(0, 2) === "on" || prop.slice(0, 5) === "prop:") {
751
+ continue;
752
+ } else if (prop.slice(0, 5) === "bool:") {
753
+ if (!value) continue;
754
+ result += escape(prop.slice(5));
755
+ } else if (prop.slice(0, 5) === "attr:") {
756
+ result += `${escape(prop.slice(5))}="${escape(value, true)}"`;
757
+ } else {
758
+ result += `${Aliases[prop] || escape(prop)}="${escape(value, true)}"`;
759
+ }
760
+ if (i !== keys.length - 1) result += " ";
761
+ }
762
+ return result;
763
+ }
764
+ function notSup() {
765
+ throw new Error("Client-only API called on the server side. Run client-only code in onMount, or conditionally run client-only component with <Show>.");
766
+ }
767
+
768
+ const isServer = true;
769
+ const isDev = false;
770
+ function createDynamic(component, props) {
771
+ const comp = component(),
772
+ t = typeof comp;
773
+ if (comp) {
774
+ if (t === "function") return comp(props);else if (t === "string") {
775
+ return ssrElement(comp, props, undefined, true);
776
+ }
777
+ }
778
+ }
779
+ function Dynamic(props) {
780
+ const [, others] = solidJs.splitProps(props, ["component"]);
781
+ return createDynamic(() => props.component, others);
782
+ }
783
+ function Portal(props) {
784
+ return "";
785
+ }
786
+
787
+ Object.defineProperty(exports, "ErrorBoundary", {
788
+ enumerable: true,
789
+ get: function () { return solidJs.ErrorBoundary; }
790
+ });
791
+ Object.defineProperty(exports, "For", {
792
+ enumerable: true,
793
+ get: function () { return solidJs.For; }
794
+ });
795
+ Object.defineProperty(exports, "Index", {
796
+ enumerable: true,
797
+ get: function () { return solidJs.Index; }
798
+ });
799
+ Object.defineProperty(exports, "Match", {
800
+ enumerable: true,
801
+ get: function () { return solidJs.Match; }
802
+ });
803
+ Object.defineProperty(exports, "Show", {
804
+ enumerable: true,
805
+ get: function () { return solidJs.Show; }
806
+ });
807
+ Object.defineProperty(exports, "Suspense", {
808
+ enumerable: true,
809
+ get: function () { return solidJs.Suspense; }
810
+ });
811
+ Object.defineProperty(exports, "SuspenseList", {
812
+ enumerable: true,
813
+ get: function () { return solidJs.SuspenseList; }
814
+ });
815
+ Object.defineProperty(exports, "Switch", {
816
+ enumerable: true,
817
+ get: function () { return solidJs.Switch; }
818
+ });
819
+ Object.defineProperty(exports, "createComponent", {
820
+ enumerable: true,
821
+ get: function () { return solidJs.createComponent; }
822
+ });
823
+ Object.defineProperty(exports, "effect", {
824
+ enumerable: true,
825
+ get: function () { return solidJs.createRenderEffect; }
826
+ });
827
+ Object.defineProperty(exports, "getOwner", {
828
+ enumerable: true,
829
+ get: function () { return solidJs.getOwner; }
830
+ });
831
+ Object.defineProperty(exports, "mergeProps", {
832
+ enumerable: true,
833
+ get: function () { return solidJs.mergeProps; }
834
+ });
835
+ Object.defineProperty(exports, "untrack", {
836
+ enumerable: true,
837
+ get: function () { return solidJs.untrack; }
838
+ });
839
+ exports.Aliases = Aliases;
840
+ exports.Assets = Assets;
841
+ exports.ChildProperties = ChildProperties;
842
+ exports.DOMElements = DOMElements;
843
+ exports.DelegatedEvents = DelegatedEvents;
844
+ exports.Dynamic = Dynamic;
845
+ exports.Hydration = Hydration;
846
+ exports.HydrationScript = HydrationScript;
847
+ exports.NoHydration = NoHydration;
848
+ exports.Portal = Portal;
849
+ exports.Properties = Properties;
850
+ exports.RequestContext = RequestContext;
851
+ exports.SVGElements = SVGElements;
852
+ exports.SVGNamespace = SVGNamespace;
853
+ exports.addEventListener = notSup;
854
+ exports.assign = notSup;
855
+ exports.classList = notSup;
856
+ exports.className = notSup;
857
+ exports.clearDelegatedEvents = notSup;
858
+ exports.createDynamic = createDynamic;
859
+ exports.delegateEvents = notSup;
860
+ exports.dynamicProperty = notSup;
861
+ exports.escape = escape;
862
+ exports.generateHydrationScript = generateHydrationScript;
863
+ exports.getAssets = getAssets;
864
+ exports.getHydrationKey = getHydrationKey;
865
+ exports.getNextElement = notSup;
866
+ exports.getNextMarker = notSup;
867
+ exports.getNextMatch = notSup;
868
+ exports.getPropAlias = getPropAlias;
869
+ exports.getRequestEvent = getRequestEvent;
870
+ exports.hydrate = notSup;
871
+ exports.insert = notSup;
872
+ exports.isDev = isDev;
873
+ exports.isServer = isServer;
874
+ exports.memo = memo;
875
+ exports.pipeToNodeWritable = pipeToNodeWritable;
876
+ exports.pipeToWritable = pipeToWritable;
877
+ exports.render = notSup;
878
+ exports.renderToStream = renderToStream;
879
+ exports.renderToString = renderToString;
880
+ exports.renderToStringAsync = renderToStringAsync;
881
+ exports.resolveSSRNode = resolveSSRNode;
882
+ exports.runHydrationEvents = notSup;
883
+ exports.setAttribute = notSup;
884
+ exports.setAttributeNS = notSup;
885
+ exports.setBoolAttribute = notSup;
886
+ exports.setProperty = notSup;
887
+ exports.setStyleProperty = notSup;
888
+ exports.spread = notSup;
889
+ exports.ssr = ssr;
890
+ exports.ssrAttribute = ssrAttribute;
891
+ exports.ssrClassList = ssrClassList;
892
+ exports.ssrElement = ssrElement;
893
+ exports.ssrHydrationKey = ssrHydrationKey;
894
+ exports.ssrSpread = ssrSpread;
895
+ exports.ssrStyle = ssrStyle;
896
+ exports.ssrStyleProperty = ssrStyleProperty;
897
+ exports.style = notSup;
898
+ exports.template = notSup;
899
+ exports.use = notSup;
900
+ exports.useAssets = useAssets;