drizzle-cube 0.5.6 → 0.5.8

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 (405) hide show
  1. package/dist/{server/dist-DxegvyZF.cjs → adapters/dist-BOdf-GQO.cjs} +1 -1
  2. package/dist/adapters/express/index.cjs +1 -1
  3. package/dist/adapters/express/index.js +4 -4
  4. package/dist/adapters/fastify/index.cjs +2 -2
  5. package/dist/adapters/fastify/index.js +4 -4
  6. package/dist/{server/google-BXwMolCu.js → adapters/google-CFYljAOF.js} +1 -1
  7. package/dist/adapters/{google-Dgo9-Kb5.cjs → google-DUlXeeDA.cjs} +1 -1
  8. package/dist/adapters/{handler-Odsi9_Rd.js → handler-Cx8QYLk6.js} +20 -6
  9. package/dist/adapters/{handler-C0nUppAK.cjs → handler-CzbCuS6_.cjs} +4 -4
  10. package/dist/adapters/hono/index.cjs +1 -1
  11. package/dist/adapters/hono/index.js +7 -7
  12. package/dist/adapters/{locale-Dy3LcTwN.js → locale-BPB7flIG.js} +16 -1
  13. package/dist/adapters/{locale-Dv6bl_eU.cjs → locale-tIMrNcCr.cjs} +6 -6
  14. package/dist/adapters/mcp-tools.cjs +1 -1
  15. package/dist/adapters/mcp-tools.js +2 -2
  16. package/dist/adapters/mcp-transport-C2QzXm6h.cjs +40 -0
  17. package/dist/adapters/mcp-transport-D0B3S1tB.js +579 -0
  18. package/dist/adapters/nextjs/index.cjs +1 -1
  19. package/dist/adapters/nextjs/index.js +4 -4
  20. package/dist/{server/openai-zpXlGbbF.js → adapters/openai-B5jEiqiB.js} +2139 -948
  21. package/dist/{server/openai-CLWSwD-D.js → adapters/openai-BZdAA7Ji.js} +1 -1
  22. package/dist/adapters/openai-D0musiYP.cjs +17 -0
  23. package/dist/adapters/{openai-BjLV_Wjx.cjs → openai-D_U4V0kT.cjs} +1 -1
  24. package/dist/adapters/{utils-Bd5mzZfk.js → utils-D9JPLmfl.js} +24 -10
  25. package/dist/adapters/{utils-DklqMBHn.cjs → utils-KV37IBIv.cjs} +4 -4
  26. package/dist/adapters/utils.cjs +1 -1
  27. package/dist/adapters/utils.js +1 -1
  28. package/dist/client/charts/ChartLoader.d.ts +1 -1
  29. package/dist/client/charts.js +13 -13
  30. package/dist/client/chunks/DashboardEditModal-CjCIAT-J.js +9682 -0
  31. package/dist/client/chunks/DashboardEditModal-CjCIAT-J.js.map +1 -0
  32. package/dist/client/chunks/{RetentionCombinedChart-CivIny9P.js → RetentionCombinedChart-BPkfcTa8.js} +4 -4
  33. package/dist/client/chunks/{RetentionCombinedChart-CivIny9P.js.map → RetentionCombinedChart-BPkfcTa8.js.map} +1 -1
  34. package/dist/client/chunks/{RetentionHeatmap-BHCgwZmB.js → RetentionHeatmap-DGzLzr7h.js} +3 -3
  35. package/dist/client/chunks/{RetentionHeatmap-BHCgwZmB.js.map → RetentionHeatmap-DGzLzr7h.js.map} +1 -1
  36. package/dist/client/chunks/{af-ZA-BdL6DOWy.js → af-ZA-BTaChuqI.js} +1 -1
  37. package/dist/client/chunks/{af-ZA-BdL6DOWy.js.map → af-ZA-BTaChuqI.js.map} +1 -1
  38. package/dist/client/chunks/{analysis-builder-MoGvbMRe.js → analysis-builder-MuMIzoRq.js} +244 -244
  39. package/dist/client/chunks/{analysis-builder-MoGvbMRe.js.map → analysis-builder-MuMIzoRq.js.map} +1 -1
  40. package/dist/client/chunks/{analysis-builder-shared-DmyRh2O3.js → analysis-builder-shared-CYVwSPqt.js} +289 -289
  41. package/dist/client/chunks/{analysis-builder-shared-DmyRh2O3.js.map → analysis-builder-shared-CYVwSPqt.js.map} +1 -1
  42. package/dist/client/chunks/{chart-activity-grid-Bdb8U_NC.js → chart-activity-grid-DmruKPab.js} +13 -8
  43. package/dist/client/chunks/{chart-activity-grid-Bdb8U_NC.js.map → chart-activity-grid-DmruKPab.js.map} +1 -1
  44. package/dist/client/chunks/{chart-area-BZEnT-tf.js → chart-area-DHCPM4Em.js} +3 -3
  45. package/dist/client/chunks/{chart-area-BZEnT-tf.js.map → chart-area-DHCPM4Em.js.map} +1 -1
  46. package/dist/client/chunks/{chart-bar-CTmdv_v0.js → chart-bar-KddciGDv.js} +4 -4
  47. package/dist/client/chunks/{chart-bar-CTmdv_v0.js.map → chart-bar-KddciGDv.js.map} +1 -1
  48. package/dist/client/chunks/{chart-box-plot-CYObdFtp.js → chart-box-plot-DYKfyOI8.js} +3 -3
  49. package/dist/client/chunks/{chart-box-plot-CYObdFtp.js.map → chart-box-plot-DYKfyOI8.js.map} +1 -1
  50. package/dist/client/chunks/{chart-bubble-CjFprySz.js → chart-bubble-CfqiB538.js} +3 -3
  51. package/dist/client/chunks/{chart-bubble-CjFprySz.js.map → chart-bubble-CfqiB538.js.map} +1 -1
  52. package/dist/client/chunks/{chart-candlestick-D2HoM3B5.js → chart-candlestick-Dwc92Mrj.js} +3 -3
  53. package/dist/client/chunks/{chart-candlestick-D2HoM3B5.js.map → chart-candlestick-Dwc92Mrj.js.map} +1 -1
  54. package/dist/client/chunks/{chart-config-activity-grid-Bom99j9m.js → chart-config-activity-grid-D_UX4NHC.js} +2 -2
  55. package/dist/client/chunks/{chart-config-activity-grid-Bom99j9m.js.map → chart-config-activity-grid-D_UX4NHC.js.map} +1 -1
  56. package/dist/client/chunks/{chart-config-area-DtYTKZxS.js → chart-config-area-Bq_UsW3x.js} +2 -2
  57. package/dist/client/chunks/{chart-config-area-DtYTKZxS.js.map → chart-config-area-Bq_UsW3x.js.map} +1 -1
  58. package/dist/client/chunks/{chart-config-bar-7v5JVY2y.js → chart-config-bar-_JEGZnAu.js} +2 -2
  59. package/dist/client/chunks/{chart-config-bar-7v5JVY2y.js.map → chart-config-bar-_JEGZnAu.js.map} +1 -1
  60. package/dist/client/chunks/{chart-config-box-plot-BHGv-wqu.js → chart-config-box-plot-DJ-dWWXA.js} +2 -2
  61. package/dist/client/chunks/{chart-config-box-plot-BHGv-wqu.js.map → chart-config-box-plot-DJ-dWWXA.js.map} +1 -1
  62. package/dist/client/chunks/{chart-config-bubble-BkHm-mfu.js → chart-config-bubble-gIoqVyjZ.js} +2 -2
  63. package/dist/client/chunks/{chart-config-bubble-BkHm-mfu.js.map → chart-config-bubble-gIoqVyjZ.js.map} +1 -1
  64. package/dist/client/chunks/{chart-config-candlestick-D1aaHvTe.js → chart-config-candlestick-N6DchAA3.js} +2 -2
  65. package/dist/client/chunks/{chart-config-candlestick-D1aaHvTe.js.map → chart-config-candlestick-N6DchAA3.js.map} +1 -1
  66. package/dist/client/chunks/{chart-config-data-table-B_Hw8w2J.js → chart-config-data-table-d7VBY-y_.js} +2 -2
  67. package/dist/client/chunks/{chart-config-data-table-B_Hw8w2J.js.map → chart-config-data-table-d7VBY-y_.js.map} +1 -1
  68. package/dist/client/chunks/{chart-config-funnel-DL8PSGuL.js → chart-config-funnel-DEYMcxsD.js} +2 -2
  69. package/dist/client/chunks/{chart-config-funnel-DL8PSGuL.js.map → chart-config-funnel-DEYMcxsD.js.map} +1 -1
  70. package/dist/client/chunks/{chart-config-gauge-BVLxuA3f.js → chart-config-gauge-DSwC04l0.js} +2 -2
  71. package/dist/client/chunks/{chart-config-gauge-BVLxuA3f.js.map → chart-config-gauge-DSwC04l0.js.map} +1 -1
  72. package/dist/client/chunks/{chart-config-heat-map-CjudGdui.js → chart-config-heat-map-CfRnRNcw.js} +2 -2
  73. package/dist/client/chunks/{chart-config-heat-map-CjudGdui.js.map → chart-config-heat-map-CfRnRNcw.js.map} +1 -1
  74. package/dist/client/chunks/{chart-config-kpi-delta-Bf47hGqD.js → chart-config-kpi-delta-D6BIkHL3.js} +2 -2
  75. package/dist/client/chunks/{chart-config-kpi-delta-Bf47hGqD.js.map → chart-config-kpi-delta-D6BIkHL3.js.map} +1 -1
  76. package/dist/client/chunks/{chart-config-kpi-number-QTQRNgOi.js → chart-config-kpi-number-Bx-V9a62.js} +2 -2
  77. package/dist/client/chunks/{chart-config-kpi-number-QTQRNgOi.js.map → chart-config-kpi-number-Bx-V9a62.js.map} +1 -1
  78. package/dist/client/chunks/{chart-config-kpi-text-BRze2eyh.js → chart-config-kpi-text-CcqC1u-8.js} +2 -2
  79. package/dist/client/chunks/{chart-config-kpi-text-BRze2eyh.js.map → chart-config-kpi-text-CcqC1u-8.js.map} +1 -1
  80. package/dist/client/chunks/{chart-config-line-BFeCqmKH.js → chart-config-line-Db3jDsWc.js} +2 -2
  81. package/dist/client/chunks/{chart-config-line-BFeCqmKH.js.map → chart-config-line-Db3jDsWc.js.map} +1 -1
  82. package/dist/client/chunks/{chart-config-markdown-EWYckwXv.js → chart-config-markdown-BtRIe8JN.js} +2 -2
  83. package/dist/client/chunks/{chart-config-markdown-EWYckwXv.js.map → chart-config-markdown-BtRIe8JN.js.map} +1 -1
  84. package/dist/client/chunks/{chart-config-measure-profile-B9nIhqKR.js → chart-config-measure-profile-DxRGa-zf.js} +2 -2
  85. package/dist/client/chunks/{chart-config-measure-profile-B9nIhqKR.js.map → chart-config-measure-profile-DxRGa-zf.js.map} +1 -1
  86. package/dist/client/chunks/{chart-config-pie-6LHtEyMM.js → chart-config-pie-DD4SmRTF.js} +2 -2
  87. package/dist/client/chunks/{chart-config-pie-6LHtEyMM.js.map → chart-config-pie-DD4SmRTF.js.map} +1 -1
  88. package/dist/client/chunks/{chart-config-radar-BuLS6Inn.js → chart-config-radar-CC2XAaGr.js} +2 -2
  89. package/dist/client/chunks/{chart-config-radar-BuLS6Inn.js.map → chart-config-radar-CC2XAaGr.js.map} +1 -1
  90. package/dist/client/chunks/{chart-config-radial-bar-BP0eMohx.js → chart-config-radial-bar-DmxKx1R0.js} +2 -2
  91. package/dist/client/chunks/{chart-config-radial-bar-BP0eMohx.js.map → chart-config-radial-bar-DmxKx1R0.js.map} +1 -1
  92. package/dist/client/chunks/{chart-config-sankey-CT8oGIGP.js → chart-config-sankey-BTnWA7EW.js} +2 -2
  93. package/dist/client/chunks/{chart-config-sankey-CT8oGIGP.js.map → chart-config-sankey-BTnWA7EW.js.map} +1 -1
  94. package/dist/client/chunks/{chart-config-scatter-DOSpN07Z.js → chart-config-scatter-DSYTjwRb.js} +2 -2
  95. package/dist/client/chunks/{chart-config-scatter-DOSpN07Z.js.map → chart-config-scatter-DSYTjwRb.js.map} +1 -1
  96. package/dist/client/chunks/{chart-config-sunburst-BSUX_YoB.js → chart-config-sunburst-Bwjtdf7X.js} +2 -2
  97. package/dist/client/chunks/{chart-config-sunburst-BSUX_YoB.js.map → chart-config-sunburst-Bwjtdf7X.js.map} +1 -1
  98. package/dist/client/chunks/{chart-config-tree-map-D8GuAgVB.js → chart-config-tree-map-BI-oQStO.js} +2 -2
  99. package/dist/client/chunks/{chart-config-tree-map-D8GuAgVB.js.map → chart-config-tree-map-BI-oQStO.js.map} +1 -1
  100. package/dist/client/chunks/{chart-config-waterfall-BDi7BoJP.js → chart-config-waterfall-DSnyixbI.js} +2 -2
  101. package/dist/client/chunks/{chart-config-waterfall-BDi7BoJP.js.map → chart-config-waterfall-DSnyixbI.js.map} +1 -1
  102. package/dist/client/chunks/{chart-data-table-DT4uBZaq.js → chart-data-table-BO4sXsim.js} +842 -834
  103. package/dist/client/chunks/chart-data-table-BO4sXsim.js.map +1 -0
  104. package/dist/client/chunks/{chart-funnel-B9crR3b3.js → chart-funnel-DnWRsmnS.js} +3 -3
  105. package/dist/client/chunks/{chart-funnel-B9crR3b3.js.map → chart-funnel-DnWRsmnS.js.map} +1 -1
  106. package/dist/client/chunks/{chart-gauge-DAMFsicz.js → chart-gauge-CgMeqeGb.js} +3 -3
  107. package/dist/client/chunks/{chart-gauge-DAMFsicz.js.map → chart-gauge-CgMeqeGb.js.map} +1 -1
  108. package/dist/client/chunks/{chart-heat-map-BxgM_X1G.js → chart-heat-map-DcGm9SWK.js} +3 -3
  109. package/dist/client/chunks/{chart-heat-map-BxgM_X1G.js.map → chart-heat-map-DcGm9SWK.js.map} +1 -1
  110. package/dist/client/chunks/{chart-kpi-delta-DJKL02Ut.js → chart-kpi-delta-C2wKPqCb.js} +6 -6
  111. package/dist/client/chunks/{chart-kpi-delta-DJKL02Ut.js.map → chart-kpi-delta-C2wKPqCb.js.map} +1 -1
  112. package/dist/client/chunks/{chart-kpi-number-CuNEYbRx.js → chart-kpi-number-gWYF44ol.js} +8 -8
  113. package/dist/client/chunks/{chart-kpi-number-CuNEYbRx.js.map → chart-kpi-number-gWYF44ol.js.map} +1 -1
  114. package/dist/client/chunks/{chart-kpi-text-u8FJaZDQ.js → chart-kpi-text-DIYtJtk4.js} +4 -4
  115. package/dist/client/chunks/{chart-kpi-text-u8FJaZDQ.js.map → chart-kpi-text-DIYtJtk4.js.map} +1 -1
  116. package/dist/client/chunks/{chart-line-BZhzOjRl.js → chart-line-9BEGN5Ti.js} +4 -4
  117. package/dist/client/chunks/{chart-line-BZhzOjRl.js.map → chart-line-9BEGN5Ti.js.map} +1 -1
  118. package/dist/client/chunks/chart-markdown-dgUetjyM.js +3654 -0
  119. package/dist/client/chunks/chart-markdown-dgUetjyM.js.map +1 -0
  120. package/dist/client/chunks/{chart-measure-profile-BnpIOS4Q.js → chart-measure-profile-ClfpLs4q.js} +4 -4
  121. package/dist/client/chunks/{chart-measure-profile-BnpIOS4Q.js.map → chart-measure-profile-ClfpLs4q.js.map} +1 -1
  122. package/dist/client/chunks/{chart-pie-CsdzxmSK.js → chart-pie-BjAIhyOi.js} +4 -4
  123. package/dist/client/chunks/{chart-pie-CsdzxmSK.js.map → chart-pie-BjAIhyOi.js.map} +1 -1
  124. package/dist/client/chunks/{chart-radar-C_9RwMKw.js → chart-radar-Dgkcl2bN.js} +4 -4
  125. package/dist/client/chunks/{chart-radar-C_9RwMKw.js.map → chart-radar-Dgkcl2bN.js.map} +1 -1
  126. package/dist/client/chunks/{chart-radial-bar-CewRelyQ.js → chart-radial-bar-DdWJjAhK.js} +4 -4
  127. package/dist/client/chunks/{chart-radial-bar-CewRelyQ.js.map → chart-radial-bar-DdWJjAhK.js.map} +1 -1
  128. package/dist/client/chunks/{chart-sankey-ItraHWH1.js → chart-sankey-M3XpO_ah.js} +3 -3
  129. package/dist/client/chunks/{chart-sankey-ItraHWH1.js.map → chart-sankey-M3XpO_ah.js.map} +1 -1
  130. package/dist/client/chunks/{chart-scatter-k2IJbO2Y.js → chart-scatter-DaHYP_OL.js} +4 -4
  131. package/dist/client/chunks/{chart-scatter-k2IJbO2Y.js.map → chart-scatter-DaHYP_OL.js.map} +1 -1
  132. package/dist/client/chunks/{chart-sunburst-NsFRuqi9.js → chart-sunburst-A_u6lqlS.js} +4 -4
  133. package/dist/client/chunks/{chart-sunburst-NsFRuqi9.js.map → chart-sunburst-A_u6lqlS.js.map} +1 -1
  134. package/dist/client/chunks/{chart-tree-map-Cj_ewpwJ.js → chart-tree-map-uiwUU4nb.js} +4 -4
  135. package/dist/client/chunks/{chart-tree-map-Cj_ewpwJ.js.map → chart-tree-map-uiwUU4nb.js.map} +1 -1
  136. package/dist/client/chunks/{chart-waterfall-C-MTFcOz.js → chart-waterfall-BuhMoagf.js} +4 -4
  137. package/dist/client/chunks/{chart-waterfall-C-MTFcOz.js.map → chart-waterfall-BuhMoagf.js.map} +1 -1
  138. package/dist/client/chunks/{charts-core-vZA3zPKb.js → charts-core-jRtb0S2M.js} +2 -2
  139. package/dist/client/chunks/{charts-core-vZA3zPKb.js.map → charts-core-jRtb0S2M.js.map} +1 -1
  140. package/dist/client/chunks/{core-Su6tIYhp.js → core-D7vPfUIe.js} +84 -84
  141. package/dist/client/chunks/{core-Su6tIYhp.js.map → core-D7vPfUIe.js.map} +1 -1
  142. package/dist/client/chunks/{dist-BTq3NoG3.js → dist-zPWyTBdU.js} +1 -1
  143. package/dist/client/chunks/{dist-BTq3NoG3.js.map → dist-zPWyTBdU.js.map} +1 -1
  144. package/dist/client/chunks/{en-US-D-1JPTPv.js → en-US-BE6VoG0o.js} +1 -1
  145. package/dist/client/chunks/{en-US-D-1JPTPv.js.map → en-US-BE6VoG0o.js.map} +1 -1
  146. package/dist/client/chunks/{exceljs.min-Dc1cBQ5l.js → exceljs.min-CIqBqwTW.js} +2 -2
  147. package/dist/client/chunks/{exceljs.min-Dc1cBQ5l.js.map → exceljs.min-CIqBqwTW.js.map} +1 -1
  148. package/dist/client/chunks/{javascript-YXkoOgWa.js → javascript-DFnKaHmQ.js} +3 -3
  149. package/dist/client/chunks/{javascript-YXkoOgWa.js.map → javascript-DFnKaHmQ.js.map} +1 -1
  150. package/dist/client/chunks/{json-O7MKB_4V.js → json-Cu6rbgWf.js} +1 -1
  151. package/dist/client/chunks/{json-O7MKB_4V.js.map → json-Cu6rbgWf.js.map} +1 -1
  152. package/dist/client/chunks/{nl-NL-BErZMygi.js → nl-NL-CpVs7ox3.js} +7 -2
  153. package/dist/client/chunks/{nl-NL-BErZMygi.js.map → nl-NL-CpVs7ox3.js.map} +1 -1
  154. package/dist/client/chunks/{providers-DX3Vw5kc.js → providers-DwQCKdGW.js} +1 -1
  155. package/dist/client/chunks/{providers-DX3Vw5kc.js.map → providers-DwQCKdGW.js.map} +1 -1
  156. package/dist/client/chunks/{retention-YhT1Oohi.js → retention-ChW9jYdy.js} +1 -1
  157. package/dist/client/chunks/{retention-YhT1Oohi.js.map → retention-ChW9jYdy.js.map} +1 -1
  158. package/dist/client/chunks/{schema-visualization-BY9L2nBQ.js → schema-visualization-DE09kQE3.js} +5 -5
  159. package/dist/client/chunks/{schema-visualization-BY9L2nBQ.js.map → schema-visualization-DE09kQE3.js.map} +1 -1
  160. package/dist/client/chunks/{sql-r2a-9CCK.js → sql-CmVzGP4w.js} +1 -1
  161. package/dist/client/chunks/{sql-r2a-9CCK.js.map → sql-CmVzGP4w.js.map} +1 -1
  162. package/dist/client/chunks/{useDebounce-DGfYXtkm.js → useDirtyStateTracking-CoeQbprt.js} +99 -37
  163. package/dist/client/chunks/useDirtyStateTracking-CoeQbprt.js.map +1 -0
  164. package/dist/client/chunks/{useExplainAI-CD0KuKwY.js → useExplainAI-DlnXWdmz.js} +19 -19
  165. package/dist/client/chunks/{useExplainAI-CD0KuKwY.js.map → useExplainAI-DlnXWdmz.js.map} +1 -1
  166. package/dist/client/chunks/{useNotebookLayout-DKkMenhj.js → useNotebookLayout-Ck3Z3uzg.js} +2 -2
  167. package/dist/client/chunks/{useNotebookLayout-DKkMenhj.js.map → useNotebookLayout-Ck3Z3uzg.js.map} +1 -1
  168. package/dist/client/chunks/{utils-D2SCtAkZ.js → utils-CTKNaXS8.js} +40 -13
  169. package/dist/client/chunks/utils-CTKNaXS8.js.map +1 -0
  170. package/dist/client/chunks/{vendor-CfR5hJGc.js → vendor-CPIYyeuD.js} +102 -97
  171. package/dist/client/chunks/vendor-CPIYyeuD.js.map +1 -0
  172. package/dist/client/components/AnalysisBuilder/AnalysisAIPanel.d.ts +1 -1
  173. package/dist/client/components/AnalysisBuilder/AnalysisAxisDropZone.d.ts +1 -1
  174. package/dist/client/components/AnalysisBuilder/AnalysisChartConfigPanel.d.ts +1 -1
  175. package/dist/client/components/AnalysisBuilder/AnalysisDisplayConfigPanel.d.ts +1 -1
  176. package/dist/client/components/AnalysisBuilder/AnalysisFilterGroup.d.ts +1 -1
  177. package/dist/client/components/AnalysisBuilder/AnalysisFilterItem.d.ts +1 -1
  178. package/dist/client/components/AnalysisBuilder/AnalysisFilterSection.d.ts +1 -1
  179. package/dist/client/components/AnalysisBuilder/AnalysisModeErrorBoundary.d.ts +1 -1
  180. package/dist/client/components/AnalysisBuilder/ExplainAIPanel.d.ts +2 -1
  181. package/dist/client/components/AnalysisBuilder/FieldDetailPanel.d.ts +1 -1
  182. package/dist/client/components/AnalysisBuilder/FieldSearchItem.d.ts +1 -1
  183. package/dist/client/components/AnalysisBuilder/FieldSearchModal.d.ts +1 -1
  184. package/dist/client/components/AnalysisBuilder/FilterConfigModal.d.ts +2 -1
  185. package/dist/client/components/AnalysisBuilder/LimitSection.d.ts +1 -1
  186. package/dist/client/components/AnalysisBuilder/SectionHeading.d.ts +1 -1
  187. package/dist/client/components/AnalyticsDashboard.d.ts +1 -1
  188. package/dist/client/components/AnalyticsPage.d.ts +1 -1
  189. package/dist/client/components/ChartErrorBoundary.d.ts +1 -1
  190. package/dist/client/components/ChartTypeSelector.d.ts +1 -1
  191. package/dist/client/components/ColorPaletteSelector.d.ts +1 -1
  192. package/dist/client/components/DashboardEditModal.d.ts +2 -1
  193. package/dist/client/components/DashboardFilters/DashboardFilterConfigModal.d.ts +1 -1
  194. package/dist/client/components/DashboardFilters/DashboardFilterItem.d.ts +1 -1
  195. package/dist/client/components/DashboardGrid.d.ts +3 -1
  196. package/dist/client/components/DashboardThumbnailPlaceholder.d.ts +1 -1
  197. package/dist/client/components/DataBrowser/DataBrowserSidebar.d.ts +1 -1
  198. package/dist/client/components/DataBrowser/DataBrowserToolbar.d.ts +1 -1
  199. package/dist/client/components/DataBrowser/index.d.ts +1 -1
  200. package/dist/client/components/DataHistogram.d.ts +1 -1
  201. package/dist/client/components/DebugModal.d.ts +1 -1
  202. package/dist/client/components/DrillBreadcrumb.d.ts +2 -1
  203. package/dist/client/components/LoadingIndicator.d.ts +1 -1
  204. package/dist/client/components/MobileStackedLayout.d.ts +1 -1
  205. package/dist/client/components/PortletAnalysisModal.d.ts +1 -1
  206. package/dist/client/components/PortletContainer.d.ts +1 -1
  207. package/dist/client/components/PortletFilterConfigModal.d.ts +6 -4
  208. package/dist/client/components/RowManagedLayout.d.ts +1 -1
  209. package/dist/client/components/ScaledGridWrapper.d.ts +1 -1
  210. package/dist/client/components/SchemaVisualization/CubeNode.d.ts +1 -1
  211. package/dist/client/components/SchemaVisualization/FieldDetailPanel.d.ts +1 -1
  212. package/dist/client/components/SchemaVisualization/RelationshipEdge.d.ts +1 -1
  213. package/dist/client/components/SchemaVisualization/SchemaVisualizationLazy.d.ts +1 -1
  214. package/dist/client/components/SchemaVisualization/index.d.ts +1 -1
  215. package/dist/client/components/TextPortletModal.d.ts +1 -1
  216. package/dist/client/components/charts/AxisFormatControls.d.ts +2 -2
  217. package/dist/client/components/charts/ChartContainer.d.ts +1 -1
  218. package/dist/client/components/charts/ChartLegend.d.ts +1 -1
  219. package/dist/client/components/charts/ChartTooltip.d.ts +1 -1
  220. package/dist/client/components/charts/MissingDependencyFallback.d.ts +1 -1
  221. package/dist/client/components/dashboard/DashboardContext.d.ts +113 -0
  222. package/dist/client/components/dashboard/DashboardCoordinator.d.ts +2 -0
  223. package/dist/client/components/dashboard/DashboardFilterBar.d.ts +8 -0
  224. package/dist/client/components/dashboard/DashboardGridSurface.d.ts +8 -0
  225. package/dist/client/components/dashboard/DashboardModals.d.ts +8 -0
  226. package/dist/client/components/dashboard/DashboardProvider.d.ts +2 -0
  227. package/dist/client/components/dashboard/DashboardToolbar.d.ts +11 -0
  228. package/dist/client/components/dashboard/dashboardGridUtils.d.ts +17 -0
  229. package/dist/client/components/dashboard/index.d.ts +13 -0
  230. package/dist/client/components.d.ts +2 -0
  231. package/dist/client/components.js +3 -4
  232. package/dist/client/hooks/dashboard/useDashboardController.d.ts +2 -2
  233. package/dist/client/hooks/useDashboardHook.d.ts +2 -2
  234. package/dist/client/hooks.js +5 -6
  235. package/dist/client/icons.d.ts +1 -1
  236. package/dist/client/icons.js +2 -2
  237. package/dist/client/index.d.ts +2 -0
  238. package/dist/client/index.js +161 -163
  239. package/dist/client/index.js.map +1 -1
  240. package/dist/client/providers/CubeApiProvider.d.ts +1 -1
  241. package/dist/client/providers/CubeFeaturesProvider.d.ts +1 -1
  242. package/dist/client/providers/CubeMetaProvider.d.ts +1 -1
  243. package/dist/client/providers/CubeProvider.d.ts +1 -1
  244. package/dist/client/providers/I18nProvider.d.ts +1 -1
  245. package/dist/client/providers.js +3 -3
  246. package/dist/client/schema.js +1 -1
  247. package/dist/client/stores/analysisBuilderStore.d.ts +1 -1
  248. package/dist/client/stores/dashboardStore.d.ts +1 -1
  249. package/dist/client/stores/dataBrowserStore.d.ts +1 -1
  250. package/dist/client/stores/notebookStore.d.ts +1 -1
  251. package/dist/client/styles.css +1 -1
  252. package/dist/client/types/drill.d.ts +1 -1
  253. package/dist/client/types.d.ts +7 -2
  254. package/dist/client/utils/drillQueryBuilder.d.ts +2 -2
  255. package/dist/client/utils/filterUtils.d.ts +33 -5
  256. package/dist/client/utils/joinReachability.d.ts +27 -0
  257. package/dist/client/utils.js +6 -7
  258. package/dist/client-bundle-stats.html +1 -1
  259. package/dist/mcp-app/mcp-app.html +78 -52
  260. package/dist/{adapters/dist-Boc63-1q.cjs → server/dist-BOdf-GQO.cjs} +1 -1
  261. package/dist/{adapters/google-CT4kgmBf.js → server/google-CFYljAOF.js} +1 -1
  262. package/dist/server/{google-DzQWXFwF.cjs → google-DUlXeeDA.cjs} +1 -1
  263. package/dist/server/index.cjs +11 -11
  264. package/dist/server/index.d.ts +2 -5050
  265. package/dist/server/index.js +58 -15
  266. package/dist/{adapters/openai-CuUGrKaK.js → server/openai-B5jEiqiB.js} +2139 -948
  267. package/dist/{adapters/openai-DQawCWQb.js → server/openai-BZdAA7Ji.js} +1 -1
  268. package/dist/server/openai-D0musiYP.cjs +17 -0
  269. package/dist/server/{openai-BfiZU0rG.cjs → openai-D_U4V0kT.cjs} +1 -1
  270. package/dist/server/server/adapters/base-adapter.d.ts +287 -0
  271. package/dist/server/server/adapters/databend-adapter.d.ts +114 -0
  272. package/dist/server/server/adapters/duckdb-adapter.d.ts +122 -0
  273. package/dist/server/server/adapters/mysql-adapter.d.ts +122 -0
  274. package/dist/server/server/adapters/postgres-adapter.d.ts +119 -0
  275. package/dist/server/server/adapters/singlestore-adapter.d.ts +4 -0
  276. package/dist/server/server/adapters/snowflake-adapter.d.ts +116 -0
  277. package/dist/server/server/adapters/sqlite-adapter.d.ts +140 -0
  278. package/dist/server/server/agent/chart-validation.d.ts +27 -0
  279. package/dist/server/server/agent/handler.d.ts +25 -0
  280. package/dist/server/server/agent/index.d.ts +11 -0
  281. package/dist/server/server/agent/providers/anthropic.d.ts +24 -0
  282. package/dist/server/server/agent/providers/factory.d.ts +12 -0
  283. package/dist/server/server/agent/providers/google.d.ts +23 -0
  284. package/dist/server/server/agent/providers/index.d.ts +6 -0
  285. package/dist/server/server/agent/providers/openai.d.ts +26 -0
  286. package/dist/server/server/agent/providers/types.d.ts +95 -0
  287. package/dist/server/server/agent/system-prompt.d.ts +5 -0
  288. package/dist/server/server/agent/tools.d.ts +28 -0
  289. package/dist/server/server/agent/types.d.ts +192 -0
  290. package/dist/server/server/ai/discovery.d.ts +62 -0
  291. package/dist/server/server/ai/index.d.ts +10 -0
  292. package/dist/server/server/ai/mcp-prompts.d.ts +83 -0
  293. package/dist/server/server/ai/query-schema.d.ts +258 -0
  294. package/dist/server/server/ai/schemas.d.ts +63 -0
  295. package/dist/server/server/ai/suggestion.d.ts +19 -0
  296. package/dist/server/server/ai/validation.d.ts +34 -0
  297. package/dist/server/server/builders/comparison-query-builder.d.ts +70 -0
  298. package/dist/server/server/builders/cte-builder.d.ts +62 -0
  299. package/dist/server/server/builders/date-time-builder.d.ts +29 -0
  300. package/dist/server/server/builders/filter-builder.d.ts +23 -0
  301. package/dist/server/server/builders/flow-query-builder.d.ts +109 -0
  302. package/dist/server/server/builders/funnel-query-builder.d.ts +134 -0
  303. package/dist/server/server/builders/group-by-builder.d.ts +27 -0
  304. package/dist/server/server/builders/index.d.ts +13 -0
  305. package/dist/server/server/builders/measure-builder.d.ts +142 -0
  306. package/dist/server/server/builders/retention-query-builder.d.ts +100 -0
  307. package/dist/server/server/cache-providers/index.d.ts +5 -0
  308. package/dist/server/server/cache-providers/memory.d.ts +105 -0
  309. package/dist/server/server/cache-utils.d.ts +65 -0
  310. package/dist/server/server/compiler.d.ts +218 -0
  311. package/dist/server/server/cube-utils.d.ts +133 -0
  312. package/dist/server/server/database-utils.d.ts +18 -0
  313. package/dist/server/server/executor.d.ts +183 -0
  314. package/dist/server/server/executors/base-executor.d.ts +16 -0
  315. package/dist/server/server/executors/databend-executor.d.ts +33 -0
  316. package/dist/server/server/executors/duckdb-executor.d.ts +33 -0
  317. package/dist/server/server/executors/index.d.ts +21 -0
  318. package/dist/server/server/executors/mysql-executor.d.ts +27 -0
  319. package/dist/server/server/executors/postgres-executor.d.ts +27 -0
  320. package/dist/server/server/executors/singlestore-executor.d.ts +9 -0
  321. package/dist/server/server/executors/snowflake-executor.d.ts +33 -0
  322. package/dist/server/server/executors/sqlite-executor.d.ts +28 -0
  323. package/dist/server/server/explain/databend-parser.d.ts +16 -0
  324. package/dist/server/server/explain/duckdb-parser.d.ts +28 -0
  325. package/dist/server/server/explain/index.d.ts +9 -0
  326. package/dist/server/server/explain/mysql-parser.d.ts +38 -0
  327. package/dist/server/server/explain/postgres-parser.d.ts +18 -0
  328. package/dist/server/server/explain/snowflake-parser.d.ts +17 -0
  329. package/dist/server/server/explain/sqlite-parser.d.ts +23 -0
  330. package/dist/server/server/filter-cache.d.ts +73 -0
  331. package/dist/server/server/gap-filler.d.ts +42 -0
  332. package/dist/server/server/index.d.ts +36 -0
  333. package/dist/server/server/logical-plan/index.d.ts +14 -0
  334. package/dist/server/server/logical-plan/logical-plan-builder.d.ts +58 -0
  335. package/dist/server/server/logical-plan/logical-planner.d.ts +232 -0
  336. package/dist/server/server/logical-plan/optimiser.d.ts +32 -0
  337. package/dist/server/server/logical-plan/types.d.ts +191 -0
  338. package/dist/server/server/physical-plan/drizzle-plan-builder.d.ts +50 -0
  339. package/dist/server/server/physical-plan/drizzle-sql-builder.d.ts +107 -0
  340. package/dist/server/server/physical-plan/index.d.ts +2 -0
  341. package/dist/server/server/physical-plan/processors/cte-processor.d.ts +6 -0
  342. package/dist/server/server/physical-plan/processors/index.d.ts +6 -0
  343. package/dist/server/server/physical-plan/processors/joins-processor.d.ts +6 -0
  344. package/dist/server/server/physical-plan/processors/predicates-processor.d.ts +6 -0
  345. package/dist/server/server/physical-plan/processors/selection-processor.d.ts +6 -0
  346. package/dist/server/server/physical-plan/processors/shared.d.ts +33 -0
  347. package/dist/server/server/physical-plan/processors/window-processor.d.ts +6 -0
  348. package/dist/server/server/prompts/explain-analysis-prompt.d.ts +47 -0
  349. package/dist/server/server/prompts/index.d.ts +27 -0
  350. package/dist/server/server/prompts/single-step-prompt.d.ts +31 -0
  351. package/dist/server/server/prompts/step0-validation-prompt.d.ts +39 -0
  352. package/dist/server/server/prompts/step1-shape-prompt.d.ts +29 -0
  353. package/dist/server/server/prompts/step2-complete-prompt.d.ts +19 -0
  354. package/dist/server/server/prompts/types.d.ts +37 -0
  355. package/dist/server/server/resolvers/calculated-measure-resolver.d.ts +93 -0
  356. package/dist/server/server/resolvers/index.d.ts +6 -0
  357. package/dist/server/server/resolvers/join-path-resolver.d.ts +152 -0
  358. package/dist/server/server/template-substitution.d.ts +57 -0
  359. package/dist/server/server/types/analysis.d.ts +189 -0
  360. package/dist/server/server/types/cache.d.ts +132 -0
  361. package/dist/server/server/types/core.d.ts +164 -0
  362. package/dist/server/server/types/cube.d.ts +530 -0
  363. package/dist/server/server/types/executor.d.ts +156 -0
  364. package/dist/server/server/types/flow.d.ts +143 -0
  365. package/dist/server/server/types/funnel.d.ts +118 -0
  366. package/dist/server/server/types/index.d.ts +11 -0
  367. package/dist/server/server/types/metadata.d.ts +113 -0
  368. package/dist/server/server/types/query.d.ts +153 -0
  369. package/dist/server/server/types/retention.d.ts +141 -0
  370. package/dist/server/server/types/utils.d.ts +11 -0
  371. package/package.json +6 -6
  372. package/dist/adapters/mcp-transport-BCtjU0lC.cjs +0 -40
  373. package/dist/adapters/mcp-transport-DW_Uks-O.js +0 -579
  374. package/dist/adapters/openai-Bgri5TJc.cjs +0 -16
  375. package/dist/client/chunks/DashboardEditModal-BiJwVv0b.js +0 -6696
  376. package/dist/client/chunks/DashboardEditModal-BiJwVv0b.js.map +0 -1
  377. package/dist/client/chunks/FieldSearchModal-DdcbCwAi.js +0 -2660
  378. package/dist/client/chunks/FieldSearchModal-DdcbCwAi.js.map +0 -1
  379. package/dist/client/chunks/chart-data-table-DT4uBZaq.js.map +0 -1
  380. package/dist/client/chunks/chart-markdown-DEtjn8gx.js +0 -3539
  381. package/dist/client/chunks/chart-markdown-DEtjn8gx.js.map +0 -1
  382. package/dist/client/chunks/syntaxHighlighting-5zHcjn27.js +0 -30
  383. package/dist/client/chunks/syntaxHighlighting-5zHcjn27.js.map +0 -1
  384. package/dist/client/chunks/useDebounce-DGfYXtkm.js.map +0 -1
  385. package/dist/client/chunks/useDirtyStateTracking-KAjwj1Ht.js +0 -66
  386. package/dist/client/chunks/useDirtyStateTracking-KAjwj1Ht.js.map +0 -1
  387. package/dist/client/chunks/utils-D2SCtAkZ.js.map +0 -1
  388. package/dist/client/chunks/vendor-CfR5hJGc.js.map +0 -1
  389. package/dist/server/openai-BwsBio1K.cjs +0 -16
  390. /package/dist/adapters/{express → adapters/express}/index.d.ts +0 -0
  391. /package/dist/adapters/{fastify → adapters/fastify}/index.d.ts +0 -0
  392. /package/dist/adapters/{hono → adapters/hono}/index.d.ts +0 -0
  393. /package/dist/adapters/{locale.d.ts → adapters/locale.d.ts} +0 -0
  394. /package/dist/adapters/{mcp-tools.d.ts → adapters/mcp-tools.d.ts} +0 -0
  395. /package/dist/adapters/{mcp-transport.d.ts → adapters/mcp-transport.d.ts} +0 -0
  396. /package/dist/adapters/{nextjs → adapters/nextjs}/index.d.ts +0 -0
  397. /package/dist/adapters/{types.d.ts → adapters/types.d.ts} +0 -0
  398. /package/dist/adapters/{utils.d.ts → adapters/utils.d.ts} +0 -0
  399. /package/dist/adapters/{anthropic-B_rg0BhK.js → anthropic-CZh4hB-m.js} +0 -0
  400. /package/dist/adapters/{anthropic-BIva8k1r.cjs → anthropic-DG4r1LSm.cjs} +0 -0
  401. /package/dist/adapters/{dist-De5fzUEM.js → dist-CH3hwAUk.js} +0 -0
  402. /package/dist/client/chunks/{rolldown-runtime-CKnJJeip.js → rolldown-runtime-CWhphoD1.js} +0 -0
  403. /package/dist/server/{anthropic-BsNspi1r.js → anthropic-CZh4hB-m.js} +0 -0
  404. /package/dist/server/{anthropic-DsCEX6Fm.cjs → anthropic-DG4r1LSm.cjs} +0 -0
  405. /package/dist/server/{dist-CMWZC51B.js → dist-CH3hwAUk.js} +0 -0
@@ -1,29 +1,29 @@
1
- import { i as e, n as t } from "./rolldown-runtime-CKnJJeip.js";
2
- import { A as n, F as r, P as i, j as a, k as o, x as s, y as c } from "./chart-activity-grid-Bdb8U_NC.js";
3
- import { n as l } from "./chart-config-bar-7v5JVY2y.js";
4
- import { n as u } from "./chart-config-line-BFeCqmKH.js";
5
- import { n as d } from "./chart-config-area-DtYTKZxS.js";
6
- import { n as f } from "./chart-config-pie-6LHtEyMM.js";
7
- import { n as p } from "./chart-config-scatter-DOSpN07Z.js";
8
- import { n as m } from "./chart-config-bubble-BkHm-mfu.js";
9
- import { n as h } from "./chart-config-radar-BuLS6Inn.js";
10
- import { n as g } from "./chart-config-radial-bar-BP0eMohx.js";
11
- import { n as _ } from "./chart-config-tree-map-D8GuAgVB.js";
12
- import { n as v } from "./chart-config-data-table-B_Hw8w2J.js";
13
- import { n as ee } from "./chart-config-activity-grid-Bom99j9m.js";
14
- import { n as y } from "./chart-config-kpi-number-QTQRNgOi.js";
15
- import { n as b } from "./chart-config-kpi-delta-Bf47hGqD.js";
16
- import { n as te } from "./chart-config-kpi-text-BRze2eyh.js";
17
- import { n as ne } from "./chart-config-markdown-EWYckwXv.js";
18
- import { n as re } from "./chart-config-funnel-DL8PSGuL.js";
19
- import { n as ie } from "./chart-config-sankey-CT8oGIGP.js";
20
- import { n as ae } from "./chart-config-sunburst-BSUX_YoB.js";
21
- import { n as oe } from "./chart-config-heat-map-CjudGdui.js";
22
- import { n as se } from "./chart-config-box-plot-BHGv-wqu.js";
23
- import { n as ce } from "./chart-config-waterfall-BDi7BoJP.js";
24
- import { n as le } from "./chart-config-candlestick-D1aaHvTe.js";
25
- import { n as ue } from "./chart-config-measure-profile-B9nIhqKR.js";
26
- import { n as de } from "./chart-config-gauge-BVLxuA3f.js";
1
+ import { i as e, n as t } from "./rolldown-runtime-CWhphoD1.js";
2
+ import { A as n, N as r, P as i, j as a, k as o, x as s, y as c } from "./chart-activity-grid-DmruKPab.js";
3
+ import { n as l } from "./chart-config-bar-_JEGZnAu.js";
4
+ import { n as u } from "./chart-config-line-Db3jDsWc.js";
5
+ import { n as d } from "./chart-config-area-Bq_UsW3x.js";
6
+ import { n as f } from "./chart-config-pie-DD4SmRTF.js";
7
+ import { n as p } from "./chart-config-scatter-DSYTjwRb.js";
8
+ import { n as m } from "./chart-config-bubble-gIoqVyjZ.js";
9
+ import { n as h } from "./chart-config-radar-CC2XAaGr.js";
10
+ import { n as g } from "./chart-config-radial-bar-DmxKx1R0.js";
11
+ import { n as _ } from "./chart-config-tree-map-BI-oQStO.js";
12
+ import { n as v } from "./chart-config-data-table-d7VBY-y_.js";
13
+ import { n as ee } from "./chart-config-activity-grid-D_UX4NHC.js";
14
+ import { n as y } from "./chart-config-kpi-number-Bx-V9a62.js";
15
+ import { n as b } from "./chart-config-kpi-delta-D6BIkHL3.js";
16
+ import { n as te } from "./chart-config-kpi-text-CcqC1u-8.js";
17
+ import { n as ne } from "./chart-config-markdown-BtRIe8JN.js";
18
+ import { n as re } from "./chart-config-funnel-DEYMcxsD.js";
19
+ import { n as ie } from "./chart-config-sankey-BTnWA7EW.js";
20
+ import { n as ae } from "./chart-config-sunburst-Bwjtdf7X.js";
21
+ import { n as oe } from "./chart-config-heat-map-CfRnRNcw.js";
22
+ import { n as se } from "./chart-config-box-plot-DJ-dWWXA.js";
23
+ import { n as ce } from "./chart-config-waterfall-DSnyixbI.js";
24
+ import { n as le } from "./chart-config-candlestick-N6DchAA3.js";
25
+ import { n as ue } from "./chart-config-measure-profile-DxRGa-zf.js";
26
+ import { n as de } from "./chart-config-gauge-DSwC04l0.js";
27
27
  import * as x from "react";
28
28
  import fe, { Suspense as pe, createContext as me, createElement as he, forwardRef as ge, lazy as _e, useCallback as ve, useContext as ye, useEffect as S, useMemo as C, useRef as be, useState as w } from "react";
29
29
  import { jsx as T, jsxs as E } from "react/jsx-runtime";
@@ -155,7 +155,7 @@ function Ae(e, t) {
155
155
  return (t?.queryKeyHashFn || M)(e);
156
156
  }
157
157
  function M(e) {
158
- return JSON.stringify(e, (e, t) => Fe(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
158
+ return JSON.stringify(e, (e, t) => Pe(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
159
159
  }
160
160
  function N(e, t) {
161
161
  return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => N(e[n], t[n])) : !1;
@@ -164,8 +164,8 @@ var je = Object.prototype.hasOwnProperty;
164
164
  function Me(e, t, n = 0) {
165
165
  if (e === t) return e;
166
166
  if (n > 500) return t;
167
- let r = Pe(e) && Pe(t);
168
- if (!r && !(Fe(e) && Fe(t))) return t;
167
+ let r = Ne(e) && Ne(t);
168
+ if (!r && !(Pe(e) && Pe(t))) return t;
169
169
  let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
170
170
  for (let l = 0; l < o; l++) {
171
171
  let o = r ? l : a[l], u = e[o], d = t[o];
@@ -182,30 +182,30 @@ function Me(e, t, n = 0) {
182
182
  }
183
183
  return i === o && c === i ? e : s;
184
184
  }
185
- function Ne(e, t) {
185
+ function P(e, t) {
186
186
  if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
187
187
  for (let n in e) if (e[n] !== t[n]) return !1;
188
188
  return !0;
189
189
  }
190
- function Pe(e) {
190
+ function Ne(e) {
191
191
  return Array.isArray(e) && e.length === Object.keys(e).length;
192
192
  }
193
- function Fe(e) {
194
- if (!Ie(e)) return !1;
193
+ function Pe(e) {
194
+ if (!Fe(e)) return !1;
195
195
  let t = e.constructor;
196
196
  if (t === void 0) return !0;
197
197
  let n = t.prototype;
198
- return !(!Ie(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
198
+ return !(!Fe(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
199
199
  }
200
- function Ie(e) {
200
+ function Fe(e) {
201
201
  return Object.prototype.toString.call(e) === "[object Object]";
202
202
  }
203
- function Le(e) {
203
+ function Ie(e) {
204
204
  return new Promise((t) => {
205
205
  O.setTimeout(t, e);
206
206
  });
207
207
  }
208
- function Re(e, t, n) {
208
+ function Le(e, t, n) {
209
209
  if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
210
210
  if (n.structuralSharing !== !1) {
211
211
  if (process.env.NODE_ENV !== "production") try {
@@ -217,22 +217,22 @@ function Re(e, t, n) {
217
217
  }
218
218
  return t;
219
219
  }
220
- function ze(e, t, n = 0) {
220
+ function Re(e, t, n = 0) {
221
221
  let r = [...e, t];
222
222
  return n && r.length > n ? r.slice(1) : r;
223
223
  }
224
- function Be(e, t, n = 0) {
224
+ function ze(e, t, n = 0) {
225
225
  let r = [t, ...e];
226
226
  return n && r.length > n ? r.slice(0, -1) : r;
227
227
  }
228
- var Ve = /* @__PURE__ */ Symbol();
229
- function He(e, t) {
230
- return process.env.NODE_ENV !== "production" && e.queryFn === Ve && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === Ve ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
228
+ var Be = /* @__PURE__ */ Symbol();
229
+ function Ve(e, t) {
230
+ return process.env.NODE_ENV !== "production" && e.queryFn === Be && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === Be ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
231
231
  }
232
- function Ue(e, t) {
232
+ function He(e, t) {
233
233
  return typeof e == "function" ? e(...t) : !!e;
234
234
  }
235
- function We(e, t, n) {
235
+ function Ue(e, t, n) {
236
236
  let r = !1, i;
237
237
  return Object.defineProperty(e, "signal", {
238
238
  enumerable: !0,
@@ -241,7 +241,7 @@ function We(e, t, n) {
241
241
  }
242
242
  //#endregion
243
243
  //#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
244
- var P = /* @__PURE__ */ (() => {
244
+ var F = /* @__PURE__ */ (() => {
245
245
  let e = () => we;
246
246
  return {
247
247
  isServer() {
@@ -254,7 +254,7 @@ var P = /* @__PURE__ */ (() => {
254
254
  })();
255
255
  //#endregion
256
256
  //#region node_modules/@tanstack/query-core/build/modern/thenable.js
257
- function Ge() {
257
+ function We() {
258
258
  let e, t, n = new Promise((n, r) => {
259
259
  e = n, t = r;
260
260
  });
@@ -276,13 +276,13 @@ function Ge() {
276
276
  }
277
277
  //#endregion
278
278
  //#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
279
- var Ke = Ce;
280
- function qe() {
279
+ var Ge = Ce;
280
+ function Ke() {
281
281
  let e = [], t = 0, n = (e) => {
282
282
  e();
283
283
  }, r = (e) => {
284
284
  e();
285
- }, i = Ke, a = (r) => {
285
+ }, i = Ge, a = (r) => {
286
286
  t ? e.push(r) : i(() => {
287
287
  n(r);
288
288
  });
@@ -324,7 +324,7 @@ function qe() {
324
324
  }
325
325
  };
326
326
  }
327
- var F = qe(), I = new class extends D {
327
+ var I = Ke(), qe = new class extends D {
328
328
  #e = !0;
329
329
  #t;
330
330
  #n;
@@ -362,7 +362,7 @@ function Je(e) {
362
362
  return Math.min(1e3 * 2 ** e, 3e4);
363
363
  }
364
364
  function Ye(e) {
365
- return (e ?? "online") === "online" ? I.isOnline() : !0;
365
+ return (e ?? "online") === "online" ? qe.isOnline() : !0;
366
366
  }
367
367
  var Xe = class extends Error {
368
368
  constructor(e) {
@@ -370,7 +370,7 @@ var Xe = class extends Error {
370
370
  }
371
371
  };
372
372
  function Ze(e) {
373
- let t = !1, n = 0, r, i = Ge(), a = () => i.status !== "pending", o = (t) => {
373
+ let t = !1, n = 0, r, i = We(), a = () => i.status !== "pending", o = (t) => {
374
374
  if (!a()) {
375
375
  let n = new Xe(t);
376
376
  f(n), e.onCancel?.(n);
@@ -379,7 +379,7 @@ function Ze(e) {
379
379
  t = !0;
380
380
  }, c = () => {
381
381
  t = !1;
382
- }, l = () => xe.isFocused() && (e.networkMode === "always" || I.isOnline()) && e.canRun(), u = () => Ye(e.networkMode) && e.canRun(), d = (e) => {
382
+ }, l = () => xe.isFocused() && (e.networkMode === "always" || qe.isOnline()) && e.canRun(), u = () => Ye(e.networkMode) && e.canRun(), d = (e) => {
383
383
  a() || (r?.(), i.resolve(e));
384
384
  }, f = (e) => {
385
385
  a() || (r?.(), i.reject(e));
@@ -399,12 +399,12 @@ function Ze(e) {
399
399
  }
400
400
  Promise.resolve(r).then(d).catch((r) => {
401
401
  if (a()) return;
402
- let i = e.retry ?? (P.isServer() ? 0 : 3), o = e.retryDelay ?? Je, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
402
+ let i = e.retry ?? (F.isServer() ? 0 : 3), o = e.retryDelay ?? Je, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
403
403
  if (t || !c) {
404
404
  f(r);
405
405
  return;
406
406
  }
407
- n++, e.onFail?.(n, r), Le(s).then(() => l() ? void 0 : p()).then(() => {
407
+ n++, e.onFail?.(n, r), Ie(s).then(() => l() ? void 0 : p()).then(() => {
408
408
  t ? f(r) : m();
409
409
  });
410
410
  });
@@ -433,12 +433,74 @@ var Qe = class {
433
433
  }, this.gcTime));
434
434
  }
435
435
  updateGcTime(e) {
436
- this.gcTime = Math.max(this.gcTime || 0, e ?? (P.isServer() ? Infinity : 300 * 1e3));
436
+ this.gcTime = Math.max(this.gcTime || 0, e ?? (F.isServer() ? Infinity : 300 * 1e3));
437
437
  }
438
438
  clearGcTimeout() {
439
439
  this.#e !== void 0 && (O.clearTimeout(this.#e), this.#e = void 0);
440
440
  }
441
- }, $e = class extends Qe {
441
+ };
442
+ //#endregion
443
+ //#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
444
+ function $e(e) {
445
+ return { onFetch: (t, n) => {
446
+ let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
447
+ pages: [],
448
+ pageParams: []
449
+ }, c = 0, l = async () => {
450
+ let n = !1, l = (e) => {
451
+ Ue(e, () => t.signal, () => n = !0);
452
+ }, u = Ve(t.options, t.fetchOptions), d = async (e, r, i) => {
453
+ if (n) return Promise.reject(t.signal.reason);
454
+ if (r == null && e.pages.length) return Promise.resolve(e);
455
+ let a = await u((() => {
456
+ let e = {
457
+ client: t.client,
458
+ queryKey: t.queryKey,
459
+ pageParam: r,
460
+ direction: i ? "backward" : "forward",
461
+ meta: t.options.meta
462
+ };
463
+ return l(e), e;
464
+ })()), { maxPages: o } = t.options, s = i ? ze : Re;
465
+ return {
466
+ pages: s(e.pages, a, o),
467
+ pageParams: s(e.pageParams, r, o)
468
+ };
469
+ };
470
+ if (i && a.length) {
471
+ let e = i === "backward", t = e ? tt : et, n = {
472
+ pages: a,
473
+ pageParams: o
474
+ };
475
+ s = await d(n, t(r, n), e);
476
+ } else {
477
+ let t = e ?? a.length;
478
+ do {
479
+ let e = c === 0 ? o[0] ?? r.initialPageParam : et(r, s);
480
+ if (c > 0 && e == null) break;
481
+ s = await d(s, e), c++;
482
+ } while (c < t);
483
+ }
484
+ return s;
485
+ };
486
+ t.options.persister ? t.fetchFn = () => t.options.persister?.(l, {
487
+ client: t.client,
488
+ queryKey: t.queryKey,
489
+ meta: t.options.meta,
490
+ signal: t.signal
491
+ }, n) : t.fetchFn = l;
492
+ } };
493
+ }
494
+ function et(e, { pages: t, pageParams: n }) {
495
+ let r = t.length - 1;
496
+ return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
497
+ }
498
+ function tt(e, { pages: t, pageParams: n }) {
499
+ return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
500
+ }
501
+ //#endregion
502
+ //#region node_modules/@tanstack/query-core/build/modern/query.js
503
+ var nt = class extends Qe {
442
504
  #e;
443
505
  #t;
444
506
  #n;
@@ -446,52 +508,55 @@ var Qe = class {
446
508
  #i;
447
509
  #a;
448
510
  #o;
511
+ #s;
449
512
  constructor(e) {
450
- super(), this.#o = !1, this.#a = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#r = e.client, this.#n = this.#r.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = nt(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
513
+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = at(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
451
514
  }
452
515
  get meta() {
453
516
  return this.options.meta;
454
517
  }
518
+ get queryType() {
519
+ return this.#e;
520
+ }
455
521
  get promise() {
456
- return this.#i?.promise;
522
+ return this.#a?.promise;
457
523
  }
458
524
  setOptions(e) {
459
525
  if (this.options = {
460
- ...this.#a,
526
+ ...this.#o,
461
527
  ...e
462
- }, this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
463
- let e = nt(this.options);
464
- e.data !== void 0 && (this.setState(tt(e.data, e.dataUpdatedAt)), this.#e = e);
528
+ }, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
529
+ let e = at(this.options);
530
+ e.data !== void 0 && (this.setState(it(e.data, e.dataUpdatedAt)), this.#t = e);
465
531
  }
466
532
  }
467
533
  optionalRemove() {
468
- !this.observers.length && this.state.fetchStatus === "idle" && this.#n.remove(this);
534
+ !this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
469
535
  }
470
536
  setData(e, t) {
471
- let n = Re(this.state.data, e, this.options);
472
- return this.#c({
537
+ let n = Le(this.state.data, e, this.options);
538
+ return this.#l({
473
539
  data: n,
474
540
  type: "success",
475
541
  dataUpdatedAt: t?.updatedAt,
476
542
  manual: t?.manual
477
543
  }), n;
478
544
  }
479
- setState(e, t) {
480
- this.#c({
545
+ setState(e) {
546
+ this.#l({
481
547
  type: "setState",
482
- state: e,
483
- setStateOptions: t
548
+ state: e
484
549
  });
485
550
  }
486
551
  cancel(e) {
487
- let t = this.#i?.promise;
488
- return this.#i?.cancel(e), t ? t.then(k).catch(k) : Promise.resolve();
552
+ let t = this.#a?.promise;
553
+ return this.#a?.cancel(e), t ? t.then(k).catch(k) : Promise.resolve();
489
554
  }
490
555
  destroy() {
491
556
  super.destroy(), this.cancel({ silent: !0 });
492
557
  }
493
558
  get resetState() {
494
- return this.#e;
559
+ return this.#t;
495
560
  }
496
561
  reset() {
497
562
  this.destroy(), this.setState(this.resetState);
@@ -500,7 +565,7 @@ var Qe = class {
500
565
  return this.observers.some((e) => j(e.options.enabled, this) !== !1);
501
566
  }
502
567
  isDisabled() {
503
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Ve || !this.isFetched();
568
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Be || !this.isFetched();
504
569
  }
505
570
  isFetched() {
506
571
  return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
@@ -515,20 +580,20 @@ var Qe = class {
515
580
  return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !De(this.state.dataUpdatedAt, e);
516
581
  }
517
582
  onFocus() {
518
- this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#i?.continue();
583
+ this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
519
584
  }
520
585
  onOnline() {
521
- this.observers.find((e) => e.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), this.#i?.continue();
586
+ this.observers.find((e) => e.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
522
587
  }
523
588
  addObserver(e) {
524
- this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), this.#n.notify({
589
+ this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), this.#r.notify({
525
590
  type: "observerAdded",
526
591
  query: this,
527
592
  observer: e
528
593
  }));
529
594
  }
530
595
  removeObserver(e) {
531
- this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#i && (this.#o || this.#s() ? this.#i.cancel({ revert: !0 }) : this.#i.cancelRetry()), this.scheduleGc()), this.#n.notify({
596
+ this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#a && (this.#s || this.#c() ? this.#a.cancel({ revert: !0 }) : this.#a.cancelRetry()), this.scheduleGc()), this.#r.notify({
532
597
  type: "observerRemoved",
533
598
  query: this,
534
599
  observer: e
@@ -537,16 +602,16 @@ var Qe = class {
537
602
  getObserversCount() {
538
603
  return this.observers.length;
539
604
  }
540
- #s() {
605
+ #c() {
541
606
  return this.state.fetchStatus === "paused" && this.state.status === "pending";
542
607
  }
543
608
  invalidate() {
544
- this.state.isInvalidated || this.#c({ type: "invalidate" });
609
+ this.state.isInvalidated || this.#l({ type: "invalidate" });
545
610
  }
546
611
  async fetch(e, t) {
547
- if (this.state.fetchStatus !== "idle" && this.#i?.status() !== "rejected") {
612
+ if (this.state.fetchStatus !== "idle" && this.#a?.status() !== "rejected") {
548
613
  if (this.state.data !== void 0 && t?.cancelRefetch) this.cancel({ silent: !0 });
549
- else if (this.#i) return this.#i.continueRetry(), this.#i.promise;
614
+ else if (this.#a) return this.#a.continueRetry(), this.#a.promise;
550
615
  }
551
616
  if (e && this.setOptions(e), !this.options.queryFn) {
552
617
  let e = this.observers.find((e) => e.options.queryFn);
@@ -556,53 +621,53 @@ var Qe = class {
556
621
  let n = new AbortController(), r = (e) => {
557
622
  Object.defineProperty(e, "signal", {
558
623
  enumerable: !0,
559
- get: () => (this.#o = !0, n.signal)
624
+ get: () => (this.#s = !0, n.signal)
560
625
  });
561
626
  }, i = () => {
562
- let e = He(this.options, t), n = (() => {
627
+ let e = Ve(this.options, t), n = (() => {
563
628
  let e = {
564
- client: this.#r,
629
+ client: this.#i,
565
630
  queryKey: this.queryKey,
566
631
  meta: this.meta
567
632
  };
568
633
  return r(e), e;
569
634
  })();
570
- return this.#o = !1, this.options.persister ? this.options.persister(e, n, this) : e(n);
635
+ return this.#s = !1, this.options.persister ? this.options.persister(e, n, this) : e(n);
571
636
  }, a = (() => {
572
637
  let e = {
573
638
  fetchOptions: t,
574
639
  options: this.options,
575
640
  queryKey: this.queryKey,
576
- client: this.#r,
641
+ client: this.#i,
577
642
  state: this.state,
578
643
  fetchFn: i
579
644
  };
580
645
  return r(e), e;
581
646
  })();
582
- this.options.behavior?.onFetch(a, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
647
+ (this.#e === "infinite" ? $e(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#l({
583
648
  type: "fetch",
584
649
  meta: a.fetchOptions?.meta
585
- }), this.#i = Ze({
650
+ }), this.#a = Ze({
586
651
  initialPromise: t?.initialPromise,
587
652
  fn: a.fetchFn,
588
653
  onCancel: (e) => {
589
654
  e instanceof Xe && e.revert && this.setState({
590
- ...this.#t,
655
+ ...this.#n,
591
656
  fetchStatus: "idle"
592
657
  }), n.abort();
593
658
  },
594
659
  onFail: (e, t) => {
595
- this.#c({
660
+ this.#l({
596
661
  type: "failed",
597
662
  failureCount: e,
598
663
  error: t
599
664
  });
600
665
  },
601
666
  onPause: () => {
602
- this.#c({ type: "pause" });
667
+ this.#l({ type: "pause" });
603
668
  },
604
669
  onContinue: () => {
605
- this.#c({ type: "continue" });
670
+ this.#l({ type: "continue" });
606
671
  },
607
672
  retry: a.options.retry,
608
673
  retryDelay: a.options.retryDelay,
@@ -610,26 +675,26 @@ var Qe = class {
610
675
  canRun: () => !0
611
676
  });
612
677
  try {
613
- let e = await this.#i.start();
678
+ let e = await this.#a.start();
614
679
  if (e === void 0) throw process.env.NODE_ENV !== "production" && console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`), Error(`${this.queryHash} data is undefined`);
615
- return this.setData(e), this.#n.config.onSuccess?.(e, this), this.#n.config.onSettled?.(e, this.state.error, this), e;
680
+ return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
616
681
  } catch (e) {
617
682
  if (e instanceof Xe) {
618
- if (e.silent) return this.#i.promise;
683
+ if (e.silent) return this.#a.promise;
619
684
  if (e.revert) {
620
685
  if (this.state.data === void 0) throw e;
621
686
  return this.state.data;
622
687
  }
623
688
  }
624
- throw this.#c({
689
+ throw this.#l({
625
690
  type: "error",
626
691
  error: e
627
- }), this.#n.config.onError?.(e, this), this.#n.config.onSettled?.(this.state.data, e, this), e;
692
+ }), this.#r.config.onError?.(e, this), this.#r.config.onSettled?.(this.state.data, e, this), e;
628
693
  } finally {
629
694
  this.scheduleGc();
630
695
  }
631
696
  }
632
- #c(e) {
697
+ #l(e) {
633
698
  let t = (t) => {
634
699
  switch (e.type) {
635
700
  case "failed": return {
@@ -647,13 +712,13 @@ var Qe = class {
647
712
  };
648
713
  case "fetch": return {
649
714
  ...t,
650
- ...et(t.data, this.options),
715
+ ...rt(t.data, this.options),
651
716
  fetchMeta: e.meta ?? null
652
717
  };
653
718
  case "success":
654
719
  let n = {
655
720
  ...t,
656
- ...tt(e.data, e.dataUpdatedAt),
721
+ ...it(e.data, e.dataUpdatedAt),
657
722
  dataUpdateCount: t.dataUpdateCount + 1,
658
723
  ...!e.manual && {
659
724
  fetchStatus: "idle",
@@ -661,7 +726,7 @@ var Qe = class {
661
726
  fetchFailureReason: null
662
727
  }
663
728
  };
664
- return this.#t = e.manual ? n : void 0, n;
729
+ return this.#n = e.manual ? n : void 0, n;
665
730
  case "error":
666
731
  let r = e.error;
667
732
  return {
@@ -685,10 +750,10 @@ var Qe = class {
685
750
  };
686
751
  }
687
752
  };
688
- this.state = t(this.state), F.batch(() => {
753
+ this.state = t(this.state), I.batch(() => {
689
754
  this.observers.forEach((e) => {
690
755
  e.onQueryUpdate();
691
- }), this.#n.notify({
756
+ }), this.#r.notify({
692
757
  query: this,
693
758
  type: "updated",
694
759
  action: e
@@ -696,7 +761,7 @@ var Qe = class {
696
761
  });
697
762
  }
698
763
  };
699
- function et(e, t) {
764
+ function rt(e, t) {
700
765
  return {
701
766
  fetchFailureCount: 0,
702
767
  fetchFailureReason: null,
@@ -707,7 +772,7 @@ function et(e, t) {
707
772
  }
708
773
  };
709
774
  }
710
- function tt(e, t) {
775
+ function it(e, t) {
711
776
  return {
712
777
  data: e,
713
778
  dataUpdatedAt: t ?? Date.now(),
@@ -716,7 +781,7 @@ function tt(e, t) {
716
781
  status: "success"
717
782
  };
718
783
  }
719
- function nt(e) {
784
+ function at(e) {
720
785
  let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
721
786
  return {
722
787
  data: t,
@@ -735,9 +800,9 @@ function nt(e) {
735
800
  }
736
801
  //#endregion
737
802
  //#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
738
- var rt = class extends D {
803
+ var ot = class extends D {
739
804
  constructor(e, t) {
740
- super(), this.options = t, this.#e = e, this.#s = null, this.#o = Ge(), this.bindMethods(), this.setOptions(t);
805
+ super(), this.options = t, this.#e = e, this.#s = null, this.#o = We(), this.bindMethods(), this.setOptions(t);
741
806
  }
742
807
  #e;
743
808
  #t = void 0;
@@ -758,16 +823,16 @@ var rt = class extends D {
758
823
  this.refetch = this.refetch.bind(this);
759
824
  }
760
825
  onSubscribe() {
761
- this.listeners.size === 1 && (this.#t.addObserver(this), at(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
826
+ this.listeners.size === 1 && (this.#t.addObserver(this), ct(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
762
827
  }
763
828
  onUnsubscribe() {
764
829
  this.hasListeners() || this.destroy();
765
830
  }
766
831
  shouldFetchOnReconnect() {
767
- return ot(this.#t, this.options, this.options.refetchOnReconnect);
832
+ return lt(this.#t, this.options, this.options.refetchOnReconnect);
768
833
  }
769
834
  shouldFetchOnWindowFocus() {
770
- return ot(this.#t, this.options, this.options.refetchOnWindowFocus);
835
+ return lt(this.#t, this.options, this.options.refetchOnWindowFocus);
771
836
  }
772
837
  destroy() {
773
838
  this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
@@ -775,19 +840,19 @@ var rt = class extends D {
775
840
  setOptions(e) {
776
841
  let t = this.options, n = this.#t;
777
842
  if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof j(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
778
- this.#S(), this.#t.setOptions(this.options), t._defaulted && !Ne(this.options, t) && this.#e.getQueryCache().notify({
843
+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !P(this.options, t) && this.#e.getQueryCache().notify({
779
844
  type: "observerOptionsUpdated",
780
845
  query: this.#t,
781
846
  observer: this
782
847
  });
783
848
  let r = this.hasListeners();
784
- r && st(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || j(this.options.enabled, this.#t) !== j(t.enabled, this.#t) || A(this.options.staleTime, this.#t) !== A(t.staleTime, this.#t)) && this.#g();
849
+ r && ut(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || j(this.options.enabled, this.#t) !== j(t.enabled, this.#t) || A(this.options.staleTime, this.#t) !== A(t.staleTime, this.#t)) && this.#g();
785
850
  let i = this.#_();
786
851
  r && (this.#t !== n || j(this.options.enabled, this.#t) !== j(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
787
852
  }
788
853
  getOptimisticResult(e) {
789
854
  let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
790
- return lt(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
855
+ return ft(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
791
856
  }
792
857
  getCurrentResult() {
793
858
  return this.#r;
@@ -822,7 +887,7 @@ var rt = class extends D {
822
887
  #g() {
823
888
  this.#b();
824
889
  let e = A(this.options.staleTime, this.#t);
825
- if (P.isServer() || this.#r.isStale || !Ee(e)) return;
890
+ if (F.isServer() || this.#r.isStale || !Ee(e)) return;
826
891
  let t = De(this.#r.dataUpdatedAt, e) + 1;
827
892
  this.#d = O.setTimeout(() => {
828
893
  this.#r.isStale || this.updateResult();
@@ -832,7 +897,7 @@ var rt = class extends D {
832
897
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
833
898
  }
834
899
  #v(e) {
835
- this.#x(), this.#p = e, !(P.isServer() || j(this.options.enabled, this.#t) === !1 || !Ee(this.#p) || this.#p === 0) && (this.#f = O.setInterval(() => {
900
+ this.#x(), this.#p = e, !(F.isServer() || j(this.options.enabled, this.#t) === !1 || !Ee(this.#p) || this.#p === 0) && (this.#f = O.setInterval(() => {
836
901
  (this.options.refetchIntervalInBackground || xe.isFocused()) && this.#h();
837
902
  }, this.#p));
838
903
  }
@@ -848,10 +913,10 @@ var rt = class extends D {
848
913
  createResult(e, t) {
849
914
  let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
850
915
  if (t._optimisticResults) {
851
- let i = this.hasListeners(), a = !i && at(e, t), o = i && st(e, n, t, r);
916
+ let i = this.hasListeners(), a = !i && ct(e, t), o = i && ut(e, n, t, r);
852
917
  (a || o) && (l = {
853
918
  ...l,
854
- ...et(c.data, e.options)
919
+ ...rt(c.data, e.options)
855
920
  }), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
856
921
  }
857
922
  let { error: f, errorUpdatedAt: p, status: m } = l;
@@ -859,11 +924,11 @@ var rt = class extends D {
859
924
  let h = !1;
860
925
  if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
861
926
  let e;
862
- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = Re(i?.data, e, t), u = !0);
927
+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = Le(i?.data, e, t), u = !0);
863
928
  }
864
929
  if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
865
930
  else try {
866
- this.#c = t.select, d = t.select(d), d = Re(i?.data, d, t), this.#l = d, this.#s = null;
931
+ this.#c = t.select, d = t.select(d), d = Le(i?.data, d, t), this.#l = d, this.#s = null;
867
932
  } catch (e) {
868
933
  this.#s = e;
869
934
  }
@@ -891,7 +956,7 @@ var rt = class extends D {
891
956
  isPaused: l.fetchStatus === "paused",
892
957
  isPlaceholderData: u,
893
958
  isRefetchError: v && y,
894
- isStale: ct(e, t),
959
+ isStale: dt(e, t),
895
960
  refetch: this.refetch,
896
961
  promise: this.#o,
897
962
  isEnabled: j(t.enabled, e) !== !1
@@ -900,7 +965,7 @@ var rt = class extends D {
900
965
  let t = b.data !== void 0, r = b.status === "error" && !t, i = (e) => {
901
966
  r ? e.reject(b.error) : t && e.resolve(b.data);
902
967
  }, a = () => {
903
- i(this.#o = b.promise = Ge());
968
+ i(this.#o = b.promise = We());
904
969
  }, o = this.#o;
905
970
  switch (o.status) {
906
971
  case "pending":
@@ -918,7 +983,7 @@ var rt = class extends D {
918
983
  }
919
984
  updateResult() {
920
985
  let e = this.#r, t = this.createResult(this.#t, this.options);
921
- this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !Ne(t, e) && (this.#r = t, this.#C({ listeners: (() => {
986
+ this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !P(t, e) && (this.#r = t, this.#C({ listeners: (() => {
922
987
  if (!e) return !0;
923
988
  let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
924
989
  if (n === "all" || !n && !this.#m.size) return !0;
@@ -939,7 +1004,7 @@ var rt = class extends D {
939
1004
  this.updateResult(), this.hasListeners() && this.#y();
940
1005
  }
941
1006
  #C(e) {
942
- F.batch(() => {
1007
+ I.batch(() => {
943
1008
  e.listeners && this.listeners.forEach((e) => {
944
1009
  e(this.#r);
945
1010
  }), this.#e.getQueryCache().notify({
@@ -949,86 +1014,27 @@ var rt = class extends D {
949
1014
  });
950
1015
  }
951
1016
  };
952
- function it(e, t) {
953
- return j(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
1017
+ function st(e, t) {
1018
+ return j(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && j(t.retryOnMount, e) === !1);
954
1019
  }
955
- function at(e, t) {
956
- return it(e, t) || e.state.data !== void 0 && ot(e, t, t.refetchOnMount);
1020
+ function ct(e, t) {
1021
+ return st(e, t) || e.state.data !== void 0 && lt(e, t, t.refetchOnMount);
957
1022
  }
958
- function ot(e, t, n) {
1023
+ function lt(e, t, n) {
959
1024
  if (j(t.enabled, e) !== !1 && A(t.staleTime, e) !== "static") {
960
1025
  let r = typeof n == "function" ? n(e) : n;
961
- return r === "always" || r !== !1 && ct(e, t);
1026
+ return r === "always" || r !== !1 && dt(e, t);
962
1027
  }
963
1028
  return !1;
964
1029
  }
965
- function st(e, t, n, r) {
966
- return (e !== t || j(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && ct(e, n);
1030
+ function ut(e, t, n, r) {
1031
+ return (e !== t || j(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && dt(e, n);
967
1032
  }
968
- function ct(e, t) {
1033
+ function dt(e, t) {
969
1034
  return j(t.enabled, e) !== !1 && e.isStaleByTime(A(t.staleTime, e));
970
1035
  }
971
- function lt(e, t) {
972
- return !Ne(e.getCurrentResult(), t);
973
- }
974
- //#endregion
975
- //#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
976
- function ut(e) {
977
- return { onFetch: (t, n) => {
978
- let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
979
- pages: [],
980
- pageParams: []
981
- }, c = 0, l = async () => {
982
- let n = !1, l = (e) => {
983
- We(e, () => t.signal, () => n = !0);
984
- }, u = He(t.options, t.fetchOptions), d = async (e, r, i) => {
985
- if (n) return Promise.reject();
986
- if (r == null && e.pages.length) return Promise.resolve(e);
987
- let a = await u((() => {
988
- let e = {
989
- client: t.client,
990
- queryKey: t.queryKey,
991
- pageParam: r,
992
- direction: i ? "backward" : "forward",
993
- meta: t.options.meta
994
- };
995
- return l(e), e;
996
- })()), { maxPages: o } = t.options, s = i ? Be : ze;
997
- return {
998
- pages: s(e.pages, a, o),
999
- pageParams: s(e.pageParams, r, o)
1000
- };
1001
- };
1002
- if (i && a.length) {
1003
- let e = i === "backward", t = e ? ft : dt, n = {
1004
- pages: a,
1005
- pageParams: o
1006
- };
1007
- s = await d(n, t(r, n), e);
1008
- } else {
1009
- let t = e ?? a.length;
1010
- do {
1011
- let e = c === 0 ? o[0] ?? r.initialPageParam : dt(r, s);
1012
- if (c > 0 && e == null) break;
1013
- s = await d(s, e), c++;
1014
- } while (c < t);
1015
- }
1016
- return s;
1017
- };
1018
- t.options.persister ? t.fetchFn = () => t.options.persister?.(l, {
1019
- client: t.client,
1020
- queryKey: t.queryKey,
1021
- meta: t.options.meta,
1022
- signal: t.signal
1023
- }, n) : t.fetchFn = l;
1024
- } };
1025
- }
1026
- function dt(e, { pages: t, pageParams: n }) {
1027
- let r = t.length - 1;
1028
- return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
1029
- }
1030
- function ft(e, { pages: t, pageParams: n }) {
1031
- return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
1036
+ function ft(e, t) {
1037
+ return !P(e.getCurrentResult(), t);
1032
1038
  }
1033
1039
  //#endregion
1034
1040
  //#region node_modules/@tanstack/query-core/build/modern/mutation.js
@@ -1191,7 +1197,7 @@ var pt = class extends Qe {
1191
1197
  };
1192
1198
  }
1193
1199
  };
1194
- this.state = t(this.state), F.batch(() => {
1200
+ this.state = t(this.state), I.batch(() => {
1195
1201
  this.#t.forEach((t) => {
1196
1202
  t.onMutationUpdate(e);
1197
1203
  }), this.#n.notify({
@@ -1236,7 +1242,7 @@ var ht = class extends D {
1236
1242
  }
1237
1243
  add(e) {
1238
1244
  this.#e.add(e);
1239
- let t = L(e);
1245
+ let t = gt(e);
1240
1246
  if (typeof t == "string") {
1241
1247
  let n = this.#t.get(t);
1242
1248
  n ? n.push(e) : this.#t.set(t, [e]);
@@ -1248,7 +1254,7 @@ var ht = class extends D {
1248
1254
  }
1249
1255
  remove(e) {
1250
1256
  if (this.#e.delete(e)) {
1251
- let t = L(e);
1257
+ let t = gt(e);
1252
1258
  if (typeof t == "string") {
1253
1259
  let n = this.#t.get(t);
1254
1260
  if (n) if (n.length > 1) {
@@ -1263,18 +1269,18 @@ var ht = class extends D {
1263
1269
  });
1264
1270
  }
1265
1271
  canRun(e) {
1266
- let t = L(e);
1272
+ let t = gt(e);
1267
1273
  if (typeof t == "string") {
1268
1274
  let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
1269
1275
  return !n || n === e;
1270
1276
  } else return !0;
1271
1277
  }
1272
1278
  runNext(e) {
1273
- let t = L(e);
1279
+ let t = gt(e);
1274
1280
  return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
1275
1281
  }
1276
1282
  clear() {
1277
- F.batch(() => {
1283
+ I.batch(() => {
1278
1284
  this.#e.forEach((e) => {
1279
1285
  this.notify({
1280
1286
  type: "removed",
@@ -1297,7 +1303,7 @@ var ht = class extends D {
1297
1303
  return this.getAll().filter((t) => ke(e, t));
1298
1304
  }
1299
1305
  notify(e) {
1300
- F.batch(() => {
1306
+ I.batch(() => {
1301
1307
  this.listeners.forEach((t) => {
1302
1308
  t(e);
1303
1309
  });
@@ -1305,22 +1311,22 @@ var ht = class extends D {
1305
1311
  }
1306
1312
  resumePausedMutations() {
1307
1313
  let e = this.getAll().filter((e) => e.state.isPaused);
1308
- return F.batch(() => Promise.all(e.map((e) => e.continue().catch(k))));
1314
+ return I.batch(() => Promise.all(e.map((e) => e.continue().catch(k))));
1309
1315
  }
1310
1316
  };
1311
- function L(e) {
1317
+ function gt(e) {
1312
1318
  return e.options.scope?.id;
1313
1319
  }
1314
1320
  //#endregion
1315
1321
  //#region node_modules/@tanstack/query-core/build/modern/queryCache.js
1316
- var gt = class extends D {
1322
+ var _t = class extends D {
1317
1323
  constructor(e = {}) {
1318
1324
  super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
1319
1325
  }
1320
1326
  #e;
1321
1327
  build(e, t, n) {
1322
1328
  let r = t.queryKey, i = t.queryHash ?? Ae(r, t), a = this.get(i);
1323
- return a || (a = new $e({
1329
+ return a || (a = new nt({
1324
1330
  client: e,
1325
1331
  queryKey: r,
1326
1332
  queryHash: i,
@@ -1343,7 +1349,7 @@ var gt = class extends D {
1343
1349
  }));
1344
1350
  }
1345
1351
  clear() {
1346
- F.batch(() => {
1352
+ I.batch(() => {
1347
1353
  this.getAll().forEach((e) => {
1348
1354
  this.remove(e);
1349
1355
  });
@@ -1367,27 +1373,27 @@ var gt = class extends D {
1367
1373
  return Object.keys(e).length > 0 ? t.filter((t) => Oe(e, t)) : t;
1368
1374
  }
1369
1375
  notify(e) {
1370
- F.batch(() => {
1376
+ I.batch(() => {
1371
1377
  this.listeners.forEach((t) => {
1372
1378
  t(e);
1373
1379
  });
1374
1380
  });
1375
1381
  }
1376
1382
  onFocus() {
1377
- F.batch(() => {
1383
+ I.batch(() => {
1378
1384
  this.getAll().forEach((e) => {
1379
1385
  e.onFocus();
1380
1386
  });
1381
1387
  });
1382
1388
  }
1383
1389
  onOnline() {
1384
- F.batch(() => {
1390
+ I.batch(() => {
1385
1391
  this.getAll().forEach((e) => {
1386
1392
  e.onOnline();
1387
1393
  });
1388
1394
  });
1389
1395
  }
1390
- }, _t = class {
1396
+ }, vt = class {
1391
1397
  #e;
1392
1398
  #t;
1393
1399
  #n;
@@ -1397,12 +1403,12 @@ var gt = class extends D {
1397
1403
  #o;
1398
1404
  #s;
1399
1405
  constructor(e = {}) {
1400
- this.#e = e.queryCache || new gt(), this.#t = e.mutationCache || new ht(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
1406
+ this.#e = e.queryCache || new _t(), this.#t = e.mutationCache || new ht(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
1401
1407
  }
1402
1408
  mount() {
1403
1409
  this.#a++, this.#a === 1 && (this.#o = xe.subscribe(async (e) => {
1404
1410
  e && (await this.resumePausedMutations(), this.#e.onFocus());
1405
- }), this.#s = I.subscribe(async (e) => {
1411
+ }), this.#s = qe.subscribe(async (e) => {
1406
1412
  e && (await this.resumePausedMutations(), this.#e.onOnline());
1407
1413
  }));
1408
1414
  }
@@ -1440,7 +1446,7 @@ var gt = class extends D {
1440
1446
  });
1441
1447
  }
1442
1448
  setQueriesData(e, t, n) {
1443
- return F.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
1449
+ return I.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
1444
1450
  }
1445
1451
  getQueryState(e) {
1446
1452
  let t = this.defaultQueryOptions({ queryKey: e });
@@ -1448,7 +1454,7 @@ var gt = class extends D {
1448
1454
  }
1449
1455
  removeQueries(e) {
1450
1456
  let t = this.#e;
1451
- F.batch(() => {
1457
+ I.batch(() => {
1452
1458
  t.findAll(e).forEach((e) => {
1453
1459
  t.remove(e);
1454
1460
  });
@@ -1456,7 +1462,7 @@ var gt = class extends D {
1456
1462
  }
1457
1463
  resetQueries(e, t) {
1458
1464
  let n = this.#e;
1459
- return F.batch(() => (n.findAll(e).forEach((e) => {
1465
+ return I.batch(() => (n.findAll(e).forEach((e) => {
1460
1466
  e.reset();
1461
1467
  }), this.refetchQueries({
1462
1468
  type: "active",
@@ -1467,11 +1473,11 @@ var gt = class extends D {
1467
1473
  let n = {
1468
1474
  revert: !0,
1469
1475
  ...t
1470
- }, r = F.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
1476
+ }, r = I.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
1471
1477
  return Promise.all(r).then(k).catch(k);
1472
1478
  }
1473
1479
  invalidateQueries(e, t = {}) {
1474
- return F.batch(() => (this.#e.findAll(e).forEach((e) => {
1480
+ return I.batch(() => (this.#e.findAll(e).forEach((e) => {
1475
1481
  e.invalidate();
1476
1482
  }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
1477
1483
  ...e,
@@ -1482,7 +1488,7 @@ var gt = class extends D {
1482
1488
  let n = {
1483
1489
  ...t,
1484
1490
  cancelRefetch: t.cancelRefetch ?? !0
1485
- }, r = F.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
1491
+ }, r = I.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
1486
1492
  let t = e.fetch(void 0, n);
1487
1493
  return n.throwOnError || (t = t.catch(k)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
1488
1494
  }));
@@ -1498,16 +1504,16 @@ var gt = class extends D {
1498
1504
  return this.fetchQuery(e).then(k).catch(k);
1499
1505
  }
1500
1506
  fetchInfiniteQuery(e) {
1501
- return e.behavior = ut(e.pages), this.fetchQuery(e);
1507
+ return e._type = "infinite", this.fetchQuery(e);
1502
1508
  }
1503
1509
  prefetchInfiniteQuery(e) {
1504
1510
  return this.fetchInfiniteQuery(e).then(k).catch(k);
1505
1511
  }
1506
1512
  ensureInfiniteQueryData(e) {
1507
- return e.behavior = ut(e.pages), this.ensureQueryData(e);
1513
+ return e._type = "infinite", this.ensureQueryData(e);
1508
1514
  }
1509
1515
  resumePausedMutations() {
1510
- return I.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1516
+ return qe.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1511
1517
  }
1512
1518
  getQueryCache() {
1513
1519
  return this.#e;
@@ -1553,7 +1559,7 @@ var gt = class extends D {
1553
1559
  ...e,
1554
1560
  _defaulted: !0
1555
1561
  };
1556
- return t.queryHash ||= Ae(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Ve && (t.enabled = !1), t;
1562
+ return t.queryHash ||= Ae(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Be && (t.enabled = !1), t;
1557
1563
  }
1558
1564
  defaultMutationOptions(e) {
1559
1565
  return e?._defaulted ? e : {
@@ -1566,20 +1572,20 @@ var gt = class extends D {
1566
1572
  clear() {
1567
1573
  this.#e.clear(), this.#t.clear();
1568
1574
  }
1569
- }, vt = x.createContext(void 0), yt = (e) => {
1570
- let t = x.useContext(vt);
1575
+ }, yt = x.createContext(void 0), bt = (e) => {
1576
+ let t = x.useContext(yt);
1571
1577
  if (e) return e;
1572
1578
  if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
1573
1579
  return t;
1574
- }, bt = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {
1580
+ }, xt = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {
1575
1581
  e.unmount();
1576
- }), [e]), /* @__PURE__ */ T(vt.Provider, {
1582
+ }), [e]), /* @__PURE__ */ T(yt.Provider, {
1577
1583
  value: e,
1578
1584
  children: t
1579
- })), xt = x.createContext(!1), St = () => x.useContext(xt);
1585
+ })), St = x.createContext(!1), Ct = () => x.useContext(St);
1580
1586
  //#endregion
1581
1587
  //#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
1582
- function Ct() {
1588
+ function wt() {
1583
1589
  let e = !1;
1584
1590
  return {
1585
1591
  clearReset: () => {
@@ -1591,55 +1597,57 @@ function Ct() {
1591
1597
  isReset: () => e
1592
1598
  };
1593
1599
  }
1594
- var wt = x.createContext(Ct()), Tt = () => x.useContext(wt), Et = (e, t, n) => {
1595
- let r = n?.state.error && typeof e.throwOnError == "function" ? Ue(e.throwOnError, [n.state.error, n]) : e.throwOnError;
1600
+ var Tt = x.createContext(wt()), Et = () => x.useContext(Tt), Dt = (e, t, n) => {
1601
+ let r = n?.state.error && typeof e.throwOnError == "function" ? He(e.throwOnError, [n.state.error, n]) : e.throwOnError;
1596
1602
  (e.suspense || e.experimental_prefetchInRender || r) && (t.isReset() || (e.retryOnMount = !1));
1597
- }, Dt = (e) => {
1603
+ }, Ot = (e) => {
1598
1604
  x.useEffect(() => {
1599
1605
  e.clearReset();
1600
1606
  }, [e]);
1601
- }, Ot = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Ue(n, [e.error, r])), kt = (e) => {
1607
+ }, kt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || He(n, [e.error, r])), At = (e) => {
1602
1608
  if (e.suspense) {
1603
1609
  let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
1604
1610
  e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
1605
1611
  }
1606
- }, At = (e, t) => e.isLoading && e.isFetching && !t, jt = (e, t) => e?.suspense && t.isPending, Mt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
1612
+ }, jt = (e, t) => e.isLoading && e.isFetching && !t, Mt = (e, t) => e?.suspense && t.isPending, Nt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
1607
1613
  n.clearReset();
1608
1614
  });
1609
1615
  //#endregion
1610
1616
  //#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
1611
- function Nt(e, t, n) {
1617
+ function Pt(e, t, n) {
1612
1618
  if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e))) throw Error("Bad argument type. Starting with v5, only the \"Object\" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object");
1613
- let r = St(), i = Tt(), a = yt(n), o = a.defaultQueryOptions(e);
1619
+ let r = Ct(), i = Et(), a = bt(n), o = a.defaultQueryOptions(e);
1614
1620
  a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);
1615
1621
  let s = a.getQueryCache().get(o.queryHash);
1616
- process.env.NODE_ENV !== "production" && (o.queryFn || console.error(`[${o.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)), o._optimisticResults = r ? "isRestoring" : "optimistic", kt(o), Et(o, i, s), Dt(i);
1617
- let c = !a.getQueryCache().get(o.queryHash), [l] = x.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && e.subscribed !== !1;
1622
+ process.env.NODE_ENV !== "production" && (o.queryFn || console.error(`[${o.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`));
1623
+ let c = e.subscribed !== !1;
1624
+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, At(o), Dt(o, i, s), Ot(i);
1625
+ let l = !a.getQueryCache().get(o.queryHash), [u] = x.useState(() => new t(a, o)), d = u.getOptimisticResult(o), f = !r && c;
1618
1626
  if (x.useSyncExternalStore(x.useCallback((e) => {
1619
- let t = d ? l.subscribe(F.batchCalls(e)) : k;
1620
- return l.updateResult(), t;
1621
- }, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), x.useEffect(() => {
1622
- l.setOptions(o);
1623
- }, [o, l]), jt(o, u)) throw Mt(o, l, i);
1624
- if (Ot({
1625
- result: u,
1627
+ let t = f ? u.subscribe(I.batchCalls(e)) : k;
1628
+ return u.updateResult(), t;
1629
+ }, [u, f]), () => u.getCurrentResult(), () => u.getCurrentResult()), x.useEffect(() => {
1630
+ u.setOptions(o);
1631
+ }, [o, u]), Mt(o, d)) throw Nt(o, u, i);
1632
+ if (kt({
1633
+ result: d,
1626
1634
  errorResetBoundary: i,
1627
1635
  throwOnError: o.throwOnError,
1628
1636
  query: s,
1629
1637
  suspense: o.suspense
1630
- })) throw u.error;
1631
- return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, u), o.experimental_prefetchInRender && !P.isServer() && At(u, r) && (c ? Mt(o, l, i) : s?.promise)?.catch(k).finally(() => {
1632
- l.updateResult();
1633
- }), o.notifyOnChangeProps ? u : l.trackResult(u);
1638
+ })) throw d.error;
1639
+ return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, d), o.experimental_prefetchInRender && !F.isServer() && jt(d, r) && (l ? Nt(o, u, i) : s?.promise)?.catch(k).finally(() => {
1640
+ u.updateResult();
1641
+ }), o.notifyOnChangeProps ? d : u.trackResult(d);
1634
1642
  }
1635
1643
  //#endregion
1636
1644
  //#region node_modules/@tanstack/react-query/build/modern/useQuery.js
1637
- function Pt(e, t) {
1638
- return Nt(e, rt, t);
1645
+ function Ft(e, t) {
1646
+ return Pt(e, ot, t);
1639
1647
  }
1640
1648
  //#endregion
1641
1649
  //#region src/client/client/CubeClient.ts
1642
- var Ft = class {
1650
+ var It = class {
1643
1651
  apiUrl;
1644
1652
  headers;
1645
1653
  credentials;
@@ -1670,7 +1678,7 @@ var Ft = class {
1670
1678
  } catch {}
1671
1679
  throw Error(e);
1672
1680
  }
1673
- return new It(await o.json());
1681
+ return new Lt(await o.json());
1674
1682
  }
1675
1683
  async meta() {
1676
1684
  let e = `${this.apiUrl}/meta`, t = await fetch(e, {
@@ -1760,14 +1768,14 @@ var Ft = class {
1760
1768
  throw Error(e);
1761
1769
  }
1762
1770
  return (await i.json()).results.map((e) => !e.success && e.error ? {
1763
- ...new It({
1771
+ ...new Lt({
1764
1772
  data: [],
1765
1773
  annotation: {}
1766
1774
  }),
1767
1775
  error: e.error
1768
- } : new It(e));
1776
+ } : new Lt(e));
1769
1777
  }
1770
- }, It = class {
1778
+ }, Lt = class {
1771
1779
  loadResponse;
1772
1780
  constructor(e) {
1773
1781
  this.loadResponse = e;
@@ -1788,12 +1796,12 @@ var Ft = class {
1788
1796
  return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].cache : this.loadResponse.cache;
1789
1797
  }
1790
1798
  };
1791
- function Lt(e, t = {}) {
1792
- return new Ft(e, t);
1799
+ function Rt(e, t = {}) {
1800
+ return new It(e, t);
1793
1801
  }
1794
1802
  //#endregion
1795
1803
  //#region src/client/client/BatchCoordinator.ts
1796
- var Rt = class {
1804
+ var zt = class {
1797
1805
  queue = [];
1798
1806
  flushScheduled = !1;
1799
1807
  batchExecutor;
@@ -1836,8 +1844,8 @@ var Rt = class {
1836
1844
  clear() {
1837
1845
  this.queue = [], this.flushScheduled = !1;
1838
1846
  }
1839
- }, zt = me(null);
1840
- function Bt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatching: i = !0, batchDelayMs: a = 50, children: o }) {
1847
+ }, Bt = me(null);
1848
+ function Vt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatching: i = !0, batchDelayMs: a = 50, children: o }) {
1841
1849
  let s = C(() => ({
1842
1850
  apiOptions: e,
1843
1851
  token: t
@@ -1851,7 +1859,7 @@ function Bt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatchin
1851
1859
  ...u.apiOptions.headers ?? {},
1852
1860
  "X-DC-Locale": r
1853
1861
  }
1854
- } : u.apiOptions, [u.apiOptions, r]), f = C(() => Lt(u.token, d), [d, u.token]), p = C(() => i ? new Rt((e) => f.batchLoad(e), a) : null, [
1862
+ } : u.apiOptions, [u.apiOptions, r]), f = C(() => Rt(u.token, d), [d, u.token]), p = C(() => i ? new zt((e) => f.batchLoad(e), a) : null, [
1855
1863
  i,
1856
1864
  f,
1857
1865
  a
@@ -1875,20 +1883,20 @@ function Bt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatchin
1875
1883
  p,
1876
1884
  i
1877
1885
  ]);
1878
- return /* @__PURE__ */ T(zt.Provider, {
1886
+ return /* @__PURE__ */ T(Bt.Provider, {
1879
1887
  value: h,
1880
1888
  children: o
1881
1889
  });
1882
1890
  }
1883
- function Vt() {
1884
- let e = ye(zt);
1891
+ function Ht() {
1892
+ let e = ye(Bt);
1885
1893
  if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
1886
1894
  return e;
1887
1895
  }
1888
1896
  //#endregion
1889
1897
  //#region src/client/hooks/queries/useCubeMetaQuery.ts
1890
- var Ht = ["cube", "meta"];
1891
- function Ut(e) {
1898
+ var Ut = ["cube", "meta"];
1899
+ function Wt(e) {
1892
1900
  let t = {};
1893
1901
  return e.cubes.forEach((e) => {
1894
1902
  e.measures.forEach((e) => {
@@ -1900,14 +1908,14 @@ function Ut(e) {
1900
1908
  });
1901
1909
  }), t;
1902
1910
  }
1903
- function Wt(e = {}) {
1904
- let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = Vt(), i = yt(), a = Pt({
1905
- queryKey: Ht,
1911
+ function Gt(e = {}) {
1912
+ let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = Ht(), i = bt(), a = Ft({
1913
+ queryKey: Ut,
1906
1914
  queryFn: async () => {
1907
1915
  let e = await r.meta();
1908
1916
  return {
1909
1917
  meta: e,
1910
- labelMap: Ut(e)
1918
+ labelMap: Wt(e)
1911
1919
  };
1912
1920
  },
1913
1921
  enabled: t,
@@ -1921,15 +1929,15 @@ function Wt(e = {}) {
1921
1929
  isFetching: a.isFetching,
1922
1930
  error: a.error,
1923
1931
  refetch: () => {
1924
- i.invalidateQueries({ queryKey: Ht });
1932
+ i.invalidateQueries({ queryKey: Ut });
1925
1933
  },
1926
1934
  getFieldLabel: (e) => s[e] || e
1927
1935
  };
1928
1936
  }
1929
1937
  //#endregion
1930
1938
  //#region src/client/utils/thumbnail.ts
1931
- var R = null, Gt = !1;
1932
- function Kt(e, t, n, r, i) {
1939
+ var Kt = null, qt = !1;
1940
+ function Jt(e, t, n, r, i) {
1933
1941
  return new Promise((a, o) => {
1934
1942
  let s = new Image();
1935
1943
  s.onload = () => {
@@ -1946,26 +1954,26 @@ function Kt(e, t, n, r, i) {
1946
1954
  }, s.onerror = () => o(/* @__PURE__ */ Error("Failed to load image for resizing")), s.src = e;
1947
1955
  });
1948
1956
  }
1949
- async function z() {
1950
- if (Gt) return R;
1957
+ async function L() {
1958
+ if (qt) return Kt;
1951
1959
  try {
1952
- return R = await import("./dist-BTq3NoG3.js"), Gt = !0, R;
1960
+ return Kt = await import("./dist-zPWyTBdU.js"), qt = !0, Kt;
1953
1961
  } catch {
1954
- return Gt = !0, R = null, null;
1962
+ return qt = !0, Kt = null, null;
1955
1963
  }
1956
1964
  }
1957
- function qt(e) {
1958
- typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || z().then((e) => {
1965
+ function Yt(e) {
1966
+ typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || L().then((e) => {
1959
1967
  !e && typeof process < "u" && process.env.NODE_ENV === "development" && (console.warn("[drizzle-cube] Thumbnail feature enabled but modern-screenshot not installed. Run: npm install modern-screenshot"), window.__drizzle_cube_thumbnail_warning__ = !0);
1960
1968
  }));
1961
1969
  }
1962
- async function Jt(e, t) {
1970
+ async function Xt(e, t) {
1963
1971
  if (typeof window > "u" || !e.current) return null;
1964
- let n = await z();
1972
+ let n = await L();
1965
1973
  if (!n) return null;
1966
1974
  try {
1967
- let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = Qt(s);
1968
- return await Kt(await n.domToPng(s, {
1975
+ let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = en(s);
1976
+ return await Jt(await n.domToPng(s, {
1969
1977
  scale: 2,
1970
1978
  backgroundColor: c
1971
1979
  }), r, i, a, o);
@@ -1973,31 +1981,31 @@ async function Jt(e, t) {
1973
1981
  return console.error("[drizzle-cube] Failed to capture thumbnail:", e), null;
1974
1982
  }
1975
1983
  }
1976
- async function Yt(e) {
1977
- return !e?.enabled || typeof window > "u" ? !1 : await z() !== null;
1984
+ async function Zt(e) {
1985
+ return !e?.enabled || typeof window > "u" ? !1 : await L() !== null;
1978
1986
  }
1979
- async function Xt() {
1980
- return typeof window > "u" || !await z() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
1987
+ async function Qt() {
1988
+ return typeof window > "u" || !await L() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
1981
1989
  }
1982
- function Zt(e) {
1990
+ function $t(e) {
1983
1991
  if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
1984
1992
  let t = e.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*([\d.]+)\s*\)/);
1985
1993
  return !!(t && parseFloat(t[1]) === 0);
1986
1994
  }
1987
- function Qt(e) {
1995
+ function en(e) {
1988
1996
  let t = e;
1989
1997
  for (; t;) {
1990
1998
  let e = getComputedStyle(t).backgroundColor;
1991
- if (!Zt(e)) return e;
1999
+ if (!$t(e)) return e;
1992
2000
  t = t.parentElement;
1993
2001
  }
1994
2002
  return getComputedStyle(document.documentElement).getPropertyValue("--dc-surface").trim() || "#ffffff";
1995
2003
  }
1996
- async function $t(e) {
2004
+ async function tn(e) {
1997
2005
  try {
1998
- let t = await z();
2006
+ let t = await L();
1999
2007
  if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
2000
- let n = Qt(e), r = await t.domToPng(e, {
2008
+ let n = en(e), r = await t.domToPng(e, {
2001
2009
  scale: 2,
2002
2010
  backgroundColor: n
2003
2011
  }), i = await (await fetch(r)).blob();
@@ -2008,12 +2016,12 @@ async function $t(e) {
2008
2016
  }
2009
2017
  //#endregion
2010
2018
  //#region src/client/utils/exportXlsx.ts
2011
- var B = null, en = !1, tn = {
2019
+ var nn = null, rn = !1, an = {
2012
2020
  headerBg: "FF3B82F6",
2013
2021
  headerText: "FFFFFFFF",
2014
2022
  borderColor: "FFE5E7EB"
2015
2023
  };
2016
- function nn(e) {
2024
+ function on(e) {
2017
2025
  if (!e) return null;
2018
2026
  let t = e.trim();
2019
2027
  if (t.startsWith("#")) {
@@ -2027,19 +2035,19 @@ function nn(e) {
2027
2035
  }
2028
2036
  return null;
2029
2037
  }
2030
- function rn() {
2031
- if (typeof document > "u") return tn;
2038
+ function sn() {
2039
+ if (typeof document > "u") return an;
2032
2040
  let e = getComputedStyle(document.documentElement), t = e.getPropertyValue("--dc-primary").trim(), n = e.getPropertyValue("--dc-primary-content").trim(), r = e.getPropertyValue("--dc-border").trim();
2033
2041
  return {
2034
- headerBg: nn(t) ?? tn.headerBg,
2035
- headerText: nn(n) ?? tn.headerText,
2036
- borderColor: nn(r) ?? tn.borderColor
2042
+ headerBg: on(t) ?? an.headerBg,
2043
+ headerText: on(n) ?? an.headerText,
2044
+ borderColor: on(r) ?? an.borderColor
2037
2045
  };
2038
2046
  }
2039
- function an(e) {
2047
+ function cn(e) {
2040
2048
  return e == null ? null : e instanceof Date ? e : typeof e == "number" ? Number.isFinite(e) ? e : null : typeof e == "boolean" ? e : Array.isArray(e) ? e.map((e) => String(e)).join(", ") : typeof e == "object" ? JSON.stringify(e) : String(e);
2041
2049
  }
2042
- function on(e, t) {
2050
+ function ln(e, t) {
2043
2051
  e.height = 18, e.eachCell((e) => {
2044
2052
  e.font = {
2045
2053
  bold: !0,
@@ -2055,7 +2063,7 @@ function on(e, t) {
2055
2063
  };
2056
2064
  });
2057
2065
  }
2058
- function sn(e, t) {
2066
+ function un(e, t) {
2059
2067
  e.eachRow((e) => {
2060
2068
  e.eachCell((e) => {
2061
2069
  e.border = {
@@ -2082,7 +2090,7 @@ function sn(e, t) {
2082
2090
  });
2083
2091
  });
2084
2092
  }
2085
- function cn(e, t = []) {
2093
+ function dn(e, t = []) {
2086
2094
  e.columns?.forEach((e, n) => {
2087
2095
  let r = t[n] ?? 10;
2088
2096
  e.eachCell?.({ includeEmpty: !0 }, (e) => {
@@ -2091,15 +2099,15 @@ function cn(e, t = []) {
2091
2099
  }), e.width = Math.min(Math.max(r + 2, t[n] ?? 10), 70);
2092
2100
  });
2093
2101
  }
2094
- function ln(e, t, n, r) {
2102
+ function fn(e, t, n, r) {
2095
2103
  let i = e.addWorksheet(t);
2096
2104
  if (n.length === 0) {
2097
- i.addRow(["No data available"]), cn(i, [32]);
2105
+ i.addRow(["No data available"]), dn(i, [32]);
2098
2106
  return;
2099
2107
  }
2100
2108
  let a = Object.keys(n[0]);
2101
- on(i.addRow(a), r);
2102
- for (let e of n) i.addRow(a.map((t) => an(e[t])));
2109
+ ln(i.addRow(a), r);
2110
+ for (let e of n) i.addRow(a.map((t) => cn(e[t])));
2103
2111
  i.views = [{
2104
2112
  state: "frozen",
2105
2113
  ySplit: 1
@@ -2112,58 +2120,58 @@ function ln(e, t, n, r) {
2112
2120
  row: 1,
2113
2121
  column: a.length
2114
2122
  }
2115
- }, sn(i, r), cn(i);
2123
+ }, un(i, r), dn(i);
2116
2124
  }
2117
- function un(e) {
2125
+ function pn(e) {
2118
2126
  return e.replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").toLowerCase();
2119
2127
  }
2120
- function dn(e, t) {
2121
- let n = un(e), r = /* @__PURE__ */ new Date();
2128
+ function mn(e, t) {
2129
+ let n = pn(e), r = /* @__PURE__ */ new Date();
2122
2130
  return `${n}-${`${r.getFullYear()}${String(r.getMonth() + 1).padStart(2, "0")}${String(r.getDate()).padStart(2, "0")}`}-${crypto.randomUUID().slice(0, 4).toUpperCase()}.${t}`;
2123
2131
  }
2124
- async function fn() {
2125
- if (en) return B;
2132
+ async function hn() {
2133
+ if (rn) return nn;
2126
2134
  try {
2127
- return B = await import("./exceljs.min-Dc1cBQ5l.js").then((t) => /* @__PURE__ */ e(t.default, 1)), en = !0, B;
2135
+ return nn = await import("./exceljs.min-CIqBqwTW.js").then((t) => /* @__PURE__ */ e(t.default, 1)), rn = !0, nn;
2128
2136
  } catch {
2129
- return en = !0, B = null, null;
2137
+ return rn = !0, nn = null, null;
2130
2138
  }
2131
2139
  }
2132
- async function pn() {
2133
- return typeof window > "u" ? !1 : await fn() !== null;
2140
+ async function gn() {
2141
+ return typeof window > "u" ? !1 : await hn() !== null;
2134
2142
  }
2135
- function mn(e) {
2136
- typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ || fn().then((e) => {
2143
+ function _n(e) {
2144
+ typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ || hn().then((e) => {
2137
2145
  !e && typeof process < "u" && process.env.NODE_ENV === "development" && (console.warn("[drizzle-cube] XLS export feature enabled but exceljs not installed. Run: npm install exceljs"), window.__drizzle_cube_xls_export_warning__ = !0);
2138
2146
  }));
2139
2147
  }
2140
- function hn(e) {
2148
+ function vn(e) {
2141
2149
  return !!e && typeof e == "object" && "nodes" in e && "links" in e && Array.isArray(e.nodes) && Array.isArray(e.links);
2142
2150
  }
2143
- function gn(e) {
2151
+ function yn(e) {
2144
2152
  return !!e && typeof e == "object" && "rows" in e && "periods" in e && Array.isArray(e.rows) && Array.isArray(e.periods);
2145
2153
  }
2146
- function _n(e, t) {
2154
+ function bn(e, t) {
2147
2155
  let n = new Blob([e], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), r = URL.createObjectURL(n), i = document.createElement("a");
2148
2156
  i.href = r, i.download = t, document.body.appendChild(i), i.click(), document.body.removeChild(i), URL.revokeObjectURL(r);
2149
2157
  }
2150
- async function vn(e, t) {
2151
- let n = await fn();
2158
+ async function xn(e, t) {
2159
+ let n = await hn();
2152
2160
  if (!n) return console.warn("[drizzle-cube] Cannot export: exceljs not available"), !1;
2153
2161
  try {
2154
- let r = new n.Workbook(), i = rn(), { data: a } = t;
2155
- if (hn(a)) ln(r, "Nodes", a.nodes, i), ln(r, "Links", a.links, i);
2156
- else if (gn(a)) ln(r, e, a.rows, i);
2157
- else if (Array.isArray(a)) ln(r, e, a, i);
2162
+ let r = new n.Workbook(), i = sn(), { data: a } = t;
2163
+ if (vn(a)) fn(r, "Nodes", a.nodes, i), fn(r, "Links", a.links, i);
2164
+ else if (yn(a)) fn(r, e, a.rows, i);
2165
+ else if (Array.isArray(a)) fn(r, e, a, i);
2158
2166
  else return console.warn("[drizzle-cube] Cannot export: unrecognized data format"), !1;
2159
- return _n(await r.xlsx.writeBuffer(), dn(e || "export", "xlsx")), !0;
2167
+ return bn(await r.xlsx.writeBuffer(), mn(e || "export", "xlsx")), !0;
2160
2168
  } catch (e) {
2161
2169
  return console.error("[drizzle-cube] Failed to export XLSX:", e), !1;
2162
2170
  }
2163
2171
  }
2164
2172
  //#endregion
2165
2173
  //#region src/client/providers/CubeFeaturesProvider.tsx
2166
- var yn = me(null), bn = {
2174
+ var Sn = me(null), Cn = {
2167
2175
  enableAI: !0,
2168
2176
  aiEndpoint: "/api/ai/generate",
2169
2177
  showSchemaDiagram: !1,
@@ -2171,15 +2179,15 @@ var yn = me(null), bn = {
2171
2179
  editToolbar: "both",
2172
2180
  floatingToolbarPosition: "right"
2173
2181
  };
2174
- function xn({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
2182
+ function wn({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
2175
2183
  let [r, i] = w(() => ({
2176
- ...bn,
2184
+ ...Cn,
2177
2185
  ...e
2178
2186
  }));
2179
2187
  S(() => {
2180
- qt(r.thumbnail);
2188
+ Yt(r.thumbnail);
2181
2189
  }, [r.thumbnail]), S(() => {
2182
- mn(r.xlsExport);
2190
+ _n(r.xlsExport);
2183
2191
  }, [r.xlsExport]);
2184
2192
  let a = ve((e) => {
2185
2193
  i((t) => ({
@@ -2195,22 +2203,22 @@ function xn({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
2195
2203
  t,
2196
2204
  a
2197
2205
  ]);
2198
- return /* @__PURE__ */ T(yn.Provider, {
2206
+ return /* @__PURE__ */ T(Sn.Provider, {
2199
2207
  value: o,
2200
2208
  children: n
2201
2209
  });
2202
2210
  }
2203
- var Sn = {
2204
- features: bn,
2211
+ var Tn = {
2212
+ features: Cn,
2205
2213
  dashboardModes: ["rows", "grid"],
2206
2214
  updateFeatures: () => {}
2207
2215
  };
2208
- function Cn() {
2209
- return ye(yn) ?? Sn;
2216
+ function En() {
2217
+ return ye(Sn) ?? Tn;
2210
2218
  }
2211
2219
  //#endregion
2212
2220
  //#region node_modules/@iconify/react/dist/iconify.js
2213
- function wn(e, t) {
2221
+ function Dn(e, t) {
2214
2222
  let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
2215
2223
  function a(e) {
2216
2224
  if (n[e]) return i[e] = [];
@@ -2223,82 +2231,82 @@ function wn(e, t) {
2223
2231
  }
2224
2232
  return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
2225
2233
  }
2226
- var Tn = Object.freeze({
2234
+ var On = Object.freeze({
2227
2235
  left: 0,
2228
2236
  top: 0,
2229
2237
  width: 16,
2230
2238
  height: 16
2231
- }), En = Object.freeze({
2239
+ }), kn = Object.freeze({
2232
2240
  rotate: 0,
2233
2241
  vFlip: !1,
2234
2242
  hFlip: !1
2235
- }), Dn = Object.freeze({
2236
- ...Tn,
2237
- ...En
2238
- }), On = Object.freeze({
2239
- ...Dn,
2243
+ }), An = Object.freeze({
2244
+ ...On,
2245
+ ...kn
2246
+ }), jn = Object.freeze({
2247
+ ...An,
2240
2248
  body: "",
2241
2249
  hidden: !1
2242
2250
  });
2243
- function kn(e, t) {
2251
+ function Mn(e, t) {
2244
2252
  let n = {};
2245
2253
  !e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
2246
2254
  let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
2247
2255
  return r && (n.rotate = r), n;
2248
2256
  }
2249
- function An(e, t) {
2250
- let n = kn(e, t);
2251
- for (let r in On) r in En ? r in e && !(r in n) && (n[r] = En[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
2257
+ function Nn(e, t) {
2258
+ let n = Mn(e, t);
2259
+ for (let r in jn) r in kn ? r in e && !(r in n) && (n[r] = kn[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
2252
2260
  return n;
2253
2261
  }
2254
- function jn(e, t, n) {
2262
+ function Pn(e, t, n) {
2255
2263
  let r = e.icons, i = e.aliases || Object.create(null), a = {};
2256
2264
  function o(e) {
2257
- a = An(r[e] || i[e], a);
2265
+ a = Nn(r[e] || i[e], a);
2258
2266
  }
2259
- return o(t), n.forEach(o), An(e, a);
2267
+ return o(t), n.forEach(o), Nn(e, a);
2260
2268
  }
2261
- function Mn(e, t) {
2269
+ function Fn(e, t) {
2262
2270
  let n = [];
2263
2271
  if (typeof e != "object" || typeof e.icons != "object") return n;
2264
2272
  e.not_found instanceof Array && e.not_found.forEach((e) => {
2265
2273
  t(e, null), n.push(e);
2266
2274
  });
2267
- let r = wn(e);
2275
+ let r = Dn(e);
2268
2276
  for (let i in r) {
2269
2277
  let a = r[i];
2270
- a && (t(i, jn(e, i, a)), n.push(i));
2278
+ a && (t(i, Pn(e, i, a)), n.push(i));
2271
2279
  }
2272
2280
  return n;
2273
2281
  }
2274
- var Nn = {
2282
+ var In = {
2275
2283
  provider: "",
2276
2284
  aliases: {},
2277
2285
  not_found: {},
2278
- ...Tn
2286
+ ...On
2279
2287
  };
2280
- function Pn(e, t) {
2288
+ function Ln(e, t) {
2281
2289
  for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
2282
2290
  return !0;
2283
2291
  }
2284
- function Fn(e) {
2292
+ function Rn(e) {
2285
2293
  if (typeof e != "object" || !e) return null;
2286
2294
  let t = e;
2287
- if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Pn(e, Nn)) return null;
2295
+ if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ln(e, In)) return null;
2288
2296
  let n = t.icons;
2289
2297
  for (let e in n) {
2290
2298
  let t = n[e];
2291
- if (!e || typeof t.body != "string" || !Pn(t, On)) return null;
2299
+ if (!e || typeof t.body != "string" || !Ln(t, jn)) return null;
2292
2300
  }
2293
2301
  let r = t.aliases || Object.create(null);
2294
2302
  for (let e in r) {
2295
2303
  let t = r[e], i = t.parent;
2296
- if (!e || typeof i != "string" || !n[i] && !r[i] || !Pn(t, On)) return null;
2304
+ if (!e || typeof i != "string" || !n[i] && !r[i] || !Ln(t, jn)) return null;
2297
2305
  }
2298
2306
  return t;
2299
2307
  }
2300
- var In = Object.create(null);
2301
- function Ln(e, t) {
2308
+ var zn = Object.create(null);
2309
+ function Bn(e, t) {
2302
2310
  return {
2303
2311
  provider: e,
2304
2312
  prefix: t,
@@ -2306,22 +2314,22 @@ function Ln(e, t) {
2306
2314
  missing: /* @__PURE__ */ new Set()
2307
2315
  };
2308
2316
  }
2309
- function V(e, t) {
2310
- let n = In[e] || (In[e] = Object.create(null));
2311
- return n[t] || (n[t] = Ln(e, t));
2317
+ function R(e, t) {
2318
+ let n = zn[e] || (zn[e] = Object.create(null));
2319
+ return n[t] || (n[t] = Bn(e, t));
2312
2320
  }
2313
- function Rn(e, t) {
2314
- return Fn(t) ? Mn(t, (t, n) => {
2321
+ function Vn(e, t) {
2322
+ return Rn(t) ? Fn(t, (t, n) => {
2315
2323
  n ? e.icons[t] = n : e.missing.add(t);
2316
2324
  }) : [];
2317
2325
  }
2318
- function zn(e, t, n) {
2326
+ function Hn(e, t, n) {
2319
2327
  try {
2320
2328
  if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
2321
2329
  } catch {}
2322
2330
  return !1;
2323
2331
  }
2324
- var Bn = /^[a-z0-9]+(-[a-z0-9]+)*$/, Vn = (e, t, n, r = "") => {
2332
+ var Un = /^[a-z0-9]+(-[a-z0-9]+)*$/, Wn = (e, t, n, r = "") => {
2325
2333
  let i = e.split(":");
2326
2334
  if (e.slice(0, 1) === "@") {
2327
2335
  if (i.length < 2 || i.length > 3) return null;
@@ -2334,7 +2342,7 @@ var Bn = /^[a-z0-9]+(-[a-z0-9]+)*$/, Vn = (e, t, n, r = "") => {
2334
2342
  prefix: n,
2335
2343
  name: e
2336
2344
  };
2337
- return t && !Hn(a) ? null : a;
2345
+ return t && !z(a) ? null : a;
2338
2346
  }
2339
2347
  let a = i[0], o = a.split("-");
2340
2348
  if (o.length > 1) {
@@ -2343,7 +2351,7 @@ var Bn = /^[a-z0-9]+(-[a-z0-9]+)*$/, Vn = (e, t, n, r = "") => {
2343
2351
  prefix: o.shift(),
2344
2352
  name: o.join("-")
2345
2353
  };
2346
- return t && !Hn(e) ? null : e;
2354
+ return t && !z(e) ? null : e;
2347
2355
  }
2348
2356
  if (n && r === "") {
2349
2357
  let e = {
@@ -2351,54 +2359,54 @@ var Bn = /^[a-z0-9]+(-[a-z0-9]+)*$/, Vn = (e, t, n, r = "") => {
2351
2359
  prefix: "",
2352
2360
  name: a
2353
2361
  };
2354
- return t && !Hn(e, n) ? null : e;
2362
+ return t && !z(e, n) ? null : e;
2355
2363
  }
2356
2364
  return null;
2357
- }, Hn = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, H = !1;
2358
- function Un(e) {
2359
- return typeof e == "boolean" && (H = e), H;
2365
+ }, z = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, B = !1;
2366
+ function Gn(e) {
2367
+ return typeof e == "boolean" && (B = e), B;
2360
2368
  }
2361
- function Wn(e) {
2362
- let t = typeof e == "string" ? Vn(e, !0, H) : e;
2369
+ function Kn(e) {
2370
+ let t = typeof e == "string" ? Wn(e, !0, B) : e;
2363
2371
  if (t) {
2364
- let e = V(t.provider, t.prefix), n = t.name;
2372
+ let e = R(t.provider, t.prefix), n = t.name;
2365
2373
  return e.icons[n] || (e.missing.has(n) ? null : void 0);
2366
2374
  }
2367
2375
  }
2368
- function Gn(e, t) {
2369
- let n = Vn(e, !0, H);
2376
+ function qn(e, t) {
2377
+ let n = Wn(e, !0, B);
2370
2378
  if (!n) return !1;
2371
- let r = V(n.provider, n.prefix);
2372
- return t ? zn(r, n.name, t) : (r.missing.add(n.name), !0);
2379
+ let r = R(n.provider, n.prefix);
2380
+ return t ? Hn(r, n.name, t) : (r.missing.add(n.name), !0);
2373
2381
  }
2374
- function Kn(e, t) {
2382
+ function Jn(e, t) {
2375
2383
  if (typeof e != "object") return !1;
2376
- if (typeof t != "string" && (t = e.provider || ""), H && !t && !e.prefix) {
2384
+ if (typeof t != "string" && (t = e.provider || ""), B && !t && !e.prefix) {
2377
2385
  let t = !1;
2378
- return Fn(e) && (e.prefix = "", Mn(e, (e, n) => {
2379
- Gn(e, n) && (t = !0);
2386
+ return Rn(e) && (e.prefix = "", Fn(e, (e, n) => {
2387
+ qn(e, n) && (t = !0);
2380
2388
  })), t;
2381
2389
  }
2382
2390
  let n = e.prefix;
2383
- return Hn({
2391
+ return z({
2384
2392
  prefix: n,
2385
2393
  name: "a"
2386
- }) ? !!Rn(V(t, n), e) : !1;
2394
+ }) ? !!Vn(R(t, n), e) : !1;
2387
2395
  }
2388
- var qn = Object.freeze({
2396
+ var Yn = Object.freeze({
2389
2397
  width: null,
2390
2398
  height: null
2391
- }), Jn = Object.freeze({
2392
- ...qn,
2393
- ...En
2394
- }), Yn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Xn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2395
- function Zn(e, t, n) {
2399
+ }), Xn = Object.freeze({
2400
+ ...Yn,
2401
+ ...kn
2402
+ }), Zn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Qn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2403
+ function $n(e, t, n) {
2396
2404
  if (t === 1) return e;
2397
2405
  if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
2398
2406
  if (typeof e != "string") return e;
2399
- let r = e.split(Yn);
2407
+ let r = e.split(Zn);
2400
2408
  if (r === null || !r.length) return e;
2401
- let i = [], a = r.shift(), o = Xn.test(a);
2409
+ let i = [], a = r.shift(), o = Qn.test(a);
2402
2410
  for (;;) {
2403
2411
  if (o) {
2404
2412
  let e = parseFloat(a);
@@ -2408,7 +2416,7 @@ function Zn(e, t, n) {
2408
2416
  o = !o;
2409
2417
  }
2410
2418
  }
2411
- function Qn(e, t = "defs") {
2419
+ function er(e, t = "defs") {
2412
2420
  let n = "", r = e.indexOf("<" + t);
2413
2421
  for (; r >= 0;) {
2414
2422
  let i = e.indexOf(">", r), a = e.indexOf("</" + t);
@@ -2422,20 +2430,20 @@ function Qn(e, t = "defs") {
2422
2430
  content: e
2423
2431
  };
2424
2432
  }
2425
- function $n(e, t) {
2433
+ function tr(e, t) {
2426
2434
  return e ? "<defs>" + e + "</defs>" + t : t;
2427
2435
  }
2428
- function er(e, t, n) {
2429
- let r = Qn(e);
2430
- return $n(r.defs, t + r.content + n);
2436
+ function nr(e, t, n) {
2437
+ let r = er(e);
2438
+ return tr(r.defs, t + r.content + n);
2431
2439
  }
2432
- var tr = (e) => e === "unset" || e === "undefined" || e === "none";
2433
- function nr(e, t) {
2440
+ var rr = (e) => e === "unset" || e === "undefined" || e === "none";
2441
+ function ir(e, t) {
2434
2442
  let n = {
2435
- ...Dn,
2443
+ ...An,
2436
2444
  ...e
2437
2445
  }, r = {
2438
- ...Jn,
2446
+ ...Xn,
2439
2447
  ...t
2440
2448
  }, i = {
2441
2449
  left: n.left,
@@ -2458,12 +2466,12 @@ function nr(e, t) {
2458
2466
  s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
2459
2467
  break;
2460
2468
  }
2461
- o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = er(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
2469
+ o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = nr(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
2462
2470
  });
2463
2471
  let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
2464
- o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = Zn(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? Zn(u, l / c) : s === "auto" ? l : s);
2472
+ o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = $n(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? $n(u, l / c) : s === "auto" ? l : s);
2465
2473
  let f = {}, p = (e, t) => {
2466
- tr(t) || (f[e] = t.toString());
2474
+ rr(t) || (f[e] = t.toString());
2467
2475
  };
2468
2476
  p("width", u), p("height", d);
2469
2477
  let m = [
@@ -2478,25 +2486,25 @@ function nr(e, t) {
2478
2486
  body: a
2479
2487
  };
2480
2488
  }
2481
- var rr = /\sid="(\S+)"/g, ir = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), ar = 0;
2482
- function or(e, t = ir) {
2489
+ var ar = /\sid="(\S+)"/g, or = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), sr = 0;
2490
+ function cr(e, t = or) {
2483
2491
  let n = [], r;
2484
- for (; r = rr.exec(e);) n.push(r[1]);
2492
+ for (; r = ar.exec(e);) n.push(r[1]);
2485
2493
  if (!n.length) return e;
2486
2494
  let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
2487
2495
  return n.forEach((n) => {
2488
- let r = typeof t == "function" ? t(n) : t + (ar++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2496
+ let r = typeof t == "function" ? t(n) : t + (sr++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2489
2497
  e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
2490
2498
  }), e = e.replace(new RegExp(i, "g"), ""), e;
2491
2499
  }
2492
- var sr = Object.create(null);
2493
- function cr(e, t) {
2494
- sr[e] = t;
2500
+ var lr = Object.create(null);
2501
+ function ur(e, t) {
2502
+ lr[e] = t;
2495
2503
  }
2496
- function lr(e) {
2497
- return sr[e] || sr[""];
2504
+ function dr(e) {
2505
+ return lr[e] || lr[""];
2498
2506
  }
2499
- function ur(e) {
2507
+ function fr(e) {
2500
2508
  let t;
2501
2509
  if (typeof e.resources == "string") t = [e.resources];
2502
2510
  else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
@@ -2511,23 +2519,23 @@ function ur(e) {
2511
2519
  dataAfterTimeout: e.dataAfterTimeout !== !1
2512
2520
  };
2513
2521
  }
2514
- for (var dr = Object.create(null), fr = ["https://api.simplesvg.com", "https://api.unisvg.com"], pr = []; fr.length > 0;) pr.push(fr.length === 1 || Math.random() > .5 ? fr.shift() : fr.pop());
2515
- dr[""] = ur({ resources: ["https://api.iconify.design"].concat(pr) });
2516
- function mr(e, t) {
2517
- let n = ur(t);
2518
- return n === null ? !1 : (dr[e] = n, !0);
2522
+ for (var pr = Object.create(null), V = ["https://api.simplesvg.com", "https://api.unisvg.com"], mr = []; V.length > 0;) mr.push(V.length === 1 || Math.random() > .5 ? V.shift() : V.pop());
2523
+ pr[""] = fr({ resources: ["https://api.iconify.design"].concat(mr) });
2524
+ function hr(e, t) {
2525
+ let n = fr(t);
2526
+ return n === null ? !1 : (pr[e] = n, !0);
2519
2527
  }
2520
- function hr(e) {
2521
- return dr[e];
2528
+ function gr(e) {
2529
+ return pr[e];
2522
2530
  }
2523
- var gr = (() => {
2531
+ var _r = (() => {
2524
2532
  let e;
2525
2533
  try {
2526
2534
  if (e = fetch, typeof e == "function") return e;
2527
2535
  } catch {}
2528
2536
  })();
2529
- function _r(e, t) {
2530
- let n = hr(e);
2537
+ function vr(e, t) {
2538
+ let n = gr(e);
2531
2539
  if (!n) return 0;
2532
2540
  let r;
2533
2541
  if (!n.maxURL) r = 0;
@@ -2541,11 +2549,11 @@ function _r(e, t) {
2541
2549
  }
2542
2550
  return r;
2543
2551
  }
2544
- function vr(e) {
2552
+ function yr(e) {
2545
2553
  return e === 404;
2546
2554
  }
2547
- var yr = (e, t, n) => {
2548
- let r = [], i = _r(e, t), a = "icons", o = {
2555
+ var br = (e, t, n) => {
2556
+ let r = [], i = vr(e, t), a = "icons", o = {
2549
2557
  type: a,
2550
2558
  provider: e,
2551
2559
  prefix: t,
@@ -2560,21 +2568,21 @@ var yr = (e, t, n) => {
2560
2568
  }, s = n.length), o.icons.push(n);
2561
2569
  }), r.push(o), r;
2562
2570
  };
2563
- function br(e) {
2571
+ function xr(e) {
2564
2572
  if (typeof e == "string") {
2565
- let t = hr(e);
2573
+ let t = gr(e);
2566
2574
  if (t) return t.path;
2567
2575
  }
2568
2576
  return "/";
2569
2577
  }
2570
- var xr = {
2571
- prepare: yr,
2578
+ var Sr = {
2579
+ prepare: br,
2572
2580
  send: (e, t, n) => {
2573
- if (!gr) {
2581
+ if (!_r) {
2574
2582
  n("abort", 424);
2575
2583
  return;
2576
2584
  }
2577
- let r = br(t.provider);
2585
+ let r = xr(t.provider);
2578
2586
  switch (t.type) {
2579
2587
  case "icons": {
2580
2588
  let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
@@ -2591,11 +2599,11 @@ var xr = {
2591
2599
  return;
2592
2600
  }
2593
2601
  let i = 503;
2594
- gr(e + r).then((e) => {
2602
+ _r(e + r).then((e) => {
2595
2603
  let t = e.status;
2596
2604
  if (t !== 200) {
2597
2605
  setTimeout(() => {
2598
- n(vr(t) ? "abort" : "next", t);
2606
+ n(yr(t) ? "abort" : "next", t);
2599
2607
  });
2600
2608
  return;
2601
2609
  }
@@ -2615,13 +2623,13 @@ var xr = {
2615
2623
  });
2616
2624
  }
2617
2625
  };
2618
- function Sr(e, t) {
2626
+ function Cr(e, t) {
2619
2627
  e.forEach((e) => {
2620
2628
  let n = e.loaderCallbacks;
2621
2629
  n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
2622
2630
  });
2623
2631
  }
2624
- function Cr(e) {
2632
+ function wr(e) {
2625
2633
  e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
2626
2634
  e.pendingCallbacksFlag = !1;
2627
2635
  let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
@@ -2644,13 +2652,13 @@ function Cr(e) {
2644
2652
  });
2645
2653
  else return n = !0, !0;
2646
2654
  return !1;
2647
- }), a.pending.length !== o && (n || Sr([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
2655
+ }), a.pending.length !== o && (n || Cr([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
2648
2656
  });
2649
2657
  }));
2650
2658
  }
2651
- var wr = 0;
2652
- function Tr(e, t, n) {
2653
- let r = wr++, i = Sr.bind(null, n, r);
2659
+ var Tr = 0;
2660
+ function Er(e, t, n) {
2661
+ let r = Tr++, i = Cr.bind(null, n, r);
2654
2662
  if (!t.pending.length) return i;
2655
2663
  let a = {
2656
2664
  id: r,
@@ -2662,7 +2670,7 @@ function Tr(e, t, n) {
2662
2670
  (e.loaderCallbacks ||= []).push(a);
2663
2671
  }), i;
2664
2672
  }
2665
- function Er(e) {
2673
+ function Dr(e) {
2666
2674
  let t = {
2667
2675
  loaded: [],
2668
2676
  missing: [],
@@ -2677,7 +2685,7 @@ function Er(e) {
2677
2685
  return e.forEach((e) => {
2678
2686
  if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
2679
2687
  r = e;
2680
- let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = V(i, a)), l;
2688
+ let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = R(i, a)), l;
2681
2689
  l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending, l.push({
2682
2690
  provider: i,
2683
2691
  prefix: a,
@@ -2685,14 +2693,14 @@ function Er(e) {
2685
2693
  });
2686
2694
  }), t;
2687
2695
  }
2688
- function Dr(e, t = !0, n = !1) {
2696
+ function Or(e, t = !0, n = !1) {
2689
2697
  let r = [];
2690
2698
  return e.forEach((e) => {
2691
- let i = typeof e == "string" ? Vn(e, t, n) : e;
2699
+ let i = typeof e == "string" ? Wn(e, t, n) : e;
2692
2700
  i && r.push(i);
2693
2701
  }), r;
2694
2702
  }
2695
- var Or = {
2703
+ var kr = {
2696
2704
  resources: [],
2697
2705
  index: 0,
2698
2706
  timeout: 2e3,
@@ -2700,7 +2708,7 @@ var Or = {
2700
2708
  random: !1,
2701
2709
  dataAfterTimeout: !1
2702
2710
  };
2703
- function kr(e, t, n, r) {
2711
+ function Ar(e, t, n, r) {
2704
2712
  let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
2705
2713
  if (e.random) {
2706
2714
  let t = e.resources.slice(0);
@@ -2794,16 +2802,16 @@ function kr(e, t, n, r) {
2794
2802
  }
2795
2803
  return setTimeout(y), g;
2796
2804
  }
2797
- function Ar(e) {
2805
+ function jr(e) {
2798
2806
  let t = {
2799
- ...Or,
2807
+ ...kr,
2800
2808
  ...e
2801
2809
  }, n = [];
2802
2810
  function r() {
2803
2811
  n = n.filter((e) => e().status === "pending");
2804
2812
  }
2805
2813
  function i(e, i, a) {
2806
- let o = kr(t, e, i, (e, t) => {
2814
+ let o = Ar(t, e, i, (e, t) => {
2807
2815
  r(), a && a(e, t);
2808
2816
  });
2809
2817
  return n.push(o), o;
@@ -2821,53 +2829,53 @@ function Ar(e) {
2821
2829
  cleanup: r
2822
2830
  };
2823
2831
  }
2824
- function jr() {}
2825
- var Mr = Object.create(null);
2826
- function Nr(e) {
2827
- if (!Mr[e]) {
2828
- let t = hr(e);
2832
+ function Mr() {}
2833
+ var Nr = Object.create(null);
2834
+ function Pr(e) {
2835
+ if (!Nr[e]) {
2836
+ let t = gr(e);
2829
2837
  if (!t) return;
2830
- Mr[e] = {
2838
+ Nr[e] = {
2831
2839
  config: t,
2832
- redundancy: Ar(t)
2840
+ redundancy: jr(t)
2833
2841
  };
2834
2842
  }
2835
- return Mr[e];
2843
+ return Nr[e];
2836
2844
  }
2837
- function Pr(e, t, n) {
2845
+ function Fr(e, t, n) {
2838
2846
  let r, i;
2839
2847
  if (typeof e == "string") {
2840
- let t = lr(e);
2841
- if (!t) return n(void 0, 424), jr;
2848
+ let t = dr(e);
2849
+ if (!t) return n(void 0, 424), Mr;
2842
2850
  i = t.send;
2843
- let a = Nr(e);
2851
+ let a = Pr(e);
2844
2852
  a && (r = a.redundancy);
2845
2853
  } else {
2846
- let t = ur(e);
2854
+ let t = fr(e);
2847
2855
  if (t) {
2848
- r = Ar(t);
2849
- let n = lr(e.resources ? e.resources[0] : "");
2856
+ r = jr(t);
2857
+ let n = dr(e.resources ? e.resources[0] : "");
2850
2858
  n && (i = n.send);
2851
2859
  }
2852
2860
  }
2853
- return !r || !i ? (n(void 0, 424), jr) : r.query(t, i, n)().abort;
2861
+ return !r || !i ? (n(void 0, 424), Mr) : r.query(t, i, n)().abort;
2854
2862
  }
2855
- function Fr() {}
2856
- function Ir(e) {
2863
+ function Ir() {}
2864
+ function Lr(e) {
2857
2865
  e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
2858
- e.iconsLoaderFlag = !1, Cr(e);
2866
+ e.iconsLoaderFlag = !1, wr(e);
2859
2867
  }));
2860
2868
  }
2861
- function Lr(e) {
2869
+ function Rr(e) {
2862
2870
  let t = [], n = [];
2863
2871
  return e.forEach((e) => {
2864
- (e.match(Bn) ? t : n).push(e);
2872
+ (e.match(Un) ? t : n).push(e);
2865
2873
  }), {
2866
2874
  valid: t,
2867
2875
  invalid: n
2868
2876
  };
2869
2877
  }
2870
- function U(e, t, n) {
2878
+ function H(e, t, n) {
2871
2879
  function r() {
2872
2880
  let n = e.pendingIcons;
2873
2881
  t.forEach((t) => {
@@ -2875,38 +2883,38 @@ function U(e, t, n) {
2875
2883
  });
2876
2884
  }
2877
2885
  if (n && typeof n == "object") try {
2878
- if (!Rn(e, n).length) {
2886
+ if (!Vn(e, n).length) {
2879
2887
  r();
2880
2888
  return;
2881
2889
  }
2882
2890
  } catch (e) {
2883
2891
  console.error(e);
2884
2892
  }
2885
- r(), Ir(e);
2893
+ r(), Lr(e);
2886
2894
  }
2887
- function Rr(e, t) {
2895
+ function zr(e, t) {
2888
2896
  e instanceof Promise ? e.then((e) => {
2889
2897
  t(e);
2890
2898
  }).catch(() => {
2891
2899
  t(null);
2892
2900
  }) : t(e);
2893
2901
  }
2894
- function zr(e, t) {
2902
+ function Br(e, t) {
2895
2903
  e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
2896
2904
  e.iconsQueueFlag = !1;
2897
2905
  let { provider: t, prefix: n } = e, r = e.iconsToLoad;
2898
2906
  if (delete e.iconsToLoad, !r || !r.length) return;
2899
2907
  let i = e.loadIcon;
2900
2908
  if (e.loadIcons && (r.length > 1 || !i)) {
2901
- Rr(e.loadIcons(r, n, t), (t) => {
2902
- U(e, r, t);
2909
+ zr(e.loadIcons(r, n, t), (t) => {
2910
+ H(e, r, t);
2903
2911
  });
2904
2912
  return;
2905
2913
  }
2906
2914
  if (i) {
2907
2915
  r.forEach((r) => {
2908
- Rr(i(r, n, t), (t) => {
2909
- U(e, [r], t ? {
2916
+ zr(i(r, n, t), (t) => {
2917
+ H(e, [r], t ? {
2910
2918
  prefix: n,
2911
2919
  icons: { [r]: t }
2912
2920
  } : null);
@@ -2914,26 +2922,26 @@ function zr(e, t) {
2914
2922
  });
2915
2923
  return;
2916
2924
  }
2917
- let { valid: a, invalid: o } = Lr(r);
2918
- if (o.length && U(e, o, null), !a.length) return;
2919
- let s = n.match(Bn) ? lr(t) : null;
2925
+ let { valid: a, invalid: o } = Rr(r);
2926
+ if (o.length && H(e, o, null), !a.length) return;
2927
+ let s = n.match(Un) ? dr(t) : null;
2920
2928
  if (!s) {
2921
- U(e, a, null);
2929
+ H(e, a, null);
2922
2930
  return;
2923
2931
  }
2924
2932
  s.prepare(t, n, a).forEach((n) => {
2925
- Pr(t, n, (t) => {
2926
- U(e, n.icons, t);
2933
+ Fr(t, n, (t) => {
2934
+ H(e, n.icons, t);
2927
2935
  });
2928
2936
  });
2929
2937
  }));
2930
2938
  }
2931
- var Br = (e, t) => {
2932
- let n = Er(Dr(e, !0, Un()));
2939
+ var Vr = (e, t) => {
2940
+ let n = Dr(Or(e, !0, Gn()));
2933
2941
  if (!n.pending.length) {
2934
2942
  let e = !0;
2935
2943
  return t && setTimeout(() => {
2936
- e && t(n.loaded, n.missing, n.pending, Fr);
2944
+ e && t(n.loaded, n.missing, n.pending, Ir);
2937
2945
  }), () => {
2938
2946
  e = !1;
2939
2947
  };
@@ -2942,28 +2950,28 @@ var Br = (e, t) => {
2942
2950
  return n.pending.forEach((e) => {
2943
2951
  let { provider: t, prefix: n } = e;
2944
2952
  if (n === o && t === a) return;
2945
- a = t, o = n, i.push(V(t, n));
2953
+ a = t, o = n, i.push(R(t, n));
2946
2954
  let s = r[t] || (r[t] = Object.create(null));
2947
2955
  s[n] || (s[n] = []);
2948
2956
  }), n.pending.forEach((e) => {
2949
- let { provider: t, prefix: n, name: i } = e, a = V(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
2957
+ let { provider: t, prefix: n, name: i } = e, a = R(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
2950
2958
  o.has(i) || (o.add(i), r[t][n].push(i));
2951
2959
  }), i.forEach((e) => {
2952
2960
  let t = r[e.provider][e.prefix];
2953
- t.length && zr(e, t);
2954
- }), t ? Tr(t, n, i) : Fr;
2961
+ t.length && Br(e, t);
2962
+ }), t ? Er(t, n, i) : Ir;
2955
2963
  };
2956
- function Vr(e, t) {
2964
+ function Hr(e, t) {
2957
2965
  let n = { ...e };
2958
2966
  for (let e in t) {
2959
2967
  let r = t[e], i = typeof r;
2960
- e in qn ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
2968
+ e in Yn ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
2961
2969
  }
2962
2970
  return n;
2963
2971
  }
2964
- var Hr = /[\s,]+/;
2965
- function Ur(e, t) {
2966
- t.split(Hr).forEach((t) => {
2972
+ var Ur = /[\s,]+/;
2973
+ function Wr(e, t) {
2974
+ t.split(Ur).forEach((t) => {
2967
2975
  switch (t.trim()) {
2968
2976
  case "horizontal":
2969
2977
  e.hFlip = !0;
@@ -2974,7 +2982,7 @@ function Ur(e, t) {
2974
2982
  }
2975
2983
  });
2976
2984
  }
2977
- function Wr(e, t = 0) {
2985
+ function Gr(e, t = 0) {
2978
2986
  let n = e.replace(/^-?[0-9.]*/, "");
2979
2987
  function r(e) {
2980
2988
  for (; e < 0;) e += 4;
@@ -2998,63 +3006,63 @@ function Wr(e, t = 0) {
2998
3006
  }
2999
3007
  return t;
3000
3008
  }
3001
- function Gr(e, t) {
3009
+ function Kr(e, t) {
3002
3010
  let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
3003
3011
  for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
3004
3012
  return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
3005
3013
  }
3006
- function Kr(e) {
3007
- return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
3008
- }
3009
3014
  function qr(e) {
3010
- return "data:image/svg+xml," + Kr(e);
3015
+ return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
3011
3016
  }
3012
3017
  function Jr(e) {
3013
- return "url(\"" + qr(e) + "\")";
3018
+ return "data:image/svg+xml," + qr(e);
3014
3019
  }
3015
- var W;
3016
- function Yr() {
3020
+ function Yr(e) {
3021
+ return "url(\"" + Jr(e) + "\")";
3022
+ }
3023
+ var U;
3024
+ function Xr() {
3017
3025
  try {
3018
- W = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
3026
+ U = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
3019
3027
  } catch {
3020
- W = null;
3028
+ U = null;
3021
3029
  }
3022
3030
  }
3023
- function Xr(e) {
3024
- return W === void 0 && Yr(), W ? W.createHTML(e) : e;
3031
+ function Zr(e) {
3032
+ return U === void 0 && Xr(), U ? U.createHTML(e) : e;
3025
3033
  }
3026
- var Zr = {
3027
- ...Jn,
3034
+ var Qr = {
3035
+ ...Xn,
3028
3036
  inline: !1
3029
- }, Qr = {
3037
+ }, $r = {
3030
3038
  xmlns: "http://www.w3.org/2000/svg",
3031
3039
  xmlnsXlink: "http://www.w3.org/1999/xlink",
3032
3040
  "aria-hidden": !0,
3033
3041
  role: "img"
3034
- }, $r = { display: "inline-block" }, ei = { backgroundColor: "currentColor" }, ti = { backgroundColor: "transparent" }, ni = {
3042
+ }, ei = { display: "inline-block" }, ti = { backgroundColor: "currentColor" }, ni = { backgroundColor: "transparent" }, ri = {
3035
3043
  Image: "var(--svg)",
3036
3044
  Repeat: "no-repeat",
3037
3045
  Size: "100% 100%"
3038
- }, ri = {
3039
- WebkitMask: ei,
3040
- mask: ei,
3041
- background: ti
3046
+ }, ii = {
3047
+ WebkitMask: ti,
3048
+ mask: ti,
3049
+ background: ni
3042
3050
  };
3043
- for (let e in ri) {
3044
- let t = ri[e];
3045
- for (let n in ni) t[e + n] = ni[n];
3051
+ for (let e in ii) {
3052
+ let t = ii[e];
3053
+ for (let n in ri) t[e + n] = ri[n];
3046
3054
  }
3047
- var ii = {
3048
- ...Zr,
3055
+ var ai = {
3056
+ ...Qr,
3049
3057
  inline: !0
3050
3058
  };
3051
- function ai(e) {
3059
+ function oi(e) {
3052
3060
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
3053
3061
  }
3054
- var oi = (e, t, n) => {
3055
- let r = t.inline ? ii : Zr, i = Vr(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? Qr : {} };
3062
+ var si = (e, t, n) => {
3063
+ let r = t.inline ? ai : Qr, i = Hr(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? $r : {} };
3056
3064
  if (n) {
3057
- let e = Vn(n, !1, !0);
3065
+ let e = Wn(n, !1, !0);
3058
3066
  if (e) {
3059
3067
  let t = ["iconify"];
3060
3068
  for (let n of ["provider", "prefix"]) e[n] && t.push("iconify--" + e[n]);
@@ -3083,13 +3091,13 @@ var oi = (e, t, n) => {
3083
3091
  i[e] = n === !0 || n === "true" || n === 1;
3084
3092
  break;
3085
3093
  case "flip":
3086
- typeof n == "string" && Ur(i, n);
3094
+ typeof n == "string" && Wr(i, n);
3087
3095
  break;
3088
3096
  case "color":
3089
3097
  o.color = n;
3090
3098
  break;
3091
3099
  case "rotate":
3092
- typeof n == "string" ? i[e] = Wr(n) : typeof n == "number" && (i[e] = n);
3100
+ typeof n == "string" ? i[e] = Gr(n) : typeof n == "number" && (i[e] = n);
3093
3101
  break;
3094
3102
  case "ariaHidden":
3095
3103
  case "aria-hidden":
@@ -3098,37 +3106,37 @@ var oi = (e, t, n) => {
3098
3106
  default: r[e] === void 0 && (c[e] = n);
3099
3107
  }
3100
3108
  }
3101
- let l = nr(e, i), u = l.attributes;
3109
+ let l = ir(e, i), u = l.attributes;
3102
3110
  if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
3103
3111
  c.style = {
3104
3112
  ...o,
3105
3113
  ...s
3106
3114
  }, Object.assign(c, u);
3107
3115
  let e = 0, n = t.id;
3108
- return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: Xr(or(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, he("svg", c);
3116
+ return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: Zr(cr(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, he("svg", c);
3109
3117
  }
3110
- let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = Gr(d, {
3118
+ let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = Kr(d, {
3111
3119
  ...u,
3112
3120
  width: f + "",
3113
3121
  height: p + ""
3114
3122
  });
3115
3123
  return c.style = {
3116
3124
  ...o,
3117
- "--svg": Jr(h),
3118
- width: ai(u.width),
3119
- height: ai(u.height),
3120
- ...$r,
3121
- ...m ? ei : ti,
3125
+ "--svg": Yr(h),
3126
+ width: oi(u.width),
3127
+ height: oi(u.height),
3128
+ ...ei,
3129
+ ...m ? ti : ni,
3122
3130
  ...s
3123
3131
  }, he("span", c);
3124
3132
  };
3125
- if (Un(!0), cr("", xr), typeof document < "u" && typeof window < "u") {
3133
+ if (Gn(!0), ur("", Sr), typeof document < "u" && typeof window < "u") {
3126
3134
  let e = window;
3127
3135
  if (e.IconifyPreload !== void 0) {
3128
3136
  let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
3129
3137
  typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
3130
3138
  try {
3131
- (typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !Kn(e)) && console.error(n);
3139
+ (typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !Jn(e)) && console.error(n);
3132
3140
  } catch {
3133
3141
  console.error(n);
3134
3142
  }
@@ -3141,14 +3149,14 @@ if (Un(!0), cr("", xr), typeof document < "u" && typeof window < "u") {
3141
3149
  try {
3142
3150
  let r = t[e];
3143
3151
  if (typeof r != "object" || !r || r.resources === void 0) continue;
3144
- mr(e, r) || console.error(n);
3152
+ hr(e, r) || console.error(n);
3145
3153
  } catch {
3146
3154
  console.error(n);
3147
3155
  }
3148
3156
  }
3149
3157
  }
3150
3158
  }
3151
- function si(e) {
3159
+ function ci(e) {
3152
3160
  let [t, n] = w(!!e.ssr), [r, i] = w({});
3153
3161
  function a(t) {
3154
3162
  if (t) {
@@ -3157,7 +3165,7 @@ function si(e) {
3157
3165
  name: "",
3158
3166
  data: t
3159
3167
  };
3160
- let n = Wn(t);
3168
+ let n = Kn(t);
3161
3169
  if (n) return {
3162
3170
  name: t,
3163
3171
  data: n
@@ -3183,478 +3191,478 @@ function si(e) {
3183
3191
  });
3184
3192
  return;
3185
3193
  }
3186
- let r = Wn(n);
3194
+ let r = Kn(n);
3187
3195
  l({
3188
3196
  name: n,
3189
3197
  data: r
3190
- }) && (r === void 0 ? i({ callback: Br([n], u) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
3198
+ }) && (r === void 0 ? i({ callback: Vr([n], u) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
3191
3199
  }
3192
3200
  S(() => (n(!0), c), []), S(() => {
3193
3201
  t && u();
3194
3202
  }, [e.icon, t]);
3195
3203
  let { name: d, data: f } = o;
3196
- return f ? oi({
3197
- ...Dn,
3204
+ return f ? si({
3205
+ ...An,
3198
3206
  ...f
3199
3207
  }, e, d) : e.children ? e.children : e.fallback ? e.fallback : he("span", {});
3200
3208
  }
3201
- var ci = ge((e, t) => si({
3209
+ var li = ge((e, t) => ci({
3202
3210
  ...e,
3203
3211
  _ref: t
3204
3212
  }));
3205
- ge((e, t) => si({
3213
+ ge((e, t) => ci({
3206
3214
  inline: !0,
3207
3215
  ...e,
3208
3216
  _ref: t
3209
3217
  }));
3210
3218
  //#endregion
3211
3219
  //#region node_modules/@iconify-icons/heroicons-outline/x-mark.js
3212
- var li = {
3220
+ var ui = {
3213
3221
  width: 24,
3214
3222
  height: 24,
3215
3223
  hidden: !0,
3216
3224
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m4.5 19.5l15-15m-15 0l15 15\"/>"
3217
- }, ui = {
3225
+ }, di = {
3218
3226
  width: 24,
3219
3227
  height: 24,
3220
3228
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
3221
- }, di = {
3229
+ }, fi = {
3222
3230
  width: 24,
3223
3231
  height: 24,
3224
3232
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 1 1 3.536 3.536L6.5 21.036H3v-3.572L16.732 3.732Z\"/>"
3225
- }, fi = {
3233
+ }, pi = {
3226
3234
  width: 24,
3227
3235
  height: 24,
3228
3236
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 7l-.867 12.142A2 2 0 0 1 16.138 21H7.862a2 2 0 0 1-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v3M4 7h16\"/>"
3229
- }, pi = {
3237
+ }, mi = {
3230
3238
  width: 24,
3231
3239
  height: 24,
3232
3240
  hidden: !0,
3233
3241
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.5 12c0-1.232.046-2.453.138-3.662a4.006 4.006 0 0 1 3.7-3.7a48.678 48.678 0 0 1 7.324 0a4.006 4.006 0 0 1 3.7 3.7c.017.22.032.441.046.662M4.5 12l-3-3m3 3l3-3m12 3c0 1.232-.046 2.453-.138 3.662a4.006 4.006 0 0 1-3.7 3.7a48.657 48.657 0 0 1-7.324 0a4.006 4.006 0 0 1-3.7-3.7c-.017-.22-.032-.441-.046-.662M19.5 12l-3 3m3-3l3 3\"/>"
3234
- }, mi = {
3242
+ }, hi = {
3235
3243
  width: 24,
3236
3244
  height: 24,
3237
3245
  hidden: !0,
3238
3246
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192c.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z\"/>"
3239
- }, hi = {
3247
+ }, gi = {
3240
3248
  width: 24,
3241
3249
  height: 24,
3242
3250
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 7v8a2 2 0 0 0 2 2h6M8 7V5a2 2 0 0 1 2-2h4.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V15a2 2 0 0 1-2 2h-2M8 7H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2\"/>"
3243
- }, gi = {
3251
+ }, _i = {
3244
3252
  width: 24,
3245
3253
  height: 24,
3246
3254
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c.996.608 2.296.07 2.572-1.065Z\"/><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
3247
- }, _i = {
3255
+ }, vi = {
3248
3256
  width: 24,
3249
3257
  height: 24,
3250
3258
  hidden: !0,
3251
3259
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 3c2.755 0 5.455.232 8.083.678c.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z\"/>"
3252
- }, vi = {
3260
+ }, yi = {
3253
3261
  width: 24,
3254
3262
  height: 24,
3255
3263
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 1 1 0-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 1 0 5.367-2.684a3 3 0 0 0-5.367 2.684Zm0 9.316a3 3 0 1 0 5.368 2.684a3 3 0 0 0-5.368-2.684Z\"/>"
3256
- }, yi = {
3264
+ }, bi = {
3257
3265
  width: 24,
3258
3266
  height: 24,
3259
3267
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
3260
- }, bi = {
3268
+ }, xi = {
3261
3269
  width: 24,
3262
3270
  height: 24,
3263
3271
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
3264
- }, xi = {
3272
+ }, Si = {
3265
3273
  width: 24,
3266
3274
  height: 24,
3267
3275
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
3268
- }, Si = {
3276
+ }, Ci = {
3269
3277
  width: 24,
3270
3278
  height: 24,
3271
3279
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
3272
- }, Ci = {
3280
+ }, wi = {
3273
3281
  width: 24,
3274
3282
  height: 24,
3275
3283
  hidden: !0,
3276
3284
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m21 21l-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\"/>"
3277
- }, wi = {
3285
+ }, Ti = {
3278
3286
  width: 24,
3279
3287
  height: 24,
3280
3288
  hidden: !0,
3281
3289
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\"/>"
3282
- }, Ti = {
3290
+ }, Ei = {
3283
3291
  width: 24,
3284
3292
  height: 24,
3285
3293
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 12l2 2l4-4m6 2a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
3286
- }, Ei = {
3294
+ }, Di = {
3287
3295
  width: 24,
3288
3296
  height: 24,
3289
3297
  hidden: !0,
3290
3298
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 10.5v3.75m-9.303 3.376C1.83 19.126 2.914 21 4.645 21h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 4.88c-.866-1.501-3.032-1.501-3.898 0L2.697 17.626ZM12 17.25h.007v.008H12v-.008Z\"/>"
3291
- }, Di = {
3299
+ }, Oi = {
3292
3300
  width: 24,
3293
3301
  height: 24,
3294
3302
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4m0 4h.01M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
3295
- }, Oi = {
3303
+ }, ki = {
3296
3304
  width: 24,
3297
3305
  height: 24,
3298
3306
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3Z\"/>"
3299
- }, ki = {
3307
+ }, Ai = {
3300
3308
  width: 24,
3301
3309
  height: 24,
3302
3310
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/><path d=\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7c-4.477 0-8.268-2.943-9.542-7Z\"/></g>"
3303
- }, Ai = {
3311
+ }, ji = {
3304
3312
  width: 24,
3305
3313
  height: 24,
3306
3314
  hidden: !0,
3307
3315
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12c1.292 4.338 5.31 7.5 10.066 7.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\"/>"
3308
- }, ji = {
3316
+ }, Mi = {
3309
3317
  width: 24,
3310
3318
  height: 24,
3311
3319
  hidden: !0,
3312
3320
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75\"/>"
3313
- }, Mi = {
3321
+ }, Ni = {
3314
3322
  width: 24,
3315
3323
  height: 24,
3316
3324
  hidden: !0,
3317
3325
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25\"/>"
3318
- }, Ni = {
3326
+ }, Pi = {
3319
3327
  width: 24,
3320
3328
  height: 24,
3321
3329
  hidden: !0,
3322
3330
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5\"/>"
3323
- }, Pi = {
3331
+ }, Fi = {
3324
3332
  width: 24,
3325
3333
  height: 24,
3326
3334
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1\"/>"
3327
- }, Fi = {
3335
+ }, Ii = {
3328
3336
  width: 24,
3329
3337
  height: 24,
3330
3338
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
3331
- }, Ii = {
3339
+ }, Li = {
3332
3340
  width: 24,
3333
3341
  height: 24,
3334
3342
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 1 1-8 0a4 4 0 0 1 8 0Z\"/>"
3335
- }, Li = {
3343
+ }, Ri = {
3336
3344
  width: 24,
3337
3345
  height: 24,
3338
3346
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.354 15.354A9 9 0 0 1 8.646 3.646A9.003 9.003 0 0 0 12 21a9.003 9.003 0 0 0 8.354-5.646Z\"/>"
3339
- }, Ri = {
3347
+ }, zi = {
3340
3348
  width: 24,
3341
3349
  height: 24,
3342
3350
  hidden: !0,
3343
3351
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M6.75 12a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Z\"/>"
3344
- }, zi = {
3352
+ }, Bi = {
3345
3353
  width: 24,
3346
3354
  height: 24,
3347
3355
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z\"/>"
3348
- }, Bi = {
3356
+ }, Vi = {
3349
3357
  width: 24,
3350
3358
  height: 24,
3351
3359
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253\"/>"
3352
- }, Vi = {
3360
+ }, Hi = {
3353
3361
  width: 24,
3354
3362
  height: 24,
3355
3363
  hidden: !0,
3356
3364
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5\"/>"
3357
- }, Hi = {
3365
+ }, Ui = {
3358
3366
  width: 24,
3359
3367
  height: 24,
3360
3368
  hidden: !0,
3361
3369
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88a1.124 1.124 0 0 1 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z\"/>"
3362
- }, Ui = {
3370
+ }, Wi = {
3363
3371
  width: 24,
3364
3372
  height: 24,
3365
3373
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 9a2 2 0 0 1 2-2h.93a2 2 0 0 0 1.664-.89l.812-1.22A2 2 0 0 1 10.07 4h3.86a2 2 0 0 1 1.664.89l.812 1.22A2 2 0 0 0 18.07 7H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z\"/><path d=\"M15 13a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
3366
- }, Wi = {
3374
+ }, Gi = {
3367
3375
  width: 24,
3368
3376
  height: 24,
3369
3377
  hidden: !0,
3370
3378
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3\"/>"
3371
- }, Gi = {
3379
+ }, Ki = {
3372
3380
  width: 20,
3373
3381
  height: 20,
3374
3382
  hidden: !0,
3375
3383
  body: "<path fill=\"currentColor\" d=\"M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826c-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814c.16-.432.248-.9.248-1.388Z\"/>"
3376
- }, Ki = {
3384
+ }, qi = {
3377
3385
  width: 20,
3378
3386
  height: 20,
3379
3387
  hidden: !0,
3380
3388
  body: "<path fill=\"currentColor\" d=\"M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 1 1 2.5 0v7.5Zm-10 4.25v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826c.204-.54-.166-1.174-.744-1.174h-2.52c-1.242 0-2.26-1.01-2.146-2.247c.193-2.08.652-4.082 1.341-5.974C2.752 3.678 3.833 3 5.005 3h3.192a3 3 0 0 1 1.342.317l2.733 1.366A3 3 0 0 0 13.613 5h1.292v7h-.963c-.684 0-1.258.482-1.612 1.068a4.012 4.012 0 0 1-2.165 1.73c-.433.143-.854.386-1.012.814c-.16.432-.248.9-.248 1.388Z\"/>"
3381
- }, qi = {
3389
+ }, Ji = {
3382
3390
  width: 20,
3383
3391
  height: 20,
3384
3392
  body: "<path fill=\"currentColor\" d=\"M2 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-5Zm6-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7Zm6-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4Z\"/>"
3385
- }, Ji = {
3393
+ }, Yi = {
3386
3394
  width: 20,
3387
3395
  height: 20,
3388
3396
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M17.707 9.293a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7A.997.997 0 0 1 2 10V5a3 3 0 0 1 3-3h5c.256 0 .512.098.707.293l7 7ZM5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z\" clip-rule=\"evenodd\"/>"
3389
- }, Yi = {
3397
+ }, Xi = {
3390
3398
  width: 20,
3391
3399
  height: 20,
3392
3400
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 2a1 1 0 0 0-1 1v1H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1V3a1 1 0 1 0-2 0v1H7V3a1 1 0 0 0-1-1Zm0 5a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H6Z\" clip-rule=\"evenodd\"/>"
3393
- }, Xi = {
3401
+ }, Zi = {
3394
3402
  width: 20,
3395
3403
  height: 20,
3396
3404
  hidden: !0,
3397
3405
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2.5 3A1.5 1.5 0 0 0 1 4.5v4A1.5 1.5 0 0 0 2.5 10h6A1.5 1.5 0 0 0 10 8.5v-4A1.5 1.5 0 0 0 8.5 3h-6Zm11 2A1.5 1.5 0 0 0 12 6.5v7a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 17.5 5h-4Zm-10 7A1.5 1.5 0 0 0 2 13.5v2A1.5 1.5 0 0 0 3.5 17h6a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 9.5 12h-6Z\" clip-rule=\"evenodd\"/>"
3398
- }, Zi = {
3406
+ }, Qi = {
3399
3407
  width: 20,
3400
3408
  height: 20,
3401
3409
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16ZM9.555 7.168A1 1 0 0 0 8 8v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664l-3-2Z\" clip-rule=\"evenodd\"/>"
3402
- }, Qi = {
3410
+ }, $i = {
3403
3411
  width: 20,
3404
3412
  height: 20,
3405
3413
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/>"
3406
- }, $i = {
3414
+ }, ea = {
3407
3415
  width: 20,
3408
3416
  height: 20,
3409
3417
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 2a1 1 0 0 1 1 1v1.323l3.954 1.582l1.599-.8a1 1 0 0 1 .894 1.79l-1.233.616l1.738 5.42a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 15 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.715-5.349L11 6.477V16h2a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h2V6.477L6.237 7.582l1.715 5.349a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 5 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.738-5.42l-1.233-.617a1 1 0 0 1 .894-1.788l1.599.799L9 4.323V3a1 1 0 0 1 1-1Zm-5 8.274l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L5 10.274Zm10 0l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L15 10.274Z\" clip-rule=\"evenodd\"/>"
3410
- }, ea = {
3418
+ }, ta = {
3411
3419
  width: 20,
3412
3420
  height: 20,
3413
3421
  hidden: !0,
3414
3422
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v4.59L7.3 9.24a.75.75 0 0 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 1 0-1.1-1.02l-1.95 2.1V6.75Z\" clip-rule=\"evenodd\"/>"
3415
- }, ta = {
3423
+ }, na = {
3416
3424
  width: 20,
3417
3425
  height: 20,
3418
3426
  hidden: !0,
3419
3427
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z\" clip-rule=\"evenodd\"/>"
3420
- }, na = {
3428
+ }, ra = {
3421
3429
  width: 20,
3422
3430
  height: 20,
3423
3431
  hidden: !0,
3424
3432
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12.577 4.878a.75.75 0 0 1 .919-.53l4.78 1.281a.75.75 0 0 1 .531.919l-1.281 4.78a.75.75 0 0 1-1.449-.387l.81-3.022a19.407 19.407 0 0 0-5.594 5.203a.75.75 0 0 1-1.139.093L7 10.06l-4.72 4.72a.75.75 0 0 1-1.06-1.061l5.25-5.25a.75.75 0 0 1 1.06 0l3.074 3.073a20.923 20.923 0 0 1 5.545-4.931l-3.042-.815a.75.75 0 0 1-.53-.919Z\" clip-rule=\"evenodd\"/>"
3425
- }, ra = {
3433
+ }, ia = {
3426
3434
  width: 20,
3427
3435
  height: 20,
3428
3436
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2a1 1 0 0 0-.707 1.707L7 4.414v3.758a1 1 0 0 1-.293.707l-4 4C.817 14.769 2.156 18 4.828 18h10.343c2.673 0 4.012-3.231 2.122-5.121l-4-4A1 1 0 0 1 13 8.172V4.414l.707-.707A1 1 0 0 0 13 2H7Zm2 6.172V4h2v4.172a3 3 0 0 0 .879 2.12l1.027 1.028a4 4 0 0 0-2.171.102l-.47.156a4 4 0 0 1-2.53 0l-.563-.187a1.993 1.993 0 0 0-.114-.035l1.063-1.063A3 3 0 0 0 9 8.172Z\" clip-rule=\"evenodd\"/>"
3429
- }, ia = {
3437
+ }, aa = {
3430
3438
  width: 20,
3431
3439
  height: 20,
3432
3440
  hidden: !0,
3433
3441
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 10.5a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1-.75-.75ZM2 10a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 10Z\" clip-rule=\"evenodd\"/>"
3434
- }, aa = {
3442
+ }, oa = {
3435
3443
  width: 20,
3436
3444
  height: 20,
3437
3445
  body: "<g fill=\"currentColor\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6.625 2.655A9 9 0 0 1 19 11a1 1 0 1 1-2 0a7 7 0 0 0-9.625-6.492a1 1 0 1 1-.75-1.853ZM4.662 4.959A1 1 0 0 1 4.75 6.37A6.97 6.97 0 0 0 3 11a1 1 0 1 1-2 0a8.97 8.97 0 0 1 2.25-5.953a1 1 0 0 1 1.412-.088Z\"/><path d=\"M5 11a5 5 0 1 1 10 0a1 1 0 1 1-2 0a3 3 0 1 0-6 0c0 1.677-.345 3.276-.968 4.729a1 1 0 1 1-1.838-.789A9.964 9.964 0 0 0 5 11Zm8.921 2.012a1 1 0 0 1 .831 1.145a19.86 19.86 0 0 1-.545 2.436a1 1 0 1 1-1.92-.558c.207-.713.371-1.445.49-2.192a1 1 0 0 1 1.144-.83Z\"/><path d=\"M10 10a1 1 0 0 1 1 1c0 2.236-.46 4.368-1.29 6.304a1 1 0 0 1-1.838-.789A13.952 13.952 0 0 0 9 11a1 1 0 0 1 1-1Z\"/></g>"
3438
- }, oa = {
3446
+ }, sa = {
3439
3447
  width: 20,
3440
3448
  height: 20,
3441
3449
  hidden: !0,
3442
3450
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4.25 2A2.25 2.25 0 0 0 2 4.25v11.5A2.25 2.25 0 0 0 4.25 18h11.5A2.25 2.25 0 0 0 18 15.75V4.25A2.25 2.25 0 0 0 15.75 2H4.25ZM15 5.75a.75.75 0 0 0-1.5 0v8.5a.75.75 0 0 0 1.5 0v-8.5Zm-8.5 6a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0v-2.5ZM8.584 9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5a.75.75 0 0 1 .75-.75Zm3.58-1.25a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0v-6.5Z\" clip-rule=\"evenodd\"/>"
3443
- }, sa = {
3451
+ }, ca = {
3444
3452
  width: 20,
3445
3453
  height: 20,
3446
3454
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm1-11a1 1 0 1 0-2 0v2H7a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V7Z\" clip-rule=\"evenodd\"/>"
3447
- }, ca = {
3455
+ }, la = {
3448
3456
  width: 20,
3449
3457
  height: 20,
3450
3458
  body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.243 3.03a1 1 0 0 1 .727 1.213L9.53 6h2.94l.56-2.243a1 1 0 1 1 1.94.486L14.53 6H17a1 1 0 1 1 0 2h-2.97l-1 4H15a1 1 0 1 1 0 2h-2.47l-.56 2.242a1 1 0 1 1-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 1 1-1.94-.485L5.47 14H3a1 1 0 1 1 0-2h2.97l1-4H5a1 1 0 1 1 0-2h2.47l.56-2.243a1 1 0 0 1 1.213-.727ZM9.03 8l-1 4h2.938l1-4H9.031Z\" clip-rule=\"evenodd\"/>"
3451
- }, la = {
3459
+ }, ua = {
3452
3460
  width: 24,
3453
3461
  height: 24,
3454
3462
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14\"/>"
3455
- }, ua = {
3463
+ }, da = {
3456
3464
  width: 24,
3457
3465
  height: 24,
3458
3466
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
3459
- }, da = {
3467
+ }, fa = {
3460
3468
  width: 24,
3461
3469
  height: 24,
3462
3470
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4\"/>"
3463
- }, fa = {
3471
+ }, pa = {
3464
3472
  width: 24,
3465
3473
  height: 24,
3466
3474
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8\"/><path d=\"M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5\"/></g>"
3467
- }, pa = {
3475
+ }, ma = {
3468
3476
  width: 24,
3469
3477
  height: 24,
3470
3478
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 3v18h18\"/><path d=\"M7 15a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5-9l-6 1.5m-.887 2.15l2.771 3.695M16 12.5l-5 2\"/></g>"
3471
- }, ma = {
3479
+ }, ha = {
3472
3480
  width: 24,
3473
3481
  height: 24,
3474
3482
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 16a3 3 0 1 0 6 0a3 3 0 1 0-6 0m11 3a2 2 0 1 0 4 0a2 2 0 1 0-4 0M10 7.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0\"/>"
3475
- }, ha = {
3483
+ }, ga = {
3476
3484
  width: 24,
3477
3485
  height: 24,
3478
3486
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m12 3l9.5 7L18 21H6L2.5 10z\"/><path d=\"m12 7.5l5.5 4L15 17H8.5l-2-5.5z\"/><path d=\"m2.5 10l9.5 3l9.5-3\"/><path d=\"M12 3v10l6 8M6 21l6-8\"/></g>"
3479
- }, ga = {
3487
+ }, _a = {
3480
3488
  width: 24,
3481
3489
  height: 24,
3482
3490
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0\"/><path d=\"M15.51 15.56A5 5 0 1 0 12 17\"/><path d=\"M18.832 17.86A9 9 0 1 0 12 21m0-9v9\"/></g>"
3483
- }, _a = {
3491
+ }, va = {
3484
3492
  width: 24,
3485
3493
  height: 24,
3486
3494
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm8-2v16m-8-5h8m0-3h8m-4 0v8m0-4h4\"/>"
3487
- }, va = {
3495
+ }, ya = {
3488
3496
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"10.5\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"17\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <path d=\"M8 5.5 C11 5.5, 13 5.5, 16 5.5\"/>\n <path d=\"M8 5.5 C10 5.5, 11 7, 12 9 C13 11, 14 12, 16 12\"/>\n <path d=\"M8 5.5 C10 5.5, 11 10, 12 14 C13 17, 14 18.5, 16 18.5\"/>\n </g>",
3489
3497
  width: 24,
3490
3498
  height: 24
3491
- }, ya = {
3499
+ }, ba = {
3492
3500
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"2\" y=\"3\" width=\"20\" height=\"4\" rx=\"1\"/>\n <rect x=\"4\" y=\"10\" width=\"16\" height=\"4\" rx=\"1\"/>\n <rect x=\"6\" y=\"17\" width=\"12\" height=\"4\" rx=\"1\"/>\n </g>",
3493
3501
  width: 24,
3494
3502
  height: 24
3495
- }, ba = {
3503
+ }, xa = {
3496
3504
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- Grid cells representing retention matrix -->\n <rect x=\"3\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n </g>",
3497
3505
  width: 24,
3498
3506
  height: 24
3499
- }, xa = {
3507
+ }, Sa = {
3500
3508
  width: 24,
3501
3509
  height: 24,
3502
3510
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8.848 14.667L5.5 17.5M12 3v5m4 4h5M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m11.219 3.328L17 19.5\"/><path d=\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0\"/></g>"
3503
- }, Sa = {
3511
+ }, Ca = {
3504
3512
  width: 24,
3505
3513
  height: 24,
3506
3514
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm0 5h18M10 3v18\"/>"
3507
- }, Ca = {
3515
+ }, wa = {
3508
3516
  width: 24,
3509
3517
  height: 24,
3510
3518
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11.795 21H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4m-1 3v4h4\"/><path d=\"M14 18a4 4 0 1 0 8 0a4 4 0 1 0-8 0m1-15v4M7 3v4m-4 4h16\"/></g>"
3511
- }, wa = {
3519
+ }, Ta = {
3512
3520
  width: 24,
3513
3521
  height: 24,
3514
3522
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 17V7l7 10V7m4 10h5m-5-7a2.5 3 0 1 0 5 0a2.5 3 0 1 0-5 0\"/>"
3515
- }, Ta = {
3523
+ }, Ea = {
3516
3524
  width: 24,
3517
3525
  height: 24,
3518
3526
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m3 17l6-6l4 4l8-8\"/><path d=\"M14 7h7v7\"/></g>"
3519
- }, Ea = {
3527
+ }, Da = {
3520
3528
  width: 24,
3521
3529
  height: 24,
3522
3530
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 20h3m7 0h7M6.9 15h6.9m-3.6-8.7L16 20M5 20l6-16h2l7 16\"/>"
3523
- }, Da = {
3531
+ }, Oa = {
3524
3532
  width: 24,
3525
3533
  height: 24,
3526
3534
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M14 3v4a1 1 0 0 0 1 1h4\"/><path d=\"M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2zM9 9h1m-1 4h6m-6 4h6\"/></g>"
3527
- }, Oa = {
3535
+ }, ka = {
3528
3536
  width: 24,
3529
3537
  height: 24,
3530
3538
  body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01\"/><path d=\"M11 12h1v4h1\"/></g>"
3531
- }, ka = {
3539
+ }, Aa = {
3532
3540
  close: {
3533
- icon: li,
3541
+ icon: ui,
3534
3542
  category: "action"
3535
3543
  },
3536
3544
  add: {
3537
- icon: ui,
3545
+ icon: di,
3538
3546
  category: "action"
3539
3547
  },
3540
3548
  edit: {
3541
- icon: di,
3549
+ icon: fi,
3542
3550
  category: "action"
3543
3551
  },
3544
3552
  delete: {
3545
- icon: fi,
3553
+ icon: pi,
3546
3554
  category: "action"
3547
3555
  },
3548
3556
  refresh: {
3549
- icon: pi,
3557
+ icon: mi,
3550
3558
  category: "action"
3551
3559
  },
3552
3560
  copy: {
3553
- icon: mi,
3561
+ icon: hi,
3554
3562
  category: "action"
3555
3563
  },
3556
3564
  duplicate: {
3557
- icon: hi,
3565
+ icon: gi,
3558
3566
  category: "action"
3559
3567
  },
3560
3568
  settings: {
3561
- icon: gi,
3569
+ icon: _i,
3562
3570
  category: "action"
3563
3571
  },
3564
3572
  filter: {
3565
- icon: _i,
3573
+ icon: vi,
3566
3574
  category: "action"
3567
3575
  },
3568
3576
  share: {
3569
- icon: vi,
3577
+ icon: yi,
3570
3578
  category: "action"
3571
3579
  },
3572
3580
  expand: {
3573
- icon: bi,
3581
+ icon: xi,
3574
3582
  category: "action"
3575
3583
  },
3576
3584
  collapse: {
3577
- icon: yi,
3585
+ icon: bi,
3578
3586
  category: "action"
3579
3587
  },
3580
3588
  search: {
3581
- icon: Ci,
3589
+ icon: wi,
3582
3590
  category: "action"
3583
3591
  },
3584
3592
  menu: {
3585
- icon: wi,
3593
+ icon: Ti,
3586
3594
  category: "action"
3587
3595
  },
3588
3596
  run: {
3589
- icon: Zi,
3597
+ icon: Qi,
3590
3598
  category: "action"
3591
3599
  },
3592
3600
  check: {
3593
- icon: Qi,
3601
+ icon: $i,
3594
3602
  category: "action"
3595
3603
  },
3596
3604
  link: {
3597
- icon: Pi,
3605
+ icon: Fi,
3598
3606
  category: "action"
3599
3607
  },
3600
3608
  eye: {
3601
- icon: ki,
3609
+ icon: Ai,
3602
3610
  category: "action"
3603
3611
  },
3604
3612
  eyeOff: {
3605
- icon: Ai,
3613
+ icon: ji,
3606
3614
  category: "action"
3607
3615
  },
3608
3616
  adjustments: {
3609
- icon: ji,
3617
+ icon: Mi,
3610
3618
  category: "action"
3611
3619
  },
3612
3620
  desktop: {
3613
- icon: Mi,
3621
+ icon: Ni,
3614
3622
  category: "action"
3615
3623
  },
3616
3624
  table: {
3617
- icon: Ni,
3625
+ icon: Pi,
3618
3626
  category: "action"
3619
3627
  },
3620
3628
  sun: {
3621
- icon: Ii,
3629
+ icon: Li,
3622
3630
  category: "action"
3623
3631
  },
3624
3632
  moon: {
3625
- icon: Li,
3633
+ icon: Ri,
3626
3634
  category: "action"
3627
3635
  },
3628
3636
  ellipsisHorizontal: {
3629
- icon: Ri,
3637
+ icon: zi,
3630
3638
  category: "action"
3631
3639
  },
3632
3640
  documentText: {
3633
- icon: zi,
3641
+ icon: Bi,
3634
3642
  category: "action"
3635
3643
  },
3636
3644
  bookOpen: {
3637
- icon: Bi,
3645
+ icon: Vi,
3638
3646
  category: "action"
3639
3647
  },
3640
3648
  codeBracket: {
3641
- icon: Vi,
3649
+ icon: Hi,
3642
3650
  category: "action"
3643
3651
  },
3644
3652
  swatch: {
3645
- icon: Hi,
3653
+ icon: Ui,
3646
3654
  category: "action"
3647
3655
  },
3648
3656
  camera: {
3649
- icon: Ui,
3657
+ icon: Wi,
3650
3658
  category: "action"
3651
3659
  },
3652
3660
  thumbUp: {
3653
- icon: Gi,
3661
+ icon: Ki,
3654
3662
  category: "action"
3655
3663
  },
3656
3664
  thumbDown: {
3657
- icon: Ki,
3665
+ icon: qi,
3658
3666
  category: "action"
3659
3667
  },
3660
3668
  schemaGraph: {
@@ -3674,95 +3682,95 @@ var li = {
3674
3682
  category: "action"
3675
3683
  },
3676
3684
  download: {
3677
- icon: Wi,
3685
+ icon: Gi,
3678
3686
  category: "action"
3679
3687
  },
3680
3688
  measure: {
3681
- icon: qi,
3689
+ icon: Ji,
3682
3690
  category: "field"
3683
3691
  },
3684
3692
  dimension: {
3685
- icon: Ji,
3693
+ icon: Yi,
3686
3694
  category: "field"
3687
3695
  },
3688
3696
  timeDimension: {
3689
- icon: Yi,
3697
+ icon: Xi,
3690
3698
  category: "field"
3691
3699
  },
3692
3700
  segment: {
3693
- icon: Xi,
3701
+ icon: Zi,
3694
3702
  category: "field"
3695
3703
  },
3696
3704
  chartBar: {
3697
- icon: la,
3705
+ icon: ua,
3698
3706
  category: "chart"
3699
3707
  },
3700
3708
  chartLine: {
3701
- icon: ua,
3709
+ icon: da,
3702
3710
  category: "chart"
3703
3711
  },
3704
3712
  chartArea: {
3705
- icon: da,
3713
+ icon: fa,
3706
3714
  category: "chart"
3707
3715
  },
3708
3716
  chartPie: {
3709
- icon: fa,
3717
+ icon: pa,
3710
3718
  category: "chart"
3711
3719
  },
3712
3720
  chartScatter: {
3713
- icon: pa,
3721
+ icon: ma,
3714
3722
  category: "chart"
3715
3723
  },
3716
3724
  chartBubble: {
3717
- icon: ma,
3725
+ icon: ha,
3718
3726
  category: "chart"
3719
3727
  },
3720
3728
  chartRadar: {
3721
- icon: ha,
3729
+ icon: ga,
3722
3730
  category: "chart"
3723
3731
  },
3724
3732
  chartRadialBar: {
3725
- icon: ga,
3733
+ icon: _a,
3726
3734
  category: "chart"
3727
3735
  },
3728
3736
  chartTreemap: {
3729
- icon: _a,
3737
+ icon: va,
3730
3738
  category: "chart"
3731
3739
  },
3732
3740
  chartTable: {
3733
- icon: Sa,
3741
+ icon: Ca,
3734
3742
  category: "chart"
3735
3743
  },
3736
3744
  chartActivityGrid: {
3737
- icon: Ca,
3745
+ icon: wa,
3738
3746
  category: "chart"
3739
3747
  },
3740
3748
  chartKpiNumber: {
3741
- icon: wa,
3749
+ icon: Ta,
3742
3750
  category: "chart"
3743
3751
  },
3744
3752
  chartKpiDelta: {
3745
- icon: Ta,
3753
+ icon: Ea,
3746
3754
  category: "chart"
3747
3755
  },
3748
3756
  chartKpiText: {
3749
- icon: Ea,
3757
+ icon: Da,
3750
3758
  category: "chart"
3751
3759
  },
3752
3760
  chartMarkdown: {
3753
- icon: Da,
3761
+ icon: Oa,
3754
3762
  category: "chart"
3755
3763
  },
3756
3764
  chartFunnel: {
3757
- icon: ya,
3765
+ icon: ba,
3758
3766
  category: "chart"
3759
3767
  },
3760
3768
  chartSankey: {
3761
- icon: va,
3769
+ icon: ya,
3762
3770
  category: "chart"
3763
3771
  },
3764
3772
  chartSunburst: {
3765
- icon: xa,
3773
+ icon: Sa,
3766
3774
  category: "chart"
3767
3775
  },
3768
3776
  chartHeatmap: {
@@ -3774,87 +3782,87 @@ var li = {
3774
3782
  category: "chart"
3775
3783
  },
3776
3784
  chartRetention: {
3777
- icon: ba,
3785
+ icon: xa,
3778
3786
  category: "chart"
3779
3787
  },
3780
3788
  measureCount: {
3781
- icon: ia,
3789
+ icon: aa,
3782
3790
  category: "measure"
3783
3791
  },
3784
3792
  measureCountDistinct: {
3785
- icon: aa,
3793
+ icon: oa,
3786
3794
  category: "measure"
3787
3795
  },
3788
3796
  measureCountDistinctApprox: {
3789
- icon: oa,
3797
+ icon: sa,
3790
3798
  category: "measure"
3791
3799
  },
3792
3800
  measureSum: {
3793
- icon: sa,
3801
+ icon: ca,
3794
3802
  category: "measure"
3795
3803
  },
3796
3804
  measureAvg: {
3797
- icon: $i,
3805
+ icon: ea,
3798
3806
  category: "measure"
3799
3807
  },
3800
3808
  measureMin: {
3801
- icon: ea,
3809
+ icon: ta,
3802
3810
  category: "measure"
3803
3811
  },
3804
3812
  measureMax: {
3805
- icon: ta,
3813
+ icon: na,
3806
3814
  category: "measure"
3807
3815
  },
3808
3816
  measureRunningTotal: {
3809
- icon: na,
3817
+ icon: ra,
3810
3818
  category: "measure"
3811
3819
  },
3812
3820
  measureCalculated: {
3813
- icon: ra,
3821
+ icon: ia,
3814
3822
  category: "measure"
3815
3823
  },
3816
3824
  measureNumber: {
3817
- icon: ca,
3825
+ icon: la,
3818
3826
  category: "measure"
3819
3827
  },
3820
3828
  success: {
3821
- icon: Ti,
3829
+ icon: Ei,
3822
3830
  category: "state"
3823
3831
  },
3824
3832
  warning: {
3825
- icon: Ei,
3833
+ icon: Di,
3826
3834
  category: "state"
3827
3835
  },
3828
3836
  error: {
3829
- icon: Di,
3837
+ icon: Oi,
3830
3838
  category: "state"
3831
3839
  },
3832
3840
  info: {
3833
- icon: Oa,
3841
+ icon: ka,
3834
3842
  category: "state"
3835
3843
  },
3836
3844
  loading: {
3837
- icon: pi,
3845
+ icon: mi,
3838
3846
  category: "state"
3839
3847
  },
3840
3848
  sparkles: {
3841
- icon: Oi,
3849
+ icon: ki,
3842
3850
  category: "state"
3843
3851
  },
3844
3852
  chevronUp: {
3845
- icon: yi,
3853
+ icon: bi,
3846
3854
  category: "navigation"
3847
3855
  },
3848
3856
  chevronDown: {
3849
- icon: bi,
3857
+ icon: xi,
3850
3858
  category: "navigation"
3851
3859
  },
3852
3860
  chevronLeft: {
3853
- icon: xi,
3861
+ icon: Si,
3854
3862
  category: "navigation"
3855
3863
  },
3856
3864
  chevronRight: {
3857
- icon: Si,
3865
+ icon: Ci,
3858
3866
  category: "navigation"
3859
3867
  },
3860
3868
  chevronUpDown: {
@@ -3866,82 +3874,82 @@ var li = {
3866
3874
  category: "navigation"
3867
3875
  },
3868
3876
  arrowUp: {
3869
- icon: ta,
3877
+ icon: na,
3870
3878
  category: "navigation"
3871
3879
  },
3872
3880
  arrowDown: {
3873
- icon: ea,
3881
+ icon: ta,
3874
3882
  category: "navigation"
3875
3883
  },
3876
3884
  arrowRight: {
3877
- icon: Fi,
3885
+ icon: Ii,
3878
3886
  category: "navigation"
3879
3887
  },
3880
3888
  arrowPath: {
3881
- icon: pi,
3889
+ icon: mi,
3882
3890
  category: "navigation"
3883
3891
  }
3884
- }, G = { ...ka }, Aa = null;
3885
- function ja(e) {
3886
- Aa = e;
3892
+ }, W = { ...Aa }, ja = null;
3893
+ function Ma(e) {
3894
+ ja = e;
3887
3895
  }
3888
- var K = /* @__PURE__ */ new Map();
3889
- function Ma() {
3890
- return G;
3896
+ var G = /* @__PURE__ */ new Map();
3897
+ function Na() {
3898
+ return W;
3891
3899
  }
3892
- function q(e) {
3893
- let t = K.get(e);
3900
+ function K(e) {
3901
+ let t = G.get(e);
3894
3902
  if (t) return t;
3895
- let n = G[e];
3896
- if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ T(ci, {
3897
- icon: G.info.icon,
3903
+ let n = W[e];
3904
+ if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ T(li, {
3905
+ icon: W.info.icon,
3898
3906
  className: e,
3899
3907
  ...t
3900
3908
  });
3901
- let r = ({ className: e, ...t }) => /* @__PURE__ */ T(ci, {
3909
+ let r = ({ className: e, ...t }) => /* @__PURE__ */ T(li, {
3902
3910
  icon: n.icon,
3903
3911
  className: e,
3904
3912
  ...t
3905
3913
  });
3906
- return K.set(e, r), r;
3914
+ return G.set(e, r), r;
3907
3915
  }
3908
- function Na(e) {
3909
- return G[e]?.icon ?? G.info.icon;
3916
+ function Pa(e) {
3917
+ return W[e]?.icon ?? W.info.icon;
3910
3918
  }
3911
- function Pa(e, t) {
3912
- G[e] && (G[e] = {
3913
- ...G[e],
3919
+ function Fa(e, t) {
3920
+ W[e] && (W[e] = {
3921
+ ...W[e],
3914
3922
  icon: t
3915
- }, K.delete(e));
3923
+ }, G.delete(e));
3916
3924
  }
3917
- function Fa(e) {
3918
- for (let [t, n] of Object.entries(e)) if (n && t in G) {
3925
+ function Ia(e) {
3926
+ for (let [t, n] of Object.entries(e)) if (n && t in W) {
3919
3927
  let e = t;
3920
- if ("body" in n) G[e] = {
3921
- ...G[e],
3928
+ if ("body" in n) W[e] = {
3929
+ ...W[e],
3922
3930
  icon: n
3923
3931
  };
3924
3932
  else {
3925
3933
  let t = n;
3926
- G[e] = {
3927
- ...G[e],
3934
+ W[e] = {
3935
+ ...W[e],
3928
3936
  ...t,
3929
- icon: t.icon ?? G[e].icon
3937
+ icon: t.icon ?? W[e].icon
3930
3938
  };
3931
3939
  }
3932
- K.delete(e);
3940
+ G.delete(e);
3933
3941
  }
3934
3942
  }
3935
- function Ia() {
3936
- G = { ...ka }, K.clear();
3943
+ function La() {
3944
+ W = { ...Aa }, G.clear();
3937
3945
  }
3938
- function La(e) {
3946
+ function Ra(e) {
3939
3947
  let t = {};
3940
- for (let [n, r] of Object.entries(G)) r.category === e && (t[n] = q(n));
3948
+ for (let [n, r] of Object.entries(W)) r.category === e && (t[n] = K(n));
3941
3949
  return t;
3942
3950
  }
3943
- function Ra(e) {
3944
- return q({
3951
+ function za(e) {
3952
+ return K({
3945
3953
  count: "measureCount",
3946
3954
  countDistinct: "measureCountDistinct",
3947
3955
  countDistinctApprox: "measureCountDistinctApprox",
@@ -3954,7 +3962,7 @@ function Ra(e) {
3954
3962
  number: "measureNumber"
3955
3963
  }[e || ""] || "measureCount");
3956
3964
  }
3957
- function za(e) {
3965
+ function Ba(e) {
3958
3966
  let t = {
3959
3967
  bar: "chartBar",
3960
3968
  line: "chartLine",
@@ -3976,15 +3984,15 @@ function za(e) {
3976
3984
  sunburst: "chartSunburst",
3977
3985
  heatmap: "chartHeatmap"
3978
3986
  }[e];
3979
- if (t) return q(t);
3980
- if (Aa) {
3981
- let t = Aa(e);
3987
+ if (t) return K(t);
3988
+ if (ja) {
3989
+ let t = ja(e);
3982
3990
  if (t) return t;
3983
3991
  }
3984
- return q("chartBar");
3992
+ return K("chartBar");
3985
3993
  }
3986
- function Ba(e) {
3987
- return q({
3994
+ function Va(e) {
3995
+ return K({
3988
3996
  measure: "measure",
3989
3997
  dimension: "dimension",
3990
3998
  timeDimension: "timeDimension",
@@ -3994,7 +4002,7 @@ function Ba(e) {
3994
4002
  }
3995
4003
  //#endregion
3996
4004
  //#region src/client/components/charts/MissingDependencyFallback.tsx
3997
- function Va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
4005
+ function Ha({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
3998
4006
  let { t: i } = o();
3999
4007
  return /* @__PURE__ */ E("div", {
4000
4008
  className: "dc-missing-dependency-fallback",
@@ -4070,7 +4078,7 @@ function Va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
4070
4078
  }
4071
4079
  //#endregion
4072
4080
  //#region src/client/charts/ChartLoader.tsx
4073
- var J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Set(), Ha = {
4081
+ var q = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Set(), Ua = {
4074
4082
  bar: {
4075
4083
  packageName: "recharts",
4076
4084
  installCommand: "npm install recharts"
@@ -4135,33 +4143,33 @@ var J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Set(), Ha = {
4135
4143
  packageName: "d3-shape",
4136
4144
  installCommand: "npm install d3-shape"
4137
4145
  }
4138
- }, Ua = {
4139
- bar: () => import("./chart-bar-CTmdv_v0.js").then((e) => e.n),
4140
- line: () => import("./chart-line-BZhzOjRl.js").then((e) => e.n),
4141
- area: () => import("./chart-area-BZEnT-tf.js").then((e) => e.n),
4142
- pie: () => import("./chart-pie-CsdzxmSK.js").then((e) => e.n),
4143
- scatter: () => import("./chart-scatter-k2IJbO2Y.js").then((e) => e.n),
4144
- radar: () => import("./chart-radar-C_9RwMKw.js").then((e) => e.n),
4145
- radialBar: () => import("./chart-radial-bar-CewRelyQ.js").then((e) => e.n),
4146
- treemap: () => import("./chart-tree-map-Cj_ewpwJ.js").then((e) => e.n),
4147
- bubble: () => import("./chart-bubble-CjFprySz.js").then((e) => e.t),
4146
+ }, Y = {
4147
+ bar: () => import("./chart-bar-KddciGDv.js").then((e) => e.n),
4148
+ line: () => import("./chart-line-9BEGN5Ti.js").then((e) => e.n),
4149
+ area: () => import("./chart-area-DHCPM4Em.js").then((e) => e.n),
4150
+ pie: () => import("./chart-pie-BjAIhyOi.js").then((e) => e.n),
4151
+ scatter: () => import("./chart-scatter-DaHYP_OL.js").then((e) => e.n),
4152
+ radar: () => import("./chart-radar-Dgkcl2bN.js").then((e) => e.n),
4153
+ radialBar: () => import("./chart-radial-bar-DdWJjAhK.js").then((e) => e.n),
4154
+ treemap: () => import("./chart-tree-map-uiwUU4nb.js").then((e) => e.n),
4155
+ bubble: () => import("./chart-bubble-CfqiB538.js").then((e) => e.t),
4148
4156
  table: () => Promise.resolve().then(() => Lo),
4149
- activityGrid: () => import("./chart-activity-grid-Bdb8U_NC.js").then((e) => e.t),
4150
- kpiNumber: () => import("./chart-kpi-number-CuNEYbRx.js").then((e) => e.t),
4151
- kpiDelta: () => import("./chart-kpi-delta-DJKL02Ut.js").then((e) => e.t),
4152
- kpiText: () => import("./chart-kpi-text-u8FJaZDQ.js").then((e) => e.t),
4153
- markdown: () => import("./chart-markdown-DEtjn8gx.js").then((e) => e.n),
4154
- funnel: () => import("./chart-funnel-B9crR3b3.js").then((e) => e.n),
4155
- sankey: () => import("./chart-sankey-ItraHWH1.js").then((e) => e.t),
4156
- sunburst: () => import("./chart-sunburst-NsFRuqi9.js").then((e) => e.t),
4157
- heatmap: () => import("./chart-heat-map-BxgM_X1G.js").then((e) => e.t),
4158
- retentionHeatmap: () => import("./RetentionHeatmap-BHCgwZmB.js"),
4159
- retentionCombined: () => import("./RetentionCombinedChart-CivIny9P.js"),
4160
- boxPlot: () => import("./chart-box-plot-CYObdFtp.js").then((e) => e.t),
4161
- waterfall: () => import("./chart-waterfall-C-MTFcOz.js").then((e) => e.t),
4162
- candlestick: () => import("./chart-candlestick-D2HoM3B5.js").then((e) => e.t),
4163
- measureProfile: () => import("./chart-measure-profile-BnpIOS4Q.js").then((e) => e.t),
4164
- gauge: () => import("./chart-gauge-DAMFsicz.js").then((e) => e.t)
4157
+ activityGrid: () => import("./chart-activity-grid-DmruKPab.js").then((e) => e.t),
4158
+ kpiNumber: () => import("./chart-kpi-number-gWYF44ol.js").then((e) => e.t),
4159
+ kpiDelta: () => import("./chart-kpi-delta-C2wKPqCb.js").then((e) => e.t),
4160
+ kpiText: () => import("./chart-kpi-text-DIYtJtk4.js").then((e) => e.t),
4161
+ markdown: () => import("./chart-markdown-dgUetjyM.js").then((e) => e.n),
4162
+ funnel: () => import("./chart-funnel-DnWRsmnS.js").then((e) => e.n),
4163
+ sankey: () => import("./chart-sankey-M3XpO_ah.js").then((e) => e.t),
4164
+ sunburst: () => import("./chart-sunburst-A_u6lqlS.js").then((e) => e.t),
4165
+ heatmap: () => import("./chart-heat-map-DcGm9SWK.js").then((e) => e.t),
4166
+ retentionHeatmap: () => import("./RetentionHeatmap-DGzLzr7h.js"),
4167
+ retentionCombined: () => import("./RetentionCombinedChart-BPkfcTa8.js"),
4168
+ boxPlot: () => import("./chart-box-plot-DYKfyOI8.js").then((e) => e.t),
4169
+ waterfall: () => import("./chart-waterfall-BuhMoagf.js").then((e) => e.t),
4170
+ candlestick: () => import("./chart-candlestick-Dwc92Mrj.js").then((e) => e.t),
4171
+ measureProfile: () => import("./chart-measure-profile-ClfpLs4q.js").then((e) => e.t),
4172
+ gauge: () => import("./chart-gauge-CgMeqeGb.js").then((e) => e.t)
4165
4173
  }, X = /* @__PURE__ */ new Map();
4166
4174
  function Wa(e) {
4167
4175
  let t = ({ height: t }) => {
@@ -4185,7 +4193,7 @@ function Wa(e) {
4185
4193
  return t.displayName = `UnknownChart_${e}`, t;
4186
4194
  }
4187
4195
  function Ga(e) {
4188
- let t = Ha[e], n = ({ height: n }) => /* @__PURE__ */ T(Va, {
4196
+ let t = Ua[e], n = ({ height: n }) => /* @__PURE__ */ T(Ha, {
4189
4197
  chartType: e,
4190
4198
  packageName: t?.packageName || "unknown",
4191
4199
  installCommand: t?.installCommand || "npm install [package-name]",
@@ -4198,23 +4206,23 @@ function Ka(e, t) {
4198
4206
  try {
4199
4207
  return await t();
4200
4208
  } catch (t) {
4201
- return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), Y.add(e), { default: Ga(e) };
4209
+ return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), J.add(e), { default: Ga(e) };
4202
4210
  }
4203
4211
  };
4204
4212
  }
4205
4213
  function qa(e) {
4206
4214
  let t = X.get(e);
4207
4215
  if (t) return t;
4208
- if (J.has(e)) return J.get(e);
4209
- let n = Ua[e];
4216
+ if (q.has(e)) return q.get(e);
4217
+ let n = Y[e];
4210
4218
  if (n) {
4211
4219
  let t = Ka(e, n);
4212
- return J.set(e, _e(t)), J.get(e);
4220
+ return q.set(e, _e(t)), q.get(e);
4213
4221
  }
4214
4222
  return _e(() => Promise.resolve({ default: Wa(e) }));
4215
4223
  }
4216
4224
  function Ja(e) {
4217
- return e in Ua || X.has(e);
4225
+ return e in Y || X.has(e);
4218
4226
  }
4219
4227
  function Ya({ height: e }) {
4220
4228
  return /* @__PURE__ */ T("div", {
@@ -4234,24 +4242,24 @@ function Xa({ chartType: e, fallback: t, height: n, ...r }) {
4234
4242
  });
4235
4243
  }
4236
4244
  function Za(e) {
4237
- let t = Ua[e];
4245
+ let t = Y[e];
4238
4246
  t && t();
4239
4247
  }
4240
4248
  function Qa(e) {
4241
4249
  e.forEach(Za);
4242
4250
  }
4243
4251
  function $a() {
4244
- let e = Object.keys(Ua), t = Array.from(X.keys());
4252
+ let e = Object.keys(Y), t = Array.from(X.keys());
4245
4253
  return [...new Set([...e, ...t])];
4246
4254
  }
4247
4255
  function eo(e) {
4248
- return !Y.has(e);
4256
+ return !J.has(e);
4249
4257
  }
4250
4258
  function to() {
4251
- return Array.from(Y);
4259
+ return Array.from(J);
4252
4260
  }
4253
4261
  function no(e, t, n, r) {
4254
- if (J.delete(e), Y.delete(e), n) {
4262
+ if (q.delete(e), J.delete(e), n) {
4255
4263
  let t = r ? Ka(e, n) : n;
4256
4264
  X.set(e, _e(t));
4257
4265
  } else if (t) {
@@ -4260,7 +4268,7 @@ function no(e, t, n, r) {
4260
4268
  }
4261
4269
  }
4262
4270
  function ro(e) {
4263
- X.delete(e), J.delete(e), Y.delete(e);
4271
+ X.delete(e), q.delete(e), J.delete(e);
4264
4272
  }
4265
4273
  //#endregion
4266
4274
  //#region src/client/charts/chartConfigs.ts
@@ -4297,32 +4305,32 @@ var io = {
4297
4305
  "showTooltip"
4298
4306
  ]
4299
4307
  }, ao = {
4300
- bar: () => import("./chart-config-bar-7v5JVY2y.js").then((e) => e.t),
4301
- line: () => import("./chart-config-line-BFeCqmKH.js").then((e) => e.t),
4302
- area: () => import("./chart-config-area-DtYTKZxS.js").then((e) => e.t),
4303
- pie: () => import("./chart-config-pie-6LHtEyMM.js").then((e) => e.t),
4304
- scatter: () => import("./chart-config-scatter-DOSpN07Z.js").then((e) => e.t),
4305
- radar: () => import("./chart-config-radar-BuLS6Inn.js").then((e) => e.t),
4306
- radialBar: () => import("./chart-config-radial-bar-BP0eMohx.js").then((e) => e.t),
4307
- treemap: () => import("./chart-config-tree-map-D8GuAgVB.js").then((e) => e.t),
4308
- bubble: () => import("./chart-config-bubble-BkHm-mfu.js").then((e) => e.t),
4309
- table: () => import("./chart-config-data-table-B_Hw8w2J.js").then((e) => e.t),
4310
- activityGrid: () => import("./chart-config-activity-grid-Bom99j9m.js").then((e) => e.t),
4311
- kpiNumber: () => import("./chart-config-kpi-number-QTQRNgOi.js").then((e) => e.t),
4312
- kpiDelta: () => import("./chart-config-kpi-delta-Bf47hGqD.js").then((e) => e.t),
4313
- kpiText: () => import("./chart-config-kpi-text-BRze2eyh.js").then((e) => e.t),
4314
- markdown: () => import("./chart-config-markdown-EWYckwXv.js").then((e) => e.t),
4315
- funnel: () => import("./chart-config-funnel-DL8PSGuL.js").then((e) => e.t),
4316
- sankey: () => import("./chart-config-sankey-CT8oGIGP.js").then((e) => e.t),
4317
- sunburst: () => import("./chart-config-sunburst-BSUX_YoB.js").then((e) => e.t),
4318
- heatmap: () => import("./chart-config-heat-map-CjudGdui.js").then((e) => e.t),
4308
+ bar: () => import("./chart-config-bar-_JEGZnAu.js").then((e) => e.t),
4309
+ line: () => import("./chart-config-line-Db3jDsWc.js").then((e) => e.t),
4310
+ area: () => import("./chart-config-area-Bq_UsW3x.js").then((e) => e.t),
4311
+ pie: () => import("./chart-config-pie-DD4SmRTF.js").then((e) => e.t),
4312
+ scatter: () => import("./chart-config-scatter-DSYTjwRb.js").then((e) => e.t),
4313
+ radar: () => import("./chart-config-radar-CC2XAaGr.js").then((e) => e.t),
4314
+ radialBar: () => import("./chart-config-radial-bar-DmxKx1R0.js").then((e) => e.t),
4315
+ treemap: () => import("./chart-config-tree-map-BI-oQStO.js").then((e) => e.t),
4316
+ bubble: () => import("./chart-config-bubble-gIoqVyjZ.js").then((e) => e.t),
4317
+ table: () => import("./chart-config-data-table-d7VBY-y_.js").then((e) => e.t),
4318
+ activityGrid: () => import("./chart-config-activity-grid-D_UX4NHC.js").then((e) => e.t),
4319
+ kpiNumber: () => import("./chart-config-kpi-number-Bx-V9a62.js").then((e) => e.t),
4320
+ kpiDelta: () => import("./chart-config-kpi-delta-D6BIkHL3.js").then((e) => e.t),
4321
+ kpiText: () => import("./chart-config-kpi-text-CcqC1u-8.js").then((e) => e.t),
4322
+ markdown: () => import("./chart-config-markdown-BtRIe8JN.js").then((e) => e.t),
4323
+ funnel: () => import("./chart-config-funnel-DEYMcxsD.js").then((e) => e.t),
4324
+ sankey: () => import("./chart-config-sankey-BTnWA7EW.js").then((e) => e.t),
4325
+ sunburst: () => import("./chart-config-sunburst-Bwjtdf7X.js").then((e) => e.t),
4326
+ heatmap: () => import("./chart-config-heat-map-CfRnRNcw.js").then((e) => e.t),
4319
4327
  retentionHeatmap: () => Promise.resolve().then(() => yo),
4320
4328
  retentionCombined: () => Promise.resolve().then(() => xo),
4321
- boxPlot: () => import("./chart-config-box-plot-BHGv-wqu.js").then((e) => e.t),
4322
- waterfall: () => import("./chart-config-waterfall-BDi7BoJP.js").then((e) => e.t),
4323
- candlestick: () => import("./chart-config-candlestick-D1aaHvTe.js").then((e) => e.t),
4324
- measureProfile: () => import("./chart-config-measure-profile-B9nIhqKR.js").then((e) => e.t),
4325
- gauge: () => import("./chart-config-gauge-BVLxuA3f.js").then((e) => e.t)
4329
+ boxPlot: () => import("./chart-config-box-plot-DJ-dWWXA.js").then((e) => e.t),
4330
+ waterfall: () => import("./chart-config-waterfall-DSnyixbI.js").then((e) => e.t),
4331
+ candlestick: () => import("./chart-config-candlestick-N6DchAA3.js").then((e) => e.t),
4332
+ measureProfile: () => import("./chart-config-measure-profile-DxRGa-zf.js").then((e) => e.t),
4333
+ gauge: () => import("./chart-config-gauge-DSwC04l0.js").then((e) => e.t)
4326
4334
  }, oo = {
4327
4335
  bar: "barChartConfig",
4328
4336
  line: "lineChartConfig",
@@ -4416,24 +4424,24 @@ function _o(e) {
4416
4424
  //#endregion
4417
4425
  //#region src/client/providers/CubeMetaProvider.tsx
4418
4426
  function vo({ children: e }) {
4419
- let { meta: t, labelMap: n, isLoading: r, error: a, refetch: o, getFieldLabel: s } = Wt(), c = a ? a instanceof Error ? a.message : String(a) : null, l = ve(() => {
4427
+ let { meta: t, labelMap: n, isLoading: i, error: a, refetch: o, getFieldLabel: s } = Gt(), c = a ? a instanceof Error ? a.message : String(a) : null, l = ve(() => {
4420
4428
  o();
4421
4429
  }, [o]), u = ve((e) => s(e), [s]), d = C(() => ({
4422
4430
  meta: t,
4423
4431
  labelMap: n,
4424
- metaLoading: r,
4432
+ metaLoading: i,
4425
4433
  metaError: c,
4426
4434
  getFieldLabel: u,
4427
4435
  refetchMeta: l
4428
4436
  }), [
4429
4437
  t,
4430
4438
  n,
4431
- r,
4439
+ i,
4432
4440
  c,
4433
4441
  u,
4434
4442
  l
4435
4443
  ]);
4436
- return /* @__PURE__ */ T(i.Provider, {
4444
+ return /* @__PURE__ */ T(r.Provider, {
4437
4445
  value: d,
4438
4446
  children: e
4439
4447
  });
@@ -4578,10 +4586,10 @@ var $ = new class {
4578
4586
  for (let e of this.listeners) e();
4579
4587
  }
4580
4588
  }();
4581
- ja((e) => $.getIcon(e));
4589
+ Ma((e) => $.getIcon(e));
4582
4590
  //#endregion
4583
4591
  //#region src/client/providers/CubeProvider.tsx
4584
- var To = { apiUrl: "/cubejs-api/v1" }, Eo = () => new _t({ defaultOptions: { queries: {
4592
+ var To = { apiUrl: "/cubejs-api/v1" }, Eo = () => new vt({ defaultOptions: { queries: {
4585
4593
  staleTime: 300 * 1e3,
4586
4594
  gcTime: 900 * 1e3,
4587
4595
  retry: 3,
@@ -4609,16 +4617,16 @@ function Do({ cubeApi: e, apiOptions: t, token: r, options: i, features: o, dash
4609
4617
  }, [d]), /* @__PURE__ */ T(n, {
4610
4618
  locale: f,
4611
4619
  translations: p,
4612
- children: /* @__PURE__ */ T(bt, {
4620
+ children: /* @__PURE__ */ T(xt, {
4613
4621
  client: _,
4614
- children: /* @__PURE__ */ T(Bt, {
4622
+ children: /* @__PURE__ */ T(Vt, {
4615
4623
  apiOptions: t || To,
4616
4624
  token: r,
4617
4625
  options: i,
4618
4626
  locale: f,
4619
4627
  enableBatching: c,
4620
4628
  batchDelayMs: l,
4621
- children: /* @__PURE__ */ T(vo, { children: /* @__PURE__ */ T(xn, {
4629
+ children: /* @__PURE__ */ T(vo, { children: /* @__PURE__ */ T(wn, {
4622
4630
  features: o,
4623
4631
  dashboardModes: s,
4624
4632
  children: h
@@ -4628,7 +4636,7 @@ function Do({ cubeApi: e, apiOptions: t, token: r, options: i, features: o, dash
4628
4636
  });
4629
4637
  }
4630
4638
  function Oo() {
4631
- let e = Vt(), t = r(), n = Cn();
4639
+ let e = Ht(), t = i(), n = En();
4632
4640
  return C(() => ({
4633
4641
  ...e,
4634
4642
  ...t,
@@ -4751,8 +4759,8 @@ function Io(e, t) {
4751
4759
  }
4752
4760
  //#endregion
4753
4761
  //#region src/client/components/charts/DataTable.tsx
4754
- var Lo = /* @__PURE__ */ t({ default: () => Ro }), Ro = fe.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject: i, height: a = 300 }) {
4755
- let { t: s } = o(), { getFieldLabel: c, meta: l } = r(), u = C(() => Ao(i, t?.xAxis), [i, t?.xAxis]), d = n?.pivotTimeDimension !== !1, f = C(() => !u || !d ? null : Fo(e, u, c, l), [
4762
+ var Lo = /* @__PURE__ */ t({ default: () => Ro }), Ro = fe.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject: r, height: a = 300 }) {
4763
+ let { t: s } = o(), { getFieldLabel: c, meta: l } = i(), u = C(() => Ao(r, t?.xAxis), [r, t?.xAxis]), d = n?.pivotTimeDimension !== !1, f = C(() => !u || !d ? null : Fo(e, u, c, l), [
4756
4764
  e,
4757
4765
  u,
4758
4766
  d,
@@ -4780,7 +4788,7 @@ var Lo = /* @__PURE__ */ t({ default: () => Ro }), Ro = fe.memo(function({ data:
4780
4788
  }) : /* @__PURE__ */ T(Ho, {
4781
4789
  data: e,
4782
4790
  chartConfig: t,
4783
- queryObject: i,
4791
+ queryObject: r,
4784
4792
  height: a,
4785
4793
  getFieldLabel: c,
4786
4794
  leftYAxisFormat: n?.leftYAxisFormat
@@ -4825,7 +4833,7 @@ function zo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
4825
4833
  });
4826
4834
  }
4827
4835
  function Bo({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
4828
- let i = Ra(Io(e.measureField, n));
4836
+ let i = za(Io(e.measureField, n));
4829
4837
  return /* @__PURE__ */ T("tr", {
4830
4838
  className: "hover:bg-dc-surface-secondary",
4831
4839
  children: t.map((t) => {
@@ -4905,6 +4913,6 @@ function Uo(e, t) {
4905
4913
  return e == null ? "" : typeof e == "number" ? t ? c(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
4906
4914
  }
4907
4915
  //#endregion
4908
- export { Lt as $, q as A, ci as B, to as C, Qa as D, Za as E, Fa as F, Jt as G, vn as H, Ia as I, Yt as J, $t as K, Pa as L, Ma as M, La as N, za as O, Ra as P, Ft as Q, ka as R, $a as S, Ja as T, pn as U, Cn as V, mn as W, Wt as X, qt as Y, Vt as Z, mo as _, Ue as _t, Ao as a, Ot as at, uo as b, Oo as c, St as ct, xo as d, rt as dt, Pt as et, yo as f, F as ft, lo as g, Ne as gt, co as h, Me as ht, ko as i, Et as it, Na as j, Ba as k, $ as l, yt as lt, so as m, k as mt, Lo as n, Mt as nt, Fo as o, Dt as ot, ho as p, M as pt, Xt as q, Io as r, jt as rt, Do as s, Tt as st, Ro as t, kt as tt, Q as u, mt as ut, fo as v, D as vt, eo as w, Xa as x, po as y, Oa as z };
4916
+ export { Nt as $, Ra as A, gn as B, Za as C, K as D, Va as E, Aa as F, Zt as G, Xt as H, ka as I, Ht as J, Yt as K, li as L, Ia as M, La as N, Pa as O, Fa as P, At as Q, En as R, Ja as S, Ba as T, tn as U, _n as V, Qt as W, Rt as X, It as Y, Ft as Z, uo as _, Fo as a, Ct as at, to as b, $ as c, ot as ct, so as d, k as dt, Mt as et, co as f, Me as ft, po as g, fo as h, D as ht, Ao as i, Et as it, za as j, Na as k, Q as l, I as lt, mo as m, He as mt, Io as n, kt as nt, Do as o, bt as ot, lo as p, P as pt, Gt as q, ko as r, Ot as rt, Oo as s, mt as st, Ro as t, Dt as tt, ho as u, M as ut, Xa as v, Qa as w, eo as x, $a as y, xn as z };
4909
4917
 
4910
- //# sourceMappingURL=chart-data-table-DT4uBZaq.js.map
4918
+ //# sourceMappingURL=chart-data-table-BO4sXsim.js.map