@iota-uz/sdk 0.45.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 (543) 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-bXr7ekeZ.js → CascadePanel-BlYJd18G.js} +1 -1
  5. package/dist/lens/{ChartDataEquivalent-ZsncHfTF.js → ChartDataEquivalent-B6xSOdzC.js} +1 -1
  6. package/dist/lens/{ChartPanel-Cku9c87t.js → ChartPanel-BIJjrs5D.js} +159 -159
  7. package/dist/lens/{CoveragePanel-DE3fi5c7.js → CoveragePanel-CHtXDMtt.js} +1 -1
  8. package/dist/lens/{GaugePanel-DwR4zylR.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-DJSiLZSz.js → MapPanel-Cw4ELCiM.js} +3 -3
  12. package/dist/lens/{MetricFlowPanel-Dsp_ntas.js → MetricFlowPanel-Gr5wi3nI.js} +2 -2
  13. package/dist/lens/{MetricHierarchyPanel-BYcy4FNw.js → MetricHierarchyPanel-VLA_5LXX.js} +2 -2
  14. package/dist/lens/{MetricRelationshipPanel-Gh5RKIu1.js → MetricRelationshipPanel-DFP566_c.js} +2 -2
  15. package/dist/lens/{PrintReport-RnKpLle9.js → PrintReport-C0OV1iHP.js} +5 -5
  16. package/dist/lens/{QualityChip-BxAn3wh6.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-CZZIKpwb.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 +14 -0
  23. package/dist/lens/contract/types.d.ts.map +1 -1
  24. package/dist/lens/{dashboardEdit-BLzL02OH.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/formula/FormulaTip.d.ts +5 -0
  37. package/dist/lens/formula/FormulaTip.d.ts.map +1 -1
  38. package/dist/lens/formula/FormulaView.d.ts.map +1 -1
  39. package/dist/lens/formula/PanelFormula.d.ts +2 -0
  40. package/dist/lens/formula/PanelFormula.d.ts.map +1 -1
  41. package/dist/lens/formula/element.d.ts.map +1 -1
  42. package/dist/lens/formula/values.d.ts +10 -1
  43. package/dist/lens/formula/values.d.ts.map +1 -1
  44. package/dist/lens/index-DR7Hf8Km.js +19805 -0
  45. package/dist/lens/{index-Dm3Y4NDq.js → index-DZFw4cqF.js} +1 -1
  46. package/dist/lens/index.d.ts +7 -1
  47. package/dist/lens/index.d.ts.map +1 -1
  48. package/dist/lens/index.js +67 -53
  49. package/dist/lens/{install-DCaRpfvv.js → install-B2lTK6uo.js} +1 -1
  50. package/dist/lens/{install-pvJpTP1f.js → install-BXr4Mnc0.js} +1 -1
  51. package/dist/lens/{install-C48hgC9S.js → install-CicNQ_ks.js} +1 -1
  52. package/dist/lens/{install-DB0eod1K.js → install-d8A0WPiw.js} +1 -1
  53. package/dist/lens/{keys-BAkGzg_y.js → keys-C-Akc9lZ.js} +2 -2
  54. package/dist/lens/panels/ChartPanel.d.ts.map +1 -1
  55. package/dist/lens/panels/TablePanel.d.ts.map +1 -1
  56. package/dist/lens/panels/actions.d.ts.map +1 -1
  57. package/dist/lens/panels/panelFailure.d.ts.map +1 -1
  58. package/dist/lens/{prefetch-j8VKR0tY.js → prefetch-C9kxuIs8.js} +2 -2
  59. package/dist/lens/{prefetchPanels-vwQqxrs4.js → prefetchPanels-gbY9RIqL.js} +1 -1
  60. package/dist/lens/{print-CuBcYmVF.js → print-CllsAP3d.js} +1 -1
  61. package/dist/lens/reports/ReportCompositionEditor.d.ts +8 -2
  62. package/dist/lens/reports/ReportCompositionEditor.d.ts.map +1 -1
  63. package/dist/lens/reports/ReportDefinitionEditor.d.ts +54 -0
  64. package/dist/lens/reports/ReportDefinitionEditor.d.ts.map +1 -0
  65. package/dist/lens/reports/ReportPicker.d.ts +6 -0
  66. package/dist/lens/reports/ReportPicker.d.ts.map +1 -1
  67. package/dist/lens/reports/dashboardEdit.d.ts +3 -0
  68. package/dist/lens/reports/dashboardEdit.d.ts.map +1 -1
  69. package/dist/lens/reports/editing.d.ts +35 -0
  70. package/dist/lens/reports/editing.d.ts.map +1 -1
  71. package/dist/lens/reports/picker.d.ts +4 -1
  72. package/dist/lens/reports/picker.d.ts.map +1 -1
  73. package/dist/lens/runtime/index.d.ts +0 -1
  74. package/dist/lens/runtime/index.d.ts.map +1 -1
  75. package/dist/lens/runtime/messages.d.ts +2 -2
  76. package/dist/lens/runtime/messages.d.ts.map +1 -1
  77. package/dist/lens/runtime/provider.d.ts +5 -1
  78. package/dist/lens/runtime/provider.d.ts.map +1 -1
  79. package/dist/lens/runtime/returnContext.d.ts +62 -0
  80. package/dist/lens/runtime/returnContext.d.ts.map +1 -0
  81. package/dist/lens/runtime/tableSummary.d.ts +9 -0
  82. package/dist/lens/runtime/tableSummary.d.ts.map +1 -0
  83. package/dist/lens/{scales-BSDq-uby.js → scales-CO6Q9RtG.js} +1 -1
  84. package/dist/lens/style.css +1 -1
  85. package/dist/runtime/README.md +24 -0
  86. package/dist/runtime/assert.d.ts +51 -0
  87. package/dist/runtime/assert.js +172 -0
  88. package/dist/runtime/build/README.txt +1 -0
  89. package/dist/runtime/build/extract.mjs +342 -0
  90. package/dist/runtime/build/shared-exports.json +388 -0
  91. package/dist/runtime/build/test-child.mjs +136 -0
  92. package/dist/runtime/build/theme/tailwind.config.js +121 -0
  93. package/dist/runtime/build/theme/theme.css +462 -0
  94. package/dist/runtime/build/theme/utilities.css +1 -0
  95. package/dist/runtime/build/vendor/lib/lib.d.ts +22 -0
  96. package/dist/runtime/build/vendor/lib/lib.decorators.d.ts +384 -0
  97. package/dist/runtime/build/vendor/lib/lib.decorators.legacy.d.ts +22 -0
  98. package/dist/runtime/build/vendor/lib/lib.dom.asynciterable.d.ts +41 -0
  99. package/dist/runtime/build/vendor/lib/lib.dom.d.ts +28983 -0
  100. package/dist/runtime/build/vendor/lib/lib.dom.iterable.d.ts +491 -0
  101. package/dist/runtime/build/vendor/lib/lib.es2015.collection.d.ts +147 -0
  102. package/dist/runtime/build/vendor/lib/lib.es2015.core.d.ts +597 -0
  103. package/dist/runtime/build/vendor/lib/lib.es2015.d.ts +28 -0
  104. package/dist/runtime/build/vendor/lib/lib.es2015.generator.d.ts +77 -0
  105. package/dist/runtime/build/vendor/lib/lib.es2015.iterable.d.ts +590 -0
  106. package/dist/runtime/build/vendor/lib/lib.es2015.promise.d.ts +81 -0
  107. package/dist/runtime/build/vendor/lib/lib.es2015.proxy.d.ts +128 -0
  108. package/dist/runtime/build/vendor/lib/lib.es2015.reflect.d.ts +144 -0
  109. package/dist/runtime/build/vendor/lib/lib.es2015.symbol.d.ts +46 -0
  110. package/dist/runtime/build/vendor/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  111. package/dist/runtime/build/vendor/lib/lib.es2016.array.include.d.ts +116 -0
  112. package/dist/runtime/build/vendor/lib/lib.es2016.d.ts +21 -0
  113. package/dist/runtime/build/vendor/lib/lib.es2016.full.d.ts +23 -0
  114. package/dist/runtime/build/vendor/lib/lib.es2016.intl.d.ts +31 -0
  115. package/dist/runtime/build/vendor/lib/lib.es2017.arraybuffer.d.ts +21 -0
  116. package/dist/runtime/build/vendor/lib/lib.es2017.d.ts +26 -0
  117. package/dist/runtime/build/vendor/lib/lib.es2017.date.d.ts +31 -0
  118. package/dist/runtime/build/vendor/lib/lib.es2017.full.d.ts +23 -0
  119. package/dist/runtime/build/vendor/lib/lib.es2017.intl.d.ts +44 -0
  120. package/dist/runtime/build/vendor/lib/lib.es2017.object.d.ts +49 -0
  121. package/dist/runtime/build/vendor/lib/lib.es2017.sharedmemory.d.ts +135 -0
  122. package/dist/runtime/build/vendor/lib/lib.es2017.string.d.ts +45 -0
  123. package/dist/runtime/build/vendor/lib/lib.es2017.typedarrays.d.ts +53 -0
  124. package/dist/runtime/build/vendor/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  125. package/dist/runtime/build/vendor/lib/lib.es2018.asynciterable.d.ts +53 -0
  126. package/dist/runtime/build/vendor/lib/lib.es2018.d.ts +24 -0
  127. package/dist/runtime/build/vendor/lib/lib.es2018.full.d.ts +24 -0
  128. package/dist/runtime/build/vendor/lib/lib.es2018.intl.d.ts +83 -0
  129. package/dist/runtime/build/vendor/lib/lib.es2018.promise.d.ts +30 -0
  130. package/dist/runtime/build/vendor/lib/lib.es2018.regexp.d.ts +37 -0
  131. package/dist/runtime/build/vendor/lib/lib.es2019.array.d.ts +79 -0
  132. package/dist/runtime/build/vendor/lib/lib.es2019.d.ts +24 -0
  133. package/dist/runtime/build/vendor/lib/lib.es2019.full.d.ts +24 -0
  134. package/dist/runtime/build/vendor/lib/lib.es2019.intl.d.ts +23 -0
  135. package/dist/runtime/build/vendor/lib/lib.es2019.object.d.ts +33 -0
  136. package/dist/runtime/build/vendor/lib/lib.es2019.string.d.ts +37 -0
  137. package/dist/runtime/build/vendor/lib/lib.es2019.symbol.d.ts +24 -0
  138. package/dist/runtime/build/vendor/lib/lib.es2020.bigint.d.ts +731 -0
  139. package/dist/runtime/build/vendor/lib/lib.es2020.d.ts +27 -0
  140. package/dist/runtime/build/vendor/lib/lib.es2020.date.d.ts +42 -0
  141. package/dist/runtime/build/vendor/lib/lib.es2020.full.d.ts +24 -0
  142. package/dist/runtime/build/vendor/lib/lib.es2020.intl.d.ts +474 -0
  143. package/dist/runtime/build/vendor/lib/lib.es2020.number.d.ts +28 -0
  144. package/dist/runtime/build/vendor/lib/lib.es2020.promise.d.ts +47 -0
  145. package/dist/runtime/build/vendor/lib/lib.es2020.sharedmemory.d.ts +99 -0
  146. package/dist/runtime/build/vendor/lib/lib.es2020.string.d.ts +44 -0
  147. package/dist/runtime/build/vendor/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  148. package/dist/runtime/build/vendor/lib/lib.es2021.d.ts +23 -0
  149. package/dist/runtime/build/vendor/lib/lib.es2021.full.d.ts +24 -0
  150. package/dist/runtime/build/vendor/lib/lib.es2021.intl.d.ts +166 -0
  151. package/dist/runtime/build/vendor/lib/lib.es2021.promise.d.ts +48 -0
  152. package/dist/runtime/build/vendor/lib/lib.es2021.string.d.ts +33 -0
  153. package/dist/runtime/build/vendor/lib/lib.es2021.weakref.d.ts +78 -0
  154. package/dist/runtime/build/vendor/lib/lib.es2022.array.d.ts +121 -0
  155. package/dist/runtime/build/vendor/lib/lib.es2022.d.ts +25 -0
  156. package/dist/runtime/build/vendor/lib/lib.es2022.error.d.ts +75 -0
  157. package/dist/runtime/build/vendor/lib/lib.es2022.full.d.ts +24 -0
  158. package/dist/runtime/build/vendor/lib/lib.es2022.intl.d.ts +121 -0
  159. package/dist/runtime/build/vendor/lib/lib.es2022.object.d.ts +26 -0
  160. package/dist/runtime/build/vendor/lib/lib.es2022.regexp.d.ts +39 -0
  161. package/dist/runtime/build/vendor/lib/lib.es2022.string.d.ts +25 -0
  162. package/dist/runtime/build/vendor/lib/lib.es2023.array.d.ts +924 -0
  163. package/dist/runtime/build/vendor/lib/lib.es2023.collection.d.ts +21 -0
  164. package/dist/runtime/build/vendor/lib/lib.es2023.d.ts +22 -0
  165. package/dist/runtime/build/vendor/lib/lib.es2023.full.d.ts +24 -0
  166. package/dist/runtime/build/vendor/lib/lib.es2023.intl.d.ts +56 -0
  167. package/dist/runtime/build/vendor/lib/lib.es2024.arraybuffer.d.ts +65 -0
  168. package/dist/runtime/build/vendor/lib/lib.es2024.collection.d.ts +29 -0
  169. package/dist/runtime/build/vendor/lib/lib.es2024.d.ts +26 -0
  170. package/dist/runtime/build/vendor/lib/lib.es2024.full.d.ts +24 -0
  171. package/dist/runtime/build/vendor/lib/lib.es2024.object.d.ts +29 -0
  172. package/dist/runtime/build/vendor/lib/lib.es2024.promise.d.ts +35 -0
  173. package/dist/runtime/build/vendor/lib/lib.es2024.regexp.d.ts +25 -0
  174. package/dist/runtime/build/vendor/lib/lib.es2024.sharedmemory.d.ts +68 -0
  175. package/dist/runtime/build/vendor/lib/lib.es2024.string.d.ts +29 -0
  176. package/dist/runtime/build/vendor/lib/lib.es5.d.ts +4585 -0
  177. package/dist/runtime/build/vendor/lib/lib.es6.d.ts +23 -0
  178. package/dist/runtime/build/vendor/lib/lib.esnext.array.d.ts +35 -0
  179. package/dist/runtime/build/vendor/lib/lib.esnext.collection.d.ts +96 -0
  180. package/dist/runtime/build/vendor/lib/lib.esnext.d.ts +25 -0
  181. package/dist/runtime/build/vendor/lib/lib.esnext.decorators.d.ts +28 -0
  182. package/dist/runtime/build/vendor/lib/lib.esnext.disposable.d.ts +193 -0
  183. package/dist/runtime/build/vendor/lib/lib.esnext.full.d.ts +24 -0
  184. package/dist/runtime/build/vendor/lib/lib.esnext.intl.d.ts +21 -0
  185. package/dist/runtime/build/vendor/lib/lib.esnext.iterator.d.ts +148 -0
  186. package/dist/runtime/build/vendor/node-types/assert/strict.d.ts +111 -0
  187. package/dist/runtime/build/vendor/node-types/assert.d.ts +1115 -0
  188. package/dist/runtime/build/vendor/node-types/async_hooks.d.ts +619 -0
  189. package/dist/runtime/build/vendor/node-types/buffer.buffer.d.ts +477 -0
  190. package/dist/runtime/build/vendor/node-types/buffer.d.ts +1941 -0
  191. package/dist/runtime/build/vendor/node-types/child_process.d.ts +1480 -0
  192. package/dist/runtime/build/vendor/node-types/cluster.d.ts +578 -0
  193. package/dist/runtime/build/vendor/node-types/compatibility/iterators.d.ts +21 -0
  194. package/dist/runtime/build/vendor/node-types/console.d.ts +453 -0
  195. package/dist/runtime/build/vendor/node-types/constants.d.ts +21 -0
  196. package/dist/runtime/build/vendor/node-types/crypto.d.ts +5484 -0
  197. package/dist/runtime/build/vendor/node-types/dgram.d.ts +715 -0
  198. package/dist/runtime/build/vendor/node-types/diagnostics_channel.d.ts +576 -0
  199. package/dist/runtime/build/vendor/node-types/dns/promises.d.ts +503 -0
  200. package/dist/runtime/build/vendor/node-types/dns.d.ts +923 -0
  201. package/dist/runtime/build/vendor/node-types/domain.d.ts +166 -0
  202. package/dist/runtime/build/vendor/node-types/events.d.ts +967 -0
  203. package/dist/runtime/build/vendor/node-types/fs/promises.d.ts +1354 -0
  204. package/dist/runtime/build/vendor/node-types/fs.d.ts +4777 -0
  205. package/dist/runtime/build/vendor/node-types/globals.d.ts +170 -0
  206. package/dist/runtime/build/vendor/node-types/globals.typedarray.d.ts +41 -0
  207. package/dist/runtime/build/vendor/node-types/http.d.ts +2246 -0
  208. package/dist/runtime/build/vendor/node-types/http2.d.ts +2882 -0
  209. package/dist/runtime/build/vendor/node-types/https.d.ts +585 -0
  210. package/dist/runtime/build/vendor/node-types/index.d.ts +101 -0
  211. package/dist/runtime/build/vendor/node-types/inspector.d.ts +323 -0
  212. package/dist/runtime/build/vendor/node-types/inspector.generated.d.ts +4406 -0
  213. package/dist/runtime/build/vendor/node-types/module.d.ts +844 -0
  214. package/dist/runtime/build/vendor/node-types/net.d.ts +1197 -0
  215. package/dist/runtime/build/vendor/node-types/os.d.ts +507 -0
  216. package/dist/runtime/build/vendor/node-types/package.json +140 -0
  217. package/dist/runtime/build/vendor/node-types/path.d.ts +200 -0
  218. package/dist/runtime/build/vendor/node-types/perf_hooks.d.ts +1054 -0
  219. package/dist/runtime/build/vendor/node-types/process.d.ts +2101 -0
  220. package/dist/runtime/build/vendor/node-types/punycode.d.ts +117 -0
  221. package/dist/runtime/build/vendor/node-types/querystring.d.ts +152 -0
  222. package/dist/runtime/build/vendor/node-types/readline/promises.d.ts +161 -0
  223. package/dist/runtime/build/vendor/node-types/readline.d.ts +600 -0
  224. package/dist/runtime/build/vendor/node-types/repl.d.ts +438 -0
  225. package/dist/runtime/build/vendor/node-types/sea.d.ts +162 -0
  226. package/dist/runtime/build/vendor/node-types/sqlite.d.ts +1182 -0
  227. package/dist/runtime/build/vendor/node-types/stream/consumers.d.ts +45 -0
  228. package/dist/runtime/build/vendor/node-types/stream/promises.d.ts +90 -0
  229. package/dist/runtime/build/vendor/node-types/stream/web.d.ts +596 -0
  230. package/dist/runtime/build/vendor/node-types/stream.d.ts +1707 -0
  231. package/dist/runtime/build/vendor/node-types/string_decoder.d.ts +67 -0
  232. package/dist/runtime/build/vendor/node-types/test.d.ts +2656 -0
  233. package/dist/runtime/build/vendor/node-types/timers/promises.d.ts +108 -0
  234. package/dist/runtime/build/vendor/node-types/timers.d.ts +285 -0
  235. package/dist/runtime/build/vendor/node-types/tls.d.ts +1314 -0
  236. package/dist/runtime/build/vendor/node-types/trace_events.d.ts +197 -0
  237. package/dist/runtime/build/vendor/node-types/ts5.6/buffer.buffer.d.ts +473 -0
  238. package/dist/runtime/build/vendor/node-types/ts5.6/compatibility/float16array.d.ts +71 -0
  239. package/dist/runtime/build/vendor/node-types/ts5.6/globals.typedarray.d.ts +36 -0
  240. package/dist/runtime/build/vendor/node-types/ts5.6/index.d.ts +103 -0
  241. package/dist/runtime/build/vendor/node-types/ts5.7/compatibility/float16array.d.ts +72 -0
  242. package/dist/runtime/build/vendor/node-types/ts5.7/index.d.ts +103 -0
  243. package/dist/runtime/build/vendor/node-types/tty.d.ts +209 -0
  244. package/dist/runtime/build/vendor/node-types/url.d.ts +1103 -0
  245. package/dist/runtime/build/vendor/node-types/util.d.ts +2379 -0
  246. package/dist/runtime/build/vendor/node-types/v8.d.ts +1010 -0
  247. package/dist/runtime/build/vendor/node-types/vm.d.ts +1160 -0
  248. package/dist/runtime/build/vendor/node-types/wasi.d.ts +202 -0
  249. package/dist/runtime/build/vendor/node-types/web-globals/abortcontroller.d.ts +34 -0
  250. package/dist/runtime/build/vendor/node-types/web-globals/crypto.d.ts +32 -0
  251. package/dist/runtime/build/vendor/node-types/web-globals/domexception.d.ts +68 -0
  252. package/dist/runtime/build/vendor/node-types/web-globals/events.d.ts +97 -0
  253. package/dist/runtime/build/vendor/node-types/web-globals/fetch.d.ts +62 -0
  254. package/dist/runtime/build/vendor/node-types/web-globals/navigator.d.ts +25 -0
  255. package/dist/runtime/build/vendor/node-types/web-globals/storage.d.ts +24 -0
  256. package/dist/runtime/build/vendor/node-types/web-globals/streams.d.ts +22 -0
  257. package/dist/runtime/build/vendor/node-types/worker_threads.d.ts +894 -0
  258. package/dist/runtime/build/vendor/node-types/zlib.d.ts +768 -0
  259. package/dist/runtime/build/vendor/node_modules/csstype/LICENSE +19 -0
  260. package/dist/runtime/build/vendor/node_modules/csstype/index.d.ts +22569 -0
  261. package/dist/runtime/build/vendor/node_modules/csstype/index.js.flow +6863 -0
  262. package/dist/runtime/build/vendor/node_modules/csstype/package.json +70 -0
  263. package/dist/runtime/build/vendor/node_modules/seroval/LICENSE +7 -0
  264. package/dist/runtime/build/vendor/node_modules/seroval/dist/cjs/development/index.cjs +4232 -0
  265. package/dist/runtime/build/vendor/node_modules/seroval/dist/cjs/production/index.cjs +3 -0
  266. package/dist/runtime/build/vendor/node_modules/seroval/dist/esm/development/index.mjs +4209 -0
  267. package/dist/runtime/build/vendor/node_modules/seroval/dist/esm/production/index.mjs +3 -0
  268. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/Serializer.d.ts +28 -0
  269. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/base-primitives.d.ts +28 -0
  270. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/compat.d.ts +15 -0
  271. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/constants.d.ts +105 -0
  272. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/constructors.d.ts +50 -0
  273. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/async-parser.d.ts +20 -0
  274. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/deserializer.d.ts +52 -0
  275. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/parser.d.ts +62 -0
  276. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/serializer.d.ts +103 -0
  277. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/context/sync-parser.d.ts +61 -0
  278. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/cross/index.d.ts +24 -0
  279. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/errors.d.ts +47 -0
  280. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/function-string.d.ts +3 -0
  281. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/keys.d.ts +4 -0
  282. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/literals.d.ts +10 -0
  283. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/node.d.ts +8 -0
  284. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/opaque-reference.d.ts +9 -0
  285. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/plugin.d.ts +52 -0
  286. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/reference.d.ts +6 -0
  287. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/sequence.d.ts +11 -0
  288. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/special-reference.d.ts +16 -0
  289. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/stream.d.ts +17 -0
  290. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/string.d.ts +4 -0
  291. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/symbols.d.ts +14 -0
  292. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/tree/index.d.ts +21 -0
  293. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/types.d.ts +233 -0
  294. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/error.d.ts +6 -0
  295. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/get-identifier.d.ts +2 -0
  296. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/get-object-flag.d.ts +3 -0
  297. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/is-valid-identifier.d.ts +2 -0
  298. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/promise-to-result.d.ts +2 -0
  299. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/typed-array.d.ts +6 -0
  300. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/core/utils/valid-properties.d.ts +3 -0
  301. package/dist/runtime/build/vendor/node_modules/seroval/dist/types/index.d.ts +18 -0
  302. package/dist/runtime/build/vendor/node_modules/seroval/package.json +67 -0
  303. package/dist/runtime/build/vendor/node_modules/seroval/src/core/Serializer.ts +119 -0
  304. package/dist/runtime/build/vendor/node_modules/seroval/src/core/base-primitives.ts +537 -0
  305. package/dist/runtime/build/vendor/node_modules/seroval/src/core/compat.ts +23 -0
  306. package/dist/runtime/build/vendor/node_modules/seroval/src/core/constants.ts +202 -0
  307. package/dist/runtime/build/vendor/node_modules/seroval/src/core/constructors.ts +265 -0
  308. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/async-parser.ts +666 -0
  309. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/deserializer.ts +832 -0
  310. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/parser.ts +335 -0
  311. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/serializer.ts +1524 -0
  312. package/dist/runtime/build/vendor/node_modules/seroval/src/core/context/sync-parser.ts +943 -0
  313. package/dist/runtime/build/vendor/node_modules/seroval/src/core/cross/index.ts +190 -0
  314. package/dist/runtime/build/vendor/node_modules/seroval/src/core/errors.ts +196 -0
  315. package/dist/runtime/build/vendor/node_modules/seroval/src/core/function-string.ts +31 -0
  316. package/dist/runtime/build/vendor/node_modules/seroval/src/core/keys.ts +17 -0
  317. package/dist/runtime/build/vendor/node_modules/seroval/src/core/literals.ts +43 -0
  318. package/dist/runtime/build/vendor/node_modules/seroval/src/core/node.ts +40 -0
  319. package/dist/runtime/build/vendor/node_modules/seroval/src/core/opaque-reference.ts +9 -0
  320. package/dist/runtime/build/vendor/node_modules/seroval/src/core/plugin.ts +105 -0
  321. package/dist/runtime/build/vendor/node_modules/seroval/src/core/reference.ts +66 -0
  322. package/dist/runtime/build/vendor/node_modules/seroval/src/core/sequence.ts +59 -0
  323. package/dist/runtime/build/vendor/node_modules/seroval/src/core/special-reference.ts +42 -0
  324. package/dist/runtime/build/vendor/node_modules/seroval/src/core/stream.ts +71 -0
  325. package/dist/runtime/build/vendor/node_modules/seroval/src/core/string.ts +86 -0
  326. package/dist/runtime/build/vendor/node_modules/seroval/src/core/symbols.ts +20 -0
  327. package/dist/runtime/build/vendor/node_modules/seroval/src/core/tree/index.ts +134 -0
  328. package/dist/runtime/build/vendor/node_modules/seroval/src/core/types.ts +377 -0
  329. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/error.ts +73 -0
  330. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/get-identifier.ts +18 -0
  331. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/get-object-flag.ts +14 -0
  332. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/is-valid-identifier.ts +12 -0
  333. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/promise-to-result.ts +9 -0
  334. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/typed-array.ts +56 -0
  335. package/dist/runtime/build/vendor/node_modules/seroval/src/core/utils/valid-properties.ts +34 -0
  336. package/dist/runtime/build/vendor/node_modules/seroval/src/index.ts +36 -0
  337. package/dist/runtime/build/vendor/node_modules/seroval-plugins/LICENSE +7 -0
  338. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/cjs/development/web.cjs +826 -0
  339. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/cjs/production/web.cjs +1 -0
  340. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/esm/development/web.mjs +803 -0
  341. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/esm/production/web.mjs +1 -0
  342. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/abort-signal.d.ts +3 -0
  343. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/blob.d.ts +3 -0
  344. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/custom-event.d.ts +3 -0
  345. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/dom-exception.d.ts +3 -0
  346. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/event.d.ts +3 -0
  347. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/file.d.ts +3 -0
  348. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/form-data.d.ts +3 -0
  349. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/headers.d.ts +3 -0
  350. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/image-data.d.ts +3 -0
  351. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/index.d.ts +15 -0
  352. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/readable-stream.d.ts +3 -0
  353. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/request.d.ts +3 -0
  354. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/response.d.ts +3 -0
  355. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/url-search-params.d.ts +3 -0
  356. package/dist/runtime/build/vendor/node_modules/seroval-plugins/dist/types/web/url.d.ts +3 -0
  357. package/dist/runtime/build/vendor/node_modules/seroval-plugins/package.json +70 -0
  358. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/abort-signal.ts +131 -0
  359. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/blob.ts +41 -0
  360. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/custom-event.ts +66 -0
  361. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/dom-exception.ts +57 -0
  362. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/event.ts +62 -0
  363. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/file.ts +50 -0
  364. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/form-data.ts +105 -0
  365. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/headers.ts +49 -0
  366. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/image-data.ts +74 -0
  367. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/index.ts +14 -0
  368. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/readable-stream.ts +148 -0
  369. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/request.ts +82 -0
  370. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/response.ts +65 -0
  371. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/url-search-params.ts +40 -0
  372. package/dist/runtime/build/vendor/node_modules/seroval-plugins/web/url.ts +37 -0
  373. package/dist/runtime/build/vendor/node_modules/solid-js/dist/server.cjs +824 -0
  374. package/dist/runtime/build/vendor/node_modules/solid-js/dist/server.js +770 -0
  375. package/dist/runtime/build/vendor/node_modules/solid-js/dist/solid.cjs +1808 -0
  376. package/dist/runtime/build/vendor/node_modules/solid-js/dist/solid.js +1753 -0
  377. package/dist/runtime/build/vendor/node_modules/solid-js/jsx-runtime.d.ts +1 -0
  378. package/dist/runtime/build/vendor/node_modules/solid-js/package.json +243 -0
  379. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/server.cjs +133 -0
  380. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/server.js +121 -0
  381. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/store.cjs +463 -0
  382. package/dist/runtime/build/vendor/node_modules/solid-js/store/dist/store.js +454 -0
  383. package/dist/runtime/build/vendor/node_modules/solid-js/store/package.json +46 -0
  384. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/index.d.ts +12 -0
  385. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/modifiers.d.ts +6 -0
  386. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/mutable.d.ts +5 -0
  387. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/server.d.ts +17 -0
  388. package/dist/runtime/build/vendor/node_modules/solid-js/store/types/store.d.ts +108 -0
  389. package/dist/runtime/build/vendor/node_modules/solid-js/types/index.d.ts +23 -0
  390. package/dist/runtime/build/vendor/node_modules/solid-js/types/jsx.d.ts +4253 -0
  391. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/array.d.ts +44 -0
  392. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/observable.d.ts +36 -0
  393. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/scheduler.d.ts +10 -0
  394. package/dist/runtime/build/vendor/node_modules/solid-js/types/reactive/signal.d.ts +581 -0
  395. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/Suspense.d.ts +26 -0
  396. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/component.d.ts +111 -0
  397. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/flow.d.ts +118 -0
  398. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/hydration.d.ts +24 -0
  399. package/dist/runtime/build/vendor/node_modules/solid-js/types/render/index.d.ts +4 -0
  400. package/dist/runtime/build/vendor/node_modules/solid-js/types/server/index.d.ts +3 -0
  401. package/dist/runtime/build/vendor/node_modules/solid-js/types/server/reactive.d.ts +98 -0
  402. package/dist/runtime/build/vendor/node_modules/solid-js/types/server/rendering.d.ts +160 -0
  403. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/server.cjs +900 -0
  404. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/server.js +786 -0
  405. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/web.cjs +884 -0
  406. package/dist/runtime/build/vendor/node_modules/solid-js/web/dist/web.js +772 -0
  407. package/dist/runtime/build/vendor/node_modules/solid-js/web/package.json +46 -0
  408. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/dist/storage.cjs +12 -0
  409. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/dist/storage.js +10 -0
  410. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/package.json +15 -0
  411. package/dist/runtime/build/vendor/node_modules/solid-js/web/storage/types/index.d.ts +2 -0
  412. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/client.d.ts +93 -0
  413. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/core.d.ts +2 -0
  414. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/index.d.ts +50 -0
  415. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/jsx.d.ts +1 -0
  416. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/server-mock.d.ts +65 -0
  417. package/dist/runtime/build/vendor/node_modules/solid-js/web/types/server.d.ts +187 -0
  418. package/dist/runtime/build/worker.mjs +293415 -0
  419. package/dist/runtime/catalog/sdk-natives.json +655 -0
  420. package/dist/runtime/cli/iota-ext.mjs +1028 -0
  421. package/dist/runtime/client-host/entry.d.ts +10 -0
  422. package/dist/runtime/client-host/entry.js +124 -0
  423. package/dist/runtime/client-host/hooks.d.ts +43 -0
  424. package/dist/runtime/client-host/hooks.js +94 -0
  425. package/dist/runtime/client-host/index.d.ts +9 -0
  426. package/dist/runtime/client-host/index.js +9 -0
  427. package/dist/runtime/client-host/islands.d.ts +44 -0
  428. package/dist/runtime/client-host/islands.js +165 -0
  429. package/dist/runtime/client-host/kit.d.ts +10 -0
  430. package/dist/runtime/client-host/kit.js +37 -0
  431. package/dist/runtime/client-host/page.d.ts +53 -0
  432. package/dist/runtime/client-host/page.js +217 -0
  433. package/dist/runtime/client-host/params.d.ts +8 -0
  434. package/dist/runtime/client-host/params.js +36 -0
  435. package/dist/runtime/client-host/protocol.d.ts +78 -0
  436. package/dist/runtime/client-host/protocol.js +26 -0
  437. package/dist/runtime/client-host/shared.d.ts +12 -0
  438. package/dist/runtime/client-host/shared.js +49 -0
  439. package/dist/runtime/client-host/shell.d.ts +88 -0
  440. package/dist/runtime/client-host/shell.js +195 -0
  441. package/dist/runtime/client-host/slots.d.ts +54 -0
  442. package/dist/runtime/client-host/slots.js +90 -0
  443. package/dist/runtime/client-host/styles.d.ts +7 -0
  444. package/dist/runtime/client-host/styles.js +61 -0
  445. package/dist/runtime/client-host/transport.d.ts +45 -0
  446. package/dist/runtime/client-host/transport.js +115 -0
  447. package/dist/runtime/client.d.ts +226 -0
  448. package/dist/runtime/client.js +121 -0
  449. package/dist/runtime/contracts.d.ts +204 -0
  450. package/dist/runtime/contracts.js +195 -0
  451. package/dist/runtime/docs/authoring.md +1609 -0
  452. package/dist/runtime/docs/example/docs/en/admin/limits.md +10 -0
  453. package/dist/runtime/docs/example/docs/en/getting-started.md +13 -0
  454. package/dist/runtime/docs/example/docs/en/points.md +9 -0
  455. package/dist/runtime/docs/example/docs/ru/getting-started.md +12 -0
  456. package/dist/runtime/docs/example/package.json +27 -0
  457. package/dist/runtime/docs/example/src/ClientScreen.tsx +10 -0
  458. package/dist/runtime/docs/example/src/RedemptionScreen.tsx +7 -0
  459. package/dist/runtime/docs/example/src/RewardsScreen.module.css +13 -0
  460. package/dist/runtime/docs/example/src/RewardsScreen.tsx +51 -0
  461. package/dist/runtime/docs/example/src/client.tsx +40 -0
  462. package/dist/runtime/docs/example/src/contracts.ts +132 -0
  463. package/dist/runtime/docs/example/src/css-modules.d.ts +5 -0
  464. package/dist/runtime/docs/example/src/server.test.ts +156 -0
  465. package/dist/runtime/docs/example/src/server.ts +188 -0
  466. package/dist/runtime/docs/example/tsconfig.json +16 -0
  467. package/dist/runtime/entity.d.ts +237 -0
  468. package/dist/runtime/entity.js +201 -0
  469. package/dist/runtime/fakes.d.ts +80 -0
  470. package/dist/runtime/fakes.js +88 -0
  471. package/dist/runtime/fixtures.d.ts +34 -0
  472. package/dist/runtime/fixtures.js +60 -0
  473. package/dist/runtime/help.d.ts +22 -0
  474. package/dist/runtime/help.js +51 -0
  475. package/dist/runtime/host/context.mjs +392 -0
  476. package/dist/runtime/host/errors.mjs +64 -0
  477. package/dist/runtime/host/loader.mjs +28 -0
  478. package/dist/runtime/host/protocol.mjs +4 -0
  479. package/dist/runtime/host/register.mjs +8 -0
  480. package/dist/runtime/host/sdk/assert.mjs +153 -0
  481. package/dist/runtime/host/sdk/client-host/hooks.mjs +86 -0
  482. package/dist/runtime/host/sdk/client-host/protocol.mjs +30 -0
  483. package/dist/runtime/host/sdk/client-host/slots.mjs +82 -0
  484. package/dist/runtime/host/sdk/client-host/styles.mjs +45 -0
  485. package/dist/runtime/host/sdk/client-host/transport.mjs +102 -0
  486. package/dist/runtime/host/sdk/client.mjs +115 -0
  487. package/dist/runtime/host/sdk/contracts.mjs +185 -0
  488. package/dist/runtime/host/sdk/entity.mjs +183 -0
  489. package/dist/runtime/host/sdk/fakes.mjs +88 -0
  490. package/dist/runtime/host/sdk/fixtures.mjs +56 -0
  491. package/dist/runtime/host/sdk/help.mjs +37 -0
  492. package/dist/runtime/host/sdk/index.mjs +83 -0
  493. package/dist/runtime/host/sdk/kit.mjs +11 -0
  494. package/dist/runtime/host/sdk/manifest.mjs +276 -0
  495. package/dist/runtime/host/sdk/model.mjs +4 -0
  496. package/dist/runtime/host/sdk/resource.mjs +34 -0
  497. package/dist/runtime/host/sdk/schema.mjs +75 -0
  498. package/dist/runtime/host/sdk/server.mjs +43 -0
  499. package/dist/runtime/host/sdk/testhost.mjs +992 -0
  500. package/dist/runtime/host/sdk/testing.mjs +21 -0
  501. package/dist/runtime/host/sdk/wire.mjs +207 -0
  502. package/dist/runtime/host/worker.mjs +252 -0
  503. package/dist/runtime/index.d.ts +10 -0
  504. package/dist/runtime/index.js +5 -0
  505. package/dist/runtime/kit.d.ts +5 -0
  506. package/dist/runtime/kit.js +14 -0
  507. package/dist/runtime/manifest.d.ts +17 -0
  508. package/dist/runtime/manifest.js +323 -0
  509. package/dist/runtime/model.d.ts +224 -0
  510. package/dist/runtime/model.js +3 -0
  511. package/dist/runtime/resource.d.ts +31 -0
  512. package/dist/runtime/resource.js +35 -0
  513. package/dist/runtime/schema.d.ts +97 -0
  514. package/dist/runtime/schema.js +73 -0
  515. package/dist/runtime/server.d.ts +445 -0
  516. package/dist/runtime/server.js +41 -0
  517. package/dist/runtime/testhost.d.ts +216 -0
  518. package/dist/runtime/testhost.js +1146 -0
  519. package/dist/runtime/testing.d.ts +10 -0
  520. package/dist/runtime/testing.js +7 -0
  521. package/dist/runtime/wire.d.ts +26 -0
  522. package/dist/runtime/wire.js +236 -0
  523. package/dist/sdk-identity.cjs +3 -3
  524. package/dist/sdk-identity.js +3 -3
  525. package/dist/sdk-identity.json +2 -2
  526. package/dist/solid-ui/embedded-css.d.ts +2 -0
  527. package/dist/solid-ui/embedded-css.js +1 -0
  528. package/dist/solid-ui/embedded.css +2 -0
  529. package/dist/testing/components.d.ts +73 -0
  530. package/dist/testing/components.js +96 -0
  531. package/dist/testing/htmx.d.ts +44 -0
  532. package/dist/testing/htmx.js +284 -0
  533. package/dist/testing/index.d.ts +4 -41
  534. package/dist/testing/index.js +3 -206
  535. package/dist/testing/scenarios.d.ts +83 -0
  536. package/dist/testing/scenarios.js +74 -0
  537. package/dist/testing/wait.d.ts +7 -0
  538. package/dist/testing/wait.js +19 -0
  539. package/package.json +33 -2
  540. package/dist/lens/TablePanel-DU_ydQ1x.js +0 -980
  541. package/dist/lens/index-BJIuggdQ.js +0 -18403
  542. package/dist/lens/runtime/recovery.d.ts +0 -26
  543. package/dist/lens/runtime/recovery.d.ts.map +0 -1
@@ -1,14 +1,14 @@
1
1
  import { insert as i, memo as q, effect as Y, setAttribute as E, createComponent as K, className as Ye, template as F, addEventListener as $t, style as ct, use as xt, setStyleProperty as _t, delegateEvents as It } from "solid-js/web";
2
2
  import { createSignal as le, createMemo as R, onCleanup as Be, untrack as ze, createEffect as xe, For as Ge, Show as ne } from "solid-js";
3
3
  import { r as Ct } from "./adapter-CgoRd_uP.js";
4
- import { C as Lt, f as Ft } from "./keys-BAkGzg_y.js";
5
- import { s as kt, o as De, c as At, a as Kt, b as Tt, d as Rt, f as Et } from "./scales-BSDq-uby.js";
6
- import { U as Ht, u as ke, x as dt, V as Bt, W as nt, X as ot, l as Mt, Y as Ot, Z as Ut, _ as Vt, $ as Nt, a as Pt, a0 as zt, a1 as Dt, a2 as rt, C as ut, D as gt, B as mt, a3 as qt, a4 as Wt, E as Zt, a5 as jt, a6 as Qt, a7 as Yt, a8 as Gt, a9 as D, aa as at, ab as Xt, ac as qe, ad as Jt, ae as en, af as tn, ag as nn, ah as on } from "./index-BJIuggdQ.js";
7
- import { C as rn, c as an } from "./ChartDataEquivalent-ZsncHfTF.js";
4
+ import { C as Lt, f as Ft } from "./keys-C-Akc9lZ.js";
5
+ import { s as kt, o as De, c as At, a as Kt, b as Tt, d as Rt, f as Et } from "./scales-CO6Q9RtG.js";
6
+ import { U as Ht, u as ke, x as dt, V as Bt, W as nt, X as ot, l as Mt, Y as Ot, Z as Ut, _ as Vt, $ as Nt, a as Pt, a0 as zt, a1 as Dt, a2 as rt, C as ut, D as gt, B as mt, a3 as qt, a4 as Wt, E as Zt, a5 as jt, a6 as Qt, a7 as Yt, a8 as Gt, a9 as D, aa as at, ab as Xt, ac as qe, ad as Jt, ae as en, af as tn, ag as nn, ah as on } from "./index-DR7Hf8Km.js";
7
+ import { C as rn, c as an } from "./ChartDataEquivalent-B6xSOdzC.js";
8
8
  var ln = /* @__PURE__ */ F("<div class=lens-temporal-controls>"), sn = /* @__PURE__ */ F("<button class=lens-temporal-toggle type=button>"), cn = /* @__PURE__ */ F("<select class=lens-temporal-select><option value>"), dn = /* @__PURE__ */ F("<option>"), un = /* @__PURE__ */ F("<span class=lens-chart-source-note role=note>"), gn = /* @__PURE__ */ F("<span class=lens-chart-log-scale role=note><span>"), mn = /* @__PURE__ */ F("<span class=lens-chart-period-note role=note>"), hn = /* @__PURE__ */ F("<button class=lens-chart-collapse-other type=button>"), fn = /* @__PURE__ */ F("<button class=lens-chart-reset-zoom type=button>"), vn = /* @__PURE__ */ F("<div class=lens-chart-notes><span class=lens-chart-notes-actions>"), wn = /* @__PURE__ */ F("<div><div class=lens-chart-area>"), pn = /* @__PURE__ */ F("<div class=lens-chart-empty role=status><span class=lens-chart-empty-note></span><button class=lens-chart-empty-action type=button>"), yn = /* @__PURE__ */ F("<span class=lens-chart-compact-empty>"), bn = /* @__PURE__ */ F("<strong class=lens-chart-compact-value>"), Sn = /* @__PURE__ */ F("<span class=lens-chart-compact-label>"), $n = /* @__PURE__ */ F('<button class="lens-chart-compact lens-chart-compact-action"type=button>'), xn = /* @__PURE__ */ F("<div class=lens-chart-compact role=img>"), _n = /* @__PURE__ */ F("<span class=lens-plot-total><span class=lens-panel-total-label>:</span> "), In = /* @__PURE__ */ F('<div class=lens-chart-legend-shell><div class=lens-chart-legend-scroll-frame><ul class=lens-chart-legend role=region></ul><span aria-hidden=true class="lens-chart-legend-edge lens-chart-legend-edge-top"></span><span aria-hidden=true class="lens-chart-legend-edge lens-chart-legend-edge-bottom">'), Cn = /* @__PURE__ */ F("<div class=lens-chart-legend-controls><div class=lens-chart-legend-tools role=group>"), Qe = /* @__PURE__ */ F("<button type=button>"), Ln = /* @__PURE__ */ F("<button class=lens-chart-legend-invert type=button>"), Fn = /* @__PURE__ */ F("<label class=lens-chart-legend-search><span class=lens:sr-only></span><input class=lens-facet-search type=search>"), kn = /* @__PURE__ */ F("<li class=lens-chart-legend-item><button type=button><span aria-hidden=true class=lens-chart-legend-mark></span><span class=lens-chart-legend-label></span><span aria-hidden=true class=lens-chart-legend-visibility>"), An = /* @__PURE__ */ F("<li class=lens-chart-legend-heading>"), ht = /* @__PURE__ */ F("<span class=lens-chart-legend-value>"), Kn = /* @__PURE__ */ F("<button class=lens-chart-legend-overflow type=button>"), Tn = /* @__PURE__ */ F('<ul class="lens-chart-legend lens-chart-overlay-legend"><li class=lens-chart-legend-heading>'), Rn = /* @__PURE__ */ F("<li class=lens-chart-legend-item><button type=button><span aria-hidden=true class=lens-chart-overlay-mark></span><span class=lens-chart-legend-label>"), En = /* @__PURE__ */ F("<span aria-hidden=true class=lens-chart-legend-separator>·");
9
9
  const Hn = 0.02, Bn = on, Mn = 4;
10
- function On(e) {
11
- const t = D(), o = D(e.encoding.label ? e.format[e.encoding.label] : void 0), a = D(e.encoding.value ? e.format[e.encoding.value] : void 0), m = D(e.encoding.previous ? e.format[e.encoding.previous] : void 0), l = D(e.encoding.lower ? e.format[e.encoding.lower] : void 0), _ = D(e.encoding.q1 ? e.format[e.encoding.q1] : void 0), I = D(e.encoding.median ? e.format[e.encoding.median] : void 0), b = D(e.encoding.q3 ? e.format[e.encoding.q3] : void 0), $ = D(e.encoding.upper ? e.format[e.encoding.upper] : void 0), S = D(e.encoding.id ? e.format[e.encoding.id] : void 0), H = D(e.encoding.series ? e.format[e.encoding.series] : void 0), v = D(e.encoding.category ? e.format[e.encoding.category] : void 0), g = D(e.encoding.cut ? e.format[e.encoding.cut] : void 0), M = D(e.encoding.cutLabel ? e.format[e.encoding.cutLabel] : void 0), W = D(e.encoding.final ? e.format[e.encoding.final] : void 0), oe = at(e.encoding.value ? e.format[e.encoding.value] : void 0), Q = at(e.encoding.median ? e.format[e.encoding.median] : void 0), w = R(() => {
10
+ function On(t) {
11
+ const e = D(), o = D(t.encoding.label ? t.format[t.encoding.label] : void 0), a = D(t.encoding.value ? t.format[t.encoding.value] : void 0), m = D(t.encoding.previous ? t.format[t.encoding.previous] : void 0), l = D(t.encoding.lower ? t.format[t.encoding.lower] : void 0), _ = D(t.encoding.q1 ? t.format[t.encoding.q1] : void 0), I = D(t.encoding.median ? t.format[t.encoding.median] : void 0), b = D(t.encoding.q3 ? t.format[t.encoding.q3] : void 0), $ = D(t.encoding.upper ? t.format[t.encoding.upper] : void 0), S = D(t.encoding.id ? t.format[t.encoding.id] : void 0), H = D(t.encoding.series ? t.format[t.encoding.series] : void 0), v = D(t.encoding.category ? t.format[t.encoding.category] : void 0), g = D(t.encoding.cut ? t.format[t.encoding.cut] : void 0), M = D(t.encoding.cutLabel ? t.format[t.encoding.cutLabel] : void 0), W = D(t.encoding.final ? t.format[t.encoding.final] : void 0), oe = at(t.encoding.value ? t.format[t.encoding.value] : void 0), Q = at(t.encoding.median ? t.format[t.encoding.median] : void 0), w = R(() => {
12
12
  const se = {
13
13
  label: o,
14
14
  value: a,
@@ -26,12 +26,12 @@ function On(e) {
26
26
  final: W
27
27
  }, ge = /* @__PURE__ */ new Map();
28
28
  for (const X of Xt) {
29
- const re = e.encoding[X], J = se[X];
29
+ const re = t.encoding[X], J = se[X];
30
30
  re && J && ge.set(re, J);
31
31
  }
32
- return (X, re) => (ge.get(X) ?? t)(re);
32
+ return (X, re) => (ge.get(X) ?? e)(re);
33
33
  }), Z = R(() => {
34
- const se = e.encoding.value, ge = e.encoding.median;
34
+ const se = t.encoding.value, ge = t.encoding.median;
35
35
  return (X, re) => se && X === se ? oe(re) : ge && X === ge ? Q(re) : w()(X, re);
36
36
  });
37
37
  return {
@@ -39,123 +39,123 @@ function On(e) {
39
39
  formatAxis: Z()
40
40
  };
41
41
  }
42
- function We(e, t, o) {
42
+ function We(t, e, o) {
43
43
  var I, b;
44
- const a = t.encoding.id ? e.columns.findIndex(($) => $.name === t.encoding.id) : -1, m = [t.encoding.category, t.encoding.label].find(($) => !!$ && e.columns.some((S) => S.name === $)), l = e.columns.findIndex(($) => $.name === m), _ = a >= 0 ? (I = e.rows[o]) == null ? void 0 : I[a] : (b = e.rows[o]) == null ? void 0 : b[l];
44
+ const a = e.encoding.id ? t.columns.findIndex(($) => $.name === e.encoding.id) : -1, m = [e.encoding.category, e.encoding.label].find(($) => !!$ && t.columns.some((S) => S.name === $)), l = t.columns.findIndex(($) => $.name === m), _ = a >= 0 ? (I = t.rows[o]) == null ? void 0 : I[a] : (b = t.rows[o]) == null ? void 0 : b[l];
45
45
  return String(typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ? _ : o);
46
46
  }
47
- function lt(e, t, o) {
47
+ function lt(t, e, o) {
48
48
  var I;
49
- if (((I = t.radial) == null ? void 0 : I.mode) === "partition" && t.encoding.series) {
50
- const b = e.columns.findIndex(($) => $.name === t.encoding.series);
49
+ if (((I = e.radial) == null ? void 0 : I.mode) === "partition" && e.encoding.series) {
50
+ const b = t.columns.findIndex(($) => $.name === e.encoding.series);
51
51
  if (b >= 0) {
52
- const $ = e.rows.findIndex((S, H) => {
52
+ const $ = t.rows.findIndex((S, H) => {
53
53
  const v = S[b], g = typeof v == "string" || typeof v == "number" || typeof v == "bigint" ? String(v) : "";
54
- return Ct(g, We(e, t, H)) === o;
54
+ return Ct(g, We(t, e, H)) === o;
55
55
  });
56
56
  if ($ >= 0) return $;
57
57
  }
58
58
  }
59
- const a = e.rows.findIndex((b, $) => We(e, t, $) === o);
59
+ const a = t.rows.findIndex((b, $) => We(t, e, $) === o);
60
60
  if (a >= 0) return a;
61
- const m = t.encoding.category ?? t.encoding.label, l = e.columns.findIndex((b) => b.name === m), _ = e.columns.findIndex((b) => b.name === t.encoding.series);
62
- return l < 0 ? -1 : e.rows.findIndex((b) => Ft(Fe(b[l]), _ >= 0 ? Fe(b[_]) : "") === o);
61
+ const m = e.encoding.category ?? e.encoding.label, l = t.columns.findIndex((b) => b.name === m), _ = t.columns.findIndex((b) => b.name === e.encoding.series);
62
+ return l < 0 ? -1 : t.rows.findIndex((b) => Ft(Fe(b[l]), _ >= 0 ? Fe(b[_]) : "") === o);
63
63
  }
64
- function ft(e, t) {
65
- return t.semantics !== "series" || !t.encoding.series ? -1 : e.columns.findIndex((o) => o.name === t.encoding.series);
64
+ function ft(t, e) {
65
+ return e.semantics !== "series" || !e.encoding.series ? -1 : t.columns.findIndex((o) => o.name === e.encoding.series);
66
66
  }
67
- function Un(e, t, o) {
67
+ function Un(t, e, o) {
68
68
  var l;
69
- const a = ft(e, t);
70
- if (a < 0) return We(e, t, o);
71
- const m = (l = e.rows[o]) == null ? void 0 : l[a];
69
+ const a = ft(t, e);
70
+ if (a < 0) return We(t, e, o);
71
+ const m = (l = t.rows[o]) == null ? void 0 : l[a];
72
72
  return String(typeof m == "string" || typeof m == "number" || typeof m == "bigint" ? m : o);
73
73
  }
74
- function ve(e) {
75
- if (typeof e == "number" && Number.isFinite(e)) return e;
76
- if (typeof e == "string" && e.trim() !== "") {
77
- const t = Number(e);
78
- if (Number.isFinite(t)) return t;
74
+ function ve(t) {
75
+ if (typeof t == "number" && Number.isFinite(t)) return t;
76
+ if (typeof t == "string" && t.trim() !== "") {
77
+ const e = Number(t);
78
+ if (Number.isFinite(e)) return e;
79
79
  }
80
80
  }
81
- function Fe(e) {
82
- return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "bigint" ? String(e) : "";
81
+ function Fe(t) {
82
+ return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "bigint" ? String(t) : "";
83
83
  }
84
- function Vn(e, t) {
85
- const m = (t.kind === "pie" || t.kind === "donut" || t.kind === "radial" ? [t.encoding.label, t.encoding.category] : [t.encoding.category, t.encoding.label]).reduce((l, _) => l >= 0 || !_ ? l : e.columns.findIndex((I) => I.name === _), -1);
86
- return m < 0 ? 0 : new Set(e.rows.map((l) => l[m]).filter((l) => l != null).map(String)).size;
84
+ function Vn(t, e) {
85
+ const m = (e.kind === "pie" || e.kind === "donut" || e.kind === "radial" ? [e.encoding.label, e.encoding.category] : [e.encoding.category, e.encoding.label]).reduce((l, _) => l >= 0 || !_ ? l : t.columns.findIndex((I) => I.name === _), -1);
86
+ return m < 0 ? 0 : new Set(t.rows.map((l) => l[m]).filter((l) => l != null).map(String)).size;
87
87
  }
88
- function Nn(e, t) {
89
- const o = e.columns.findIndex((a) => a.name === t.encoding.series);
90
- return o < 0 ? 1 : new Set(e.rows.map((a) => a[o]).filter((a) => a != null).map(String)).size;
88
+ function Nn(t, e) {
89
+ const o = t.columns.findIndex((a) => a.name === e.encoding.series);
90
+ return o < 0 ? 1 : new Set(t.rows.map((a) => a[o]).filter((a) => a != null).map(String)).size;
91
91
  }
92
92
  const vt = "__lens_other__", Pn = "__lens_topn_group";
93
- function st(e, t) {
93
+ function st(t, e) {
94
94
  var S, H;
95
- const o = e.columns.findIndex((v) => v.name === Pn), a = e.columns.findIndex((v) => v.name === (t.encoding.label ?? t.encoding.category)), m = e.columns.findIndex((v) => v.name === t.encoding.id), l = e.columns.findIndex((v) => v.name === t.encoding.value);
95
+ const o = t.columns.findIndex((v) => v.name === Pn), a = t.columns.findIndex((v) => v.name === (e.encoding.label ?? e.encoding.category)), m = t.columns.findIndex((v) => v.name === e.encoding.id), l = t.columns.findIndex((v) => v.name === e.encoding.value);
96
96
  if (o < 0 || a < 0 || l < 0) return {
97
- frame: e,
97
+ frame: t,
98
98
  collapsed: !1
99
99
  };
100
- const _ = e.rows.filter((v) => typeof v[o] == "string" && String(v[o]).trim() !== "");
100
+ const _ = t.rows.filter((v) => typeof v[o] == "string" && String(v[o]).trim() !== "");
101
101
  if (_.length === 0) return {
102
- frame: e,
102
+ frame: t,
103
103
  collapsed: !1
104
104
  };
105
- const I = e.rows.filter((v) => !_.includes(v)).map((v) => [...v]), b = new Array(e.columns.length).fill(null);
105
+ const I = t.rows.filter((v) => !_.includes(v)).map((v) => [...v]), b = new Array(t.columns.length).fill(null);
106
106
  b[o] = (S = _[0]) == null ? void 0 : S[o], b[a] = (H = _[0]) == null ? void 0 : H[o], m >= 0 && (b[m] = vt), b[l] = _.reduce((v, g) => v + (ve(g[l]) ?? 0), 0), I.push(b);
107
- const $ = e.colors ? [...e.colors.filter((v, g) => !_.includes(e.rows[g])), qe()] : [...I.slice(0, -1).map(() => ""), qe()];
107
+ const $ = t.colors ? [...t.colors.filter((v, g) => !_.includes(t.rows[g])), qe()] : [...I.slice(0, -1).map(() => ""), qe()];
108
108
  return {
109
109
  frame: {
110
- ...e,
110
+ ...t,
111
111
  rows: I,
112
112
  colors: $
113
113
  },
114
114
  collapsed: !0
115
115
  };
116
116
  }
117
- function it(e, t, o) {
118
- if (t.kind !== "donut" || e.rows.length < 2) return {
119
- frame: e,
117
+ function it(t, e, o) {
118
+ if (e.kind !== "donut" || t.rows.length < 2) return {
119
+ frame: t,
120
120
  collapsed: !1
121
121
  };
122
- const a = e.columns.findIndex((g) => g.name === (t.encoding.label ?? t.encoding.category)), m = e.columns.findIndex((g) => g.name === t.encoding.id), l = e.columns.findIndex((g) => g.name === t.encoding.value);
122
+ const a = t.columns.findIndex((g) => g.name === (e.encoding.label ?? e.encoding.category)), m = t.columns.findIndex((g) => g.name === e.encoding.id), l = t.columns.findIndex((g) => g.name === e.encoding.value);
123
123
  if (a < 0 || l < 0) return {
124
- frame: e,
124
+ frame: t,
125
125
  collapsed: !1
126
126
  };
127
- const _ = e.total ?? e.rows.reduce((g, M) => g + (ve(M[l]) ?? 0), 0);
127
+ const _ = t.total ?? t.rows.reduce((g, M) => g + (ve(M[l]) ?? 0), 0);
128
128
  if (!Number.isFinite(_) || _ <= 0) return {
129
- frame: e,
129
+ frame: t,
130
130
  collapsed: !1
131
131
  };
132
- const I = e.rows.map((g, M) => ({
132
+ const I = t.rows.map((g, M) => ({
133
133
  index: M,
134
134
  value: ve(g[l]) ?? 0
135
135
  })).filter(({
136
136
  value: g
137
137
  }) => g / _ < Hn);
138
138
  if (I.length === 0) return {
139
- frame: e,
139
+ frame: t,
140
140
  collapsed: !1
141
141
  };
142
142
  const b = new Set(I.map(({
143
143
  index: g
144
- }) => g)), $ = e.rows.filter((g, M) => !b.has(M)).map((g) => [...g]), S = new Array(e.columns.length).fill(null);
144
+ }) => g)), $ = t.rows.filter((g, M) => !b.has(M)).map((g) => [...g]), S = new Array(t.columns.length).fill(null);
145
145
  S[a] = o, m >= 0 && (S[m] = vt), S[l] = I.reduce((g, M) => g + M.value, 0), $.push(S);
146
- const H = e.rows.map((g, M) => M).filter((g) => !b.has(g)), v = e.colors ? [...e.colors.filter((g, M) => !b.has(M)), qe()] : [...H.map(() => ""), qe()];
146
+ const H = t.rows.map((g, M) => M).filter((g) => !b.has(g)), v = t.colors ? [...t.colors.filter((g, M) => !b.has(M)), qe()] : [...H.map(() => ""), qe()];
147
147
  return {
148
148
  frame: {
149
- ...e,
149
+ ...t,
150
150
  rows: $,
151
151
  colors: v
152
152
  },
153
153
  collapsed: !0
154
154
  };
155
155
  }
156
- function to(e) {
156
+ function to(t) {
157
157
  var tt;
158
- const t = e.panel, o = Ht(t.id), a = ke(), {
158
+ const e = t.panel, o = Ht(e.id), a = ke(), {
159
159
  document: m,
160
160
  navigation: l
161
161
  } = dt(), {
@@ -163,15 +163,15 @@ function to(e) {
163
163
  } = Bt(), {
164
164
  format: I,
165
165
  formatAxis: b
166
- } = On(t), [$, S] = le(), [H, v] = le(!1), [g, M] = le(0), W = typeof window > "u" ? {
166
+ } = On(e), [$, S] = le(), [H, v] = le(!1), [g, M] = le(0), W = typeof window > "u" ? {
167
167
  regression: !1
168
- } : nt(new URL(window.location.href), t.id), [oe, Q] = le(W.regression), [w, Z] = le(W.movingAverage), [se, ge] = le(/* @__PURE__ */ new Set()), [X, re] = le(typeof window > "u" ? /* @__PURE__ */ new Set() : ot(new URL(window.location.href), t.id)), J = R(() => X()), _e = () => l.panelId === t.id && l.path.length > 0, ee = R(() => _e() ? Mt(m, l.path) : t.drillRoot ? m.drill.edges[t.drillRoot] : void 0), Ie = () => ee() ? ee().children.some(({
168
+ } : nt(new URL(window.location.href), e.id), [oe, Q] = le(W.regression), [w, Z] = le(W.movingAverage), [se, ge] = le(/* @__PURE__ */ new Set()), [X, re] = le(typeof window > "u" ? /* @__PURE__ */ new Set() : ot(new URL(window.location.href), e.id)), J = R(() => X()), _e = () => l.panelId === e.id && l.path.length > 0, ee = R(() => _e() ? Mt(m, l.path) : e.drillRoot ? m.drill.edges[e.drillRoot] : void 0), Ie = () => ee() ? ee().children.some(({
169
169
  target: n
170
- }) => n) : !!t.drillRoot, G = () => !!t.drillRoot || !!ee(), x = Ot(t);
170
+ }) => n) : !!e.drillRoot, G = () => !!e.drillRoot || !!ee(), x = Ot(e);
171
171
  let ie;
172
172
  const Me = (n) => {
173
173
  if (ze(G) || !x.action || !o.data) return;
174
- const r = lt(o.data, t, n);
174
+ const r = lt(o.data, e, n);
175
175
  return x.urlForRow(o.data, r >= 0 ? o.data.rows[r] : void 0);
176
176
  }, Ae = (n) => {
177
177
  ie == null || ie(), ie = void 0, !(n === null || ze(G)) && (ie = x.prefetch(Me(n)));
@@ -207,9 +207,9 @@ function to(e) {
207
207
  fields: Pt(n, n.rows[r]),
208
208
  variables: {}
209
209
  }), d = Fe(s);
210
- if (d !== "" && we().has(d)) return We(n, t, r);
210
+ if (d !== "" && we().has(d)) return We(n, e, r);
211
211
  }
212
- }), ae = t.kind, Te = () => o.data ? Vn(o.data, t) <= 1 && Nn(o.data, t) <= 1 : !1, Ue = () => `${l.panelId === t.id ? l.path.join("|") : ""}:${l.perspectiveId ?? ""}`;
212
+ }), ae = e.kind, Te = () => o.data ? Vn(o.data, e) <= 1 && Nn(o.data, e) <= 1 : !1, Ue = () => `${l.panelId === e.id ? l.path.join("|") : ""}:${l.perspectiveId ?? ""}`;
213
213
  let Re;
214
214
  xe(() => {
215
215
  const n = Ue();
@@ -218,22 +218,22 @@ function to(e) {
218
218
  const c = (n) => re(new Set(n));
219
219
  xe(() => {
220
220
  if (typeof window > "u") return;
221
- const n = () => c(ot(new URL(window.location.href), t.id));
221
+ const n = () => c(ot(new URL(window.location.href), e.id));
222
222
  window.addEventListener("popstate", n), Be(() => window.removeEventListener("popstate", n));
223
223
  }), xe(() => {
224
224
  if (typeof window > "u") return;
225
- const n = new URL(window.location.href), r = zt(n, t.id, J());
225
+ const n = new URL(window.location.href), r = zt(n, e.id, J());
226
226
  r.search !== n.search && window.history.replaceState(window.history.state, "", r);
227
227
  }), xe(() => {
228
228
  if (typeof window > "u") return;
229
229
  const n = () => {
230
- const r = nt(new URL(window.location.href), t.id);
230
+ const r = nt(new URL(window.location.href), e.id);
231
231
  Q(r.regression), Z(r.movingAverage);
232
232
  };
233
233
  window.addEventListener("popstate", n), Be(() => window.removeEventListener("popstate", n));
234
234
  }), xe(() => {
235
235
  if (typeof window > "u") return;
236
- const n = new URL(window.location.href), r = Dt(n, t.id, {
236
+ const n = new URL(window.location.href), r = Dt(n, e.id, {
237
237
  regression: oe(),
238
238
  movingAverage: w()
239
239
  });
@@ -242,7 +242,7 @@ function to(e) {
242
242
  const C = R(() => {
243
243
  var z, te;
244
244
  if (!o.data || J().size === 0) return o.data;
245
- const n = o.data.rows.map((ue, $e) => !J().has(Un(o.data, t, $e))), r = o.data.rows.filter((ue, $e) => n[$e]), s = (z = o.data.colors) == null ? void 0 : z.filter((ue, $e) => n[$e]), d = o.data.columns.findIndex((ue) => ue.name === t.encoding.value), u = ((te = t.radial) == null ? void 0 : te.mode) === "partition" || d < 0 ? o.data.total : r.reduce((ue, $e) => ue + (ve($e[d]) ?? 0), 0);
245
+ const n = o.data.rows.map((ue, $e) => !J().has(Un(o.data, e, $e))), r = o.data.rows.filter((ue, $e) => n[$e]), s = (z = o.data.colors) == null ? void 0 : z.filter((ue, $e) => n[$e]), d = o.data.columns.findIndex((ue) => ue.name === e.encoding.value), u = ((te = e.radial) == null ? void 0 : te.mode) === "partition" || d < 0 ? o.data.total : r.reduce((ue, $e) => ue + (ve($e[d]) ?? 0), 0);
246
246
  return {
247
247
  ...o.data,
248
248
  rows: r,
@@ -257,28 +257,28 @@ function to(e) {
257
257
  frame: n,
258
258
  collapsed: !1
259
259
  };
260
- const r = st(n, t);
261
- return r.collapsed ? r : it(n, t, a("chart.other", "Other"));
260
+ const r = st(n, e);
261
+ return r.collapsed ? r : it(n, e, a("chart.other", "Other"));
262
262
  }), h = () => {
263
263
  const n = y();
264
- return n.collapsed && n.frame ? an(n.frame, t, n.frame.rows.length - 1) : void 0;
264
+ return n.collapsed && n.frame ? an(n.frame, e, n.frame.rows.length - 1) : void 0;
265
265
  }, L = R(() => H() || !y().collapsed ? C() : y().frame), B = R(() => {
266
266
  var n;
267
- return L() ? kt(L(), t.encoding, t.valueAxis, (n = t.presentation) == null ? void 0 : n.valueSpreadThreshold) : !1;
267
+ return L() ? kt(L(), e.encoding, e.valueAxis, (n = e.presentation) == null ? void 0 : n.valueSpreadThreshold) : !1;
268
268
  }), O = R(() => {
269
269
  if (!o.data || H()) return o.data;
270
- const n = st(o.data, t);
271
- return n.collapsed ? n.frame : it(o.data, t, a("chart.other", "Other")).frame;
270
+ const n = st(o.data, e);
271
+ return n.collapsed ? n.frame : it(o.data, e, a("chart.other", "Other")).frame;
272
272
  }), f = R(() => {
273
273
  var r, s;
274
- if (!o.data || J().size === 0 || !t.encoding.value || ((r = t.radial) == null ? void 0 : r.mode) === "partition") return;
275
- const n = o.data.columns.findIndex((d) => d.name === t.encoding.value);
274
+ if (!o.data || J().size === 0 || !e.encoding.value || ((r = e.radial) == null ? void 0 : r.mode) === "partition") return;
275
+ const n = o.data.columns.findIndex((d) => d.name === e.encoding.value);
276
276
  if (!(n < 0))
277
277
  return (((s = C()) == null ? void 0 : s.rows) ?? []).reduce((d, u) => d + (ve(u[n]) ?? 0), 0);
278
278
  }), T = R(() => {
279
279
  var r;
280
- if (!o.data || !t.encoding.value || ((r = t.radial) == null ? void 0 : r.mode) === "partition") return;
281
- const n = o.data.columns.findIndex((s) => s.name === t.encoding.value);
280
+ if (!o.data || !e.encoding.value || ((r = e.radial) == null ? void 0 : r.mode) === "partition") return;
281
+ const n = o.data.columns.findIndex((s) => s.name === e.encoding.value);
282
282
  if (!(n < 0))
283
283
  return o.data.rows.reduce((s, d) => s + (ve(d[n]) ?? 0), 0);
284
284
  }), U = () => {
@@ -286,10 +286,10 @@ function to(e) {
286
286
  return J().size > 0 && (((n = C()) == null ? void 0 : n.rows.length) ?? 0) === 0;
287
287
  }, N = () => {
288
288
  var n, r;
289
- return ((r = ((n = o.data) == null ? void 0 : n.presentation) ?? t.presentation) == null ? void 0 : r.keepTotalBadge) === !0;
290
- }, ce = () => o.data && (o.data.rows.length > 0 || N()) ? o.data.total ?? (N() || _e() || t.kind === "pie" || t.kind === "donut" || t.kind === "radial" ? T() : void 0) ?? t.total : void 0, me = R(() => ce() === void 0 || U() && !N() ? null : J().size > 0 ? f() ?? null : ce()), de = () => {
289
+ return ((r = ((n = o.data) == null ? void 0 : n.presentation) ?? e.presentation) == null ? void 0 : r.keepTotalBadge) === !0;
290
+ }, ce = () => o.data && (o.data.rows.length > 0 || N()) ? o.data.total ?? (!e.ratio && (N() || _e() || e.kind === "pie" || e.kind === "donut" || e.kind === "radial") ? T() : void 0) ?? e.total : void 0, me = R(() => ce() === void 0 || U() && !N() ? null : J().size > 0 ? f() ?? null : ce()), de = () => {
291
291
  var n;
292
- return ((n = o.data) == null ? void 0 : n.presentation) ?? t.presentation;
292
+ return ((n = o.data) == null ? void 0 : n.presentation) ?? e.presentation;
293
293
  }, p = () => {
294
294
  var n;
295
295
  return (n = L()) == null ? void 0 : n.colors;
@@ -302,7 +302,7 @@ function to(e) {
302
302
  var r;
303
303
  return !!((r = rt(ee(), n)) != null && r.target);
304
304
  };
305
- }), P = R(() => ut(o.data, t)), V = R(() => gt(m.theme, t, o.data, !_e())), Se = R(() => mt(m.theme, t, {
305
+ }), P = R(() => ut(o.data, e)), V = R(() => gt(m.theme, e, o.data, !_e())), Se = R(() => mt(m.theme, e, {
306
306
  colors: p(),
307
307
  positional: !_e(),
308
308
  labels: P()
@@ -312,7 +312,7 @@ function to(e) {
312
312
  oe() || n.add(De.trend);
313
313
  for (const {
314
314
  window: s
315
- } of ((r = t.temporal) == null ? void 0 : r.movingAverages) ?? [])
315
+ } of ((r = e.temporal) == null ? void 0 : r.movingAverages) ?? [])
316
316
  s !== w() && n.add(De.average(s));
317
317
  return n;
318
318
  }), Ve = (n) => {
@@ -321,7 +321,7 @@ function to(e) {
321
321
  Q((u) => !u);
322
322
  return;
323
323
  }
324
- const r = (d = (s = t.temporal) == null ? void 0 : s.movingAverages) == null ? void 0 : d.find(({
324
+ const r = (d = (s = e.temporal) == null ? void 0 : s.movingAverages) == null ? void 0 : d.find(({
325
325
  window: u
326
326
  }) => De.average(u) === n);
327
327
  if (r) {
@@ -332,10 +332,10 @@ function to(e) {
332
332
  const z = new Set(u);
333
333
  return z.has(n) ? z.delete(n) : z.add(n), z;
334
334
  });
335
- }, j = (ae === "line" || ae === "area") && t.temporal && (t.temporal.regression || (tt = t.temporal.movingAverages) != null && tt.length) ? (() => {
335
+ }, j = (ae === "line" || ae === "area") && e.temporal && (e.temporal.regression || (tt = e.temporal.movingAverages) != null && tt.length) ? (() => {
336
336
  var n = ln();
337
337
  return i(n, (() => {
338
- var r = q(() => !!t.temporal.regression);
338
+ var r = q(() => !!e.temporal.regression);
339
339
  return () => r() && (() => {
340
340
  var s = sn();
341
341
  return s.$$click = () => Q((d) => !d), i(s, () => a("chart.regression", "Trend")), Y(() => E(s, "aria-pressed", oe())), s;
@@ -343,13 +343,13 @@ function to(e) {
343
343
  })(), null), i(n, (() => {
344
344
  var r = q(() => {
345
345
  var s;
346
- return !!((s = t.temporal.movingAverages) != null && s.length);
346
+ return !!((s = e.temporal.movingAverages) != null && s.length);
347
347
  });
348
348
  return () => r() && (() => {
349
349
  var s = cn(), d = s.firstChild;
350
350
  return s.addEventListener("change", (u) => Z(u.target.value ? Number(u.target.value) : void 0)), i(d, () => a("chart.movingAverage", "Moving average")), i(s, K(Ge, {
351
351
  get each() {
352
- return t.temporal.movingAverages;
352
+ return e.temporal.movingAverages;
353
353
  },
354
354
  children: ({
355
355
  window: u,
@@ -386,21 +386,21 @@ function to(e) {
386
386
  return L() ? {
387
387
  kind: ae,
388
388
  frame: L(),
389
- encoding: t.encoding,
389
+ encoding: e.encoding,
390
390
  format: I,
391
391
  formatAxis: b,
392
- formatTooltip: (s, d, u) => jt(d, u, t.format[s], m.meta.locale),
392
+ formatTooltip: (s, d, u) => jt(d, u, e.format[s], m.meta.locale),
393
393
  // The plot abbreviates because a label has to fit beside a mark; the
394
394
  // tooltip is where a reader who stopped to point gets the whole number, and
395
395
  // the clipboard gets the machine value behind it.
396
396
  formatExact: (s, d) => {
397
397
  var u;
398
- return Zt(d, t.format[s], ((u = m.meta) == null ? void 0 : u.locale) ?? "en");
398
+ return Zt(d, e.format[s], ((u = m.meta) == null ? void 0 : u.locale) ?? "en");
399
399
  },
400
- rawValue: (s, d) => Wt(d, t.format[s]),
401
- categoryFormatDefined: !!(t.encoding.category && t.format[t.encoding.category]),
400
+ rawValue: (s, d) => Wt(d, e.format[s]),
401
+ categoryFormatDefined: !!(e.encoding.category && e.format[e.encoding.category]),
402
402
  locale: (n = m.meta) == null ? void 0 : n.locale,
403
- shareDecimalSeparator: t.encoding.value ? (r = t.format[t.encoding.value]) == null ? void 0 : r.decimalSeparator : void 0,
403
+ shareDecimalSeparator: e.encoding.value ? (r = e.format[e.encoding.value]) == null ? void 0 : r.decimalSeparator : void 0,
404
404
  tooltipTotalLabel: a("panel.total", "Total"),
405
405
  labels: pe(),
406
406
  theme: m.theme,
@@ -411,36 +411,36 @@ function to(e) {
411
411
  presentation: de(),
412
412
  seriesColor: V(),
413
413
  rowColor: Se(),
414
- radial: t.radial,
415
- temporal: t.temporal,
414
+ radial: e.radial,
415
+ temporal: e.temporal,
416
416
  hiddenOverlays: Ee(),
417
- valueAxis: t.valueAxis,
418
- valueUnit: qt(t.encoding.value ? t.format[t.encoding.value] : void 0),
417
+ valueAxis: e.valueAxis,
418
+ valueUnit: qt(e.encoding.value ? e.format[e.encoding.value] : void 0),
419
419
  expandable: A()
420
420
  } : void 0;
421
421
  }), he = R(() => {
422
422
  var r, s;
423
- if (!t.temporal && !t.encoding.previous) return [];
424
- const n = t.encoding.category ?? t.encoding.label;
423
+ if (!e.temporal && !e.encoding.previous) return [];
424
+ const n = e.encoding.category ?? e.encoding.label;
425
425
  return At({
426
- temporal: t.temporal,
427
- hasComparison: !!t.encoding.previous,
426
+ temporal: e.temporal,
427
+ hasComparison: !!e.encoding.previous,
428
428
  labels: pe(),
429
- formatValue: (d) => I(t.encoding.value ?? "", d),
429
+ formatValue: (d) => I(e.encoding.value ?? "", d),
430
430
  formatCategory: Kt({
431
431
  format: (d) => I(n ?? "", d),
432
432
  isTime: ((r = o.data) == null ? void 0 : r.columns.some((d) => d.name === n && d.type === "time")) === !0,
433
- hasDeclaredFormat: !!(n && t.format[n]),
433
+ hasDeclaredFormat: !!(n && e.format[n]),
434
434
  locale: (s = m.meta) == null ? void 0 : s.locale
435
435
  }),
436
436
  hidden: Ee()
437
437
  });
438
438
  }), fe = Qt(), He = () => {
439
439
  var n;
440
- return G() ? fe ? !!(((n = ee()) == null ? void 0 : n.children.length) ?? t.drillRoot) : Ie() : !!x.action;
440
+ return G() ? fe ? !!(((n = ee()) == null ? void 0 : n.children.length) ?? e.drillRoot) : Ie() : !!x.action;
441
441
  }, Xe = ae === "histogram" || ae === "boxplot" || ae === "heatmap", Ne = () => Te() && !Xe, je = (n, r, s) => {
442
442
  const d = y(), u = d.frame ? d.frame.rows.length - 1 : -1;
443
- if (d.collapsed && !!(n === h() || d.frame && lt(d.frame, t, n) === u)) {
443
+ if (d.collapsed && !!(n === h() || d.frame && lt(d.frame, e, n) === u)) {
444
444
  v((ue) => !ue);
445
445
  return;
446
446
  }
@@ -456,11 +456,11 @@ function to(e) {
456
456
  return;
457
457
  }
458
458
  const te = rt(ee(), n);
459
- ee() && !(te != null && te.target) || (S(n), _((te == null ? void 0 : te.key) ?? n, t.id));
459
+ ee() && !(te != null && te.target) || (S(n), _((te == null ? void 0 : te.key) ?? n, e.id));
460
460
  }, [wt, pt] = le(), Je = () => {
461
461
  var n, r;
462
462
  return !!L() && (!Ne() && ((n = de()) == null ? void 0 : n.legend) === "below" || nn(ae, wt(), (r = de()) == null ? void 0 : r.sliceLabels));
463
- }, yt = () => !Ne() && he().length > 0 && !!L(), Ce = () => He() || y().collapsed, bt = t.encoding.category ?? t.encoding.label, et = () => {
463
+ }, yt = () => !Ne() && he().length > 0 && !!L(), Ce = () => He() || y().collapsed, bt = e.encoding.category ?? e.encoding.label, et = () => {
464
464
  var n;
465
465
  return (ae === "line" || ae === "area") && ((n = L()) == null ? void 0 : n.columns.some((r) => r.name === bt && r.type === "time")) === !0;
466
466
  }, Pe = () => he().find((n) => n.kind === "incomplete" && n.active), St = () => be() ? a("chart.filterHint", "Select to filter the page") : a("chart.drillHint", "Select to explore"), Le = R(() => ye() && He() ? {
@@ -470,7 +470,7 @@ function to(e) {
470
470
  return K(Yt, {
471
471
  allowEmptyContent: !Xe,
472
472
  headerActions: j,
473
- panel: t,
473
+ panel: e,
474
474
  frame: o,
475
475
  get total() {
476
476
  return me();
@@ -481,12 +481,12 @@ function to(e) {
481
481
  get when() {
482
482
  return q(() => {
483
483
  var s, d;
484
- return ((s = de()) == null ? void 0 : s.totalBadge) === "plot" && ae !== "donut" && ((d = t.radial) == null ? void 0 : d.mode) !== "partition";
484
+ return ((s = de()) == null ? void 0 : s.totalBadge) === "plot" && ae !== "donut" && ((d = e.radial) == null ? void 0 : d.mode) !== "partition";
485
485
  })() && me() !== null;
486
486
  },
487
487
  get children() {
488
488
  return K(qn, {
489
- panel: t,
489
+ panel: e,
490
490
  get total() {
491
491
  return me();
492
492
  }
@@ -566,7 +566,7 @@ function to(e) {
566
566
  get onSelect() {
567
567
  return Ce() ? je : void 0;
568
568
  },
569
- panel: t
569
+ panel: e
570
570
  });
571
571
  }
572
572
  }), null), i(r, K(ne, {
@@ -586,12 +586,12 @@ function to(e) {
586
586
  },
587
587
  get label() {
588
588
  return a("chart.data", "Chart data for {name}", {
589
- name: t.title
589
+ name: e.title
590
590
  });
591
591
  },
592
592
  onHover: Ae,
593
593
  onSelect: je,
594
- panel: t,
594
+ panel: e,
595
595
  translate: a
596
596
  }), K(Lt, {
597
597
  onWidthChange: pt,
@@ -599,14 +599,14 @@ function to(e) {
599
599
  return Le();
600
600
  },
601
601
  get panelId() {
602
- return t.id;
602
+ return e.id;
603
603
  },
604
604
  get adapter() {
605
- return e.adapter;
605
+ return t.adapter;
606
606
  },
607
607
  get label() {
608
608
  return a("chart.label", "{name} chart", {
609
- name: t.title
609
+ name: e.title
610
610
  });
611
611
  },
612
612
  get drillable() {
@@ -649,7 +649,7 @@ function to(e) {
649
649
  },
650
650
  onSetHidden: c,
651
651
  onToggle: k,
652
- panel: t,
652
+ panel: e,
653
653
  get presentation() {
654
654
  return de();
655
655
  },
@@ -662,31 +662,31 @@ function to(e) {
662
662
  }
663
663
  });
664
664
  }
665
- function zn(e) {
666
- const t = ke();
665
+ function zn(t) {
666
+ const e = ke();
667
667
  return (() => {
668
668
  var o = pn(), a = o.firstChild, m = a.nextSibling;
669
- return i(a, () => t("chart.allSeriesHidden", "All series are hidden")), $t(m, "click", e.onShowAll, !0), i(m, () => t("chart.showAllSeries", "Show all series")), o;
669
+ return i(a, () => e("chart.allSeriesHidden", "All series are hidden")), $t(m, "click", t.onShowAll, !0), i(m, () => e("chart.showAllSeries", "Show all series")), o;
670
670
  })();
671
671
  }
672
- function Dn(e) {
672
+ function Dn(t) {
673
673
  var oe, Q;
674
- const t = ke(), o = [e.panel.encoding.category, e.panel.encoding.label].find((w) => w !== void 0 && e.frame.columns.some((Z) => Z.name === w)), a = e.panel.encoding.value, m = e.frame.columns.findIndex((w) => w.name === o), l = e.frame.columns.findIndex((w) => w.name === a), _ = D(a ? e.panel.format[a] : void 0), I = l < 0 ? void 0 : e.frame.rows.reduce((w, Z) => w + (ve(Z[l]) ?? 0), 0), b = m < 0 || (oe = e.frame.rows[0]) == null ? void 0 : oe[m], $ = Fe(b), S = _(I), H = e.panel.encoding.id ?? o, v = e.frame.columns.findIndex((w) => w.name === H), g = Fe(v < 0 || (Q = e.frame.rows[0]) == null ? void 0 : Q[v]), M = q(() => q(() => e.frame.rows.length === 0)() ? (() => {
674
+ const e = ke(), o = [t.panel.encoding.category, t.panel.encoding.label].find((w) => w !== void 0 && t.frame.columns.some((Z) => Z.name === w)), a = t.panel.encoding.value, m = t.frame.columns.findIndex((w) => w.name === o), l = t.frame.columns.findIndex((w) => w.name === a), _ = D(a ? t.panel.format[a] : void 0), I = l < 0 ? void 0 : t.frame.rows.reduce((w, Z) => w + (ve(Z[l]) ?? 0), 0), b = m < 0 || (oe = t.frame.rows[0]) == null ? void 0 : oe[m], $ = Fe(b), S = _(I), H = t.panel.encoding.id ?? o, v = t.frame.columns.findIndex((w) => w.name === H), g = Fe(v < 0 || (Q = t.frame.rows[0]) == null ? void 0 : Q[v]), M = q(() => q(() => t.frame.rows.length === 0)() ? (() => {
675
675
  var w = yn();
676
- return i(w, () => t("panel.empty", "No data")), w;
676
+ return i(w, () => e("panel.empty", "No data")), w;
677
677
  })() : [$ && (() => {
678
678
  var w = Sn();
679
679
  return E(w, "title", $), i(w, $), w;
680
680
  })(), (() => {
681
681
  var w = bn();
682
682
  return i(w, S), w;
683
- })()]), W = e.frame.rows.length === 0 ? t("panel.empty", "No data") : [$, S].filter(Boolean).join(" / ");
684
- return e.actionable && g && e.frame.rows.length > 0 ? (() => {
683
+ })()]), W = t.frame.rows.length === 0 ? e("panel.empty", "No data") : [$, S].filter(Boolean).join(" / ");
684
+ return t.actionable && g && t.frame.rows.length > 0 ? (() => {
685
685
  var w = $n();
686
686
  return w.$$click = () => {
687
687
  var Z;
688
- return (Z = e.onSelect) == null ? void 0 : Z.call(e, g);
689
- }, i(w, M), Y(() => E(w, "aria-label", `${W}. ${t("chart.openMark", "Open {name}", {
688
+ return (Z = t.onSelect) == null ? void 0 : Z.call(t, g);
689
+ }, i(w, M), Y(() => E(w, "aria-label", `${W}. ${e("chart.openMark", "Open {name}", {
690
690
  name: $ ?? g
691
691
  })}`)), w;
692
692
  })() : (() => {
@@ -694,16 +694,16 @@ function Dn(e) {
694
694
  return E(w, "aria-label", W), i(w, M), w;
695
695
  })();
696
696
  }
697
- function qn(e) {
698
- const t = ke(), o = D(e.panel.encoding.value ? e.panel.format[e.panel.encoding.value] : void 0);
697
+ function qn(t) {
698
+ const e = ke(), o = D(t.panel.encoding.value ? t.panel.format[t.panel.encoding.value] : void 0);
699
699
  return (() => {
700
700
  var a = _n(), m = a.firstChild, l = m.firstChild;
701
- return m.nextSibling, i(m, () => t("panel.total", "Total"), l), i(a, () => o(e.total), null), a;
701
+ return m.nextSibling, i(m, () => e("panel.total", "Total"), l), i(a, () => o(t.total), null), a;
702
702
  })();
703
703
  }
704
- function Wn(e) {
704
+ function Wn(t) {
705
705
  var Ue, Re;
706
- const t = e.panel, o = e.frame, {
706
+ const e = t.panel, o = t.frame, {
707
707
  document: a,
708
708
  navigation: m
709
709
  } = dt(), l = ke(), [_, I] = le("");
@@ -711,11 +711,11 @@ function Wn(e) {
711
711
  const [$, S] = le({
712
712
  top: !1,
713
713
  bottom: !1
714
- }), [H, v] = le(0), [g, M] = le(!1), W = ft(o, t), oe = W >= 0 ? t.encoding.series : [t.encoding.label, t.encoding.category].find((c) => c !== void 0 && o.columns.some((C) => C.name === c)), Q = t.encoding.value, w = D(Q ? t.format[Q] : void 0), Z = o.columns.findIndex((c) => c.name === oe), se = o.columns.findIndex((c) => c.name === Q), ge = D(oe ? t.format[oe] : void 0), X = () => m.panelId === t.id && m.path.length > 0, re = ut(o, t), J = gt(a.theme, t, o, !X()), _e = mt(a.theme, t, {
714
+ }), [H, v] = le(0), [g, M] = le(!1), W = ft(o, e), oe = W >= 0 ? e.encoding.series : [e.encoding.label, e.encoding.category].find((c) => c !== void 0 && o.columns.some((C) => C.name === c)), Q = e.encoding.value, w = D(Q ? e.format[Q] : void 0), Z = o.columns.findIndex((c) => c.name === oe), se = o.columns.findIndex((c) => c.name === Q), ge = D(oe ? e.format[oe] : void 0), X = () => m.panelId === e.id && m.path.length > 0, re = ut(o, e), J = gt(a.theme, e, o, !X()), _e = mt(a.theme, e, {
715
715
  colors: o.colors,
716
716
  positional: !X(),
717
717
  labels: re
718
- }), ee = t.encoding.id ? o.columns.findIndex((c) => c.name === t.encoding.id) : -1, Ie = t.encoding.series ? o.columns.findIndex((c) => c.name === t.encoding.series) : -1, G = ((Ue = t.radial) == null ? void 0 : Ue.mode) === "partition", x = R(() => {
718
+ }), ee = e.encoding.id ? o.columns.findIndex((c) => c.name === e.encoding.id) : -1, Ie = e.encoding.series ? o.columns.findIndex((c) => c.name === e.encoding.series) : -1, G = ((Ue = e.radial) == null ? void 0 : Ue.mode) === "partition", x = R(() => {
719
719
  var me, de;
720
720
  const c = o.rows.map((p, k) => {
721
721
  const A = ee >= 0 ? p[ee] : p[Z];
@@ -738,9 +738,9 @@ function Wn(e) {
738
738
  G && c.forEach((p) => {
739
739
  B.has(p) || B.set(p, B.size);
740
740
  });
741
- const O = new Map((((me = t.radial) == null ? void 0 : me.rings) ?? []).map((p) => [p.key, p.total])), f = /* @__PURE__ */ new Map();
741
+ const O = new Map((((me = e.radial) == null ? void 0 : me.rings) ?? []).map((p) => [p.key, p.total])), f = /* @__PURE__ */ new Map();
742
742
  for (let p = 0; p < o.rows.length; p += 1) {
743
- const k = Ie >= 0 ? (de = o.rows[p]) == null ? void 0 : de[Ie] : void 0, A = G && typeof k == "string" ? k : "", P = G ? O.get(A) ?? e.total : e.total, V = G ? A : String(P), Se = f.get(V) ?? {
743
+ const k = Ie >= 0 ? (de = o.rows[p]) == null ? void 0 : de[Ie] : void 0, A = G && typeof k == "string" ? k : "", P = G ? O.get(A) ?? t.total : t.total, V = G ? A : String(P), Se = f.get(V) ?? {
744
744
  denominator: P,
745
745
  indices: []
746
746
  };
@@ -765,7 +765,7 @@ function Wn(e) {
765
765
  const A = ve(p[se]);
766
766
  if (A === void 0) return;
767
767
  const P = C[k];
768
- W >= 0 && Q && ((V = t.format[Q]) == null ? void 0 : V.kind) !== "percent" ? N.set(P, (N.get(P) ?? 0) + A) : N.set(P, A);
768
+ W >= 0 && Q && ((V = e.format[Q]) == null ? void 0 : V.kind) !== "percent" ? N.set(P, (N.get(P) ?? 0) + A) : N.set(P, A);
769
769
  });
770
770
  const ce = /* @__PURE__ */ new Map();
771
771
  return G && Ie >= 0 && y.forEach((p) => {
@@ -789,7 +789,7 @@ function Wn(e) {
789
789
  if (W >= 0) return J(x().entryKeys[C], y);
790
790
  const h = ee >= 0 ? (B = o.rows[C]) == null ? void 0 : B[ee] : void 0, L = typeof h == "string" && h.trim() !== "" ? h : void 0;
791
791
  return _e(c, x().categoryOrder.get(x().rowKeys[C]) ?? C, L);
792
- }, Me = ((Re = e.presentation) == null ? void 0 : Re.legendValue) === "percent", Ae = (c) => W >= 0 ? "value" : Me ? "percent" : G ? x().rowsPerKey.get(x().rowKeys[c]) === 1 ? "percent" : "none" : "value", Oe = () => _().trim().toLocaleLowerCase(), Ke = R(() => Oe() === "" ? x().entries : x().entries.filter((c) => {
792
+ }, Me = ((Re = t.presentation) == null ? void 0 : Re.legendValue) === "percent", Ae = (c) => W >= 0 ? "value" : Me ? "percent" : G ? x().rowsPerKey.get(x().rowKeys[c]) === 1 ? "percent" : "none" : "value", Oe = () => _().trim().toLocaleLowerCase(), Ke = R(() => Oe() === "" ? x().entries : x().entries.filter((c) => {
793
793
  var y;
794
794
  const C = (y = o.rows[c]) == null ? void 0 : y[Z];
795
795
  return Fe(C).toLocaleLowerCase().includes(Oe());
@@ -821,9 +821,9 @@ function Wn(e) {
821
821
  });
822
822
  });
823
823
  const be = (c) => {
824
- const C = !e.hidden.has(c) && x().allKeys.every((y) => y === c || e.hidden.has(y));
825
- e.onSetHidden(C ? /* @__PURE__ */ new Set() : new Set(x().allKeys.filter((y) => y !== c)));
826
- }, we = () => x().allKeys.length > 0 && x().allKeys.every((c) => e.hidden.has(c)), Ze = () => x().allKeys.every((c) => !e.hidden.has(c)), ae = () => x().allKeys.length > Mn, Te = () => x().entries.length >= Bn;
824
+ const C = !t.hidden.has(c) && x().allKeys.every((y) => y === c || t.hidden.has(y));
825
+ t.onSetHidden(C ? /* @__PURE__ */ new Set() : new Set(x().allKeys.filter((y) => y !== c)));
826
+ }, we = () => x().allKeys.length > 0 && x().allKeys.every((c) => t.hidden.has(c)), Ze = () => x().allKeys.every((c) => !t.hidden.has(c)), ae = () => x().allKeys.length > Mn, Te = () => x().entries.length >= Bn;
827
827
  return K(ne, {
828
828
  when: Z >= 0,
829
829
  get children() {
@@ -836,13 +836,13 @@ function Wn(e) {
836
836
  var O = q(() => !!Te());
837
837
  return () => O() ? [(() => {
838
838
  var f = Qe();
839
- return f.$$click = () => e.onSetHidden(new Set(x().allKeys)), i(f, () => l("chart.legendHideAll", "Hide all")), Y(() => E(f, "aria-pressed", we())), f;
839
+ return f.$$click = () => t.onSetHidden(new Set(x().allKeys)), i(f, () => l("chart.legendHideAll", "Hide all")), Y(() => E(f, "aria-pressed", we())), f;
840
840
  })(), (() => {
841
841
  var f = Qe();
842
- return f.$$click = () => e.onSetHidden(/* @__PURE__ */ new Set()), i(f, () => l("chart.legendShowAll", "Show all")), Y(() => E(f, "aria-pressed", Ze())), f;
842
+ return f.$$click = () => t.onSetHidden(/* @__PURE__ */ new Set()), i(f, () => l("chart.legendShowAll", "Show all")), Y(() => E(f, "aria-pressed", Ze())), f;
843
843
  })(), (() => {
844
844
  var f = Ln();
845
- return f.$$click = () => e.onSetHidden(new Set(x().allKeys.filter((T) => !e.hidden.has(T)))), i(f, K(Jt, {})), Y((T) => {
845
+ return f.$$click = () => t.onSetHidden(new Set(x().allKeys.filter((T) => !t.hidden.has(T)))), i(f, K(Jt, {})), Y((T) => {
846
846
  var U = l("chart.legendInvert", "Invert"), N = l("chart.legendInvert", "Invert");
847
847
  return U !== T.e && E(f, "aria-label", T.e = U), N !== T.t && E(f, "title", T.t = N), T;
848
848
  }, {
@@ -851,7 +851,7 @@ function Wn(e) {
851
851
  }), f;
852
852
  })()] : (() => {
853
853
  var f = Qe();
854
- return f.$$click = () => e.onSetHidden(we() ? /* @__PURE__ */ new Set() : new Set(x().allKeys)), i(f, (() => {
854
+ return f.$$click = () => t.onSetHidden(we() ? /* @__PURE__ */ new Set() : new Set(x().allKeys)), i(f, (() => {
855
855
  var T = q(() => !!we());
856
856
  return () => T() ? l("chart.legendShowAll", "Show all") : l("chart.legendHideAll", "Hide all");
857
857
  })()), f;
@@ -878,13 +878,13 @@ function Wn(e) {
878
878
  },
879
879
  children: (h, L) => {
880
880
  var p, k, A;
881
- const B = o.rows[h], O = x().entryPositions.get(h) ?? h, f = B[Z], T = f == null ? "" : ge(f), U = x().entryKeys[h], N = () => e.hidden.has(U), ce = x().ringByIndex.get(h), me = L() > 0 ? x().ringByIndex.get(Ke()[L() - 1]) : void 0, de = ((A = (k = (p = t.radial) == null ? void 0 : p.rings) == null ? void 0 : k.find((P) => P.key === ce)) == null ? void 0 : A.label) ?? ce;
881
+ const B = o.rows[h], O = x().entryPositions.get(h) ?? h, f = B[Z], T = f == null ? "" : ge(f), U = x().entryKeys[h], N = () => t.hidden.has(U), ce = x().ringByIndex.get(h), me = L() > 0 ? x().ringByIndex.get(Ke()[L() - 1]) : void 0, de = ((A = (k = (p = e.radial) == null ? void 0 : p.rings) == null ? void 0 : k.find((P) => P.key === ce)) == null ? void 0 : A.label) ?? ce;
882
882
  return [ce && ce !== me && (() => {
883
883
  var P = An();
884
884
  return i(P, de), P;
885
885
  })(), (() => {
886
886
  var P = kn(), V = P.firstChild, Se = V.firstChild, Ee = Se.nextSibling, Ve = Ee.nextSibling;
887
- return V.$$dblclick = () => be(U), V.$$click = () => e.onToggle(U), i(Ee, T), i(V, (() => {
887
+ return V.$$dblclick = () => be(U), V.$$click = () => t.onToggle(U), i(Ee, T), i(V, (() => {
888
888
  var j = q(() => Ae(h) !== "none");
889
889
  return () => j() && (() => {
890
890
  var pe = ht();
@@ -892,7 +892,7 @@ function Wn(e) {
892
892
  var ye = q(() => Ae(h) === "percent");
893
893
  return () => {
894
894
  var he, fe;
895
- return ye() ? Et(x().shares.get(h), (he = a.meta) == null ? void 0 : he.locale, Q ? (fe = t.format[Q]) == null ? void 0 : fe.decimalSeparator : void 0) : w(x().valueByKey.get(U));
895
+ return ye() ? Et(x().shares.get(h), (he = a.meta) == null ? void 0 : he.locale, Q ? (fe = e.format[Q]) == null ? void 0 : fe.decimalSeparator : void 0) : w(x().valueByKey.get(U));
896
896
  };
897
897
  })()), pe;
898
898
  })();
@@ -900,7 +900,7 @@ function Wn(e) {
900
900
  var j = q(() => !!N());
901
901
  return () => j() ? K(en, {}) : K(tn, {});
902
902
  })()), Y((j) => {
903
- var pe = !N(), ye = `lens-chart-legend-toggle${N() ? " lens-chart-legend-hidden" : ""}`, he = `lens-panel-${t.id}-legend-series-${O}`, fe = l("chart.legendToggleHint", "Click to toggle · double-click to isolate"), He = ie(T, h, O);
903
+ var pe = !N(), ye = `lens-chart-legend-toggle${N() ? " lens-chart-legend-hidden" : ""}`, he = `lens-panel-${e.id}-legend-series-${O}`, fe = l("chart.legendToggleHint", "Click to toggle · double-click to isolate"), He = ie(T, h, O);
904
904
  return pe !== j.e && E(V, "aria-pressed", j.e = pe), ye !== j.t && Ye(V, j.t = ye), he !== j.a && E(V, "data-testid", j.a = he), fe !== j.o && E(V, "title", j.o = fe), He !== j.i && _t(Se, "background", j.i = He), j;
905
905
  }, {
906
906
  e: void 0,
@@ -925,7 +925,7 @@ function Wn(e) {
925
925
  })(), null), Y((h) => {
926
926
  var L = H() > 0 && !g() || void 0, B = g() ? {
927
927
  "--lens-chart-legend-max": "none"
928
- } : void 0, O = $().bottom || void 0, f = $().top || void 0, T = l("chart.legendControls", "Legend controls"), U = `lens-panel-${t.id}-legend`, N = $().top || $().bottom ? 0 : void 0;
928
+ } : void 0, O = $().bottom || void 0, f = $().top || void 0, T = l("chart.legendControls", "Legend controls"), U = `lens-panel-${e.id}-legend`, N = $().top || $().bottom ? 0 : void 0;
929
929
  return L !== h.e && E(c, "data-collapsed", h.e = L), h.t = ct(c, B, h.t), O !== h.a && E(C, "data-overflow-bottom", h.a = O), f !== h.o && E(C, "data-overflow-top", h.o = f), T !== h.i && E(y, "aria-label", h.i = T), U !== h.n && E(y, "data-testid", h.n = U), N !== h.s && E(y, "tabindex", h.s = N), h;
930
930
  }, {
931
931
  e: void 0,
@@ -939,24 +939,24 @@ function Wn(e) {
939
939
  }
940
940
  });
941
941
  }
942
- function Zn(e) {
943
- const t = ke(), o = t("chart.legendOverlays", "Chart marks");
942
+ function Zn(t) {
943
+ const e = ke(), o = e("chart.legendOverlays", "Chart marks");
944
944
  return (() => {
945
945
  var a = Tn(), m = a.firstChild;
946
946
  return E(a, "aria-label", o), i(m, o), i(a, K(Ge, {
947
947
  get each() {
948
- return e.overlays;
948
+ return t.overlays;
949
949
  },
950
950
  children: (l) => (() => {
951
951
  var _ = Rn(), I = _.firstChild, b = I.firstChild, $ = b.nextSibling;
952
- return I.$$click = () => e.onToggle(l.id), i($, () => l.label), i(I, (() => {
952
+ return I.$$click = () => t.onToggle(l.id), i($, () => l.label), i(I, (() => {
953
953
  var S = q(() => !!l.detail);
954
954
  return () => S() && [En(), (() => {
955
955
  var H = ht();
956
956
  return i(H, () => l.detail), H;
957
957
  })()];
958
958
  })(), null), Y((S) => {
959
- var H = l.active, v = `lens-chart-legend-toggle${l.active ? "" : " lens-chart-legend-hidden"}`, g = t("chart.legendToggleOverlay", "Show or hide this mark"), M = l.stroke, W = {
959
+ var H = l.active, v = `lens-chart-legend-toggle${l.active ? "" : " lens-chart-legend-hidden"}`, g = e("chart.legendToggleOverlay", "Show or hide this mark"), M = l.stroke, W = {
960
960
  "--lens-overlay-ink": `var(${Tt(l.tone)})`
961
961
  };
962
962
  return H !== S.e && E(I, "aria-pressed", S.e = H), v !== S.t && Ye(I, S.t = v), g !== S.a && E(I, "title", S.a = g), M !== S.o && E(b, "data-stroke", S.o = M), S.i = ct(b, W, S.i), S;